]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
This lot mainly cleans up `comparison between signed and unsigned' gcc
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
8a0efa53
CF
1Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2
3 * libc/stdio/vfscanf.c (limits.h): #include.
4 (MAX_LONG_LEN): #define.
5 (__svfscanf): Handle floating point numbers with arbitrary amounts
6 of leading zeroes.
7
82000-02-15 Nick Clifton <nickc@cygnus.com>
9
10 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11 zero. Set the blocksize to 1024/
12
13Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
14
15 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
16 with line buffering.
17
18Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
19
20 * acinclude.m4: Changed include directory for winsup headers.
21 * aclocal.m4 configure libc/aclocal.m4
22 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
23 libc/locale/Makefile.in libc/machine/aclocal.m4
24 libc/machine/configure libc/machine/a29k/aclocal.m4
25 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
26 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
27 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
28 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
29 libc/machine/fr30/configure
30 libc/machine/h8300/aclocal.m4
31 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
32 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
33 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
34 libc/machine/i386/configure libc/machine/i960/aclocal.m4
35 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
36 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
37 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
38 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
39 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
40 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
41 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
42 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
43 libc/machine/powerpc/configure
44 libc/machine/sh/aclocal.m4
45 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
46 libc/machine/sparc/configure
47 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
48 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
49 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
50 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
51 libc/misc/Makefile.in libc/posix/Makefile.in
52 libc/reent/Makefile.in
53 libc/signal/Makefile.in
54 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
55 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
56 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
57 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
58 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
59 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
60 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
61 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
62 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
63 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
64 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
65 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
66 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
67 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
68 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
69 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
70 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
71 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
72 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
73 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
74 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
75 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
76 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
77 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
78 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
79 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
80 libm/configure: Regenerated.
81
82Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
83
84 * libc/stdlib/putenv_r.c (_putenv_r): New file.
85 * libc/stdlib/strdup_r.c (_strdup_r): New file.
86 * libc/include/string.h: Added _strdup_r.
87 * libc/stdlib/putenv.c: Added call to reentrant version.
88 * libc/stdlib/strdup.c: Ditto.
89 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
90 * libc/include/stdlib.h: Ditto.
91 * libc/stdlib/Makefile.in: Regenerated.
92 * libc/string/Makefile.in: Regenerated.
93 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
94 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
95 management calls to reentrant versions.
96 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
97 * libc/stdlib/wctomb.c: Ditto.
98 * libc/stdlib/mblen.c: Ditto.
99 * libc/stdlib/mbstowcs.c: Ditto.
100 * libc/stdlib/mbtowc.c: Ditto.
101 * libc/stdlib/getenv.c: Ditto.
102 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
103 and _strdup_r.
104
105Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
106
107 patch from Corinna Vinschen <corinna@vinschen.de>
108 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
109
110Mon Jan 03 14:36:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
111
112 * libm/mathfp/s_atangent.c: Fix exponent calculation.
113 * libm/mathfp/s_ldexp.c: Ditto.
114 * libm/mathfp/sf_atangent.c: Ditto.
115 * libm/mathfp/sf_ldexp.c: Ditto.
116
117Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
118
119 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
120 * libc/include/locale.h: define NULL to be 0.
121
122Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
123
124 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
125 function.
126
127Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
128
129 * libc/machine/mn10300/setjmp.S: Handle am33.
130
1311999-11-26 Nick Clifton <nickc@cygnus.com>
132
133 * libc/sys/arm/syscalls.c: Add function prototypes.
134 (stack_ptr): Move declaration before function definitions.
135
136Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
137
138 * NEWS: Updated version information.
139 * README: Ditto.
140
141Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
142
143 * libc/machine/i386/strchr.S: Fixed alignment test.
144
145Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
146
147 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
148
149Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
150
151 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
152 ensuring that there is space between the two.
153
154Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
155
156 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
157 only.
158
1591999-10-08 Vadim Egorov <egorovv@1c.ru>
160
161 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
162 section
163
164Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
165
166 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
167 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
168
169Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
170 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
171 per POSIX 1003.1b.
172 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
173 per POSIX 1003.1b.
174
1751999-09-13 DJ Delorie <dj@cygnus.com>
176
177 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
178 also.
179
180Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
181
182 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
183 also note BUFSIZ as its size.
184
185Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
186
187 * configure.host: Corrected feature defines for RTEMS.
188 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
189 * libc/include/sys/stat.h: mkfifo() should take const path arg.
190 * libc/include/sys/unistd.h: pathconf() should take const path arg.
191 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
192 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
193 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
194 _PC_PRIO_IO, and _PC_SYNC_IO.
195 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
196 * libc/machine/m68k/Makefile.in: Regenerated.
197 * libc/machine/m68k/strcpy.c: New file.
198 * libc/machine/m68k/strlen.c: New file.
199 * libc/stdio/tmpnam.c: Always make the returned name usable.
200 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
201 * libc/sys/rtems/sys/dirent.h: New file.
202 * libc/sys/rtems/sys/types.h: Added dev_t.
203
204Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
205
206 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
207
208Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
209
210 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
211 my patch.
212
213Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
214
215 patch from Jeff Johnston <jjohnstn@cygnus.com>
216 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
217 buffer is not in a useful state.
218
2191999-09-01 Nick Clifton <nickc@cygnus.com>
220
221 * libc/sys/arm/syscalls.c (_link): Add stub.
222
223Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
224
225 * ftell.c (ftell): Use actual position within buffer for text mode.
226 * findfp.c (std): Initialize ptr->_bf._size.
227
228Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
229
230 * libc/include/sys/unistd.h: Add nice() declaration.
231
2321999-08-09 Nick Clifton <nickc@cygnus.com>
233
234 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
235 declare as a thumb function so that the disassembler will see the
236 mode change.
237
238Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
239
240 * libc/reent/reent.tex: Updated list of reentrant functions.
241
2421999-07-09 Michael Meissner <meissner@cygnus.com>
243
244 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
245
246Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
247
248 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
249 separate file.
250 * libc/stdio/snprintf.c: New file.
251 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
252 separate file.
253 * libc/stdio/vsnprintf.c: New file.
254 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
255 * libc/stdio/Makefile.in: Regenerated.
256
257Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
258
259 Patch submitted by Egor Duda <deo@logos-m.ru>:
260 * libc/include/stdio.h: Add declarations for *nprintf.
261 * libc/stdio/sprintf.c (snprintf): New function.
262 (_snprintf_r): New function.
263 * libc/stdio/vsprintf.c (vsnprintf): New function.
264 (_vnsprintf_r): New function.
265
266Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
267
268 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
269 * libm/Makefile.am (stmp-targetdep): Ditto.
270 * libc/Makefile.in: Regenerated.
271 * libm/Makefile.in: Ditto.
272
273Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
274
275 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
276 * libm/Makefile.am (stmp-targetdep): Ditto.
277 * libc/Makefile.in: Regenerated.
278 * libm/Makefile.in: Ditto.
279
280Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
281
282 * Makefile.am: Removed dependencies on all-recursive and added "."
283 to the SUBDIRS list to prevent infinite recursion from occurring.
284 Also removed any references to EXTRA_DATA.
285 * libc/Makefile.am: Ditto.
286 * libc/machine/Makefile.am: Ditto.
287 * libc/machine/i386/Makefile.am: Ditto.
288 * libm/Makefile.am: Ditto.
289 * libc/sys/Makefile.am: Ditto.
290 * Makefile.in: Regenerated.
291 * aclocal.m4: Ditto.
292 * configure: Ditto.
293 * doc/Makefile.in: Ditto.
294 * doc/aclocal.m4: Ditto.
295 * doc/configure: Ditto.
296 * libc/Makefile.in: Ditto.
297 * libc/aclocal.m4: Ditto.
298 * libc/configure: Ditto.
299 * libc/machine/Makefile.in: Ditto.
300 * libc/machine/aclocal.m4: Ditto.
301 * libc/machine/configure: Ditto.
302 * libc/machine/mn10300/Makefile.in: Ditto.
303 * libc/machine/mn10300/aclocal.m4: Ditto.
304 * libc/machine/mn10300/configure: Ditto.
305 * libc/sys/Makefile.in: Ditto.
306 * libc/sys/aclocal.m4: Ditto.
307 * libc/sys/configure: Ditto.
308 * libm/Makefile.in: Ditto.
309 * libm/aclocal.m4: Ditto.
310 * libm/configure: Ditto.
311
312Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
313
314 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
315
316Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
317
318 * libc/include/stdlib.h: Add reentrant routines.
319 * libc/stdlib/Makefile.am: Add reentrant routines.
320 * libc/stdlib/Makefile.in: Ditto.
321 * libc/stdlib/envlock.c: New file.
322 * libc/stdlib/envlock.h: New file.
323 * libc/stdlib/getenv.c: Modify to call reentrant routine.
324 * libc/stdlib/getenv_r.c: New file.
325 * libc/stdlib/mblen.c: Modify to call reentrant routine.
326 * libc/stdlib/mblen_r.c: New file.
327 * libc/stdlib/setenv.c: Modify to call reentrant routine.
328 * libc/stdlib/setenv_r.c: New file.
329 * libc/stdlib/stdlib.tex: Add reentrant routines.
330
331Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
332
333 * libc/include/sys/types.h: Define __MS_types__ whenever
334 cygwin or win32.
335
336Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
337
338 * libc/include/machine/ieeefp.h: Always default to little
339 endian if Windows, regardless of architecture.
340 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
341 regardless of architecture.
342
343Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
344
345 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
346 _WIN32 isn't defined.
347
348Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
349
350 * libm/common/s_rint.c (rint): Add volatile qualifier for
351 intermediate value w.
352 * libm/common/sf_rint.c (rintf): Ditto.
353
354Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
355
356 * libc/sys/arm/syscalls.c (remap_handle): Added check to
357 ensure that std streams are initialized before being referenced.
358
3591999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
360
361 * README: Update reference to newlib@cygnus.com new
362 newlib@sourceware.cygnus.com address.
363
364Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
365
366 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
367 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
368 defined, even if _WIN32 isn't defined.
369
370Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
371
372 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
373
374Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
375
376 * libc/include/sys/reent.h: Change Long and ULong to __Long and
377 __ULong.
378 * libc/stdlib/dtoa.c: Ditto.
379 * libc/stdlib/mprec.c: Ditto.
380 * libc/stdlib/mprec.h: Ditto.
381 * libc/stdlib/strtod.c: Ditto.
382
3831999-04-21 Nick Clifton <nickc@cygnus.com>
384
385 * configure.host (mcore): Remove mcore machine directory.
386
3871999-04-18 Nick Clifton <nickc@cygnus.com>
388
389 * libc/include/machine/ieeefp.h: Add support for mcore target.
390 * libc/include/machine/setjmp.h: Add support for mcore target.
391 * configure.host: Add support for mcore target.
392
3931999-04-13 Mark Salter <msalter@cygnus.com>
394
395 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
396 * libc/sys/arm/syscalls.c: Added isatty.
397
398Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
399
400 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
401 insert zeroes after significant digits.
402
403Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
404
405 * libc/stdio/vfprintf.c (cvt): Changed floating point
406 cvt routine to use union used by dtoa to properly determine
407 if the sign bit is on or not.
408 * libc/stdio/vfieeefp.h: New file
409
410Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
411
412 * aclocal.m4: Regenerated.
413 * configure: Regenerated.
414
415Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
416
417 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
418 f_tanf reference.
419 * libc/machine/i386/Makefile.in: Regenerated.
420
421Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
422
423 * acinclude.m4: Changed to work with new automake.
424 * configure: Regenerated.
425 * libc/machine/i386/aclocal.m4: Regenerated.
426 * libc/machine/i386/configure: Regenerated.
427
428Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
429
430 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
431 for telldir() and seekdir(). Rename unused structure element
432 for use with these two routines.
433
434Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
435
436 * libc/time/mktime.c (validate_structure): Multiple fixes to
437 code to handle cases where input fields are outside valid ranges.
438 * libc/stdlib/div.c (div): Modified invalid rounding check.
439 * libc/stdlib/ldiv.c (ldiv): Ditto.
440
441Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
442
443 * libc/machine/i386/memcpy.S: Performance rewrite.
444 * libc/machine/i386/memmove.S: Ditto.
445 * libc/machine/i386/i386mach.h: Added more register definitions.
446 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
447 option used.
448 * libc/include/machine/fastmath.h: Add definitions for x86
449 fast-math routines.
450
451Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
452
453 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
454
455Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
456
457 Adjust newlib headers for new Cygwin Win32 API header files:
458 * libc/include/sys/time.h: Check _WINSOCK_H rather than
459 _GNU_H_WINDOWS32_SOCKETS.
460 * libc/include/sys/types.h: Ditto.
461
462Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
463
464 *include/sys/reent.h: Add checks for size of Bigint element Long.
465 *libc/dtoa.c: Change routines to use generic Long type.
466 *libc/mprec.c: Change routines to use generic Long type.
467 *libc/mprec.h: Change routines to use generic Long type.
468
469Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
470
471 * libc/Makefile.am: Add .def files.
472 * libc/Makefile.in: Regenerate.
473 * libc/e_acosh.c: Documentation update.
474 * libc/e_atanh.c: Documentation update.
475 * libc/e_hypot.c: Documentation update.
476 * libc/e_remainder.c: Documentation update.
477 * libc/er_lgamma.c: Documentation update.
478 * libc/mathfp.tex: Documentation update.
479 * libc/s_acos.c: Documentation update.
480 * libc/s_atan.c: Documentation update.
481 * libc/s_atan2.c: Documentation update.
482 * libc/s_cosh.c: Documentation update.
483 * libc/s_fmod.c: Documentation update.
484 * libc/s_isnan.c: Documentation update.
485 * libc/s_log10.c: Documentation update.
486 * libc/s_pow.c: Documentation update.
487 * libc/w_jn.c: Documentation update.
488
489Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
490
491 * aclocal.m4: Regenerate.
492 * configure: Regenerate.
493
494Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
495
496 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
497 to return 1 if user specified return code is 0.
498 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
499
500Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
501
502 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
503 to save the return address. Fixed longjmp to return to the original
504 calling address of setjmp and to return the user specified return code
505 rather than default to 1.
506 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
507
508Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
509
510 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
511
5121999-02-10 Nick Clifton <nickc@cygnus.com>
513
514 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
515 volatile so that its assignments will not be discarded.
516
517Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
518
519 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
520 be __STRICT_ANSI__ which is generated by compiler.
521 * libc/include/ctype.h: Ditto.
522 * libc/include/math.h: Ditto.
523 * libc/include/stdio.h: Ditto.
524 * libc/include/stdlib.h: Ditto.
525 * libc/include/string.h: Ditto.
526 * libc/include/sys/signal.h: Ditto.
527
5281999-02-08 Nick Clifton <nickc@cygnus.com>
529
530 * configure.host: Add support for StrongARM target.
531
532Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
533
534 * libc/string/strncpy.c (strncpy): Removed redundant code
535 that was copying bytes if data unaligned.
536
5371999-02-02 Brendan Kehoe <brendan@cygnus.com>
538
539 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
540 mbstowcs.def, and wcstombs.def.
541
542Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
543
544 * libc/include/sys/errno.h: Add Cygwin errno.
545 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
546 is specified.
547
5481999-01-29 Nick Clifton <nickc@cygnus.com>
549
550 * libc/sys/arm/syscalls.c: Move C library functions into seperate
551 file.
552
553 * libc/sys/arm/libcfunc.c: New file containing C library functions
554 from syscalls.c
555
556 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
557 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
558
559
5601999-01-27 Michael Meissner <meissner@cygnus.com>
561
562 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
563 type, and cut size in half so that the jmp_buf array is guaranteed
564 to be aligned on a 64-bit boundary.
565
566Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
567
568 * libc/string/strings.tex: Added information about
569 strcasecmp and strncasecmp.
570 * libc/stdlib/stdlib.tex: Added missing information
571 about mblen, mbstowcs, and wcstombs.
572 * libc/string/strchr.c: Changed how mask is built to use
573 shift operators so register will be used instead of storage.
574
5751999-01-22 DJ Delorie <dj@cygnus.com>
576
577 * libc/include/stdlib.h: don't use dllimport if we're building
578 newlib, since it's inside cygwin.dll
579
580Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
581
582 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
583 _ctype_ under cygwin.
584
585Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
586
587 * include/stdlib.h: Fix typo from previous checkin.
588
589Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
590
591 * include/ctype.h: Use __declspec(dllimport) method for exporting
592 variable from cygwin DLL.
593 * include/time.h: Ditto.
594 * sys/errno.h: Ditto.
595 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
596 * libc/locale/locale.c: Use __declspec(dllexport) method for
597 exporting variable from cygwin DLL.
598
599Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
600
601 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
602 access of bogus pointer will result in SIGSEGV.
603
6041999-01-07 Nick Clifton <nickc@cygnus.com>
605
606 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
607 of an underscore prefix to function names.
608
609Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
610
611 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
612 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
613
6141998-12-31 Michael Meissner <meissner@cygnus.com>
615
616 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
617 to `%' if not already defined.
618
6191998-12-30 Michael Meissner <meissner@cygnus.com>
620
621 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
622 arguments const char *, not char *.
623 * libc/include/stdio.h (_tempnam_r): Ditto.
624
625 * libc/include/sys/reent.h (struct _reent): The _sig_func type
626 points to a function taking an integer, not void.
627
628Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
629
630 * configure.host: Add a define for Cygwin builds.
631 * libc/include/ctype.h: Don't use dll imported variables in newlib.
632
633Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
634
635 * libc/include/ctype.h: Define _ctype_ as dll imported variable
636 for use with Cygwin.
637 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
638 dll imported variables for use with Cygwin.
639 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
640 as a dll imported variable for Cygwin.
641
642Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
643
644 * libc/include/sys/unistd.h: Add proto for getpass.
645
646Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
647
648 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
649 alphasort.
650
651Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
652
653 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
654 not posix_path_list_p.
655
6561998-12-15 Nick Clifton <nickc@cygnus.com>
657
658 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
659 a signed int.
660
6611998-12-13 Nick Clifton <nickc@cygnus.com>
662
663 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
664
6651998-12-12 Nick Clifton <nickc@cygnus.com>
666
667 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
668 <msalter@cygnus.com>
669 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
670 * libc/machine/fr30/Makefile.in: Regenerated.
671
6721998-12-11 Nick Clifton <nickc@cygnus.com>
673
674 * configure.host: Remove use of libc/sys for FR30 port.
675 * libc/sys/fr30: Remove directory (replaced by libgloss).
676
6771998-12-10 Ken Raeburn <raeburn@cygnus.com>
678
679 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
680 * libc/string/strncat.c (ALIGNED): Ditto.
681
682Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
683
684 * libc/include/sys/time.h: include sys/types.h
685
686Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
687
688 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
689 comparison found when checking word at a time.
690
6911998-12-04 Nick Clifton <nickc@cygnus.com>
692
693 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
694
6951998-12-03 Nick Clifton <nickc@cygnus.com>
696
697 * libc/sys/fr30/syscalls.c (_times): New function stub.
698
699Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
700
701 * configure.host (mach_add_setjmp): Replaced mach_add_objs
702 with mach_add_setjmp flag which indicates if setjmp should
703 be added to the machine directory objects.
704 * acinclude.m4: Removed reference to mach_add_objs.
705 * aclocal.m4: Regenerated.
706 * Makefile.in: Regenerated.
707 * configure: Regenerated.
708 * libc/aclocal.m4: Regenerated.
709 * libc/Makefile.in: Regenerated.
710 * libc/configure: Regenerated.
711 * libc/machine/aclocal.m4: Regenerated.
712 * libc/machine/Makefile.in: Regenerated.
713 * libc/machine/configure: Regenerated.
714 * libc/machine/i386/aclocal.m4: Regenerated.
715 * libc/machine/i386/Makefile.am: Altered to selectively add
716 setjmp.S to the src files list.
717 * libc/machine/i386/Makefile.in: Regenerated.
718 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
719 * libc/machine/i386/configure: Regenerated.
720
7211998-12-02 Nick Clifton <nickc@cygnus.com>
722
723 * libc/sys/fr30/crt0.s (_start): Fix function names.
724
725 * libc/machine/fr30: New directory
726 * libc/machine/fr30/Makefile.am: New file.
727 * libc/machine/fr30/Makefile.in: New generated file.
728 * libc/machine/fr30/configure.in: New file.
729 * libc/machine/fr30/configure: New generated file.
730 * libc/machine/fr30/aclocal.m4: New generated file.
731 * libc/sys/fr30/Makefile.am: New file.
732 * libc/sys/fr30/Makefile.in: New generated file.
733 * libc/sys/fr30/configure.in: New file.
734 * libc/sys/fr30/configure: New generated file.
735 * libc/sys/fr30/syscalls.c: New file.
736
737Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
738
739 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
740
7411998-12-01 Ken Raeburn <raeburn@cygnus.com>
742
743 * libc/time/strftime.c (strftime): Also handle %y for years before
744 1900.
745
746Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
747
748 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
749 UNIX convention. Perform tolower on characters before comparing
750 them rather than use toupper.
751 * libc/string/strncasecmp.c (strncasecmp): Ditto.
752
753Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
754
755 * configure.host: Added using i386 machine directory
756 for all x86 cross-compiler and configuring
757 which added object files to use via new "mach_add_objs" variable.
758 * configure: Regenerated.
759 * libc/configure: Regenerated.
760 * libc/Makefile.in: Regenerated.
761 * libc/aclocal.m4: Regenerated.
762 * libc/ctype/Makefile.in: Regenerated.
763 * libc/errno/Makefile.in: Regenerated.
764 * libc/locale/Makefile.in: Regenerated.
765 * libc/machine/Makefile.in: Regenerated.
766 * libc/machine/aclocal.m4: Regenerated.
767 * libc/machine/configure: Regenerated.
768 * libc/posix/Makefile.in: Regenerated.
769 * libc/reent/Makefile.in: Regenerated.
770 * libc/signal/Makefile.in: Regenerated.
771 * libc/stdio/Makefile.in: Regenerated.
772 * libc/stdlib/Makefile.in: Regenerated.
773 * libc/string/Makefile.in: Regenerated.
774 * libc/string/memmove.c: Optimized code to use memcpy
775 logic when performing a non-destructive copy.
776 * libc/string/strncmp.c: Altered code to allow building
777 optimized for size or speed.
778 * libc/syscalls/Makefile.in: Regenerated.
779 * libc/time/Makefile.in: Regenerated.
780 * libc/unix/Makefile.in: Regenerated.
781 * libc/machine/i386/Makefile.am: Added new files and reference
782 to "mach_add_objs" to indicate optional object files.
783 * libc/machine/i386/Makefile.in: Regenerated.
784 * libc/machine/i386/aclocal.m4: Regenerated.
785 * libc/machine/i386/configure: Regenerated.
786 * libc/machine/i386/memchr.S: New file that implements
787 function in Intel assembler.
788 * libc/machine/i386/memcmp.S: ditto.
789 * libc/machine/i386/memcpy.S: ditto.
790 * libc/machine/i386/memmove.S: ditto.
791 * libc/machine/i386/memset.S: ditto.
792 * libc/machine/i386/strchr.S: ditto.
793 * libc/machine/i386/strlen.S: ditto.
794 * libc/machine/i386/f_atan2.S: New file that implements
795 fast version of math function to be used by compiler when
796 --ffast_math compile option is used.
797 * libc/machine/i386/f_atan2f.S: ditto.
798 * libc/machine/i386/f_exp.c: ditto.
799 * libc/machine/i386/f_expf.c: ditto.
800 * libc/machine/i386/f_frexp.S: ditto.
801 * libc/machine/i386/f_frexpf.S: ditto.
802 * libc/machine/i386/f_ldexp.S: ditto.
803 * libc/machine/i386/f_ldexpf.S: ditto.
804 * libc/machine/i386/f_log.S: ditto.
805 * libc/machine/i386/f_logf.S: ditto.
806 * libc/machine/i386/f_log10.S: ditto.
807 * libc/machine/i386/f_log10f.S: ditto.
808 * libc/machine/i386/f_math.h: New file.
809 * libc/machine/i386/f_pow.c: ditto.
810 * libc/machine/i386/f_powf.S: ditto.
811 * libc/machine/i386/f_tan.S: ditto.
812 * libc/machine/i386/f_tan.S: ditto.
813 * libc/machine/i386/i386mach.h: New file.
814
815Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
816
817 patch from Mumit Khan <khan@xraylith.wisc.edu>
818 * libc/include/stdio.h (tempnam): Add prototype.
819 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
820 (tempnam): Adhere to prototype.
821
822Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
823
824 * Makefile.am: Add default for AR_FLAGS.
825 * Makefile.in: Regenerate.
826
827Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
828
829 * libc/include/time.h: move __cplusplus wrapper after includes
830 * libc/include/sys/time.h: ditto. If Cygwin, include
831 sys/select.h.
832 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
833
8341998-11-23 Ken Raeburn <raeburn@cygnus.com>
835
836 * libc/time/strftime.c (strftime): Handle %y after year 2000.
837
838Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
839
840 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
841 abnormnal end-of-crt0 marker.
842
843Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
844
845 * libc/sys/fr30/crt0.s: New file/directory.
846 * libc/include/machine/setjmp.h: Add FR30 target.
847 * libc/include/machine/ieeefp.h: Add FR30 target.
848 * configure.host: Add FR30 target.
849
850Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
851
852 * libm/math: Files that are duplicated in common directory removed.
853 * libm/math/fdlibm.h: Removed.
854 * libm/math/s_cbrt.c: Removed.
855 * libm/math/s_copysign.c: Removed.
856 * libm/math/s_expm1.c: Removed.
857 * libm/math/s_finite.c: Removed.
858 * libm/math/s_ilogb.c: Removed.
859 * libm/math/s_infinity.c: Removed.
860 * libm/math/s_lib_ver.c: Removed.
861 * libm/math/s_log1p.c: Removed.
862 * libm/math/s_logb.c: Removed.
863 * libm/math/s_matherr.c: Removed.
864 * libm/math/s_modf.c: Removed.
865 * libm/math/s_nan.c: Removed.
866 * libm/math/s_nextafter.c: Removed.
867 * libm/math/s_rint.c: Removed.
868 * libm/math/s_scalbn.c: Removed.
869 * libm/math/sf_cbrt.c: Removed.
870 * libm/math/sf_copysign.c: Removed.
871 * libm/math/sf_expm1.c: Removed.
872 * libm/math/sf_finite.c: Removed.
873 * libm/math/sf_ilogb.c: Removed.
874 * libm/math/sf_infinity.c: Removed.
875 * libm/math/sf_log1p.c: Removed.
876 * libm/math/sf_logb.c: Removed.
877 * libm/math/sf_modf.c: Removed.
878 * libm/math/sf_nan.c: Removed.
879 * libm/math/sf_nextafter.c: Removed.
880 * libm/math/sf_rint.c: Removed.
881 * libm/math/sf_scalbn.c: Removed.
882 * libm/math/Makefile.am: Removed references to deleted files (above).
883 * libm/math/Makefile.in: Regenerated.
884 * libm/Makefile.am: Added common directory to math.
885 * libm/Makefile.in: Regenerated.
886
887Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
888
889 * libm/mathfp: Add non-ANSI functions.
890 * libm/mathfp/e_acosh.c acosh(): New file.
891 * libm/mathfp/e_atanh.c atanh(): New file.
892 * libm/mathfp/e_hypot.c hypot(): New file.
893 * libm/mathfp/e_j0.c j0(): New file.
894 * libm/mathfp/e_j1.c j1(): New file.
895 * libm/mathfp/e_remainder.c remainder(): New file.
896 * libm/mathfp/e_scalb.c scalb(): New file.
897 * libm/mathfp/ef_acosh.c acoshf(): New file.
898 * libm/mathfp/ef_atanh.c atanhf(): New file.
899 * libm/mathfp/ef_hypot.c hypotf(): New file.
900 * libm/mathfp/ef_j0.c j0f(): New file.
901 * libm/mathfp/ef_j1.c j1f(): New file.
902 * libm/mathfp/ef_remainder.c remainderf(): New file.
903 * libm/mathfp/ef_scalb.c scalbf(): New file.
904 * libm/mathfp/er_gamma.c gamma_r: New file.
905 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
906 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
907 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
908 * libm/mathfp/w_cabs.c cabs(): New file.
909 * libm/mathfp/w_drem.c drem(): New file.
910 * libm/mathfp/w_jn.c jn(): New file.
911 * libm/mathfp/wf_cabs.c cabsf(): New file.
912 * libm/mathfp/wf_drem.c dremf(): New file.
913 * libm/mathfp/wf_jn.c jnf(): New file.
914
915Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
916
917 * libc/sys/cygwin32: remove directory and contents
918 * libc/sys/cygwin: and add back, losing the "32".
919 * configure.host: check for cygwin* instead of cygwin32.
920 * acinclude.m4: ditto.
921 * aclocal.m4: regenerate with aclocal
922 * configure: regenerate with autoconf
923
924Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
925
926 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
927 for length
928
929Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
930
931 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
932 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
933 to make rand/srand, strtok, asctime, localtime, w_gamma,
934 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
935 time.h to bring in struct tm definition.
936 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
937 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
938 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
939 instead of static variable.
940 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
941 struct reent instead of static variable.
942 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
943 struct reent instead of static variable.
944 * libm/math/Makefile.am: Removed s_signgam.o.
945 * libm/math/Makefile.in: Regenerated.
946 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
947 struct reent instead of global variable 'signgam'.
948 * libm/math/w_lgamma.c (lgamma): Likewise.
949 * libm/math/wf_gamma.c (gammaf): Likewise.
950 * libm/math/wf_lgamma.c (lgammaf): Likewise.
951 * libm/math/s_signgam.c: Removed.
952 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
953 to be const.
954 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
955 to be const.
956 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
957 libc/include/reent.h.
958 * libc/reent/Makefile.in: Regenerated.
959 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
960 to be const.
961 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
962 'JIS_action_table' to be const.
963 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
964
965Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
966
967 * acinclude.m4: $with_target_subdir should default to '.'
968 or confusion results when configuring in same directory as sources.
969 * Regenerate all aclocal.m4 and configure files.
970
971Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
972
973 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
974 can be set by defining MALLOC_ALIGNMENT=16. Also added support
975 for platforms where sizeof(size_t) < sizeof(long) via
976 SIZE_T_SMALLER_THAN_LONG macro.
977
978Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
979
980 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
981 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
982 which sets _CLOCKS_PER_SEC_ for selected machines.
983 * libc/include/machine/time.h: New file.
984
985Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
986
987 * libc/syscalls/sysexecve.c: New file.
988 * libc/syscalls/sysgettod.c: New file.
989 * libc/syscalls/systimes.c: New file.
990 * libc/syscalls/Makefile.am: Added new objects.
991 * libc/syscalls/Makefile.in: Regenerated.
992 * libc/include/_syslist.h (_execve): Moved define in file.
993 * libc/include/reent.h: Added _execve_r declaration.
994 * libc/Makefile.in: Regenerated.
995 * libc/ctype/Makefile.in: Regenerated.
996 * libc/errno/Makefile.in: Regenerated.
997 * libc/locale/Makefile.in: Regenerated.
998 * libc/machine/Makefile.in: Regenerated.
999 * libc/misc/Makefile.in: Regenerated.
1000 * libc/posix/Makefile.in: Regenerated.
1001 * libc/reent/Makefile.in: Regenerated.
1002 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1003 * libc/signal/Makefile.in: Regenerated.
1004 * libc/stdio/Makefile.in: Regenerated.
1005 * libc/time/Makefile.in: Regenerated.
1006 * libc/unix/Makefile.in: Regenerated.
1007 * libm/mathfp/Makefile.in: Regenerated.
1008
1009Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1010
1011 * libc/string/Makefile.in: Regenerated.
1012 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1013 * libc/string/memcpy.c (memcpy): Ditto.
1014 * libc/string/memcmp.c (memcmp): Ditto.
1015 * libc/string/memset.c (memset): Ditto.
1016 * libc/string/strchr.c (strchr): Ditto.
1017 * libc/string/strcmp.c (strcmp): Ditto.
1018 * libc/string/strcpy.c (strcpy): Ditto.
1019 * libc/string/strlen.c (strlen): Ditto.
1020
1021Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1022
1023 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1024 to generate aclocal.m4.
1025 * libm/Makefile.in: Regenerated.
1026 * libm/aclocal.m4: Regenerated.
1027 * libm/configure: Regenerated.
1028 * libm/math/Makefile.in: Regenerated.
1029 * libm/mathfp/Makefile.in: Regenerated.
1030
10311998-09-25 Mark Salter <msalter@cygnus.com>
1032
1033 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1034 by adding leading and trailing underscores to symbol names.
1035
1036Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1037
1038 * Makefile.in: Add default for AR_FLAGS.
1039
1040Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1041
1042 patch from ian@airs.com (Ian Taylor):
1043 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1044 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1045 is needed for detecting the build machine. Required for
1046 cygwin native builds.
1047
1048 * Regenerate all aclocal.m4 and configure files.
1049
1050Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
1051
1052 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
1053 used to start with LC.
1054
1055Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1056
1057 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
1058 (longjmp): Likewise.
1059
1060Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1061
1062 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
1063 the test for small number of bytes.
1064
1065Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1066
1067 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
1068 math library that uses floating point algorithms instead of the old
1069 libm.
1070 * Makefile.in: Regenerate with automake version 1.3b.
1071 * configure: Rebuild.
1072 * libm/Makefile.in: Regenerate with automake version 1.3b.
1073 * libm/aclocal.m4: Regenerate.
1074 * libm/configure: Rebuild.
1075 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
1076 * libm/acinclude.m4: Define macros for configure.in.
1077 * libm/config.h.in: Generate.
1078 * libm/mathfp/Makefile.am: New file.
1079 * libm/mathfp/Makefile.in: Generate.
1080 * libm/mathfp/s_acos.c (acos): New file.
1081 * libm/mathfp/s_asin.c (asin): New file.
1082 * libm/mathfp/s_asine.c (asine): New file.
1083 * libm/mathfp/s_atan.c (atan): New file.
1084 * libm/mathfp/s_atan2.c (atan2): New file.
1085 * libm/mathfp/s_atangent.c (atangent): New file.
1086 * libm/mathfp/s_ceil.c (ceil): New file.
1087 * libm/mathfp/s_copysign.c (copysign): New file.
1088 * libm/mathfp/s_cos.c (cos): New file.
1089 * libm/mathfp/s_cosh.c (cosh): New file.
1090 * libm/mathfp/s_exp.c (exp): New file.
1091 * libm/mathfp/s_fabs.c (fabs): New file.
1092 * libm/mathfp/s_finite.c (finite): New file.
1093 * libm/mathfp/s_floor.c (floor): New file.
1094 * libm/mathfp/s_fmod.c (fmod): New file.
1095 * libm/mathfp/s_frexp.c (frexp): New file.
1096 * libm/mathfp/s_infconst.c: New file.
1097 * libm/mathfp/s_isinf (isinf).c: New file.
1098 * libm/mathfp/s_isnan.c (isnan): New file.
1099 * libm/mathfp/s_ispos.c (ispos): New file.
1100 * libm/mathfp/s_ldexp.c (ldexp): New file.
1101 * libm/mathfp/s_log.c (log): New file.
1102 * libm/mathfp/s_log10.c (log10): New file.
1103 * libm/mathfp/s_logarithm.c (logarithm): New file.
1104 * libm/mathfp/s_mathcnst.c: New file.
1105 * libm/mathfp/s_modf (modf).c: New file.
1106 * libm/mathfp/s_numtest.c (numtest): New file.
1107 * libm/mathfp/s_pow.c (pow): New file.
1108 * libm/mathfp/s_scalbn.c (scalbn): New file.
1109 * libm/mathfp/s_sin (sin).c: New file.
1110 * libm/mathfp/s_sine.c (sine): New file.
1111 * libm/mathfp/s_sineh.c (sineh): New file.
1112 * libm/mathfp/s_sinf.c (sinf): New file.
1113 * libm/mathfp/s_sinh.c (sinh): New file.
1114 * libm/mathfp/s_sqrt.c (sqrt): New file.
1115 * libm/mathfp/s_tan.c (tan): New file.
1116 * libm/mathfp/s_tanh.c (tanh): New file.
1117 * libm/mathfp/sf_acos.c (acosf): New file.
1118 * libm/mathfp/sf_asin.c (asinf): New file.
1119 * libm/mathfp/sf_asine.c (asinef): New file.
1120 * libm/mathfp/sf_atan.c (atanf): New file.
1121 * libm/mathfp/sf_atan2.c (atan2f): New file.
1122 * libm/mathfp/sf_atangent.c (atangent): New file.
1123 * libm/mathfp/sf_ceil.c (ceilf): New file.
1124 * libm/mathfp/sf_copysign.c (copysignf): New file.
1125 * libm/mathfp/sf_cos.c (cosf): New file.
1126 * libm/mathfp/sf_cosh.c (coshf): New file.
1127 * libm/mathfp/sf_exp.c (expf): New file.
1128 * libm/mathfp/sf_fabs.c (fabsf): New file.
1129 * libm/mathfp/sf_finite.c (finitef): New file.
1130 * libm/mathfp/sf_floor.c (floorf): New file.
1131 * libm/mathfp/sf_fmod.c (fmodf): New file.
1132 * libm/mathfp/sf_frexp.c (frexpf): New file.
1133 * libm/mathfp/sf_isinf.c (isinff): New file.
1134 * libm/mathfp/sf_isnan.c (isnanf): New file.
1135 * libm/mathfp/sf_ispos.c (isposf): New file.
1136 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
1137 * libm/mathfp/sf_log.c (logf): New file.
1138 * libm/mathfp/sf_log10.c (log10f): New file.
1139 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
1140 * libm/mathfp/sf_modf.c (modff): New file.
1141 * libm/mathfp/sf_numtest.c (numtestf): New file.
1142 * libm/mathfp/sf_pow.c (powf): New file.
1143 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
1144 * libm/mathfp/sf_sin.c (sinf): New file.
1145 * libm/mathfp/sf_sine.c (sinef): New file.
1146 * libm/mathfp/sf_sineh.c (sinehf): New file.
1147 * libm/mathfp/sf_sinh.c (sinhf): New file.
1148 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
1149 * libm/mathfp/sf_tan.c (tanf): New file.
1150 * libm/mathfp/sf_tanh.c (tanhf): New file.
1151 * libm/mathfp/zmath.h: New file.
1152
1153Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1154
1155 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
1156 exit if it has been overwritten by pre-fetching in delay slot.
1157
11581998-09-01 Michael Meissner <meissner@cygnus.com>
1159
1160 * Makefile.am (tooldir): Add in host_alias, so that multilib
1161 libraries are installed in the directory the compiler looks in.
1162 * Makefile.in: Regenerate.
1163
1164 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
1165
1166Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
1167
1168 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
1169 ahead of test for number of bytes being moved.
1170
1171Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
1172
1173 * libc/include/sys/unistd.h: Nothing special needed for
1174 _exit under cygwin.
1175
1176Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
1177
1178 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
1179 conform to user label naming conventions.
1180
1181Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
1182
1183 * libc/sys/cygwin32/sys/utime.h: variable names in
1184 protos should start with two leading underscores
1185 * libc/include/string.h: ditto
1186 * libc/include/sys/signal.h: ditto
1187 * libc/include/sys/stat.h: ditto
1188 * libc/include/sys/time.h: ditto
1189 * libc/include/sys/unistd.h: ditto
1190 * libc/include/ctype.h: ditto
1191 * libc/include/stdlib.h: ditto
1192 * libc/include/sys/reent.h: struct _atexit function ptr takes a
1193 void, same with _sig_func.
1194
1195Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
1196
1197 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
1198 for MB_CAPABLE to reduce code size when newlib is not configured
1199 with --enable-newlib-mb.
1200 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
1201 mbtowc_r.o to minimize size.
1202 * libc/stdlib/Makefile.in: Rebuild.
1203
1204Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
1205
1206 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
1207 to -DREENT.
1208 * libc/sys/sparc64/Makefile.in: Rebuild.
1209
1210Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
1211
1212 * Makefile.am (MAKEOVERRIDES): Define.
1213 * Makefile.in: Rebuild.
1214
1215Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
1216
1217 * libc/sys/sparc64/sys/stat.h (stat): Add const.
1218
1219Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
1220
1221 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
1222 newlib_cflags when looking for targ-include.
1223 * */aclocal.m4, */configure: Rebuild.
1224
1225Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
1226
1227 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
1228 to "_end".
1229
1230Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
1231
1232 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
1233 on SPARCs with little-endian data.
1234 * libc/include/machine/ieeefp.h: Ditto.
1235
1236Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
1237
1238 * acinclude.m4: Handle a relative srcdir correctly when setting
1239 newlib_cflags.
1240 * */aclocal.m4, */configure: Rebuild.
1241
1242Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
1243
1244 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
1245 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
1246 * libm/math/wrf_gamma.c (gammaf_r): ditto
1247 * libm/math/wr_lgamma.c (lgamma_r): ditto
1248 * libm/math/wr_gamma.c (gamma_r): ditto
1249 * libm/math/wf_sqrt.c (sqrtf): ditto
1250 * libm/math/wf_sinh.c (sinhf): ditto
1251 * libm/math/wf_scalb.c (scalbf): ditto
1252 * libm/math/wf_remainder.c (remainderf): ditto
1253 * libm/math/wf_pow.c (powf): ditto
1254 * libm/math/wf_log10.c (log10f): ditto
1255 * libm/math/wf_log.c (logf): ditto
1256 * libm/math/wf_lgamma.c (lgammaf): ditto
1257 * libm/math/wf_jn.c (jnf, ynf): ditto
1258 * libm/math/wf_j1.c (j1f, y1f): ditto
1259 * libm/math/wf_j0.c (j0f, y0f): ditto
1260 * libm/math/wf_hypot.c (hypotf): ditto
1261 * libm/math/wf_gamma.c (gammaf): ditto
1262 * libm/math/wf_fmod.c (fmodf): ditto
1263 * libm/math/wf_exp.c (expf): ditto
1264 * libm/math/wf_cosh.c (coshf): ditto
1265 * libm/math/wf_atanh.c (atanhf): ditto
1266 * libm/math/wf_atan2f.c (atan2f): ditto
1267 * libm/math/wf_asin.c (asinf): ditto
1268 * libm/math/wf_acosh.c (acoshf): ditto
1269 * libm/math/wf_acos.c (acosf): ditto
1270 * libm/math/w_sqrt.c (sqrt): ditto
1271 * libm/math/w_sinh.c (sinh): ditto
1272 * libm/math/w_scalb.c (scalb): ditto
1273 * libm/math/w_remainder.c (remainder): ditto
1274 * libm/math/w_pow.c (pow): ditto
1275 * libm/math/w_log10.c (log10): ditto
1276 * libm/math/w_log.c (log): ditto
1277 * libm/math/w_lgamma.c (lgamma): ditto
1278 * libm/math/w_jn.c (jn, yn): ditto
1279 * libm/math/w_j1.c (j1, y1): ditto
1280 * libm/math/w_j0.c (j0, y0): ditto
1281 * libm/math/w_hypot.c (hypot): ditto
1282 * libm/math/w_gamma.c (gamma): ditto
1283 * libm/math/w_fmod.c (fmod): ditto
1284 * libm/math/w_exp.c (exp): ditto
1285 * libm/math/w_cosh.c (cosh): ditto
1286 * libm/math/w_atanh.c (atanh): ditto
1287 * libm/math/w_atan2f.c (atan2): ditto
1288 * libm/math/w_asin.c (asin): ditto
1289 * libm/math/w_acosh.c (acosh): ditto
1290 * libm/math/w_acos.c (acos): ditto
1291
1292Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
1293
1294 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
1295 (fsrc): Add wf_cabs.c and wf_drem.c.
1296 * libm/math/Makefile.in: Rebuild.
1297
1298 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
1299 unused directory variables. Remove duplicate CFLAGS.
1300 * Makefile.in: Rebuild.
1301
1302 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
1303 with $(CC_FOR_BUILD).
1304 (makedoc.o): Likewise.
1305 * doc/Makefile.in: Rebuild.
1306
1307 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
1308 force a definition of COMPILE.
1309 (libfoo_a_SOURCES): Define.
1310 * libc/sys/cygwin32/Makefile.in: Rebuild.
1311 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
1312 force a definition of COMPILE.
1313 (libfoo_a_SOURCES): Define.
1314 * libc/sys/tic80/Makefile.in: Rebuild.
1315
1316Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
1317
1318 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
1319 flag.
1320
1321Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
1322
1323 * Build using autoconf and automake. Added many Makefile.am and
1324 configure.in files, plus generated files. Old configure.in files
1325 and all old Makefile.in files completely replaced. Removed
1326 host/any. Added acinclude.m4 and configure.host.
1327
1328Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
1329
1330 * libc/stdio/vfprintf.c: enable long long support, sometimes.
1331 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
1332
1333Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1334
1335 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
1336 * libc/machine/sh/Makefile.in: Add rules for new files.
1337
1338Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1339
1340 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
1341 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
1342 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
1343
1344Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
1345
1346 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
1347 code is ignored.
1348
1349Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
1350
1351 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
1352 internal static buffer when s is NULL, as prescribed by ANSI.
1353
13541998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
1355
1356 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
1357 removed.
1358 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
1359 libc/stdlib will be used for h8300hms.
1360
1361Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1362
1363 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
1364 version that can be built either for speed or size.
1365 * libc/machine/mn10300/memset.S (_memset): ditto
1366 * libc/machine/mn10300/memchr.S (_memchr): ditto
1367 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
1368 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
1369 * libc/machine/mn10300/strchr.S (_strchr): ditto
1370 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
1371 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
1372 * libc/machine/mn10300/Makefile.in: Added entries for
1373 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
1374 strcmp.o, strcpy.o, and strlen.o.
1375
1376Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
1377
1378 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
1379 been replaced with libgloss/mn10200.
1380
1381Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
1382
1383 * libc/string/strchr.c (strchr): Make s a constant pointer to
1384 avoid warning.
1385
1386Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
1387
1388 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
1389 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
1390 board SWIs instead of Demon board SWIs).
1391
1392Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
1393
1394 * libc/string/strncat.c (strncat): Make -Os act the same as
1395 PREFER_SIZE_OVER_SPEED being defined.
1396
1397Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
1398
1399 * libc/string/memchr.c (memchr): Make -Os act the same as
1400 PREFER_SIZE_OVER_SPEED being defined.
1401 * libc/string/memcmp.c (memcmp): Ditto.
1402 * libc/string/memcpy.c (memcpy): Ditto.
1403 * libc/string/memset.c (memset): Ditto.
1404 * libc/string/strcat.c (strcat): Ditto.
1405 * libc/string/strchr.c (strchr): Ditto.
1406 * libc/string/strcmp.c (strcmp): Ditto.
1407 * libc/string/strcpy.c (strcpy): Ditto.
1408 * libc/string/strlen.c (strlen): Ditto.
1409 * libc/string/strncat.c (strncat): Ditto.
1410 * libc/string/strncmp.c (strncmp): Ditto.
1411 * libc/string/strncpy.c (strncpy): Ditto.
1412
1413Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
1414
1415 * libc/include/sys/itimer.h: remove
1416 * libc/include/sys/time.h: itimer stuff should be here
1417
1418Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
1419
1420 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
1421 bit instead of comparing to 0 so -0.0 can be printed correctly.
1422
1423Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1424
1425 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
1426
1427Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
1428
1429 * libc/include/sys/unistd.h: fix sync() proto
1430 * libc/include/sys/fcntl.h: remove _close which is already
1431 defined in unistd.h.
1432 * libc/include/sys/time.h: add getitimer proto
1433
1434Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
1435
1436 * libc/string/strchr.c: convert arg to unsigned char
1437 * libc/include/stdlib.h: add protos for random, srandom
1438 * libc/include/sys/stat.h: add lstat proto
1439 * libc/include/sys/time.h: add setitimer proto
1440 * libc/include/sys/unistd.h: add readlink, symlink protos
1441 * libc/include/process.h: instead of including windows.h and using
1442 HANDLEs in sexec protos, just use void *s. Need to include
1443 sys/types.h.
1444
1445Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
1446
1447 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
1448
1449Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
1450
1451 * libc/include/process.h: add secure exec protos
1452
1453Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
1454
1455 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
1456 which are accessed as both doubles and integers.
1457 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
1458 * libc/stdlib/strtod.c (_strtod_r): Likewise.
1459 * libc/stdlib/mprec.h: Add "union double_union" and change
1460 word0/word1 macros to use it.
1461
1462Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
1463
1464 * libc/include/sys/signal.h: add __cplusplus wrapper
1465
1466Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
1467
1468 * libc/include/sys/utime.h: new generic file that gets replaced by
1469 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
1470 function.
1471 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
1472 * libc/include/time.h: remove duplicate utime proto
1473 * libc/include/utime.h: add comment
1474
1475Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
1476
1477 * libc/include/sys/time.h: Add missing include to
1478 allow use of _EXFUN. Remove times function that is
1479 already defined in times.h.
1480
1481Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
1482
1483 * libc/include/time.h: Fix typo in tzset.
1484
1485Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
1486
1487 * libc/include/sys/time.h: add missing Cygwin32 function protos
1488 * libc/include/sys/unistd.h: ditto
1489 * libc/include/time.h: ditto
1490
1491Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
1492
1493 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
1494 FIXME.
1495 * libc/include/sys/types.h: add a new __MS_types__ section
1496 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
1497 __BIT_TYPES_DEFINED__.
1498
1499Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
1500
1501 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
1502 since it overrides the one in libc/include/sys. Also, start
1503 including types.h.
1504
1505Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
1506
1507 * libm/math/Makefile.in: add s_signgam.o to obj list
1508
1509Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
1510
1511 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
1512
1513Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
1514
1515 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
1516 so don't use defines.
1517
1518Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
1519
1520 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
1521
1522Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
1523
1524 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
1525 _current_locale as default locale.
1526
1527Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
1528
1529 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
1530 insufficient space in a chunk.
1531
1532Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
1533
1534 * configure.in (links): Added check for --enable-newlib-mb configure
1535 option which defines the MB_CAPABLE macro.
1536 * libc/locale/locale.c (_setlocale_r): Added support for setting
1537 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
1538 defined.
1539 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
1540 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
1541 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
1542 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
1543 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
1544 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
1545 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
1546 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
1547 * libc/stdlib/Makefile.in: Added new multibyte
1548 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
1549 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
1550 _mbstowcs_r(), and _wcstombs_r().
1551 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
1552 for JIS, SJIS, and EUC-JP characters.
1553 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
1554 MB_CAPABLE defined.
1555 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
1556 MB_CAPABLE defined.
1557 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
1558 MB_CAPABLE defined.
1559 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
1560 if MB_CAPABLE defined.
1561 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
1562 if MB_CAPABLE defined.
1563 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
1564 to the format string processing when MB_CAPABLE.
1565 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
1566 call _mbtowc_r().
1567
1568Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
1569
1570 The following modifications are courtesy of Anthony Thompson,
1571 athompson@cambridge.arm.com:
1572 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
1573 boith RDI and RDP monitors.
1574 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
1575 RDI and RDP monitors.
1576
1577Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
1578
1579 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
1580 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
1581 (_swiopen): Fixed open flags to treat write with append as just append.
1582 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
1583 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
1584
1585Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1586
1587 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
1588 When needing to transfer an initial 2-byte-word, store as
1589 two single bytes.
1590
1591Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1592
1593 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
1594 __SH3E__ .
1595 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
1596 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
1597
1598Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
1599
1600 * configure.in (target_cflags): If --enable-target-optspace, use
1601 -Os to compile newlib rather than -O2. Default to using -Os for
1602 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
1603 used.
1604
1605Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
1606
1607 * libc/include/machine/setjmp.h: change sigsetjmp and
1608 siglongjmp definitions to use an array instead of a struct
1609 for __CYGWIN32__
1610
1611Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
1612
1613 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
1614
1615Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
1616
1617 * libc/string/strxfrm.c: fix to get correct return value
1618
1619Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
1620
1621 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
1622 builds. Make mode change labels global so that they will be seen
1623 by the debugger.
1624
1625Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
1626
1627 * configure.in (links): Do not use ARM debiugging protocols for PE
1628 builds.
1629
1630 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
1631 message.
1632
1633Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1634
1635 * libc/stdio/findfp.c (__sinit): Made stdout default to
1636 line buffered mode as defined by ANSI.
1637
1638Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
1639
1640 * libc/include/sys/itimer.h: New file.
1641
1642 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
1643
1644Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1645
1646 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
1647 failure.
1648
1649Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
1650
1651 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
1652 insns.
1653
1654Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
1655
1656 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
1657
1658Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
1659
1660 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
1661 support.
1662
1663 * libc/include/machine/setjmp.h: Add D30V support.
1664
1665 * configure.in (d30v-*): Add d30v machine directory.
1666
1667Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
1668
1669 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
1670 been replaced with libgloss/mn10300.
1671
1672Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
1673
1674 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
1675 it is no longer needed.
1676
1677Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
1678
1679 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
1680
1681Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
1682
1683 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
1684 the file when O_APPEND is set, wherever the EOF happens to be at
1685 that time.
1686
1687Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
1688
1689 patch from cgf@bbc.com (Christopher Faylor):
1690 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
1691 convention of closing fp prior to attempting to open the file
1692 argument. This allows correct operation when reopening
1693 stdin/stdout/stderr. Replaces last freopen.c patch.
1694
1695Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
1696
1697 patch from cgf@bbc.com (Christopher Faylor):
1698 * libc/stdio/freopen.c: freopen was not preserving the fd
1699 of the stream being operated on. This confuses programs that
1700 expect that the handles for stdout and stderr will be 1 and 2.
1701
1702Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
1703
1704 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
1705
1706Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
1707
1708 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
1709
1710Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
1711
1712 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
1713 altered to not use a branch. Also added hint that last
1714 bclr in longjmp will likely result in branch.
1715
1716
1717Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
1718
1719 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
1720
1721Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
1722
1723 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
1724 v850 builds.
1725
1726 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
1727
1728Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
1729
1730 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
1731 that loads FR14 to specify offset of 8 rather than 4
1732 so it loads from offset 96 (where setjmp stored it).
1733
1734Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1735
1736 * libc/machine/sh/memcpy.S: (_memcpy): Update to
1737 latest version supplied by customer.
1738 * libc/machine/sh/memset.S (_memset): Ditto.
1739
1740Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
1741
1742 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
1743 PR14730).
1744
1745Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
1746
1747 * libc/include/string.h: remove redefinition of ffs
1748
1749Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
1750
1751 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
1752 defined
1753
1754Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
1755
1756 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
1757 TI Libraries to link to libc.a
1758
1759Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
1760
1761 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
1762 * libc/include/sys/stat.h (_{,f}stat): Ditto.
1763 * libc/include/sys/wait.h (_wait): Ditto.
1764 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
1765 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
1766
1767Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
1768
1769 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
1770 minded stabs so function name shows up when running the simulator
1771 with -t.
1772 * libc/sys/d10v/{crt0,trap}.S: Ditto.
1773
1774Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
1775
1776 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
1777 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
1778 Use R5 where we used to use R3.
1779
1780Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
1781
1782 * libc/stdlib/getopt.c (getopt): replaced __progname
1783 with nargv[0] to improve portability to imbedded systems.
1784
1785Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
1786
1787 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
1788 patch supplied by Tont.Thompson@arm.com to fix the creation of the
1789 stdout file.
1790
1791Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
1792
1793 * libc/stdio/tmpnam.c (worker): Generate a different file name
1794 each time.
1795
1796 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
1797 fails, try an execlp for sh.
1798
1799 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
1800 option for the winsup include directory.
1801
1802Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
1803
1804 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
1805 debugging interface from Tony.Thompson@arm.com.
1806
1807 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
1808 * libc/sys/arm/swi.h: ditto.
1809
1810Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
1811
1812 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
1813 DIR struct used for readdir hashes.
1814
1815Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
1816
1817 * libc/string/strchr.c: Use "unsigned chars" as necessary.
1818
1819Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
1820
1821 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
1822 integer targets.
1823
1824Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
1825
1826 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
1827 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
1828 * libc/include/malloc.h: Add extern "C" if __cplusplus.
1829 (__malloc_copy): Declare.
1830
1831Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
1832
1833 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
1834 <sys/config.h>.
1835 (POINTER_UINT): Define.
1836 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
1837 (MALLOC_ALIGNMENT): Don't define if already defined.
1838 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
1839 long.
1840
1841Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
1842
1843 * libc/string/memset.c (memset): Fiddle with code so that the long
1844 value being stored is not a stack value. Unroll storing longs 4
1845 times.
1846
1847Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
1848
1849 * Reduce code size for libm modules.
1850 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
1851 and simply move code into sqrt.
1852 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
1853 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
1854 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
1855 * libm/math/wr_gamma.c (gamma_r): Likewise.
1856 * libm/math/wf_sinh.c (sinfh): Likewise.
1857 * libm/math/w_sinh.c (sinh): Likewise.
1858 * libm/math/wf_scalb.c (scalbf): Likewise.
1859 * libm/math/w_scalb.c (scalb): Likewise.
1860 * libm/math/wf_remainder.c (remainderf): Likewise.
1861 * libm/math/w_remainder.c (remainder): Likewise.
1862 * libm/math/wf_pow.c (powf): Likewise.
1863 * libm/math/w_pow.c (pow): Likewise.
1864 * libm/math/wf_log10.c (log10f): Likewise.
1865 * libm/math/w_log10.c (log10): Likewise.
1866 * libm/math/wf_log.c (logf): Likewise.
1867 * libm/math/w_log.c (log): Likewise.
1868 * libm/math/w_lgamma.c (lgamma): Likewise.
1869 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1870 * libm/math/wf_jn.c (jnf): Likewise.
1871 * libm/math/w_jn.c (jn): Likewise.
1872 * libm/math/wf_j1.c (j1f): Likewise.
1873 * libm/math/w_j1.c (j1): Likewise.
1874 * libm/math/wf_j0.c (j0f): Likewise.
1875 * libm/math/w_j0.c (j0): Likewise.
1876 * libm/math/wf_hypot.c (hypotf): Likewise.
1877 * libm/math/w_hypot.c (hypot): Likewise.
1878 * libm/math/wf_gamma.c (gammaf): Likewise.
1879 * libm/math/w_gamma.c (gamma): Likewise.
1880 * libm/math/wf_fmod.c (fmodf): Likewise.
1881 * libm/math/w_fmod.c (fmod): Likewise.
1882 * libm/math/wf_exp.c (expf): Likewise.
1883 * libm/math/w_exp.c (exp): Likewise.
1884 * libm/math/wf_cosh.c (coshf): Likewise.
1885 * libm/math/w_cosh.c (cosh): Likewise.
1886 * libm/math/wf_atanh.c (atanhf): Likewise.
1887 * libm/math/w_atanh.c (atanh): Likewise.
1888 * libm/math/wf_atan2.c (atan2f): Likewise.
1889 * libm/math/w_atan2.c (atan2): Likewise.
1890 * libm/math/wf_asin.c (asinf): Likewise.
1891 * libm/math/w_asin.c (asin): Likewise.
1892 * libm/math/wf_acosh.c (acoshf): Likewise.
1893 * libm/math/w_acosh.c (acosh): Likewise.
1894 * libm/math/wf_acos.c (asocf): Likewise.
1895 * libm/math/w_acos.c (acos): Likewise.
1896 * libm/math/wf_sqrt.c (sqrtf): Likewise.
1897 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
1898 for embedded systems.
1899
1900Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
1901
1902 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
1903 Lea in case of a foreign sbrk.
1904
1905Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
1906
1907 Incorporate Doug Lea's malloc:
1908 * libc/stdlib/mallocr.c: Completely replaced.
1909 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
1910 (realloc): Remove.
1911 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
1912 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
1913 mallopt.
1914 (mallinfo, malloc_stats, mallopt): New functions.
1915 (_mstats_r): Just call _malloc_stats_r.
1916 * libc/stdlib/malign.c: New file.
1917 * libc/stdlib/mlock.c: New file.
1918 * libc/stdlib/msize.c: New file.
1919 * libc/stdlib/mtrim.c: New file.
1920 * libc/stdlib/realloc.c: New file.
1921 * libc/stdlib/valloc.c: New file.
1922 * libc/stdlib/malloc.h: Remove.
1923 * libc/stdlib/callocr.c: Remove.
1924 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
1925 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
1926 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
1927 reallocr.o, valloc.o, vallocr.o.
1928 (CHEWOUT_FILES): Add mlock.def, mstats.def.
1929 (MALLOC_CFLAGS): New variable.
1930 (mallocr.o): New target, build from mallocr.c.
1931 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
1932 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
1933 (msizer.o, malloptr.o): Likewise.
1934 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
1935 (valloc.o): New target.
1936 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
1937 * libc/include/malloc.h: Declare struct mallinfo, and new
1938 routines.
1939 * libc/include/stdlib.h (cfree): Correct declaration.
1940
1941Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
1942
1943 * libc/include/machine/setjmp.h: Add support for Thumb target.
1944
1945 * libc/include/machine/ieeefp.h: Add support for Thumb target.
1946
1947 * configure.in (links): Add support for Thumb target.
1948
1949Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
1950
1951 * libc/sys/arm/setjmp.S: Updated with version from branch.
1952
1953Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
1954
1955 * libc/include/stdio.h: add POSIX-required define L_ctermid
1956 for ctermid
1957
1958Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
1959
1960 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
1961 addition to MISSING_SYSCALL_NAMES.
1962
1963Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
1964
1965 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
1966
1967Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
1968
1969 * libc/include/string.h: change strsignal proto to return
1970 a char *. This eliminates compile problems in gdb resulting
1971 from gdb's definition of strsignal in defs.h.
1972
1973Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
1974
1975 * libc/sys/cygwin32/sys/utime.h: new (moved here from
1976 winsup/include) so as not to conflict with the one in
1977 libc/include.
1978 * libc/include/string.h: add protos for strsignal, strtosigno
1979
1980Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
1981
1982 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
1983
1984 * configure.in (d30v-*-*): Add configuration.
1985
1986Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
1987
1988 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
1989 to select which kind of debug monitor is in use for an ARM target.
1990
1991 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
1992 Angel and Demon debug monitors. Part of this code was supplied by
1993 Tony Thompson at ARM: athompso@arm.com.
1994
1995Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
1996
1997 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
1998 semantics when the count is greater than the length of the second
1999 source string.
2000
2001Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2002
2003 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2004 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2005 truncate and ftruncate take off_t, not size_t
2006
2007Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2008
2009 * libc/string/strcat.c (strcat): Add missing comment end.
2010 * libc/string/strncat.c (strncat): Likewise.
2011
2012Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2013
2014 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2015 targets.
2016 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2017 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2018 defined.
2019 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2020 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2021 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2022
2023Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2024
2025 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2026 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2027
2028Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2029
2030 * libc/machine/i386/setjmp.S: New file.
2031 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2032 (OFILES): Add setjmp.o.
2033 (setjmp.o): Add rule for.
2034 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2035
2036Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2037 Jeffrey A Law (law@cygnus.com)
2038
2039 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2040 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2041 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2042 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2043
2044Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2045
2046 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
2047 rules.
2048
2049 * libc/include/sys/config.h: Use __v850 to select v850
2050 endianness.
2051
2052 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
2053 buffer size.
2054
2055 * libc/include/machine/ieeefp.h: Use __v850 to select v850
2056 endianness.
2057
2058Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
2059
2060 * libc/stdlib/setenv.c: change unsetenv definition to match
2061 style of setenv (with _DEFUN). The string should be a const.
2062 * libc/include/stdlib.h: unsetenv proto should return void.
2063
2064Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
2065
2066 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
2067
2068Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
2069
2070 * libc/stdio/glue.h: remove.
2071 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
2072 * libc/stdio/Makefile.in: remove glue.h dependencies
2073
2074Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
2075
2076 * libc/sys/sysnecv850/crt0.S: Created V850e version.
2077
2078Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
2079
2080 * configure.in (target_cpu): Add `arc'.
2081
2082Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
2083
2084 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
2085 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
2086 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
2087 * newlib/libc/reent/reent.c: Add _wrapup_reent.
2088 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
2089
2090Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
2091
2092 * libc/machine/mips/setjmp.S: Handle mips16 builds.
2093
2094Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
2095
2096 * libc/include/stdio.h (siprintf): Declare.
2097
2098Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
2099
2100 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
2101 TARGET_CFLAGS and NEWLIB_FLAGS.
2102
2103Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2104
2105 * configure.in (links): Add support for v850ea target.
2106
2107Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
2108
2109 * configure.in (links): Add support for v850e target.
2110
2111Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
2112
2113 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
2114
2115Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
2116
2117 * configure.in (arc-*-*): Add support for.
2118 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
2119
2120Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2121
2122 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
2123
2124Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
2125
2126 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
2127 comparison which accesses invalid memory when the key is
2128 larger than the last member of the array.
2129 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
2130 for CYGWIN32
2131 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
2132
2133Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
2134
2135 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
2136 not _STRICT_ANSI.
2137
2138Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
2139
2140 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
2141 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
2142
2143Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
2144
2145 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
2146 to load/store memory.
2147
2148Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
2149
2150 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
2151 underscores if _WIN32.
2152
2153Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
2154
2155 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
2156 support ifdef _USE_WRITE missed in last change.
2157 From Anders Blomdell <anders.blomdell@control.lth.se>.
2158
2159Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
2160
2161 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
2162 (_tmpnam_r, _tempnam_r): Update.
2163
2164Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
2165
2166 * libc/machine/sparc/setjmp.S: New file.
2167 * libc/machine/sparc/Makefile.in: Add setjmp.
2168 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
2169
2170Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
2171
2172 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
2173
2174Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
2175
2176 From Joel Sherrill <joel@oarcorp.com>.
2177 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
2178
2179 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
2180 * configure.in: Recognize *-*-rtems*.
2181 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
2182 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
2183 time.h,times.h,types.h}: New files.
2184 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
2185
2186Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
2187
2188 patch from sos@prospect.com.ru (Sergey Okhapkin):
2189 * include/sys/wait.h: correct operator precidence bug
2190 in WIFSIGNALED
2191
2192Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
2193
2194 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
2195 with newlib's unsetenv function
2196 * libc/sys/cygwin32/sys: new directory for includes
2197 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
2198 here from winsup/include/sys
2199
2200Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
2201
2202 * libc/include/sys/unistd.h: _exit should only be
2203 labelled noreturn when not __CYGWIN32__
2204 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
2205 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
2206 increment NSIG
2207
2208Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
2209
2210 * libc/include/sys/time.h: Only define timeval and timezone if
2211 _GNU_H_WINDOWS32_SOCKETS is not defined.
2212 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
2213
2214Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
2215
2216 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
2217 * libc/machine/mn10300/setjmp.S: Likewise.
2218
2219 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
2220 the mn10300 (more relaxing opportunities).
2221
2222Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
2223
2224 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
2225 Build libraries with -mstrict-align.
2226
2227Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
2228
2229 * libc/string/strlwr.c: New file.
2230 * libc/string/strupr.c: New file.
2231 * libc/include/string.h: Declare strlwr and strupr.
2232 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
2233 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
2234 (strlwr.o, strupr.o): New targets.
2235 * libc/string/strings.tex: Include strlwr and strupr docs.
2236
2237 * libc/include/sys/types.h: Don't define u_char, et. al., if
2238 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
2239 et. al. Make FD_SETSIZE default 64 rather than 60. Define
2240 _types_fd_set rather than fd_set, and define fd_set as a macro.
2241
2242 * libc/include/malloc.h: New file.
2243
2244 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
2245 strnicmp if they are not already defined.
2246
2247 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
2248 _timezone, _daylight, and _tzname.
2249
2250Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
2251
2252 * configure.in: Sort all configuration tables.
2253
2254 From Joel Sherrill <joel@oarcorp.com>
2255 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
2256
2257Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
2258
2259 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
2260 use int when declaring kill.
2261
2262 * libc/include/sys/timeb.h: New file.
2263
2264Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
2265
2266 * libc/include/sys/time.h: add itimer support for Cygwin32
2267
2268Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
2269
2270 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
2271 out a message that abort was called to stderr.
2272
2273Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
2274
2275 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
2276 so that libio doesn't freak.
2277
2278 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
2279 int.
2280
2281 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
2282 memory sizes, not int.
2283
2284Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
2285
2286 * libm/math/ef_hypot.c: Use long constants where
2287 appropriate.
2288 * libm/math/ef_sqrt.c: Ditto.
2289
2290 * libc/sys/sysmec/times.c(_times): Change to times.
2291
2292 * libc/sys/sysmec/read.c(_read): The third argument is
2293 size_t.
2294 * libc/sys/sysmec/write.c (_write): Ditto.
2295
2296 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
2297 (_lseek): It's off_t for the second argument.
2298
2299Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
2300
2301 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
2302 as well as machine/ieeefp.h.
2303
2304Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
2305
2306 * libc/include/sys/signal.h: add signal protos for winsup
2307 functions (when __CYGWIN32__), include types.h
2308 * libc/include/sys/types.h: Change __go32_types__ internal
2309 define to __MS_types__ since it's used for more than just
2310 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
2311 defined.
2312 * libc/include/sys/unistd.h: add ftruncate proto for
2313 winsup functions (when __CYGWIN32__)
2314
2315Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
2316
2317 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
2318
2319Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
2320
2321 * libc/include/machine/setjmp.h: Add tic80 support.
2322 * libc/machine/tic80/setjmp.S: Likewise.
2323
2324Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
2325
2326 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
2327 link programs from libraries only (such as in the X11
2328 distribution)
2329
2330Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
2331
2332 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
2333 supplied elsewhere in newlib.
2334
2335Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
2336
2337 * Makefile.in (INSTALL): Change install.sh to install-sh.
2338
2339Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
2340
2341 * README: update WWW address for on-line documentation.
2342
2343Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
2344
2345 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
2346 increment NSIG
2347
2348Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
2349
2350 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
2351 mn10300.
2352 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
2353
2354Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
2355
2356 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
2357 * libc/sys/d10v/syscalls.c: Likewise.
2358 * libc/sys/h8300hms/sbrk.c: Likewise.
2359 * libc/sys/h8500hms/syscalls.c: Likewise.
2360 * libc/sys/m88kbug/syscalls.c: Likewise.
2361 * libc/sys/sh/syscalls.c: Likewise.
2362 * libc/sys/sysmec/sbrk.c: Likewise.
2363 * libc/sys/sysnecv850/sbrk.c: Likewise.
2364 * libc/sys/w65/syscalls.c: Likewise.
2365 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
2366
2367Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
2368
2369 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
2370 emulated syscall instead of "trap".
2371
2372Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
2373
2374 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
2375 not trap 0.
2376
2377Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
2378
2379 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
2380
2381Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
2382
2383 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
2384 not "sh".
2385 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
2386 not "d10v".
2387 * libc/sys/tic80/crt0.c: New file for TIc80.
2388 * libc/sys/tic80/Makefile.in: New file for TIc80.
2389 * libc/machine/tic80/Makefile.in: New file for TIc80.
2390
2391Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
2392
2393 * libc/machine/sh/memcpy.S: New file.
2394 * libc/machine/sh/memset.S: New file.
2395 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
2396
2397Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
2398
2399 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
2400 for TIc80.
2401
2402Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
2403
2404 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
2405 the mn10200.
2406
2407Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
2408
2409 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
2410 (patch from andrew@pogo.WV.TEK.COM).
2411
2412Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
2413
2414 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
2415 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
2416
2417Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
2418
2419 * configure.in: Add cases for "tic80" to set machine_dir,
2420 sys_dir, and syscall_dir.
2421
2422Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
2423
2424 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
2425
2426Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
2427
2428 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
2429
2430Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
2431
2432 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
2433 Use proper constant prefix.
2434
2435Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
2436
2437 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
2438 that loses on the mn10200 where ints and pointers are different
2439 sizes.
2440
2441Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
2442
2443 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
2444 target as signal is provided in winsup.
2445
2446Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
2447
2448 * libc/include/sys/process.h: Corrected const definitions
2449 in spawn functions. Added cwait.
2450
2451Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
2452
2453 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
2454 doubles.
2455 * libc/include/sys/config.h: Similarly.
2456
2457Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2458
2459 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
2460 target_cflags.
2461 (i[3456]86-*-sco*): Ditto.
2462
2463 * libc/signal/Makefile.in (OFILES): Add signal.o.
2464 (CFILES): Add signal.c.
2465
2466 * libc/signal/raise.c (_raise_r): Only compile code if
2467 SIGNAL_PROVIDED is defined.
2468
2469 * libc/signal/signal.c: Redo whole file so that it works with
2470 current newlib. Use _kill_r if no signal handler provided.
2471
2472 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
2473 signal stubs.
2474 * libc/sys/sysvnecv70/Makefile.in: Ditto.
2475 * libc/sys/sysnecv850/Makefile.in: Ditto.
2476
2477 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
2478 * libc/sys/sysmec/{raise,signal}.c: Ditto.
2479 * libc/sys/sysvnecv70/signal.s: Ditto.
2480 * libc/sys/sysnecv850/raise.c: Ditto.
2481
2482 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
2483 simulator and debugger can tell the difference between a signal
2484 being raised and an exit system call.
2485
2486 * NEWS: Document software signals being provided.
2487
2488Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2489
2490 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
2491 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
2492 include/sys/config.h.
2493 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
2494 Change from 'inpure_data'.
2495 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
2496 &impure_data, not &inpure_data.
2497
2498 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
2499 and and System V ABI, define so that _impure_ptr lives in the
2500 .sdata section.
2501
2502Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2503
2504 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
2505 nothing if not defined.
2506 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
2507 its attributes.
2508
2509 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
2510
2511Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
2512
2513 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
2514 * libc/sys/sysmec/trap.s: Handle mn10200 too.
2515 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
2516
2517Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
2518
2519 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
2520
2521Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
2522
2523 * libc/include/sys/errno.h: Added net errno's.
2524
2525Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2526
2527 * libc/misc/ffs.c: New file to support ffs function for GCC test
2528 gcc.c-torture/execute/960909-1.c.
2529
2530 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
2531
2532Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
2533
2534 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
2535 * libc/sys/sysmec/trap.S: Likewise.
2536
2537Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
2538
2539 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
2540 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
2541
2542Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
2543
2544 * libc/sys/sysmec/signal.c: Dummy file.
2545 * libc/sys/sysmec/Makefile.in: Build it.
2546
2547Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
2548
2549 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
2550 mips16.
2551
2552Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
2553
2554 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
2555 c-startup and simulator traps.
2556
2557
2558 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
2559 * libc/sys/sysmec/trap0.S: Likewise.
2560
2561Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2562
2563 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
2564 round to double word alignment.
2565 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
2566 byte alignment.
2567
2568 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
2569
2570 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
2571 out of memory.
2572
2573Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
2574
2575 * configure.in: Handle mn10200 and mn10300.
2576 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
2577 * libc/include/sys/config.h: Likewise.
2578 * libc/sys/sysmec: New directory for mec stuff.
2579 * libc/machine/mn10300: New directory for mn10300 stuff.
2580 * libc/machine/mn10200: Similarly for mn10200 stuff.
2581
2582Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
2583
2584 * libc/sys/arm/crt0.S: Use .text, not .section .text.
2585 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
2586
2587 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
2588 (nlink_t): Change type from unsigned int to unsigned short.
2589 (mode_t): Ensure size is 32 bits even if int is 16.
2590 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
2591 (st_spare[123]): Change type from int to long.
2592
2593Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2594
2595 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
2596 byte boundary.
2597
2598 * configure.in (d10v*): Define SMALL_MEMORY.
2599
2600Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2601
2602 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
2603 -mrelocatable-lib and -mno-eabi flags.
2604
2605Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
2606
2607 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
2608 Fix handling of mis-aligned source operand when both the
2609 destination & length are properly aligned.
2610
2611Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
2612
2613 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
2614 times.o, time.o and gettime.o
2615 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
2616 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
2617 SYS_gettimeofday.
2618
2619Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
2620
2621 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
2622 * libc/sys/sysnecv850/access.c: New file.
2623
2624Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
2625
2626 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
2627
2628 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
2629 long.
2630
2631Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
2632
2633 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
2634
2635Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
2636
2637 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
2638 * libc/include/sys/config.h: Add m32r support.
2639
2640Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
2641
2642 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
2643 here.
2644
2645Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
2646
2647 * libc/include/machine/setjmp.h: Add D10v support.
2648
2649Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
2650
2651 * configure.in: Configure the "libc/syscalls" directory for
2652 the v850.
2653
2654 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
2655 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
2656 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
2657 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
2658 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
2659
2660Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
2661
2662 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
2663 stack for args for main and other routines. Zero out args for
2664 main.
2665
2666 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
2667 correctly.
2668
2669Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2670
2671 * libc/stdio/findfp.c (std): Remove extraneous ';' after
2672 function.
2673
2674 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
2675
2676 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
2677 real system calls now.
2678
2679 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
2680 before casting them to int.
2681 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
2682
2683 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
2684 aligning pointer.
2685 * libc/string/memset.c (memset): Ditto.
2686
2687 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
2688 first convert ints to _POINTER_INT to eliminate GCC warning.
2689
2690 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
2691 processing %p.
2692
2693 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
2694 from 65000 if ints are only 16 bits.
2695
2696 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
2697 from 50000 if ints are only 16 bits.
2698
2699 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
2700 int type that is the same size as a pointer.
2701
2702 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
2703 processing %p.
2704 (get_number): Explicitly cast number to long before shifting by 16
2705 or 24, in case ints are short.
2706
2707 * libc/include/sys/config.h (_POINTER_INT): Define as short.
2708
2709Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
2710
2711 * libc/string.h: Added ffs, removed swab.
2712 * libc/sys/errno.h: Added EOPNOTSUPP.
2713 * libc/sys/unistd.h: Added swab.
2714
2715Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
2716
2717 * libc/include/sys/stat.h: Added fchmod.
2718 * libc/include/sys/unistd.h: Added fsync.
2719
2720Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
2721
2722 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
2723 and ECONNRESET (104) for cygwin32.
2724
2725Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
2726
2727 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
2728 do the static destructors.
2729
2730Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
2731
2732 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
2733
2734Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
2735
2736 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
2737 * configure.in: Recognize m32r-*-*.
2738
2739Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
2740
2741 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
2742 __rt_stkovf_split_small): Added default software stack overflow
2743 handlers, which just call SWI_Exit.
2744 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
2745 limit initialisation.
2746
2747Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
2748
2749 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
2750
2751Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
2752
2753 * libc/include/sys/types.h: Added ssize_t definition.
2754
2755Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2756
2757 * libc/machine/d10v/setjmp.S: Use ';' for comments.
2758 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
2759
2760 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
2761 branch around a single ldi instruction.
2762
2763 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
2764 Call exit, instead of just issuing a stop instruction.
2765
2766Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2767
2768 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
2769
2770Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2771
2772 * libc/stdlib/mprec.h: Explicitly declare all large constants as
2773 longs, and then cast them to __uint32_t.
2774
2775 * libc/include/sys/config.h: Protect against multiple inclusions.
2776
2777Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
2778
2779 * configure.in (d10v*): Set syscall_dir.
2780
2781Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
2782
2783 * libc/sys/d10v/crt0.S: Set stack pointer.
2784
2785Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
2786
2787 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
2788 in assembly for efficiency. Change calling convention to allow
2789 long ints to be returned.
2790
2791Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2792
2793 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
2794
2795Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
2796
2797 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
2798 Handle empty entries in $PATH.
2799
2800Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
2801
2802 * libc/machine/d10v/setjmp.S: Make it really work.
2803
2804Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
2805
2806 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
2807 the .stack section.
2808
2809Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
2810
2811 * sys/sysnecv850/sys/file.h: Remove.
2812 * sys/sysnecv850/sys/syscall.h: New file.
2813 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
2814 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
2815 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
2816 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
2817 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
2818 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
2819 * sys/sysnec850/trap.S: New file.
2820 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
2821 syscalls.
2822 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
2823 * sys/sysnec850/sbrk.c: New version.
2824
2825Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
2826
2827 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
2828 as long as r6 is less than r7.
2829
2830Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
2831
2832 * Makefile.in (mostlyclean): Separate from clean target. Don't
2833 remove *.a or targ-include.
2834 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
2835
2836Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2837
2838 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
2839 d10v.
2840 (__SMALL_BITFIELDS): Ditto.
2841
2842 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
2843
2844Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
2845
2846 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
2847 prefix.
2848
2849 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
2850 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
2851 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
2852 * libc/sys/sysnecv850/write.c (write): Likewise.
2853
2854 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
2855 .bss.
2856
2857Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2858
2859 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
2860 appropriately for D10V, depending on -mint16/-mint32.
2861
2862Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
2863
2864 * configure.in: Add cases for D10V.
2865
2866Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2867
2868 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
2869
2870Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
2871
2872 * libc/include/machine/ieeefp.h: Fix typo.
2873
2874Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
2875
2876 * libc/sys/d10v: New directory for D10V stuff.
2877 * libc/include/machine/ieeefp.h: Add D10V defines.
2878
2879Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
2880
2881 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
2882 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
2883 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
2884 * libc/string/strerror.c (strerror): Add them.
2885
2886Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
2887
2888 * libc/sys/sysnecv850: New directory for v850 stuff.
2889
2890 * libc/machine/v850: New directory for v850 stuff.
2891 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
2892
2893 * configure.in: Add support for the v850.
2894
2895 * libc/include/machine/ieeefp.h: Add v850 defines.
2896 * libc/include/machine/setjmp.h: Likewise.
2897 * libc/include/sys/config.h: Add v850 defines.
2898
2899Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
2900
2901 * libc/include/machine/ieeefp.h
2902 * libc/include/machine/setjmp.h
2903 * libc/include/sys/fcntl.h
2904 * libc/include/sys/signal.h
2905 * libc/include/sys/types.h
2906 * libc/stdlib/system.c:
2907 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
2908 API availability, __CYGWIN32__ for cygwin32 environment specific).
2909
2910Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
2911
2912 * libc/include/stdlib.h: add multibyte character functions. Add
2913 __eprintf for assert.
2914
2915Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2916
2917 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
2918 arithmetic or __alignof__ to properly get the alignment, instead
2919 of hardwiring it to 4.
2920
2921Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
2922
2923 * libc/stdio/fseek.c: add fflush call to adjust seek offset
2924 on append stream (fix from NetBSD sources), adjust curoff offset
2925 for ungetc's benefit.
2926 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
2927 * libc/stdio/rewind.c: replace code with up to date NetBSD
2928 code to undo hacks made to work around above problem of not
2929 having fflush call mentioned above
2930
2931Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2932
2933 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
2934 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
2935 Partially revert last changes. The thread specific errno is set
2936 iff if the underlying syscall fails and the global errno is not
2937 zero.
2938
2939Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
2940
2941 * libc/reent/filer.c: Removed files, all functions have split out
2942 into their own files.
2943 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
2944 New files containing functions formally in filer.c
2945 * libc/reent/Makefile.in: Updated for above change.
2946
2947 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
2948 syscall fails, not if errno is changed.
2949 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
2950 _write_r): Likewise.
2951 * libc/reent/fstatr.c (_fstat_r): Likewise.
2952 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
2953 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
2954 * libc/reent/signalr.c (_kill_r): Likewise.
2955 * libc/reent/statr.c (_stat_r): Likewise.
2956 * libc/reent/timer.c (_gettimeofday_r): Likewise.
2957
2958 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
2959 signalr.c, statr.c, timer.c} (errno): declare extern rather
2960 than as a common.
2961
2962 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
2963 instead of calling vfprintf so that i*printf will not require
2964 floating point support code.
2965
2966Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
2967
2968 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
2969 path delimiter.
2970 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
2971 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
2972
2973Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
2974
2975 * libc/include/signal.h: _sig_func_ptr function takes an int
2976 * libc/include/sys/signal.h: sa_handler function takes an int
2977
2978Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
2979
2980 * libc/include/machine/ieeefp.h: Simplify H8/S support.
2981 * libc/include/sys/config.h: Add missing H8/S conditional.
2982
2983Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
2984
2985 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
2986
2987Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
2988
2989 * libc/include/machine/setjmp.h: Handle H8/S.
2990 * libc/include/machine/ieeefp.h: Likewise.
2991 * libc/include/sys/config.h: Likewise.
2992 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
2993 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
2994 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
2995 * libc/sys/h8300hms/crt0.S: Likewise.
2996
2997Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2998
2999 * Makefile.in (datadir): Set to $(prefix)/share.
3000 (oldincludedir, docdir): Removed.
3001 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3002 (oldincludedir, docdir): Removed.
3003 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3004 (oldincludedir, docdir): Removed.
3005 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3006 (oldincludedir, docdir): Removed.
3007
3008Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3009
3010 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3011 _reent struct.
3012
3013Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3014
3015 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3016 fetch current path rules with sysconf and handler posix/win32
3017 appropriately.
3018
3019 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3020
3021 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3022 (WAIT_CHILD): Always define.
3023
3024Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3025
3026 * libc/stdlib/eprintf.c: New file.
3027 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3028 (eprintf.o): New target.
3029
3030Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3031
3032 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3033 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3034
3035Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3036
3037 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3038 NT in PowerPC endianess cases.
3039
3040Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3041
3042 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3043
3044Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3045
3046 * libc/string/strtok.c: Fix doc typo.
3047
3048Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3049
3050 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
3051 _next, _scanpoint, _signgam fields.
3052
3053 * libc/include/stdlib.h (rand_r): Added new declaration.
3054 (_rand_r, _srand_r): Removed declarations.
3055 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
3056 have been made obsolete by rand_r.
3057 * libc/stdlib/rand_r.c: New file, rand_r function as specified
3058 by POSIX.1c.
3059
3060 * libc/string/strtok.c: Update documentation to describe
3061 strtok_r().
3062
3063Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
3064
3065 * libc/include/sys/stat.h (stat structure): Use the expanded stat
3066 structure on Solaris, and PowerPC systems even though __svr4__ is
3067 defined.
3068
3069Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
3070
3071 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
3072
3073Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
3074
3075 * host/any: Use ../.. rather than .. to get to the main build
3076 directory. This matches the current layout of the build
3077 directory.
3078
3079Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
3080
3081 * libc/machine/h8300/__main.S: Delete. No longer needed.
3082 * libc/machine/h8300/Makefile.in: Corresponding changes.
3083 * libc/sys/h8300hms/crt1.c: New file.
3084 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
3085 * libc/sys/h8300hms/crt0.s: Call __main.
3086
3087 * libc/sys/h8300hms/crt0.S: Use temporary label names
3088 for branch targets.
3089
3090Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
3091
3092 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
3093
3094Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3095
3096 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
3097 .sdata on the PowerPC so that we can link newlib with code
3098 compiled with -msdata.
3099
3100Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
3101
3102 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
3103
3104Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
3105
3106 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
3107 exception handler to __cygwin_exception_handler.
3108
3109Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
3110
3111 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
3112
3113Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
3114
3115 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
3116 SunOS VPATH.
3117 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
3118 wcstombs.o): Likewise.
3119
3120Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
3121
3122 * libc/stdlib/environ.c (initial_env): New static local.
3123 (environ): Point to `initial_env'.
3124
3125 * libc/include/machine/setjmp.h: Clean up.
3126 (__H8300H__,__PPC__): Define _JBTYPE.
3127 (__arm__): Provide entry for.
3128 (sigjmp_buf): Delete.
3129 (jmp_buf): Use _JBTYPE if defined, otherwise int.
3130
3131Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
3132
3133 * libc/machine/h8300/strcmp.S: Sign extend the result to
3134 32bits so we don't lose with -mint32.
3135
3136Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
3137
3138 * libc/sys/go32/sys/errno.h: New file.
3139 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
3140 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
3141 errno's address (make compatible with rest of newlib).
3142 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
3143 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
3144
3145Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
3146
3147 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
3148 * libc/machine/sparc/Makefile.in: Build them.
3149 * libc/machine/sparc/machine/sparclet.h: New file.
3150
3151Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3152
3153 * libc/machine/sh/asm.h: New file.
3154 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
3155 support for SH3e's FP registers. Use asm.h.
3156
3157Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
3158
3159 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
3160 as first argument. Call _dtoa_r and pass the reent structure
3161 instead of calling __dtoa.
3162
3163Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
3164
3165 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
3166 the h8300, h8500, and others. Add comments for some rather
3167 dubious code.
3168
3169Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
3170
3171 * Makefile.in (check): Check that testsuite exists before cd.
3172
3173Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3174
3175 * libc/include/string.h (strsep): Correct prototype.
3176
3177Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
3178
3179 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
3180 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
3181 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
3182
3183Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
3184
3185 * libc/posix/{creat.c,isatty.c}: New files.
3186 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
3187
3188 * libc/sys/sparc64/crt0.S (environ): Delete.
3189 (.LHaveBias): Renamed from HaveBias.
3190
3191Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
3192
3193 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
3194 (_morecore_r): Delete SBRK_IS_ALLOC support.
3195
3196Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3197
3198 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
3199 module rather than touch, so we don't get warning messages when
3200 all of the libraries are combined into libc.a.
3201
3202Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
3203
3204 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
3205 crt0.s replaced by version in libgloss.
3206
3207Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3208
3209 * libc/reent/Makefile.in (OFILES): Add impure.o.
3210 * libc/reent/impure.o: New file, define initial reentrancy struct.
3211 * libc/reent/reent.c: Remove above definition.
3212
3213 * libm/math/sf_asinh.c: Fix typo.
3214
3215 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
3216 srf_ldexp.o.
3217
3218 * libm/libm.texinfo: Change documentation to reflect changes
3219 in reentrancy model.
3220 * libm/math/w_gamma.c: Likewise.
3221
3222Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
3223
3224 * configure.in (*-*-cygwin32): New.
3225 (*-*-win32): Deleted.
3226 * libc/sys/win32 renamed libc/sys/cygwin32.
3227
3228Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3229
3230 * libc/include/sys/file.h: New include file.
3231
3232Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
3233
3234 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
3235
3236Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
3237
3238 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
3239
3240Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3241
3242 * doc/makedoc.c (realloc): Declare at file scope.
3243 (catchar): Not here.
3244
3245Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
3246
3247 * Makefile.in (VERSION): Update to 1.7.0.
3248 * {libc,libm}/Makefile.in (VERSION): Likewise.
3249 * configure.in: Minor clean up of multilib stuff.
3250
3251 From David Johnson <davidj@ICSI.Berkeley.EDU>
3252 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
3253
3254 * libc/stdlib/environ.c: New file.
3255 * libc/stdlib/Makefile.in (OFILES): Build it.
3256 * libc/sys/h8500hms/crt0.c (environ): Deleted.
3257 * libc/sys/m88kbug/crt0.c (environ): Deleted.
3258 * libc/sys/z8ksim/crt0.c (environ): Deleted.
3259 * libc/sys/netware/environ.c: Deleted.
3260
3261Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
3262
3263 * configure.in (links): set sys_dir, posix_dir, syscall_dir
3264
3265Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3266
3267 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
3268 declaration out to external scope and declare it PTR, not char *.
3269
3270Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
3271
3272 * libc/include/sys/unistd.h (getpagesize): New declaration.
3273 (_SC_PAGESIZE): New definition.
3274 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
3275 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
3276
3277Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
3278
3279 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
3280 addressing. System call returns size, not (last address + 1).
3281
3282Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3283
3284 * libm/math/*.c: Removed _foo_r() reentrancy API.
3285 * libc/include/math.h: Removed _foo_r prototypes and macros.
3286
3287 * libm/math/*.c: On systems with IEEE single precision "doubles"
3288 move foo() -> foof() wrapper code from the files that implement
3289 the standard IEEE double precision functions to the files that
3290 implement IEEE single precision functions. (ie. On those systems
3291 sin is moved from s_sin.c to sf_sin.c). There should eventually
3292 be use of a C extension (like gcc's alias attribute) so that the
3293 wrappers are not needed at all.
3294
3295 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
3296 strict NEC V810 compiler.
3297 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
3298 for same reason.
3299
3300Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3301
3302 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
3303 from NetBSD C library.
3304 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
3305
3306 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
3307 and adapted from implementation I wrote for NetBSD C library.
3308 The difference is __assert doesn't take a format argument,
3309 so that there won't be multiple copies of the same string
3310 constant in the executable if assertions are enabled in
3311 more than one source module.
3312 * libc/include/assert.h (assert): Changed to call __assert.
3313
3314Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3315
3316 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
3317 word1 on systems with 32 bit doubles.
3318 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
3319 so that we can do arithmetic on them.
3320 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
3321 compilers.
3322
3323Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
3324
3325 * libc/sys/arm/crt0.S: Zero bss.
3326
3327Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
3328
3329 * libc/include/unctrl.h: New file.
3330 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
3331 * configure.in (subdirs): Add libc/misc.
3332 * libc/Makefile.in (SUBDIRS): Add misc.
3333 (SUBLIBS): Add misc/lib.a.
3334
3335 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
3336
3337Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
3338
3339 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
3340 (_vfprintf_r): Call CHECK_INIT.
3341
3342Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
3343
3344 * Makefile.in (MULTITOP): Delete.
3345 (MULTISRCTOP, MULTIBUILDTOP): Add.
3346 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
3347 instead of cfg-ml-pos.in.
3348
3349Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3350
3351 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
3352 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
3353 presence.
3354
3355Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
3356
3357 * libc/string/strtok.c: Include string.h to pick up strtok_r
3358 prototype.
3359
3360Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3361
3362 * libc/string/strtok.c: include <_ansi.h>.
3363 * libc/time/asctime_r.c: `reresult' -> `result'.
3364
3365Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3366
3367 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
3368 in #ifndef _REENT_ONLY ... #endif conditional.
3369
3370 * libc/include/string.h (_strtok_r): Remove declaration.
3371 * libc/include/time.h (_asctime_r): Remove declaration.
3372 * libc/string/strtok.c (_strtok_r): Removed.
3373 * libc/time/asctime.c (_asctime_r): Removed.
3374
3375 * libc/string/Makefile.in (OFILES): Add new object.
3376 * libc/string/strtok_r.c: New file. strtok_r function as
3377 specified by POSIX.1c, adapted from strtok implementation
3378 from NetBSD C library.
3379 * libc/string/strtok.c (strtok): Reimplemented in terms of
3380 strtok_r.
3381
3382 * libc/time/Makefile.in (OFILES): Add new objects.
3383 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
3384 New files, reentrant time functions specified by POSIX.1c.
3385 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
3386 reentrant time functions re-written in terms of reentrant
3387 functions.
3388 * libc/time/lcltime.c: Renamed from localtime.c
3389
3390 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
3391 gmtime_r, and localtime_r.
3392
3393Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
3394
3395 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
3396 * libc/include/sys/unistd.h (getlogin): Revert change of
3397 Oct 19.
3398 * libc/include/sys/signal.h (sigprocmask): Change prototype
3399 so it compiles with c++.
3400
3401Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
3402
3403 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
3404 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
3405 to give some room in case we need to align the jmp_buf.
3406
3407 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
3408 the new ppc-asm.h include file the compiler provides to specify
3409 function prologue/epilogue. Eliminate saves of the xer and ctr
3410 registers, which are volatile. Before starting to save registers,
3411 align to 8 byte boundary.
3412
3413Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
3414
3415 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
3416 referenced by standard libraries.
3417
3418Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
3419
3420 * libc/unix/Makefile.in, libc/string/Makefile.in,
3421 libc/stdio/Makefile.in, libc/reent/Makefile.in,
3422 libc/posix/Makefile.in:
3423 Remove tabs from otherwise empty line. Confuses some
3424 older non-GNU versions of "make".
3425
3426Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
3427
3428 * libc/sys/unistd.h (getlogin): Returns const char *.
3429
3430Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
3431
3432 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
3433 * libc/include/errno.h: Moved into and include...
3434 * libc/include/sys/errno.h: New file.
3435 * libc/include/sys/wait.h: New file.
3436 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
3437 * libc/sys/win32/*: Moved out.
3438 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
3439 * configure.in (i[345]86-*-win32): HAVE_RENAME
3440
3441Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
3442
3443 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
3444 avoid macro expansion for these two names.
3445
3446Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
3447
3448 * libc/machine/h8500/psi.S: r6 renamed to fp.
3449
3450Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
3451
3452 * configure.in (powerpc*): No longer need to define
3453 NO_LONGLONG_POINTERS to supress warnings.
3454
3455Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3456
3457 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
3458 through PTR instead of directly.
3459
3460 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
3461 non-standard constructor support.
3462
3463Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3464
3465 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
3466 address of the Bigint instead of the address of its _x field,
3467 as the size the result buffer was calculated accordingly.
3468 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
3469
3470 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
3471 from NetBSD C library. No longer special cases division by
3472 zero (which needs to be done by the application anyway), but
3473 it doesn't need to call abs() (or labs()) four times either.
3474
3475 * libc/stdlib/qsort.c: Replaced with implementation from
3476 NetBSD C library.
3477
3478Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3479
3480 * libc/stdio/vfprintf.c: Replaced with implementation from
3481 NetBSD C library (which is derived from the 4.4BSD C library).
3482 * libc/stdio/cvt.c: Removed.
3483 * libc/stdio/Makefile: Updated.
3484
3485Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
3486
3487 * libc/sys/win32/syscalls.c (rename): New.
3488 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
3489
3490Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
3491
3492 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
3493 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
3494
3495 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
3496 (setjmp.o): Delete rule to build setjmp.o.
3497 * libc/sys/sh/setjmp.S: Delete file.
3498
3499Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3500
3501 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
3502 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
3503 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
3504 pow5mult and s2b to identifiers with leading underscores.
3505 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
3506 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
3507
3508Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
3509
3510 * libc/sys/posix/popen.c (sys/types.h): Include.
3511
3512Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
3513
3514 * libc/sys/win32/syscalls.h (fhandler): New struct.
3515 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
3516 (__fhandler_normal): Declare.
3517 (hinfo): New member op_handlers.
3518 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
3519 (__write): Likewise.
3520 (_read, _write, _open, _close, _lseek): Validate fd here.
3521 Move file type specific stuff to foo_normal.
3522 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
3523 New functions.
3524 (__lookup_fhandler): New function.
3525 (__lookup_fhandler_hook, __fhandler_normal): New variables.
3526
3527 From anders.blomdell@control.lth.se (Anders Blomdell)
3528 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
3529 Don't touch standard handles.
3530 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
3531 (_execve): Only create __FD_TABLE__ if necessary.
3532 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
3533
3534Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
3535
3536 * libc/sys/win32/sys/termios.h (FLUSHO): New.
3537 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
3538 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
3539 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
3540 without a handler is received.
3541 * libc/sys/win32/Makefile.in: Remove --nodelete.
3542 * libc/sys/win32/resouce.c (gettimeofday): New.
3543 * libc/sys/win32/syscalls.c (path_to_real_path): New.
3544 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
3545
3546Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
3547
3548 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
3549 Don't append "/*" to search pattern if trailing '/' already there,
3550 append "*".
3551 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
3552 like /'s, convert them to \'s. Handle //<drive>/ path names.
3553 Add space for quoted \'s in arg string. Print translated prog name
3554 and original prog name.
3555 (_execve): Handle parent doing exec a teensy bit better.
3556 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
3557 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
3558 path needs conversion, handle both cases. Delete `const' from result.
3559 (hash_path_name): New function.
3560 (_open): Call it.
3561 (_stat): Likewise. Fill in more fields for directories.
3562 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
3563 (wait_for_any): Fix trace message.
3564 (waitpid): Explicitly test for intpid == 0.
3565
3566 From anders.blomdell@control.lth.se (Anders Blomdell)
3567 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
3568 so `next' is valid.
3569
3570Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
3571
3572 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
3573 complicated.
3574
3575Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3576
3577 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
3578 at all, not just == 1.
3579 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
3580
3581Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3582
3583 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
3584 * libc/sys/win32/include/wintypes.h: include <winnt.h>
3585 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
3586 file.
3587
3588Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3589
3590 * libc/sys/syscalls.c (getcwd): Fix off by one error.
3591
3592 * libc/sys/signal.c (sleep): Fill it in.
3593 * libc/sys/termios.c (tcflush): Use PurgeComm
3594 (tcsetattr): Set some more of the bits.
3595 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
3596
3597Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
3598
3599 * libc/sys/arm/crt0.S (fp): Initialize to 0.
3600 Conditionally include .idata$3 stuff ifdef __pe__.
3601
3602Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
3603
3604 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
3605 * libc/sys/win32/pipe.c (pipe): Ditto.
3606 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
3607 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
3608 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
3609 (tcgetattr): Contents are new.
3610 * libc/sys/win32/include/winkernel.h (DCB): New.
3611 (GetCommState, SetCommState): New.
3612
3613Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
3614
3615 * libc/sys/arm/crt0.S (_start): Define.
3616
3617Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
3618
3619 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
3620 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
3621
3622 * libc/sys/win32/sysconf.c: New
3623 * libc/sys/win32/sys/winadvapi.h: New
3624 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
3625 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
3626 * libc/sys/win32/pipe.c (pipe): Ditto.
3627 * libc/sys/win32/signal.c (_raise): New.
3628 (_kill): Moved from spawn.c
3629 * libc/sys/win32/spawn.c (kill): Moved to signal.c
3630 * libc/sys/win32/syscalls.c (__read): Use new fields.
3631 (_open): Ditto.
3632 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
3633 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
3634 * libc/include/sys/unistd.h (rmdir): Takes const path.
3635 * libc/include/sys/stat.h (mkdir): Takes const path.
3636 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
3637
3638Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
3639
3640 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
3641
3642 Add support for specifying paths as //<drive>/foo/bar.
3643 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
3644 (__path_to_real_path): Declare.
3645 (PATH_TO_REAL_PATH): New macro.
3646 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
3647 (__path_needs_conversion_p, __path_to_real_path): New functions.
3648 (_open): Fix test for error return from CreateFileA.
3649 Handle new path syntax.
3650 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
3651 * libc/sys/win32/dirsearch.c (opendir): Likewise.
3652
3653Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
3654
3655 * libc/sys/win32/include/*.h: Reorganized
3656 * libc/sys/win32/include/WINREADME: New.
3657 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
3658 * libc/sys/win32/*.c: Fix for new include scheme.
3659 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
3660 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
3661 * libc/sys/win32/passwd.c (*): Fix.
3662 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
3663 (_stat): Get directory owner and permissions right.
3664 * libc/sys/win32/syscalls.h (uinfo): New.
3665 * libc/sys/win32/version.def: Remove leading underscores.
3666
3667Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3668
3669 * libc/sys/win32/key.c: include "include/wincon.h".
3670
3671Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
3672
3673 * libc/sys/win32/{key, stubs}.c: New.
3674 * libc/sys/win32/Makefile: Adjust to cope.
3675 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
3676 (environ_init): Change env names to upper case.
3677 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
3678 * libc/sys/win32/passwd.c (*): Fill in the functions.
3679 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
3680 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
3681 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
3682 (_open): Initialze hmap->execable_p too.
3683 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
3684 (_fstat): Fill in permissions.
3685 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
3686
3687Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
3688
3689 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
3690 if defined.
3691 (cfg-ml-pos.in invocation): Likewise.
3692
3693Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3694
3695 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
3696 s_isnan.o and sf_isnan.o.
3697
3698Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
3699
3700 * All Makefile.in files: added maintainer-clean target as a
3701 synonym for realclean.
3702
3703Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
3704
3705 * libc/include/machine/setjmp.h: Add hppa support.
3706 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
3707 support.
3708 * libc/machine/hppa/Makefile.in: Related changes.
3709
3710Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
3711
3712 * configure.in (machine_dir): Don't set for v810-*-*.
3713
3714Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3715
3716 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
3717 conventions correctly.
3718
3719Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
3720
3721 * libc/stdio/puts.c: Update documentation of return value to match
3722 ANSI standard.
3723
3724Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
3725
3726 Fix file descriptor inheritance.
3727 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
3728 (NOT_OPEN_FD): Fix.
3729 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
3730 close-on-exec flag not set. Initialize child's entire fd table.
3731 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
3732 CHILD_P.
3733 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
3734 if CHILD_P. Initialize entire hmap entry.
3735 (dup): Only create new handle as inheritable if CHILD_P.
3736 (dup2): Likewise. Properly initialize hmap entry.
3737
3738 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
3739 _spawn.
3740 (_exit): Use CHILD_P.
3741 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
3742 (_stat): Likewise.
3743
3744Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3745
3746 * libc/sys/win32/crt0.c (passover): fix up the state table.
3747 * libc/posix/popen.c: Added.
3748 * libc/posix/Makefile.in: compile popen.c.
3749
3750Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
3751
3752 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
3753 h8/500 define _DOUBLE_IS_32BITS.
3754
3755Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
3756
3757 Get vfork/exec/spawn/cwait/wait working again.
3758 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
3759 (procinfo): New member vfork_level.
3760 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
3761 (vfork_init_first): Use GetCurrentProcessId to get pid.
3762 Initialize vfork_level.
3763 (vfork_init): Delete __PID__.
3764 (environ_init): New function. Undo patch of Aug 19, Posix says
3765 environment variables are case sensitive.
3766 (mainCRTStartup): Call it.
3767 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
3768 (my_longjump: Make static.
3769 (_spawn): New argument `h'. Delete setting of __PID__.
3770 Delete local `idx'. Look for chars that need quotes, rather than
3771 ones that don't. Set handle of created process in `h'.
3772 Result is process id if created task.
3773 (allocate_spawn_entry): New function.
3774 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
3775 (_execve): Set __FD_TABLE__ before spawning child.
3776 Scan our fd table when passing fds, not our parent's.
3777 Store handle and pid in procinfo entry.
3778 (vfork0): Ensure strace message always printed.
3779 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
3780 (vfork): Don't clobber result of vfork0.
3781 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
3782 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
3783
3784 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
3785 and `exit_code'.
3786 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
3787 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
3788 adding vfork level to pseudo-pid.
3789 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
3790 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
3791 (_exit): If child, set exit code.
3792 (__vfork_record_death): Only close process handle if valid.
3793 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
3794 didn't exec.
3795 (wait_for_any): Likewise. Start scan after root entry.
3796
3797Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3798
3799 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
3800 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
3801 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
3802 of actual file length.
3803
3804 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
3805 * libc/include/paths.h: _PATH_BSHELL added.
3806 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
3807 and STDERR_FILENO.
3808
3809Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3810
3811 * libc/include/ar.h: Added.
3812 * libc/include/sys/types.h: ino_t goes back to 32-bits.
3813 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
3814 * libc/sys/win32/syscalls.c (_open): compute .namehash based
3815 on filename.
3816 (_fstat): use .namehash for inode number of the fd.
3817
3818Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
3819
3820 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
3821 Change hinfo to __this_procinfo.
3822 * libc/sys/win32/crt0.c: Remove procinfo_list.
3823
3824Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3825
3826 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
3827 win32 environment.
3828
3829Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3830
3831 * libc/sys/win32/include/grp.h: Removed.
3832 * libc/sys/include/grp.h: Added.
3833 * libc/sys/win32/grp.c: Include <grp.h>.
3834
3835Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
3836
3837 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
3838 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
3839 Defined for all but strict ANSI.
3840 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
3841 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
3842 * libc/signal/signal.c (_signal_r): Changed from using
3843 _MAX_SIGNALS to NSIG.
3844 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
3845 __hmap): Deleted.
3846 (__strace, __vfork_next_pid): New.
3847 (__exe_suffix): Default to 1.
3848 (passover, table): Understand quoted arguments.
3849 (vfork_init_first): New.
3850 (vfork_init): Initialize new process structure.
3851 (mainCRTStartup): Pass environ to main.
3852 * exceptions.c (__sig_mask): New
3853 (ehandler3): Ignore signals in mask.
3854 (really_exit): Remove CHILD_P test.
3855 * pipe.c (pipe, dup, dup2): Use new process and file structure.
3856 * resource.c (getrusage): Ditto.
3857 * signal.c (sigprocmask): New.
3858 * spawn.c (*): Rewritten.
3859 * syscalls.c (*): Use new process and file structure.
3860 (find_unused_handle): New.
3861 * syscalls.h (MAX_HANDLES): Deleted.
3862 (hinfo): Removed child_created_p.
3863 (MAX_CHILDREN): Deleted.
3864 (vfork_jmp_info, procinfo): New.
3865 * wait.c (*): Mostly new.
3866 * sys/strace.h (_STRACE_PARANOID): New.
3867 * sys/param.h: New file.
3868
3869Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3870
3871 * libc/include/sys/stat.h: add S_BLKSIZE.
3872 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
3873 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
3874 types under win32.
3875 (mode_t): add a #else to avoid multiple definitons.
3876
3877 * libc/sys/win32/Makefile.in: add grp.c.
3878 * libc/sys/win32/grp.c: include grp.h correctly.
3879 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
3880 of the st structure with real information.
3881 * libc/sys/win32 (dirent): d_ino is of type ino_t.
3882
3883Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
3884
3885 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
3886 and (maybe) sparc64.
3887 (nlink_t): Provide typedef.
3888
3889Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3890
3891 * libc/sys/win32/grp.c: New file.
3892 * libc/sys/win32/include/grp.h: New file.
3893
3894Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3895
3896 * libc/include/machine/ieeefp.h: Added whitespace to make this
3897 file easier to maintain.
3898 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
3899 depending on the value of __LITTLE_ENDIAN__.
3900 On the sh3e, define _DOUBLE_IS_32BITS.
3901
3902Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
3903
3904 * libc/sys/vr4300/syscalls.c: Added missing support
3905 routines. _raise() and getpid().
3906
3907Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
3908
3909 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
3910
3911Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
3912
3913 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
3914 and VR4300 processor.
3915 * libc/sys/vr4300: Add directory.
3916 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
3917 monitor run-time support.
3918
3919Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3920
3921 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
3922 * libc/stdlib/stdlib.tex: Don't include atol.def.
3923
3924Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3925
3926 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
3927
3928Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
3929
3930 * libc/ctype/Makefile.in: Fill in _to* dependencies.
3931
3932Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
3933
3934 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
3935 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
3936 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
3937 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
3938 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
3939
3940Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3941
3942 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
3943
3944Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3945
3946 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
3947 * libc/stdlib/atoff.c: New file.
3948 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
3949 * libc/stdlib/atoi.c (atol): Removed.
3950 * libc/stdlib/atol.c: Removed duplicate documentation.
3951
3952 * libc/include/ctype.h (_tolower, _toupper): Moved inside
3953 #ifndef _STRICT_ANSI conditional.
3954 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
3955 * libc/ctype/_tolower.c: New file.
3956 * libc/ctype/_toupper.c: New file.
3957 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
3958 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
3959 * libc/ctype/toascii.c (_toascii): Removed.
3960
3961Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
3962
3963 * libc/sys/sparc64/sys/types.h: Deleted.
3964
3965Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3966
3967 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
3968 and recognize Windows_95 systems.
3969
3970Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3971
3972 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
3973 and passed fds should be opened in text mode.
3974
3975Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
3976
3977 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
3978 in __hmap, set to binary mode by default.
3979
3980Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
3981
3982 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
3983 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
3984 vector 34.
3985
3986Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
3987
3988 * Makefile.in (install): Install all libraries found in the
3989 top level. If there's a sys/<type>/include directory,
3990 install those headers into include.
3991
3992 * libc/sys/win32/kernel.def351: Delete
3993 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
3994 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
3995 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
3996 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
3997 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
3998 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
3999 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4000 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4001
4002 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4003 * libc/sys/win32/crt0.c: Force all env names to upper case.
4004 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4005 * libc/sys/win32/*.c: Headers have moved.
4006 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4007 __vfork_child_idx is now __vfork_child_ptr.
4008
4009 * posix/execvp (execvp): Don't crash if no PATH envname.
4010
4011Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4012
4013 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4014 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4015 through the _freelist instead of through the _reclaim list.
4016 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4017 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4018 sources.
4019
4020Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4021
4022 * libc/machine/h8500/setjmp.S: New file.
4023 * libc/include/machine/setjmp.h: Updated for H8/500.
4024
4025Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4026
4027 * libc/sys/win32/syscalls.c (_open): More stracing.
4028 (_stat): Open the file in O_BINARY.
4029
4030Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4031
4032 * libc/machine/h8300/setjmp.S: New file.
4033 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4034
4035Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4036
4037 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4038 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4039 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4040 __exe_suffix. Free fd_tab after setting env variable.
4041 (spawnv,_execve): Update.
4042 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4043 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4044 (__small_vfprintf): New function.
4045 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4046 * libc/sys/win32/wait.c (cwait): Validate argument.
4047
4048 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
4049 (process_deletion_queue): Likewise.
4050
4051 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
4052
4053Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
4054
4055 * libc/sys/win32: Copyrights and gratuitous indenting.
4056
4057Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
4058
4059 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
4060 (process_deletion_queue): Likewise.
4061 (__close_all_files): New function.
4062 (_close): Only queue file deletion if really a file.
4063 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
4064 _P_APPEND_EXE.
4065 (_exit): Call __close_all_files.
4066
4067 * libc/stdlib/system.c: #include <errno.h>.
4068 (_system_r): Fix results in -DNO_EXEC case.
4069
4070 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
4071 Reorganize structure.
4072 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
4073 if argument is valid. Save directory name in DIR. malloc space
4074 for dirent struct separately.
4075 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
4076
4077 * libc/include/errno.h (ENAMETOOLONG): Define.
4078 * libc/string/strerror.c (strerror): Reword ENFILE.
4079 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
4080
4081Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
4082
4083 * libc/sys/win32/crt0.c (__progname): New global.
4084 (mainCRTStartup): Support strace=bitmask,filename.
4085 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
4086 * libc/sys/win32/syscalls.c (_write): Print parent trace message
4087 if error.
4088 (getcwd): Handle len too small. Convert '\\' to '/'.
4089 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
4090 Add prototypes for open, creat, fcntl.
4091 (O_APPEND): Change value to conform to Microsoft's value.
4092 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
4093
4094 * libc/stdlib/getopt.c: New file.
4095 * libc/stdlib/Makefile.in: Build it.
4096
4097Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
4098
4099 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
4100 Fix scanning of $PATH.
4101 * libc/posix/exec*.c: Call _execve, not execve.
4102 * libc/posix/execve.c: New file.
4103 * libc/posix/Makefile.in (OFILES): Add execve.o.
4104
4105 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
4106 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
4107 (_STRACE): If level==0, always print. Handle new bit mask scheme.
4108 * libc/sys/win32/crt0.c: Update _STRACE calls.
4109 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
4110
4111 * libc/sys/win32/smallprint.c (rn): Fix digit list.
4112
4113 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
4114 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
4115 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
4116 Print __seterrno trace message first.
4117 (_execve): Renamed from execve.
4118 (vfork): Update __strace usage.
4119 (__vfork_child_pid): Deleted.
4120 (__vfork_children, __vfork_child_idx): New globals.
4121 (_spawnvp): New function.
4122 (spawnvp, spawnv, _execve): Call _spawnvp.
4123 (init_child): Record child in __vfork_children.
4124 (__vfork_get_entry, __vfork_record_death): New functions.
4125 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
4126 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
4127 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
4128 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
4129 (children): New typedef.
4130 (__vfork_children,__vfork_child_idx): Declare.
4131 (__vfork_get_entry,__vfork_record_death): Declare.
4132 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
4133 (waitpid): Handle pid == -1.
4134 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
4135 * configure.in (i386-win32): Add -DNO_FORK.
4136 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
4137 * libc/reent/execr.c (_fork_r): Likewise.
4138 * libc/stdlib/system.c (do_system): New function.
4139 If WIN32, try to get shell path from $SH_PATH, use vfork.
4140 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
4141 otherwise return 0.
4142
4143Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
4144
4145 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
4146 * libc/sys/win32/fcntl.h: Don't include self.
4147 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
4148 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
4149 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
4150 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
4151 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
4152 Correct prototypes.
4153 * libc/sys/win32/strace.c: New file.
4154 * libc/sys/win32/smallprint.c: New file.
4155 * libc/sys/win32/crt0.c (func): Delete.
4156 (mainCRTStartup): Fix alloca usage. Set handles explictly.
4157 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
4158 * libc/sys/win32/exceptions.c: Lint.
4159 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
4160 Clean up handle usage.
4161 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
4162 (open.c): Default file type is text.
4163 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
4164 * libc/sys/win32/advapi32.def: New
4165
4166Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
4167
4168 * configure.in (posix_dir, libc_posix_lib): New variables.
4169 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
4170 (i[345]86-*-win32): Define posix_dir.
4171 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
4172 (if unix_dir): Fix typo.
4173 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
4174 scandir,seekdir,telldir}: New files.
4175 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
4176 from libc/unix.
4177 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
4178 (SUBDIRS): Add posix.
4179 (SUBLIBS): Add $(LIBC_POSIX_LIB).
4180
4181 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
4182 (NSIG): Increase to 21.
4183 * libc/include/sys/unistd.h (pid_t): Move from here,
4184 * libc/include/sys/types.h (pid_t): to here.
4185
4186 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
4187 (__ptrace): Delete.
4188 (hinfo): New members close_exec_p, child_created_p.
4189 (struct exception_list): Define.
4190 (__hmap): Redefine as pointer to table.
4191 (__parent_hmap, __child_hmap): New globals.
4192 (__set_errno, __really_exit): Declare.
4193 (__vfork_child_pid): Declare.
4194 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
4195 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
4196 (__parent_hmap, __child_hmap): New globals.
4197 (__hmap): Redefine as pointer to active map.
4198 (__get_console): New function.
4199 (mainCRTStartup): Change leading '=' in environ vars to '!'.
4200 (env __FD_TABLE__): Watch for this and initialize our fd/handle
4201 mapping table from it if defined.
4202 (argv, envp): Dump if __strace >= 4.
4203 (main): Call here.
4204 * libc/sys/win32/exceptions.c (myp): Redefine.
4205 (__syscalls_b): Delete.
4206 (__stack_trace): New function.
4207 (ehandler3): Update to use _STRACE. Print stack trace.
4208 Call __really_exit instead of exit.
4209 (init_exceptions): Delete args argc,argv. New arg mine.
4210 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
4211 FindFirstFileA, FindNextFileA, GetComputerNameA,
4212 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
4213 * libc/sys/win32/signal.c (signal): Validate arg.
4214 (alarm, sleep): Define as stubs for now.
4215 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
4216 (__syscalls_b, errno): Delete.
4217 (__vfork_child_pid, __vfork_jmp_buf): New globals.
4218 (__seterrno): Handle more errors.
4219 (__sys_printf): Renamed from _ptrace.
4220 (__really_exit): New function.
4221 (queue_file_deletion, process_deletion_queue): New functions.
4222 (__resume_parent): New function.
4223 (_unlink): Handle trying to delete open file.
4224 (__totime_t): Renamed from totime_t.
4225 (setsid, __read, __write): New functions.
4226 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
4227 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
4228 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
4229 * libc/sys/win32/console.c: Update to new definition of __hmap.
4230 * libc/sys/win32/Makefile.in: Build new files.
4231 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
4232 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
4233 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
4234 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
4235
4236Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
4237
4238 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
4239
4240Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4241
4242 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
4243 have been made to the master dtoa.c sources (from netlib.att.com)
4244 since they were integrated into newlib in early 1992. Fixes
4245 problems with storage leaks and handling of numbers with very
4246 negative exponents.
4247
4248Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4249
4250 * Makefile.in (all): set rootpre and srcrootpre before calling
4251 sub-makes.
4252
4253Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
4254
4255 * libc/sys/win32/crt0.c: Change __hmap usage.
4256 * libc/sys/win32/exceptions.c: Use _ptrace call.
4257 * libc/sys/win32/syscalls.c: Use _ptrace call.
4258 (read, write): Cope with DOS style CRLF when in TEXT mode.
4259 * libc/sys/win32/syscalls.h: Declare hinfo struct.
4260 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
4261 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
4262 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
4263 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
4264
4265Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4266
4267 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
4268
4269 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
4270 wrappers for hypot() and remainder() for BSD libm compatibility.
4271 These are public domain implementations written by me for the
4272 NetBSD libm some time ago. Note cabs() is required by ucbtest.
4273 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
4274 (fobj): Added wf_cabs.o and wf_drem.o.
4275
4276Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4277
4278 * libc/sys/h8500hms/misc.c: New file.
4279 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
4280
4281Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4282
4283 * libc/time/localtime.c (localtime): Fix problem with leap year
4284 handling. Stole algorithm from Arthur David Olson's tz code.
4285
4286Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
4287
4288 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
4289
4290 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
4291 (_exit): Use argument.
4292
4293Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
4294
4295 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
4296
4297Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
4298
4299 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
4300
4301Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4302
4303 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
4304 target_cflags.
4305
4306Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
4307
4308 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
4309 ptrace with case insensitivity
4310 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
4311 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
4312 New files.
4313
4314Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
4315
4316 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4317 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
4318 (all, install, *clean): Use new multilib support.
4319 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
4320
4321Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
4322
4323 * libc/include/sys/signal.h (__WIN32__): New.
4324
4325 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
4326
4327 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
4328 (ulp, b2d): Handle 32 bit doubles.
4329 * libc/stdlib/mprec.h: Handle 32 bit doubles.
4330 * libc/stdlib/strtod.c (_strtod_r): Ditto.
4331
4332Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
4333
4334 from medp@primag.co.uk:
4335 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
4336 dynamically allocated buffers.
4337
4338Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
4339
4340 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
4341 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
4342
4343Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4344
4345 * configure.in (powerpc): Fix previous fix.
4346
4347Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4348
4349 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
4350 directories for this target.
4351
4352Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
4353
4354 * configure.in (hppa): Add machine_dir definition.
4355 * libc/machine/hppa: New directory with PA specific implementations
4356 of the basic memory/string functions.
4357
4358Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4359
4360 * configure.in: Update current PowerPC multilib directories.
4361 Split big and little endian configurations.
4362
4363Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
4364
4365 * configure.in: Add --enable-single-float option to configure to
4366 control use of MIPS single-float directories. Default to yes.
4367
4368 * Makefile.in (all): Don't recurse into multilib directory if it
4369 does not exist.
4370
4371Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4372
4373 * libc/sys/sh/syscalls.c: Fix typo.
4374
4375Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
4376
4377 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
4378 Pass down DLLTOOL.
4379 * libc/include/process.h: Define WAIT_CHILD.
4380 * libc/include/types.h: Get sizes right for win32.
4381 * configure.in (i386-*-pe): Becomes i386-win32.
4382 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4383 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
4384 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
4385 is defined.
4386
4387Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
4388
4389 * configure.in (i[345]86-*-pe): New target (NT).
4390 * host/any: DLLTOOL new.
4391 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
4392 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
4393 WIN32 (just enough to cross host the comp-tools).
4394
4395Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
4396
4397 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
4398 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
4399
4400Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
4401
4402 * libc/include/machine/ieeefp.h (arm): Change to always be
4403 __IEEE_BIG_ENDIAN (even on little endian ARM's).
4404
4405Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
4406
4407 * libc/sys/crt0.S: Initialze sp, and call exit after main.
4408 * libc/sys/syscalls.c (abort): New.
4409 * configure.in (arm): Define ABORT_PROVIDED.
4410
4411Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4412
4413 * configure.in (powerpc): Define multidirs.
4414
4415Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
4416
4417 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
4418
4419Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
4420
4421 * configure.in (sparclite): Delete target_cflags. Define multidirs.
4422
4423Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
4424
4425 * configure.in, libc/include/machine/ieeefp.h: Modified
4426 for arm:
4427 libc/machine/arm/*, libc/sys/arm/*: New
4428
4429Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4430
4431 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
4432 __powerpc__ when determining endianness.
4433
4434Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4435
4436 * configure.in (m68*): Add multidir for the m68332.
4437
4438 * host/any (CC): Fix typo in last change.
4439
4440Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
4441
4442 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
4443 when determining endianness.
4444 * libc/include/machine/ieeefp.h: Ditto.
4445 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
4446 operands.
4447
4448Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
4449
4450 * libc/include/errno.h (ENOTEMPTY): Define.
4451
4452Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4453
4454 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
4455 target_cflags.
4456
4457 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
4458 and umultiply.o.
4459
4460 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
4461 instead of only when open succeeds. ANSI requires that multiple
4462 calls to tmpnam() result in different files.
4463
4464 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
4465 objects pulled in from /lib/libc.a that must be renamed before
4466 being pulled into newlib. /lib/libc.a's div.o conflicted with
4467 newlib's file with the same name.
4468
4469 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
4470
4471 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
4472 the build tree will only be used if the executables are present
4473 (instead of just the Makefiles).
4474
4475 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
4476 wcstombs): Define.
4477 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
4478 versions of these functions that I orignally wrote for the
4479 NetBSD C library.
4480 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
4481 versions I wrote for NetBSD.
4482
4483Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
4484
4485 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
4486 * libc/sys/sparclite/crt0.s: ditto.
4487
4488Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
4489
4490 * configure.in: Add soft-float for proelf.
4491
4492Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
4493
4494 * libc/stdlib/mprec.h (Bcopy): Copy the right number
4495 of bytes.
4496
4497Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
4498
4499 * Makefile.in (all): Depend on `force'.
4500 * configure.in (syscall_dir): Renamed from fake_sys_dir.
4501 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
4502 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
4503 * libc/Makefile.in: Likewise.
4504 * libc/include/reent.h: Update syscall references.
4505 (_fcntl_r): Add prototype.
4506 * libc/syscalls/*.c #include <reent.h>.
4507 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
4508
4509Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
4510
4511 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
4512 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
4513 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
4514 (time.h, sys/types.h): Always include (even if MSDOS).
4515 (stat): Fix prototype.
4516
4517Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
4518
4519 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
4520
4521Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4522
4523 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
4524
4525Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
4526
4527 * libc/include/regdef.h: New file.
4528 * libc/machine/mips/machine/regdef.h: New file.
4529
4530Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
4531
4532 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
4533
4534Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
4535
4536 * libc/sys/sh/crt0.S: Pass main's return to exit.
4537 * libc/sys/sh/trap.S: Put errno in the right place.
4538
4539Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4540
4541 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
4542 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
4543 * libm/math/ef_rem_pio2.c: Likewise.
4544 * libm/math/e_log10.c: Remove unused static one.
4545 * libm/math/ef_log10.c: Likewise.
4546 * libm/math/s_frexp.c: Likewise.
4547 * libm/math/sf_frexp.c: Likewise.
4548
4549Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
4550
4551 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
4552 longjmp.S: Upgraded.
4553 * libc/sys/go32/sys/setjmp.h: Upgraded.
4554 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
4555
4556Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4557
4558 * configure.in: Add many entries to multidirs for mips targets.
4559
4560Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4561
4562 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
4563 5.2 which fixes bug where jn(-1,x) is three times larger than
4564 the actual answer.
4565 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
4566
4567Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
4568
4569 * libc/sys/w65/sys/syscalls.h: New file
4570 * libc/include/machine/ieeefp.h: W65 support.
4571 * libc/include/sys/config.h: Ditto.
4572 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
4573 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
4574 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
4575
4576Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
4577
4578 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
4579
4580Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
4581
4582 * Makefile.in, configure.in: Remove any references to the old
4583 "stub" dir.
4584
4585Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4586
4587 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
4588 uses ... in prototype.
4589
4590
4591Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
4592
4593 * libc/sys/a29khif/sys/libconfig.h: Remove.
4594 * libc/sys/go32/sys/libconfig.h: Remove.
4595 * libc/sys/sun4/sys/libconfig.h: Remove.
4596 * libc/sys/sysvi386/sys/libconfig.h: Remove.
4597 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
4598 * libc/sys/sparc64/sys/libconfig.h: Remove.
4599
4600 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
4601 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
4602 * libc/include/math.h: Change all uses of _FLOAT_RET and
4603 _FLOAT_ARG to float.
4604 * libm/test/math.c: Likewise.
4605 * testsuite/libm.sac/math.c: Likewise.
4606 * testsuite/libm.sac/working/math.c: Likewise.
4607
4608Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4609
4610 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
4611 gcc calls gas with endian option.
4612 * configure.in (sh): Build little endian version too.
4613
4614Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4615
4616 * configure.in: Configure big and little endian versions for MIPS
4617 targets.
4618
4619Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
4620
4621 * libc/include/limits.h: Deleted.
4622 * libc/include/machine/limits.h: Deleted.
4623
4624Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
4625
4626 * ChangeLog: Remove stub directory. This has all been rewritten
4627 and moved to devo/libgloss.
4628
4629Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
4630
4631 * Makefile.in (dvi): Add to info target, use $@ in sub make.
4632 (docs): Merge into info target.
4633 * libm/Makefile.in (dvi): Add $(srcdir).
4634 * libm/math/Makefile.in (chobjs): Remove underscores from file
4635 names. Texinfo doesn't like them.
4636 (wacos.def, ...): Add explicit targets for all .def files.
4637 * libm/math/math.tex: Remove underscores from @include file names.
4638 * doc/Makefile.in (dvi): Add dummy target.
4639 * testsuite/Makefile.in (dvi): Add dummy target.
4640
4641Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
4642
4643 * Makefile.in (VERSION): Define. For net newlib releases.
4644
4645Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
4646
4647 * README: New file.
4648
4649Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4650
4651 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
4652
4653Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4654
4655 * libc/stdlib/setenv.c (_findenv): Declare.
4656
4657 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
4658 fcntl to not use _EXFUN, and change string parameters to open and
4659 creat to be ``const char *''.
4660 * libc/sys/sparc64/sys/fcntl.h: Likewise.
4661 * libc/sys/sparc64/creat.c (creat): Make PATH const.
4662 * libc/syscalls/sysopen.c: Include <fcntl.h>.
4663 (open) Make _FILE const.
4664 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
4665 (_creat): Make PATH const.
4666 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
4667 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
4668 * libc/sys/m88kbug/syscalls.c (open): Likewise.
4669 * libc/sys/sh/syscalls.c (_open): Likewise.
4670 * stub/shared/glue.c (open): Make BUF const.
4671 * stub/ex93x/syscalls.c (open): Make FILENAME const.
4672
4673Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
4674
4675 * libc/include/errno.h: Add ENMFILE
4676 * libc/include/sys/config.h: Support Z8000.
4677 * libc/include/sys/signal.h: New signals for go32.
4678 * libc/machine/h8500/psi.S (__addpsir0r0): New function
4679 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
4680 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
4681 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
4682 size is variable, depending upon CHUNK_POWER.
4683 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
4684
4685Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
4686
4687 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
4688
4689Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4690
4691 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
4692
4693Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4694
4695 * configure.in: Change i[34]86 to i[345]86.
4696
4697 * libc/include/math.h: Don't define HUGE_VAL if it is already
4698 defined.
4699
4700Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4701
4702 * testsuite/libm.sac/test_erfc.c: Correct some result values.
4703 * testsuite/libm.sac/test_gammaf.c: Likewise.
4704 * testsuite/libm.sac/test_sin.c: Likewise.
4705 * testsuite/libm.sac/test_tanh.c: Likewise.
4706
4707Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4708
4709 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
4710 already set. Define typedefs __int32_t and __uint32_t.
4711 * libc/include/math.h: Include <machine/ieeefp.h>.
4712 (union __dmath): Use __uint32_t.
4713 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
4714 instead of int and unsigned int.
4715
4716Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4717
4718 Replace the math library with the SunPRO fdlibm package.
4719 * libm/math: Completely changed all files.
4720 * libm/ieeefp: Remove contents and directory.
4721 * libm/Makefile.in (LIBM_FP_LIB): Remove.
4722 (SUBDIRS): Just set to math/lib.a.
4723 * libm/libm.texinfo: Updated for new library.
4724 * libc/include/math.h: Extensive changes for new math library.
4725 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
4726 from _FLOAT_ARG to float.
4727 (maxpowtwo, maxpowtwof): Don't declare.
4728 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
4729 (libm_fp_lib): Removed.
4730 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
4731 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
4732 argument to ${RUNTEST}.
4733 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
4734 (.c.o): New rule.
4735 (RUNTESTFLAGS): Set CC and CFLAGS.
4736 (TESTS): Remove test_log2 and test_log2f.
4737 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
4738 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
4739 _FLOAT_ARG, for single precision argument type.
4740 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
4741 expected failure. Close the input pipe.
4742 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
4743 Correct misspelling of inaccurate.
4744 (test_mok): Use ``inaccurate'', not ``wrong''.
4745 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
4746 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
4747 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
4748 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
4749 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
4750 test_yn.c): Correct many result values. Many are still wrong.
4751
4752 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
4753 just copy the string.
4754 (_gcvt): Always return the buffer.
4755
4756Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4757
4758 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
4759
4760Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
4761
4762 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
4763 structure.
4764 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
4765 (_reclaim_reent): declare new entry point.
4766 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
4767 functions.
4768
4769 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
4770 ever allocated, so that we can later reclaim them all.
4771 (pow5mult): make reentrant.
4772
4773 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
4774 so that when given NULL as a buffer, return a pointer to static
4775 space in the rent structure. This is not documented behaviour;
4776 it's only to support ecvt and fcvt, which aren't ANSI anyway.
4777 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
4778 therefore become reentrant).
4779
4780 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
4781
4782Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4783
4784 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
4785
4786Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
4787
4788 * Makefile.in: Make link to libg.a after libc.a; this is needed
4789 for the testsuites to build executables when everything comes
4790 from the tree.
4791
4792Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
4793
4794 * libc/Makefile.in: Add a VERSION variable so we can keep track.
4795 * libm/Makefile.in: Add a VERSION variable so we can keep track.
4796
4797Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
4798
4799 * libc/include/stdio.h: Use __VALIST, not va_list.
4800
4801Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
4802
4803 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
4804 testsuite/libm.sac/execute.exp:
4805 Replace error proc calls with perror calls.
4806
4807Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
4808
4809 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
4810 * libc/include/time.h: #define NULL as 0L.
4811
4812Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
4813
4814 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
4815 care of it.
4816
4817Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4818
4819 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
4820 not __unix__.
4821
4822Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
4823
4824 * configure.in (TARGET_CFLAGS): Set -O2 as default.
4825 (z8k-*-*): Use syscalls fake sys dir.
4826 * libc/sys/z8k/glue.c: Rename syscalls.
4827 * libc/sys/go32/Makefile.in: Use new routines.
4828 * libc/machine/Makefile.in: Fix typo in ln stuff.
4829
4830Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4831
4832 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
4833 * libc/Makefile.in (crt0.o): Likewise.
4834 * libc/machine/Makefile.in (lib.a): Likewise.
4835 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
4836
4837 All Makefile.in files: Added mostlyclean, realclean and distclean
4838 targets.
4839
4840 * Makefile.in: Don't bother to unexport XTRAFLAGS or
4841 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
4842 the top level Makefile.
4843
4844Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
4845
4846 * libc/sys/sparc64/sys/stat.h: New file.
4847 * libc/sys/sparc64/sys/time.h: New file.
4848 * libc/sys/sparc64/sys/types.h: New file.
4849
4850Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
4851
4852 * stub/ex93x/crt0.s (start): Add code to clear bss.
4853
4854Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
4855
4856 * libc/include/sys/types.h (time_t): Properly protect inside
4857 #ifndef __time_t_defined.
4858
4859 * libc/stdio/fileno.c: New file.
4860 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
4861 (fileno.o): Add dependency.
4862 * libc/include/stdio.h (__sgetc): Rename never to _never.
4863 (fileno macro): Disable, needs to do CHECK_INIT first.
4864
4865Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
4866
4867 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
4868 goal.
4869
4870 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
4871 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
4872 runtest.
4873 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
4874 runtest.
4875
4876Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
4877
4878 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
4879 of the various constants.
4880
4881Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
4882
4883 * libc/include/math.h: #ifndef __math_68881 around things which
4884 conflict with the (gcc-provided) inline functions in
4885 gcc/ginclude/math-68881.h.
4886
4887Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
4888
4889 * libc/include/_syslist.h (_gettimeofday): Define.
4890 (_times): Ditto.
4891 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
4892 (struct tms, timeval, timezone): Declare.
4893 (_gettimeofday_r, _times_r): Declare.
4894 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
4895 #ifdef _CLOCK_T_ surrounding definition of clock_t.
4896 (time_t): Add multiple definition protection, __time_t_defined.
4897 * libc/include/sys/time.h: Don't #include <time.h>.
4898 Always define struct timezone (remove #ifndef _TIME_H_).
4899 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
4900 #ifdef _CLOCK_T_ surrounding definition of clock_t.
4901 * libc/reent/Makefile.in (OFILES): Add timer.o.
4902 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
4903 * libc/reent/timer.c: New file.
4904 * libc/time/clock.c: #include <reent.h>.
4905 (clock): Call _times_r instead of times.
4906 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
4907 HAVE_GET_TIME_OF_DAY.
4908 Add comment regarding supporting OS routine(s) required (for docs).
4909 #include <reent.h>.
4910 (time): Call _gettimeofday_r instead of gettimeofday.
4911 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
4912 * libc/time/ctime.c: Ditto.
4913 * libc/time/strftime.c: Ditto.
4914 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
4915 (TEMPLATE_SFILES_R): Define here. Also define times.
4916 Add times_r.o/times.S dependence.
4917 (time2.c, junk.c): Deleted.
4918 * libc/sys/sparc64/time2.c: Deleted.
4919 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
4920
4921 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
4922 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
4923 * libc/sys/sparc64/junk.c: Deleted.
4924
4925Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
4926
4927 * libc/sys/sparc64/Makefile.in: Add times syscall.
4928 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
4929 be used with and without it. Add comment clarifying Medium/Anywhere
4930 model requirements.
4931 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
4932 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
4933 even if obsolete.
4934
4935Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
4936
4937 * configure.in (target_cflags): Move init.
4938 (sparc64-*-*): Define HAVE_BLKSIZE.
4939
4940Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
4941
4942 * libc/include/sys/_types.h: New file.
4943 * libc/include/reent.h: #include it.
4944 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
4945 MISSING_SYSCALL_NAMES.
4946 Sort syscalls.
4947 * libc/include/_syslist.h: Remove _raise.
4948 * libc/reent/signalr.c: New file.
4949 * libc/reent/Makefile.in: Compile it.
4950 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
4951 Add doc for raise and _raise_r.
4952 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
4953 (raise): Call _raise_r.
4954 (_raise_r): Call _getpid_r and _kill_r.
4955 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
4956 (abort): Loop forever calling raise and _exit.
4957
4958Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4959
4960 * configure.in: Remove extraneous echo.
4961
4962Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
4963
4964 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
4965 collision with unistd.h, and fix for svr4.
4966
4967Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
4968
4969 * libc/stdio/local.h (_llicvt): Declare.
4970 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
4971 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
4972 (_llicvt): Define.
4973 (_sicvt): Fix function header (`value' is short).
4974 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
4975 Add printing of long long's support.
4976 Add printing of 8 byte pointer support.
4977
4978Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
4979
4980 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
4981 stat, chmod): New hooks.
4982 (sbrk): Abort if stack and heap collide.
4983 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
4984 shortcut when given small args.
4985 * libc/machine/sh/setjmp.s: Rewritten.
4986 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
4987 of cmp/str instruction.
4988
4989Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
4990
4991 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
4992 and machine_dir powerpc.
4993 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
4994 Add cases for __powerpc__.
4995 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
4996 New files.
4997
4998 * libc/include/stdio.h (_iprintf_r): Declare correctly.
4999
5000Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5001
5002 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5003 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5004
5005Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5006
5007 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5008 (print_e): More comments to describe args, etc.
5009 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5010 trailing blanks.
5011 (_gcvt): Remove locals decpt, sign, end, p, done.
5012 More comments for print_e invocation.
5013 Pass "type" to print_e as is (g/G).
5014
5015Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5016
5017 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5018 stock m68000.
5019
5020Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5021
5022 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5023 works with any sized pointer, including ones bigger than ints and
5024 longs.
5025
5026Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5027
5028 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5029
5030Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5031
5032 * libc/include/stdlib.h (_calloc_r): Add prototype.
5033 * libc/machine/h8500/negsi2.c: New file.
5034 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5035 large unsigned numbers.
5036 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5037 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5038 works when sizeof(size_t) != sizeof(char *).
5039 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5040 get play area
5041 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5042
5043Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5044
5045 * libc/include/assert.h (assert): Handle -traditional.
5046
5047Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
5048
5049 * Makefile.in: added ; after every "fi" and "done" that wasn't at
5050 the end of a line (ie. anything before a backslash continuation)
5051 so that bash handles them.
5052
5053Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5054
5055 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
5056 stat to lstat
5057
5058Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
5059
5060 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
5061 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
5062 libc/machine/sh/udivsi3.s: Use new calling convention.
5063
5064Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
5065
5066 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
5067 chmod, access, chdir, chown by making _path const. Also fix _amode
5068 param of access.
5069
5070Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
5071
5072 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
5073 _khif_tmpnam, because it doesn't comply with ANSI but may be
5074 useful anyway. Real tmpnam was already in libc/stdio, and was
5075 colliding with this one (pr 2176.)
5076 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
5077 the wrong idea anyhow.
5078
5079Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
5080
5081 * configure.in: Remove h8300h, we have multilib now.
5082
5083Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
5084
5085 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
5086 functions, to get preference over the ones in libiberty (since we
5087 provide correct declarations in <string.h>.
5088 * libc/string/Makefile.in: add support for strncasecmp,
5089 strcasecmp.
5090
5091Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
5092
5093 * Change netware config not to look for cpu explicitly.
5094
5095Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
5096
5097 * libc/sys/sparc64/{creat.c,junk.c}: New files.
5098 * libc/sys/sparc64/Makefile.in: Add dependencies.
5099
5100Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
5101
5102 * configure.in: Clean up v9 a bit, new "os" aoutv8.
5103
5104Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
5105
5106 * libc/include/sys/reent.h: make structure smaller by allocating
5107 some stuff when needed.
5108 * libc/signal/signal.c: allocate as needed
5109 * libc/stdio/findfp.c,stdio/local.h: ditto
5110 * libc/stdlib/mprec.c: ditto
5111
5112 * libc/time/localtime.c: don't return a dangling stack ptr.
5113
5114Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
5115
5116 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
5117
5118Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5119
5120 * libc/include/stdio.h (__sputc): comment out static inline which
5121 confuses coff toolchains.
5122
5123Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
5124
5125 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
5126 _write.s, getpid.c, kill.c, read.s}:
5127 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
5128 through the syscalls directory.
5129
5130Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
5131
5132 * configure.in: fixed double quote gotcha.
5133
5134Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
5135
5136 * stub/ex931: stub library for sparclite board.
5137 * stub/idp: Renamed from mc68ec. Added contructor table
5138 stuff to linker script.
5139 * stub/mvme135: Renamed from m68kmvme. Added contructor table
5140 stuff to linker script.
5141
5142Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5143
5144 * configure.in: Configure testsuites only if they exist.
5145
5146Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5147
5148 * configure.in: Don't set machine_dir for i386 until there is
5149 something in libc/machine/i386 to compile. For i[34]86-*-netware*
5150 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
5151 CLOCK_PROVIDED and MALLOC_PROVIDED.
5152
5153 * libc/sys/netware: New directory. Contains simplistic and
5154 probably incorrect stubs for NetWare. Should be enough to load
5155 the library.
5156 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
5157 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
5158 stub files.
5159
5160 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
5161 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
5162 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
5163 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
5164
5165Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
5166
5167 * testsuite/Makefile.in: add "docs" dummy target for consistency
5168 with rest of newlib; turn "info" and "install-info" into dummy
5169 targets, since they wouldn't have worked. (Depended on
5170 nonexistent "doc" subdir.)
5171
5172Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
5173
5174 * configure.in: handle mips* instead of mips
5175
5176Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
5177
5178 * libc/include/sys/dirent.h: New file. If it is not overridden by
5179 a version of libc/sys/*/sys/dirent.h, it includes the next
5180 <dirent.h> file in case there is one lurking somewhere.
5181
5182Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5183
5184 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
5185 compliance, namely: Accept a minus sign. Consider a single 0 with
5186 a radix of 0 as being a conversion. Determine overflow correctly.
5187 If an overflow occurs, set *ptr to the end of the number, not the
5188 middle.
5189 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
5190
5191Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
5192
5193 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
5194
5195Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
5196
5197 * Makefile.in (INSTALL): Use $srcrootpre.
5198 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
5199 can't handle it.
5200 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
5201 it.
5202 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
5203 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
5204 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
5205 * libm/math/Makefile.in (matherr.o): Ditto.
5206
5207Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5208
5209 * configure.in: Build multidirs for z8k.
5210 * libc/include/stdlib.h (_strtoul_r): add prototype.
5211 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
5212 * libc/include/machine/setjmp.h: Add for z8k.
5213 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
5214 * libc/sys/z8ksim/glue.c: tidy up.
5215
5216Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
5217
5218 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
5219 New files. Requires execve system call.
5220 * libc/unix/Makefile.in: Use them.
5221 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
5222 Deleted, moved to libc/unix.
5223 * libc/sys/sparc64/Makefile.in: Remove them.
5224
5225Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
5226
5227 * libc/sys/sparc64/{template.S template_r.S}: New files.
5228 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
5229 from templates.
5230 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
5231 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
5232 umask.S unlink.S wait4.S write.S}: Removed, now built from
5233 templates.
5234
5235Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
5236
5237 * libc/time/time.c: #include <_ansi.h>.
5238
5239Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
5240
5241 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
5242
5243Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5244
5245 * configure.in: match m8* rather than m88k so that m88110 is
5246 recognized as well.
5247
5248Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
5249
5250 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
5251 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
5252 misc.c: New file.
5253
5254 * configure.in: Add multilib support to h8300.
5255
5256Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
5257
5258 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
5259 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
5260 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
5261
5262Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5263
5264 * configure.in: Corrected multidirs for sparc target.
5265
5266Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5267
5268 Support for building newlib multiple times with different
5269 compilation flags.
5270 * configure.in: Only configure doc at top level. Set multidirs
5271 when appropriate for target, unless not at top level. If
5272 multidirs is set, independently configure each subdirectory.
5273 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
5274 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
5275 automagically set by configure.in.
5276 (all): If MULTIDIRS is set, build multiple copies of libraries.
5277 (install): If MULTIDIRS is set, install multiple copies of
5278 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
5279 MULTISUBDIR is set, don't bother to install header files.
5280 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
5281 ${srcrootpre}.
5282 * stub/configure.in: Set MULTISUBDIR appropriately.
5283 * stub/Makefile.in (install): Install in
5284 $(tooldir)/lib/$(MULTISUBDIR).
5285 * All Makefile.in files: Define SRCTOP as well as TOP.
5286
5287Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
5288
5289 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
5290 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
5291
5292Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
5293
5294 * libc/sys/h8300hms/exit.c (_exit): New function.
5295
5296Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5297
5298 * configure.in: recognize m88110.
5299
5300Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5301
5302 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
5303 prototype main and call with args.
5304
5305Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
5306
5307 First real try at system traps for m88k-bug.
5308 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
5309 to real trap calls.
5310 * libc/sys/m88kbug/sys/systraps.h: new file.
5311
5312Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5313
5314 Patches to fix info building when target does not use sys
5315 directory.
5316 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
5317 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
5318 libc/sys.tex.
5319 * libc/sys/Makefile.in (doc): do nothing.
5320
5321Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5322
5323 * libc/Makefile.in (CRT0): new macro.
5324 (all): depend on $(CRT0) rather than crt0.o.
5325
5326 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
5327 do not default crt0, instead, set crt0 and crt0_dir based on
5328 sys_dir and stub_dir.
5329
5330 * Makefile.in (CRT0_DIR): new macro.
5331 (all): depend on $(CRT0) rather than crt0.o which may not exist.
5332 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
5333 $(CRT0).
5334 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
5335
5336Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5337
5338 * testsuite/lib/libm.exp:
5339 added code to support compiling and linking of tests for
5340 libm.sac (paranoia to be added next) and processing the
5341 pass or failure of the tests.
5342
5343 * testsuite/config/unix-libm.exp:
5344 platform specific proc's for dealing with compiler, linker
5345 and the way we execute and process the test results.
5346
5347 * testsuite/libm.sac/execute.exp:
5348 generic framework for the sac tests. the config and lib
5349 expect code for specific platforms tie it all together.
5350
5351 * testsuite/libm.sac/test_is.c:
5352 changed the output of the test to be consistant with the
5353 other tests. parsing of pass nad fail messages is now fixed.
5354
5355Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
5356
5357 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
5358 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
5359 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
5360 #ifdef __cplusplus, surround by extern ""C { ... }.
5361 * libc/include/assert.h: Do *not* protect assert.h against
5362 multiple inclusion! Also, #undef it before #define, to allow
5363 redefinition.
5364 * libc/include/stdio.h (getlogin, cuserid): Removed. These
5365 should be only in unistd.h.
5366
5367 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
5368 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
5369 ... }.
5370
5371Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
5372
5373 * libc/machine/sparc/Makefile.in: Must create a library, even
5374 if empty.
5375
5376Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5377
5378 * configure.in: set machine_dir for m88k. edit crt0 definition
5379 into makefiles.
5380
5381 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
5382
5383 * libc/Makefile.in (all): also build crt0.o.
5384
5385 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
5386 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
5387 to remove CRT0.
5388
5389 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
5390 (all): reworked to build in place.
5391 (clean): remove lib.a
5392 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
5393
5394 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
5395 (_start): key off edata rather than _start_bss.
5396
5397Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
5398
5399 * libc/include/sys/unistd.h, libc/include/reent.h,
5400 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
5401
5402Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5403
5404 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
5405
5406 * Makefile.in (libc.a): break into two rules, one for libc.a and
5407 one for libc/libc.a. Force subdirs current before rebuilding
5408 library.
5409 (libm.a): break into two rules, one for libm.a and one for
5410 libm/libm.a. Force subdirs current before rebuilding library.
5411
5412 * libc/Makefile.in (SUBLIBS): fix typo.
5413
5414 * libc/sys/Makefile.in (all): force descent into subdirs, then
5415 rebuild library iff out of of date.
5416
5417Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
5418
5419 Rework so that library is built and then finished rather than
5420 being built on each invocation of make.
5421
5422 * host/any (machine_dir, sys_dir, signal_dir): these are not
5423 shared and have been moved to their associated Makefile.in's.
5424 (AR_FLAGS): switch to qc which is faster.
5425 * configure.in: no longer assign machine_dir for m88k. set
5426 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
5427 stub_dir set, then add to configdirs. add comment about silly
5428 configuration.
5429 (configdirs): drop stub. It will be added only
5430 when needed.
5431 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
5432 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
5433 stub_lib, crt0): new variables for tailoring lower level
5434 makefiles. Assign accordingly and edit into makefiles.
5435 * libm/Makefile.in: updated copyright.
5436 (TARGETLIB): removed.
5437 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
5438 (SUBDIRS): removed TARGETDEP_DIRS.
5439 (LIBM_FP_LIB, SUBLIBS): new macros.
5440 (all): reworked.
5441 (force): new target to force rebuilds.
5442 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5443 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
5444 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
5445 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
5446 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
5447 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
5448 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
5449 stub/m68kmvme/Makefile.in: updated copyright.
5450 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
5451 (all): reworked. made this the default rule.
5452 (clean): also remove lib.a.
5453 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5454 * stub/Makefile.in: updated copyright.
5455 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
5456 (stub_lib): new macro.
5457 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
5458 RANLIB.
5459 (all): reworked.
5460 (clean, install): assume stub_dir exists.
5461 (Makefile): depend on configure.in. call $(SHELL) rather than
5462 sh. drop redundant ./
5463 * stub/configure.in (stublib): new macro, assign it, edit it into
5464 makefiles.
5465 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
5466 updated copyright.
5467 (all): reworked.
5468 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5469 * libc/Makefile.in (TARGETCRT0): removed.
5470 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
5471 TARGETCRT0.
5472 (SUBDIRS): drop TARGETDEP_DIRS.
5473 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
5474 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
5475 (force): new target to force rebuilds.
5476 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
5477 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
5478 removed.
5479 (clean): assume sys_dir always exists.
5480 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
5481 drop redundant ./
5482 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
5483 libc/locale/Makefile.in, libc/machine/Makefile.in,
5484 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
5485 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
5486 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
5487 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
5488 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
5489 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
5490 libc/signal/Makefile.in, libc/stdio/Makefile.in,
5491 libc/stdlib/Makefile.in, libc/string/Makefile.in,
5492 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
5493 libc/time/Makefile.in, libc/unix/Makefile.in,
5494 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
5495 (TARGETLIB): removed.
5496 (all): reworked.
5497 (clean): also remove lib.a.
5498 (Makefile): call $(SHELL) rather than sh. drop redundant ./
5499 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
5500 new macros.
5501 (SUBDIRS): moved to follow frag inclusion, change stub to
5502 stub_dir.
5503 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
5504 are now set in the libc Makefile.
5505 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
5506 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
5507 TARGETCRT0.
5508 (force): new target to force rebuilds.
5509 * stub/configure.in: determine and set stub_lib for for Makefile.
5510
5511Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
5512
5513 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
5514 crt0.s renamed to crt0.S.
5515 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
5516
5517 * libc/machine/h8300/Makefile.in: Make `all' the default target.
5518 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
5519 h8300h.
5520 * libc/machine/h8300/defines.h: Add macros to handle pointers for
5521 h8300 (16 bits) and h8300h (32 bits).
5522 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
5523 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
5524
5525Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
5526
5527 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
5528 implementation of setjmp and longjmp for the m88k.
5529 * libc/include/machine/setjmp.h: Added __m88000__ case.
5530
5531Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
5532
5533 * configure.in: Recognize h8300h as variant of h8300.
5534
5535Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5536
5537 * libc/include/sys/unistd.h (read, write): get prototypes right.
5538 (sbrk): New prototype.
5539 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
5540 * libc/stdio/local.h: Include unistd.h.
5541 * libc/machine/h8300/syscalls.c: Names have changed.
5542
5543Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
5544
5545 * configure.in: add sys_dir assignment for m88k-bug.
5546
5547Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
5548
5549 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
5550 a.out or elf.
5551 * libc/sys/sparc64: all *.S files: Use new macros.
5552 * libc/sys/sparc64/isatty.c: New file.
5553 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
5554 functions beyond what newlib provides.
5555
5556Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
5557
5558 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
5559 svr4.
5560
5561Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
5562
5563 * libc/include/machine/ieeefp.h: Add support for h8/300h.
5564
5565Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
5566
5567 * configure.in: add m88k.
5568 * libc/include/machine/ieeefp.h: add case for m88k. Also add
5569 sanity check so no one else need ever chase what I did to find
5570 this.
5571
5572 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
5573
5574Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
5575
5576 * doc/makedoc.c: Include <ctype.h>.
5577
5578Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
5579
5580 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5581 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5582 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
5583
5584 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
5585
5586Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
5587
5588 * libc/include/errno.h (ENOSYS): Added.
5589
5590 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
5591
5592Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
5593
5594 * libc/stdio/fflush.c (fflush): Check for reent struct
5595 initialization.
5596 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
5597
5598Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
5599
5600 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
5601 out of dtoa.c so it doesn't pollute the namespace.
5602 * libc/include/_syslist.h: new file -- mappings from _function to
5603 function, for systems where we can't win (by default, all of them,
5604 until we start updating system calls.)
5605 * libc/syscalls: new directory -- stubs for exporting _function
5606 names as unmodified function names.
5607 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
5608 _syslist.h on all platforms by default, but put hooks in for
5609 fake_sys_dir so we can include it when we've renamed the system
5610 calls.
5611 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
5612 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
5613 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
5614 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
5615 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
5616 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
5617 non ANSI functions to call _function.
5618
5619Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
5620
5621 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
5622 when base 16 is specified. Don't accept non-digits if radix > 10.
5623
5624Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
5625
5626 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
5627
5628Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
5629
5630 * libc/include/sys/stat.h: Surround text after #endif with
5631 comments.
5632
5633Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
5634
5635 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
5636 _malloc_r, _realloc_r, and free_r call the corresponding
5637 non-reentrant functions.
5638
5639 * libm/math/modf.c (modf): We now take the address of ipart, so
5640 don't make it a register variable.
5641
5642Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
5643
5644 * libm/math/*: Rename all xxx_r fns to _xxx_r.
5645
5646Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
5647
5648 * libc/libc.texinfo and embedded docn throughout: formatting
5649 improvements, minor rephrasing for clarity, and improved
5650 reentrancy docn.
5651
5652Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5653
5654 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
5655
5656 * libc/stdio/cvt.c (_licvt): Print the right value on machines
5657 where sizeof(int) != sizeof(long).
5658
5659Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
5660
5661 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
5662 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
5663 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
5664 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
5665 libm/math/matherr.c: changes for better docn formatting (info).
5666
5667 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
5668 libc/reent/reent.tex, libc/signal/signal.tex,
5669 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
5670 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
5671 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
5672 makeinfo node defaulting to get better Info file node structure.
5673 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
5674 Also include a few formerly missing sections (subroutines).
5675
5676 * doc/doc.str: delete fossil expansion for "func"
5677
5678 * default.menu, no-signal.menu: delete.
5679
5680 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
5681 method used to adjust doc for missing "signals" chapter when
5682 signal_dir is empty.
5683
5684Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5685
5686 * configure.in: added testsuite/libm.sac
5687
5688Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
5689
5690 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
5691 code model).
5692
5693Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
5694
5695 * libm/Makefile.in: Use $(MAKE) rather than make, and define
5696 MAKEOVERRIDES to be empty.
5697
5698Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
5699
5700 * configure.in: Don't build mips-*-* with -msoft-float, since that
5701 makes it incompatible with hard floating point.
5702
5703Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5704
5705 * Makefile.in: added recursive 'make check'
5706
5707Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
5708
5709 * configure.in: added ./testsuite ./testsuite/libm.paranoia
5710 * ./testsuite/Makefile.in: created
5711 * ./testsuite/libm.paranoia: paranoia tests added
5712
5713Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
5714
5715 * configure.in: For mips-*-* set machine_dir to mips.
5716
5717 * libc/machine/mips: New directory.
5718 * libc/machine/mips/Makefile.in: New file.
5719 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
5720 setjmp and longjmp.
5721 * libc/include/machine/setjmp.h: Added __mips__ case.
5722
5723 * libc/machine/lmips: Removed unused and useless directory.
5724
5725Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
5726
5727 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
5728
5729Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
5730
5731 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
5732 start up).
5733
5734Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
5735
5736 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
5737 SETJMP_H.
5738
5739Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
5740
5741 * libm/test/convert.c: structure member errno -> errno_val.
5742 Must include <errno.h> to use errno, it's a macro now.
5743 * libm/test/math.c: Ditto.
5744 * libm/test/math2.c: Include errno.h.
5745 * libm/test/string.c: Ditto.
5746 * libm/test/test.h: structure member errno -> errno_val.
5747 Remove extern int errno decl.
5748
5749Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
5750
5751 * libc/stdio/Makefile.in: Added dependencies on local header
5752 files.
5753 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
5754 files.
5755
5756Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
5757
5758 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
5759
5760Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
5761
5762 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
5763 Initialize _data.
5764
5765 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
5766 * libc/stdio/local.h: Add prototype for _licvt.
5767
5768 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
5769 instead of malloc,reealloc.
5770
5771 * libc/stdlib/local.h: New file.
5772 * libc/stdlib/efgcvt.c: #include local.h.
5773 (gcvt): Fix call to _gcvt.
5774 * libc/stdlib/ecvtbuf.c: #include local.h.
5775
5776 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
5777 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
5778 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
5779
5780 * libc/stdlib/atexit.c: moved global data to struct _reent.
5781 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
5782
5783 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
5784
5785Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
5786
5787 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
5788 here from ../reent.h.
5789
5790Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
5791
5792 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
5793 should be provided in both libc.a and libm.a.
5794 (libc.a): Depend on targ-include and libm.a. Copy
5795 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
5796 (libm.a): Depend on targ-include.
5797 * configure.in (subdirs): Removed libc/math.
5798
5799Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5800
5801 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
5802
5803Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
5804
5805 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
5806 sys/reent.h instead of reent.h.
5807 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
5808 headers moved to sys/reent.h.
5809 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
5810 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
5811 __need__MAX_SIGNALS defined.
5812 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
5813 std{in,out,err} refer to new _std{in,out,err} members.
5814
5815Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
5816
5817 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
5818 case.
5819
5820Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
5821
5822 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
5823 rather than whatever macro seterrno() has.
5824
5825Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
5826
5827 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
5828 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
5829
5830 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
5831 __STDC__.
5832
5833 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
5834 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
5835 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
5836
5837 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
5838 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
5839
5840 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
5841 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
5842 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
5843 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
5844 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
5845 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
5846 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
5847 renamed to _xxx_r. struct reent_struct renamed to struct _reent
5848 for ANSI. structure members given leading "_" for ANSI. Use
5849 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
5850
5851 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
5852 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
5853 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
5854 reent_struct renamed to struct _reent for ANSI.
5855 Structure members given leading "_" for ANSI.
5856 _CONST --> const in prototypes.
5857 Use _HAVE_STDC instead of __STDC__.
5858
5859 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
5860 _xxx_r.
5861 struct reent_struct renamed to struct _reent for ANSI.
5862 Structure members given leading "_" for ANSI.
5863
5864 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
5865 _xxx_r.
5866 struct reent_struct renamed to struct _reent for ANSI.
5867
5868 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
5869 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
5870 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
5871 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
5872 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
5873
5874 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
5875 signal.h, stdio.h, stdlib.h, string.h, time.h}:
5876 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
5877 #ifndef _STRICT_ANSI non-ANSI routines.
5878 Reentrant routines renamed from _r_xxx to _xxx_r.
5879 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
5880 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
5881 Clean up namespace (structure members have leading "_").
5882 struct reent_struct renamed to struct _reent for ANSI compliance.
5883 _CONST --> const in function prototypes.
5884
5885 * libc/include/string.h: Add NULL and size_t.
5886
5887 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
5888 unlink, wait, wait4. Reentrant syscall routines close, fork,
5889 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
5890 write.
5891 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
5892 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
5893 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
5894 write.S}: Define reentrant versions.
5895 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
5896 reentrant syscalls.
5897
5898 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
5899
5900 * libc/include/stdlib.h (RAND_MAX): Fix value.
5901
5902Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
5903
5904 * libc/sys/a29khif/_main.c: Removed unnecessary file.
5905 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
5906 VPATH support targets after all: target.
5907
5908 * stub/mvme135/mvme.S: Renamed exceptionhandler to
5909 exceptionHandler, which is what mvme135-stub.c expects.
5910
5911Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
5912
5913 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
5914
5915 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
5916 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
5917 compliant).
5918
5919Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
5920
5921 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
5922 first.
5923 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
5924 _r_write): Ditto.
5925 libc/reent/fstatr.c (_r_fstat): Ditto.
5926 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
5927 libc/reent/sbrkr.c (_r_sbrk): Ditto.
5928 libc/reent/statr.c (_r_stat): Ditto.
5929
5930 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
5931 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
5932 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
5933 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
5934 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
5935 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
5936 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
5937 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
5938 (__swrite): Ditto for _r_lseek, _r_write.
5939 (__sseek): Ditto for _r_lseek.
5940 (__close): Ditto for _r_close.
5941 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
5942
5943 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
5944 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
5945
5946 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
5947 to make reent_struct the first argument (and thus consistent with
5948 the rest of newlib).
5949
5950 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
5951 reference to __STDC__.
5952
5953Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
5954
5955 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
5956 global __cleanup.
5957
5958Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
5959
5960 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
5961 first.
5962 libc/stdio/fclose.c (fclose): Ditto.
5963
5964Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
5965
5966 * Run through indent and rename reentrant routines for ANSI.
5967 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
5968 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
5969 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
5970 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
5971 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
5972 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
5973 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
5974 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
5975 vsprintf.c wbuf.c wsetup.c local.h}
5976
5977 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
5978
5979 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
5980 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
5981 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
5982 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
5983 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
5984 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
5985
5986 * Run through indent.
5987 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
5988 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
5989 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
5990 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
5991 strxfrm.c}
5992
5993 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
5994 localtime.c mktime.c strftime.c time.c}:
5995 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
5996
5997 * Reformatting + renaming (for ANSI, GNU style, consistency).
5998 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
5999 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6000 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6001
6002Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6003
6004 * libc/include/stdio.h (stdin_r): Fix.
6005
6006Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6007
6008 * Makefile.in: Unexport some variables to keep GNU make from
6009 putting them in the environment and using up needed ARG_MAX space
6010 (a hack is used to let this work with older makes as well).
6011
6012Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6013
6014 * Makefile.in: Use $(MAKE) rather than make.
6015 (MAKEOVERRIDES): Define to be empty.
6016 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6017 (libc.a, libm.a): Depend on targ-include.
6018 * host/any (LD): Don't define.
6019 (INCLUDES): Use targ-include.
6020 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6021 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6022 * libc/Makefile.in: Use $(MAKE) rather than make.
6023 (MAKEOVERRIDES): Define to be empty.
6024 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6025 (all): Rewrote to be slightly smaller.
6026 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6027 Define to be empty.
6028 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6029 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6030
6031Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6032
6033 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6034 with errno/errno.c.
6035
6036Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6037
6038 * Changes for reentrancy.
6039 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6040 Use ptr->_errno, not errno.
6041 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6042 libc/stdio/remove.c (remove_r): New function.
6043 libc/stdio/rename.c (rename_r): New function.
6044 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6045 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6046 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
6047 reentrant versions of system calls.
6048 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
6049 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
6050 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
6051 libc/stdio/findfp.c: Include <string.h>.
6052 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
6053 "local.h".
6054 libc/stdio/wbuf.c: Include "fvwrite.h"
6055
6056 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
6057 <string.h>.
6058 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
6059 (NULL): Don't define if already defined.
6060 libc/stdlib/system.c: Call reentrant versions of system calls.
6061 (system_r): New function.
6062
6063 * Changes for reentrancy.
6064 libc/include/_ansi.h (_PARAMS): New macro.
6065 libc/include/errno.h: Define errno as a macro that calls __errno.
6066 (__errno_r): New macro for reentrant code.
6067 libc/include/math.h: Include reent.h. Declare many reentrant
6068 functions.
6069 (signgam): Now a macro, not a variable.
6070 (struct exception): Added err field.
6071 libc/include/reent.h: Don't declare __sglue. Added function
6072 declarations.
6073 (struct reent_struct): Moved errno to beginning. Added _signgam.
6074 libc/include/stdio.h, libc/include/stdlib.h: Added function
6075 declarations.
6076
6077 * More reentrancy hacking.
6078 libc/errno/errno.c (__errno): New function.
6079 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
6080 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
6081 files.
6082
6083 * Added many new reentrant functions to libm/math/*.
6084 libm/math/error.c (__matherror): Added reent_struct pointer
6085 argument. Changed all callers.
6086 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
6087 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
6088 libm/math/tan.h: Removed obsolete unused header files.
6089
6090 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
6091
6092 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
6093
6094Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6095
6096 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
6097 delay slots.
6098
6099Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6100
6101 * libc/libc.texinfo: comment out reentrancy chapter (duh)
6102
6103Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6104
6105 * libc/reent/reent.tex: New file. (text from
6106 newlib/libc/libc.texinfo)
6107 * libc/stdio/tmpnam.c: fixed doc typo
6108 * libc/stdlib/rand.c: fixed doc typo
6109
6110Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
6111
6112 * libc/reent/reent.tex: New file. (text from
6113 newlib/libc/libc.texinfo)
6114
6115Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6116
6117 support for reentrancy
6118 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
6119 new files
6120 * libc/errno/errno.c, libc/include/ieeefp.h,
6121 libc/include/locale.h, libc/include/reent.h,
6122 libc/include/signal.h, libc/include/stdio.h,
6123 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
6124 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
6125 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
6126 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
6127 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6128 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
6129 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
6130 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
6131 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
6132 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
6133 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
6134 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
6135 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
6136 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
6137 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
6138 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
6139 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
6140 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
6141 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
6142 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
6143 libc/time/strftime.c: modify to provide reentracy.
6144
6145 new routines:
6146 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
6147 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
6148 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
6149 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
6150 mstats_r, realloc_r, localeconv_r, setlocale_r
6151
6152Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
6153
6154 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
6155 libc/include/sys/config.h, libc/include/sys/signal.h,
6156 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
6157 provided macros (such as m68000), use the ansi version
6158 (__m68000__) so that the library can be used with code compiled
6159 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
6160 and sparc.
6161
6162Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6163
6164 * configure.in (sparc*): Don't set -fsoft-float for sparc
6165 configurations. Do set -fsoft-float for sparclite configurations.
6166
6167Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6168
6169 * default.menu, no-signal.menu: alternate forms of libc main menu
6170 (in newlib rather than newlib/libc due to configuration restrictions)
6171
6172 * configure.in: select one of the two menus above, link to
6173 libc.menu
6174
6175 * libc/libc.texinfo: include menu from separate file
6176
6177Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
6178
6179 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
6180 (info): Split long shell command in half.
6181 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
6182 sub-makes, just CHEW and TARGETDOC.
6183 (targetdep.tex): Removed now special handling of sys and machine
6184 subdirectories, made obsolete some time ago.
6185 * libc/machine/Makefile.in (doc): Don't pass everything to
6186 sub-make, just CHEW and TARGETDOC.
6187 (Makefile): New target.
6188 * libc/sys/Makefile.in (Makefile): New target.
6189
6190Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
6191
6192 * Makefile.in (here and most subdirectories): Only pass down CHEW
6193 and TARGETDOC when making info, not for other targets.
6194
6195 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
6196 $(AR_FLAGS) rather than $(ARUPDATE).
6197
6198Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
6199
6200 * Try to reduce command line length:
6201 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
6202 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
6203 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
6204 (info): Pass CHEW to other subdirs.
6205
6206Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
6207
6208 * configure.in: add signal_dir, like unix_dir, but by default it
6209 is set to "signal" so that a29khif can turn it off (since a29khif
6210 has raise() as part of machine-specific signal.s.)
6211
6212Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6213
6214 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
6215 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
6216 correctly.
6217 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
6218 libc/stdio/vfprintf: type lint.
6219 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
6220 initialzation code.
6221 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
6222
6223Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
6224
6225 * stub/mvme135/mvme135-asm.S: new file.
6226 stub/mvme135mvme135-stub.c: moved all assembler routines into
6227 mvme135-asm.S.
6228 stub/mvme135/Makefile.in: build mvme135-stub.o.
6229
6230Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
6231
6232 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
6233 sub-Makefiles instead, to try to avoid line length limitations.
6234
6235Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
6236
6237 * libc/include/unistd.h (read, write): Use void* instead of
6238 char*.
6239
6240Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
6241
6242 * stub/go32/resetpc: sample script to send a reset packet to the
6243 stub
6244
6245 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
6246 DOS environment, which compiles with Turbo C.
6247
6248 * stub/go32/DSER32.LNK: new file, linker commands for serial
6249 remote stub.
6250
6251 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
6252 start up message to identify version; call set_debug_traps.
6253
6254 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
6255 keyboard interaction); call handle_exception() in go_til_stop,
6256 rather than return, so that the remote stub gets control.
6257
6258 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
6259 rename, rather than mv), set flags that work with current Turbo C,
6260 including using the /3 flag; also, add commands to build dser32.
6261
6262 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
6263 default Turbo C installation (\tc rather than \usr)
6264
6265 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
6266 "&..."
6267
6268Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6269
6270 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
6271
6272Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6273
6274 * libc/stdio/cvt.c (licvt): new function to convert ints when
6275 sizeof(int) != sizeof(long).
6276
6277 * libc/include/stdio.h: added prototype for iprintf.
6278 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
6279
6280Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
6281
6282 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
6283 __REGISTER_PREFIX__.
6284
6285Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
6286
6287 * libc/sys/m68kbare: moved into stub directory.
6288
6289Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
6290
6291 * configure.in, Makefile.in: created new directory stub, to hold
6292 sample code for specific targets.
6293
6294Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
6295
6296 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
6297 in the unified libc/include/sys/fcntl.h.
6298
6299Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
6300
6301 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
6302 printed .01, not 0.01.
6303
6304Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
6305
6306 * configure.in: compile with -m68000 for m68* targets.
6307
6308Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
6309
6310 * libm/math/remainder.c (remainder): document the svr4 and sunos
6311 references used to construct the function.
6312
6313Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
6314
6315 * libm/math/remainder.c (rint, remainder): fix old typos.
6316 * libm/math/Makefile.in: actually build remainder.c (functions
6317 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
6318 page.)
6319
6320Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
6321
6322 * libc/string/bcopy.c: BSD version works on overlapping strings,
6323 so ours should too.
6324
6325 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
6326 ("SHELL").
6327
6328Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
6329
6330 * Makefile.in (docs): new target.
6331
6332Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
6333
6334 * libc/include/sys/times.h: define clock_t as required by POSIX.
6335 libc/include/time.h: protect clock_t from multiple definitions.
6336
6337Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6338
6339 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
6340 does not need more than the original three iterations to get
6341 within 1 ulp. (Paranoia tests for rounding to better than that,
6342 but further iterations *don't* help, only more subtle changes
6343 can.)
6344
6345Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
6346
6347 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
6348 were doing nothing useful.
6349
6350Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
6351
6352 * configure.in: define MALLOC_PROVIDED for vxworks targets;
6353 removed sys_dir settings of vxworks68 and vxworks960.
6354 host/any: don't pass -nostdinc to gcc, since newlib no longer
6355 provides all required header files.
6356
6357 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
6358 is not defined; this provides a hook for VxWorks.
6359
6360Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6361
6362 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
6363 buffer if buf is NULL, don't do it here -- it is already being
6364 done by makebuf elsewhere in stdio.
6365
6366Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
6367
6368 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
6369 that C programs can call functions without using initial
6370 underscores.
6371
6372Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
6373
6374 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
6375
6376Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
6377
6378 * configure.in: set TARGET_CFLAGS for certain CPU types to
6379 -msoft-float.
6380
6381Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6382
6383 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
6384
6385Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
6386
6387 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
6388 m68k*-unknown-coff.
6389
6390Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
6391
6392 * libc/include/stdio.h: define __need___va_list before including
6393 <stdarg.h>, to avoid defining va_arg, et. al.
6394
6395Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
6396
6397 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
6398 (don't cd to the user's home directory).
6399
6400 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
6401 In general this is the wrong thing to do, but I can't get around
6402 GNU make's insistence on passing command line arguments any other
6403 way.
6404
6405Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
6406
6407 * configure.in: always configure the libc/sys directory, since it
6408 now provides a required documentation file.
6409
6410 * Makefile.in: replaced all instances of $(MAKE) with make. In
6411 general this is the wrong thing to do, but I can't get around GNU
6412 make's insistence on passing command line arguments any other way.
6413
6414Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
6415
6416 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
6417 terminated.
6418
6419 * libc/stdio/local.h: include <stdarg.h> to define va_list.
6420 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
6421
6422 * libc/include/float.h, libc/include/stdarg.h,
6423 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
6424 versions instead.
6425 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
6426 <stdarg.h>, not from <machine/types.h>. Protect definition of
6427 NULL.
6428 libc/include/time.h: get size_t from stddef.h. Protect definition
6429 of NULL.
6430 libc/include/machine/limits.h: override gcc <limits.h> by defining
6431 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
6432 get correct INT_MIN and LONG_LONG values.
6433 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
6434 size_t or va_list at all; they're now gotten from stddef.h
6435 instead.
6436 libc/include/machine/varargs.h: removed; use gcc version instead.
6437 libc/include/sys/types.h: explicitly include <machine/types.h>.
6438
6439 * libm/math/sqrt.h: using the fp-bit routines appears to require
6440 more iterations.
6441
6442 * Makefile.in, host/any: let system include files override machine
6443 include files.
6444
6445Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6446
6447 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
6448 override _*_T_ definitions defaulted here.
6449
6450Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
6451
6452 * Makefile.in (install): install the include files in
6453 $(tooldir)/include, not $(exec_prefix)/include.
6454
6455Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
6456
6457 * Makefile.in (install): fixed typo, and changed install to not
6458 force rebuild of libc.a and libm.a.
6459
6460Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
6461
6462 * libc/sys/a29khif/*: Changed all .include's to include
6463 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
6464 that they will be installed for the user.
6465
6466 * Makefile.in (all): create targ-include, a directory holding the
6467 machine and system specific header files during the build.
6468 (install): fixed installation of machine and system specific
6469 header files.
6470
6471 * Makefile.in: fixed comment.
6472 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
6473 we can pass $(INCLUDES) to it.
6474
6475Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
6476
6477 * libc/include/sys/param.h: new generic file, which may be
6478 overridden for specific systems.
6479
6480 * libc/include/sys/signal.h: define all ANSI signal names, and
6481 NSIG (which is not ANSI) for a29k.
6482
6483Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
6484
6485 * Makefile.in: don't pass down arguments the lower level makes
6486 will not need.
6487 * libc/Makefile.in: recurse directly, rather than using subdir_do,
6488 in hopes of avoiding argument length limits.
6489 * libm/Makefile.in: recurse directly, rather using subdir_do, in
6490 hopes of avoiding argument length limits.
6491
6492Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
6493
6494 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
6495 mode_t is defined.
6496
6497Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
6498
6499 * Fixed make info and make install-info for newlib, changing most
6500 Makefile.in and several *.tex files. Moved doc directory from
6501 libc to top level.
6502
6503 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
6504 Should be rewritten.
6505
6506 * libc/string/strings.tex: renamed node index to node index
6507 function, so that it does not conflict with the top level index
6508 node.
6509
6510 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
6511
6512Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
6513
6514 * Overhauled general configuration for newlib. Eliminated all
6515 target dependent Makefile fragments. Create libraries in newlib
6516 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
6517 than CROSS_CC, et. al. Broke make docs; will fix later.
6518
6519 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
6520 Should be rewritten.
6521
6522Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
6523
6524 * libc/configure.in: cleaned up somewhat; switch on ${target}
6525 rather than ${target_alias}.
6526 * libm/configure.in: cleaned up somewhat; switch on ${target}
6527 rather than ${target_alias}.
6528
6529 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
6530 * libc/include/ctype.h: marked _ctype_ as _CONST.
6531
6532 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
6533 _CONST.
6534
6535 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
6536 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
6537 libc/stdio/gets.c (gets): removed non-ANSI warning message.
6538 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
6539
6540 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
6541 bigtens, tinytens): marked arrays _CONST.
6542 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
6543 rather than a static variable.
6544
6545 * libc/time/asctime.c (asctime), libc/time/localtime.c
6546 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
6547 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
6548 mname_len, mname): Marked static arrays _CONST.
6549
6550 * libm/math/gamma.h: made local variables non-static.
6551
6552 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
6553 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
6554 _CONST.
6555
6556 * libm/math/constants.c: removed file, because the constants it
6557 defined were never referenced.
6558 libm/math/Makefile.in: removed references to constants.c.
6559 libm/math/mathimpl.h: removed declarations of constants.
6560
6561Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
6562
6563 * libc/include/machine/varargs.h: only call __builtin_saveregs if
6564 it is sensibly defined in libgcc2. Checks preprocessor defines,
6565 which is not a good solution.
6566
6567 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
6568
6569 * libm/frexp.c: handle denormalized numbers as arguments.
6570
6571 * libm/math/Makefile.in: added some dependencies for .c files
6572 which include local .h files.
6573
6574Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
6575
6576 * libc/configure.in: set target_alias for OSE*. Replace
6577 target_makefile_frag if it is blank.
6578
6579 * libc/Makefile.in: make sure everything is passed to subsidiary
6580 makes; create all directories when installing.
6581
6582 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
6583 CROSS_ARUPDATE instead of AR.
6584
6585 * libm/configure.in: set target_alias for OSE*. Replace
6586 target_makefile_frag if it is blank.
6587
6588 * libm/Makefile.in: make sure everything is passed to subsidiary
6589 makes; create all directories when installing.
6590
6591Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
6592
6593 * add following change from libc copy.
6594
6595Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6596
6597 * libc/libc.texinfo: make copyright disclaimers appear on back of
6598 title page; make format of same slightly less ugly; avoid using
6599 underbars in section headings (avoids nasty texinfo bug in table
6600 of contents).
6601
6602 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
6603 comments only) avoid using underbars in section headings
6604
6605 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6606 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
6607 changes in comments only): shorten headings ieeefp/infinity.c,
6608 ieeefp/isnan.c: (doc, comments only) more informative headings
6609
6610 * libc/math/bessel.c: (doc, comments only) shorten heading
6611
6612 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
6613 (doc, comments only) shorten headings
6614
6615 * libc/time/localtime.c (doc, comments only): shorten headings
6616
6617 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
6618 isnan
6619 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
6620 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
6621 headings
6622 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
6623 only) more informative headings
6624 * libm/math/bessel.c: (doc, comments only) shorten heading
6625
6626Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
6627
6628 * .../Makefile.in: use CROSS_ARUPDATE consistently.
6629 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
6630 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
6631 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
6632 defined, the one from the .mt file will be correct.
6633 * libc/include/machine, libc/include/sys: created, and populated
6634 with common files from machine/*/machine. ifdefs were used for
6635 most, typically by handling exceptions first and then filling in
6636 defaults. Files with D.J. Delorie copyright #included rather than
6637 copied. Most files in include/sys really were the same in the
6638 original.
6639 * libc/include/...: cleaned up use of _EXFUN.
6640 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
6641 it with double quotes, not angles.
6642
6643Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
6644
6645 * libc/Makefile.in: always create installation directories.
6646
6647Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
6648
6649 * libc/configure.in: handle host properly (using canonical
6650 triples), better error message for the case of target not found
6651
6652Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
6653
6654 * libc/Makefile.in (insincdir): Ensure this directory exists
6655 before attempting installation.
6656
6657Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6658
6659 * libc/stdlib/assert.c: now calls abort like it should
6660 * libc/sys/a29khif: many many patches for 29khif work
6661 * libc/machine/i386: gnulib2 expanded there.
6662
6663Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6664
6665 Added accurate fp conversion routines to stdlib, moved dcvt from
6666 stdio to stdlib and called it ecvtbuf:
6667 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
6668 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
6669 routines
6670 * libc/libc.texinfo: Modifed to include the copyright info from
6671 the mprec files
6672 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
6673 * libc/test/ : many vector which tested for the implementation
6674 defined returns of strange conversion requests have been updated
6675 to relflect the new implementation
6676
6677Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6678
6679 * libc/libc.texinfo: new chapter on variable arg lists
6680 (stdarg.h/varargs.h)
6681 * libc/libc.texinfo: new title
6682 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
6683 (doc only) shorter headings for better formatting.
6684
6685Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6686
6687 * libc/libc.texinfo: three more info menu entries
6688 * libc/locale/locale.tex: new chapter
6689 * libc/locale/locale.c: new doc for setlocale, localeconv
6690 * libc/locale/Makefile.in: use new locale doc
6691 * libc/signal/signal.tex: new chapter
6692 * libc/signal/raise.c, libc/signal/signal.c: new doc
6693 * libc/signal/Makefile.in: use new doc
6694 * libc/time/time.tex: new chapter
6695 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
6696 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
6697 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
6698 * libc/time/Makefile.in: use new doc
6699
6700Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6701
6702 * libm/math/log1p.c: split to use the new function way of float
6703 function definition. math/log1p.h deleted
6704 * libm/math/scalb.c: obsolete and deleted
6705 * libm/math/scalbn.c: created from part log1p.c
6706 * libm/math/Makefile.in: know about log1p and scalbn
6707
6708Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6709
6710 * libc/ctype/isupper.c: revise doc;
6711 libc/ctype/ctype.tex: use doc from isupper.c
6712
6713 * libc/string/bzero.c: new doc
6714
6715Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
6716
6717 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
6718 new doc
6719 * libc/stdlib/Makefile.in: extract new doc
6720 * libc/stdlib/stdlib.tex: use new doc
6721
6722 * libc/string/strerror.c: expanded doc.
6723
6724 * libc/stdio/Makefile.in: extract doc from more files
6725 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
6726 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
6727 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
6728 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
6729 libc/stdio/vsprintf.c: new doc
6730 * libc/stdio/stdio.tex: use new doc
6731
6732Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6733
6734 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
6735 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
6736 finitef functions.
6737 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
6738 time ago.
6739
6740 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
6741 * libc/stdio/setbuf.c: added ansi style definition.
6742 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
6743 buffer if none provided.
6744 * libc/stdio/tmpfile.c: lint
6745 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
6746 rather than using static, also make sure file isn't already
6747 present. Uses P_tmpdir. (tempnam): rewritten to use new
6748 subroutine, and uses P_tmpdir.
6749 * libc/stdio/siprintf.c: created
6750
6751Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
6752
6753 Release 1.03 for NEC, major mods. Main differences from release
6754 1.02::
6755
6756 More tests in test/:
6757 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
6758 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
6759 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
6760 get/set mask, get/set sticky and get/set roundtoi. Tests
6761 that setting the bits changes the way arithmetic is done.
6762 * string.c: added test to make sure memcmp does it with unsigned
6763 chars.
6764 * test.c: cleaned up and removed lint.
6765 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
6766 dvec.c: tests for string to value conversions, sprintf, scanf,
6767 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
6768 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
6769 rounding in sprintf too.
6770 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
6771 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
6772 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
6773 and function form.
6774 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
6775 powf
6776
6777 In the library:
6778 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
6779 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
6780 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
6781 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
6782 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
6783 than sprintf.
6784 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
6785 * Method of producting float versions of double functions has
6786 changed, functions will be modified gradually. So far:
6787 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
6788 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
6789 altered
6790 * libc/string/memcmp.c: now uses unsigned chars
6791 * libc/string/bcmp.c, libc/string/strcpy.c,
6792 libc/stsring/strxfrm.c: fixed doc
6793 * libc/sys/sysvnecv70.tex: fix example of sbrk code
6794\f
6795Local Variables:
6796version-control: never
6797End:
This page took 0.633006 seconds and 5 git commands to generate.