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