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