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