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