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