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