1 2007-05-27 Brian Dessent <brian@dessent.net>
3 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
6 2007-05-25 Eric Blake <ebb9@byu.net>
8 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
10 2007-05-24 Steve Ellcey <sje@cup.hp.com>
11 Charles Wilson <libtool@cwilson.fastmail.fm>
14 * configure.in: invoke _LD_DECL_SED before conditionally initializing
15 libtool. Move AC_PROG_AWK outside conditional.
16 * libc/sys/linux/configure.in: Ditto.
17 * libc/sys/linux/linuxthreads/configure.in: Ditto.
18 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
19 * libc/sys/linux/machine/i386/configure.in: Ditto.
21 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
23 * libc/configure.in: Ditto.
24 * libc/machine/configure.in: Ditto.
25 * libc/machine/i386/configure.in: Ditto.
26 * libc/sys/configure.in: Ditto.
27 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
28 * libc/sys/linux/machine/configure.in: Ditto.
29 * libm/configure.in: Ditto.
30 * libm/machine/configure.in: Ditto.
32 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
33 * doc/Makefile.am: Ditto.
34 * iconvdata/Makefile.am: Ditto.
35 * libc/Makefile.am: Ditto.
36 * libc/machine/Makefile.am: Ditto.
37 * libc/machine/a29k/Makefile.am: Ditto.
38 * libc/machine/arm/Makefile.am: Ditto.
39 * libc/machine/bfin/Makefile.am: Ditto.
40 * libc/machine/cris/Makefile.am: Ditto.
41 * libc/machine/crx/Makefile.am: Ditto.
42 * libc/machine/d10v/Makefile.am: Ditto.
43 * libc/machine/d30v/Makefile.am: Ditto.
44 * libc/machine/fr30/Makefile.am: Ditto.
45 * libc/machine/frv/Makefile.am: Ditto.
46 * libc/machine/h8300/Makefile.am: Ditto.
47 * libc/machine/h8500/Makefile.am: Ditto.
48 * libc/machine/hppa/Makefile.am: Ditto.
49 * libc/machine/i386/Makefile.am: Ditto.
50 * libc/machine/i960/Makefile.am: Ditto.
51 * libc/machine/iq2000/Makefile.am: Ditto.
52 * libc/machine/m32c/Makefile.am: Ditto.
53 * libc/machine/m32r/Makefile.am: Ditto.
54 * libc/machine/m68hc11/Makefile.am: Ditto.
55 * libc/machine/m68k/Makefile.am: Ditto.
56 * libc/machine/m88k/Makefile.am: Ditto.
57 * libc/machine/mips/Makefile.am: Ditto.
58 * libc/machine/mn10200/Makefile.am: Ditto.
59 * libc/machine/mn10300/Makefile.am: Ditto.
60 * libc/machine/mt/Makefile.am: Ditto.
61 * libc/machine/necv70/Makefile.am: Ditto.
62 * libc/machine/powerpc/Makefile.am: Ditto.
63 * libc/machine/sh/Makefile.am: Ditto.
64 * libc/machine/sparc/Makefile.am: Ditto.
65 * libc/machine/spu/Makefile.am: Ditto.
66 * libc/machine/tic4x/Makefile.am: Ditto.
67 * libc/machine/tic80/Makefile.am: Ditto.
68 * libc/machine/v850/Makefile.am: Ditto.
69 * libc/machine/w65/Makefile.am: Ditto.
70 * libc/machine/xscale/Makefile.am: Ditto.
71 * libc/machine/xstormy16/Makefile.am: Ditto.
72 * libc/machine/z8k/Makefile.am: Ditto.
73 * libc/sys/Makefile.am: Ditto.
74 * libc/sys/a29khif/Makefile.am: Ditto.
75 * libc/sys/arc/Makefile.am: Ditto.
76 * libc/sys/arm/Makefile.am: Ditto.
77 * libc/sys/d10v/Makefile.am: Ditto.
78 * libc/sys/decstation/Makefile.am: Ditto.
79 * libc/sys/h8300hms/Makefile.am: Ditto.
80 * libc/sys/h8500hms/Makefile.am: Ditto.
81 * libc/sys/linux/Makefile.am: Ditto.
82 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
83 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
84 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
85 * libc/sys/linux/machine/Makefile.am: Ditto.
86 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
87 * libc/sys/m88kbug/Makefile.am: Ditto.
88 * libc/sys/mmixware/Makefile.am: Ditto.
89 * libc/sys/netware/Makefile.am: Ditto.
90 * libc/sys/rdos/Makefile.am: Ditto.
91 * libc/sys/rtems/Makefile.am: Ditto.
92 * libc/sys/sh/Makefile.am: Ditto.
93 * libc/sys/sparc64/Makefile.am: Ditto.
94 * libc/sys/sun4/Makefile.am: Ditto.
95 * libc/sys/sysmec/Makefile.am: Ditto.
96 * libc/sys/sysnec810/Makefile.am: Ditto.
97 * libc/sys/sysnecv850/Makefile.am: Ditto.
98 * libc/sys/sysvi386/Makefile.am: Ditto.
99 * libc/sys/sysvnecv70/Makefile.am: Ditto.
100 * libc/sys/tic80/Makefile.am: Ditto.
101 * libc/sys/w65/Makefile.am: Ditto.
102 * libc/sys/z8ksim/Makefile.am: Ditto.
103 * libm/Makefile.am: Ditto.
104 * libm/machine/Makefile.am: Ditto.
105 * libm/machine/i386/Makefile.am: Ditto.
106 * libm/machine/spu/Makefile.am: Ditto.
108 * aclocal.m4: Regenerate.
109 * iconvdata/aclocal.m4: Regenerate.
110 * libc/aclocal.m4: Regenerate.
111 * libc/machine/aclocal.m4: Regenerate.
112 * libc/machine/i386/aclocal.m4: Regenerate.
113 * libc/sys/aclocal.m4: Regenerate.
114 * libc/sys/linux/aclocal.m4: Regenerate.
115 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
116 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
117 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
118 * libc/sys/linux/machine/aclocal.m4: Regenerate.
119 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
120 * libm/aclocal.m4: Regenerate.
121 * libm/machine/aclocal.m4: Regenerate.
122 * libm/machine/i386/aclocal.m4: Regenerate.
124 * Makefile.in: Regenerate.
125 * doc/Makefile.in: Regenerate.
126 * iconvdata/Makefile.in: Regenerate.
127 * libc/Makefile.in: Regenerate.
128 * libc/argz/Makefile.in: Regenerate.
129 * libc/ctype/Makefile.in: Regenerate.
130 * libc/errno/Makefile.in: Regenerate.
131 * libc/iconv/Makefile.in: Regenerate.
132 * libc/iconv/ccs/Makefile.in: Regenerate.
133 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
134 * libc/iconv/ces/Makefile.in: Regenerate.
135 * libc/iconv/lib/Makefile.in: Regenerate.
136 * libc/locale/Makefile.in: Regenerate.
137 * libc/machine/Makefile.in: Regenerate.
138 * libc/machine/a29k/Makefile.in: Regenerate.
139 * libc/machine/arm/Makefile.in: Regenerate.
140 * libc/machine/bfin/Makefile.in: Regenerate.
141 * libc/machine/cris/Makefile.in: Regenerate.
142 * libc/machine/crx/Makefile.in: Regenerate.
143 * libc/machine/d10v/Makefile.in: Regenerate.
144 * libc/machine/d30v/Makefile.in: Regenerate.
145 * libc/machine/fr30/Makefile.in: Regenerate.
146 * libc/machine/frv/Makefile.in: Regenerate.
147 * libc/machine/h8300/Makefile.in: Regenerate.
148 * libc/machine/h8500/Makefile.in: Regenerate.
149 * libc/machine/hppa/Makefile.in: Regenerate.
150 * libc/machine/i386/Makefile.in: Regenerate.
151 * libc/machine/i960/Makefile.in: Regenerate.
152 * libc/machine/iq2000/Makefile.in: Regenerate.
153 * libc/machine/m32c/Makefile.in: Regenerate.
154 * libc/machine/m32r/Makefile.in: Regenerate.
155 * libc/machine/m68hc11/Makefile.in: Regenerate.
156 * libc/machine/m68k/Makefile.in: Regenerate.
157 * libc/machine/m88k/Makefile.in: Regenerate.
158 * libc/machine/mips/Makefile.in: Regenerate.
159 * libc/machine/mn10200/Makefile.in: Regenerate.
160 * libc/machine/mn10300/Makefile.in: Regenerate.
161 * libc/machine/mt/Makefile.in: Regenerate.
162 * libc/machine/necv70/Makefile.in: Regenerate.
163 * libc/machine/powerpc/Makefile.in: Regenerate.
164 * libc/machine/sh/Makefile.in: Regenerate.
165 * libc/machine/sparc/Makefile.in: Regenerate.
166 * libc/machine/spu/Makefile.in: Regenerate.
167 * libc/machine/tic4x/Makefile.in: Regenerate.
168 * libc/machine/tic80/Makefile.in: Regenerate.
169 * libc/machine/v850/Makefile.in: Regenerate.
170 * libc/machine/w65/Makefile.in: Regenerate.
171 * libc/machine/xscale/Makefile.in: Regenerate.
172 * libc/machine/xstormy16/Makefile.in: Regenerate.
173 * libc/machine/z8k/Makefile.in: Regenerate.
174 * libc/misc/Makefile.in: Regenerate.
175 * libc/posix/Makefile.in: Regenerate.
176 * libc/reent/Makefile.in: Regenerate.
177 * libc/search/Makefile.in: Regenerate.
178 * libc/signal/Makefile.in: Regenerate.
179 * libc/stdio/Makefile.in: Regenerate.
180 * libc/stdio64/Makefile.in: Regenerate.
181 * libc/stdlib/Makefile.in: Regenerate.
182 * libc/string/Makefile.in: Regenerate.
183 * libc/sys/Makefile.in: Regenerate.
184 * libc/sys/a29khif/Makefile.in: Regenerate.
185 * libc/sys/arc/Makefile.in: Regenerate.
186 * libc/sys/arm/Makefile.in: Regenerate.
187 * libc/sys/d10v/Makefile.in: Regenerate.
188 * libc/sys/decstation/Makefile.in: Regenerate.
189 * libc/sys/h8300hms/Makefile.in: Regenerate.
190 * libc/sys/h8500hms/Makefile.in: Regenerate.
191 * libc/sys/linux/Makefile.in: Regenerate.
192 * libc/sys/linux/argp/Makefile.in: Regenerate.
193 * libc/sys/linux/cmath/Makefile.in: Regenerate.
194 * libc/sys/linux/dl/Makefile.in: Regenerate.
195 * libc/sys/linux/iconv/Makefile.in: Regenerate.
196 * libc/sys/linux/intl/Makefile.in: Regenerate.
197 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
198 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
199 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
200 * libc/sys/linux/machine/Makefile.in: Regenerate.
201 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
202 * libc/sys/linux/net/Makefile.in: Regenerate.
203 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
204 * libc/sys/m88kbug/Makefile.in: Regenerate.
205 * libc/sys/mmixware/Makefile.in: Regenerate.
206 * libc/sys/netware/Makefile.in: Regenerate.
207 * libc/sys/rdos/Makefile.in: Regenerate.
208 * libc/sys/rtems/Makefile.in: Regenerate.
209 * libc/sys/sh/Makefile.in: Regenerate.
210 * libc/sys/sparc64/Makefile.in: Regenerate.
211 * libc/sys/sun4/Makefile.in: Regenerate.
212 * libc/sys/sysmec/Makefile.in: Regenerate.
213 * libc/sys/sysnec810/Makefile.in: Regenerate.
214 * libc/sys/sysnecv850/Makefile.in: Regenerate.
215 * libc/sys/sysvi386/Makefile.in: Regenerate.
216 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
217 * libc/sys/tic80/Makefile.in: Regenerate.
218 * libc/sys/w65/Makefile.in: Regenerate.
219 * libc/sys/z8ksim/Makefile.in: Regenerate.
220 * libc/syscalls/Makefile.in: Regenerate.
221 * libc/time/Makefile.in: Regenerate.
222 * libc/unix/Makefile.in: Regenerate.
223 * libm/Makefile.in: Regenerate.
224 * libm/common/Makefile.in: Regenerate.
225 * libm/machine/Makefile.in: Regenerate.
226 * libm/machine/i386/Makefile.in: Regenerate.
227 * libm/machine/spu/Makefile.in: Regenerate.
228 * libm/math/Makefile.in: Regenerate.
229 * libm/mathfp/Makefile.in: Regenerate.
231 * configure: Regenerate.
232 * iconvdata/configure: Regenerate.
233 * libc/configure: Regenerate.
234 * libc/machine/configure: Regenerate.
235 * libc/machine/i386/configure: Regenerate.
236 * libc/sys/configure: Regenerate.
237 * libc/sys/linux/configure: Regenerate.
238 * libc/sys/linux/linuxthreads/configure: Regenerate.
239 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
240 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
241 * libc/sys/linux/machine/configure: Regenerate.
242 * libc/sys/linux/machine/i386/configure: Regenerate.
243 * libm/configure: Regenerate.
244 * libm/machine/configure: Regenerate.
245 * libm/machine/i386/configure: Regenerate.
247 2007-05-23 Eric Blake <ebb9@byu.net>
249 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
250 sizeof(void*) is 8 but sizeof(long) is 4.
251 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
252 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
253 to fix reentrancy and bug on encoding error in multibyte locales.
254 Always return EOF on read error.
256 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
258 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
260 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
261 instead of the slot 0 value, remove any now unused variables, and
262 for some cases, now store the result in an int vs int*.
263 * libc/machine/spu/feof.c: Ditto.
264 * libc/machine/spu/ferror.c: Ditto.
265 * libc/machine/spu/fflush.c: Ditto.
266 * libc/machine/spu/fgetc.c: Ditto.
267 * libc/machine/spu/fgetpos.c: Ditto.
268 * libc/machine/spu/fgets.c: Ditto.
269 * libc/machine/spu/fileno.c: Ditto.
270 * libc/machine/spu/fopen.c: Ditto.
271 * libc/machine/spu/fprintf.c: Ditto.
272 * libc/machine/spu/fputc.c: Ditto.
273 * libc/machine/spu/fputs.c: Ditto.
274 * libc/machine/spu/fread.c: Ditto.
275 * libc/machine/spu/freopen.c: Ditto.
276 * libc/machine/spu/fscanf.c: Ditto.
277 * libc/machine/spu/fseek.c: Ditto.
278 * libc/machine/spu/fsetpos.c: Ditto.
279 * libc/machine/spu/ftell.c: Ditto.
280 * libc/machine/spu/fwrite.c: Ditto.
281 * libc/machine/spu/getc.c: Ditto.
282 * libc/machine/spu/getchar.c: Ditto.
283 * libc/machine/spu/gets.c: Ditto.
284 * libc/machine/spu/printf.c: Ditto.
285 * libc/machine/spu/putc.c: Ditto.
286 * libc/machine/spu/putchar.c: Ditto.
287 * libc/machine/spu/puts.c: Ditto.
288 * libc/machine/spu/remove.c: Ditto.
289 * libc/machine/spu/rename.c: Ditto.
290 * libc/machine/spu/scanf.c: Ditto.
291 * libc/machine/spu/setvbuf.c: Ditto.
292 * libc/machine/spu/snprintf.c: Ditto.
293 * libc/machine/spu/sprintf.c: Ditto.
294 * libc/machine/spu/sscanf.c: Ditto.
295 * libc/machine/spu/tmpfile.c: Ditto.
296 * libc/machine/spu/tmpnam.c: Ditto.
297 * libc/machine/spu/ungetc.c: Ditto.
298 * libc/machine/spu/vfprintf.c: Ditto.
299 * libc/machine/spu/vfscanf.c: Ditto.
300 * libc/machine/spu/vprintf.c: Ditto.
301 * libc/machine/spu/vscanf.c: Ditto.
302 * libc/machine/spu/vsnprintf.c: Ditto.
303 * libc/machine/spu/vsprintf.c: Ditto.
304 * libc/machine/spu/vsscanf.c: Ditto.
306 2007-05-23 Eric Blake <ebb9@byu.net>
308 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
309 Avoid warning when !FLOATING_POINT.
310 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
313 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
315 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
317 * libc/include/argz.h: Guard against multiple inclusion. Guard for
320 2007-05-18 Eric Blake <ebb9@byu.net>
322 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
324 * libc/stdio/vfscanf.c: Likewise.
326 2007-05-17 Cary R. <cygcary <at> yahoo.com>
328 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
329 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
330 * libm/math/wf_atan2.c: Ditto.
332 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
334 * libm/common/Makefile.am: Add support for exp10, exp10f,
335 pow10, and pow10f functions.
336 * libm/common/Makefile.in: Regenerated.
337 * libm/common/s_pow10.c: New file.
338 * libm/common/sf_pow10.c: Ditto.
339 * libm/common/s_exp10.c: Ditto.
340 * libm/common/sf_exp10.c: Ditto.
341 * libc/include/math.h [!pow10]: New pow10 prototype.
342 [!pow10f]: New pow10f prototype.
343 [!exp10]: New exp10 prototype.
344 [!exp10f]: New exp10f prototype.
346 2007-05-17 Charles Wilson <cygwin@...>
348 * stdio/tmpfile.c: Include <sys/stat.h>.
349 * stdio64/tmpfile64.c: Ditto.
351 2007-05-16 Eric Blake <ebb9@byu.net>
353 Close security hole in tmpfile.
354 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
355 generation and opening the fd.
356 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
358 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
359 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
361 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
362 avoid clash with <math.h>.
364 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
365 * libc/search/hash.c (__hash_open): Likewise.
367 2007-05-14 Eric Blake <ebb9@byu.net>
369 Reduce stack size of *printf.
370 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
371 in %f. Avoid malloc when possible for %S.
372 (BUF): Improve stack locality by using smaller size.
373 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
374 (exponent): Use smaller stack size.
376 2007-05-11 Eric Blake <ebb9@byu.net>
378 Minimize printf/scanf size on platforms that don't need C99.
379 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
380 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
381 * configure.in (newlib-io-c99-formats): New configure option.
382 (_WANT_IO_C99_FORMATS): Define appropriately.
383 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
384 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
385 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
386 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
388 * configure: Regenerate.
390 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
391 (get_arg): Support '%a' and '%A'.
393 2007-05-09 Eric Blake <ebb9@byu.net>
395 Allow zero size with non-null buf in *asnprintf.
396 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
398 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
399 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
400 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
402 2007-05-07 Charles Wilson <cygwin@...>
404 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
406 2007-05-03 Eric Blake <ebb9@byu.net>
408 Add support for asnprintf, and improve *printf documentation.
409 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
410 (ELIX_2_SOURCES): ...to this.
411 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
412 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
413 (CHEWOUT_FILES): Include diprintf in documentation.
414 * libc/stdio/Makefile.in: Regenerate.
415 * libc/stdio/diprintf.c: Improve documentation.
416 * libc/stdio/dprintf.c: Likewise.
417 * libc/stdio/siprintf.c: Likewise.
418 * libc/stdio/sprintf.c: Likewise.
419 * libc/stdio/vfprintf.c: Likewise.
420 * libc/stdio/viprintf.c: Likewise.
421 * libc/stdio/vsniprintf.c: Consolidate documentation.
422 * libc/stdio/asiprintf.c: Refer to documentation.
423 * libc/stdio/asprintf.c: Likewise.
424 * libc/stdio/fiprintf.c: Likewise.
425 * libc/stdio/fprintf.c: Likewise.
426 * libc/stdio/iprintf.c: Likewise.
427 * libc/stdio/printf.c: Likewise.
428 * libc/stdio/sniprintf.c: Likewise.
429 * libc/stdio/vdiprintf.c: Likewise.
430 * libc/stdio/vdprintf.c: Likewise.
431 * libc/stdio/vsiprintf.c: Likewise.
432 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
433 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
434 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
435 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
437 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
438 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
440 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
441 * libc/include/stdio.h: Add prototypes for new functions; sort
444 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
446 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
448 * libc/machine/m68k/Makefile.in: Regenerate.
449 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
450 * libc/machine/m68k/memset.S: Likewise.
452 2007-05-01 Eric Blake <ebb9@byu.net>
454 * libc/stdio64/local64.h: Delete, move contents to...
455 * libc/stdio/local.h: ...here.
456 * libc/stdio64/fdopen64.c: Update includes.
457 * libc/stdio64/fopen64.c: Likewise.
458 * libc/stdio64/freopen64.c: Likewise.
459 * libc/stdio64/fseeko64.c: Likewise.
460 * libc/stdio64/ftello64.c: Likewise.
461 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
462 and stderr with 64-bit offset.
463 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
464 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
465 * libc/stdio/mktemp.c (_gettemp): Likewise.
467 2007-05-01 Cary R. <cygcary <at> yahoo.com>
469 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
470 to treatment of NaN and +-inf arguments.
471 * libm/math/ef_pow.c: Ditto.
472 * libm/math/w_pow.c: Ditto.
473 * libm/math/wf_pow.c: Ditto.
474 * libm/math/w_acos.c: Fix domain errors to return NaN.
475 * libm/math/w_asin.c: Ditto.
476 * libm/math/wf_acos.c: Ditto.
477 * libm/math/wf_asin.c: Ditto.
478 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
479 * libm/math/wf_log.c: Ditto.
480 * libm/math/wf_log10.c: Ditto.
481 * libm/math/w_log10.c: Ditto.
483 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
485 * libc/machine/m68k/Makefile.am: Temporarily remove
486 memcpy.S and memset.S until logic can be confirmed for
487 !(__mcoldfile__) case.
488 * libc/machine/m68k/Makefile.in: Regenerated.
490 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
492 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
494 * libc/machine/m68k/Makefile.in: Regenerate.
495 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
497 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
499 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
500 overridden via machine/ieeefp.h.
501 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
502 macros for isnan and related macros.
503 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
504 overridden via machine/ieeefp.h.
505 * libm/machine/spu/Makefile.am: Add new files.
506 * libm/machine/spu/Makefile.in: Autogenerate with new files.
507 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
508 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
509 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
510 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
511 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
512 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
513 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
515 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
517 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
518 * libm/common/sf_fpclassify.c: ...here. New file.
519 * libm/common/Makefile.am: Add sf_fpclassify.c.
520 * libm/common/Makefile.in: Regenerated.
522 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
524 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
525 ppu linux values. This file is a copy of the cris/sys/errno.h plus
526 a few changes (see spu errno.h comments).
528 2007-04-25 Eric Blake <ebb9@byu.net>
530 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
533 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
535 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
536 we clear the proper bits in the fpscr, and don't set some random ones.
538 2007-04-24 Eric Blake <ebb9@byu.net>
540 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
543 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
546 * libc/include/limits.h (NL_ARGMAX): Define a default value.
547 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
548 NL_ARGMAX, if present.
550 2007-04-23 Brian Dessent <brian@dessent.net>
552 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
553 has been specified with types 'f', 'F', 'g', or 'G', ensure the
554 trailing decimal is printed.
556 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
558 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
559 file. Override Autoconf-2.59's version of these macros with
560 fixed handling of multiple adjacent whitespace in arguments.
561 * aclocal.m4: Regenerated forcefully.
563 * Makefile.in: Ditto.
564 * libc/*Makefile.in: Ditto.
565 * libc/*aclocal.m4: Ditto.
566 * libc/*configure: Ditto.
567 * libm/*Makefile.in: Ditto.
568 * libm/*aclocal.m4: Ditto.
569 * libm/*configure: Ditto.
571 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
573 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
574 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
575 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
576 * libc/sys/arc/Makefile.in: Regenerated.
578 2007-04-17 Brian Dessent <brian@dessent.net>
580 * libc/stdio/sscanf.c: Update documentation comments.
581 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
583 2007-04-12 Eric Blake <ebb9@byu.net>
585 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
586 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
587 (get_arg): Handle %1$F, %1$n.
589 2007-04-10 Eric Blake <ebb9@byu.net>
591 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
594 2007-04-09 Eric Blake <ebb9@byu.net>
596 * libc/include/stdio.h: Add gcc format attributes to printf and
599 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
601 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
602 even if the passed in length n is shorter than the source string.
603 This matches both the non-spu specific and the glibc strxfrm
606 2007-04-04 Mark Mitchell <mark@codesourcery.com>
608 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
609 functions registering additional atexit functions.
611 * testsuite/lib/flags.exp (newlib_include_flags): Drop
614 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
616 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
618 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
619 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
620 * libc/machine/spu/fclose.c: Ditto.
621 * libc/machine/spu/feof.c: Ditto.
622 * libc/machine/spu/ferror.c: Ditto.
623 * libc/machine/spu/fflush.c: Ditto.
624 * libc/machine/spu/fgetc.c: Ditto.
625 * libc/machine/spu/fgetpos.c: Ditto.
626 * libc/machine/spu/fgets.c: Ditto.
627 * libc/machine/spu/fileno.c: Ditto.
628 * libc/machine/spu/fopen.c: Ditto.
629 * libc/machine/spu/fprintf.c: Ditto.
630 * libc/machine/spu/fputc.c: Ditto.
631 * libc/machine/spu/fputs.c: Ditto.
632 * libc/machine/spu/fread.c: Ditto.
633 * libc/machine/spu/freopen.c: Ditto.
634 * libc/machine/spu/fscanf.c: Ditto.
635 * libc/machine/spu/fseek.c: Ditto.
636 * libc/machine/spu/fsetpos.c: Ditto.
637 * libc/machine/spu/ftell.c: Ditto.
638 * libc/machine/spu/fwrite.c: Ditto.
639 * libc/machine/spu/getc.c: Ditto.
640 * libc/machine/spu/getchar.c: Ditto.
641 * libc/machine/spu/gets.c: Ditto.
642 * libc/machine/spu/perror.c: Ditto.
643 * libc/machine/spu/printf.c: Ditto.
644 * libc/machine/spu/putc.c: Ditto.
645 * libc/machine/spu/putchar.c: Ditto.
646 * libc/machine/spu/puts.c: Ditto.
647 * libc/machine/spu/remove.c: Ditto.
648 * libc/machine/spu/rename.c: Ditto.
649 * libc/machine/spu/rewind.c: Ditto.
650 * libc/machine/spu/scanf.c: Ditto.
651 * libc/machine/spu/setbuf.c: Ditto.
652 * libc/machine/spu/setvbuf.c: Ditto.
653 * libc/machine/spu/snprintf.c: Ditto.
654 * libc/machine/spu/sprintf.c: Ditto.
655 * libc/machine/spu/sscanf.c: Ditto.
656 * libc/machine/spu/tmpfile.c: Ditto.
657 * libc/machine/spu/tmpnam.c: Ditto.
658 * libc/machine/spu/ungetc.c: Ditto.
659 * libc/machine/spu/vfprintf.c: Ditto.
660 * libc/machine/spu/vfscanf.c: Ditto.
661 * libc/machine/spu/vprintf.c: Ditto.
662 * libc/machine/spu/vscanf.c: Ditto.
663 * libc/machine/spu/vsnprintf.c: Ditto.
664 * libc/machine/spu/vsprintf.c: Ditto.
665 * libc/machine/spu/vsscanf.c: Ditto.
667 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
669 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
671 2007-04-04 Eric Blake <ebb9@byu.net>
673 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
674 (asiprintf): Avoid overhead.
675 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
676 (asprintf): Avoid overhead.
677 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
678 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
679 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
680 (fiprintf): Avoid overhead.
681 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
682 (fprintf): Avoid overhead.
683 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
684 (iprintf): Avoid overhead.
685 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
686 (printf): Avoid overhead.
687 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
688 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
689 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
690 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
691 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
692 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
693 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
694 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
695 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
697 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
698 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
700 2007-03-30 Dave Korn <dave.korn@artimi.com>
702 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
703 conflicting inline semantics between C99 and GNU89.
704 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
705 compatible with -fkeep-inline-functions usage.
706 (__sputc_r): Likewise for consistency even though disabled.
708 2007-03-29 Nick Clifton <nickc@redhat.com>
710 Reflect changes made to generic vfprintf.c:
711 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
712 and add a "struct reent *" argument.
713 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
714 argument and call _VFPRINTF_R instead of VFPRINTF.
715 (_VFPRINTF_R): Add data pointer to call to cantwrite().
716 Fix uses of __sprint() and __sbprintf.
718 2007-03-20 Nick Clifton <nickc@redhat.com>
720 Reflect changes made to generic vfprintf.c:
721 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
722 and add a "struct reent *" argument.
723 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
724 argument and call _VFPRINTF_R instead of VFPRINTF.
725 (_VFPRINTF_R): Add data pointer to call to cantwrite().
726 Fix uses of __sprint() and __sbprintf.
728 2007-03-16 Charles Wilson <cygwin@...>
730 * libc/argz/argz_insert.c: "before" pointer is
731 invalid after *argz realloc. Compute offset
732 between "before" and *argz, and use it after
733 reallocation instead.
735 2007-03-16 Eric Blake <ebb9@byu.net>
737 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
738 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
740 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
742 * configure.in: Add new --enable-newlib-reent-small option.
743 * configure: Regenerated.
744 * acconfig.h: Add _WANT_REENT_SMALL.
745 * newlib.hin: Regenerated minus PACKAGE macros to add
746 _WANT_REENT_SMALL macro.
747 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
749 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
751 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
752 use reentrant pointer passed in when resetting the file
753 pointer to one of the std streams.
755 2007-03-15 Eric Blake <ebb9@byu.net>
757 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
758 (__smakebuf): Rename...
759 (__smakebuf_r): to this.
760 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
761 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
762 allocation, then rename...
763 (__smakebuf_r): ...to this and fix reentrancy.
764 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
765 allocation, then rename...
766 (__swsetup_r): ...to this and fix reentrancy.
767 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
768 * libc/stdio/refill.c (__srefill_r): Likewise.
769 * libc/stdio/fclose.c (_fclose_r): Likewise.
770 * libc/stdio/fread.c (_fread_r): Likewise.
771 * libc/stdio/freopen.c (_freopen_r): Likewise.
772 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
773 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
774 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
775 failed asprintf allocation, and fix reentrancy.
776 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
777 as required by POSIX.
778 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
779 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
780 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
782 2007-03-12 Eric Blake <ebb9@byu.net>
784 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
785 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
786 allocation to caller.
787 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
788 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
789 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
791 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
793 * libm/math/w_pow.c: Fix typo in documentation comment.
795 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
797 * libc/reent/timer.c: Removed (split into two new files).
798 * libc/reent/timesr.c: New file for _times_r.
799 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
800 * reent/Makefile.in: Remove timer.c, add timesr.c and
802 * libc/reent/Makefile.am: Regenerate.
804 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
806 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
808 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
810 * libc/machine/spu/Makefile.am: Add new objects.
811 * libc/machine/spu/Makefile.in: Regenerated.
812 * libc/machine/spu/fiprintf.c: New file. Add implementation of
813 integer-only version.
814 * libc/machine/spu/fiscanf.c: Ditto.
815 * libc/machine/spu/iprintf.c: Ditto.
816 * libc/machine/spu/iscanf.c: Ditto.
817 * libc/machine/spu/siprintf.c: Ditto.
818 * libc/machine/spu/siscanf.c: Ditto.
819 * libc/machine/spu/sniprintf.c: Ditto.
820 * libc/machine/spu/vfiprintf.c: Ditto.
821 * libc/machine/spu/vfiscanf.c: Ditto.
822 * libc/machine/spu/viprintf.c: Ditto.
823 * libc/machine/spu/viscanf.c: Ditto.
824 * libc/machine/spu/vsiprintf.c: Ditto.
825 * libc/machine/spu/vsiscanf.c: Ditto.
826 * libc/machine/spu/vsniprintf.c: Ditto.
827 * libc/machine/spu/fprintf.c: Add support for integer-only
829 * libc/machine/spu/fscanf.c: Ditto.
830 * libc/machine/spu/printf.c: Ditto.
831 * libc/machine/spu/scanf.c: Ditto.
832 * libc/machine/spu/snprintf.c: Ditto.
833 * libc/machine/spu/sprintf.c: Ditto.
834 * libc/machine/spu/sscanf.c: Ditto.
835 * libc/machine/spu/vfprintf.c: Ditto.
836 * libc/machine/spu/vfscanf.c: Ditto.
837 * libc/machine/spu/vprintf.c: Ditto.
838 * libc/machine/spu/vscanf.c: Ditto.
839 * libc/machine/spu/vsnprintf.c: Ditto.
840 * libc/machine/spu/vsprintf.c: Ditto.
841 * libc/machine/spu/vsscanf.c: Ditto.
843 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
845 * libc/include/stdio.h: Add declaration for vsiprintf.
847 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
849 Add a floating point environment for SPU (cell):
851 * configure.host: add libm_machine_dir=spu.
852 * libm/machine/configure: Add spu.
853 * libm/machine/configure.in: regenerated with spu added.
854 * libc/machine/spu/include/fenv.h: New file.
855 * libc/machine/spu/sys/fenv.h: Ditto.
856 * libm/machine/spu/Makefile.am: Ditto.
857 * libm/machine/spu/Makefile.in: Ditto.
858 * libm/machine/spu/aclocal.m4: Ditto.
859 * libm/machine/spu/configure: Ditto.
860 * libm/machine/spu/configure.in: Ditto.
861 * libm/machine/spu/fe_dfl_env.c: Ditto.
862 * libm/machine/spu/feclearexcept.c: Ditto.
863 * libm/machine/spu/fegetenv.c: Ditto.
864 * libm/machine/spu/fegetexceptflag.c: Ditto.
865 * libm/machine/spu/fegetround.c: Ditto.
866 * libm/machine/spu/feholdexcept.c: Ditto.
867 * libm/machine/spu/feraiseexcept.c: Ditto.
868 * libm/machine/spu/fesetenv.c: Ditto.
869 * libm/machine/spu/fesetexceptflag.c: Ditto.
870 * libm/machine/spu/fesetround.c: Ditto.
871 * libm/machine/spu/fetestexcept.c: Ditto.
872 * libm/machine/spu/feupdateenv.c: Ditto.
873 * libm/machine/spu/headers/feclearexcept.h: Ditto.
874 * libm/machine/spu/headers/fefpscr.h: Ditto.
875 * libm/machine/spu/headers/fegetenv.h: Ditto.
876 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
877 * libm/machine/spu/headers/fegetround.h: Ditto.
878 * libm/machine/spu/headers/feholdexcept.h: Ditto.
879 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
880 * libm/machine/spu/headers/fesetenv.h: Ditto.
881 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
882 * libm/machine/spu/headers/fesetround.h: Ditto.
883 * libm/machine/spu/headers/fetestexcept.h: Ditto.
884 * libm/machine/spu/headers/feupdateenv.h: Ditto.
886 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
888 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
891 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
893 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
894 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
896 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
898 * libc/include/sys/features.h: Add definition of all supported
899 _POSIX_xxx values for Cygwin.
900 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
902 (pthread_rwlockattr_t): Ditto.
903 * libc/include/sys/unistd.h: Define all _SC_xxx values as
904 required by SUSv3. Unify formatting.
906 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
908 * libc/include/sys/errno.h: Add ECANCELED.
910 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
911 Kazunori Asayama <asayama@sm.sony.co.jp>
913 * libc/machine/spu/Makefile.am: Add objects.
914 * libc/machine/spu/Makefile.in: Regenerated.
915 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
917 * libc/machine/spu/snprintf.c: Ditto.
918 * libc/machine/spu/sprintf.c: Ditto.
919 * libc/machine/spu/sscanf.c: Ditto.
920 * libc/machine/spu/remove.c: Ditto.
921 * libc/machine/spu/rename.c: Ditto.
922 * libc/machine/spu/tmpnam.c: Ditto.
923 * libc/machine/spu/vsnprintf.c: Add initialization routine of
925 * libc/machine/spu/vsprintf.c: Ditto.
927 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
928 Kazunori Asayama <asayama@sm.sony.co.jp>
930 * configure.host: Enable SPU specific stdio directory.
931 * libc/machine/spu/Makefile.am: Add objects.
932 * libc/machine/spu/Makefile.in: Regenerated.
933 * libc/machine/spu/c99ppe.h: Add macros and function
934 declarations to initialize SPU specific stdio stuffs.
935 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
936 specific FILE structures.
937 * libc/machine/spu/perror.c: Add initialization routine of
939 * libc/machine/spu/printf.c: Ditto.
940 * libc/machine/spu/putchar.c: Ditto.
941 * libc/machine/spu/puts.c: Ditto.
942 * libc/machine/spu/vprintf.c: Ditto.
943 * libc/machine/spu/clearerr.c: New file. Add a stdio function
945 * libc/machine/spu/feof.c: Ditto.
946 * libc/machine/spu/ferror.c: Ditto.
947 * libc/machine/spu/fileno.c: Ditto.
948 * libc/machine/spu/fopen.c: Ditto.
949 * libc/machine/spu/fclose.c: Ditto.
950 * libc/machine/spu/freopen.c: Ditto.
951 * libc/machine/spu/fflush.c: Ditto.
952 * libc/machine/spu/fseek.c: Ditto.
953 * libc/machine/spu/ftell.c: Ditto.
954 * libc/machine/spu/rewind.c: Ditto.
955 * libc/machine/spu/fgetpos.c: Ditto.
956 * libc/machine/spu/fsetpos.c: Ditto.
957 * libc/machine/spu/fread.c: Ditto.
958 * libc/machine/spu/fwrite.c: Ditto.
959 * libc/machine/spu/getc.c: Ditto.
960 * libc/machine/spu/getchar.c: Ditto.
961 * libc/machine/spu/gets.c: Ditto.
962 * libc/machine/spu/fgetc.c: Ditto.
963 * libc/machine/spu/fgets.c: Ditto.
964 * libc/machine/spu/ungetc.c: Ditto.
965 * libc/machine/spu/putc.c: Ditto.
966 * libc/machine/spu/fputc.c: Ditto.
967 * libc/machine/spu/fputs.c: Ditto.
968 * libc/machine/spu/vfprintf.c: Ditto.
969 * libc/machine/spu/vfscanf.c: Ditto.
970 * libc/machine/spu/fprintf.c: Ditto.
971 * libc/machine/spu/fscanf.c: Ditto.
972 * libc/machine/spu/scanf.c: Ditto.
973 * libc/machine/spu/vscanf.c: Ditto.
974 * libc/machine/spu/setbuf.c: Ditto.
975 * libc/machine/spu/setvbuf.c: Ditto.
976 * libc/machine/spu/tmpfile.c: Ditto.
978 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
980 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
981 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
982 around stdio macros that manipulate fields in the normal file
984 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
985 <sys/custom_file.h> to define custom FILE structure.
986 * libc/include/sys/custom_file.h: New default header file
987 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
988 * libc/machine/spu/sys/custom_file.h: New file.
990 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
992 * configure.host: Define stdio directory as a variable.
993 * libc/Makefile.am: Define stdio related names
995 * libc/configure.in: Add detection routine of stdio directory.
996 * libc/Makefile.in: Regenerated.
997 * libc/configure: Ditto.
998 * libc/argz/Makefile.in: Ditto.
999 * libc/ctype/Makefile.in: Ditto.
1000 * libc/errno/Makefile.in: Ditto.
1001 * libc/iconv/Makefile.in: Ditto.
1002 * libc/iconv/ccs/Makefile.in: Ditto.
1003 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1004 * libc/iconv/ces/Makefile.in: Ditto.
1005 * libc/iconv/lib/Makefile.in: Ditto.
1006 * libc/locale/Makefile.in: Ditto.
1007 * libc/misc/Makefile.in: Ditto.
1008 * libc/posix/Makefile.in: Ditto.
1009 * libc/reent/Makefile.in: Ditto.
1010 * libc/search/Makefile.in: Ditto.
1011 * libc/signal/Makefile.in: Ditto.
1012 * libc/stdio/Makefile.in: Ditto.
1013 * libc/stdio64/Makefile.in: Ditto.
1014 * libc/stdlib/Makefile.in: Ditto.
1015 * libc/string/Makefile.in: Ditto.
1016 * libc/syscalls/Makefile.in: Ditto.
1017 * libc/time/Makefile.in: Ditto.
1018 * libc/unix/Makefile.in: Ditto.
1020 2007-01-30 Ben Elliston <bje@au.ibm.com>
1022 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1024 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1025 (printf): Pass fmt to va_start to suppress a warning.
1027 * libc/search/hash.c (init_hash): Make `info' parameter const.
1029 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1031 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1032 * libc/machine/spu/vec_literal.h: Ditto.
1033 * libc/machine/spu/strncmp.c: Ditto.
1035 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1036 Kazu Hirata <kazu@codesourcery.com>
1038 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1039 for E500V1 and E500V2.
1041 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1043 * libm/configure.in: Always configure machine directory.
1044 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1046 * libm/configure: Regenerated.
1047 * libm/Makefile.in: Ditto.
1048 * libm/*/Makefile.in: Ditto.
1050 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1052 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1054 2007-01-02 Ben Elliston <bje@au.ibm.com>
1056 * doc/makedoc.c: Include <stdlib.h>.
1057 (malloc, realloc): Remove extern declarations.
1059 2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
1061 * NEWS: Update with 1.15.0 info.
1063 * acinclude.m4: Change version number to 1.15.0.
1064 * aclocal.m4: Regenerated.
1066 * doc/aclocal.m4: Ditto.
1067 * doc/configure: Ditto.
1068 * libc/*/aclocal.m4: Ditto.
1069 * libc/*/configure: Ditto.
1070 * libc/libc.texinfo: Ditto.
1071 * libm/*/aclocal.m4: Ditto.
1072 * libm/*/configure: Ditto.
1073 * libm/libm.texinfo: Ditto.
1074 * libc/sys/linux/shared.ld: Add VERS_1.15.
1076 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1078 Merge from newlib-csl-20060320-branch:
1079 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1080 Kazu Hirata <kazu@codesourcery.com>
1082 * configure.host: Recognize fido.
1084 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1086 * libc/machine/spu/c99ppe.h: New file
1087 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1088 * libc/machine/spu/printf.c: New file
1089 * libc/machine/spu/putchar.c: New file
1090 * libc/machine/spu/puts.c: New file
1091 * libc/machine/spu/vprintf.c: New file
1092 * libc/machine/spu/vsnprintf.c: New file
1093 * libc/machine/spu/vsprintf.c: New file
1094 * libc/machine/spu/Makefile.am: Add new targets.
1095 * libc/machine/spu/Makefile.in: Regenerated.
1097 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1099 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1100 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1102 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1104 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1105 2.6.5 version of Doug Lea's malloc which is the basis of
1108 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1110 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1112 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1113 Eric Blake <ebb9@byu.net>
1115 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1116 read but unused data.
1117 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1118 even read streams may have side effects that must happen.
1120 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1122 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1125 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1127 * libc/include/alloca.h: Add undef alloca to work with xlc.
1129 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1131 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1134 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1136 * libc/machine/spu/strncpy.c: Add padding.
1138 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1140 * testsuite/newlib.string/tstring.c:
1142 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1144 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1145 * libc/machine/spu/strrchr.c: Ditto.
1147 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1149 * libc/include/math.h: Allow C99 functions/macros to be
1150 defined for C++ even when __STRICT_ANSI__.
1152 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1154 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1155 an asprintf-family buffer, make the default initial size 64.
1157 2006-11-29 Eric Blake <ebb9@byu.net>
1159 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1160 asprintf, as well as quadratic realloc behavior.
1162 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1164 * libc/machine/spu/memset.c: Fix type of explicit cast.
1165 * libc/machine/spu/strncmp.c: Add explicit cast.
1166 * libc/machine/spu/strrchr.c: Ditto.
1167 * libc/machine/spu/strspn.c: Ditto.
1169 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1171 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1172 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1173 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1174 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1175 * libc/machine/spu/strncat.c: Explicit cast.
1176 * libc/machine/spu/strncmp.c: Use spu_splats.
1177 * libc/machine/spu/strncpy.c: Explicit cast.
1178 * libc/machine/spu/strrchr.c: Use spu_splats.
1179 * libc/machine/spu/strspn.c: Use spu_splats.
1181 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1183 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1185 2006-11-14 Eric Blake <ebb9@byu.net>
1187 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1188 (chclass): ' is a flag. j, t, and z are modifiers.
1190 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1192 * configure.host: Add support for bfin.
1193 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1194 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1195 * libc/machine/bfin/aclocal.m4: Generate.
1196 * libc/machine/bfin/configure.in: New.
1197 * libc/machine/bfin/configure: Generate.
1198 * libc/machine/bfin/Makefile.am: New.
1199 * libc/machine/bfin/Makefile.in: Generate.
1200 * libc/machine/bfin/setjmp.S: New.
1201 * libc/machine/bfin/longjmp.S: New.
1202 * libc/machine/configure.in: Add bfin support.
1203 * libc/machine/configure: Generate.
1205 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1207 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1208 (_PC_FILESIZEBITS): Add definition.
1209 (_PC_2_SYMLINKS): Ditto.
1210 (_PC_SYMLINK_MAX): Ditto.
1212 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1214 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1215 version optimized for the cell spu.
1216 * libc/machine/spu/memmove.c: Ditto.
1217 * libc/machine/spu/memset.c: Ditto.
1218 * libc/machine/spu/strcat.c: Ditto.
1219 * libc/machine/spu/strchr.c: Ditto.
1220 * libc/machine/spu/strcmp.c: Ditto.
1221 * libc/machine/spu/strcpy.c: Ditto.
1222 * libc/machine/spu/strcspn.c: Ditto.
1223 * libc/machine/spu/strlen.c: Ditto.
1224 * libc/machine/spu/strncat.c: Ditto.
1225 * libc/machine/spu/strncmp.c: Ditto.
1226 * libc/machine/spu/strncpy.c: Ditto.
1227 * libc/machine/spu/strpbrk.c: Ditto.
1228 * libc/machine/spu/strrchr.c: Ditto.
1229 * libc/machine/spu/strspn.c: Ditto.
1230 * libc/machine/spu/strxfrm.c: Ditto.
1231 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1232 removing altivec style initializers.
1233 * libc/machine/spu/Makefile.am: Add new files to list so they build
1234 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1236 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1238 * README: Add a brief section on how to regenerate
1239 configuration files in newlib.
1241 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1243 * libc/include/math.h: (exception): Add a comment
1244 telling fixincludes that we handle C vs. C++ issue.
1246 2006-10-11 Yang Tse <yangsita@gmail.com>
1248 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1251 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1253 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1255 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1257 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1258 for clearerr, feof, or fileno.
1259 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1260 the dummy std stream scheme to use pointers to const external
1261 fake files, one for each standard stream.
1262 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1263 argument. For _REENT_SMALL, reset the file pointer if it
1264 matches one of the fake std stream pointers.
1265 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1267 * libc/stdio/fclose.c: Ditto.
1268 * libc/stdio/feof.c: Ditto.
1269 * libc/stdio/ferror.c: Ditto.
1270 * libc/stdio/fflush.c: Ditto.
1271 * libc/stdio/fgetc.c: Ditto.
1272 * libc/stdio/fgets.c: Ditto.
1273 * libc/stdio/fileno.c: Ditto.
1274 * libc/stdio/findfp.c: Ditto.
1275 * libc/stdio/fputc.c: Ditto.
1276 * libc/stdio/fputs.c: Ditto.
1277 * libc/stdio/fread.c: Ditto.
1278 * libc/stdio/freopen.c: Ditto.
1279 * libc/stdio/fseek.c: Ditto.
1280 * libc/stdio/ftell.c: Ditto.
1281 * libc/stdio/fwrite.c: Ditto.
1282 * libc/stdio/getc.c: Ditto.
1283 * libc/stdio/getdelim.c: Ditto.
1284 * libc/stdio/putc.c: Ditto.
1285 * libc/stdio/refill.c: Ditto.
1286 * libc/stdio/setvbuf.c: Ditto.
1287 * libc/stdio/ungetc.c: Ditto.
1288 * libc/stdio/vfprintf.c: Ditto.
1289 * libc/stdio/vfscanf.c: Ditto.
1290 * libc/stdio/wbuf.c: Ditto.: Ditto.
1291 * libc/stdio/wsetup.c: Ditto.
1292 * libc/stdio64/freopen64.c: Ditto.
1293 * libc/stdio64/fseeko64.c: Ditto.
1294 * libc/stdio64/ftello64.c: Ditto.
1295 * libc/machine/powerpc/vfprintf.c: Ditto.
1296 * libc/machine/powerpc/vfscanf.c: Ditto.
1298 2006-09-22 Paul Brook <paul@codesourcery.com>
1300 * libc/include/sys/reent.h: Define and use __reent_assert.
1302 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1304 * libc/include/pthread.h: Add pthread barriers,
1305 rwlocks, and spinlocks. Change const to
1306 _CONST and prefix parameter names with
1308 * libc/include/sys/types.h: Add id and attribute
1309 types for barriers, wrlocks, and spinlocks.
1310 * libc/include/sys/features.h: Enable barriers,
1311 wrlocks, and spinlocks for RTEMS.
1313 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1315 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1316 supposed to be writable.
1317 * libm/common/s_lib_ver.c: Ditto.
1319 2006-09-12 Paul Brook <paul@codesourcery.com>
1321 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1323 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1326 * libc/machine/xstormy16/Makefile.am:
1327 Add $(lpfx) prefix to LIBADD objects.
1328 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1329 * libc/machine/xstormy16/Makefile.in: Regenerated.
1331 2006-09-06 Eric Blake <ebb9@byu.net>
1333 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1334 't', and 'z' modifiers.
1336 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1338 Merge from newlib-csl-20060320-branch:
1339 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1341 * configure.host: Tell it we have _rename and _system when
1342 building m68k-unknown-elf.
1344 2006-08-29 Paul Brook <paul@codesourcery.com>
1346 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1348 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1350 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1351 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1352 This is needed to build all AVR and H8300 RTEMS multilib variants.
1354 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1356 * libc/machine/configure.in: Add configuration for SPU.
1357 * libc/machine/configure: Regenerated.
1358 * libc/machine/spu/memcpy.c: Include string.h.
1360 2006-08-22 Eric Blake <ebb9@byu.net>
1362 * libc/posix/popen.c (popen): Don't close output end of pipe in
1363 child if stdout was closed on entry.
1364 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1366 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1368 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1371 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1373 * libc/time/gmtime.c: Correct man page; clock is not a
1374 local time and no conversion occurs.
1376 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1378 * configure.host (newlib_cflags) [spu]: Add special compiler
1379 options to reduce size.
1381 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1383 * configure.host: Add spu support.
1384 * libc/include/stdint.h: Ditto.
1385 * libc/include/machine/ieeefp.h: Ditto.
1386 * libc/include/machine/setjmp.h: Ditto.
1387 * libc/include/sys/config.h: Ditto.
1388 * libc/include/sys/types.h: Ditto.
1389 * libc/machine/spu/Makefile.am: New file.
1390 * libc/machine/spu/Makefile.in: Ditto.
1391 * libc/machine/spu/aclocal.m4: Ditto.
1392 * libc/machine/spu/configure: Ditto.
1393 * libc/machine/spu/configure.in: Ditto.
1394 * libc/machine/spu/memcpy.c: Ditto.
1395 * libc/machine/spu/setjmp.S: Ditto.
1397 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1399 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1402 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1404 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1405 generated .texi files.
1406 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1407 generated .texi files.
1408 * libc/Makefile.in: Regenerated.
1409 * libm/Makefile.in: Ditto.
1411 2006-08-01 Thiemo Seufer <ths@mips.com>
1412 Nigel Stephens <nigel@mips.com>
1414 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1415 define this to force _impure_ptr to live in the .sdata section.
1417 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1419 * acinclude.m4: Check for readelf tool.
1420 * configure.in: Use ${READELF} instead of hard-coding.
1421 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1423 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1425 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1426 to avoid conflict with newer glibc's revision of mremap.
1428 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1430 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1431 floating-point format support. Also redefine
1432 dword0 and dword1 macros.
1433 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1434 to prevent setting dword1 which is an rvalue only.
1436 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1438 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1439 * libc/stdlib/Makefile.in: Regenerated.
1440 * libc/stdlib/gd_qnan.h: New file.
1441 * libc/stdlib/gdtoa-gethex.c: Ditto.
1442 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1443 * libc/stdlib/gdtoa.h: Ditto.
1444 * libc/stdlib/mprec.c: Add new helper routines needed by
1446 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1447 used by gdtoa routines here.
1448 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1449 which adds C99 support such as nan, inf, and hexadecimal input
1452 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1454 * libc/include/stdio.h (__sgetc_r): Fix typo.
1455 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1456 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1457 * libc/stdio/wbuf.c (__swbuf): Ditto.
1459 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1461 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1462 read/write functions. Change getc/putc macros to have reentrant underlying
1463 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1464 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1465 new reentrant I/O functions/macros for reading/writing.
1466 * libc/stdio/fgets.c: Ditto.
1467 * libc/stdio/fputc.c: Ditto.
1468 * libc/stdio/fputs.c: Ditto.
1469 * libc/stdio/fread.c: Ditto.
1470 * libc/stdio/fseek.c: Ditto.
1471 * libc/stdio64/fseeko64.c: Ditto.
1472 * libc/stdio/fwrite.c: Ditto.
1473 * libc/stdio/getc.c: Ditto.
1474 * libc/stdio/getc_u.c: Ditto.
1475 * libc/stdio/getchar.c: Ditto.
1476 * libc/stdio/getchar_u.c: Ditto.
1477 * libc/stdio/putc.c: Ditto.
1478 * libc/stdio/putc_u.c: Ditto.
1479 * libc/stdio/putchar.c: Ditto.
1480 * libc/stdio/puts.c: Ditto.
1481 * libc/stdio/vfprintf.c: Ditto.
1482 * libc/stdio/vfscanf.c: Ditto.
1483 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1484 Change all previous callers of __sfvwrite. Set errno to EBADF and
1485 set error flag on if attempt is made to write to file that does not
1487 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1488 * libc/stdio/local.h: Ditto.
1489 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1490 Set errno to EBADF and the error flag on if attempt is made to
1491 read unreadable file. Change all previous callers of __srefill.
1493 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1494 all previous callers of __swbuf.
1495 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1496 huge value macros are already defined correctly for i386 by <math.h>.
1498 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1500 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1501 Make them do something useful in the ARM_RDI_MONITOR case.
1503 2006-06-07 Fred Fish <fnf@specifix.com>
1505 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1506 defines that are already supplied by <sys/param.h>.
1508 2006-06-07 Fred Fish <fnf@specifix.com>
1510 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1512 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1514 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1516 * libc/posix/Makefile.in: Regenerate.
1517 * libc/posix/sleep.c: New file.
1518 * libc/posix/usleep.c: Ditto.
1520 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1522 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1523 -DABORT_PROVIDED flag.
1524 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1525 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1527 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1529 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1530 * Makefile.in: Regenerated.
1531 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1532 extraneous CFLAGS reference now that CCASFLAGS are being extended
1533 properly via multilib.
1534 * libc/machine/sh/Makefile.in: Regenerated.
1536 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1538 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1541 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1543 * libc/misc/dprintf.c: Removed.
1544 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1545 * libc/misc/Makefile.am: Changed appropriately for rename.
1546 * libc/misc/Makefile.in: Regenerated.
1548 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1550 * libc/include/stdio.h: Protect dprintf prototype
1551 with #ifndef dprintf so as to not interfere with
1552 historical code defining their own dprintf macro.
1554 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1556 * libc/include/stdio.h: Add prototypes for fiscanf,
1557 iscanf, and siscanf.
1559 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1561 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1562 (DEF_NEWLIB_VERSION).
1563 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1564 * configure: Regenerate.
1566 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1568 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1570 * libc/ctype/Makefile.in: Regenerated.
1572 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1574 * libc/machine/arm/Makefile.am: Fix a typo.
1575 * libc/machine/arm/Makefile.in: Regenerated.
1577 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1579 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1580 * libc/machine/sh/Makefile.in: Regenerate.
1582 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1584 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1585 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1587 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1589 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1591 * libc/sys/sysnec810/Makefile.in: Regenerated.
1592 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1593 * libc/sys/sysnec810/io.S: Ditto.
1594 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1595 * libc/sys/sysnec810/io.s: Ditto.
1597 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1599 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1600 be specified instead of object, do so.
1601 * libc/ctype/Makefile.am: Ditto.
1602 * libc/iconv/ccs/Makefile.am: Ditto.
1603 * libc/iconv/ces/Makefile.am: Ditto.
1604 * libc/iconv/lib/Makefile.am: Ditto.
1605 * libc/locale/Makefile.am: Ditto.
1606 * libc/posix/Makefile.am: Ditto.
1607 * libc/reent/Makefile.am: Ditto.
1608 * libc/search/Makefile.am: Ditto.
1609 * libc/stdio/Makefile.am: Ditto.
1610 * libc/stdio64/Makefile.am: Ditto.
1611 * libc/stdlib/Makefile.am: Ditto.
1612 * libc/string/Makefile.am: Ditto.
1613 * libc/syscalls/Makefile.am: Ditto.
1614 * libc/unix/Makefile.am: Ditto.
1615 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1616 prefix added automatically. Any specified rules must use $(lpfx) for
1618 * libc/machine/arm/Makefile.am: Ditto.
1619 * libc/machine/cris/Makefile.am: Ditto.
1620 * libc/machine/crx/Makefile.am: Ditto.
1621 * libc/machine/d10v/Makefile.am: Ditto.
1622 * libc/machine/d30v/Makefile.am: Ditto.
1623 * libc/machine/fr30/Makefile.am: Ditto.
1624 * libc/machine/frv/Makefile.am: Ditto.
1625 * libc/machine/h8300/Makefile.am: Ditto.
1626 * libc/machine/h8500/Makefile.am: Ditto.
1627 * libc/machine/hppa/Makefile.am: Ditto.
1628 * libc/machine/i386/Makefile.am: Ditto.
1629 * libc/machine/i960/Makefile.am: Ditto.
1630 * libc/machine/iq2000/Makefile.am: Ditto.
1631 * libc/machine/m32c/Makefile.am: Ditto.
1632 * libc/machine/m32r/Makefile.am: Ditto.
1633 * libc/machine/m68hc11/Makefile.am: Ditto.
1634 * libc/machine/m68k/Makefile.am: Ditto.
1635 * libc/machine/m88k/Makefile.am: Ditto.
1636 * libc/machine/mips/Makefile.am: Ditto.
1637 * libc/machine/mn10200/Makefile.am: Ditto.
1638 * libc/machine/mn10300/Makefile.am: Ditto.
1639 * libc/machine/mt/Makefile.am: Ditto.
1640 * libc/machine/necv70/Makefile.am: Ditto.
1641 * libc/machine/powerpc/Makefile.am: Ditto.
1642 * libc/machine/sh/Makefile.am: Ditto.
1643 * libc/machine/sh/Makefile.in: Ditto.
1644 * libc/machine/sparc/Makefile.am: Ditto.
1645 * libc/machine/tic4x/Makefile.am: Ditto.
1646 * libc/machine/tic80/Makefile.am: Ditto.
1647 * libc/machine/v850/Makefile.am: Ditto.
1648 * libc/machine/w65/Makefile.am: Ditto.
1649 * libc/machine/xscale/Makefile.am: Ditto.
1650 * libc/machine/xstormy16/Makefile.am: Ditto.
1651 * libc/machine/z8k/Makefile.am: Ditto.
1652 * libc/sys/a29khif/Makefile.am: Ditto.
1653 * libc/sys/arm/Makefile.am: Ditto.
1654 * libc/sys/d10v/Makefile.am: Ditto.
1655 * libc/sys/h8300hms/Makefile.am: Ditto.
1656 * libc/sys/h8500hms/Makefile.am: Ditto.
1657 * libc/sys/linux/Makefile.am: Ditto.
1658 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1659 * libc/sys/linux/net/Makefile.am: Ditto.
1660 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1661 * libc/sys/m88kbug/Makefile.am: Ditto.
1662 * libc/sys/mmixware/Makefile.am: Ditto.
1663 * libc/sys/rdos/Makefile.am: Ditto.
1664 * libc/sys/rtems/Makefile.am: Ditto.
1665 * libc/sys/sh/Makefile.am: Ditto.
1666 * libc/sys/sun4/Makefile.am: Ditto.
1667 * libc/sys/sysmec/Makefile.am: Ditto.
1668 * libc/sys/sysnec810/Makefile.am: Ditto.
1669 * libc/sys/sysnecv850/Makefile.am: Ditto.
1670 * libc/sys/sysvi386/Makefile.am: Ditto.
1671 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1672 * libc/sys/tic80/Makefile.am: Ditto.
1673 * libc/sys/w65/Makefile.am: Ditto.
1674 * libc/sys/z8ksim/Makefile.am: Ditto.
1675 * libc/machine/necv70/fastmath.S: Renamed from .s file.
1676 * libc/machine/necv70/setjmp.S: Ditto.
1677 * libc/machine/necv70/fastmath.s: Removed.
1678 * libc/machine/necv70/setjmp.s: Ditto.
1679 * libc/machine/w65/*.S: New files renamed from .s files.
1680 * libc/machine/w65/*.s: Renamed and removed.
1681 * libc/sys/a29khif/*.S: New files renamed from .s files.
1682 * libc/sys/a29khif/*.s: Renamed and removed.
1683 * libc/sys/sysvi386/*.S: New files renamed from .s files.
1684 * libc/sys/sysvi386/*.s: Renamed and removed.
1685 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
1686 * libc/sys/sysvnecv70/*.s: Renamed and removed.
1687 * libc/*Makefile.in: Regenerated as appropriate.
1689 2006-04-24 DJ Delorie <dj@redhat.com>
1691 * libc/machine/sh/configure.in: Avoid link tests.
1692 * libc/machine/sh/configure: Regenerate.
1694 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
1696 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
1697 (sigaddset, sigemptyset): Add return code.
1699 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
1701 * acinclude.m4: New _NEWLIB_VERSION.
1702 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
1703 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
1704 Use new form of AC_INIT_AUTOMAKE.
1705 * configure.in: AC_PREREQ(2.59).
1706 Use autoconf-2.5.x version of AC_INIT.
1707 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
1708 autoconf-2.13's AC_OUTPUT.
1709 * libm/configure.in: Ditto.
1710 * libm/machine/configure.in: Ditto.
1711 * libm/machine/i386/configure.in: Ditto.
1712 * libc/configure.in: Ditto.
1713 * libc/machine/a29k/configure.in: Ditto.
1714 * libc/machine/arm/configure.in: Ditto.
1715 * libc/machine/configure.in: Ditto.
1716 * libc/machine/mn10300/configure.in: Ditto.
1717 * libc/machine/powerpc/configure.in: Ditto.
1718 * libc/machine/z8k/configure.in: Ditto.
1719 * libc/machine/h8300/configure.in: Ditto.
1720 * libc/machine/mips/configure.in: Ditto.
1721 * libc/machine/crx/configure.in: Ditto.
1722 * libc/machine/m68hc11/configure.in: Ditto.
1723 * libc/machine/h8500/configure.in: Ditto.
1724 * libc/machine/xscale/configure.in: Ditto.
1725 * libc/machine/d10v/configure.in: Ditto.
1726 * libc/machine/fr30/configure.in: Ditto.
1727 * libc/machine/sh/configure.in: Ditto.
1728 * libc/machine/tic80/configure.in: Ditto.
1729 * libc/machine/m32r/configure.in: Ditto.
1730 * libc/machine/xstormy16/configure.in: Ditto.
1731 * libc/machine/i386/configure.in: Ditto.
1732 * libc/machine/d30v/configure.in: Ditto.
1733 * libc/machine/mn10200/configure.in: Ditto.
1734 * libc/machine/frv/configure.in: Ditto.
1735 * libc/machine/mt/configure.in: Ditto.
1736 * libc/machine/i960/configure.in: Ditto.
1737 * libc/machine/v850/configure.in: Ditto.
1738 * libc/machine/necv70/configure.in: Ditto.
1739 * libc/machine/tic4x/configure.in: Ditto.
1740 * libc/machine/cris/configure.in: Ditto.
1741 * libc/machine/m68k/configure.in: Ditto.
1742 * libc/machine/m32c/configure.in: Ditto.
1743 * libc/machine/hppa/configure.in: Ditto.
1744 * libc/machine/w65/configure.in: Ditto.
1745 * libc/machine/iq2000/configure.in: Ditto.
1746 * libc/machine/sparc/configure.in: Ditto.
1747 * libc/machine/m88k/configure.in: Ditto.
1748 * libc/sys/linux/configure.in: Ditto.
1749 * libc/sys/linux/machine/configure.in: Ditto.
1750 * libc/sys/linux/machine/i386/configure.in: Ditto.
1751 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1752 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1753 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1754 * libc/sys/arm/configure.in: Ditto.
1755 * libc/sys/configure.in: Ditto.
1756 * libc/sys/decstation/configure.in: Ditto.
1757 * libc/sys/a29khif/configure.in: Ditto.
1758 * libc/sys/sysnecv850/configure.in: Ditto.
1759 * libc/sys/d10v/configure.in: Ditto.
1760 * libc/sys/netware/configure.in: Ditto.
1761 * libc/sys/mmixware/configure.in: Ditto.
1762 * libc/sys/h8500hms/configure.in: Ditto.
1763 * libc/sys/sh/configure.in: Ditto.
1764 * libc/sys/tic80/configure.in: Ditto.
1765 * libc/sys/rdos/configure.in: Ditto.
1766 * libc/sys/sysmec/configure.in: Ditto.
1767 * libc/sys/sysvi386/configure.in: Ditto.
1768 * libc/sys/h8300hms/configure.in: Ditto.
1769 * libc/sys/sparc64/configure.in: Ditto.
1770 * libc/sys/arc/configure.in: Ditto.
1771 * libc/sys/sysnec810/configure.in: Ditto.
1772 * libc/sys/m88kbug/configure.in: Ditto.
1773 * libc/sys/sysvnecv70/configure.in: Ditto.
1774 * libc/sys/z8ksim/configure.in: Ditto.
1775 * libc/sys/rtems/configure.in: Ditto.
1776 * libc/sys/w65/configure.in: Ditto.
1777 * libc/sys/sun4/configure.in: Ditto.
1778 * doc/configure.in: Ditto.
1779 * iconvdata/configure.in: Ditto.
1780 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
1782 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
1784 * acinclude.m4: Properly add square brackets for
1785 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
1786 macros no longer available. Add LIB_AM_PROG_AS to
1787 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
1788 macro. Substitute lpfx (library object prefix).
1789 * configure.host: Set lpfx depending on whether
1790 libtool is used or not.
1791 * configure.in: Individually specify libc and libm
1792 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
1794 * Makefile.am: Use $(lpfx) to get object names for
1795 math-library functions that should also be in libc.
1796 * libc/machine/configure.in: Use case statement to determine
1797 AC_CONFIG_SUBDIRS statement.
1798 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1799 * libc/sys/linux/machine/configure.in: Ditto.
1800 * libc/sys/configure.in: Ditto.
1801 * libm/machine/configure.in: Ditto.
1802 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
1803 * libm/configure.in: Add AM_CONDITIONAL statement
1804 for HAVE_LIBM_MACHINE_DIR.
1805 * libc/machine/a29k/Makefile.am: Modified to work with
1806 latest automake. Change includes setting AM_CCASFLAGS
1807 so building .S files will properly pick up flags used
1809 * libc/machine/arm/Makefile.am: Ditto.
1810 * libc/machine/crx/Makefile.am: Ditto.
1811 * libc/machine/d10v/Makefile.am: Ditto.
1812 * libc/machine/d30v/Makefile.am: Ditto.
1813 * libc/machine/fr30/Makefile.am: Ditto.
1814 * libc/machine/frv/Makefile.am: Ditto.
1815 * libc/machine/h8300/Makefile.am: Ditto.
1816 * libc/machine/h8500/Makefile.am: Ditto.
1817 * libc/machine/hppa/Makefile.am: Ditto.
1818 * libc/machine/i386/Makefile.am: Ditto.
1819 * libc/machine/iq2000/Makefile.am: Ditto.
1820 * libc/machine/m32c/Makefile.am: Ditto.
1821 * libc/machine/m32r/Makefile.am: Ditto.
1822 * libc/machine/m68hc11/Makefile.am: Ditto.
1823 * libc/machine/m68k/Makefile.am: Ditto.
1824 * libc/machine/m88k/Makefile.am: Ditto.
1825 * libc/machine/mips/Makefile.am: Ditto.
1826 * libc/machine/mn10200/Makefile.am: Ditto.
1827 * libc/machine/mn10300/Makefile.am: Ditto.
1828 * libc/machine/mt/Makefile.am: Ditto.
1829 * libc/machine/necv70/Makefile.am: Ditto.
1830 * libc/machine/powerpc/Makefile.am: Ditto.
1831 * libc/machine/sh/Makefile.am: Ditto.
1832 * libc/machine/sparc/Makefile.am: Ditto.
1833 * libc/machine/tic4x/Makefile.am: Ditto.
1834 * libc/machine/tic80/Makefile.am: Ditto.
1835 * libc/machine/v850/Makefile.am: Ditto.
1836 * libc/machine/w65/Makefile.am: Ditto.
1837 * libc/machine/xscale/Makefile.am: Ditto.
1838 * libc/machine/xstormy16/Makefile.am: Ditto.
1839 * libc/machine/z8k/Makefile.am: Ditto.
1840 * libc/sys/a29khif/Makefile.am: Ditto.
1841 * libc/sys/arc/Makefile.am: Ditto.
1842 * libc/sys/arm/Makefile.am: Ditto.
1843 * libc/sys/d10v/Makefile.am: Ditto.
1844 * libc/sys/decstation/Makefile.am: Ditto.
1845 * libc/sys/h8300hms/Makefile.am: Ditto.
1846 * libc/sys/h8500hms/Makefile.am: Ditto.
1847 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1848 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1849 * libc/sys/m88kbug/Makefile.am: Ditto.
1850 * libc/sys/mmixware/Makefile.am: Ditto.
1851 * libc/sys/netware/Makefile.am: Ditto.
1852 * libc/sys/rdos/Makefile.am: Ditto.
1853 * libc/sys/rtems/Makefile.am: Ditto.
1854 * libc/sys/sh/Makefile.am: Ditto.
1855 * libc/sys/sparc64/Makefile.am: Ditto.
1856 * libc/sys/sysmec/Makefile.am: Ditto.
1857 * libc/sys/sysnec810/Makefile.am: Ditto.
1858 * libc/sys/sysnecv850/Makefile.am: Ditto.
1859 * libc/sys/sysvi386/Makefile.am: Ditto.
1860 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1861 * libc/sys/tic80/Makefile.am: Ditto.
1862 * libc/sys/w65/Makefile.am: Ditto.
1863 * libc/sys/z8ksim/Makefile.am: Ditto.
1864 * libm/machine/i386/Makefile.am: Ditto.
1865 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
1866 trap.S so that automake will generate a .S.o suffix rule.
1867 * libc/argz/Makefile.am: Modified to work with
1868 latest automake. Change includes adding lib_a_CFLAGS
1869 so automake doesn't complain about libtool and non-libtool
1870 libraries sharing objects.
1871 * libc/ctype/Makefile.am: Ditto.
1872 * libc/errno/Makefile.am: Ditto.
1873 * libc/iconv/ccs/Makefile.am: Ditto.
1874 * libc/iconv/ces/Makefile.am: Ditto.
1875 * libc/iconv/lib/Makefile.am: Ditto.
1876 * libc/locale/Makefile.am: Ditto.
1877 * libc/misc/Makefile.am: Ditto.
1878 * libc/posix/Makefile.am: Ditto.
1879 * libc/reent/Makefile.am: Ditto.
1880 * libc/search/Makefile.am: Ditto.
1881 * libc/signal/Makefile.am: Ditto.
1882 * libc/stdio/Makefile.am: Ditto.
1883 * libc/stdio64/Makefile.am: Ditto.
1884 * libc/stdlib/Makefile.am: Ditto.
1885 * libc/string/Makefile.am: Ditto.
1886 * libc/sys/linux/Makefile.am: Ditto.
1887 * libc/sys/linux/argp/Makefile.am: Ditto.
1888 * libc/sys/linux/cmath/Makefile.am: Ditto.
1889 * libc/sys/linux/dl/Makefile.am: Ditto.
1890 * libc/sys/linux/iconv/Makefile.am: Ditto.
1891 * libc/sys/linux/intl/Makefile.am: Ditto.
1892 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1893 * libc/sys/linux/net/Makefile.am: Ditto.
1894 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1895 * libc/syscalls/Makefile.am: Ditto.
1896 * libc/time/Makefile.am: Ditto.
1897 * libc/unix/Makefile.am: Ditto.
1898 * libm/Makefile.am: Ditto.
1899 * libm/common/Makefile.am: Ditto.
1900 * libm/math/Makefile.am: Ditto.
1901 * libm/mathfp/Makefile.am: Ditto.
1902 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1904 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
1906 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
1907 anymore. Assume there is a gettimeofday syscall.
1909 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1911 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
1912 for the declaration of n_long.
1914 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1916 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
1918 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
1919 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
1920 (IFF_NOTRAILERS): New define.
1921 (struct ifreq): Add ifru_netmask.
1922 (ifr_netmask): New define.
1924 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1926 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
1929 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1931 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
1932 linux-newlib libc implementations.
1934 2006-03-29 Eric Blake <ebb9@byu.net>
1936 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
1937 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
1939 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1941 * libc/sys/linux/io.c (__mknod): Fix declaration of
1942 syscall to pass a dev_t as third argument rather than
1945 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1947 * libc/sys/linux/net/name6.c: Fix struct references.
1949 2006-03-22 Mark Mitchell <mark@codesourcery.com>
1951 * configure.host: Allow hosts to set the default
1952 newlib_atexit_dynamic_alloc value.
1953 * configure.in: Likewise.
1954 * configure: Regenerated.
1956 2006-03-20 Mark Mitchell <mark@codesourcery.com>
1958 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
1959 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
1961 * configure: Regenerated.
1962 * newlib.hin: Regenerated.
1963 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
1964 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1965 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
1966 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1968 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
1970 * libc/sys/linux/linuxthreads/config.h: Remove definition
1973 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
1975 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
1976 for a string I/O file that isn't using the asprintf family.
1978 2006-03-07 Eric Blake <ebb9@byu.net>
1980 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
1981 filename, allow read-only or write-only FILE atop O_RDWR file
1983 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
1985 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
1987 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
1988 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
1990 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
1992 * libm/math/math.tex: Fix reference to sisnan.def which
1993 is now in common subdirectory.
1994 * libm/mathfp/mathfp.tex: Ditto.
1996 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
1998 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
1999 s_isnand, and sf_isnanf object files.
2000 * Makefile.in: Regenerated.
2001 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2002 conflict if <math.h> has previously been included.
2003 * libc/include/math.h
2004 * libc/include/math.h: Make isnan and isinf macros to
2006 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2007 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2008 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2009 sf_isinf files which have been moved from math/mathfp directories.
2010 * libm/common/Makefile.in: Regenerated.
2011 * libm/common/s_isinfd.c: New file.
2012 * libm/common/s_isnand.c: Ditto.
2013 * libm/common/sf_isinff.c: Ditto.
2014 * libm/common/sf_isnanf.c: Ditto.
2015 * libm/common/s_isinf.c: Moved from libm/math directory.
2016 * libm/common/s_isnan.c: Ditto.
2017 * libm/common/sf_isinf.c: Ditto.
2018 * libm/common/sf_isnan.c: Ditto.
2019 * libm/math/Makefile.am: Remove isinf and isnan family functions
2020 which have been moved into common directory.
2021 * libm/mathfp/Makefile.am: Ditto.
2022 * libm/math/Makefile.in: Regenerated.
2023 * libm/mathfp/Makefile.in: Ditto.
2024 * libm/math/s_isinf.c: Removed.
2025 * libm/math/s_isnan.c: Ditto.
2026 * libm/math/sf_isinf.c: Ditto.
2027 * libm/math/sf_isnan.c: Ditto.
2028 * libm/mathfp/s_isinf.c: Ditto.
2029 * libm/mathfp/s_isnan.c: Ditto.
2030 * libm/mathfp/sf_isinf.c: Ditto.
2031 * libm/mathfp/sf_isnan.c: Ditto.
2033 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2035 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2036 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2037 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2038 seek, turn off the __SNPT no-optimization flag.
2040 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2042 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2044 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2045 <features.h> to preset special flags.
2047 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2049 * libc/include/sys/time.h (struct timeval): Change member types
2051 * libc/include/sys/types.h (useconds_t): Change to unsigned
2053 (suseconds_t): Define type.
2055 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2056 David Carne <davidcarne@gmail.com>
2058 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2059 instead of strlen to determine number of bytes to copy.
2060 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2061 before looking at storage location.
2063 2006-02-07 Paul Brook <paul@codesourcery.com>
2065 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2066 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2067 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2068 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2069 * libc/sys/arm/trap.S: Disable for Thumb-2.
2071 2006-01-31 Leif Ekblad <leif@rdos.net>
2073 * configure.host: RDOS support added
2074 * libc/include/sys/config.h: Ditto.
2075 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2076 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2077 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2078 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2079 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2080 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2081 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2082 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2083 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2084 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2085 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2086 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2087 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2088 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2089 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2090 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2091 * libc/sys/rdos/write.c: Ditto.
2093 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2095 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2096 so as not to define PACKAGE and VERSION in newlib.h.
2097 * aclocal.m4: Regenerated.
2099 * newlib.hin: Ditto.
2101 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2103 * acconfig.h: New file to generate newlib.hin from.
2104 * newlib.hin: Regenerated.
2105 * stamp-h.in: Regenerated.
2106 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2107 called automatically.
2108 * Makefile.in: Regenerated.
2109 * acinclude.m4: Add proper comment for hack in previous change.
2110 * aclocal.m4 */aclocal.m4: Regenerated.
2111 * configure */configure: Regenerated.
2113 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2115 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2116 from being set to "../".
2117 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2118 * aclocal.m4: Regenerated.
2120 * Makefile.in: Ditto.
2121 * doc/aclocal.m4: Ditto.
2122 * doc/configure: Ditto.
2123 * iconvdata/aclocal.m4: Ditto.
2124 * iconvdata/configure: Ditto.
2125 * libc/*/aclocal.m4: Ditto.
2126 * libc/*/configure: Ditto.
2127 * libc/libc.texinfo: Ditto.
2128 * libm/*/aclocal.m4: Ditto.
2129 * libm/*/configure: Ditto.
2131 2006-01-10 Eric Blake <ebb9@byu.net>
2133 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2134 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2136 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2138 * libm/mathfp/s_frexp.c: Check for special values on
2139 the original input, not the manipulated output value.
2140 * libm/mathfp/sf_frexp.c: Ditto.
2141 * libm/mathfp/s_atangent.c: Don't use local value branch
2142 when checking for quadrant.
2143 * libm/mathfp/sf_atangent.c: Ditto.
2145 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2147 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2148 * libc/stdio64/freopen64.c: Ditto.
2150 2006-01-09 Eric Blake <ebb9@byu.net>
2152 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2153 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2155 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2157 * libc/sys/linux/include/getopt.h: Add macros needed by
2158 new version of getopt.c in libc/stdlib.
2160 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2162 * libc/stdlib/getopt.c: Replaced with version
2163 that adds getopt_long and getopt_long_only support.
2164 * libc/include/getopt.h: New file.
2166 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2168 * NEWS: Update with 1.14.0 info.
2170 * acinclude.m4: Change version number to 1.14.0.
2171 * aclocal.m4: Regenerated.
2173 * doc/aclocal.m4: Ditto.
2174 * doc/configure: Ditto.
2175 * libc/*/aclocal.m4: Ditto.
2176 * libc/*/configure: Ditto.
2177 * libc/libc.texinfo: Ditto.
2178 * libm/*/aclocal.m4: Ditto.
2179 * libm/*/configure: Ditto.
2180 * libm/libm.texinfo: Ditto.
2181 * libc/sys/linux/shared.ld: Add VERS_1.14.
2183 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2185 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2186 take a pointer to struct stat64 rather than struct stat.
2188 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2190 * libc/include/stdint.h: Prefer long over int for int32_t.
2191 Use __have_long32 to set up int32_t.
2192 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2193 (Sync with stdint.h).
2195 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2197 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2198 typo in O_NDELAY comment.
2200 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2202 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2203 * libc/include/machine/setjmp.h (__mt__): Likewise.
2204 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2205 * libc/machine/configure.in: Ditto.
2207 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2209 * configure.host: Replace ms1 arch with mt arch.
2210 * libc/machine/mt: Renamed from ms1 dir.
2212 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2214 * libc/include/sys/types.h: Remove the ifdef armour around
2215 standard POSIX types.
2217 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2219 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2220 rtems_gxx_key_delete, rtems_gxx_getspecific,
2221 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2222 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2223 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2225 2005-12-05 Christopher Faylor <cgf@timesys.com>
2227 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2228 file. Declare unsetenv and _unsetenv_r when not cygwin.
2230 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2232 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2233 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2235 2005-11-18 Christopher Faylor <cgf@timesys.com>
2237 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2239 2005-11-18 Christopher Faylor <cgf@timesys.com>
2241 * include/time.h: Remove more cygwin-specific stuff.
2243 2005-11-18 Christopher Faylor <cgf@timesys.com>
2245 * include/time.h: Move cygwin declarations to cygwin-specific header.
2246 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2248 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2250 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2251 in libc/sys/linux/include.
2252 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2253 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2254 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2255 in libc/sys/linux/dl.
2257 2005-11-11 Christopher Faylor <cgf@timesys.com>
2259 * libc/include/sys/time.h: For cygwin, use general header rather than
2260 specific "sys/select.h".
2262 2005-11-08 Tom Walsh <tom@openhardware.net>
2264 * libc/time/tzvars.c: New file.
2265 * libc/time/tzset_r.c: Moved globals into tzvars.c
2266 so other time functions needn't link in __tzset_r and its
2268 * libc/time/Makefile.am: Add the new file.
2269 * libc/time/Makefile.in: Regenerated.
2271 2005-11-08 Christopher Faylor <cgf@timesys.com>
2273 * libc/include/string.h: Add cygwin-specific function declaration.
2275 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2277 * libc/include/ieeefp.h: Add C++ guards.
2279 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2281 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2282 * libc/unix/getlogin.c: Ditto.
2283 * libc/unix/getpass.c: Ditto.
2284 * libc/unix/getut.c: Ditto.
2285 * libc/unix/ttyname.c: Ditto.
2287 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2289 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2290 prototypes by default.
2291 * libc/sys/linux/include/unistd.h (readlink): Remove this
2293 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2296 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2298 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2300 2005-10-31 Darin Johnson <darin@usa.net>
2302 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2303 correct for constants.
2305 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2307 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2308 * libc/stdio/siscanf.c: Likewise.
2309 * libc/stdio/sprintf.c: Likewise.
2310 * libc/stdio/sscanf.c: Likewise.
2311 * libc/stdio/vfprintf.c: Likewise.
2312 * libc/stdio/vfscanf.c: Likewise.
2313 * libc/stdio/viprintf.c: Likewise.
2314 * libc/stdio/viscanf.c: Likewise.
2316 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2318 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2319 example to use "_end" symbol instead of "end". Change write example
2320 to use "outbyte" instead of "writechar".
2322 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2324 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2325 * libc/ctype/islower.c: Likewise.
2326 * libc/ctype/isupper.c: Likewise.
2327 * libc/ctype/iswalnum.c: Likewise.
2328 * libc/ctype/iswalpha.c: Likewise.
2329 * libc/ctype/iswblank.c: Likewise.
2330 * libc/ctype/iswcntrl.c: Likewise.
2331 * libc/ctype/iswdigit.c: Likewise.
2332 * libc/ctype/iswgraph.c: Likewise.
2333 * libc/ctype/iswlower.c: Likewise.
2334 * libc/ctype/iswprint.c: Likewise.
2335 * libc/ctype/iswpunct.c: Likewise.
2336 * libc/ctype/iswspace.c: Likewise.
2337 * libc/ctype/iswupper.c: Likewise.
2338 * libc/ctype/iswxdigit.c: Likewise.
2339 * libc/ctype/tolower.c: Likewise.
2340 * libc/ctype/toupper.c: Likewise.
2341 * libc/ctype/towctrans.c: Likewise.
2342 * libc/ctype/towlower.c: Likewise.
2343 * libc/ctype/towupper.c: Likewise.
2344 * libc/string/strcasecmp.c: Likewise.
2345 * libc/string/strcoll.c: Likewise.
2346 * libc/string/strings.tex: Likewise.
2347 * libc/string/strlwr.c: Likewise.
2348 * libc/string/strncasecmp.c: Likewise.
2349 * libc/string/strupr.c: Likewise.
2350 * libc/string/wcscoll.c: Likewise.
2351 * libc/string/wcslcat.c: Likewise.
2352 * libc/string/wcslcpy.c: Likewise.
2353 * libc/string/wcsnlen.c: Likewise.
2354 * libc/string/wcsstr.c: Likewise.
2355 * libc/string/wcstrings.tex: Likewise.
2356 * libc/string/wmemchr.c: Likewise.
2357 * libc/string/wmemcmp.c: Likewise.
2358 * libc/string/wmemcpy.c: Likewise.
2359 * libc/string/wmemmove.c: Likewise.
2360 * libc/string/wmemset.c: Likewise.
2362 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2364 * libc/misc/unctrl.c: Replace FUNCTION description.
2365 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2366 * libc/stdio/getdelim.c: Fix spelling errors.
2367 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2368 * libc/stdio/putw.c: Likewise.
2369 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2371 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2372 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2373 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2374 * libc/stdlib/mlock.c: Likewise.
2375 * libc/stdlib/mstats.c: Likewise.
2376 * libc/time/tzlock.c: Likewise.
2377 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2378 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2379 and hyphenate "pseudo-random".
2380 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2381 * libc/string/strncat.c: Likewise.
2382 * libc/string/memchr.c: Remove extra ">" character in documentation.
2383 * libc/string/strcspn.c: Use "characters" instead of "chars".
2384 * libc/string/strpbrk.c: Likewise.
2385 * libc/string/strerror_r.c: Capitalize "GNU".
2386 * libc/string/strnlen.c: Likewise.
2387 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2388 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2389 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2390 * libc/string/wcschr.c: Likewise.
2391 * libc/string/wcscmp.c: Likewise.
2392 * libc/string/wcscpy.c: Likewise.
2393 * libc/string/wcscspn.c: Likewise.
2394 * libc/string/wcslen.c: Likewise.
2395 * libc/string/wcsncat.c: Likewise.
2396 * libc/string/wcsncmp.c: Likewise.
2397 * libc/string/wcsncpy.c: Likewise.
2398 * libc/string/wcsnlen.c: Likewise.
2399 * libc/string/wcspbrk.c: Likewise.
2400 * libc/string/wcsrchr.c: Likewise.
2401 * libc/string/wcsspn.c: Likewise.
2402 * libc/string/wmemchr.c: Likewise.
2403 * libc/string/wmemcmp.c: Likewise.
2404 * libc/string/wmemcpy.c: Likewise.
2405 * libc/string/wmemset.c: Likewise.
2406 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2407 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2408 * libc/string/wcwidth.c: Likewise.
2409 * libm/common/s_modf.c: Remove extra period from documentation.
2410 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2412 * libm/mathfp/s_isnan.c: Likewise.
2413 * libm/math/s_ldexp.c: Fix punctuation.
2414 * libm/mathfp/s_ldexp.c: Likewise.
2415 * libm/math/w_log.c: Likewise.
2416 * libm/mathfp/s_logarithm.c: Likewise.
2417 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2418 * libm/mathfp/w_jn.c: Likewise.
2420 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2422 * libc/posix/scandir.c (scandir): Update the function
2423 prototype to match the header.
2424 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2426 * libc/sys/linux/sys/lock.h: Do not include
2427 machine/weakalias.h, since it's not used by this file.
2429 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2431 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2432 directories can override properly.
2434 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2436 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2437 gcc is 3.3 or greater, use special gcc builtins.
2439 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2441 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2443 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2445 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2447 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2449 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2450 * libm/common/Makefile.am: Add s_infconst.c support.
2451 * libm/common/Makefile.in: Regenerated.
2452 * libm/common/s_infconst.c: New file with float and
2453 long double infinity support added.
2454 * libm/math/Makefile.am: Remove s_infconst.c support.
2455 * libm/math/Makefile.in: Regenerated.
2456 * libm/math/s_infconst.c: Moved to common directory.
2457 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2458 * libm/mathfp/Makefile.in: Regenerated.
2459 * libm/mathfp/s_infconst.c: Moved to common directory.
2461 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2463 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2464 dbgprintf to prevent conflict with new dprintf function.
2466 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2468 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2469 "nan" processing for systems that have long double support.
2471 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2473 * libc/sys/linux/sys/types.h (int8_t): Add type.
2475 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2477 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2478 * libm/common/Makefile.in: Regenerate.
2479 * libm/common/common.tex: Delete file.
2480 * libm/math/math.tex: Include .def files from common/.
2481 * libm/mathfp/mathfp.tex: Likewise.
2483 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2485 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2486 instead of @ifinfo. Update menu to add Introduction and match
2488 (Introduction): New section.
2490 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2492 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2493 with "Red Hat newlib C Library".
2494 * libc/sys.tex (Stubs): Likewise.
2495 * libm/math/math.tex (Math): Likewise.
2496 * libm/mathfp/mathfp.tex (Math): Likewise.
2498 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2500 * libc/include/stdio.h (dprintf): New declaration.
2502 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2504 * libc/stdio/Makefile.in: Regenerate.
2505 * libc/stdio/dprintf.c: New file.
2506 * libc/stdio/vdprintf.c: New file.
2507 * libc/stdio/stdio.tex (dprintf): New entry.
2509 2005-10-11 David Weatherford <weath@tensilica.com>
2511 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2512 Print "inf" and "nan" in lowercase for e/f/g formats and in
2513 uppercase for E/F/G formats.
2515 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2517 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2518 to ENOMEM on failure.
2520 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2522 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2524 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2526 * libc/include/stdint.h: Move magic to set __have_long* to the
2527 beginning. Use #if __have* instead of #if defined(__have*).
2530 2005-10-04 James E Wilson <wilson@specifix.com>
2532 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2535 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2537 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2538 incorporate Ralf's change below.
2540 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2542 * libc/include/stdint.h:
2543 Use __INTMAX_TYPE__ to derive intmax_t.
2544 Use __UINTMAX_TYPE__ to derive uintmax_t.
2547 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2549 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2552 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2554 * libc/sys/linux/include/stdint.h: Update to match functionality
2555 of generic newlib stdint.h.
2557 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2559 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2560 and do not #undef the macro after it is used. Fix typos.
2561 Also change 64-bit constants to use the __have_long64 and
2562 __have_longlong64 flags to determine if long or long long
2563 constants should be used.
2564 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2567 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2569 * libc/include/stdint.h: Fix typo in names of
2572 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2574 * libc/sys/rtems/include/inttypes.h: Moved to...
2575 * libc/include/inttypes.h: ...here.
2577 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2579 * libc/sys/rtems/include/stdint.h: Moved to...
2580 * libc/include/stdint.h: ...here.
2582 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2584 * Makefile.am: Add include files under bits sub-directory.
2585 * Makefile.in: Regenerated.
2586 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2587 actual value of 1 to be compatible with newer glibc headers.
2588 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2590 * libc/sys/linux/sys/dirent.h: Ditto.
2591 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2592 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2593 profile_fixup routines are marked used so they won't be
2595 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2596 to mark functions as weak.
2597 * libc/sys/linux/dl/dl-open.c: Ditto.
2598 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2599 rules about lvalues.
2600 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2601 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2602 weak_extern macro to mark functions as weak. Instead always
2604 * iconvdata/jis0208.h: Fix to work with gcc4.
2605 * libc/sys/linux/dl/dl-load.c: Ditto.
2606 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2607 * libc/sys/linux/dl/do-rel.h: Ditto.
2608 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2609 * libc/sys/linux/include/ltdl.h: Ditto.
2610 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2611 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2612 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2613 * libc/sys/linux/bits/initspin.h: New file.
2614 * libc/sys/linux/bits/libc-lock.h: Ditto.
2615 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2616 * libc/sys/linux/bits/typesizes.h: Ditto.
2618 2005-09-08 Eric Blake <ebb9@byu.net>
2620 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2623 2005-09-08 Brian Dessent <brian@dessent.net>
2625 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2629 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2631 * libc/include/stdio.h: Add prototype for viprintf.
2633 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2635 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2636 any positive power results in 0.
2637 * libm/mathfp/sf_pow.c (powf): Ditto.
2639 2005-08-31 Paul Brook <paul@codesourcery.com>
2641 * configure.host: Set have_crt0 to no for Arm targts when not
2642 providing syscalls. Set sys_dir=arm unconditionally.
2643 Default have_crt0 based on sys_dir.
2644 * configure.in: Use have_crt0.
2645 * libc/configure.in: Ditto.
2646 * libc/sys/configure.in: Ditto.
2647 * configure: Regenerate.
2648 * libc/configure: Regenerate.
2649 * libc/sys/configure: Regenerate.
2650 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2651 Only build other files when providing syscalls.
2652 * libc/sys/arm/Makefile.in: Regenerate.
2653 * libc/sys/arm/aeabi_atexit.c: New file.
2655 2005-08-26 Christopher Faylor <cgf@timesys.com>
2657 * libc/include/string.h: Revert previous change.
2659 2005-08-25 Christopher Faylor <cgf@timesys.com>
2661 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2663 2005-08-22 Shaun Jackman <sjackman@gmail.com>
2665 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
2666 define _opendir as opendir, _readdir as readdir, and
2667 _closedir as closedir so that the implementations in
2668 libc/posix will be used.
2670 2005-08-10 DJ Delorie <dj@redhat.com>
2672 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2674 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
2676 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
2677 * libm/common/s_max.c: Ditto.
2678 * libm/common/sf_fmin.c: Ditto.
2679 * libm/common/s_min.c: Ditto.
2681 2005-08-10 DJ Delorie <dj@redhat.com>
2683 * configure.host: Add m32c support.
2684 * libc/include/machine/ieeefp.h: Likewise.
2685 * libc/include/machine/setjmp.h: Likewise.
2686 * libc/include/sys/config.h: Likewise.
2687 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
2688 * libc/machine/m32c/aclocal.m4: New file.
2689 * libc/machine/m32c/configure: Ditto.
2690 * libc/machine/m32c/configure.in: Ditto.
2691 * libc/machine/m32c/Makefile.am: Ditto.
2692 * libc/machine/m32c/Makefile.in: Ditto.
2693 * libc/machine/m32c/setjmp.S: Ditto.
2695 2005-08-02 Bob Wilson <bob.wilson@acm.org>
2697 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
2698 to the value for 2^126.
2700 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
2702 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
2705 2005-07-20 Bob Wilson <bob.wilson@acm.org>
2706 Darin Petkov <darin@tensilica.com>
2708 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2710 2005-07-19 Paul Brook <paul@codesourcery.com>
2712 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2714 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
2716 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
2717 names after PASS and FAIL which do not depend on source directory
2718 name or on whether test passed or failed.
2719 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2721 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
2723 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2725 2005-07-07 Shaun Jackman <sjackman@gmail.com>
2727 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
2728 twice for the same directory. _closedir calls free, and freeing
2729 the same pointer twice may cause a crash.
2731 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
2733 * configure.host: Added entry for ms1*.
2734 * libc/include/machine/ieeefp.h: Handle ms1.
2735 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
2736 * libc/machine/ms1/aclocal.m4: New.
2737 * libc/machine/ms1/configure: New.
2738 * libc/machine/ms1/configure.in: New.
2739 * libc/machine/ms1/Makefile.am: New.
2740 * libc/machine/ms1/Makefile.in: New.
2741 * libc/machine/ms1/setjmp.S: New.
2743 2005-07-04 Mark Mitchell <mark@codesourcery.com>
2745 * Makefile.am (site.exp): Set tmpdir.
2746 * Makefile.in: Regenerated.
2747 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
2748 executables in $tmpdir.
2749 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
2750 libgloss version if not running in the build directory.
2751 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
2753 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
2756 2005-06-28 Dave Korn <dave.korn@artimi.com>
2758 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
2759 and miscalculation caused by fp representation of zero.
2760 * libm/common/sf_lrint.c (lrintf): Likewise.
2762 2005-06-16 Christopher Faylor <cgf@timesys.com>
2764 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
2765 determine characteristics of long double. Use a union instead.
2766 * ldtoa.c (_ldtoa_r): Ditto.
2769 (union uconv): New union.
2771 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
2773 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
2776 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2778 * configure.host (mn10300-*): Add long long I/O support by default.
2780 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2782 * libc/sys/linux/getpwuid.c: Removed.
2783 * libc/sys/linux/getpwnam.c: Removed.
2784 * libc/sys/linux/getpwent.c: New file containing logic
2785 from files removed above. This allows overriding of file
2787 * libc/sys/linux/Makefile.am: Support changes above.
2788 * libc/sys/linux/Makefile.in: Regenerated.
2790 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
2792 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
2793 when checking for multiple flags.
2795 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
2797 * configure.host <cris-*-* | crisv32-*-*>: Set
2798 default_newlib_io_long_long="yes".
2800 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
2802 * libc/include/libgen.h: New file.
2804 2005-04-08 Shaun Jackman <sjackman@gmail.com>
2806 * libc/unix/Makefile.am: Add support for basename and dirname.
2807 * libc/unix/Makefile.in: Regenerated.
2808 * libc/unix/basename.c: New file.
2809 * libc/unix/dirname.c: New file.
2811 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2813 * libc/sys/linux/inode.c (lchown): New function.
2815 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2817 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
2818 ELIX level is defined.
2819 * libc/unix/Makefile.in: Regenerated.
2821 2005-04-05 Dave Korn <dave.korn@artimi.com>
2823 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
2824 something that looks like a "NaN", put back the characters processed.
2826 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
2828 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
2830 2005-03-23 Christopher Faylor <cgf@timesys.com>
2832 * configure.host: For cygwin, redefine CC with cygwin include directory
2833 first to mimic the behavior of the top-level configury. Move include
2834 directory out of newlib_cflags.
2836 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
2838 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
2839 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
2842 2005-03-22 Christopher Faylor <cgf@timesys.com>
2844 * libc/include/machine/_types.h: Make trivial change to comment to
2845 avoid a spurious warning from gcc.
2847 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
2849 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
2850 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
2853 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
2854 Corinna Vinschen <corinna@vinschen.de>
2856 * libc/include/ctype.h: Remove invalid +1 offset from
2857 ctype macro references to __ctype_ptr.
2858 (_ctype_): Move declaration outside #ifndef __cplusplus.
2860 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
2862 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
2863 evaluate first parameter only once.
2864 (siglongjmp): Ditto.
2866 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
2868 * configure.in: Add new check to see if compiler supports
2869 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
2870 * configure: Regenerated.
2871 * Makefile.in: Ditto.
2872 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
2873 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
2874 aliasing the _ctype_ array to _ctype_b.
2875 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
2876 _ctype_ as deprecated.
2878 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
2880 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
2883 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2885 * libc/sys/rtems/include/inttypes.h: New file.
2886 * libc/sys/rtems/include/stdint.h: Ditto.
2888 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2890 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2892 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2894 * libc/include/machine/_types.h: New file.
2895 * libc/include/sys/types.h: Do not check for __rtems__
2896 when including <machine/_types.h>. Remove some redundant
2897 declarations now that <machine/_types.h> is included.
2898 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
2901 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
2903 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
2904 L qualifier for these long constants.
2906 2005-02-25 Eric Blake <ebb9@byu.net>
2908 * libc/include/time.h (__tzrule_struct): Make offset long, since
2909 a 16-bit int overflows on a 12-hour offset.
2910 * libc/sys/linux/include/time.h: Ditto.
2911 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
2912 * libc/time/mktm_r.c: Ditto.
2913 * libc/time/gettzinfo.c: Ditto.
2914 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
2915 years. Fix '%z' to use long, not int.
2917 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2919 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
2920 manipulate float values in integer form.
2921 * libm/common/sf_round.c: Ditto.
2923 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2925 * libc/include/sys/types.h [__rtems__]: Include new
2926 header file machine/_types.h.
2927 * libc/include/machine/types.h: Ditto.
2928 * libc/sys/rtems/machine/_types.h: New file.
2930 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2932 * libc/include/time.h (_timezone): Change to long also for Cygwin.
2933 (timezone): Drop cast from definition.
2935 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
2937 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
2938 (__tzrule_type, __tzinfo_type): New types.
2939 (__gettzinfo): New function.
2940 * libc/sys/linux/include/time.h: Ditto.
2941 * libc/time/Makefile.am: Add gettzinfo.c.
2942 * libc/time/Makefile.in: Regenerated.
2943 * libc/time/local.h: Moved __tzrule_type to time.h.
2944 * libc/time/mktime.c: Call __gettzinfo to reference
2945 __tznorth, __tzyear, and __tzrule array.
2946 * libc/time/mktm_r.c: Ditto.
2947 * libc/time/strftime.c: Ditto.
2948 * libc/time/tzset_r.c: Ditto. Also remove definition
2949 of __tzrule which is now in gettzinfo.c. Change _timezone
2950 references to not cast to time_t.
2951 * libc/time/gettzinfo.c: New file.
2953 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2955 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2957 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
2959 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2961 2005-02-16 Eric Blake <ebb9@byu.net>
2963 * libc/time/time.tex: Improve the documentation.
2964 * libc/time/strftime.c: Improve the documentation.
2965 (iso_year_adjust): New helper function.
2966 (strftime): Simplify '%E' and '%O'. Change '%c' to use
2967 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
2968 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
2969 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
2970 Avoid core dumps on valid inputs (maxsize == 0, or
2971 tim_p->tm_isdst > 1).
2973 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
2975 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
2976 members to uid_t and gid_t according to SUSv3.
2977 * libc/include/sys/time.h (utimes): Change second parameter
2978 to const according to SUSv3.
2980 2005-02-07 Antony King <antony.king@st.com>
2982 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
2983 called before _flockfile to prevent lock object use before
2984 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
2985 take a struct _reent * instead of a FILE *.
2986 * libc/stdio/fclose.c (_fclose_r): Ditto.
2987 * libc/stdio/feof.c (feof): Ditto.
2988 * libc/stdio/ferror.c (ferror): Ditto.
2989 * libc/stdio/fflush.c (fflush): Ditto.
2990 * libc/stdio/fgetc.c (fgetc): Ditto.
2991 * libc/stdio/fgets.c (fgets): Ditto.
2992 * libc/stdio/fileno.c (fileno): Ditto.
2993 * libc/stdio/fputc.c (fputc): Ditto.
2994 * libc/stdio/fputs.c (fputs): Ditto.
2995 * libc/stdio/fread.c (fread): Ditto.
2996 * libc/stdio/freopen.c (_freopen_r): Ditto.
2997 * libc/stdio/fseek.c (_fseek_r): Ditto.
2998 * libc/stdio/ftell.c (_ftell_r): Ditto.
2999 * libc/stdio/fwrite.c (fwrite): Ditto.
3000 * libc/stdio/getc.c (getc): Ditto.
3001 * libc/stdio/getdelim.c (__getdelim): Ditto.
3002 * libc/stdio/putc.c (putc): Ditto.
3003 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3004 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3005 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3006 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3007 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3008 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3009 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3010 _reent * instead of a FILE * and so replace incorrect use of
3011 _REENT with argument.
3012 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3013 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3014 CHECK_INIT() take a struct _reent * instead of a FILE *.
3015 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3016 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3017 * libc/stdio/perror.c (perror): Ditto.
3018 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3019 * libc/stdio/putchar.c (putchar): Ditto.
3020 * libc/stdio/puts.c (puts): Ditto.
3021 * libc/stdio/refill.c (__srefill): Ditto.
3022 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3023 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3024 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3025 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3026 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3027 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3028 * libc/stdio/wbuf.c (__swbuf): Ditto.
3029 * libc/stdio/wsetup.c (__swsetup): Ditto.
3030 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3031 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3032 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3033 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3034 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3035 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3036 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3037 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3038 initialision of _data field in FILE structure.
3039 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3041 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3043 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3044 (__sinit_lock): New lock.
3045 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3046 * libc/stdio/local.h: Add reference to new __sinit locking
3049 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3051 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3052 input variable names to avoid mixups with nesting macros.
3054 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3056 * configure.host: Add support for cris-*-* and crisv32-*-*.
3057 * libc/include/machine/ieeefp.h: Ditto.
3058 * libc/include/machine/setjmp.h: Ditto.
3059 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3060 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3061 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3062 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3063 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3064 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3065 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3068 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3070 * testsuite/newlib.string/memmove1.c: New test.
3072 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3074 * testsuite/include/check.h: Include stdlib.h.
3076 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3078 * Makefile.am (stmp-targ-include): Support include header files
3079 from machine directories.
3080 (install-data-local): Ditto.
3081 * Makefile.in: Regenerate.
3083 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3085 * libc/include/string.h: Remove Linux-specific declaration of
3086 strsignal and add #include <sys/string.h>.
3087 * libc/include/sys/string.h: New file.
3088 * libc/include/sys/linux/sys/string.h: New file with strsignal
3089 declaration deleted above.
3091 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3093 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3094 to POSIX standard for "C" locale. Allow %E and %O modifiers
3095 to be ignored as long as they precede valid specifiers according
3098 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3100 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3101 environment variable is set.
3103 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3105 * tzset_r.c (_tzname): Add a comma.
3107 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3109 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3112 2005-01-07 Paul Brook <paul@codesourcery.com>
3114 * configure.in: Add test for .init_array.
3115 * configure: Regenerate.
3116 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3117 * libc/misc/Makefile.am: Add init.c
3118 * libc/misc/Makefile.in: Regenerate.
3119 * libc/misc/init.c: New file.
3120 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3121 _init/_fini if they exist.
3123 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3125 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3127 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3128 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3129 functions for use by strtod and strtof.
3130 * Makefile.in: Regenerated.
3132 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3134 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3135 bit-test in combination with NULL test.
3137 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3139 * README: Fix typo of LGPL. Change "license" to "copyright".
3141 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3143 * NEWS: Update with 1.13.0 info.
3145 * acinclude.m4: Change version number to 1.13.0.
3146 * aclocal.m4: Regenerated.
3148 * doc/aclocal.m4: Ditto.
3149 * doc/configure: Ditto.
3150 * libc/*/aclocal.m4: Ditto.
3151 * libc/*/configure: Ditto.
3152 * libc/libc.texinfo: Ditto.
3153 * libm/*/aclocal.m4: Ditto.
3154 * libm/*/configure: Ditto.
3155 * libm/libm.texinfo: Ditto.
3156 * libc/sys/linux/shared.ld: Add VERS_1.13.
3158 2004-12-17 Christian Groessler <chris@groessler.org>
3160 * libc/machine/z8k/memcmp.S: New file.
3161 * libc/machine/z8k/memcpy.S: Ditto.
3162 * libc/machine/z8k/memmove.S: Ditto.
3163 * libc/machine/z8k/memset.S: Ditto.
3164 * libc/machine/z8k/Makefile.am: Add new files.
3165 * libc/machine/z8k/Makefile.in: Regenerated.
3166 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3167 part. Implement Z8002 stdcall version.
3169 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3171 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3172 a low-level read if we don't get the full amount of bytes so
3173 EOF or error flags will be set.
3175 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3177 * libc/time/tzset_r (_tzset_r): Properly skip over
3178 '/' when it is detected.
3180 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3182 * libc/time/tzset_r (_tzset_r): Fix loop.
3184 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3186 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3188 (__tzcalc_limits): Fix reference to month array to be zero-based.
3190 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3192 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3195 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3197 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3198 libgcc dependencies.
3199 (libm_la_LDFLAGS): Ditto.
3200 * Makefile.in: Regenerated.
3202 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3204 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3205 our link to use readlink so as to preserve any relative link created
3206 by install-toollibLIBRARIES.
3207 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3209 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3211 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3212 time_t before including sys/stat.h, which uses it.
3213 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3214 <linux/time.h> just prior to definition of __KERNEL__ so as to
3215 allow building on Debian Linux where otherwise, mktime would
3218 2004-11-26 Paul Brook <paul@codesourcery.com>
3220 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3222 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3224 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3225 const for value string parameter to match Single Unix and glibc.
3226 * libc/stdlib/putenv.c: Ditto.
3227 * libc/stdlib/putenv_r.c: Ditto.
3229 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3231 * libc/stdio/Makefile.am: Fix missing vfscanf.
3232 * libc/stdio/Makefile.in: Regenerated.
3234 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3236 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3238 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3239 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3241 * libc/stdio/Makefile.in: Regenerated.
3242 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3243 * libc/stdio/iprintf.c: Ditto.
3244 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3245 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3246 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3247 * libc/stdio/stdio.tex: Add new functions.
3248 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3249 file and add special name defines so this file can be used
3250 to build vfiscanf.o.
3251 * libc/stdio/asiprintf.c: New file.
3252 * libc/stdio/fiscanf.c: Ditto.
3253 * libc/stdio/iscanf.c: Ditto.
3254 * libc/stdio/sccl.c: Ditto.
3255 * libc/stdio/siscanf.c: Ditto.
3256 * libc/stdio/vasiprintf.c: Ditto.
3257 * libc/stdio/viprintf.c: Ditto.
3258 * libc/stdio/viscanf.c: Ditto.
3259 * libc/stdio/vsiprintf.c: Ditto.
3260 * libc/stdio/vsiscanf.c: Ditto.
3261 * libc/stdio/vsniprintf.c: Ditto.
3263 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3265 * libc/include/stdio.h: Add sniprintf.
3266 * libc/stdio/Makefile.am: Add sniprintf.c.
3267 * libc/stdio/Makefile.in: Regenerated.
3268 * libc/stdio/sniprintf.c: New file.
3269 * libc/stdio/stdio.tex: Add sniprintf.
3271 2004-11-17 Christopher Faylor <cgf@timesys.com>
3273 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3274 EOF flag if successful.
3276 2004-10-28 Christopher Faylor <cgf@timesys.com>
3278 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3279 so that all relevant definitions have been performed for use in the
3282 2004-10-26 Jason Tishler <jason@tishler.net>
3284 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3287 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3289 * libc/include/machine/setjmp.h: Add AVR support.
3290 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3292 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3294 * libc/include/sys/signal.h: If <signal.h> didn't include
3295 this header file, include <signal.h> to account for
3296 applications that take advantage that the two header
3297 files are the same in glibc.
3299 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3301 * configure.host: Add support for crx.
3302 * libc/include/machine/ieeefp.h: Ditto.
3303 * libc/include/machine/setjmp.h: Ditto.
3304 * libc/machine/crx/Makefile.am: New file.
3305 * libc/machine/crx/configure.in: Ditto.
3306 * libc/machine/crx/setjmp.S: Ditto.
3307 * libc/machine/crx/getenv.c: Ditto.
3308 * libc/machine/crx/aclocal.m4: Generate.
3309 * libc/machine/crx/configure: Ditto.
3310 * libc/machine/crx/Makefile.in: Ditto.
3311 * libc/machine/crx/sys/asm.h: New file.
3312 * libc/machine/crx/sys/libh.h: Ditto.
3313 * libc/machine/crx/sys/syscall.h: Ditto.
3315 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3317 * Makefile.am (stmp-targ-include): Support sys header files
3318 from machine directories.
3319 * Makefile.in: Regenerated.
3321 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3323 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3324 count skipped zero characters as part of the nread count for %n.
3325 * libc/machine/powerpc/vfscanf.c: Ditto.
3327 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3329 * libc/stdio/local.h: Include <stdlib.h>.
3331 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3333 * libc/stdio/fread.c (fread): Include <malloc.h>.
3335 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3337 * libc/stdio/fread.c (fread): For non-space-optimized case,
3338 add special code for unbuffered files to use user buffer and
3339 only require one low-level system read.
3341 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3343 * libc/machine/xscale/setjmp.S: New file, copied from
3344 libc/machine/arm/setjmp.S.
3345 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3346 * libc/machine/xscale/Makefile.in: Regenerate.
3348 2004-09-16 Antony King <antony.king@st.com>
3350 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3352 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3353 check for__SSTR in _flags and if set, skip lock request.
3354 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3355 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3357 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3358 initialisation of _file to -1 in local FILE.
3359 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3360 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3361 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3362 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3363 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3364 _flags in local FILE to prevent locking.
3365 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3367 2004-09-16 Antony King <antony.king@st.com>
3369 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3370 and only walk the reentrancy parameter.
3371 (_fwalk_reent): Ditto.
3372 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3374 2004-09-16 Antony King <antony.king@st.com>
3376 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3379 2004-09-16 Antony King <antony.king@st.com>
3381 * libc/time/tzlock.c: Add default stubs that use generic
3384 2004-09-16 Antony King <antony.king@st.com>
3386 * libc/ctype/ctype.tex: Added missing documentation.
3387 * libc/stdio/stdio.tex Ditto.
3388 * libc/stdlib/stdlib.tex Ditto.
3389 * libc/string/strings.tex Ditto.
3390 * libc/time/time.tex: Ditto.
3391 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3393 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3395 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3396 when building for Cygwin.
3397 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3400 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3402 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3404 * configure.in: Ditto.
3405 * libc/configure.in: Ditto.
3406 * libc/sys/configure.in: Ditto.
3408 * libc/configure: Ditto.
3409 * libc/sys/configure: Ditto.
3410 * libc/include/sys/reent.h: Ditto.
3411 * libc/stdlib/__atexit.c: Ditto.
3412 * libc/stdlib/__call_atexit.c: Ditto.
3413 * libc/stdlib/cxa_atexit.c: Ditto.
3414 * libc/stdlib/cxa_finalize.c: Ditto.
3415 * libc/sys/cygwin/Makefile.am: Removed again.
3416 * libc/sys/cygwin/Makefile.in: Ditto.
3417 * libc/sys/cygwin/aclocal.m4: Ditto.
3418 * libc/sys/cygwin/configure: Ditto.
3419 * libc/sys/cygwin/configure.in: Ditto.
3420 * libc/sys/cygwin/dummy.c: Ditto.
3421 * libc/sys/cygwin/sys/reent.h: Ditto.
3423 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3425 * configure.host: Add Cygwin sys directory.
3426 * configure.in: Do not set CRT0 for cygwin.
3427 * libc/configure.in: Ditto.
3428 * libc/sys/configure.in: Ditto.
3429 * configure: Regenerated.
3430 * libc/configure: Ditto.
3431 * libc/sys/configure: Ditto.
3432 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3433 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3434 __REENT_HAS_CXA_SUPPORT flag.
3435 * libc/stdlib/__call_atexit.c: Ditto.
3436 * libc/stdlib/cxa_atexit.c: Ditto.
3437 * libc/stdlib/cxa_finalize.c: Ditto.
3438 * libc/sys/cygwin/Makefile.am: New file.
3439 * libc/sys/cygwin/Makefile.in: Ditto.
3440 * libc/sys/cygwin/aclocal.m4: Ditto.
3441 * libc/sys/cygwin/configure: Ditto.
3442 * libc/sys/cygwin/configure.in: Ditto.
3443 * libc/sys/cygwin/dummy.c: Ditto.
3444 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3447 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3449 * libc/iconv/iconv.tex: Updated with new content.
3450 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3451 instead of NLS_DEFAULT_NLSPATH.
3452 * libc/iconv/lib/iconvnls.h: Fix typo.
3453 * libc/include/sys/iconvnls.h: New file.
3455 2004-09-09 Paul Brook <paul@codesourcery.com>
3457 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3459 (struct _atexit): Add _next when _REENT_SMALL.
3460 (struct _reent): Add _atexit0 when _REENT_SMALL.
3461 (_REENT_INIT_PTR): Adjust.
3462 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3464 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3465 * libc/stdlib/Makefile.in: Regenerate.
3466 * libc/stdlib/__atexit.c: New file.
3467 * libc/stdlib/__call_atexit.c: New file.
3468 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3469 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3470 * libc/stdlib/cxa_atexit.c: New file.
3471 * libc/stdlib/cxa_finalize.c: New file.
3472 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3473 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3474 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3475 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3478 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3480 * libc/include/sys/unistd.h (getpass): Change prototype to use
3481 const instead of __const.
3483 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3485 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3488 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3490 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3491 on linux systems with glibc 2.3.3 installed.
3492 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3493 profile_fixup so newlib can build on fc3 system.
3495 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3497 Introduce SH2a support.
3498 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3499 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3500 __SH2A_SINGLE_ONLY__, too.
3501 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3502 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3503 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3504 2004-02-10 DJ Delorie <dj@redhat.com>
3505 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3507 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3509 * libc/time/strptime.c: Correct full-name of "March" typo.
3511 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3513 * configure.host (h8300*-*-*): Default long long printing support.
3515 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3517 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3518 calls, if realloc fails, free up buffer as it is no longer
3521 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3523 * libc/iconv/iconv.tex: Updated to represent recent changes.
3524 * libc/iconv/lib/iconv.c: Documentation updated.
3526 2004-07-07 Nick Clifton <nickc@redhat.com>
3528 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3531 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3533 * configure.host (mips*-*-elf*): Default long long printing
3536 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3538 * libc/Makefile.am (libc.dvi): Add target and specify
3539 same dependencies as libc.info.
3540 * libc/Makefile.in: Regenerated.
3541 * libm/Makefile.am (libm.dvi): Add target and specify
3542 same dependencies as libm.info.
3543 * libm/Makefile.in: Regenerated.
3545 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3547 * acinclude.m4: Move --enable-newlib-iconv option back here.
3548 * configure.in: Remove --enable-newlib-iconv option. Don't
3549 tie iconv support to --enable-newlib-mb.
3550 * aclocal.m4: Regenerated.
3552 * doc/aclocal.m4, doc/configure: Ditto.
3553 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3554 * libm/*/aclocal.m4: Ditto.
3555 * libm/*/configure: Ditto.
3556 * libc/*/aclocal.m4: Ditto.
3557 * libc/*/configure: Ditto.
3559 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3561 * acinclude.m4: Move iconv options into configure.in.
3562 * aclocal.m4: Regenerated.
3564 * configure.in: Add iconv options.
3565 * newlib.hin: Add new iconv encodings and remove deleted ones.
3566 * doc/aclocal.m4: Regenerated.
3567 * doc/configure: Ditto.
3568 * iconvdata/aclocal.m4: Ditto.
3569 * iconvdata/configure: Ditto.
3570 * libc/iconv: Design change. New size-optimized ccs format.
3571 * libc/iconv/AUTHORS: Removed.
3572 * libc/iconv/COPYING: Ditto.
3573 * libc/iconv/README.ORIGINAL: Ditto.
3574 * libc/iconv/README.TODO: Ditto.
3575 * libc/iconv/charset.aliases: Ditto.
3576 * libc/iconv/encoding.aliases: New file.
3577 * libc/iconv/Makefile.am: Updated.
3578 * libc/iconv/Makefile.in: Regenerated.
3579 * libc/iconv/iconv.tex: Updated.
3580 * libc/iconv/ccs/Makefile.am: Ditto.
3581 * libc/iconv/ccs/Makefile.in: Regenerated.
3582 * libc/iconv/ccs/big5.c: Updated.
3583 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3584 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3585 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3586 * libc/iconv/ccs/cp775.c: Ditto.
3587 * libc/iconv/ccs/cp850.c: Ditto.
3588 * libc/iconv/ccs/cp852.c: Ditto.
3589 * libc/iconv/ccs/cp855.c: Ditto.
3590 * libc/iconv/ccs/cp866.c: Ditto.
3591 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3592 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3593 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3594 * libc/iconv/ccs/iconv_mktbl: Ditto.
3595 * libc/iconv/ccs/jis_x0201.c: Ditto.
3596 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3597 * libc/iconv/ccs/shift_jis.c: Ditto.
3598 * libc/iconv/ccs/us_ascii.c: Ditto.
3599 * libc/iconv/ccs/ccs.h: New file.
3600 * libc/iconv/ccs/ccsbi.c: Ditto.
3601 * libc/iconv/ccs/ccsbi.h: Ditto.
3602 * libc/iconv/ccs/ccsnames.h: Ditto.
3603 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3604 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3605 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3606 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3607 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3608 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3609 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3610 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3611 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3612 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3613 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3614 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3615 * libc/iconv/ccs/koi8_ru.c: Ditto.
3616 * libc/iconv/ccs/koi8_uni.c: Ditto.
3617 * libc/iconv/ccs/mktbl.pl: Ditto.
3618 * libc/iconv/ccs/win_1250.c: Ditto.
3619 * libc/iconv/ccs/win_1251.c: Ditto.
3620 * libc/iconv/ccs/win_1252.c: Ditto.
3621 * libc/iconv/ccs/win_1253.c: Ditto.
3622 * libc/iconv/ccs/win_1254.c: Ditto.
3623 * libc/iconv/ccs/win_1255.c: Ditto.
3624 * libc/iconv/ccs/win_1256.c: Ditto.
3625 * libc/iconv/ccs/win_1257.c: Ditto.
3626 * libc/iconv/ccs/win_1258.c: Ditto.
3627 * libc/iconv/ccs/iso_8859_15.c: Updated.
3628 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3629 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3630 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3631 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3632 * libc/iconv/ccs/koi8_r.c: Ditto.
3633 * libc/iconv/ccs/koi8_u.c: Ditto.
3634 * libc/iconv/ccs/ksx1001.c: Ditto.
3635 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3636 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3637 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3638 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3639 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3640 * libc/iconv/ccs/binary/Makefile.am: Updated.
3641 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3642 * libc/iconv/ccs/binary/big5.cct: Updated.
3643 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3644 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3645 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3646 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3647 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3648 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3649 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3650 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3651 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3652 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3653 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3654 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3655 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3656 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3657 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3658 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3659 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3660 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
3661 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
3662 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
3663 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
3664 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
3665 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
3666 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
3667 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
3668 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
3669 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
3670 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
3671 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
3672 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
3673 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
3674 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
3675 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
3676 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
3677 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
3678 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
3679 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
3680 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
3681 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
3682 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
3683 * libc/iconv/ces/Makefile.am: Updated.
3684 * libc/iconv/ces/Makefile.in: Regenerated.
3685 * libc/iconv/ces/ucs-2-internal.c: Updated.
3686 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3687 * libc/iconv/ces/utf-16.c: Ditto.
3688 * libc/iconv/ces/utf-8.c: Ditto.
3689 * libc/iconv/ces/cesbi.c: New file.
3690 * libc/iconv/ces/cesbi.h: Ditto.
3691 * libc/iconv/ces/cesdeps.h: Ditto.
3692 * libc/iconv/ces/euc.c: Ditto.
3693 * libc/iconv/ces/mkdeps.pl: Ditto.
3694 * libc/iconv/ces/table-pcs.c: Ditto.
3695 * libc/iconv/ces/table.c: Ditto.
3696 * libc/iconv/ces/ucs-2.c: Ditto.
3697 * libc/iconv/ces/ucs-4.c: Ditto.
3698 * libc/iconv/ces/us-ascii.c: Ditto.
3699 * libc/iconv/ces/euc-jp.c: Removed.
3700 * libc/iconv/ces/euc-kr.c: Ditto.
3701 * libc/iconv/ces/euc-tw.c: Ditto.
3702 * libc/iconv/ces/gb2312.c: Ditto.
3703 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
3704 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3705 * libc/iconv/lib/Makefile.am: Updated.
3706 * libc/iconv/lib/Makefile.in: Regenerated.
3707 * libc/iconv/lib/endian.h: Updated.
3708 * libc/iconv/lib/iconv.c: Ditto.
3709 * libc/iconv/lib/local.h: Ditto.
3710 * libc/iconv/lib/aliases.c: Removed.
3711 * libc/iconv/lib/bialiasesi.c: Ditto.
3712 * libc/iconv/lib/biccs.c: Ditto.
3713 * libc/iconv/lib/bices.c: Ditto.
3714 * libc/iconv/lib/ccs.c: Ditto.
3715 * libc/iconv/lib/ces.c: Ditto.
3716 * libc/iconv/lib/ces_euc.c: Ditto.
3717 * libc/iconv/lib/ces_iso2022.c: Ditto.
3718 * libc/iconv/lib/ces_table.c: Ditto.
3719 * libc/iconv/lib/converter.c: Ditto.
3720 * libc/iconv/lib/deps.h: Ditto.
3721 * libc/iconv/lib/loaddata.c: Ditto.
3722 * libc/iconv/lib/aliasesbi.c: New file.
3723 * libc/iconv/lib/aliasesi.c: Ditto.
3724 * libc/iconv/lib/conv.h: Ditto.
3725 * libc/iconv/lib/encnames.h: Ditto.
3726 * libc/iconv/lib/encoding.deps: Ditto.
3727 * libc/iconv/lib/iconvnls.c: Ditto.
3728 * libc/iconv/lib/iconvnls.h: Ditto.
3729 * libc/iconv/lib/nullconv.c: Ditto.
3730 * libc/iconv/lib/ucsconv.c: Ditto.
3731 * libc/iconv/lib/ucsconv.h: Ditto.
3732 * libc/include/iconv.h: Update copyright.
3733 * libc/*/aclocal.m4: Regenerated.
3734 * libc/*/configure: Ditto.
3735 * libm/*/aclocal.m4: Ditto.
3736 * libm/*/configure: Ditto.
3738 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
3740 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
3741 instead of typedefing jmp_buf.
3743 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
3744 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
3745 * libc/machine/h8300/defines.h (LEN): New macro.
3746 * libc/machine/h8300/memcpy.S: Add h8sx version.
3747 * libc/machine/h8300/memset.S: Likewise.
3748 * libc/machine/h8300/strcmp.S: Likewise.
3749 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
3750 * libc/machine/h8300/h8sx_strcpy.S: New file.
3751 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
3752 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
3754 * libc/include/machine/setjmp.h: Likewise.
3755 * libc/include/sys/config.h: Likewise.
3756 * libc/machine/h8300/defines.h: Likewise.
3757 * libc/machine/h8300/setjmp.S: Likewise.
3758 * libc/machine/h8300/strcmp.S: Likewise.
3759 * libc/sys/h8300hms/close.S: Likewise.
3760 * libc/sys/h8300hms/fstat.S: Likewise.
3761 * libc/sys/h8300hms/lseek.S: Likewise.
3762 * libc/sys/h8300hms/read.S: Likewise.
3763 * libc/sys/h8300hms/write.S: Likewise.
3764 * libc/sys/h8300hms/crt0.S: Likewise.
3765 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
3766 __H8300SX__ is defined.
3767 * libc/sys/h8300hms/setarch.h: Likewise.
3769 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
3771 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
3772 out change which set _GLOBAL_REENT to _global_impure_ptr until
3773 we understand why Cygwin breaks because of it.
3775 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
3777 * libc/sys/linux/machine/i386/syscall.h: For now, set up
3778 __syscall_return macro for systems with vsyscall.
3780 2004-06-11 Antony King <antony.king@st.com>
3782 * libc/include/sys/_types.h: Include <sys/lock.h> and change
3783 _flock_t to be of type _LOCK_RECURSIVE_T.
3784 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
3785 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
3786 (_global_impure_ptr): New declaration.
3787 (_GLOBAL_REENT): Change to be _global_impure_ptr.
3788 * libc/include/sys/stdio.h: Include <sys/lock.h> and
3790 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
3791 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3792 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
3793 * libc/stdio/fclose.c: Remove casting of fp lock to
3795 * libc/stdio/findfp.c: Ditto.
3796 * libc/stdio/fopen.c: Ditto.
3797 * libc/stdio/freopen.c: Ditto.
3798 * libc/stdio/vfprintf.c: Ditto.
3799 * libc/stdio64/fopen64.c: Ditto.
3800 * libc/stdlib/envlock.c: Add default stubs that use generic
3802 * libc/stdlib/mlock.c: Ditto.
3804 Jeff Johnston <jjohnstn@redhat.com>
3805 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
3806 (_flock_t): Change to be a struct containing a single member
3807 named mutex which is of type __flock_mutex_t.
3809 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
3811 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
3812 from /usr/include/asm/signal.h instead of kernel sources. Also
3813 default max to 32 if not found in header file.
3814 * libc/sys/linux/Makefile.in: Regenerated.
3815 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
3816 systems where __syscall_return is not defined.
3817 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
3818 systems to use syscall() function instead of assembler interrupt.
3820 2004-06-09 Toralf Lund <toralf@procaptura.com>
3822 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
3823 files from libc/sys/arm to libc/machine/arm.
3824 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
3825 library build support for files moved from libc/sys/arm.
3826 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
3827 references to access and setjmp.
3828 * configure.host: Add checks for newlib_may_supply_syscalls to
3829 determine whether or not to use sys/arm directory and use
3830 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
3832 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
3834 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
3835 reset digit flags appropriately after we have discovered "0x".
3836 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3838 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
3840 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
3842 (_VFPRINTF_R): ... to here so all I/O printf routines
3845 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
3847 * libc/search/hash_buf.c: Protect MAX and MIN macros from
3849 * libc/search/hash.c: Ditto.
3851 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3853 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
3854 (_WANT_IO_LONG_LONG): Ditto.
3855 (_WANT_IO_LONG_DOUBLE): Ditto.
3856 * configure.in: Add new configuration options
3857 --enable-newlib-io-long-long and --enable-newlib-io-long-double
3858 which tie to new defines in newlib.hin.
3859 * configure: Regenerated.
3860 * configure.host: Add checks for new configuration options. Also
3861 fix up check for --enable-newlib-io-pos-args so configuration
3862 option will override any default for a given platform.
3863 Remove defining compiler flags for the _WANT_IO* options.
3864 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
3865 instead of looking for old compiler flags.
3866 * libc/stdio/vfscanf.c: Ditto.
3867 * libc/stdio/vfieeefp.h: Ditto.
3868 * libc/machine/powerpc/vfprintf.c: Ditto.
3869 * libc/machine/powerpc/vfscanf.c: Ditto.
3871 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
3873 * testsuite/include/check.h: Add include of <stdio.h>.
3875 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
3877 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
3879 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3881 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
3884 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3886 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
3887 list for reentrant pointer. Call _vfiprintf_r.
3888 * libc/stdio/siprintf.c (_siprintf_r): New function.
3889 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
3890 pointer argument. Change all callers. Call _VFPRINTF_R.
3891 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
3894 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
3896 * libc/include/sys/param.h: Remove endian info and include
3897 <machine/endian.h> instead.
3898 * libc/include/machine/endian.h: New file.
3899 * libc/include/machine/param.h: Ditto.
3900 * libc/machine/arm/machine/endian.h: Ditto.
3901 * libc/machine/arm/machine/param.h: Ditto.
3902 * libc/sys/arm/sys/param.h: Removed.
3903 * libc/sys/sysvi386/sys/param.h: Ditto.
3904 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
3906 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3908 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
3909 multibyte functions return failure for %C, %S, %lc, and %ls
3912 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3914 * testsuite/include/check.h (CHECK): Add flush of stdout.
3916 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3918 * libc/include/stdio.h (_ungetc_r): New prototype.
3919 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
3920 (__submore): Add reentrant struct pointer argument.
3921 (ungetc): Change to call _ungetc_r.
3923 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3925 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
3926 function pointer argument.
3927 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
3928 to specify function pointer arguments.
3929 (__fwalk, __fwalk_reent): Ditto.
3931 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
3933 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
3936 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3938 * configure.in: Define _MB_CAPABLE if mb supported.
3939 * configure: Regenerated.
3940 * configure.host: Remove manual setting of MB_CAPABLE compiler
3942 * newlib.hin: Add _MB_CAPABLE flag.
3943 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
3944 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
3945 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
3946 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
3947 * libc/ctype/jp2uc.c: Ditto.
3948 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
3949 * libc/locale/locale.c: Ditto
3950 * libc/machine/powerpc/vfscanf.c: Ditto
3951 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
3952 * libc/stdlib/mblen.c: Ditto
3953 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
3954 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
3955 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
3956 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
3957 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
3958 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
3959 * libc/sys/linux/intl/explodename.c: Ditto
3960 * libc/sys/linux/intl/finddomain.c: Ditto
3961 * libc/sys/linux/intl/l10nflist.c: Ditto
3962 * libc/sys/linux/intl/loadmsgcat.c: Ditto
3963 * libc/sys/linux/intl/localealias.c: Ditto
3965 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3967 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
3968 (__svfscanf_r): In integer conversions, leave out leading zeroes
3969 which are not part of a base prefix.
3970 Keep track of width truncation to fit into buf, not counting left-out
3971 zeroes against width till the truncation has been compensated for.
3972 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
3974 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3976 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
3978 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3980 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
3981 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
3982 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
3983 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
3984 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
3985 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
3986 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
3987 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
3988 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
3989 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
3990 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
3991 libc/stdio/getchar.c libc/stdio/getchar_u.c,
3992 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
3993 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
3994 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
3995 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
3996 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
3997 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
3998 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
3999 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4000 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4001 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4002 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4003 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4004 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4005 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4006 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4007 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4008 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4009 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4010 copyright notices to top of file, ensure that <_ansi.h> is
4011 included, be consistent with open parentheses, use _DEFUN macro,
4012 include "local.h" where needed, and remove various compiler
4015 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4017 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4018 (__svfscanf_r): In integer conversions, leave out leading zeroes
4019 which are not part of a base prefix.
4020 Keep track of width truncation to fit into buf, not counting left-out
4021 zeroes against width till the truncation has been compensated for.
4023 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4025 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4027 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4029 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4031 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4033 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4036 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4038 * libc/stdio/fclose.c (_fclose_r): New function.
4039 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4040 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4041 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4042 * libc/include/stdio.h (_fclose_r): New prototype.
4043 * libc/stdio/fopen.c: Fix typo in comment.
4045 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4047 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4048 to handle _r reentrant functions.
4050 2004-04-08 Eric Christopher <echristo@redhat.com>
4052 * libc/include/machine/setjmp.h: Fix endif locations.
4054 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4056 * libc/time/strptime.c: Add standard includes to avoid
4057 warning messages at compilation time.
4059 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4061 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4064 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4066 * libc/machine/h8300/Makefile.am: Reformat slightly.
4067 * libc/machine/h8300/Makefile.in: Regenerate.
4069 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4071 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4073 (__fp_unlock_all): Add call to __sfp_lock_release.
4075 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4077 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4079 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4081 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4082 _flockfile/_funlockfile.
4083 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4085 Change __lock_acquire/__lock_release calls for __sfp_lock to
4086 __sfp_lock_acquire/__sfp_lock_release throughout.
4087 (std): Make sure that file lock is only initialized once.
4088 (__sfp): Move _file initialization. Initialize file lock.
4089 (__sfp_lock_acquire): New function.
4090 (__sfp_lock_release): Ditto.
4091 (__fp_lock_all): Remove __sfp_lock_acquire call.
4092 (__fp_unlock_all): Remove __sfp_lock_release call.
4093 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4094 Add calls to _flockfile/_funlockfile. Remove
4095 __lock_init_recursive call.
4096 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4097 * libc/stdio/fwalk.c (__fwalk): New static function.
4098 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4100 * libc/stdio/local.h: Add defines for
4101 __sfp_lock_acquire/__sfp_lock_release when
4102 single threaded. Add function prototypes otherwise.
4103 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4104 _flockfile/_funlockfile.
4105 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4106 Add calls to _flockfile/_funlockfile. Remove
4107 __lock_init_recursive call.
4108 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4111 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4113 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4114 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4115 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4116 to be __LOCK_INIT_RECURSIVE.
4118 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4120 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4121 _exit.c with _exit.S.
4122 * libc/sys/h8300hms/Makefile.in: Regenerate.
4123 * libc/sys/h8300hms/_exit.c: Remove.
4124 * libc/sys/h8300hms/_exit.S: New.
4126 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4128 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4129 Change __sfp_lock to static global.
4130 (__fp_lock): New static function.
4131 (__fp_unlock): Ditto.
4132 (__fp_lock_all): New function.
4133 (__fp_unlock_all): Ditto.
4135 2004-02-10 Christopher Faylor <cgf@redhat.com>
4137 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4138 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4139 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4140 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4142 2004-02-09 Christopher Faylor <cgf@redhat.com>
4144 * libc/include/time.h (TIMER_RELTIME): New define.
4146 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4148 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4149 * libc/stdlib/Makefile.in: Regenerated.
4151 2004-02-08 Christopher Faylor <cgf@redhat.com>
4153 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4154 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4156 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4158 2004-02-05 Paul Brook <paul@codesourcery.com>
4160 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4161 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4163 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4165 * NEWS: Update with 1.12.0 info.
4167 * acinclude.m4: Change version number to 1.12.0.
4168 * aclocal.m4: Regenerated.
4170 * doc/aclocal.m4: Ditto.
4171 * doc/configure: Ditto.
4172 * libc/*/aclocal.m4: Ditto.
4173 * libc/*/configure: Ditto.
4174 * libc/libc.texinfo: Ditto.
4175 * libm/*/aclocal.m4: Ditto.
4176 * libm/*/configure: Ditto.
4177 * libm/libm.texinfo: Ditto.
4178 * libc/sys/linux/shared.ld: Add VERS_1.12.
4180 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4182 * configure.host: Add support for tic4x.
4183 * libc/include/machine/ieeefp.h: Ditto.
4184 * libc/include/machine/setjmp.h: Ditto.
4185 * libc/machine/tic4x/Makefile.am: New file.
4186 * libc/machine/tic4x/configure.in: Ditto.
4187 * libc/machine/tic4x/setjmp.S: Ditto.
4188 * libc/machine/tic4x/aclocal.m4: Generated.
4189 * libc/machine/tic4x/configure: Ditto.
4190 * libc/machine/tic4x/Makefile.in: Ditto.
4192 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4194 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4195 file chain on the passed in reentrancy struct if it
4198 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4199 Jeff Johnston <jjohnstn@redhat.com>
4201 * libc/iconv/iconv.tex: Updated with more information.
4203 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4204 Jeff Johnston <jjohnstn@redhat.com>
4206 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4207 struct for std streams and traverse the global reeentrancy
4208 struct for all other streams.
4210 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4212 * libc/stdlib/atexit.c: Protect global atexit list with a
4213 lock when newlib is multithreaded.
4215 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4217 * configure.in: Add support to generate iconv converter flags
4219 * newlib.hin: Add iconv converter flags.
4220 * configure: Regenerated.
4221 * libc/Makefile.in: Ditto.
4222 * libc/configure.in: Moved iconv converter parsing logic to
4223 top level newlib configure.in.
4224 * libc/configure: Regenerated.
4225 * libc/iconv/Makefile.in: Ditto.
4226 * libc/iconv/README.TODO
4227 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4229 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4230 newlib.h can be used.
4231 * libc/iconv/ces/Makefile.am: Ditto.
4232 * libc/iconv/lib/Makefile.am: Ditto.
4233 * libc/iconv/ccs/Makefile.in: Regenerated.
4234 * libc/iconv/ces/Makefile.in: Ditto.
4235 * libc/iconv/lib/Makefile.in: Ditto.
4236 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4237 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4238 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4239 defined in newlib.h.
4240 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4241 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4242 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4243 * libc/iconv/ccs/cp775.c: Ditto.
4244 * libc/iconv/ccs/cp850.c: Ditto.
4245 * libc/iconv/ccs/cp852.c: Ditto.
4246 * libc/iconv/ccs/cp855.c: Ditto.
4247 * libc/iconv/ccs/cp866.c: Ditto.
4248 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4249 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4250 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4251 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4252 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4253 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4254 * libc/iconv/ccs/jis_x0201.c: Ditto.
4255 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4256 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4257 * libc/iconv/ccs/koi8_r.c: Ditto.
4258 * libc/iconv/ccs/koi8_u.c: Ditto.
4259 * libc/iconv/ccs/ksx1001.c: Ditto.
4260 * libc/iconv/ccs/shift_jis.c: Ditto.
4261 * libc/iconv/ccs/us_ascii.c: Ditto.
4262 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4263 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4264 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4265 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4266 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4267 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4268 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4269 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4270 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4271 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4272 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4273 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4274 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4275 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4276 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4277 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4278 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4279 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4280 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4281 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4282 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4283 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4284 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4285 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4286 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4287 * libc/iconv/ces/euc-kr.c: Ditto.
4288 * libc/iconv/ces/euc-tw.c: Ditto.
4289 * libc/iconv/ces/gb2312.c: Ditto.
4290 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4291 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4292 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4293 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4294 * libc/iconv/ces/utf-16.c: Ditto.
4295 * libc/iconv/ces/utf-8.c: Ditto.
4296 * libc/iconv/lib/aliases.c: Ditto.
4297 * libc/iconv/lib/biccs.c: Ditto.
4298 * libc/iconv/lib/bices.c: Ditto.
4299 * libc/iconv/lib/ccs.c: Ditto.
4300 * libc/iconv/lib/ces.c: Ditto.
4301 * libc/iconv/lib/ces_euc.c: Ditto.
4302 * libc/iconv/lib/ces_iso2022.c: Ditto.
4303 * libc/iconv/lib/ces_table.c: Ditto.
4304 * libc/iconv/lib/converter.c: Ditto.
4305 * libc/iconv/lib/deps.h: Ditto.
4306 * libc/iconv/lib/endian.h: Ditto.
4307 * libc/iconv/lib/iconv.c: Ditto.
4308 * libc/iconv/lib/loaddata.c: Ditto.
4309 * libc/iconv/lib/local.h: Include newlib.h.
4310 * libc/argz/Makefile.in: Regenerated.
4311 * libc/ctype/Makefile.in: Ditto.
4312 * libc/errno/Makefile.in: Ditto.
4313 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4314 * libc/locale/Makefile.in: Ditto.
4315 * libc/misc/Makefile.in: Ditto.
4316 * libc/posix/Makefile.in: Ditto.
4317 * libc/reent/Makefile.in: Ditto.
4318 * libc/search/Makefile.in: Ditto.
4319 * libc/signal/Makefile.in: Ditto.
4320 * libc/stdio/Makefile.in: Ditto.
4321 * libc/stdio64/Makefile.in: Ditto.
4322 * libc/stdlib/Makefile.in: Ditto.
4323 * libc/string/Makefile.in: Ditto.
4324 * libc/syscalls/Makefile.in: Ditto.
4325 * libc/time/Makefile.in: Ditto.
4326 * libc/unix/Makefile.in: Ditto.
4327 * testsuite/newlib.iconv/iconv.exp: New file.
4328 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4329 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4330 * testsuite/newlib.iconv/iconvru.c: Ditto.
4332 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4334 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4335 (--enable-newlib-builtin-converters): Ditto.
4336 * configure.in: Add code to set _ICONV_ENABLED flag.
4337 Set _MB_LEN_MAX to 1 if not mb enabled.
4338 * configure: Regenerated.
4339 * aclocal.m4: Ditto.
4340 * Makefile.in: Ditto.
4341 * newlib.hin: Add _ICONV_ENABLED flag.
4342 * libc/Makefile.am: Add support for iconv.
4343 * libc/configure.in: Ditto.
4344 * libc/Makefile.in: Regenerated.
4345 * libc/aclocal.m4: Ditto.
4346 * libc/configure: Ditto.
4347 * libc/libc.texinfo: Add iconv documentation.
4348 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4349 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4350 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4351 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4352 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4353 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4354 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4355 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4356 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4357 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4358 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4359 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4360 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4361 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4362 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4363 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4364 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4365 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4366 libc/iconv/ccs/binary/big5.cct,
4367 libc/iconv/ccs/binary/cns11643_plane1.cct,
4368 libc/iconv/ccs/binary/cns11643_plane14.cct,
4369 libc/iconv/ccs/binary/cns11643_plane2.cct,
4370 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4371 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4372 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4373 libc/iconv/ccs/binary/iso_8859_1.cct,
4374 libc/iconv/ccs/binary/iso_8859_15.cct,
4375 libc/iconv/ccs/binary/iso_8859_2.cct,
4376 libc/iconv/ccs/binary/iso_8859_4.cct,
4377 libc/iconv/ccs/binary/iso_8859_5.cct,
4378 libc/iconv/ccs/binary/jis_x0201.cct,
4379 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4380 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4381 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4382 libc/iconv/ccs/binary/ksx1001.cct,
4383 libc/iconv/ccs/binary/shift_jis.cct,
4384 libc/iconv/ccs/binary/us_ascii.cct,
4385 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4386 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4387 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4388 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4389 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4390 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4391 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4392 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4393 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4394 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4395 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4396 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4397 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4398 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4399 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4400 * libc/sys/linux/include/iconv.h: Ditto.
4401 * libc/include/sys/_types.h (_iconv_t): Added.
4402 * doc/aclocal.m4: Regenerated.
4403 * doc/configure: Ditto.
4404 * doc/Makefile.in: Ditto.
4405 * iconvdata/Makefile.in: Ditto.
4406 * iconvdata/aclocal.m4: Ditto.
4407 * iconvdata/configure: Ditto.
4408 * libc/*aclocal.m4: Ditto.
4409 * libc/*Makefile.in: Ditto.
4410 * libc/*configure: Ditto.
4411 * libm/*aclocal.m4: Ditto.
4412 * libm/*Makefile.in: Ditto.
4413 * libm/*configure: Ditto.
4415 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4417 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4418 by a lock when newlib is multithreaded.
4420 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4422 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4423 pointer to match C99 spec.
4424 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4425 dst is NULL. Also fix to not alter src pointer when dst is NULL
4426 and call _mbrtowc_r instead of _mbtowc_r.
4427 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4430 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4432 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4433 * libc/stdio/freopen.c (freopen): Ditto.
4435 2004-01-16 Christopher Faylor <cgf@redhat.com>
4437 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4439 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4441 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4442 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4443 Add calls to __lock_init_recursive and __lock_close_recursive
4446 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4448 * libc/stdio/fclose.c: Include sys/lock.h.
4449 (fclose): Destroy lock when file is closed.
4450 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4452 * libc/stdio/freopen.c: Include sys/lock.h.
4453 (_freopen_r): Destroy lock when file is closed.
4454 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4457 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4459 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4462 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4464 * libc/sys/rtems/sys/queue.h: New file.
4465 * libc/include/sys/signal.h: Reflect renumbering of signals to
4466 fit into 32-bit mask.
4467 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4468 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4469 required. In particular, add the reentrant variants of libc calls.
4470 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4472 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4474 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4475 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4476 Similarly for stdout and stderr.
4478 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4480 * libc/libc.texinfo: Correct escape character for @ sign
4481 so file will be processed by make info. Update copyright years.
4482 * libm/libm.texinfo: Ditto.
4484 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4486 * libc/include/sys/stat.h: No longer include stat-dj.h.
4487 * libc/include/sys/stat-dj.h: Removed.
4489 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4491 * libc/include/wchar.h: Include <sys/reent.h>.
4493 2003-12-05 Christopher Faylor <cgf@redhat.com>
4495 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4496 when defining _mbrtowc.
4497 * libc/stdlib/mbsinit.c: Ditto.
4498 * libc/stdlib/mbsrtowcs.c: Ditto.
4499 * libc/stdlib/wcrtomb.c: Ditto.
4500 * libc/stdlib/wcsrtombs.c: Ditto.
4501 * libc/stdlib/wctob.c: Ditto.
4503 2003-12-05 Christopher Faylor <cgf@redhat.com>
4505 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4506 errors when defining _mbrtowc.
4507 * libc/stdlib/mbsinit.c: Ditto.
4508 * libc/stdlib/mbsrtowcs.c: Ditto.
4510 2003-12-05 Christopher Faylor <cgf@redhat.com>
4512 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4513 errors when defining _mbrtowc.
4515 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4517 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4518 of mb routines for %lc and %ls support.
4519 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4520 %ls, and %S support. Remove CYGNUS_NEC markers and
4523 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4525 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4526 _wcrtomb_r, and _wcsrtombs_r.
4528 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4530 * libc/include/sys/fcntl.h: Don't define struct flock when on
4531 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4533 2003-11-28 Christopher Faylor <cgf@redhat.com>
4535 * libc/include/sys/signal.h: Use system specific signal file when
4538 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4540 * libc/include/stdlib.h (_atoi_r): New prototype.
4541 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4543 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4545 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4546 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4547 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4549 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4550 Jeff Johnston <jjohnstn@redhat.com>
4552 * libc/include/stdlib.h (lldiv_t): New type.
4553 (atoll, llabs, lldiv): New prototypes.
4554 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4555 * libc/stdlib/stdlib.tex: Ditto.
4556 * libc/stdlib/Makefile.in: Regenerated.
4557 * libc/stdlib/atoll.c: New file.
4558 * libc/stdlib/llabs.c: Ditto.
4559 * libc/stdlib/lldiv.c: Ditto.
4561 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4563 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4564 * libc/include/unistd.h: Ditto.
4565 * libc/include/stat.h: Ditto. Also declare struct stat64.
4567 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4569 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4570 specifier to use ch instead of *fmt.
4572 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4574 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4575 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4576 use simple byte logic.
4578 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4580 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4581 _strtold routine for processing floats and doubles since it
4582 is not as fast as _strtod_r.
4584 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4586 * libc/machine/h8300/defines.h : Correct pointer register defines
4588 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4590 * libc/machine/h8300/reg_memcpy.S : Likewise.
4591 * libc/machine/h8300/reg_memset.S : Likewise.
4592 * libc/machine/h8300/strcmp.S : Likewise.
4594 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4596 * configure.host: Enable positional arguments for printf
4598 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4599 pointer reference for quad_ptr_t.
4601 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4603 * libc/stdio/scanf.c: Don't include local.h more than once.
4605 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4607 * libc/include/sys/fcntl.h: Declare _open64.
4608 * libc/include/sys/stat.h: Declare _fstat64.
4609 * libc/include/sys/unistd.h: Declare _lseek64.
4611 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4613 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4614 (setprogname): Ditto.
4616 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4618 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4619 to use (Ebits + 1) which accounts for the sign-bit.
4621 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4623 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
4625 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4626 and set up default flags to pass to aclocal.
4627 * iconvdata/Makefile.in: Regenerated.
4628 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4629 and getpwuid routines.
4630 * libc/sys/linux/Makefile.in: Regenerated.
4631 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4632 applications to link with newlib's shared libc library.
4633 * libc/sys/linux/getpwnam.c: Ditto.
4634 * libc/sys/linux/getpwuid.c: Ditto.
4635 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4636 that were formerly supplied by /usr/include/linux/types.h with
4638 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4639 test _ELIX_LEVEL macro.
4641 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4643 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4644 referring to _NO_LONGLONG macro.
4646 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4648 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4649 in LOG() macro so this will compile on gcc 3.4 and up.
4650 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4651 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4652 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4653 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4654 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4655 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4656 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4657 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4658 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4659 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4660 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4661 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4662 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4663 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4664 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4665 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4666 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4667 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4668 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4669 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4670 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4671 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4672 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4673 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4674 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4675 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4676 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4677 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4678 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4679 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4680 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4681 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4682 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4683 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4684 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4685 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4687 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4688 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4690 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
4691 %ls, %S, %lc, and %C format specifiers.
4693 * libc/stdio/sprintf.c: Add documentation regarding new
4694 format specifiers added in vfprintf.c.
4696 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4698 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
4699 to make code work as specified in standard.
4701 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
4703 * configure.in: Use absolute newlib basedir when forming
4704 CC_FOR_NEWLIB include options.
4705 * configure: Regenerated.
4707 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4709 * libc/string/wcsnlen.c: New file.
4710 * libc/include/wchar.h: Add wcsnlen prototype.
4711 * libc/string/Makefile.am: Add wcsnlen support.
4712 * libc/string/Makefile.in: Regenerated.
4713 * libc/string/wcstrings.tex: Add wcsnlen documentation.
4715 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
4717 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
4719 2003-10-20 Bob Wilson <bob.wilson@acm.org>
4721 * libc/locale/locale.c: Use double quotes in code.
4722 * libc/locale/locale.tex: Likewise.
4723 * libc/libc.texinfo: Hyphenate "floating-point".
4724 * libc/machine/necv70/necv70.tex: Likewise.
4725 * libc/stdio/sprintf.c: Likewise.
4726 * libc/stdio/sscanf.c: Likewise.
4727 * libc/stdlib/atof.c: Likewise.
4728 * libc/stdlib/ldtoa.c: Fix comment typo.
4729 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
4730 * libc/stdlib/ldiv.c: Likewise.
4731 * libm/common/s_expm1.c: Likewise.
4732 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
4733 * libm/common/s_infinity: Hyphenate "double- and single-precision".
4734 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
4735 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
4736 and "floating-point".
4737 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
4738 * libm/math/e_pow.c: Fix comment typo.
4739 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
4740 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
4741 * libm/math/s_atan.c: Likewise.
4742 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
4743 * libm/math/s_isnan.c: Hyphenate "single-precision" and
4744 "floating-point". Use "nonzero".
4745 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4746 * libm/math/w_acos.c: Likewise.
4747 * libm/math/w_acosh.c: Likewise.
4748 * libm/math/w_asin.c: Likewise.
4749 * libm/math/w_atan2.c: Likewise.
4750 * libm/math/w_atanh.c: Likewise.
4751 * libm/math/w_cosh.c: Likewise.
4752 * libm/math/w_exp.c: Likewise.
4753 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
4754 version of 2^x in the description.
4755 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
4756 * libm/math/w_gamma.c: Likewise.
4757 * libm/math/w_hypot.c: Likewise.
4758 * libm/math/w_j0.c: Likewise.
4759 * libm/math/w_sinh.c: Likewise.
4760 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
4761 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
4763 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
4764 * libm/mathfp/e_atanh.c: Likewise.
4765 * libm/mathfp/e_hypot.c: Likewise.
4766 * libm/mathfp/er_lgamma.c: Likewise.
4767 * libm/mathfp/s_acos.c: Likewise.
4768 * libm/mathfp/s_asine.c: Likewise.
4769 * libm/mathfp/s_asinh.c: Likewise.
4770 * libm/mathfp/s_atan.c: Likewise.
4771 * libm/mathfp/s_atan2.c: Likewise.
4772 * libm/mathfp/s_atangent.c: Likewise.
4773 * libm/mathfp/s_cosh.c: Likewise.
4774 * libm/mathfp/s_exp.c: Likewise.
4775 * libm/mathfp/s_fmod.c: Likewise.
4776 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
4777 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
4778 "floating-point". Use "nonzero".
4779 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
4780 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4781 * libm/mathfp/s_sineh.c: Likewise.
4782 * libm/mathfp/w_jn.c: Likewise.
4784 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
4786 * Makefile.am: Add $(MAKE) comments to multido and multiclean
4787 lines, to enable parallel make.
4788 * Makefile.in: Rebuilt.
4790 2003-10-14 Christopher Faylor <cgf@redhat.com>
4792 * libc/time/clock.c: Clarify documentation of return value when no
4793 measurement is available.
4795 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
4797 * libm/configure.in: Check libm_machine_dir, not machine_dir.
4798 * libm/configure: Regenerate.
4799 * libm/Makefile.in: Ditto.
4801 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
4803 * libc/machine/sh/strncpy.S: New file.
4804 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
4805 * libc/machine/sh/Makefile.in: Regenerate.
4807 2003-09-11 James E Wilson <wilson@specifixinc.com>
4809 * MAINTAINERS: Update my e-mail address.
4811 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
4813 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
4815 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
4817 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
4819 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
4820 _simdldcheck(). Also add unsigned cast for index variable in
4821 for loop using sizeof operators.
4822 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
4823 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
4824 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
4825 plus fix shift calculation for determining if there is a
4828 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
4830 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4831 setgroupent for Cygwin.
4833 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
4835 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
4836 is different for _REENT_SMALL than when using regular reent
4839 2003-09-05 Ben Elliston <bje@wasabisystems.com>
4841 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
4842 modern versions of GCC issue a warning.
4844 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
4845 after continuation characters that induces a warning from modern
4848 2003-09-04 Ben Elliston <bje@wasabisystems.com>
4850 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
4851 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
4853 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
4855 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4856 * libc/stdlib/exit.c : Ditto.
4857 * libc/stdlib/on_exit.c: Ditto.
4859 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
4861 * libc/include/reent.h: Define stat64 as __stat64 when
4862 compiling newlib for Cygwin.
4864 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4866 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
4867 __stat64 when compiling newlib.
4869 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4871 * libc/include/stdio.h: Allow the io64 function prototypes for
4872 Cygwin when compiling newlib.
4873 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
4874 to expose the Cygwin struct __stat64 type.
4875 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
4877 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
4879 2003-08-23 Christopher Faylor <cgf@redhat.com>
4881 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
4882 definition to fseeko64.
4884 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
4886 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
4887 * libc/stdio: Globally remove/replace all references to fp->_data.
4888 Replace with _REENT or _GLOBAL_REENT where appropriate.
4889 * libc/stdio/asprintf.c: Ditto.
4890 * libc/stdio/fclose.c: Ditto.
4891 * libc/stdio/fvwrite.c: Ditto.
4892 * libc/stdio/makebuf.c: Ditto.
4893 * libc/stdio/refill.c: Ditto.
4894 * libc/stdio/local.h: Ditto.
4895 * libc/stdio/setvbuf.c: Ditto.
4896 * libc/stdio/sscanf.c: Ditto.
4897 * libc/stdio/stdio.c: Ditto.
4898 * libc/stdio/ungetc.c: Ditto.
4899 * libc/stdio/vfscanf.c: Ditto.
4900 * libc/stdio/vsscanf.c: Ditto.
4901 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
4902 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
4903 * libc/stdio/vsnprintf.c: Ditto.
4904 * libc/stdio/vsprintf.c: Ditto.
4905 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
4906 instead of _REENT to walk file list.
4907 * libc/stdio/fflush.c: Ditto.
4908 * libc/stdio/fgetpos.c: Add reentrant version and have regular
4909 version call reentrant version with _REENT argument.
4910 * libc/stdio/fsetpos.c: Ditto.
4911 * libc/stdio/fseek.c: Ditto.
4912 * libc/stdio/fseeko.c: Ditto.
4913 * libc/stdio/ftell.c: Ditto.
4914 * libc/stdio/ftello.c: Ditto.
4915 * libc/stdio/freopen.c: Ditto.
4916 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
4917 new files to chain. Also use _GLOBAL_REENT pointer for
4919 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
4920 * libc/stdio/siprintf.c: Ditto.
4921 * libc/stdio/iprintf.c: Ditto.
4922 * libc/stdio/fprintf.c: Ditto.
4923 * libc/stdio/printf.c: Ditto.
4924 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
4925 * libc/stdio/sprintf.c: Ditto.
4926 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
4927 * libc/stdio/rewind.c: Call _fseek_r directly.
4928 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
4929 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
4931 (get_arg): Add extra struct _reent pointer argument.
4932 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
4934 * libc/stdio64/fopen64.c: Ditto.
4935 * libc/stdio64/freopen64.c: Ditto.
4936 * libc/stdio64/fsetpos64.c: Ditto.
4937 * libc/stdio64/ftello64.c: Ditto.
4938 * libc/stdio64/local64.h: Ditto.
4939 * libc/stdio64/stdio64.c: Ditto.
4940 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
4941 _fstat64_r for the meantime.
4943 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
4945 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
4948 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
4950 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
4953 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
4955 * libc/include/math.h: Add prototypes for __signbitf and
4958 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
4960 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
4961 correct type of conversion when dealing with EUCJP or SJIS.
4962 * libc/ctype/iswblank.c: Ditto.
4963 * libc/ctype/iswcntrl.c: Ditto.
4964 * libc/ctype/iswprint.c: Ditto.
4965 * libc/ctype/iswpunct.c: Ditto.
4966 * libc/ctype/iswspace.c: Ditto.
4967 * libc/ctype/towlower.c: Ditto.
4968 * libc/ctype/towupper.c: Ditto.
4970 2003-07-31 Nick Clifton <nickc@redhat.com>
4972 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
4973 before calling main, in case it saves its argument registers.
4974 Remove reference to deleted v850ea port.
4975 * configure.host: Remove reference to deleted v850ea port.
4976 Do not use -mv850 when building for v850e target. This
4977 prevents the ctbp system register from being initialised.
4979 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
4981 * libc/stdio/vfprintf.c: Set output size to 1 when
4982 we have %f format with precision 0 and # flag not specified.
4984 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
4986 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
4989 2003-07-25 Christopher Faylor <cgf@redhat.com>
4991 * libc/stdio64/fdopen64.c: Include sys/lock.h.
4993 2003-07-25 Christopher Faylor <cgf@redhat.com>
4995 * configure.host: Find cygwin include directory, when appropriate.
4997 2003-07-24 Christopher Faylor <cgf@redhat.com>
4999 * libc/stdio64/fdopen64.c: New file.
5000 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5001 * libc/stdio64/Makefile.in: Regenerate.
5002 * libc/include/stdio.h (fdopen64): Define.
5003 * libc/include/stdio.h (_fdopen64_r): Ditto.
5005 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5007 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5008 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5009 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5010 restore callee-saved FP registers.
5012 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5014 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5016 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5018 * libc/sys/sh/Makefile.in: Regenerate.
5019 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5020 * libc/sys/sh/ftruncate.c: New file.
5021 * libc/sys/sh/truncate.c: Likewise.
5023 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5025 * libc/include/math.h (nan, nanf): Update prototype to C99.
5026 * libm/common/s_nan.c (nan): Likewise.
5027 * libm/common/s_nanf.c (nanf, nan): Likewise.
5028 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5030 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5032 * libc/include/stdbool.h: Removed as this is defined by gcc.
5034 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5036 * libc/include/stdbool.h: New header file defined by C99.
5038 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5040 * libc/include/sys/types.h (int8_t): Make signed.
5042 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5044 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5046 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5048 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5049 on if we actually created the shared memory file exclusively.
5051 2003-06-27 Joe Vornehm <joev@mitre.org>
5053 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5054 comparisons to account for unsigned internal value w.
5056 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5058 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5059 wrbuf for a non-creating open.
5061 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5063 * libc/machine/h8300/setarch.h: New.
5064 * libc/machine/h8300/memcpy.S: Use it.
5065 * libc/machine/h8300/memset.S: Likewise.
5066 * libc/machine/h8300/reg_memcpy.S: Likewise.
5067 * libc/machine/h8300/reg_memset.S: Likewise.
5068 * libc/machine/h8300/setjmp.S: Likewise.
5069 * libc/machine/h8300/strcmp.S: Likewise.
5071 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5073 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5076 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5078 * configure.host (iq2000): Add tabs.
5080 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5082 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5083 to handle latest on_exit change.
5084 * libc/sys/linux/Makefile.am: Remove special compilation
5085 for malloc.c and mcheck.c.
5086 * libc/sys/linux/Makefile.in: Regenerated.
5087 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5088 after including <features.h>.
5089 * libc/sys/linux/mcheck.c: Ditto.
5090 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5092 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5093 add -DNOT_IN_libc to C flags.
5094 * libc/sys/linux/intl/Makefile.in: Regenerated.
5095 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5096 * libc/sys/linux/linuxthreads/semaphore.h: Include
5097 <bits/pthreadtypes.h>.
5098 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5099 including <features.h>.
5100 * libc/sys/linux/sys/lock.h: Ditto.
5102 2003-06-11 Nick Clifton <nickc@redhat.com>
5104 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5107 2003-06-10 Stan Cox <scox@redhat.com>
5108 Anthony Green <green@redhat.com>
5110 * configure.host: Add iq2000 support.
5111 * newlib/libc/include/machine/ieeefp.h: Ditto.
5112 * newlib/libc/include/machine/setjmp.h: Ditto.
5113 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5114 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5115 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5116 libc/machine/iq2000/Makefile.in: New files.
5118 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5120 * libc/sys/h8300hms/setarch.h: New file.
5121 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5122 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5123 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5124 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5126 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5128 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5130 * libc/argz/argz_add_sep.c: Ditto.
5131 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5132 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5133 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5134 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5135 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5136 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5137 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5138 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5139 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5140 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5141 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5142 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5143 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5144 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5145 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5146 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5147 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5148 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5149 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5150 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5152 2003-06-05 Nick Clifton <nickc@redhat.com>
5154 * libc/include/sys/reent.h (struct _on_exit_args): New
5155 structure containing fields used by the on_exit() function.
5156 (struct _atexit): Include struct _on_exit_args. For
5157 _REENT_SMALL do his via a pointer that is initialised when
5159 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5160 structure, if one has been allocated.
5161 * libc/stdlib/atexit.c (atexit): Update indirection to
5163 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5164 _on_exit_args structure. For _REENT_SMALL, allocate a
5165 structure if one does not exist.
5166 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5169 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5171 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5172 * libc/sys/linux/net/Makefile.in: Regenerated.
5174 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5176 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5177 * libc/reent/fcntlr.c: Ditto.
5178 * libc/reent/fstat64r.c: Ditto.
5179 * libc/reent/linkr.c: Ditto.
5180 * libc/reent/lseek64r.c: Ditto.
5181 * libc/reent/lseekr.c: Ditto.
5182 * libc/reent/openr.c: Ditto.
5183 * libc/reent/readr.c: Ditto.
5184 * libc/reent/reent.c: Ditto.
5185 * libc/reent/sbrkr.c: Ditto.
5186 * libc/reent/signalr.c: Ditto.
5187 * libc/reent/signgam.c: Ditto.
5188 * libc/reent/statr.c: Ditto.
5189 * libc/reent/timer.c: Ditto.
5190 * libc/reent/unlinkr.c: Ditto.
5191 * libc/reent/writer.c: Ditto.
5192 * libc/syscalls/sysclose.c: Ditto.
5193 * libc/syscalls/sysexecve.c: Ditto.
5194 * libc/syscalls/sysfcntl.c: Ditto.
5195 * libc/syscalls/sysfork.c: Ditto.
5196 * libc/syscalls/sysfstat.c: Ditto.
5197 * libc/syscalls/sysgetpid.c: Ditto.
5198 * libc/syscalls/sysgettod.c: Ditto.
5199 * libc/syscalls/syskill.c: Ditto.
5200 * libc/syscalls/syslink.c: Ditto.
5201 * libc/syscalls/syslseek.c: Ditto.
5202 * libc/syscalls/sysopen.c: Ditto.
5203 * libc/syscalls/sysread.c: Ditto.
5204 * libc/syscalls/syssbrk.c: Ditto.
5205 * libc/syscalls/sysstat.c: Ditto.
5206 * libc/syscalls/systimes.c: Ditto.
5207 * libc/syscalls/sysunlink.c: Ditto.
5208 * libc/syscalls/syswait.c: Ditto.
5209 * libc/syscalls/syswrite.c: Ditto.
5211 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5213 * libc/time/tzset_r.c: Change local variables that are
5214 set via sscanf using the %h format specifier to be unsigned short
5217 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5219 * configure.host: Allow i[34567]86 variant.
5220 * configure.in: Likewise.
5221 * README: Likewise to the docs.
5222 * configure: Regenerated.
5223 * Makefile.in: Ditto.
5225 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5226 Tom Fitzsimmons <fitzsim@redhat.com>
5228 * configure.in: Add iconvdata support for x86 linux.
5229 * configure: Regenerated.
5230 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5231 library, iconv, and linuxthreads support.
5232 * libc/sys/linux/configure.in: Ditto.
5233 * libc/sys/linux/Makefile.in: Regenerated.
5234 * libc/sys/linux/configure: Ditto.
5235 * iconvdata/EUC-JP.irreversible: New file.
5236 * iconvdata/Makefile.am: Ditto.
5237 * iconvdata/Makefile.in: Ditto.
5238 * iconvdata/SJIS.irreversible: Ditto.
5239 * iconvdata/aclocal.m4: Ditto.
5240 * iconvdata/configure: Ditto.
5241 * iconvdata/configure.in: Ditto.
5242 * iconvdata/dummy.c: Ditto.
5243 * iconvdata/euc-jp.c: Ditto.
5244 * iconvdata/gconv-modules: Ditto.
5245 * iconvdata/jis0201.c: Ditto.
5246 * iconvdata/jis0201.h: Ditto.
5247 * iconvdata/jis0208.c: Ditto.
5248 * iconvdata/jis0208.h: Ditto.
5249 * iconvdata/jis0212.c: Ditto.
5250 * iconvdata/jis0212.h: Ditto.
5251 * iconvdata/sjis.c: Ditto.
5252 * libc/include/errno.h: Protect definition of error_t.
5253 * libc/sys/linux/gethostid.c: New file.
5254 * libc/sys/linux/sethostid.c: Ditto.
5255 * libc/sys/linux/dl/Makefile.am: Ditto.
5256 * libc/sys/linux/dl/Makefile.in: Ditto.
5257 * libc/sys/linux/dl/abi-tag.h: Ditto.
5258 * libc/sys/linux/dl/atomicity.h: Ditto.
5259 * libc/sys/linux/dl/dl-addr.c: Ditto.
5260 * libc/sys/linux/dl/dl-cache.c: Ditto.
5261 * libc/sys/linux/dl/dl-cache.h: Ditto.
5262 * libc/sys/linux/dl/dl-close.c: Ditto.
5263 * libc/sys/linux/dl/dl-debug.c: Ditto.
5264 * libc/sys/linux/dl/dl-deps.c: Ditto.
5265 * libc/sys/linux/dl/dl-dst.h: Ditto.
5266 * libc/sys/linux/dl/dl-error.c: Ditto.
5267 * libc/sys/linux/dl/dl-fini.c: Ditto.
5268 * libc/sys/linux/dl/dl-init.c: Ditto.
5269 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5270 * libc/sys/linux/dl/dl-libc.c: Ditto.
5271 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5272 * libc/sys/linux/dl/dl-load.c: Ditto.
5273 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5274 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5275 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5276 * libc/sys/linux/dl/dl-misc.c: Ditto.
5277 * libc/sys/linux/dl/dl-object.c: Ditto.
5278 * libc/sys/linux/dl/dl-open.c: Ditto.
5279 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5280 * libc/sys/linux/dl/dl-profile.c: Ditto.
5281 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5282 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5283 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5284 * libc/sys/linux/dl/dl-support.c: Ditto.
5285 * libc/sys/linux/dl/dl-sym.c: Ditto.
5286 * libc/sys/linux/dl/dl-version.c: Ditto.
5287 * libc/sys/linux/dl/dlfcn.h: Ditto.
5288 * libc/sys/linux/dl/do-lookup.h: Ditto.
5289 * libc/sys/linux/dl/do-rel.h: Ditto.
5290 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5291 * libc/sys/linux/dl/kernel-features.h: Ditto.
5292 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5293 * libc/sys/linux/dl/libintl.h: Ditto.
5294 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5295 * libc/sys/linux/dl/unsecvars.h: Ditto.
5296 * libc/sys/linux/iconv/Makefile.am: Ditto.
5297 * libc/sys/linux/iconv/Makefile.in: Ditto.
5298 * libc/sys/linux/iconv/categories.def: Ditto.
5299 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5300 * libc/sys/linux/iconv/gconv.c: Ditto.
5301 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5302 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5303 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5304 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5305 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5306 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5307 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5308 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5309 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5310 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5311 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5312 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5313 * libc/sys/linux/iconv/hash-string.h: Ditto.
5314 * libc/sys/linux/iconv/iconv.c: Ditto.
5315 * libc/sys/linux/iconv/iconv.h: Ditto.
5316 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5317 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5318 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5319 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5320 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5321 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5322 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5323 * libc/sys/linux/iconv/loop.c: Ditto.
5324 * libc/sys/linux/iconv/skeleton.c: Ditto.
5325 * libc/sys/linux/iconv/strtab.c: Ditto.
5326 * libc/sys/linux/include/dl-hash.h: Ditto.
5327 * libc/sys/linux/include/dlfcn.h: Ditto.
5328 * libc/sys/linux/include/fnmatch.h: Ditto.
5329 * libc/sys/linux/include/gconv.h: Ditto.
5330 * libc/sys/linux/include/glob.h: Ditto.
5331 * libc/sys/linux/include/hesiod.h: Ditto.
5332 * libc/sys/linux/include/ifaddrs.h: Ditto.
5333 * libc/sys/linux/include/libc_private.h: Ditto.
5334 * libc/sys/linux/include/link.h: Ditto.
5335 * libc/sys/linux/include/namespace.h: Ditto.
5336 * libc/sys/linux/include/netconfig.h: Ditto.
5337 * libc/sys/linux/include/netdb.h: Ditto.
5338 * libc/sys/linux/include/nsswitch.h: Ditto.
5339 * libc/sys/linux/include/regex.h: Ditto.
5340 * libc/sys/linux/include/resolv.h: Ditto.
5341 * libc/sys/linux/include/rune.h: Ditto.
5342 * libc/sys/linux/include/runetype.h: Ditto.
5343 * libc/sys/linux/include/semaphore.h: Ditto.
5344 * libc/sys/linux/include/setlocale.h: Ditto.
5345 * libc/sys/linux/include/un-namespace.h: Ditto.
5346 * libc/sys/linux/include/wordexp.h: Ditto.
5347 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5348 * libc/sys/linux/include/arpa/inet.h: Ditto.
5349 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5350 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5351 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5352 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5353 * libc/sys/linux/include/net/bpf.h: Ditto.
5354 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5355 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5356 * libc/sys/linux/include/net/bridge.h: Ditto.
5357 * libc/sys/linux/include/net/ethernet.h: Ditto.
5358 * libc/sys/linux/include/net/fddi.h: Ditto.
5359 * libc/sys/linux/include/net/if.h: Ditto.
5360 * libc/sys/linux/include/net/if_arc.h: Ditto.
5361 * libc/sys/linux/include/net/if_arp.h: Ditto.
5362 * libc/sys/linux/include/net/if_atm.h: Ditto.
5363 * libc/sys/linux/include/net/if_dl.h: Ditto.
5364 * libc/sys/linux/include/net/if_gif.h: Ditto.
5365 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5366 * libc/sys/linux/include/net/if_llc.h: Ditto.
5367 * libc/sys/linux/include/net/if_media.h: Ditto.
5368 * libc/sys/linux/include/net/if_mib.h: Ditto.
5369 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5370 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5371 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5372 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5373 * libc/sys/linux/include/net/if_stf.h: Ditto.
5374 * libc/sys/linux/include/net/if_tap.h: Ditto.
5375 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5376 * libc/sys/linux/include/net/if_tun.h: Ditto.
5377 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5378 * libc/sys/linux/include/net/if_types.h: Ditto.
5379 * libc/sys/linux/include/net/if_var.h: Ditto.
5380 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5381 * libc/sys/linux/include/net/intrq.h: Ditto.
5382 * libc/sys/linux/include/net/iso88025.h: Ditto.
5383 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5384 * libc/sys/linux/include/net/netisr.h: Ditto.
5385 * libc/sys/linux/include/net/pfil.h: Ditto.
5386 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5387 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5388 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5389 * libc/sys/linux/include/net/radix.h: Ditto.
5390 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5391 * libc/sys/linux/include/net/route.h: Ditto.
5392 * libc/sys/linux/include/net/slcompress.h: Ditto.
5393 * libc/sys/linux/include/net/slip.h: Ditto.
5394 * libc/sys/linux/include/net/zlib.h: Ditto.
5395 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5396 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5397 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5398 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5399 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5400 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5401 * libc/sys/linux/include/netinet/in.h: Ditto.
5402 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5403 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5404 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5405 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5406 * libc/sys/linux/include/netinet/ip.h: Ditto.
5407 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5408 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5409 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5410 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5411 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5412 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5413 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5414 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5415 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5416 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5417 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5418 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5419 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5420 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5421 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5422 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5423 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5424 * libc/sys/linux/include/netinet/udp.h: Ditto.
5425 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5426 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5427 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5428 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5429 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5430 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5431 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5432 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5433 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5434 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5435 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5436 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5437 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5438 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5439 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5440 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5441 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5442 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5443 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5444 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5445 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5446 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5447 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5448 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5449 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5450 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5451 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5452 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5453 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5454 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5455 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5456 * libc/sys/linux/include/netns/idp.h: Ditto.
5457 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5458 * libc/sys/linux/include/netns/ns.h: Ditto.
5459 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5460 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5461 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5462 * libc/sys/linux/include/netns/sp.h: Ditto.
5463 * libc/sys/linux/include/netns/spidp.h: Ditto.
5464 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5465 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5466 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5467 * libc/sys/linux/include/rpc/Makefile: Ditto.
5468 * libc/sys/linux/include/rpc/auth.h: Ditto.
5469 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5470 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5471 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5472 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5473 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5474 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5475 * libc/sys/linux/include/rpc/des.h: Ditto.
5476 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5477 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5478 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5479 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5480 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5481 * libc/sys/linux/include/rpc/raw.h: Ditto.
5482 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5483 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5484 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5485 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5486 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5487 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5488 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5489 * libc/sys/linux/include/rpc/svc.h: Ditto.
5490 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5491 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5492 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5493 * libc/sys/linux/include/rpc/types.h: Ditto.
5494 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5495 * libc/sys/linux/intl/Makefile.am: Ditto.
5496 * libc/sys/linux/intl/Makefile.in: Ditto.
5497 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5498 * libc/sys/linux/intl/catgets.c: Ditto.
5499 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5500 * libc/sys/linux/intl/config.h: Ditto.
5501 * libc/sys/linux/intl/dcgettext.c: Ditto.
5502 * libc/sys/linux/intl/dcigettext.c: Ditto.
5503 * libc/sys/linux/intl/dcngettext.c: Ditto.
5504 * libc/sys/linux/intl/dgettext.c: Ditto.
5505 * libc/sys/linux/intl/dngettext.c: Ditto.
5506 * libc/sys/linux/intl/explodename.c: Ditto.
5507 * libc/sys/linux/intl/finddomain.c: Ditto.
5508 * libc/sys/linux/intl/gettext.c: Ditto.
5509 * libc/sys/linux/intl/gettext.h: Ditto.
5510 * libc/sys/linux/intl/gettextP.h: Ditto.
5511 * libc/sys/linux/intl/hash-string.h: Ditto.
5512 * libc/sys/linux/intl/l10nflist.c: Ditto.
5513 * libc/sys/linux/intl/loadinfo.h: Ditto.
5514 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5515 * libc/sys/linux/intl/locale.alias: Ditto.
5516 * libc/sys/linux/intl/localealias.c: Ditto.
5517 * libc/sys/linux/intl/ngettext.c: Ditto.
5518 * libc/sys/linux/intl/open_catalog.c: Ditto.
5519 * libc/sys/linux/intl/plural.c: Ditto.
5520 * libc/sys/linux/intl/plural.y: Ditto.
5521 * libc/sys/linux/intl/stpcpy.c: Ditto.
5522 * libc/sys/linux/intl/textdomain.c: Ditto.
5523 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5524 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5525 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5526 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5527 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5528 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5529 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5530 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5531 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5532 * libc/sys/linux/linuxthreads/config.h: Ditto.
5533 * libc/sys/linux/linuxthreads/configure: Ditto.
5534 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5535 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5536 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5537 * libc/sys/linux/linuxthreads/events.c: Ditto.
5538 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5539 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5540 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5541 * libc/sys/linux/linuxthreads/join.c: Ditto.
5542 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5543 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5544 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5545 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5546 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5547 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5548 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5549 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5550 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5551 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5552 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5553 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5554 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5555 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5556 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5557 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5558 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5559 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5560 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5561 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5562 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5563 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5564 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5565 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5566 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5567 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5568 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5569 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5570 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5571 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5572 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5573 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5574 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5575 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5576 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5577 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5578 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5579 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5580 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5581 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5582 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5583 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5584 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5585 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5586 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5587 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5588 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5589 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5590 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5591 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5592 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5593 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5594 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5595 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5596 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5597 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5598 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5599 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5600 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5601 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5602 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5603 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5604 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5605 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5606 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5607 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5608 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5609 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5610 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5611 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5612 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5613 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5614 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5615 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5616 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5617 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5618 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5619 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5620 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5621 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5622 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5623 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5624 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5625 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5626 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5627 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5628 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5629 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5630 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5631 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5632 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5633 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5634 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5635 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5636 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5637 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5638 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5639 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5640 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5641 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5642 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5643 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5644 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5645 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5646 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5647 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5648 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5649 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5650 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5651 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5652 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5653 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5654 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5655 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5656 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5657 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5658 * libc/sys/linux/net/Makefile.am: Ditto.
5659 * libc/sys/linux/net/Makefile.in: Ditto.
5660 * libc/sys/linux/net/addr2ascii.3: Ditto.
5661 * libc/sys/linux/net/addr2ascii.c: Ditto.
5662 * libc/sys/linux/net/ascii2addr.c: Ditto.
5663 * libc/sys/linux/net/base64.c: Ditto.
5664 * libc/sys/linux/net/bindresvport.c: Ditto.
5665 * libc/sys/linux/net/byteorder.3: Ditto.
5666 * libc/sys/linux/net/ether_addr.c: Ditto.
5667 * libc/sys/linux/net/ethers.3: Ditto.
5668 * libc/sys/linux/net/getaddrinfo.3: Ditto.
5669 * libc/sys/linux/net/getaddrinfo.c: Ditto.
5670 * libc/sys/linux/net/gethostbydns.c: Ditto.
5671 * libc/sys/linux/net/gethostbyht.c: Ditto.
5672 * libc/sys/linux/net/gethostbyname.3: Ditto.
5673 * libc/sys/linux/net/gethostbynis.c: Ditto.
5674 * libc/sys/linux/net/gethostnamadr.c: Ditto.
5675 * libc/sys/linux/net/getifaddrs.3: Ditto.
5676 * libc/sys/linux/net/getifaddrs.c: Ditto.
5677 * libc/sys/linux/net/getipnodebyname.3: Ditto.
5678 * libc/sys/linux/net/getnameinfo.3: Ditto.
5679 * libc/sys/linux/net/getnameinfo.c: Ditto.
5680 * libc/sys/linux/net/getnetbydns.c: Ditto.
5681 * libc/sys/linux/net/getnetbyht.c: Ditto.
5682 * libc/sys/linux/net/getnetbynis.c: Ditto.
5683 * libc/sys/linux/net/getnetent.3: Ditto.
5684 * libc/sys/linux/net/getnetnamadr.c: Ditto.
5685 * libc/sys/linux/net/getproto.c: Ditto.
5686 * libc/sys/linux/net/getprotoent.3: Ditto.
5687 * libc/sys/linux/net/getprotoent.c: Ditto.
5688 * libc/sys/linux/net/getprotoname.c: Ditto.
5689 * libc/sys/linux/net/getservbyname.c: Ditto.
5690 * libc/sys/linux/net/getservbyport.c: Ditto.
5691 * libc/sys/linux/net/getservent.3: Ditto.
5692 * libc/sys/linux/net/getservent.c: Ditto.
5693 * libc/sys/linux/net/herror.c: Ditto.
5694 * libc/sys/linux/net/hesiod.3: Ditto.
5695 * libc/sys/linux/net/hesiod.c: Ditto.
5696 * libc/sys/linux/net/if_indextoname.3: Ditto.
5697 * libc/sys/linux/net/ifname.c: Ditto.
5698 * libc/sys/linux/net/inet.3: Ditto.
5699 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
5700 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
5701 * libc/sys/linux/net/inet_addr.c: Ditto.
5702 * libc/sys/linux/net/inet_lnaof.c: Ditto.
5703 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
5704 * libc/sys/linux/net/inet_net.3: Ditto.
5705 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
5706 * libc/sys/linux/net/inet_net_pton.c: Ditto.
5707 * libc/sys/linux/net/inet_neta.c: Ditto.
5708 * libc/sys/linux/net/inet_netof.c: Ditto.
5709 * libc/sys/linux/net/inet_network.c: Ditto.
5710 * libc/sys/linux/net/inet_ntoa.c: Ditto.
5711 * libc/sys/linux/net/inet_ntop.c: Ditto.
5712 * libc/sys/linux/net/inet_pton.c: Ditto.
5713 * libc/sys/linux/net/innetgr-stub.c: Ditto.
5714 * libc/sys/linux/net/ip6opt.c: Ditto.
5715 * libc/sys/linux/net/iso_addr.3: Ditto.
5716 * libc/sys/linux/net/iso_addr.c: Ditto.
5717 * libc/sys/linux/net/issetugid-stub.c: Ditto.
5718 * libc/sys/linux/net/linkaddr.3: Ditto.
5719 * libc/sys/linux/net/linkaddr.c: Ditto.
5720 * libc/sys/linux/net/map_v4v6.c: Ditto.
5721 * libc/sys/linux/net/name6.c: Ditto.
5722 * libc/sys/linux/net/namespace.h: Ditto.
5723 * libc/sys/linux/net/ns.3: Ditto.
5724 * libc/sys/linux/net/ns_addr.c: Ditto.
5725 * libc/sys/linux/net/ns_name.c: Ditto.
5726 * libc/sys/linux/net/ns_netint.c: Ditto.
5727 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5728 * libc/sys/linux/net/ns_parse.c: Ditto.
5729 * libc/sys/linux/net/ns_print.c: Ditto.
5730 * libc/sys/linux/net/ns_ttl.c: Ditto.
5731 * libc/sys/linux/net/nsap_addr.c: Ditto.
5732 * libc/sys/linux/net/nsdispatch.3: Ditto.
5733 * libc/sys/linux/net/nsdispatch.c: Ditto.
5734 * libc/sys/linux/net/nslexer.c: Ditto.
5735 * libc/sys/linux/net/nslexer.l: Ditto.
5736 * libc/sys/linux/net/nsparser.c: Ditto.
5737 * libc/sys/linux/net/nsparser.h: Ditto.
5738 * libc/sys/linux/net/nsparser.y: Ditto.
5739 * libc/sys/linux/net/rcmd.3: Ditto.
5740 * libc/sys/linux/net/rcmd.c: Ditto.
5741 * libc/sys/linux/net/rcmdsh.3: Ditto.
5742 * libc/sys/linux/net/rcmdsh.c: Ditto.
5743 * libc/sys/linux/net/recv.c: Ditto.
5744 * libc/sys/linux/net/res_comp.c: Ditto.
5745 * libc/sys/linux/net/res_config.h: Ditto.
5746 * libc/sys/linux/net/res_data.c: Ditto.
5747 * libc/sys/linux/net/res_debug.c: Ditto.
5748 * libc/sys/linux/net/res_init.c: Ditto.
5749 * libc/sys/linux/net/res_mkquery.c: Ditto.
5750 * libc/sys/linux/net/res_mkupdate.c: Ditto.
5751 * libc/sys/linux/net/res_query.c: Ditto.
5752 * libc/sys/linux/net/res_send.c: Ditto.
5753 * libc/sys/linux/net/res_update.c: Ditto.
5754 * libc/sys/linux/net/resolver.3: Ditto.
5755 * libc/sys/linux/net/rthdr.c: Ditto.
5756 * libc/sys/linux/net/send.c: Ditto.
5757 * libc/sys/linux/net/un-namespace.h: Ditto.
5758 * libc/sys/linux/net/vars.c: Ditto.
5759 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
5760 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5761 * libc/sys/linux/stdlib/Makefile.in: Ditto.
5762 * libc/sys/linux/stdlib/cclass.h: Ditto.
5763 * libc/sys/linux/stdlib/cname.h: Ditto.
5764 * libc/sys/linux/stdlib/collate.c: Ditto.
5765 * libc/sys/linux/stdlib/collate.h: Ditto.
5766 * libc/sys/linux/stdlib/collcmp.c: Ditto.
5767 * libc/sys/linux/stdlib/engine.c: Ditto.
5768 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
5769 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
5770 * libc/sys/linux/stdlib/glob.3: Ditto.
5771 * libc/sys/linux/stdlib/glob.c: Ditto.
5772 * libc/sys/linux/stdlib/reallocf.c: Ditto.
5773 * libc/sys/linux/stdlib/regcomp.c: Ditto.
5774 * libc/sys/linux/stdlib/regerror.c: Ditto.
5775 * libc/sys/linux/stdlib/regex.3: Ditto.
5776 * libc/sys/linux/stdlib/regex2.h: Ditto.
5777 * libc/sys/linux/stdlib/regexec.c: Ditto.
5778 * libc/sys/linux/stdlib/regfree.c: Ditto.
5779 * libc/sys/linux/stdlib/utils.h: Ditto.
5780 * libc/sys/linux/stdlib/wordexp.c: Ditto.
5781 * libc/sys/linux/stdlib/wordfree.c: Ditto.
5782 * libc/sys/linux/sys/dlfcn.h: Ditto.
5783 * libc/sys/linux/sys/elfclass.h: Ditto.
5784 * libc/sys/linux/sys/event.h: Ditto.
5785 * libc/sys/linux/sys/ioccom.h: Ditto.
5786 * libc/sys/linux/sys/libc-tsd.h: Ditto.
5787 * libc/sys/linux/sys/link.h: Ditto.
5788 * libc/sys/linux/sys/lock.h: Ditto.
5789 * libc/sys/linux/sys/param.h: Ditto.
5790 * libc/sys/linux/sys/socket.h: Ditto.
5791 * libc/sys/linux/sys/sockio.h: Ditto.
5793 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5795 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
5797 * newlib/libc/machine/h8300/memset.S: Likewise
5798 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
5799 * newlib/lib/machine/h8300/reg_memset.S: Likewise
5800 * newlib/lib/machine/h8300/setjmp.S: Likewise
5801 * newlib/lib/machine/h8300/strcmp.S: Likewise
5802 * newlib/lib/sys/h8300hms/crt0.S: Likewise
5804 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5806 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
5807 * libc/include/stdio.h: Ditto.
5808 * libc/include/sys/config.h: Ditto.
5809 * libc/stdio/mktemp.c: Ditto.
5811 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5813 * libc/locale/ldpart.c (__part_load_locale): Substitute
5814 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
5815 * libc/search/hash.c (__hash_open): Ditto.
5817 * libc/stdio/fseek.c (fseek): Ditto.
5818 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5819 * libc/stdio/mktemp.c (_gettemp): Ditto.
5821 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5823 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
5825 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5827 * configure.host: Accomodate removing the libc/sys/cygwin dir.
5828 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
5829 if __CYGWIN_USE_BIG_TYPES__ is set.
5830 * libc/search/hash.c (__hash_open): Ditto.
5832 * libc/stdio/fseek.c (fseek): Ditto.
5833 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5834 * libc/stdio/mktemp.c (_gettemp): Ditto.
5835 * libc/sys/cygwin/Makefile.am: Remove.
5836 * libc/sys/cygwin/Makefile.in: Remove.
5837 * libc/sys/cygwin/aclocal.m4: Remove.
5838 * libc/sys/cygwin/configure: Remove.
5839 * libc/sys/cygwin/configure.in: Remove.
5840 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
5841 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
5843 * libc/sys/cygwin/sys/param.h: Ditto.
5844 * libc/sys/cygwin/sys/utime.h: Ditto.
5845 * libc/sys/cygwin/sys/utmp.h: Ditto.
5847 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
5849 * libc/include/sys/types.h: Don't define key_t for Cygwin.
5851 2003-05-10 Christopher Faylor <cgf@redhat.com>
5853 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
5856 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
5858 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
5859 Include cygwin/config.h instead.
5861 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
5863 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
5864 all code with #ifdef __SPE__ test.
5865 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
5867 2003-04-15 Chris January <chris@atomice.net>
5869 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
5872 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5874 * libc/machine/sh/memset.S: Avoid clobbering volatile
5875 objects following a tiny to-be-set array in the same quadword.
5877 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
5879 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
5880 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
5881 * libc/string/Makefile.in: Regenerated.
5882 * libc/string/wcswidth.c: New file.
5883 * libc/string/wcwidth.c: New file.
5884 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
5886 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
5888 * libc/machine/sh/memset.S: Fix problem with alloco region
5889 exceeding destination region for length >= 88 bytes, start
5890 & 0x16 == 0, end & 0x1f == 18.
5892 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
5894 * libc/string/wcscoll.c: Fix comment.
5896 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
5898 * libc/include/wchar.h: Add definition for wcscoll.
5899 * libc/string/Makefile.am: Add wcscoll.c.
5900 * libc/string/Makefile.in: Regenerated.
5901 * libc/string/wcscoll.c: New file.
5902 * libc/string/wcstrings.tex: Add wcscoll.
5904 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5906 * libc/stdio/sscanf.c: Update flags description.
5907 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
5909 (__svfscanf_r): Add 'hh' and 'll' handling.
5911 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5913 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
5914 __d_position member to _off_t.
5916 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
5918 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
5919 count all characters used to create number against maximum width.
5920 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5922 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5924 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
5926 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
5927 flag to support simulator only extensions.
5929 2003-03-17 Bob Cassels <bcassels@abinitio.com>
5931 * libc/string/wcschr.c: (wcschr): Look for character first,
5932 then for end of string, so you can do wcschr(x, '\0').
5934 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
5936 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
5937 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
5938 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
5939 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
5940 * libc/stdio/fseeko.c (fseeko): Ditto.
5941 * libc/stdio/ftello.c (ftello): Ditto.
5942 * libc/stdio/stdio.c (__swrite): Ditto.
5944 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
5945 * libc/stdio/fseek.c (fseek): Ditto.
5946 * libc/stdio/fsetpos.c (fsetpos): Ditto.
5947 * libc/stdio/ftell.c (ftell): Ditto.
5948 * libc/stdio/local.h: Declare __sseek using _off_t.
5950 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5952 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
5954 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5956 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
5959 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5961 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
5963 * libc/include/sys/stat.h: Ditto.
5964 * libc/include/sys/unistd.h: Ditto.
5965 * libc/sys/cygwin/sys/dirent.h: Ditto.
5967 2003-03-07 Christopher Faylor <cgf@redhat.com>
5969 * libc/include/sys/unistd.h: Guard getopt.h call to force only
5970 declaration of getopt and avoid getopt_long declaration.
5971 * libc/sys/cygwin/include/unistd.h: Remove.
5973 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
5975 * configure.host: Define stdio64_dir for Cygwin.
5976 * libc/include/stdio.h: Change definition of fpos_t to fulfill
5977 Cygwin 64bit file access requirements.
5978 Drop definition of f*64() functions when compiled for Cygwin.
5979 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
5980 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
5981 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
5983 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
5985 * libc/include/sys/reent.h: Remove extraneous _sig_func
5988 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5990 * libc/sys/h8300hms/Makefile.am: Add support for new files.
5991 * libc/sys/h8300hms/Makefile.in: Regenerated.
5992 * libc/sys/h8300hms/close.S: New file.
5993 * libc/sys/h8300hms/fstat.S: Ditto.
5994 * libc/sys/h8300hms/lseek.S: Ditto.
5995 * libc/sys/h8300hms/open.S: Ditto.
5996 * libc/sys/h8300hms/stat.S: Ditto.
5997 * libc/sys/h8300hms/read.S: New file to replace read.c.
5998 * libc/sys/h8300hms/read.c: Removed.
5999 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6000 _lseek, _close, _stat, _fstat.
6001 * libc/sys/h8300hms/write.S: New file to replace write.c.
6002 * libc/sys/h8300hms/write.c: Removed.
6004 2003-02-20 Nick Clifton <nickc@redhat.com>
6006 * Add support for Cirrus Maverick ARM co-processor:
6008 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6010 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6011 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6013 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6015 * configure.host: set sys_dir, syscall_dir, and
6016 newlib_cflags for ep9312 host.
6018 * configure.host: Restore alpha sorting of entries in case
6021 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6023 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6025 2003-02-18 Christian Groessler <chris@groessler.org>
6027 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6028 support z8001 segmented mode.
6030 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6032 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6035 2003-02-10 Christopher Faylor <cgf@redhat.com>
6037 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6038 Don't define some types under cygwin.
6040 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6042 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6043 option to allow disabling of syscalls being supplied in newlib.
6044 * aclocal.m4: Regenerated.
6046 * configure.host: Add support of new configuration option and add
6047 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6048 * doc/aclocal.m4: Regenerated.
6049 * doc/configure: Ditto.
6050 * libc/*aclocal.m4: Ditto.
6051 * libc/*configure: Ditto.
6052 * libm/*aclocal.m4: Ditto.
6053 * libm/*configure: Ditto.
6054 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6056 * libc/sys/arm/Makefile.in: Regenerated.
6058 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6060 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6061 -1 to be sure it cannot later match a valid file fd causing
6062 isatty() to return 1.
6063 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6064 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6065 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6067 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6069 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6070 buffer based on the precision, after we have processed the input value
6071 in a local buffer and know its relative magnitude.
6073 2003-01-31 Michael Snyder <msnyder@redhat.com>
6075 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6076 into registers r1 and r2, so that the simulator can distinguish
6077 this trap from a breakpoint trap. Copied from libgloss.
6079 2003-01-31 Michael Snyder <msnyder@redhat.com>
6081 * libc/sys/h8300hms/crt0.S (_start): Change local label
6082 from .loop to .Loop, so that ld and gdb will ignore it.
6084 2003-01-29 Jason Tishler <jason@tishler.net>
6086 * libc/include/time.h: Declare nanosleep() under Cygwin.
6088 2003-01-24 Nick Clifton <nickc@redhat.com>
6092 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6094 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6095 * libc/machine/sh/setjmp.S: Likewise.
6096 * libc/include/machine/ieeefp.h: Likewise.
6098 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6100 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6103 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6105 * libc/time/difftime.c : Typecast the result to double.
6107 2003-01-20 Christopher Faylor <cgf@redhat.com>
6109 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6111 2003-01-18 Nick Clifton <nickc@redhat.com>
6113 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6114 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6116 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6118 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6119 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6120 constants are defined in each file in the shared versions in
6122 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6123 autoconf can link programs.
6124 * libc/include/machine/types.h: Explicitly specify signed on
6125 intXX_t types to ensure they are signed.
6127 2003-01-14 Christopher Faylor <cgf@redhat.com>
6129 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6132 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6134 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6136 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6138 * libc/stdio/sprintf.c: fix typo
6139 * libc/stdio/vfprintf.c: fix typo
6141 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6143 * configure.host: Support long double I/O for x86-linux.
6144 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6145 large enough to hold formatted result.
6146 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6148 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6150 * Makefile.am: Add vasprintf.
6151 * Makefile.in: Regenerated.
6153 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6155 * asprintf.c (_asprintf_r): insure both declarations
6158 2002-12-28 Christopher Faylor <cgf@redhat.com>
6160 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6161 than defining getopt directly.
6163 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6165 * NEWS: Update with 1.11.0 info.
6167 * acinclude.m4: Change version number to 1.11.0.
6168 * aclocal.m4: Regenerated.
6170 * doc/aclocal.m4: Ditto.
6171 * doc/configure: Ditto.
6172 * libc/*/aclocal.m4: Ditto.
6173 * libc/*/configure: Ditto.
6174 * libc/libc.texinfo: Ditto.
6175 * libm/*/aclocal.m4: Ditto.
6176 * libm/*/configure: Ditto.
6177 * libm/libm.texinfo: Ditto.
6178 * libc/sys/linux/shared.ld: Add VERS_1.11.
6180 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6182 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6183 Solutions to Red Hat Inc.
6184 * libc/machine/i386/f_atan2f.S: Ditto.
6185 * libc/machine/i386/f_exp.c: Ditto.
6186 * libc/machine/i386/f_expf.c: Ditto.
6187 * libc/machine/i386/f_frexp.S: Ditto.
6188 * libc/machine/i386/f_frexpf.S: Ditto.
6189 * libc/machine/i386/f_ldexp.S: Ditto.
6190 * libc/machine/i386/f_ldexpf.S: Ditto.
6191 * libc/machine/i386/f_log.S: Ditto.
6192 * libc/machine/i386/f_log10.S: Ditto.
6193 * libc/machine/i386/f_log10f.S: Ditto.
6194 * libc/machine/i386/f_logf.S: Ditto.
6195 * libc/machine/i386/f_pow.c: Ditto.
6196 * libc/machine/i386/f_powf.c: Ditto.
6197 * libc/machine/i386/f_tan.S: Ditto.
6198 * libc/machine/i386/f_tanf.S: Ditto.
6199 * libc/machine/i386/memchr.S: Ditto.
6200 * libc/machine/i386/memcmp.S: Ditto.
6201 * libc/machine/i386/memcpy.S: Ditto.
6202 * libc/machine/i386/memmove.S: Ditto.
6203 * libc/machine/i386/memset.S: Ditto.
6204 * libc/machine/i386/strchr.S: Ditto.
6205 * libc/machine/i386/strlen.S: Ditto.
6206 * libm/machine/i386/f_atan2.S: Ditto.
6207 * libm/machine/i386/f_atan2f.S: Ditto.
6208 * libm/machine/i386/f_exp.c: Ditto.
6209 * libm/machine/i386/f_expf.c: Ditto.
6210 * libm/machine/i386/f_frexp.S: Ditto.
6211 * libm/machine/i386/f_frexpf.S: Ditto.
6212 * libm/machine/i386/f_ldexp.S: Ditto.
6213 * libm/machine/i386/f_ldexpf.S: Ditto.
6214 * libm/machine/i386/f_log.S: Ditto.
6215 * libm/machine/i386/f_log10.S: Ditto.
6216 * libm/machine/i386/f_log10f.S: Ditto.
6217 * libm/machine/i386/f_logf.S: Ditto.
6218 * libm/machine/i386/f_pow.c: Ditto.
6219 * libm/machine/i386/f_powf.c: Ditto.
6220 * libm/machine/i386/f_tan.S: Ditto.
6221 * libm/machine/i386/f_tanf.S: Ditto.
6223 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6225 * libc/stdlib/environ.c: Update license to Red Hat.
6226 * libc/machine/hppa/setjmp.S: Ditto.
6227 * libm/test/Makefile.in: Ditto.
6229 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6231 * configure.host: Remove references to go32.
6232 * libc/sys/go32/*: Removed.
6234 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6236 * libc/include/sys/config.h: Change setting of INT_MAX
6237 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6238 __H8300S__. Also consolidate flag settings for these
6241 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6243 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6244 for i386-rtems targets.
6246 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6248 * libc/include/stdlib.h (strtof): New prototype (from C99).
6249 (strtodf): Changed from prototype to macro which redefines
6251 * libc/stdlib/atof.c: Change documentation to refer to strtof
6253 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6255 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6256 (strtof): New function.
6257 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6260 2002-11-27 Christopher Faylor <cgf@redhat.com>
6262 * libc/string/memset.c (memset): Fix comment.
6264 2002-11-26 Christopher Faylor <cgf@redhat.com>
6266 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6269 2002-11-25 Christopher Faylor <cgf@redhat.com>
6271 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6272 variable, introduced below, everywhere.
6274 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6276 * libc/string/memset.c (memset): Make it safe even if
6279 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6281 * configure.in: Change check for libc/include in ${CC} to
6282 use an intermediate value so as to work with different shells.
6283 * configure: Regenerated.
6284 * Makefile.in: Ditto.
6286 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6288 * libc/sys/h8300hms/read.c: Add support for normal mode
6291 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6293 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6294 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6295 when -mint32 is used.
6297 2002-11-18 Nick Clifton <nickc@redhat.com>
6299 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6301 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6303 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6304 only issue one pass/fail message for a compile/link/execute.
6305 * testsuite/newlib.elix/elix.exp: New file.
6306 * testsuite/newlib.elix/tmmap.c: Ditto.
6308 2002-11-06 Christopher Faylor <cgf@redhat.com>
6310 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6311 * libc/stdlib/mlock.c: Ditto.
6312 * libc/stdlib/msize.c: Ditto.
6313 * libc/stdlib/msize.c: Ditto.
6314 * libc/stdlib/mtrim.c: Ditto.
6315 * libc/stdlib/valloc.c: Ditto.
6317 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6319 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6320 for inf/nan, make sure that the check ignores the sign bit.
6322 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6324 * libc/sys/rtems/machine: New directory.
6325 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6326 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6327 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6328 targets more BSD like when installed without requiring files to
6329 be overwritten at install point when RTEMS itself is installed.
6330 * Makefile.am: Pick up system dependent machine .h files such as
6331 might be found on a BSD-ish system.
6332 * Makefile.in: Regenerate.
6333 * libc/include/machine/types.h: When on an RTEMS target, define a
6334 few BSD flavor types.
6336 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6338 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6340 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6342 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6343 * libc/include/wctype.h: Ditto.
6345 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6347 * libc/include/wchar.h: Add extern "C" specifier if C++.
6348 * libc/include/wctype.h: Ditto.
6350 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6352 * testsuite/newlib.wctype/tiswctype.c: New test case.
6353 * testsuite/newlib.wctype/twctrans.c: Ditto.
6355 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6357 * libc/sys/linux/machine/i386/include/endian.h: New file.
6358 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6360 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6362 * libm/machine/i386/aclocal.m4: Regenerated.
6363 * libm/machine/i386/configure: Ditto.
6365 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6367 * testsuite/include/check.h: New header file to use with
6369 * testsuite/lib/newlib.exp: Add testsuite/include directory
6370 to list of header files to use.
6371 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6372 * testsuite/newlib.wctype/wctype.exp: New file.
6374 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6375 Richard Sandiford <rsandifo@redhat.com>
6377 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6378 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6379 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6381 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6383 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6386 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6388 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6390 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6392 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6393 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6394 compile with current GNU tools.
6396 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6398 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6400 * configure.in: Ditto.
6401 * Makefile.in: Regenerated.
6403 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6404 for specifying configured libraries/directories.
6405 * libc/sys/linux/configure.in: Ditto.
6406 * libc/sys/linux/Makefile.in: Regenerated.
6407 * libc/sys/linux/configure: Ditto.
6409 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6411 * libc/include/reent.h: Update documentation at start of file.
6413 2002-09-27 Jim Wilson <wilson@redhat.com>
6415 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6418 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6420 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6421 Also convert to EUCJP before using arrays. For values not in
6422 the conversion arrays, return WEOF.
6423 * libc/ctype/jp2uc.h: Change from one array to a number of
6424 arrays to account for the fact that the originating table
6425 is not contiguous for the input values since some are invalid.
6427 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6429 * libc/time/ctime.c: Fix prototype documentation.
6431 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6433 * libc/include/sys/errno.h: Add EOVERFLOW.
6435 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6437 * libc/include/wctype.h: New file.
6439 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6441 * libc/ctype/Makefile.am: Add new files.
6442 * libc/ctype/Makefile.in: Regenerated.
6443 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6444 and wctrans functions to documentation index.
6445 * libc/ctype/iswalnum.c: New file.
6446 * libc/ctype/iswalpha.c: Ditto.
6447 * libc/ctype/iswblank.c: Ditto.
6448 * libc/ctype/iswcntrl.c: Ditto.
6449 * libc/ctype/iswctype.c: Ditto.
6450 * libc/ctype/iswdigit.c: Ditto.
6451 * libc/ctype/iswgraph.c: Ditto.
6452 * libc/ctype/iswlower.c: Ditto.
6453 * libc/ctype/iswprint.c: Ditto.
6454 * libc/ctype/iswpunct.c: Ditto.
6455 * libc/ctype/iswspace.c: Ditto.
6456 * libc/ctype/iswupper.c: Ditto.
6457 * libc/ctype/iswxdigit.c: Ditto.
6458 * libc/ctype/jp2uc.c: Ditto.
6459 * libc/ctype/jp2uc.h: Ditto.
6460 * libc/ctype/local.h: Ditto.
6461 * libc/ctype/towctrans.c: Ditto.
6462 * libc/ctype/towlower.c: Ditto.
6463 * libc/ctype/towupper.c: Ditto.
6464 * libc/ctype/utf8alpha.h: Ditto.
6465 * libc/ctype/utf8print.h: Ditto.
6466 * libc/ctype/utf8punct.h: Ditto.
6467 * libc/ctype/wctrans.c: Ditto.
6468 * libc/ctype/wctype.c: Ditto.
6469 * libc/locale/locale.c (__lc_ctype): New external array to
6470 replace static lc_ctype array.
6471 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6472 rather than reentrancy structure's _current_locale field.
6473 * libc/stdlib/wctomb_r.c: Ditto.
6475 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6477 * configure.host: Minor comment and formatting changes.
6478 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6479 * libc/Makefile.in: Regenerated.
6480 * libc/include/sys/config.h: Minor format change.
6482 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6484 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6487 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6489 * libc/posix/opendir.c (opendir): Change code to check
6490 for HAVE_FCNTL before calling fcntl.
6491 * libc/search/hash.c (hash_open): Ditto.
6492 * libc/search/hash_page.c (open_tmp): Ditto.
6493 * libc/reent/Makefile.am: Add fcntlr.c.
6494 * libc/reent/Makefile.in: Regenerated.
6495 * libc/reent/fcntlr.c: New file.
6496 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6497 instead of _fcntl when HAVE_FCNTL flag is set.
6498 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6499 to see if _fcntl or _fcntl_r should be called. If flag is not
6500 set, default to ENOSYS stub.
6502 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6504 * libc/include/wchar.h (mbstate_t): Change protective flag to
6506 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6507 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6509 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6511 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6513 * acinclude.m4 (enable-newlib-mb): Change check to
6514 default newlib_mb variable to empty string rather than "no".
6515 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6516 x86-linux and Cygwin. Add code to check for newlib_mb
6517 being unset in which case set to "yes" for x86-linux and
6518 Cygwin. Change check for newlib_mb being "yes" to allow
6519 for an empty string.
6520 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6521 * newlib.hin (_MB_LEN_MAX): New define to configure.
6522 * aclocal.m4: Regenerated.
6524 * libc/include/limits.h: New file.
6525 * libc/sys/linux/include/limits.h: Ditto.
6526 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6527 libc/configure libc/machine/aclocal.m4
6528 libc/machine/configure libc/machine/a29k/aclocal.m4
6529 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6530 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6531 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6532 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6533 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6534 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6535 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6536 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6537 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6538 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6539 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6540 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6541 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6542 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6543 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6544 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6545 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6546 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6547 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6548 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6549 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6550 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6551 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6552 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6553 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6554 libc/machine/xscale/configure
6555 libc/machine/xstormy16/aclocal.m4
6556 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6557 libc/machine/z8k/configure libc/sys/aclocal.m4
6558 libc/sys/configure libc/sys/a29khif/aclocal.m4
6559 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6560 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6561 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6562 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6563 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6564 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6565 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6566 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6567 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6568 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6569 libc/sys/linux/configure
6570 libc/sys/linux/machine/aclocal.m4
6571 libc/sys/linux/machine/configure
6572 libc/sys/linux/machine/i386/aclocal.m4
6573 libc/sys/linux/machine/i386/configure
6574 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6575 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6576 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6577 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6578 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6579 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6580 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6581 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6582 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6583 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6584 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6585 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6586 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6587 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6588 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6589 libm/aclocal.m4 libm/configure: Regenerated.
6591 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6593 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6594 code that clears the .bss section.
6596 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6598 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6599 unsigned char internally.
6600 * libc/sys/linux/sys/_types.h: Ditto.
6601 * libc/include/sys/reent.h
6602 * libc/stdlib/mblen.c (mblen): Use function-specific state
6603 value from default reentrancy structure.
6604 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6605 _mbtowc_r is less than 0, reset state __count value and
6607 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6608 is NULL, use the function-specific pointer provided in the
6609 default reentrancy structure.
6610 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6611 If input state pointer is NULL, use function-specific area
6612 provided in reentrancy structure.
6613 * libc/stdlib/mbsrtowcs.c: Ditto.
6614 * libc/stdlib/wcrtomb.c: Ditto.
6615 * libc/stdlib/wcsrtombs.c: Ditto.
6616 * libc/stdlib/mbstowcs.c: Reformat.
6617 * libc/stdlib/wcstombs.c: Ditto.
6618 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6619 reset the state's __count value and return -1.
6620 * libc/stdlib/mbtowc.c: Ditto.
6621 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6622 If number of bytes is used up before completing a valid multibyte
6623 character, return -2 and save the state.
6624 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6625 and change some __count references to __state for clarity.
6627 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6629 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6630 is defined by <limits.h>.
6632 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6634 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6637 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6639 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6640 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6641 __WCHAR_MAX__ or 0x7fffffffu.
6642 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6643 * libc/string/wcsncmp.c: Ditto.
6645 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6647 * libc/string/wcschr.c: Add include of <stddef.h>.
6648 * libc/string/wcspbrk.c: Ditto.
6649 * libc/string/wcsrchr.c: Ditto.
6650 * libc/string/wcsstr.c: Ditto.
6652 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6654 * libc/include/sys/_types.h (_flock_t): Added.
6655 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6656 (__lock_try_acquire_recursive): Ditto.
6657 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6659 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
6661 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
6662 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
6663 * libc/sys/linux/include/time.h (struct timespec): Moved from
6664 <sys/types.h> and added check for __need_timespec flag so type
6665 can be defined by itself.
6666 * libc/sys/linux/sys/_types.h (_flock_t): New type.
6667 * libc/sys/linux/sys/types.h (struct timespec): Moved to
6670 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6672 * libc/sys/linux/argp: New directory.
6673 * libc/sys/linux/getopt.c: New file.
6674 * libc/sys/linux/getopt1.c: New file.
6675 * libc/sys/linux/getoptlong.c: Remove file.
6676 * libc/sys/linux/include/argp.h: New file.
6677 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
6678 based on ELIX level.
6679 (SUBDIRS): Add argp_dir.
6680 (SUBLIBS): Add ARGP_LIB.
6681 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
6682 getopt_long.$(oext).
6683 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
6685 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6687 * libc/libc.texinfo: Add node reference to wide-character strings.
6688 * libc/string/wcstrings.tex: New file.
6689 * libc/string/strtok_r.c: Remove outdated advertising clause.
6690 * libc/string/Makefile.am (doc): Add wide-character string
6691 chapter to documentation.
6692 * libc/string/Makefile.in: Regenerated.
6694 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6696 * libc/include/wchar.h: Define NULL. Define WEOF more general
6697 way. Declare functions in newlib manner.
6698 * libc/stdlib/Makefile.am: Delete wmem*.c
6699 * libc/stdlib/Makefile.in: Regenerated.
6700 * libc/stdlib/wmemchr.c: Delete.
6701 * libc/stdlib/wmemcmp.c: Ditto.
6702 * libc/stdlib/wmemcpy.c: Ditto.
6703 * libc/stdlib/wmemmove.c: Ditto.
6704 * libc/stdlib/wmemset.c: Ditto.
6705 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
6706 * libc/string/Makefile.in: Regenerated.
6707 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
6708 * libc/string/wcschr.c: Ditto.
6709 * libc/string/wcscmp.c: Ditto.
6710 * libc/string/wcscpy.c: Ditto.
6711 * libc/string/wcscspn.c: Ditto.
6712 * libc/string/wcslcat.c: Ditto.
6713 * libc/string/wcslcpy.c: Ditto.
6714 * libc/string/wcslen.c: Ditto.
6715 * libc/string/wcsncat.c: Ditto.
6716 * libc/string/wcsncmp.c: Ditto.
6717 * libc/string/wcsncpy.c: Ditto.
6718 * libc/string/wcspbrk.c: Ditto.
6719 * libc/string/wcsrchr.c: Ditto.
6720 * libc/string/wcsspn.c: Ditto.
6721 * libc/string/wcsstr.c: Ditto.
6722 * libc/string/wmemchr.c: Ditto.
6723 * libc/string/wmemcmp.c: Ditto.
6724 * libc/string/wmemcpy.c: Ditto.
6725 * libc/string/wmemmove.c: Ditto.
6726 * libc/string/wmemset.c: Ditto.
6728 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6730 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
6731 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
6732 and is treated as if "C" was specified.
6734 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6736 * Makefile.am (install-data-local): Move install of build
6737 newlib.h after installing headers in libc/include so as to
6738 overwrite default newlib.h.
6739 * Makefile.in: Regenerated.
6741 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6743 * libc/include/newlib.h: New file for tools that use newlib
6744 headers but don't build newlib first (e.g. gcc).
6746 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6748 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
6749 * libc/stdlib/wmemcmp.c: Ditto.
6750 * libc/stdlib/wmemcpy.c: Ditto.
6751 * libc/stdlib/wmemmove.c: Ditto.
6752 * libc/stdlib/wmemset.c: Ditto.
6754 2002-08-27 Egor Duda <deo@logos-m.ru>
6756 * libc/stdlib/wmemchr.c: New file.
6757 * libc/stdlib/wmemcmp.c: Ditto.
6758 * libc/stdlib/wmemcpy.c: Ditto.
6759 * libc/stdlib/wmemmove.c: Ditto.
6760 * libc/stdlib/wmemset.c: Ditto.
6761 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
6762 * configure.host: Default -DMB_CAPABLE for cygwin.
6763 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
6764 wmemmove() and wmemset(). Add include of <_ansi.h>.
6765 * libc/stdlib/Makefile.in: Regenerate.
6767 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
6769 * configure.host: Remove _ELIX_LEVEL flag setting.
6770 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
6771 (install-data-local): Install newlib.h.
6772 * Makefile.in: Regenerated.
6773 * aclocal.m4: Ditto.
6775 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
6776 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
6777 and _NEWLIB_VERSION to fill in newlib.h header file entries.
6778 In AC_OUTPUT statement, unset ac_file so multilib support does
6779 not use last ac_file temporary used in newlib.h configuration.
6780 * libc/include/_ansi.h: Include <newlib.h>.
6781 * newlib.hin: New template file for newlib.h.
6782 * stamp-h.in: New file.
6784 2002-08-26 Wu Yongwei <adah@netstd.com>
6786 * time.h (timezonevar): Change "#if" to "#ifdef".
6788 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
6790 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
6791 * Makefile.in: Regenerated.
6792 * acinclude.m4: Add support for --enable-newlib-elix-level option.
6793 * aclocal.m4: Regenerated.
6795 * configure.host: Add code to define _ELIX_LEVEL if
6796 --enable-newlib-elix-level option is used.
6798 * libc/aclocal.m4: Regenerated.
6799 * libc/configure: Ditto.
6800 * libc/argz/Makefile.am: Add EL/IX level checking.
6801 * libc/argz/Makefile.in: Regenerated.
6802 * libc/argz/dummy.c: New file.
6803 * libc/ctype/Makefile.am: Add EL/IX level checking.
6804 * libc/ctype/Makefile.in: Regenerated.
6805 * libc/locale/Makefile.am: Add EL/IX level checking.
6806 * libc/locale/Makefile.in: Regenerated.
6807 * libc/posix/Makefile.am: Add EL/IX level checking.
6808 * libc/posix/Makefile.in: Regenerated.
6809 * libc/posix/telldir.c: Add EL/IX level checking.
6810 * libc/reent/Makefile.am: Ditto.
6811 * libc/reent/fstat64r.c: Ditto.
6812 * libc/reent/lseek64r.c: Ditto.
6813 * libc/reent/open64r.c: Ditto.
6814 * libc/reent/Makefile.in: Regenerated.
6815 * libc/search/Makefile.am: Add EL/IX level checking.
6816 * libc/search/Makefile.in: Regenerated.
6817 * libc/stdio/Makefile.am: Add EL/IX level checking.
6818 * libc/stdio/Makefile.in: Regenerated.
6819 * libc/stdio64/Makefile.am: Add EL/IX level checking.
6820 * libc/stdio64/Makefile.in: Regenerated.
6821 * libc/stdio64/dummy.c: New file.
6822 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
6823 after first include.
6824 * libc/stdio64/fopen64.c: Ditto.
6825 * libc/stdio64/freopen64.c: Ditto.
6826 * libc/stdio64/fseeko64.c: Ditto.
6827 * libc/stdio64/fsetpos64.c: Ditto.
6828 * libc/stdio64/ftello64.c: Ditto.
6829 * libc/stdio64/tmpfile64.c: Ditto.
6830 * libc/stdlib/Makefile.am: Add EL/IX level checking.
6831 * libc/stdlib/Makefile.in: Regenerated.
6832 * libc/stdlib/mstats.c: Add EL/IX level checking.
6833 * libc/string/Makefile.am: Ditto.
6834 * libc/string/Makefile.in: Regenerated.
6835 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
6836 * libc/sys/linux/Makefile.in: Regenerated.
6837 * libc/sys/linux/aclocal.m4: Ditto.
6838 * libc/sys/linux/configure: Ditto.
6839 * libc/sys/linux/aio.c: Add EL/IX level checking.
6840 * libc/sys/linux/ftok.c: Ditto.
6841 * libc/sys/linux/getdate.c: Ditto.
6842 * libc/sys/linux/ids.c: Ditto.
6843 * libc/sys/linux/inode.c: Ditto.
6844 * libc/sys/linux/io.c: Ditto.
6845 * libc/sys/linux/process.c: Ditto.
6846 * libc/sys/linux/resource.c: Ditto.
6847 * libc/sys/linux/sched.c: Ditto.
6848 * libc/sys/linux/sig.c: Ditto.
6849 * libc/sys/linux/termios.c: Ditto.
6850 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
6851 __libc___waitpid weak aliases.
6852 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
6853 that generate the code for a syscall, but do not create a
6855 * libc/syscalls/Makefile.am: Add EL/IX level checking.
6856 * libc/syscalls/Makefile.in: Regenerated.
6857 * libc/time/tzset_r.c: Change to replace strdup with equivalent
6859 * libc/unix/Makefile.am: Add EL/IX level checking.
6860 * libc/unix/Makefile.in: Regenerated.
6862 2002-08-26 Christopher Faylor <cgf@redhat.com>
6864 * libc/include/malloc.h: On cygwin, define malloc _r functions as
6865 wrapper macros to standard malloc functions.
6866 * libc/include/stdlib.h: Ditto.
6867 * configure.host: Always define MALLOC_PROVIDED on cygwin.
6869 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6871 * libc/include/langinfo.h: New file.
6872 * libc/include/wchar.h: Likewise.
6873 * libc/include/sys/syslimits.h: Likewise.
6874 * libc/locale/fix_grouping.c: Likewise.
6875 * libc/locale/ldpart.c: Likewise.
6876 * libc/locale/ldpart.h: Likewise.
6877 * libc/locale/lmessages.c: Likewise.
6878 * libc/locale/lmessages.h: Likewise.
6879 * libc/locale/lmonetary.c: Likewise.
6880 * libc/locale/lmonetary.h: Likewise.
6881 * libc/locale/lnumeric.c: Likewise.
6882 * libc/locale/lnumeric.h: Likewise.
6883 * libc/locale/nl_langinfo.3: Likewise.
6884 * libc/locale/nl_langinfo.c: Likewise.
6885 * libc/locale/timelocal.c: Likewise.
6886 * libc/locale/timelocal.h: Likewise.
6887 * libc/stdlib/btowc.c: Likewise.
6888 * libc/stdlib/mbrlen.c: Likewise.
6889 * libc/stdlib/mbrtowc.c: Likewise.
6890 * libc/stdlib/mbsinit.c: Likewise.
6891 * libc/stdlib/mbsrtowcs.c: Likewise.
6892 * libc/stdlib/wcrtomb.c: Likewise.
6893 * libc/stdlib/wcsrtombs.c: Likewise.
6894 * libc/stdlib/wctob.c: Likewise.
6895 * libc/sys/linux/prof-freq.c: Likewise.
6896 * libc/sys/linux/profile.c: Likewise.
6897 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
6898 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
6899 * libc/include/stdlib.h: Change re-entrant functions to take
6901 * libc/include/sys/_types.h: Define _mbstate_t.
6902 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
6903 * libc/include/sys/errno.h (EILSEQ): New error code.
6904 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
6905 structure to use mbstate_t.
6906 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
6907 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
6908 * libc/machine/powerpc/vfscanf.c: Likewise.
6909 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
6910 * libc/stdio/vfprintf.c: Likewise.
6911 * libc/stdio/vfscanf.c: Likewise.
6912 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
6913 * libc/stdlib/mblen.c: Use mbstate_t.
6914 * libc/stdlib/mblen_r.c: Likewise.
6915 * libc/stdlib/mbstowcs.c: Likewise.
6916 * libc/stdlib/mbstowcs_r.c: Likewise.
6917 * libc/stdlib/mbtowc.c: Likewise.
6918 * libc/stdlib/mbtowc_r.c: Likewise.
6919 * libc/stdlib/wcstombs.c: Likewise.
6920 * libc/stdlib/wcstombs_r.c: Likewise.
6921 * libc/stdlib/wctomb_r.c: Likewise.
6922 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
6924 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
6926 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
6927 * libc/sys/linux/sys/types.h (off_t): Define type.
6928 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
6930 * testsuite/newlib.locale/UTF-8.exp: Likewise.
6932 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
6934 * libc/stdlib/mallocr.c: #include windows.h on Win32.
6935 (AlignPage): Continue macro on next line.
6937 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6939 * libc/sys/linux/include/pthread.h: New file.
6941 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6943 * libc/include/sys/types.h: Support __need_inttypes macro
6944 that only sets the __intxx and __uintxx types.
6945 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
6947 * libc/machine/powerpc/Makefile.in: Regenerated.
6948 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
6949 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
6950 redundant fixed-point conversion prototypes.
6951 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
6952 after setting __need_inttypes.
6954 2002-08-18 Christopher Faylor <cgf@redhat.com>
6956 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
6958 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6960 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
6961 _LONG_DOUBLE to double.
6963 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6965 * configure.host: Add powerpc*-*-eabispe* configuration.
6966 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
6967 * libc/machine/powerpc/atosfix32.c: Ditto.
6968 * libc/machine/powerpc/atosfix64.c: Ditto.
6969 * libc/machine/powerpc/atoufix16.c: Ditto.
6970 * libc/machine/powerpc/atoufix32.c: Ditto.
6971 * libc/machine/powerpc/atoufix64.c: Ditto.
6972 * libc/machine/powerpc/fix64.h: Ditto.
6973 * libc/machine/powerpc/simdldtoa.c: Ditto.
6974 * libc/machine/powerpc/strtosfix16.c: Ditto.
6975 * libc/machine/powerpc/strtosfix32.c: Ditto.
6976 * libc/machine/powerpc/strtosfix64.c: Ditto.
6977 * libc/machine/powerpc/strtoufix16.c: Ditto.
6978 * libc/machine/powerpc/strtoufix32.c: Ditto.
6979 * libc/machine/powerpc/strtoufix64.c: Ditto.
6980 * libc/machine/powerpc/ufix64toa.c: Ditto.
6981 * libc/machine/powerpc/configure.in: Add check for
6982 powerpc*-eabispe and add fixed-point conversion functions.
6983 * libc/machine/powerpc/configure: Regenerated.
6984 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
6985 %r and %R format specifiers which handle fixed-point data.
6986 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
6987 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
6988 function prototypes.
6990 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6992 * Makefile.am: Move cmath stuff into libc/sys/linux.
6993 * Makefile.in: Regenerated.
6994 * configure.host: Default -DMB_CAPABLE for x86-linux.
6995 * libc/include/reent.h: Define _sbrk to take signed int argument.
6996 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
6997 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
6998 make locale name checking more efficient. Also allow "C-ISO-8859-1"
6999 locale for LC_CTYPE and LC_MESSAGES.
7000 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7001 * libc/sys/linux/brk.c: Change sbrk prototype.
7002 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7003 include <sys/features.h>.
7004 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7005 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7006 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7007 with a few local additions.
7008 * libc/sys/linux/sys/features.h: New file.
7009 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7010 to take signed argument.
7011 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7012 prototypes to take signed size argument.
7014 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7016 * libc/sys/linux/cmath: New directory.
7017 * libc/sys/linux/include/cmathcalls.h: New file.
7018 * libc/sys/linux/include/complex.h: New file.
7019 * libc/sys/linux/machine/i386/huge_val.h: New file
7020 * libm/math/w_sincos.c: New file
7021 * libm/math/wf_sincos.c: New file
7022 * libm/mathfp/s_sincos.c: New file
7023 * libm/mathfp/sf_sincos.c: New file
7024 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7025 * libc/include/math.h: Add sincos and sincosf declarations.
7026 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7027 (SUBLIBS): Likewise.
7028 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7029 * libm/math/Makefile.am (src): Add w_sincos.c.
7030 (fsrc): Add wf_sincos.c.
7031 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7032 (fsrc): Add sf_sincos.c.
7034 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7036 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7037 Declare as extern chars and use the address operator to
7038 properly use values set in linker script.
7040 2002-08-09 Jason Tishler <jason@tishler.net>
7042 * libc/stdlib/mallocr.c: Include <limits.h>.
7043 (request2size): Change macro to do
7044 unsigned long comparisons and avoid signed overflow.
7045 (mALLOc): Add overflow check for the number of bytes to allocate.
7048 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7050 * configure.host: Add check for --enable-newlib-io-pos-args
7051 and define WANT_IO_POS_ARGS flag if enabled. Define
7052 the flag by default for x86-linux configurations.
7053 * configure.in: Add support for --enable-newlib-io-pos-args.
7054 * libc/configure.in: Ditto.
7055 * configure: Regenerated.
7056 * libc/configure: Ditto.
7057 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7058 vfprintf.c and vfiprintf.c.
7059 * libc/stdio/Makefile.in: Regenerated.
7060 * libc/stdio/vfprintf.c: Add positional argument support that
7061 is enabled by compiling with -DWANT_IO_POS_ARGS.
7063 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7065 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7066 based on __mips_soft_float rather than __mips64.
7067 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7068 of both 32-bit and 64-bit code.
7070 2002-08-04 Christopher Faylor <cgf@redhat.com>
7072 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7073 arguments for popen to match similar functionality in fopen.
7075 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7077 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7079 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7081 * libc/sys/linux/Makefile.am: Add aio64.c.
7082 * libc/sys/linux/Makefile.in: Regenerated.
7083 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7084 * libc/sys/linux/aio64.c: New file.
7086 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7088 * libc/include/sys/param.h (MAX, MIN): Added macros.
7089 * libc/sys/linux/Makefile.am: Add new files.
7090 * libc/sys/linux/Makefile.in: Regenerated.
7091 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7092 * libc/sys/linux/inode.c (fchdir): Added syscall.
7093 * libc/sys/linux/ftw.c: New file.
7094 * libc/sys/linux/ftw64.c: Ditto.
7095 * libc/sys/linux/getwd.c: Ditto.
7096 * libc/sys/linux/scandir64.c: Ditto.
7097 * libc/sys/linux/strverscmp.c: Ditto.
7098 * libc/sys/linux/versionsort.c: Ditto.
7099 * libc/sys/linux/versionsort64.c: Ditto.
7101 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7103 * libc/string/strings.tex: Fix typo for memccpy.
7105 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7107 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7108 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7110 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7112 * libc/sys/linux/Makefile.am: Add fclean.c.
7113 * libc/sys/linux/Makefile.in: Regenerated.
7114 * libc/sys/linux/fclean.c: New file.
7116 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7118 * libc/sys/linux/Makefile.am: Add confstr.c.
7119 * libc/sys/linux/Makefile.in: Regenerated.
7120 * libc/sys/linux/confstr.c: New file.
7121 * libc/sys/linux/confstr.h: Ditto.
7122 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7123 <bits/environments.h>.
7125 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7127 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7128 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7129 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7130 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7131 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7132 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7134 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7136 * libc/sys/linux/Makefile.am: Add new files.
7137 * libc/sys/linux/Makefile.in: Regenerated.
7138 * libc/sys/linux/fstab.c: New file.
7139 * libc/sys/linux/fstatvfs.c: Ditto.
7140 * libc/sys/linux/fstatvfs64.c: Ditto.
7141 * libc/sys/linux/internal_statvfs.c: Ditto.
7142 * libc/sys/linux/mntent.c: Ditto.
7143 * libc/sys/linux/mntent_r.c: Ditto.
7144 * libc/sys/linux/statvfs.c: Ditto.
7145 * libc/sys/linux/statvfs64.c: Ditto.
7146 * libc/sys/linux/include/paths.h: Ditto.
7147 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7148 with double-underscore weak-aliases.
7149 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7151 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7153 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7154 to use _sig_func_ptr type casted constants.
7155 (_sig_func_ptr): Typedef moved to sys/signal.h.
7156 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7157 For __rtems, use POSIX definition, otherwise default to ANSI.
7158 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7160 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7162 * configure.host: Recognize m6811-elf and m6812-elf targets.
7163 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7164 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7165 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7166 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7167 according to __INT_MAX__.
7168 (_POINTER_INT): Define to short.
7169 * libc/machine/m68hc11/Makefile.am: New file.
7170 * libc/machine/m68hc11/Makefile.in: New file.
7171 * libc/machine/m68hc11/configure.in: New file.
7172 * libc/machine/m68hc11/configure: New file.
7173 * libc/machine/m68hc11/aclocal.m4: New file.
7174 * libc/machine/m68hc11/setjmp.S: New file.
7176 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7178 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7180 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7181 * libc/stdlib/Makefile.in: Regenerated.
7182 * libc/stdlib/strdup.c: Removed.
7183 * libc/stdlib/strdup_r.c: Removed.
7184 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7185 mempcpy.c, strndup.c, and strndup_r.c.
7186 * libc/string/Makefile.in: Regenerated.
7187 * libc/string/memccpy.c: New file.
7188 * libc/string/mempcpy.c: Ditto.
7189 * libc/string/strndup.c: Ditto.
7190 * libc/string/strndup_r.c: Ditto.
7191 * libc/string/strdup.c: New file moved from stdlib.
7192 * libc/string/strdup_r.c: Ditto.
7193 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7195 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7197 * libc/include/stdio.h: Move fcloseall prototype within
7198 #ifndef _REENT_ONLY section.
7199 * libc/sys/linux/Makefile.am: Add new files.
7200 * libc/sys/linux/Makefile.in: Regenerated.
7201 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7202 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7203 * libc/sys/linux/sys/types.h: Add ino64_t type.
7204 * libc/sys/linux/ctermid.c: New file.
7205 * libc/sys/linux/ttyname_r.c: Ditto.
7206 * libc/sys/linux/readdir64.c: Ditto.
7208 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7210 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7211 * libc/stdio/Makefile.am: Added fcloseall.c support.
7212 * libc/stdio/Makefile.in: Regenerated.
7213 * libc/stdio/fcloseall.c: New file.
7214 * libc/stdio64/Makefile.am: Remove missing .def references.
7215 * libc/stdio64/Makefile.in: Regenerated.
7217 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7219 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7220 * libc/machine/powerpc/times.c: New file.
7221 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7222 * libc/machine/powerpc/Makefile.in: Regenerated.
7224 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7226 * libc/machine/powerpc/time.c: New file.
7227 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7229 * libc/machine/powerpc/Makefile.in: Regenerated.
7231 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7233 * libc/libc.texinfo: Change copyright notices to Red Hat from
7235 * libm/libm.texinfo: Likewise.
7236 * README: Change docs URL to
7237 http://sources.redhat.com/newlib/docs.html.
7239 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7241 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7242 * libc/sys/linux/Makefile.in: Regenerated.
7243 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7244 * libc/sys/linux/io.c: Add ftruncate syscall.
7245 * libc/sys/linux/fpathconf.c: New file.
7246 * libc/sys/linux/pathconf.c: Ditto.
7247 * libc/sys/linux/linux_fsinfo.h: Ditto.
7248 * libc/sys/linux/sys/unistd.h: Ditto.
7250 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7252 * libc/stdio64/Makefile.am: Remove missing files.
7253 * libc/stdio64/Makefile.in: Regenerated.
7255 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7257 * libc/include/sys/config.h[__i386__][__linux__]: Define
7258 _LARGE64FILE_SOURCE to 1.
7259 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7260 * libc/sys/linux/Makefile.in: Regenerated.
7261 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7262 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7263 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7264 of <linux/resource.h>.
7265 * libc/sys/linux/getrlimit64.c: New file.
7266 * libc/sys/linux/setrlimit64.c: Ditto.
7268 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7270 * libc/argz/argz_replace.c: Include buf_findstr.h.
7271 * libc/argz/buf_findstr.c: Likewise.
7272 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7274 * libc/argz/envz_get.c: Likewise.
7275 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7276 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7277 * libc/stdlib/getsubopt.3: New file.
7278 * libc/stdlib/getsubopt.c: New file.
7279 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7282 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7284 * configure.host(stdio64_dir): New setting that is used to
7285 enable building of new stdio64 directory.
7286 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7288 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7289 stdio64 info to info files.
7290 * libc/Makefile.in: Regenerated.
7291 * libc/configure: Ditto.
7292 * libc/configure.in: Add configuration variables that are set
7293 when stdio64 is selected as subdir in configure.host.
7294 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7295 on whether STDIO64 flag is set or not.
7296 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7297 STDIO64 flag is set or not.
7298 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7300 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7301 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7302 (__SL64): New file flag indicating file is opened via fopen64.
7303 * libc/include/sys/_types.h(_off64_t): Added.
7304 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7305 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7306 for 64-bit offset large file support.
7307 (__FILE): New intermediate type either set to struct __sFILE64 or
7308 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7309 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7310 * libc/reent/Makefile.in: Regenerated.
7311 * libc/reent/fstat64r.c: New file.
7312 * libc/reent/lseek64r.c: Ditto.
7313 * libc/reent/open64r.c: Ditto.
7314 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7315 based on whether STDIO64 flag is set.
7316 * libc/stdio/stdio.tex: Add blank line.
7317 * libc/stdio64/Makefile.am: New file.
7318 * libc/stdio64/Makefile.in: Ditto.
7319 * libc/stdio64/fgetpos64.c: Ditto.
7320 * libc/stdio64/fopen64.: Ditto.
7321 * libc/stdio64/freopen64.c: Ditto.
7322 * libc/stdio64/fseeko64.c: Ditto.
7323 * libc/stdio64/fsetpos64.c: Ditto.
7324 * libc/stdio64/ftello64.c: Ditto.
7325 * libc/stdio64/local64.h: Ditto.
7326 * libc/stdio64/stdio64.c: Ditto.
7327 * libc/stdio64/stdio64.tex: Ditto.
7328 * libc/stdio64/tmpfile64.c: Ditto.
7329 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7332 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7334 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7335 if LIBC_EXTRA_LIB is present.
7336 * libc/Makefile.in: Regenerated.
7337 * libc/libc.texinfo: Add blank line.
7338 * libc/argz/Makefile.am: Add doc support.
7339 * libc/search/Makefile.am: Ditto.
7340 * libc/argz/Makefile.in: Regenerated.
7341 * libc/search/Makefile.in: Ditto.
7342 * libc/misc/misc.tex: Add ffs function.
7343 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7345 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7347 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7348 definition that was removed in error.
7350 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7352 * libc/include/machine/ieeefp.h: Change to only define
7353 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7354 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7355 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7356 remove redundant floating point definitions.
7358 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7360 * libc/sys/linux/callocr.c: Fix so code references
7363 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7365 * libc/sys/linux/Makefile.am: Add new files.
7366 * libc/sys/linux/Makefile.in: Regenerated.
7367 * libc/sys/linux/bp-sym.h: Moved to include directory.
7368 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7369 * libc/sys/linux/inode.c: Set _LIBC to 1.
7370 * libc/sys/linux/mq_close.c: Ditto.
7371 * libc/sys/linux/mq_getattr.c: Ditto.
7372 * libc/sys/linux/mq_open.c: Ditto.
7373 * libc/sys/linux/mq_receive.c: Ditto.
7374 * libc/sys/linux/mq_send.c: Ditto.
7375 * libc/sys/linux/mq_setattr.c: Ditto.
7376 * libc/sys/linux/mq_unlink.c: Ditto.
7377 * libc/sys/linux/calloc.c: New file.
7378 * libc/sys/linux/callocr.c: Ditto.
7379 * libc/sys/linux/cfreer.c: Ditto.
7380 * libc/sys/linux/config.h: Ditto.
7381 * libc/sys/linux/free.c: Ditto.
7382 * libc/sys/linux/freer.c: Ditto.
7383 * libc/sys/linux/msize.c: Ditto.
7384 * libc/sys/linux/msizer.c: Ditto.
7385 * libc/sys/linux/mstats.c: Ditto.
7386 * libc/sys/linux/mtrim.c: Ditto.
7387 * libc/sys/linux/mtrimr.c: Ditto.
7388 * libc/sys/linux/pvallocr.c: Ditto.
7389 * libc/sys/linux/realloc.c: Ditto.
7390 * libc/sys/linux/reallocr.c: Ditto.
7391 * libc/sys/linux/thread-m.h: Ditto.
7392 * libc/sys/linux/vallocr.c: Ditto.
7393 * libc/sys/linux/bp-checks.h: Ditto.
7394 * libc/sys/linux/libc-symbols.h: Ditto.
7395 * libc/sys/linux/libc-tsd.h: Ditto.
7396 * libc/sys/linux/libintl.h: Ditto.
7397 * libc/sys/linux/malign.c: Ditto.
7398 * libc/sys/linux/malignr.c: Ditto.
7399 * libc/sys/linux/mallinfor.c: Ditto.
7400 * libc/sys/linux/malloc.c: Ditto.
7401 * libc/sys/linux/mallocr.c: Ditto.
7402 * libc/sys/linux/malloptr.c: Ditto.
7403 * libc/sys/linux/mallstatsr.c: Ditto.
7404 * libc/sys/linux/mcheck.c: Ditto.
7405 * libc/sys/linux/mhooks.h: Ditto.
7406 * libc/sys/linux/include/bp-sym.h: Ditto.
7407 * libc/sys/linux/include/malloc.h: Ditto.
7408 * libc/sys/linux/include/mcheck.h: Ditto.
7409 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7411 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7412 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7413 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7414 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7415 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7416 * libc/sys/linux/machine/i386/sysdep.h: New file.
7417 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7418 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7419 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7421 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7423 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7424 instead of <asm/siginfo.h>.
7425 * libc/sys/linux/sys/signal.h: Change to include various linux
7426 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7427 to work with multiple releases of glibc header files.
7429 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7431 * testsuite/newlib.search/hsearchtest.c: New file to test
7433 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7435 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7437 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7439 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7441 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7443 * libc/include/math.h (MAXFLOAT): Added.
7445 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7447 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7448 Make strcmp.S unconditional.
7449 * libc/machine/sh/Makefile.in: Regenerate.
7450 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7451 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7454 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7456 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7457 define before including <sys/lock.h>.
7459 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7461 * libc/include/utime.h: Add include of <_ansi.h>.
7462 * libc/sys/linux/Makefile.am: Add utimes.c.
7463 * libc/sys/linux/Makefile.in: Regenerated.
7464 * libc/sys/linux/inode.c(__umask): New static routine.
7465 (umask): Written to use __umask and attempt to thread lock.
7466 (getumask): New function written to use __umask and thread lock.
7467 * libc/sys/linux/utimes.c: New file.
7468 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7469 * libc/sys/linux/sys/utime.h: New file.
7471 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7473 * libtool.m4: New file.
7474 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7475 rather than as a syscall.
7477 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7479 * libc/include/stdio.h: Add new prototypes.
7480 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7481 * libc/stdio/Makefile.in: Regenerated.
7482 * libc/stdio/fseek.c: Add fseeko documentation.
7483 * libc/stdio/ftell.c: Add ftello documentation.
7484 * libc/stdio/fseeko.c: New file.
7485 * libc/stdio/ftello.c: New file.
7487 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7489 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7490 * libc/stdio/Makefile.in: Regenerated.
7491 * libc/stdio/asprintf.c: New file.
7492 * libc/stdio/vasprintf.c: Ditto.
7493 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7494 the buffer for asprintf support.
7495 * libc/stdio/sprintf.c: Add asprintf documentation.
7496 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7497 * libc/include/stdio.h: Add new prototypes.
7499 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7501 * libc/search/hcreate.c: Remove advertising clause from license.
7502 * libc/search/hcreate_r.c: Likewise.
7504 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7506 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7507 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7508 Check that one of them is defined and error out if not.
7509 Add any platforms defined in <machine/ieeefp.h> that are missing.
7510 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7511 (DB_LITTLE_ENDIAN): New defines.
7512 * libc/search/hash.c: Replace all incorrect checks for
7513 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7514 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7515 * libc/search/hash_page.c: Likewise.
7517 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7519 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7521 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7523 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7524 * libc/include/time.h: Same.
7525 * libc/include/string.h: Same.
7526 * libc/include/stdlib.h: Same.
7527 * libc/include/signal.h: Same.
7528 * libc/include/setjmp.h: Same.
7529 * libc/include/math.h: Same.
7530 * libc/include/locale.h: Same.
7531 * libc/include/ctype.h: Same.
7532 * libc/include/machine/setjmp.h: Same.
7533 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7536 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7538 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7539 32-bits, otherwise define it as long.
7540 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7541 and define ssize_t as _ssize_t.
7542 * libc/reent/readr.c: Change return type to _ssize_t.
7543 * libc/reent/writer.c: Ditto.
7544 * libc/sys/linux/Makefile.am: Add aio.c.
7545 * libc/sys/linux/Makefile.in: Regenerated.
7546 * libc/sys/linux/aio.c: New file.
7547 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7548 * libm/common/fdlibm.h: Undef __P before defining it.
7550 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7552 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7553 exponent_is_even_int variable. Handle case where x is
7554 negative, and y is an odd integer.
7555 * libm/mathfp/sf_pow.c (powf): Likewise.
7557 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7558 * libm/mathfp/erf_lgamma.c: Likewise.
7559 * libm/mathfp/s_tgamma.c: Likewise.
7560 * libm/mathfp/sf_tgamma.c: Likewise.
7562 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7564 * libc/sys/linux/Makefile.am: Add new clock routines.
7565 * libc/sys/linux/Makefile.in: Regenerated.
7566 * libc/sys/linux/clock_getres.c: New file.
7567 * libc/sys/linux/clock_gettime.c: Ditto.
7568 * libc/sys/linux/clock_settime.c: Ditto.
7569 * libc/sys/linux/hp-timing.h: Ditto.
7570 * libc/sys/linux/libc-internal.h: Ditto.
7571 * libc/sys/linux/sysconf.c: Fix typo.
7572 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7573 * libc/sys/linux/machine/hp-timing.h: New file.
7574 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7575 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7576 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7577 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7578 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7579 * libc/sys/linux/sys/linux_time.h: New file.
7580 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7581 replace with <sys/linux_time.h>.
7583 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7585 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7587 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7589 * libc/sys/linux/Makefile.am: Consolidate additional items under
7591 * libc/sys/linux/Makefile.in: Regenerated.
7593 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7595 * libc/sys/linux/sethostname.c: New file.
7596 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7597 * libc/sys/linux/Makefile.in: Regenerated.
7599 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7601 * libc/search/db_local.h: New file.
7602 * libc/include/db.h: Remove.
7603 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7604 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7606 * libc/search/hash_bigkey.c: Likewise.
7607 * libc/search/hash_buf.c: Likewise.
7608 * libc/search/hash_func.c: Likewise.
7609 * libc/search/hash_log2.c: Likewise.
7610 * libc/search/hash_page.c: Likewise.
7612 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
7614 * libc/machine/sh/strlen.S: New file.
7615 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7616 * libc/machine/sh/Makefile.am: Regenerate.
7618 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7620 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7621 add gethostname alias.
7623 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7625 * libc/include/math.h: Remove <sys/types.h>.
7626 (__dmath): Use __ULong instead of __uint32_t.
7627 * libc/include/sys/reent.h: If long or int is not 32-bits,
7628 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
7629 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7630 * libm/common/fdlibm.h: Ditto.
7632 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7634 * libc/include/ndbm.h: Remove.
7635 * libc/search/ndbm.c: Remove.
7637 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7639 * libc/stdio/fseek.c (fseek): Fix braces.
7641 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
7643 * libc/time/strftime.c (strftime): Add %e format specifier.
7645 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7647 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7650 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
7652 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7653 (BYTE_ORDER): Define as appropriate for the target.
7655 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7657 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7659 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
7661 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7663 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
7664 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
7665 [HAVE_GETDATE](getdate_err): New error code.
7666 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7667 * libc/stdio/Makefile.in: Regenerated.
7668 * libc/stdio/getdelim.c: New file.
7669 * libc/stdio/getline.c: Ditto.
7670 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
7671 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
7672 * libc/sys/linux/Makefile.in: Regenerated.
7673 * libc/sys/linux/getdate.c: New file.
7674 * libc/sys/linux/getdate_err.c: Ditto.
7675 * libc/sys/linux/ntp_gettime.c: Ditto.
7676 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
7677 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
7679 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7681 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
7682 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
7683 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
7684 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
7685 * libc/include/sys/param.h: Remove i386 case which is handled
7687 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
7688 definitions in case they are already defined.
7689 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
7690 _IEEE_LITTLE_ENDIAN flags.
7691 * libc/include/sys/reent.h: Change __uint32_t references to
7693 (_REENT_GETDATE_REENT_P): New macro.
7694 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
7695 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
7696 * libc/search/hash.h: Add default setting of BYTE_ORDER,
7697 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
7698 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
7699 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
7700 pid_t, off_t, loff_t, caddr_t, and daddr_t type
7701 definitions which are done by subsequent glibc headers.
7702 Add macro definitions to prevent subsequent header files from
7703 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
7704 intptr_t to after glibc definitions of types they are based on.
7706 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7708 * libc/include/errno.h: Protect from multiple inclusion.
7710 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
7712 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
7714 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
7716 * Makefile.am (LIB_OBJECTLISTS): Add
7717 libc/search/objectlist.awk.in.
7718 * libc/Makefile.am (SUBDIRS): Add search.
7719 (SUBLIBS): Add search/libsearch.la.
7720 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
7721 * libc/search: New directory.
7722 * libc/search/Makefile.am: New file.
7723 * libc/search/extern.h: New file.
7724 * libc/search/hash.c: New file.
7725 * libc/search/hash.h: New file.
7726 * libc/search/hash_bigkey.c: New file.
7727 * libc/search/hash_buf.c: New file.
7728 * libc/search/hash_func.c: New file.
7729 * libc/search/hash_log2.c: New file.
7730 * libc/search/hash_page.c: New file.
7731 * libc/search/hcreate.3: New file.
7732 * libc/search/hcreate.c: New file.
7733 * libc/search/hcreate_r.c: New file.
7734 * libc/search/ndbm.c: New file.
7735 * libc/search/page.h: New file.
7736 * libc/search/tdelete.c: New file.
7737 * libc/search/tdestroy.c: New file.
7738 * libc/search/tfind.c: New file.
7739 * libc/search/tsearch.3: New file.
7740 * libc/search/tsearch.c: New file.
7741 * libc/search/twalk.c: New file.
7742 * libc/include/db.h: New file.
7743 * libc/include/ndbm.h: New file.
7744 * libc/include/search.h: New file.
7745 * libc/include/sys/queue.h: New file.
7746 * libc/include/sys/cdefs.h: New file.
7747 * libc/include/sys/param.h
7748 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
7749 LITTLE_ENDIAN or BIG_ENDIAN.
7750 * libc/include/sys/errno.h (EFTYPE): New macro.
7751 * libc/search/bsearch.c: Move from libc/stdlib.
7752 * libc/search/qsort.c: Likewise.
7753 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
7755 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
7756 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
7758 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
7760 * libc/sys/linux/Makefile.am: Add support for message queue routines,
7761 ipc routines, and ftok.
7762 * libc/sys/linux/Makefile.in: Regenerated.
7763 * libc/sys/linux/ftok.c: New file.
7764 * libc/sys/linux/ipc.c: Ditto.
7765 * libc/sys/linux/mq_close.c: Ditto.
7766 * libc/sys/linux/mq_getattr.c: Ditto.
7767 * libc/sys/linux/mq_notify.c: Ditto.
7768 * libc/sys/linux/mq_open.c: Ditto.
7769 * libc/sys/linux/mq_receive.c: Ditto.
7770 * libc/sys/linux/mq_send.c: Ditto.
7771 * libc/sys/linux/mq_setattr.c: Ditto.
7772 * libc/sys/linux/mq_unlink.c: Ditto.
7773 * libc/sys/linux/mqlocal.h: Ditto.
7774 * libc/sys/linux/include/mqueue.h: Ditto.
7775 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
7778 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
7780 * libm/common/sf_lround.c (round): Change name to: (lround).
7781 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
7784 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7786 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
7788 (newlib_pass_fail): Change to compile and run only one file.
7789 * testsuite/newlib.locale/locale.exp: Use new
7790 newlib_pass_fail_all procedure.
7791 * testsuite/newlib.string/string.exp: Likewise.
7793 2002-06-18 Dave Brolley <brolley@redhat.com>
7795 From Catherine Moore, Michael Meissner, Richard Sandiford:
7796 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
7798 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
7799 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
7800 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
7801 * configure.host: Support frv-*-*.
7802 * libc/machine/frv/Makefile.am: New file.
7803 * libc/machine/frv/configure.in: New file.
7804 * libc/machine/frv/setjmp.S: New file.
7806 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7808 * libc/include/ctype.h: Remove isblank macro.
7810 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
7811 * libc/ctype/isblank.c: New file.
7812 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
7813 declaration. Add isblank macro.
7815 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
7817 * testsuite/newlib.stdlib/atexit.c: New file.
7818 * testsuite/newlib.stdlib/atexit.exp: Ditto.
7819 * testsuite/newlib.string/tstring.c: Change default start size
7820 to something more reasonable for embedded platforms.
7822 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7824 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
7826 * libc/argz: New directory.
7827 * libc/argz/*: New files.
7828 * libc/argz/argz_add.c: New file.
7829 * libc/argz/argz_add_sep.c: New file.
7830 * libc/argz/argz_append.c: New file.
7831 * libc/argz/argz_count.c: New file.
7832 * libc/argz/argz_create.c: New file.
7833 * libc/argz/argz_create_sep.c: New file.
7834 * libc/argz/argz_delete.c: New file.
7835 * libc/argz/argz_extract.c: New file.
7836 * libc/argz/argz_insert.c: New file.
7837 * libc/argz/argz_next.c: New file.
7838 * libc/argz/argz_replace.c: New file.
7839 * libc/argz/argz_stringify.c: New file.
7840 * libc/argz/buf_findstr.c: New file.
7841 * libc/argz/envz_add.c: New file.
7842 * libc/argz/envz_entry.c: New file.
7843 * libc/argz/envz_get.c: New file.
7844 * libc/argz/envz_merge.c: New file.
7845 * libc/argz/envz_remove.c: New file.
7846 * libc/argz/envz_strip.c: New file.
7847 * libc/include/argz.h: New file.
7848 * libc/include/envz.h: New file.
7849 * Makefile.am (LIBC_OBJECTLISTS): Add
7850 libc/argz/objectlist.awk.in.
7851 * libc/Makefile.am (SUBDIRS): Add argz.
7852 (SUBLIBS): Add argz/libargz.la.
7853 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
7854 * libc/include/errno.h: Add error_t typedef.
7856 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
7858 * libc/include/stdlib.h: Add _Exit prototype.
7859 * libc/stdlib/Makefile.am: Add _Exit.c support.
7860 * libc/stdlib/Makefile.in: Ditto.
7861 * libc/stdlib/_Exit.c: New file.
7863 2002-06-13 Stephen L. Moshier <steve@moshier.net>
7865 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
7866 x is close to -1.0 and y is very large to use ax (absolute value)
7868 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
7870 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
7872 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
7873 Fix clobbering bytes before destination if src and dst have same
7874 non-zero misalignment.
7876 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7877 Fixed bug in writing end of set region.
7879 2002-06-10 Christopher Faylor <cgf@redhat.com>
7881 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
7882 spawnve declaration.
7884 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7886 * libm/common/s_fdim.c: New file.
7887 * libm/common/s_fma.c: Likewise.
7888 * libm/common/s_fmax.c: Likewise.
7889 * libm/common/s_fmin.c: Likewise.
7890 * libm/common/s_fpclassify.c: Likewise.
7891 * libm/common/s_lrint.c: Likewise.
7892 * libm/common/s_lround.c: Likewise.
7893 * libm/common/s_nearbyint.c: Likewise.
7894 * libm/common/s_remquo.c: Likewise.
7895 * libm/common/s_round.c: Likewise.
7896 * libm/common/s_scalbln.c: Likewise.
7897 * libm/common/s_signbit.c: Likewise.
7898 * libm/common/s_trunc.c: Likewise.
7899 * libm/common/sf_fdim.c: Likewise.
7900 * libm/common/sf_fma.c: Likewise.
7901 * libm/common/sf_fmax.c: Likewise.
7902 * libm/common/sf_fmin.c: Likewise.
7903 * libm/common/sf_lrint.c: Likewise.
7904 * libm/common/sf_lround.c: Likewise.
7905 * libm/common/sf_nearbyint.c: Likewise.
7906 * libm/common/sf_remquo.c: Likewise.
7907 * libm/common/sf_round.c: Likewise.
7908 * libm/common/sf_scalbln.c: Likewise.
7909 * libm/common/sf_trunc.c: Likewise.
7910 * libm/math/w_exp2.c: Likewise.
7911 * libm/math/w_tgamma.c: Likewise.
7912 * libm/math/wf_exp2.c: Likewise.
7913 * libm/math/wf_tgamma.c: Likewise.
7914 * libm/mathfp/s_exp2.c: Likewise.
7915 * libm/mathfp/s_tgamma.c: Likewise.
7916 * libm/mathfp/sf_exp2.c: Likewise.
7917 * libm/mathfp/sf_tgamma.c: Likewise.
7918 * libm/math/er_gamma.c: Fix return value.
7919 * libm/math/erf_gamma.c: Likewise.
7920 * libm/mathfp/er_gamma.c: Likewise.
7921 * libm/mathfp/erf_gamma.c: Likewise.
7922 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
7923 declarations and macros.
7924 Regenerated all Makefile.in, aclocal.m4 and configure files to
7925 use new libtool macros in top-level libtool.m4
7927 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
7929 * libc/include/string.h[__linux__]: Add strsignal prototype.
7930 * libc/include/sys/lock.h: New file with default locking support.
7931 * libc/include/sys/reent.h: Add signal buffer support for strsignal
7933 * libc/posix/Makefile.am: Add support for readdir_r.c.
7934 * libc/posix/Makefile.in: Regenerated.
7935 * libc/posix/closedir.c: Add locking support and hash table cleanup.
7936 * libc/posix/opendir.c: Add lock support.
7937 * libc/posix/readdir.c: Ditto.
7938 * libc/posix/rewinddir.c: Ditto.
7939 * libc/posix/scandir.c: Ditto.
7940 * libc/posix/seekdir.c: Ditto.
7941 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
7942 clean up leftover hash table entries.
7943 * libc/posix/readdir_r.c: New file.
7944 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
7945 * libc/sys/linux/Makefile.in: Regenerated.
7946 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
7947 * libc/sys/linux/sys/signal.h: Add psignal prototype.
7948 * libc/sys/linux/psignal.c: New file.
7949 * libc/sys/linux/strsignal.c: Ditto.
7951 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
7953 * libc/include/sys/types.h: Don't define dev_t when compiling for
7956 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
7958 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
7959 make siglist.inc dependent on sig.c instead of signal.c.
7960 * libc/sys/linux/Makefile.in: Regenerated.
7961 * libc/sys/linux/sig.c: Rename from signal.c and change code to
7962 use NSIG instead of _NSIG.
7963 * libc/sys/linux/sigaction.c: New file.
7964 * libc/sys/linux/signal.c: Changed to be linux signal() function
7965 so as to override regular newlib default signal.c.
7966 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
7967 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7968 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
7969 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
7970 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
7971 default linux sigset_t typedef by defining it equal to __sigset_t.
7972 * libc/unix/sigset.c: Add check so code isn't compiled on systems
7973 with a sigset_t that isn't implemented with a single int.
7975 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
7977 * libc/sys/linux/Makefile.am: Add support for new files.
7978 * libc/sys/linux/Makefile.in: Regenerated.
7979 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
7980 * libc/sys/linux/signal.c: Change to use real-time syscalls for
7981 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
7982 it is in a separate file now.
7983 * libc/sys/linux/machine/i386/Makefile.am
7984 * libc/sys/linux/machine/i386/Makefile.in
7985 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
7986 * libc/sys/linux/sigaction.c: New file.
7987 * libc/sys/linux/sigqueue.c: Ditto.
7988 * libc/sys/linux/sigwait.c: Ditto.
7989 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
7990 * libc/sys/linux/kernel_sigaction.h: Ditto.
7992 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
7994 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
7996 * libc/sys/linux/Makefile.in: Regenerated.
7997 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
7998 tcgetpgrp(), and tcsetpgrp() functions.
7999 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8000 to get __MAX_BAUD rate.
8001 * libc/sys/linux/machine/i386/include/termios.h: New file.
8002 * libc/include/machine/termios.h: Ditto.
8003 * libc/sys/linux/cfspeed.c: Ditto.
8004 * libc/sys/linux/tcsendbrk.c: Ditto.
8006 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8008 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8009 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8010 * libc/string/Makefile.in: Regenerated.
8011 * libc/string/strerror_r.c: New file.
8012 * libc/string/strnlen.c: New file.
8013 * libc/sys/linux/Makefile.am: Add rename.c.
8014 * libc/sys/linux/Makefile.in: Regenerated.
8015 * libc/sys/linux/rename.c: New file to override default rename.
8017 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8019 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8020 * libc/sys/linux/sys/time.h: Add conversion macros.
8021 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8022 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8023 * libc/sys/linux/gethostname.c: New file.
8024 * libc/sys/linux/seteuid.c: New file.
8025 * libc/sys/linux/sysctl.c: New file.
8027 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8029 * libc/string/Makefile.am: Add support for strsep.c.
8030 * libc/string/Makefile.in: Regenerated.
8031 * libc/string/strsep.c: New file.
8032 * libc/string/strtok.c: Change to call __strtok_r service routine.
8033 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8034 additional flag parameter regarding whether to skip leading delimeters.
8035 Change strtok_r to call __strtok_r.
8037 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8039 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8040 * libc/stdio/Makefile.in: Regenerated.
8041 * libc/stdio/setbuffer.c: New file.
8042 * libc/stdio/setlinebuf.c: New file.
8044 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8046 * libc/sys/linux/Makefile.am: Add resource.c.
8047 * libc/sys/linux/Makefile.in: Regenerated.
8048 * libc/sys/linux/resource.c: New file.
8049 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8050 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8051 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8052 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8053 are now found in libc/sys/linux/resource.c.
8055 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8057 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8058 to use void * pointers and comply with Single Unix spec.
8059 * libc/string/bcmp.c: Change to use void * instead of char *.
8060 * libc/string/bcopy.c: Ditto.
8061 * libc/string/bzero.c: Ditto.
8063 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8065 * libc/sys/linux/shm_open.c: New file.
8066 * libc/sys/linux/shm_unlink.c: Ditto.
8067 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8069 * libc/sys/linux/Makefile.in: Regenerated.
8070 * libc/sys/linux/sys/types.h: Add some additional checks to see
8071 if clock_t or time_t is already defined.
8073 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8075 * Makefile.am: Don't pass $toollibdir down directly in
8076 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8077 Pass it under the name: top_toollibdir.
8078 * Makefile.in: Regenerated.
8080 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8082 * libc/include/sys/types.h: Revert previous patch.
8084 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8086 * libc/include/sys/types.h: Include cygwin/types.h always under
8087 Cygwin, not only if _POSIX_THREADS is defined.
8089 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8091 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8093 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8095 * Makefile.am: Copy and install headers from sys/machine/include
8096 directory. Also pass $toollibdir to lower-level directories.
8097 * Makefile.in: Regenerated.
8098 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8099 stderr to use _REENT macro instead of _impure_ptr directly.
8100 * libc/include/sys/config.h[__i386__][__linux__]: Define
8102 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8103 call to __getreent() function if !__SINGLE_THREAD__ and
8104 __DYNAMIC_REENT__ is set.
8105 * libc/reent/Makefile.am: Add support for getreent.c.
8106 * libc/reent/Makefile.in: Regenerated.
8107 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8108 * libc/sys/linux/Makefile.am: Add support for new files.
8109 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8110 * libc/sys/linux/Makefile.in: Regenerated.
8111 * libc/sys/linux/configure: Ditto.
8112 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8113 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8114 their __libc_ counterparts.
8115 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8116 and weak-alias to regular names.
8117 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8118 to pread64 and __pread64.
8119 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8120 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8121 weak-alias to pwrite64.
8122 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8123 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8124 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8125 name with __ instead of __libc_.
8126 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8127 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8128 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8129 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8131 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8132 __libc_send to __send.
8133 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8135 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8136 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8137 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8138 type and typedef __jmp_buf to jmp_buf.
8139 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8141 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8142 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8144 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8145 prefix for function macros and then use weak_alias() to regular names.
8146 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8147 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8148 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8149 to be flockfile() and funlockfile() respectively.
8150 * libc/sys/linux/sys/types.h
8151 * libc/reent/getreent.c: New file.
8152 * libc/sys/linux/flockfile.c: Ditto.
8153 * libc/sys/linux/funlockfile.c: Ditto.
8154 * libc/sys/linux/getreent.c: Ditto.
8155 * libc/sys/linux/pread.c: Ditto.
8156 * libc/sys/linux/pwrite.c: Ditto.
8157 * libc/sys/linux/raise.c: Ditto.
8158 * libc/sys/linux/system.c: Ditto.
8159 * libc/sys/linux/tcdrain.c: Ditto.
8160 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8161 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8162 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8163 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8164 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8166 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8168 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8169 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8170 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8171 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8173 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8175 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8176 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8179 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8181 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8182 options when testing natively on i[3456]86-*-linux.
8184 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8185 only one pass or fail per test file. Trim \r's from output
8186 values received from test programs. Remove support for named
8188 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8189 newlib_check_output behaviour.
8190 * testsuite/newlib.locale/UTF-8.c: Likewise.
8192 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8194 * libc/include/stdlib.h: Add on_exit prototype.
8195 * libc/include/sys/reent.h (struct _atexit): Add argument array
8196 and bits to track type of exit routine to support both on_exit
8198 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8199 by default and change the setting of the atexit structure.
8200 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8201 * libc/stdlib/on_exit.c: New file.
8202 * libc/stdlib/Makefile.am: Add support for on_exit.
8203 * libc/stdlib/Makefile.in: Regenerated.
8204 * libc/stdlib/atexit.c: Change to initialize types field.
8205 * libc/stdlib/exit.c: Change to look at types field for each
8206 exit routine and either call an atexit-style or an on_exit-style
8207 routine accordingly.
8209 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8211 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8212 allow v specifier with n or L specifiers. For vector c format,
8213 move tmp declaration to the top.
8215 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8217 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8218 the original format specifier when looping for vectors to compensate
8219 for any changes made in vector %g format processing.
8220 Also add syntax checking for various invalid scenarios
8221 involving vector format extensions.
8222 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8223 return code setting for vector formats. Also treat vector
8224 separator mismatch as a match error instead of an input error.
8225 Perform some syntax checking for vector formats.
8227 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8229 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8230 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8231 * libc/string/strlcat.c: New file.
8232 * libc/string/strlcpy.c: New file.
8234 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8236 * libc/string/strchr.c: Fix comment typo.
8238 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8240 * acinclude.m4: Add support for --enable-newlib-multithread.
8241 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8242 --enable-newlib-multithread=no.
8244 * libc/stdio/getc_u.c: New file.
8245 * libc/stdio/getchar_u.c: New file.
8246 * libc/stdio/putc_u.c: New file.
8247 * libc/stdio/putchar_u.c: New file.
8248 * libc/include/stdio.h: Add declarations for getc_unlocked,
8249 getchar_unlocked, putc_unlocked and putchar_unlocked.
8250 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8251 (CHEWOUT_FILES): Add new files' .def's.
8252 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8254 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8256 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8257 Also handle as single quad word when destination ends at last
8258 byte of first quad word. Fix byte selection in single quad code.
8260 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8262 * libc/include/sys/stdio.h: New file.
8263 * libc/sys/linux/sys/stdio.h: New file.
8264 * libc/include/stdio.h: Add declarations for flockfile,
8265 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8266 * libc/stdio/clearerr.c: Add file locking.
8267 * libc/stdio/fclose.c: Likewise.
8268 * libc/stdio/feof.c: Likewise.
8269 * libc/stdio/ferror.c: Likewise.
8270 * libc/stdio/fflush.c: Likewise.
8271 * libc/stdio/fgetc.c: Likewise.
8272 * libc/stdio/fgetpos.c: Likewise.
8273 * libc/stdio/fgets.c: Likewise.
8274 * libc/stdio/fileno.c: Likewise.
8275 * libc/stdio/fputc.c: Likewise.
8276 * libc/stdio/fputs.c: Likewise.
8277 * libc/stdio/fread.c: Likewise.
8278 * libc/stdio/freopen.c: Likewise.
8279 * libc/stdio/fseek.c: Likewise.
8280 * libc/stdio/ftell.c: Likewise.
8281 * libc/stdio/fwrite.c: Likewise.
8282 * libc/stdio/getc.c: Likewise.
8283 * libc/stdio/putc.c: Likewise.
8284 * libc/stdio/setvbuf.c: Likewise.
8285 * libc/stdio/ungetc.c: Likewise.
8286 * libc/stdio/vfprintf.c: Likewise.
8288 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8290 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8291 support for 'p' format. Fix code to print bytes for vector
8292 integer formats that do not specify 'h' or 'l'.
8293 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8294 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8295 formats that do not specify 'h' or 'l'.
8297 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8299 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8301 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8302 (_sbrk): Add cast of return value.
8304 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8306 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8307 (_REENT_L64A_BUF): New macro for accessing area.
8308 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8309 * libc/stdlib/Makefile.in: Regenerated.
8310 * libc/stdlib/a64l.c: New file.
8311 * libc/stdlib/l64a.c: New file.
8313 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8315 * libc/unix/pread.c: Fix typo for _pread_r.
8316 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8317 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8318 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8320 2002-05-03 Christopher Faylor <cgf@redhat.com>
8322 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8324 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8326 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8328 2002-05-01 Christopher Faylor <cgf@redhat.com>
8330 * utmp.h: Define more UNIX constants.
8332 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8334 * Makefile.am: Add support for checking multilibs.
8336 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8337 (SUBDEFS): Add LIBC_EXTRA_DEF.
8338 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8339 (LIBC_EXTRA_DEF): Likewise.
8340 (extra_dir): Likewise.
8341 * libc/machine/xscale/machine: New directory.
8342 * libc/machine/xscale/machine/profile.h: New file.
8344 * Makefile.am (site.exp): Remove newlib_cflags. Add
8346 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8347 * testsuite/lib/flags.exp: New file.
8348 * testsuite/lib/newlib.exp: Load flags.exp.
8349 (newlib_target_compile): Remove libgloss directory references.
8350 (newlib_init): Remove newlib_cflags references.
8352 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8354 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8355 method of finding libgloss_target_dir.
8357 * Makefile.am (site.exp): Change host_alias, host_triplet,
8358 target_alias, target_triplet to refer to gcc's host and target
8359 variables (newlib's build and host variables).
8360 * testsuite/lib/newlib.exp (newlib_init): Change build
8361 references to host references, host references to target
8362 references to reflect Makefile.am changes.
8363 (newlib_target_compile): Likewise.
8364 (newlib_finish): Likewise.
8366 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8368 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8370 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8372 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8373 (_system): New function. Ditto.
8374 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8375 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8378 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8380 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8381 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8382 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8383 * libc/sys/linux/Makefile.in: Regenerated.
8384 * libc/unix/Makefile.in: Ditto.
8385 * libc/sys/linux/pread64.c: New file.
8386 * libc/sys/linux/pwrite64.c: Ditto.
8387 * libc/unix/pread.c: Ditto.
8388 * libc/unix/pwrite.c: Ditto.
8390 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8392 * libc/sys/linux/Makefile.am: Add io64.c.
8393 * libc/sys/linux/Makefile.in: Regenerated.
8394 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8395 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8396 * libc/sys/linux/io64.c: New file.
8398 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8400 * configure.in (CC_FOR_NEWLIB): New variable that
8401 bases on $(CC) and adds targ-include and libc/include as
8402 -isystem directives if they are not already part of $(CC).
8403 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8405 * configure: Regenerated.
8406 * Makefile.in: Ditto.
8408 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8410 * libc/sys/linux/Makefile.am: Add support for sched.c.
8411 * libc/sys/linux/Makefile.in: Regenerated.
8412 * libc/sys/linux/sched.c: New file.
8413 * libc/sys/linux/sys/types.h: Add struct timespec.
8415 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8417 * configure.in (CC_FOR_BUILD): Set to gcc whether
8418 cross-compiling or not.
8419 (CC): Add -isystem's for targ-include and libc/include when they
8420 do not already appear in CC.
8422 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8424 * Makefile.am (check-DEJAGNU): New target.
8425 (site.exp): Likewise.
8426 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8427 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8428 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8429 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8430 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8431 * testsuite: New directory.
8432 * testsuite/config: Likewise.
8433 * testsuite/lib: Likewise.
8434 * testsuite/newlib.locale: Likewise.
8435 * testsuite/newlib.string: Likewise.
8436 * testsuite/config/default.exp: New file.
8437 * testsuite/lib/checkoutput.exp: New file.
8438 * testsuite/lib/newlib.exp: New file.
8439 * testsuite/lib/passfail.exp: New file.
8440 * testsuite/newlib.locale/UTF-8.c: New file.
8441 * testsuite/newlib.locale/UTF-8.exp: New file.
8442 * testsuite/newlib.locale/locale.exp: New file.
8443 * testsuite/newlib.string/string.exp: New file.
8444 * testsuite/newlib.string/tstring.c: New file.
8446 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8448 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8449 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8450 * libc/sys/linux/Makefile.in: Regenerated.
8451 * libc/sys/linux/mmap.c: New file.
8452 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8453 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8455 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8457 * acinclude.m4 (newlib_cflags): Remove include directories that
8458 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8460 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8462 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8463 * libc/machine/xscale/memcmp.c: Ditto.
8464 * libc/machine/xscale/memcpy.c: Ditto.
8465 * libc/machine/xscale/memmove.c: Ditto.
8466 * libc/machine/xscale/memset.c: Ditto.
8467 * libc/machine/xscale/strchr.c: Ditto.
8468 * libc/machine/xscale/strcmp.c: Ditto.
8469 * libc/machine/xscale/strcpy.c: Ditto.
8470 * libc/machine/xscale/strlen.c: Ditto.
8472 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8474 * libc/include/sys/config.h: Remove include of <limits.h>.
8475 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8476 define INT_MAX and LONG_MAX. Use them in tests.
8478 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8480 * configure.host: Add support for powerpc-eabialtivec*.
8481 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8482 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8483 * libc/include/machine/malloc.h: New file.
8484 * libc/include/machine/stdlib.h: Ditto.
8485 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8486 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8487 sources based on configuration.
8488 * libc/machine/powerpc/Makefile.in: Regenerated.
8489 * libc/machine/powerpc/configure: Ditto.
8490 * libc/machine/powerpc/configure.in: Add check for
8491 powerpc-eabialtivec* in which case add in additional source files.
8492 * libc/machine/powerpc/setjmp.S: Add altivec support.
8493 * libc/machine/powerpc/vec_calloc.c: New file.
8494 * libc/machine/powerpc/vec_free.c: Ditto.
8495 * libc/machine/powerpc/vec_malloc.c: Ditto.
8496 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8497 * libc/machine/powerpc/vec_realloc.c: Ditto.
8498 * libc/machine/powerpc/machine/malloc.h: Ditto.
8499 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8500 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8501 with added altivec format specifiers.
8502 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8503 added altivec format specifiers.
8505 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8507 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8508 while autoconf is trying to link main(){}.
8510 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8512 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8513 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8515 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8517 * libc/time/time.tex: Add tzset info.
8519 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8521 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8522 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8523 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8524 (tzname): Defined for all platforms.
8525 (daylight, timezone): Defined only for CYGWIN.
8526 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8528 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8529 environment variable is set.
8530 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8532 * libc/time/Makefile.in: Regenerated.
8533 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8534 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8535 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8536 * libc/time/local.h: New local header file.
8537 * libc/time/mktime.c (mktime): Add timezone support.
8538 * libc/time/mktm_r.c: New file which is the common engine
8539 for gmtime_r and lcltime_r. This code has timezone support.
8540 * libc/time/strftime.c (strftime): Add %Z timezone support.
8541 * libc/time/tzlock.c: New file containing timezone lock stubs.
8542 * libc/time/tzset.c: New file containing tzset() routine.
8543 * libc/time/tzset_r.c: New file containing _tzset_r and
8544 internal routine for calculating timezone changes for specified year.
8546 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8548 * configure.in (CRT0_DIR): Set to libc/.
8549 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8550 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8551 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8552 $(CRT1_DIR)/$(CRT1).
8553 * libc/machine/xstormy16/Makefile.in: Regenerated.
8554 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8555 * libc/machine/xstormy16/configure: Regenerated.
8557 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8559 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8560 fails, don't bail out, and try to correct next time.
8562 * libc/include/sys/config.h: Include limits.h.
8564 2002-04-12 Eric Norum <eric.norum@usask.com>
8566 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8567 routine to allow autoconf to determine that building executables
8569 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8570 (rtems_gxx_mutex_once): Ditto.
8572 2002-04-09 Tom Rix <trix@redhat.com>
8574 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8576 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8578 * libc/include/time.h: Fix strptime declaration.
8579 * libc/time/Makefile.am: Add strptime.c.
8580 * libc/time/Makefile.in: Regenerated.
8581 * libc/time/strptime.c: New file.
8583 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8585 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8586 siglongjmp prototype, and sigsetjmp macro definition.
8587 * libc/sys/linux/siglongjmp.c: New file.
8588 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8589 * libc/sys/linux/Makefile.in: Regenerated.
8591 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8593 * Makefile.am: Add support for installing crt1.o if one exists.
8594 * configure.host: Specify crt1.o for linux.
8595 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8596 * Makefile.in: Regenerated.
8598 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8599 Added for non-Cygwin, non-RTEMS configurations.
8600 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8601 * libc/sys/linux/Makefile.in: Regenerated.
8602 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8603 by gcc. This fixes problem with reconfiguring linux newlib build.
8604 * libc/sys/linux/sysconf.c: New file.
8606 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8608 * configure.host: Add support for machine subdirectory of
8610 * configure.in: Add check for sys machine subdirectory.
8611 * Makefile.am: Ditto.
8612 * configure: Regenerated.
8613 * Makefile.in: Ditto.
8614 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8615 * libc/sys/linux/sys/syscall.h: Ditto.
8616 * libc/sys/linux/sleep.c: New file.
8617 * libc/sys/linux/socket.c: Ditto.
8618 * libc/sys/linux/sockops.h: Ditto.
8619 * libc/sys/linux/stack.c: Ditto.
8620 * libc/sys/linux/usleep.c: Ditto.
8621 * libc/sys/linux/machine/Makefile.am: Ditto.
8622 * libc/sys/linux/machine/Makefile.in: Ditto.
8623 * libc/sys/linux/machine/aclocal.m4: Ditto.
8624 * libc/sys/linux/machine/configure: Ditto.
8625 * libc/sys/linux/machine/configure.in: Ditto.
8626 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8627 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8628 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8629 * libc/sys/linux/machine/i386/configure: Ditto.
8630 * libc/sys/linux/machine/i386/configure.in: Ditto.
8631 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8632 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8633 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8634 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8635 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8636 * libc/sys/linux/sys/select.h: Ditto.
8637 * libc/sys/linux/configure.in: Add support for machine directory.
8638 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8639 * libc/sys/linux/Makefile.in: Regenerated.
8640 * libc/sys/linux/configure: Ditto.
8641 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8642 * libc/sys/linux/inode.c: Ditto.
8643 * libc/sys/linux/linux.c: Ditto.
8644 * libc/sys/linux/process.c: Ditto.
8645 * libc/sys/linux/systat.c: Ditto.
8646 * libc/sys/linux/time.c: Ditto.
8647 * libc/sys/linux/wait.c: Ditto.
8648 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8649 * libc/sys/linux/io.c: Change header plus add readv/writev.
8650 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8651 use __sigsuspend syscall.
8652 * libc/sys/linux/select.c: Change header plus change select to
8653 use _newselect syscall.
8654 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8655 used by glibc header files.
8656 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8659 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8661 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8662 initializing a struct _reent that has been dynamically allocated.
8663 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8664 _REENT_SMALL and does nothing otherwise.
8665 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8666 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8667 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8668 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8669 [_REENT_SMALL](struct _misc_reent): New structure containing
8670 miscellaneous reentrant areas needed by newlib.
8671 [_REENT_SMALL](struct _reent): Add _misc pointer.
8672 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8673 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8674 and _REENT_STRTOK_LAST macros.
8675 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8676 and _REENT_MBLEN_STATE macros.
8677 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8678 and _REENT_MBTOWC_STATE macros.
8679 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8680 and _REENT_WCTOMB_STATE macros.
8682 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8684 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8686 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8688 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8690 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8692 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8693 Store high part of leading bytes too.
8695 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8697 * libm/math/ef_hypot.c: Increase scale factor to 68.
8699 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8701 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8704 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8706 * libc/sys/go32/access.c: Change license to relaxed license
8707 used in identical file throughout newlib/libgloss.
8709 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8711 * libc/sys/arm/access.c: New file.
8712 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8713 * libc/sys/arm/Makefile.in: Regenerate.
8714 * libc/sys/arm/syscalls.c (_stat): New function.
8716 2002-03-11 Michael Meissner <meissner@redhat.com>
8718 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8719 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8720 * libc/machine/mips/Makefile.in: Regenerate.
8721 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8722 * libc/machine/mips/memset.c: Dito.
8723 * libc/machine/mips/strcmp.c: Dito.
8724 * libc/machine/mips/strlen.c: Dito.
8725 * libc/machine/mips/strncmp.c: Dito.
8727 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8729 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8730 object so it works for shared library or statici library.
8731 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8733 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8734 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8735 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8736 (tzname): Defined for all platforms.
8737 (daylight, timezone): Defined only for CYGWIN.
8738 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8740 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8741 environment variable is set.
8742 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8744 * libc/time/Makefile.in: Regenerated.
8745 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8746 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8747 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8748 * libc/time/local.h: New local header file.
8749 * libc/time/mktime.c (mktime): Add timezone support.
8750 * libc/time/mktm_r.c: New file which is the common engine
8751 for gmtime_r and lcltime_r. This code has timezone support.
8752 * libc/time/strftime.c (strftime): Add %Z timezone support.
8753 * libc/time/tzlock.c: New file containing timezone lock stubs.
8754 * libc/time/tzset.c: New file containing tzset() routine.
8755 * libc/time/tzset_r.c: New file containing _tzset_r and
8756 internal routine for calculating timezone changes for specified year.
8758 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8760 * configure.in (CRT0_DIR): Set to libc/.
8761 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8762 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8763 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8764 $(CRT1_DIR)/$(CRT1).
8765 * libc/machine/xstormy16/Makefile.in: Regenerated.
8766 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8767 * libc/machine/xstormy16/configure: Regenerated.
8769 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8771 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8772 fails, don't bail out, and try to correct next time.
8774 * libc/include/sys/config.h: Include limits.h.
8776 2002-04-12 Eric Norum <eric.norum@usask.com>
8778 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8779 routine to allow autoconf to determine that building executables
8781 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8782 (rtems_gxx_mutex_once): Ditto.
8784 2002-04-09 Tom Rix <trix@redhat.com>
8786 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8788 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8790 * libc/include/time.h: Fix strptime declaration.
8791 * libc/time/Makefile.am: Add strptime.c.
8792 * libc/time/Makefile.in: Regenerated.
8793 * libc/time/strptime.c: New file.
8795 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8797 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8798 siglongjmp prototype, and sigsetjmp macro definition.
8799 * libc/sys/linux/siglongjmp.c: New file.
8800 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8801 * libc/sys/linux/Makefile.in: Regenerated.
8803 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8805 * Makefile.am: Add support for installing crt1.o if one exists.
8806 * configure.host: Specify crt1.o for linux.
8807 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8808 * Makefile.in: Regenerated.
8810 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8811 Added for non-Cygwin, non-RTEMS configurations.
8812 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8813 * libc/sys/linux/Makefile.in: Regenerated.
8814 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8815 by gcc. This fixes problem with reconfiguring linux newlib build.
8816 * libc/sys/linux/sysconf.c: New file.
8818 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8820 * configure.host: Add support for machine subdirectory of
8822 * configure.in: Add check for sys machine subdirectory.
8823 * Makefile.am: Ditto.
8824 * configure: Regenerated.
8825 * Makefile.in: Ditto.
8826 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8827 * libc/sys/linux/sys/syscall.h: Ditto.
8828 * libc/sys/linux/sleep.c: New file.
8829 * libc/sys/linux/socket.c: Ditto.
8830 * libc/sys/linux/sockops.h: Ditto.
8831 * libc/sys/linux/stack.c: Ditto.
8832 * libc/sys/linux/usleep.c: Ditto.
8833 * libc/sys/linux/machine/Makefile.am: Ditto.
8834 * libc/sys/linux/machine/Makefile.in: Ditto.
8835 * libc/sys/linux/machine/aclocal.m4: Ditto.
8836 * libc/sys/linux/machine/configure: Ditto.
8837 * libc/sys/linux/machine/configure.in: Ditto.
8838 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8839 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8840 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8841 * libc/sys/linux/machine/i386/configure: Ditto.
8842 * libc/sys/linux/machine/i386/configure.in: Ditto.
8843 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8844 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8845 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8846 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8847 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8848 * libc/sys/linux/sys/select.h: Ditto.
8849 * libc/sys/linux/configure.in: Add support for machine directory.
8850 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8851 * libc/sys/linux/Makefile.in: Regenerated.
8852 * libc/sys/linux/configure: Ditto.
8853 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8854 * libc/sys/linux/inode.c: Ditto.
8855 * libc/sys/linux/linux.c: Ditto.
8856 * libc/sys/linux/process.c: Ditto.
8857 * libc/sys/linux/systat.c: Ditto.
8858 * libc/sys/linux/time.c: Ditto.
8859 * libc/sys/linux/wait.c: Ditto.
8860 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8861 * libc/sys/linux/io.c: Change header plus add readv/writev.
8862 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8863 use __sigsuspend syscall.
8864 * libc/sys/linux/select.c: Change header plus change select to
8865 use _newselect syscall.
8866 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8867 used by glibc header files.
8868 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8871 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8873 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8874 initializing a struct _reent that has been dynamically allocated.
8875 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8876 _REENT_SMALL and does nothing otherwise.
8877 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8878 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8879 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8880 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8881 [_REENT_SMALL](struct _misc_reent): New structure containing
8882 miscellaneous reentrant areas needed by newlib.
8883 [_REENT_SMALL](struct _reent): Add _misc pointer.
8884 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8885 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8886 and _REENT_STRTOK_LAST macros.
8887 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8888 and _REENT_MBLEN_STATE macros.
8889 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8890 and _REENT_MBTOWC_STATE macros.
8891 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8892 and _REENT_WCTOMB_STATE macros.
8894 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8896 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8898 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8900 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8902 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8904 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8905 Store high part of leading bytes too.
8907 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8909 * libm/math/ef_hypot.c: Increase scale factor to 68.
8911 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8913 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8916 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8918 * libc/sys/go32/access.c: Change license to relaxed license
8919 used in identical file throughout newlib/libgloss.
8921 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8923 * libc/sys/arm/access.c: New file.
8924 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8925 * libc/sys/arm/Makefile.in: Regenerate.
8926 * libc/sys/arm/syscalls.c (_stat): New function.
8928 2002-03-11 Michael Meissner <meissner@redhat.com>
8930 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8931 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8932 * libc/machine/mips/Makefile.in: Regenerate.
8933 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8934 * libc/machine/mips/memset.c: Dito.
8935 * libc/machine/mips/strcmp.c: Dito.
8936 * libc/machine/mips/strlen.c: Dito.
8937 * libc/machine/mips/strncmp.c: Dito.
8939 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8941 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8942 object so it works for shared library or statici library.
8943 * libc/machine/i386/Makefile.in: Regenerated.
8945 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
8947 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
8948 Add memcpy.S, memset.S and strcpy.S.
8949 * libc/machine/sh/Makefile.in: Regenerate.
8950 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
8951 (SHHI, SHLO): Define.
8952 * libc/machine/sh/memset.S: Add code for SH5.
8953 * libc/machine/sh/memset.S: Likewise.
8954 * libc/machine/sh/strcpy.S: Likewise.
8956 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
8958 * configure.host: Add check for --disable-newlib-io-float
8959 configuration option and add -DNO_FLOATING_POINT to newlib cflags
8961 * acinclude.m4: Added --disable-newlib-io-float option.
8962 * aclocal.m4: Regenerated.
8964 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8965 * libc/*/aclocal.m4 libc/*/configure
8966 * libm/*/aclocal.m4 libm/*/configure: Ditto.
8967 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
8968 if NO_FLOATING_POINT flag is not defined.
8970 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
8972 * libc/include/sys/config.h: Add __extension__ in front of
8973 long long references.
8975 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8977 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
8980 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8982 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
8985 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
8987 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
8988 clobbered registers.
8990 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8992 * configure.host (newlib_cflags): When host is in m68* add
8995 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
8997 * libc/include/sys/config.h: Add definitions for
8998 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9000 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9002 * libc/sys/mmixware/link.c: New.
9003 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9005 * libc/sys/mmixware/times.c (_times): Renamed from times.
9006 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9007 properly by reading previous contents, not through BinaryReadWrite.
9008 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9009 * libc/sys/mmixware/Makefile.in: Regenerate.
9011 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9013 * libc/include/grp.h: Don't declare group functions when compiling
9016 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9018 * libc/include/grp.h: Include Cygwin specific header.
9019 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9020 when compiling for Cygwin.
9021 * libc/include/sys/types.h: Don't define off_t, uid_t
9022 and gid_t when compiling for Cygwin.
9024 2002-02-08 matthew green <mrg@redhat.com>
9026 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9027 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9029 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9031 Contribute sh64-elf.
9032 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9033 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9035 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9036 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9038 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9039 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9040 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9041 * libc/machine/sh/configure.in: Rework conditionals.
9042 * libc/machine/sh/Makefile.am: Likewise.
9043 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9044 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9045 * configure.host: Match `sh*'.
9046 * libc/include/machine/setjmp.h: Define for SH5.
9047 * libc/machine/sh/configure.in: Detect SH5.
9048 * libc/machine/sh/configure: Rebuilt.
9049 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9050 * libc/machine/sh/Makefile.in: Rebuilt.
9051 * libc/machine/sh/asm.h: Adjust for SH5.
9052 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9053 * libc/sys/sh/crt0.S: Likewise.
9054 * libc/sys/sh/trap.S: Likewise.
9056 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9058 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9059 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9060 (LIB_SOURCES): Remove $(mach_add_src).
9061 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9062 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9063 * libc/machine/i386/Makefile.in: Regenerate.
9065 2002-02-05 Manik Raina <manik@cisco.com>
9067 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9068 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9069 s, p, k, and outstr.
9070 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9072 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9074 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9075 _REENT_CHECK_EMERGENCY macro.
9077 2002-02-03 matthew green <mrg@redhat.com>
9079 * libc/reent/signgam.c (__signgam): Fix error in previous.
9081 2002-02-02 matthew green <mrg@redhat.com>
9083 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9085 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9086 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9087 * libc/include/sys/reent.h (struct _reent): Completely new version
9089 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9090 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9091 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9092 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9093 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9094 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9095 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9096 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9097 (_REENT_EMERGENCY): Likewise.
9099 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9100 the start of the real __sFILE, used for stdin, stdout and stderr until
9101 they are setup properly.
9102 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9103 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9104 allocated stdin, stdout and stderr.
9105 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9106 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9107 * libc/stdio/perror.c (_perror_r): Likewise.
9108 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9109 * libc/stdio/putchar.c (_putchar_r): Likewise.
9110 * libc/stdio/puts.c (_puts_r): Likewise.
9111 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9112 * libc/stdio/vprintf.c (vprintf): Likewise.
9113 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9115 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9117 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9118 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9120 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9121 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9123 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9125 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9126 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9127 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9128 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9129 * libc/stdlib/rand48.c (__dorand48): Likewise.
9130 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9131 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9132 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9133 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9134 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9135 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9136 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9137 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9138 * libc/stdlib/rand.c (rand): Likewise.
9140 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9141 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9143 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9144 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9145 * libc/include/sys/reent.h (struct _mprec): New structure.
9147 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9148 _unused_strtok_last.
9149 * libc/string/strtok.c (strtok): Use a local static variable.
9151 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9152 (_REENT_EMERGENCY_SIZE): Likewise.
9153 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9154 _REENT_ASCTIME_BUF().
9155 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9158 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9159 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9160 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9161 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9162 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9163 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9165 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9167 * configure.host (xstormy16): Don't use the generic malloc.
9168 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9169 * libc/machine/xstormy16/Makefile.in: Regenerate.
9170 * libc/machine/xstormy16/mallocr.c: New file.
9171 * libc/machine/xstormy16/tiny-malloc.c: New file.
9173 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9175 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9176 when _CYGWIN_TYPES_H is not defined.
9178 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9180 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9182 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9184 * libc/include/sys/signal.h: Remove pthread_kill declaration
9185 when __CYGWIN__ is defined.
9187 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9189 * libc/include/time.h: Add prototype for strptime for Cygwin.
9191 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9193 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9194 dst was not word aligned.
9196 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9197 if too much memory is requested.
9199 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9201 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9202 reads blanks from the input file to break if EOF reached
9203 rather than end processing.
9205 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9207 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9209 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9211 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9212 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9213 libc/include/sys/config.h: Ditto.
9215 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9217 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9219 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9220 Catherine Moore <clm@redhat.com>
9221 Richard Henderson <rth@redhat.com>
9222 Corinna Vinschen <vinschen@redhat.com>
9224 * configure.host: Add support for xstormy16.
9225 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9226 * libc/include/machine/setjmp.h: Add support for xstormy16.
9227 * libc/include/sys/config.h: Add support for xstormy16.
9228 * libc/machine/xstormy16/Makefile.am: New file.
9229 * libc/machine/xstormy16/Makefile.in: New file.
9230 * libc/machine/xstormy16/aclocal.m4: New file.
9231 * libc/machine/xstormy16/configure: New file.
9232 * libc/machine/xstormy16/configure.in: New file.
9233 * libc/machine/xstormy16/setjmp.S: New file.
9235 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9237 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9238 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9240 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9242 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9243 * libm/machine/Makefile.in: Regenerated through automake.
9245 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9247 * Makefile.am (DOCDIR): Force to empty string when doc
9248 directory is not present.
9250 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9252 * libc/machine/i386/f_*: Move to libm/machine/i386.
9254 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9256 * libm/machine/Makefile.am: Add dummy doc stub so
9259 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9261 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9263 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9265 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9266 $(COMPILE) rather than $(CC).
9267 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9268 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9269 $(LIB_COMPILE) change.
9270 (vfiprintf.$(oext)): Likewise.
9272 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9274 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9275 conditionalized including of getopt stuff.
9277 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9279 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9281 (vfiprintf.$(oext)): Likewise.
9283 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9285 * Makefile.shared: New file.
9286 * libc/sys/linux/shared.ld: New file.
9287 * libm/machine/*: New files.
9288 * libm/machine/i386/*: New files.
9289 * Makefile.am: Add libtool support. Change math and mathfp
9290 references to variables.
9291 * configure.host: Add variables for libtool support. Add
9292 libm_machine_dir variable.
9293 * configure.in: Add objectlist variables, for libtool
9294 support. Add CC_FOR_BUILD tests.
9295 * libc/Makefile.am: Add libtool support. Change crt0.o
9296 reference to be a variable reference.
9297 * libc/configure.in: Add libtool support. Change sublib
9298 names to be lib${subdir}.la when using libtool.
9299 * libc/ctype/Makefile.am: Add libtool support.
9300 * libc/errno/Makefile.am: Likewise.
9301 * libc/locale/Makefile.am: Likewise.
9302 * libc/machine/Makefile.am: Likewise.
9303 * libc/machine/configure.in: Likewise.
9304 * libc/machine/i386/Makefile.am: Likewise.
9305 * libc/machine/i386/configure.in: Likewise.
9306 * libc/misc/Makefile.am: Likewise.
9307 * libc/posix/Makefile.am: Likewise.
9308 * libc/reent/Makefile.am: Likewise.
9309 * libc/signal/Makefile.am: Likewise.
9310 * libc/stdio/Makefile.am: Likewise.
9311 * libc/stdlib/Makefile.am: Likewise.
9312 * libc/string/Makefile.am: Likewise.
9313 * libc/sys/Makefile.am: Likewise.
9314 * libc/sys/configure.in: Likewise.
9315 * libc/sys/linux/Makefile.am: Add libtool support. Change
9316 awk reference to a variable reference. Change signal.h
9317 reference to a variable reference.
9318 * libc/sys/linux/configure.in: Add libtool support.
9319 * libc/syscalls/Makefile.am: Likewise.
9320 * libc/time/Makefile.am: Likewise.
9321 * libc/unix/Makefile.am: Likewise.
9322 * libm/Makefile.am: Add libtool support. Change math and
9323 mathfp references to variables.
9324 * libm/configure.in: Add libtool support. Add
9325 LIBM_MACHINE_LIB variable.
9326 * libm/common/Makefile.am: Add libtool support.
9327 * libm/math/Makefile.am: Likewise.
9328 * libm/mathfp/Makefile.am: Likewise.
9329 Regenerate all Makefile.in, aclocal.m4, and configure.
9331 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9333 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9335 2001-12-06 John Peacock <jpeacock@rowman.com>
9337 * libc/include/sys/unistd.h: Correct ualarm declaration.
9339 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9341 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9342 vector before calling the initialisation functions.
9344 2001-11-29 Christopher Faylor <cgf@redhat.com>
9346 * libc/include/dirent.h: Protect against multiple inclusion.
9348 2001-11-27 Christopher Faylor <cgf@redhat.com>
9350 * libc/include/sys/types.h: Define useconds_t.
9351 * libc/include/sys/ulimit.h: Declare ualarm.
9353 2001-11-21 Christopher Faylor <cgf@redhat.com>
9355 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9357 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9359 * libc/sys/mmixware/*: Tweak license header in all source files.
9361 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9363 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9364 to here. Rearrange for general inclusion by stdlib.h.
9365 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9367 * libc/sys/linux/include/alloca.h: Move to libc/include.
9369 2001-11-12 Anthony Green <green@redhat.com>
9371 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9373 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9375 * libc/sys/mmixware/*: Correct spacing in all source files.
9376 * libc/sys/mmixware/syscall.h: Move misplaced file...
9377 * libc/sys/mmixware/sys/syscall.h: ...here.
9379 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9381 * libc/include/machine/ieeefp.h: Add support for mmix target.
9382 * libc/include/machine/setjmp.h: Ditto.
9383 * configure.host: Ditto.
9384 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9385 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9386 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9387 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9388 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9389 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9390 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9391 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9392 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9393 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9394 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9395 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9396 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9397 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9398 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9399 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9400 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9401 libc/sys/mmixware/aclocal.m4: Generate.
9403 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9405 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9406 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9407 when __CYGWIN__ is defined.
9408 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9411 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9413 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9414 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9415 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9416 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9418 2001-10-24 Christopher Faylor <cgf@redhat.com>
9420 * libc/stdio/fseek.c: Reset pointer to buffer base
9421 when forced to seek outside of current buffer contents.
9422 This prevents the code from erroneously thinking there is
9423 anything in the current buffer.
9425 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9427 * libc/include/math.h: The C++ standard adds the single-precision
9428 versions of the elementary functions.
9430 2001-10-22 Christopher Faylor <cgf@redhat.com>
9432 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9434 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9435 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9436 * system.c (_system_r): Ditto.
9438 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9440 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9441 __CYGWIN__ or __rtems__ is defined.
9443 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9445 * libc/include/stdlib.h: add declarations for
9446 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9447 * libc/stdio/local.h: remove declarations of
9448 __strtoull_r and __strtoll_r.
9449 * libc/stdio/vfscanf.c(__svfscanf_r): call
9450 _strtoull_r instead of __strtoull_r. Ditto
9451 _strtoll_r vs. __strtoll_r.
9452 * libc/stdlib/Makefile.am: add new files to
9453 .c list and .def list
9454 * libc/stdlib/Makefile.in: regenerate
9455 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9457 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9459 * libc/stdlib/strtoull.c: new file
9460 * libc/stdlib/strtoll.c: new file
9462 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9464 * libc/include/process.h: Add getpid() declaration.
9466 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9468 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9469 for new style arm/elf ctor/dtor handling.
9470 Minor formatting tidy up.
9472 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9474 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9476 * libc/stdlib/Makefile.in: Regenerated.
9477 * libc/stdlib/strtoll_r.c: New file.
9478 * libc/stdlib/strtoull_r.c: New file.
9479 * libc/stdio/local.h: Add prototypes for long long string
9480 conversion routines.
9481 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9482 tied to %L integer conversion specifier.
9484 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9486 * strftime.c (strftime): Fix "%W" implementation to properly handle
9489 2001-09-07 Jeff Law <law@redhat.com>
9491 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9492 __fini with "mov.l" instead of "mov.w".
9494 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9496 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9499 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9501 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9503 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9505 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9507 (__DIRENT_VERSION): New define.
9509 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9511 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9512 Shrink __d_reserved accordingly to keep structure size.
9513 (dirfd): Declare external.
9515 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9517 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9519 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9521 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9522 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9523 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9524 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9525 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9526 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9527 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9528 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9529 Add conditional compilation to avoid HW FPU instructions
9530 when compiled for soft-float.
9532 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9534 * Makefile.am: Add check for ln failing when creating libg.a
9535 so that cp gets used as a backup.
9536 * Makefile.in: Regenerated.
9538 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9540 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9541 No longer include time.h. Add struct __tm to use for
9542 _localtime_buf in the reentrant structure. Add a
9543 _NULL definition to use in initializing the reentrant struct.
9544 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9545 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9547 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9548 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9549 _localtime_buf to be struct tm *.
9551 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9553 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9554 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9556 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9557 (_unlink): New stub function.
9559 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9561 * libc/include/sys/errno.h: Add a cautionary comment.
9563 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9565 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9566 for SIZE_SZ so that alignment ends up a minimum of 8.
9568 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9570 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9573 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9576 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9578 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9579 macro constants for mallopt options.
9580 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9582 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9584 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9587 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9589 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9591 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9593 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9594 Define for little endian ARMs.
9596 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9597 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9599 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9601 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9603 2001-06-11 Egor Duda <deo@logos-m.ru>
9605 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9606 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9607 initialized memory region. Platform can define COMPACT_CTYPE
9608 to avoid allocation of the additional 128 bytes of data.
9609 Add pointer to _ctype_ array. Always initialize all _ctype_
9612 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9614 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9617 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9619 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9621 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9623 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9624 matching, non-word alignment, and the length is <= 4 but more than
9625 enough to move them over a word boundary.
9626 Add comments explaining what each instruction does.
9628 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9630 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
9631 * libc/include/sys/unistd.h: Ditto.
9633 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9635 * libc/string/strrchr.c: Use strchr for the speed improvements.
9637 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9639 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9640 real file systems, let __smakebuf() determine if line buffering
9641 should be used for stdout.
9643 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9645 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9647 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9649 * libc/include/stdlib.h: Add prototype for _strtod_r.
9651 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9653 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9654 * libc/stdio/vprintf.c (_vprintf_r): new function
9655 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9656 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9657 _DEFUN, and call _vfprintf_r, not vfprintf.
9658 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9659 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
9660 _DEFUN, and call _vfprintf_r, not vfprintf.
9662 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
9664 * libc/include/sys/unistd.h [X_OK]: Use better protection against
9665 Cygwin X_OK definitions in sys/file.h.
9667 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
9669 * libc/include/sys/time.h: Define timercmp and other macros for
9672 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9674 * acinclude.m4: Added --enable-malloc-debugging configure flag.
9675 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
9676 --enable-malloc-debugging selected.
9677 * aclocal.m4 configure: Regenerated.
9678 libm/aclocal.m4 libm/configure: Ditto.
9679 * libc/aclocal.m4 libc/configure: Ditto.
9680 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
9681 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
9682 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
9683 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
9684 * doc/aclocal.m4 doc/configure: Ditto.
9686 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9688 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
9690 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
9691 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
9692 function prototypes.
9693 (_fscanf_r, _sscanf_r): Ditto.
9694 * libc/include/stdlib.h: Added _strtod_r prototype.
9695 * libc/stdio/Makefile.am: Add new v*scanf functions.
9696 * libc/stdio/Makefile.in: Regenerate.
9697 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
9698 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
9699 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
9700 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
9701 (sscanf): Changed to call __svfscanf_r with _REENT argument.
9702 (_sscanf_r): New routine.
9703 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
9704 with __svfscanf_r prototype.
9705 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
9707 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
9708 structure as argument as calls reentrant versions of helper functions
9709 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
9710 to _strtol_r and _strtod_r respectively.
9711 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
9712 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
9714 * libc/stdio/vscanf.c: New file.
9715 * libc/stdio/vsscanf.c: Ditto.
9717 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
9719 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
9720 Define daylight to _daylight if it is not defined
9721 Prepare a variable export of timezone based on timezonevariable.
9722 (Cannot be used with the timezone() function.)
9724 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
9726 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
9727 Correct the numerical values.
9729 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
9731 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
9733 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
9735 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
9736 on case insensitve file systems.
9738 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
9740 * libc/include/sys/features.h: Add appropriate defines for Cygwin
9742 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
9743 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
9744 types. Include <cygwin/types.h> for the cygwin specific typedefs.
9746 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
9748 * libc/include/machine/ieeefp.h: Comment about new configuration
9749 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
9750 * libm/common/fdlib.h: Define new macros for testing floats.
9751 * libm/common/sf_*: Use them.
9752 * libm/math/ef_*: Likewise.
9753 * libm/math/sf_*: Likewise.
9755 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
9757 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
9758 prolog to by-pass possible assembler error.
9760 2001-03-21 Egor Duda <deo@logos-m.ru>
9762 Allow building internal stubs for non-reentrant syscalls
9763 if target provides its own malloc
9764 * libc/reent/reent.c (errno): Move definition here.
9765 * libc/reent/sbrkr.c: From here.
9767 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
9769 * libc/include/sys/types.h (BSD int typedefs): Guard with
9770 _BSDTYPES_DEFINED rather than _WINSOCK_H.
9771 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
9773 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
9774 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
9776 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
9778 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
9779 _PC_POSIX_SECURITY constants for Cygwin.
9781 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
9783 * libc/sys/cygwin/crt0.c: Add copyright hint.
9784 * libc/sys/cygwin/sys/dirent.h: Ditto.
9785 * libc/sys/cygwin/sys/param.h: Ditto.
9786 * libc/sys/cygwin/sys/utime.h: Ditto.
9787 * libc/sys/cygwin/sys/utmp.h: Ditto.
9789 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9791 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
9792 equivalent to LONGINT.
9794 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
9796 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
9797 jmpbuf on MIPS64 targets.
9798 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
9800 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
9802 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
9805 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
9807 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
9808 For RTEMS, define to be ssize_t. Default to int if not defined.
9809 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
9810 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
9811 * libc/stdio/local.h (__sread, __swrite): Likewise.
9812 * libc/include/sys/reent.h (_read, _write): Likewise.
9813 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
9814 * libc/syscalls/sysread.c (read): Likewise.
9815 * libc/syscalls/syswrite.c (write): Likewise.
9817 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
9819 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
9821 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
9823 * libc/include/sys/stat.h: Use special defines for executable stat bits
9824 when compiling for Cygwin.
9825 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
9828 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9830 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
9831 of strtok_r is always defined.
9833 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9835 * libc/include/machine/ansi.h: New dummy header file.
9837 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
9839 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
9840 changed the copyright information to allow free modification of the
9841 file with no reference to "copying.dj".
9842 * libc/include/sys/stat-dj.h: Ditto.
9843 * libc/machine/i386/setjmp.S: Ditto.
9844 * libc/sys/h8300hms/sys/file.h: Ditto.
9845 * libc/sys/sysmec/access.c: Ditto.
9846 * libc/sys/sysnecv850/access.c: Ditto.
9847 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
9848 * libc/stdlib/getenv_r.c: Ditto.
9849 * libc/stdlib/putenv_r.c: Ditto.
9850 * libc/stdlib/setenv_r.c: Ditto.
9851 * libc/stdlib/getenv.c: Removed DJ reference since any possible
9852 modifications will now be in the _r version of this file.
9853 * libc/stdlib/putenv.c: Ditto.
9854 * libc/stdlib/setenv.c: Ditto.
9855 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
9856 valid. Added a reference to DJ's web page that contains his address.
9857 * libc/sys/go32/*.s: Removed references to DJ's old address.
9858 * libc/sys/go32/*.c: Ditto.
9859 * libc/sys/go32/*.h: Ditto.
9860 * libc/sys/go32/*.S: Ditto.
9861 * libc/sys/go32/sys/*.h: Ditto.
9863 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
9865 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
9866 HAVE_FCNTL flag check.
9867 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
9868 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
9870 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
9872 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
9874 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9876 * libc/include/stdlib.h: Add declarations of rand48 functions and
9877 their reentrant versions.
9878 * libc/include/sys/reent.h: Move macros from rand48.h. Add
9879 struct _rand48 for shared parameters of rand48 functions.
9880 (struct _reent): Add a variable _r48 of struct _rand48.
9881 (_REENT_INIT): Add _r48 initialization.
9882 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
9883 (CHEWOUT_FILES): Add rand48.def.
9884 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
9885 * libc/stdlib/Makefile.in: Regenerated.
9886 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
9888 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
9889 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
9890 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
9891 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
9892 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
9893 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
9894 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
9895 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
9896 * libc/stdlib/rand48.c (__dorand48): Ditto.
9897 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
9898 parameters into macros referring them in the reentrant structure.
9900 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
9902 * libc/include/sys/stat.h: Add mknod for Cygwin now that
9903 Cygwin definition has correct prototype.
9905 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9907 * libc/include/sys/stat.h: Must revert change for mknod
9908 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
9911 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9913 * libc/include/stdio.h: Revert putw prototype.
9915 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
9917 * libc/include/grp.h: add prototype for initgroups.
9918 * libc/include/stdio.h: fix prototype for putw.
9919 * libc/include/sys/signal.h: add prototype for killpg.
9920 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
9921 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
9922 vhangup and remove duplicate sysconf prototype.
9924 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
9926 * libc/sys/rtems/sys/types.h: Removed.
9928 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
9930 * libc/include/locale.h: add LC_MESSAGES definition
9932 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
9934 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
9936 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
9937 __setup_argv_and_call_main): New.
9939 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
9941 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
9943 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
9944 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
9945 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
9946 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
9948 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
9950 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
9951 compiling under Cygwin.
9953 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
9955 * libc/include/math.h (signgam): Change to errno-like solution
9956 using a function to return the address of the real signgam.
9957 * libc/reent/signgam.c: New file containing __signgam().
9958 * libc/reent/Makefile.am: Added signgam.c to list of files.
9959 * libc/reent/Makefile.in: Regenerated.
9961 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
9963 * libc/sys/sh/syscalls.c (_times): New.
9965 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
9966 * libc/sys/sh/syscalls.c (_gettimeofday): New.
9968 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9970 * libc/include/math.h (signgam): Regress previous fix as
9971 it does not handle programs with extern int signgam in them.
9973 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9975 * libc/include/math.h (signgam): Changed to a macro refering to
9976 its location in the reentrant structure.
9978 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9980 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
9981 that suppressed . for %.0f, 0.1. Check now looks if there
9982 are padding zeroes (expt) in addition to any digits (ndig) to
9985 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
9987 * libc/sys/arc/Makefile.am: New file.
9988 * libc/sys/arc/Makefile.in: Ditto.
9989 * libc/sys/arc/aclocal.m4: Ditto.
9990 * libc/sys/arc/configure: Ditto.
9991 * libc/sys/arc/configure.in: Ditto.
9992 * libc/sys/arc/crt0.S: Ditto.
9993 * libc/sys/arc/isatty.c: Ditto.
9994 * libc/sys/arc/mem-layout.c: Ditto.
9995 * libc/sys/arc/sbrk.c: Ditto.
9996 * libc/sys/arc/syscalls.c: Ditto.
9997 * libc/sys/arc/sys/syscall.h: Ditto.
9999 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10001 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10003 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10005 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10007 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10009 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10011 2001-01-09 Nick Clifton <nickc@redhat.com>
10013 * configure.host (v859): Remove unsupported compiler options.
10015 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10017 * src/newlib/configure.host (*-*-rtems*): add printf long long
10020 2000-12-19 Graham Stott <grahams@redhat.com>
10022 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10024 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10026 * configure.host: Turn on long double I/O for Cygwin.
10028 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10030 * MAINTAINERS: Removed Ranjith.
10031 * NEWS: Updated for 1.9.0.
10033 * acinclude.m4: Updated to release 1.9.0.
10034 * aclocal.m4 configure
10035 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10036 libc/machine/aclocal.m4 libc/machine/configure
10037 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10038 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10039 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10040 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10041 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10042 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10043 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10044 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10045 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10046 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10047 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10048 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10049 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10050 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10051 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10052 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10053 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10054 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10055 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10056 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10057 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10058 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10059 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10060 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10061 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10062 libc/sys/aclocal.m4 libc/sys/configure
10063 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10064 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10065 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10066 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10067 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10068 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10069 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10070 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10071 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10072 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10073 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10074 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10075 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10076 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10077 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10078 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10079 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10080 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10081 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10082 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10083 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10084 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10085 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10086 libm/aclocal.m4 libm/configure: Regenerated.
10088 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10090 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10091 when __CYGWIN__ is defined.
10093 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10095 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10096 that categorizes a long double as NaN, Infinity, or other.
10097 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10098 isinfl and isnanl static routines which were i386-specific. Changed
10099 calls to the two removed routines to a single _ldcheck call.
10100 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10102 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10104 * Makefile.am: Fixed install-data-local target to use
10105 $(mkinstalldirs) for the installed header files to ensure
10106 the directories exist before copying.
10107 * Makefile.in: Regenerated.
10109 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10111 * libc/include/sys/unistd.h: Restored Cygwin _SC
10112 constants and moved new constants appropriately
10113 so Cygwin will build.
10115 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10117 * Merge RTEMS specific .h files into main libc/include.
10118 * libc/sys/rtems/include/signal.h: Removed.
10119 * libc/sys/rtems/include/time.h: Removed.
10120 * libc/sys/rtems/sys/features.h: Removed.
10121 * libc/sys/rtems/sys/sched.h: Removed.
10122 * libc/sys/rtems/sys/siginfo.h: Removed.
10123 * libc/sys/rtems/sys/signal.h: Removed.
10124 * libc/sys/rtems/sys/time.h: Removed.
10125 * libc/sys/rtems/sys/times.h: Removed.
10126 definitions for time_t and clock_t since these are
10127 no longer in time.h.
10128 * libc/include/pthread.h: New file.
10129 * libc/include/sys/sched.h: New file.
10130 * libc/include/sys/features.h: New file.
10131 * libc/include/time.h: Removed duplicate definition of clock_t
10132 and time_t, get them from <sys/types.h> instead. Add prototypes
10133 for POSIX clock and timer functionality.
10134 * libc/sys/linux/sys/types.h: Changed to include
10135 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10136 * libc/include/sys/signal.h: Add more complete set of POSIX
10137 signal functionality including real-time and threaded signals.
10138 * libc/include/sys/types.h: Add clock_t, time_t, struct
10139 timespec, and struct itimerspec. Centralizing these makes
10140 things cleaner. RTEMS uses 64-bit dev_t.
10141 Added numerous primitive definitions
10142 for pthreads including macros, pthread_attr_t,
10143 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10144 pthread_once_t, and pthread_t.
10145 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10146 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10147 Feature flags removed and moved to new file <sys/features.h>.
10148 Full set of POSIX sysconf() constants
10150 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10152 * configure.host: Added x86 linux target.
10153 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10154 definitions provided if not already defined.
10155 * libc/sys/linux/crt0.c: New file.
10156 * libc/sys/linux/Makefile.am: Ditto.
10157 * libc/sys/linux/Makefile.in: Ditto.
10158 * libc/sys/linux/aclocal.m4: Ditto.
10159 * libc/sys/linux/brk.c: Ditto.
10160 * libc/sys/linux/configure: Ditto.
10161 * libc/sys/linux/configure.in: Ditto.
10162 * libc/sys/linux/getoptlong.c: Ditto.
10163 * libc/sys/linux/ids.c: Ditto.
10164 * libc/sys/linux/inode.c: Ditto.
10165 * libc/sys/linux/io.c: Ditto.
10166 * libc/sys/linux/linux.c: Ditto.
10167 * libc/sys/linux/process.c: Ditto.
10168 * libc/sys/linux/realpath.c: Ditto.
10169 * libc/sys/linux/select.c: Ditto.
10170 * libc/sys/linux/signal.c: Ditto.
10171 * libc/sys/linux/systat.c: Ditto.
10172 * libc/sys/linux/termios.c: Ditto.
10173 * libc/sys/linux/time.c: Ditto.
10174 * libc/sys/linux/wait.c: Ditto.
10175 * libc/sys/linux/include/alloca.h: Ditto.
10176 * libc/sys/linux/include/getopt.h: Ditto.
10177 * libc/sys/linux/include/stdint.h: Ditto.
10178 * libc/sys/linux/include/unistd.h: Ditto.
10179 * libc/sys/linux/sys/cdefs.h: Ditto.
10180 * libc/sys/linux/sys/dirent.h: Ditto.
10181 * libc/sys/linux/sys/errno.h: Ditto.
10182 * libc/sys/linux/sys/fcntl.h: Ditto.
10183 * libc/sys/linux/sys/file.h: Ditto.
10184 * libc/sys/linux/sys/ioctl.h: Ditto.
10185 * libc/sys/linux/sys/resource.h: Ditto.
10186 * libc/sys/linux/sys/signal.h: Ditto.
10187 * libc/sys/linux/sys/stat.h: Ditto.
10188 * libc/sys/linux/sys/syscall.h: Ditto.
10189 * libc/sys/linux/sys/termios.h: Ditto.
10190 * libc/sys/linux/sys/time.h: Ditto.
10191 * libc/sys/linux/sys/types.h: Ditto.
10192 * libc/sys/linux/sys/utmp.h: Ditto.
10193 * libc/sys/linux/sys/utsname.h: Ditto.
10194 * libc/sys/linux/sys/wait.h: Ditto.
10196 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10198 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10199 can be a relative path to $(top_srcdir)/install.sh so ensure the
10200 autoconf detected settings are properly passed recursively.
10201 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10202 properly to subdirectories.
10203 * Makefile.in: Regenerated.
10205 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10207 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10208 a floating point register unless really printing a floating
10211 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10213 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10215 (asctoeg): Replaced alloca call with stack array and malloc
10216 when storage exceeds reasonable limit.
10217 (e53toe): Fixed einfin calls missing ldp parameter.
10218 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10220 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10223 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10225 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10227 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10228 * libc/stdlib/Makefile.in: Regenerated.
10229 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10230 * libc/stdio/vfieeefp.h: Added long double bit structures.
10231 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10232 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10233 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10234 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10235 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10236 _strtold routines used for conversions between character
10239 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10241 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10243 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10245 * libc/include/machine/time.h: RTEMS systems can configure clock
10246 tick rate so use sysconf() to ask.
10248 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10250 * libc/include/sys/times.h: Add reference to POSIX standard.
10252 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10254 * libc/include/sys/time.h: Added BSD timer manipulation macros
10255 used by RTEMS code.
10257 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10259 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10260 referenced by code generated by gcc 2.8.1.
10261 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10264 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10266 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10268 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10270 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10272 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10274 * configure.host (or16, or32): New entries for OpenCores
10276 (*-*-rtems*): Add -DNO_EXEC.
10278 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10280 * libc/include/sys/errno.h: Added comments on many error numbers.
10281 * libc/string/strerror.c: Added some more strings.
10283 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10285 * libc/sys/sh/syscalls.c (_link): New stub.
10287 2000-11-29 Nick Clifton <nickc@redhat.com>
10289 * configure.host: Add xscale target.
10290 * libc/machine/xscale: New directory.
10291 * libc/machine/xscale/Makefile.am: New file.
10292 * libc/machine/xscale/Makefile.in: New file.
10293 * libc/machine/xscale/aclocal.m4: New file.
10294 * libc/machine/xscale/configure: New file.
10295 * libc/machine/xscale/configure.in: New file.
10296 * libc/machine/xscale/memchr.S: New file.
10297 * libc/machine/xscale/memcmp.S: New file.
10298 * libc/machine/xscale/memcpy.S: New file.
10299 * libc/machine/xscale/memmove.S: New file.
10300 * libc/machine/xscale/memset.S: New file.
10301 * libc/machine/xscale/strchr.S: New file.
10302 * libc/machine/xscale/strcmp.S: New file.
10303 * libc/machine/xscale/strcpy.S: New file.
10304 * libc/machine/xscale/strlen.S: New file.
10306 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10308 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10309 avoid compiler warnings.
10311 2000-11-22 Michael Meissner <meissner@redhat.com>
10313 * libc/posix/execl.c (execl): Don't reference environ directly,
10314 reference it only via a static pointer to avoid problems with some
10315 shared library systems and with different uses of small data where
10316 the user specifies his own version of environ.
10317 * libc/posix/execv.c (execv): Ditto.
10318 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10319 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10320 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10322 * libc/stdlib/getenv.c (environ): Delete unused reference to
10325 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10327 * libc/stdlib/system.c: Ditto.
10329 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10331 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10332 including windows headers.
10334 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10336 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10337 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10338 not defined by sys/dirent.h.
10339 * libc/posix/execvp.c: Added include of dirent.h to get
10340 MAXNAMLEN value which used to be in unistd.h.
10342 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10344 * libc/include/sys/types.h: Change type of i to `size_t' in
10345 FD_ZERO macro to avoid compiler warnings.
10347 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10349 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10350 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10352 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10354 * libc/include/sys/unistd.h: Add defines for sysconf values
10355 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10358 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10360 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10361 declarations for __CYGWIN__.
10363 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10365 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10366 case labels to be integral constant expressions, so
10367 use an if/else tree instead.
10368 (_raise_r): Likewise.
10370 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10372 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10373 clipping patch from e-mail reader.
10375 2000-09-13 Will Cohen <wcohen@redhat.com>
10377 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10378 Added return value 0.
10379 (_longjmp): Allow longjmp to return value of second argument
10382 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10384 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10385 inline code to prevent having to include another header file.
10387 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10389 * Makefile.am: Fix space vs. tab problem in install-data-local.
10390 * Makefile.in: Regenerate.
10392 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10394 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10395 (_EXPARM): New macro for defining a function parameter.
10396 * libc/include/stdlib.h: Use _EXPARM.
10397 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10399 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10401 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10402 required, as documented in the gnu coding standards.
10403 * Makefile.in: Regenerate.
10405 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10407 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10408 make O_NDELAY and O_NONBLOCK have the same value.
10410 2000-08-30 Kazu Hirata <kazu@hxi.com>
10412 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10414 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10416 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10417 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10418 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10421 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10423 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10424 * libc/include/string.h: Don't include <sys/types.h>,
10425 as it causes really bad namespace pollution. Don't declare
10426 swab(), it is properly declared in unistd.h.
10428 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10430 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10431 (broken) support for non-existent /etc/passwd field "comment".
10433 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10435 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10436 only if _DIRENT_HAVE_D_NAMLEN is defined.
10437 (alphasort): aligned prototype with
10438 libc/sys/cygwin/sys/dirent.h and simplified function body.
10439 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10440 long telldir (DIR *) as mentioned in annex B of POSIX.1
10442 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10444 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10445 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10446 Added __CLI and __STI macros (controlled via
10447 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10448 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10449 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10450 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10451 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10452 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10453 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10454 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10455 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10456 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10457 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10458 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10459 for all global entry points.
10460 * libc/machine/i386/setjmp.S: removed code replicated in
10461 libc/machine/i386/i386mach.h and included i386mach.h instead;
10462 Use __CLI and __STI instead of cli and sti.
10464 2000-08-25 DJ Delorie <dj@redhat.com>
10466 * libc/include/sys/unistd.h (environ): this one isn't from the
10469 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10471 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10472 environ when compiling under cygwin since it is already declared in
10475 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10477 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10478 like x << y-z to the equivalent x << (y-z).
10479 (d2b): changed if statements with assignment to perform the
10480 assignment prior to the if check.
10481 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10482 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10483 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10484 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10486 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10487 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10489 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10491 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10492 clarify && and || precendence (and to remove pascalism).
10493 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10494 * libm/math/s_infconst.c: added another pair of braces to all
10495 initializers for __infinity (need three: for __infinity[1] array,
10496 for union __dmath, and for i[2]).
10498 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10500 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10501 "getpid" and "kill"; added: uses "write" and "_exit".
10502 Also included unistd.h for "_exit" prototype.
10503 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10504 reent.h for "_fork_r" and "_wait_r" prototypes.
10505 (do_system): changed extern char *environ[] to POSIX-friendly
10506 extern char **environ.
10507 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10509 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10510 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10511 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10512 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10513 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10514 unistd.h for "getpid" prototype.
10515 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10516 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10517 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10518 prototype. Also included stdlib.h for "abort", string.h for
10519 "strdup" and "strncmp" prototypes.
10520 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10521 "strncpy", unistd.h for "read" and "close" prototypes.
10522 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10523 "strcat" prototypes.
10525 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10527 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10528 used later (ifdef __SCLE)
10529 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10530 used later (ifdef MB_CAPABLE)
10531 * libc/string/memset.c (memset): removed unused variables "count"
10532 and "unaligned_addr"
10533 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10534 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10535 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10538 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10540 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10541 "__env_unlock" prototype from "void *" or "char *" to
10542 "struct _reent *" to match real function. Also added include
10544 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10545 "__malloc_unlock" prototype from "void *" or "char *" to
10546 "struct _reent *" to match real function.
10547 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10548 prototypes (for getenv_r.c and setenv_r.c).
10550 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10552 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10553 and prototype in cygwin's utmp.h
10555 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10557 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10559 2000-08-09 Nick Clifton <nickc@cygnus.com>
10561 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10562 epilogue and to allow the functions to be used in a Thumb based
10565 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10567 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10568 so size of 0 results in nothing being written to string.
10569 Also fixed code so that when size is non-zero, there is only
10570 a maximum of size - 1 characters written to the array and
10571 a nul terminator is appended at the end.
10572 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10574 2000-08-01 DJ Delorie <dj@redhat.com>
10576 * libc/include/sys/config.h: define __IMPORT appropriately
10577 * libc/include/ctype.h (_ctype_): use __IMPORT
10578 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10579 * libc/include/math.h (__mb_cur_max): ditto
10580 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10581 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10582 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10583 * libc/include/unistd.h (environ): ditto
10585 2000-07-28 Michael Meissner <meissner@redhat.com>
10587 * libc/include/math.h (__infinity): Declare as an array without
10588 bounds to get around small data support. Rewrite Cygwin support
10589 to be more general.
10590 * libm/math/s_infconst.c (__infinity): Ditto.
10591 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10593 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10595 * libc/include/math.h: Use appropriate dll import linkage for
10596 __infinity under Cygwin.
10598 2000-07-13 DJ Delorie <dj@cygnus.com>
10600 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10602 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10604 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10605 to argument list for AngelSWI_Reason_GetCmdLine.
10607 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10609 * configure.host: Add support for AVR target.
10610 * libc/include/machine/ieeefp.h: Likewise.
10611 * libc/include/sys/config.h: Likewise.
10613 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10615 * README: Newlib 1.8.2 must be built in a separate directory
10618 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10620 * libc/include/sys/reent.h (_rand_next): Added __extension__
10621 qualifier as long long type is not strict ANSI.
10622 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10623 to long long constant.
10625 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10627 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10628 `setegid' provided by Cygwin.
10630 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10632 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10633 account for Cygwin.
10635 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10637 * libc/include/sys/reent.h (_rand_next): Changed to
10638 unsigned long long and moved to end of _reent struct in _new union.
10639 (_REENT_INIT): Changed to move _rand_next initialization.
10640 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10641 linear congruential algorithm that is used by DJGPP.
10643 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10645 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10646 * libc/include/sys/config.h: Define __RAND_MAX.
10648 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10650 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10653 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10655 * libc/include/string.h: Work around problem with strsignal and gdb.
10657 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10659 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
10660 * libc/include/malloc.h: Ditto.
10661 * libc/include/process.h: Ditto.
10662 * libc/include/stdio.h: Ditto.
10663 * libc/include/stdlib.h: Ditto.
10664 * libc/include/time.h: Ditto.
10665 * libc/include/machine/setjmp.h: Ditto.
10666 * libc/include/sys/errno.h: Ditto.
10667 * libc/include/sys/signal.h: Ditto.
10668 * libc/include/sys/stat.h: Ditto.
10669 * libc/include/sys/time.h: Ditto.
10670 * libc/include/sys/unistd.h: Ditto.
10671 * libc/include/string.h: Ditto. strsignal should return a const char *.
10673 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
10675 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
10676 * libm/common/s_log1p.c (log1p): Likewise.
10677 * libm/common/s_scalbn.c (scalbn): Likewise.
10678 * libm/math/e_log.c: Likewise.
10679 * libm/math/e_asin.c: Likewise.
10680 * libm/math/ef_asin.c: Likewise.
10681 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
10682 * libm/math/e_j1.c (pone, qone): Likewise.
10683 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
10684 * libm/math/ef_j1.c (ponef, qonef): Likewise.
10685 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
10686 * libm/mathfp/e_j1.c (pone, qone): Likewise.
10687 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
10688 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
10690 2000-05-19 DJ Delorie <dj@cygnus.com>
10692 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
10693 (__sread): always read in binary mode
10694 (__swrite): always write in binary mode
10695 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
10696 compatibility issues with different dll versions
10697 * libc/stdio/fopen.c: use __stextmode
10698 * libc/stdio/fdopen.c: ditto
10699 * libc/stdio/freopen.c: ditto
10700 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
10701 * libc/stdio/local.h: declare __stextmode
10703 2000-05-18 DJ Delorie <dj@cygnus.com>
10705 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
10707 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10709 * libc/include/ctype.h: Changed tolower and toupper macros
10710 to use __extension__ to prevent pedantic warnings.
10712 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
10714 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
10717 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
10719 * libc/include/machine/ieeefp.h: Add ia64 support.
10720 * configure.host: Likewise.
10722 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
10724 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
10725 month is now padded with space, not zero. This now conforms to
10728 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
10730 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
10731 host or network path") used by cygwin. Add some comments.
10733 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
10735 * libc/include/stdio.h (FILE): define __SCLE for "convert line
10736 endings" for Cygwin.
10737 (__sgetc): convert line endings if needed
10739 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
10740 * libc/stdio/fopen.c (_fopen_r): ditto
10741 * libc/stdio/freopen.c (freopen): ditto
10742 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
10743 * libc/stdio/fvwrite.c (__sfvwrite): ditto
10745 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
10747 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
10748 post-increment when it is worth it, spacewise.
10750 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10752 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
10753 * libc/stdio/findfp.c (std): Added declaration of flags and file.
10754 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
10756 * libc/stdio/putchar.c (putchar): Added return statement.
10757 * libc/stdio/refill.c (lflush): Added correct parentheses.
10758 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
10759 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
10760 prints long value to use l qualifier.
10761 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
10762 messages and initialized local values: ilim, ilim1, and spec_case.
10763 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
10764 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
10765 * libc/stdlib/mprec.c: Ditto.
10766 * libc/stdlib/setenv_r.c: Ditto.
10767 * libc/stdlib/strtod.c: Ditto.
10768 * libc/stdlib/strtol.c: Ditto.
10769 * libc/stdlib/strtoul.c: Ditto.
10770 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
10771 * libm/common/sf_log1p.c: Ditto.
10772 * libm/common/sf_scalbn.c: Ditto.
10773 * libm/math/ef_log.c: Ditto.
10775 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
10777 * libc/posix/execvp.c (execvp): Check path for
10780 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
10782 * libc/include/sys/unistd.h: Add prototypes for
10783 fchmod, fchown, lchown.
10785 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10787 * acinclude.m4: Changed release to 1.8.2.
10788 * aclocal.m4 configure doc/aclocal.m4 doc/configure
10789 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
10790 libc/machine/configure libc/machine/a29k/aclocal.m4
10791 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10792 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10793 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10794 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10795 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
10796 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10797 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10798 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10799 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10800 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10801 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10802 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10803 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10804 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10805 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10806 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10807 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10808 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10809 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10810 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10811 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10812 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10813 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
10814 libc/machine/z8k/configure libc/sys/aclocal.m4
10815 libc/sys/aclocal.m4 libc/sys/configure
10816 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10817 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10818 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10819 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10820 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10821 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10822 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10823 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10824 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10825 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10826 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10827 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10828 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10829 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10830 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10831 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10832 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10833 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10834 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10835 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10836 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10837 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10838 libm/aclocal.m4 libm/configure: Regenerated.
10840 2000-03-24 Nick Clifton <nickc@cygnus.com>
10842 * libc/sys/arm/syscalls.c: Fix compile time warnings.
10843 (do_AngelSWI): Add "cc" to list o registers clobbered.
10845 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10847 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
10848 information to be clobbered by an Angel C library support syscall.
10850 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10852 * libc/stdlib/envlock.c: Fixed comment typo.
10854 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10856 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
10857 code to update nread as each character is processed instead
10858 of using buffer contents which throw away leading zeroes.
10860 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
10862 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
10864 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
10866 * libc/include/string.h: Include <sys/types.h>.
10868 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10870 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
10871 with XSH5, not SVID.
10873 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10875 * libc/include/string.h: Changed last argument back to ssize_t
10876 to make it compatible with XPG4 definition which is
10877 defined in <unistd.h>. There is a conflict in the SVID 3
10878 and XPG4 definitions and newlib will settle with XPG4.
10879 * libc/string/swab.c: Ditto.
10881 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10883 * libc/include/string.h: Changed last argument to size_t.
10884 * libc/string/swab.c: Changed last argument to size_t.
10886 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10888 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
10889 (CHEWOUT_FILES): Added unlinkr.def.
10890 * libc/reent/Makefile.in: Rebuilt.
10891 * libc/sys.tex: Include unlinkr.def.
10892 * libc/reent/linkr.c (_unlink_r): Moved to...
10893 * libc/reent/unlinkr.c: ... new file.
10895 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10897 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
10898 (CHEWOUT_FILES): Added swab.def.
10899 * libc/string/Makefile.in: Rebuilt.
10900 * libc/string/string.tex: Include swab.def.
10901 * libc/include/string.h (swab): Declare.
10902 * libc/string/swab.c: New file.
10904 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10906 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
10907 (CHEWOUT_FILES): Added getw.def and putw.def.
10908 * libc/stdio/Makefile.in: Rebuilt.
10909 * libc/stdio/stdio.tex: Include getw.def and putw.def.
10910 * libc/stdio/getw.c: New file.
10911 * libc/stdio/putw.c: New file.
10913 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10915 * libc/stdio/flags.c (__sflags): Added check that mode[1]
10916 is non-null before looking at mode[2].
10918 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10920 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
10921 * libm/mathfp/sf_atan.c: Ditto.
10923 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
10925 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
10927 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10929 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
10932 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10934 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
10935 call prior to calling _VFPRINTF_R so reentrant data area is set.
10936 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
10938 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10940 * libc/stdio/vfscanf.c (limits.h): #include.
10941 (MAX_LONG_LEN): #define.
10942 (__svfscanf): Handle floating point numbers with arbitrary amounts
10945 2000-02-15 Nick Clifton <nickc@cygnus.com>
10947 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
10948 zero. Set the blocksize to 1024/
10950 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10952 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
10953 with line buffering.
10955 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10957 * acinclude.m4: Changed include directory for winsup headers.
10958 * aclocal.m4 configure libc/aclocal.m4
10959 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
10960 libc/locale/Makefile.in libc/machine/aclocal.m4
10961 libc/machine/configure libc/machine/a29k/aclocal.m4
10962 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10963 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10964 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10965 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10966 libc/machine/fr30/configure
10967 libc/machine/h8300/aclocal.m4
10968 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10969 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10970 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10971 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10972 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10973 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10974 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10975 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10976 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10977 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10978 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10979 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10980 libc/machine/powerpc/configure
10981 libc/machine/sh/aclocal.m4
10982 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10983 libc/machine/sparc/configure
10984 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10985 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10986 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10987 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10988 libc/misc/Makefile.in libc/posix/Makefile.in
10989 libc/reent/Makefile.in
10990 libc/signal/Makefile.in
10991 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
10992 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10993 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
10994 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
10995 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
10996 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10997 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10998 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10999 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11000 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11001 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11002 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11003 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11004 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11005 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11006 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11007 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11008 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11009 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11010 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11011 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11012 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11013 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11014 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11015 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11016 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11017 libm/configure: Regenerated.
11019 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11021 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11022 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11023 * libc/include/string.h: Added _strdup_r.
11024 * libc/stdlib/putenv.c: Added call to reentrant version.
11025 * libc/stdlib/strdup.c: Ditto.
11026 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11027 * libc/include/stdlib.h: Ditto.
11028 * libc/stdlib/Makefile.in: Regenerated.
11029 * libc/string/Makefile.in: Regenerated.
11030 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11031 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11032 management calls to reentrant versions.
11033 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11034 * libc/stdlib/wctomb.c: Ditto.
11035 * libc/stdlib/mblen.c: Ditto.
11036 * libc/stdlib/mbstowcs.c: Ditto.
11037 * libc/stdlib/mbtowc.c: Ditto.
11038 * libc/stdlib/getenv.c: Ditto.
11039 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11042 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11044 patch from Corinna Vinschen <corinna@vinschen.de>
11045 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11047 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11049 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11050 * libm/mathfp/s_ldexp.c: Ditto.
11051 * libm/mathfp/sf_atangent.c: Ditto.
11052 * libm/mathfp/sf_ldexp.c: Ditto.
11054 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11056 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11057 * libc/include/locale.h: define NULL to be 0.
11059 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11061 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11064 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11066 * libc/machine/mn10300/setjmp.S: Handle am33.
11068 1999-11-26 Nick Clifton <nickc@cygnus.com>
11070 * libc/sys/arm/syscalls.c: Add function prototypes.
11071 (stack_ptr): Move declaration before function definitions.
11073 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11075 * NEWS: Updated version information.
11078 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11080 * libc/machine/i386/strchr.S: Fixed alignment test.
11082 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11084 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11086 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11088 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11089 ensuring that there is space between the two.
11091 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11093 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11096 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11098 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11101 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11103 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11104 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11106 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11107 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11109 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11112 1999-09-13 DJ Delorie <dj@cygnus.com>
11114 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11117 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11119 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11120 also note BUFSIZ as its size.
11122 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11124 * configure.host: Corrected feature defines for RTEMS.
11125 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11126 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11127 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11128 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11129 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11130 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11131 _PC_PRIO_IO, and _PC_SYNC_IO.
11132 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11133 * libc/machine/m68k/Makefile.in: Regenerated.
11134 * libc/machine/m68k/strcpy.c: New file.
11135 * libc/machine/m68k/strlen.c: New file.
11136 * libc/stdio/tmpnam.c: Always make the returned name usable.
11137 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11138 * libc/sys/rtems/sys/dirent.h: New file.
11139 * libc/sys/rtems/sys/types.h: Added dev_t.
11141 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11143 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11145 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11147 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11150 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11152 patch from Jeff Johnston <jjohnstn@cygnus.com>
11153 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11154 buffer is not in a useful state.
11156 1999-09-01 Nick Clifton <nickc@cygnus.com>
11158 * libc/sys/arm/syscalls.c (_link): Add stub.
11160 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11162 * ftell.c (ftell): Use actual position within buffer for text mode.
11163 * findfp.c (std): Initialize ptr->_bf._size.
11165 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11167 * libc/include/sys/unistd.h: Add nice() declaration.
11169 1999-08-09 Nick Clifton <nickc@cygnus.com>
11171 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11172 declare as a thumb function so that the disassembler will see the
11175 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11177 * libc/reent/reent.tex: Updated list of reentrant functions.
11179 1999-07-09 Michael Meissner <meissner@cygnus.com>
11181 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11183 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11185 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11187 * libc/stdio/snprintf.c: New file.
11188 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11190 * libc/stdio/vsnprintf.c: New file.
11191 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11192 * libc/stdio/Makefile.in: Regenerated.
11194 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11196 Patch submitted by Egor Duda <deo@logos-m.ru>:
11197 * libc/include/stdio.h: Add declarations for *nprintf.
11198 * libc/stdio/sprintf.c (snprintf): New function.
11199 (_snprintf_r): New function.
11200 * libc/stdio/vsprintf.c (vsnprintf): New function.
11201 (_vnsprintf_r): New function.
11203 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11205 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11206 * libm/Makefile.am (stmp-targetdep): Ditto.
11207 * libc/Makefile.in: Regenerated.
11208 * libm/Makefile.in: Ditto.
11210 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11212 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11213 * libm/Makefile.am (stmp-targetdep): Ditto.
11214 * libc/Makefile.in: Regenerated.
11215 * libm/Makefile.in: Ditto.
11217 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11219 * Makefile.am: Removed dependencies on all-recursive and added "."
11220 to the SUBDIRS list to prevent infinite recursion from occurring.
11221 Also removed any references to EXTRA_DATA.
11222 * libc/Makefile.am: Ditto.
11223 * libc/machine/Makefile.am: Ditto.
11224 * libc/machine/i386/Makefile.am: Ditto.
11225 * libm/Makefile.am: Ditto.
11226 * libc/sys/Makefile.am: Ditto.
11227 * Makefile.in: Regenerated.
11228 * aclocal.m4: Ditto.
11229 * configure: Ditto.
11230 * doc/Makefile.in: Ditto.
11231 * doc/aclocal.m4: Ditto.
11232 * doc/configure: Ditto.
11233 * libc/Makefile.in: Ditto.
11234 * libc/aclocal.m4: Ditto.
11235 * libc/configure: Ditto.
11236 * libc/machine/Makefile.in: Ditto.
11237 * libc/machine/aclocal.m4: Ditto.
11238 * libc/machine/configure: Ditto.
11239 * libc/machine/mn10300/Makefile.in: Ditto.
11240 * libc/machine/mn10300/aclocal.m4: Ditto.
11241 * libc/machine/mn10300/configure: Ditto.
11242 * libc/sys/Makefile.in: Ditto.
11243 * libc/sys/aclocal.m4: Ditto.
11244 * libc/sys/configure: Ditto.
11245 * libm/Makefile.in: Ditto.
11246 * libm/aclocal.m4: Ditto.
11247 * libm/configure: Ditto.
11249 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11251 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11253 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11255 * libc/include/stdlib.h: Add reentrant routines.
11256 * libc/stdlib/Makefile.am: Add reentrant routines.
11257 * libc/stdlib/Makefile.in: Ditto.
11258 * libc/stdlib/envlock.c: New file.
11259 * libc/stdlib/envlock.h: New file.
11260 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11261 * libc/stdlib/getenv_r.c: New file.
11262 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11263 * libc/stdlib/mblen_r.c: New file.
11264 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11265 * libc/stdlib/setenv_r.c: New file.
11266 * libc/stdlib/stdlib.tex: Add reentrant routines.
11268 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11270 * libc/include/sys/types.h: Define __MS_types__ whenever
11273 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11275 * libc/include/machine/ieeefp.h: Always default to little
11276 endian if Windows, regardless of architecture.
11277 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11278 regardless of architecture.
11280 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11282 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11283 _WIN32 isn't defined.
11285 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11287 * libm/common/s_rint.c (rint): Add volatile qualifier for
11288 intermediate value w.
11289 * libm/common/sf_rint.c (rintf): Ditto.
11291 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11293 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11294 ensure that std streams are initialized before being referenced.
11296 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11298 * README: Update reference to newlib@cygnus.com new
11299 newlib@sourceware.cygnus.com address.
11301 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11303 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11304 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11305 defined, even if _WIN32 isn't defined.
11307 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11309 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11311 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11313 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11315 * libc/stdlib/dtoa.c: Ditto.
11316 * libc/stdlib/mprec.c: Ditto.
11317 * libc/stdlib/mprec.h: Ditto.
11318 * libc/stdlib/strtod.c: Ditto.
11320 1999-04-21 Nick Clifton <nickc@cygnus.com>
11322 * configure.host (mcore): Remove mcore machine directory.
11324 1999-04-18 Nick Clifton <nickc@cygnus.com>
11326 * libc/include/machine/ieeefp.h: Add support for mcore target.
11327 * libc/include/machine/setjmp.h: Add support for mcore target.
11328 * configure.host: Add support for mcore target.
11330 1999-04-13 Mark Salter <msalter@cygnus.com>
11332 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11333 * libc/sys/arm/syscalls.c: Added isatty.
11335 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11337 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11338 insert zeroes after significant digits.
11340 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11342 * libc/stdio/vfprintf.c (cvt): Changed floating point
11343 cvt routine to use union used by dtoa to properly determine
11344 if the sign bit is on or not.
11345 * libc/stdio/vfieeefp.h: New file
11347 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11349 * aclocal.m4: Regenerated.
11350 * configure: Regenerated.
11352 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11354 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11356 * libc/machine/i386/Makefile.in: Regenerated.
11358 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11360 * acinclude.m4: Changed to work with new automake.
11361 * configure: Regenerated.
11362 * libc/machine/i386/aclocal.m4: Regenerated.
11363 * libc/machine/i386/configure: Regenerated.
11365 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11367 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11368 for telldir() and seekdir(). Rename unused structure element
11369 for use with these two routines.
11371 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11373 * libc/time/mktime.c (validate_structure): Multiple fixes to
11374 code to handle cases where input fields are outside valid ranges.
11375 * libc/stdlib/div.c (div): Modified invalid rounding check.
11376 * libc/stdlib/ldiv.c (ldiv): Ditto.
11378 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11380 * libc/machine/i386/memcpy.S: Performance rewrite.
11381 * libc/machine/i386/memmove.S: Ditto.
11382 * libc/machine/i386/i386mach.h: Added more register definitions.
11383 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11385 * libc/include/machine/fastmath.h: Add definitions for x86
11386 fast-math routines.
11388 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11390 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11392 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11394 Adjust newlib headers for new Cygwin Win32 API header files:
11395 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11396 _GNU_H_WINDOWS32_SOCKETS.
11397 * libc/include/sys/types.h: Ditto.
11399 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11401 *include/sys/reent.h: Add checks for size of Bigint element Long.
11402 *libc/dtoa.c: Change routines to use generic Long type.
11403 *libc/mprec.c: Change routines to use generic Long type.
11404 *libc/mprec.h: Change routines to use generic Long type.
11406 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11408 * libc/Makefile.am: Add .def files.
11409 * libc/Makefile.in: Regenerate.
11410 * libc/e_acosh.c: Documentation update.
11411 * libc/e_atanh.c: Documentation update.
11412 * libc/e_hypot.c: Documentation update.
11413 * libc/e_remainder.c: Documentation update.
11414 * libc/er_lgamma.c: Documentation update.
11415 * libc/mathfp.tex: Documentation update.
11416 * libc/s_acos.c: Documentation update.
11417 * libc/s_atan.c: Documentation update.
11418 * libc/s_atan2.c: Documentation update.
11419 * libc/s_cosh.c: Documentation update.
11420 * libc/s_fmod.c: Documentation update.
11421 * libc/s_isnan.c: Documentation update.
11422 * libc/s_log10.c: Documentation update.
11423 * libc/s_pow.c: Documentation update.
11424 * libc/w_jn.c: Documentation update.
11426 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11428 * aclocal.m4: Regenerate.
11429 * configure: Regenerate.
11431 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11433 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11434 to return 1 if user specified return code is 0.
11435 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11437 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11439 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11440 to save the return address. Fixed longjmp to return to the original
11441 calling address of setjmp and to return the user specified return code
11442 rather than default to 1.
11443 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11445 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11447 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11449 1999-02-10 Nick Clifton <nickc@cygnus.com>
11451 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11452 volatile so that its assignments will not be discarded.
11454 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11456 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11457 be __STRICT_ANSI__ which is generated by compiler.
11458 * libc/include/ctype.h: Ditto.
11459 * libc/include/math.h: Ditto.
11460 * libc/include/stdio.h: Ditto.
11461 * libc/include/stdlib.h: Ditto.
11462 * libc/include/string.h: Ditto.
11463 * libc/include/sys/signal.h: Ditto.
11465 1999-02-08 Nick Clifton <nickc@cygnus.com>
11467 * configure.host: Add support for StrongARM target.
11469 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11471 * libc/string/strncpy.c (strncpy): Removed redundant code
11472 that was copying bytes if data unaligned.
11474 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11476 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11477 mbstowcs.def, and wcstombs.def.
11479 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11481 * libc/include/sys/errno.h: Add Cygwin errno.
11482 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11485 1999-01-29 Nick Clifton <nickc@cygnus.com>
11487 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11490 * libc/sys/arm/libcfunc.c: New file containing C library functions
11493 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11494 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11497 1999-01-27 Michael Meissner <meissner@cygnus.com>
11499 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11500 type, and cut size in half so that the jmp_buf array is guaranteed
11501 to be aligned on a 64-bit boundary.
11503 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11505 * libc/string/strings.tex: Added information about
11506 strcasecmp and strncasecmp.
11507 * libc/stdlib/stdlib.tex: Added missing information
11508 about mblen, mbstowcs, and wcstombs.
11509 * libc/string/strchr.c: Changed how mask is built to use
11510 shift operators so register will be used instead of storage.
11512 1999-01-22 DJ Delorie <dj@cygnus.com>
11514 * libc/include/stdlib.h: don't use dllimport if we're building
11515 newlib, since it's inside cygwin.dll
11517 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11519 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11520 _ctype_ under cygwin.
11522 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11524 * include/stdlib.h: Fix typo from previous checkin.
11526 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11528 * include/ctype.h: Use __declspec(dllimport) method for exporting
11529 variable from cygwin DLL.
11530 * include/time.h: Ditto.
11531 * sys/errno.h: Ditto.
11532 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11533 * libc/locale/locale.c: Use __declspec(dllexport) method for
11534 exporting variable from cygwin DLL.
11536 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11538 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11539 access of bogus pointer will result in SIGSEGV.
11541 1999-01-07 Nick Clifton <nickc@cygnus.com>
11543 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11544 of an underscore prefix to function names.
11546 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11548 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11549 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11551 1998-12-31 Michael Meissner <meissner@cygnus.com>
11553 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11554 to `%' if not already defined.
11556 1998-12-30 Michael Meissner <meissner@cygnus.com>
11558 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11559 arguments const char *, not char *.
11560 * libc/include/stdio.h (_tempnam_r): Ditto.
11562 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11563 points to a function taking an integer, not void.
11565 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11567 * configure.host: Add a define for Cygwin builds.
11568 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11570 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11572 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11573 for use with Cygwin.
11574 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11575 dll imported variables for use with Cygwin.
11576 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11577 as a dll imported variable for Cygwin.
11579 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11581 * libc/include/sys/unistd.h: Add proto for getpass.
11583 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11585 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11588 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11590 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11591 not posix_path_list_p.
11593 1998-12-15 Nick Clifton <nickc@cygnus.com>
11595 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11598 1998-12-13 Nick Clifton <nickc@cygnus.com>
11600 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11602 1998-12-12 Nick Clifton <nickc@cygnus.com>
11604 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11605 <msalter@cygnus.com>
11606 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11607 * libc/machine/fr30/Makefile.in: Regenerated.
11609 1998-12-11 Nick Clifton <nickc@cygnus.com>
11611 * configure.host: Remove use of libc/sys for FR30 port.
11612 * libc/sys/fr30: Remove directory (replaced by libgloss).
11614 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
11616 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11617 * libc/string/strncat.c (ALIGNED): Ditto.
11619 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11621 * libc/include/sys/time.h: include sys/types.h
11623 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11625 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11626 comparison found when checking word at a time.
11628 1998-12-04 Nick Clifton <nickc@cygnus.com>
11630 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11632 1998-12-03 Nick Clifton <nickc@cygnus.com>
11634 * libc/sys/fr30/syscalls.c (_times): New function stub.
11636 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11638 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11639 with mach_add_setjmp flag which indicates if setjmp should
11640 be added to the machine directory objects.
11641 * acinclude.m4: Removed reference to mach_add_objs.
11642 * aclocal.m4: Regenerated.
11643 * Makefile.in: Regenerated.
11644 * configure: Regenerated.
11645 * libc/aclocal.m4: Regenerated.
11646 * libc/Makefile.in: Regenerated.
11647 * libc/configure: Regenerated.
11648 * libc/machine/aclocal.m4: Regenerated.
11649 * libc/machine/Makefile.in: Regenerated.
11650 * libc/machine/configure: Regenerated.
11651 * libc/machine/i386/aclocal.m4: Regenerated.
11652 * libc/machine/i386/Makefile.am: Altered to selectively add
11653 setjmp.S to the src files list.
11654 * libc/machine/i386/Makefile.in: Regenerated.
11655 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11656 * libc/machine/i386/configure: Regenerated.
11658 1998-12-02 Nick Clifton <nickc@cygnus.com>
11660 * libc/sys/fr30/crt0.s (_start): Fix function names.
11662 * libc/machine/fr30: New directory
11663 * libc/machine/fr30/Makefile.am: New file.
11664 * libc/machine/fr30/Makefile.in: New generated file.
11665 * libc/machine/fr30/configure.in: New file.
11666 * libc/machine/fr30/configure: New generated file.
11667 * libc/machine/fr30/aclocal.m4: New generated file.
11668 * libc/sys/fr30/Makefile.am: New file.
11669 * libc/sys/fr30/Makefile.in: New generated file.
11670 * libc/sys/fr30/configure.in: New file.
11671 * libc/sys/fr30/configure: New generated file.
11672 * libc/sys/fr30/syscalls.c: New file.
11674 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
11676 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
11678 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
11680 * libc/time/strftime.c (strftime): Also handle %y for years before
11683 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
11685 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
11686 UNIX convention. Perform tolower on characters before comparing
11687 them rather than use toupper.
11688 * libc/string/strncasecmp.c (strncasecmp): Ditto.
11690 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11692 * configure.host: Added using i386 machine directory
11693 for all x86 cross-compiler and configuring
11694 which added object files to use via new "mach_add_objs" variable.
11695 * configure: Regenerated.
11696 * libc/configure: Regenerated.
11697 * libc/Makefile.in: Regenerated.
11698 * libc/aclocal.m4: Regenerated.
11699 * libc/ctype/Makefile.in: Regenerated.
11700 * libc/errno/Makefile.in: Regenerated.
11701 * libc/locale/Makefile.in: Regenerated.
11702 * libc/machine/Makefile.in: Regenerated.
11703 * libc/machine/aclocal.m4: Regenerated.
11704 * libc/machine/configure: Regenerated.
11705 * libc/posix/Makefile.in: Regenerated.
11706 * libc/reent/Makefile.in: Regenerated.
11707 * libc/signal/Makefile.in: Regenerated.
11708 * libc/stdio/Makefile.in: Regenerated.
11709 * libc/stdlib/Makefile.in: Regenerated.
11710 * libc/string/Makefile.in: Regenerated.
11711 * libc/string/memmove.c: Optimized code to use memcpy
11712 logic when performing a non-destructive copy.
11713 * libc/string/strncmp.c: Altered code to allow building
11714 optimized for size or speed.
11715 * libc/syscalls/Makefile.in: Regenerated.
11716 * libc/time/Makefile.in: Regenerated.
11717 * libc/unix/Makefile.in: Regenerated.
11718 * libc/machine/i386/Makefile.am: Added new files and reference
11719 to "mach_add_objs" to indicate optional object files.
11720 * libc/machine/i386/Makefile.in: Regenerated.
11721 * libc/machine/i386/aclocal.m4: Regenerated.
11722 * libc/machine/i386/configure: Regenerated.
11723 * libc/machine/i386/memchr.S: New file that implements
11724 function in Intel assembler.
11725 * libc/machine/i386/memcmp.S: ditto.
11726 * libc/machine/i386/memcpy.S: ditto.
11727 * libc/machine/i386/memmove.S: ditto.
11728 * libc/machine/i386/memset.S: ditto.
11729 * libc/machine/i386/strchr.S: ditto.
11730 * libc/machine/i386/strlen.S: ditto.
11731 * libc/machine/i386/f_atan2.S: New file that implements
11732 fast version of math function to be used by compiler when
11733 --ffast_math compile option is used.
11734 * libc/machine/i386/f_atan2f.S: ditto.
11735 * libc/machine/i386/f_exp.c: ditto.
11736 * libc/machine/i386/f_expf.c: ditto.
11737 * libc/machine/i386/f_frexp.S: ditto.
11738 * libc/machine/i386/f_frexpf.S: ditto.
11739 * libc/machine/i386/f_ldexp.S: ditto.
11740 * libc/machine/i386/f_ldexpf.S: ditto.
11741 * libc/machine/i386/f_log.S: ditto.
11742 * libc/machine/i386/f_logf.S: ditto.
11743 * libc/machine/i386/f_log10.S: ditto.
11744 * libc/machine/i386/f_log10f.S: ditto.
11745 * libc/machine/i386/f_math.h: New file.
11746 * libc/machine/i386/f_pow.c: ditto.
11747 * libc/machine/i386/f_powf.S: ditto.
11748 * libc/machine/i386/f_tan.S: ditto.
11749 * libc/machine/i386/f_tan.S: ditto.
11750 * libc/machine/i386/i386mach.h: New file.
11752 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
11754 patch from Mumit Khan <khan@xraylith.wisc.edu>
11755 * libc/include/stdio.h (tempnam): Add prototype.
11756 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
11757 (tempnam): Adhere to prototype.
11759 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
11761 * Makefile.am: Add default for AR_FLAGS.
11762 * Makefile.in: Regenerate.
11764 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
11766 * libc/include/time.h: move __cplusplus wrapper after includes
11767 * libc/include/sys/time.h: ditto. If Cygwin, include
11769 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
11771 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
11773 * libc/time/strftime.c (strftime): Handle %y after year 2000.
11775 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
11777 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
11778 abnormnal end-of-crt0 marker.
11780 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
11782 * libc/sys/fr30/crt0.s: New file/directory.
11783 * libc/include/machine/setjmp.h: Add FR30 target.
11784 * libc/include/machine/ieeefp.h: Add FR30 target.
11785 * configure.host: Add FR30 target.
11787 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11789 * libm/math: Files that are duplicated in common directory removed.
11790 * libm/math/fdlibm.h: Removed.
11791 * libm/math/s_cbrt.c: Removed.
11792 * libm/math/s_copysign.c: Removed.
11793 * libm/math/s_expm1.c: Removed.
11794 * libm/math/s_finite.c: Removed.
11795 * libm/math/s_ilogb.c: Removed.
11796 * libm/math/s_infinity.c: Removed.
11797 * libm/math/s_lib_ver.c: Removed.
11798 * libm/math/s_log1p.c: Removed.
11799 * libm/math/s_logb.c: Removed.
11800 * libm/math/s_matherr.c: Removed.
11801 * libm/math/s_modf.c: Removed.
11802 * libm/math/s_nan.c: Removed.
11803 * libm/math/s_nextafter.c: Removed.
11804 * libm/math/s_rint.c: Removed.
11805 * libm/math/s_scalbn.c: Removed.
11806 * libm/math/sf_cbrt.c: Removed.
11807 * libm/math/sf_copysign.c: Removed.
11808 * libm/math/sf_expm1.c: Removed.
11809 * libm/math/sf_finite.c: Removed.
11810 * libm/math/sf_ilogb.c: Removed.
11811 * libm/math/sf_infinity.c: Removed.
11812 * libm/math/sf_log1p.c: Removed.
11813 * libm/math/sf_logb.c: Removed.
11814 * libm/math/sf_modf.c: Removed.
11815 * libm/math/sf_nan.c: Removed.
11816 * libm/math/sf_nextafter.c: Removed.
11817 * libm/math/sf_rint.c: Removed.
11818 * libm/math/sf_scalbn.c: Removed.
11819 * libm/math/Makefile.am: Removed references to deleted files (above).
11820 * libm/math/Makefile.in: Regenerated.
11821 * libm/Makefile.am: Added common directory to math.
11822 * libm/Makefile.in: Regenerated.
11824 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11826 * libm/mathfp: Add non-ANSI functions.
11827 * libm/mathfp/e_acosh.c acosh(): New file.
11828 * libm/mathfp/e_atanh.c atanh(): New file.
11829 * libm/mathfp/e_hypot.c hypot(): New file.
11830 * libm/mathfp/e_j0.c j0(): New file.
11831 * libm/mathfp/e_j1.c j1(): New file.
11832 * libm/mathfp/e_remainder.c remainder(): New file.
11833 * libm/mathfp/e_scalb.c scalb(): New file.
11834 * libm/mathfp/ef_acosh.c acoshf(): New file.
11835 * libm/mathfp/ef_atanh.c atanhf(): New file.
11836 * libm/mathfp/ef_hypot.c hypotf(): New file.
11837 * libm/mathfp/ef_j0.c j0f(): New file.
11838 * libm/mathfp/ef_j1.c j1f(): New file.
11839 * libm/mathfp/ef_remainder.c remainderf(): New file.
11840 * libm/mathfp/ef_scalb.c scalbf(): New file.
11841 * libm/mathfp/er_gamma.c gamma_r: New file.
11842 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
11843 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
11844 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
11845 * libm/mathfp/w_cabs.c cabs(): New file.
11846 * libm/mathfp/w_drem.c drem(): New file.
11847 * libm/mathfp/w_jn.c jn(): New file.
11848 * libm/mathfp/wf_cabs.c cabsf(): New file.
11849 * libm/mathfp/wf_drem.c dremf(): New file.
11850 * libm/mathfp/wf_jn.c jnf(): New file.
11852 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
11854 * libc/sys/cygwin32: remove directory and contents
11855 * libc/sys/cygwin: and add back, losing the "32".
11856 * configure.host: check for cygwin* instead of cygwin32.
11857 * acinclude.m4: ditto.
11858 * aclocal.m4: regenerate with aclocal
11859 * configure: regenerate with autoconf
11861 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
11863 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
11866 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11868 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
11869 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
11870 to make rand/srand, strtok, asctime, localtime, w_gamma,
11871 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
11872 time.h to bring in struct tm definition.
11873 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
11874 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
11875 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
11876 instead of static variable.
11877 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
11878 struct reent instead of static variable.
11879 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
11880 struct reent instead of static variable.
11881 * libm/math/Makefile.am: Removed s_signgam.o.
11882 * libm/math/Makefile.in: Regenerated.
11883 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
11884 struct reent instead of global variable 'signgam'.
11885 * libm/math/w_lgamma.c (lgamma): Likewise.
11886 * libm/math/wf_gamma.c (gammaf): Likewise.
11887 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11888 * libm/math/s_signgam.c: Removed.
11889 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
11891 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
11893 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
11894 libc/include/reent.h.
11895 * libc/reent/Makefile.in: Regenerated.
11896 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
11898 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
11899 'JIS_action_table' to be const.
11900 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
11902 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
11904 * acinclude.m4: $with_target_subdir should default to '.'
11905 or confusion results when configuring in same directory as sources.
11906 * Regenerate all aclocal.m4 and configure files.
11908 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
11910 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
11911 can be set by defining MALLOC_ALIGNMENT=16. Also added support
11912 for platforms where sizeof(size_t) < sizeof(long) via
11913 SIZE_T_SMALLER_THAN_LONG macro.
11915 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
11917 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
11918 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
11919 which sets _CLOCKS_PER_SEC_ for selected machines.
11920 * libc/include/machine/time.h: New file.
11922 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11924 * libc/syscalls/sysexecve.c: New file.
11925 * libc/syscalls/sysgettod.c: New file.
11926 * libc/syscalls/systimes.c: New file.
11927 * libc/syscalls/Makefile.am: Added new objects.
11928 * libc/syscalls/Makefile.in: Regenerated.
11929 * libc/include/_syslist.h (_execve): Moved define in file.
11930 * libc/include/reent.h: Added _execve_r declaration.
11931 * libc/Makefile.in: Regenerated.
11932 * libc/ctype/Makefile.in: Regenerated.
11933 * libc/errno/Makefile.in: Regenerated.
11934 * libc/locale/Makefile.in: Regenerated.
11935 * libc/machine/Makefile.in: Regenerated.
11936 * libc/misc/Makefile.in: Regenerated.
11937 * libc/posix/Makefile.in: Regenerated.
11938 * libc/reent/Makefile.in: Regenerated.
11939 * libc/reent/execr.c (_execve_r): Added _execve_r function.
11940 * libc/signal/Makefile.in: Regenerated.
11941 * libc/stdio/Makefile.in: Regenerated.
11942 * libc/time/Makefile.in: Regenerated.
11943 * libc/unix/Makefile.in: Regenerated.
11944 * libm/mathfp/Makefile.in: Regenerated.
11946 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11948 * libc/string/Makefile.in: Regenerated.
11949 * libc/string/memchr.c (memchr): Moved code to reduce object size.
11950 * libc/string/memcpy.c (memcpy): Ditto.
11951 * libc/string/memcmp.c (memcmp): Ditto.
11952 * libc/string/memset.c (memset): Ditto.
11953 * libc/string/strchr.c (strchr): Ditto.
11954 * libc/string/strcmp.c (strcmp): Ditto.
11955 * libc/string/strcpy.c (strcpy): Ditto.
11956 * libc/string/strlen.c (strlen): Ditto.
11958 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11960 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
11961 to generate aclocal.m4.
11962 * libm/Makefile.in: Regenerated.
11963 * libm/aclocal.m4: Regenerated.
11964 * libm/configure: Regenerated.
11965 * libm/math/Makefile.in: Regenerated.
11966 * libm/mathfp/Makefile.in: Regenerated.
11968 1998-09-25 Mark Salter <msalter@cygnus.com>
11970 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
11971 by adding leading and trailing underscores to symbol names.
11973 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
11975 * Makefile.in: Add default for AR_FLAGS.
11977 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
11979 patch from ian@airs.com (Ian Taylor):
11980 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
11981 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
11982 is needed for detecting the build machine. Required for
11983 cygwin native builds.
11985 * Regenerate all aclocal.m4 and configure files.
11987 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
11989 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
11990 used to start with LC.
11992 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11994 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
11995 (longjmp): Likewise.
11997 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11999 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12000 the test for small number of bytes.
12002 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12004 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12005 math library that uses floating point algorithms instead of the old
12007 * Makefile.in: Regenerate with automake version 1.3b.
12008 * configure: Rebuild.
12009 * libm/Makefile.in: Regenerate with automake version 1.3b.
12010 * libm/aclocal.m4: Regenerate.
12011 * libm/configure: Rebuild.
12012 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12013 * libm/acinclude.m4: Define macros for configure.in.
12014 * libm/config.h.in: Generate.
12015 * libm/mathfp/Makefile.am: New file.
12016 * libm/mathfp/Makefile.in: Generate.
12017 * libm/mathfp/s_acos.c (acos): New file.
12018 * libm/mathfp/s_asin.c (asin): New file.
12019 * libm/mathfp/s_asine.c (asine): New file.
12020 * libm/mathfp/s_atan.c (atan): New file.
12021 * libm/mathfp/s_atan2.c (atan2): New file.
12022 * libm/mathfp/s_atangent.c (atangent): New file.
12023 * libm/mathfp/s_ceil.c (ceil): New file.
12024 * libm/mathfp/s_copysign.c (copysign): New file.
12025 * libm/mathfp/s_cos.c (cos): New file.
12026 * libm/mathfp/s_cosh.c (cosh): New file.
12027 * libm/mathfp/s_exp.c (exp): New file.
12028 * libm/mathfp/s_fabs.c (fabs): New file.
12029 * libm/mathfp/s_finite.c (finite): New file.
12030 * libm/mathfp/s_floor.c (floor): New file.
12031 * libm/mathfp/s_fmod.c (fmod): New file.
12032 * libm/mathfp/s_frexp.c (frexp): New file.
12033 * libm/mathfp/s_infconst.c: New file.
12034 * libm/mathfp/s_isinf (isinf).c: New file.
12035 * libm/mathfp/s_isnan.c (isnan): New file.
12036 * libm/mathfp/s_ispos.c (ispos): New file.
12037 * libm/mathfp/s_ldexp.c (ldexp): New file.
12038 * libm/mathfp/s_log.c (log): New file.
12039 * libm/mathfp/s_log10.c (log10): New file.
12040 * libm/mathfp/s_logarithm.c (logarithm): New file.
12041 * libm/mathfp/s_mathcnst.c: New file.
12042 * libm/mathfp/s_modf (modf).c: New file.
12043 * libm/mathfp/s_numtest.c (numtest): New file.
12044 * libm/mathfp/s_pow.c (pow): New file.
12045 * libm/mathfp/s_scalbn.c (scalbn): New file.
12046 * libm/mathfp/s_sin (sin).c: New file.
12047 * libm/mathfp/s_sine.c (sine): New file.
12048 * libm/mathfp/s_sineh.c (sineh): New file.
12049 * libm/mathfp/s_sinf.c (sinf): New file.
12050 * libm/mathfp/s_sinh.c (sinh): New file.
12051 * libm/mathfp/s_sqrt.c (sqrt): New file.
12052 * libm/mathfp/s_tan.c (tan): New file.
12053 * libm/mathfp/s_tanh.c (tanh): New file.
12054 * libm/mathfp/sf_acos.c (acosf): New file.
12055 * libm/mathfp/sf_asin.c (asinf): New file.
12056 * libm/mathfp/sf_asine.c (asinef): New file.
12057 * libm/mathfp/sf_atan.c (atanf): New file.
12058 * libm/mathfp/sf_atan2.c (atan2f): New file.
12059 * libm/mathfp/sf_atangent.c (atangent): New file.
12060 * libm/mathfp/sf_ceil.c (ceilf): New file.
12061 * libm/mathfp/sf_copysign.c (copysignf): New file.
12062 * libm/mathfp/sf_cos.c (cosf): New file.
12063 * libm/mathfp/sf_cosh.c (coshf): New file.
12064 * libm/mathfp/sf_exp.c (expf): New file.
12065 * libm/mathfp/sf_fabs.c (fabsf): New file.
12066 * libm/mathfp/sf_finite.c (finitef): New file.
12067 * libm/mathfp/sf_floor.c (floorf): New file.
12068 * libm/mathfp/sf_fmod.c (fmodf): New file.
12069 * libm/mathfp/sf_frexp.c (frexpf): New file.
12070 * libm/mathfp/sf_isinf.c (isinff): New file.
12071 * libm/mathfp/sf_isnan.c (isnanf): New file.
12072 * libm/mathfp/sf_ispos.c (isposf): New file.
12073 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12074 * libm/mathfp/sf_log.c (logf): New file.
12075 * libm/mathfp/sf_log10.c (log10f): New file.
12076 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12077 * libm/mathfp/sf_modf.c (modff): New file.
12078 * libm/mathfp/sf_numtest.c (numtestf): New file.
12079 * libm/mathfp/sf_pow.c (powf): New file.
12080 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12081 * libm/mathfp/sf_sin.c (sinf): New file.
12082 * libm/mathfp/sf_sine.c (sinef): New file.
12083 * libm/mathfp/sf_sineh.c (sinehf): New file.
12084 * libm/mathfp/sf_sinh.c (sinhf): New file.
12085 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12086 * libm/mathfp/sf_tan.c (tanf): New file.
12087 * libm/mathfp/sf_tanh.c (tanhf): New file.
12088 * libm/mathfp/zmath.h: New file.
12090 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12092 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12093 exit if it has been overwritten by pre-fetching in delay slot.
12095 1998-09-01 Michael Meissner <meissner@cygnus.com>
12097 * Makefile.am (tooldir): Add in host_alias, so that multilib
12098 libraries are installed in the directory the compiler looks in.
12099 * Makefile.in: Regenerate.
12101 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12103 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12105 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12106 ahead of test for number of bytes being moved.
12108 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12110 * libc/include/sys/unistd.h: Nothing special needed for
12111 _exit under cygwin.
12113 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12115 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12116 conform to user label naming conventions.
12118 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12120 * libc/sys/cygwin32/sys/utime.h: variable names in
12121 protos should start with two leading underscores
12122 * libc/include/string.h: ditto
12123 * libc/include/sys/signal.h: ditto
12124 * libc/include/sys/stat.h: ditto
12125 * libc/include/sys/time.h: ditto
12126 * libc/include/sys/unistd.h: ditto
12127 * libc/include/ctype.h: ditto
12128 * libc/include/stdlib.h: ditto
12129 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12130 void, same with _sig_func.
12132 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12134 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12135 for MB_CAPABLE to reduce code size when newlib is not configured
12136 with --enable-newlib-mb.
12137 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12138 mbtowc_r.o to minimize size.
12139 * libc/stdlib/Makefile.in: Rebuild.
12141 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12143 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12145 * libc/sys/sparc64/Makefile.in: Rebuild.
12147 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12149 * Makefile.am (MAKEOVERRIDES): Define.
12150 * Makefile.in: Rebuild.
12152 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12154 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12156 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12158 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12159 newlib_cflags when looking for targ-include.
12160 * */aclocal.m4, */configure: Rebuild.
12162 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12164 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12167 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12169 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12170 on SPARCs with little-endian data.
12171 * libc/include/machine/ieeefp.h: Ditto.
12173 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12175 * acinclude.m4: Handle a relative srcdir correctly when setting
12177 * */aclocal.m4, */configure: Rebuild.
12179 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12181 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12182 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12183 * libm/math/wrf_gamma.c (gammaf_r): ditto
12184 * libm/math/wr_lgamma.c (lgamma_r): ditto
12185 * libm/math/wr_gamma.c (gamma_r): ditto
12186 * libm/math/wf_sqrt.c (sqrtf): ditto
12187 * libm/math/wf_sinh.c (sinhf): ditto
12188 * libm/math/wf_scalb.c (scalbf): ditto
12189 * libm/math/wf_remainder.c (remainderf): ditto
12190 * libm/math/wf_pow.c (powf): ditto
12191 * libm/math/wf_log10.c (log10f): ditto
12192 * libm/math/wf_log.c (logf): ditto
12193 * libm/math/wf_lgamma.c (lgammaf): ditto
12194 * libm/math/wf_jn.c (jnf, ynf): ditto
12195 * libm/math/wf_j1.c (j1f, y1f): ditto
12196 * libm/math/wf_j0.c (j0f, y0f): ditto
12197 * libm/math/wf_hypot.c (hypotf): ditto
12198 * libm/math/wf_gamma.c (gammaf): ditto
12199 * libm/math/wf_fmod.c (fmodf): ditto
12200 * libm/math/wf_exp.c (expf): ditto
12201 * libm/math/wf_cosh.c (coshf): ditto
12202 * libm/math/wf_atanh.c (atanhf): ditto
12203 * libm/math/wf_atan2f.c (atan2f): ditto
12204 * libm/math/wf_asin.c (asinf): ditto
12205 * libm/math/wf_acosh.c (acoshf): ditto
12206 * libm/math/wf_acos.c (acosf): ditto
12207 * libm/math/w_sqrt.c (sqrt): ditto
12208 * libm/math/w_sinh.c (sinh): ditto
12209 * libm/math/w_scalb.c (scalb): ditto
12210 * libm/math/w_remainder.c (remainder): ditto
12211 * libm/math/w_pow.c (pow): ditto
12212 * libm/math/w_log10.c (log10): ditto
12213 * libm/math/w_log.c (log): ditto
12214 * libm/math/w_lgamma.c (lgamma): ditto
12215 * libm/math/w_jn.c (jn, yn): ditto
12216 * libm/math/w_j1.c (j1, y1): ditto
12217 * libm/math/w_j0.c (j0, y0): ditto
12218 * libm/math/w_hypot.c (hypot): ditto
12219 * libm/math/w_gamma.c (gamma): ditto
12220 * libm/math/w_fmod.c (fmod): ditto
12221 * libm/math/w_exp.c (exp): ditto
12222 * libm/math/w_cosh.c (cosh): ditto
12223 * libm/math/w_atanh.c (atanh): ditto
12224 * libm/math/w_atan2f.c (atan2): ditto
12225 * libm/math/w_asin.c (asin): ditto
12226 * libm/math/w_acosh.c (acosh): ditto
12227 * libm/math/w_acos.c (acos): ditto
12229 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12231 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12232 (fsrc): Add wf_cabs.c and wf_drem.c.
12233 * libm/math/Makefile.in: Rebuild.
12235 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12236 unused directory variables. Remove duplicate CFLAGS.
12237 * Makefile.in: Rebuild.
12239 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12240 with $(CC_FOR_BUILD).
12241 (makedoc.o): Likewise.
12242 * doc/Makefile.in: Rebuild.
12244 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12245 force a definition of COMPILE.
12246 (libfoo_a_SOURCES): Define.
12247 * libc/sys/cygwin32/Makefile.in: Rebuild.
12248 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12249 force a definition of COMPILE.
12250 (libfoo_a_SOURCES): Define.
12251 * libc/sys/tic80/Makefile.in: Rebuild.
12253 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12255 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12258 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12260 * Build using autoconf and automake. Added many Makefile.am and
12261 configure.in files, plus generated files. Old configure.in files
12262 and all old Makefile.in files completely replaced. Removed
12263 host/any. Added acinclude.m4 and configure.host.
12265 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12267 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12268 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12270 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12272 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12273 * libc/machine/sh/Makefile.in: Add rules for new files.
12275 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12277 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12278 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12279 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12281 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12283 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12286 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12288 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12289 internal static buffer when s is NULL, as prescribed by ANSI.
12291 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12293 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12295 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12296 libc/stdlib will be used for h8300hms.
12298 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12300 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12301 version that can be built either for speed or size.
12302 * libc/machine/mn10300/memset.S (_memset): ditto
12303 * libc/machine/mn10300/memchr.S (_memchr): ditto
12304 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12305 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12306 * libc/machine/mn10300/strchr.S (_strchr): ditto
12307 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12308 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12309 * libc/machine/mn10300/Makefile.in: Added entries for
12310 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12311 strcmp.o, strcpy.o, and strlen.o.
12313 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12315 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12316 been replaced with libgloss/mn10200.
12318 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12320 * libc/string/strchr.c (strchr): Make s a constant pointer to
12323 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12325 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12326 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12327 board SWIs instead of Demon board SWIs).
12329 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12331 * libc/string/strncat.c (strncat): Make -Os act the same as
12332 PREFER_SIZE_OVER_SPEED being defined.
12334 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12336 * libc/string/memchr.c (memchr): Make -Os act the same as
12337 PREFER_SIZE_OVER_SPEED being defined.
12338 * libc/string/memcmp.c (memcmp): Ditto.
12339 * libc/string/memcpy.c (memcpy): Ditto.
12340 * libc/string/memset.c (memset): Ditto.
12341 * libc/string/strcat.c (strcat): Ditto.
12342 * libc/string/strchr.c (strchr): Ditto.
12343 * libc/string/strcmp.c (strcmp): Ditto.
12344 * libc/string/strcpy.c (strcpy): Ditto.
12345 * libc/string/strlen.c (strlen): Ditto.
12346 * libc/string/strncat.c (strncat): Ditto.
12347 * libc/string/strncmp.c (strncmp): Ditto.
12348 * libc/string/strncpy.c (strncpy): Ditto.
12350 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12352 * libc/include/sys/itimer.h: remove
12353 * libc/include/sys/time.h: itimer stuff should be here
12355 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12357 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12358 bit instead of comparing to 0 so -0.0 can be printed correctly.
12360 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12362 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12364 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12366 * libc/include/sys/unistd.h: fix sync() proto
12367 * libc/include/sys/fcntl.h: remove _close which is already
12368 defined in unistd.h.
12369 * libc/include/sys/time.h: add getitimer proto
12371 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12373 * libc/string/strchr.c: convert arg to unsigned char
12374 * libc/include/stdlib.h: add protos for random, srandom
12375 * libc/include/sys/stat.h: add lstat proto
12376 * libc/include/sys/time.h: add setitimer proto
12377 * libc/include/sys/unistd.h: add readlink, symlink protos
12378 * libc/include/process.h: instead of including windows.h and using
12379 HANDLEs in sexec protos, just use void *s. Need to include
12382 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12384 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12386 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12388 * libc/include/process.h: add secure exec protos
12390 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12392 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12393 which are accessed as both doubles and integers.
12394 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12395 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12396 * libc/stdlib/mprec.h: Add "union double_union" and change
12397 word0/word1 macros to use it.
12399 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12401 * libc/include/sys/signal.h: add __cplusplus wrapper
12403 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12405 * libc/include/sys/utime.h: new generic file that gets replaced by
12406 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12408 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12409 * libc/include/time.h: remove duplicate utime proto
12410 * libc/include/utime.h: add comment
12412 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12414 * libc/include/sys/time.h: Add missing include to
12415 allow use of _EXFUN. Remove times function that is
12416 already defined in times.h.
12418 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12420 * libc/include/time.h: Fix typo in tzset.
12422 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12424 * libc/include/sys/time.h: add missing Cygwin32 function protos
12425 * libc/include/sys/unistd.h: ditto
12426 * libc/include/time.h: ditto
12428 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12430 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12432 * libc/include/sys/types.h: add a new __MS_types__ section
12433 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12434 __BIT_TYPES_DEFINED__.
12436 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12438 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12439 since it overrides the one in libc/include/sys. Also, start
12442 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12444 * libm/math/Makefile.in: add s_signgam.o to obj list
12446 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12448 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12450 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12452 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12453 so don't use defines.
12455 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12457 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12459 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12461 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12462 _current_locale as default locale.
12464 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12466 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12467 insufficient space in a chunk.
12469 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12471 * configure.in (links): Added check for --enable-newlib-mb configure
12472 option which defines the MB_CAPABLE macro.
12473 * libc/locale/locale.c (_setlocale_r): Added support for setting
12474 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12476 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12477 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12478 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12479 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12480 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12481 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12482 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12483 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12484 * libc/stdlib/Makefile.in: Added new multibyte
12485 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12486 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12487 _mbstowcs_r(), and _wcstombs_r().
12488 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12489 for JIS, SJIS, and EUC-JP characters.
12490 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12491 MB_CAPABLE defined.
12492 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12493 MB_CAPABLE defined.
12494 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12495 MB_CAPABLE defined.
12496 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12497 if MB_CAPABLE defined.
12498 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12499 if MB_CAPABLE defined.
12500 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12501 to the format string processing when MB_CAPABLE.
12502 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12505 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12507 The following modifications are courtesy of Anthony Thompson,
12508 athompson@cambridge.arm.com:
12509 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12510 boith RDI and RDP monitors.
12511 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12512 RDI and RDP monitors.
12514 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12516 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12517 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12518 (_swiopen): Fixed open flags to treat write with append as just append.
12519 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12520 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12522 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12524 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12525 When needing to transfer an initial 2-byte-word, store as
12528 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12530 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12532 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12533 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12535 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12537 * configure.in (target_cflags): If --enable-target-optspace, use
12538 -Os to compile newlib rather than -O2. Default to using -Os for
12539 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12542 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12544 * libc/include/machine/setjmp.h: change sigsetjmp and
12545 siglongjmp definitions to use an array instead of a struct
12548 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12550 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12552 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12554 * libc/string/strxfrm.c: fix to get correct return value
12556 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12558 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12559 builds. Make mode change labels global so that they will be seen
12562 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12564 * configure.in (links): Do not use ARM debiugging protocols for PE
12567 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12570 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12572 * libc/stdio/findfp.c (__sinit): Made stdout default to
12573 line buffered mode as defined by ANSI.
12575 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12577 * libc/include/sys/itimer.h: New file.
12579 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12581 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12583 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12586 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12588 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12591 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12593 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12595 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12597 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12600 * libc/include/machine/setjmp.h: Add D30V support.
12602 * configure.in (d30v-*): Add d30v machine directory.
12604 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12606 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12607 been replaced with libgloss/mn10300.
12609 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12611 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12612 it is no longer needed.
12614 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12616 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12618 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12620 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
12621 the file when O_APPEND is set, wherever the EOF happens to be at
12624 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
12626 patch from cgf@bbc.com (Christopher Faylor):
12627 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12628 convention of closing fp prior to attempting to open the file
12629 argument. This allows correct operation when reopening
12630 stdin/stdout/stderr. Replaces last freopen.c patch.
12632 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12634 patch from cgf@bbc.com (Christopher Faylor):
12635 * libc/stdio/freopen.c: freopen was not preserving the fd
12636 of the stream being operated on. This confuses programs that
12637 expect that the handles for stdout and stderr will be 1 and 2.
12639 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12641 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12643 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12645 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12647 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12649 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12650 altered to not use a branch. Also added hint that last
12651 bclr in longjmp will likely result in branch.
12654 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12656 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
12658 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12660 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
12663 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
12665 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
12667 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
12668 that loads FR14 to specify offset of 8 rather than 4
12669 so it loads from offset 96 (where setjmp stored it).
12671 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12673 * libc/machine/sh/memcpy.S: (_memcpy): Update to
12674 latest version supplied by customer.
12675 * libc/machine/sh/memset.S (_memset): Ditto.
12677 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
12679 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
12682 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
12684 * libc/include/string.h: remove redefinition of ffs
12686 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
12688 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
12691 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12693 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
12694 TI Libraries to link to libc.a
12696 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
12698 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
12699 * libc/include/sys/stat.h (_{,f}stat): Ditto.
12700 * libc/include/sys/wait.h (_wait): Ditto.
12701 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
12702 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
12704 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
12706 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
12707 minded stabs so function name shows up when running the simulator
12709 * libc/sys/d10v/{crt0,trap}.S: Ditto.
12711 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
12713 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
12714 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
12715 Use R5 where we used to use R3.
12717 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
12719 * libc/stdlib/getopt.c (getopt): replaced __progname
12720 with nargv[0] to improve portability to imbedded systems.
12722 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
12724 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
12725 patch supplied by Tont.Thompson@arm.com to fix the creation of the
12728 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
12730 * libc/stdio/tmpnam.c (worker): Generate a different file name
12733 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
12734 fails, try an execlp for sh.
12736 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
12737 option for the winsup include directory.
12739 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
12741 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
12742 debugging interface from Tony.Thompson@arm.com.
12744 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
12745 * libc/sys/arm/swi.h: ditto.
12747 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12749 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
12750 DIR struct used for readdir hashes.
12752 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
12754 * libc/string/strchr.c: Use "unsigned chars" as necessary.
12756 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
12758 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
12761 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
12763 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
12764 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
12765 * libc/include/malloc.h: Add extern "C" if __cplusplus.
12766 (__malloc_copy): Declare.
12768 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
12770 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
12772 (POINTER_UINT): Define.
12773 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
12774 (MALLOC_ALIGNMENT): Don't define if already defined.
12775 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
12778 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
12780 * libc/string/memset.c (memset): Fiddle with code so that the long
12781 value being stored is not a stack value. Unroll storing longs 4
12784 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
12786 * Reduce code size for libm modules.
12787 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
12788 and simply move code into sqrt.
12789 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
12790 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
12791 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
12792 * libm/math/wr_gamma.c (gamma_r): Likewise.
12793 * libm/math/wf_sinh.c (sinfh): Likewise.
12794 * libm/math/w_sinh.c (sinh): Likewise.
12795 * libm/math/wf_scalb.c (scalbf): Likewise.
12796 * libm/math/w_scalb.c (scalb): Likewise.
12797 * libm/math/wf_remainder.c (remainderf): Likewise.
12798 * libm/math/w_remainder.c (remainder): Likewise.
12799 * libm/math/wf_pow.c (powf): Likewise.
12800 * libm/math/w_pow.c (pow): Likewise.
12801 * libm/math/wf_log10.c (log10f): Likewise.
12802 * libm/math/w_log10.c (log10): Likewise.
12803 * libm/math/wf_log.c (logf): Likewise.
12804 * libm/math/w_log.c (log): Likewise.
12805 * libm/math/w_lgamma.c (lgamma): Likewise.
12806 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12807 * libm/math/wf_jn.c (jnf): Likewise.
12808 * libm/math/w_jn.c (jn): Likewise.
12809 * libm/math/wf_j1.c (j1f): Likewise.
12810 * libm/math/w_j1.c (j1): Likewise.
12811 * libm/math/wf_j0.c (j0f): Likewise.
12812 * libm/math/w_j0.c (j0): Likewise.
12813 * libm/math/wf_hypot.c (hypotf): Likewise.
12814 * libm/math/w_hypot.c (hypot): Likewise.
12815 * libm/math/wf_gamma.c (gammaf): Likewise.
12816 * libm/math/w_gamma.c (gamma): Likewise.
12817 * libm/math/wf_fmod.c (fmodf): Likewise.
12818 * libm/math/w_fmod.c (fmod): Likewise.
12819 * libm/math/wf_exp.c (expf): Likewise.
12820 * libm/math/w_exp.c (exp): Likewise.
12821 * libm/math/wf_cosh.c (coshf): Likewise.
12822 * libm/math/w_cosh.c (cosh): Likewise.
12823 * libm/math/wf_atanh.c (atanhf): Likewise.
12824 * libm/math/w_atanh.c (atanh): Likewise.
12825 * libm/math/wf_atan2.c (atan2f): Likewise.
12826 * libm/math/w_atan2.c (atan2): Likewise.
12827 * libm/math/wf_asin.c (asinf): Likewise.
12828 * libm/math/w_asin.c (asin): Likewise.
12829 * libm/math/wf_acosh.c (acoshf): Likewise.
12830 * libm/math/w_acosh.c (acosh): Likewise.
12831 * libm/math/wf_acos.c (asocf): Likewise.
12832 * libm/math/w_acos.c (acos): Likewise.
12833 * libm/math/wf_sqrt.c (sqrtf): Likewise.
12834 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
12835 for embedded systems.
12837 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
12839 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
12840 Lea in case of a foreign sbrk.
12842 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
12844 Incorporate Doug Lea's malloc:
12845 * libc/stdlib/mallocr.c: Completely replaced.
12846 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
12848 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
12849 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
12851 (mallinfo, malloc_stats, mallopt): New functions.
12852 (_mstats_r): Just call _malloc_stats_r.
12853 * libc/stdlib/malign.c: New file.
12854 * libc/stdlib/mlock.c: New file.
12855 * libc/stdlib/msize.c: New file.
12856 * libc/stdlib/mtrim.c: New file.
12857 * libc/stdlib/realloc.c: New file.
12858 * libc/stdlib/valloc.c: New file.
12859 * libc/stdlib/malloc.h: Remove.
12860 * libc/stdlib/callocr.c: Remove.
12861 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
12862 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
12863 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
12864 reallocr.o, valloc.o, vallocr.o.
12865 (CHEWOUT_FILES): Add mlock.def, mstats.def.
12866 (MALLOC_CFLAGS): New variable.
12867 (mallocr.o): New target, build from mallocr.c.
12868 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
12869 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
12870 (msizer.o, malloptr.o): Likewise.
12871 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
12872 (valloc.o): New target.
12873 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
12874 * libc/include/malloc.h: Declare struct mallinfo, and new
12876 * libc/include/stdlib.h (cfree): Correct declaration.
12878 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
12880 * libc/include/machine/setjmp.h: Add support for Thumb target.
12882 * libc/include/machine/ieeefp.h: Add support for Thumb target.
12884 * configure.in (links): Add support for Thumb target.
12886 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
12888 * libc/sys/arm/setjmp.S: Updated with version from branch.
12890 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
12892 * libc/include/stdio.h: add POSIX-required define L_ctermid
12895 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
12897 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
12898 addition to MISSING_SYSCALL_NAMES.
12900 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12902 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
12904 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
12906 * libc/include/string.h: change strsignal proto to return
12907 a char *. This eliminates compile problems in gdb resulting
12908 from gdb's definition of strsignal in defs.h.
12910 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
12912 * libc/sys/cygwin32/sys/utime.h: new (moved here from
12913 winsup/include) so as not to conflict with the one in
12915 * libc/include/string.h: add protos for strsignal, strtosigno
12917 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
12919 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
12921 * configure.in (d30v-*-*): Add configuration.
12923 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
12925 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
12926 to select which kind of debug monitor is in use for an ARM target.
12928 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
12929 Angel and Demon debug monitors. Part of this code was supplied by
12930 Tony Thompson at ARM: athompso@arm.com.
12932 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
12934 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
12935 semantics when the count is greater than the length of the second
12938 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
12940 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
12941 * libc/include/sys/unistd.h: add protos for usleep, truncate,
12942 truncate and ftruncate take off_t, not size_t
12944 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
12946 * libc/string/strcat.c (strcat): Add missing comment end.
12947 * libc/string/strncat.c (strncat): Likewise.
12949 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
12951 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
12953 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
12954 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
12956 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12957 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12958 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12960 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
12962 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
12963 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
12965 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
12967 * libc/machine/i386/setjmp.S: New file.
12968 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
12969 (OFILES): Add setjmp.o.
12970 (setjmp.o): Add rule for.
12971 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
12973 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
12974 Jeffrey A Law (law@cygnus.com)
12976 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
12977 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12978 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12979 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12981 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
12983 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
12986 * libc/include/sys/config.h: Use __v850 to select v850
12989 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
12992 * libc/include/machine/ieeefp.h: Use __v850 to select v850
12995 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
12997 * libc/stdlib/setenv.c: change unsetenv definition to match
12998 style of setenv (with _DEFUN). The string should be a const.
12999 * libc/include/stdlib.h: unsetenv proto should return void.
13001 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13003 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13005 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13007 * libc/stdio/glue.h: remove.
13008 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13009 * libc/stdio/Makefile.in: remove glue.h dependencies
13011 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13013 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13015 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13017 * configure.in (target_cpu): Add `arc'.
13019 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13021 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13022 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13023 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13024 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13025 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13027 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13029 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13031 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13033 * libc/include/stdio.h (siprintf): Declare.
13035 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13037 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13038 TARGET_CFLAGS and NEWLIB_FLAGS.
13040 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13042 * configure.in (links): Add support for v850ea target.
13044 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13046 * configure.in (links): Add support for v850e target.
13048 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13050 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13052 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13054 * configure.in (arc-*-*): Add support for.
13055 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13057 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13059 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13061 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13063 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13064 comparison which accesses invalid memory when the key is
13065 larger than the last member of the array.
13066 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13068 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13070 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13072 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13075 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13077 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13078 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13080 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13082 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13083 to load/store memory.
13085 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13087 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13088 underscores if _WIN32.
13090 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13092 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13093 support ifdef _USE_WRITE missed in last change.
13094 From Anders Blomdell <anders.blomdell@control.lth.se>.
13096 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13098 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13099 (_tmpnam_r, _tempnam_r): Update.
13101 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13103 * libc/machine/sparc/setjmp.S: New file.
13104 * libc/machine/sparc/Makefile.in: Add setjmp.
13105 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13107 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13109 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13111 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13113 From Joel Sherrill <joel@oarcorp.com>.
13114 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13116 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13117 * configure.in: Recognize *-*-rtems*.
13118 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13119 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13120 time.h,times.h,types.h}: New files.
13121 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13123 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13125 patch from sos@prospect.com.ru (Sergey Okhapkin):
13126 * include/sys/wait.h: correct operator precidence bug
13129 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13131 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13132 with newlib's unsetenv function
13133 * libc/sys/cygwin32/sys: new directory for includes
13134 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13135 here from winsup/include/sys
13137 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13139 * libc/include/sys/unistd.h: _exit should only be
13140 labelled noreturn when not __CYGWIN32__
13141 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13142 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13145 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13147 * libc/include/sys/time.h: Only define timeval and timezone if
13148 _GNU_H_WINDOWS32_SOCKETS is not defined.
13149 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13151 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13153 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13154 * libc/machine/mn10300/setjmp.S: Likewise.
13156 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13157 the mn10300 (more relaxing opportunities).
13159 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13161 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13162 Build libraries with -mstrict-align.
13164 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13166 * libc/string/strlwr.c: New file.
13167 * libc/string/strupr.c: New file.
13168 * libc/include/string.h: Declare strlwr and strupr.
13169 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13170 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13171 (strlwr.o, strupr.o): New targets.
13172 * libc/string/strings.tex: Include strlwr and strupr docs.
13174 * libc/include/sys/types.h: Don't define u_char, et. al., if
13175 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13176 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13177 _types_fd_set rather than fd_set, and define fd_set as a macro.
13179 * libc/include/malloc.h: New file.
13181 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13182 strnicmp if they are not already defined.
13184 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13185 _timezone, _daylight, and _tzname.
13187 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13189 * configure.in: Sort all configuration tables.
13191 From Joel Sherrill <joel@oarcorp.com>
13192 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13194 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13196 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13197 use int when declaring kill.
13199 * libc/include/sys/timeb.h: New file.
13201 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13203 * libc/include/sys/time.h: add itimer support for Cygwin32
13205 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13207 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13208 out a message that abort was called to stderr.
13210 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13212 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13213 so that libio doesn't freak.
13215 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13218 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13219 memory sizes, not int.
13221 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13223 * libm/math/ef_hypot.c: Use long constants where
13225 * libm/math/ef_sqrt.c: Ditto.
13227 * libc/sys/sysmec/times.c(_times): Change to times.
13229 * libc/sys/sysmec/read.c(_read): The third argument is
13231 * libc/sys/sysmec/write.c (_write): Ditto.
13233 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13234 (_lseek): It's off_t for the second argument.
13236 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13238 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13239 as well as machine/ieeefp.h.
13241 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13243 * libc/include/sys/signal.h: add signal protos for winsup
13244 functions (when __CYGWIN32__), include types.h
13245 * libc/include/sys/types.h: Change __go32_types__ internal
13246 define to __MS_types__ since it's used for more than just
13247 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13249 * libc/include/sys/unistd.h: add ftruncate proto for
13250 winsup functions (when __CYGWIN32__)
13252 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13254 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13256 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13258 * libc/include/machine/setjmp.h: Add tic80 support.
13259 * libc/machine/tic80/setjmp.S: Likewise.
13261 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13263 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13264 link programs from libraries only (such as in the X11
13267 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13269 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13270 supplied elsewhere in newlib.
13272 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13274 * Makefile.in (INSTALL): Change install.sh to install-sh.
13276 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13278 * README: update WWW address for on-line documentation.
13280 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13282 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13285 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13287 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13289 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13291 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13293 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13294 * libc/sys/d10v/syscalls.c: Likewise.
13295 * libc/sys/h8300hms/sbrk.c: Likewise.
13296 * libc/sys/h8500hms/syscalls.c: Likewise.
13297 * libc/sys/m88kbug/syscalls.c: Likewise.
13298 * libc/sys/sh/syscalls.c: Likewise.
13299 * libc/sys/sysmec/sbrk.c: Likewise.
13300 * libc/sys/sysnecv850/sbrk.c: Likewise.
13301 * libc/sys/w65/syscalls.c: Likewise.
13302 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13304 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13306 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13307 emulated syscall instead of "trap".
13309 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13311 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13314 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13316 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13318 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13320 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13322 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13324 * libc/sys/tic80/crt0.c: New file for TIc80.
13325 * libc/sys/tic80/Makefile.in: New file for TIc80.
13326 * libc/machine/tic80/Makefile.in: New file for TIc80.
13328 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13330 * libc/machine/sh/memcpy.S: New file.
13331 * libc/machine/sh/memset.S: New file.
13332 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13334 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13336 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13339 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13341 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13344 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13346 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13347 (patch from andrew@pogo.WV.TEK.COM).
13349 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13351 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13352 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13354 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13356 * configure.in: Add cases for "tic80" to set machine_dir,
13357 sys_dir, and syscall_dir.
13359 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13361 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13363 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13365 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13367 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13369 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13370 Use proper constant prefix.
13372 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13374 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13375 that loses on the mn10200 where ints and pointers are different
13378 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13380 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13381 target as signal is provided in winsup.
13383 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13385 * libc/include/sys/process.h: Corrected const definitions
13386 in spawn functions. Added cwait.
13388 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13390 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13392 * libc/include/sys/config.h: Similarly.
13394 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13396 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13398 (i[3456]86-*-sco*): Ditto.
13400 * libc/signal/Makefile.in (OFILES): Add signal.o.
13401 (CFILES): Add signal.c.
13403 * libc/signal/raise.c (_raise_r): Only compile code if
13404 SIGNAL_PROVIDED is defined.
13406 * libc/signal/signal.c: Redo whole file so that it works with
13407 current newlib. Use _kill_r if no signal handler provided.
13409 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13411 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13412 * libc/sys/sysnecv850/Makefile.in: Ditto.
13414 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13415 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13416 * libc/sys/sysvnecv70/signal.s: Ditto.
13417 * libc/sys/sysnecv850/raise.c: Ditto.
13419 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13420 simulator and debugger can tell the difference between a signal
13421 being raised and an exit system call.
13423 * NEWS: Document software signals being provided.
13425 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13427 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13428 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13429 include/sys/config.h.
13430 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13431 Change from 'inpure_data'.
13432 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13433 &impure_data, not &inpure_data.
13435 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13436 and and System V ABI, define so that _impure_ptr lives in the
13439 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13441 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13442 nothing if not defined.
13443 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13446 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13448 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13450 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13451 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13452 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13454 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13456 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13458 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13460 * libc/include/sys/errno.h: Added net errno's.
13462 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13464 * libc/misc/ffs.c: New file to support ffs function for GCC test
13465 gcc.c-torture/execute/960909-1.c.
13467 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13469 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13471 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13472 * libc/sys/sysmec/trap.S: Likewise.
13474 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13476 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13477 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13479 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13481 * libc/sys/sysmec/signal.c: Dummy file.
13482 * libc/sys/sysmec/Makefile.in: Build it.
13484 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13486 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13489 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13491 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13492 c-startup and simulator traps.
13495 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13496 * libc/sys/sysmec/trap0.S: Likewise.
13498 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13500 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13501 round to double word alignment.
13502 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13505 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13507 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13510 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13512 * configure.in: Handle mn10200 and mn10300.
13513 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13514 * libc/include/sys/config.h: Likewise.
13515 * libc/sys/sysmec: New directory for mec stuff.
13516 * libc/machine/mn10300: New directory for mn10300 stuff.
13517 * libc/machine/mn10200: Similarly for mn10200 stuff.
13519 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13521 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13522 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13524 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13525 (nlink_t): Change type from unsigned int to unsigned short.
13526 (mode_t): Ensure size is 32 bits even if int is 16.
13527 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13528 (st_spare[123]): Change type from int to long.
13530 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13532 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13535 * configure.in (d10v*): Define SMALL_MEMORY.
13537 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13539 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13540 -mrelocatable-lib and -mno-eabi flags.
13542 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13544 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13545 Fix handling of mis-aligned source operand when both the
13546 destination & length are properly aligned.
13548 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13550 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13551 times.o, time.o and gettime.o
13552 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13553 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13556 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13558 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13559 * libc/sys/sysnecv850/access.c: New file.
13561 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13563 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13565 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13568 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13570 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13572 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13574 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13575 * libc/include/sys/config.h: Add m32r support.
13577 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13579 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13582 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13584 * libc/include/machine/setjmp.h: Add D10v support.
13586 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13588 * configure.in: Configure the "libc/syscalls" directory for
13591 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13592 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13593 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13594 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13595 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13597 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13599 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13600 stack for args for main and other routines. Zero out args for
13603 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13606 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13608 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13611 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13613 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13614 real system calls now.
13616 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13617 before casting them to int.
13618 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13620 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13622 * libc/string/memset.c (memset): Ditto.
13624 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13625 first convert ints to _POINTER_INT to eliminate GCC warning.
13627 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13630 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13631 from 65000 if ints are only 16 bits.
13633 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13634 from 50000 if ints are only 16 bits.
13636 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13637 int type that is the same size as a pointer.
13639 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13641 (get_number): Explicitly cast number to long before shifting by 16
13642 or 24, in case ints are short.
13644 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13646 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13648 * libc/string.h: Added ffs, removed swab.
13649 * libc/sys/errno.h: Added EOPNOTSUPP.
13650 * libc/sys/unistd.h: Added swab.
13652 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13654 * libc/include/sys/stat.h: Added fchmod.
13655 * libc/include/sys/unistd.h: Added fsync.
13657 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13659 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
13660 and ECONNRESET (104) for cygwin32.
13662 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
13664 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
13665 do the static destructors.
13667 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
13669 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
13671 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
13673 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
13674 * configure.in: Recognize m32r-*-*.
13676 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
13678 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
13679 __rt_stkovf_split_small): Added default software stack overflow
13680 handlers, which just call SWI_Exit.
13681 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
13682 limit initialisation.
13684 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
13686 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
13688 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
13690 * libc/include/sys/types.h: Added ssize_t definition.
13692 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13694 * libc/machine/d10v/setjmp.S: Use ';' for comments.
13695 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
13697 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
13698 branch around a single ldi instruction.
13700 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
13701 Call exit, instead of just issuing a stop instruction.
13703 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13705 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
13707 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13709 * libc/stdlib/mprec.h: Explicitly declare all large constants as
13710 longs, and then cast them to __uint32_t.
13712 * libc/include/sys/config.h: Protect against multiple inclusions.
13714 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
13716 * configure.in (d10v*): Set syscall_dir.
13718 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
13720 * libc/sys/d10v/crt0.S: Set stack pointer.
13722 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
13724 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
13725 in assembly for efficiency. Change calling convention to allow
13726 long ints to be returned.
13728 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13730 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
13732 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
13734 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
13735 Handle empty entries in $PATH.
13737 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
13739 * libc/machine/d10v/setjmp.S: Make it really work.
13741 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
13743 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
13744 the .stack section.
13746 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
13748 * sys/sysnecv850/sys/file.h: Remove.
13749 * sys/sysnecv850/sys/syscall.h: New file.
13750 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
13751 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
13752 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
13753 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
13754 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
13755 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
13756 * sys/sysnec850/trap.S: New file.
13757 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
13759 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
13760 * sys/sysnec850/sbrk.c: New version.
13762 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
13764 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
13765 as long as r6 is less than r7.
13767 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
13769 * Makefile.in (mostlyclean): Separate from clean target. Don't
13770 remove *.a or targ-include.
13771 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
13773 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13775 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
13777 (__SMALL_BITFIELDS): Ditto.
13779 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
13781 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
13783 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
13786 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
13787 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
13788 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
13789 * libc/sys/sysnecv850/write.c (write): Likewise.
13791 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
13794 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13796 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
13797 appropriately for D10V, depending on -mint16/-mint32.
13799 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
13801 * configure.in: Add cases for D10V.
13803 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13805 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
13807 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
13809 * libc/include/machine/ieeefp.h: Fix typo.
13811 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
13813 * libc/sys/d10v: New directory for D10V stuff.
13814 * libc/include/machine/ieeefp.h: Add D10V defines.
13816 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
13818 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
13819 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
13820 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
13821 * libc/string/strerror.c (strerror): Add them.
13823 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
13825 * libc/sys/sysnecv850: New directory for v850 stuff.
13827 * libc/machine/v850: New directory for v850 stuff.
13828 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
13830 * configure.in: Add support for the v850.
13832 * libc/include/machine/ieeefp.h: Add v850 defines.
13833 * libc/include/machine/setjmp.h: Likewise.
13834 * libc/include/sys/config.h: Add v850 defines.
13836 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
13838 * libc/include/machine/ieeefp.h
13839 * libc/include/machine/setjmp.h
13840 * libc/include/sys/fcntl.h
13841 * libc/include/sys/signal.h
13842 * libc/include/sys/types.h
13843 * libc/stdlib/system.c:
13844 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
13845 API availability, __CYGWIN32__ for cygwin32 environment specific).
13847 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
13849 * libc/include/stdlib.h: add multibyte character functions. Add
13850 __eprintf for assert.
13852 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13854 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
13855 arithmetic or __alignof__ to properly get the alignment, instead
13856 of hardwiring it to 4.
13858 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
13860 * libc/stdio/fseek.c: add fflush call to adjust seek offset
13861 on append stream (fix from NetBSD sources), adjust curoff offset
13862 for ungetc's benefit.
13863 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
13864 * libc/stdio/rewind.c: replace code with up to date NetBSD
13865 code to undo hacks made to work around above problem of not
13866 having fflush call mentioned above
13868 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13870 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
13871 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
13872 Partially revert last changes. The thread specific errno is set
13873 iff if the underlying syscall fails and the global errno is not
13876 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13878 * libc/reent/filer.c: Removed files, all functions have split out
13879 into their own files.
13880 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
13881 New files containing functions formally in filer.c
13882 * libc/reent/Makefile.in: Updated for above change.
13884 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
13885 syscall fails, not if errno is changed.
13886 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
13887 _write_r): Likewise.
13888 * libc/reent/fstatr.c (_fstat_r): Likewise.
13889 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
13890 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
13891 * libc/reent/signalr.c (_kill_r): Likewise.
13892 * libc/reent/statr.c (_stat_r): Likewise.
13893 * libc/reent/timer.c (_gettimeofday_r): Likewise.
13895 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
13896 signalr.c, statr.c, timer.c} (errno): declare extern rather
13899 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
13900 instead of calling vfprintf so that i*printf will not require
13901 floating point support code.
13903 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
13905 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
13907 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
13908 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
13910 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
13912 * libc/include/signal.h: _sig_func_ptr function takes an int
13913 * libc/include/sys/signal.h: sa_handler function takes an int
13915 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
13917 * libc/include/machine/ieeefp.h: Simplify H8/S support.
13918 * libc/include/sys/config.h: Add missing H8/S conditional.
13920 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
13922 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
13924 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
13926 * libc/include/machine/setjmp.h: Handle H8/S.
13927 * libc/include/machine/ieeefp.h: Likewise.
13928 * libc/include/sys/config.h: Likewise.
13929 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
13930 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
13931 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
13932 * libc/sys/h8300hms/crt0.S: Likewise.
13934 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
13936 * Makefile.in (datadir): Set to $(prefix)/share.
13937 (oldincludedir, docdir): Removed.
13938 * doc/Makefile.in (datadir): Set to $(prefix)/share.
13939 (oldincludedir, docdir): Removed.
13940 * libc/Makefile.in (datadir): Set to $(prefix)/share.
13941 (oldincludedir, docdir): Removed.
13942 * libm/Makefile.in (datadir): Set to $(prefix)/share.
13943 (oldincludedir, docdir): Removed.
13945 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
13947 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
13950 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
13952 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
13953 fetch current path rules with sysconf and handler posix/win32
13956 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
13958 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
13959 (WAIT_CHILD): Always define.
13961 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
13963 * libc/stdlib/eprintf.c: New file.
13964 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
13965 (eprintf.o): New target.
13967 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
13969 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
13970 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
13972 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
13974 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
13975 NT in PowerPC endianess cases.
13977 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13979 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
13981 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13983 * libc/string/strtok.c: Fix doc typo.
13985 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13987 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
13988 _next, _scanpoint, _signgam fields.
13990 * libc/include/stdlib.h (rand_r): Added new declaration.
13991 (_rand_r, _srand_r): Removed declarations.
13992 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
13993 have been made obsolete by rand_r.
13994 * libc/stdlib/rand_r.c: New file, rand_r function as specified
13997 * libc/string/strtok.c: Update documentation to describe
14000 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14002 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14003 structure on Solaris, and PowerPC systems even though __svr4__ is
14006 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14008 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14010 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14012 * host/any: Use ../.. rather than .. to get to the main build
14013 directory. This matches the current layout of the build
14016 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14018 * libc/machine/h8300/__main.S: Delete. No longer needed.
14019 * libc/machine/h8300/Makefile.in: Corresponding changes.
14020 * libc/sys/h8300hms/crt1.c: New file.
14021 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14022 * libc/sys/h8300hms/crt0.s: Call __main.
14024 * libc/sys/h8300hms/crt0.S: Use temporary label names
14025 for branch targets.
14027 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14029 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14031 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14033 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14034 .sdata on the PowerPC so that we can link newlib with code
14035 compiled with -msdata.
14037 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14039 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14041 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14043 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14044 exception handler to __cygwin_exception_handler.
14046 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14048 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14050 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14052 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14054 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14055 wcstombs.o): Likewise.
14057 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14059 * libc/stdlib/environ.c (initial_env): New static local.
14060 (environ): Point to `initial_env'.
14062 * libc/include/machine/setjmp.h: Clean up.
14063 (__H8300H__,__PPC__): Define _JBTYPE.
14064 (__arm__): Provide entry for.
14065 (sigjmp_buf): Delete.
14066 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14068 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14070 * libc/machine/h8300/strcmp.S: Sign extend the result to
14071 32bits so we don't lose with -mint32.
14073 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14075 * libc/sys/go32/sys/errno.h: New file.
14076 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14077 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14078 errno's address (make compatible with rest of newlib).
14079 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14080 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14082 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14084 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14085 * libc/machine/sparc/Makefile.in: Build them.
14086 * libc/machine/sparc/machine/sparclet.h: New file.
14088 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14090 * libc/machine/sh/asm.h: New file.
14091 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14092 support for SH3e's FP registers. Use asm.h.
14094 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14096 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14097 as first argument. Call _dtoa_r and pass the reent structure
14098 instead of calling __dtoa.
14100 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14102 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14103 the h8300, h8500, and others. Add comments for some rather
14106 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14108 * Makefile.in (check): Check that testsuite exists before cd.
14110 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14112 * libc/include/string.h (strsep): Correct prototype.
14114 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14116 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14117 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14118 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14120 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14122 * libc/posix/{creat.c,isatty.c}: New files.
14123 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14125 * libc/sys/sparc64/crt0.S (environ): Delete.
14126 (.LHaveBias): Renamed from HaveBias.
14128 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14130 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14131 (_morecore_r): Delete SBRK_IS_ALLOC support.
14133 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14135 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14136 module rather than touch, so we don't get warning messages when
14137 all of the libraries are combined into libc.a.
14139 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14141 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14142 crt0.s replaced by version in libgloss.
14144 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14146 * libc/reent/Makefile.in (OFILES): Add impure.o.
14147 * libc/reent/impure.o: New file, define initial reentrancy struct.
14148 * libc/reent/reent.c: Remove above definition.
14150 * libm/math/sf_asinh.c: Fix typo.
14152 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14155 * libm/libm.texinfo: Change documentation to reflect changes
14156 in reentrancy model.
14157 * libm/math/w_gamma.c: Likewise.
14159 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14161 * configure.in (*-*-cygwin32): New.
14162 (*-*-win32): Deleted.
14163 * libc/sys/win32 renamed libc/sys/cygwin32.
14165 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14167 * libc/include/sys/file.h: New include file.
14169 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14171 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14173 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14175 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14177 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14179 * doc/makedoc.c (realloc): Declare at file scope.
14180 (catchar): Not here.
14182 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14184 * Makefile.in (VERSION): Update to 1.7.0.
14185 * {libc,libm}/Makefile.in (VERSION): Likewise.
14186 * configure.in: Minor clean up of multilib stuff.
14188 From David Johnson <davidj@ICSI.Berkeley.EDU>
14189 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14191 * libc/stdlib/environ.c: New file.
14192 * libc/stdlib/Makefile.in (OFILES): Build it.
14193 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14194 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14195 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14196 * libc/sys/netware/environ.c: Deleted.
14198 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14200 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14202 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14204 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14205 declaration out to external scope and declare it PTR, not char *.
14207 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14209 * libc/include/sys/unistd.h (getpagesize): New declaration.
14210 (_SC_PAGESIZE): New definition.
14211 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14212 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14214 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14216 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14217 addressing. System call returns size, not (last address + 1).
14219 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14221 * libm/math/*.c: Removed _foo_r() reentrancy API.
14222 * libc/include/math.h: Removed _foo_r prototypes and macros.
14224 * libm/math/*.c: On systems with IEEE single precision "doubles"
14225 move foo() -> foof() wrapper code from the files that implement
14226 the standard IEEE double precision functions to the files that
14227 implement IEEE single precision functions. (ie. On those systems
14228 sin is moved from s_sin.c to sf_sin.c). There should eventually
14229 be use of a C extension (like gcc's alias attribute) so that the
14230 wrappers are not needed at all.
14232 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14233 strict NEC V810 compiler.
14234 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14237 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14239 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14240 from NetBSD C library.
14241 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14243 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14244 and adapted from implementation I wrote for NetBSD C library.
14245 The difference is __assert doesn't take a format argument,
14246 so that there won't be multiple copies of the same string
14247 constant in the executable if assertions are enabled in
14248 more than one source module.
14249 * libc/include/assert.h (assert): Changed to call __assert.
14251 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14253 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14254 word1 on systems with 32 bit doubles.
14255 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14256 so that we can do arithmetic on them.
14257 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14260 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14262 * libc/sys/arm/crt0.S: Zero bss.
14264 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14266 * libc/include/unctrl.h: New file.
14267 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14268 * configure.in (subdirs): Add libc/misc.
14269 * libc/Makefile.in (SUBDIRS): Add misc.
14270 (SUBLIBS): Add misc/lib.a.
14272 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14274 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14276 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14277 (_vfprintf_r): Call CHECK_INIT.
14279 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14281 * Makefile.in (MULTITOP): Delete.
14282 (MULTISRCTOP, MULTIBUILDTOP): Add.
14283 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14284 instead of cfg-ml-pos.in.
14286 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14288 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14289 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14292 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14294 * libc/string/strtok.c: Include string.h to pick up strtok_r
14297 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14299 * libc/string/strtok.c: include <_ansi.h>.
14300 * libc/time/asctime_r.c: `reresult' -> `result'.
14302 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14304 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14305 in #ifndef _REENT_ONLY ... #endif conditional.
14307 * libc/include/string.h (_strtok_r): Remove declaration.
14308 * libc/include/time.h (_asctime_r): Remove declaration.
14309 * libc/string/strtok.c (_strtok_r): Removed.
14310 * libc/time/asctime.c (_asctime_r): Removed.
14312 * libc/string/Makefile.in (OFILES): Add new object.
14313 * libc/string/strtok_r.c: New file. strtok_r function as
14314 specified by POSIX.1c, adapted from strtok implementation
14315 from NetBSD C library.
14316 * libc/string/strtok.c (strtok): Reimplemented in terms of
14319 * libc/time/Makefile.in (OFILES): Add new objects.
14320 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14321 New files, reentrant time functions specified by POSIX.1c.
14322 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14323 reentrant time functions re-written in terms of reentrant
14325 * libc/time/lcltime.c: Renamed from localtime.c
14327 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14328 gmtime_r, and localtime_r.
14330 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14332 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14333 * libc/include/sys/unistd.h (getlogin): Revert change of
14335 * libc/include/sys/signal.h (sigprocmask): Change prototype
14336 so it compiles with c++.
14338 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14340 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14341 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14342 to give some room in case we need to align the jmp_buf.
14344 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14345 the new ppc-asm.h include file the compiler provides to specify
14346 function prologue/epilogue. Eliminate saves of the xer and ctr
14347 registers, which are volatile. Before starting to save registers,
14348 align to 8 byte boundary.
14350 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14352 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14353 referenced by standard libraries.
14355 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14357 * libc/unix/Makefile.in, libc/string/Makefile.in,
14358 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14359 libc/posix/Makefile.in:
14360 Remove tabs from otherwise empty line. Confuses some
14361 older non-GNU versions of "make".
14363 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14365 * libc/sys/unistd.h (getlogin): Returns const char *.
14367 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14369 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14370 * libc/include/errno.h: Moved into and include...
14371 * libc/include/sys/errno.h: New file.
14372 * libc/include/sys/wait.h: New file.
14373 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14374 * libc/sys/win32/*: Moved out.
14375 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14376 * configure.in (i[345]86-*-win32): HAVE_RENAME
14378 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14380 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14381 avoid macro expansion for these two names.
14383 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14385 * libc/machine/h8500/psi.S: r6 renamed to fp.
14387 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14389 * configure.in (powerpc*): No longer need to define
14390 NO_LONGLONG_POINTERS to supress warnings.
14392 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14394 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14395 through PTR instead of directly.
14397 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14398 non-standard constructor support.
14400 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14402 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14403 address of the Bigint instead of the address of its _x field,
14404 as the size the result buffer was calculated accordingly.
14405 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14407 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14408 from NetBSD C library. No longer special cases division by
14409 zero (which needs to be done by the application anyway), but
14410 it doesn't need to call abs() (or labs()) four times either.
14412 * libc/stdlib/qsort.c: Replaced with implementation from
14415 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14417 * libc/stdio/vfprintf.c: Replaced with implementation from
14418 NetBSD C library (which is derived from the 4.4BSD C library).
14419 * libc/stdio/cvt.c: Removed.
14420 * libc/stdio/Makefile: Updated.
14422 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14424 * libc/sys/win32/syscalls.c (rename): New.
14425 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14427 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14429 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14430 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14432 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14433 (setjmp.o): Delete rule to build setjmp.o.
14434 * libc/sys/sh/setjmp.S: Delete file.
14436 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14438 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14439 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14440 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14441 pow5mult and s2b to identifiers with leading underscores.
14442 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14443 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14445 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14447 * libc/sys/posix/popen.c (sys/types.h): Include.
14449 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14451 * libc/sys/win32/syscalls.h (fhandler): New struct.
14452 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14453 (__fhandler_normal): Declare.
14454 (hinfo): New member op_handlers.
14455 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14456 (__write): Likewise.
14457 (_read, _write, _open, _close, _lseek): Validate fd here.
14458 Move file type specific stuff to foo_normal.
14459 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14461 (__lookup_fhandler): New function.
14462 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14464 From anders.blomdell@control.lth.se (Anders Blomdell)
14465 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14466 Don't touch standard handles.
14467 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14468 (_execve): Only create __FD_TABLE__ if necessary.
14469 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14471 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14473 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14474 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14475 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14476 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14477 without a handler is received.
14478 * libc/sys/win32/Makefile.in: Remove --nodelete.
14479 * libc/sys/win32/resouce.c (gettimeofday): New.
14480 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14481 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14483 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14485 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14486 Don't append "/*" to search pattern if trailing '/' already there,
14488 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14489 like /'s, convert them to \'s. Handle //<drive>/ path names.
14490 Add space for quoted \'s in arg string. Print translated prog name
14491 and original prog name.
14492 (_execve): Handle parent doing exec a teensy bit better.
14493 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14494 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14495 path needs conversion, handle both cases. Delete `const' from result.
14496 (hash_path_name): New function.
14498 (_stat): Likewise. Fill in more fields for directories.
14499 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14500 (wait_for_any): Fix trace message.
14501 (waitpid): Explicitly test for intpid == 0.
14503 From anders.blomdell@control.lth.se (Anders Blomdell)
14504 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14505 so `next' is valid.
14507 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14509 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14512 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14514 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14515 at all, not just == 1.
14516 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14518 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14520 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14521 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14522 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14525 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14527 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14529 * libc/sys/signal.c (sleep): Fill it in.
14530 * libc/sys/termios.c (tcflush): Use PurgeComm
14531 (tcsetattr): Set some more of the bits.
14532 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14534 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14536 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14537 Conditionally include .idata$3 stuff ifdef __pe__.
14539 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14541 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14542 * libc/sys/win32/pipe.c (pipe): Ditto.
14543 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14544 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14545 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14546 (tcgetattr): Contents are new.
14547 * libc/sys/win32/include/winkernel.h (DCB): New.
14548 (GetCommState, SetCommState): New.
14550 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14552 * libc/sys/arm/crt0.S (_start): Define.
14554 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14556 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14557 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14559 * libc/sys/win32/sysconf.c: New
14560 * libc/sys/win32/sys/winadvapi.h: New
14561 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14562 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14563 * libc/sys/win32/pipe.c (pipe): Ditto.
14564 * libc/sys/win32/signal.c (_raise): New.
14565 (_kill): Moved from spawn.c
14566 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14567 * libc/sys/win32/syscalls.c (__read): Use new fields.
14569 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14570 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14571 * libc/include/sys/unistd.h (rmdir): Takes const path.
14572 * libc/include/sys/stat.h (mkdir): Takes const path.
14573 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14575 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14577 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14579 Add support for specifying paths as //<drive>/foo/bar.
14580 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14581 (__path_to_real_path): Declare.
14582 (PATH_TO_REAL_PATH): New macro.
14583 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14584 (__path_needs_conversion_p, __path_to_real_path): New functions.
14585 (_open): Fix test for error return from CreateFileA.
14586 Handle new path syntax.
14587 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14588 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14590 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14592 * libc/sys/win32/include/*.h: Reorganized
14593 * libc/sys/win32/include/WINREADME: New.
14594 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14595 * libc/sys/win32/*.c: Fix for new include scheme.
14596 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14597 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14598 * libc/sys/win32/passwd.c (*): Fix.
14599 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14600 (_stat): Get directory owner and permissions right.
14601 * libc/sys/win32/syscalls.h (uinfo): New.
14602 * libc/sys/win32/version.def: Remove leading underscores.
14604 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14606 * libc/sys/win32/key.c: include "include/wincon.h".
14608 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14610 * libc/sys/win32/{key, stubs}.c: New.
14611 * libc/sys/win32/Makefile: Adjust to cope.
14612 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14613 (environ_init): Change env names to upper case.
14614 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14615 * libc/sys/win32/passwd.c (*): Fill in the functions.
14616 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14617 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14618 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14619 (_open): Initialze hmap->execable_p too.
14620 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14621 (_fstat): Fill in permissions.
14622 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14624 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14626 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14628 (cfg-ml-pos.in invocation): Likewise.
14630 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14632 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14633 s_isnan.o and sf_isnan.o.
14635 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14637 * All Makefile.in files: added maintainer-clean target as a
14638 synonym for realclean.
14640 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14642 * libc/include/machine/setjmp.h: Add hppa support.
14643 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14645 * libc/machine/hppa/Makefile.in: Related changes.
14647 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14649 * configure.in (machine_dir): Don't set for v810-*-*.
14651 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14653 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14654 conventions correctly.
14656 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14658 * libc/stdio/puts.c: Update documentation of return value to match
14661 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
14663 Fix file descriptor inheritance.
14664 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
14665 (NOT_OPEN_FD): Fix.
14666 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
14667 close-on-exec flag not set. Initialize child's entire fd table.
14668 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
14670 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
14671 if CHILD_P. Initialize entire hmap entry.
14672 (dup): Only create new handle as inheritable if CHILD_P.
14673 (dup2): Likewise. Properly initialize hmap entry.
14675 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
14677 (_exit): Use CHILD_P.
14678 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
14681 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14683 * libc/sys/win32/crt0.c (passover): fix up the state table.
14684 * libc/posix/popen.c: Added.
14685 * libc/posix/Makefile.in: compile popen.c.
14687 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
14689 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
14690 h8/500 define _DOUBLE_IS_32BITS.
14692 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
14694 Get vfork/exec/spawn/cwait/wait working again.
14695 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
14696 (procinfo): New member vfork_level.
14697 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
14698 (vfork_init_first): Use GetCurrentProcessId to get pid.
14699 Initialize vfork_level.
14700 (vfork_init): Delete __PID__.
14701 (environ_init): New function. Undo patch of Aug 19, Posix says
14702 environment variables are case sensitive.
14703 (mainCRTStartup): Call it.
14704 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
14705 (my_longjump: Make static.
14706 (_spawn): New argument `h'. Delete setting of __PID__.
14707 Delete local `idx'. Look for chars that need quotes, rather than
14708 ones that don't. Set handle of created process in `h'.
14709 Result is process id if created task.
14710 (allocate_spawn_entry): New function.
14711 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
14712 (_execve): Set __FD_TABLE__ before spawning child.
14713 Scan our fd table when passing fds, not our parent's.
14714 Store handle and pid in procinfo entry.
14715 (vfork0): Ensure strace message always printed.
14716 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
14717 (vfork): Don't clobber result of vfork0.
14718 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
14719 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
14721 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
14723 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
14724 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
14725 adding vfork level to pseudo-pid.
14726 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
14727 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
14728 (_exit): If child, set exit code.
14729 (__vfork_record_death): Only close process handle if valid.
14730 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
14732 (wait_for_any): Likewise. Start scan after root entry.
14734 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14736 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
14737 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
14738 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
14739 of actual file length.
14741 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
14742 * libc/include/paths.h: _PATH_BSHELL added.
14743 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
14746 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14748 * libc/include/ar.h: Added.
14749 * libc/include/sys/types.h: ino_t goes back to 32-bits.
14750 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
14751 * libc/sys/win32/syscalls.c (_open): compute .namehash based
14753 (_fstat): use .namehash for inode number of the fd.
14755 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
14757 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
14758 Change hinfo to __this_procinfo.
14759 * libc/sys/win32/crt0.c: Remove procinfo_list.
14761 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14763 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
14766 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14768 * libc/sys/win32/include/grp.h: Removed.
14769 * libc/sys/include/grp.h: Added.
14770 * libc/sys/win32/grp.c: Include <grp.h>.
14772 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
14774 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
14775 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
14776 Defined for all but strict ANSI.
14777 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
14778 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
14779 * libc/signal/signal.c (_signal_r): Changed from using
14780 _MAX_SIGNALS to NSIG.
14781 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
14783 (__strace, __vfork_next_pid): New.
14784 (__exe_suffix): Default to 1.
14785 (passover, table): Understand quoted arguments.
14786 (vfork_init_first): New.
14787 (vfork_init): Initialize new process structure.
14788 (mainCRTStartup): Pass environ to main.
14789 * exceptions.c (__sig_mask): New
14790 (ehandler3): Ignore signals in mask.
14791 (really_exit): Remove CHILD_P test.
14792 * pipe.c (pipe, dup, dup2): Use new process and file structure.
14793 * resource.c (getrusage): Ditto.
14794 * signal.c (sigprocmask): New.
14795 * spawn.c (*): Rewritten.
14796 * syscalls.c (*): Use new process and file structure.
14797 (find_unused_handle): New.
14798 * syscalls.h (MAX_HANDLES): Deleted.
14799 (hinfo): Removed child_created_p.
14800 (MAX_CHILDREN): Deleted.
14801 (vfork_jmp_info, procinfo): New.
14802 * wait.c (*): Mostly new.
14803 * sys/strace.h (_STRACE_PARANOID): New.
14804 * sys/param.h: New file.
14806 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14808 * libc/include/sys/stat.h: add S_BLKSIZE.
14809 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
14810 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
14812 (mode_t): add a #else to avoid multiple definitons.
14814 * libc/sys/win32/Makefile.in: add grp.c.
14815 * libc/sys/win32/grp.c: include grp.h correctly.
14816 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
14817 of the st structure with real information.
14818 * libc/sys/win32 (dirent): d_ino is of type ino_t.
14820 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
14822 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
14823 and (maybe) sparc64.
14824 (nlink_t): Provide typedef.
14826 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14828 * libc/sys/win32/grp.c: New file.
14829 * libc/sys/win32/include/grp.h: New file.
14831 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14833 * libc/include/machine/ieeefp.h: Added whitespace to make this
14834 file easier to maintain.
14835 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
14836 depending on the value of __LITTLE_ENDIAN__.
14837 On the sh3e, define _DOUBLE_IS_32BITS.
14839 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
14841 * libc/sys/vr4300/syscalls.c: Added missing support
14842 routines. _raise() and getpid().
14844 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
14846 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
14848 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
14850 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
14851 and VR4300 processor.
14852 * libc/sys/vr4300: Add directory.
14853 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
14854 monitor run-time support.
14856 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14858 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
14859 * libc/stdlib/stdlib.tex: Don't include atol.def.
14861 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14863 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
14865 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
14867 * libc/ctype/Makefile.in: Fill in _to* dependencies.
14869 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
14871 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
14872 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
14873 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
14874 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
14875 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
14877 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14879 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
14881 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14883 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
14884 * libc/stdlib/atoff.c: New file.
14885 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
14886 * libc/stdlib/atoi.c (atol): Removed.
14887 * libc/stdlib/atol.c: Removed duplicate documentation.
14889 * libc/include/ctype.h (_tolower, _toupper): Moved inside
14890 #ifndef _STRICT_ANSI conditional.
14891 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
14892 * libc/ctype/_tolower.c: New file.
14893 * libc/ctype/_toupper.c: New file.
14894 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
14895 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
14896 * libc/ctype/toascii.c (_toascii): Removed.
14898 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
14900 * libc/sys/sparc64/sys/types.h: Deleted.
14902 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14904 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
14905 and recognize Windows_95 systems.
14907 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14909 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
14910 and passed fds should be opened in text mode.
14912 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14914 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
14915 in __hmap, set to binary mode by default.
14917 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14919 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
14920 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
14923 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
14925 * Makefile.in (install): Install all libraries found in the
14926 top level. If there's a sys/<type>/include directory,
14927 install those headers into include.
14929 * libc/sys/win32/kernel.def351: Delete
14930 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
14931 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
14932 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
14933 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
14934 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
14935 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
14936 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
14937 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
14939 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
14940 * libc/sys/win32/crt0.c: Force all env names to upper case.
14941 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
14942 * libc/sys/win32/*.c: Headers have moved.
14943 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
14944 __vfork_child_idx is now __vfork_child_ptr.
14946 * posix/execvp (execvp): Don't crash if no PATH envname.
14948 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14950 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
14951 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
14952 through the _freelist instead of through the _reclaim list.
14953 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
14954 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
14957 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14959 * libc/machine/h8500/setjmp.S: New file.
14960 * libc/include/machine/setjmp.h: Updated for H8/500.
14962 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
14964 * libc/sys/win32/syscalls.c (_open): More stracing.
14965 (_stat): Open the file in O_BINARY.
14967 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14969 * libc/machine/h8300/setjmp.S: New file.
14970 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
14972 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
14974 * libc/sys/win32/crt0.c (__exe_suffix): New global.
14975 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
14976 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
14977 __exe_suffix. Free fd_tab after setting env variable.
14978 (spawnv,_execve): Update.
14979 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
14980 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
14981 (__small_vfprintf): New function.
14982 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
14983 * libc/sys/win32/wait.c (cwait): Validate argument.
14985 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
14986 (process_deletion_queue): Likewise.
14988 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
14990 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
14992 * libc/sys/win32: Copyrights and gratuitous indenting.
14994 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
14996 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
14997 (process_deletion_queue): Likewise.
14998 (__close_all_files): New function.
14999 (_close): Only queue file deletion if really a file.
15000 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15002 (_exit): Call __close_all_files.
15004 * libc/stdlib/system.c: #include <errno.h>.
15005 (_system_r): Fix results in -DNO_EXEC case.
15007 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15008 Reorganize structure.
15009 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15010 if argument is valid. Save directory name in DIR. malloc space
15011 for dirent struct separately.
15012 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15014 * libc/include/errno.h (ENAMETOOLONG): Define.
15015 * libc/string/strerror.c (strerror): Reword ENFILE.
15016 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15018 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15020 * libc/sys/win32/crt0.c (__progname): New global.
15021 (mainCRTStartup): Support strace=bitmask,filename.
15022 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15023 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15025 (getcwd): Handle len too small. Convert '\\' to '/'.
15026 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15027 Add prototypes for open, creat, fcntl.
15028 (O_APPEND): Change value to conform to Microsoft's value.
15029 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15031 * libc/stdlib/getopt.c: New file.
15032 * libc/stdlib/Makefile.in: Build it.
15034 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15036 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15037 Fix scanning of $PATH.
15038 * libc/posix/exec*.c: Call _execve, not execve.
15039 * libc/posix/execve.c: New file.
15040 * libc/posix/Makefile.in (OFILES): Add execve.o.
15042 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15043 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15044 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15045 * libc/sys/win32/crt0.c: Update _STRACE calls.
15046 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15048 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15050 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15051 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15052 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15053 Print __seterrno trace message first.
15054 (_execve): Renamed from execve.
15055 (vfork): Update __strace usage.
15056 (__vfork_child_pid): Deleted.
15057 (__vfork_children, __vfork_child_idx): New globals.
15058 (_spawnvp): New function.
15059 (spawnvp, spawnv, _execve): Call _spawnvp.
15060 (init_child): Record child in __vfork_children.
15061 (__vfork_get_entry, __vfork_record_death): New functions.
15062 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15063 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15064 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15065 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15066 (children): New typedef.
15067 (__vfork_children,__vfork_child_idx): Declare.
15068 (__vfork_get_entry,__vfork_record_death): Declare.
15069 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15070 (waitpid): Handle pid == -1.
15071 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15072 * configure.in (i386-win32): Add -DNO_FORK.
15073 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15074 * libc/reent/execr.c (_fork_r): Likewise.
15075 * libc/stdlib/system.c (do_system): New function.
15076 If WIN32, try to get shell path from $SH_PATH, use vfork.
15077 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15078 otherwise return 0.
15080 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15082 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15083 * libc/sys/win32/fcntl.h: Don't include self.
15084 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15085 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15086 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15087 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15088 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15089 Correct prototypes.
15090 * libc/sys/win32/strace.c: New file.
15091 * libc/sys/win32/smallprint.c: New file.
15092 * libc/sys/win32/crt0.c (func): Delete.
15093 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15094 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15095 * libc/sys/win32/exceptions.c: Lint.
15096 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15097 Clean up handle usage.
15098 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15099 (open.c): Default file type is text.
15100 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15101 * libc/sys/win32/advapi32.def: New
15103 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15105 * configure.in (posix_dir, libc_posix_lib): New variables.
15106 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15107 (i[345]86-*-win32): Define posix_dir.
15108 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15109 (if unix_dir): Fix typo.
15110 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15111 scandir,seekdir,telldir}: New files.
15112 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15114 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15115 (SUBDIRS): Add posix.
15116 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15118 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15119 (NSIG): Increase to 21.
15120 * libc/include/sys/unistd.h (pid_t): Move from here,
15121 * libc/include/sys/types.h (pid_t): to here.
15123 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15124 (__ptrace): Delete.
15125 (hinfo): New members close_exec_p, child_created_p.
15126 (struct exception_list): Define.
15127 (__hmap): Redefine as pointer to table.
15128 (__parent_hmap, __child_hmap): New globals.
15129 (__set_errno, __really_exit): Declare.
15130 (__vfork_child_pid): Declare.
15131 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15132 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15133 (__parent_hmap, __child_hmap): New globals.
15134 (__hmap): Redefine as pointer to active map.
15135 (__get_console): New function.
15136 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15137 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15138 mapping table from it if defined.
15139 (argv, envp): Dump if __strace >= 4.
15141 * libc/sys/win32/exceptions.c (myp): Redefine.
15142 (__syscalls_b): Delete.
15143 (__stack_trace): New function.
15144 (ehandler3): Update to use _STRACE. Print stack trace.
15145 Call __really_exit instead of exit.
15146 (init_exceptions): Delete args argc,argv. New arg mine.
15147 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15148 FindFirstFileA, FindNextFileA, GetComputerNameA,
15149 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15150 * libc/sys/win32/signal.c (signal): Validate arg.
15151 (alarm, sleep): Define as stubs for now.
15152 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15153 (__syscalls_b, errno): Delete.
15154 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15155 (__seterrno): Handle more errors.
15156 (__sys_printf): Renamed from _ptrace.
15157 (__really_exit): New function.
15158 (queue_file_deletion, process_deletion_queue): New functions.
15159 (__resume_parent): New function.
15160 (_unlink): Handle trying to delete open file.
15161 (__totime_t): Renamed from totime_t.
15162 (setsid, __read, __write): New functions.
15163 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15164 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15165 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15166 * libc/sys/win32/console.c: Update to new definition of __hmap.
15167 * libc/sys/win32/Makefile.in: Build new files.
15168 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15169 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15170 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15171 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15173 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15175 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15177 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15179 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15180 have been made to the master dtoa.c sources (from netlib.att.com)
15181 since they were integrated into newlib in early 1992. Fixes
15182 problems with storage leaks and handling of numbers with very
15183 negative exponents.
15185 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15187 * Makefile.in (all): set rootpre and srcrootpre before calling
15190 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15192 * libc/sys/win32/crt0.c: Change __hmap usage.
15193 * libc/sys/win32/exceptions.c: Use _ptrace call.
15194 * libc/sys/win32/syscalls.c: Use _ptrace call.
15195 (read, write): Cope with DOS style CRLF when in TEXT mode.
15196 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15197 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15198 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15199 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15200 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15202 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15204 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15206 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15207 wrappers for hypot() and remainder() for BSD libm compatibility.
15208 These are public domain implementations written by me for the
15209 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15210 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15211 (fobj): Added wf_cabs.o and wf_drem.o.
15213 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15215 * libc/sys/h8500hms/misc.c: New file.
15216 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15218 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15220 * libc/time/localtime.c (localtime): Fix problem with leap year
15221 handling. Stole algorithm from Arthur David Olson's tz code.
15223 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15225 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15227 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15228 (_exit): Use argument.
15230 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15232 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15234 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15236 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15238 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15240 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15243 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15245 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15246 ptrace with case insensitivity
15247 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15248 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15251 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15253 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15254 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15255 (all, install, *clean): Use new multilib support.
15256 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15258 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15260 * libc/include/sys/signal.h (__WIN32__): New.
15262 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15264 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15265 (ulp, b2d): Handle 32 bit doubles.
15266 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15267 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15269 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15271 from medp@primag.co.uk:
15272 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15273 dynamically allocated buffers.
15275 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15277 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15278 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15280 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15282 * configure.in (powerpc): Fix previous fix.
15284 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15286 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15287 directories for this target.
15289 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15291 * configure.in (hppa): Add machine_dir definition.
15292 * libc/machine/hppa: New directory with PA specific implementations
15293 of the basic memory/string functions.
15295 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15297 * configure.in: Update current PowerPC multilib directories.
15298 Split big and little endian configurations.
15300 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15302 * configure.in: Add --enable-single-float option to configure to
15303 control use of MIPS single-float directories. Default to yes.
15305 * Makefile.in (all): Don't recurse into multilib directory if it
15308 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15310 * libc/sys/sh/syscalls.c: Fix typo.
15312 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15314 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15316 * libc/include/process.h: Define WAIT_CHILD.
15317 * libc/include/types.h: Get sizes right for win32.
15318 * configure.in (i386-*-pe): Becomes i386-win32.
15319 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15320 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15321 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15324 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15326 * configure.in (i[345]86-*-pe): New target (NT).
15327 * host/any: DLLTOOL new.
15328 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15329 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15330 WIN32 (just enough to cross host the comp-tools).
15332 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15334 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15335 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15337 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15339 * libc/include/machine/ieeefp.h (arm): Change to always be
15340 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15342 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15344 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15345 * libc/sys/syscalls.c (abort): New.
15346 * configure.in (arm): Define ABORT_PROVIDED.
15348 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15350 * configure.in (powerpc): Define multidirs.
15352 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15354 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15356 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15358 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15360 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15362 * configure.in, libc/include/machine/ieeefp.h: Modified
15364 libc/machine/arm/*, libc/sys/arm/*: New
15366 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15368 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15369 __powerpc__ when determining endianness.
15371 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15373 * configure.in (m68*): Add multidir for the m68332.
15375 * host/any (CC): Fix typo in last change.
15377 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15379 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15380 when determining endianness.
15381 * libc/include/machine/ieeefp.h: Ditto.
15382 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15385 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15387 * libc/include/errno.h (ENOTEMPTY): Define.
15389 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15391 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15394 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15397 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15398 instead of only when open succeeds. ANSI requires that multiple
15399 calls to tmpnam() result in different files.
15401 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15402 objects pulled in from /lib/libc.a that must be renamed before
15403 being pulled into newlib. /lib/libc.a's div.o conflicted with
15404 newlib's file with the same name.
15406 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15408 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15409 the build tree will only be used if the executables are present
15410 (instead of just the Makefiles).
15412 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15414 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15415 versions of these functions that I orignally wrote for the
15417 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15418 versions I wrote for NetBSD.
15420 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15422 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15423 * libc/sys/sparclite/crt0.s: ditto.
15425 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15427 * configure.in: Add soft-float for proelf.
15429 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15431 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15434 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15436 * Makefile.in (all): Depend on `force'.
15437 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15438 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15439 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15440 * libc/Makefile.in: Likewise.
15441 * libc/include/reent.h: Update syscall references.
15442 (_fcntl_r): Add prototype.
15443 * libc/syscalls/*.c #include <reent.h>.
15444 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15446 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15448 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15449 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15450 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15451 (time.h, sys/types.h): Always include (even if MSDOS).
15452 (stat): Fix prototype.
15454 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15456 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15458 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15460 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15462 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15464 * libc/include/regdef.h: New file.
15465 * libc/machine/mips/machine/regdef.h: New file.
15467 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15469 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15471 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15473 * libc/sys/sh/crt0.S: Pass main's return to exit.
15474 * libc/sys/sh/trap.S: Put errno in the right place.
15476 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15478 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15479 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15480 * libm/math/ef_rem_pio2.c: Likewise.
15481 * libm/math/e_log10.c: Remove unused static one.
15482 * libm/math/ef_log10.c: Likewise.
15483 * libm/math/s_frexp.c: Likewise.
15484 * libm/math/sf_frexp.c: Likewise.
15486 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15488 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15489 longjmp.S: Upgraded.
15490 * libc/sys/go32/sys/setjmp.h: Upgraded.
15491 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15493 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15495 * configure.in: Add many entries to multidirs for mips targets.
15497 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15499 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15500 5.2 which fixes bug where jn(-1,x) is three times larger than
15502 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15504 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15506 * libc/sys/w65/sys/syscalls.h: New file
15507 * libc/include/machine/ieeefp.h: W65 support.
15508 * libc/include/sys/config.h: Ditto.
15509 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15510 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15511 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15513 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15515 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15517 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15519 * Makefile.in, configure.in: Remove any references to the old
15522 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15524 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15525 uses ... in prototype.
15528 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15530 * libc/sys/a29khif/sys/libconfig.h: Remove.
15531 * libc/sys/go32/sys/libconfig.h: Remove.
15532 * libc/sys/sun4/sys/libconfig.h: Remove.
15533 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15534 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15535 * libc/sys/sparc64/sys/libconfig.h: Remove.
15537 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15538 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15539 * libc/include/math.h: Change all uses of _FLOAT_RET and
15540 _FLOAT_ARG to float.
15541 * libm/test/math.c: Likewise.
15542 * testsuite/libm.sac/math.c: Likewise.
15543 * testsuite/libm.sac/working/math.c: Likewise.
15545 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15547 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15548 gcc calls gas with endian option.
15549 * configure.in (sh): Build little endian version too.
15551 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15553 * configure.in: Configure big and little endian versions for MIPS
15556 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15558 * libc/include/limits.h: Deleted.
15559 * libc/include/machine/limits.h: Deleted.
15561 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15563 * ChangeLog: Remove stub directory. This has all been rewritten
15564 and moved to devo/libgloss.
15566 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15568 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15569 (docs): Merge into info target.
15570 * libm/Makefile.in (dvi): Add $(srcdir).
15571 * libm/math/Makefile.in (chobjs): Remove underscores from file
15572 names. Texinfo doesn't like them.
15573 (wacos.def, ...): Add explicit targets for all .def files.
15574 * libm/math/math.tex: Remove underscores from @include file names.
15575 * doc/Makefile.in (dvi): Add dummy target.
15576 * testsuite/Makefile.in (dvi): Add dummy target.
15578 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15580 * Makefile.in (VERSION): Define. For net newlib releases.
15582 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15584 * README: New file.
15586 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15588 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15590 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15592 * libc/stdlib/setenv.c (_findenv): Declare.
15594 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15595 fcntl to not use _EXFUN, and change string parameters to open and
15596 creat to be ``const char *''.
15597 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15598 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15599 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15600 (open) Make _FILE const.
15601 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15602 (_creat): Make PATH const.
15603 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15604 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15605 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15606 * libc/sys/sh/syscalls.c (_open): Likewise.
15607 * stub/shared/glue.c (open): Make BUF const.
15608 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15610 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15612 * libc/include/errno.h: Add ENMFILE
15613 * libc/include/sys/config.h: Support Z8000.
15614 * libc/include/sys/signal.h: New signals for go32.
15615 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15616 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15617 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15618 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15619 size is variable, depending upon CHUNK_POWER.
15620 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15622 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15624 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15626 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15628 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15630 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15632 * configure.in: Change i[34]86 to i[345]86.
15634 * libc/include/math.h: Don't define HUGE_VAL if it is already
15637 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15639 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15640 * testsuite/libm.sac/test_gammaf.c: Likewise.
15641 * testsuite/libm.sac/test_sin.c: Likewise.
15642 * testsuite/libm.sac/test_tanh.c: Likewise.
15644 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15646 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15647 already set. Define typedefs __int32_t and __uint32_t.
15648 * libc/include/math.h: Include <machine/ieeefp.h>.
15649 (union __dmath): Use __uint32_t.
15650 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15651 instead of int and unsigned int.
15653 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15655 Replace the math library with the SunPRO fdlibm package.
15656 * libm/math: Completely changed all files.
15657 * libm/ieeefp: Remove contents and directory.
15658 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15659 (SUBDIRS): Just set to math/lib.a.
15660 * libm/libm.texinfo: Updated for new library.
15661 * libc/include/math.h: Extensive changes for new math library.
15662 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
15663 from _FLOAT_ARG to float.
15664 (maxpowtwo, maxpowtwof): Don't declare.
15665 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
15666 (libm_fp_lib): Removed.
15667 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
15668 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
15669 argument to ${RUNTEST}.
15670 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
15672 (RUNTESTFLAGS): Set CC and CFLAGS.
15673 (TESTS): Remove test_log2 and test_log2f.
15674 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
15675 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
15676 _FLOAT_ARG, for single precision argument type.
15677 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
15678 expected failure. Close the input pipe.
15679 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
15680 Correct misspelling of inaccurate.
15681 (test_mok): Use ``inaccurate'', not ``wrong''.
15682 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
15683 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
15684 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
15685 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
15686 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
15687 test_yn.c): Correct many result values. Many are still wrong.
15689 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
15690 just copy the string.
15691 (_gcvt): Always return the buffer.
15693 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15695 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
15697 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
15699 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
15701 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
15702 (_reclaim_reent): declare new entry point.
15703 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
15706 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
15707 ever allocated, so that we can later reclaim them all.
15708 (pow5mult): make reentrant.
15710 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
15711 so that when given NULL as a buffer, return a pointer to static
15712 space in the rent structure. This is not documented behaviour;
15713 it's only to support ecvt and fcvt, which aren't ANSI anyway.
15714 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
15715 therefore become reentrant).
15717 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
15719 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15721 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
15723 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15725 * Makefile.in: Make link to libg.a after libc.a; this is needed
15726 for the testsuites to build executables when everything comes
15729 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
15731 * libc/Makefile.in: Add a VERSION variable so we can keep track.
15732 * libm/Makefile.in: Add a VERSION variable so we can keep track.
15734 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15736 * libc/include/stdio.h: Use __VALIST, not va_list.
15738 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
15740 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
15741 testsuite/libm.sac/execute.exp:
15742 Replace error proc calls with perror calls.
15744 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
15746 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
15747 * libc/include/time.h: #define NULL as 0L.
15749 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
15751 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
15754 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15756 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
15759 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
15761 * configure.in (TARGET_CFLAGS): Set -O2 as default.
15762 (z8k-*-*): Use syscalls fake sys dir.
15763 * libc/sys/z8k/glue.c: Rename syscalls.
15764 * libc/sys/go32/Makefile.in: Use new routines.
15765 * libc/machine/Makefile.in: Fix typo in ln stuff.
15767 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15769 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
15770 * libc/Makefile.in (crt0.o): Likewise.
15771 * libc/machine/Makefile.in (lib.a): Likewise.
15772 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
15774 All Makefile.in files: Added mostlyclean, realclean and distclean
15777 * Makefile.in: Don't bother to unexport XTRAFLAGS or
15778 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
15779 the top level Makefile.
15781 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
15783 * libc/sys/sparc64/sys/stat.h: New file.
15784 * libc/sys/sparc64/sys/time.h: New file.
15785 * libc/sys/sparc64/sys/types.h: New file.
15787 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
15789 * stub/ex93x/crt0.s (start): Add code to clear bss.
15791 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
15793 * libc/include/sys/types.h (time_t): Properly protect inside
15794 #ifndef __time_t_defined.
15796 * libc/stdio/fileno.c: New file.
15797 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
15798 (fileno.o): Add dependency.
15799 * libc/include/stdio.h (__sgetc): Rename never to _never.
15800 (fileno macro): Disable, needs to do CHECK_INIT first.
15802 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
15804 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
15807 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
15808 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
15810 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
15813 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
15815 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
15816 of the various constants.
15818 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
15820 * libc/include/math.h: #ifndef __math_68881 around things which
15821 conflict with the (gcc-provided) inline functions in
15822 gcc/ginclude/math-68881.h.
15824 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
15826 * libc/include/_syslist.h (_gettimeofday): Define.
15828 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
15829 (struct tms, timeval, timezone): Declare.
15830 (_gettimeofday_r, _times_r): Declare.
15831 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
15832 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15833 (time_t): Add multiple definition protection, __time_t_defined.
15834 * libc/include/sys/time.h: Don't #include <time.h>.
15835 Always define struct timezone (remove #ifndef _TIME_H_).
15836 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
15837 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15838 * libc/reent/Makefile.in (OFILES): Add timer.o.
15839 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
15840 * libc/reent/timer.c: New file.
15841 * libc/time/clock.c: #include <reent.h>.
15842 (clock): Call _times_r instead of times.
15843 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
15844 HAVE_GET_TIME_OF_DAY.
15845 Add comment regarding supporting OS routine(s) required (for docs).
15846 #include <reent.h>.
15847 (time): Call _gettimeofday_r instead of gettimeofday.
15848 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
15849 * libc/time/ctime.c: Ditto.
15850 * libc/time/strftime.c: Ditto.
15851 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
15852 (TEMPLATE_SFILES_R): Define here. Also define times.
15853 Add times_r.o/times.S dependence.
15854 (time2.c, junk.c): Deleted.
15855 * libc/sys/sparc64/time2.c: Deleted.
15856 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
15858 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
15859 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
15860 * libc/sys/sparc64/junk.c: Deleted.
15862 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
15864 * libc/sys/sparc64/Makefile.in: Add times syscall.
15865 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
15866 be used with and without it. Add comment clarifying Medium/Anywhere
15867 model requirements.
15868 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
15869 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
15872 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
15874 * configure.in (target_cflags): Move init.
15875 (sparc64-*-*): Define HAVE_BLKSIZE.
15877 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
15879 * libc/include/sys/_types.h: New file.
15880 * libc/include/reent.h: #include it.
15881 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
15882 MISSING_SYSCALL_NAMES.
15884 * libc/include/_syslist.h: Remove _raise.
15885 * libc/reent/signalr.c: New file.
15886 * libc/reent/Makefile.in: Compile it.
15887 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
15888 Add doc for raise and _raise_r.
15889 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
15890 (raise): Call _raise_r.
15891 (_raise_r): Call _getpid_r and _kill_r.
15892 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
15893 (abort): Loop forever calling raise and _exit.
15895 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15897 * configure.in: Remove extraneous echo.
15899 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
15901 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
15902 collision with unistd.h, and fix for svr4.
15904 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
15906 * libc/stdio/local.h (_llicvt): Declare.
15907 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
15908 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
15910 (_sicvt): Fix function header (`value' is short).
15911 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
15912 Add printing of long long's support.
15913 Add printing of 8 byte pointer support.
15915 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
15917 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
15918 stat, chmod): New hooks.
15919 (sbrk): Abort if stack and heap collide.
15920 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
15921 shortcut when given small args.
15922 * libc/machine/sh/setjmp.s: Rewritten.
15923 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
15924 of cmp/str instruction.
15926 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15928 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
15929 and machine_dir powerpc.
15930 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
15931 Add cases for __powerpc__.
15932 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
15935 * libc/include/stdio.h (_iprintf_r): Declare correctly.
15937 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
15939 * libc/stdlib/callocr.c: New file with _calloc_r in it.
15940 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
15942 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
15944 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
15945 (print_e): More comments to describe args, etc.
15946 "type" arg may now be 'g' or 'G' for %g/G format --> remove
15948 (_gcvt): Remove locals decpt, sign, end, p, done.
15949 More comments for print_e invocation.
15950 Pass "type" to print_e as is (g/G).
15952 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
15954 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
15957 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
15959 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
15960 works with any sized pointer, including ones bigger than ints and
15963 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
15965 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
15967 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15969 * libc/include/stdlib.h (_calloc_r): Add prototype.
15970 * libc/machine/h8500/negsi2.c: New file.
15971 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
15972 large unsigned numbers.
15973 * libc/machine/h8500/cmpsi.c: Add cmppsi.
15974 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
15975 works when sizeof(size_t) != sizeof(char *).
15976 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
15978 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
15980 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
15982 * libc/include/assert.h (assert): Handle -traditional.
15984 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
15986 * Makefile.in: added ; after every "fi" and "done" that wasn't at
15987 the end of a line (ie. anything before a backslash continuation)
15988 so that bash handles them.
15990 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15992 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
15995 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
15997 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
15998 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
15999 libc/machine/sh/udivsi3.s: Use new calling convention.
16001 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16003 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16004 chmod, access, chdir, chown by making _path const. Also fix _amode
16007 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16009 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16010 _khif_tmpnam, because it doesn't comply with ANSI but may be
16011 useful anyway. Real tmpnam was already in libc/stdio, and was
16012 colliding with this one (pr 2176.)
16013 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16014 the wrong idea anyhow.
16016 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16018 * configure.in: Remove h8300h, we have multilib now.
16020 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16022 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16023 functions, to get preference over the ones in libiberty (since we
16024 provide correct declarations in <string.h>.
16025 * libc/string/Makefile.in: add support for strncasecmp,
16028 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16030 * Change netware config not to look for cpu explicitly.
16032 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16034 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16035 * libc/sys/sparc64/Makefile.in: Add dependencies.
16037 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16039 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16041 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16043 * libc/include/sys/reent.h: make structure smaller by allocating
16044 some stuff when needed.
16045 * libc/signal/signal.c: allocate as needed
16046 * libc/stdio/findfp.c,stdio/local.h: ditto
16047 * libc/stdlib/mprec.c: ditto
16049 * libc/time/localtime.c: don't return a dangling stack ptr.
16051 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16053 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16055 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16057 * libc/include/stdio.h (__sputc): comment out static inline which
16058 confuses coff toolchains.
16060 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16062 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16063 _write.s, getpid.c, kill.c, read.s}:
16064 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16065 through the syscalls directory.
16067 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16069 * configure.in: fixed double quote gotcha.
16071 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16073 * stub/ex931: stub library for sparclite board.
16074 * stub/idp: Renamed from mc68ec. Added contructor table
16075 stuff to linker script.
16076 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16077 stuff to linker script.
16079 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16081 * configure.in: Configure testsuites only if they exist.
16083 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16085 * configure.in: Don't set machine_dir for i386 until there is
16086 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16087 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16088 CLOCK_PROVIDED and MALLOC_PROVIDED.
16090 * libc/sys/netware: New directory. Contains simplistic and
16091 probably incorrect stubs for NetWare. Should be enough to load
16093 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16094 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16097 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16098 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16099 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16100 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16102 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16104 * testsuite/Makefile.in: add "docs" dummy target for consistency
16105 with rest of newlib; turn "info" and "install-info" into dummy
16106 targets, since they wouldn't have worked. (Depended on
16107 nonexistent "doc" subdir.)
16109 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16111 * configure.in: handle mips* instead of mips
16113 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16115 * libc/include/sys/dirent.h: New file. If it is not overridden by
16116 a version of libc/sys/*/sys/dirent.h, it includes the next
16117 <dirent.h> file in case there is one lurking somewhere.
16119 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16121 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16122 compliance, namely: Accept a minus sign. Consider a single 0 with
16123 a radix of 0 as being a conversion. Determine overflow correctly.
16124 If an overflow occurs, set *ptr to the end of the number, not the
16126 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16128 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16130 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16132 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16134 * Makefile.in (INSTALL): Use $srcrootpre.
16135 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16137 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16139 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16140 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16141 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16142 * libm/math/Makefile.in (matherr.o): Ditto.
16144 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16146 * configure.in: Build multidirs for z8k.
16147 * libc/include/stdlib.h (_strtoul_r): add prototype.
16148 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16149 * libc/include/machine/setjmp.h: Add for z8k.
16150 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16151 * libc/sys/z8ksim/glue.c: tidy up.
16153 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16155 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16156 New files. Requires execve system call.
16157 * libc/unix/Makefile.in: Use them.
16158 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16159 Deleted, moved to libc/unix.
16160 * libc/sys/sparc64/Makefile.in: Remove them.
16162 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16164 * libc/sys/sparc64/{template.S template_r.S}: New files.
16165 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16167 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16168 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16169 umask.S unlink.S wait4.S write.S}: Removed, now built from
16172 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16174 * libc/time/time.c: #include <_ansi.h>.
16176 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16178 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16180 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16182 * configure.in: match m8* rather than m88k so that m88110 is
16183 recognized as well.
16185 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16187 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16188 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16191 * configure.in: Add multilib support to h8300.
16193 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16195 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16196 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16197 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16199 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16201 * configure.in: Corrected multidirs for sparc target.
16203 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16205 Support for building newlib multiple times with different
16207 * configure.in: Only configure doc at top level. Set multidirs
16208 when appropriate for target, unless not at top level. If
16209 multidirs is set, independently configure each subdirectory.
16210 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16211 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16212 automagically set by configure.in.
16213 (all): If MULTIDIRS is set, build multiple copies of libraries.
16214 (install): If MULTIDIRS is set, install multiple copies of
16215 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16216 MULTISUBDIR is set, don't bother to install header files.
16217 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16219 * stub/configure.in: Set MULTISUBDIR appropriately.
16220 * stub/Makefile.in (install): Install in
16221 $(tooldir)/lib/$(MULTISUBDIR).
16222 * All Makefile.in files: Define SRCTOP as well as TOP.
16224 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16226 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16227 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16229 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16231 * libc/sys/h8300hms/exit.c (_exit): New function.
16233 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16235 * configure.in: recognize m88110.
16237 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16239 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16240 prototype main and call with args.
16242 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16244 First real try at system traps for m88k-bug.
16245 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16246 to real trap calls.
16247 * libc/sys/m88kbug/sys/systraps.h: new file.
16249 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16251 Patches to fix info building when target does not use sys
16253 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16254 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16256 * libc/sys/Makefile.in (doc): do nothing.
16258 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16260 * libc/Makefile.in (CRT0): new macro.
16261 (all): depend on $(CRT0) rather than crt0.o.
16263 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16264 do not default crt0, instead, set crt0 and crt0_dir based on
16265 sys_dir and stub_dir.
16267 * Makefile.in (CRT0_DIR): new macro.
16268 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16269 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16271 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16273 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16275 * testsuite/lib/libm.exp:
16276 added code to support compiling and linking of tests for
16277 libm.sac (paranoia to be added next) and processing the
16278 pass or failure of the tests.
16280 * testsuite/config/unix-libm.exp:
16281 platform specific proc's for dealing with compiler, linker
16282 and the way we execute and process the test results.
16284 * testsuite/libm.sac/execute.exp:
16285 generic framework for the sac tests. the config and lib
16286 expect code for specific platforms tie it all together.
16288 * testsuite/libm.sac/test_is.c:
16289 changed the output of the test to be consistant with the
16290 other tests. parsing of pass nad fail messages is now fixed.
16292 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16294 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16295 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16296 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16297 #ifdef __cplusplus, surround by extern ""C { ... }.
16298 * libc/include/assert.h: Do *not* protect assert.h against
16299 multiple inclusion! Also, #undef it before #define, to allow
16301 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16302 should be only in unistd.h.
16304 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16305 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16308 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16310 * libc/machine/sparc/Makefile.in: Must create a library, even
16313 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16315 * configure.in: set machine_dir for m88k. edit crt0 definition
16318 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16320 * libc/Makefile.in (all): also build crt0.o.
16322 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16323 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16326 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16327 (all): reworked to build in place.
16328 (clean): remove lib.a
16329 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16331 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16332 (_start): key off edata rather than _start_bss.
16334 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16336 * libc/include/sys/unistd.h, libc/include/reent.h,
16337 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16339 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16341 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16343 * Makefile.in (libc.a): break into two rules, one for libc.a and
16344 one for libc/libc.a. Force subdirs current before rebuilding
16346 (libm.a): break into two rules, one for libm.a and one for
16347 libm/libm.a. Force subdirs current before rebuilding library.
16349 * libc/Makefile.in (SUBLIBS): fix typo.
16351 * libc/sys/Makefile.in (all): force descent into subdirs, then
16352 rebuild library iff out of of date.
16354 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16356 Rework so that library is built and then finished rather than
16357 being built on each invocation of make.
16359 * host/any (machine_dir, sys_dir, signal_dir): these are not
16360 shared and have been moved to their associated Makefile.in's.
16361 (AR_FLAGS): switch to qc which is faster.
16362 * configure.in: no longer assign machine_dir for m88k. set
16363 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16364 stub_dir set, then add to configdirs. add comment about silly
16366 (configdirs): drop stub. It will be added only
16368 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16369 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16370 stub_lib, crt0): new variables for tailoring lower level
16371 makefiles. Assign accordingly and edit into makefiles.
16372 * libm/Makefile.in: updated copyright.
16373 (TARGETLIB): removed.
16374 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16375 (SUBDIRS): removed TARGETDEP_DIRS.
16376 (LIBM_FP_LIB, SUBLIBS): new macros.
16378 (force): new target to force rebuilds.
16379 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16380 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16381 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16382 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16383 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16384 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16385 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16386 stub/m68kmvme/Makefile.in: updated copyright.
16387 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16388 (all): reworked. made this the default rule.
16389 (clean): also remove lib.a.
16390 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16391 * stub/Makefile.in: updated copyright.
16392 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16393 (stub_lib): new macro.
16394 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16397 (clean, install): assume stub_dir exists.
16398 (Makefile): depend on configure.in. call $(SHELL) rather than
16399 sh. drop redundant ./
16400 * stub/configure.in (stublib): new macro, assign it, edit it into
16402 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16405 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16406 * libc/Makefile.in (TARGETCRT0): removed.
16407 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16409 (SUBDIRS): drop TARGETDEP_DIRS.
16410 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16411 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16412 (force): new target to force rebuilds.
16413 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16414 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16416 (clean): assume sys_dir always exists.
16417 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16419 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16420 libc/locale/Makefile.in, libc/machine/Makefile.in,
16421 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16422 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16423 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16424 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16425 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16426 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16427 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16428 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16429 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16430 libc/time/Makefile.in, libc/unix/Makefile.in,
16431 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16432 (TARGETLIB): removed.
16434 (clean): also remove lib.a.
16435 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16436 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16438 (SUBDIRS): moved to follow frag inclusion, change stub to
16440 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16441 are now set in the libc Makefile.
16442 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16443 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16445 (force): new target to force rebuilds.
16446 * stub/configure.in: determine and set stub_lib for for Makefile.
16448 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16450 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16451 crt0.s renamed to crt0.S.
16452 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16454 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16455 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16457 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16458 h8300 (16 bits) and h8300h (32 bits).
16459 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16460 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16462 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16464 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16465 implementation of setjmp and longjmp for the m88k.
16466 * libc/include/machine/setjmp.h: Added __m88000__ case.
16468 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16470 * configure.in: Recognize h8300h as variant of h8300.
16472 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16474 * libc/include/sys/unistd.h (read, write): get prototypes right.
16475 (sbrk): New prototype.
16476 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16477 * libc/stdio/local.h: Include unistd.h.
16478 * libc/machine/h8300/syscalls.c: Names have changed.
16480 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16482 * configure.in: add sys_dir assignment for m88k-bug.
16484 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16486 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16488 * libc/sys/sparc64: all *.S files: Use new macros.
16489 * libc/sys/sparc64/isatty.c: New file.
16490 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16491 functions beyond what newlib provides.
16493 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16495 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16498 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16500 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16502 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16504 * configure.in: add m88k.
16505 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16506 sanity check so no one else need ever chase what I did to find
16509 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16511 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16513 * doc/makedoc.c: Include <ctype.h>.
16515 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16517 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16518 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16519 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16521 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16523 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16525 * libc/include/errno.h (ENOSYS): Added.
16527 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16529 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16531 * libc/stdio/fflush.c (fflush): Check for reent struct
16533 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16535 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16537 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16538 out of dtoa.c so it doesn't pollute the namespace.
16539 * libc/include/_syslist.h: new file -- mappings from _function to
16540 function, for systems where we can't win (by default, all of them,
16541 until we start updating system calls.)
16542 * libc/syscalls: new directory -- stubs for exporting _function
16543 names as unmodified function names.
16544 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16545 _syslist.h on all platforms by default, but put hooks in for
16546 fake_sys_dir so we can include it when we've renamed the system
16548 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16549 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16550 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16551 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16552 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16553 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16554 non ANSI functions to call _function.
16556 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16558 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16559 when base 16 is specified. Don't accept non-digits if radix > 10.
16561 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16563 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16565 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16567 * libc/include/sys/stat.h: Surround text after #endif with
16570 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16572 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16573 _malloc_r, _realloc_r, and free_r call the corresponding
16574 non-reentrant functions.
16576 * libm/math/modf.c (modf): We now take the address of ipart, so
16577 don't make it a register variable.
16579 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16581 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16583 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16585 * libc/libc.texinfo and embedded docn throughout: formatting
16586 improvements, minor rephrasing for clarity, and improved
16589 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16591 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16593 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16594 where sizeof(int) != sizeof(long).
16596 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16598 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16599 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16600 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16601 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16602 libm/math/matherr.c: changes for better docn formatting (info).
16604 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16605 libc/reent/reent.tex, libc/signal/signal.tex,
16606 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16607 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16608 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16609 makeinfo node defaulting to get better Info file node structure.
16610 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16611 Also include a few formerly missing sections (subroutines).
16613 * doc/doc.str: delete fossil expansion for "func"
16615 * default.menu, no-signal.menu: delete.
16617 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
16618 method used to adjust doc for missing "signals" chapter when
16619 signal_dir is empty.
16621 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16623 * configure.in: added testsuite/libm.sac
16625 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16627 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16630 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16632 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16633 MAKEOVERRIDES to be empty.
16635 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16637 * configure.in: Don't build mips-*-* with -msoft-float, since that
16638 makes it incompatible with hard floating point.
16640 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16642 * Makefile.in: added recursive 'make check'
16644 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16646 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16647 * ./testsuite/Makefile.in: created
16648 * ./testsuite/libm.paranoia: paranoia tests added
16650 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16652 * configure.in: For mips-*-* set machine_dir to mips.
16654 * libc/machine/mips: New directory.
16655 * libc/machine/mips/Makefile.in: New file.
16656 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16657 setjmp and longjmp.
16658 * libc/include/machine/setjmp.h: Added __mips__ case.
16660 * libc/machine/lmips: Removed unused and useless directory.
16662 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
16664 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
16666 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
16668 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
16671 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
16673 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
16676 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
16678 * libm/test/convert.c: structure member errno -> errno_val.
16679 Must include <errno.h> to use errno, it's a macro now.
16680 * libm/test/math.c: Ditto.
16681 * libm/test/math2.c: Include errno.h.
16682 * libm/test/string.c: Ditto.
16683 * libm/test/test.h: structure member errno -> errno_val.
16684 Remove extern int errno decl.
16686 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
16688 * libc/stdio/Makefile.in: Added dependencies on local header
16690 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
16693 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
16695 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
16697 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
16699 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
16702 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
16703 * libc/stdio/local.h: Add prototype for _licvt.
16705 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
16706 instead of malloc,reealloc.
16708 * libc/stdlib/local.h: New file.
16709 * libc/stdlib/efgcvt.c: #include local.h.
16710 (gcvt): Fix call to _gcvt.
16711 * libc/stdlib/ecvtbuf.c: #include local.h.
16713 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
16714 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
16715 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
16717 * libc/stdlib/atexit.c: moved global data to struct _reent.
16718 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
16720 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
16722 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
16724 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
16725 here from ../reent.h.
16727 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
16729 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
16730 should be provided in both libc.a and libm.a.
16731 (libc.a): Depend on targ-include and libm.a. Copy
16732 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
16733 (libm.a): Depend on targ-include.
16734 * configure.in (subdirs): Removed libc/math.
16736 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16738 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
16740 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
16742 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
16743 sys/reent.h instead of reent.h.
16744 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
16745 headers moved to sys/reent.h.
16746 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
16747 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
16748 __need__MAX_SIGNALS defined.
16749 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
16750 std{in,out,err} refer to new _std{in,out,err} members.
16752 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
16754 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
16757 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
16759 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
16760 rather than whatever macro seterrno() has.
16762 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
16764 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
16765 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16767 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
16770 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
16771 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
16772 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16774 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
16775 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16777 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
16778 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
16779 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
16780 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
16781 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
16782 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
16783 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
16784 renamed to _xxx_r. struct reent_struct renamed to struct _reent
16785 for ANSI. structure members given leading "_" for ANSI. Use
16786 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16788 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
16789 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
16790 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
16791 reent_struct renamed to struct _reent for ANSI.
16792 Structure members given leading "_" for ANSI.
16793 _CONST --> const in prototypes.
16794 Use _HAVE_STDC instead of __STDC__.
16796 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
16798 struct reent_struct renamed to struct _reent for ANSI.
16799 Structure members given leading "_" for ANSI.
16801 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
16803 struct reent_struct renamed to struct _reent for ANSI.
16805 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
16806 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
16807 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
16808 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
16809 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
16811 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
16812 signal.h, stdio.h, stdlib.h, string.h, time.h}:
16813 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16814 #ifndef _STRICT_ANSI non-ANSI routines.
16815 Reentrant routines renamed from _r_xxx to _xxx_r.
16816 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
16817 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
16818 Clean up namespace (structure members have leading "_").
16819 struct reent_struct renamed to struct _reent for ANSI compliance.
16820 _CONST --> const in function prototypes.
16822 * libc/include/string.h: Add NULL and size_t.
16824 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
16825 unlink, wait, wait4. Reentrant syscall routines close, fork,
16826 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
16828 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
16829 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
16830 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
16831 write.S}: Define reentrant versions.
16832 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
16833 reentrant syscalls.
16835 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
16837 * libc/include/stdlib.h (RAND_MAX): Fix value.
16839 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
16841 * libc/sys/a29khif/_main.c: Removed unnecessary file.
16842 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
16843 VPATH support targets after all: target.
16845 * stub/mvme135/mvme.S: Renamed exceptionhandler to
16846 exceptionHandler, which is what mvme135-stub.c expects.
16848 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
16850 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
16852 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
16853 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
16856 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
16858 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
16860 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
16862 libc/reent/fstatr.c (_r_fstat): Ditto.
16863 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
16864 libc/reent/sbrkr.c (_r_sbrk): Ditto.
16865 libc/reent/statr.c (_r_stat): Ditto.
16867 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
16868 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
16869 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
16870 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
16871 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
16872 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
16873 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
16874 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
16875 (__swrite): Ditto for _r_lseek, _r_write.
16876 (__sseek): Ditto for _r_lseek.
16877 (__close): Ditto for _r_close.
16878 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
16880 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
16881 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
16883 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
16884 to make reent_struct the first argument (and thus consistent with
16885 the rest of newlib).
16887 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
16888 reference to __STDC__.
16890 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
16892 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
16895 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
16897 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
16899 libc/stdio/fclose.c (fclose): Ditto.
16901 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
16903 * Run through indent and rename reentrant routines for ANSI.
16904 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
16905 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
16906 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
16907 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
16908 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
16909 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
16910 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
16911 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
16912 vsprintf.c wbuf.c wsetup.c local.h}
16914 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
16916 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
16917 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
16918 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
16919 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
16920 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
16921 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
16923 * Run through indent.
16924 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
16925 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
16926 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
16927 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
16930 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
16931 localtime.c mktime.c strftime.c time.c}:
16932 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
16934 * Reformatting + renaming (for ANSI, GNU style, consistency).
16935 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
16936 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
16937 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
16939 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
16941 * libc/include/stdio.h (stdin_r): Fix.
16943 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
16945 * Makefile.in: Unexport some variables to keep GNU make from
16946 putting them in the environment and using up needed ARG_MAX space
16947 (a hack is used to let this work with older makes as well).
16949 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
16951 * Makefile.in: Use $(MAKE) rather than make.
16952 (MAKEOVERRIDES): Define to be empty.
16953 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16954 (libc.a, libm.a): Depend on targ-include.
16955 * host/any (LD): Don't define.
16956 (INCLUDES): Use targ-include.
16957 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
16958 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16959 * libc/Makefile.in: Use $(MAKE) rather than make.
16960 (MAKEOVERRIDES): Define to be empty.
16961 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16962 (all): Rewrote to be slightly smaller.
16963 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
16964 Define to be empty.
16965 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16966 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
16968 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
16970 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
16971 with errno/errno.c.
16973 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
16975 * Changes for reentrancy.
16976 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
16977 Use ptr->_errno, not errno.
16978 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
16979 libc/stdio/remove.c (remove_r): New function.
16980 libc/stdio/rename.c (rename_r): New function.
16981 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16982 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
16983 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
16984 reentrant versions of system calls.
16985 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
16986 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
16987 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
16988 libc/stdio/findfp.c: Include <string.h>.
16989 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
16991 libc/stdio/wbuf.c: Include "fvwrite.h"
16993 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
16995 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
16996 (NULL): Don't define if already defined.
16997 libc/stdlib/system.c: Call reentrant versions of system calls.
16998 (system_r): New function.
17000 * Changes for reentrancy.
17001 libc/include/_ansi.h (_PARAMS): New macro.
17002 libc/include/errno.h: Define errno as a macro that calls __errno.
17003 (__errno_r): New macro for reentrant code.
17004 libc/include/math.h: Include reent.h. Declare many reentrant
17006 (signgam): Now a macro, not a variable.
17007 (struct exception): Added err field.
17008 libc/include/reent.h: Don't declare __sglue. Added function
17010 (struct reent_struct): Moved errno to beginning. Added _signgam.
17011 libc/include/stdio.h, libc/include/stdlib.h: Added function
17014 * More reentrancy hacking.
17015 libc/errno/errno.c (__errno): New function.
17016 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17017 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17020 * Added many new reentrant functions to libm/math/*.
17021 libm/math/error.c (__matherror): Added reent_struct pointer
17022 argument. Changed all callers.
17023 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17024 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17025 libm/math/tan.h: Removed obsolete unused header files.
17027 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17029 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17031 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17033 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17036 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17038 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17040 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17042 * libc/reent/reent.tex: New file. (text from
17043 newlib/libc/libc.texinfo)
17044 * libc/stdio/tmpnam.c: fixed doc typo
17045 * libc/stdlib/rand.c: fixed doc typo
17047 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17049 * libc/reent/reent.tex: New file. (text from
17050 newlib/libc/libc.texinfo)
17052 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17054 support for reentrancy
17055 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17057 * libc/errno/errno.c, libc/include/ieeefp.h,
17058 libc/include/locale.h, libc/include/reent.h,
17059 libc/include/signal.h, libc/include/stdio.h,
17060 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17061 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17062 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17063 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17064 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17065 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17066 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17067 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17068 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17069 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17070 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17071 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17072 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17073 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17074 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17075 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17076 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17077 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17078 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17079 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17080 libc/time/strftime.c: modify to provide reentracy.
17083 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17084 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17085 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17086 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17087 mstats_r, realloc_r, localeconv_r, setlocale_r
17089 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17091 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17092 libc/include/sys/config.h, libc/include/sys/signal.h,
17093 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17094 provided macros (such as m68000), use the ansi version
17095 (__m68000__) so that the library can be used with code compiled
17096 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17099 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17101 * configure.in (sparc*): Don't set -fsoft-float for sparc
17102 configurations. Do set -fsoft-float for sparclite configurations.
17104 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17106 * default.menu, no-signal.menu: alternate forms of libc main menu
17107 (in newlib rather than newlib/libc due to configuration restrictions)
17109 * configure.in: select one of the two menus above, link to
17112 * libc/libc.texinfo: include menu from separate file
17114 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17116 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17117 (info): Split long shell command in half.
17118 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17119 sub-makes, just CHEW and TARGETDOC.
17120 (targetdep.tex): Removed now special handling of sys and machine
17121 subdirectories, made obsolete some time ago.
17122 * libc/machine/Makefile.in (doc): Don't pass everything to
17123 sub-make, just CHEW and TARGETDOC.
17124 (Makefile): New target.
17125 * libc/sys/Makefile.in (Makefile): New target.
17127 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17129 * Makefile.in (here and most subdirectories): Only pass down CHEW
17130 and TARGETDOC when making info, not for other targets.
17132 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17133 $(AR_FLAGS) rather than $(ARUPDATE).
17135 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17137 * Try to reduce command line length:
17138 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17139 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17140 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17141 (info): Pass CHEW to other subdirs.
17143 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17145 * configure.in: add signal_dir, like unix_dir, but by default it
17146 is set to "signal" so that a29khif can turn it off (since a29khif
17147 has raise() as part of machine-specific signal.s.)
17149 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17151 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17152 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17154 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17155 libc/stdio/vfprintf: type lint.
17156 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17157 initialzation code.
17158 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17160 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17162 * stub/mvme135/mvme135-asm.S: new file.
17163 stub/mvme135mvme135-stub.c: moved all assembler routines into
17165 stub/mvme135/Makefile.in: build mvme135-stub.o.
17167 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17169 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17170 sub-Makefiles instead, to try to avoid line length limitations.
17172 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17174 * libc/include/unistd.h (read, write): Use void* instead of
17177 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17179 * stub/go32/resetpc: sample script to send a reset packet to the
17182 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17183 DOS environment, which compiles with Turbo C.
17185 * stub/go32/DSER32.LNK: new file, linker commands for serial
17188 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17189 start up message to identify version; call set_debug_traps.
17191 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17192 keyboard interaction); call handle_exception() in go_til_stop,
17193 rather than return, so that the remote stub gets control.
17195 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17196 rename, rather than mv), set flags that work with current Turbo C,
17197 including using the /3 flag; also, add commands to build dser32.
17199 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17200 default Turbo C installation (\tc rather than \usr)
17202 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17205 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17207 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17209 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17211 * libc/stdio/cvt.c (licvt): new function to convert ints when
17212 sizeof(int) != sizeof(long).
17214 * libc/include/stdio.h: added prototype for iprintf.
17215 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17217 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17219 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17220 __REGISTER_PREFIX__.
17222 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17224 * libc/sys/m68kbare: moved into stub directory.
17226 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17228 * configure.in, Makefile.in: created new directory stub, to hold
17229 sample code for specific targets.
17231 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17233 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17234 in the unified libc/include/sys/fcntl.h.
17236 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17238 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17239 printed .01, not 0.01.
17241 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17243 * configure.in: compile with -m68000 for m68* targets.
17245 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17247 * libm/math/remainder.c (remainder): document the svr4 and sunos
17248 references used to construct the function.
17250 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17252 * libm/math/remainder.c (rint, remainder): fix old typos.
17253 * libm/math/Makefile.in: actually build remainder.c (functions
17254 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17257 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17259 * libc/string/bcopy.c: BSD version works on overlapping strings,
17260 so ours should too.
17262 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17265 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17267 * Makefile.in (docs): new target.
17269 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17271 * libc/include/sys/times.h: define clock_t as required by POSIX.
17272 libc/include/time.h: protect clock_t from multiple definitions.
17274 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17276 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17277 does not need more than the original three iterations to get
17278 within 1 ulp. (Paranoia tests for rounding to better than that,
17279 but further iterations *don't* help, only more subtle changes
17282 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17284 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17285 were doing nothing useful.
17287 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17289 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17290 removed sys_dir settings of vxworks68 and vxworks960.
17291 host/any: don't pass -nostdinc to gcc, since newlib no longer
17292 provides all required header files.
17294 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17295 is not defined; this provides a hook for VxWorks.
17297 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17299 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17300 buffer if buf is NULL, don't do it here -- it is already being
17301 done by makebuf elsewhere in stdio.
17303 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17305 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17306 that C programs can call functions without using initial
17309 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17311 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17313 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17315 * configure.in: set TARGET_CFLAGS for certain CPU types to
17318 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17320 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17322 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17324 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17325 m68k*-unknown-coff.
17327 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17329 * libc/include/stdio.h: define __need___va_list before including
17330 <stdarg.h>, to avoid defining va_arg, et. al.
17332 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17334 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17335 (don't cd to the user's home directory).
17337 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17338 In general this is the wrong thing to do, but I can't get around
17339 GNU make's insistence on passing command line arguments any other
17342 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17344 * configure.in: always configure the libc/sys directory, since it
17345 now provides a required documentation file.
17347 * Makefile.in: replaced all instances of $(MAKE) with make. In
17348 general this is the wrong thing to do, but I can't get around GNU
17349 make's insistence on passing command line arguments any other way.
17351 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17353 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17356 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17357 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17359 * libc/include/float.h, libc/include/stdarg.h,
17360 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17362 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17363 <stdarg.h>, not from <machine/types.h>. Protect definition of
17365 libc/include/time.h: get size_t from stddef.h. Protect definition
17367 libc/include/machine/limits.h: override gcc <limits.h> by defining
17368 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17369 get correct INT_MIN and LONG_LONG values.
17370 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17371 size_t or va_list at all; they're now gotten from stddef.h
17373 libc/include/machine/varargs.h: removed; use gcc version instead.
17374 libc/include/sys/types.h: explicitly include <machine/types.h>.
17376 * libm/math/sqrt.h: using the fp-bit routines appears to require
17379 * Makefile.in, host/any: let system include files override machine
17382 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17384 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17385 override _*_T_ definitions defaulted here.
17387 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17389 * Makefile.in (install): install the include files in
17390 $(tooldir)/include, not $(exec_prefix)/include.
17392 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17394 * Makefile.in (install): fixed typo, and changed install to not
17395 force rebuild of libc.a and libm.a.
17397 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17399 * libc/sys/a29khif/*: Changed all .include's to include
17400 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17401 that they will be installed for the user.
17403 * Makefile.in (all): create targ-include, a directory holding the
17404 machine and system specific header files during the build.
17405 (install): fixed installation of machine and system specific
17408 * Makefile.in: fixed comment.
17409 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17410 we can pass $(INCLUDES) to it.
17412 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17414 * libc/include/sys/param.h: new generic file, which may be
17415 overridden for specific systems.
17417 * libc/include/sys/signal.h: define all ANSI signal names, and
17418 NSIG (which is not ANSI) for a29k.
17420 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17422 * Makefile.in: don't pass down arguments the lower level makes
17424 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17425 in hopes of avoiding argument length limits.
17426 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17427 hopes of avoiding argument length limits.
17429 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17431 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17434 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17436 * Fixed make info and make install-info for newlib, changing most
17437 Makefile.in and several *.tex files. Moved doc directory from
17440 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17441 Should be rewritten.
17443 * libc/string/strings.tex: renamed node index to node index
17444 function, so that it does not conflict with the top level index
17447 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17449 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17451 * Overhauled general configuration for newlib. Eliminated all
17452 target dependent Makefile fragments. Create libraries in newlib
17453 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17454 than CROSS_CC, et. al. Broke make docs; will fix later.
17456 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17457 Should be rewritten.
17459 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17461 * libc/configure.in: cleaned up somewhat; switch on ${target}
17462 rather than ${target_alias}.
17463 * libm/configure.in: cleaned up somewhat; switch on ${target}
17464 rather than ${target_alias}.
17466 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17467 * libc/include/ctype.h: marked _ctype_ as _CONST.
17469 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17472 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17473 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17474 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17475 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17477 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17478 bigtens, tinytens): marked arrays _CONST.
17479 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17480 rather than a static variable.
17482 * libc/time/asctime.c (asctime), libc/time/localtime.c
17483 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17484 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17485 mname_len, mname): Marked static arrays _CONST.
17487 * libm/math/gamma.h: made local variables non-static.
17489 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17490 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17493 * libm/math/constants.c: removed file, because the constants it
17494 defined were never referenced.
17495 libm/math/Makefile.in: removed references to constants.c.
17496 libm/math/mathimpl.h: removed declarations of constants.
17498 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17500 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17501 it is sensibly defined in libgcc2. Checks preprocessor defines,
17502 which is not a good solution.
17504 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17506 * libm/frexp.c: handle denormalized numbers as arguments.
17508 * libm/math/Makefile.in: added some dependencies for .c files
17509 which include local .h files.
17511 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17513 * libc/configure.in: set target_alias for OSE*. Replace
17514 target_makefile_frag if it is blank.
17516 * libc/Makefile.in: make sure everything is passed to subsidiary
17517 makes; create all directories when installing.
17519 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17520 CROSS_ARUPDATE instead of AR.
17522 * libm/configure.in: set target_alias for OSE*. Replace
17523 target_makefile_frag if it is blank.
17525 * libm/Makefile.in: make sure everything is passed to subsidiary
17526 makes; create all directories when installing.
17528 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17530 * add following change from libc copy.
17532 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17534 * libc/libc.texinfo: make copyright disclaimers appear on back of
17535 title page; make format of same slightly less ugly; avoid using
17536 underbars in section headings (avoids nasty texinfo bug in table
17539 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17540 comments only) avoid using underbars in section headings
17542 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17543 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17544 changes in comments only): shorten headings ieeefp/infinity.c,
17545 ieeefp/isnan.c: (doc, comments only) more informative headings
17547 * libc/math/bessel.c: (doc, comments only) shorten heading
17549 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17550 (doc, comments only) shorten headings
17552 * libc/time/localtime.c (doc, comments only): shorten headings
17554 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17556 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17557 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17559 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17560 only) more informative headings
17561 * libm/math/bessel.c: (doc, comments only) shorten heading
17563 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17565 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17566 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17567 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17568 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17569 defined, the one from the .mt file will be correct.
17570 * libc/include/machine, libc/include/sys: created, and populated
17571 with common files from machine/*/machine. ifdefs were used for
17572 most, typically by handling exceptions first and then filling in
17573 defaults. Files with D.J. Delorie copyright #included rather than
17574 copied. Most files in include/sys really were the same in the
17576 * libc/include/...: cleaned up use of _EXFUN.
17577 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17578 it with double quotes, not angles.
17580 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17582 * libc/Makefile.in: always create installation directories.
17584 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17586 * libc/configure.in: handle host properly (using canonical
17587 triples), better error message for the case of target not found
17589 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17591 * libc/Makefile.in (insincdir): Ensure this directory exists
17592 before attempting installation.
17594 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17596 * libc/stdlib/assert.c: now calls abort like it should
17597 * libc/sys/a29khif: many many patches for 29khif work
17598 * libc/machine/i386: gnulib2 expanded there.
17600 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17602 Added accurate fp conversion routines to stdlib, moved dcvt from
17603 stdio to stdlib and called it ecvtbuf:
17604 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17605 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17607 * libc/libc.texinfo: Modifed to include the copyright info from
17609 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17610 * libc/test/ : many vector which tested for the implementation
17611 defined returns of strange conversion requests have been updated
17612 to relflect the new implementation
17614 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17616 * libc/libc.texinfo: new chapter on variable arg lists
17617 (stdarg.h/varargs.h)
17618 * libc/libc.texinfo: new title
17619 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17620 (doc only) shorter headings for better formatting.
17622 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17624 * libc/libc.texinfo: three more info menu entries
17625 * libc/locale/locale.tex: new chapter
17626 * libc/locale/locale.c: new doc for setlocale, localeconv
17627 * libc/locale/Makefile.in: use new locale doc
17628 * libc/signal/signal.tex: new chapter
17629 * libc/signal/raise.c, libc/signal/signal.c: new doc
17630 * libc/signal/Makefile.in: use new doc
17631 * libc/time/time.tex: new chapter
17632 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17633 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17634 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17635 * libc/time/Makefile.in: use new doc
17637 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17639 * libm/math/log1p.c: split to use the new function way of float
17640 function definition. math/log1p.h deleted
17641 * libm/math/scalb.c: obsolete and deleted
17642 * libm/math/scalbn.c: created from part log1p.c
17643 * libm/math/Makefile.in: know about log1p and scalbn
17645 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17647 * libc/ctype/isupper.c: revise doc;
17648 libc/ctype/ctype.tex: use doc from isupper.c
17650 * libc/string/bzero.c: new doc
17652 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17654 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17656 * libc/stdlib/Makefile.in: extract new doc
17657 * libc/stdlib/stdlib.tex: use new doc
17659 * libc/string/strerror.c: expanded doc.
17661 * libc/stdio/Makefile.in: extract doc from more files
17662 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
17663 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
17664 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
17665 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
17666 libc/stdio/vsprintf.c: new doc
17667 * libc/stdio/stdio.tex: use new doc
17669 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17671 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
17672 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
17674 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
17677 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
17678 * libc/stdio/setbuf.c: added ansi style definition.
17679 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
17680 buffer if none provided.
17681 * libc/stdio/tmpfile.c: lint
17682 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
17683 rather than using static, also make sure file isn't already
17684 present. Uses P_tmpdir. (tempnam): rewritten to use new
17685 subroutine, and uses P_tmpdir.
17686 * libc/stdio/siprintf.c: created
17688 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17690 Release 1.03 for NEC, major mods. Main differences from release
17693 More tests in test/:
17694 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
17695 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
17696 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
17697 get/set mask, get/set sticky and get/set roundtoi. Tests
17698 that setting the bits changes the way arithmetic is done.
17699 * string.c: added test to make sure memcmp does it with unsigned
17701 * test.c: cleaned up and removed lint.
17702 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
17703 dvec.c: tests for string to value conversions, sprintf, scanf,
17704 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
17705 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
17706 rounding in sprintf too.
17707 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
17708 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
17709 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
17711 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
17715 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
17716 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
17717 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
17718 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
17719 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
17721 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
17722 * Method of producting float versions of double functions has
17723 changed, functions will be modified gradually. So far:
17724 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
17725 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
17727 * libc/string/memcmp.c: now uses unsigned chars
17728 * libc/string/bcmp.c, libc/string/strcpy.c,
17729 libc/stsring/strxfrm.c: fixed doc
17730 * libc/sys/sysvnecv70.tex: fix example of sbrk code
17733 version-control: never