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