]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2007-06-06 Christian Groessler <chris@groessler.org>
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-06-06 Christian Groessler <chris@groessler.org>
2
3 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
4 rnd is done after the last local variable declaration.
5
6 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
7
8 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
9
10 2007-06-05 Christian Groessler <chris@groessler.org>
11
12 * libc/argz/argz_insert.c (argz_insert): Move delta variable
13 declaration to top of function in keeping with C89 standard.
14
15 2007-06-04 Eric Blake <ebb9@byu.net>
16
17 Implement funopen, fopencookie.
18 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
19 Switch to reentrant callbacks.
20 * libc/include/stdio.h (funopen): Fix declaration.
21 (fopencookie): Declare.
22 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
23 (__sseek64, __swrite64): Fix prototypes.
24 [__SCLE]: Pull in setmode declaration.
25 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
26 reentrancy.
27 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
28 (__sseek64, __swrite64): Fix reentrancy.
29 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
30 reentrancy.
31 * libc/stdio/ftell.c (_ftell_r): Likewise.
32 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
33 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
34 * libc/stdio/freopen.c (_freopen_r): Likewise.
35 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
36 * libc/stdio/refill.c (__srefill_r): Likewise.
37 * libc/stdio/siscanf.c (eofread): Likewise.
38 * libc/stdio/sscanf.c (eofread): Likewise.
39 * libc/stdio/vsiscanf.c (eofread1): Likewise.
40 * libc/stdio/vsscanf.c (eofread1): Likewise.
41 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
42 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
43 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
44 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
45 could be fixed.
46 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
47 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
48 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
49 new files.
50 * libc/stdio/Makefile.in: Regenerate.
51
52 2007-05-29 Eric Blake <ebb9@byu.net>
53
54 Avoid more compiler warnings.
55 * libc/stdlib/btowc.c: Add missing header.
56 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
57 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
58 * libc/stdlib/wctob.c: Add missing header.
59 * libc/string/strcpy.c (strcpy): Avoid warnings.
60 * libc/string/strrchr.c (strrchr): Likewise.
61
62 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
63
64 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
65 argument.
66 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
67 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
68 on empty input strings.
69 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
70 looping through argz.
71 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
72
73 2007-05-27 Brian Dessent <brian@dessent.net>
74
75 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
76 handling %p.
77
78 2007-05-25 Eric Blake <ebb9@byu.net>
79
80 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
81
82 2007-05-24 Steve Ellcey <sje@cup.hp.com>
83 Charles Wilson <libtool@cwilson.fastmail.fm>
84
85 * libtool.m4: removed
86 * configure.in: invoke _LD_DECL_SED before conditionally initializing
87 libtool. Move AC_PROG_AWK outside conditional.
88 * libc/sys/linux/configure.in: Ditto.
89 * libc/sys/linux/linuxthreads/configure.in: Ditto.
90 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
91 * libc/sys/linux/machine/i386/configure.in: Ditto.
92
93 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
94 initializing libtool.
95 * libc/configure.in: Ditto.
96 * libc/machine/configure.in: Ditto.
97 * libc/machine/i386/configure.in: Ditto.
98 * libc/sys/configure.in: Ditto.
99 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
100 * libc/sys/linux/machine/configure.in: Ditto.
101 * libm/configure.in: Ditto.
102 * libm/machine/configure.in: Ditto.
103
104 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
105 * doc/Makefile.am: Ditto.
106 * iconvdata/Makefile.am: Ditto.
107 * libc/Makefile.am: Ditto.
108 * libc/machine/Makefile.am: Ditto.
109 * libc/machine/a29k/Makefile.am: Ditto.
110 * libc/machine/arm/Makefile.am: Ditto.
111 * libc/machine/bfin/Makefile.am: Ditto.
112 * libc/machine/cris/Makefile.am: Ditto.
113 * libc/machine/crx/Makefile.am: Ditto.
114 * libc/machine/d10v/Makefile.am: Ditto.
115 * libc/machine/d30v/Makefile.am: Ditto.
116 * libc/machine/fr30/Makefile.am: Ditto.
117 * libc/machine/frv/Makefile.am: Ditto.
118 * libc/machine/h8300/Makefile.am: Ditto.
119 * libc/machine/h8500/Makefile.am: Ditto.
120 * libc/machine/hppa/Makefile.am: Ditto.
121 * libc/machine/i386/Makefile.am: Ditto.
122 * libc/machine/i960/Makefile.am: Ditto.
123 * libc/machine/iq2000/Makefile.am: Ditto.
124 * libc/machine/m32c/Makefile.am: Ditto.
125 * libc/machine/m32r/Makefile.am: Ditto.
126 * libc/machine/m68hc11/Makefile.am: Ditto.
127 * libc/machine/m68k/Makefile.am: Ditto.
128 * libc/machine/m88k/Makefile.am: Ditto.
129 * libc/machine/mips/Makefile.am: Ditto.
130 * libc/machine/mn10200/Makefile.am: Ditto.
131 * libc/machine/mn10300/Makefile.am: Ditto.
132 * libc/machine/mt/Makefile.am: Ditto.
133 * libc/machine/necv70/Makefile.am: Ditto.
134 * libc/machine/powerpc/Makefile.am: Ditto.
135 * libc/machine/sh/Makefile.am: Ditto.
136 * libc/machine/sparc/Makefile.am: Ditto.
137 * libc/machine/spu/Makefile.am: Ditto.
138 * libc/machine/tic4x/Makefile.am: Ditto.
139 * libc/machine/tic80/Makefile.am: Ditto.
140 * libc/machine/v850/Makefile.am: Ditto.
141 * libc/machine/w65/Makefile.am: Ditto.
142 * libc/machine/xscale/Makefile.am: Ditto.
143 * libc/machine/xstormy16/Makefile.am: Ditto.
144 * libc/machine/z8k/Makefile.am: Ditto.
145 * libc/sys/Makefile.am: Ditto.
146 * libc/sys/a29khif/Makefile.am: Ditto.
147 * libc/sys/arc/Makefile.am: Ditto.
148 * libc/sys/arm/Makefile.am: Ditto.
149 * libc/sys/d10v/Makefile.am: Ditto.
150 * libc/sys/decstation/Makefile.am: Ditto.
151 * libc/sys/h8300hms/Makefile.am: Ditto.
152 * libc/sys/h8500hms/Makefile.am: Ditto.
153 * libc/sys/linux/Makefile.am: Ditto.
154 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
155 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
156 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
157 * libc/sys/linux/machine/Makefile.am: Ditto.
158 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
159 * libc/sys/m88kbug/Makefile.am: Ditto.
160 * libc/sys/mmixware/Makefile.am: Ditto.
161 * libc/sys/netware/Makefile.am: Ditto.
162 * libc/sys/rdos/Makefile.am: Ditto.
163 * libc/sys/rtems/Makefile.am: Ditto.
164 * libc/sys/sh/Makefile.am: Ditto.
165 * libc/sys/sparc64/Makefile.am: Ditto.
166 * libc/sys/sun4/Makefile.am: Ditto.
167 * libc/sys/sysmec/Makefile.am: Ditto.
168 * libc/sys/sysnec810/Makefile.am: Ditto.
169 * libc/sys/sysnecv850/Makefile.am: Ditto.
170 * libc/sys/sysvi386/Makefile.am: Ditto.
171 * libc/sys/sysvnecv70/Makefile.am: Ditto.
172 * libc/sys/tic80/Makefile.am: Ditto.
173 * libc/sys/w65/Makefile.am: Ditto.
174 * libc/sys/z8ksim/Makefile.am: Ditto.
175 * libm/Makefile.am: Ditto.
176 * libm/machine/Makefile.am: Ditto.
177 * libm/machine/i386/Makefile.am: Ditto.
178 * libm/machine/spu/Makefile.am: Ditto.
179
180 * aclocal.m4: Regenerate.
181 * iconvdata/aclocal.m4: Regenerate.
182 * libc/aclocal.m4: Regenerate.
183 * libc/machine/aclocal.m4: Regenerate.
184 * libc/machine/i386/aclocal.m4: Regenerate.
185 * libc/sys/aclocal.m4: Regenerate.
186 * libc/sys/linux/aclocal.m4: Regenerate.
187 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
188 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
189 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
190 * libc/sys/linux/machine/aclocal.m4: Regenerate.
191 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
192 * libm/aclocal.m4: Regenerate.
193 * libm/machine/aclocal.m4: Regenerate.
194 * libm/machine/i386/aclocal.m4: Regenerate.
195
196 * Makefile.in: Regenerate.
197 * doc/Makefile.in: Regenerate.
198 * iconvdata/Makefile.in: Regenerate.
199 * libc/Makefile.in: Regenerate.
200 * libc/argz/Makefile.in: Regenerate.
201 * libc/ctype/Makefile.in: Regenerate.
202 * libc/errno/Makefile.in: Regenerate.
203 * libc/iconv/Makefile.in: Regenerate.
204 * libc/iconv/ccs/Makefile.in: Regenerate.
205 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
206 * libc/iconv/ces/Makefile.in: Regenerate.
207 * libc/iconv/lib/Makefile.in: Regenerate.
208 * libc/locale/Makefile.in: Regenerate.
209 * libc/machine/Makefile.in: Regenerate.
210 * libc/machine/a29k/Makefile.in: Regenerate.
211 * libc/machine/arm/Makefile.in: Regenerate.
212 * libc/machine/bfin/Makefile.in: Regenerate.
213 * libc/machine/cris/Makefile.in: Regenerate.
214 * libc/machine/crx/Makefile.in: Regenerate.
215 * libc/machine/d10v/Makefile.in: Regenerate.
216 * libc/machine/d30v/Makefile.in: Regenerate.
217 * libc/machine/fr30/Makefile.in: Regenerate.
218 * libc/machine/frv/Makefile.in: Regenerate.
219 * libc/machine/h8300/Makefile.in: Regenerate.
220 * libc/machine/h8500/Makefile.in: Regenerate.
221 * libc/machine/hppa/Makefile.in: Regenerate.
222 * libc/machine/i386/Makefile.in: Regenerate.
223 * libc/machine/i960/Makefile.in: Regenerate.
224 * libc/machine/iq2000/Makefile.in: Regenerate.
225 * libc/machine/m32c/Makefile.in: Regenerate.
226 * libc/machine/m32r/Makefile.in: Regenerate.
227 * libc/machine/m68hc11/Makefile.in: Regenerate.
228 * libc/machine/m68k/Makefile.in: Regenerate.
229 * libc/machine/m88k/Makefile.in: Regenerate.
230 * libc/machine/mips/Makefile.in: Regenerate.
231 * libc/machine/mn10200/Makefile.in: Regenerate.
232 * libc/machine/mn10300/Makefile.in: Regenerate.
233 * libc/machine/mt/Makefile.in: Regenerate.
234 * libc/machine/necv70/Makefile.in: Regenerate.
235 * libc/machine/powerpc/Makefile.in: Regenerate.
236 * libc/machine/sh/Makefile.in: Regenerate.
237 * libc/machine/sparc/Makefile.in: Regenerate.
238 * libc/machine/spu/Makefile.in: Regenerate.
239 * libc/machine/tic4x/Makefile.in: Regenerate.
240 * libc/machine/tic80/Makefile.in: Regenerate.
241 * libc/machine/v850/Makefile.in: Regenerate.
242 * libc/machine/w65/Makefile.in: Regenerate.
243 * libc/machine/xscale/Makefile.in: Regenerate.
244 * libc/machine/xstormy16/Makefile.in: Regenerate.
245 * libc/machine/z8k/Makefile.in: Regenerate.
246 * libc/misc/Makefile.in: Regenerate.
247 * libc/posix/Makefile.in: Regenerate.
248 * libc/reent/Makefile.in: Regenerate.
249 * libc/search/Makefile.in: Regenerate.
250 * libc/signal/Makefile.in: Regenerate.
251 * libc/stdio/Makefile.in: Regenerate.
252 * libc/stdio64/Makefile.in: Regenerate.
253 * libc/stdlib/Makefile.in: Regenerate.
254 * libc/string/Makefile.in: Regenerate.
255 * libc/sys/Makefile.in: Regenerate.
256 * libc/sys/a29khif/Makefile.in: Regenerate.
257 * libc/sys/arc/Makefile.in: Regenerate.
258 * libc/sys/arm/Makefile.in: Regenerate.
259 * libc/sys/d10v/Makefile.in: Regenerate.
260 * libc/sys/decstation/Makefile.in: Regenerate.
261 * libc/sys/h8300hms/Makefile.in: Regenerate.
262 * libc/sys/h8500hms/Makefile.in: Regenerate.
263 * libc/sys/linux/Makefile.in: Regenerate.
264 * libc/sys/linux/argp/Makefile.in: Regenerate.
265 * libc/sys/linux/cmath/Makefile.in: Regenerate.
266 * libc/sys/linux/dl/Makefile.in: Regenerate.
267 * libc/sys/linux/iconv/Makefile.in: Regenerate.
268 * libc/sys/linux/intl/Makefile.in: Regenerate.
269 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
270 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
271 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
272 * libc/sys/linux/machine/Makefile.in: Regenerate.
273 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
274 * libc/sys/linux/net/Makefile.in: Regenerate.
275 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
276 * libc/sys/m88kbug/Makefile.in: Regenerate.
277 * libc/sys/mmixware/Makefile.in: Regenerate.
278 * libc/sys/netware/Makefile.in: Regenerate.
279 * libc/sys/rdos/Makefile.in: Regenerate.
280 * libc/sys/rtems/Makefile.in: Regenerate.
281 * libc/sys/sh/Makefile.in: Regenerate.
282 * libc/sys/sparc64/Makefile.in: Regenerate.
283 * libc/sys/sun4/Makefile.in: Regenerate.
284 * libc/sys/sysmec/Makefile.in: Regenerate.
285 * libc/sys/sysnec810/Makefile.in: Regenerate.
286 * libc/sys/sysnecv850/Makefile.in: Regenerate.
287 * libc/sys/sysvi386/Makefile.in: Regenerate.
288 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
289 * libc/sys/tic80/Makefile.in: Regenerate.
290 * libc/sys/w65/Makefile.in: Regenerate.
291 * libc/sys/z8ksim/Makefile.in: Regenerate.
292 * libc/syscalls/Makefile.in: Regenerate.
293 * libc/time/Makefile.in: Regenerate.
294 * libc/unix/Makefile.in: Regenerate.
295 * libm/Makefile.in: Regenerate.
296 * libm/common/Makefile.in: Regenerate.
297 * libm/machine/Makefile.in: Regenerate.
298 * libm/machine/i386/Makefile.in: Regenerate.
299 * libm/machine/spu/Makefile.in: Regenerate.
300 * libm/math/Makefile.in: Regenerate.
301 * libm/mathfp/Makefile.in: Regenerate.
302
303 * configure: Regenerate.
304 * iconvdata/configure: Regenerate.
305 * libc/configure: Regenerate.
306 * libc/machine/configure: Regenerate.
307 * libc/machine/i386/configure: Regenerate.
308 * libc/sys/configure: Regenerate.
309 * libc/sys/linux/configure: Regenerate.
310 * libc/sys/linux/linuxthreads/configure: Regenerate.
311 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
312 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
313 * libc/sys/linux/machine/configure: Regenerate.
314 * libc/sys/linux/machine/i386/configure: Regenerate.
315 * libm/configure: Regenerate.
316 * libm/machine/configure: Regenerate.
317 * libm/machine/i386/configure: Regenerate.
318
319 2007-05-23 Eric Blake <ebb9@byu.net>
320
321 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
322 sizeof(void*) is 8 but sizeof(long) is 4.
323 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
324 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
325 to fix reentrancy and bug on encoding error in multibyte locales.
326 Always return EOF on read error.
327
328 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
329
330 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
331 prototype.
332 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
333 instead of the slot 0 value, remove any now unused variables, and
334 for some cases, now store the result in an int vs int*.
335 * libc/machine/spu/feof.c: Ditto.
336 * libc/machine/spu/ferror.c: Ditto.
337 * libc/machine/spu/fflush.c: Ditto.
338 * libc/machine/spu/fgetc.c: Ditto.
339 * libc/machine/spu/fgetpos.c: Ditto.
340 * libc/machine/spu/fgets.c: Ditto.
341 * libc/machine/spu/fileno.c: Ditto.
342 * libc/machine/spu/fopen.c: Ditto.
343 * libc/machine/spu/fprintf.c: Ditto.
344 * libc/machine/spu/fputc.c: Ditto.
345 * libc/machine/spu/fputs.c: Ditto.
346 * libc/machine/spu/fread.c: Ditto.
347 * libc/machine/spu/freopen.c: Ditto.
348 * libc/machine/spu/fscanf.c: Ditto.
349 * libc/machine/spu/fseek.c: Ditto.
350 * libc/machine/spu/fsetpos.c: Ditto.
351 * libc/machine/spu/ftell.c: Ditto.
352 * libc/machine/spu/fwrite.c: Ditto.
353 * libc/machine/spu/getc.c: Ditto.
354 * libc/machine/spu/getchar.c: Ditto.
355 * libc/machine/spu/gets.c: Ditto.
356 * libc/machine/spu/printf.c: Ditto.
357 * libc/machine/spu/putc.c: Ditto.
358 * libc/machine/spu/putchar.c: Ditto.
359 * libc/machine/spu/puts.c: Ditto.
360 * libc/machine/spu/remove.c: Ditto.
361 * libc/machine/spu/rename.c: Ditto.
362 * libc/machine/spu/scanf.c: Ditto.
363 * libc/machine/spu/setvbuf.c: Ditto.
364 * libc/machine/spu/snprintf.c: Ditto.
365 * libc/machine/spu/sprintf.c: Ditto.
366 * libc/machine/spu/sscanf.c: Ditto.
367 * libc/machine/spu/tmpfile.c: Ditto.
368 * libc/machine/spu/tmpnam.c: Ditto.
369 * libc/machine/spu/ungetc.c: Ditto.
370 * libc/machine/spu/vfprintf.c: Ditto.
371 * libc/machine/spu/vfscanf.c: Ditto.
372 * libc/machine/spu/vprintf.c: Ditto.
373 * libc/machine/spu/vscanf.c: Ditto.
374 * libc/machine/spu/vsnprintf.c: Ditto.
375 * libc/machine/spu/vsprintf.c: Ditto.
376 * libc/machine/spu/vsscanf.c: Ditto.
377
378 2007-05-23 Eric Blake <ebb9@byu.net>
379
380 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
381 Avoid warning when !FLOATING_POINT.
382 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
383 slightly.
384
385 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
386
387 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
388 to zero.
389 * libc/include/argz.h: Guard against multiple inclusion. Guard for
390 use with C++.
391
392 2007-05-18 Eric Blake <ebb9@byu.net>
393
394 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
395 compilers.
396 * libc/stdio/vfscanf.c: Likewise.
397
398 2007-05-17 Cary R. <cygcary <at> yahoo.com>
399
400 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
401 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
402 * libm/math/wf_atan2.c: Ditto.
403
404 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
405
406 * libm/common/Makefile.am: Add support for exp10, exp10f,
407 pow10, and pow10f functions.
408 * libm/common/Makefile.in: Regenerated.
409 * libm/common/s_pow10.c: New file.
410 * libm/common/sf_pow10.c: Ditto.
411 * libm/common/s_exp10.c: Ditto.
412 * libm/common/sf_exp10.c: Ditto.
413 * libc/include/math.h [!pow10]: New pow10 prototype.
414 [!pow10f]: New pow10f prototype.
415 [!exp10]: New exp10 prototype.
416 [!exp10f]: New exp10f prototype.
417
418 2007-05-17 Charles Wilson <cygwin@...>
419
420 * stdio/tmpfile.c: Include <sys/stat.h>.
421 * stdio64/tmpfile64.c: Ditto.
422
423 2007-05-16 Eric Blake <ebb9@byu.net>
424
425 Close security hole in tmpfile.
426 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
427 generation and opening the fd.
428 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
429
430 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
431 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
432 required by POSIX.
433 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
434 avoid clash with <math.h>.
435
436 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
437 * libc/search/hash.c (__hash_open): Likewise.
438
439 2007-05-14 Eric Blake <ebb9@byu.net>
440
441 Reduce stack size of *printf.
442 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
443 in %f. Avoid malloc when possible for %S.
444 (BUF): Improve stack locality by using smaller size.
445 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
446 (exponent): Use smaller stack size.
447
448 2007-05-11 Eric Blake <ebb9@byu.net>
449
450 Minimize printf/scanf size on platforms that don't need C99.
451 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
452 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
453 * configure.in (newlib-io-c99-formats): New configure option.
454 (_WANT_IO_C99_FORMATS): Define appropriately.
455 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
456 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
457 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
458 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
459 Likewise.
460 * configure: Regenerate.
461
462 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
463 (get_arg): Support '%a' and '%A'.
464
465 2007-05-09 Eric Blake <ebb9@byu.net>
466
467 Allow zero size with non-null buf in *asnprintf.
468 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
469 user's buf.
470 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
471 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
472 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
473
474 2007-05-07 Charles Wilson <cygwin@...>
475
476 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
477
478 2007-05-03 Eric Blake <ebb9@byu.net>
479
480 Add support for asnprintf, and improve *printf documentation.
481 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
482 (ELIX_2_SOURCES): ...to this.
483 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
484 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
485 (CHEWOUT_FILES): Include diprintf in documentation.
486 * libc/stdio/Makefile.in: Regenerate.
487 * libc/stdio/diprintf.c: Improve documentation.
488 * libc/stdio/dprintf.c: Likewise.
489 * libc/stdio/siprintf.c: Likewise.
490 * libc/stdio/sprintf.c: Likewise.
491 * libc/stdio/vfprintf.c: Likewise.
492 * libc/stdio/viprintf.c: Likewise.
493 * libc/stdio/vsniprintf.c: Consolidate documentation.
494 * libc/stdio/asiprintf.c: Refer to documentation.
495 * libc/stdio/asprintf.c: Likewise.
496 * libc/stdio/fiprintf.c: Likewise.
497 * libc/stdio/fprintf.c: Likewise.
498 * libc/stdio/iprintf.c: Likewise.
499 * libc/stdio/printf.c: Likewise.
500 * libc/stdio/sniprintf.c: Likewise.
501 * libc/stdio/vdiprintf.c: Likewise.
502 * libc/stdio/vdprintf.c: Likewise.
503 * libc/stdio/vsiprintf.c: Likewise.
504 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
505 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
506 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
507 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
508 file.
509 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
510 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
511 typical case.
512 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
513 * libc/include/stdio.h: Add prototypes for new functions; sort
514 existing functions.
515
516 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
517
518 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
519 and memset.S.
520 * libc/machine/m68k/Makefile.in: Regenerate.
521 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
522 * libc/machine/m68k/memset.S: Likewise.
523
524 2007-05-01 Eric Blake <ebb9@byu.net>
525
526 * libc/stdio64/local64.h: Delete, move contents to...
527 * libc/stdio/local.h: ...here.
528 * libc/stdio64/fdopen64.c: Update includes.
529 * libc/stdio64/fopen64.c: Likewise.
530 * libc/stdio64/freopen64.c: Likewise.
531 * libc/stdio64/fseeko64.c: Likewise.
532 * libc/stdio64/ftello64.c: Likewise.
533 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
534 and stderr with 64-bit offset.
535 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
536 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
537 * libc/stdio/mktemp.c (_gettemp): Likewise.
538
539 2007-05-01 Cary R. <cygcary <at> yahoo.com>
540
541 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
542 to treatment of NaN and +-inf arguments.
543 * libm/math/ef_pow.c: Ditto.
544 * libm/math/w_pow.c: Ditto.
545 * libm/math/wf_pow.c: Ditto.
546 * libm/math/w_acos.c: Fix domain errors to return NaN.
547 * libm/math/w_asin.c: Ditto.
548 * libm/math/wf_acos.c: Ditto.
549 * libm/math/wf_asin.c: Ditto.
550 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
551 * libm/math/wf_log.c: Ditto.
552 * libm/math/wf_log10.c: Ditto.
553 * libm/math/w_log10.c: Ditto.
554
555 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
556
557 * libc/machine/m68k/Makefile.am: Temporarily remove
558 memcpy.S and memset.S until logic can be confirmed for
559 !(__mcoldfile__) case.
560 * libc/machine/m68k/Makefile.in: Regenerated.
561
562 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
563
564 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
565 and memset.S.
566 * libc/machine/m68k/Makefile.in: Regenerate.
567 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
568
569 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
570
571 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
572 overridden via machine/ieeefp.h.
573 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
574 macros for isnan and related macros.
575 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
576 overridden via machine/ieeefp.h.
577 * libm/machine/spu/Makefile.am: Add new files.
578 * libm/machine/spu/Makefile.in: Autogenerate with new files.
579 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
580 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
581 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
582 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
583 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
584 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
585 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
586
587 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
588
589 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
590 * libm/common/sf_fpclassify.c: ...here. New file.
591 * libm/common/Makefile.am: Add sf_fpclassify.c.
592 * libm/common/Makefile.in: Regenerated.
593
594 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
595
596 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
597 ppu linux values. This file is a copy of the cris/sys/errno.h plus
598 a few changes (see spu errno.h comments).
599
600 2007-04-25 Eric Blake <ebb9@byu.net>
601
602 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
603 that promote to int.
604
605 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
606
607 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
608 we clear the proper bits in the fpscr, and don't set some random ones.
609
610 2007-04-24 Eric Blake <ebb9@byu.net>
611
612 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
613 or NaN with %05f.
614
615 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
616 _MB_CAPABLE.
617
618 * libc/include/limits.h (NL_ARGMAX): Define a default value.
619 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
620 NL_ARGMAX, if present.
621
622 2007-04-23 Brian Dessent <brian@dessent.net>
623
624 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
625 has been specified with types 'f', 'F', 'g', or 'G', ensure the
626 trailing decimal is printed.
627
628 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
629
630 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
631 file. Override Autoconf-2.59's version of these macros with
632 fixed handling of multiple adjacent whitespace in arguments.
633 * aclocal.m4: Regenerated forcefully.
634 * configure: Ditto.
635 * Makefile.in: Ditto.
636 * libc/*Makefile.in: Ditto.
637 * libc/*aclocal.m4: Ditto.
638 * libc/*configure: Ditto.
639 * libm/*Makefile.in: Ditto.
640 * libm/*aclocal.m4: Ditto.
641 * libm/*configure: Ditto.
642
643 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
644
645 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
646 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
647 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
648 * libc/sys/arc/Makefile.in: Regenerated.
649
650 2007-04-17 Brian Dessent <brian@dessent.net>
651
652 * libc/stdio/sscanf.c: Update documentation comments.
653 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
654
655 2007-04-12 Eric Blake <ebb9@byu.net>
656
657 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
658 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
659 (get_arg): Handle %1$F, %1$n.
660
661 2007-04-10 Eric Blake <ebb9@byu.net>
662
663 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
664 CFLAGS=-O0.
665
666 2007-04-09 Eric Blake <ebb9@byu.net>
667
668 * libc/include/stdio.h: Add gcc format attributes to printf and
669 scanf families.
670
671 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
672
673 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
674 even if the passed in length n is shorter than the source string.
675 This matches both the non-spu specific and the glibc strxfrm
676 behaviour.
677
678 2007-04-04 Mark Mitchell <mark@codesourcery.com>
679
680 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
681 functions registering additional atexit functions.
682
683 * testsuite/lib/flags.exp (newlib_include_flags): Drop
684 -I${newlib_dir}.
685
686 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
687
688 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
689 prototype.
690 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
691 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
692 * libc/machine/spu/fclose.c: Ditto.
693 * libc/machine/spu/feof.c: Ditto.
694 * libc/machine/spu/ferror.c: Ditto.
695 * libc/machine/spu/fflush.c: Ditto.
696 * libc/machine/spu/fgetc.c: Ditto.
697 * libc/machine/spu/fgetpos.c: Ditto.
698 * libc/machine/spu/fgets.c: Ditto.
699 * libc/machine/spu/fileno.c: Ditto.
700 * libc/machine/spu/fopen.c: Ditto.
701 * libc/machine/spu/fprintf.c: Ditto.
702 * libc/machine/spu/fputc.c: Ditto.
703 * libc/machine/spu/fputs.c: Ditto.
704 * libc/machine/spu/fread.c: Ditto.
705 * libc/machine/spu/freopen.c: Ditto.
706 * libc/machine/spu/fscanf.c: Ditto.
707 * libc/machine/spu/fseek.c: Ditto.
708 * libc/machine/spu/fsetpos.c: Ditto.
709 * libc/machine/spu/ftell.c: Ditto.
710 * libc/machine/spu/fwrite.c: Ditto.
711 * libc/machine/spu/getc.c: Ditto.
712 * libc/machine/spu/getchar.c: Ditto.
713 * libc/machine/spu/gets.c: Ditto.
714 * libc/machine/spu/perror.c: Ditto.
715 * libc/machine/spu/printf.c: Ditto.
716 * libc/machine/spu/putc.c: Ditto.
717 * libc/machine/spu/putchar.c: Ditto.
718 * libc/machine/spu/puts.c: Ditto.
719 * libc/machine/spu/remove.c: Ditto.
720 * libc/machine/spu/rename.c: Ditto.
721 * libc/machine/spu/rewind.c: Ditto.
722 * libc/machine/spu/scanf.c: Ditto.
723 * libc/machine/spu/setbuf.c: Ditto.
724 * libc/machine/spu/setvbuf.c: Ditto.
725 * libc/machine/spu/snprintf.c: Ditto.
726 * libc/machine/spu/sprintf.c: Ditto.
727 * libc/machine/spu/sscanf.c: Ditto.
728 * libc/machine/spu/tmpfile.c: Ditto.
729 * libc/machine/spu/tmpnam.c: Ditto.
730 * libc/machine/spu/ungetc.c: Ditto.
731 * libc/machine/spu/vfprintf.c: Ditto.
732 * libc/machine/spu/vfscanf.c: Ditto.
733 * libc/machine/spu/vprintf.c: Ditto.
734 * libc/machine/spu/vscanf.c: Ditto.
735 * libc/machine/spu/vsnprintf.c: Ditto.
736 * libc/machine/spu/vsprintf.c: Ditto.
737 * libc/machine/spu/vsscanf.c: Ditto.
738
739 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
740
741 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
742
743 2007-04-04 Eric Blake <ebb9@byu.net>
744
745 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
746 (asiprintf): Avoid overhead.
747 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
748 (asprintf): Avoid overhead.
749 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
750 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
751 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
752 (fiprintf): Avoid overhead.
753 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
754 (fprintf): Avoid overhead.
755 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
756 (iprintf): Avoid overhead.
757 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
758 (printf): Avoid overhead.
759 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
760 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
761 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
762 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
763 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
764 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
765 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
766 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
767 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
768 vdiprintf.c.
769 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
770 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
771
772 2007-03-30 Dave Korn <dave.korn@artimi.com>
773
774 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
775 conflicting inline semantics between C99 and GNU89.
776 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
777 compatible with -fkeep-inline-functions usage.
778 (__sputc_r): Likewise for consistency even though disabled.
779
780 2007-03-29 Nick Clifton <nickc@redhat.com>
781
782 Reflect changes made to generic vfprintf.c:
783 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
784 and add a "struct reent *" argument.
785 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
786 argument and call _VFPRINTF_R instead of VFPRINTF.
787 (_VFPRINTF_R): Add data pointer to call to cantwrite().
788 Fix uses of __sprint() and __sbprintf.
789
790 2007-03-20 Nick Clifton <nickc@redhat.com>
791
792 Reflect changes made to generic vfprintf.c:
793 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
794 and add a "struct reent *" argument.
795 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
796 argument and call _VFPRINTF_R instead of VFPRINTF.
797 (_VFPRINTF_R): Add data pointer to call to cantwrite().
798 Fix uses of __sprint() and __sbprintf.
799
800 2007-03-16 Charles Wilson <cygwin@...>
801
802 * libc/argz/argz_insert.c: "before" pointer is
803 invalid after *argz realloc. Compute offset
804 between "before" and *argz, and use it after
805 reallocation instead.
806
807 2007-03-16 Eric Blake <ebb9@byu.net>
808
809 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
810 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
811
812 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
813
814 * configure.in: Add new --enable-newlib-reent-small option.
815 * configure: Regenerated.
816 * acconfig.h: Add _WANT_REENT_SMALL.
817 * newlib.hin: Regenerated minus PACKAGE macros to add
818 _WANT_REENT_SMALL macro.
819 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
820 if not already set.
821 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
822 there is no buffer.
823 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
824 use reentrant pointer passed in when resetting the file
825 pointer to one of the std streams.
826
827 2007-03-15 Eric Blake <ebb9@byu.net>
828
829 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
830 (__smakebuf): Rename...
831 (__smakebuf_r): to this.
832 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
833 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
834 allocation, then rename...
835 (__smakebuf_r): ...to this and fix reentrancy.
836 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
837 allocation, then rename...
838 (__swsetup_r): ...to this and fix reentrancy.
839 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
840 * libc/stdio/refill.c (__srefill_r): Likewise.
841 * libc/stdio/fclose.c (_fclose_r): Likewise.
842 * libc/stdio/fread.c (_fread_r): Likewise.
843 * libc/stdio/freopen.c (_freopen_r): Likewise.
844 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
845 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
846 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
847 failed asprintf allocation, and fix reentrancy.
848 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
849 as required by POSIX.
850 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
851 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
852 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
853
854 2007-03-12 Eric Blake <ebb9@byu.net>
855
856 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
857 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
858 allocation to caller.
859 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
860 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
861 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
862
863 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
864
865 * libm/math/w_pow.c: Fix typo in documentation comment.
866
867 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
868
869 * libc/reent/timer.c: Removed (split into two new files).
870 * libc/reent/timesr.c: New file for _times_r.
871 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
872 * reent/Makefile.in: Remove timer.c, add timesr.c and
873 gettimeofdayr.c.
874 * libc/reent/Makefile.am: Regenerate.
875
876 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
877
878 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
879
880 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
881
882 * libc/machine/spu/Makefile.am: Add new objects.
883 * libc/machine/spu/Makefile.in: Regenerated.
884 * libc/machine/spu/fiprintf.c: New file. Add implementation of
885 integer-only version.
886 * libc/machine/spu/fiscanf.c: Ditto.
887 * libc/machine/spu/iprintf.c: Ditto.
888 * libc/machine/spu/iscanf.c: Ditto.
889 * libc/machine/spu/siprintf.c: Ditto.
890 * libc/machine/spu/siscanf.c: Ditto.
891 * libc/machine/spu/sniprintf.c: Ditto.
892 * libc/machine/spu/vfiprintf.c: Ditto.
893 * libc/machine/spu/vfiscanf.c: Ditto.
894 * libc/machine/spu/viprintf.c: Ditto.
895 * libc/machine/spu/viscanf.c: Ditto.
896 * libc/machine/spu/vsiprintf.c: Ditto.
897 * libc/machine/spu/vsiscanf.c: Ditto.
898 * libc/machine/spu/vsniprintf.c: Ditto.
899 * libc/machine/spu/fprintf.c: Add support for integer-only
900 version.
901 * libc/machine/spu/fscanf.c: Ditto.
902 * libc/machine/spu/printf.c: Ditto.
903 * libc/machine/spu/scanf.c: Ditto.
904 * libc/machine/spu/snprintf.c: Ditto.
905 * libc/machine/spu/sprintf.c: Ditto.
906 * libc/machine/spu/sscanf.c: Ditto.
907 * libc/machine/spu/vfprintf.c: Ditto.
908 * libc/machine/spu/vfscanf.c: Ditto.
909 * libc/machine/spu/vprintf.c: Ditto.
910 * libc/machine/spu/vscanf.c: Ditto.
911 * libc/machine/spu/vsnprintf.c: Ditto.
912 * libc/machine/spu/vsprintf.c: Ditto.
913 * libc/machine/spu/vsscanf.c: Ditto.
914
915 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
916
917 * libc/include/stdio.h: Add declaration for vsiprintf.
918
919 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
920
921 Add a floating point environment for SPU (cell):
922
923 * configure.host: add libm_machine_dir=spu.
924 * libm/machine/configure: Add spu.
925 * libm/machine/configure.in: regenerated with spu added.
926 * libc/machine/spu/include/fenv.h: New file.
927 * libc/machine/spu/sys/fenv.h: Ditto.
928 * libm/machine/spu/Makefile.am: Ditto.
929 * libm/machine/spu/Makefile.in: Ditto.
930 * libm/machine/spu/aclocal.m4: Ditto.
931 * libm/machine/spu/configure: Ditto.
932 * libm/machine/spu/configure.in: Ditto.
933 * libm/machine/spu/fe_dfl_env.c: Ditto.
934 * libm/machine/spu/feclearexcept.c: Ditto.
935 * libm/machine/spu/fegetenv.c: Ditto.
936 * libm/machine/spu/fegetexceptflag.c: Ditto.
937 * libm/machine/spu/fegetround.c: Ditto.
938 * libm/machine/spu/feholdexcept.c: Ditto.
939 * libm/machine/spu/feraiseexcept.c: Ditto.
940 * libm/machine/spu/fesetenv.c: Ditto.
941 * libm/machine/spu/fesetexceptflag.c: Ditto.
942 * libm/machine/spu/fesetround.c: Ditto.
943 * libm/machine/spu/fetestexcept.c: Ditto.
944 * libm/machine/spu/feupdateenv.c: Ditto.
945 * libm/machine/spu/headers/feclearexcept.h: Ditto.
946 * libm/machine/spu/headers/fefpscr.h: Ditto.
947 * libm/machine/spu/headers/fegetenv.h: Ditto.
948 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
949 * libm/machine/spu/headers/fegetround.h: Ditto.
950 * libm/machine/spu/headers/feholdexcept.h: Ditto.
951 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
952 * libm/machine/spu/headers/fesetenv.h: Ditto.
953 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
954 * libm/machine/spu/headers/fesetround.h: Ditto.
955 * libm/machine/spu/headers/fetestexcept.h: Ditto.
956 * libm/machine/spu/headers/feupdateenv.h: Ditto.
957
958 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
959
960 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
961 Cygwin.
962
963 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
964
965 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
966 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
967
968 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
969
970 * libc/include/sys/features.h: Add definition of all supported
971 _POSIX_xxx values for Cygwin.
972 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
973 on Cygwin.
974 (pthread_rwlockattr_t): Ditto.
975 * libc/include/sys/unistd.h: Define all _SC_xxx values as
976 required by SUSv3. Unify formatting.
977
978 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
979
980 * libc/include/sys/errno.h: Add ECANCELED.
981
982 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
983 Kazunori Asayama <asayama@sm.sony.co.jp>
984
985 * libc/machine/spu/Makefile.am: Add objects.
986 * libc/machine/spu/Makefile.in: Regenerated.
987 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
988 implementation.
989 * libc/machine/spu/snprintf.c: Ditto.
990 * libc/machine/spu/sprintf.c: Ditto.
991 * libc/machine/spu/sscanf.c: Ditto.
992 * libc/machine/spu/remove.c: Ditto.
993 * libc/machine/spu/rename.c: Ditto.
994 * libc/machine/spu/tmpnam.c: Ditto.
995 * libc/machine/spu/vsnprintf.c: Add initialization routine of
996 stdio stuffs.
997 * libc/machine/spu/vsprintf.c: Ditto.
998
999 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1000 Kazunori Asayama <asayama@sm.sony.co.jp>
1001
1002 * configure.host: Enable SPU specific stdio directory.
1003 * libc/machine/spu/Makefile.am: Add objects.
1004 * libc/machine/spu/Makefile.in: Regenerated.
1005 * libc/machine/spu/c99ppe.h: Add macros and function
1006 declarations to initialize SPU specific stdio stuffs.
1007 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1008 specific FILE structures.
1009 * libc/machine/spu/perror.c: Add initialization routine of
1010 stdio stuffs.
1011 * libc/machine/spu/printf.c: Ditto.
1012 * libc/machine/spu/putchar.c: Ditto.
1013 * libc/machine/spu/puts.c: Ditto.
1014 * libc/machine/spu/vprintf.c: Ditto.
1015 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1016 implementation.
1017 * libc/machine/spu/feof.c: Ditto.
1018 * libc/machine/spu/ferror.c: Ditto.
1019 * libc/machine/spu/fileno.c: Ditto.
1020 * libc/machine/spu/fopen.c: Ditto.
1021 * libc/machine/spu/fclose.c: Ditto.
1022 * libc/machine/spu/freopen.c: Ditto.
1023 * libc/machine/spu/fflush.c: Ditto.
1024 * libc/machine/spu/fseek.c: Ditto.
1025 * libc/machine/spu/ftell.c: Ditto.
1026 * libc/machine/spu/rewind.c: Ditto.
1027 * libc/machine/spu/fgetpos.c: Ditto.
1028 * libc/machine/spu/fsetpos.c: Ditto.
1029 * libc/machine/spu/fread.c: Ditto.
1030 * libc/machine/spu/fwrite.c: Ditto.
1031 * libc/machine/spu/getc.c: Ditto.
1032 * libc/machine/spu/getchar.c: Ditto.
1033 * libc/machine/spu/gets.c: Ditto.
1034 * libc/machine/spu/fgetc.c: Ditto.
1035 * libc/machine/spu/fgets.c: Ditto.
1036 * libc/machine/spu/ungetc.c: Ditto.
1037 * libc/machine/spu/putc.c: Ditto.
1038 * libc/machine/spu/fputc.c: Ditto.
1039 * libc/machine/spu/fputs.c: Ditto.
1040 * libc/machine/spu/vfprintf.c: Ditto.
1041 * libc/machine/spu/vfscanf.c: Ditto.
1042 * libc/machine/spu/fprintf.c: Ditto.
1043 * libc/machine/spu/fscanf.c: Ditto.
1044 * libc/machine/spu/scanf.c: Ditto.
1045 * libc/machine/spu/vscanf.c: Ditto.
1046 * libc/machine/spu/setbuf.c: Ditto.
1047 * libc/machine/spu/setvbuf.c: Ditto.
1048 * libc/machine/spu/tmpfile.c: Ditto.
1049
1050 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1051
1052 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1053 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1054 around stdio macros that manipulate fields in the normal file
1055 structure.
1056 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1057 <sys/custom_file.h> to define custom FILE structure.
1058 * libc/include/sys/custom_file.h: New default header file
1059 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1060 * libc/machine/spu/sys/custom_file.h: New file.
1061
1062 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1063
1064 * configure.host: Define stdio directory as a variable.
1065 * libc/Makefile.am: Define stdio related names
1066 as macros.
1067 * libc/configure.in: Add detection routine of stdio directory.
1068 * libc/Makefile.in: Regenerated.
1069 * libc/configure: Ditto.
1070 * libc/argz/Makefile.in: Ditto.
1071 * libc/ctype/Makefile.in: Ditto.
1072 * libc/errno/Makefile.in: Ditto.
1073 * libc/iconv/Makefile.in: Ditto.
1074 * libc/iconv/ccs/Makefile.in: Ditto.
1075 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1076 * libc/iconv/ces/Makefile.in: Ditto.
1077 * libc/iconv/lib/Makefile.in: Ditto.
1078 * libc/locale/Makefile.in: Ditto.
1079 * libc/misc/Makefile.in: Ditto.
1080 * libc/posix/Makefile.in: Ditto.
1081 * libc/reent/Makefile.in: Ditto.
1082 * libc/search/Makefile.in: Ditto.
1083 * libc/signal/Makefile.in: Ditto.
1084 * libc/stdio/Makefile.in: Ditto.
1085 * libc/stdio64/Makefile.in: Ditto.
1086 * libc/stdlib/Makefile.in: Ditto.
1087 * libc/string/Makefile.in: Ditto.
1088 * libc/syscalls/Makefile.in: Ditto.
1089 * libc/time/Makefile.in: Ditto.
1090 * libc/unix/Makefile.in: Ditto.
1091
1092 2007-01-30 Ben Elliston <bje@au.ibm.com>
1093
1094 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1095 fmt member.
1096 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1097 (printf): Pass fmt to va_start to suppress a warning.
1098
1099 * libc/search/hash.c (init_hash): Make `info' parameter const.
1100
1101 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1102
1103 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1104 * libc/machine/spu/vec_literal.h: Ditto.
1105 * libc/machine/spu/strncmp.c: Ditto.
1106
1107 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1108 Kazu Hirata <kazu@codesourcery.com>
1109
1110 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1111 for E500V1 and E500V2.
1112
1113 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1114
1115 * libm/configure.in: Always configure machine directory.
1116 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1117 unconditionally.
1118 * libm/configure: Regenerated.
1119 * libm/Makefile.in: Ditto.
1120 * libm/*/Makefile.in: Ditto.
1121
1122 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1123
1124 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1125
1126 2007-01-02 Ben Elliston <bje@au.ibm.com>
1127
1128 * doc/makedoc.c: Include <stdlib.h>.
1129 (malloc, realloc): Remove extern declarations.
1130
1131 2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
1132
1133 * NEWS: Update with 1.15.0 info.
1134 * README: Ditto.
1135 * acinclude.m4: Change version number to 1.15.0.
1136 * aclocal.m4: Regenerated.
1137 * configure: Ditto.
1138 * doc/aclocal.m4: Ditto.
1139 * doc/configure: Ditto.
1140 * libc/*/aclocal.m4: Ditto.
1141 * libc/*/configure: Ditto.
1142 * libc/libc.texinfo: Ditto.
1143 * libm/*/aclocal.m4: Ditto.
1144 * libm/*/configure: Ditto.
1145 * libm/libm.texinfo: Ditto.
1146 * libc/sys/linux/shared.ld: Add VERS_1.15.
1147
1148 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1149
1150 Merge from newlib-csl-20060320-branch:
1151 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1152 Kazu Hirata <kazu@codesourcery.com>
1153
1154 * configure.host: Recognize fido.
1155
1156 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1157
1158 * libc/machine/spu/c99ppe.h: New file
1159 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1160 * libc/machine/spu/printf.c: New file
1161 * libc/machine/spu/putchar.c: New file
1162 * libc/machine/spu/puts.c: New file
1163 * libc/machine/spu/vprintf.c: New file
1164 * libc/machine/spu/vsnprintf.c: New file
1165 * libc/machine/spu/vsprintf.c: New file
1166 * libc/machine/spu/Makefile.am: Add new targets.
1167 * libc/machine/spu/Makefile.in: Regenerated.
1168
1169 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1170
1171 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1172 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1173
1174 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1175
1176 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1177 2.6.5 version of Doug Lea's malloc which is the basis of
1178 this code.
1179
1180 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1181
1182 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1183
1184 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1185 Eric Blake <ebb9@byu.net>
1186
1187 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1188 read but unused data.
1189 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1190 even read streams may have side effects that must happen.
1191
1192 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1193
1194 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1195 correctly.
1196
1197 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1198
1199 * libc/include/alloca.h: Add undef alloca to work with xlc.
1200
1201 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1202
1203 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1204 cell spu.
1205
1206 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1207
1208 * libc/machine/spu/strncpy.c: Add padding.
1209
1210 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1211
1212 * testsuite/newlib.string/tstring.c:
1213
1214 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1215
1216 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1217 * libc/machine/spu/strrchr.c: Ditto.
1218
1219 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1220
1221 * libc/include/math.h: Allow C99 functions/macros to be
1222 defined for C++ even when __STRICT_ANSI__.
1223
1224 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1225
1226 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1227 an asprintf-family buffer, make the default initial size 64.
1228
1229 2006-11-29 Eric Blake <ebb9@byu.net>
1230
1231 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1232 asprintf, as well as quadratic realloc behavior.
1233
1234 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1235
1236 * libc/machine/spu/memset.c: Fix type of explicit cast.
1237 * libc/machine/spu/strncmp.c: Add explicit cast.
1238 * libc/machine/spu/strrchr.c: Ditto.
1239 * libc/machine/spu/strspn.c: Ditto.
1240
1241 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1242
1243 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1244 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1245 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1246 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1247 * libc/machine/spu/strncat.c: Explicit cast.
1248 * libc/machine/spu/strncmp.c: Use spu_splats.
1249 * libc/machine/spu/strncpy.c: Explicit cast.
1250 * libc/machine/spu/strrchr.c: Use spu_splats.
1251 * libc/machine/spu/strspn.c: Use spu_splats.
1252
1253 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1254
1255 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1256
1257 2006-11-14 Eric Blake <ebb9@byu.net>
1258
1259 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1260 (chclass): ' is a flag. j, t, and z are modifiers.
1261
1262 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1263
1264 * configure.host: Add support for bfin.
1265 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1266 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1267 * libc/machine/bfin/aclocal.m4: Generate.
1268 * libc/machine/bfin/configure.in: New.
1269 * libc/machine/bfin/configure: Generate.
1270 * libc/machine/bfin/Makefile.am: New.
1271 * libc/machine/bfin/Makefile.in: Generate.
1272 * libc/machine/bfin/setjmp.S: New.
1273 * libc/machine/bfin/longjmp.S: New.
1274 * libc/machine/configure.in: Add bfin support.
1275 * libc/machine/configure: Generate.
1276
1277 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1278
1279 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1280 (_PC_FILESIZEBITS): Add definition.
1281 (_PC_2_SYMLINKS): Ditto.
1282 (_PC_SYMLINK_MAX): Ditto.
1283
1284 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1285
1286 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1287 version optimized for the cell spu.
1288 * libc/machine/spu/memmove.c: Ditto.
1289 * libc/machine/spu/memset.c: Ditto.
1290 * libc/machine/spu/strcat.c: Ditto.
1291 * libc/machine/spu/strchr.c: Ditto.
1292 * libc/machine/spu/strcmp.c: Ditto.
1293 * libc/machine/spu/strcpy.c: Ditto.
1294 * libc/machine/spu/strcspn.c: Ditto.
1295 * libc/machine/spu/strlen.c: Ditto.
1296 * libc/machine/spu/strncat.c: Ditto.
1297 * libc/machine/spu/strncmp.c: Ditto.
1298 * libc/machine/spu/strncpy.c: Ditto.
1299 * libc/machine/spu/strpbrk.c: Ditto.
1300 * libc/machine/spu/strrchr.c: Ditto.
1301 * libc/machine/spu/strspn.c: Ditto.
1302 * libc/machine/spu/strxfrm.c: Ditto.
1303 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1304 removing altivec style initializers.
1305 * libc/machine/spu/Makefile.am: Add new files to list so they build
1306 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1307
1308 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1309
1310 * README: Add a brief section on how to regenerate
1311 configuration files in newlib.
1312
1313 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1314
1315 * libc/include/math.h: (exception): Add a comment
1316 telling fixincludes that we handle C vs. C++ issue.
1317
1318 2006-10-11 Yang Tse <yangsita@gmail.com>
1319
1320 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1321 braced-groups.
1322
1323 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1324
1325 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1326
1327 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1328
1329 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1330 for clearerr, feof, or fileno.
1331 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1332 the dummy std stream scheme to use pointers to const external
1333 fake files, one for each standard stream.
1334 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1335 argument. For _REENT_SMALL, reset the file pointer if it
1336 matches one of the fake std stream pointers.
1337 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1338 argument.
1339 * libc/stdio/fclose.c: Ditto.
1340 * libc/stdio/feof.c: Ditto.
1341 * libc/stdio/ferror.c: Ditto.
1342 * libc/stdio/fflush.c: Ditto.
1343 * libc/stdio/fgetc.c: Ditto.
1344 * libc/stdio/fgets.c: Ditto.
1345 * libc/stdio/fileno.c: Ditto.
1346 * libc/stdio/findfp.c: Ditto.
1347 * libc/stdio/fputc.c: Ditto.
1348 * libc/stdio/fputs.c: Ditto.
1349 * libc/stdio/fread.c: Ditto.
1350 * libc/stdio/freopen.c: Ditto.
1351 * libc/stdio/fseek.c: Ditto.
1352 * libc/stdio/ftell.c: Ditto.
1353 * libc/stdio/fwrite.c: Ditto.
1354 * libc/stdio/getc.c: Ditto.
1355 * libc/stdio/getdelim.c: Ditto.
1356 * libc/stdio/putc.c: Ditto.
1357 * libc/stdio/refill.c: Ditto.
1358 * libc/stdio/setvbuf.c: Ditto.
1359 * libc/stdio/ungetc.c: Ditto.
1360 * libc/stdio/vfprintf.c: Ditto.
1361 * libc/stdio/vfscanf.c: Ditto.
1362 * libc/stdio/wbuf.c: Ditto.: Ditto.
1363 * libc/stdio/wsetup.c: Ditto.
1364 * libc/stdio64/freopen64.c: Ditto.
1365 * libc/stdio64/fseeko64.c: Ditto.
1366 * libc/stdio64/ftello64.c: Ditto.
1367 * libc/machine/powerpc/vfprintf.c: Ditto.
1368 * libc/machine/powerpc/vfscanf.c: Ditto.
1369
1370 2006-09-22 Paul Brook <paul@codesourcery.com>
1371
1372 * libc/include/sys/reent.h: Define and use __reent_assert.
1373
1374 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1375
1376 * libc/include/pthread.h: Add pthread barriers,
1377 rwlocks, and spinlocks. Change const to
1378 _CONST and prefix parameter names with
1379 an underscore.
1380 * libc/include/sys/types.h: Add id and attribute
1381 types for barriers, wrlocks, and spinlocks.
1382 * libc/include/sys/features.h: Enable barriers,
1383 wrlocks, and spinlocks for RTEMS.
1384
1385 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1386
1387 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1388 supposed to be writable.
1389 * libm/common/s_lib_ver.c: Ditto.
1390
1391 2006-09-12 Paul Brook <paul@codesourcery.com>
1392
1393 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1394
1395 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1396
1397
1398 * libc/machine/xstormy16/Makefile.am:
1399 Add $(lpfx) prefix to LIBADD objects.
1400 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1401 * libc/machine/xstormy16/Makefile.in: Regenerated.
1402
1403 2006-09-06 Eric Blake <ebb9@byu.net>
1404
1405 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1406 't', and 'z' modifiers.
1407
1408 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1409
1410 Merge from newlib-csl-20060320-branch:
1411 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1412
1413 * configure.host: Tell it we have _rename and _system when
1414 building m68k-unknown-elf.
1415
1416 2006-08-29 Paul Brook <paul@codesourcery.com>
1417
1418 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1419
1420 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1421
1422 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1423 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1424 This is needed to build all AVR and H8300 RTEMS multilib variants.
1425
1426 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1427
1428 * libc/machine/configure.in: Add configuration for SPU.
1429 * libc/machine/configure: Regenerated.
1430 * libc/machine/spu/memcpy.c: Include string.h.
1431
1432 2006-08-22 Eric Blake <ebb9@byu.net>
1433
1434 * libc/posix/popen.c (popen): Don't close output end of pipe in
1435 child if stdout was closed on entry.
1436 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1437
1438 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1439
1440 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1441 line.
1442
1443 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1444
1445 * libc/time/gmtime.c: Correct man page; clock is not a
1446 local time and no conversion occurs.
1447
1448 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1449
1450 * configure.host (newlib_cflags) [spu]: Add special compiler
1451 options to reduce size.
1452
1453 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1454
1455 * configure.host: Add spu support.
1456 * libc/include/stdint.h: Ditto.
1457 * libc/include/machine/ieeefp.h: Ditto.
1458 * libc/include/machine/setjmp.h: Ditto.
1459 * libc/include/sys/config.h: Ditto.
1460 * libc/include/sys/types.h: Ditto.
1461 * libc/machine/spu/Makefile.am: New file.
1462 * libc/machine/spu/Makefile.in: Ditto.
1463 * libc/machine/spu/aclocal.m4: Ditto.
1464 * libc/machine/spu/configure: Ditto.
1465 * libc/machine/spu/configure.in: Ditto.
1466 * libc/machine/spu/memcpy.c: Ditto.
1467 * libc/machine/spu/setjmp.S: Ditto.
1468
1469 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1470
1471 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1472 properly.
1473
1474 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1475
1476 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1477 generated .texi files.
1478 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1479 generated .texi files.
1480 * libc/Makefile.in: Regenerated.
1481 * libm/Makefile.in: Ditto.
1482
1483 2006-08-01 Thiemo Seufer <ths@mips.com>
1484 Nigel Stephens <nigel@mips.com>
1485
1486 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1487 define this to force _impure_ptr to live in the .sdata section.
1488
1489 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1490
1491 * acinclude.m4: Check for readelf tool.
1492 * configure.in: Use ${READELF} instead of hard-coding.
1493 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1494
1495 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1496
1497 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1498 to avoid conflict with newer glibc's revision of mremap.
1499
1500 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1501
1502 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1503 floating-point format support. Also redefine
1504 dword0 and dword1 macros.
1505 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1506 to prevent setting dword1 which is an rvalue only.
1507
1508 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1509
1510 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1511 * libc/stdlib/Makefile.in: Regenerated.
1512 * libc/stdlib/gd_qnan.h: New file.
1513 * libc/stdlib/gdtoa-gethex.c: Ditto.
1514 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1515 * libc/stdlib/gdtoa.h: Ditto.
1516 * libc/stdlib/mprec.c: Add new helper routines needed by
1517 the new gdtoa code.
1518 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1519 used by gdtoa routines here.
1520 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1521 which adds C99 support such as nan, inf, and hexadecimal input
1522 format.
1523
1524 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1525
1526 * libc/include/stdio.h (__sgetc_r): Fix typo.
1527 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1528 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1529 * libc/stdio/wbuf.c (__swbuf): Ditto.
1530
1531 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1532
1533 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1534 read/write functions. Change getc/putc macros to have reentrant underlying
1535 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1536 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1537 new reentrant I/O functions/macros for reading/writing.
1538 * libc/stdio/fgets.c: Ditto.
1539 * libc/stdio/fputc.c: Ditto.
1540 * libc/stdio/fputs.c: Ditto.
1541 * libc/stdio/fread.c: Ditto.
1542 * libc/stdio/fseek.c: Ditto.
1543 * libc/stdio64/fseeko64.c: Ditto.
1544 * libc/stdio/fwrite.c: Ditto.
1545 * libc/stdio/getc.c: Ditto.
1546 * libc/stdio/getc_u.c: Ditto.
1547 * libc/stdio/getchar.c: Ditto.
1548 * libc/stdio/getchar_u.c: Ditto.
1549 * libc/stdio/putc.c: Ditto.
1550 * libc/stdio/putc_u.c: Ditto.
1551 * libc/stdio/putchar.c: Ditto.
1552 * libc/stdio/puts.c: Ditto.
1553 * libc/stdio/vfprintf.c: Ditto.
1554 * libc/stdio/vfscanf.c: Ditto.
1555 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1556 Change all previous callers of __sfvwrite. Set errno to EBADF and
1557 set error flag on if attempt is made to write to file that does not
1558 allow writing.
1559 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1560 * libc/stdio/local.h: Ditto.
1561 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1562 Set errno to EBADF and the error flag on if attempt is made to
1563 read unreadable file. Change all previous callers of __srefill.
1564 * libc/stdio/rget.c
1565 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1566 all previous callers of __swbuf.
1567 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1568 huge value macros are already defined correctly for i386 by <math.h>.
1569
1570 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1571
1572 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1573 Make them do something useful in the ARM_RDI_MONITOR case.
1574
1575 2006-06-07 Fred Fish <fnf@specifix.com>
1576
1577 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1578 defines that are already supplied by <sys/param.h>.
1579
1580 2006-06-07 Fred Fish <fnf@specifix.com>
1581
1582 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1583
1584 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1585
1586 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1587 usleep.c.
1588 * libc/posix/Makefile.in: Regenerate.
1589 * libc/posix/sleep.c: New file.
1590 * libc/posix/usleep.c: Ditto.
1591
1592 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1593
1594 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1595 -DABORT_PROVIDED flag.
1596 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1597 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1598
1599 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1600
1601 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1602 * Makefile.in: Regenerated.
1603 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1604 extraneous CFLAGS reference now that CCASFLAGS are being extended
1605 properly via multilib.
1606 * libc/machine/sh/Makefile.in: Regenerated.
1607
1608 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1609
1610 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1611 sigismember.
1612
1613 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1614
1615 * libc/misc/dprintf.c: Removed.
1616 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1617 * libc/misc/Makefile.am: Changed appropriately for rename.
1618 * libc/misc/Makefile.in: Regenerated.
1619
1620 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1621
1622 * libc/include/stdio.h: Protect dprintf prototype
1623 with #ifndef dprintf so as to not interfere with
1624 historical code defining their own dprintf macro.
1625
1626 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1627
1628 * libc/include/stdio.h: Add prototypes for fiscanf,
1629 iscanf, and siscanf.
1630
1631 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1632
1633 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1634 (DEF_NEWLIB_VERSION).
1635 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1636 * configure: Regenerate.
1637
1638 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1639
1640 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1641 lib_a_SOURCES.
1642 * libc/ctype/Makefile.in: Regenerated.
1643
1644 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1645
1646 * libc/machine/arm/Makefile.am: Fix a typo.
1647 * libc/machine/arm/Makefile.in: Regenerated.
1648
1649 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1650
1651 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1652 * libc/machine/sh/Makefile.in: Regenerate.
1653
1654 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1655
1656 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1657 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1658
1659 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1660
1661 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1662 .s.
1663 * libc/sys/sysnec810/Makefile.in: Regenerated.
1664 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1665 * libc/sys/sysnec810/io.S: Ditto.
1666 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1667 * libc/sys/sysnec810/io.s: Ditto.
1668
1669 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1670
1671 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1672 be specified instead of object, do so.
1673 * libc/ctype/Makefile.am: Ditto.
1674 * libc/iconv/ccs/Makefile.am: Ditto.
1675 * libc/iconv/ces/Makefile.am: Ditto.
1676 * libc/iconv/lib/Makefile.am: Ditto.
1677 * libc/locale/Makefile.am: Ditto.
1678 * libc/posix/Makefile.am: Ditto.
1679 * libc/reent/Makefile.am: Ditto.
1680 * libc/search/Makefile.am: Ditto.
1681 * libc/stdio/Makefile.am: Ditto.
1682 * libc/stdio64/Makefile.am: Ditto.
1683 * libc/stdlib/Makefile.am: Ditto.
1684 * libc/string/Makefile.am: Ditto.
1685 * libc/syscalls/Makefile.am: Ditto.
1686 * libc/unix/Makefile.am: Ditto.
1687 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1688 prefix added automatically. Any specified rules must use $(lpfx) for
1689 object file names.
1690 * libc/machine/arm/Makefile.am: Ditto.
1691 * libc/machine/cris/Makefile.am: Ditto.
1692 * libc/machine/crx/Makefile.am: Ditto.
1693 * libc/machine/d10v/Makefile.am: Ditto.
1694 * libc/machine/d30v/Makefile.am: Ditto.
1695 * libc/machine/fr30/Makefile.am: Ditto.
1696 * libc/machine/frv/Makefile.am: Ditto.
1697 * libc/machine/h8300/Makefile.am: Ditto.
1698 * libc/machine/h8500/Makefile.am: Ditto.
1699 * libc/machine/hppa/Makefile.am: Ditto.
1700 * libc/machine/i386/Makefile.am: Ditto.
1701 * libc/machine/i960/Makefile.am: Ditto.
1702 * libc/machine/iq2000/Makefile.am: Ditto.
1703 * libc/machine/m32c/Makefile.am: Ditto.
1704 * libc/machine/m32r/Makefile.am: Ditto.
1705 * libc/machine/m68hc11/Makefile.am: Ditto.
1706 * libc/machine/m68k/Makefile.am: Ditto.
1707 * libc/machine/m88k/Makefile.am: Ditto.
1708 * libc/machine/mips/Makefile.am: Ditto.
1709 * libc/machine/mn10200/Makefile.am: Ditto.
1710 * libc/machine/mn10300/Makefile.am: Ditto.
1711 * libc/machine/mt/Makefile.am: Ditto.
1712 * libc/machine/necv70/Makefile.am: Ditto.
1713 * libc/machine/powerpc/Makefile.am: Ditto.
1714 * libc/machine/sh/Makefile.am: Ditto.
1715 * libc/machine/sh/Makefile.in: Ditto.
1716 * libc/machine/sparc/Makefile.am: Ditto.
1717 * libc/machine/tic4x/Makefile.am: Ditto.
1718 * libc/machine/tic80/Makefile.am: Ditto.
1719 * libc/machine/v850/Makefile.am: Ditto.
1720 * libc/machine/w65/Makefile.am: Ditto.
1721 * libc/machine/xscale/Makefile.am: Ditto.
1722 * libc/machine/xstormy16/Makefile.am: Ditto.
1723 * libc/machine/z8k/Makefile.am: Ditto.
1724 * libc/sys/a29khif/Makefile.am: Ditto.
1725 * libc/sys/arm/Makefile.am: Ditto.
1726 * libc/sys/d10v/Makefile.am: Ditto.
1727 * libc/sys/h8300hms/Makefile.am: Ditto.
1728 * libc/sys/h8500hms/Makefile.am: Ditto.
1729 * libc/sys/linux/Makefile.am: Ditto.
1730 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1731 * libc/sys/linux/net/Makefile.am: Ditto.
1732 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1733 * libc/sys/m88kbug/Makefile.am: Ditto.
1734 * libc/sys/mmixware/Makefile.am: Ditto.
1735 * libc/sys/rdos/Makefile.am: Ditto.
1736 * libc/sys/rtems/Makefile.am: Ditto.
1737 * libc/sys/sh/Makefile.am: Ditto.
1738 * libc/sys/sun4/Makefile.am: Ditto.
1739 * libc/sys/sysmec/Makefile.am: Ditto.
1740 * libc/sys/sysnec810/Makefile.am: Ditto.
1741 * libc/sys/sysnecv850/Makefile.am: Ditto.
1742 * libc/sys/sysvi386/Makefile.am: Ditto.
1743 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1744 * libc/sys/tic80/Makefile.am: Ditto.
1745 * libc/sys/w65/Makefile.am: Ditto.
1746 * libc/sys/z8ksim/Makefile.am: Ditto.
1747 * libc/machine/necv70/fastmath.S: Renamed from .s file.
1748 * libc/machine/necv70/setjmp.S: Ditto.
1749 * libc/machine/necv70/fastmath.s: Removed.
1750 * libc/machine/necv70/setjmp.s: Ditto.
1751 * libc/machine/w65/*.S: New files renamed from .s files.
1752 * libc/machine/w65/*.s: Renamed and removed.
1753 * libc/sys/a29khif/*.S: New files renamed from .s files.
1754 * libc/sys/a29khif/*.s: Renamed and removed.
1755 * libc/sys/sysvi386/*.S: New files renamed from .s files.
1756 * libc/sys/sysvi386/*.s: Renamed and removed.
1757 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
1758 * libc/sys/sysvnecv70/*.s: Renamed and removed.
1759 * libc/*Makefile.in: Regenerated as appropriate.
1760
1761 2006-04-24 DJ Delorie <dj@redhat.com>
1762
1763 * libc/machine/sh/configure.in: Avoid link tests.
1764 * libc/machine/sh/configure: Regenerate.
1765
1766 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
1767
1768 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
1769 (sigaddset, sigemptyset): Add return code.
1770
1771 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
1772
1773 * acinclude.m4: New _NEWLIB_VERSION.
1774 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
1775 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
1776 Use new form of AC_INIT_AUTOMAKE.
1777 * configure.in: AC_PREREQ(2.59).
1778 Use autoconf-2.5.x version of AC_INIT.
1779 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
1780 autoconf-2.13's AC_OUTPUT.
1781 * libm/configure.in: Ditto.
1782 * libm/machine/configure.in: Ditto.
1783 * libm/machine/i386/configure.in: Ditto.
1784 * libc/configure.in: Ditto.
1785 * libc/machine/a29k/configure.in: Ditto.
1786 * libc/machine/arm/configure.in: Ditto.
1787 * libc/machine/configure.in: Ditto.
1788 * libc/machine/mn10300/configure.in: Ditto.
1789 * libc/machine/powerpc/configure.in: Ditto.
1790 * libc/machine/z8k/configure.in: Ditto.
1791 * libc/machine/h8300/configure.in: Ditto.
1792 * libc/machine/mips/configure.in: Ditto.
1793 * libc/machine/crx/configure.in: Ditto.
1794 * libc/machine/m68hc11/configure.in: Ditto.
1795 * libc/machine/h8500/configure.in: Ditto.
1796 * libc/machine/xscale/configure.in: Ditto.
1797 * libc/machine/d10v/configure.in: Ditto.
1798 * libc/machine/fr30/configure.in: Ditto.
1799 * libc/machine/sh/configure.in: Ditto.
1800 * libc/machine/tic80/configure.in: Ditto.
1801 * libc/machine/m32r/configure.in: Ditto.
1802 * libc/machine/xstormy16/configure.in: Ditto.
1803 * libc/machine/i386/configure.in: Ditto.
1804 * libc/machine/d30v/configure.in: Ditto.
1805 * libc/machine/mn10200/configure.in: Ditto.
1806 * libc/machine/frv/configure.in: Ditto.
1807 * libc/machine/mt/configure.in: Ditto.
1808 * libc/machine/i960/configure.in: Ditto.
1809 * libc/machine/v850/configure.in: Ditto.
1810 * libc/machine/necv70/configure.in: Ditto.
1811 * libc/machine/tic4x/configure.in: Ditto.
1812 * libc/machine/cris/configure.in: Ditto.
1813 * libc/machine/m68k/configure.in: Ditto.
1814 * libc/machine/m32c/configure.in: Ditto.
1815 * libc/machine/hppa/configure.in: Ditto.
1816 * libc/machine/w65/configure.in: Ditto.
1817 * libc/machine/iq2000/configure.in: Ditto.
1818 * libc/machine/sparc/configure.in: Ditto.
1819 * libc/machine/m88k/configure.in: Ditto.
1820 * libc/sys/linux/configure.in: Ditto.
1821 * libc/sys/linux/machine/configure.in: Ditto.
1822 * libc/sys/linux/machine/i386/configure.in: Ditto.
1823 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1824 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1825 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1826 * libc/sys/arm/configure.in: Ditto.
1827 * libc/sys/configure.in: Ditto.
1828 * libc/sys/decstation/configure.in: Ditto.
1829 * libc/sys/a29khif/configure.in: Ditto.
1830 * libc/sys/sysnecv850/configure.in: Ditto.
1831 * libc/sys/d10v/configure.in: Ditto.
1832 * libc/sys/netware/configure.in: Ditto.
1833 * libc/sys/mmixware/configure.in: Ditto.
1834 * libc/sys/h8500hms/configure.in: Ditto.
1835 * libc/sys/sh/configure.in: Ditto.
1836 * libc/sys/tic80/configure.in: Ditto.
1837 * libc/sys/rdos/configure.in: Ditto.
1838 * libc/sys/sysmec/configure.in: Ditto.
1839 * libc/sys/sysvi386/configure.in: Ditto.
1840 * libc/sys/h8300hms/configure.in: Ditto.
1841 * libc/sys/sparc64/configure.in: Ditto.
1842 * libc/sys/arc/configure.in: Ditto.
1843 * libc/sys/sysnec810/configure.in: Ditto.
1844 * libc/sys/m88kbug/configure.in: Ditto.
1845 * libc/sys/sysvnecv70/configure.in: Ditto.
1846 * libc/sys/z8ksim/configure.in: Ditto.
1847 * libc/sys/rtems/configure.in: Ditto.
1848 * libc/sys/w65/configure.in: Ditto.
1849 * libc/sys/sun4/configure.in: Ditto.
1850 * doc/configure.in: Ditto.
1851 * iconvdata/configure.in: Ditto.
1852 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
1853
1854 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
1855
1856 * acinclude.m4: Properly add square brackets for
1857 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
1858 macros no longer available. Add LIB_AM_PROG_AS to
1859 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
1860 macro. Substitute lpfx (library object prefix).
1861 * configure.host: Set lpfx depending on whether
1862 libtool is used or not.
1863 * configure.in: Individually specify libc and libm
1864 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
1865 necessary.
1866 * Makefile.am: Use $(lpfx) to get object names for
1867 math-library functions that should also be in libc.
1868 * libc/machine/configure.in: Use case statement to determine
1869 AC_CONFIG_SUBDIRS statement.
1870 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1871 * libc/sys/linux/machine/configure.in: Ditto.
1872 * libc/sys/configure.in: Ditto.
1873 * libm/machine/configure.in: Ditto.
1874 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
1875 * libm/configure.in: Add AM_CONDITIONAL statement
1876 for HAVE_LIBM_MACHINE_DIR.
1877 * libc/machine/a29k/Makefile.am: Modified to work with
1878 latest automake. Change includes setting AM_CCASFLAGS
1879 so building .S files will properly pick up flags used
1880 to build C files.
1881 * libc/machine/arm/Makefile.am: Ditto.
1882 * libc/machine/crx/Makefile.am: Ditto.
1883 * libc/machine/d10v/Makefile.am: Ditto.
1884 * libc/machine/d30v/Makefile.am: Ditto.
1885 * libc/machine/fr30/Makefile.am: Ditto.
1886 * libc/machine/frv/Makefile.am: Ditto.
1887 * libc/machine/h8300/Makefile.am: Ditto.
1888 * libc/machine/h8500/Makefile.am: Ditto.
1889 * libc/machine/hppa/Makefile.am: Ditto.
1890 * libc/machine/i386/Makefile.am: Ditto.
1891 * libc/machine/iq2000/Makefile.am: Ditto.
1892 * libc/machine/m32c/Makefile.am: Ditto.
1893 * libc/machine/m32r/Makefile.am: Ditto.
1894 * libc/machine/m68hc11/Makefile.am: Ditto.
1895 * libc/machine/m68k/Makefile.am: Ditto.
1896 * libc/machine/m88k/Makefile.am: Ditto.
1897 * libc/machine/mips/Makefile.am: Ditto.
1898 * libc/machine/mn10200/Makefile.am: Ditto.
1899 * libc/machine/mn10300/Makefile.am: Ditto.
1900 * libc/machine/mt/Makefile.am: Ditto.
1901 * libc/machine/necv70/Makefile.am: Ditto.
1902 * libc/machine/powerpc/Makefile.am: Ditto.
1903 * libc/machine/sh/Makefile.am: Ditto.
1904 * libc/machine/sparc/Makefile.am: Ditto.
1905 * libc/machine/tic4x/Makefile.am: Ditto.
1906 * libc/machine/tic80/Makefile.am: Ditto.
1907 * libc/machine/v850/Makefile.am: Ditto.
1908 * libc/machine/w65/Makefile.am: Ditto.
1909 * libc/machine/xscale/Makefile.am: Ditto.
1910 * libc/machine/xstormy16/Makefile.am: Ditto.
1911 * libc/machine/z8k/Makefile.am: Ditto.
1912 * libc/sys/a29khif/Makefile.am: Ditto.
1913 * libc/sys/arc/Makefile.am: Ditto.
1914 * libc/sys/arm/Makefile.am: Ditto.
1915 * libc/sys/d10v/Makefile.am: Ditto.
1916 * libc/sys/decstation/Makefile.am: Ditto.
1917 * libc/sys/h8300hms/Makefile.am: Ditto.
1918 * libc/sys/h8500hms/Makefile.am: Ditto.
1919 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1920 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1921 * libc/sys/m88kbug/Makefile.am: Ditto.
1922 * libc/sys/mmixware/Makefile.am: Ditto.
1923 * libc/sys/netware/Makefile.am: Ditto.
1924 * libc/sys/rdos/Makefile.am: Ditto.
1925 * libc/sys/rtems/Makefile.am: Ditto.
1926 * libc/sys/sh/Makefile.am: Ditto.
1927 * libc/sys/sparc64/Makefile.am: Ditto.
1928 * libc/sys/sysmec/Makefile.am: Ditto.
1929 * libc/sys/sysnec810/Makefile.am: Ditto.
1930 * libc/sys/sysnecv850/Makefile.am: Ditto.
1931 * libc/sys/sysvi386/Makefile.am: Ditto.
1932 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1933 * libc/sys/tic80/Makefile.am: Ditto.
1934 * libc/sys/w65/Makefile.am: Ditto.
1935 * libc/sys/z8ksim/Makefile.am: Ditto.
1936 * libm/machine/i386/Makefile.am: Ditto.
1937 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
1938 trap.S so that automake will generate a .S.o suffix rule.
1939 * libc/argz/Makefile.am: Modified to work with
1940 latest automake. Change includes adding lib_a_CFLAGS
1941 so automake doesn't complain about libtool and non-libtool
1942 libraries sharing objects.
1943 * libc/ctype/Makefile.am: Ditto.
1944 * libc/errno/Makefile.am: Ditto.
1945 * libc/iconv/ccs/Makefile.am: Ditto.
1946 * libc/iconv/ces/Makefile.am: Ditto.
1947 * libc/iconv/lib/Makefile.am: Ditto.
1948 * libc/locale/Makefile.am: Ditto.
1949 * libc/misc/Makefile.am: Ditto.
1950 * libc/posix/Makefile.am: Ditto.
1951 * libc/reent/Makefile.am: Ditto.
1952 * libc/search/Makefile.am: Ditto.
1953 * libc/signal/Makefile.am: Ditto.
1954 * libc/stdio/Makefile.am: Ditto.
1955 * libc/stdio64/Makefile.am: Ditto.
1956 * libc/stdlib/Makefile.am: Ditto.
1957 * libc/string/Makefile.am: Ditto.
1958 * libc/sys/linux/Makefile.am: Ditto.
1959 * libc/sys/linux/argp/Makefile.am: Ditto.
1960 * libc/sys/linux/cmath/Makefile.am: Ditto.
1961 * libc/sys/linux/dl/Makefile.am: Ditto.
1962 * libc/sys/linux/iconv/Makefile.am: Ditto.
1963 * libc/sys/linux/intl/Makefile.am: Ditto.
1964 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1965 * libc/sys/linux/net/Makefile.am: Ditto.
1966 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1967 * libc/syscalls/Makefile.am: Ditto.
1968 * libc/time/Makefile.am: Ditto.
1969 * libc/unix/Makefile.am: Ditto.
1970 * libm/Makefile.am: Ditto.
1971 * libm/common/Makefile.am: Ditto.
1972 * libm/math/Makefile.am: Ditto.
1973 * libm/mathfp/Makefile.am: Ditto.
1974 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1975
1976 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
1977
1978 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
1979 anymore. Assume there is a gettimeofday syscall.
1980
1981 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1982
1983 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
1984 for the declaration of n_long.
1985
1986 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1987
1988 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
1989 struct sockaddr.
1990 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
1991 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
1992 (IFF_NOTRAILERS): New define.
1993 (struct ifreq): Add ifru_netmask.
1994 (ifr_netmask): New define.
1995
1996 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1997
1998 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
1999 match sys/ioctl.h.
2000
2001 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2002
2003 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2004 linux-newlib libc implementations.
2005
2006 2006-03-29 Eric Blake <ebb9@byu.net>
2007
2008 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2009 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2010
2011 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2012
2013 * libc/sys/linux/io.c (__mknod): Fix declaration of
2014 syscall to pass a dev_t as third argument rather than
2015 a pointer to dev_t.
2016
2017 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2018
2019 * libc/sys/linux/net/name6.c: Fix struct references.
2020
2021 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2022
2023 * configure.host: Allow hosts to set the default
2024 newlib_atexit_dynamic_alloc value.
2025 * configure.in: Likewise.
2026 * configure: Regenerated.
2027
2028 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2029
2030 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2031 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2032 option.
2033 * configure: Regenerated.
2034 * newlib.hin: Regenerated.
2035 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2036 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2037 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2038 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2039
2040 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2041
2042 * libc/sys/linux/linuxthreads/config.h: Remove definition
2043 of UINT32_C.
2044
2045 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2046
2047 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2048 for a string I/O file that isn't using the asprintf family.
2049
2050 2006-03-07 Eric Blake <ebb9@byu.net>
2051
2052 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2053 filename, allow read-only or write-only FILE atop O_RDWR file
2054 descriptor.
2055 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2056
2057 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2058
2059 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2060 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2061
2062 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2063
2064 * libm/math/math.tex: Fix reference to sisnan.def which
2065 is now in common subdirectory.
2066 * libm/mathfp/mathfp.tex: Ditto.
2067
2068 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2069
2070 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2071 s_isnand, and sf_isnanf object files.
2072 * Makefile.in: Regenerated.
2073 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2074 conflict if <math.h> has previously been included.
2075 * libc/include/math.h
2076 * libc/include/math.h: Make isnan and isinf macros to
2077 conform to C99.
2078 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2079 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2080 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2081 sf_isinf files which have been moved from math/mathfp directories.
2082 * libm/common/Makefile.in: Regenerated.
2083 * libm/common/s_isinfd.c: New file.
2084 * libm/common/s_isnand.c: Ditto.
2085 * libm/common/sf_isinff.c: Ditto.
2086 * libm/common/sf_isnanf.c: Ditto.
2087 * libm/common/s_isinf.c: Moved from libm/math directory.
2088 * libm/common/s_isnan.c: Ditto.
2089 * libm/common/sf_isinf.c: Ditto.
2090 * libm/common/sf_isnan.c: Ditto.
2091 * libm/math/Makefile.am: Remove isinf and isnan family functions
2092 which have been moved into common directory.
2093 * libm/mathfp/Makefile.am: Ditto.
2094 * libm/math/Makefile.in: Regenerated.
2095 * libm/mathfp/Makefile.in: Ditto.
2096 * libm/math/s_isinf.c: Removed.
2097 * libm/math/s_isnan.c: Ditto.
2098 * libm/math/sf_isinf.c: Ditto.
2099 * libm/math/sf_isnan.c: Ditto.
2100 * libm/mathfp/s_isinf.c: Ditto.
2101 * libm/mathfp/s_isnan.c: Ditto.
2102 * libm/mathfp/sf_isinf.c: Ditto.
2103 * libm/mathfp/sf_isnan.c: Ditto.
2104
2105 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2106
2107 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2108 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2109 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2110 seek, turn off the __SNPT no-optimization flag.
2111
2112 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2113
2114 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2115 will be defined.
2116 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2117 <features.h> to preset special flags.
2118
2119 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2120
2121 * libc/include/sys/time.h (struct timeval): Change member types
2122 according to SUSv3.
2123 * libc/include/sys/types.h (useconds_t): Change to unsigned
2124 according to SUSv3.
2125 (suseconds_t): Define type.
2126
2127 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2128 David Carne <davidcarne@gmail.com>
2129
2130 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2131 instead of strlen to determine number of bytes to copy.
2132 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2133 before looking at storage location.
2134
2135 2006-02-07 Paul Brook <paul@codesourcery.com>
2136
2137 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2138 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2139 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2140 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2141 * libc/sys/arm/trap.S: Disable for Thumb-2.
2142
2143 2006-01-31 Leif Ekblad <leif@rdos.net>
2144
2145 * configure.host: RDOS support added
2146 * libc/include/sys/config.h: Ditto.
2147 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2148 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2149 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2150 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2151 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2152 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2153 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2154 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2155 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2156 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2157 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2158 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2159 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2160 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2161 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2162 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2163 * libc/sys/rdos/write.c: Ditto.
2164
2165 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2166
2167 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2168 so as not to define PACKAGE and VERSION in newlib.h.
2169 * aclocal.m4: Regenerated.
2170 * configure: Ditto.
2171 * newlib.hin: Ditto.
2172
2173 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2174
2175 * acconfig.h: New file to generate newlib.hin from.
2176 * newlib.hin: Regenerated.
2177 * stamp-h.in: Regenerated.
2178 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2179 called automatically.
2180 * Makefile.in: Regenerated.
2181 * acinclude.m4: Add proper comment for hack in previous change.
2182 * aclocal.m4 */aclocal.m4: Regenerated.
2183 * configure */configure: Regenerated.
2184
2185 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2186
2187 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2188 from being set to "../".
2189 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2190 * aclocal.m4: Regenerated.
2191 * configure: Ditto.
2192 * Makefile.in: Ditto.
2193 * doc/aclocal.m4: Ditto.
2194 * doc/configure: Ditto.
2195 * iconvdata/aclocal.m4: Ditto.
2196 * iconvdata/configure: Ditto.
2197 * libc/*/aclocal.m4: Ditto.
2198 * libc/*/configure: Ditto.
2199 * libc/libc.texinfo: Ditto.
2200 * libm/*/aclocal.m4: Ditto.
2201 * libm/*/configure: Ditto.
2202
2203 2006-01-10 Eric Blake <ebb9@byu.net>
2204
2205 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2206 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2207
2208 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2209
2210 * libm/mathfp/s_frexp.c: Check for special values on
2211 the original input, not the manipulated output value.
2212 * libm/mathfp/sf_frexp.c: Ditto.
2213 * libm/mathfp/s_atangent.c: Don't use local value branch
2214 when checking for quadrant.
2215 * libm/mathfp/sf_atangent.c: Ditto.
2216
2217 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2218
2219 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2220 * libc/stdio64/freopen64.c: Ditto.
2221
2222 2006-01-09 Eric Blake <ebb9@byu.net>
2223
2224 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2225 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2226
2227 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2228
2229 * libc/sys/linux/include/getopt.h: Add macros needed by
2230 new version of getopt.c in libc/stdlib.
2231
2232 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2233
2234 * libc/stdlib/getopt.c: Replaced with version
2235 that adds getopt_long and getopt_long_only support.
2236 * libc/include/getopt.h: New file.
2237
2238 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2239
2240 * NEWS: Update with 1.14.0 info.
2241 * README: Ditto.
2242 * acinclude.m4: Change version number to 1.14.0.
2243 * aclocal.m4: Regenerated.
2244 * configure: Ditto.
2245 * doc/aclocal.m4: Ditto.
2246 * doc/configure: Ditto.
2247 * libc/*/aclocal.m4: Ditto.
2248 * libc/*/configure: Ditto.
2249 * libc/libc.texinfo: Ditto.
2250 * libm/*/aclocal.m4: Ditto.
2251 * libm/*/configure: Ditto.
2252 * libm/libm.texinfo: Ditto.
2253 * libc/sys/linux/shared.ld: Add VERS_1.14.
2254
2255 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2256
2257 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2258 take a pointer to struct stat64 rather than struct stat.
2259
2260 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2261
2262 * libc/include/stdint.h: Prefer long over int for int32_t.
2263 Use __have_long32 to set up int32_t.
2264 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2265 (Sync with stdint.h).
2266
2267 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2268
2269 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2270 typo in O_NDELAY comment.
2271
2272 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2273
2274 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2275 * libc/include/machine/setjmp.h (__mt__): Likewise.
2276 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2277 * libc/machine/configure.in: Ditto.
2278
2279 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2280
2281 * configure.host: Replace ms1 arch with mt arch.
2282 * libc/machine/mt: Renamed from ms1 dir.
2283
2284 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2285
2286 * libc/include/sys/types.h: Remove the ifdef armour around
2287 standard POSIX types.
2288
2289 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2290
2291 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2292 rtems_gxx_key_delete, rtems_gxx_getspecific,
2293 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2294 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2295 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2296
2297 2005-12-05 Christopher Faylor <cgf@timesys.com>
2298
2299 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2300 file. Declare unsetenv and _unsetenv_r when not cygwin.
2301
2302 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2303
2304 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2305 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2306
2307 2005-11-18 Christopher Faylor <cgf@timesys.com>
2308
2309 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2310
2311 2005-11-18 Christopher Faylor <cgf@timesys.com>
2312
2313 * include/time.h: Remove more cygwin-specific stuff.
2314
2315 2005-11-18 Christopher Faylor <cgf@timesys.com>
2316
2317 * include/time.h: Move cygwin declarations to cygwin-specific header.
2318 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2319
2320 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2321
2322 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2323 in libc/sys/linux/include.
2324 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2325 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2326 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2327 in libc/sys/linux/dl.
2328
2329 2005-11-11 Christopher Faylor <cgf@timesys.com>
2330
2331 * libc/include/sys/time.h: For cygwin, use general header rather than
2332 specific "sys/select.h".
2333
2334 2005-11-08 Tom Walsh <tom@openhardware.net>
2335
2336 * libc/time/tzvars.c: New file.
2337 * libc/time/tzset_r.c: Moved globals into tzvars.c
2338 so other time functions needn't link in __tzset_r and its
2339 dependencies.
2340 * libc/time/Makefile.am: Add the new file.
2341 * libc/time/Makefile.in: Regenerated.
2342
2343 2005-11-08 Christopher Faylor <cgf@timesys.com>
2344
2345 * libc/include/string.h: Add cygwin-specific function declaration.
2346
2347 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2348
2349 * libc/include/ieeefp.h: Add C++ guards.
2350
2351 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2352
2353 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2354 * libc/unix/getlogin.c: Ditto.
2355 * libc/unix/getpass.c: Ditto.
2356 * libc/unix/getut.c: Ditto.
2357 * libc/unix/ttyname.c: Ditto.
2358
2359 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2360
2361 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2362 prototypes by default.
2363 * libc/sys/linux/include/unistd.h (readlink): Remove this
2364 prototype.
2365 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2366 prototypes.
2367
2368 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2369
2370 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2371
2372 2005-10-31 Darin Johnson <darin@usa.net>
2373
2374 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2375 correct for constants.
2376
2377 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2378
2379 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2380 * libc/stdio/siscanf.c: Likewise.
2381 * libc/stdio/sprintf.c: Likewise.
2382 * libc/stdio/sscanf.c: Likewise.
2383 * libc/stdio/vfprintf.c: Likewise.
2384 * libc/stdio/vfscanf.c: Likewise.
2385 * libc/stdio/viprintf.c: Likewise.
2386 * libc/stdio/viscanf.c: Likewise.
2387
2388 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2389
2390 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2391 example to use "_end" symbol instead of "end". Change write example
2392 to use "outbyte" instead of "writechar".
2393
2394 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2395
2396 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2397 * libc/ctype/islower.c: Likewise.
2398 * libc/ctype/isupper.c: Likewise.
2399 * libc/ctype/iswalnum.c: Likewise.
2400 * libc/ctype/iswalpha.c: Likewise.
2401 * libc/ctype/iswblank.c: Likewise.
2402 * libc/ctype/iswcntrl.c: Likewise.
2403 * libc/ctype/iswdigit.c: Likewise.
2404 * libc/ctype/iswgraph.c: Likewise.
2405 * libc/ctype/iswlower.c: Likewise.
2406 * libc/ctype/iswprint.c: Likewise.
2407 * libc/ctype/iswpunct.c: Likewise.
2408 * libc/ctype/iswspace.c: Likewise.
2409 * libc/ctype/iswupper.c: Likewise.
2410 * libc/ctype/iswxdigit.c: Likewise.
2411 * libc/ctype/tolower.c: Likewise.
2412 * libc/ctype/toupper.c: Likewise.
2413 * libc/ctype/towctrans.c: Likewise.
2414 * libc/ctype/towlower.c: Likewise.
2415 * libc/ctype/towupper.c: Likewise.
2416 * libc/string/strcasecmp.c: Likewise.
2417 * libc/string/strcoll.c: Likewise.
2418 * libc/string/strings.tex: Likewise.
2419 * libc/string/strlwr.c: Likewise.
2420 * libc/string/strncasecmp.c: Likewise.
2421 * libc/string/strupr.c: Likewise.
2422 * libc/string/wcscoll.c: Likewise.
2423 * libc/string/wcslcat.c: Likewise.
2424 * libc/string/wcslcpy.c: Likewise.
2425 * libc/string/wcsnlen.c: Likewise.
2426 * libc/string/wcsstr.c: Likewise.
2427 * libc/string/wcstrings.tex: Likewise.
2428 * libc/string/wmemchr.c: Likewise.
2429 * libc/string/wmemcmp.c: Likewise.
2430 * libc/string/wmemcpy.c: Likewise.
2431 * libc/string/wmemmove.c: Likewise.
2432 * libc/string/wmemset.c: Likewise.
2433
2434 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2435
2436 * libc/misc/unctrl.c: Replace FUNCTION description.
2437 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2438 * libc/stdio/getdelim.c: Fix spelling errors.
2439 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2440 * libc/stdio/putw.c: Likewise.
2441 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2442 documentation.
2443 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2444 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2445 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2446 * libc/stdlib/mlock.c: Likewise.
2447 * libc/stdlib/mstats.c: Likewise.
2448 * libc/time/tzlock.c: Likewise.
2449 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2450 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2451 and hyphenate "pseudo-random".
2452 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2453 * libc/string/strncat.c: Likewise.
2454 * libc/string/memchr.c: Remove extra ">" character in documentation.
2455 * libc/string/strcspn.c: Use "characters" instead of "chars".
2456 * libc/string/strpbrk.c: Likewise.
2457 * libc/string/strerror_r.c: Capitalize "GNU".
2458 * libc/string/strnlen.c: Likewise.
2459 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2460 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2461 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2462 * libc/string/wcschr.c: Likewise.
2463 * libc/string/wcscmp.c: Likewise.
2464 * libc/string/wcscpy.c: Likewise.
2465 * libc/string/wcscspn.c: Likewise.
2466 * libc/string/wcslen.c: Likewise.
2467 * libc/string/wcsncat.c: Likewise.
2468 * libc/string/wcsncmp.c: Likewise.
2469 * libc/string/wcsncpy.c: Likewise.
2470 * libc/string/wcsnlen.c: Likewise.
2471 * libc/string/wcspbrk.c: Likewise.
2472 * libc/string/wcsrchr.c: Likewise.
2473 * libc/string/wcsspn.c: Likewise.
2474 * libc/string/wmemchr.c: Likewise.
2475 * libc/string/wmemcmp.c: Likewise.
2476 * libc/string/wmemcpy.c: Likewise.
2477 * libc/string/wmemset.c: Likewise.
2478 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2479 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2480 * libc/string/wcwidth.c: Likewise.
2481 * libm/common/s_modf.c: Remove extra period from documentation.
2482 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2483 documentation.
2484 * libm/mathfp/s_isnan.c: Likewise.
2485 * libm/math/s_ldexp.c: Fix punctuation.
2486 * libm/mathfp/s_ldexp.c: Likewise.
2487 * libm/math/w_log.c: Likewise.
2488 * libm/mathfp/s_logarithm.c: Likewise.
2489 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2490 * libm/mathfp/w_jn.c: Likewise.
2491
2492 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2493
2494 * libc/posix/scandir.c (scandir): Update the function
2495 prototype to match the header.
2496 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2497 extraneous #endif.
2498 * libc/sys/linux/sys/lock.h: Do not include
2499 machine/weakalias.h, since it's not used by this file.
2500
2501 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2502
2503 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2504 directories can override properly.
2505
2506 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2507
2508 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2509 gcc is 3.3 or greater, use special gcc builtins.
2510
2511 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2512
2513 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2514
2515 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2516
2517 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2518
2519 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2520
2521 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2522 * libm/common/Makefile.am: Add s_infconst.c support.
2523 * libm/common/Makefile.in: Regenerated.
2524 * libm/common/s_infconst.c: New file with float and
2525 long double infinity support added.
2526 * libm/math/Makefile.am: Remove s_infconst.c support.
2527 * libm/math/Makefile.in: Regenerated.
2528 * libm/math/s_infconst.c: Moved to common directory.
2529 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2530 * libm/mathfp/Makefile.in: Regenerated.
2531 * libm/mathfp/s_infconst.c: Moved to common directory.
2532
2533 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2534
2535 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2536 dbgprintf to prevent conflict with new dprintf function.
2537
2538 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2539
2540 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2541 "nan" processing for systems that have long double support.
2542
2543 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2544
2545 * libc/sys/linux/sys/types.h (int8_t): Add type.
2546
2547 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2548
2549 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2550 * libm/common/Makefile.in: Regenerate.
2551 * libm/common/common.tex: Delete file.
2552 * libm/math/math.tex: Include .def files from common/.
2553 * libm/mathfp/mathfp.tex: Likewise.
2554
2555 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2556
2557 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2558 instead of @ifinfo. Update menu to add Introduction and match
2559 SUBDIRS order.
2560 (Introduction): New section.
2561
2562 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2563
2564 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2565 with "Red Hat newlib C Library".
2566 * libc/sys.tex (Stubs): Likewise.
2567 * libm/math/math.tex (Math): Likewise.
2568 * libm/mathfp/mathfp.tex (Math): Likewise.
2569
2570 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2571
2572 * libc/include/stdio.h (dprintf): New declaration.
2573 (vdprintf): Ditto.
2574 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2575 and vdprintf.c.
2576 * libc/stdio/Makefile.in: Regenerate.
2577 * libc/stdio/dprintf.c: New file.
2578 * libc/stdio/vdprintf.c: New file.
2579 * libc/stdio/stdio.tex (dprintf): New entry.
2580
2581 2005-10-11 David Weatherford <weath@tensilica.com>
2582
2583 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2584 Print "inf" and "nan" in lowercase for e/f/g formats and in
2585 uppercase for E/F/G formats.
2586
2587 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2588
2589 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2590 to ENOMEM on failure.
2591
2592 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2593
2594 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2595
2596 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2597
2598 * libc/include/stdint.h: Move magic to set __have_long* to the
2599 beginning. Use #if __have* instead of #if defined(__have*).
2600 Minor typo fixes.
2601
2602 2005-10-04 James E Wilson <wilson@specifix.com>
2603
2604 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2605 #error.
2606
2607 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2608
2609 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2610 incorporate Ralf's change below.
2611
2612 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2613
2614 * libc/include/stdint.h:
2615 Use __INTMAX_TYPE__ to derive intmax_t.
2616 Use __UINTMAX_TYPE__ to derive uintmax_t.
2617 Fix minor typo.
2618
2619 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2620
2621 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2622 handling GCC >= 4.
2623
2624 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2625
2626 * libc/sys/linux/include/stdint.h: Update to match functionality
2627 of generic newlib stdint.h.
2628
2629 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2630
2631 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2632 and do not #undef the macro after it is used. Fix typos.
2633 Also change 64-bit constants to use the __have_long64 and
2634 __have_longlong64 flags to determine if long or long long
2635 constants should be used.
2636 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2637 type defined.
2638
2639 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2640
2641 * libc/include/stdint.h: Fix typo in names of
2642 LEAST macros.
2643
2644 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2645
2646 * libc/sys/rtems/include/inttypes.h: Moved to...
2647 * libc/include/inttypes.h: ...here.
2648
2649 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2650
2651 * libc/sys/rtems/include/stdint.h: Moved to...
2652 * libc/include/stdint.h: ...here.
2653
2654 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2655
2656 * Makefile.am: Add include files under bits sub-directory.
2657 * Makefile.in: Regenerated.
2658 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2659 actual value of 1 to be compatible with newer glibc headers.
2660 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2661 glibc headers.
2662 * libc/sys/linux/sys/dirent.h: Ditto.
2663 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2664 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2665 profile_fixup routines are marked used so they won't be
2666 optimized away.
2667 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2668 to mark functions as weak.
2669 * libc/sys/linux/dl/dl-open.c: Ditto.
2670 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2671 rules about lvalues.
2672 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2673 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2674 weak_extern macro to mark functions as weak. Instead always
2675 use #pragma weak.
2676 * iconvdata/jis0208.h: Fix to work with gcc4.
2677 * libc/sys/linux/dl/dl-load.c: Ditto.
2678 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2679 * libc/sys/linux/dl/do-rel.h: Ditto.
2680 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2681 * libc/sys/linux/include/ltdl.h: Ditto.
2682 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2683 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2684 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2685 * libc/sys/linux/bits/initspin.h: New file.
2686 * libc/sys/linux/bits/libc-lock.h: Ditto.
2687 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2688 * libc/sys/linux/bits/typesizes.h: Ditto.
2689
2690 2005-09-08 Eric Blake <ebb9@byu.net>
2691
2692 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2693 before is NULL.
2694
2695 2005-09-08 Brian Dessent <brian@dessent.net>
2696
2697 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2698 mantissa.
2699 * s_lrint.c: Ditto.
2700
2701 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/include/stdio.h: Add prototype for viprintf.
2704
2705 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2706
2707 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2708 any positive power results in 0.
2709 * libm/mathfp/sf_pow.c (powf): Ditto.
2710
2711 2005-08-31 Paul Brook <paul@codesourcery.com>
2712
2713 * configure.host: Set have_crt0 to no for Arm targts when not
2714 providing syscalls. Set sys_dir=arm unconditionally.
2715 Default have_crt0 based on sys_dir.
2716 * configure.in: Use have_crt0.
2717 * libc/configure.in: Ditto.
2718 * libc/sys/configure.in: Ditto.
2719 * configure: Regenerate.
2720 * libc/configure: Regenerate.
2721 * libc/sys/configure: Regenerate.
2722 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2723 Only build other files when providing syscalls.
2724 * libc/sys/arm/Makefile.in: Regenerate.
2725 * libc/sys/arm/aeabi_atexit.c: New file.
2726
2727 2005-08-26 Christopher Faylor <cgf@timesys.com>
2728
2729 * libc/include/string.h: Revert previous change.
2730
2731 2005-08-25 Christopher Faylor <cgf@timesys.com>
2732
2733 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2734
2735 2005-08-22 Shaun Jackman <sjackman@gmail.com>
2736
2737 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
2738 define _opendir as opendir, _readdir as readdir, and
2739 _closedir as closedir so that the implementations in
2740 libc/posix will be used.
2741
2742 2005-08-10 DJ Delorie <dj@redhat.com>
2743
2744 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2745
2746 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
2747
2748 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
2749 * libm/common/s_max.c: Ditto.
2750 * libm/common/sf_fmin.c: Ditto.
2751 * libm/common/s_min.c: Ditto.
2752
2753 2005-08-10 DJ Delorie <dj@redhat.com>
2754
2755 * configure.host: Add m32c support.
2756 * libc/include/machine/ieeefp.h: Likewise.
2757 * libc/include/machine/setjmp.h: Likewise.
2758 * libc/include/sys/config.h: Likewise.
2759 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
2760 * libc/machine/m32c/aclocal.m4: New file.
2761 * libc/machine/m32c/configure: Ditto.
2762 * libc/machine/m32c/configure.in: Ditto.
2763 * libc/machine/m32c/Makefile.am: Ditto.
2764 * libc/machine/m32c/Makefile.in: Ditto.
2765 * libc/machine/m32c/setjmp.S: Ditto.
2766
2767 2005-08-02 Bob Wilson <bob.wilson@acm.org>
2768
2769 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
2770 to the value for 2^126.
2771
2772 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
2773
2774 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
2775 used.
2776
2777 2005-07-20 Bob Wilson <bob.wilson@acm.org>
2778 Darin Petkov <darin@tensilica.com>
2779
2780 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2781
2782 2005-07-19 Paul Brook <paul@codesourcery.com>
2783
2784 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2785
2786 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
2787
2788 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
2789 names after PASS and FAIL which do not depend on source directory
2790 name or on whether test passed or failed.
2791 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2792
2793 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
2794
2795 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2796
2797 2005-07-07 Shaun Jackman <sjackman@gmail.com>
2798
2799 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
2800 twice for the same directory. _closedir calls free, and freeing
2801 the same pointer twice may cause a crash.
2802
2803 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
2804
2805 * configure.host: Added entry for ms1*.
2806 * libc/include/machine/ieeefp.h: Handle ms1.
2807 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
2808 * libc/machine/ms1/aclocal.m4: New.
2809 * libc/machine/ms1/configure: New.
2810 * libc/machine/ms1/configure.in: New.
2811 * libc/machine/ms1/Makefile.am: New.
2812 * libc/machine/ms1/Makefile.in: New.
2813 * libc/machine/ms1/setjmp.S: New.
2814
2815 2005-07-04 Mark Mitchell <mark@codesourcery.com>
2816
2817 * Makefile.am (site.exp): Set tmpdir.
2818 * Makefile.in: Regenerated.
2819 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
2820 executables in $tmpdir.
2821 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
2822 libgloss version if not running in the build directory.
2823 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
2824 $tmpdir.
2825 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
2826 in $tmpdir.
2827
2828 2005-06-28 Dave Korn <dave.korn@artimi.com>
2829
2830 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
2831 and miscalculation caused by fp representation of zero.
2832 * libm/common/sf_lrint.c (lrintf): Likewise.
2833
2834 2005-06-16 Christopher Faylor <cgf@timesys.com>
2835
2836 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
2837 determine characteristics of long double. Use a union instead.
2838 * ldtoa.c (_ldtoa_r): Ditto.
2839 (_ldcheck): Ditto.
2840 (_strtold): Ditto.
2841 (union uconv): New union.
2842
2843 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
2844
2845 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
2846 instead of memcpy.
2847
2848 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2849
2850 * configure.host (mn10300-*): Add long long I/O support by default.
2851
2852 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2853
2854 * libc/sys/linux/getpwuid.c: Removed.
2855 * libc/sys/linux/getpwnam.c: Removed.
2856 * libc/sys/linux/getpwent.c: New file containing logic
2857 from files removed above. This allows overriding of file
2858 in libc/unix.
2859 * libc/sys/linux/Makefile.am: Support changes above.
2860 * libc/sys/linux/Makefile.in: Regenerated.
2861
2862 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
2863
2864 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
2865 when checking for multiple flags.
2866
2867 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
2868
2869 * configure.host <cris-*-* | crisv32-*-*>: Set
2870 default_newlib_io_long_long="yes".
2871
2872 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
2873
2874 * libc/include/libgen.h: New file.
2875
2876 2005-04-08 Shaun Jackman <sjackman@gmail.com>
2877
2878 * libc/unix/Makefile.am: Add support for basename and dirname.
2879 * libc/unix/Makefile.in: Regenerated.
2880 * libc/unix/basename.c: New file.
2881 * libc/unix/dirname.c: New file.
2882
2883 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2884
2885 * libc/sys/linux/inode.c (lchown): New function.
2886
2887 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2888
2889 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
2890 ELIX level is defined.
2891 * libc/unix/Makefile.in: Regenerated.
2892
2893 2005-04-05 Dave Korn <dave.korn@artimi.com>
2894
2895 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
2896 something that looks like a "NaN", put back the characters processed.
2897
2898 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
2899
2900 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
2901
2902 2005-03-23 Christopher Faylor <cgf@timesys.com>
2903
2904 * configure.host: For cygwin, redefine CC with cygwin include directory
2905 first to mimic the behavior of the top-level configury. Move include
2906 directory out of newlib_cflags.
2907
2908 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
2909
2910 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
2911 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
2912 than errno.
2913
2914 2005-03-22 Christopher Faylor <cgf@timesys.com>
2915
2916 * libc/include/machine/_types.h: Make trivial change to comment to
2917 avoid a spurious warning from gcc.
2918
2919 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
2920
2921 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
2922 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
2923 reent.h include.
2924
2925 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
2926 Corinna Vinschen <corinna@vinschen.de>
2927
2928 * libc/include/ctype.h: Remove invalid +1 offset from
2929 ctype macro references to __ctype_ptr.
2930 (_ctype_): Move declaration outside #ifndef __cplusplus.
2931
2932 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
2933
2934 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
2935 evaluate first parameter only once.
2936 (siglongjmp): Ditto.
2937
2938 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
2939
2940 * configure.in: Add new check to see if compiler supports
2941 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
2942 * configure: Regenerated.
2943 * Makefile.in: Ditto.
2944 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
2945 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
2946 aliasing the _ctype_ array to _ctype_b.
2947 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
2948 _ctype_ as deprecated.
2949
2950 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
2951
2952 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
2953 -DCOMPACT_CTYPE.
2954
2955 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2956
2957 * libc/sys/rtems/include/inttypes.h: New file.
2958 * libc/sys/rtems/include/stdint.h: Ditto.
2959
2960 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2961
2962 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2963
2964 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2965
2966 * libc/include/machine/_types.h: New file.
2967 * libc/include/sys/types.h: Do not check for __rtems__
2968 when including <machine/_types.h>. Remove some redundant
2969 declarations now that <machine/_types.h> is included.
2970 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
2971 shared header file.
2972
2973 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
2974
2975 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
2976 L qualifier for these long constants.
2977
2978 2005-02-25 Eric Blake <ebb9@byu.net>
2979
2980 * libc/include/time.h (__tzrule_struct): Make offset long, since
2981 a 16-bit int overflows on a 12-hour offset.
2982 * libc/sys/linux/include/time.h: Ditto.
2983 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
2984 * libc/time/mktm_r.c: Ditto.
2985 * libc/time/gettzinfo.c: Ditto.
2986 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
2987 years. Fix '%z' to use long, not int.
2988
2989 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2990
2991 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
2992 manipulate float values in integer form.
2993 * libm/common/sf_round.c: Ditto.
2994
2995 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2996
2997 * libc/include/sys/types.h [__rtems__]: Include new
2998 header file machine/_types.h.
2999 * libc/include/machine/types.h: Ditto.
3000 * libc/sys/rtems/machine/_types.h: New file.
3001
3002 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3003
3004 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3005 (timezone): Drop cast from definition.
3006
3007 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3008
3009 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3010 (__tzrule_type, __tzinfo_type): New types.
3011 (__gettzinfo): New function.
3012 * libc/sys/linux/include/time.h: Ditto.
3013 * libc/time/Makefile.am: Add gettzinfo.c.
3014 * libc/time/Makefile.in: Regenerated.
3015 * libc/time/local.h: Moved __tzrule_type to time.h.
3016 * libc/time/mktime.c: Call __gettzinfo to reference
3017 __tznorth, __tzyear, and __tzrule array.
3018 * libc/time/mktm_r.c: Ditto.
3019 * libc/time/strftime.c: Ditto.
3020 * libc/time/tzset_r.c: Ditto. Also remove definition
3021 of __tzrule which is now in gettzinfo.c. Change _timezone
3022 references to not cast to time_t.
3023 * libc/time/gettzinfo.c: New file.
3024
3025 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3026
3027 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3028
3029 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3030
3031 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3032
3033 2005-02-16 Eric Blake <ebb9@byu.net>
3034
3035 * libc/time/time.tex: Improve the documentation.
3036 * libc/time/strftime.c: Improve the documentation.
3037 (iso_year_adjust): New helper function.
3038 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3039 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3040 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3041 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3042 Avoid core dumps on valid inputs (maxsize == 0, or
3043 tim_p->tm_isdst > 1).
3044
3045 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3046
3047 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3048 members to uid_t and gid_t according to SUSv3.
3049 * libc/include/sys/time.h (utimes): Change second parameter
3050 to const according to SUSv3.
3051
3052 2005-02-07 Antony King <antony.king@st.com>
3053
3054 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3055 called before _flockfile to prevent lock object use before
3056 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3057 take a struct _reent * instead of a FILE *.
3058 * libc/stdio/fclose.c (_fclose_r): Ditto.
3059 * libc/stdio/feof.c (feof): Ditto.
3060 * libc/stdio/ferror.c (ferror): Ditto.
3061 * libc/stdio/fflush.c (fflush): Ditto.
3062 * libc/stdio/fgetc.c (fgetc): Ditto.
3063 * libc/stdio/fgets.c (fgets): Ditto.
3064 * libc/stdio/fileno.c (fileno): Ditto.
3065 * libc/stdio/fputc.c (fputc): Ditto.
3066 * libc/stdio/fputs.c (fputs): Ditto.
3067 * libc/stdio/fread.c (fread): Ditto.
3068 * libc/stdio/freopen.c (_freopen_r): Ditto.
3069 * libc/stdio/fseek.c (_fseek_r): Ditto.
3070 * libc/stdio/ftell.c (_ftell_r): Ditto.
3071 * libc/stdio/fwrite.c (fwrite): Ditto.
3072 * libc/stdio/getc.c (getc): Ditto.
3073 * libc/stdio/getdelim.c (__getdelim): Ditto.
3074 * libc/stdio/putc.c (putc): Ditto.
3075 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3076 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3077 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3078 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3079 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3080 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3081 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3082 _reent * instead of a FILE * and so replace incorrect use of
3083 _REENT with argument.
3084 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3085 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3086 CHECK_INIT() take a struct _reent * instead of a FILE *.
3087 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3088 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3089 * libc/stdio/perror.c (perror): Ditto.
3090 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3091 * libc/stdio/putchar.c (putchar): Ditto.
3092 * libc/stdio/puts.c (puts): Ditto.
3093 * libc/stdio/refill.c (__srefill): Ditto.
3094 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3095 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3096 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3097 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3098 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3099 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3100 * libc/stdio/wbuf.c (__swbuf): Ditto.
3101 * libc/stdio/wsetup.c (__swsetup): Ditto.
3102 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3103 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3104 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3105 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3106 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3107 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3108 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3109 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3110 initialision of _data field in FILE structure.
3111 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3112
3113 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3114
3115 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3116 (__sinit_lock): New lock.
3117 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3118 * libc/stdio/local.h: Add reference to new __sinit locking
3119 functions.
3120
3121 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3122
3123 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3124 input variable names to avoid mixups with nesting macros.
3125
3126 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3127
3128 * configure.host: Add support for cris-*-* and crisv32-*-*.
3129 * libc/include/machine/ieeefp.h: Ditto.
3130 * libc/include/machine/setjmp.h: Ditto.
3131 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3132 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3133 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3134 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3135 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3136 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3137 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3138 files.
3139
3140 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3141
3142 * testsuite/newlib.string/memmove1.c: New test.
3143
3144 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3145
3146 * testsuite/include/check.h: Include stdlib.h.
3147
3148 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3149
3150 * Makefile.am (stmp-targ-include): Support include header files
3151 from machine directories.
3152 (install-data-local): Ditto.
3153 * Makefile.in: Regenerate.
3154
3155 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3156
3157 * libc/include/string.h: Remove Linux-specific declaration of
3158 strsignal and add #include <sys/string.h>.
3159 * libc/include/sys/string.h: New file.
3160 * libc/include/sys/linux/sys/string.h: New file with strsignal
3161 declaration deleted above.
3162
3163 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3164
3165 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3166 to POSIX standard for "C" locale. Allow %E and %O modifiers
3167 to be ignored as long as they precede valid specifiers according
3168 to POSIX.
3169
3170 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3171
3172 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3173 environment variable is set.
3174
3175 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3176
3177 * tzset_r.c (_tzname): Add a comma.
3178
3179 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3180
3181 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3182 _VFPRINTF_R.
3183
3184 2005-01-07 Paul Brook <paul@codesourcery.com>
3185
3186 * configure.in: Add test for .init_array.
3187 * configure: Regenerate.
3188 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3189 * libc/misc/Makefile.am: Add init.c
3190 * libc/misc/Makefile.in: Regenerate.
3191 * libc/misc/init.c: New file.
3192 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3193 _init/_fini if they exist.
3194
3195 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3196
3197 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3198 * (strtof): Ditto.
3199 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3200 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3201 functions for use by strtod and strtof.
3202 * Makefile.in: Regenerated.
3203
3204 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3205
3206 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3207 bit-test in combination with NULL test.
3208
3209 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3210
3211 * README: Fix typo of LGPL. Change "license" to "copyright".
3212
3213 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3214
3215 * NEWS: Update with 1.13.0 info.
3216 * README: Ditto.
3217 * acinclude.m4: Change version number to 1.13.0.
3218 * aclocal.m4: Regenerated.
3219 * configure: Ditto.
3220 * doc/aclocal.m4: Ditto.
3221 * doc/configure: Ditto.
3222 * libc/*/aclocal.m4: Ditto.
3223 * libc/*/configure: Ditto.
3224 * libc/libc.texinfo: Ditto.
3225 * libm/*/aclocal.m4: Ditto.
3226 * libm/*/configure: Ditto.
3227 * libm/libm.texinfo: Ditto.
3228 * libc/sys/linux/shared.ld: Add VERS_1.13.
3229
3230 2004-12-17 Christian Groessler <chris@groessler.org>
3231
3232 * libc/machine/z8k/memcmp.S: New file.
3233 * libc/machine/z8k/memcpy.S: Ditto.
3234 * libc/machine/z8k/memmove.S: Ditto.
3235 * libc/machine/z8k/memset.S: Ditto.
3236 * libc/machine/z8k/Makefile.am: Add new files.
3237 * libc/machine/z8k/Makefile.in: Regenerated.
3238 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3239 part. Implement Z8002 stdcall version.
3240
3241 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3242
3243 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3244 a low-level read if we don't get the full amount of bytes so
3245 EOF or error flags will be set.
3246
3247 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3248
3249 * libc/time/tzset_r (_tzset_r): Properly skip over
3250 '/' when it is detected.
3251
3252 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3253
3254 * libc/time/tzset_r (_tzset_r): Fix loop.
3255
3256 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3257
3258 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3259 m_day.
3260 (__tzcalc_limits): Fix reference to month array to be zero-based.
3261
3262 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3263
3264 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3265 and usleep.
3266
3267 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3268
3269 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3270 libgcc dependencies.
3271 (libm_la_LDFLAGS): Ditto.
3272 * Makefile.in: Regenerated.
3273
3274 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3275
3276 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3277 our link to use readlink so as to preserve any relative link created
3278 by install-toollibLIBRARIES.
3279 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3280
3281 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3282
3283 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3284 time_t before including sys/stat.h, which uses it.
3285 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3286 <linux/time.h> just prior to definition of __KERNEL__ so as to
3287 allow building on Debian Linux where otherwise, mktime would
3288 be redefined.
3289
3290 2004-11-26 Paul Brook <paul@codesourcery.com>
3291
3292 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3293
3294 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3295
3296 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3297 const for value string parameter to match Single Unix and glibc.
3298 * libc/stdlib/putenv.c: Ditto.
3299 * libc/stdlib/putenv_r.c: Ditto.
3300
3301 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3302
3303 * libc/stdio/Makefile.am: Fix missing vfscanf.
3304 * libc/stdio/Makefile.in: Regenerated.
3305
3306 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3307
3308 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3309 do some reordering.
3310 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3311 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3312 family functions.
3313 * libc/stdio/Makefile.in: Regenerated.
3314 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3315 * libc/stdio/iprintf.c: Ditto.
3316 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3317 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3318 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3319 * libc/stdio/stdio.tex: Add new functions.
3320 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3321 file and add special name defines so this file can be used
3322 to build vfiscanf.o.
3323 * libc/stdio/asiprintf.c: New file.
3324 * libc/stdio/fiscanf.c: Ditto.
3325 * libc/stdio/iscanf.c: Ditto.
3326 * libc/stdio/sccl.c: Ditto.
3327 * libc/stdio/siscanf.c: Ditto.
3328 * libc/stdio/vasiprintf.c: Ditto.
3329 * libc/stdio/viprintf.c: Ditto.
3330 * libc/stdio/viscanf.c: Ditto.
3331 * libc/stdio/vsiprintf.c: Ditto.
3332 * libc/stdio/vsiscanf.c: Ditto.
3333 * libc/stdio/vsniprintf.c: Ditto.
3334
3335 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3336
3337 * libc/include/stdio.h: Add sniprintf.
3338 * libc/stdio/Makefile.am: Add sniprintf.c.
3339 * libc/stdio/Makefile.in: Regenerated.
3340 * libc/stdio/sniprintf.c: New file.
3341 * libc/stdio/stdio.tex: Add sniprintf.
3342
3343 2004-11-17 Christopher Faylor <cgf@timesys.com>
3344
3345 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3346 EOF flag if successful.
3347
3348 2004-10-28 Christopher Faylor <cgf@timesys.com>
3349
3350 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3351 so that all relevant definitions have been performed for use in the
3352 include.
3353
3354 2004-10-26 Jason Tishler <jason@tishler.net>
3355
3356 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3357 fread.
3358
3359 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3360
3361 * libc/include/machine/setjmp.h: Add AVR support.
3362 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3363
3364 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3365
3366 * libc/include/sys/signal.h: If <signal.h> didn't include
3367 this header file, include <signal.h> to account for
3368 applications that take advantage that the two header
3369 files are the same in glibc.
3370
3371 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3372
3373 * configure.host: Add support for crx.
3374 * libc/include/machine/ieeefp.h: Ditto.
3375 * libc/include/machine/setjmp.h: Ditto.
3376 * libc/machine/crx/Makefile.am: New file.
3377 * libc/machine/crx/configure.in: Ditto.
3378 * libc/machine/crx/setjmp.S: Ditto.
3379 * libc/machine/crx/getenv.c: Ditto.
3380 * libc/machine/crx/aclocal.m4: Generate.
3381 * libc/machine/crx/configure: Ditto.
3382 * libc/machine/crx/Makefile.in: Ditto.
3383 * libc/machine/crx/sys/asm.h: New file.
3384 * libc/machine/crx/sys/libh.h: Ditto.
3385 * libc/machine/crx/sys/syscall.h: Ditto.
3386
3387 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3388
3389 * Makefile.am (stmp-targ-include): Support sys header files
3390 from machine directories.
3391 * Makefile.in: Regenerated.
3392
3393 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3394
3395 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3396 count skipped zero characters as part of the nread count for %n.
3397 * libc/machine/powerpc/vfscanf.c: Ditto.
3398
3399 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3400
3401 * libc/stdio/local.h: Include <stdlib.h>.
3402
3403 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3404
3405 * libc/stdio/fread.c (fread): Include <malloc.h>.
3406
3407 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3408
3409 * libc/stdio/fread.c (fread): For non-space-optimized case,
3410 add special code for unbuffered files to use user buffer and
3411 only require one low-level system read.
3412
3413 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3414
3415 * libc/machine/xscale/setjmp.S: New file, copied from
3416 libc/machine/arm/setjmp.S.
3417 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3418 * libc/machine/xscale/Makefile.in: Regenerate.
3419
3420 2004-09-16 Antony King <antony.king@st.com>
3421
3422 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3423 with locking API.
3424 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3425 check for__SSTR in _flags and if set, skip lock request.
3426 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3427 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3428 not NULL.
3429 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3430 initialisation of _file to -1 in local FILE.
3431 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3432 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3433 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3434 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3435 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3436 _flags in local FILE to prevent locking.
3437 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3438
3439 2004-09-16 Antony King <antony.king@st.com>
3440
3441 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3442 and only walk the reentrancy parameter.
3443 (_fwalk_reent): Ditto.
3444 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3445
3446 2004-09-16 Antony King <antony.king@st.com>
3447
3448 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3449 _LOCK_RECURSIVE_T.
3450
3451 2004-09-16 Antony King <antony.king@st.com>
3452
3453 * libc/time/tzlock.c: Add default stubs that use generic
3454 locking code.
3455
3456 2004-09-16 Antony King <antony.king@st.com>
3457
3458 * libc/ctype/ctype.tex: Added missing documentation.
3459 * libc/stdio/stdio.tex Ditto.
3460 * libc/stdlib/stdlib.tex Ditto.
3461 * libc/string/strings.tex Ditto.
3462 * libc/time/time.tex: Ditto.
3463 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3464
3465 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3466
3467 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3468 when building for Cygwin.
3469 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3470 _global_impure_ptr.
3471
3472 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3473
3474 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3475 Cygwin side.
3476 * configure.in: Ditto.
3477 * libc/configure.in: Ditto.
3478 * libc/sys/configure.in: Ditto.
3479 * configure: Ditto.
3480 * libc/configure: Ditto.
3481 * libc/sys/configure: Ditto.
3482 * libc/include/sys/reent.h: Ditto.
3483 * libc/stdlib/__atexit.c: Ditto.
3484 * libc/stdlib/__call_atexit.c: Ditto.
3485 * libc/stdlib/cxa_atexit.c: Ditto.
3486 * libc/stdlib/cxa_finalize.c: Ditto.
3487 * libc/sys/cygwin/Makefile.am: Removed again.
3488 * libc/sys/cygwin/Makefile.in: Ditto.
3489 * libc/sys/cygwin/aclocal.m4: Ditto.
3490 * libc/sys/cygwin/configure: Ditto.
3491 * libc/sys/cygwin/configure.in: Ditto.
3492 * libc/sys/cygwin/dummy.c: Ditto.
3493 * libc/sys/cygwin/sys/reent.h: Ditto.
3494
3495 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3496
3497 * configure.host: Add Cygwin sys directory.
3498 * configure.in: Do not set CRT0 for cygwin.
3499 * libc/configure.in: Ditto.
3500 * libc/sys/configure.in: Ditto.
3501 * configure: Regenerated.
3502 * libc/configure: Ditto.
3503 * libc/sys/configure: Ditto.
3504 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3505 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3506 __REENT_HAS_CXA_SUPPORT flag.
3507 * libc/stdlib/__call_atexit.c: Ditto.
3508 * libc/stdlib/cxa_atexit.c: Ditto.
3509 * libc/stdlib/cxa_finalize.c: Ditto.
3510 * libc/sys/cygwin/Makefile.am: New file.
3511 * libc/sys/cygwin/Makefile.in: Ditto.
3512 * libc/sys/cygwin/aclocal.m4: Ditto.
3513 * libc/sys/cygwin/configure: Ditto.
3514 * libc/sys/cygwin/configure.in: Ditto.
3515 * libc/sys/cygwin/dummy.c: Ditto.
3516 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3517 version of reent.h.
3518
3519 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3520
3521 * libc/iconv/iconv.tex: Updated with new content.
3522 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3523 instead of NLS_DEFAULT_NLSPATH.
3524 * libc/iconv/lib/iconvnls.h: Fix typo.
3525 * libc/include/sys/iconvnls.h: New file.
3526
3527 2004-09-09 Paul Brook <paul@codesourcery.com>
3528
3529 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3530 and _is_cxa.
3531 (struct _atexit): Add _next when _REENT_SMALL.
3532 (struct _reent): Add _atexit0 when _REENT_SMALL.
3533 (_REENT_INIT_PTR): Adjust.
3534 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3535 __call_exit.c.
3536 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3537 * libc/stdlib/Makefile.in: Regenerate.
3538 * libc/stdlib/__atexit.c: New file.
3539 * libc/stdlib/__call_atexit.c: New file.
3540 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3541 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3542 * libc/stdlib/cxa_atexit.c: New file.
3543 * libc/stdlib/cxa_finalize.c: New file.
3544 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3545 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3546 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3547 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3548 _on_exit_args_ptr.
3549
3550 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3551
3552 * libc/include/sys/unistd.h (getpass): Change prototype to use
3553 const instead of __const.
3554
3555 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3556
3557 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3558 #if.
3559
3560 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3561
3562 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3563 on linux systems with glibc 2.3.3 installed.
3564 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3565 profile_fixup so newlib can build on fc3 system.
3566
3567 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3568
3569 Introduce SH2a support.
3570 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3571 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3572 __SH2A_SINGLE_ONLY__, too.
3573 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3574 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3575 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3576 2004-02-10 DJ Delorie <dj@redhat.com>
3577 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3578
3579 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3580
3581 * libc/time/strptime.c: Correct full-name of "March" typo.
3582
3583 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3584
3585 * configure.host (h8300*-*-*): Default long long printing support.
3586
3587 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3588
3589 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3590 calls, if realloc fails, free up buffer as it is no longer
3591 used.
3592
3593 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3594
3595 * libc/iconv/iconv.tex: Updated to represent recent changes.
3596 * libc/iconv/lib/iconv.c: Documentation updated.
3597
3598 2004-07-07 Nick Clifton <nickc@redhat.com>
3599
3600 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3601 for xStormy16.
3602
3603 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3604
3605 * configure.host (mips*-*-elf*): Default long long printing
3606 support.
3607
3608 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3609
3610 * libc/Makefile.am (libc.dvi): Add target and specify
3611 same dependencies as libc.info.
3612 * libc/Makefile.in: Regenerated.
3613 * libm/Makefile.am (libm.dvi): Add target and specify
3614 same dependencies as libm.info.
3615 * libm/Makefile.in: Regenerated.
3616
3617 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3618
3619 * acinclude.m4: Move --enable-newlib-iconv option back here.
3620 * configure.in: Remove --enable-newlib-iconv option. Don't
3621 tie iconv support to --enable-newlib-mb.
3622 * aclocal.m4: Regenerated.
3623 * configure: Ditto.
3624 * doc/aclocal.m4, doc/configure: Ditto.
3625 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3626 * libm/*/aclocal.m4: Ditto.
3627 * libm/*/configure: Ditto.
3628 * libc/*/aclocal.m4: Ditto.
3629 * libc/*/configure: Ditto.
3630
3631 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3632
3633 * acinclude.m4: Move iconv options into configure.in.
3634 * aclocal.m4: Regenerated.
3635 * configure: Ditto.
3636 * configure.in: Add iconv options.
3637 * newlib.hin: Add new iconv encodings and remove deleted ones.
3638 * doc/aclocal.m4: Regenerated.
3639 * doc/configure: Ditto.
3640 * iconvdata/aclocal.m4: Ditto.
3641 * iconvdata/configure: Ditto.
3642 * libc/iconv: Design change. New size-optimized ccs format.
3643 * libc/iconv/AUTHORS: Removed.
3644 * libc/iconv/COPYING: Ditto.
3645 * libc/iconv/README.ORIGINAL: Ditto.
3646 * libc/iconv/README.TODO: Ditto.
3647 * libc/iconv/charset.aliases: Ditto.
3648 * libc/iconv/encoding.aliases: New file.
3649 * libc/iconv/Makefile.am: Updated.
3650 * libc/iconv/Makefile.in: Regenerated.
3651 * libc/iconv/iconv.tex: Updated.
3652 * libc/iconv/ccs/Makefile.am: Ditto.
3653 * libc/iconv/ccs/Makefile.in: Regenerated.
3654 * libc/iconv/ccs/big5.c: Updated.
3655 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3656 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3657 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3658 * libc/iconv/ccs/cp775.c: Ditto.
3659 * libc/iconv/ccs/cp850.c: Ditto.
3660 * libc/iconv/ccs/cp852.c: Ditto.
3661 * libc/iconv/ccs/cp855.c: Ditto.
3662 * libc/iconv/ccs/cp866.c: Ditto.
3663 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3664 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3665 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3666 * libc/iconv/ccs/iconv_mktbl: Ditto.
3667 * libc/iconv/ccs/jis_x0201.c: Ditto.
3668 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3669 * libc/iconv/ccs/shift_jis.c: Ditto.
3670 * libc/iconv/ccs/us_ascii.c: Ditto.
3671 * libc/iconv/ccs/ccs.h: New file.
3672 * libc/iconv/ccs/ccsbi.c: Ditto.
3673 * libc/iconv/ccs/ccsbi.h: Ditto.
3674 * libc/iconv/ccs/ccsnames.h: Ditto.
3675 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3676 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3677 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3678 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3679 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3680 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3681 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3682 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3683 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3684 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3685 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3686 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3687 * libc/iconv/ccs/koi8_ru.c: Ditto.
3688 * libc/iconv/ccs/koi8_uni.c: Ditto.
3689 * libc/iconv/ccs/mktbl.pl: Ditto.
3690 * libc/iconv/ccs/win_1250.c: Ditto.
3691 * libc/iconv/ccs/win_1251.c: Ditto.
3692 * libc/iconv/ccs/win_1252.c: Ditto.
3693 * libc/iconv/ccs/win_1253.c: Ditto.
3694 * libc/iconv/ccs/win_1254.c: Ditto.
3695 * libc/iconv/ccs/win_1255.c: Ditto.
3696 * libc/iconv/ccs/win_1256.c: Ditto.
3697 * libc/iconv/ccs/win_1257.c: Ditto.
3698 * libc/iconv/ccs/win_1258.c: Ditto.
3699 * libc/iconv/ccs/iso_8859_15.c: Updated.
3700 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3701 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3702 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3703 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3704 * libc/iconv/ccs/koi8_r.c: Ditto.
3705 * libc/iconv/ccs/koi8_u.c: Ditto.
3706 * libc/iconv/ccs/ksx1001.c: Ditto.
3707 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3708 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3709 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3710 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3711 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3712 * libc/iconv/ccs/binary/Makefile.am: Updated.
3713 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3714 * libc/iconv/ccs/binary/big5.cct: Updated.
3715 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3716 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3717 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3718 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3719 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3720 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3721 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3722 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3723 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3724 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3725 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3726 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3727 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3728 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3729 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3730 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3731 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3732 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
3733 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
3734 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
3735 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
3736 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
3737 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
3738 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
3739 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
3740 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
3741 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
3742 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
3743 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
3744 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
3745 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
3746 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
3747 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
3748 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
3749 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
3750 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
3751 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
3752 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
3753 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
3754 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
3755 * libc/iconv/ces/Makefile.am: Updated.
3756 * libc/iconv/ces/Makefile.in: Regenerated.
3757 * libc/iconv/ces/ucs-2-internal.c: Updated.
3758 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3759 * libc/iconv/ces/utf-16.c: Ditto.
3760 * libc/iconv/ces/utf-8.c: Ditto.
3761 * libc/iconv/ces/cesbi.c: New file.
3762 * libc/iconv/ces/cesbi.h: Ditto.
3763 * libc/iconv/ces/cesdeps.h: Ditto.
3764 * libc/iconv/ces/euc.c: Ditto.
3765 * libc/iconv/ces/mkdeps.pl: Ditto.
3766 * libc/iconv/ces/table-pcs.c: Ditto.
3767 * libc/iconv/ces/table.c: Ditto.
3768 * libc/iconv/ces/ucs-2.c: Ditto.
3769 * libc/iconv/ces/ucs-4.c: Ditto.
3770 * libc/iconv/ces/us-ascii.c: Ditto.
3771 * libc/iconv/ces/euc-jp.c: Removed.
3772 * libc/iconv/ces/euc-kr.c: Ditto.
3773 * libc/iconv/ces/euc-tw.c: Ditto.
3774 * libc/iconv/ces/gb2312.c: Ditto.
3775 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
3776 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3777 * libc/iconv/lib/Makefile.am: Updated.
3778 * libc/iconv/lib/Makefile.in: Regenerated.
3779 * libc/iconv/lib/endian.h: Updated.
3780 * libc/iconv/lib/iconv.c: Ditto.
3781 * libc/iconv/lib/local.h: Ditto.
3782 * libc/iconv/lib/aliases.c: Removed.
3783 * libc/iconv/lib/bialiasesi.c: Ditto.
3784 * libc/iconv/lib/biccs.c: Ditto.
3785 * libc/iconv/lib/bices.c: Ditto.
3786 * libc/iconv/lib/ccs.c: Ditto.
3787 * libc/iconv/lib/ces.c: Ditto.
3788 * libc/iconv/lib/ces_euc.c: Ditto.
3789 * libc/iconv/lib/ces_iso2022.c: Ditto.
3790 * libc/iconv/lib/ces_table.c: Ditto.
3791 * libc/iconv/lib/converter.c: Ditto.
3792 * libc/iconv/lib/deps.h: Ditto.
3793 * libc/iconv/lib/loaddata.c: Ditto.
3794 * libc/iconv/lib/aliasesbi.c: New file.
3795 * libc/iconv/lib/aliasesi.c: Ditto.
3796 * libc/iconv/lib/conv.h: Ditto.
3797 * libc/iconv/lib/encnames.h: Ditto.
3798 * libc/iconv/lib/encoding.deps: Ditto.
3799 * libc/iconv/lib/iconvnls.c: Ditto.
3800 * libc/iconv/lib/iconvnls.h: Ditto.
3801 * libc/iconv/lib/nullconv.c: Ditto.
3802 * libc/iconv/lib/ucsconv.c: Ditto.
3803 * libc/iconv/lib/ucsconv.h: Ditto.
3804 * libc/include/iconv.h: Update copyright.
3805 * libc/*/aclocal.m4: Regenerated.
3806 * libc/*/configure: Ditto.
3807 * libm/*/aclocal.m4: Ditto.
3808 * libm/*/configure: Ditto.
3809
3810 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
3811
3812 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
3813 instead of typedefing jmp_buf.
3814
3815 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
3816 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
3817 * libc/machine/h8300/defines.h (LEN): New macro.
3818 * libc/machine/h8300/memcpy.S: Add h8sx version.
3819 * libc/machine/h8300/memset.S: Likewise.
3820 * libc/machine/h8300/strcmp.S: Likewise.
3821 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
3822 * libc/machine/h8300/h8sx_strcpy.S: New file.
3823 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
3824 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
3825 __H8300SX__.
3826 * libc/include/machine/setjmp.h: Likewise.
3827 * libc/include/sys/config.h: Likewise.
3828 * libc/machine/h8300/defines.h: Likewise.
3829 * libc/machine/h8300/setjmp.S: Likewise.
3830 * libc/machine/h8300/strcmp.S: Likewise.
3831 * libc/sys/h8300hms/close.S: Likewise.
3832 * libc/sys/h8300hms/fstat.S: Likewise.
3833 * libc/sys/h8300hms/lseek.S: Likewise.
3834 * libc/sys/h8300hms/read.S: Likewise.
3835 * libc/sys/h8300hms/write.S: Likewise.
3836 * libc/sys/h8300hms/crt0.S: Likewise.
3837 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
3838 __H8300SX__ is defined.
3839 * libc/sys/h8300hms/setarch.h: Likewise.
3840
3841 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
3842
3843 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
3844 out change which set _GLOBAL_REENT to _global_impure_ptr until
3845 we understand why Cygwin breaks because of it.
3846
3847 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
3848
3849 * libc/sys/linux/machine/i386/syscall.h: For now, set up
3850 __syscall_return macro for systems with vsyscall.
3851
3852 2004-06-11 Antony King <antony.king@st.com>
3853
3854 * libc/include/sys/_types.h: Include <sys/lock.h> and change
3855 _flock_t to be of type _LOCK_RECURSIVE_T.
3856 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
3857 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
3858 (_global_impure_ptr): New declaration.
3859 (_GLOBAL_REENT): Change to be _global_impure_ptr.
3860 * libc/include/sys/stdio.h: Include <sys/lock.h> and
3861 <sys/reent.h>.
3862 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
3863 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3864 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
3865 * libc/stdio/fclose.c: Remove casting of fp lock to
3866 _LOCK_RECURSIVE_T.
3867 * libc/stdio/findfp.c: Ditto.
3868 * libc/stdio/fopen.c: Ditto.
3869 * libc/stdio/freopen.c: Ditto.
3870 * libc/stdio/vfprintf.c: Ditto.
3871 * libc/stdio64/fopen64.c: Ditto.
3872 * libc/stdlib/envlock.c: Add default stubs that use generic
3873 locking code.
3874 * libc/stdlib/mlock.c: Ditto.
3875
3876 Jeff Johnston <jjohnstn@redhat.com>
3877 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
3878 (_flock_t): Change to be a struct containing a single member
3879 named mutex which is of type __flock_mutex_t.
3880
3881 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
3882
3883 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
3884 from /usr/include/asm/signal.h instead of kernel sources. Also
3885 default max to 32 if not found in header file.
3886 * libc/sys/linux/Makefile.in: Regenerated.
3887 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
3888 systems where __syscall_return is not defined.
3889 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
3890 systems to use syscall() function instead of assembler interrupt.
3891
3892 2004-06-09 Toralf Lund <toralf@procaptura.com>
3893
3894 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
3895 files from libc/sys/arm to libc/machine/arm.
3896 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
3897 library build support for files moved from libc/sys/arm.
3898 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
3899 references to access and setjmp.
3900 * configure.host: Add checks for newlib_may_supply_syscalls to
3901 determine whether or not to use sys/arm directory and use
3902 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
3903
3904 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
3905
3906 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
3907 reset digit flags appropriately after we have discovered "0x".
3908 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3909
3910 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
3911
3912 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
3913 from here ...
3914 (_VFPRINTF_R): ... to here so all I/O printf routines
3915 are covered.
3916
3917 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
3918
3919 * libc/search/hash_buf.c: Protect MAX and MIN macros from
3920 redefinition.
3921 * libc/search/hash.c: Ditto.
3922
3923 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3924
3925 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
3926 (_WANT_IO_LONG_LONG): Ditto.
3927 (_WANT_IO_LONG_DOUBLE): Ditto.
3928 * configure.in: Add new configuration options
3929 --enable-newlib-io-long-long and --enable-newlib-io-long-double
3930 which tie to new defines in newlib.hin.
3931 * configure: Regenerated.
3932 * configure.host: Add checks for new configuration options. Also
3933 fix up check for --enable-newlib-io-pos-args so configuration
3934 option will override any default for a given platform.
3935 Remove defining compiler flags for the _WANT_IO* options.
3936 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
3937 instead of looking for old compiler flags.
3938 * libc/stdio/vfscanf.c: Ditto.
3939 * libc/stdio/vfieeefp.h: Ditto.
3940 * libc/machine/powerpc/vfprintf.c: Ditto.
3941 * libc/machine/powerpc/vfscanf.c: Ditto.
3942
3943 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
3944
3945 * testsuite/include/check.h: Add include of <stdio.h>.
3946
3947 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
3948
3949 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
3950
3951 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3952
3953 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
3954 of free.
3955
3956 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3957
3958 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
3959 list for reentrant pointer. Call _vfiprintf_r.
3960 * libc/stdio/siprintf.c (_siprintf_r): New function.
3961 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
3962 pointer argument. Change all callers. Call _VFPRINTF_R.
3963 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
3964 prototypes.
3965
3966 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
3967
3968 * libc/include/sys/param.h: Remove endian info and include
3969 <machine/endian.h> instead.
3970 * libc/include/machine/endian.h: New file.
3971 * libc/include/machine/param.h: Ditto.
3972 * libc/machine/arm/machine/endian.h: Ditto.
3973 * libc/machine/arm/machine/param.h: Ditto.
3974 * libc/sys/arm/sys/param.h: Removed.
3975 * libc/sys/sysvi386/sys/param.h: Ditto.
3976 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
3977
3978 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3979
3980 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
3981 multibyte functions return failure for %C, %S, %lc, and %ls
3982 format specifiers.
3983
3984 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3985
3986 * testsuite/include/check.h (CHECK): Add flush of stdout.
3987
3988 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3989
3990 * libc/include/stdio.h (_ungetc_r): New prototype.
3991 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
3992 (__submore): Add reentrant struct pointer argument.
3993 (ungetc): Change to call _ungetc_r.
3994
3995 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3996
3997 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
3998 function pointer argument.
3999 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4000 to specify function pointer arguments.
4001 (__fwalk, __fwalk_reent): Ditto.
4002
4003 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4004
4005 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4006 CT_INT case.
4007
4008 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4009
4010 * configure.in: Define _MB_CAPABLE if mb supported.
4011 * configure: Regenerated.
4012 * configure.host: Remove manual setting of MB_CAPABLE compiler
4013 flag.
4014 * newlib.hin: Add _MB_CAPABLE flag.
4015 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4016 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4017 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4018 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4019 * libc/ctype/jp2uc.c: Ditto.
4020 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4021 * libc/locale/locale.c: Ditto
4022 * libc/machine/powerpc/vfscanf.c: Ditto
4023 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4024 * libc/stdlib/mblen.c: Ditto
4025 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4026 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4027 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4028 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4029 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4030 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4031 * libc/sys/linux/intl/explodename.c: Ditto
4032 * libc/sys/linux/intl/finddomain.c: Ditto
4033 * libc/sys/linux/intl/l10nflist.c: Ditto
4034 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4035 * libc/sys/linux/intl/localealias.c: Ditto
4036
4037 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4038
4039 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4040 (__svfscanf_r): In integer conversions, leave out leading zeroes
4041 which are not part of a base prefix.
4042 Keep track of width truncation to fit into buf, not counting left-out
4043 zeroes against width till the truncation has been compensated for.
4044 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4045
4046 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4047
4048 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4049
4050 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4051
4052 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4053 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4054 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4055 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4056 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4057 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4058 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4059 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4060 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4061 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4062 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4063 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4064 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4065 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4066 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4067 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4068 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4069 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4070 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4071 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4072 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4073 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4074 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4075 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4076 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4077 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4078 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4079 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4080 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4081 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4082 copyright notices to top of file, ensure that <_ansi.h> is
4083 included, be consistent with open parentheses, use _DEFUN macro,
4084 include "local.h" where needed, and remove various compiler
4085 warnings.
4086
4087 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4088
4089 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4090 (__svfscanf_r): In integer conversions, leave out leading zeroes
4091 which are not part of a base prefix.
4092 Keep track of width truncation to fit into buf, not counting left-out
4093 zeroes against width till the truncation has been compensated for.
4094
4095 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4096
4097 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4098
4099 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4100
4101 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4102
4103 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4104
4105 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4106 to SUSv3.
4107
4108 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4109
4110 * libc/stdio/fclose.c (_fclose_r): New function.
4111 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4112 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4113 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4114 * libc/include/stdio.h (_fclose_r): New prototype.
4115 * libc/stdio/fopen.c: Fix typo in comment.
4116
4117 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4118
4119 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4120 to handle _r reentrant functions.
4121
4122 2004-04-08 Eric Christopher <echristo@redhat.com>
4123
4124 * libc/include/machine/setjmp.h: Fix endif locations.
4125
4126 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4127
4128 * libc/time/strptime.c: Add standard includes to avoid
4129 warning messages at compilation time.
4130
4131 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4132
4133 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4134 of file.
4135
4136 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4137
4138 * libc/machine/h8300/Makefile.am: Reformat slightly.
4139 * libc/machine/h8300/Makefile.in: Regenerate.
4140
4141 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4142
4143 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4144 __sfp_lock_acquire.
4145 (__fp_unlock_all): Add call to __sfp_lock_release.
4146
4147 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4148
4149 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4150 releasing a file.
4151 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4152 fwalk.
4153 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4154 _flockfile/_funlockfile.
4155 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4156 to recursive.
4157 Change __lock_acquire/__lock_release calls for __sfp_lock to
4158 __sfp_lock_acquire/__sfp_lock_release throughout.
4159 (std): Make sure that file lock is only initialized once.
4160 (__sfp): Move _file initialization. Initialize file lock.
4161 (__sfp_lock_acquire): New function.
4162 (__sfp_lock_release): Ditto.
4163 (__fp_lock_all): Remove __sfp_lock_acquire call.
4164 (__fp_unlock_all): Remove __sfp_lock_release call.
4165 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4166 Add calls to _flockfile/_funlockfile. Remove
4167 __lock_init_recursive call.
4168 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4169 * libc/stdio/fwalk.c (__fwalk): New static function.
4170 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4171 file pointers.
4172 * libc/stdio/local.h: Add defines for
4173 __sfp_lock_acquire/__sfp_lock_release when
4174 single threaded. Add function prototypes otherwise.
4175 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4176 _flockfile/_funlockfile.
4177 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4178 Add calls to _flockfile/_funlockfile. Remove
4179 __lock_init_recursive call.
4180 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4181 list.
4182
4183 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4184
4185 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4186 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4187 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4188 to be __LOCK_INIT_RECURSIVE.
4189
4190 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4191
4192 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4193 _exit.c with _exit.S.
4194 * libc/sys/h8300hms/Makefile.in: Regenerate.
4195 * libc/sys/h8300hms/_exit.c: Remove.
4196 * libc/sys/h8300hms/_exit.S: New.
4197
4198 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4199
4200 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4201 Change __sfp_lock to static global.
4202 (__fp_lock): New static function.
4203 (__fp_unlock): Ditto.
4204 (__fp_lock_all): New function.
4205 (__fp_unlock_all): Ditto.
4206
4207 2004-02-10 Christopher Faylor <cgf@redhat.com>
4208
4209 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4210 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4211 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4212 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4213
4214 2004-02-09 Christopher Faylor <cgf@redhat.com>
4215
4216 * libc/include/time.h (TIMER_RELTIME): New define.
4217
4218 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4219
4220 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4221 * libc/stdlib/Makefile.in: Regenerated.
4222
4223 2004-02-08 Christopher Faylor <cgf@redhat.com>
4224
4225 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4226 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4227 defined.
4228 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4229
4230 2004-02-05 Paul Brook <paul@codesourcery.com>
4231
4232 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4233 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4234
4235 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4236
4237 * NEWS: Update with 1.12.0 info.
4238 * README: Ditto.
4239 * acinclude.m4: Change version number to 1.12.0.
4240 * aclocal.m4: Regenerated.
4241 * configure: Ditto.
4242 * doc/aclocal.m4: Ditto.
4243 * doc/configure: Ditto.
4244 * libc/*/aclocal.m4: Ditto.
4245 * libc/*/configure: Ditto.
4246 * libc/libc.texinfo: Ditto.
4247 * libm/*/aclocal.m4: Ditto.
4248 * libm/*/configure: Ditto.
4249 * libm/libm.texinfo: Ditto.
4250 * libc/sys/linux/shared.ld: Add VERS_1.12.
4251
4252 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4253
4254 * configure.host: Add support for tic4x.
4255 * libc/include/machine/ieeefp.h: Ditto.
4256 * libc/include/machine/setjmp.h: Ditto.
4257 * libc/machine/tic4x/Makefile.am: New file.
4258 * libc/machine/tic4x/configure.in: Ditto.
4259 * libc/machine/tic4x/setjmp.S: Ditto.
4260 * libc/machine/tic4x/aclocal.m4: Generated.
4261 * libc/machine/tic4x/configure: Ditto.
4262 * libc/machine/tic4x/Makefile.in: Ditto.
4263
4264 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4265
4266 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4267 file chain on the passed in reentrancy struct if it
4268 is _GLOBAL_REENT.
4269
4270 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4271 Jeff Johnston <jjohnstn@redhat.com>
4272
4273 * libc/iconv/iconv.tex: Updated with more information.
4274
4275 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4276 Jeff Johnston <jjohnstn@redhat.com>
4277
4278 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4279 struct for std streams and traverse the global reeentrancy
4280 struct for all other streams.
4281
4282 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4283
4284 * libc/stdlib/atexit.c: Protect global atexit list with a
4285 lock when newlib is multithreaded.
4286
4287 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4288
4289 * configure.in: Add support to generate iconv converter flags
4290 for newlib.h
4291 * newlib.hin: Add iconv converter flags.
4292 * configure: Regenerated.
4293 * libc/Makefile.in: Ditto.
4294 * libc/configure.in: Moved iconv converter parsing logic to
4295 top level newlib configure.in.
4296 * libc/configure: Regenerated.
4297 * libc/iconv/Makefile.in: Ditto.
4298 * libc/iconv/README.TODO
4299 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4300 UCS2/UCS4/UTF8.
4301 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4302 newlib.h can be used.
4303 * libc/iconv/ces/Makefile.am: Ditto.
4304 * libc/iconv/lib/Makefile.am: Ditto.
4305 * libc/iconv/ccs/Makefile.in: Regenerated.
4306 * libc/iconv/ces/Makefile.in: Ditto.
4307 * libc/iconv/lib/Makefile.in: Ditto.
4308 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4309 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4310 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4311 defined in newlib.h.
4312 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4313 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4314 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4315 * libc/iconv/ccs/cp775.c: Ditto.
4316 * libc/iconv/ccs/cp850.c: Ditto.
4317 * libc/iconv/ccs/cp852.c: Ditto.
4318 * libc/iconv/ccs/cp855.c: Ditto.
4319 * libc/iconv/ccs/cp866.c: Ditto.
4320 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4321 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4322 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4323 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4324 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4325 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4326 * libc/iconv/ccs/jis_x0201.c: Ditto.
4327 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4328 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4329 * libc/iconv/ccs/koi8_r.c: Ditto.
4330 * libc/iconv/ccs/koi8_u.c: Ditto.
4331 * libc/iconv/ccs/ksx1001.c: Ditto.
4332 * libc/iconv/ccs/shift_jis.c: Ditto.
4333 * libc/iconv/ccs/us_ascii.c: Ditto.
4334 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4335 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4336 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4337 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4338 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4339 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4340 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4341 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4342 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4343 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4344 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4345 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4346 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4347 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4348 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4349 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4350 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4351 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4352 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4353 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4354 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4355 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4356 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4357 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4358 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4359 * libc/iconv/ces/euc-kr.c: Ditto.
4360 * libc/iconv/ces/euc-tw.c: Ditto.
4361 * libc/iconv/ces/gb2312.c: Ditto.
4362 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4363 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4364 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4365 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4366 * libc/iconv/ces/utf-16.c: Ditto.
4367 * libc/iconv/ces/utf-8.c: Ditto.
4368 * libc/iconv/lib/aliases.c: Ditto.
4369 * libc/iconv/lib/biccs.c: Ditto.
4370 * libc/iconv/lib/bices.c: Ditto.
4371 * libc/iconv/lib/ccs.c: Ditto.
4372 * libc/iconv/lib/ces.c: Ditto.
4373 * libc/iconv/lib/ces_euc.c: Ditto.
4374 * libc/iconv/lib/ces_iso2022.c: Ditto.
4375 * libc/iconv/lib/ces_table.c: Ditto.
4376 * libc/iconv/lib/converter.c: Ditto.
4377 * libc/iconv/lib/deps.h: Ditto.
4378 * libc/iconv/lib/endian.h: Ditto.
4379 * libc/iconv/lib/iconv.c: Ditto.
4380 * libc/iconv/lib/loaddata.c: Ditto.
4381 * libc/iconv/lib/local.h: Include newlib.h.
4382 * libc/argz/Makefile.in: Regenerated.
4383 * libc/ctype/Makefile.in: Ditto.
4384 * libc/errno/Makefile.in: Ditto.
4385 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4386 * libc/locale/Makefile.in: Ditto.
4387 * libc/misc/Makefile.in: Ditto.
4388 * libc/posix/Makefile.in: Ditto.
4389 * libc/reent/Makefile.in: Ditto.
4390 * libc/search/Makefile.in: Ditto.
4391 * libc/signal/Makefile.in: Ditto.
4392 * libc/stdio/Makefile.in: Ditto.
4393 * libc/stdio64/Makefile.in: Ditto.
4394 * libc/stdlib/Makefile.in: Ditto.
4395 * libc/string/Makefile.in: Ditto.
4396 * libc/syscalls/Makefile.in: Ditto.
4397 * libc/time/Makefile.in: Ditto.
4398 * libc/unix/Makefile.in: Ditto.
4399 * testsuite/newlib.iconv/iconv.exp: New file.
4400 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4401 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4402 * testsuite/newlib.iconv/iconvru.c: Ditto.
4403
4404 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4405
4406 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4407 (--enable-newlib-builtin-converters): Ditto.
4408 * configure.in: Add code to set _ICONV_ENABLED flag.
4409 Set _MB_LEN_MAX to 1 if not mb enabled.
4410 * configure: Regenerated.
4411 * aclocal.m4: Ditto.
4412 * Makefile.in: Ditto.
4413 * newlib.hin: Add _ICONV_ENABLED flag.
4414 * libc/Makefile.am: Add support for iconv.
4415 * libc/configure.in: Ditto.
4416 * libc/Makefile.in: Regenerated.
4417 * libc/aclocal.m4: Ditto.
4418 * libc/configure: Ditto.
4419 * libc/libc.texinfo: Add iconv documentation.
4420 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4421 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4422 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4423 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4424 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4425 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4426 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4427 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4428 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4429 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4430 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4431 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4432 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4433 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4434 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4435 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4436 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4437 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4438 libc/iconv/ccs/binary/big5.cct,
4439 libc/iconv/ccs/binary/cns11643_plane1.cct,
4440 libc/iconv/ccs/binary/cns11643_plane14.cct,
4441 libc/iconv/ccs/binary/cns11643_plane2.cct,
4442 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4443 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4444 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4445 libc/iconv/ccs/binary/iso_8859_1.cct,
4446 libc/iconv/ccs/binary/iso_8859_15.cct,
4447 libc/iconv/ccs/binary/iso_8859_2.cct,
4448 libc/iconv/ccs/binary/iso_8859_4.cct,
4449 libc/iconv/ccs/binary/iso_8859_5.cct,
4450 libc/iconv/ccs/binary/jis_x0201.cct,
4451 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4452 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4453 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4454 libc/iconv/ccs/binary/ksx1001.cct,
4455 libc/iconv/ccs/binary/shift_jis.cct,
4456 libc/iconv/ccs/binary/us_ascii.cct,
4457 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4458 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4459 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4460 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4461 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4462 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4463 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4464 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4465 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4466 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4467 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4468 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4469 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4470 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4471 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4472 * libc/sys/linux/include/iconv.h: Ditto.
4473 * libc/include/sys/_types.h (_iconv_t): Added.
4474 * doc/aclocal.m4: Regenerated.
4475 * doc/configure: Ditto.
4476 * doc/Makefile.in: Ditto.
4477 * iconvdata/Makefile.in: Ditto.
4478 * iconvdata/aclocal.m4: Ditto.
4479 * iconvdata/configure: Ditto.
4480 * libc/*aclocal.m4: Ditto.
4481 * libc/*Makefile.in: Ditto.
4482 * libc/*configure: Ditto.
4483 * libm/*aclocal.m4: Ditto.
4484 * libm/*Makefile.in: Ditto.
4485 * libm/*configure: Ditto.
4486
4487 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4488
4489 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4490 by a lock when newlib is multithreaded.
4491
4492 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4493
4494 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4495 pointer to match C99 spec.
4496 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4497 dst is NULL. Also fix to not alter src pointer when dst is NULL
4498 and call _mbrtowc_r instead of _mbtowc_r.
4499 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4500 of _wctomb_r.
4501
4502 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4503
4504 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4505 * libc/stdio/freopen.c (freopen): Ditto.
4506
4507 2004-01-16 Christopher Faylor <cgf@redhat.com>
4508
4509 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4510
4511 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4512
4513 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4514 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4515 Add calls to __lock_init_recursive and __lock_close_recursive
4516 instead.
4517
4518 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4519
4520 * libc/stdio/fclose.c: Include sys/lock.h.
4521 (fclose): Destroy lock when file is closed.
4522 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4523 member.
4524 * libc/stdio/freopen.c: Include sys/lock.h.
4525 (_freopen_r): Destroy lock when file is closed.
4526 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4527 _lock member.
4528
4529 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4530
4531 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4532 Remove warnings.
4533
4534 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4535
4536 * libc/sys/rtems/sys/queue.h: New file.
4537 * libc/include/sys/signal.h: Reflect renumbering of signals to
4538 fit into 32-bit mask.
4539 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4540 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4541 required. In particular, add the reentrant variants of libc calls.
4542 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4543
4544 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4545
4546 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4547 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4548 Similarly for stdout and stderr.
4549
4550 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4551
4552 * libc/libc.texinfo: Correct escape character for @ sign
4553 so file will be processed by make info. Update copyright years.
4554 * libm/libm.texinfo: Ditto.
4555
4556 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4557
4558 * libc/include/sys/stat.h: No longer include stat-dj.h.
4559 * libc/include/sys/stat-dj.h: Removed.
4560
4561 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4562
4563 * libc/include/wchar.h: Include <sys/reent.h>.
4564
4565 2003-12-05 Christopher Faylor <cgf@redhat.com>
4566
4567 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4568 when defining _mbrtowc.
4569 * libc/stdlib/mbsinit.c: Ditto.
4570 * libc/stdlib/mbsrtowcs.c: Ditto.
4571 * libc/stdlib/wcrtomb.c: Ditto.
4572 * libc/stdlib/wcsrtombs.c: Ditto.
4573 * libc/stdlib/wctob.c: Ditto.
4574
4575 2003-12-05 Christopher Faylor <cgf@redhat.com>
4576
4577 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4578 errors when defining _mbrtowc.
4579 * libc/stdlib/mbsinit.c: Ditto.
4580 * libc/stdlib/mbsrtowcs.c: Ditto.
4581
4582 2003-12-05 Christopher Faylor <cgf@redhat.com>
4583
4584 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4585 errors when defining _mbrtowc.
4586
4587 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4588
4589 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4590 of mb routines for %lc and %ls support.
4591 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4592 %ls, and %S support. Remove CYGNUS_NEC markers and
4593 code within.
4594
4595 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4596
4597 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4598 _wcrtomb_r, and _wcsrtombs_r.
4599
4600 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4601
4602 * libc/include/sys/fcntl.h: Don't define struct flock when on
4603 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4604
4605 2003-11-28 Christopher Faylor <cgf@redhat.com>
4606
4607 * libc/include/sys/signal.h: Use system specific signal file when
4608 building on cygwin.
4609
4610 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4611
4612 * libc/include/stdlib.h (_atoi_r): New prototype.
4613 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4614
4615 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4616
4617 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4618 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4619 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4620
4621 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4622 Jeff Johnston <jjohnstn@redhat.com>
4623
4624 * libc/include/stdlib.h (lldiv_t): New type.
4625 (atoll, llabs, lldiv): New prototypes.
4626 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4627 * libc/stdlib/stdlib.tex: Ditto.
4628 * libc/stdlib/Makefile.in: Regenerated.
4629 * libc/stdlib/atoll.c: New file.
4630 * libc/stdlib/llabs.c: Ditto.
4631 * libc/stdlib/lldiv.c: Ditto.
4632
4633 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4634
4635 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4636 * libc/include/unistd.h: Ditto.
4637 * libc/include/stat.h: Ditto. Also declare struct stat64.
4638
4639 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4640
4641 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4642 specifier to use ch instead of *fmt.
4643
4644 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4645
4646 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4647 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4648 use simple byte logic.
4649
4650 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4651
4652 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4653 _strtold routine for processing floats and doubles since it
4654 is not as fast as _strtod_r.
4655
4656 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4657
4658 * libc/machine/h8300/defines.h : Correct pointer register defines
4659 for normal mode.
4660 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4661 for normal mode.
4662 * libc/machine/h8300/reg_memcpy.S : Likewise.
4663 * libc/machine/h8300/reg_memset.S : Likewise.
4664 * libc/machine/h8300/strcmp.S : Likewise.
4665
4666 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4667
4668 * configure.host: Enable positional arguments for printf
4669 family for Cygwin.
4670 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4671 pointer reference for quad_ptr_t.
4672
4673 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4674
4675 * libc/stdio/scanf.c: Don't include local.h more than once.
4676
4677 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4678
4679 * libc/include/sys/fcntl.h: Declare _open64.
4680 * libc/include/sys/stat.h: Declare _fstat64.
4681 * libc/include/sys/unistd.h: Declare _lseek64.
4682
4683 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4684
4685 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4686 (setprogname): Ditto.
4687
4688 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4689
4690 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4691 to use (Ebits + 1) which accounts for the sign-bit.
4692
4693 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4694
4695 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
4696 x86 build.
4697 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4698 and set up default flags to pass to aclocal.
4699 * iconvdata/Makefile.in: Regenerated.
4700 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4701 and getpwuid routines.
4702 * libc/sys/linux/Makefile.in: Regenerated.
4703 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4704 applications to link with newlib's shared libc library.
4705 * libc/sys/linux/getpwnam.c: Ditto.
4706 * libc/sys/linux/getpwuid.c: Ditto.
4707 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4708 that were formerly supplied by /usr/include/linux/types.h with
4709 kernel types.
4710 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4711 test _ELIX_LEVEL macro.
4712
4713 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4714
4715 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4716 referring to _NO_LONGLONG macro.
4717
4718 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4719
4720 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4721 in LOG() macro so this will compile on gcc 3.4 and up.
4722 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4723 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4724 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4725 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4726 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4727 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4728 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4729 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4730 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4731 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4732 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4733 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4734 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4735 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4736 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4737 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4738 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4739 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4740 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4741 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4742 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4743 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4744 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4745 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4746 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4747 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4748 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4749 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4750 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4751 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4752 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4753 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4754 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4755 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4756 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4757 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4758
4759 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4760 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4761
4762 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
4763 %ls, %S, %lc, and %C format specifiers.
4764 (get_arg): Ditto.
4765 * libc/stdio/sprintf.c: Add documentation regarding new
4766 format specifiers added in vfprintf.c.
4767
4768 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4769
4770 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
4771 to make code work as specified in standard.
4772
4773 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
4774
4775 * configure.in: Use absolute newlib basedir when forming
4776 CC_FOR_NEWLIB include options.
4777 * configure: Regenerated.
4778
4779 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4780
4781 * libc/string/wcsnlen.c: New file.
4782 * libc/include/wchar.h: Add wcsnlen prototype.
4783 * libc/string/Makefile.am: Add wcsnlen support.
4784 * libc/string/Makefile.in: Regenerated.
4785 * libc/string/wcstrings.tex: Add wcsnlen documentation.
4786
4787 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
4788
4789 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
4790
4791 2003-10-20 Bob Wilson <bob.wilson@acm.org>
4792
4793 * libc/locale/locale.c: Use double quotes in code.
4794 * libc/locale/locale.tex: Likewise.
4795 * libc/libc.texinfo: Hyphenate "floating-point".
4796 * libc/machine/necv70/necv70.tex: Likewise.
4797 * libc/stdio/sprintf.c: Likewise.
4798 * libc/stdio/sscanf.c: Likewise.
4799 * libc/stdlib/atof.c: Likewise.
4800 * libc/stdlib/ldtoa.c: Fix comment typo.
4801 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
4802 * libc/stdlib/ldiv.c: Likewise.
4803 * libm/common/s_expm1.c: Likewise.
4804 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
4805 * libm/common/s_infinity: Hyphenate "double- and single-precision".
4806 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
4807 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
4808 and "floating-point".
4809 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
4810 * libm/math/e_pow.c: Fix comment typo.
4811 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
4812 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
4813 * libm/math/s_atan.c: Likewise.
4814 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
4815 * libm/math/s_isnan.c: Hyphenate "single-precision" and
4816 "floating-point". Use "nonzero".
4817 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4818 * libm/math/w_acos.c: Likewise.
4819 * libm/math/w_acosh.c: Likewise.
4820 * libm/math/w_asin.c: Likewise.
4821 * libm/math/w_atan2.c: Likewise.
4822 * libm/math/w_atanh.c: Likewise.
4823 * libm/math/w_cosh.c: Likewise.
4824 * libm/math/w_exp.c: Likewise.
4825 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
4826 version of 2^x in the description.
4827 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
4828 * libm/math/w_gamma.c: Likewise.
4829 * libm/math/w_hypot.c: Likewise.
4830 * libm/math/w_j0.c: Likewise.
4831 * libm/math/w_sinh.c: Likewise.
4832 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
4833 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
4834 "floating-point".
4835 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
4836 * libm/mathfp/e_atanh.c: Likewise.
4837 * libm/mathfp/e_hypot.c: Likewise.
4838 * libm/mathfp/er_lgamma.c: Likewise.
4839 * libm/mathfp/s_acos.c: Likewise.
4840 * libm/mathfp/s_asine.c: Likewise.
4841 * libm/mathfp/s_asinh.c: Likewise.
4842 * libm/mathfp/s_atan.c: Likewise.
4843 * libm/mathfp/s_atan2.c: Likewise.
4844 * libm/mathfp/s_atangent.c: Likewise.
4845 * libm/mathfp/s_cosh.c: Likewise.
4846 * libm/mathfp/s_exp.c: Likewise.
4847 * libm/mathfp/s_fmod.c: Likewise.
4848 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
4849 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
4850 "floating-point". Use "nonzero".
4851 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
4852 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4853 * libm/mathfp/s_sineh.c: Likewise.
4854 * libm/mathfp/w_jn.c: Likewise.
4855
4856 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
4857
4858 * Makefile.am: Add $(MAKE) comments to multido and multiclean
4859 lines, to enable parallel make.
4860 * Makefile.in: Rebuilt.
4861
4862 2003-10-14 Christopher Faylor <cgf@redhat.com>
4863
4864 * libc/time/clock.c: Clarify documentation of return value when no
4865 measurement is available.
4866
4867 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
4868
4869 * libm/configure.in: Check libm_machine_dir, not machine_dir.
4870 * libm/configure: Regenerate.
4871 * libm/Makefile.in: Ditto.
4872
4873 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
4874
4875 * libc/machine/sh/strncpy.S: New file.
4876 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
4877 * libc/machine/sh/Makefile.in: Regenerate.
4878
4879 2003-09-11 James E Wilson <wilson@specifixinc.com>
4880
4881 * MAINTAINERS: Update my e-mail address.
4882
4883 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
4884
4885 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
4886
4887 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
4888
4889 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
4890 prototype.
4891 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
4892 _simdldcheck(). Also add unsigned cast for index variable in
4893 for loop using sizeof operators.
4894 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
4895 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
4896 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
4897 plus fix shift calculation for determining if there is a
4898 carry from word2.
4899
4900 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
4901
4902 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4903 setgroupent for Cygwin.
4904
4905 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
4906
4907 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
4908 is different for _REENT_SMALL than when using regular reent
4909 struct.
4910
4911 2003-09-05 Ben Elliston <bje@wasabisystems.com>
4912
4913 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
4914 modern versions of GCC issue a warning.
4915
4916 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
4917 after continuation characters that induces a warning from modern
4918 versions of GCC.
4919
4920 2003-09-04 Ben Elliston <bje@wasabisystems.com>
4921
4922 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
4923 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
4924
4925 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
4926
4927 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4928 * libc/stdlib/exit.c : Ditto.
4929 * libc/stdlib/on_exit.c: Ditto.
4930
4931 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
4932
4933 * libc/include/reent.h: Define stat64 as __stat64 when
4934 compiling newlib for Cygwin.
4935
4936 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4937
4938 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
4939 __stat64 when compiling newlib.
4940
4941 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4942
4943 * libc/include/stdio.h: Allow the io64 function prototypes for
4944 Cygwin when compiling newlib.
4945 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
4946 to expose the Cygwin struct __stat64 type.
4947 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
4948 pointer.
4949 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
4950
4951 2003-08-23 Christopher Faylor <cgf@redhat.com>
4952
4953 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
4954 definition to fseeko64.
4955
4956 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
4957
4958 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
4959 * libc/stdio: Globally remove/replace all references to fp->_data.
4960 Replace with _REENT or _GLOBAL_REENT where appropriate.
4961 * libc/stdio/asprintf.c: Ditto.
4962 * libc/stdio/fclose.c: Ditto.
4963 * libc/stdio/fvwrite.c: Ditto.
4964 * libc/stdio/makebuf.c: Ditto.
4965 * libc/stdio/refill.c: Ditto.
4966 * libc/stdio/local.h: Ditto.
4967 * libc/stdio/setvbuf.c: Ditto.
4968 * libc/stdio/sscanf.c: Ditto.
4969 * libc/stdio/stdio.c: Ditto.
4970 * libc/stdio/ungetc.c: Ditto.
4971 * libc/stdio/vfscanf.c: Ditto.
4972 * libc/stdio/vsscanf.c: Ditto.
4973 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
4974 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
4975 * libc/stdio/vsnprintf.c: Ditto.
4976 * libc/stdio/vsprintf.c: Ditto.
4977 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
4978 instead of _REENT to walk file list.
4979 * libc/stdio/fflush.c: Ditto.
4980 * libc/stdio/fgetpos.c: Add reentrant version and have regular
4981 version call reentrant version with _REENT argument.
4982 * libc/stdio/fsetpos.c: Ditto.
4983 * libc/stdio/fseek.c: Ditto.
4984 * libc/stdio/fseeko.c: Ditto.
4985 * libc/stdio/ftell.c: Ditto.
4986 * libc/stdio/ftello.c: Ditto.
4987 * libc/stdio/freopen.c: Ditto.
4988 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
4989 new files to chain. Also use _GLOBAL_REENT pointer for
4990 cleaning up.
4991 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
4992 * libc/stdio/siprintf.c: Ditto.
4993 * libc/stdio/iprintf.c: Ditto.
4994 * libc/stdio/fprintf.c: Ditto.
4995 * libc/stdio/printf.c: Ditto.
4996 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
4997 * libc/stdio/sprintf.c: Ditto.
4998 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
4999 * libc/stdio/rewind.c: Call _fseek_r directly.
5000 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5001 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5002 data pointer.
5003 (get_arg): Add extra struct _reent pointer argument.
5004 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5005 to fp->_data.
5006 * libc/stdio64/fopen64.c: Ditto.
5007 * libc/stdio64/freopen64.c: Ditto.
5008 * libc/stdio64/fsetpos64.c: Ditto.
5009 * libc/stdio64/ftello64.c: Ditto.
5010 * libc/stdio64/local64.h: Ditto.
5011 * libc/stdio64/stdio64.c: Ditto.
5012 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5013 _fstat64_r for the meantime.
5014
5015 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5016
5017 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5018 overflow detection.
5019
5020 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5021
5022 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5023 extern "C".
5024
5025 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5026
5027 * libc/include/math.h: Add prototypes for __signbitf and
5028 __signbitd.
5029
5030 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5031
5032 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5033 correct type of conversion when dealing with EUCJP or SJIS.
5034 * libc/ctype/iswblank.c: Ditto.
5035 * libc/ctype/iswcntrl.c: Ditto.
5036 * libc/ctype/iswprint.c: Ditto.
5037 * libc/ctype/iswpunct.c: Ditto.
5038 * libc/ctype/iswspace.c: Ditto.
5039 * libc/ctype/towlower.c: Ditto.
5040 * libc/ctype/towupper.c: Ditto.
5041
5042 2003-07-31 Nick Clifton <nickc@redhat.com>
5043
5044 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5045 before calling main, in case it saves its argument registers.
5046 Remove reference to deleted v850ea port.
5047 * configure.host: Remove reference to deleted v850ea port.
5048 Do not use -mv850 when building for v850e target. This
5049 prevents the ctbp system register from being initialised.
5050
5051 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5052
5053 * libc/stdio/vfprintf.c: Set output size to 1 when
5054 we have %f format with precision 0 and # flag not specified.
5055
5056 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5057
5058 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5059 .am33_2.
5060
5061 2003-07-25 Christopher Faylor <cgf@redhat.com>
5062
5063 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5064
5065 2003-07-25 Christopher Faylor <cgf@redhat.com>
5066
5067 * configure.host: Find cygwin include directory, when appropriate.
5068
5069 2003-07-24 Christopher Faylor <cgf@redhat.com>
5070
5071 * libc/stdio64/fdopen64.c: New file.
5072 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5073 * libc/stdio64/Makefile.in: Regenerate.
5074 * libc/include/stdio.h (fdopen64): Define.
5075 * libc/include/stdio.h (_fdopen64_r): Ditto.
5076
5077 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5078
5079 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5080 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5081 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5082 restore callee-saved FP registers.
5083
5084 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5085
5086 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5087 for __sh__.
5088 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5089 truncate.c.
5090 * libc/sys/sh/Makefile.in: Regenerate.
5091 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5092 * libc/sys/sh/ftruncate.c: New file.
5093 * libc/sys/sh/truncate.c: Likewise.
5094
5095 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5096
5097 * libc/include/math.h (nan, nanf): Update prototype to C99.
5098 * libm/common/s_nan.c (nan): Likewise.
5099 * libm/common/s_nanf.c (nanf, nan): Likewise.
5100 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5101
5102 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5103
5104 * libc/include/stdbool.h: Removed as this is defined by gcc.
5105
5106 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5107
5108 * libc/include/stdbool.h: New header file defined by C99.
5109
5110 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5111
5112 * libc/include/sys/types.h (int8_t): Make signed.
5113
5114 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5115
5116 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5117
5118 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5119
5120 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5121 on if we actually created the shared memory file exclusively.
5122
5123 2003-06-27 Joe Vornehm <joev@mitre.org>
5124
5125 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5126 comparisons to account for unsigned internal value w.
5127
5128 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5129
5130 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5131 wrbuf for a non-creating open.
5132
5133 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5134
5135 * libc/machine/h8300/setarch.h: New.
5136 * libc/machine/h8300/memcpy.S: Use it.
5137 * libc/machine/h8300/memset.S: Likewise.
5138 * libc/machine/h8300/reg_memcpy.S: Likewise.
5139 * libc/machine/h8300/reg_memset.S: Likewise.
5140 * libc/machine/h8300/setjmp.S: Likewise.
5141 * libc/machine/h8300/strcmp.S: Likewise.
5142
5143 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5144
5145 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5146 to atexit().
5147
5148 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5149
5150 * configure.host (iq2000): Add tabs.
5151
5152 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5153
5154 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5155 to handle latest on_exit change.
5156 * libc/sys/linux/Makefile.am: Remove special compilation
5157 for malloc.c and mcheck.c.
5158 * libc/sys/linux/Makefile.in: Regenerated.
5159 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5160 after including <features.h>.
5161 * libc/sys/linux/mcheck.c: Ditto.
5162 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5163 for <features.h>.
5164 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5165 add -DNOT_IN_libc to C flags.
5166 * libc/sys/linux/intl/Makefile.in: Regenerated.
5167 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5168 * libc/sys/linux/linuxthreads/semaphore.h: Include
5169 <bits/pthreadtypes.h>.
5170 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5171 including <features.h>.
5172 * libc/sys/linux/sys/lock.h: Ditto.
5173
5174 2003-06-11 Nick Clifton <nickc@redhat.com>
5175
5176 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5177 _on_exit_args_ptr.
5178
5179 2003-06-10 Stan Cox <scox@redhat.com>
5180 Anthony Green <green@redhat.com>
5181
5182 * configure.host: Add iq2000 support.
5183 * newlib/libc/include/machine/ieeefp.h: Ditto.
5184 * newlib/libc/include/machine/setjmp.h: Ditto.
5185 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5186 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5187 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5188 libc/machine/iq2000/Makefile.in: New files.
5189
5190 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5191
5192 * libc/sys/h8300hms/setarch.h: New file.
5193 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5194 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5195 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5196 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5197
5198 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5199
5200 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5201 definition.
5202 * libc/argz/argz_add_sep.c: Ditto.
5203 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5204 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5205 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5206 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5207 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5208 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5209 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5210 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5211 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5212 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5213 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5214 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5215 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5216 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5217 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5218 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5219 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5220 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5221 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5222 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5223
5224 2003-06-05 Nick Clifton <nickc@redhat.com>
5225
5226 * libc/include/sys/reent.h (struct _on_exit_args): New
5227 structure containing fields used by the on_exit() function.
5228 (struct _atexit): Include struct _on_exit_args. For
5229 _REENT_SMALL do his via a pointer that is initialised when
5230 needed.
5231 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5232 structure, if one has been allocated.
5233 * libc/stdlib/atexit.c (atexit): Update indirection to
5234 _fntypes field.
5235 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5236 _on_exit_args structure. For _REENT_SMALL, allocate a
5237 structure if one does not exist.
5238 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5239 structure.
5240
5241 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5242
5243 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5244 * libc/sys/linux/net/Makefile.in: Regenerated.
5245
5246 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5247
5248 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5249 * libc/reent/fcntlr.c: Ditto.
5250 * libc/reent/fstat64r.c: Ditto.
5251 * libc/reent/linkr.c: Ditto.
5252 * libc/reent/lseek64r.c: Ditto.
5253 * libc/reent/lseekr.c: Ditto.
5254 * libc/reent/openr.c: Ditto.
5255 * libc/reent/readr.c: Ditto.
5256 * libc/reent/reent.c: Ditto.
5257 * libc/reent/sbrkr.c: Ditto.
5258 * libc/reent/signalr.c: Ditto.
5259 * libc/reent/signgam.c: Ditto.
5260 * libc/reent/statr.c: Ditto.
5261 * libc/reent/timer.c: Ditto.
5262 * libc/reent/unlinkr.c: Ditto.
5263 * libc/reent/writer.c: Ditto.
5264 * libc/syscalls/sysclose.c: Ditto.
5265 * libc/syscalls/sysexecve.c: Ditto.
5266 * libc/syscalls/sysfcntl.c: Ditto.
5267 * libc/syscalls/sysfork.c: Ditto.
5268 * libc/syscalls/sysfstat.c: Ditto.
5269 * libc/syscalls/sysgetpid.c: Ditto.
5270 * libc/syscalls/sysgettod.c: Ditto.
5271 * libc/syscalls/syskill.c: Ditto.
5272 * libc/syscalls/syslink.c: Ditto.
5273 * libc/syscalls/syslseek.c: Ditto.
5274 * libc/syscalls/sysopen.c: Ditto.
5275 * libc/syscalls/sysread.c: Ditto.
5276 * libc/syscalls/syssbrk.c: Ditto.
5277 * libc/syscalls/sysstat.c: Ditto.
5278 * libc/syscalls/systimes.c: Ditto.
5279 * libc/syscalls/sysunlink.c: Ditto.
5280 * libc/syscalls/syswait.c: Ditto.
5281 * libc/syscalls/syswrite.c: Ditto.
5282
5283 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5284
5285 * libc/time/tzset_r.c: Change local variables that are
5286 set via sscanf using the %h format specifier to be unsigned short
5287 instead of int.
5288
5289 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5290
5291 * configure.host: Allow i[34567]86 variant.
5292 * configure.in: Likewise.
5293 * README: Likewise to the docs.
5294 * configure: Regenerated.
5295 * Makefile.in: Ditto.
5296
5297 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5298 Tom Fitzsimmons <fitzsim@redhat.com>
5299
5300 * configure.in: Add iconvdata support for x86 linux.
5301 * configure: Regenerated.
5302 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5303 library, iconv, and linuxthreads support.
5304 * libc/sys/linux/configure.in: Ditto.
5305 * libc/sys/linux/Makefile.in: Regenerated.
5306 * libc/sys/linux/configure: Ditto.
5307 * iconvdata/EUC-JP.irreversible: New file.
5308 * iconvdata/Makefile.am: Ditto.
5309 * iconvdata/Makefile.in: Ditto.
5310 * iconvdata/SJIS.irreversible: Ditto.
5311 * iconvdata/aclocal.m4: Ditto.
5312 * iconvdata/configure: Ditto.
5313 * iconvdata/configure.in: Ditto.
5314 * iconvdata/dummy.c: Ditto.
5315 * iconvdata/euc-jp.c: Ditto.
5316 * iconvdata/gconv-modules: Ditto.
5317 * iconvdata/jis0201.c: Ditto.
5318 * iconvdata/jis0201.h: Ditto.
5319 * iconvdata/jis0208.c: Ditto.
5320 * iconvdata/jis0208.h: Ditto.
5321 * iconvdata/jis0212.c: Ditto.
5322 * iconvdata/jis0212.h: Ditto.
5323 * iconvdata/sjis.c: Ditto.
5324 * libc/include/errno.h: Protect definition of error_t.
5325 * libc/sys/linux/gethostid.c: New file.
5326 * libc/sys/linux/sethostid.c: Ditto.
5327 * libc/sys/linux/dl/Makefile.am: Ditto.
5328 * libc/sys/linux/dl/Makefile.in: Ditto.
5329 * libc/sys/linux/dl/abi-tag.h: Ditto.
5330 * libc/sys/linux/dl/atomicity.h: Ditto.
5331 * libc/sys/linux/dl/dl-addr.c: Ditto.
5332 * libc/sys/linux/dl/dl-cache.c: Ditto.
5333 * libc/sys/linux/dl/dl-cache.h: Ditto.
5334 * libc/sys/linux/dl/dl-close.c: Ditto.
5335 * libc/sys/linux/dl/dl-debug.c: Ditto.
5336 * libc/sys/linux/dl/dl-deps.c: Ditto.
5337 * libc/sys/linux/dl/dl-dst.h: Ditto.
5338 * libc/sys/linux/dl/dl-error.c: Ditto.
5339 * libc/sys/linux/dl/dl-fini.c: Ditto.
5340 * libc/sys/linux/dl/dl-init.c: Ditto.
5341 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5342 * libc/sys/linux/dl/dl-libc.c: Ditto.
5343 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5344 * libc/sys/linux/dl/dl-load.c: Ditto.
5345 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5346 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5347 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5348 * libc/sys/linux/dl/dl-misc.c: Ditto.
5349 * libc/sys/linux/dl/dl-object.c: Ditto.
5350 * libc/sys/linux/dl/dl-open.c: Ditto.
5351 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5352 * libc/sys/linux/dl/dl-profile.c: Ditto.
5353 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5354 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5355 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5356 * libc/sys/linux/dl/dl-support.c: Ditto.
5357 * libc/sys/linux/dl/dl-sym.c: Ditto.
5358 * libc/sys/linux/dl/dl-version.c: Ditto.
5359 * libc/sys/linux/dl/dlfcn.h: Ditto.
5360 * libc/sys/linux/dl/do-lookup.h: Ditto.
5361 * libc/sys/linux/dl/do-rel.h: Ditto.
5362 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5363 * libc/sys/linux/dl/kernel-features.h: Ditto.
5364 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5365 * libc/sys/linux/dl/libintl.h: Ditto.
5366 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5367 * libc/sys/linux/dl/unsecvars.h: Ditto.
5368 * libc/sys/linux/iconv/Makefile.am: Ditto.
5369 * libc/sys/linux/iconv/Makefile.in: Ditto.
5370 * libc/sys/linux/iconv/categories.def: Ditto.
5371 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5372 * libc/sys/linux/iconv/gconv.c: Ditto.
5373 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5374 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5375 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5376 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5377 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5378 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5379 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5380 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5381 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5382 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5383 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5384 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5385 * libc/sys/linux/iconv/hash-string.h: Ditto.
5386 * libc/sys/linux/iconv/iconv.c: Ditto.
5387 * libc/sys/linux/iconv/iconv.h: Ditto.
5388 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5389 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5390 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5391 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5392 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5393 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5394 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5395 * libc/sys/linux/iconv/loop.c: Ditto.
5396 * libc/sys/linux/iconv/skeleton.c: Ditto.
5397 * libc/sys/linux/iconv/strtab.c: Ditto.
5398 * libc/sys/linux/include/dl-hash.h: Ditto.
5399 * libc/sys/linux/include/dlfcn.h: Ditto.
5400 * libc/sys/linux/include/fnmatch.h: Ditto.
5401 * libc/sys/linux/include/gconv.h: Ditto.
5402 * libc/sys/linux/include/glob.h: Ditto.
5403 * libc/sys/linux/include/hesiod.h: Ditto.
5404 * libc/sys/linux/include/ifaddrs.h: Ditto.
5405 * libc/sys/linux/include/libc_private.h: Ditto.
5406 * libc/sys/linux/include/link.h: Ditto.
5407 * libc/sys/linux/include/namespace.h: Ditto.
5408 * libc/sys/linux/include/netconfig.h: Ditto.
5409 * libc/sys/linux/include/netdb.h: Ditto.
5410 * libc/sys/linux/include/nsswitch.h: Ditto.
5411 * libc/sys/linux/include/regex.h: Ditto.
5412 * libc/sys/linux/include/resolv.h: Ditto.
5413 * libc/sys/linux/include/rune.h: Ditto.
5414 * libc/sys/linux/include/runetype.h: Ditto.
5415 * libc/sys/linux/include/semaphore.h: Ditto.
5416 * libc/sys/linux/include/setlocale.h: Ditto.
5417 * libc/sys/linux/include/un-namespace.h: Ditto.
5418 * libc/sys/linux/include/wordexp.h: Ditto.
5419 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5420 * libc/sys/linux/include/arpa/inet.h: Ditto.
5421 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5422 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5423 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5424 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5425 * libc/sys/linux/include/net/bpf.h: Ditto.
5426 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5427 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5428 * libc/sys/linux/include/net/bridge.h: Ditto.
5429 * libc/sys/linux/include/net/ethernet.h: Ditto.
5430 * libc/sys/linux/include/net/fddi.h: Ditto.
5431 * libc/sys/linux/include/net/if.h: Ditto.
5432 * libc/sys/linux/include/net/if_arc.h: Ditto.
5433 * libc/sys/linux/include/net/if_arp.h: Ditto.
5434 * libc/sys/linux/include/net/if_atm.h: Ditto.
5435 * libc/sys/linux/include/net/if_dl.h: Ditto.
5436 * libc/sys/linux/include/net/if_gif.h: Ditto.
5437 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5438 * libc/sys/linux/include/net/if_llc.h: Ditto.
5439 * libc/sys/linux/include/net/if_media.h: Ditto.
5440 * libc/sys/linux/include/net/if_mib.h: Ditto.
5441 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5442 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5443 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5444 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5445 * libc/sys/linux/include/net/if_stf.h: Ditto.
5446 * libc/sys/linux/include/net/if_tap.h: Ditto.
5447 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5448 * libc/sys/linux/include/net/if_tun.h: Ditto.
5449 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5450 * libc/sys/linux/include/net/if_types.h: Ditto.
5451 * libc/sys/linux/include/net/if_var.h: Ditto.
5452 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5453 * libc/sys/linux/include/net/intrq.h: Ditto.
5454 * libc/sys/linux/include/net/iso88025.h: Ditto.
5455 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5456 * libc/sys/linux/include/net/netisr.h: Ditto.
5457 * libc/sys/linux/include/net/pfil.h: Ditto.
5458 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5459 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5460 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5461 * libc/sys/linux/include/net/radix.h: Ditto.
5462 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5463 * libc/sys/linux/include/net/route.h: Ditto.
5464 * libc/sys/linux/include/net/slcompress.h: Ditto.
5465 * libc/sys/linux/include/net/slip.h: Ditto.
5466 * libc/sys/linux/include/net/zlib.h: Ditto.
5467 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5468 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5469 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5470 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5471 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5472 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5473 * libc/sys/linux/include/netinet/in.h: Ditto.
5474 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5475 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5476 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5477 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5478 * libc/sys/linux/include/netinet/ip.h: Ditto.
5479 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5480 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5481 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5482 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5483 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5484 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5485 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5486 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5487 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5488 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5489 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5490 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5491 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5492 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5493 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5494 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5495 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5496 * libc/sys/linux/include/netinet/udp.h: Ditto.
5497 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5498 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5499 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5500 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5501 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5502 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5503 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5504 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5505 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5506 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5507 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5508 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5509 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5510 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5511 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5512 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5513 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5514 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5515 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5516 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5517 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5518 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5519 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5520 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5521 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5522 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5523 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5524 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5525 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5526 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5527 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5528 * libc/sys/linux/include/netns/idp.h: Ditto.
5529 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5530 * libc/sys/linux/include/netns/ns.h: Ditto.
5531 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5532 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5533 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5534 * libc/sys/linux/include/netns/sp.h: Ditto.
5535 * libc/sys/linux/include/netns/spidp.h: Ditto.
5536 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5537 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5538 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5539 * libc/sys/linux/include/rpc/Makefile: Ditto.
5540 * libc/sys/linux/include/rpc/auth.h: Ditto.
5541 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5542 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5543 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5544 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5545 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5546 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5547 * libc/sys/linux/include/rpc/des.h: Ditto.
5548 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5549 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5550 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5551 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5552 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5553 * libc/sys/linux/include/rpc/raw.h: Ditto.
5554 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5555 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5556 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5557 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5558 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5559 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5560 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5561 * libc/sys/linux/include/rpc/svc.h: Ditto.
5562 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5563 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5564 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5565 * libc/sys/linux/include/rpc/types.h: Ditto.
5566 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5567 * libc/sys/linux/intl/Makefile.am: Ditto.
5568 * libc/sys/linux/intl/Makefile.in: Ditto.
5569 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5570 * libc/sys/linux/intl/catgets.c: Ditto.
5571 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5572 * libc/sys/linux/intl/config.h: Ditto.
5573 * libc/sys/linux/intl/dcgettext.c: Ditto.
5574 * libc/sys/linux/intl/dcigettext.c: Ditto.
5575 * libc/sys/linux/intl/dcngettext.c: Ditto.
5576 * libc/sys/linux/intl/dgettext.c: Ditto.
5577 * libc/sys/linux/intl/dngettext.c: Ditto.
5578 * libc/sys/linux/intl/explodename.c: Ditto.
5579 * libc/sys/linux/intl/finddomain.c: Ditto.
5580 * libc/sys/linux/intl/gettext.c: Ditto.
5581 * libc/sys/linux/intl/gettext.h: Ditto.
5582 * libc/sys/linux/intl/gettextP.h: Ditto.
5583 * libc/sys/linux/intl/hash-string.h: Ditto.
5584 * libc/sys/linux/intl/l10nflist.c: Ditto.
5585 * libc/sys/linux/intl/loadinfo.h: Ditto.
5586 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5587 * libc/sys/linux/intl/locale.alias: Ditto.
5588 * libc/sys/linux/intl/localealias.c: Ditto.
5589 * libc/sys/linux/intl/ngettext.c: Ditto.
5590 * libc/sys/linux/intl/open_catalog.c: Ditto.
5591 * libc/sys/linux/intl/plural.c: Ditto.
5592 * libc/sys/linux/intl/plural.y: Ditto.
5593 * libc/sys/linux/intl/stpcpy.c: Ditto.
5594 * libc/sys/linux/intl/textdomain.c: Ditto.
5595 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5596 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5597 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5598 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5599 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5600 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5601 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5602 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5603 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5604 * libc/sys/linux/linuxthreads/config.h: Ditto.
5605 * libc/sys/linux/linuxthreads/configure: Ditto.
5606 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5607 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5608 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5609 * libc/sys/linux/linuxthreads/events.c: Ditto.
5610 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5611 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5612 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5613 * libc/sys/linux/linuxthreads/join.c: Ditto.
5614 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5615 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5616 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5617 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5618 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5619 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5620 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5621 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5622 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5623 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5624 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5625 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5626 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5627 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5628 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5629 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5630 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5631 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5632 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5633 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5634 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5635 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5636 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5637 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5638 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5639 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5640 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5641 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5642 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5643 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5644 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5645 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5646 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5647 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5648 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5649 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5650 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5651 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5652 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5653 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5654 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5655 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5656 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5657 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5658 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5659 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5660 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5661 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5662 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5663 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5664 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5665 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5666 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5667 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5668 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5669 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5670 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5671 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5672 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5673 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5674 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5675 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5676 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5677 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5678 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5679 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5680 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5681 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5682 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5683 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5684 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5685 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5686 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5687 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5688 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5689 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5690 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5691 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5692 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5693 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5694 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5695 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5696 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5697 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5698 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5699 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5700 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5701 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5702 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5703 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5704 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5705 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5706 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5707 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5708 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5709 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5710 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5711 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5712 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5713 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5714 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5715 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5716 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5717 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5718 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5719 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5720 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5721 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5722 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5723 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5724 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5725 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5726 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5727 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5728 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5729 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5730 * libc/sys/linux/net/Makefile.am: Ditto.
5731 * libc/sys/linux/net/Makefile.in: Ditto.
5732 * libc/sys/linux/net/addr2ascii.3: Ditto.
5733 * libc/sys/linux/net/addr2ascii.c: Ditto.
5734 * libc/sys/linux/net/ascii2addr.c: Ditto.
5735 * libc/sys/linux/net/base64.c: Ditto.
5736 * libc/sys/linux/net/bindresvport.c: Ditto.
5737 * libc/sys/linux/net/byteorder.3: Ditto.
5738 * libc/sys/linux/net/ether_addr.c: Ditto.
5739 * libc/sys/linux/net/ethers.3: Ditto.
5740 * libc/sys/linux/net/getaddrinfo.3: Ditto.
5741 * libc/sys/linux/net/getaddrinfo.c: Ditto.
5742 * libc/sys/linux/net/gethostbydns.c: Ditto.
5743 * libc/sys/linux/net/gethostbyht.c: Ditto.
5744 * libc/sys/linux/net/gethostbyname.3: Ditto.
5745 * libc/sys/linux/net/gethostbynis.c: Ditto.
5746 * libc/sys/linux/net/gethostnamadr.c: Ditto.
5747 * libc/sys/linux/net/getifaddrs.3: Ditto.
5748 * libc/sys/linux/net/getifaddrs.c: Ditto.
5749 * libc/sys/linux/net/getipnodebyname.3: Ditto.
5750 * libc/sys/linux/net/getnameinfo.3: Ditto.
5751 * libc/sys/linux/net/getnameinfo.c: Ditto.
5752 * libc/sys/linux/net/getnetbydns.c: Ditto.
5753 * libc/sys/linux/net/getnetbyht.c: Ditto.
5754 * libc/sys/linux/net/getnetbynis.c: Ditto.
5755 * libc/sys/linux/net/getnetent.3: Ditto.
5756 * libc/sys/linux/net/getnetnamadr.c: Ditto.
5757 * libc/sys/linux/net/getproto.c: Ditto.
5758 * libc/sys/linux/net/getprotoent.3: Ditto.
5759 * libc/sys/linux/net/getprotoent.c: Ditto.
5760 * libc/sys/linux/net/getprotoname.c: Ditto.
5761 * libc/sys/linux/net/getservbyname.c: Ditto.
5762 * libc/sys/linux/net/getservbyport.c: Ditto.
5763 * libc/sys/linux/net/getservent.3: Ditto.
5764 * libc/sys/linux/net/getservent.c: Ditto.
5765 * libc/sys/linux/net/herror.c: Ditto.
5766 * libc/sys/linux/net/hesiod.3: Ditto.
5767 * libc/sys/linux/net/hesiod.c: Ditto.
5768 * libc/sys/linux/net/if_indextoname.3: Ditto.
5769 * libc/sys/linux/net/ifname.c: Ditto.
5770 * libc/sys/linux/net/inet.3: Ditto.
5771 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
5772 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
5773 * libc/sys/linux/net/inet_addr.c: Ditto.
5774 * libc/sys/linux/net/inet_lnaof.c: Ditto.
5775 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
5776 * libc/sys/linux/net/inet_net.3: Ditto.
5777 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
5778 * libc/sys/linux/net/inet_net_pton.c: Ditto.
5779 * libc/sys/linux/net/inet_neta.c: Ditto.
5780 * libc/sys/linux/net/inet_netof.c: Ditto.
5781 * libc/sys/linux/net/inet_network.c: Ditto.
5782 * libc/sys/linux/net/inet_ntoa.c: Ditto.
5783 * libc/sys/linux/net/inet_ntop.c: Ditto.
5784 * libc/sys/linux/net/inet_pton.c: Ditto.
5785 * libc/sys/linux/net/innetgr-stub.c: Ditto.
5786 * libc/sys/linux/net/ip6opt.c: Ditto.
5787 * libc/sys/linux/net/iso_addr.3: Ditto.
5788 * libc/sys/linux/net/iso_addr.c: Ditto.
5789 * libc/sys/linux/net/issetugid-stub.c: Ditto.
5790 * libc/sys/linux/net/linkaddr.3: Ditto.
5791 * libc/sys/linux/net/linkaddr.c: Ditto.
5792 * libc/sys/linux/net/map_v4v6.c: Ditto.
5793 * libc/sys/linux/net/name6.c: Ditto.
5794 * libc/sys/linux/net/namespace.h: Ditto.
5795 * libc/sys/linux/net/ns.3: Ditto.
5796 * libc/sys/linux/net/ns_addr.c: Ditto.
5797 * libc/sys/linux/net/ns_name.c: Ditto.
5798 * libc/sys/linux/net/ns_netint.c: Ditto.
5799 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5800 * libc/sys/linux/net/ns_parse.c: Ditto.
5801 * libc/sys/linux/net/ns_print.c: Ditto.
5802 * libc/sys/linux/net/ns_ttl.c: Ditto.
5803 * libc/sys/linux/net/nsap_addr.c: Ditto.
5804 * libc/sys/linux/net/nsdispatch.3: Ditto.
5805 * libc/sys/linux/net/nsdispatch.c: Ditto.
5806 * libc/sys/linux/net/nslexer.c: Ditto.
5807 * libc/sys/linux/net/nslexer.l: Ditto.
5808 * libc/sys/linux/net/nsparser.c: Ditto.
5809 * libc/sys/linux/net/nsparser.h: Ditto.
5810 * libc/sys/linux/net/nsparser.y: Ditto.
5811 * libc/sys/linux/net/rcmd.3: Ditto.
5812 * libc/sys/linux/net/rcmd.c: Ditto.
5813 * libc/sys/linux/net/rcmdsh.3: Ditto.
5814 * libc/sys/linux/net/rcmdsh.c: Ditto.
5815 * libc/sys/linux/net/recv.c: Ditto.
5816 * libc/sys/linux/net/res_comp.c: Ditto.
5817 * libc/sys/linux/net/res_config.h: Ditto.
5818 * libc/sys/linux/net/res_data.c: Ditto.
5819 * libc/sys/linux/net/res_debug.c: Ditto.
5820 * libc/sys/linux/net/res_init.c: Ditto.
5821 * libc/sys/linux/net/res_mkquery.c: Ditto.
5822 * libc/sys/linux/net/res_mkupdate.c: Ditto.
5823 * libc/sys/linux/net/res_query.c: Ditto.
5824 * libc/sys/linux/net/res_send.c: Ditto.
5825 * libc/sys/linux/net/res_update.c: Ditto.
5826 * libc/sys/linux/net/resolver.3: Ditto.
5827 * libc/sys/linux/net/rthdr.c: Ditto.
5828 * libc/sys/linux/net/send.c: Ditto.
5829 * libc/sys/linux/net/un-namespace.h: Ditto.
5830 * libc/sys/linux/net/vars.c: Ditto.
5831 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
5832 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5833 * libc/sys/linux/stdlib/Makefile.in: Ditto.
5834 * libc/sys/linux/stdlib/cclass.h: Ditto.
5835 * libc/sys/linux/stdlib/cname.h: Ditto.
5836 * libc/sys/linux/stdlib/collate.c: Ditto.
5837 * libc/sys/linux/stdlib/collate.h: Ditto.
5838 * libc/sys/linux/stdlib/collcmp.c: Ditto.
5839 * libc/sys/linux/stdlib/engine.c: Ditto.
5840 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
5841 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
5842 * libc/sys/linux/stdlib/glob.3: Ditto.
5843 * libc/sys/linux/stdlib/glob.c: Ditto.
5844 * libc/sys/linux/stdlib/reallocf.c: Ditto.
5845 * libc/sys/linux/stdlib/regcomp.c: Ditto.
5846 * libc/sys/linux/stdlib/regerror.c: Ditto.
5847 * libc/sys/linux/stdlib/regex.3: Ditto.
5848 * libc/sys/linux/stdlib/regex2.h: Ditto.
5849 * libc/sys/linux/stdlib/regexec.c: Ditto.
5850 * libc/sys/linux/stdlib/regfree.c: Ditto.
5851 * libc/sys/linux/stdlib/utils.h: Ditto.
5852 * libc/sys/linux/stdlib/wordexp.c: Ditto.
5853 * libc/sys/linux/stdlib/wordfree.c: Ditto.
5854 * libc/sys/linux/sys/dlfcn.h: Ditto.
5855 * libc/sys/linux/sys/elfclass.h: Ditto.
5856 * libc/sys/linux/sys/event.h: Ditto.
5857 * libc/sys/linux/sys/ioccom.h: Ditto.
5858 * libc/sys/linux/sys/libc-tsd.h: Ditto.
5859 * libc/sys/linux/sys/link.h: Ditto.
5860 * libc/sys/linux/sys/lock.h: Ditto.
5861 * libc/sys/linux/sys/param.h: Ditto.
5862 * libc/sys/linux/sys/socket.h: Ditto.
5863 * libc/sys/linux/sys/sockio.h: Ditto.
5864
5865 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5866
5867 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
5868 normal mode
5869 * newlib/libc/machine/h8300/memset.S: Likewise
5870 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
5871 * newlib/lib/machine/h8300/reg_memset.S: Likewise
5872 * newlib/lib/machine/h8300/setjmp.S: Likewise
5873 * newlib/lib/machine/h8300/strcmp.S: Likewise
5874 * newlib/lib/sys/h8300hms/crt0.S: Likewise
5875
5876 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5877
5878 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
5879 * libc/include/stdio.h: Ditto.
5880 * libc/include/sys/config.h: Ditto.
5881 * libc/stdio/mktemp.c: Ditto.
5882
5883 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5884
5885 * libc/locale/ldpart.c (__part_load_locale): Substitute
5886 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
5887 * libc/search/hash.c (__hash_open): Ditto.
5888 (init_hash): Ditto.
5889 * libc/stdio/fseek.c (fseek): Ditto.
5890 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5891 * libc/stdio/mktemp.c (_gettemp): Ditto.
5892
5893 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5894
5895 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
5896
5897 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5898
5899 * configure.host: Accomodate removing the libc/sys/cygwin dir.
5900 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
5901 if __CYGWIN_USE_BIG_TYPES__ is set.
5902 * libc/search/hash.c (__hash_open): Ditto.
5903 (init_hash): Ditto.
5904 * libc/stdio/fseek.c (fseek): Ditto.
5905 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5906 * libc/stdio/mktemp.c (_gettemp): Ditto.
5907 * libc/sys/cygwin/Makefile.am: Remove.
5908 * libc/sys/cygwin/Makefile.in: Remove.
5909 * libc/sys/cygwin/aclocal.m4: Remove.
5910 * libc/sys/cygwin/configure: Remove.
5911 * libc/sys/cygwin/configure.in: Remove.
5912 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
5913 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
5914 directory.
5915 * libc/sys/cygwin/sys/param.h: Ditto.
5916 * libc/sys/cygwin/sys/utime.h: Ditto.
5917 * libc/sys/cygwin/sys/utmp.h: Ditto.
5918
5919 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
5920
5921 * libc/include/sys/types.h: Don't define key_t for Cygwin.
5922
5923 2003-05-10 Christopher Faylor <cgf@redhat.com>
5924
5925 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
5926 64 bit inodes.
5927
5928 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
5929
5930 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
5931 Include cygwin/config.h instead.
5932
5933 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
5934
5935 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
5936 all code with #ifdef __SPE__ test.
5937 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
5938
5939 2003-04-15 Chris January <chris@atomice.net>
5940
5941 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
5942 Cygwin.
5943
5944 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5945
5946 * libc/machine/sh/memset.S: Avoid clobbering volatile
5947 objects following a tiny to-be-set array in the same quadword.
5948
5949 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
5950
5951 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
5952 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
5953 * libc/string/Makefile.in: Regenerated.
5954 * libc/string/wcswidth.c: New file.
5955 * libc/string/wcwidth.c: New file.
5956 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
5957
5958 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
5959
5960 * libc/machine/sh/memset.S: Fix problem with alloco region
5961 exceeding destination region for length >= 88 bytes, start
5962 & 0x16 == 0, end & 0x1f == 18.
5963
5964 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
5965
5966 * libc/string/wcscoll.c: Fix comment.
5967
5968 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
5969
5970 * libc/include/wchar.h: Add definition for wcscoll.
5971 * libc/string/Makefile.am: Add wcscoll.c.
5972 * libc/string/Makefile.in: Regenerated.
5973 * libc/string/wcscoll.c: New file.
5974 * libc/string/wcstrings.tex: Add wcscoll.
5975
5976 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5977
5978 * libc/stdio/sscanf.c: Update flags description.
5979 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
5980 type.
5981 (__svfscanf_r): Add 'hh' and 'll' handling.
5982
5983 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5984
5985 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
5986 __d_position member to _off_t.
5987
5988 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
5989
5990 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
5991 count all characters used to create number against maximum width.
5992 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5993
5994 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5995
5996 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
5997 support.
5998 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
5999 flag to support simulator only extensions.
6000
6001 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6002
6003 * libc/string/wcschr.c: (wcschr): Look for character first,
6004 then for end of string, so you can do wcschr(x, '\0').
6005
6006 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6007
6008 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6009 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6010 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6011 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6012 * libc/stdio/fseeko.c (fseeko): Ditto.
6013 * libc/stdio/ftello.c (ftello): Ditto.
6014 * libc/stdio/stdio.c (__swrite): Ditto.
6015 (__sseek): Ditto.
6016 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6017 * libc/stdio/fseek.c (fseek): Ditto.
6018 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6019 * libc/stdio/ftell.c (ftell): Ditto.
6020 * libc/stdio/local.h: Declare __sseek using _off_t.
6021
6022 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6023
6024 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6025
6026 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6027
6028 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6029 Cygwin.
6030
6031 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6032
6033 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6034 Cygwin.
6035 * libc/include/sys/stat.h: Ditto.
6036 * libc/include/sys/unistd.h: Ditto.
6037 * libc/sys/cygwin/sys/dirent.h: Ditto.
6038
6039 2003-03-07 Christopher Faylor <cgf@redhat.com>
6040
6041 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6042 declaration of getopt and avoid getopt_long declaration.
6043 * libc/sys/cygwin/include/unistd.h: Remove.
6044
6045 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6046
6047 * configure.host: Define stdio64_dir for Cygwin.
6048 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6049 Cygwin 64bit file access requirements.
6050 Drop definition of f*64() functions when compiled for Cygwin.
6051 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6052 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6053 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6054
6055 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6056
6057 * libc/include/sys/reent.h: Remove extraneous _sig_func
6058 declaration.
6059
6060 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6061
6062 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6063 * libc/sys/h8300hms/Makefile.in: Regenerated.
6064 * libc/sys/h8300hms/close.S: New file.
6065 * libc/sys/h8300hms/fstat.S: Ditto.
6066 * libc/sys/h8300hms/lseek.S: Ditto.
6067 * libc/sys/h8300hms/open.S: Ditto.
6068 * libc/sys/h8300hms/stat.S: Ditto.
6069 * libc/sys/h8300hms/read.S: New file to replace read.c.
6070 * libc/sys/h8300hms/read.c: Removed.
6071 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6072 _lseek, _close, _stat, _fstat.
6073 * libc/sys/h8300hms/write.S: New file to replace write.c.
6074 * libc/sys/h8300hms/write.c: Removed.
6075
6076 2003-02-20 Nick Clifton <nickc@redhat.com>
6077
6078 * Add support for Cirrus Maverick ARM co-processor:
6079
6080 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6081
6082 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6083 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6084
6085 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6086
6087 * configure.host: set sys_dir, syscall_dir, and
6088 newlib_cflags for ep9312 host.
6089
6090 * configure.host: Restore alpha sorting of entries in case
6091 statements.
6092
6093 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6094
6095 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6096
6097 2003-02-18 Christian Groessler <chris@groessler.org>
6098
6099 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6100 support z8001 segmented mode.
6101
6102 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6103
6104 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6105 with a NULL value.
6106
6107 2003-02-10 Christopher Faylor <cgf@redhat.com>
6108
6109 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6110 Don't define some types under cygwin.
6111
6112 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6113
6114 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6115 option to allow disabling of syscalls being supplied in newlib.
6116 * aclocal.m4: Regenerated.
6117 * configure: Ditto.
6118 * configure.host: Add support of new configuration option and add
6119 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6120 * doc/aclocal.m4: Regenerated.
6121 * doc/configure: Ditto.
6122 * libc/*aclocal.m4: Ditto.
6123 * libc/*configure: Ditto.
6124 * libm/*aclocal.m4: Ditto.
6125 * libm/*configure: Ditto.
6126 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6127 is disabled.
6128 * libc/sys/arm/Makefile.in: Regenerated.
6129
6130 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6131
6132 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6133 -1 to be sure it cannot later match a valid file fd causing
6134 isatty() to return 1.
6135 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6136 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6137 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6138
6139 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6140
6141 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6142 buffer based on the precision, after we have processed the input value
6143 in a local buffer and know its relative magnitude.
6144
6145 2003-01-31 Michael Snyder <msnyder@redhat.com>
6146
6147 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6148 into registers r1 and r2, so that the simulator can distinguish
6149 this trap from a breakpoint trap. Copied from libgloss.
6150
6151 2003-01-31 Michael Snyder <msnyder@redhat.com>
6152
6153 * libc/sys/h8300hms/crt0.S (_start): Change local label
6154 from .loop to .Loop, so that ld and gdb will ignore it.
6155
6156 2003-01-29 Jason Tishler <jason@tishler.net>
6157
6158 * libc/include/time.h: Declare nanosleep() under Cygwin.
6159
6160 2003-01-24 Nick Clifton <nickc@redhat.com>
6161
6162 * Add sh2e support:
6163
6164 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6165
6166 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6167 * libc/machine/sh/setjmp.S: Likewise.
6168 * libc/include/machine/ieeefp.h: Likewise.
6169
6170 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6171
6172 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6173 for Cygwin.
6174
6175 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6176
6177 * libc/time/difftime.c : Typecast the result to double.
6178
6179 2003-01-20 Christopher Faylor <cgf@redhat.com>
6180
6181 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6182
6183 2003-01-18 Nick Clifton <nickc@redhat.com>
6184
6185 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6186 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6187
6188 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6189
6190 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6191 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6192 constants are defined in each file in the shared versions in
6193 libc/include.
6194 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6195 autoconf can link programs.
6196 * libc/include/machine/types.h: Explicitly specify signed on
6197 intXX_t types to ensure they are signed.
6198
6199 2003-01-14 Christopher Faylor <cgf@redhat.com>
6200
6201 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6202 extensions.
6203
6204 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6205
6206 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6207
6208 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6209
6210 * libc/stdio/sprintf.c: fix typo
6211 * libc/stdio/vfprintf.c: fix typo
6212
6213 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6214
6215 * configure.host: Support long double I/O for x86-linux.
6216 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6217 large enough to hold formatted result.
6218 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6219
6220 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6221
6222 * Makefile.am: Add vasprintf.
6223 * Makefile.in: Regenerated.
6224
6225 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6226
6227 * asprintf.c (_asprintf_r): insure both declarations
6228 are the same.
6229
6230 2002-12-28 Christopher Faylor <cgf@redhat.com>
6231
6232 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6233 than defining getopt directly.
6234
6235 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6236
6237 * NEWS: Update with 1.11.0 info.
6238 * README: Ditto.
6239 * acinclude.m4: Change version number to 1.11.0.
6240 * aclocal.m4: Regenerated.
6241 * configure: Ditto.
6242 * doc/aclocal.m4: Ditto.
6243 * doc/configure: Ditto.
6244 * libc/*/aclocal.m4: Ditto.
6245 * libc/*/configure: Ditto.
6246 * libc/libc.texinfo: Ditto.
6247 * libm/*/aclocal.m4: Ditto.
6248 * libm/*/configure: Ditto.
6249 * libm/libm.texinfo: Ditto.
6250 * libc/sys/linux/shared.ld: Add VERS_1.11.
6251
6252 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6253
6254 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6255 Solutions to Red Hat Inc.
6256 * libc/machine/i386/f_atan2f.S: Ditto.
6257 * libc/machine/i386/f_exp.c: Ditto.
6258 * libc/machine/i386/f_expf.c: Ditto.
6259 * libc/machine/i386/f_frexp.S: Ditto.
6260 * libc/machine/i386/f_frexpf.S: Ditto.
6261 * libc/machine/i386/f_ldexp.S: Ditto.
6262 * libc/machine/i386/f_ldexpf.S: Ditto.
6263 * libc/machine/i386/f_log.S: Ditto.
6264 * libc/machine/i386/f_log10.S: Ditto.
6265 * libc/machine/i386/f_log10f.S: Ditto.
6266 * libc/machine/i386/f_logf.S: Ditto.
6267 * libc/machine/i386/f_pow.c: Ditto.
6268 * libc/machine/i386/f_powf.c: Ditto.
6269 * libc/machine/i386/f_tan.S: Ditto.
6270 * libc/machine/i386/f_tanf.S: Ditto.
6271 * libc/machine/i386/memchr.S: Ditto.
6272 * libc/machine/i386/memcmp.S: Ditto.
6273 * libc/machine/i386/memcpy.S: Ditto.
6274 * libc/machine/i386/memmove.S: Ditto.
6275 * libc/machine/i386/memset.S: Ditto.
6276 * libc/machine/i386/strchr.S: Ditto.
6277 * libc/machine/i386/strlen.S: Ditto.
6278 * libm/machine/i386/f_atan2.S: Ditto.
6279 * libm/machine/i386/f_atan2f.S: Ditto.
6280 * libm/machine/i386/f_exp.c: Ditto.
6281 * libm/machine/i386/f_expf.c: Ditto.
6282 * libm/machine/i386/f_frexp.S: Ditto.
6283 * libm/machine/i386/f_frexpf.S: Ditto.
6284 * libm/machine/i386/f_ldexp.S: Ditto.
6285 * libm/machine/i386/f_ldexpf.S: Ditto.
6286 * libm/machine/i386/f_log.S: Ditto.
6287 * libm/machine/i386/f_log10.S: Ditto.
6288 * libm/machine/i386/f_log10f.S: Ditto.
6289 * libm/machine/i386/f_logf.S: Ditto.
6290 * libm/machine/i386/f_pow.c: Ditto.
6291 * libm/machine/i386/f_powf.c: Ditto.
6292 * libm/machine/i386/f_tan.S: Ditto.
6293 * libm/machine/i386/f_tanf.S: Ditto.
6294
6295 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6296
6297 * libc/stdlib/environ.c: Update license to Red Hat.
6298 * libc/machine/hppa/setjmp.S: Ditto.
6299 * libm/test/Makefile.in: Ditto.
6300
6301 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6302
6303 * configure.host: Remove references to go32.
6304 * libc/sys/go32/*: Removed.
6305
6306 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6307
6308 * libc/include/sys/config.h: Change setting of INT_MAX
6309 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6310 __H8300S__. Also consolidate flag settings for these
6311 platforms.
6312
6313 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6314
6315 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6316 for i386-rtems targets.
6317
6318 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6319
6320 * libc/include/stdlib.h (strtof): New prototype (from C99).
6321 (strtodf): Changed from prototype to macro which redefines
6322 to strtof.
6323 * libc/stdlib/atof.c: Change documentation to refer to strtof
6324 instead of strtodf.
6325 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6326 strtodf.
6327 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6328 (strtof): New function.
6329 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6330 calls strtof.
6331
6332 2002-11-27 Christopher Faylor <cgf@redhat.com>
6333
6334 * libc/string/memset.c (memset): Fix comment.
6335
6336 2002-11-26 Christopher Faylor <cgf@redhat.com>
6337
6338 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6339 function.
6340
6341 2002-11-25 Christopher Faylor <cgf@redhat.com>
6342
6343 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6344 variable, introduced below, everywhere.
6345
6346 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6347
6348 * libc/string/memset.c (memset): Make it safe even if
6349 sizeof (int) = 2.
6350
6351 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6352
6353 * configure.in: Change check for libc/include in ${CC} to
6354 use an intermediate value so as to work with different shells.
6355 * configure: Regenerated.
6356 * Makefile.in: Ditto.
6357
6358 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6359
6360 * libc/sys/h8300hms/read.c: Add support for normal mode
6361 architecture.
6362
6363 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6364
6365 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6366 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6367 when -mint32 is used.
6368
6369 2002-11-18 Nick Clifton <nickc@redhat.com>
6370
6371 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6372
6373 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6374
6375 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6376 only issue one pass/fail message for a compile/link/execute.
6377 * testsuite/newlib.elix/elix.exp: New file.
6378 * testsuite/newlib.elix/tmmap.c: Ditto.
6379
6380 2002-11-06 Christopher Faylor <cgf@redhat.com>
6381
6382 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6383 * libc/stdlib/mlock.c: Ditto.
6384 * libc/stdlib/msize.c: Ditto.
6385 * libc/stdlib/msize.c: Ditto.
6386 * libc/stdlib/mtrim.c: Ditto.
6387 * libc/stdlib/valloc.c: Ditto.
6388
6389 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6390
6391 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6392 for inf/nan, make sure that the check ignores the sign bit.
6393
6394 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6395
6396 * libc/sys/rtems/machine: New directory.
6397 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6398 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6399 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6400 targets more BSD like when installed without requiring files to
6401 be overwritten at install point when RTEMS itself is installed.
6402 * Makefile.am: Pick up system dependent machine .h files such as
6403 might be found on a BSD-ish system.
6404 * Makefile.in: Regenerate.
6405 * libc/include/machine/types.h: When on an RTEMS target, define a
6406 few BSD flavor types.
6407
6408 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6409
6410 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6411
6412 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6413
6414 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6415 * libc/include/wctype.h: Ditto.
6416
6417 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6418
6419 * libc/include/wchar.h: Add extern "C" specifier if C++.
6420 * libc/include/wctype.h: Ditto.
6421
6422 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6423
6424 * testsuite/newlib.wctype/tiswctype.c: New test case.
6425 * testsuite/newlib.wctype/twctrans.c: Ditto.
6426
6427 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6428
6429 * libc/sys/linux/machine/i386/include/endian.h: New file.
6430 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6431
6432 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6433
6434 * libm/machine/i386/aclocal.m4: Regenerated.
6435 * libm/machine/i386/configure: Ditto.
6436
6437 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6438
6439 * testsuite/include/check.h: New header file to use with
6440 test cases.
6441 * testsuite/lib/newlib.exp: Add testsuite/include directory
6442 to list of header files to use.
6443 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6444 * testsuite/newlib.wctype/wctype.exp: New file.
6445
6446 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6447 Richard Sandiford <rsandifo@redhat.com>
6448
6449 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6450 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6451 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6452
6453 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6454
6455 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6456 dummy programs.
6457
6458 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6459
6460 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6461
6462 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6463
6464 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6465 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6466 compile with current GNU tools.
6467
6468 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6469
6470 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6471 the build library.
6472 * configure.in: Ditto.
6473 * Makefile.in: Regenerated.
6474 * configure: Ditto.
6475 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6476 for specifying configured libraries/directories.
6477 * libc/sys/linux/configure.in: Ditto.
6478 * libc/sys/linux/Makefile.in: Regenerated.
6479 * libc/sys/linux/configure: Ditto.
6480
6481 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6482
6483 * libc/include/reent.h: Update documentation at start of file.
6484
6485 2002-09-27 Jim Wilson <wilson@redhat.com>
6486
6487 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6488 the ctbp register.
6489
6490 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6491
6492 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6493 Also convert to EUCJP before using arrays. For values not in
6494 the conversion arrays, return WEOF.
6495 * libc/ctype/jp2uc.h: Change from one array to a number of
6496 arrays to account for the fact that the originating table
6497 is not contiguous for the input values since some are invalid.
6498
6499 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6500
6501 * libc/time/ctime.c: Fix prototype documentation.
6502
6503 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6504
6505 * libc/include/sys/errno.h: Add EOVERFLOW.
6506
6507 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6508
6509 * libc/include/wctype.h: New file.
6510
6511 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6512
6513 * libc/ctype/Makefile.am: Add new files.
6514 * libc/ctype/Makefile.in: Regenerated.
6515 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6516 and wctrans functions to documentation index.
6517 * libc/ctype/iswalnum.c: New file.
6518 * libc/ctype/iswalpha.c: Ditto.
6519 * libc/ctype/iswblank.c: Ditto.
6520 * libc/ctype/iswcntrl.c: Ditto.
6521 * libc/ctype/iswctype.c: Ditto.
6522 * libc/ctype/iswdigit.c: Ditto.
6523 * libc/ctype/iswgraph.c: Ditto.
6524 * libc/ctype/iswlower.c: Ditto.
6525 * libc/ctype/iswprint.c: Ditto.
6526 * libc/ctype/iswpunct.c: Ditto.
6527 * libc/ctype/iswspace.c: Ditto.
6528 * libc/ctype/iswupper.c: Ditto.
6529 * libc/ctype/iswxdigit.c: Ditto.
6530 * libc/ctype/jp2uc.c: Ditto.
6531 * libc/ctype/jp2uc.h: Ditto.
6532 * libc/ctype/local.h: Ditto.
6533 * libc/ctype/towctrans.c: Ditto.
6534 * libc/ctype/towlower.c: Ditto.
6535 * libc/ctype/towupper.c: Ditto.
6536 * libc/ctype/utf8alpha.h: Ditto.
6537 * libc/ctype/utf8print.h: Ditto.
6538 * libc/ctype/utf8punct.h: Ditto.
6539 * libc/ctype/wctrans.c: Ditto.
6540 * libc/ctype/wctype.c: Ditto.
6541 * libc/locale/locale.c (__lc_ctype): New external array to
6542 replace static lc_ctype array.
6543 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6544 rather than reentrancy structure's _current_locale field.
6545 * libc/stdlib/wctomb_r.c: Ditto.
6546
6547 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6548
6549 * configure.host: Minor comment and formatting changes.
6550 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6551 * libc/Makefile.in: Regenerated.
6552 * libc/include/sys/config.h: Minor format change.
6553
6554 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6555
6556 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6557 statement comment.
6558
6559 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6560
6561 * libc/posix/opendir.c (opendir): Change code to check
6562 for HAVE_FCNTL before calling fcntl.
6563 * libc/search/hash.c (hash_open): Ditto.
6564 * libc/search/hash_page.c (open_tmp): Ditto.
6565 * libc/reent/Makefile.am: Add fcntlr.c.
6566 * libc/reent/Makefile.in: Regenerated.
6567 * libc/reent/fcntlr.c: New file.
6568 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6569 instead of _fcntl when HAVE_FCNTL flag is set.
6570 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6571 to see if _fcntl or _fcntl_r should be called. If flag is not
6572 set, default to ENOSYS stub.
6573
6574 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6575
6576 * libc/include/wchar.h (mbstate_t): Change protective flag to
6577 be _MBSTATE_T.
6578 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6579 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6580 for Cygwin.
6581 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6582
6583 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6584
6585 * acinclude.m4 (enable-newlib-mb): Change check to
6586 default newlib_mb variable to empty string rather than "no".
6587 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6588 x86-linux and Cygwin. Add code to check for newlib_mb
6589 being unset in which case set to "yes" for x86-linux and
6590 Cygwin. Change check for newlib_mb being "yes" to allow
6591 for an empty string.
6592 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6593 * newlib.hin (_MB_LEN_MAX): New define to configure.
6594 * aclocal.m4: Regenerated.
6595 * configure: Ditto.
6596 * libc/include/limits.h: New file.
6597 * libc/sys/linux/include/limits.h: Ditto.
6598 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6599 libc/configure libc/machine/aclocal.m4
6600 libc/machine/configure libc/machine/a29k/aclocal.m4
6601 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6602 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6603 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6604 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6605 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6606 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6607 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6608 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6609 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6610 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6611 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6612 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6613 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6614 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6615 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6616 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6617 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6618 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6619 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6620 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6621 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6622 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6623 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6624 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6625 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6626 libc/machine/xscale/configure
6627 libc/machine/xstormy16/aclocal.m4
6628 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6629 libc/machine/z8k/configure libc/sys/aclocal.m4
6630 libc/sys/configure libc/sys/a29khif/aclocal.m4
6631 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6632 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6633 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6634 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6635 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6636 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6637 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6638 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6639 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6640 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6641 libc/sys/linux/configure
6642 libc/sys/linux/machine/aclocal.m4
6643 libc/sys/linux/machine/configure
6644 libc/sys/linux/machine/i386/aclocal.m4
6645 libc/sys/linux/machine/i386/configure
6646 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6647 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6648 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6649 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6650 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6651 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6652 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6653 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6654 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6655 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6656 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6657 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6658 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6659 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6660 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6661 libm/aclocal.m4 libm/configure: Regenerated.
6662
6663 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6664
6665 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6666 code that clears the .bss section.
6667
6668 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6669
6670 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6671 unsigned char internally.
6672 * libc/sys/linux/sys/_types.h: Ditto.
6673 * libc/include/sys/reent.h
6674 * libc/stdlib/mblen.c (mblen): Use function-specific state
6675 value from default reentrancy structure.
6676 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6677 _mbtowc_r is less than 0, reset state __count value and
6678 return -1.
6679 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6680 is NULL, use the function-specific pointer provided in the
6681 default reentrancy structure.
6682 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6683 If input state pointer is NULL, use function-specific area
6684 provided in reentrancy structure.
6685 * libc/stdlib/mbsrtowcs.c: Ditto.
6686 * libc/stdlib/wcrtomb.c: Ditto.
6687 * libc/stdlib/wcsrtombs.c: Ditto.
6688 * libc/stdlib/mbstowcs.c: Reformat.
6689 * libc/stdlib/wcstombs.c: Ditto.
6690 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6691 reset the state's __count value and return -1.
6692 * libc/stdlib/mbtowc.c: Ditto.
6693 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6694 If number of bytes is used up before completing a valid multibyte
6695 character, return -2 and save the state.
6696 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6697 and change some __count references to __state for clarity.
6698
6699 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6700
6701 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6702 is defined by <limits.h>.
6703
6704 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6705
6706 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6707 defined.
6708
6709 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6710
6711 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6712 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6713 __WCHAR_MAX__ or 0x7fffffffu.
6714 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6715 * libc/string/wcsncmp.c: Ditto.
6716
6717 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6718
6719 * libc/string/wcschr.c: Add include of <stddef.h>.
6720 * libc/string/wcspbrk.c: Ditto.
6721 * libc/string/wcsrchr.c: Ditto.
6722 * libc/string/wcsstr.c: Ditto.
6723
6724 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6725
6726 * libc/include/sys/_types.h (_flock_t): Added.
6727 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6728 (__lock_try_acquire_recursive): Ditto.
6729 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6730 _lock field.
6731 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
6732 field.
6733 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
6734 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
6735 * libc/sys/linux/include/time.h (struct timespec): Moved from
6736 <sys/types.h> and added check for __need_timespec flag so type
6737 can be defined by itself.
6738 * libc/sys/linux/sys/_types.h (_flock_t): New type.
6739 * libc/sys/linux/sys/types.h (struct timespec): Moved to
6740 <time.h>.
6741
6742 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6743
6744 * libc/sys/linux/argp: New directory.
6745 * libc/sys/linux/getopt.c: New file.
6746 * libc/sys/linux/getopt1.c: New file.
6747 * libc/sys/linux/getoptlong.c: Remove file.
6748 * libc/sys/linux/include/argp.h: New file.
6749 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
6750 based on ELIX level.
6751 (SUBDIRS): Add argp_dir.
6752 (SUBLIBS): Add ARGP_LIB.
6753 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
6754 getopt_long.$(oext).
6755 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
6756
6757 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6758
6759 * libc/libc.texinfo: Add node reference to wide-character strings.
6760 * libc/string/wcstrings.tex: New file.
6761 * libc/string/strtok_r.c: Remove outdated advertising clause.
6762 * libc/string/Makefile.am (doc): Add wide-character string
6763 chapter to documentation.
6764 * libc/string/Makefile.in: Regenerated.
6765
6766 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6767
6768 * libc/include/wchar.h: Define NULL. Define WEOF more general
6769 way. Declare functions in newlib manner.
6770 * libc/stdlib/Makefile.am: Delete wmem*.c
6771 * libc/stdlib/Makefile.in: Regenerated.
6772 * libc/stdlib/wmemchr.c: Delete.
6773 * libc/stdlib/wmemcmp.c: Ditto.
6774 * libc/stdlib/wmemcpy.c: Ditto.
6775 * libc/stdlib/wmemmove.c: Ditto.
6776 * libc/stdlib/wmemset.c: Ditto.
6777 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
6778 * libc/string/Makefile.in: Regenerated.
6779 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
6780 * libc/string/wcschr.c: Ditto.
6781 * libc/string/wcscmp.c: Ditto.
6782 * libc/string/wcscpy.c: Ditto.
6783 * libc/string/wcscspn.c: Ditto.
6784 * libc/string/wcslcat.c: Ditto.
6785 * libc/string/wcslcpy.c: Ditto.
6786 * libc/string/wcslen.c: Ditto.
6787 * libc/string/wcsncat.c: Ditto.
6788 * libc/string/wcsncmp.c: Ditto.
6789 * libc/string/wcsncpy.c: Ditto.
6790 * libc/string/wcspbrk.c: Ditto.
6791 * libc/string/wcsrchr.c: Ditto.
6792 * libc/string/wcsspn.c: Ditto.
6793 * libc/string/wcsstr.c: Ditto.
6794 * libc/string/wmemchr.c: Ditto.
6795 * libc/string/wmemcmp.c: Ditto.
6796 * libc/string/wmemcpy.c: Ditto.
6797 * libc/string/wmemmove.c: Ditto.
6798 * libc/string/wmemset.c: Ditto.
6799
6800 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6801
6802 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
6803 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
6804 and is treated as if "C" was specified.
6805
6806 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6807
6808 * Makefile.am (install-data-local): Move install of build
6809 newlib.h after installing headers in libc/include so as to
6810 overwrite default newlib.h.
6811 * Makefile.in: Regenerated.
6812
6813 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6814
6815 * libc/include/newlib.h: New file for tools that use newlib
6816 headers but don't build newlib first (e.g. gcc).
6817
6818 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6819
6820 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
6821 * libc/stdlib/wmemcmp.c: Ditto.
6822 * libc/stdlib/wmemcpy.c: Ditto.
6823 * libc/stdlib/wmemmove.c: Ditto.
6824 * libc/stdlib/wmemset.c: Ditto.
6825
6826 2002-08-27 Egor Duda <deo@logos-m.ru>
6827
6828 * libc/stdlib/wmemchr.c: New file.
6829 * libc/stdlib/wmemcmp.c: Ditto.
6830 * libc/stdlib/wmemcpy.c: Ditto.
6831 * libc/stdlib/wmemmove.c: Ditto.
6832 * libc/stdlib/wmemset.c: Ditto.
6833 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
6834 * configure.host: Default -DMB_CAPABLE for cygwin.
6835 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
6836 wmemmove() and wmemset(). Add include of <_ansi.h>.
6837 * libc/stdlib/Makefile.in: Regenerate.
6838
6839 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
6840
6841 * configure.host: Remove _ELIX_LEVEL flag setting.
6842 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
6843 (install-data-local): Install newlib.h.
6844 * Makefile.in: Regenerated.
6845 * aclocal.m4: Ditto.
6846 * configure: Ditto.
6847 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
6848 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
6849 and _NEWLIB_VERSION to fill in newlib.h header file entries.
6850 In AC_OUTPUT statement, unset ac_file so multilib support does
6851 not use last ac_file temporary used in newlib.h configuration.
6852 * libc/include/_ansi.h: Include <newlib.h>.
6853 * newlib.hin: New template file for newlib.h.
6854 * stamp-h.in: New file.
6855
6856 2002-08-26 Wu Yongwei <adah@netstd.com>
6857
6858 * time.h (timezonevar): Change "#if" to "#ifdef".
6859
6860 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
6861
6862 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
6863 * Makefile.in: Regenerated.
6864 * acinclude.m4: Add support for --enable-newlib-elix-level option.
6865 * aclocal.m4: Regenerated.
6866 * configure: Ditto.
6867 * configure.host: Add code to define _ELIX_LEVEL if
6868 --enable-newlib-elix-level option is used.
6869 * configure.in:
6870 * libc/aclocal.m4: Regenerated.
6871 * libc/configure: Ditto.
6872 * libc/argz/Makefile.am: Add EL/IX level checking.
6873 * libc/argz/Makefile.in: Regenerated.
6874 * libc/argz/dummy.c: New file.
6875 * libc/ctype/Makefile.am: Add EL/IX level checking.
6876 * libc/ctype/Makefile.in: Regenerated.
6877 * libc/locale/Makefile.am: Add EL/IX level checking.
6878 * libc/locale/Makefile.in: Regenerated.
6879 * libc/posix/Makefile.am: Add EL/IX level checking.
6880 * libc/posix/Makefile.in: Regenerated.
6881 * libc/posix/telldir.c: Add EL/IX level checking.
6882 * libc/reent/Makefile.am: Ditto.
6883 * libc/reent/fstat64r.c: Ditto.
6884 * libc/reent/lseek64r.c: Ditto.
6885 * libc/reent/open64r.c: Ditto.
6886 * libc/reent/Makefile.in: Regenerated.
6887 * libc/search/Makefile.am: Add EL/IX level checking.
6888 * libc/search/Makefile.in: Regenerated.
6889 * libc/stdio/Makefile.am: Add EL/IX level checking.
6890 * libc/stdio/Makefile.in: Regenerated.
6891 * libc/stdio64/Makefile.am: Add EL/IX level checking.
6892 * libc/stdio64/Makefile.in: Regenerated.
6893 * libc/stdio64/dummy.c: New file.
6894 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
6895 after first include.
6896 * libc/stdio64/fopen64.c: Ditto.
6897 * libc/stdio64/freopen64.c: Ditto.
6898 * libc/stdio64/fseeko64.c: Ditto.
6899 * libc/stdio64/fsetpos64.c: Ditto.
6900 * libc/stdio64/ftello64.c: Ditto.
6901 * libc/stdio64/tmpfile64.c: Ditto.
6902 * libc/stdlib/Makefile.am: Add EL/IX level checking.
6903 * libc/stdlib/Makefile.in: Regenerated.
6904 * libc/stdlib/mstats.c: Add EL/IX level checking.
6905 * libc/string/Makefile.am: Ditto.
6906 * libc/string/Makefile.in: Regenerated.
6907 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
6908 * libc/sys/linux/Makefile.in: Regenerated.
6909 * libc/sys/linux/aclocal.m4: Ditto.
6910 * libc/sys/linux/configure: Ditto.
6911 * libc/sys/linux/aio.c: Add EL/IX level checking.
6912 * libc/sys/linux/ftok.c: Ditto.
6913 * libc/sys/linux/getdate.c: Ditto.
6914 * libc/sys/linux/ids.c: Ditto.
6915 * libc/sys/linux/inode.c: Ditto.
6916 * libc/sys/linux/io.c: Ditto.
6917 * libc/sys/linux/process.c: Ditto.
6918 * libc/sys/linux/resource.c: Ditto.
6919 * libc/sys/linux/sched.c: Ditto.
6920 * libc/sys/linux/sig.c: Ditto.
6921 * libc/sys/linux/termios.c: Ditto.
6922 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
6923 __libc___waitpid weak aliases.
6924 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
6925 that generate the code for a syscall, but do not create a
6926 weak alias.
6927 * libc/syscalls/Makefile.am: Add EL/IX level checking.
6928 * libc/syscalls/Makefile.in: Regenerated.
6929 * libc/time/tzset_r.c: Change to replace strdup with equivalent
6930 functionality.
6931 * libc/unix/Makefile.am: Add EL/IX level checking.
6932 * libc/unix/Makefile.in: Regenerated.
6933
6934 2002-08-26 Christopher Faylor <cgf@redhat.com>
6935
6936 * libc/include/malloc.h: On cygwin, define malloc _r functions as
6937 wrapper macros to standard malloc functions.
6938 * libc/include/stdlib.h: Ditto.
6939 * configure.host: Always define MALLOC_PROVIDED on cygwin.
6940
6941 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6942
6943 * libc/include/langinfo.h: New file.
6944 * libc/include/wchar.h: Likewise.
6945 * libc/include/sys/syslimits.h: Likewise.
6946 * libc/locale/fix_grouping.c: Likewise.
6947 * libc/locale/ldpart.c: Likewise.
6948 * libc/locale/ldpart.h: Likewise.
6949 * libc/locale/lmessages.c: Likewise.
6950 * libc/locale/lmessages.h: Likewise.
6951 * libc/locale/lmonetary.c: Likewise.
6952 * libc/locale/lmonetary.h: Likewise.
6953 * libc/locale/lnumeric.c: Likewise.
6954 * libc/locale/lnumeric.h: Likewise.
6955 * libc/locale/nl_langinfo.3: Likewise.
6956 * libc/locale/nl_langinfo.c: Likewise.
6957 * libc/locale/timelocal.c: Likewise.
6958 * libc/locale/timelocal.h: Likewise.
6959 * libc/stdlib/btowc.c: Likewise.
6960 * libc/stdlib/mbrlen.c: Likewise.
6961 * libc/stdlib/mbrtowc.c: Likewise.
6962 * libc/stdlib/mbsinit.c: Likewise.
6963 * libc/stdlib/mbsrtowcs.c: Likewise.
6964 * libc/stdlib/wcrtomb.c: Likewise.
6965 * libc/stdlib/wcsrtombs.c: Likewise.
6966 * libc/stdlib/wctob.c: Likewise.
6967 * libc/sys/linux/prof-freq.c: Likewise.
6968 * libc/sys/linux/profile.c: Likewise.
6969 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
6970 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
6971 * libc/include/stdlib.h: Change re-entrant functions to take
6972 mbstate_t pointers.
6973 * libc/include/sys/_types.h: Define _mbstate_t.
6974 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
6975 * libc/include/sys/errno.h (EILSEQ): New error code.
6976 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
6977 structure to use mbstate_t.
6978 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
6979 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
6980 * libc/machine/powerpc/vfscanf.c: Likewise.
6981 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
6982 * libc/stdio/vfprintf.c: Likewise.
6983 * libc/stdio/vfscanf.c: Likewise.
6984 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
6985 * libc/stdlib/mblen.c: Use mbstate_t.
6986 * libc/stdlib/mblen_r.c: Likewise.
6987 * libc/stdlib/mbstowcs.c: Likewise.
6988 * libc/stdlib/mbstowcs_r.c: Likewise.
6989 * libc/stdlib/mbtowc.c: Likewise.
6990 * libc/stdlib/mbtowc_r.c: Likewise.
6991 * libc/stdlib/wcstombs.c: Likewise.
6992 * libc/stdlib/wcstombs_r.c: Likewise.
6993 * libc/stdlib/wctomb_r.c: Likewise.
6994 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
6995 profile.c.
6996 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
6997 dl-procinfo.c.
6998 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
6999 * libc/sys/linux/sys/types.h (off_t): Define type.
7000 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7001 to C-UTF-8.
7002 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7003
7004 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7005
7006 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7007 (AlignPage): Continue macro on next line.
7008
7009 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7010
7011 * libc/sys/linux/include/pthread.h: New file.
7012
7013 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7014
7015 * libc/include/sys/types.h: Support __need_inttypes macro
7016 that only sets the __intxx and __uintxx types.
7017 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7018 to get mprec.h.
7019 * libc/machine/powerpc/Makefile.in: Regenerated.
7020 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7021 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7022 redundant fixed-point conversion prototypes.
7023 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7024 after setting __need_inttypes.
7025
7026 2002-08-18 Christopher Faylor <cgf@redhat.com>
7027
7028 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7029
7030 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7031
7032 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7033 _LONG_DOUBLE to double.
7034
7035 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7036
7037 * configure.host: Add powerpc*-*-eabispe* configuration.
7038 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7039 * libc/machine/powerpc/atosfix32.c: Ditto.
7040 * libc/machine/powerpc/atosfix64.c: Ditto.
7041 * libc/machine/powerpc/atoufix16.c: Ditto.
7042 * libc/machine/powerpc/atoufix32.c: Ditto.
7043 * libc/machine/powerpc/atoufix64.c: Ditto.
7044 * libc/machine/powerpc/fix64.h: Ditto.
7045 * libc/machine/powerpc/simdldtoa.c: Ditto.
7046 * libc/machine/powerpc/strtosfix16.c: Ditto.
7047 * libc/machine/powerpc/strtosfix32.c: Ditto.
7048 * libc/machine/powerpc/strtosfix64.c: Ditto.
7049 * libc/machine/powerpc/strtoufix16.c: Ditto.
7050 * libc/machine/powerpc/strtoufix32.c: Ditto.
7051 * libc/machine/powerpc/strtoufix64.c: Ditto.
7052 * libc/machine/powerpc/ufix64toa.c: Ditto.
7053 * libc/machine/powerpc/configure.in: Add check for
7054 powerpc*-eabispe and add fixed-point conversion functions.
7055 * libc/machine/powerpc/configure: Regenerated.
7056 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7057 %r and %R format specifiers which handle fixed-point data.
7058 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7059 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7060 function prototypes.
7061
7062 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7063
7064 * Makefile.am: Move cmath stuff into libc/sys/linux.
7065 * Makefile.in: Regenerated.
7066 * configure.host: Default -DMB_CAPABLE for x86-linux.
7067 * libc/include/reent.h: Define _sbrk to take signed int argument.
7068 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7069 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7070 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7071 locale for LC_CTYPE and LC_MESSAGES.
7072 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7073 * libc/sys/linux/brk.c: Change sbrk prototype.
7074 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7075 include <sys/features.h>.
7076 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7077 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7078 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7079 with a few local additions.
7080 * libc/sys/linux/sys/features.h: New file.
7081 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7082 to take signed argument.
7083 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7084 prototypes to take signed size argument.
7085
7086 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7087
7088 * libc/sys/linux/cmath: New directory.
7089 * libc/sys/linux/include/cmathcalls.h: New file.
7090 * libc/sys/linux/include/complex.h: New file.
7091 * libc/sys/linux/machine/i386/huge_val.h: New file
7092 * libm/math/w_sincos.c: New file
7093 * libm/math/wf_sincos.c: New file
7094 * libm/mathfp/s_sincos.c: New file
7095 * libm/mathfp/sf_sincos.c: New file
7096 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7097 * libc/include/math.h: Add sincos and sincosf declarations.
7098 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7099 (SUBLIBS): Likewise.
7100 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7101 * libm/math/Makefile.am (src): Add w_sincos.c.
7102 (fsrc): Add wf_sincos.c.
7103 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7104 (fsrc): Add sf_sincos.c.
7105
7106 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7107
7108 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7109 Declare as extern chars and use the address operator to
7110 properly use values set in linker script.
7111
7112 2002-08-09 Jason Tishler <jason@tishler.net>
7113
7114 * libc/stdlib/mallocr.c: Include <limits.h>.
7115 (request2size): Change macro to do
7116 unsigned long comparisons and avoid signed overflow.
7117 (mALLOc): Add overflow check for the number of bytes to allocate.
7118 (rEALLOc): Ditto.
7119
7120 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7121
7122 * configure.host: Add check for --enable-newlib-io-pos-args
7123 and define WANT_IO_POS_ARGS flag if enabled. Define
7124 the flag by default for x86-linux configurations.
7125 * configure.in: Add support for --enable-newlib-io-pos-args.
7126 * libc/configure.in: Ditto.
7127 * configure: Regenerated.
7128 * libc/configure: Ditto.
7129 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7130 vfprintf.c and vfiprintf.c.
7131 * libc/stdio/Makefile.in: Regenerated.
7132 * libc/stdio/vfprintf.c: Add positional argument support that
7133 is enabled by compiling with -DWANT_IO_POS_ARGS.
7134
7135 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7136
7137 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7138 based on __mips_soft_float rather than __mips64.
7139 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7140 of both 32-bit and 64-bit code.
7141
7142 2002-08-04 Christopher Faylor <cgf@redhat.com>
7143
7144 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7145 arguments for popen to match similar functionality in fopen.
7146
7147 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7148
7149 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7150
7151 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7152
7153 * libc/sys/linux/Makefile.am: Add aio64.c.
7154 * libc/sys/linux/Makefile.in: Regenerated.
7155 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7156 * libc/sys/linux/aio64.c: New file.
7157
7158 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7159
7160 * libc/include/sys/param.h (MAX, MIN): Added macros.
7161 * libc/sys/linux/Makefile.am: Add new files.
7162 * libc/sys/linux/Makefile.in: Regenerated.
7163 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7164 * libc/sys/linux/inode.c (fchdir): Added syscall.
7165 * libc/sys/linux/ftw.c: New file.
7166 * libc/sys/linux/ftw64.c: Ditto.
7167 * libc/sys/linux/getwd.c: Ditto.
7168 * libc/sys/linux/scandir64.c: Ditto.
7169 * libc/sys/linux/strverscmp.c: Ditto.
7170 * libc/sys/linux/versionsort.c: Ditto.
7171 * libc/sys/linux/versionsort64.c: Ditto.
7172
7173 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7174
7175 * libc/string/strings.tex: Fix typo for memccpy.
7176
7177 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7178
7179 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7180 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7181
7182 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7183
7184 * libc/sys/linux/Makefile.am: Add fclean.c.
7185 * libc/sys/linux/Makefile.in: Regenerated.
7186 * libc/sys/linux/fclean.c: New file.
7187
7188 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7189
7190 * libc/sys/linux/Makefile.am: Add confstr.c.
7191 * libc/sys/linux/Makefile.in: Regenerated.
7192 * libc/sys/linux/confstr.c: New file.
7193 * libc/sys/linux/confstr.h: Ditto.
7194 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7195 <bits/environments.h>.
7196
7197 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7198
7199 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7200 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7201 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7202 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7203 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7204 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7205
7206 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7207
7208 * libc/sys/linux/Makefile.am: Add new files.
7209 * libc/sys/linux/Makefile.in: Regenerated.
7210 * libc/sys/linux/fstab.c: New file.
7211 * libc/sys/linux/fstatvfs.c: Ditto.
7212 * libc/sys/linux/fstatvfs64.c: Ditto.
7213 * libc/sys/linux/internal_statvfs.c: Ditto.
7214 * libc/sys/linux/mntent.c: Ditto.
7215 * libc/sys/linux/mntent_r.c: Ditto.
7216 * libc/sys/linux/statvfs.c: Ditto.
7217 * libc/sys/linux/statvfs64.c: Ditto.
7218 * libc/sys/linux/include/paths.h: Ditto.
7219 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7220 with double-underscore weak-aliases.
7221 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7222
7223 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7224
7225 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7226 to use _sig_func_ptr type casted constants.
7227 (_sig_func_ptr): Typedef moved to sys/signal.h.
7228 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7229 For __rtems, use POSIX definition, otherwise default to ANSI.
7230 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7231
7232 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7233
7234 * configure.host: Recognize m6811-elf and m6812-elf targets.
7235 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7236 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7237 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7238 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7239 according to __INT_MAX__.
7240 (_POINTER_INT): Define to short.
7241 * libc/machine/m68hc11/Makefile.am: New file.
7242 * libc/machine/m68hc11/Makefile.in: New file.
7243 * libc/machine/m68hc11/configure.in: New file.
7244 * libc/machine/m68hc11/configure: New file.
7245 * libc/machine/m68hc11/aclocal.m4: New file.
7246 * libc/machine/m68hc11/setjmp.S: New file.
7247
7248 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7249
7250 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7251 prototypes.
7252 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7253 * libc/stdlib/Makefile.in: Regenerated.
7254 * libc/stdlib/strdup.c: Removed.
7255 * libc/stdlib/strdup_r.c: Removed.
7256 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7257 mempcpy.c, strndup.c, and strndup_r.c.
7258 * libc/string/Makefile.in: Regenerated.
7259 * libc/string/memccpy.c: New file.
7260 * libc/string/mempcpy.c: Ditto.
7261 * libc/string/strndup.c: Ditto.
7262 * libc/string/strndup_r.c: Ditto.
7263 * libc/string/strdup.c: New file moved from stdlib.
7264 * libc/string/strdup_r.c: Ditto.
7265 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7266
7267 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7268
7269 * libc/include/stdio.h: Move fcloseall prototype within
7270 #ifndef _REENT_ONLY section.
7271 * libc/sys/linux/Makefile.am: Add new files.
7272 * libc/sys/linux/Makefile.in: Regenerated.
7273 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7274 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7275 * libc/sys/linux/sys/types.h: Add ino64_t type.
7276 * libc/sys/linux/ctermid.c: New file.
7277 * libc/sys/linux/ttyname_r.c: Ditto.
7278 * libc/sys/linux/readdir64.c: Ditto.
7279
7280 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7281
7282 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7283 * libc/stdio/Makefile.am: Added fcloseall.c support.
7284 * libc/stdio/Makefile.in: Regenerated.
7285 * libc/stdio/fcloseall.c: New file.
7286 * libc/stdio64/Makefile.am: Remove missing .def references.
7287 * libc/stdio64/Makefile.in: Regenerated.
7288
7289 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7290
7291 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7292 * libc/machine/powerpc/times.c: New file.
7293 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7294 * libc/machine/powerpc/Makefile.in: Regenerated.
7295
7296 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7297
7298 * libc/machine/powerpc/time.c: New file.
7299 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7300 time.c.
7301 * libc/machine/powerpc/Makefile.in: Regenerated.
7302
7303 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7304
7305 * libc/libc.texinfo: Change copyright notices to Red Hat from
7306 Cygnus.
7307 * libm/libm.texinfo: Likewise.
7308 * README: Change docs URL to
7309 http://sources.redhat.com/newlib/docs.html.
7310
7311 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7312
7313 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7314 * libc/sys/linux/Makefile.in: Regenerated.
7315 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7316 * libc/sys/linux/io.c: Add ftruncate syscall.
7317 * libc/sys/linux/fpathconf.c: New file.
7318 * libc/sys/linux/pathconf.c: Ditto.
7319 * libc/sys/linux/linux_fsinfo.h: Ditto.
7320 * libc/sys/linux/sys/unistd.h: Ditto.
7321
7322 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7323
7324 * libc/stdio64/Makefile.am: Remove missing files.
7325 * libc/stdio64/Makefile.in: Regenerated.
7326
7327 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7328
7329 * libc/include/sys/config.h[__i386__][__linux__]: Define
7330 _LARGE64FILE_SOURCE to 1.
7331 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7332 * libc/sys/linux/Makefile.in: Regenerated.
7333 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7334 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7335 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7336 of <linux/resource.h>.
7337 * libc/sys/linux/getrlimit64.c: New file.
7338 * libc/sys/linux/setrlimit64.c: Ditto.
7339
7340 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7341
7342 * libc/argz/argz_replace.c: Include buf_findstr.h.
7343 * libc/argz/buf_findstr.c: Likewise.
7344 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7345 value to (char *).
7346 * libc/argz/envz_get.c: Likewise.
7347 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7348 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7349 * libc/stdlib/getsubopt.3: New file.
7350 * libc/stdlib/getsubopt.c: New file.
7351 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7352 Change esp to ebp.
7353
7354 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7355
7356 * configure.host(stdio64_dir): New setting that is used to
7357 enable building of new stdio64 directory.
7358 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7359 large files.
7360 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7361 stdio64 info to info files.
7362 * libc/Makefile.in: Regenerated.
7363 * libc/configure: Ditto.
7364 * libc/configure.in: Add configuration variables that are set
7365 when stdio64 is selected as subdir in configure.host.
7366 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7367 on whether STDIO64 flag is set or not.
7368 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7369 STDIO64 flag is set or not.
7370 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7371 _r sycall routines.
7372 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7373 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7374 (__SL64): New file flag indicating file is opened via fopen64.
7375 * libc/include/sys/_types.h(_off64_t): Added.
7376 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7377 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7378 for 64-bit offset large file support.
7379 (__FILE): New intermediate type either set to struct __sFILE64 or
7380 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7381 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7382 * libc/reent/Makefile.in: Regenerated.
7383 * libc/reent/fstat64r.c: New file.
7384 * libc/reent/lseek64r.c: Ditto.
7385 * libc/reent/open64r.c: Ditto.
7386 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7387 based on whether STDIO64 flag is set.
7388 * libc/stdio/stdio.tex: Add blank line.
7389 * libc/stdio64/Makefile.am: New file.
7390 * libc/stdio64/Makefile.in: Ditto.
7391 * libc/stdio64/fgetpos64.c: Ditto.
7392 * libc/stdio64/fopen64.: Ditto.
7393 * libc/stdio64/freopen64.c: Ditto.
7394 * libc/stdio64/fseeko64.c: Ditto.
7395 * libc/stdio64/fsetpos64.c: Ditto.
7396 * libc/stdio64/ftello64.c: Ditto.
7397 * libc/stdio64/local64.h: Ditto.
7398 * libc/stdio64/stdio64.c: Ditto.
7399 * libc/stdio64/stdio64.tex: Ditto.
7400 * libc/stdio64/tmpfile64.c: Ditto.
7401 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7402 open64.
7403
7404 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7405
7406 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7407 if LIBC_EXTRA_LIB is present.
7408 * libc/Makefile.in: Regenerated.
7409 * libc/libc.texinfo: Add blank line.
7410 * libc/argz/Makefile.am: Add doc support.
7411 * libc/search/Makefile.am: Ditto.
7412 * libc/argz/Makefile.in: Regenerated.
7413 * libc/search/Makefile.in: Ditto.
7414 * libc/misc/misc.tex: Add ffs function.
7415 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7416
7417 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7418
7419 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7420 definition that was removed in error.
7421
7422 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7423
7424 * libc/include/machine/ieeefp.h: Change to only define
7425 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7426 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7427 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7428 remove redundant floating point definitions.
7429
7430 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7431
7432 * libc/sys/linux/callocr.c: Fix so code references
7433 calloc.
7434
7435 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7436
7437 * libc/sys/linux/Makefile.am: Add new files.
7438 * libc/sys/linux/Makefile.in: Regenerated.
7439 * libc/sys/linux/bp-sym.h: Moved to include directory.
7440 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7441 * libc/sys/linux/inode.c: Set _LIBC to 1.
7442 * libc/sys/linux/mq_close.c: Ditto.
7443 * libc/sys/linux/mq_getattr.c: Ditto.
7444 * libc/sys/linux/mq_open.c: Ditto.
7445 * libc/sys/linux/mq_receive.c: Ditto.
7446 * libc/sys/linux/mq_send.c: Ditto.
7447 * libc/sys/linux/mq_setattr.c: Ditto.
7448 * libc/sys/linux/mq_unlink.c: Ditto.
7449 * libc/sys/linux/calloc.c: New file.
7450 * libc/sys/linux/callocr.c: Ditto.
7451 * libc/sys/linux/cfreer.c: Ditto.
7452 * libc/sys/linux/config.h: Ditto.
7453 * libc/sys/linux/free.c: Ditto.
7454 * libc/sys/linux/freer.c: Ditto.
7455 * libc/sys/linux/msize.c: Ditto.
7456 * libc/sys/linux/msizer.c: Ditto.
7457 * libc/sys/linux/mstats.c: Ditto.
7458 * libc/sys/linux/mtrim.c: Ditto.
7459 * libc/sys/linux/mtrimr.c: Ditto.
7460 * libc/sys/linux/pvallocr.c: Ditto.
7461 * libc/sys/linux/realloc.c: Ditto.
7462 * libc/sys/linux/reallocr.c: Ditto.
7463 * libc/sys/linux/thread-m.h: Ditto.
7464 * libc/sys/linux/vallocr.c: Ditto.
7465 * libc/sys/linux/bp-checks.h: Ditto.
7466 * libc/sys/linux/libc-symbols.h: Ditto.
7467 * libc/sys/linux/libc-tsd.h: Ditto.
7468 * libc/sys/linux/libintl.h: Ditto.
7469 * libc/sys/linux/malign.c: Ditto.
7470 * libc/sys/linux/malignr.c: Ditto.
7471 * libc/sys/linux/mallinfor.c: Ditto.
7472 * libc/sys/linux/malloc.c: Ditto.
7473 * libc/sys/linux/mallocr.c: Ditto.
7474 * libc/sys/linux/malloptr.c: Ditto.
7475 * libc/sys/linux/mallstatsr.c: Ditto.
7476 * libc/sys/linux/mcheck.c: Ditto.
7477 * libc/sys/linux/mhooks.h: Ditto.
7478 * libc/sys/linux/include/bp-sym.h: Ditto.
7479 * libc/sys/linux/include/malloc.h: Ditto.
7480 * libc/sys/linux/include/mcheck.h: Ditto.
7481 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7482 getpagesize.c.
7483 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7484 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7485 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7486 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7487 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7488 * libc/sys/linux/machine/i386/sysdep.h: New file.
7489 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7490 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7491 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7492
7493 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7494
7495 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7496 instead of <asm/siginfo.h>.
7497 * libc/sys/linux/sys/signal.h: Change to include various linux
7498 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7499 to work with multiple releases of glibc header files.
7500
7501 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7502
7503 * testsuite/newlib.search/hsearchtest.c: New file to test
7504 newlib/libc/search.
7505 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7506
7507 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7508
7509 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7510 a terminal.
7511 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7512
7513 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7514
7515 * libc/include/math.h (MAXFLOAT): Added.
7516
7517 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7518
7519 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7520 Make strcmp.S unconditional.
7521 * libc/machine/sh/Makefile.in: Regenerate.
7522 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7523 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7524 for SHcompact.
7525
7526 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7527
7528 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7529 define before including <sys/lock.h>.
7530
7531 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7532
7533 * libc/include/utime.h: Add include of <_ansi.h>.
7534 * libc/sys/linux/Makefile.am: Add utimes.c.
7535 * libc/sys/linux/Makefile.in: Regenerated.
7536 * libc/sys/linux/inode.c(__umask): New static routine.
7537 (umask): Written to use __umask and attempt to thread lock.
7538 (getumask): New function written to use __umask and thread lock.
7539 * libc/sys/linux/utimes.c: New file.
7540 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7541 * libc/sys/linux/sys/utime.h: New file.
7542
7543 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7544
7545 * libtool.m4: New file.
7546 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7547 rather than as a syscall.
7548
7549 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7550
7551 * libc/include/stdio.h: Add new prototypes.
7552 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7553 * libc/stdio/Makefile.in: Regenerated.
7554 * libc/stdio/fseek.c: Add fseeko documentation.
7555 * libc/stdio/ftell.c: Add ftello documentation.
7556 * libc/stdio/fseeko.c: New file.
7557 * libc/stdio/ftello.c: New file.
7558
7559 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7560
7561 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7562 * libc/stdio/Makefile.in: Regenerated.
7563 * libc/stdio/asprintf.c: New file.
7564 * libc/stdio/vasprintf.c: Ditto.
7565 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7566 the buffer for asprintf support.
7567 * libc/stdio/sprintf.c: Add asprintf documentation.
7568 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7569 * libc/include/stdio.h: Add new prototypes.
7570
7571 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7572
7573 * libc/search/hcreate.c: Remove advertising clause from license.
7574 * libc/search/hcreate_r.c: Likewise.
7575
7576 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7577
7578 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7579 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7580 Check that one of them is defined and error out if not.
7581 Add any platforms defined in <machine/ieeefp.h> that are missing.
7582 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7583 (DB_LITTLE_ENDIAN): New defines.
7584 * libc/search/hash.c: Replace all incorrect checks for
7585 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7586 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7587 * libc/search/hash_page.c: Likewise.
7588
7589 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7590
7591 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7592
7593 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7594
7595 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7596 * libc/include/time.h: Same.
7597 * libc/include/string.h: Same.
7598 * libc/include/stdlib.h: Same.
7599 * libc/include/signal.h: Same.
7600 * libc/include/setjmp.h: Same.
7601 * libc/include/math.h: Same.
7602 * libc/include/locale.h: Same.
7603 * libc/include/ctype.h: Same.
7604 * libc/include/machine/setjmp.h: Same.
7605 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7606 (_END_STD_C): Add.
7607
7608 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7609
7610 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7611 32-bits, otherwise define it as long.
7612 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7613 and define ssize_t as _ssize_t.
7614 * libc/reent/readr.c: Change return type to _ssize_t.
7615 * libc/reent/writer.c: Ditto.
7616 * libc/sys/linux/Makefile.am: Add aio.c.
7617 * libc/sys/linux/Makefile.in: Regenerated.
7618 * libc/sys/linux/aio.c: New file.
7619 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7620 * libm/common/fdlibm.h: Undef __P before defining it.
7621
7622 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7623
7624 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7625 exponent_is_even_int variable. Handle case where x is
7626 negative, and y is an odd integer.
7627 * libm/mathfp/sf_pow.c (powf): Likewise.
7628
7629 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7630 * libm/mathfp/erf_lgamma.c: Likewise.
7631 * libm/mathfp/s_tgamma.c: Likewise.
7632 * libm/mathfp/sf_tgamma.c: Likewise.
7633
7634 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7635
7636 * libc/sys/linux/Makefile.am: Add new clock routines.
7637 * libc/sys/linux/Makefile.in: Regenerated.
7638 * libc/sys/linux/clock_getres.c: New file.
7639 * libc/sys/linux/clock_gettime.c: Ditto.
7640 * libc/sys/linux/clock_settime.c: Ditto.
7641 * libc/sys/linux/hp-timing.h: Ditto.
7642 * libc/sys/linux/libc-internal.h: Ditto.
7643 * libc/sys/linux/sysconf.c: Fix typo.
7644 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7645 * libc/sys/linux/machine/hp-timing.h: New file.
7646 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7647 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7648 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7649 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7650 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7651 * libc/sys/linux/sys/linux_time.h: New file.
7652 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7653 replace with <sys/linux_time.h>.
7654
7655 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7656
7657 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7658
7659 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7660
7661 * libc/sys/linux/Makefile.am: Consolidate additional items under
7662 ADD_OBJS.
7663 * libc/sys/linux/Makefile.in: Regenerated.
7664
7665 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7666
7667 * libc/sys/linux/sethostname.c: New file.
7668 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7669 * libc/sys/linux/Makefile.in: Regenerated.
7670
7671 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7672
7673 * libc/search/db_local.h: New file.
7674 * libc/include/db.h: Remove.
7675 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7676 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7677 "db_local.h".
7678 * libc/search/hash_bigkey.c: Likewise.
7679 * libc/search/hash_buf.c: Likewise.
7680 * libc/search/hash_func.c: Likewise.
7681 * libc/search/hash_log2.c: Likewise.
7682 * libc/search/hash_page.c: Likewise.
7683
7684 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
7685
7686 * libc/machine/sh/strlen.S: New file.
7687 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7688 * libc/machine/sh/Makefile.am: Regenerate.
7689
7690 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7691
7692 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7693 add gethostname alias.
7694
7695 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7696
7697 * libc/include/math.h: Remove <sys/types.h>.
7698 (__dmath): Use __ULong instead of __uint32_t.
7699 * libc/include/sys/reent.h: If long or int is not 32-bits,
7700 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
7701 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7702 * libm/common/fdlibm.h: Ditto.
7703
7704 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7705
7706 * libc/include/ndbm.h: Remove.
7707 * libc/search/ndbm.c: Remove.
7708
7709 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7710
7711 * libc/stdio/fseek.c (fseek): Fix braces.
7712
7713 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
7714
7715 * libc/time/strftime.c (strftime): Add %e format specifier.
7716
7717 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7718
7719 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7720 previously defined.
7721
7722 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
7723
7724 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7725 (BYTE_ORDER): Define as appropriate for the target.
7726
7727 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7728
7729 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7730 to _ssize_t.
7731 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
7732
7733 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7734
7735 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
7736 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
7737 [HAVE_GETDATE](getdate_err): New error code.
7738 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7739 * libc/stdio/Makefile.in: Regenerated.
7740 * libc/stdio/getdelim.c: New file.
7741 * libc/stdio/getline.c: Ditto.
7742 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
7743 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
7744 * libc/sys/linux/Makefile.in: Regenerated.
7745 * libc/sys/linux/getdate.c: New file.
7746 * libc/sys/linux/getdate_err.c: Ditto.
7747 * libc/sys/linux/ntp_gettime.c: Ditto.
7748 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
7749 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
7750
7751 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7752
7753 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
7754 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
7755 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
7756 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
7757 * libc/include/sys/param.h: Remove i386 case which is handled
7758 by default case.
7759 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
7760 definitions in case they are already defined.
7761 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
7762 _IEEE_LITTLE_ENDIAN flags.
7763 * libc/include/sys/reent.h: Change __uint32_t references to
7764 use _ULong instead.
7765 (_REENT_GETDATE_REENT_P): New macro.
7766 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
7767 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
7768 * libc/search/hash.h: Add default setting of BYTE_ORDER,
7769 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
7770 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
7771 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
7772 pid_t, off_t, loff_t, caddr_t, and daddr_t type
7773 definitions which are done by subsequent glibc headers.
7774 Add macro definitions to prevent subsequent header files from
7775 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
7776 intptr_t to after glibc definitions of types they are based on.
7777
7778 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7779
7780 * libc/include/errno.h: Protect from multiple inclusion.
7781
7782 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
7783
7784 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
7785
7786 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
7787
7788 * Makefile.am (LIB_OBJECTLISTS): Add
7789 libc/search/objectlist.awk.in.
7790 * libc/Makefile.am (SUBDIRS): Add search.
7791 (SUBLIBS): Add search/libsearch.la.
7792 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
7793 * libc/search: New directory.
7794 * libc/search/Makefile.am: New file.
7795 * libc/search/extern.h: New file.
7796 * libc/search/hash.c: New file.
7797 * libc/search/hash.h: New file.
7798 * libc/search/hash_bigkey.c: New file.
7799 * libc/search/hash_buf.c: New file.
7800 * libc/search/hash_func.c: New file.
7801 * libc/search/hash_log2.c: New file.
7802 * libc/search/hash_page.c: New file.
7803 * libc/search/hcreate.3: New file.
7804 * libc/search/hcreate.c: New file.
7805 * libc/search/hcreate_r.c: New file.
7806 * libc/search/ndbm.c: New file.
7807 * libc/search/page.h: New file.
7808 * libc/search/tdelete.c: New file.
7809 * libc/search/tdestroy.c: New file.
7810 * libc/search/tfind.c: New file.
7811 * libc/search/tsearch.3: New file.
7812 * libc/search/tsearch.c: New file.
7813 * libc/search/twalk.c: New file.
7814 * libc/include/db.h: New file.
7815 * libc/include/ndbm.h: New file.
7816 * libc/include/search.h: New file.
7817 * libc/include/sys/queue.h: New file.
7818 * libc/include/sys/cdefs.h: New file.
7819 * libc/include/sys/param.h
7820 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
7821 LITTLE_ENDIAN or BIG_ENDIAN.
7822 * libc/include/sys/errno.h (EFTYPE): New macro.
7823 * libc/search/bsearch.c: Move from libc/stdlib.
7824 * libc/search/qsort.c: Likewise.
7825 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
7826 qsort.c.
7827 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
7828 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
7829
7830 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
7831
7832 * libc/sys/linux/Makefile.am: Add support for message queue routines,
7833 ipc routines, and ftok.
7834 * libc/sys/linux/Makefile.in: Regenerated.
7835 * libc/sys/linux/ftok.c: New file.
7836 * libc/sys/linux/ipc.c: Ditto.
7837 * libc/sys/linux/mq_close.c: Ditto.
7838 * libc/sys/linux/mq_getattr.c: Ditto.
7839 * libc/sys/linux/mq_notify.c: Ditto.
7840 * libc/sys/linux/mq_open.c: Ditto.
7841 * libc/sys/linux/mq_receive.c: Ditto.
7842 * libc/sys/linux/mq_send.c: Ditto.
7843 * libc/sys/linux/mq_setattr.c: Ditto.
7844 * libc/sys/linux/mq_unlink.c: Ditto.
7845 * libc/sys/linux/mqlocal.h: Ditto.
7846 * libc/sys/linux/include/mqueue.h: Ditto.
7847 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
7848 __uid_t_defined.
7849
7850 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
7851
7852 * libm/common/sf_lround.c (round): Change name to: (lround).
7853 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
7854 remquof.
7855
7856 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7857
7858 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
7859 procedure.
7860 (newlib_pass_fail): Change to compile and run only one file.
7861 * testsuite/newlib.locale/locale.exp: Use new
7862 newlib_pass_fail_all procedure.
7863 * testsuite/newlib.string/string.exp: Likewise.
7864
7865 2002-06-18 Dave Brolley <brolley@redhat.com>
7866
7867 From Catherine Moore, Michael Meissner, Richard Sandiford:
7868 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
7869 (_JBTYPE): Ditto.
7870 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
7871 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
7872 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
7873 * configure.host: Support frv-*-*.
7874 * libc/machine/frv/Makefile.am: New file.
7875 * libc/machine/frv/configure.in: New file.
7876 * libc/machine/frv/setjmp.S: New file.
7877
7878 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7879
7880 * libc/include/ctype.h: Remove isblank macro.
7881
7882 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
7883 * libc/ctype/isblank.c: New file.
7884 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
7885 declaration. Add isblank macro.
7886
7887 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
7888
7889 * testsuite/newlib.stdlib/atexit.c: New file.
7890 * testsuite/newlib.stdlib/atexit.exp: Ditto.
7891 * testsuite/newlib.string/tstring.c: Change default start size
7892 to something more reasonable for embedded platforms.
7893
7894 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7895
7896 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
7897
7898 * libc/argz: New directory.
7899 * libc/argz/*: New files.
7900 * libc/argz/argz_add.c: New file.
7901 * libc/argz/argz_add_sep.c: New file.
7902 * libc/argz/argz_append.c: New file.
7903 * libc/argz/argz_count.c: New file.
7904 * libc/argz/argz_create.c: New file.
7905 * libc/argz/argz_create_sep.c: New file.
7906 * libc/argz/argz_delete.c: New file.
7907 * libc/argz/argz_extract.c: New file.
7908 * libc/argz/argz_insert.c: New file.
7909 * libc/argz/argz_next.c: New file.
7910 * libc/argz/argz_replace.c: New file.
7911 * libc/argz/argz_stringify.c: New file.
7912 * libc/argz/buf_findstr.c: New file.
7913 * libc/argz/envz_add.c: New file.
7914 * libc/argz/envz_entry.c: New file.
7915 * libc/argz/envz_get.c: New file.
7916 * libc/argz/envz_merge.c: New file.
7917 * libc/argz/envz_remove.c: New file.
7918 * libc/argz/envz_strip.c: New file.
7919 * libc/include/argz.h: New file.
7920 * libc/include/envz.h: New file.
7921 * Makefile.am (LIBC_OBJECTLISTS): Add
7922 libc/argz/objectlist.awk.in.
7923 * libc/Makefile.am (SUBDIRS): Add argz.
7924 (SUBLIBS): Add argz/libargz.la.
7925 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
7926 * libc/include/errno.h: Add error_t typedef.
7927
7928 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
7929
7930 * libc/include/stdlib.h: Add _Exit prototype.
7931 * libc/stdlib/Makefile.am: Add _Exit.c support.
7932 * libc/stdlib/Makefile.in: Ditto.
7933 * libc/stdlib/_Exit.c: New file.
7934
7935 2002-06-13 Stephen L. Moshier <steve@moshier.net>
7936
7937 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
7938 x is close to -1.0 and y is very large to use ax (absolute value)
7939 instead of x.
7940 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
7941
7942 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
7943
7944 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
7945 Fix clobbering bytes before destination if src and dst have same
7946 non-zero misalignment.
7947
7948 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7949 Fixed bug in writing end of set region.
7950
7951 2002-06-10 Christopher Faylor <cgf@redhat.com>
7952
7953 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
7954 spawnve declaration.
7955
7956 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7957
7958 * libm/common/s_fdim.c: New file.
7959 * libm/common/s_fma.c: Likewise.
7960 * libm/common/s_fmax.c: Likewise.
7961 * libm/common/s_fmin.c: Likewise.
7962 * libm/common/s_fpclassify.c: Likewise.
7963 * libm/common/s_lrint.c: Likewise.
7964 * libm/common/s_lround.c: Likewise.
7965 * libm/common/s_nearbyint.c: Likewise.
7966 * libm/common/s_remquo.c: Likewise.
7967 * libm/common/s_round.c: Likewise.
7968 * libm/common/s_scalbln.c: Likewise.
7969 * libm/common/s_signbit.c: Likewise.
7970 * libm/common/s_trunc.c: Likewise.
7971 * libm/common/sf_fdim.c: Likewise.
7972 * libm/common/sf_fma.c: Likewise.
7973 * libm/common/sf_fmax.c: Likewise.
7974 * libm/common/sf_fmin.c: Likewise.
7975 * libm/common/sf_lrint.c: Likewise.
7976 * libm/common/sf_lround.c: Likewise.
7977 * libm/common/sf_nearbyint.c: Likewise.
7978 * libm/common/sf_remquo.c: Likewise.
7979 * libm/common/sf_round.c: Likewise.
7980 * libm/common/sf_scalbln.c: Likewise.
7981 * libm/common/sf_trunc.c: Likewise.
7982 * libm/math/w_exp2.c: Likewise.
7983 * libm/math/w_tgamma.c: Likewise.
7984 * libm/math/wf_exp2.c: Likewise.
7985 * libm/math/wf_tgamma.c: Likewise.
7986 * libm/mathfp/s_exp2.c: Likewise.
7987 * libm/mathfp/s_tgamma.c: Likewise.
7988 * libm/mathfp/sf_exp2.c: Likewise.
7989 * libm/mathfp/sf_tgamma.c: Likewise.
7990 * libm/math/er_gamma.c: Fix return value.
7991 * libm/math/erf_gamma.c: Likewise.
7992 * libm/mathfp/er_gamma.c: Likewise.
7993 * libm/mathfp/erf_gamma.c: Likewise.
7994 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
7995 declarations and macros.
7996 Regenerated all Makefile.in, aclocal.m4 and configure files to
7997 use new libtool macros in top-level libtool.m4
7998
7999 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8000
8001 * libc/include/string.h[__linux__]: Add strsignal prototype.
8002 * libc/include/sys/lock.h: New file with default locking support.
8003 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8004 and psignal.
8005 * libc/posix/Makefile.am: Add support for readdir_r.c.
8006 * libc/posix/Makefile.in: Regenerated.
8007 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8008 * libc/posix/opendir.c: Add lock support.
8009 * libc/posix/readdir.c: Ditto.
8010 * libc/posix/rewinddir.c: Ditto.
8011 * libc/posix/scandir.c: Ditto.
8012 * libc/posix/seekdir.c: Ditto.
8013 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8014 clean up leftover hash table entries.
8015 * libc/posix/readdir_r.c: New file.
8016 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8017 * libc/sys/linux/Makefile.in: Regenerated.
8018 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8019 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8020 * libc/sys/linux/psignal.c: New file.
8021 * libc/sys/linux/strsignal.c: Ditto.
8022
8023 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8024
8025 * libc/include/sys/types.h: Don't define dev_t when compiling for
8026 Cygwin.
8027
8028 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8029
8030 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8031 make siglist.inc dependent on sig.c instead of signal.c.
8032 * libc/sys/linux/Makefile.in: Regenerated.
8033 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8034 use NSIG instead of _NSIG.
8035 * libc/sys/linux/sigaction.c: New file.
8036 * libc/sys/linux/signal.c: Changed to be linux signal() function
8037 so as to override regular newlib default signal.c.
8038 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8039 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8040 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8041 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8042 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8043 default linux sigset_t typedef by defining it equal to __sigset_t.
8044 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8045 with a sigset_t that isn't implemented with a single int.
8046
8047 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8048
8049 * libc/sys/linux/Makefile.am: Add support for new files.
8050 * libc/sys/linux/Makefile.in: Regenerated.
8051 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8052 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8053 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8054 it is in a separate file now.
8055 * libc/sys/linux/machine/i386/Makefile.am
8056 * libc/sys/linux/machine/i386/Makefile.in
8057 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8058 * libc/sys/linux/sigaction.c: New file.
8059 * libc/sys/linux/sigqueue.c: Ditto.
8060 * libc/sys/linux/sigwait.c: Ditto.
8061 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8062 * libc/sys/linux/kernel_sigaction.h: Ditto.
8063
8064 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8065
8066 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8067 tcsendbrk.c.
8068 * libc/sys/linux/Makefile.in: Regenerated.
8069 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8070 tcgetpgrp(), and tcsetpgrp() functions.
8071 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8072 to get __MAX_BAUD rate.
8073 * libc/sys/linux/machine/i386/include/termios.h: New file.
8074 * libc/include/machine/termios.h: Ditto.
8075 * libc/sys/linux/cfspeed.c: Ditto.
8076 * libc/sys/linux/tcsendbrk.c: Ditto.
8077
8078 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8079
8080 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8081 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8082 * libc/string/Makefile.in: Regenerated.
8083 * libc/string/strerror_r.c: New file.
8084 * libc/string/strnlen.c: New file.
8085 * libc/sys/linux/Makefile.am: Add rename.c.
8086 * libc/sys/linux/Makefile.in: Regenerated.
8087 * libc/sys/linux/rename.c: New file to override default rename.
8088
8089 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8090
8091 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8092 * libc/sys/linux/sys/time.h: Add conversion macros.
8093 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8094 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8095 * libc/sys/linux/gethostname.c: New file.
8096 * libc/sys/linux/seteuid.c: New file.
8097 * libc/sys/linux/sysctl.c: New file.
8098
8099 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8100
8101 * libc/string/Makefile.am: Add support for strsep.c.
8102 * libc/string/Makefile.in: Regenerated.
8103 * libc/string/strsep.c: New file.
8104 * libc/string/strtok.c: Change to call __strtok_r service routine.
8105 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8106 additional flag parameter regarding whether to skip leading delimeters.
8107 Change strtok_r to call __strtok_r.
8108
8109 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8110
8111 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8112 * libc/stdio/Makefile.in: Regenerated.
8113 * libc/stdio/setbuffer.c: New file.
8114 * libc/stdio/setlinebuf.c: New file.
8115
8116 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8117
8118 * libc/sys/linux/Makefile.am: Add resource.c.
8119 * libc/sys/linux/Makefile.in: Regenerated.
8120 * libc/sys/linux/resource.c: New file.
8121 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8122 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8123 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8124 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8125 are now found in libc/sys/linux/resource.c.
8126
8127 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8128
8129 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8130 to use void * pointers and comply with Single Unix spec.
8131 * libc/string/bcmp.c: Change to use void * instead of char *.
8132 * libc/string/bcopy.c: Ditto.
8133 * libc/string/bzero.c: Ditto.
8134
8135 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8136
8137 * libc/sys/linux/shm_open.c: New file.
8138 * libc/sys/linux/shm_unlink.c: Ditto.
8139 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8140 shm_unlink.c.
8141 * libc/sys/linux/Makefile.in: Regenerated.
8142 * libc/sys/linux/sys/types.h: Add some additional checks to see
8143 if clock_t or time_t is already defined.
8144
8145 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8146
8147 * Makefile.am: Don't pass $toollibdir down directly in
8148 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8149 Pass it under the name: top_toollibdir.
8150 * Makefile.in: Regenerated.
8151
8152 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8153
8154 * libc/include/sys/types.h: Revert previous patch.
8155
8156 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8157
8158 * libc/include/sys/types.h: Include cygwin/types.h always under
8159 Cygwin, not only if _POSIX_THREADS is defined.
8160
8161 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8162
8163 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8164
8165 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8166
8167 * Makefile.am: Copy and install headers from sys/machine/include
8168 directory. Also pass $toollibdir to lower-level directories.
8169 * Makefile.in: Regenerated.
8170 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8171 stderr to use _REENT macro instead of _impure_ptr directly.
8172 * libc/include/sys/config.h[__i386__][__linux__]: Define
8173 __DYNAMIC_REENT__.
8174 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8175 call to __getreent() function if !__SINGLE_THREAD__ and
8176 __DYNAMIC_REENT__ is set.
8177 * libc/reent/Makefile.am: Add support for getreent.c.
8178 * libc/reent/Makefile.in: Regenerated.
8179 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8180 * libc/sys/linux/Makefile.am: Add support for new files.
8181 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8182 * libc/sys/linux/Makefile.in: Regenerated.
8183 * libc/sys/linux/configure: Ditto.
8184 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8185 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8186 their __libc_ counterparts.
8187 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8188 and weak-alias to regular names.
8189 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8190 to pread64 and __pread64.
8191 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8192 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8193 weak-alias to pwrite64.
8194 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8195 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8196 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8197 name with __ instead of __libc_.
8198 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8199 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8200 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8201 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8202 to raise.
8203 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8204 __libc_send to __send.
8205 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8206 __gettimeofday.
8207 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8208 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8209 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8210 type and typedef __jmp_buf to jmp_buf.
8211 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8212 setjmp.S.
8213 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8214 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8215 section.
8216 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8217 prefix for function macros and then use weak_alias() to regular names.
8218 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8219 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8220 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8221 to be flockfile() and funlockfile() respectively.
8222 * libc/sys/linux/sys/types.h
8223 * libc/reent/getreent.c: New file.
8224 * libc/sys/linux/flockfile.c: Ditto.
8225 * libc/sys/linux/funlockfile.c: Ditto.
8226 * libc/sys/linux/getreent.c: Ditto.
8227 * libc/sys/linux/pread.c: Ditto.
8228 * libc/sys/linux/pwrite.c: Ditto.
8229 * libc/sys/linux/raise.c: Ditto.
8230 * libc/sys/linux/system.c: Ditto.
8231 * libc/sys/linux/tcdrain.c: Ditto.
8232 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8233 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8234 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8235 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8236 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8237
8238 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8239
8240 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8241 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8242 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8243 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8244
8245 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8246
8247 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8248 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8249 exit point.
8250
8251 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8252
8253 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8254 options when testing natively on i[3456]86-*-linux.
8255
8256 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8257 only one pass or fail per test file. Trim \r's from output
8258 values received from test programs. Remove support for named
8259 tests.
8260 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8261 newlib_check_output behaviour.
8262 * testsuite/newlib.locale/UTF-8.c: Likewise.
8263
8264 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8265
8266 * libc/include/stdlib.h: Add on_exit prototype.
8267 * libc/include/sys/reent.h (struct _atexit): Add argument array
8268 and bits to track type of exit routine to support both on_exit
8269 and atexit.
8270 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8271 by default and change the setting of the atexit structure.
8272 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8273 * libc/stdlib/on_exit.c: New file.
8274 * libc/stdlib/Makefile.am: Add support for on_exit.
8275 * libc/stdlib/Makefile.in: Regenerated.
8276 * libc/stdlib/atexit.c: Change to initialize types field.
8277 * libc/stdlib/exit.c: Change to look at types field for each
8278 exit routine and either call an atexit-style or an on_exit-style
8279 routine accordingly.
8280
8281 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8282
8283 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8284 allow v specifier with n or L specifiers. For vector c format,
8285 move tmp declaration to the top.
8286
8287 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8288
8289 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8290 the original format specifier when looping for vectors to compensate
8291 for any changes made in vector %g format processing.
8292 Also add syntax checking for various invalid scenarios
8293 involving vector format extensions.
8294 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8295 return code setting for vector formats. Also treat vector
8296 separator mismatch as a match error instead of an input error.
8297 Perform some syntax checking for vector formats.
8298
8299 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8300
8301 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8302 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8303 * libc/string/strlcat.c: New file.
8304 * libc/string/strlcpy.c: New file.
8305
8306 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8307
8308 * libc/string/strchr.c: Fix comment typo.
8309
8310 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8311
8312 * acinclude.m4: Add support for --enable-newlib-multithread.
8313 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8314 --enable-newlib-multithread=no.
8315
8316 * libc/stdio/getc_u.c: New file.
8317 * libc/stdio/getchar_u.c: New file.
8318 * libc/stdio/putc_u.c: New file.
8319 * libc/stdio/putchar_u.c: New file.
8320 * libc/include/stdio.h: Add declarations for getc_unlocked,
8321 getchar_unlocked, putc_unlocked and putchar_unlocked.
8322 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8323 (CHEWOUT_FILES): Add new files' .def's.
8324 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8325
8326 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8327
8328 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8329 Also handle as single quad word when destination ends at last
8330 byte of first quad word. Fix byte selection in single quad code.
8331
8332 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8333
8334 * libc/include/sys/stdio.h: New file.
8335 * libc/sys/linux/sys/stdio.h: New file.
8336 * libc/include/stdio.h: Add declarations for flockfile,
8337 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8338 * libc/stdio/clearerr.c: Add file locking.
8339 * libc/stdio/fclose.c: Likewise.
8340 * libc/stdio/feof.c: Likewise.
8341 * libc/stdio/ferror.c: Likewise.
8342 * libc/stdio/fflush.c: Likewise.
8343 * libc/stdio/fgetc.c: Likewise.
8344 * libc/stdio/fgetpos.c: Likewise.
8345 * libc/stdio/fgets.c: Likewise.
8346 * libc/stdio/fileno.c: Likewise.
8347 * libc/stdio/fputc.c: Likewise.
8348 * libc/stdio/fputs.c: Likewise.
8349 * libc/stdio/fread.c: Likewise.
8350 * libc/stdio/freopen.c: Likewise.
8351 * libc/stdio/fseek.c: Likewise.
8352 * libc/stdio/ftell.c: Likewise.
8353 * libc/stdio/fwrite.c: Likewise.
8354 * libc/stdio/getc.c: Likewise.
8355 * libc/stdio/putc.c: Likewise.
8356 * libc/stdio/setvbuf.c: Likewise.
8357 * libc/stdio/ungetc.c: Likewise.
8358 * libc/stdio/vfprintf.c: Likewise.
8359
8360 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8361
8362 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8363 support for 'p' format. Fix code to print bytes for vector
8364 integer formats that do not specify 'h' or 'l'.
8365 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8366 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8367 formats that do not specify 'h' or 'l'.
8368
8369 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8370
8371 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8372
8373 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8374 (_sbrk): Add cast of return value.
8375
8376 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8377
8378 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8379 (_REENT_L64A_BUF): New macro for accessing area.
8380 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8381 * libc/stdlib/Makefile.in: Regenerated.
8382 * libc/stdlib/a64l.c: New file.
8383 * libc/stdlib/l64a.c: New file.
8384
8385 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8386
8387 * libc/unix/pread.c: Fix typo for _pread_r.
8388 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8389 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8390 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8391
8392 2002-05-03 Christopher Faylor <cgf@redhat.com>
8393
8394 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8395
8396 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8397
8398 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8399
8400 2002-05-01 Christopher Faylor <cgf@redhat.com>
8401
8402 * utmp.h: Define more UNIX constants.
8403
8404 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8405
8406 * Makefile.am: Add support for checking multilibs.
8407
8408 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8409 (SUBDEFS): Add LIBC_EXTRA_DEF.
8410 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8411 (LIBC_EXTRA_DEF): Likewise.
8412 (extra_dir): Likewise.
8413 * libc/machine/xscale/machine: New directory.
8414 * libc/machine/xscale/machine/profile.h: New file.
8415
8416 * Makefile.am (site.exp): Remove newlib_cflags. Add
8417 multibuildtop.
8418 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8419 * testsuite/lib/flags.exp: New file.
8420 * testsuite/lib/newlib.exp: Load flags.exp.
8421 (newlib_target_compile): Remove libgloss directory references.
8422 (newlib_init): Remove newlib_cflags references.
8423
8424 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8425
8426 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8427 method of finding libgloss_target_dir.
8428
8429 * Makefile.am (site.exp): Change host_alias, host_triplet,
8430 target_alias, target_triplet to refer to gcc's host and target
8431 variables (newlib's build and host variables).
8432 * testsuite/lib/newlib.exp (newlib_init): Change build
8433 references to host references, host references to target
8434 references to reflect Makefile.am changes.
8435 (newlib_target_compile): Likewise.
8436 (newlib_finish): Likewise.
8437
8438 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8439
8440 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8441
8442 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8443
8444 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8445 (_system): New function. Ditto.
8446 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8447 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8448 targets.
8449
8450 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8451
8452 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8453 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8454 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8455 * libc/sys/linux/Makefile.in: Regenerated.
8456 * libc/unix/Makefile.in: Ditto.
8457 * libc/sys/linux/pread64.c: New file.
8458 * libc/sys/linux/pwrite64.c: Ditto.
8459 * libc/unix/pread.c: Ditto.
8460 * libc/unix/pwrite.c: Ditto.
8461
8462 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8463
8464 * libc/sys/linux/Makefile.am: Add io64.c.
8465 * libc/sys/linux/Makefile.in: Regenerated.
8466 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8467 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8468 * libc/sys/linux/io64.c: New file.
8469
8470 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8471
8472 * configure.in (CC_FOR_NEWLIB): New variable that
8473 bases on $(CC) and adds targ-include and libc/include as
8474 -isystem directives if they are not already part of $(CC).
8475 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8476 $(CC_FOR_NEWLIB).
8477 * configure: Regenerated.
8478 * Makefile.in: Ditto.
8479
8480 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8481
8482 * libc/sys/linux/Makefile.am: Add support for sched.c.
8483 * libc/sys/linux/Makefile.in: Regenerated.
8484 * libc/sys/linux/sched.c: New file.
8485 * libc/sys/linux/sys/types.h: Add struct timespec.
8486
8487 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8488
8489 * configure.in (CC_FOR_BUILD): Set to gcc whether
8490 cross-compiling or not.
8491 (CC): Add -isystem's for targ-include and libc/include when they
8492 do not already appear in CC.
8493
8494 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8495
8496 * Makefile.am (check-DEJAGNU): New target.
8497 (site.exp): Likewise.
8498 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8499 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8500 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8501 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8502 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8503 * testsuite: New directory.
8504 * testsuite/config: Likewise.
8505 * testsuite/lib: Likewise.
8506 * testsuite/newlib.locale: Likewise.
8507 * testsuite/newlib.string: Likewise.
8508 * testsuite/config/default.exp: New file.
8509 * testsuite/lib/checkoutput.exp: New file.
8510 * testsuite/lib/newlib.exp: New file.
8511 * testsuite/lib/passfail.exp: New file.
8512 * testsuite/newlib.locale/UTF-8.c: New file.
8513 * testsuite/newlib.locale/UTF-8.exp: New file.
8514 * testsuite/newlib.locale/locale.exp: New file.
8515 * testsuite/newlib.string/string.exp: New file.
8516 * testsuite/newlib.string/tstring.c: New file.
8517
8518 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8519
8520 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8521 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8522 * libc/sys/linux/Makefile.in: Regenerated.
8523 * libc/sys/linux/mmap.c: New file.
8524 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8525 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8526
8527 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8528
8529 * acinclude.m4 (newlib_cflags): Remove include directories that
8530 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8531
8532 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8533
8534 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8535 * libc/machine/xscale/memcmp.c: Ditto.
8536 * libc/machine/xscale/memcpy.c: Ditto.
8537 * libc/machine/xscale/memmove.c: Ditto.
8538 * libc/machine/xscale/memset.c: Ditto.
8539 * libc/machine/xscale/strchr.c: Ditto.
8540 * libc/machine/xscale/strcmp.c: Ditto.
8541 * libc/machine/xscale/strcpy.c: Ditto.
8542 * libc/machine/xscale/strlen.c: Ditto.
8543
8544 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8545
8546 * libc/include/sys/config.h: Remove include of <limits.h>.
8547 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8548 define INT_MAX and LONG_MAX. Use them in tests.
8549
8550 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8551
8552 * configure.host: Add support for powerpc-eabialtivec*.
8553 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8554 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8555 * libc/include/machine/malloc.h: New file.
8556 * libc/include/machine/stdlib.h: Ditto.
8557 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8558 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8559 sources based on configuration.
8560 * libc/machine/powerpc/Makefile.in: Regenerated.
8561 * libc/machine/powerpc/configure: Ditto.
8562 * libc/machine/powerpc/configure.in: Add check for
8563 powerpc-eabialtivec* in which case add in additional source files.
8564 * libc/machine/powerpc/setjmp.S: Add altivec support.
8565 * libc/machine/powerpc/vec_calloc.c: New file.
8566 * libc/machine/powerpc/vec_free.c: Ditto.
8567 * libc/machine/powerpc/vec_malloc.c: Ditto.
8568 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8569 * libc/machine/powerpc/vec_realloc.c: Ditto.
8570 * libc/machine/powerpc/machine/malloc.h: Ditto.
8571 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8572 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8573 with added altivec format specifiers.
8574 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8575 added altivec format specifiers.
8576
8577 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8578
8579 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8580 while autoconf is trying to link main(){}.
8581
8582 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8583
8584 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8585 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8586
8587 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8588
8589 * libc/time/time.tex: Add tzset info.
8590
8591 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8592
8593 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8594 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8595 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8596 (tzname): Defined for all platforms.
8597 (daylight, timezone): Defined only for CYGWIN.
8598 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8599 environment set up.
8600 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8601 environment variable is set.
8602 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8603 tzset_r.c.
8604 * libc/time/Makefile.in: Regenerated.
8605 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8606 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8607 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8608 * libc/time/local.h: New local header file.
8609 * libc/time/mktime.c (mktime): Add timezone support.
8610 * libc/time/mktm_r.c: New file which is the common engine
8611 for gmtime_r and lcltime_r. This code has timezone support.
8612 * libc/time/strftime.c (strftime): Add %Z timezone support.
8613 * libc/time/tzlock.c: New file containing timezone lock stubs.
8614 * libc/time/tzset.c: New file containing tzset() routine.
8615 * libc/time/tzset_r.c: New file containing _tzset_r and
8616 internal routine for calculating timezone changes for specified year.
8617
8618 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8619
8620 * configure.in (CRT0_DIR): Set to libc/.
8621 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8622 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8623 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8624 $(CRT1_DIR)/$(CRT1).
8625 * libc/machine/xstormy16/Makefile.in: Regenerated.
8626 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8627 * libc/machine/xstormy16/configure: Regenerated.
8628
8629 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8630
8631 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8632 fails, don't bail out, and try to correct next time.
8633
8634 * libc/include/sys/config.h: Include limits.h.
8635
8636 2002-04-12 Eric Norum <eric.norum@usask.com>
8637
8638 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8639 routine to allow autoconf to determine that building executables
8640 for rtems works.
8641 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8642 (rtems_gxx_mutex_once): Ditto.
8643
8644 2002-04-09 Tom Rix <trix@redhat.com>
8645
8646 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8647
8648 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8649
8650 * libc/include/time.h: Fix strptime declaration.
8651 * libc/time/Makefile.am: Add strptime.c.
8652 * libc/time/Makefile.in: Regenerated.
8653 * libc/time/strptime.c: New file.
8654
8655 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8656
8657 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8658 siglongjmp prototype, and sigsetjmp macro definition.
8659 * libc/sys/linux/siglongjmp.c: New file.
8660 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8661 * libc/sys/linux/Makefile.in: Regenerated.
8662
8663 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8664
8665 * Makefile.am: Add support for installing crt1.o if one exists.
8666 * configure.host: Specify crt1.o for linux.
8667 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8668 * Makefile.in: Regenerated.
8669 * configure: Ditto.
8670 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8671 Added for non-Cygwin, non-RTEMS configurations.
8672 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8673 * libc/sys/linux/Makefile.in: Regenerated.
8674 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8675 by gcc. This fixes problem with reconfiguring linux newlib build.
8676 * libc/sys/linux/sysconf.c: New file.
8677
8678 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8679
8680 * configure.host: Add support for machine subdirectory of
8681 sys subdirectory.
8682 * configure.in: Add check for sys machine subdirectory.
8683 * Makefile.am: Ditto.
8684 * configure: Regenerated.
8685 * Makefile.in: Ditto.
8686 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8687 * libc/sys/linux/sys/syscall.h: Ditto.
8688 * libc/sys/linux/sleep.c: New file.
8689 * libc/sys/linux/socket.c: Ditto.
8690 * libc/sys/linux/sockops.h: Ditto.
8691 * libc/sys/linux/stack.c: Ditto.
8692 * libc/sys/linux/usleep.c: Ditto.
8693 * libc/sys/linux/machine/Makefile.am: Ditto.
8694 * libc/sys/linux/machine/Makefile.in: Ditto.
8695 * libc/sys/linux/machine/aclocal.m4: Ditto.
8696 * libc/sys/linux/machine/configure: Ditto.
8697 * libc/sys/linux/machine/configure.in: Ditto.
8698 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8699 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8700 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8701 * libc/sys/linux/machine/i386/configure: Ditto.
8702 * libc/sys/linux/machine/i386/configure.in: Ditto.
8703 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8704 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8705 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8706 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8707 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8708 * libc/sys/linux/sys/select.h: Ditto.
8709 * libc/sys/linux/configure.in: Add support for machine directory.
8710 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8711 * libc/sys/linux/Makefile.in: Regenerated.
8712 * libc/sys/linux/configure: Ditto.
8713 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8714 * libc/sys/linux/inode.c: Ditto.
8715 * libc/sys/linux/linux.c: Ditto.
8716 * libc/sys/linux/process.c: Ditto.
8717 * libc/sys/linux/systat.c: Ditto.
8718 * libc/sys/linux/time.c: Ditto.
8719 * libc/sys/linux/wait.c: Ditto.
8720 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8721 * libc/sys/linux/io.c: Change header plus add readv/writev.
8722 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8723 use __sigsuspend syscall.
8724 * libc/sys/linux/select.c: Change header plus change select to
8725 use _newselect syscall.
8726 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8727 used by glibc header files.
8728 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8729 types.
8730
8731 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8732
8733 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8734 initializing a struct _reent that has been dynamically allocated.
8735 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8736 _REENT_SMALL and does nothing otherwise.
8737 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8738 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8739 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8740 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8741 [_REENT_SMALL](struct _misc_reent): New structure containing
8742 miscellaneous reentrant areas needed by newlib.
8743 [_REENT_SMALL](struct _reent): Add _misc pointer.
8744 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8745 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8746 and _REENT_STRTOK_LAST macros.
8747 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8748 and _REENT_MBLEN_STATE macros.
8749 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8750 and _REENT_MBTOWC_STATE macros.
8751 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8752 and _REENT_WCTOMB_STATE macros.
8753
8754 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8755
8756 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8757
8758 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8759
8760 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8761
8762 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8763
8764 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8765 Store high part of leading bytes too.
8766
8767 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8768
8769 * libm/math/ef_hypot.c: Increase scale factor to 68.
8770
8771 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8772
8773 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8774 error.
8775
8776 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8777
8778 * libc/sys/go32/access.c: Change license to relaxed license
8779 used in identical file throughout newlib/libgloss.
8780
8781 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8782
8783 * libc/sys/arm/access.c: New file.
8784 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8785 * libc/sys/arm/Makefile.in: Regenerate.
8786 * libc/sys/arm/syscalls.c (_stat): New function.
8787
8788 2002-03-11 Michael Meissner <meissner@redhat.com>
8789
8790 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8791 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8792 * libc/machine/mips/Makefile.in: Regenerate.
8793 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8794 * libc/machine/mips/memset.c: Dito.
8795 * libc/machine/mips/strcmp.c: Dito.
8796 * libc/machine/mips/strlen.c: Dito.
8797 * libc/machine/mips/strncmp.c: Dito.
8798
8799 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8800
8801 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8802 object so it works for shared library or statici library.
8803 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8804
8805 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8806 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8807 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8808 (tzname): Defined for all platforms.
8809 (daylight, timezone): Defined only for CYGWIN.
8810 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8811 environment set up.
8812 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8813 environment variable is set.
8814 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8815 tzset_r.c.
8816 * libc/time/Makefile.in: Regenerated.
8817 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8818 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8819 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8820 * libc/time/local.h: New local header file.
8821 * libc/time/mktime.c (mktime): Add timezone support.
8822 * libc/time/mktm_r.c: New file which is the common engine
8823 for gmtime_r and lcltime_r. This code has timezone support.
8824 * libc/time/strftime.c (strftime): Add %Z timezone support.
8825 * libc/time/tzlock.c: New file containing timezone lock stubs.
8826 * libc/time/tzset.c: New file containing tzset() routine.
8827 * libc/time/tzset_r.c: New file containing _tzset_r and
8828 internal routine for calculating timezone changes for specified year.
8829
8830 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8831
8832 * configure.in (CRT0_DIR): Set to libc/.
8833 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8834 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8835 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8836 $(CRT1_DIR)/$(CRT1).
8837 * libc/machine/xstormy16/Makefile.in: Regenerated.
8838 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8839 * libc/machine/xstormy16/configure: Regenerated.
8840
8841 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8842
8843 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8844 fails, don't bail out, and try to correct next time.
8845
8846 * libc/include/sys/config.h: Include limits.h.
8847
8848 2002-04-12 Eric Norum <eric.norum@usask.com>
8849
8850 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8851 routine to allow autoconf to determine that building executables
8852 for rtems works.
8853 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8854 (rtems_gxx_mutex_once): Ditto.
8855
8856 2002-04-09 Tom Rix <trix@redhat.com>
8857
8858 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8859
8860 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8861
8862 * libc/include/time.h: Fix strptime declaration.
8863 * libc/time/Makefile.am: Add strptime.c.
8864 * libc/time/Makefile.in: Regenerated.
8865 * libc/time/strptime.c: New file.
8866
8867 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8868
8869 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8870 siglongjmp prototype, and sigsetjmp macro definition.
8871 * libc/sys/linux/siglongjmp.c: New file.
8872 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8873 * libc/sys/linux/Makefile.in: Regenerated.
8874
8875 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8876
8877 * Makefile.am: Add support for installing crt1.o if one exists.
8878 * configure.host: Specify crt1.o for linux.
8879 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8880 * Makefile.in: Regenerated.
8881 * configure: Ditto.
8882 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8883 Added for non-Cygwin, non-RTEMS configurations.
8884 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8885 * libc/sys/linux/Makefile.in: Regenerated.
8886 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8887 by gcc. This fixes problem with reconfiguring linux newlib build.
8888 * libc/sys/linux/sysconf.c: New file.
8889
8890 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8891
8892 * configure.host: Add support for machine subdirectory of
8893 sys subdirectory.
8894 * configure.in: Add check for sys machine subdirectory.
8895 * Makefile.am: Ditto.
8896 * configure: Regenerated.
8897 * Makefile.in: Ditto.
8898 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8899 * libc/sys/linux/sys/syscall.h: Ditto.
8900 * libc/sys/linux/sleep.c: New file.
8901 * libc/sys/linux/socket.c: Ditto.
8902 * libc/sys/linux/sockops.h: Ditto.
8903 * libc/sys/linux/stack.c: Ditto.
8904 * libc/sys/linux/usleep.c: Ditto.
8905 * libc/sys/linux/machine/Makefile.am: Ditto.
8906 * libc/sys/linux/machine/Makefile.in: Ditto.
8907 * libc/sys/linux/machine/aclocal.m4: Ditto.
8908 * libc/sys/linux/machine/configure: Ditto.
8909 * libc/sys/linux/machine/configure.in: Ditto.
8910 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8911 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8912 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8913 * libc/sys/linux/machine/i386/configure: Ditto.
8914 * libc/sys/linux/machine/i386/configure.in: Ditto.
8915 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8916 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8917 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8918 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8919 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8920 * libc/sys/linux/sys/select.h: Ditto.
8921 * libc/sys/linux/configure.in: Add support for machine directory.
8922 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8923 * libc/sys/linux/Makefile.in: Regenerated.
8924 * libc/sys/linux/configure: Ditto.
8925 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8926 * libc/sys/linux/inode.c: Ditto.
8927 * libc/sys/linux/linux.c: Ditto.
8928 * libc/sys/linux/process.c: Ditto.
8929 * libc/sys/linux/systat.c: Ditto.
8930 * libc/sys/linux/time.c: Ditto.
8931 * libc/sys/linux/wait.c: Ditto.
8932 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8933 * libc/sys/linux/io.c: Change header plus add readv/writev.
8934 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8935 use __sigsuspend syscall.
8936 * libc/sys/linux/select.c: Change header plus change select to
8937 use _newselect syscall.
8938 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8939 used by glibc header files.
8940 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8941 types.
8942
8943 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8944
8945 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8946 initializing a struct _reent that has been dynamically allocated.
8947 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8948 _REENT_SMALL and does nothing otherwise.
8949 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8950 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8951 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8952 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8953 [_REENT_SMALL](struct _misc_reent): New structure containing
8954 miscellaneous reentrant areas needed by newlib.
8955 [_REENT_SMALL](struct _reent): Add _misc pointer.
8956 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8957 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8958 and _REENT_STRTOK_LAST macros.
8959 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8960 and _REENT_MBLEN_STATE macros.
8961 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8962 and _REENT_MBTOWC_STATE macros.
8963 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8964 and _REENT_WCTOMB_STATE macros.
8965
8966 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8967
8968 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8969
8970 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8971
8972 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8973
8974 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8975
8976 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8977 Store high part of leading bytes too.
8978
8979 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8980
8981 * libm/math/ef_hypot.c: Increase scale factor to 68.
8982
8983 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8984
8985 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8986 error.
8987
8988 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8989
8990 * libc/sys/go32/access.c: Change license to relaxed license
8991 used in identical file throughout newlib/libgloss.
8992
8993 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8994
8995 * libc/sys/arm/access.c: New file.
8996 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8997 * libc/sys/arm/Makefile.in: Regenerate.
8998 * libc/sys/arm/syscalls.c (_stat): New function.
8999
9000 2002-03-11 Michael Meissner <meissner@redhat.com>
9001
9002 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9003 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9004 * libc/machine/mips/Makefile.in: Regenerate.
9005 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9006 * libc/machine/mips/memset.c: Dito.
9007 * libc/machine/mips/strcmp.c: Dito.
9008 * libc/machine/mips/strlen.c: Dito.
9009 * libc/machine/mips/strncmp.c: Dito.
9010
9011 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9012
9013 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9014 object so it works for shared library or statici library.
9015 * libc/machine/i386/Makefile.in: Regenerated.
9016
9017 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9018
9019 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9020 Add memcpy.S, memset.S and strcpy.S.
9021 * libc/machine/sh/Makefile.in: Regenerate.
9022 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9023 (SHHI, SHLO): Define.
9024 * libc/machine/sh/memset.S: Add code for SH5.
9025 * libc/machine/sh/memset.S: Likewise.
9026 * libc/machine/sh/strcpy.S: Likewise.
9027
9028 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9029
9030 * configure.host: Add check for --disable-newlib-io-float
9031 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9032 if appropriate.
9033 * acinclude.m4: Added --disable-newlib-io-float option.
9034 * aclocal.m4: Regenerated.
9035 * configure: Ditto.
9036 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9037 * libc/*/aclocal.m4 libc/*/configure
9038 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9039 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9040 if NO_FLOATING_POINT flag is not defined.
9041
9042 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9043
9044 * libc/include/sys/config.h: Add __extension__ in front of
9045 long long references.
9046
9047 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9048
9049 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9050 (_stat): Ditto.
9051
9052 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9053
9054 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9055 of off_t.
9056
9057 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9058
9059 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9060 clobbered registers.
9061
9062 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9063
9064 * configure.host (newlib_cflags): When host is in m68* add
9065 -DCOMPACT_CTYPE.
9066
9067 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9068
9069 * libc/include/sys/config.h: Add definitions for
9070 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9071
9072 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9073
9074 * libc/sys/mmixware/link.c: New.
9075 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9076 volatile.
9077 * libc/sys/mmixware/times.c (_times): Renamed from times.
9078 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9079 properly by reading previous contents, not through BinaryReadWrite.
9080 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9081 * libc/sys/mmixware/Makefile.in: Regenerate.
9082
9083 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9084
9085 * libc/include/grp.h: Don't declare group functions when compiling
9086 Cygwin.
9087
9088 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9089
9090 * libc/include/grp.h: Include Cygwin specific header.
9091 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9092 when compiling for Cygwin.
9093 * libc/include/sys/types.h: Don't define off_t, uid_t
9094 and gid_t when compiling for Cygwin.
9095
9096 2002-02-08 matthew green <mrg@redhat.com>
9097
9098 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9099 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9100
9101 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9102
9103 Contribute sh64-elf.
9104 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9105 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9106 support in printf.
9107 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9108 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9109 any labels.
9110 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9111 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9112 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9113 * libc/machine/sh/configure.in: Rework conditionals.
9114 * libc/machine/sh/Makefile.am: Likewise.
9115 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9116 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9117 * configure.host: Match `sh*'.
9118 * libc/include/machine/setjmp.h: Define for SH5.
9119 * libc/machine/sh/configure.in: Detect SH5.
9120 * libc/machine/sh/configure: Rebuilt.
9121 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9122 * libc/machine/sh/Makefile.in: Rebuilt.
9123 * libc/machine/sh/asm.h: Adjust for SH5.
9124 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9125 * libc/sys/sh/crt0.S: Likewise.
9126 * libc/sys/sh/trap.S: Likewise.
9127
9128 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9129
9130 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9131 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9132 (LIB_SOURCES): Remove $(mach_add_src).
9133 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9134 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9135 * libc/machine/i386/Makefile.in: Regenerate.
9136
9137 2002-02-05 Manik Raina <manik@cisco.com>
9138
9139 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9140 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9141 s, p, k, and outstr.
9142 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9143
9144 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9145
9146 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9147 _REENT_CHECK_EMERGENCY macro.
9148
9149 2002-02-03 matthew green <mrg@redhat.com>
9150
9151 * libc/reent/signgam.c (__signgam): Fix error in previous.
9152
9153 2002-02-02 matthew green <mrg@redhat.com>
9154
9155 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9156
9157 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9158 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9159 * libc/include/sys/reent.h (struct _reent): Completely new version
9160 for _REENT_SMALL.
9161 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9162 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9163 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9164 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9165 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9166 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9167 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9168 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9169 (_REENT_EMERGENCY): Likewise.
9170
9171 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9172 the start of the real __sFILE, used for stdin, stdout and stderr until
9173 they are setup properly.
9174 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9175 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9176 allocated stdin, stdout and stderr.
9177 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9178 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9179 * libc/stdio/perror.c (_perror_r): Likewise.
9180 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9181 * libc/stdio/putchar.c (_putchar_r): Likewise.
9182 * libc/stdio/puts.c (_puts_r): Likewise.
9183 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9184 * libc/stdio/vprintf.c (vprintf): Likewise.
9185 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9186
9187 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9188
9189 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9190 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9191 for _REENT_SMALL.
9192 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9193 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9194
9195 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9196 _REENT_SMALL.
9197 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9198 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9199 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9200 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9201 * libc/stdlib/rand48.c (__dorand48): Likewise.
9202 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9203 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9204 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9205 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9206 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9207 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9208 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9209 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9210 * libc/stdlib/rand.c (rand): Likewise.
9211
9212 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9213 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9214
9215 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9216 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9217 * libc/include/sys/reent.h (struct _mprec): New structure.
9218
9219 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9220 _unused_strtok_last.
9221 * libc/string/strtok.c (strtok): Use a local static variable.
9222
9223 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9224 (_REENT_EMERGENCY_SIZE): Likewise.
9225 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9226 _REENT_ASCTIME_BUF().
9227 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9228 _REENT_TM().
9229
9230 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9231 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9232 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9233 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9234 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9235 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9236
9237 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9238
9239 * configure.host (xstormy16): Don't use the generic malloc.
9240 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9241 * libc/machine/xstormy16/Makefile.in: Regenerate.
9242 * libc/machine/xstormy16/mallocr.c: New file.
9243 * libc/machine/xstormy16/tiny-malloc.c: New file.
9244
9245 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9246
9247 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9248 when _CYGWIN_TYPES_H is not defined.
9249
9250 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9251
9252 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9253
9254 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9255
9256 * libc/include/sys/signal.h: Remove pthread_kill declaration
9257 when __CYGWIN__ is defined.
9258
9259 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9260
9261 * libc/include/time.h: Add prototype for strptime for Cygwin.
9262
9263 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9264
9265 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9266 dst was not word aligned.
9267
9268 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9269 if too much memory is requested.
9270
9271 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9272
9273 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9274 reads blanks from the input file to break if EOF reached
9275 rather than end processing.
9276
9277 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9278
9279 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9280
9281 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9282
9283 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9284 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9285 libc/include/sys/config.h: Ditto.
9286
9287 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9288
9289 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9290
9291 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9292 Catherine Moore <clm@redhat.com>
9293 Richard Henderson <rth@redhat.com>
9294 Corinna Vinschen <vinschen@redhat.com>
9295
9296 * configure.host: Add support for xstormy16.
9297 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9298 * libc/include/machine/setjmp.h: Add support for xstormy16.
9299 * libc/include/sys/config.h: Add support for xstormy16.
9300 * libc/machine/xstormy16/Makefile.am: New file.
9301 * libc/machine/xstormy16/Makefile.in: New file.
9302 * libc/machine/xstormy16/aclocal.m4: New file.
9303 * libc/machine/xstormy16/configure: New file.
9304 * libc/machine/xstormy16/configure.in: New file.
9305 * libc/machine/xstormy16/setjmp.S: New file.
9306
9307 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9308
9309 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9310 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9311
9312 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9313
9314 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9315 * libm/machine/Makefile.in: Regenerated through automake.
9316
9317 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9318
9319 * Makefile.am (DOCDIR): Force to empty string when doc
9320 directory is not present.
9321
9322 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9323
9324 * libc/machine/i386/f_*: Move to libm/machine/i386.
9325
9326 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9327
9328 * libm/machine/Makefile.am: Add dummy doc stub so
9329 "make info" works.
9330
9331 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9332
9333 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9334
9335 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9336
9337 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9338 $(COMPILE) rather than $(CC).
9339 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9340 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9341 $(LIB_COMPILE) change.
9342 (vfiprintf.$(oext)): Likewise.
9343
9344 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9345
9346 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9347 conditionalized including of getopt stuff.
9348
9349 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9350
9351 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9352 compile line.
9353 (vfiprintf.$(oext)): Likewise.
9354
9355 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9356
9357 * Makefile.shared: New file.
9358 * libc/sys/linux/shared.ld: New file.
9359 * libm/machine/*: New files.
9360 * libm/machine/i386/*: New files.
9361 * Makefile.am: Add libtool support. Change math and mathfp
9362 references to variables.
9363 * configure.host: Add variables for libtool support. Add
9364 libm_machine_dir variable.
9365 * configure.in: Add objectlist variables, for libtool
9366 support. Add CC_FOR_BUILD tests.
9367 * libc/Makefile.am: Add libtool support. Change crt0.o
9368 reference to be a variable reference.
9369 * libc/configure.in: Add libtool support. Change sublib
9370 names to be lib${subdir}.la when using libtool.
9371 * libc/ctype/Makefile.am: Add libtool support.
9372 * libc/errno/Makefile.am: Likewise.
9373 * libc/locale/Makefile.am: Likewise.
9374 * libc/machine/Makefile.am: Likewise.
9375 * libc/machine/configure.in: Likewise.
9376 * libc/machine/i386/Makefile.am: Likewise.
9377 * libc/machine/i386/configure.in: Likewise.
9378 * libc/misc/Makefile.am: Likewise.
9379 * libc/posix/Makefile.am: Likewise.
9380 * libc/reent/Makefile.am: Likewise.
9381 * libc/signal/Makefile.am: Likewise.
9382 * libc/stdio/Makefile.am: Likewise.
9383 * libc/stdlib/Makefile.am: Likewise.
9384 * libc/string/Makefile.am: Likewise.
9385 * libc/sys/Makefile.am: Likewise.
9386 * libc/sys/configure.in: Likewise.
9387 * libc/sys/linux/Makefile.am: Add libtool support. Change
9388 awk reference to a variable reference. Change signal.h
9389 reference to a variable reference.
9390 * libc/sys/linux/configure.in: Add libtool support.
9391 * libc/syscalls/Makefile.am: Likewise.
9392 * libc/time/Makefile.am: Likewise.
9393 * libc/unix/Makefile.am: Likewise.
9394 * libm/Makefile.am: Add libtool support. Change math and
9395 mathfp references to variables.
9396 * libm/configure.in: Add libtool support. Add
9397 LIBM_MACHINE_LIB variable.
9398 * libm/common/Makefile.am: Add libtool support.
9399 * libm/math/Makefile.am: Likewise.
9400 * libm/mathfp/Makefile.am: Likewise.
9401 Regenerate all Makefile.in, aclocal.m4, and configure.
9402
9403 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9404
9405 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9406
9407 2001-12-06 John Peacock <jpeacock@rowman.com>
9408
9409 * libc/include/sys/unistd.h: Correct ualarm declaration.
9410
9411 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9412
9413 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9414 vector before calling the initialisation functions.
9415
9416 2001-11-29 Christopher Faylor <cgf@redhat.com>
9417
9418 * libc/include/dirent.h: Protect against multiple inclusion.
9419
9420 2001-11-27 Christopher Faylor <cgf@redhat.com>
9421
9422 * libc/include/sys/types.h: Define useconds_t.
9423 * libc/include/sys/ulimit.h: Declare ualarm.
9424
9425 2001-11-21 Christopher Faylor <cgf@redhat.com>
9426
9427 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9428
9429 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9430
9431 * libc/sys/mmixware/*: Tweak license header in all source files.
9432
9433 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9434
9435 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9436 to here. Rearrange for general inclusion by stdlib.h.
9437 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9438 isn't defined.
9439 * libc/sys/linux/include/alloca.h: Move to libc/include.
9440
9441 2001-11-12 Anthony Green <green@redhat.com>
9442
9443 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9444
9445 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9446
9447 * libc/sys/mmixware/*: Correct spacing in all source files.
9448 * libc/sys/mmixware/syscall.h: Move misplaced file...
9449 * libc/sys/mmixware/sys/syscall.h: ...here.
9450
9451 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9452
9453 * libc/include/machine/ieeefp.h: Add support for mmix target.
9454 * libc/include/machine/setjmp.h: Ditto.
9455 * configure.host: Ditto.
9456 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9457 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9458 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9459 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9460 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9461 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9462 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9463 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9464 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9465 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9466 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9467 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9468 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9469 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9470 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9471 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9472 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9473 libc/sys/mmixware/aclocal.m4: Generate.
9474
9475 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9476
9477 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9478 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9479 when __CYGWIN__ is defined.
9480 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9481 logwtmp().
9482
9483 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9484
9485 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9486 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9487 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9488 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9489
9490 2001-10-24 Christopher Faylor <cgf@redhat.com>
9491
9492 * libc/stdio/fseek.c: Reset pointer to buffer base
9493 when forced to seek outside of current buffer contents.
9494 This prevents the code from erroneously thinking there is
9495 anything in the current buffer.
9496
9497 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9498
9499 * libc/include/math.h: The C++ standard adds the single-precision
9500 versions of the elementary functions.
9501
9502 2001-10-22 Christopher Faylor <cgf@redhat.com>
9503
9504 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9505 throughout.
9506 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9507 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9508 * system.c (_system_r): Ditto.
9509
9510 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9511
9512 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9513 __CYGWIN__ or __rtems__ is defined.
9514
9515 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9516
9517 * libc/include/stdlib.h: add declarations for
9518 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9519 * libc/stdio/local.h: remove declarations of
9520 __strtoull_r and __strtoll_r.
9521 * libc/stdio/vfscanf.c(__svfscanf_r): call
9522 _strtoull_r instead of __strtoull_r. Ditto
9523 _strtoll_r vs. __strtoll_r.
9524 * libc/stdlib/Makefile.am: add new files to
9525 .c list and .def list
9526 * libc/stdlib/Makefile.in: regenerate
9527 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9528 as _strtoll_r
9529 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9530 as _strtoull_r
9531 * libc/stdlib/strtoull.c: new file
9532 * libc/stdlib/strtoll.c: new file
9533
9534 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9535
9536 * libc/include/process.h: Add getpid() declaration.
9537
9538 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9539
9540 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9541 for new style arm/elf ctor/dtor handling.
9542 Minor formatting tidy up.
9543
9544 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9545
9546 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9547 and strtoull_r.c.
9548 * libc/stdlib/Makefile.in: Regenerated.
9549 * libc/stdlib/strtoll_r.c: New file.
9550 * libc/stdlib/strtoull_r.c: New file.
9551 * libc/stdio/local.h: Add prototypes for long long string
9552 conversion routines.
9553 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9554 tied to %L integer conversion specifier.
9555
9556 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9557
9558 * strftime.c (strftime): Fix "%W" implementation to properly handle
9559 Mondays too.
9560
9561 2001-09-07 Jeff Law <law@redhat.com>
9562
9563 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9564 __fini with "mov.l" instead of "mov.w".
9565
9566 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9567
9568 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9569 and getopt.h.
9570
9571 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9572
9573 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9574
9575 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9576
9577 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9578 field.
9579 (__DIRENT_VERSION): New define.
9580
9581 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9582
9583 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9584 Shrink __d_reserved accordingly to keep structure size.
9585 (dirfd): Declare external.
9586
9587 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9588
9589 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9590
9591 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9592
9593 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9594 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9595 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9596 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9597 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9598 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9599 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9600 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9601 Add conditional compilation to avoid HW FPU instructions
9602 when compiled for soft-float.
9603
9604 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9605
9606 * Makefile.am: Add check for ln failing when creating libg.a
9607 so that cp gets used as a backup.
9608 * Makefile.in: Regenerated.
9609
9610 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9611
9612 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9613 No longer include time.h. Add struct __tm to use for
9614 _localtime_buf in the reentrant structure. Add a
9615 _NULL definition to use in initializing the reentrant struct.
9616 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9617 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9618 <sys/_types.h>.
9619 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9620 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9621 _localtime_buf to be struct tm *.
9622
9623 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9624
9625 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9626 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9627 __ctors_end.
9628 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9629 (_unlink): New stub function.
9630
9631 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9632
9633 * libc/include/sys/errno.h: Add a cautionary comment.
9634
9635 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9636
9637 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9638 for SIZE_SZ so that alignment ends up a minimum of 8.
9639
9640 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9641
9642 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9643 arguments.
9644
9645 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9646 Cygwin.
9647
9648 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9649
9650 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9651 macro constants for mallopt options.
9652 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9653
9654 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9655
9656 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9657 otherwise default.
9658
9659 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9660
9661 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9662
9663 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9664
9665 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9666 Define for little endian ARMs.
9667
9668 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9669 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9670
9671 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9672
9673 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9674
9675 2001-06-11 Egor Duda <deo@logos-m.ru>
9676
9677 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9678 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9679 initialized memory region. Platform can define COMPACT_CTYPE
9680 to avoid allocation of the additional 128 bytes of data.
9681 Add pointer to _ctype_ array. Always initialize all _ctype_
9682 array elements.
9683
9684 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9685
9686 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9687 NULL pointer.
9688
9689 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9690
9691 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9692
9693 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9694
9695 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9696 matching, non-word alignment, and the length is <= 4 but more than
9697 enough to move them over a word boundary.
9698 Add comments explaining what each instruction does.
9699
9700 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9701
9702 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
9703 * libc/include/sys/unistd.h: Ditto.
9704
9705 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9706
9707 * libc/string/strrchr.c: Use strchr for the speed improvements.
9708
9709 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9710
9711 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9712 real file systems, let __smakebuf() determine if line buffering
9713 should be used for stdout.
9714
9715 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9716
9717 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9718
9719 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9720
9721 * libc/include/stdlib.h: Add prototype for _strtod_r.
9722
9723 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9724
9725 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9726 * libc/stdio/vprintf.c (_vprintf_r): new function
9727 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9728 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9729 _DEFUN, and call _vfprintf_r, not vfprintf.
9730 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9731 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
9732 _DEFUN, and call _vfprintf_r, not vfprintf.
9733
9734 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
9735
9736 * libc/include/sys/unistd.h [X_OK]: Use better protection against
9737 Cygwin X_OK definitions in sys/file.h.
9738
9739 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
9740
9741 * libc/include/sys/time.h: Define timercmp and other macros for
9742 __CYGWIN__, too.
9743
9744 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9745
9746 * acinclude.m4: Added --enable-malloc-debugging configure flag.
9747 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
9748 --enable-malloc-debugging selected.
9749 * aclocal.m4 configure: Regenerated.
9750 libm/aclocal.m4 libm/configure: Ditto.
9751 * libc/aclocal.m4 libc/configure: Ditto.
9752 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
9753 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
9754 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
9755 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
9756 * doc/aclocal.m4 doc/configure: Ditto.
9757
9758 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9759
9760 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
9761 into one list.
9762 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
9763 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
9764 function prototypes.
9765 (_fscanf_r, _sscanf_r): Ditto.
9766 * libc/include/stdlib.h: Added _strtod_r prototype.
9767 * libc/stdio/Makefile.am: Add new v*scanf functions.
9768 * libc/stdio/Makefile.in: Regenerate.
9769 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
9770 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
9771 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
9772 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
9773 (sscanf): Changed to call __svfscanf_r with _REENT argument.
9774 (_sscanf_r): New routine.
9775 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
9776 with __svfscanf_r prototype.
9777 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
9778 routines.
9779 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
9780 structure as argument as calls reentrant versions of helper functions
9781 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
9782 to _strtol_r and _strtod_r respectively.
9783 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
9784 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
9785 _REENT argument.
9786 * libc/stdio/vscanf.c: New file.
9787 * libc/stdio/vsscanf.c: Ditto.
9788
9789 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
9790
9791 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
9792 Define daylight to _daylight if it is not defined
9793 Prepare a variable export of timezone based on timezonevariable.
9794 (Cannot be used with the timezone() function.)
9795
9796 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
9797
9798 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
9799 Correct the numerical values.
9800
9801 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
9802
9803 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
9804
9805 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
9806
9807 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
9808 on case insensitve file systems.
9809
9810 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
9811
9812 * libc/include/sys/features.h: Add appropriate defines for Cygwin
9813 pthread support.
9814 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
9815 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
9816 types. Include <cygwin/types.h> for the cygwin specific typedefs.
9817
9818 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
9819
9820 * libc/include/machine/ieeefp.h: Comment about new configuration
9821 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
9822 * libm/common/fdlib.h: Define new macros for testing floats.
9823 * libm/common/sf_*: Use them.
9824 * libm/math/ef_*: Likewise.
9825 * libm/math/sf_*: Likewise.
9826
9827 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
9828
9829 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
9830 prolog to by-pass possible assembler error.
9831
9832 2001-03-21 Egor Duda <deo@logos-m.ru>
9833
9834 Allow building internal stubs for non-reentrant syscalls
9835 if target provides its own malloc
9836 * libc/reent/reent.c (errno): Move definition here.
9837 * libc/reent/sbrkr.c: From here.
9838
9839 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
9840
9841 * libc/include/sys/types.h (BSD int typedefs): Guard with
9842 _BSDTYPES_DEFINED rather than _WINSOCK_H.
9843 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
9844 _SYS_TYPES_FD_SET.
9845 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
9846 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
9847
9848 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
9849
9850 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
9851 _PC_POSIX_SECURITY constants for Cygwin.
9852
9853 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
9854
9855 * libc/sys/cygwin/crt0.c: Add copyright hint.
9856 * libc/sys/cygwin/sys/dirent.h: Ditto.
9857 * libc/sys/cygwin/sys/param.h: Ditto.
9858 * libc/sys/cygwin/sys/utime.h: Ditto.
9859 * libc/sys/cygwin/sys/utmp.h: Ditto.
9860
9861 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9862
9863 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
9864 equivalent to LONGINT.
9865
9866 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
9867
9868 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
9869 jmpbuf on MIPS64 targets.
9870 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
9871
9872 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
9873
9874 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
9875 declarations.
9876
9877 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
9878
9879 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
9880 For RTEMS, define to be ssize_t. Default to int if not defined.
9881 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
9882 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
9883 * libc/stdio/local.h (__sread, __swrite): Likewise.
9884 * libc/include/sys/reent.h (_read, _write): Likewise.
9885 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
9886 * libc/syscalls/sysread.c (read): Likewise.
9887 * libc/syscalls/syswrite.c (write): Likewise.
9888
9889 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
9890
9891 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
9892
9893 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
9894
9895 * libc/include/sys/stat.h: Use special defines for executable stat bits
9896 when compiling for Cygwin.
9897 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
9898 for Cygwin.
9899
9900 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9901
9902 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
9903 of strtok_r is always defined.
9904
9905 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9906
9907 * libc/include/machine/ansi.h: New dummy header file.
9908
9909 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
9910
9911 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
9912 changed the copyright information to allow free modification of the
9913 file with no reference to "copying.dj".
9914 * libc/include/sys/stat-dj.h: Ditto.
9915 * libc/machine/i386/setjmp.S: Ditto.
9916 * libc/sys/h8300hms/sys/file.h: Ditto.
9917 * libc/sys/sysmec/access.c: Ditto.
9918 * libc/sys/sysnecv850/access.c: Ditto.
9919 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
9920 * libc/stdlib/getenv_r.c: Ditto.
9921 * libc/stdlib/putenv_r.c: Ditto.
9922 * libc/stdlib/setenv_r.c: Ditto.
9923 * libc/stdlib/getenv.c: Removed DJ reference since any possible
9924 modifications will now be in the _r version of this file.
9925 * libc/stdlib/putenv.c: Ditto.
9926 * libc/stdlib/setenv.c: Ditto.
9927 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
9928 valid. Added a reference to DJ's web page that contains his address.
9929 * libc/sys/go32/*.s: Removed references to DJ's old address.
9930 * libc/sys/go32/*.c: Ditto.
9931 * libc/sys/go32/*.h: Ditto.
9932 * libc/sys/go32/*.S: Ditto.
9933 * libc/sys/go32/sys/*.h: Ditto.
9934
9935 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
9936
9937 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
9938 HAVE_FCNTL flag check.
9939 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
9940 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
9941
9942 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
9943
9944 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
9945
9946 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9947
9948 * libc/include/stdlib.h: Add declarations of rand48 functions and
9949 their reentrant versions.
9950 * libc/include/sys/reent.h: Move macros from rand48.h. Add
9951 struct _rand48 for shared parameters of rand48 functions.
9952 (struct _reent): Add a variable _r48 of struct _rand48.
9953 (_REENT_INIT): Add _r48 initialization.
9954 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
9955 (CHEWOUT_FILES): Add rand48.def.
9956 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
9957 * libc/stdlib/Makefile.in: Regenerated.
9958 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
9959 NetBSD C library.
9960 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
9961 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
9962 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
9963 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
9964 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
9965 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
9966 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
9967 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
9968 * libc/stdlib/rand48.c (__dorand48): Ditto.
9969 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
9970 parameters into macros referring them in the reentrant structure.
9971
9972 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
9973
9974 * libc/include/sys/stat.h: Add mknod for Cygwin now that
9975 Cygwin definition has correct prototype.
9976
9977 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9978
9979 * libc/include/sys/stat.h: Must revert change for mknod
9980 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
9981 prototype.
9982
9983 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9984
9985 * libc/include/stdio.h: Revert putw prototype.
9986
9987 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
9988
9989 * libc/include/grp.h: add prototype for initgroups.
9990 * libc/include/stdio.h: fix prototype for putw.
9991 * libc/include/sys/signal.h: add prototype for killpg.
9992 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
9993 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
9994 vhangup and remove duplicate sysconf prototype.
9995
9996 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
9997
9998 * libc/sys/rtems/sys/types.h: Removed.
9999
10000 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10001
10002 * libc/include/locale.h: add LC_MESSAGES definition
10003
10004 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10005
10006 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10007 SYS_get_argN):
10008 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10009 __setup_argv_and_call_main): New.
10010
10011 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10012
10013 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10014 if defined.
10015 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10016 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10017 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10018 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10019
10020 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10021
10022 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10023 compiling under Cygwin.
10024
10025 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10026
10027 * libc/include/math.h (signgam): Change to errno-like solution
10028 using a function to return the address of the real signgam.
10029 * libc/reent/signgam.c: New file containing __signgam().
10030 * libc/reent/Makefile.am: Added signgam.c to list of files.
10031 * libc/reent/Makefile.in: Regenerated.
10032
10033 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10034
10035 * libc/sys/sh/syscalls.c (_times): New.
10036
10037 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10038 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10039
10040 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10041
10042 * libc/include/math.h (signgam): Regress previous fix as
10043 it does not handle programs with extern int signgam in them.
10044
10045 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10046
10047 * libc/include/math.h (signgam): Changed to a macro refering to
10048 its location in the reentrant structure.
10049
10050 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10051
10052 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10053 that suppressed . for %.0f, 0.1. Check now looks if there
10054 are padding zeroes (expt) in addition to any digits (ndig) to
10055 print.
10056
10057 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10058
10059 * libc/sys/arc/Makefile.am: New file.
10060 * libc/sys/arc/Makefile.in: Ditto.
10061 * libc/sys/arc/aclocal.m4: Ditto.
10062 * libc/sys/arc/configure: Ditto.
10063 * libc/sys/arc/configure.in: Ditto.
10064 * libc/sys/arc/crt0.S: Ditto.
10065 * libc/sys/arc/isatty.c: Ditto.
10066 * libc/sys/arc/mem-layout.c: Ditto.
10067 * libc/sys/arc/sbrk.c: Ditto.
10068 * libc/sys/arc/syscalls.c: Ditto.
10069 * libc/sys/arc/sys/syscall.h: Ditto.
10070
10071 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10072
10073 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10074
10075 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10076
10077 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10078
10079 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10080
10081 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10082
10083 2001-01-09 Nick Clifton <nickc@redhat.com>
10084
10085 * configure.host (v859): Remove unsupported compiler options.
10086
10087 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10088
10089 * src/newlib/configure.host (*-*-rtems*): add printf long long
10090 support for RTEMS.
10091
10092 2000-12-19 Graham Stott <grahams@redhat.com>
10093
10094 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10095
10096 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10097
10098 * configure.host: Turn on long double I/O for Cygwin.
10099
10100 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10101
10102 * MAINTAINERS: Removed Ranjith.
10103 * NEWS: Updated for 1.9.0.
10104 * README: Updated.
10105 * acinclude.m4: Updated to release 1.9.0.
10106 * aclocal.m4 configure
10107 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10108 libc/machine/aclocal.m4 libc/machine/configure
10109 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10110 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10111 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10112 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10113 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10114 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10115 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10116 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10117 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10118 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10119 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10120 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10121 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10122 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10123 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10124 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10125 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10126 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10127 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10128 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10129 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10130 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10131 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10132 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10133 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10134 libc/sys/aclocal.m4 libc/sys/configure
10135 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10136 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10137 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10138 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10139 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10140 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10141 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10142 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10143 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10144 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10145 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10146 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10147 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10148 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10149 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10150 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10151 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10152 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10153 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10154 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10155 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10156 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10157 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10158 libm/aclocal.m4 libm/configure: Regenerated.
10159
10160 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10161
10162 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10163 when __CYGWIN__ is defined.
10164
10165 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10166
10167 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10168 that categorizes a long double as NaN, Infinity, or other.
10169 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10170 isinfl and isnanl static routines which were i386-specific. Changed
10171 calls to the two removed routines to a single _ldcheck call.
10172 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10173
10174 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10175
10176 * Makefile.am: Fixed install-data-local target to use
10177 $(mkinstalldirs) for the installed header files to ensure
10178 the directories exist before copying.
10179 * Makefile.in: Regenerated.
10180
10181 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10182
10183 * libc/include/sys/unistd.h: Restored Cygwin _SC
10184 constants and moved new constants appropriately
10185 so Cygwin will build.
10186
10187 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10188
10189 * Merge RTEMS specific .h files into main libc/include.
10190 * libc/sys/rtems/include/signal.h: Removed.
10191 * libc/sys/rtems/include/time.h: Removed.
10192 * libc/sys/rtems/sys/features.h: Removed.
10193 * libc/sys/rtems/sys/sched.h: Removed.
10194 * libc/sys/rtems/sys/siginfo.h: Removed.
10195 * libc/sys/rtems/sys/signal.h: Removed.
10196 * libc/sys/rtems/sys/time.h: Removed.
10197 * libc/sys/rtems/sys/times.h: Removed.
10198 definitions for time_t and clock_t since these are
10199 no longer in time.h.
10200 * libc/include/pthread.h: New file.
10201 * libc/include/sys/sched.h: New file.
10202 * libc/include/sys/features.h: New file.
10203 * libc/include/time.h: Removed duplicate definition of clock_t
10204 and time_t, get them from <sys/types.h> instead. Add prototypes
10205 for POSIX clock and timer functionality.
10206 * libc/sys/linux/sys/types.h: Changed to include
10207 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10208 * libc/include/sys/signal.h: Add more complete set of POSIX
10209 signal functionality including real-time and threaded signals.
10210 * libc/include/sys/types.h: Add clock_t, time_t, struct
10211 timespec, and struct itimerspec. Centralizing these makes
10212 things cleaner. RTEMS uses 64-bit dev_t.
10213 Added numerous primitive definitions
10214 for pthreads including macros, pthread_attr_t,
10215 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10216 pthread_once_t, and pthread_t.
10217 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10218 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10219 Feature flags removed and moved to new file <sys/features.h>.
10220 Full set of POSIX sysconf() constants
10221
10222 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10223
10224 * configure.host: Added x86 linux target.
10225 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10226 definitions provided if not already defined.
10227 * libc/sys/linux/crt0.c: New file.
10228 * libc/sys/linux/Makefile.am: Ditto.
10229 * libc/sys/linux/Makefile.in: Ditto.
10230 * libc/sys/linux/aclocal.m4: Ditto.
10231 * libc/sys/linux/brk.c: Ditto.
10232 * libc/sys/linux/configure: Ditto.
10233 * libc/sys/linux/configure.in: Ditto.
10234 * libc/sys/linux/getoptlong.c: Ditto.
10235 * libc/sys/linux/ids.c: Ditto.
10236 * libc/sys/linux/inode.c: Ditto.
10237 * libc/sys/linux/io.c: Ditto.
10238 * libc/sys/linux/linux.c: Ditto.
10239 * libc/sys/linux/process.c: Ditto.
10240 * libc/sys/linux/realpath.c: Ditto.
10241 * libc/sys/linux/select.c: Ditto.
10242 * libc/sys/linux/signal.c: Ditto.
10243 * libc/sys/linux/systat.c: Ditto.
10244 * libc/sys/linux/termios.c: Ditto.
10245 * libc/sys/linux/time.c: Ditto.
10246 * libc/sys/linux/wait.c: Ditto.
10247 * libc/sys/linux/include/alloca.h: Ditto.
10248 * libc/sys/linux/include/getopt.h: Ditto.
10249 * libc/sys/linux/include/stdint.h: Ditto.
10250 * libc/sys/linux/include/unistd.h: Ditto.
10251 * libc/sys/linux/sys/cdefs.h: Ditto.
10252 * libc/sys/linux/sys/dirent.h: Ditto.
10253 * libc/sys/linux/sys/errno.h: Ditto.
10254 * libc/sys/linux/sys/fcntl.h: Ditto.
10255 * libc/sys/linux/sys/file.h: Ditto.
10256 * libc/sys/linux/sys/ioctl.h: Ditto.
10257 * libc/sys/linux/sys/resource.h: Ditto.
10258 * libc/sys/linux/sys/signal.h: Ditto.
10259 * libc/sys/linux/sys/stat.h: Ditto.
10260 * libc/sys/linux/sys/syscall.h: Ditto.
10261 * libc/sys/linux/sys/termios.h: Ditto.
10262 * libc/sys/linux/sys/time.h: Ditto.
10263 * libc/sys/linux/sys/types.h: Ditto.
10264 * libc/sys/linux/sys/utmp.h: Ditto.
10265 * libc/sys/linux/sys/utsname.h: Ditto.
10266 * libc/sys/linux/sys/wait.h: Ditto.
10267
10268 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10269
10270 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10271 can be a relative path to $(top_srcdir)/install.sh so ensure the
10272 autoconf detected settings are properly passed recursively.
10273 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10274 properly to subdirectories.
10275 * Makefile.in: Regenerated.
10276
10277 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10278
10279 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10280 a floating point register unless really printing a floating
10281 point number.
10282
10283 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10284
10285 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10286 Also removed \r's.
10287 (asctoeg): Replaced alloca call with stack array and malloc
10288 when storage exceeds reasonable limit.
10289 (e53toe): Fixed einfin calls missing ldp parameter.
10290 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10291
10292 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10293
10294
10295 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10296
10297 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10298
10299 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10300 * libc/stdlib/Makefile.in: Regenerated.
10301 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10302 * libc/stdio/vfieeefp.h: Added long double bit structures.
10303 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10304 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10305 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10306 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10307 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10308 _strtold routines used for conversions between character
10309 and long double.
10310
10311 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10312
10313 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10314
10315 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10316
10317 * libc/include/machine/time.h: RTEMS systems can configure clock
10318 tick rate so use sysconf() to ask.
10319
10320 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10321
10322 * libc/include/sys/times.h: Add reference to POSIX standard.
10323
10324 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10325
10326 * libc/include/sys/time.h: Added BSD timer manipulation macros
10327 used by RTEMS code.
10328
10329 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10330
10331 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10332 referenced by code generated by gcc 2.8.1.
10333 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10334 satisfy gcc.
10335
10336 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10337
10338 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10339
10340 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10341
10342 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10343
10344 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10345
10346 * configure.host (or16, or32): New entries for OpenCores
10347 OpenRisc CPUs.
10348 (*-*-rtems*): Add -DNO_EXEC.
10349
10350 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10351
10352 * libc/include/sys/errno.h: Added comments on many error numbers.
10353 * libc/string/strerror.c: Added some more strings.
10354
10355 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10356
10357 * libc/sys/sh/syscalls.c (_link): New stub.
10358
10359 2000-11-29 Nick Clifton <nickc@redhat.com>
10360
10361 * configure.host: Add xscale target.
10362 * libc/machine/xscale: New directory.
10363 * libc/machine/xscale/Makefile.am: New file.
10364 * libc/machine/xscale/Makefile.in: New file.
10365 * libc/machine/xscale/aclocal.m4: New file.
10366 * libc/machine/xscale/configure: New file.
10367 * libc/machine/xscale/configure.in: New file.
10368 * libc/machine/xscale/memchr.S: New file.
10369 * libc/machine/xscale/memcmp.S: New file.
10370 * libc/machine/xscale/memcpy.S: New file.
10371 * libc/machine/xscale/memmove.S: New file.
10372 * libc/machine/xscale/memset.S: New file.
10373 * libc/machine/xscale/strchr.S: New file.
10374 * libc/machine/xscale/strcmp.S: New file.
10375 * libc/machine/xscale/strcpy.S: New file.
10376 * libc/machine/xscale/strlen.S: New file.
10377
10378 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10379
10380 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10381 avoid compiler warnings.
10382
10383 2000-11-22 Michael Meissner <meissner@redhat.com>
10384
10385 * libc/posix/execl.c (execl): Don't reference environ directly,
10386 reference it only via a static pointer to avoid problems with some
10387 shared library systems and with different uses of small data where
10388 the user specifies his own version of environ.
10389 * libc/posix/execv.c (execv): Ditto.
10390 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10391 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10392 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10393
10394 * libc/stdlib/getenv.c (environ): Delete unused reference to
10395 environ.
10396
10397 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10398 colorization.
10399 * libc/stdlib/system.c: Ditto.
10400
10401 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10402
10403 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10404 including windows headers.
10405
10406 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10407
10408 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10409 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10410 not defined by sys/dirent.h.
10411 * libc/posix/execvp.c: Added include of dirent.h to get
10412 MAXNAMLEN value which used to be in unistd.h.
10413
10414 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10415
10416 * libc/include/sys/types.h: Change type of i to `size_t' in
10417 FD_ZERO macro to avoid compiler warnings.
10418
10419 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10420
10421 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10422 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10423
10424 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10425
10426 * libc/include/sys/unistd.h: Add defines for sysconf values
10427 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10428 _SC_AVPHYS_PAGES.
10429
10430 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10431
10432 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10433 declarations for __CYGWIN__.
10434
10435 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10436
10437 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10438 case labels to be integral constant expressions, so
10439 use an if/else tree instead.
10440 (_raise_r): Likewise.
10441
10442 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10443
10444 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10445 clipping patch from e-mail reader.
10446
10447 2000-09-13 Will Cohen <wcohen@redhat.com>
10448
10449 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10450 Added return value 0.
10451 (_longjmp): Allow longjmp to return value of second argument
10452 passed to it.
10453
10454 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10455
10456 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10457 inline code to prevent having to include another header file.
10458
10459 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10460
10461 * Makefile.am: Fix space vs. tab problem in install-data-local.
10462 * Makefile.in: Regenerate.
10463
10464 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10465
10466 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10467 (_EXPARM): New macro for defining a function parameter.
10468 * libc/include/stdlib.h: Use _EXPARM.
10469 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10470
10471 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10472
10473 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10474 required, as documented in the gnu coding standards.
10475 * Makefile.in: Regenerate.
10476
10477 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10478
10479 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10480 make O_NDELAY and O_NONBLOCK have the same value.
10481
10482 2000-08-30 Kazu Hirata <kazu@hxi.com>
10483
10484 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10485
10486 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10487
10488 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10489 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10490 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10491 everywhere else.
10492
10493 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10494
10495 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10496 * libc/include/string.h: Don't include <sys/types.h>,
10497 as it causes really bad namespace pollution. Don't declare
10498 swab(), it is properly declared in unistd.h.
10499
10500 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10501
10502 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10503 (broken) support for non-existent /etc/passwd field "comment".
10504
10505 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10506
10507 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10508 only if _DIRENT_HAVE_D_NAMLEN is defined.
10509 (alphasort): aligned prototype with
10510 libc/sys/cygwin/sys/dirent.h and simplified function body.
10511 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10512 long telldir (DIR *) as mentioned in annex B of POSIX.1
10513
10514 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10515
10516 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10517 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10518 Added __CLI and __STI macros (controlled via
10519 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10520 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10521 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10522 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10523 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10524 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10525 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10526 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10527 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10528 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10529 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10530 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10531 for all global entry points.
10532 * libc/machine/i386/setjmp.S: removed code replicated in
10533 libc/machine/i386/i386mach.h and included i386mach.h instead;
10534 Use __CLI and __STI instead of cli and sti.
10535
10536 2000-08-25 DJ Delorie <dj@redhat.com>
10537
10538 * libc/include/sys/unistd.h (environ): this one isn't from the
10539 DLL, no __IMPORT
10540
10541 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10542
10543 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10544 environ when compiling under cygwin since it is already declared in
10545 unistd.h.
10546
10547 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10548
10549 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10550 like x << y-z to the equivalent x << (y-z).
10551 (d2b): changed if statements with assignment to perform the
10552 assignment prior to the if check.
10553 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10554 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10555 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10556 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10557 precedence.
10558 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10559 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10560 execve.c).
10561 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10562 precedence.
10563 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10564 clarify && and || precendence (and to remove pascalism).
10565 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10566 * libm/math/s_infconst.c: added another pair of braces to all
10567 initializers for __infinity (need three: for __infinity[1] array,
10568 for union __dmath, and for i[2]).
10569
10570 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10571
10572 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10573 "getpid" and "kill"; added: uses "write" and "_exit".
10574 Also included unistd.h for "_exit" prototype.
10575 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10576 reent.h for "_fork_r" and "_wait_r" prototypes.
10577 (do_system): changed extern char *environ[] to POSIX-friendly
10578 extern char **environ.
10579 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10580 prototypes.
10581 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10582 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10583 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10584 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10585 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10586 unistd.h for "getpid" prototype.
10587 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10588 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10589 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10590 prototype. Also included stdlib.h for "abort", string.h for
10591 "strdup" and "strncmp" prototypes.
10592 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10593 "strncpy", unistd.h for "read" and "close" prototypes.
10594 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10595 "strcat" prototypes.
10596
10597 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10598
10599 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10600 used later (ifdef __SCLE)
10601 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10602 used later (ifdef MB_CAPABLE)
10603 * libc/string/memset.c (memset): removed unused variables "count"
10604 and "unaligned_addr"
10605 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10606 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10607 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10608 and "gid"
10609
10610 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10611
10612 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10613 "__env_unlock" prototype from "void *" or "char *" to
10614 "struct _reent *" to match real function. Also added include
10615 of envlock.h.
10616 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10617 "__malloc_unlock" prototype from "void *" or "char *" to
10618 "struct _reent *" to match real function.
10619 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10620 prototypes (for getenv_r.c and setenv_r.c).
10621
10622 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10623
10624 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10625 and prototype in cygwin's utmp.h
10626
10627 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10628
10629 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10630
10631 2000-08-09 Nick Clifton <nickc@cygnus.com>
10632
10633 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10634 epilogue and to allow the functions to be used in a Thumb based
10635 toolchain.
10636
10637 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10638
10639 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10640 so size of 0 results in nothing being written to string.
10641 Also fixed code so that when size is non-zero, there is only
10642 a maximum of size - 1 characters written to the array and
10643 a nul terminator is appended at the end.
10644 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10645
10646 2000-08-01 DJ Delorie <dj@redhat.com>
10647
10648 * libc/include/sys/config.h: define __IMPORT appropriately
10649 * libc/include/ctype.h (_ctype_): use __IMPORT
10650 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10651 * libc/include/math.h (__mb_cur_max): ditto
10652 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10653 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10654 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10655 * libc/include/unistd.h (environ): ditto
10656
10657 2000-07-28 Michael Meissner <meissner@redhat.com>
10658
10659 * libc/include/math.h (__infinity): Declare as an array without
10660 bounds to get around small data support. Rewrite Cygwin support
10661 to be more general.
10662 * libm/math/s_infconst.c (__infinity): Ditto.
10663 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10664
10665 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10666
10667 * libc/include/math.h: Use appropriate dll import linkage for
10668 __infinity under Cygwin.
10669
10670 2000-07-13 DJ Delorie <dj@cygnus.com>
10671
10672 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10673
10674 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10675
10676 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10677 to argument list for AngelSWI_Reason_GetCmdLine.
10678
10679 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10680
10681 * configure.host: Add support for AVR target.
10682 * libc/include/machine/ieeefp.h: Likewise.
10683 * libc/include/sys/config.h: Likewise.
10684
10685 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10686
10687 * README: Newlib 1.8.2 must be built in a separate directory
10688 than the sources.
10689
10690 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10691
10692 * libc/include/sys/reent.h (_rand_next): Added __extension__
10693 qualifier as long long type is not strict ANSI.
10694 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10695 to long long constant.
10696
10697 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10698
10699 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10700 `setegid' provided by Cygwin.
10701
10702 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10703
10704 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10705 account for Cygwin.
10706
10707 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10708
10709 * libc/include/sys/reent.h (_rand_next): Changed to
10710 unsigned long long and moved to end of _reent struct in _new union.
10711 (_REENT_INIT): Changed to move _rand_next initialization.
10712 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10713 linear congruential algorithm that is used by DJGPP.
10714
10715 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10716
10717 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10718 * libc/include/sys/config.h: Define __RAND_MAX.
10719
10720 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10721
10722 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10723 standard.
10724
10725 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10726
10727 * libc/include/string.h: Work around problem with strsignal and gdb.
10728
10729 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10730
10731 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
10732 * libc/include/malloc.h: Ditto.
10733 * libc/include/process.h: Ditto.
10734 * libc/include/stdio.h: Ditto.
10735 * libc/include/stdlib.h: Ditto.
10736 * libc/include/time.h: Ditto.
10737 * libc/include/machine/setjmp.h: Ditto.
10738 * libc/include/sys/errno.h: Ditto.
10739 * libc/include/sys/signal.h: Ditto.
10740 * libc/include/sys/stat.h: Ditto.
10741 * libc/include/sys/time.h: Ditto.
10742 * libc/include/sys/unistd.h: Ditto.
10743 * libc/include/string.h: Ditto. strsignal should return a const char *.
10744
10745 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
10746
10747 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
10748 * libm/common/s_log1p.c (log1p): Likewise.
10749 * libm/common/s_scalbn.c (scalbn): Likewise.
10750 * libm/math/e_log.c: Likewise.
10751 * libm/math/e_asin.c: Likewise.
10752 * libm/math/ef_asin.c: Likewise.
10753 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
10754 * libm/math/e_j1.c (pone, qone): Likewise.
10755 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
10756 * libm/math/ef_j1.c (ponef, qonef): Likewise.
10757 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
10758 * libm/mathfp/e_j1.c (pone, qone): Likewise.
10759 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
10760 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
10761
10762 2000-05-19 DJ Delorie <dj@cygnus.com>
10763
10764 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
10765 (__sread): always read in binary mode
10766 (__swrite): always write in binary mode
10767 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
10768 compatibility issues with different dll versions
10769 * libc/stdio/fopen.c: use __stextmode
10770 * libc/stdio/fdopen.c: ditto
10771 * libc/stdio/freopen.c: ditto
10772 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
10773 * libc/stdio/local.h: declare __stextmode
10774
10775 2000-05-18 DJ Delorie <dj@cygnus.com>
10776
10777 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
10778
10779 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10780
10781 * libc/include/ctype.h: Changed tolower and toupper macros
10782 to use __extension__ to prevent pedantic warnings.
10783
10784 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
10785
10786 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
10787 structures.
10788
10789 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
10790
10791 * libc/include/machine/ieeefp.h: Add ia64 support.
10792 * configure.host: Likewise.
10793
10794 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
10795
10796 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
10797 month is now padded with space, not zero. This now conforms to
10798 ANSI standard.
10799
10800 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
10801
10802 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
10803 host or network path") used by cygwin. Add some comments.
10804
10805 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
10806
10807 * libc/include/stdio.h (FILE): define __SCLE for "convert line
10808 endings" for Cygwin.
10809 (__sgetc): convert line endings if needed
10810 (__sputc): ditto
10811 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
10812 * libc/stdio/fopen.c (_fopen_r): ditto
10813 * libc/stdio/freopen.c (freopen): ditto
10814 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
10815 * libc/stdio/fvwrite.c (__sfvwrite): ditto
10816
10817 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
10818
10819 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
10820 post-increment when it is worth it, spacewise.
10821
10822 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10823
10824 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
10825 * libc/stdio/findfp.c (std): Added declaration of flags and file.
10826 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
10827 return type.
10828 * libc/stdio/putchar.c (putchar): Added return statement.
10829 * libc/stdio/refill.c (lflush): Added correct parentheses.
10830 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
10831 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
10832 prints long value to use l qualifier.
10833 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
10834 messages and initialized local values: ilim, ilim1, and spec_case.
10835 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
10836 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
10837 * libc/stdlib/mprec.c: Ditto.
10838 * libc/stdlib/setenv_r.c: Ditto.
10839 * libc/stdlib/strtod.c: Ditto.
10840 * libc/stdlib/strtol.c: Ditto.
10841 * libc/stdlib/strtoul.c: Ditto.
10842 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
10843 * libm/common/sf_log1p.c: Ditto.
10844 * libm/common/sf_scalbn.c: Ditto.
10845 * libm/math/ef_log.c: Ditto.
10846
10847 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
10848
10849 * libc/posix/execvp.c (execvp): Check path for
10850 trailing slash.
10851
10852 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
10853
10854 * libc/include/sys/unistd.h: Add prototypes for
10855 fchmod, fchown, lchown.
10856
10857 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10858
10859 * acinclude.m4: Changed release to 1.8.2.
10860 * aclocal.m4 configure doc/aclocal.m4 doc/configure
10861 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
10862 libc/machine/configure libc/machine/a29k/aclocal.m4
10863 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10864 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10865 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10866 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10867 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
10868 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10869 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10870 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10871 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10872 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10873 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10874 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10875 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10876 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10877 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10878 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10879 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10880 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10881 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10882 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10883 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10884 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10885 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
10886 libc/machine/z8k/configure libc/sys/aclocal.m4
10887 libc/sys/aclocal.m4 libc/sys/configure
10888 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10889 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10890 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10891 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10892 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10893 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10894 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10895 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10896 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10897 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10898 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10899 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10900 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10901 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10902 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10903 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10904 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10905 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10906 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10907 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10908 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10909 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10910 libm/aclocal.m4 libm/configure: Regenerated.
10911
10912 2000-03-24 Nick Clifton <nickc@cygnus.com>
10913
10914 * libc/sys/arm/syscalls.c: Fix compile time warnings.
10915 (do_AngelSWI): Add "cc" to list o registers clobbered.
10916
10917 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10918
10919 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
10920 information to be clobbered by an Angel C library support syscall.
10921
10922 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10923
10924 * libc/stdlib/envlock.c: Fixed comment typo.
10925
10926 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10927
10928 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
10929 code to update nread as each character is processed instead
10930 of using buffer contents which throw away leading zeroes.
10931
10932 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
10933
10934 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
10935
10936 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
10937
10938 * libc/include/string.h: Include <sys/types.h>.
10939
10940 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10941
10942 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
10943 with XSH5, not SVID.
10944
10945 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10946
10947 * libc/include/string.h: Changed last argument back to ssize_t
10948 to make it compatible with XPG4 definition which is
10949 defined in <unistd.h>. There is a conflict in the SVID 3
10950 and XPG4 definitions and newlib will settle with XPG4.
10951 * libc/string/swab.c: Ditto.
10952
10953 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10954
10955 * libc/include/string.h: Changed last argument to size_t.
10956 * libc/string/swab.c: Changed last argument to size_t.
10957
10958 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10959
10960 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
10961 (CHEWOUT_FILES): Added unlinkr.def.
10962 * libc/reent/Makefile.in: Rebuilt.
10963 * libc/sys.tex: Include unlinkr.def.
10964 * libc/reent/linkr.c (_unlink_r): Moved to...
10965 * libc/reent/unlinkr.c: ... new file.
10966
10967 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10968
10969 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
10970 (CHEWOUT_FILES): Added swab.def.
10971 * libc/string/Makefile.in: Rebuilt.
10972 * libc/string/string.tex: Include swab.def.
10973 * libc/include/string.h (swab): Declare.
10974 * libc/string/swab.c: New file.
10975
10976 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10977
10978 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
10979 (CHEWOUT_FILES): Added getw.def and putw.def.
10980 * libc/stdio/Makefile.in: Rebuilt.
10981 * libc/stdio/stdio.tex: Include getw.def and putw.def.
10982 * libc/stdio/getw.c: New file.
10983 * libc/stdio/putw.c: New file.
10984
10985 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10986
10987 * libc/stdio/flags.c (__sflags): Added check that mode[1]
10988 is non-null before looking at mode[2].
10989
10990 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10991
10992 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
10993 * libm/mathfp/sf_atan.c: Ditto.
10994
10995 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
10996
10997 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
10998
10999 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11000
11001 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11002 _DOUBLE_IS_32BITS.
11003
11004 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11005
11006 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11007 call prior to calling _VFPRINTF_R so reentrant data area is set.
11008 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11009
11010 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11011
11012 * libc/stdio/vfscanf.c (limits.h): #include.
11013 (MAX_LONG_LEN): #define.
11014 (__svfscanf): Handle floating point numbers with arbitrary amounts
11015 of leading zeroes.
11016
11017 2000-02-15 Nick Clifton <nickc@cygnus.com>
11018
11019 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11020 zero. Set the blocksize to 1024/
11021
11022 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11023
11024 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11025 with line buffering.
11026
11027 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11028
11029 * acinclude.m4: Changed include directory for winsup headers.
11030 * aclocal.m4 configure libc/aclocal.m4
11031 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11032 libc/locale/Makefile.in libc/machine/aclocal.m4
11033 libc/machine/configure libc/machine/a29k/aclocal.m4
11034 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11035 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11036 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11037 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11038 libc/machine/fr30/configure
11039 libc/machine/h8300/aclocal.m4
11040 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11041 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11042 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11043 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11044 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11045 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11046 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11047 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11048 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11049 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11050 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11051 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11052 libc/machine/powerpc/configure
11053 libc/machine/sh/aclocal.m4
11054 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11055 libc/machine/sparc/configure
11056 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11057 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11058 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11059 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11060 libc/misc/Makefile.in libc/posix/Makefile.in
11061 libc/reent/Makefile.in
11062 libc/signal/Makefile.in
11063 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11064 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11065 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11066 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11067 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11068 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11069 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11070 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11071 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11072 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11073 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11074 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11075 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11076 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11077 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11078 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11079 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11080 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11081 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11082 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11083 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11084 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11085 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11086 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11087 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11088 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11089 libm/configure: Regenerated.
11090
11091 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11092
11093 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11094 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11095 * libc/include/string.h: Added _strdup_r.
11096 * libc/stdlib/putenv.c: Added call to reentrant version.
11097 * libc/stdlib/strdup.c: Ditto.
11098 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11099 * libc/include/stdlib.h: Ditto.
11100 * libc/stdlib/Makefile.in: Regenerated.
11101 * libc/string/Makefile.in: Regenerated.
11102 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11103 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11104 management calls to reentrant versions.
11105 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11106 * libc/stdlib/wctomb.c: Ditto.
11107 * libc/stdlib/mblen.c: Ditto.
11108 * libc/stdlib/mbstowcs.c: Ditto.
11109 * libc/stdlib/mbtowc.c: Ditto.
11110 * libc/stdlib/getenv.c: Ditto.
11111 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11112 and _strdup_r.
11113
11114 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11115
11116 patch from Corinna Vinschen <corinna@vinschen.de>
11117 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11118
11119 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11120
11121 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11122 * libm/mathfp/s_ldexp.c: Ditto.
11123 * libm/mathfp/sf_atangent.c: Ditto.
11124 * libm/mathfp/sf_ldexp.c: Ditto.
11125
11126 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11127
11128 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11129 * libc/include/locale.h: define NULL to be 0.
11130
11131 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11132
11133 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11134 function.
11135
11136 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11137
11138 * libc/machine/mn10300/setjmp.S: Handle am33.
11139
11140 1999-11-26 Nick Clifton <nickc@cygnus.com>
11141
11142 * libc/sys/arm/syscalls.c: Add function prototypes.
11143 (stack_ptr): Move declaration before function definitions.
11144
11145 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11146
11147 * NEWS: Updated version information.
11148 * README: Ditto.
11149
11150 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11151
11152 * libc/machine/i386/strchr.S: Fixed alignment test.
11153
11154 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11155
11156 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11157
11158 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11159
11160 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11161 ensuring that there is space between the two.
11162
11163 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11164
11165 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11166 only.
11167
11168 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11169
11170 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11171 section
11172
11173 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11174
11175 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11176 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11177
11178 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11179 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11180 per POSIX 1003.1b.
11181 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11182 per POSIX 1003.1b.
11183
11184 1999-09-13 DJ Delorie <dj@cygnus.com>
11185
11186 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11187 also.
11188
11189 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11190
11191 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11192 also note BUFSIZ as its size.
11193
11194 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11195
11196 * configure.host: Corrected feature defines for RTEMS.
11197 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11198 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11199 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11200 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11201 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11202 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11203 _PC_PRIO_IO, and _PC_SYNC_IO.
11204 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11205 * libc/machine/m68k/Makefile.in: Regenerated.
11206 * libc/machine/m68k/strcpy.c: New file.
11207 * libc/machine/m68k/strlen.c: New file.
11208 * libc/stdio/tmpnam.c: Always make the returned name usable.
11209 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11210 * libc/sys/rtems/sys/dirent.h: New file.
11211 * libc/sys/rtems/sys/types.h: Added dev_t.
11212
11213 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11214
11215 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11216
11217 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11218
11219 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11220 my patch.
11221
11222 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11223
11224 patch from Jeff Johnston <jjohnstn@cygnus.com>
11225 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11226 buffer is not in a useful state.
11227
11228 1999-09-01 Nick Clifton <nickc@cygnus.com>
11229
11230 * libc/sys/arm/syscalls.c (_link): Add stub.
11231
11232 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11233
11234 * ftell.c (ftell): Use actual position within buffer for text mode.
11235 * findfp.c (std): Initialize ptr->_bf._size.
11236
11237 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11238
11239 * libc/include/sys/unistd.h: Add nice() declaration.
11240
11241 1999-08-09 Nick Clifton <nickc@cygnus.com>
11242
11243 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11244 declare as a thumb function so that the disassembler will see the
11245 mode change.
11246
11247 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11248
11249 * libc/reent/reent.tex: Updated list of reentrant functions.
11250
11251 1999-07-09 Michael Meissner <meissner@cygnus.com>
11252
11253 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11254
11255 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11256
11257 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11258 separate file.
11259 * libc/stdio/snprintf.c: New file.
11260 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11261 separate file.
11262 * libc/stdio/vsnprintf.c: New file.
11263 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11264 * libc/stdio/Makefile.in: Regenerated.
11265
11266 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11267
11268 Patch submitted by Egor Duda <deo@logos-m.ru>:
11269 * libc/include/stdio.h: Add declarations for *nprintf.
11270 * libc/stdio/sprintf.c (snprintf): New function.
11271 (_snprintf_r): New function.
11272 * libc/stdio/vsprintf.c (vsnprintf): New function.
11273 (_vnsprintf_r): New function.
11274
11275 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11276
11277 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11278 * libm/Makefile.am (stmp-targetdep): Ditto.
11279 * libc/Makefile.in: Regenerated.
11280 * libm/Makefile.in: Ditto.
11281
11282 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11283
11284 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11285 * libm/Makefile.am (stmp-targetdep): Ditto.
11286 * libc/Makefile.in: Regenerated.
11287 * libm/Makefile.in: Ditto.
11288
11289 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11290
11291 * Makefile.am: Removed dependencies on all-recursive and added "."
11292 to the SUBDIRS list to prevent infinite recursion from occurring.
11293 Also removed any references to EXTRA_DATA.
11294 * libc/Makefile.am: Ditto.
11295 * libc/machine/Makefile.am: Ditto.
11296 * libc/machine/i386/Makefile.am: Ditto.
11297 * libm/Makefile.am: Ditto.
11298 * libc/sys/Makefile.am: Ditto.
11299 * Makefile.in: Regenerated.
11300 * aclocal.m4: Ditto.
11301 * configure: Ditto.
11302 * doc/Makefile.in: Ditto.
11303 * doc/aclocal.m4: Ditto.
11304 * doc/configure: Ditto.
11305 * libc/Makefile.in: Ditto.
11306 * libc/aclocal.m4: Ditto.
11307 * libc/configure: Ditto.
11308 * libc/machine/Makefile.in: Ditto.
11309 * libc/machine/aclocal.m4: Ditto.
11310 * libc/machine/configure: Ditto.
11311 * libc/machine/mn10300/Makefile.in: Ditto.
11312 * libc/machine/mn10300/aclocal.m4: Ditto.
11313 * libc/machine/mn10300/configure: Ditto.
11314 * libc/sys/Makefile.in: Ditto.
11315 * libc/sys/aclocal.m4: Ditto.
11316 * libc/sys/configure: Ditto.
11317 * libm/Makefile.in: Ditto.
11318 * libm/aclocal.m4: Ditto.
11319 * libm/configure: Ditto.
11320
11321 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11322
11323 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11324
11325 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11326
11327 * libc/include/stdlib.h: Add reentrant routines.
11328 * libc/stdlib/Makefile.am: Add reentrant routines.
11329 * libc/stdlib/Makefile.in: Ditto.
11330 * libc/stdlib/envlock.c: New file.
11331 * libc/stdlib/envlock.h: New file.
11332 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11333 * libc/stdlib/getenv_r.c: New file.
11334 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11335 * libc/stdlib/mblen_r.c: New file.
11336 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11337 * libc/stdlib/setenv_r.c: New file.
11338 * libc/stdlib/stdlib.tex: Add reentrant routines.
11339
11340 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11341
11342 * libc/include/sys/types.h: Define __MS_types__ whenever
11343 cygwin or win32.
11344
11345 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11346
11347 * libc/include/machine/ieeefp.h: Always default to little
11348 endian if Windows, regardless of architecture.
11349 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11350 regardless of architecture.
11351
11352 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11353
11354 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11355 _WIN32 isn't defined.
11356
11357 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11358
11359 * libm/common/s_rint.c (rint): Add volatile qualifier for
11360 intermediate value w.
11361 * libm/common/sf_rint.c (rintf): Ditto.
11362
11363 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11364
11365 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11366 ensure that std streams are initialized before being referenced.
11367
11368 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11369
11370 * README: Update reference to newlib@cygnus.com new
11371 newlib@sourceware.cygnus.com address.
11372
11373 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11374
11375 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11376 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11377 defined, even if _WIN32 isn't defined.
11378
11379 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11380
11381 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11382
11383 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11384
11385 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11386 __ULong.
11387 * libc/stdlib/dtoa.c: Ditto.
11388 * libc/stdlib/mprec.c: Ditto.
11389 * libc/stdlib/mprec.h: Ditto.
11390 * libc/stdlib/strtod.c: Ditto.
11391
11392 1999-04-21 Nick Clifton <nickc@cygnus.com>
11393
11394 * configure.host (mcore): Remove mcore machine directory.
11395
11396 1999-04-18 Nick Clifton <nickc@cygnus.com>
11397
11398 * libc/include/machine/ieeefp.h: Add support for mcore target.
11399 * libc/include/machine/setjmp.h: Add support for mcore target.
11400 * configure.host: Add support for mcore target.
11401
11402 1999-04-13 Mark Salter <msalter@cygnus.com>
11403
11404 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11405 * libc/sys/arm/syscalls.c: Added isatty.
11406
11407 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11408
11409 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11410 insert zeroes after significant digits.
11411
11412 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11413
11414 * libc/stdio/vfprintf.c (cvt): Changed floating point
11415 cvt routine to use union used by dtoa to properly determine
11416 if the sign bit is on or not.
11417 * libc/stdio/vfieeefp.h: New file
11418
11419 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11420
11421 * aclocal.m4: Regenerated.
11422 * configure: Regenerated.
11423
11424 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11425
11426 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11427 f_tanf reference.
11428 * libc/machine/i386/Makefile.in: Regenerated.
11429
11430 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11431
11432 * acinclude.m4: Changed to work with new automake.
11433 * configure: Regenerated.
11434 * libc/machine/i386/aclocal.m4: Regenerated.
11435 * libc/machine/i386/configure: Regenerated.
11436
11437 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11438
11439 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11440 for telldir() and seekdir(). Rename unused structure element
11441 for use with these two routines.
11442
11443 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11444
11445 * libc/time/mktime.c (validate_structure): Multiple fixes to
11446 code to handle cases where input fields are outside valid ranges.
11447 * libc/stdlib/div.c (div): Modified invalid rounding check.
11448 * libc/stdlib/ldiv.c (ldiv): Ditto.
11449
11450 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11451
11452 * libc/machine/i386/memcpy.S: Performance rewrite.
11453 * libc/machine/i386/memmove.S: Ditto.
11454 * libc/machine/i386/i386mach.h: Added more register definitions.
11455 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11456 option used.
11457 * libc/include/machine/fastmath.h: Add definitions for x86
11458 fast-math routines.
11459
11460 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11461
11462 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11463
11464 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11465
11466 Adjust newlib headers for new Cygwin Win32 API header files:
11467 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11468 _GNU_H_WINDOWS32_SOCKETS.
11469 * libc/include/sys/types.h: Ditto.
11470
11471 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11472
11473 *include/sys/reent.h: Add checks for size of Bigint element Long.
11474 *libc/dtoa.c: Change routines to use generic Long type.
11475 *libc/mprec.c: Change routines to use generic Long type.
11476 *libc/mprec.h: Change routines to use generic Long type.
11477
11478 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11479
11480 * libc/Makefile.am: Add .def files.
11481 * libc/Makefile.in: Regenerate.
11482 * libc/e_acosh.c: Documentation update.
11483 * libc/e_atanh.c: Documentation update.
11484 * libc/e_hypot.c: Documentation update.
11485 * libc/e_remainder.c: Documentation update.
11486 * libc/er_lgamma.c: Documentation update.
11487 * libc/mathfp.tex: Documentation update.
11488 * libc/s_acos.c: Documentation update.
11489 * libc/s_atan.c: Documentation update.
11490 * libc/s_atan2.c: Documentation update.
11491 * libc/s_cosh.c: Documentation update.
11492 * libc/s_fmod.c: Documentation update.
11493 * libc/s_isnan.c: Documentation update.
11494 * libc/s_log10.c: Documentation update.
11495 * libc/s_pow.c: Documentation update.
11496 * libc/w_jn.c: Documentation update.
11497
11498 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11499
11500 * aclocal.m4: Regenerate.
11501 * configure: Regenerate.
11502
11503 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11504
11505 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11506 to return 1 if user specified return code is 0.
11507 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11508
11509 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11510
11511 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11512 to save the return address. Fixed longjmp to return to the original
11513 calling address of setjmp and to return the user specified return code
11514 rather than default to 1.
11515 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11516
11517 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11518
11519 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11520
11521 1999-02-10 Nick Clifton <nickc@cygnus.com>
11522
11523 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11524 volatile so that its assignments will not be discarded.
11525
11526 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11527
11528 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11529 be __STRICT_ANSI__ which is generated by compiler.
11530 * libc/include/ctype.h: Ditto.
11531 * libc/include/math.h: Ditto.
11532 * libc/include/stdio.h: Ditto.
11533 * libc/include/stdlib.h: Ditto.
11534 * libc/include/string.h: Ditto.
11535 * libc/include/sys/signal.h: Ditto.
11536
11537 1999-02-08 Nick Clifton <nickc@cygnus.com>
11538
11539 * configure.host: Add support for StrongARM target.
11540
11541 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11542
11543 * libc/string/strncpy.c (strncpy): Removed redundant code
11544 that was copying bytes if data unaligned.
11545
11546 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11547
11548 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11549 mbstowcs.def, and wcstombs.def.
11550
11551 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11552
11553 * libc/include/sys/errno.h: Add Cygwin errno.
11554 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11555 is specified.
11556
11557 1999-01-29 Nick Clifton <nickc@cygnus.com>
11558
11559 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11560 file.
11561
11562 * libc/sys/arm/libcfunc.c: New file containing C library functions
11563 from syscalls.c
11564
11565 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11566 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11567
11568
11569 1999-01-27 Michael Meissner <meissner@cygnus.com>
11570
11571 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11572 type, and cut size in half so that the jmp_buf array is guaranteed
11573 to be aligned on a 64-bit boundary.
11574
11575 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11576
11577 * libc/string/strings.tex: Added information about
11578 strcasecmp and strncasecmp.
11579 * libc/stdlib/stdlib.tex: Added missing information
11580 about mblen, mbstowcs, and wcstombs.
11581 * libc/string/strchr.c: Changed how mask is built to use
11582 shift operators so register will be used instead of storage.
11583
11584 1999-01-22 DJ Delorie <dj@cygnus.com>
11585
11586 * libc/include/stdlib.h: don't use dllimport if we're building
11587 newlib, since it's inside cygwin.dll
11588
11589 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11590
11591 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11592 _ctype_ under cygwin.
11593
11594 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11595
11596 * include/stdlib.h: Fix typo from previous checkin.
11597
11598 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11599
11600 * include/ctype.h: Use __declspec(dllimport) method for exporting
11601 variable from cygwin DLL.
11602 * include/time.h: Ditto.
11603 * sys/errno.h: Ditto.
11604 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11605 * libc/locale/locale.c: Use __declspec(dllexport) method for
11606 exporting variable from cygwin DLL.
11607
11608 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11609
11610 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11611 access of bogus pointer will result in SIGSEGV.
11612
11613 1999-01-07 Nick Clifton <nickc@cygnus.com>
11614
11615 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11616 of an underscore prefix to function names.
11617
11618 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11619
11620 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11621 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11622
11623 1998-12-31 Michael Meissner <meissner@cygnus.com>
11624
11625 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11626 to `%' if not already defined.
11627
11628 1998-12-30 Michael Meissner <meissner@cygnus.com>
11629
11630 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11631 arguments const char *, not char *.
11632 * libc/include/stdio.h (_tempnam_r): Ditto.
11633
11634 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11635 points to a function taking an integer, not void.
11636
11637 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11638
11639 * configure.host: Add a define for Cygwin builds.
11640 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11641
11642 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11643
11644 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11645 for use with Cygwin.
11646 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11647 dll imported variables for use with Cygwin.
11648 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11649 as a dll imported variable for Cygwin.
11650
11651 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11652
11653 * libc/include/sys/unistd.h: Add proto for getpass.
11654
11655 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11656
11657 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11658 alphasort.
11659
11660 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11661
11662 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11663 not posix_path_list_p.
11664
11665 1998-12-15 Nick Clifton <nickc@cygnus.com>
11666
11667 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11668 a signed int.
11669
11670 1998-12-13 Nick Clifton <nickc@cygnus.com>
11671
11672 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11673
11674 1998-12-12 Nick Clifton <nickc@cygnus.com>
11675
11676 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11677 <msalter@cygnus.com>
11678 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11679 * libc/machine/fr30/Makefile.in: Regenerated.
11680
11681 1998-12-11 Nick Clifton <nickc@cygnus.com>
11682
11683 * configure.host: Remove use of libc/sys for FR30 port.
11684 * libc/sys/fr30: Remove directory (replaced by libgloss).
11685
11686 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
11687
11688 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11689 * libc/string/strncat.c (ALIGNED): Ditto.
11690
11691 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11692
11693 * libc/include/sys/time.h: include sys/types.h
11694
11695 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11696
11697 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11698 comparison found when checking word at a time.
11699
11700 1998-12-04 Nick Clifton <nickc@cygnus.com>
11701
11702 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11703
11704 1998-12-03 Nick Clifton <nickc@cygnus.com>
11705
11706 * libc/sys/fr30/syscalls.c (_times): New function stub.
11707
11708 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11709
11710 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11711 with mach_add_setjmp flag which indicates if setjmp should
11712 be added to the machine directory objects.
11713 * acinclude.m4: Removed reference to mach_add_objs.
11714 * aclocal.m4: Regenerated.
11715 * Makefile.in: Regenerated.
11716 * configure: Regenerated.
11717 * libc/aclocal.m4: Regenerated.
11718 * libc/Makefile.in: Regenerated.
11719 * libc/configure: Regenerated.
11720 * libc/machine/aclocal.m4: Regenerated.
11721 * libc/machine/Makefile.in: Regenerated.
11722 * libc/machine/configure: Regenerated.
11723 * libc/machine/i386/aclocal.m4: Regenerated.
11724 * libc/machine/i386/Makefile.am: Altered to selectively add
11725 setjmp.S to the src files list.
11726 * libc/machine/i386/Makefile.in: Regenerated.
11727 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11728 * libc/machine/i386/configure: Regenerated.
11729
11730 1998-12-02 Nick Clifton <nickc@cygnus.com>
11731
11732 * libc/sys/fr30/crt0.s (_start): Fix function names.
11733
11734 * libc/machine/fr30: New directory
11735 * libc/machine/fr30/Makefile.am: New file.
11736 * libc/machine/fr30/Makefile.in: New generated file.
11737 * libc/machine/fr30/configure.in: New file.
11738 * libc/machine/fr30/configure: New generated file.
11739 * libc/machine/fr30/aclocal.m4: New generated file.
11740 * libc/sys/fr30/Makefile.am: New file.
11741 * libc/sys/fr30/Makefile.in: New generated file.
11742 * libc/sys/fr30/configure.in: New file.
11743 * libc/sys/fr30/configure: New generated file.
11744 * libc/sys/fr30/syscalls.c: New file.
11745
11746 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
11747
11748 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
11749
11750 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
11751
11752 * libc/time/strftime.c (strftime): Also handle %y for years before
11753 1900.
11754
11755 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
11756
11757 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
11758 UNIX convention. Perform tolower on characters before comparing
11759 them rather than use toupper.
11760 * libc/string/strncasecmp.c (strncasecmp): Ditto.
11761
11762 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11763
11764 * configure.host: Added using i386 machine directory
11765 for all x86 cross-compiler and configuring
11766 which added object files to use via new "mach_add_objs" variable.
11767 * configure: Regenerated.
11768 * libc/configure: Regenerated.
11769 * libc/Makefile.in: Regenerated.
11770 * libc/aclocal.m4: Regenerated.
11771 * libc/ctype/Makefile.in: Regenerated.
11772 * libc/errno/Makefile.in: Regenerated.
11773 * libc/locale/Makefile.in: Regenerated.
11774 * libc/machine/Makefile.in: Regenerated.
11775 * libc/machine/aclocal.m4: Regenerated.
11776 * libc/machine/configure: Regenerated.
11777 * libc/posix/Makefile.in: Regenerated.
11778 * libc/reent/Makefile.in: Regenerated.
11779 * libc/signal/Makefile.in: Regenerated.
11780 * libc/stdio/Makefile.in: Regenerated.
11781 * libc/stdlib/Makefile.in: Regenerated.
11782 * libc/string/Makefile.in: Regenerated.
11783 * libc/string/memmove.c: Optimized code to use memcpy
11784 logic when performing a non-destructive copy.
11785 * libc/string/strncmp.c: Altered code to allow building
11786 optimized for size or speed.
11787 * libc/syscalls/Makefile.in: Regenerated.
11788 * libc/time/Makefile.in: Regenerated.
11789 * libc/unix/Makefile.in: Regenerated.
11790 * libc/machine/i386/Makefile.am: Added new files and reference
11791 to "mach_add_objs" to indicate optional object files.
11792 * libc/machine/i386/Makefile.in: Regenerated.
11793 * libc/machine/i386/aclocal.m4: Regenerated.
11794 * libc/machine/i386/configure: Regenerated.
11795 * libc/machine/i386/memchr.S: New file that implements
11796 function in Intel assembler.
11797 * libc/machine/i386/memcmp.S: ditto.
11798 * libc/machine/i386/memcpy.S: ditto.
11799 * libc/machine/i386/memmove.S: ditto.
11800 * libc/machine/i386/memset.S: ditto.
11801 * libc/machine/i386/strchr.S: ditto.
11802 * libc/machine/i386/strlen.S: ditto.
11803 * libc/machine/i386/f_atan2.S: New file that implements
11804 fast version of math function to be used by compiler when
11805 --ffast_math compile option is used.
11806 * libc/machine/i386/f_atan2f.S: ditto.
11807 * libc/machine/i386/f_exp.c: ditto.
11808 * libc/machine/i386/f_expf.c: ditto.
11809 * libc/machine/i386/f_frexp.S: ditto.
11810 * libc/machine/i386/f_frexpf.S: ditto.
11811 * libc/machine/i386/f_ldexp.S: ditto.
11812 * libc/machine/i386/f_ldexpf.S: ditto.
11813 * libc/machine/i386/f_log.S: ditto.
11814 * libc/machine/i386/f_logf.S: ditto.
11815 * libc/machine/i386/f_log10.S: ditto.
11816 * libc/machine/i386/f_log10f.S: ditto.
11817 * libc/machine/i386/f_math.h: New file.
11818 * libc/machine/i386/f_pow.c: ditto.
11819 * libc/machine/i386/f_powf.S: ditto.
11820 * libc/machine/i386/f_tan.S: ditto.
11821 * libc/machine/i386/f_tan.S: ditto.
11822 * libc/machine/i386/i386mach.h: New file.
11823
11824 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
11825
11826 patch from Mumit Khan <khan@xraylith.wisc.edu>
11827 * libc/include/stdio.h (tempnam): Add prototype.
11828 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
11829 (tempnam): Adhere to prototype.
11830
11831 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
11832
11833 * Makefile.am: Add default for AR_FLAGS.
11834 * Makefile.in: Regenerate.
11835
11836 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
11837
11838 * libc/include/time.h: move __cplusplus wrapper after includes
11839 * libc/include/sys/time.h: ditto. If Cygwin, include
11840 sys/select.h.
11841 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
11842
11843 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
11844
11845 * libc/time/strftime.c (strftime): Handle %y after year 2000.
11846
11847 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
11848
11849 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
11850 abnormnal end-of-crt0 marker.
11851
11852 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
11853
11854 * libc/sys/fr30/crt0.s: New file/directory.
11855 * libc/include/machine/setjmp.h: Add FR30 target.
11856 * libc/include/machine/ieeefp.h: Add FR30 target.
11857 * configure.host: Add FR30 target.
11858
11859 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11860
11861 * libm/math: Files that are duplicated in common directory removed.
11862 * libm/math/fdlibm.h: Removed.
11863 * libm/math/s_cbrt.c: Removed.
11864 * libm/math/s_copysign.c: Removed.
11865 * libm/math/s_expm1.c: Removed.
11866 * libm/math/s_finite.c: Removed.
11867 * libm/math/s_ilogb.c: Removed.
11868 * libm/math/s_infinity.c: Removed.
11869 * libm/math/s_lib_ver.c: Removed.
11870 * libm/math/s_log1p.c: Removed.
11871 * libm/math/s_logb.c: Removed.
11872 * libm/math/s_matherr.c: Removed.
11873 * libm/math/s_modf.c: Removed.
11874 * libm/math/s_nan.c: Removed.
11875 * libm/math/s_nextafter.c: Removed.
11876 * libm/math/s_rint.c: Removed.
11877 * libm/math/s_scalbn.c: Removed.
11878 * libm/math/sf_cbrt.c: Removed.
11879 * libm/math/sf_copysign.c: Removed.
11880 * libm/math/sf_expm1.c: Removed.
11881 * libm/math/sf_finite.c: Removed.
11882 * libm/math/sf_ilogb.c: Removed.
11883 * libm/math/sf_infinity.c: Removed.
11884 * libm/math/sf_log1p.c: Removed.
11885 * libm/math/sf_logb.c: Removed.
11886 * libm/math/sf_modf.c: Removed.
11887 * libm/math/sf_nan.c: Removed.
11888 * libm/math/sf_nextafter.c: Removed.
11889 * libm/math/sf_rint.c: Removed.
11890 * libm/math/sf_scalbn.c: Removed.
11891 * libm/math/Makefile.am: Removed references to deleted files (above).
11892 * libm/math/Makefile.in: Regenerated.
11893 * libm/Makefile.am: Added common directory to math.
11894 * libm/Makefile.in: Regenerated.
11895
11896 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11897
11898 * libm/mathfp: Add non-ANSI functions.
11899 * libm/mathfp/e_acosh.c acosh(): New file.
11900 * libm/mathfp/e_atanh.c atanh(): New file.
11901 * libm/mathfp/e_hypot.c hypot(): New file.
11902 * libm/mathfp/e_j0.c j0(): New file.
11903 * libm/mathfp/e_j1.c j1(): New file.
11904 * libm/mathfp/e_remainder.c remainder(): New file.
11905 * libm/mathfp/e_scalb.c scalb(): New file.
11906 * libm/mathfp/ef_acosh.c acoshf(): New file.
11907 * libm/mathfp/ef_atanh.c atanhf(): New file.
11908 * libm/mathfp/ef_hypot.c hypotf(): New file.
11909 * libm/mathfp/ef_j0.c j0f(): New file.
11910 * libm/mathfp/ef_j1.c j1f(): New file.
11911 * libm/mathfp/ef_remainder.c remainderf(): New file.
11912 * libm/mathfp/ef_scalb.c scalbf(): New file.
11913 * libm/mathfp/er_gamma.c gamma_r: New file.
11914 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
11915 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
11916 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
11917 * libm/mathfp/w_cabs.c cabs(): New file.
11918 * libm/mathfp/w_drem.c drem(): New file.
11919 * libm/mathfp/w_jn.c jn(): New file.
11920 * libm/mathfp/wf_cabs.c cabsf(): New file.
11921 * libm/mathfp/wf_drem.c dremf(): New file.
11922 * libm/mathfp/wf_jn.c jnf(): New file.
11923
11924 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
11925
11926 * libc/sys/cygwin32: remove directory and contents
11927 * libc/sys/cygwin: and add back, losing the "32".
11928 * configure.host: check for cygwin* instead of cygwin32.
11929 * acinclude.m4: ditto.
11930 * aclocal.m4: regenerate with aclocal
11931 * configure: regenerate with autoconf
11932
11933 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
11934
11935 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
11936 for length
11937
11938 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11939
11940 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
11941 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
11942 to make rand/srand, strtok, asctime, localtime, w_gamma,
11943 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
11944 time.h to bring in struct tm definition.
11945 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
11946 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
11947 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
11948 instead of static variable.
11949 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
11950 struct reent instead of static variable.
11951 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
11952 struct reent instead of static variable.
11953 * libm/math/Makefile.am: Removed s_signgam.o.
11954 * libm/math/Makefile.in: Regenerated.
11955 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
11956 struct reent instead of global variable 'signgam'.
11957 * libm/math/w_lgamma.c (lgamma): Likewise.
11958 * libm/math/wf_gamma.c (gammaf): Likewise.
11959 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11960 * libm/math/s_signgam.c: Removed.
11961 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
11962 to be const.
11963 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
11964 to be const.
11965 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
11966 libc/include/reent.h.
11967 * libc/reent/Makefile.in: Regenerated.
11968 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
11969 to be const.
11970 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
11971 'JIS_action_table' to be const.
11972 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
11973
11974 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
11975
11976 * acinclude.m4: $with_target_subdir should default to '.'
11977 or confusion results when configuring in same directory as sources.
11978 * Regenerate all aclocal.m4 and configure files.
11979
11980 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
11981
11982 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
11983 can be set by defining MALLOC_ALIGNMENT=16. Also added support
11984 for platforms where sizeof(size_t) < sizeof(long) via
11985 SIZE_T_SMALLER_THAN_LONG macro.
11986
11987 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
11988
11989 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
11990 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
11991 which sets _CLOCKS_PER_SEC_ for selected machines.
11992 * libc/include/machine/time.h: New file.
11993
11994 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11995
11996 * libc/syscalls/sysexecve.c: New file.
11997 * libc/syscalls/sysgettod.c: New file.
11998 * libc/syscalls/systimes.c: New file.
11999 * libc/syscalls/Makefile.am: Added new objects.
12000 * libc/syscalls/Makefile.in: Regenerated.
12001 * libc/include/_syslist.h (_execve): Moved define in file.
12002 * libc/include/reent.h: Added _execve_r declaration.
12003 * libc/Makefile.in: Regenerated.
12004 * libc/ctype/Makefile.in: Regenerated.
12005 * libc/errno/Makefile.in: Regenerated.
12006 * libc/locale/Makefile.in: Regenerated.
12007 * libc/machine/Makefile.in: Regenerated.
12008 * libc/misc/Makefile.in: Regenerated.
12009 * libc/posix/Makefile.in: Regenerated.
12010 * libc/reent/Makefile.in: Regenerated.
12011 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12012 * libc/signal/Makefile.in: Regenerated.
12013 * libc/stdio/Makefile.in: Regenerated.
12014 * libc/time/Makefile.in: Regenerated.
12015 * libc/unix/Makefile.in: Regenerated.
12016 * libm/mathfp/Makefile.in: Regenerated.
12017
12018 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12019
12020 * libc/string/Makefile.in: Regenerated.
12021 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12022 * libc/string/memcpy.c (memcpy): Ditto.
12023 * libc/string/memcmp.c (memcmp): Ditto.
12024 * libc/string/memset.c (memset): Ditto.
12025 * libc/string/strchr.c (strchr): Ditto.
12026 * libc/string/strcmp.c (strcmp): Ditto.
12027 * libc/string/strcpy.c (strcpy): Ditto.
12028 * libc/string/strlen.c (strlen): Ditto.
12029
12030 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12031
12032 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12033 to generate aclocal.m4.
12034 * libm/Makefile.in: Regenerated.
12035 * libm/aclocal.m4: Regenerated.
12036 * libm/configure: Regenerated.
12037 * libm/math/Makefile.in: Regenerated.
12038 * libm/mathfp/Makefile.in: Regenerated.
12039
12040 1998-09-25 Mark Salter <msalter@cygnus.com>
12041
12042 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12043 by adding leading and trailing underscores to symbol names.
12044
12045 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12046
12047 * Makefile.in: Add default for AR_FLAGS.
12048
12049 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12050
12051 patch from ian@airs.com (Ian Taylor):
12052 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12053 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12054 is needed for detecting the build machine. Required for
12055 cygwin native builds.
12056
12057 * Regenerate all aclocal.m4 and configure files.
12058
12059 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12060
12061 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12062 used to start with LC.
12063
12064 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12065
12066 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12067 (longjmp): Likewise.
12068
12069 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12070
12071 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12072 the test for small number of bytes.
12073
12074 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12075
12076 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12077 math library that uses floating point algorithms instead of the old
12078 libm.
12079 * Makefile.in: Regenerate with automake version 1.3b.
12080 * configure: Rebuild.
12081 * libm/Makefile.in: Regenerate with automake version 1.3b.
12082 * libm/aclocal.m4: Regenerate.
12083 * libm/configure: Rebuild.
12084 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12085 * libm/acinclude.m4: Define macros for configure.in.
12086 * libm/config.h.in: Generate.
12087 * libm/mathfp/Makefile.am: New file.
12088 * libm/mathfp/Makefile.in: Generate.
12089 * libm/mathfp/s_acos.c (acos): New file.
12090 * libm/mathfp/s_asin.c (asin): New file.
12091 * libm/mathfp/s_asine.c (asine): New file.
12092 * libm/mathfp/s_atan.c (atan): New file.
12093 * libm/mathfp/s_atan2.c (atan2): New file.
12094 * libm/mathfp/s_atangent.c (atangent): New file.
12095 * libm/mathfp/s_ceil.c (ceil): New file.
12096 * libm/mathfp/s_copysign.c (copysign): New file.
12097 * libm/mathfp/s_cos.c (cos): New file.
12098 * libm/mathfp/s_cosh.c (cosh): New file.
12099 * libm/mathfp/s_exp.c (exp): New file.
12100 * libm/mathfp/s_fabs.c (fabs): New file.
12101 * libm/mathfp/s_finite.c (finite): New file.
12102 * libm/mathfp/s_floor.c (floor): New file.
12103 * libm/mathfp/s_fmod.c (fmod): New file.
12104 * libm/mathfp/s_frexp.c (frexp): New file.
12105 * libm/mathfp/s_infconst.c: New file.
12106 * libm/mathfp/s_isinf (isinf).c: New file.
12107 * libm/mathfp/s_isnan.c (isnan): New file.
12108 * libm/mathfp/s_ispos.c (ispos): New file.
12109 * libm/mathfp/s_ldexp.c (ldexp): New file.
12110 * libm/mathfp/s_log.c (log): New file.
12111 * libm/mathfp/s_log10.c (log10): New file.
12112 * libm/mathfp/s_logarithm.c (logarithm): New file.
12113 * libm/mathfp/s_mathcnst.c: New file.
12114 * libm/mathfp/s_modf (modf).c: New file.
12115 * libm/mathfp/s_numtest.c (numtest): New file.
12116 * libm/mathfp/s_pow.c (pow): New file.
12117 * libm/mathfp/s_scalbn.c (scalbn): New file.
12118 * libm/mathfp/s_sin (sin).c: New file.
12119 * libm/mathfp/s_sine.c (sine): New file.
12120 * libm/mathfp/s_sineh.c (sineh): New file.
12121 * libm/mathfp/s_sinf.c (sinf): New file.
12122 * libm/mathfp/s_sinh.c (sinh): New file.
12123 * libm/mathfp/s_sqrt.c (sqrt): New file.
12124 * libm/mathfp/s_tan.c (tan): New file.
12125 * libm/mathfp/s_tanh.c (tanh): New file.
12126 * libm/mathfp/sf_acos.c (acosf): New file.
12127 * libm/mathfp/sf_asin.c (asinf): New file.
12128 * libm/mathfp/sf_asine.c (asinef): New file.
12129 * libm/mathfp/sf_atan.c (atanf): New file.
12130 * libm/mathfp/sf_atan2.c (atan2f): New file.
12131 * libm/mathfp/sf_atangent.c (atangent): New file.
12132 * libm/mathfp/sf_ceil.c (ceilf): New file.
12133 * libm/mathfp/sf_copysign.c (copysignf): New file.
12134 * libm/mathfp/sf_cos.c (cosf): New file.
12135 * libm/mathfp/sf_cosh.c (coshf): New file.
12136 * libm/mathfp/sf_exp.c (expf): New file.
12137 * libm/mathfp/sf_fabs.c (fabsf): New file.
12138 * libm/mathfp/sf_finite.c (finitef): New file.
12139 * libm/mathfp/sf_floor.c (floorf): New file.
12140 * libm/mathfp/sf_fmod.c (fmodf): New file.
12141 * libm/mathfp/sf_frexp.c (frexpf): New file.
12142 * libm/mathfp/sf_isinf.c (isinff): New file.
12143 * libm/mathfp/sf_isnan.c (isnanf): New file.
12144 * libm/mathfp/sf_ispos.c (isposf): New file.
12145 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12146 * libm/mathfp/sf_log.c (logf): New file.
12147 * libm/mathfp/sf_log10.c (log10f): New file.
12148 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12149 * libm/mathfp/sf_modf.c (modff): New file.
12150 * libm/mathfp/sf_numtest.c (numtestf): New file.
12151 * libm/mathfp/sf_pow.c (powf): New file.
12152 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12153 * libm/mathfp/sf_sin.c (sinf): New file.
12154 * libm/mathfp/sf_sine.c (sinef): New file.
12155 * libm/mathfp/sf_sineh.c (sinehf): New file.
12156 * libm/mathfp/sf_sinh.c (sinhf): New file.
12157 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12158 * libm/mathfp/sf_tan.c (tanf): New file.
12159 * libm/mathfp/sf_tanh.c (tanhf): New file.
12160 * libm/mathfp/zmath.h: New file.
12161
12162 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12163
12164 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12165 exit if it has been overwritten by pre-fetching in delay slot.
12166
12167 1998-09-01 Michael Meissner <meissner@cygnus.com>
12168
12169 * Makefile.am (tooldir): Add in host_alias, so that multilib
12170 libraries are installed in the directory the compiler looks in.
12171 * Makefile.in: Regenerate.
12172
12173 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12174
12175 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12176
12177 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12178 ahead of test for number of bytes being moved.
12179
12180 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12181
12182 * libc/include/sys/unistd.h: Nothing special needed for
12183 _exit under cygwin.
12184
12185 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12186
12187 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12188 conform to user label naming conventions.
12189
12190 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12191
12192 * libc/sys/cygwin32/sys/utime.h: variable names in
12193 protos should start with two leading underscores
12194 * libc/include/string.h: ditto
12195 * libc/include/sys/signal.h: ditto
12196 * libc/include/sys/stat.h: ditto
12197 * libc/include/sys/time.h: ditto
12198 * libc/include/sys/unistd.h: ditto
12199 * libc/include/ctype.h: ditto
12200 * libc/include/stdlib.h: ditto
12201 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12202 void, same with _sig_func.
12203
12204 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12205
12206 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12207 for MB_CAPABLE to reduce code size when newlib is not configured
12208 with --enable-newlib-mb.
12209 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12210 mbtowc_r.o to minimize size.
12211 * libc/stdlib/Makefile.in: Rebuild.
12212
12213 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12214
12215 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12216 to -DREENT.
12217 * libc/sys/sparc64/Makefile.in: Rebuild.
12218
12219 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12220
12221 * Makefile.am (MAKEOVERRIDES): Define.
12222 * Makefile.in: Rebuild.
12223
12224 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12225
12226 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12227
12228 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12229
12230 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12231 newlib_cflags when looking for targ-include.
12232 * */aclocal.m4, */configure: Rebuild.
12233
12234 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12235
12236 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12237 to "_end".
12238
12239 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12240
12241 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12242 on SPARCs with little-endian data.
12243 * libc/include/machine/ieeefp.h: Ditto.
12244
12245 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12246
12247 * acinclude.m4: Handle a relative srcdir correctly when setting
12248 newlib_cflags.
12249 * */aclocal.m4, */configure: Rebuild.
12250
12251 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12252
12253 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12254 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12255 * libm/math/wrf_gamma.c (gammaf_r): ditto
12256 * libm/math/wr_lgamma.c (lgamma_r): ditto
12257 * libm/math/wr_gamma.c (gamma_r): ditto
12258 * libm/math/wf_sqrt.c (sqrtf): ditto
12259 * libm/math/wf_sinh.c (sinhf): ditto
12260 * libm/math/wf_scalb.c (scalbf): ditto
12261 * libm/math/wf_remainder.c (remainderf): ditto
12262 * libm/math/wf_pow.c (powf): ditto
12263 * libm/math/wf_log10.c (log10f): ditto
12264 * libm/math/wf_log.c (logf): ditto
12265 * libm/math/wf_lgamma.c (lgammaf): ditto
12266 * libm/math/wf_jn.c (jnf, ynf): ditto
12267 * libm/math/wf_j1.c (j1f, y1f): ditto
12268 * libm/math/wf_j0.c (j0f, y0f): ditto
12269 * libm/math/wf_hypot.c (hypotf): ditto
12270 * libm/math/wf_gamma.c (gammaf): ditto
12271 * libm/math/wf_fmod.c (fmodf): ditto
12272 * libm/math/wf_exp.c (expf): ditto
12273 * libm/math/wf_cosh.c (coshf): ditto
12274 * libm/math/wf_atanh.c (atanhf): ditto
12275 * libm/math/wf_atan2f.c (atan2f): ditto
12276 * libm/math/wf_asin.c (asinf): ditto
12277 * libm/math/wf_acosh.c (acoshf): ditto
12278 * libm/math/wf_acos.c (acosf): ditto
12279 * libm/math/w_sqrt.c (sqrt): ditto
12280 * libm/math/w_sinh.c (sinh): ditto
12281 * libm/math/w_scalb.c (scalb): ditto
12282 * libm/math/w_remainder.c (remainder): ditto
12283 * libm/math/w_pow.c (pow): ditto
12284 * libm/math/w_log10.c (log10): ditto
12285 * libm/math/w_log.c (log): ditto
12286 * libm/math/w_lgamma.c (lgamma): ditto
12287 * libm/math/w_jn.c (jn, yn): ditto
12288 * libm/math/w_j1.c (j1, y1): ditto
12289 * libm/math/w_j0.c (j0, y0): ditto
12290 * libm/math/w_hypot.c (hypot): ditto
12291 * libm/math/w_gamma.c (gamma): ditto
12292 * libm/math/w_fmod.c (fmod): ditto
12293 * libm/math/w_exp.c (exp): ditto
12294 * libm/math/w_cosh.c (cosh): ditto
12295 * libm/math/w_atanh.c (atanh): ditto
12296 * libm/math/w_atan2f.c (atan2): ditto
12297 * libm/math/w_asin.c (asin): ditto
12298 * libm/math/w_acosh.c (acosh): ditto
12299 * libm/math/w_acos.c (acos): ditto
12300
12301 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12302
12303 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12304 (fsrc): Add wf_cabs.c and wf_drem.c.
12305 * libm/math/Makefile.in: Rebuild.
12306
12307 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12308 unused directory variables. Remove duplicate CFLAGS.
12309 * Makefile.in: Rebuild.
12310
12311 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12312 with $(CC_FOR_BUILD).
12313 (makedoc.o): Likewise.
12314 * doc/Makefile.in: Rebuild.
12315
12316 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12317 force a definition of COMPILE.
12318 (libfoo_a_SOURCES): Define.
12319 * libc/sys/cygwin32/Makefile.in: Rebuild.
12320 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12321 force a definition of COMPILE.
12322 (libfoo_a_SOURCES): Define.
12323 * libc/sys/tic80/Makefile.in: Rebuild.
12324
12325 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12326
12327 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12328 flag.
12329
12330 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12331
12332 * Build using autoconf and automake. Added many Makefile.am and
12333 configure.in files, plus generated files. Old configure.in files
12334 and all old Makefile.in files completely replaced. Removed
12335 host/any. Added acinclude.m4 and configure.host.
12336
12337 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12338
12339 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12340 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12341
12342 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12343
12344 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12345 * libc/machine/sh/Makefile.in: Add rules for new files.
12346
12347 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12348
12349 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12350 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12351 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12352
12353 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12354
12355 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12356 code is ignored.
12357
12358 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12359
12360 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12361 internal static buffer when s is NULL, as prescribed by ANSI.
12362
12363 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12364
12365 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12366 removed.
12367 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12368 libc/stdlib will be used for h8300hms.
12369
12370 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12371
12372 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12373 version that can be built either for speed or size.
12374 * libc/machine/mn10300/memset.S (_memset): ditto
12375 * libc/machine/mn10300/memchr.S (_memchr): ditto
12376 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12377 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12378 * libc/machine/mn10300/strchr.S (_strchr): ditto
12379 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12380 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12381 * libc/machine/mn10300/Makefile.in: Added entries for
12382 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12383 strcmp.o, strcpy.o, and strlen.o.
12384
12385 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12386
12387 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12388 been replaced with libgloss/mn10200.
12389
12390 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12391
12392 * libc/string/strchr.c (strchr): Make s a constant pointer to
12393 avoid warning.
12394
12395 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12396
12397 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12398 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12399 board SWIs instead of Demon board SWIs).
12400
12401 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12402
12403 * libc/string/strncat.c (strncat): Make -Os act the same as
12404 PREFER_SIZE_OVER_SPEED being defined.
12405
12406 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12407
12408 * libc/string/memchr.c (memchr): Make -Os act the same as
12409 PREFER_SIZE_OVER_SPEED being defined.
12410 * libc/string/memcmp.c (memcmp): Ditto.
12411 * libc/string/memcpy.c (memcpy): Ditto.
12412 * libc/string/memset.c (memset): Ditto.
12413 * libc/string/strcat.c (strcat): Ditto.
12414 * libc/string/strchr.c (strchr): Ditto.
12415 * libc/string/strcmp.c (strcmp): Ditto.
12416 * libc/string/strcpy.c (strcpy): Ditto.
12417 * libc/string/strlen.c (strlen): Ditto.
12418 * libc/string/strncat.c (strncat): Ditto.
12419 * libc/string/strncmp.c (strncmp): Ditto.
12420 * libc/string/strncpy.c (strncpy): Ditto.
12421
12422 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12423
12424 * libc/include/sys/itimer.h: remove
12425 * libc/include/sys/time.h: itimer stuff should be here
12426
12427 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12428
12429 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12430 bit instead of comparing to 0 so -0.0 can be printed correctly.
12431
12432 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12433
12434 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12435
12436 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12437
12438 * libc/include/sys/unistd.h: fix sync() proto
12439 * libc/include/sys/fcntl.h: remove _close which is already
12440 defined in unistd.h.
12441 * libc/include/sys/time.h: add getitimer proto
12442
12443 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12444
12445 * libc/string/strchr.c: convert arg to unsigned char
12446 * libc/include/stdlib.h: add protos for random, srandom
12447 * libc/include/sys/stat.h: add lstat proto
12448 * libc/include/sys/time.h: add setitimer proto
12449 * libc/include/sys/unistd.h: add readlink, symlink protos
12450 * libc/include/process.h: instead of including windows.h and using
12451 HANDLEs in sexec protos, just use void *s. Need to include
12452 sys/types.h.
12453
12454 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12455
12456 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12457
12458 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12459
12460 * libc/include/process.h: add secure exec protos
12461
12462 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12463
12464 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12465 which are accessed as both doubles and integers.
12466 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12467 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12468 * libc/stdlib/mprec.h: Add "union double_union" and change
12469 word0/word1 macros to use it.
12470
12471 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12472
12473 * libc/include/sys/signal.h: add __cplusplus wrapper
12474
12475 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12476
12477 * libc/include/sys/utime.h: new generic file that gets replaced by
12478 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12479 function.
12480 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12481 * libc/include/time.h: remove duplicate utime proto
12482 * libc/include/utime.h: add comment
12483
12484 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12485
12486 * libc/include/sys/time.h: Add missing include to
12487 allow use of _EXFUN. Remove times function that is
12488 already defined in times.h.
12489
12490 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12491
12492 * libc/include/time.h: Fix typo in tzset.
12493
12494 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12495
12496 * libc/include/sys/time.h: add missing Cygwin32 function protos
12497 * libc/include/sys/unistd.h: ditto
12498 * libc/include/time.h: ditto
12499
12500 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12501
12502 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12503 FIXME.
12504 * libc/include/sys/types.h: add a new __MS_types__ section
12505 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12506 __BIT_TYPES_DEFINED__.
12507
12508 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12509
12510 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12511 since it overrides the one in libc/include/sys. Also, start
12512 including types.h.
12513
12514 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12515
12516 * libm/math/Makefile.in: add s_signgam.o to obj list
12517
12518 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12519
12520 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12521
12522 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12523
12524 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12525 so don't use defines.
12526
12527 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12528
12529 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12530
12531 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12532
12533 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12534 _current_locale as default locale.
12535
12536 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12537
12538 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12539 insufficient space in a chunk.
12540
12541 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12542
12543 * configure.in (links): Added check for --enable-newlib-mb configure
12544 option which defines the MB_CAPABLE macro.
12545 * libc/locale/locale.c (_setlocale_r): Added support for setting
12546 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12547 defined.
12548 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12549 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12550 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12551 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12552 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12553 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12554 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12555 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12556 * libc/stdlib/Makefile.in: Added new multibyte
12557 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12558 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12559 _mbstowcs_r(), and _wcstombs_r().
12560 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12561 for JIS, SJIS, and EUC-JP characters.
12562 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12563 MB_CAPABLE defined.
12564 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12565 MB_CAPABLE defined.
12566 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12567 MB_CAPABLE defined.
12568 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12569 if MB_CAPABLE defined.
12570 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12571 if MB_CAPABLE defined.
12572 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12573 to the format string processing when MB_CAPABLE.
12574 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12575 call _mbtowc_r().
12576
12577 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12578
12579 The following modifications are courtesy of Anthony Thompson,
12580 athompson@cambridge.arm.com:
12581 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12582 boith RDI and RDP monitors.
12583 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12584 RDI and RDP monitors.
12585
12586 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12587
12588 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12589 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12590 (_swiopen): Fixed open flags to treat write with append as just append.
12591 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12592 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12593
12594 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12595
12596 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12597 When needing to transfer an initial 2-byte-word, store as
12598 two single bytes.
12599
12600 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12601
12602 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12603 __SH3E__ .
12604 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12605 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12606
12607 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12608
12609 * configure.in (target_cflags): If --enable-target-optspace, use
12610 -Os to compile newlib rather than -O2. Default to using -Os for
12611 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12612 used.
12613
12614 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12615
12616 * libc/include/machine/setjmp.h: change sigsetjmp and
12617 siglongjmp definitions to use an array instead of a struct
12618 for __CYGWIN32__
12619
12620 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12621
12622 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12623
12624 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12625
12626 * libc/string/strxfrm.c: fix to get correct return value
12627
12628 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12629
12630 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12631 builds. Make mode change labels global so that they will be seen
12632 by the debugger.
12633
12634 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12635
12636 * configure.in (links): Do not use ARM debiugging protocols for PE
12637 builds.
12638
12639 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12640 message.
12641
12642 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12643
12644 * libc/stdio/findfp.c (__sinit): Made stdout default to
12645 line buffered mode as defined by ANSI.
12646
12647 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12648
12649 * libc/include/sys/itimer.h: New file.
12650
12651 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12652
12653 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12654
12655 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12656 failure.
12657
12658 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12659
12660 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12661 insns.
12662
12663 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12664
12665 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12666
12667 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12668
12669 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12670 support.
12671
12672 * libc/include/machine/setjmp.h: Add D30V support.
12673
12674 * configure.in (d30v-*): Add d30v machine directory.
12675
12676 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12677
12678 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12679 been replaced with libgloss/mn10300.
12680
12681 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12682
12683 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12684 it is no longer needed.
12685
12686 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12687
12688 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12689
12690 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12691
12692 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
12693 the file when O_APPEND is set, wherever the EOF happens to be at
12694 that time.
12695
12696 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
12697
12698 patch from cgf@bbc.com (Christopher Faylor):
12699 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12700 convention of closing fp prior to attempting to open the file
12701 argument. This allows correct operation when reopening
12702 stdin/stdout/stderr. Replaces last freopen.c patch.
12703
12704 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12705
12706 patch from cgf@bbc.com (Christopher Faylor):
12707 * libc/stdio/freopen.c: freopen was not preserving the fd
12708 of the stream being operated on. This confuses programs that
12709 expect that the handles for stdout and stderr will be 1 and 2.
12710
12711 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12712
12713 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12714
12715 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12716
12717 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12718
12719 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12720
12721 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12722 altered to not use a branch. Also added hint that last
12723 bclr in longjmp will likely result in branch.
12724
12725
12726 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12727
12728 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
12729
12730 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12731
12732 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
12733 v850 builds.
12734
12735 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
12736
12737 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
12738
12739 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
12740 that loads FR14 to specify offset of 8 rather than 4
12741 so it loads from offset 96 (where setjmp stored it).
12742
12743 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12744
12745 * libc/machine/sh/memcpy.S: (_memcpy): Update to
12746 latest version supplied by customer.
12747 * libc/machine/sh/memset.S (_memset): Ditto.
12748
12749 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
12750
12751 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
12752 PR14730).
12753
12754 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
12755
12756 * libc/include/string.h: remove redefinition of ffs
12757
12758 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
12759
12760 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
12761 defined
12762
12763 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12764
12765 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
12766 TI Libraries to link to libc.a
12767
12768 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
12769
12770 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
12771 * libc/include/sys/stat.h (_{,f}stat): Ditto.
12772 * libc/include/sys/wait.h (_wait): Ditto.
12773 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
12774 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
12775
12776 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
12777
12778 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
12779 minded stabs so function name shows up when running the simulator
12780 with -t.
12781 * libc/sys/d10v/{crt0,trap}.S: Ditto.
12782
12783 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
12784
12785 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
12786 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
12787 Use R5 where we used to use R3.
12788
12789 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
12790
12791 * libc/stdlib/getopt.c (getopt): replaced __progname
12792 with nargv[0] to improve portability to imbedded systems.
12793
12794 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
12795
12796 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
12797 patch supplied by Tont.Thompson@arm.com to fix the creation of the
12798 stdout file.
12799
12800 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
12801
12802 * libc/stdio/tmpnam.c (worker): Generate a different file name
12803 each time.
12804
12805 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
12806 fails, try an execlp for sh.
12807
12808 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
12809 option for the winsup include directory.
12810
12811 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
12812
12813 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
12814 debugging interface from Tony.Thompson@arm.com.
12815
12816 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
12817 * libc/sys/arm/swi.h: ditto.
12818
12819 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12820
12821 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
12822 DIR struct used for readdir hashes.
12823
12824 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
12825
12826 * libc/string/strchr.c: Use "unsigned chars" as necessary.
12827
12828 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
12829
12830 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
12831 integer targets.
12832
12833 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
12834
12835 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
12836 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
12837 * libc/include/malloc.h: Add extern "C" if __cplusplus.
12838 (__malloc_copy): Declare.
12839
12840 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
12841
12842 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
12843 <sys/config.h>.
12844 (POINTER_UINT): Define.
12845 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
12846 (MALLOC_ALIGNMENT): Don't define if already defined.
12847 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
12848 long.
12849
12850 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
12851
12852 * libc/string/memset.c (memset): Fiddle with code so that the long
12853 value being stored is not a stack value. Unroll storing longs 4
12854 times.
12855
12856 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
12857
12858 * Reduce code size for libm modules.
12859 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
12860 and simply move code into sqrt.
12861 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
12862 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
12863 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
12864 * libm/math/wr_gamma.c (gamma_r): Likewise.
12865 * libm/math/wf_sinh.c (sinfh): Likewise.
12866 * libm/math/w_sinh.c (sinh): Likewise.
12867 * libm/math/wf_scalb.c (scalbf): Likewise.
12868 * libm/math/w_scalb.c (scalb): Likewise.
12869 * libm/math/wf_remainder.c (remainderf): Likewise.
12870 * libm/math/w_remainder.c (remainder): Likewise.
12871 * libm/math/wf_pow.c (powf): Likewise.
12872 * libm/math/w_pow.c (pow): Likewise.
12873 * libm/math/wf_log10.c (log10f): Likewise.
12874 * libm/math/w_log10.c (log10): Likewise.
12875 * libm/math/wf_log.c (logf): Likewise.
12876 * libm/math/w_log.c (log): Likewise.
12877 * libm/math/w_lgamma.c (lgamma): Likewise.
12878 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12879 * libm/math/wf_jn.c (jnf): Likewise.
12880 * libm/math/w_jn.c (jn): Likewise.
12881 * libm/math/wf_j1.c (j1f): Likewise.
12882 * libm/math/w_j1.c (j1): Likewise.
12883 * libm/math/wf_j0.c (j0f): Likewise.
12884 * libm/math/w_j0.c (j0): Likewise.
12885 * libm/math/wf_hypot.c (hypotf): Likewise.
12886 * libm/math/w_hypot.c (hypot): Likewise.
12887 * libm/math/wf_gamma.c (gammaf): Likewise.
12888 * libm/math/w_gamma.c (gamma): Likewise.
12889 * libm/math/wf_fmod.c (fmodf): Likewise.
12890 * libm/math/w_fmod.c (fmod): Likewise.
12891 * libm/math/wf_exp.c (expf): Likewise.
12892 * libm/math/w_exp.c (exp): Likewise.
12893 * libm/math/wf_cosh.c (coshf): Likewise.
12894 * libm/math/w_cosh.c (cosh): Likewise.
12895 * libm/math/wf_atanh.c (atanhf): Likewise.
12896 * libm/math/w_atanh.c (atanh): Likewise.
12897 * libm/math/wf_atan2.c (atan2f): Likewise.
12898 * libm/math/w_atan2.c (atan2): Likewise.
12899 * libm/math/wf_asin.c (asinf): Likewise.
12900 * libm/math/w_asin.c (asin): Likewise.
12901 * libm/math/wf_acosh.c (acoshf): Likewise.
12902 * libm/math/w_acosh.c (acosh): Likewise.
12903 * libm/math/wf_acos.c (asocf): Likewise.
12904 * libm/math/w_acos.c (acos): Likewise.
12905 * libm/math/wf_sqrt.c (sqrtf): Likewise.
12906 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
12907 for embedded systems.
12908
12909 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
12910
12911 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
12912 Lea in case of a foreign sbrk.
12913
12914 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
12915
12916 Incorporate Doug Lea's malloc:
12917 * libc/stdlib/mallocr.c: Completely replaced.
12918 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
12919 (realloc): Remove.
12920 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
12921 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
12922 mallopt.
12923 (mallinfo, malloc_stats, mallopt): New functions.
12924 (_mstats_r): Just call _malloc_stats_r.
12925 * libc/stdlib/malign.c: New file.
12926 * libc/stdlib/mlock.c: New file.
12927 * libc/stdlib/msize.c: New file.
12928 * libc/stdlib/mtrim.c: New file.
12929 * libc/stdlib/realloc.c: New file.
12930 * libc/stdlib/valloc.c: New file.
12931 * libc/stdlib/malloc.h: Remove.
12932 * libc/stdlib/callocr.c: Remove.
12933 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
12934 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
12935 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
12936 reallocr.o, valloc.o, vallocr.o.
12937 (CHEWOUT_FILES): Add mlock.def, mstats.def.
12938 (MALLOC_CFLAGS): New variable.
12939 (mallocr.o): New target, build from mallocr.c.
12940 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
12941 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
12942 (msizer.o, malloptr.o): Likewise.
12943 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
12944 (valloc.o): New target.
12945 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
12946 * libc/include/malloc.h: Declare struct mallinfo, and new
12947 routines.
12948 * libc/include/stdlib.h (cfree): Correct declaration.
12949
12950 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
12951
12952 * libc/include/machine/setjmp.h: Add support for Thumb target.
12953
12954 * libc/include/machine/ieeefp.h: Add support for Thumb target.
12955
12956 * configure.in (links): Add support for Thumb target.
12957
12958 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
12959
12960 * libc/sys/arm/setjmp.S: Updated with version from branch.
12961
12962 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
12963
12964 * libc/include/stdio.h: add POSIX-required define L_ctermid
12965 for ctermid
12966
12967 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
12968
12969 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
12970 addition to MISSING_SYSCALL_NAMES.
12971
12972 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12973
12974 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
12975
12976 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
12977
12978 * libc/include/string.h: change strsignal proto to return
12979 a char *. This eliminates compile problems in gdb resulting
12980 from gdb's definition of strsignal in defs.h.
12981
12982 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
12983
12984 * libc/sys/cygwin32/sys/utime.h: new (moved here from
12985 winsup/include) so as not to conflict with the one in
12986 libc/include.
12987 * libc/include/string.h: add protos for strsignal, strtosigno
12988
12989 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
12990
12991 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
12992
12993 * configure.in (d30v-*-*): Add configuration.
12994
12995 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
12996
12997 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
12998 to select which kind of debug monitor is in use for an ARM target.
12999
13000 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13001 Angel and Demon debug monitors. Part of this code was supplied by
13002 Tony Thompson at ARM: athompso@arm.com.
13003
13004 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13005
13006 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13007 semantics when the count is greater than the length of the second
13008 source string.
13009
13010 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13011
13012 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13013 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13014 truncate and ftruncate take off_t, not size_t
13015
13016 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13017
13018 * libc/string/strcat.c (strcat): Add missing comment end.
13019 * libc/string/strncat.c (strncat): Likewise.
13020
13021 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13022
13023 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13024 targets.
13025 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13026 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13027 defined.
13028 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13029 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13030 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13031
13032 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13033
13034 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13035 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13036
13037 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13038
13039 * libc/machine/i386/setjmp.S: New file.
13040 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13041 (OFILES): Add setjmp.o.
13042 (setjmp.o): Add rule for.
13043 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13044
13045 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13046 Jeffrey A Law (law@cygnus.com)
13047
13048 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13049 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13050 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13051 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13052
13053 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13054
13055 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13056 rules.
13057
13058 * libc/include/sys/config.h: Use __v850 to select v850
13059 endianness.
13060
13061 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13062 buffer size.
13063
13064 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13065 endianness.
13066
13067 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13068
13069 * libc/stdlib/setenv.c: change unsetenv definition to match
13070 style of setenv (with _DEFUN). The string should be a const.
13071 * libc/include/stdlib.h: unsetenv proto should return void.
13072
13073 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13074
13075 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13076
13077 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13078
13079 * libc/stdio/glue.h: remove.
13080 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13081 * libc/stdio/Makefile.in: remove glue.h dependencies
13082
13083 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13084
13085 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13086
13087 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13088
13089 * configure.in (target_cpu): Add `arc'.
13090
13091 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13092
13093 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13094 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13095 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13096 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13097 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13098
13099 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13100
13101 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13102
13103 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13104
13105 * libc/include/stdio.h (siprintf): Declare.
13106
13107 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13108
13109 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13110 TARGET_CFLAGS and NEWLIB_FLAGS.
13111
13112 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13113
13114 * configure.in (links): Add support for v850ea target.
13115
13116 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13117
13118 * configure.in (links): Add support for v850e target.
13119
13120 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13121
13122 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13123
13124 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13125
13126 * configure.in (arc-*-*): Add support for.
13127 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13128
13129 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13130
13131 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13132
13133 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13134
13135 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13136 comparison which accesses invalid memory when the key is
13137 larger than the last member of the array.
13138 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13139 for CYGWIN32
13140 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13141
13142 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13143
13144 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13145 not _STRICT_ANSI.
13146
13147 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13148
13149 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13150 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13151
13152 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13153
13154 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13155 to load/store memory.
13156
13157 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13158
13159 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13160 underscores if _WIN32.
13161
13162 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13163
13164 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13165 support ifdef _USE_WRITE missed in last change.
13166 From Anders Blomdell <anders.blomdell@control.lth.se>.
13167
13168 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13169
13170 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13171 (_tmpnam_r, _tempnam_r): Update.
13172
13173 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13174
13175 * libc/machine/sparc/setjmp.S: New file.
13176 * libc/machine/sparc/Makefile.in: Add setjmp.
13177 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13178
13179 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13180
13181 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13182
13183 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13184
13185 From Joel Sherrill <joel@oarcorp.com>.
13186 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13187
13188 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13189 * configure.in: Recognize *-*-rtems*.
13190 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13191 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13192 time.h,times.h,types.h}: New files.
13193 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13194
13195 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13196
13197 patch from sos@prospect.com.ru (Sergey Okhapkin):
13198 * include/sys/wait.h: correct operator precidence bug
13199 in WIFSIGNALED
13200
13201 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13202
13203 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13204 with newlib's unsetenv function
13205 * libc/sys/cygwin32/sys: new directory for includes
13206 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13207 here from winsup/include/sys
13208
13209 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13210
13211 * libc/include/sys/unistd.h: _exit should only be
13212 labelled noreturn when not __CYGWIN32__
13213 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13214 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13215 increment NSIG
13216
13217 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13218
13219 * libc/include/sys/time.h: Only define timeval and timezone if
13220 _GNU_H_WINDOWS32_SOCKETS is not defined.
13221 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13222
13223 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13224
13225 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13226 * libc/machine/mn10300/setjmp.S: Likewise.
13227
13228 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13229 the mn10300 (more relaxing opportunities).
13230
13231 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13232
13233 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13234 Build libraries with -mstrict-align.
13235
13236 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13237
13238 * libc/string/strlwr.c: New file.
13239 * libc/string/strupr.c: New file.
13240 * libc/include/string.h: Declare strlwr and strupr.
13241 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13242 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13243 (strlwr.o, strupr.o): New targets.
13244 * libc/string/strings.tex: Include strlwr and strupr docs.
13245
13246 * libc/include/sys/types.h: Don't define u_char, et. al., if
13247 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13248 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13249 _types_fd_set rather than fd_set, and define fd_set as a macro.
13250
13251 * libc/include/malloc.h: New file.
13252
13253 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13254 strnicmp if they are not already defined.
13255
13256 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13257 _timezone, _daylight, and _tzname.
13258
13259 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13260
13261 * configure.in: Sort all configuration tables.
13262
13263 From Joel Sherrill <joel@oarcorp.com>
13264 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13265
13266 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13267
13268 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13269 use int when declaring kill.
13270
13271 * libc/include/sys/timeb.h: New file.
13272
13273 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13274
13275 * libc/include/sys/time.h: add itimer support for Cygwin32
13276
13277 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13278
13279 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13280 out a message that abort was called to stderr.
13281
13282 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13283
13284 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13285 so that libio doesn't freak.
13286
13287 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13288 int.
13289
13290 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13291 memory sizes, not int.
13292
13293 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13294
13295 * libm/math/ef_hypot.c: Use long constants where
13296 appropriate.
13297 * libm/math/ef_sqrt.c: Ditto.
13298
13299 * libc/sys/sysmec/times.c(_times): Change to times.
13300
13301 * libc/sys/sysmec/read.c(_read): The third argument is
13302 size_t.
13303 * libc/sys/sysmec/write.c (_write): Ditto.
13304
13305 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13306 (_lseek): It's off_t for the second argument.
13307
13308 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13309
13310 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13311 as well as machine/ieeefp.h.
13312
13313 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13314
13315 * libc/include/sys/signal.h: add signal protos for winsup
13316 functions (when __CYGWIN32__), include types.h
13317 * libc/include/sys/types.h: Change __go32_types__ internal
13318 define to __MS_types__ since it's used for more than just
13319 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13320 defined.
13321 * libc/include/sys/unistd.h: add ftruncate proto for
13322 winsup functions (when __CYGWIN32__)
13323
13324 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13325
13326 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13327
13328 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13329
13330 * libc/include/machine/setjmp.h: Add tic80 support.
13331 * libc/machine/tic80/setjmp.S: Likewise.
13332
13333 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13334
13335 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13336 link programs from libraries only (such as in the X11
13337 distribution)
13338
13339 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13340
13341 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13342 supplied elsewhere in newlib.
13343
13344 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13345
13346 * Makefile.in (INSTALL): Change install.sh to install-sh.
13347
13348 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13349
13350 * README: update WWW address for on-line documentation.
13351
13352 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13353
13354 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13355 increment NSIG
13356
13357 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13358
13359 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13360 mn10300.
13361 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13362
13363 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13364
13365 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13366 * libc/sys/d10v/syscalls.c: Likewise.
13367 * libc/sys/h8300hms/sbrk.c: Likewise.
13368 * libc/sys/h8500hms/syscalls.c: Likewise.
13369 * libc/sys/m88kbug/syscalls.c: Likewise.
13370 * libc/sys/sh/syscalls.c: Likewise.
13371 * libc/sys/sysmec/sbrk.c: Likewise.
13372 * libc/sys/sysnecv850/sbrk.c: Likewise.
13373 * libc/sys/w65/syscalls.c: Likewise.
13374 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13375
13376 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13377
13378 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13379 emulated syscall instead of "trap".
13380
13381 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13382
13383 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13384 not trap 0.
13385
13386 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13387
13388 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13389
13390 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13391
13392 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13393 not "sh".
13394 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13395 not "d10v".
13396 * libc/sys/tic80/crt0.c: New file for TIc80.
13397 * libc/sys/tic80/Makefile.in: New file for TIc80.
13398 * libc/machine/tic80/Makefile.in: New file for TIc80.
13399
13400 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13401
13402 * libc/machine/sh/memcpy.S: New file.
13403 * libc/machine/sh/memset.S: New file.
13404 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13405
13406 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13407
13408 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13409 for TIc80.
13410
13411 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13412
13413 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13414 the mn10200.
13415
13416 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13417
13418 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13419 (patch from andrew@pogo.WV.TEK.COM).
13420
13421 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13422
13423 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13424 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13425
13426 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13427
13428 * configure.in: Add cases for "tic80" to set machine_dir,
13429 sys_dir, and syscall_dir.
13430
13431 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13432
13433 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13434
13435 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13436
13437 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13438
13439 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13440
13441 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13442 Use proper constant prefix.
13443
13444 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13445
13446 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13447 that loses on the mn10200 where ints and pointers are different
13448 sizes.
13449
13450 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13451
13452 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13453 target as signal is provided in winsup.
13454
13455 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13456
13457 * libc/include/sys/process.h: Corrected const definitions
13458 in spawn functions. Added cwait.
13459
13460 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13461
13462 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13463 doubles.
13464 * libc/include/sys/config.h: Similarly.
13465
13466 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13467
13468 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13469 target_cflags.
13470 (i[3456]86-*-sco*): Ditto.
13471
13472 * libc/signal/Makefile.in (OFILES): Add signal.o.
13473 (CFILES): Add signal.c.
13474
13475 * libc/signal/raise.c (_raise_r): Only compile code if
13476 SIGNAL_PROVIDED is defined.
13477
13478 * libc/signal/signal.c: Redo whole file so that it works with
13479 current newlib. Use _kill_r if no signal handler provided.
13480
13481 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13482 signal stubs.
13483 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13484 * libc/sys/sysnecv850/Makefile.in: Ditto.
13485
13486 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13487 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13488 * libc/sys/sysvnecv70/signal.s: Ditto.
13489 * libc/sys/sysnecv850/raise.c: Ditto.
13490
13491 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13492 simulator and debugger can tell the difference between a signal
13493 being raised and an exit system call.
13494
13495 * NEWS: Document software signals being provided.
13496
13497 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13498
13499 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13500 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13501 include/sys/config.h.
13502 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13503 Change from 'inpure_data'.
13504 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13505 &impure_data, not &inpure_data.
13506
13507 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13508 and and System V ABI, define so that _impure_ptr lives in the
13509 .sdata section.
13510
13511 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13512
13513 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13514 nothing if not defined.
13515 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13516 its attributes.
13517
13518 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13519
13520 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13521
13522 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13523 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13524 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13525
13526 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13527
13528 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13529
13530 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13531
13532 * libc/include/sys/errno.h: Added net errno's.
13533
13534 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13535
13536 * libc/misc/ffs.c: New file to support ffs function for GCC test
13537 gcc.c-torture/execute/960909-1.c.
13538
13539 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13540
13541 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13542
13543 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13544 * libc/sys/sysmec/trap.S: Likewise.
13545
13546 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13547
13548 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13549 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13550
13551 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13552
13553 * libc/sys/sysmec/signal.c: Dummy file.
13554 * libc/sys/sysmec/Makefile.in: Build it.
13555
13556 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13557
13558 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13559 mips16.
13560
13561 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13562
13563 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13564 c-startup and simulator traps.
13565
13566
13567 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13568 * libc/sys/sysmec/trap0.S: Likewise.
13569
13570 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13571
13572 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13573 round to double word alignment.
13574 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13575 byte alignment.
13576
13577 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13578
13579 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13580 out of memory.
13581
13582 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13583
13584 * configure.in: Handle mn10200 and mn10300.
13585 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13586 * libc/include/sys/config.h: Likewise.
13587 * libc/sys/sysmec: New directory for mec stuff.
13588 * libc/machine/mn10300: New directory for mn10300 stuff.
13589 * libc/machine/mn10200: Similarly for mn10200 stuff.
13590
13591 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13592
13593 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13594 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13595
13596 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13597 (nlink_t): Change type from unsigned int to unsigned short.
13598 (mode_t): Ensure size is 32 bits even if int is 16.
13599 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13600 (st_spare[123]): Change type from int to long.
13601
13602 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13603
13604 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13605 byte boundary.
13606
13607 * configure.in (d10v*): Define SMALL_MEMORY.
13608
13609 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13610
13611 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13612 -mrelocatable-lib and -mno-eabi flags.
13613
13614 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13615
13616 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13617 Fix handling of mis-aligned source operand when both the
13618 destination & length are properly aligned.
13619
13620 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13621
13622 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13623 times.o, time.o and gettime.o
13624 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13625 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13626 SYS_gettimeofday.
13627
13628 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13629
13630 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13631 * libc/sys/sysnecv850/access.c: New file.
13632
13633 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13634
13635 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13636
13637 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13638 long.
13639
13640 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13641
13642 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13643
13644 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13645
13646 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13647 * libc/include/sys/config.h: Add m32r support.
13648
13649 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13650
13651 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13652 here.
13653
13654 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13655
13656 * libc/include/machine/setjmp.h: Add D10v support.
13657
13658 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13659
13660 * configure.in: Configure the "libc/syscalls" directory for
13661 the v850.
13662
13663 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13664 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13665 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13666 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13667 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13668
13669 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13670
13671 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13672 stack for args for main and other routines. Zero out args for
13673 main.
13674
13675 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13676 correctly.
13677
13678 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13679
13680 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13681 function.
13682
13683 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13684
13685 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13686 real system calls now.
13687
13688 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13689 before casting them to int.
13690 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13691
13692 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13693 aligning pointer.
13694 * libc/string/memset.c (memset): Ditto.
13695
13696 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13697 first convert ints to _POINTER_INT to eliminate GCC warning.
13698
13699 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13700 processing %p.
13701
13702 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13703 from 65000 if ints are only 16 bits.
13704
13705 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13706 from 50000 if ints are only 16 bits.
13707
13708 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13709 int type that is the same size as a pointer.
13710
13711 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13712 processing %p.
13713 (get_number): Explicitly cast number to long before shifting by 16
13714 or 24, in case ints are short.
13715
13716 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13717
13718 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13719
13720 * libc/string.h: Added ffs, removed swab.
13721 * libc/sys/errno.h: Added EOPNOTSUPP.
13722 * libc/sys/unistd.h: Added swab.
13723
13724 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13725
13726 * libc/include/sys/stat.h: Added fchmod.
13727 * libc/include/sys/unistd.h: Added fsync.
13728
13729 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13730
13731 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
13732 and ECONNRESET (104) for cygwin32.
13733
13734 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
13735
13736 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
13737 do the static destructors.
13738
13739 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
13740
13741 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
13742
13743 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
13744
13745 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
13746 * configure.in: Recognize m32r-*-*.
13747
13748 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
13749
13750 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
13751 __rt_stkovf_split_small): Added default software stack overflow
13752 handlers, which just call SWI_Exit.
13753 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
13754 limit initialisation.
13755
13756 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
13757
13758 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
13759
13760 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
13761
13762 * libc/include/sys/types.h: Added ssize_t definition.
13763
13764 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13765
13766 * libc/machine/d10v/setjmp.S: Use ';' for comments.
13767 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
13768
13769 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
13770 branch around a single ldi instruction.
13771
13772 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
13773 Call exit, instead of just issuing a stop instruction.
13774
13775 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13776
13777 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
13778
13779 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13780
13781 * libc/stdlib/mprec.h: Explicitly declare all large constants as
13782 longs, and then cast them to __uint32_t.
13783
13784 * libc/include/sys/config.h: Protect against multiple inclusions.
13785
13786 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
13787
13788 * configure.in (d10v*): Set syscall_dir.
13789
13790 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
13791
13792 * libc/sys/d10v/crt0.S: Set stack pointer.
13793
13794 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
13795
13796 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
13797 in assembly for efficiency. Change calling convention to allow
13798 long ints to be returned.
13799
13800 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13801
13802 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
13803
13804 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
13805
13806 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
13807 Handle empty entries in $PATH.
13808
13809 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
13810
13811 * libc/machine/d10v/setjmp.S: Make it really work.
13812
13813 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
13814
13815 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
13816 the .stack section.
13817
13818 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
13819
13820 * sys/sysnecv850/sys/file.h: Remove.
13821 * sys/sysnecv850/sys/syscall.h: New file.
13822 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
13823 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
13824 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
13825 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
13826 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
13827 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
13828 * sys/sysnec850/trap.S: New file.
13829 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
13830 syscalls.
13831 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
13832 * sys/sysnec850/sbrk.c: New version.
13833
13834 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
13835
13836 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
13837 as long as r6 is less than r7.
13838
13839 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
13840
13841 * Makefile.in (mostlyclean): Separate from clean target. Don't
13842 remove *.a or targ-include.
13843 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
13844
13845 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13846
13847 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
13848 d10v.
13849 (__SMALL_BITFIELDS): Ditto.
13850
13851 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
13852
13853 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
13854
13855 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
13856 prefix.
13857
13858 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
13859 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
13860 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
13861 * libc/sys/sysnecv850/write.c (write): Likewise.
13862
13863 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
13864 .bss.
13865
13866 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13867
13868 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
13869 appropriately for D10V, depending on -mint16/-mint32.
13870
13871 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
13872
13873 * configure.in: Add cases for D10V.
13874
13875 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13876
13877 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
13878
13879 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
13880
13881 * libc/include/machine/ieeefp.h: Fix typo.
13882
13883 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
13884
13885 * libc/sys/d10v: New directory for D10V stuff.
13886 * libc/include/machine/ieeefp.h: Add D10V defines.
13887
13888 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
13889
13890 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
13891 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
13892 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
13893 * libc/string/strerror.c (strerror): Add them.
13894
13895 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
13896
13897 * libc/sys/sysnecv850: New directory for v850 stuff.
13898
13899 * libc/machine/v850: New directory for v850 stuff.
13900 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
13901
13902 * configure.in: Add support for the v850.
13903
13904 * libc/include/machine/ieeefp.h: Add v850 defines.
13905 * libc/include/machine/setjmp.h: Likewise.
13906 * libc/include/sys/config.h: Add v850 defines.
13907
13908 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
13909
13910 * libc/include/machine/ieeefp.h
13911 * libc/include/machine/setjmp.h
13912 * libc/include/sys/fcntl.h
13913 * libc/include/sys/signal.h
13914 * libc/include/sys/types.h
13915 * libc/stdlib/system.c:
13916 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
13917 API availability, __CYGWIN32__ for cygwin32 environment specific).
13918
13919 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
13920
13921 * libc/include/stdlib.h: add multibyte character functions. Add
13922 __eprintf for assert.
13923
13924 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13925
13926 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
13927 arithmetic or __alignof__ to properly get the alignment, instead
13928 of hardwiring it to 4.
13929
13930 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
13931
13932 * libc/stdio/fseek.c: add fflush call to adjust seek offset
13933 on append stream (fix from NetBSD sources), adjust curoff offset
13934 for ungetc's benefit.
13935 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
13936 * libc/stdio/rewind.c: replace code with up to date NetBSD
13937 code to undo hacks made to work around above problem of not
13938 having fflush call mentioned above
13939
13940 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13941
13942 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
13943 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
13944 Partially revert last changes. The thread specific errno is set
13945 iff if the underlying syscall fails and the global errno is not
13946 zero.
13947
13948 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13949
13950 * libc/reent/filer.c: Removed files, all functions have split out
13951 into their own files.
13952 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
13953 New files containing functions formally in filer.c
13954 * libc/reent/Makefile.in: Updated for above change.
13955
13956 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
13957 syscall fails, not if errno is changed.
13958 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
13959 _write_r): Likewise.
13960 * libc/reent/fstatr.c (_fstat_r): Likewise.
13961 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
13962 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
13963 * libc/reent/signalr.c (_kill_r): Likewise.
13964 * libc/reent/statr.c (_stat_r): Likewise.
13965 * libc/reent/timer.c (_gettimeofday_r): Likewise.
13966
13967 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
13968 signalr.c, statr.c, timer.c} (errno): declare extern rather
13969 than as a common.
13970
13971 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
13972 instead of calling vfprintf so that i*printf will not require
13973 floating point support code.
13974
13975 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
13976
13977 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
13978 path delimiter.
13979 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
13980 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
13981
13982 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
13983
13984 * libc/include/signal.h: _sig_func_ptr function takes an int
13985 * libc/include/sys/signal.h: sa_handler function takes an int
13986
13987 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
13988
13989 * libc/include/machine/ieeefp.h: Simplify H8/S support.
13990 * libc/include/sys/config.h: Add missing H8/S conditional.
13991
13992 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
13993
13994 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
13995
13996 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
13997
13998 * libc/include/machine/setjmp.h: Handle H8/S.
13999 * libc/include/machine/ieeefp.h: Likewise.
14000 * libc/include/sys/config.h: Likewise.
14001 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14002 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14003 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14004 * libc/sys/h8300hms/crt0.S: Likewise.
14005
14006 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14007
14008 * Makefile.in (datadir): Set to $(prefix)/share.
14009 (oldincludedir, docdir): Removed.
14010 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14011 (oldincludedir, docdir): Removed.
14012 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14013 (oldincludedir, docdir): Removed.
14014 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14015 (oldincludedir, docdir): Removed.
14016
14017 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14018
14019 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14020 _reent struct.
14021
14022 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14023
14024 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14025 fetch current path rules with sysconf and handler posix/win32
14026 appropriately.
14027
14028 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14029
14030 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14031 (WAIT_CHILD): Always define.
14032
14033 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14034
14035 * libc/stdlib/eprintf.c: New file.
14036 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14037 (eprintf.o): New target.
14038
14039 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14040
14041 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14042 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14043
14044 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14045
14046 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14047 NT in PowerPC endianess cases.
14048
14049 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14050
14051 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14052
14053 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14054
14055 * libc/string/strtok.c: Fix doc typo.
14056
14057 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14058
14059 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14060 _next, _scanpoint, _signgam fields.
14061
14062 * libc/include/stdlib.h (rand_r): Added new declaration.
14063 (_rand_r, _srand_r): Removed declarations.
14064 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14065 have been made obsolete by rand_r.
14066 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14067 by POSIX.1c.
14068
14069 * libc/string/strtok.c: Update documentation to describe
14070 strtok_r().
14071
14072 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14073
14074 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14075 structure on Solaris, and PowerPC systems even though __svr4__ is
14076 defined.
14077
14078 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14079
14080 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14081
14082 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14083
14084 * host/any: Use ../.. rather than .. to get to the main build
14085 directory. This matches the current layout of the build
14086 directory.
14087
14088 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14089
14090 * libc/machine/h8300/__main.S: Delete. No longer needed.
14091 * libc/machine/h8300/Makefile.in: Corresponding changes.
14092 * libc/sys/h8300hms/crt1.c: New file.
14093 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14094 * libc/sys/h8300hms/crt0.s: Call __main.
14095
14096 * libc/sys/h8300hms/crt0.S: Use temporary label names
14097 for branch targets.
14098
14099 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14100
14101 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14102
14103 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14104
14105 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14106 .sdata on the PowerPC so that we can link newlib with code
14107 compiled with -msdata.
14108
14109 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14110
14111 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14112
14113 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14114
14115 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14116 exception handler to __cygwin_exception_handler.
14117
14118 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14119
14120 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14121
14122 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14123
14124 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14125 SunOS VPATH.
14126 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14127 wcstombs.o): Likewise.
14128
14129 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14130
14131 * libc/stdlib/environ.c (initial_env): New static local.
14132 (environ): Point to `initial_env'.
14133
14134 * libc/include/machine/setjmp.h: Clean up.
14135 (__H8300H__,__PPC__): Define _JBTYPE.
14136 (__arm__): Provide entry for.
14137 (sigjmp_buf): Delete.
14138 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14139
14140 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14141
14142 * libc/machine/h8300/strcmp.S: Sign extend the result to
14143 32bits so we don't lose with -mint32.
14144
14145 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14146
14147 * libc/sys/go32/sys/errno.h: New file.
14148 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14149 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14150 errno's address (make compatible with rest of newlib).
14151 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14152 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14153
14154 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14155
14156 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14157 * libc/machine/sparc/Makefile.in: Build them.
14158 * libc/machine/sparc/machine/sparclet.h: New file.
14159
14160 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14161
14162 * libc/machine/sh/asm.h: New file.
14163 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14164 support for SH3e's FP registers. Use asm.h.
14165
14166 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14167
14168 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14169 as first argument. Call _dtoa_r and pass the reent structure
14170 instead of calling __dtoa.
14171
14172 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14173
14174 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14175 the h8300, h8500, and others. Add comments for some rather
14176 dubious code.
14177
14178 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14179
14180 * Makefile.in (check): Check that testsuite exists before cd.
14181
14182 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14183
14184 * libc/include/string.h (strsep): Correct prototype.
14185
14186 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14187
14188 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14189 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14190 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14191
14192 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14193
14194 * libc/posix/{creat.c,isatty.c}: New files.
14195 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14196
14197 * libc/sys/sparc64/crt0.S (environ): Delete.
14198 (.LHaveBias): Renamed from HaveBias.
14199
14200 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14201
14202 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14203 (_morecore_r): Delete SBRK_IS_ALLOC support.
14204
14205 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14206
14207 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14208 module rather than touch, so we don't get warning messages when
14209 all of the libraries are combined into libc.a.
14210
14211 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14212
14213 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14214 crt0.s replaced by version in libgloss.
14215
14216 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14217
14218 * libc/reent/Makefile.in (OFILES): Add impure.o.
14219 * libc/reent/impure.o: New file, define initial reentrancy struct.
14220 * libc/reent/reent.c: Remove above definition.
14221
14222 * libm/math/sf_asinh.c: Fix typo.
14223
14224 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14225 srf_ldexp.o.
14226
14227 * libm/libm.texinfo: Change documentation to reflect changes
14228 in reentrancy model.
14229 * libm/math/w_gamma.c: Likewise.
14230
14231 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14232
14233 * configure.in (*-*-cygwin32): New.
14234 (*-*-win32): Deleted.
14235 * libc/sys/win32 renamed libc/sys/cygwin32.
14236
14237 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14238
14239 * libc/include/sys/file.h: New include file.
14240
14241 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14242
14243 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14244
14245 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14246
14247 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14248
14249 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14250
14251 * doc/makedoc.c (realloc): Declare at file scope.
14252 (catchar): Not here.
14253
14254 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14255
14256 * Makefile.in (VERSION): Update to 1.7.0.
14257 * {libc,libm}/Makefile.in (VERSION): Likewise.
14258 * configure.in: Minor clean up of multilib stuff.
14259
14260 From David Johnson <davidj@ICSI.Berkeley.EDU>
14261 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14262
14263 * libc/stdlib/environ.c: New file.
14264 * libc/stdlib/Makefile.in (OFILES): Build it.
14265 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14266 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14267 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14268 * libc/sys/netware/environ.c: Deleted.
14269
14270 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14271
14272 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14273
14274 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14275
14276 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14277 declaration out to external scope and declare it PTR, not char *.
14278
14279 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14280
14281 * libc/include/sys/unistd.h (getpagesize): New declaration.
14282 (_SC_PAGESIZE): New definition.
14283 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14284 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14285
14286 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14287
14288 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14289 addressing. System call returns size, not (last address + 1).
14290
14291 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14292
14293 * libm/math/*.c: Removed _foo_r() reentrancy API.
14294 * libc/include/math.h: Removed _foo_r prototypes and macros.
14295
14296 * libm/math/*.c: On systems with IEEE single precision "doubles"
14297 move foo() -> foof() wrapper code from the files that implement
14298 the standard IEEE double precision functions to the files that
14299 implement IEEE single precision functions. (ie. On those systems
14300 sin is moved from s_sin.c to sf_sin.c). There should eventually
14301 be use of a C extension (like gcc's alias attribute) so that the
14302 wrappers are not needed at all.
14303
14304 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14305 strict NEC V810 compiler.
14306 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14307 for same reason.
14308
14309 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14310
14311 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14312 from NetBSD C library.
14313 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14314
14315 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14316 and adapted from implementation I wrote for NetBSD C library.
14317 The difference is __assert doesn't take a format argument,
14318 so that there won't be multiple copies of the same string
14319 constant in the executable if assertions are enabled in
14320 more than one source module.
14321 * libc/include/assert.h (assert): Changed to call __assert.
14322
14323 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14324
14325 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14326 word1 on systems with 32 bit doubles.
14327 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14328 so that we can do arithmetic on them.
14329 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14330 compilers.
14331
14332 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14333
14334 * libc/sys/arm/crt0.S: Zero bss.
14335
14336 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14337
14338 * libc/include/unctrl.h: New file.
14339 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14340 * configure.in (subdirs): Add libc/misc.
14341 * libc/Makefile.in (SUBDIRS): Add misc.
14342 (SUBLIBS): Add misc/lib.a.
14343
14344 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14345
14346 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14347
14348 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14349 (_vfprintf_r): Call CHECK_INIT.
14350
14351 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14352
14353 * Makefile.in (MULTITOP): Delete.
14354 (MULTISRCTOP, MULTIBUILDTOP): Add.
14355 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14356 instead of cfg-ml-pos.in.
14357
14358 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14359
14360 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14361 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14362 presence.
14363
14364 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14365
14366 * libc/string/strtok.c: Include string.h to pick up strtok_r
14367 prototype.
14368
14369 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14370
14371 * libc/string/strtok.c: include <_ansi.h>.
14372 * libc/time/asctime_r.c: `reresult' -> `result'.
14373
14374 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14375
14376 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14377 in #ifndef _REENT_ONLY ... #endif conditional.
14378
14379 * libc/include/string.h (_strtok_r): Remove declaration.
14380 * libc/include/time.h (_asctime_r): Remove declaration.
14381 * libc/string/strtok.c (_strtok_r): Removed.
14382 * libc/time/asctime.c (_asctime_r): Removed.
14383
14384 * libc/string/Makefile.in (OFILES): Add new object.
14385 * libc/string/strtok_r.c: New file. strtok_r function as
14386 specified by POSIX.1c, adapted from strtok implementation
14387 from NetBSD C library.
14388 * libc/string/strtok.c (strtok): Reimplemented in terms of
14389 strtok_r.
14390
14391 * libc/time/Makefile.in (OFILES): Add new objects.
14392 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14393 New files, reentrant time functions specified by POSIX.1c.
14394 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14395 reentrant time functions re-written in terms of reentrant
14396 functions.
14397 * libc/time/lcltime.c: Renamed from localtime.c
14398
14399 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14400 gmtime_r, and localtime_r.
14401
14402 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14403
14404 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14405 * libc/include/sys/unistd.h (getlogin): Revert change of
14406 Oct 19.
14407 * libc/include/sys/signal.h (sigprocmask): Change prototype
14408 so it compiles with c++.
14409
14410 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14411
14412 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14413 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14414 to give some room in case we need to align the jmp_buf.
14415
14416 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14417 the new ppc-asm.h include file the compiler provides to specify
14418 function prologue/epilogue. Eliminate saves of the xer and ctr
14419 registers, which are volatile. Before starting to save registers,
14420 align to 8 byte boundary.
14421
14422 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14423
14424 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14425 referenced by standard libraries.
14426
14427 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14428
14429 * libc/unix/Makefile.in, libc/string/Makefile.in,
14430 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14431 libc/posix/Makefile.in:
14432 Remove tabs from otherwise empty line. Confuses some
14433 older non-GNU versions of "make".
14434
14435 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14436
14437 * libc/sys/unistd.h (getlogin): Returns const char *.
14438
14439 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14440
14441 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14442 * libc/include/errno.h: Moved into and include...
14443 * libc/include/sys/errno.h: New file.
14444 * libc/include/sys/wait.h: New file.
14445 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14446 * libc/sys/win32/*: Moved out.
14447 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14448 * configure.in (i[345]86-*-win32): HAVE_RENAME
14449
14450 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14451
14452 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14453 avoid macro expansion for these two names.
14454
14455 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14456
14457 * libc/machine/h8500/psi.S: r6 renamed to fp.
14458
14459 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14460
14461 * configure.in (powerpc*): No longer need to define
14462 NO_LONGLONG_POINTERS to supress warnings.
14463
14464 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14465
14466 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14467 through PTR instead of directly.
14468
14469 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14470 non-standard constructor support.
14471
14472 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14473
14474 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14475 address of the Bigint instead of the address of its _x field,
14476 as the size the result buffer was calculated accordingly.
14477 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14478
14479 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14480 from NetBSD C library. No longer special cases division by
14481 zero (which needs to be done by the application anyway), but
14482 it doesn't need to call abs() (or labs()) four times either.
14483
14484 * libc/stdlib/qsort.c: Replaced with implementation from
14485 NetBSD C library.
14486
14487 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14488
14489 * libc/stdio/vfprintf.c: Replaced with implementation from
14490 NetBSD C library (which is derived from the 4.4BSD C library).
14491 * libc/stdio/cvt.c: Removed.
14492 * libc/stdio/Makefile: Updated.
14493
14494 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14495
14496 * libc/sys/win32/syscalls.c (rename): New.
14497 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14498
14499 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14500
14501 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14502 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14503
14504 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14505 (setjmp.o): Delete rule to build setjmp.o.
14506 * libc/sys/sh/setjmp.S: Delete file.
14507
14508 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14509
14510 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14511 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14512 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14513 pow5mult and s2b to identifiers with leading underscores.
14514 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14515 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14516
14517 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14518
14519 * libc/sys/posix/popen.c (sys/types.h): Include.
14520
14521 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14522
14523 * libc/sys/win32/syscalls.h (fhandler): New struct.
14524 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14525 (__fhandler_normal): Declare.
14526 (hinfo): New member op_handlers.
14527 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14528 (__write): Likewise.
14529 (_read, _write, _open, _close, _lseek): Validate fd here.
14530 Move file type specific stuff to foo_normal.
14531 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14532 New functions.
14533 (__lookup_fhandler): New function.
14534 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14535
14536 From anders.blomdell@control.lth.se (Anders Blomdell)
14537 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14538 Don't touch standard handles.
14539 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14540 (_execve): Only create __FD_TABLE__ if necessary.
14541 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14542
14543 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14544
14545 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14546 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14547 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14548 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14549 without a handler is received.
14550 * libc/sys/win32/Makefile.in: Remove --nodelete.
14551 * libc/sys/win32/resouce.c (gettimeofday): New.
14552 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14553 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14554
14555 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14556
14557 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14558 Don't append "/*" to search pattern if trailing '/' already there,
14559 append "*".
14560 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14561 like /'s, convert them to \'s. Handle //<drive>/ path names.
14562 Add space for quoted \'s in arg string. Print translated prog name
14563 and original prog name.
14564 (_execve): Handle parent doing exec a teensy bit better.
14565 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14566 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14567 path needs conversion, handle both cases. Delete `const' from result.
14568 (hash_path_name): New function.
14569 (_open): Call it.
14570 (_stat): Likewise. Fill in more fields for directories.
14571 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14572 (wait_for_any): Fix trace message.
14573 (waitpid): Explicitly test for intpid == 0.
14574
14575 From anders.blomdell@control.lth.se (Anders Blomdell)
14576 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14577 so `next' is valid.
14578
14579 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14580
14581 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14582 complicated.
14583
14584 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14585
14586 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14587 at all, not just == 1.
14588 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14589
14590 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14591
14592 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14593 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14594 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14595 file.
14596
14597 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14598
14599 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14600
14601 * libc/sys/signal.c (sleep): Fill it in.
14602 * libc/sys/termios.c (tcflush): Use PurgeComm
14603 (tcsetattr): Set some more of the bits.
14604 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14605
14606 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14607
14608 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14609 Conditionally include .idata$3 stuff ifdef __pe__.
14610
14611 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14612
14613 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14614 * libc/sys/win32/pipe.c (pipe): Ditto.
14615 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14616 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14617 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14618 (tcgetattr): Contents are new.
14619 * libc/sys/win32/include/winkernel.h (DCB): New.
14620 (GetCommState, SetCommState): New.
14621
14622 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14623
14624 * libc/sys/arm/crt0.S (_start): Define.
14625
14626 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14627
14628 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14629 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14630
14631 * libc/sys/win32/sysconf.c: New
14632 * libc/sys/win32/sys/winadvapi.h: New
14633 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14634 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14635 * libc/sys/win32/pipe.c (pipe): Ditto.
14636 * libc/sys/win32/signal.c (_raise): New.
14637 (_kill): Moved from spawn.c
14638 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14639 * libc/sys/win32/syscalls.c (__read): Use new fields.
14640 (_open): Ditto.
14641 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14642 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14643 * libc/include/sys/unistd.h (rmdir): Takes const path.
14644 * libc/include/sys/stat.h (mkdir): Takes const path.
14645 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14646
14647 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14648
14649 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14650
14651 Add support for specifying paths as //<drive>/foo/bar.
14652 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14653 (__path_to_real_path): Declare.
14654 (PATH_TO_REAL_PATH): New macro.
14655 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14656 (__path_needs_conversion_p, __path_to_real_path): New functions.
14657 (_open): Fix test for error return from CreateFileA.
14658 Handle new path syntax.
14659 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14660 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14661
14662 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14663
14664 * libc/sys/win32/include/*.h: Reorganized
14665 * libc/sys/win32/include/WINREADME: New.
14666 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14667 * libc/sys/win32/*.c: Fix for new include scheme.
14668 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14669 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14670 * libc/sys/win32/passwd.c (*): Fix.
14671 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14672 (_stat): Get directory owner and permissions right.
14673 * libc/sys/win32/syscalls.h (uinfo): New.
14674 * libc/sys/win32/version.def: Remove leading underscores.
14675
14676 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14677
14678 * libc/sys/win32/key.c: include "include/wincon.h".
14679
14680 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14681
14682 * libc/sys/win32/{key, stubs}.c: New.
14683 * libc/sys/win32/Makefile: Adjust to cope.
14684 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14685 (environ_init): Change env names to upper case.
14686 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14687 * libc/sys/win32/passwd.c (*): Fill in the functions.
14688 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14689 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14690 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14691 (_open): Initialze hmap->execable_p too.
14692 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14693 (_fstat): Fill in permissions.
14694 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14695
14696 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14697
14698 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14699 if defined.
14700 (cfg-ml-pos.in invocation): Likewise.
14701
14702 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14703
14704 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14705 s_isnan.o and sf_isnan.o.
14706
14707 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14708
14709 * All Makefile.in files: added maintainer-clean target as a
14710 synonym for realclean.
14711
14712 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14713
14714 * libc/include/machine/setjmp.h: Add hppa support.
14715 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14716 support.
14717 * libc/machine/hppa/Makefile.in: Related changes.
14718
14719 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14720
14721 * configure.in (machine_dir): Don't set for v810-*-*.
14722
14723 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14724
14725 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14726 conventions correctly.
14727
14728 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14729
14730 * libc/stdio/puts.c: Update documentation of return value to match
14731 ANSI standard.
14732
14733 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
14734
14735 Fix file descriptor inheritance.
14736 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
14737 (NOT_OPEN_FD): Fix.
14738 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
14739 close-on-exec flag not set. Initialize child's entire fd table.
14740 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
14741 CHILD_P.
14742 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
14743 if CHILD_P. Initialize entire hmap entry.
14744 (dup): Only create new handle as inheritable if CHILD_P.
14745 (dup2): Likewise. Properly initialize hmap entry.
14746
14747 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
14748 _spawn.
14749 (_exit): Use CHILD_P.
14750 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
14751 (_stat): Likewise.
14752
14753 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14754
14755 * libc/sys/win32/crt0.c (passover): fix up the state table.
14756 * libc/posix/popen.c: Added.
14757 * libc/posix/Makefile.in: compile popen.c.
14758
14759 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
14760
14761 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
14762 h8/500 define _DOUBLE_IS_32BITS.
14763
14764 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
14765
14766 Get vfork/exec/spawn/cwait/wait working again.
14767 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
14768 (procinfo): New member vfork_level.
14769 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
14770 (vfork_init_first): Use GetCurrentProcessId to get pid.
14771 Initialize vfork_level.
14772 (vfork_init): Delete __PID__.
14773 (environ_init): New function. Undo patch of Aug 19, Posix says
14774 environment variables are case sensitive.
14775 (mainCRTStartup): Call it.
14776 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
14777 (my_longjump: Make static.
14778 (_spawn): New argument `h'. Delete setting of __PID__.
14779 Delete local `idx'. Look for chars that need quotes, rather than
14780 ones that don't. Set handle of created process in `h'.
14781 Result is process id if created task.
14782 (allocate_spawn_entry): New function.
14783 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
14784 (_execve): Set __FD_TABLE__ before spawning child.
14785 Scan our fd table when passing fds, not our parent's.
14786 Store handle and pid in procinfo entry.
14787 (vfork0): Ensure strace message always printed.
14788 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
14789 (vfork): Don't clobber result of vfork0.
14790 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
14791 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
14792
14793 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
14794 and `exit_code'.
14795 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
14796 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
14797 adding vfork level to pseudo-pid.
14798 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
14799 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
14800 (_exit): If child, set exit code.
14801 (__vfork_record_death): Only close process handle if valid.
14802 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
14803 didn't exec.
14804 (wait_for_any): Likewise. Start scan after root entry.
14805
14806 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14807
14808 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
14809 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
14810 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
14811 of actual file length.
14812
14813 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
14814 * libc/include/paths.h: _PATH_BSHELL added.
14815 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
14816 and STDERR_FILENO.
14817
14818 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14819
14820 * libc/include/ar.h: Added.
14821 * libc/include/sys/types.h: ino_t goes back to 32-bits.
14822 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
14823 * libc/sys/win32/syscalls.c (_open): compute .namehash based
14824 on filename.
14825 (_fstat): use .namehash for inode number of the fd.
14826
14827 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
14828
14829 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
14830 Change hinfo to __this_procinfo.
14831 * libc/sys/win32/crt0.c: Remove procinfo_list.
14832
14833 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14834
14835 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
14836 win32 environment.
14837
14838 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14839
14840 * libc/sys/win32/include/grp.h: Removed.
14841 * libc/sys/include/grp.h: Added.
14842 * libc/sys/win32/grp.c: Include <grp.h>.
14843
14844 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
14845
14846 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
14847 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
14848 Defined for all but strict ANSI.
14849 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
14850 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
14851 * libc/signal/signal.c (_signal_r): Changed from using
14852 _MAX_SIGNALS to NSIG.
14853 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
14854 __hmap): Deleted.
14855 (__strace, __vfork_next_pid): New.
14856 (__exe_suffix): Default to 1.
14857 (passover, table): Understand quoted arguments.
14858 (vfork_init_first): New.
14859 (vfork_init): Initialize new process structure.
14860 (mainCRTStartup): Pass environ to main.
14861 * exceptions.c (__sig_mask): New
14862 (ehandler3): Ignore signals in mask.
14863 (really_exit): Remove CHILD_P test.
14864 * pipe.c (pipe, dup, dup2): Use new process and file structure.
14865 * resource.c (getrusage): Ditto.
14866 * signal.c (sigprocmask): New.
14867 * spawn.c (*): Rewritten.
14868 * syscalls.c (*): Use new process and file structure.
14869 (find_unused_handle): New.
14870 * syscalls.h (MAX_HANDLES): Deleted.
14871 (hinfo): Removed child_created_p.
14872 (MAX_CHILDREN): Deleted.
14873 (vfork_jmp_info, procinfo): New.
14874 * wait.c (*): Mostly new.
14875 * sys/strace.h (_STRACE_PARANOID): New.
14876 * sys/param.h: New file.
14877
14878 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14879
14880 * libc/include/sys/stat.h: add S_BLKSIZE.
14881 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
14882 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
14883 types under win32.
14884 (mode_t): add a #else to avoid multiple definitons.
14885
14886 * libc/sys/win32/Makefile.in: add grp.c.
14887 * libc/sys/win32/grp.c: include grp.h correctly.
14888 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
14889 of the st structure with real information.
14890 * libc/sys/win32 (dirent): d_ino is of type ino_t.
14891
14892 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
14893
14894 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
14895 and (maybe) sparc64.
14896 (nlink_t): Provide typedef.
14897
14898 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14899
14900 * libc/sys/win32/grp.c: New file.
14901 * libc/sys/win32/include/grp.h: New file.
14902
14903 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14904
14905 * libc/include/machine/ieeefp.h: Added whitespace to make this
14906 file easier to maintain.
14907 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
14908 depending on the value of __LITTLE_ENDIAN__.
14909 On the sh3e, define _DOUBLE_IS_32BITS.
14910
14911 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
14912
14913 * libc/sys/vr4300/syscalls.c: Added missing support
14914 routines. _raise() and getpid().
14915
14916 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
14917
14918 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
14919
14920 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
14921
14922 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
14923 and VR4300 processor.
14924 * libc/sys/vr4300: Add directory.
14925 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
14926 monitor run-time support.
14927
14928 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14929
14930 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
14931 * libc/stdlib/stdlib.tex: Don't include atol.def.
14932
14933 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14934
14935 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
14936
14937 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
14938
14939 * libc/ctype/Makefile.in: Fill in _to* dependencies.
14940
14941 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
14942
14943 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
14944 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
14945 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
14946 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
14947 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
14948
14949 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14950
14951 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
14952
14953 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14954
14955 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
14956 * libc/stdlib/atoff.c: New file.
14957 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
14958 * libc/stdlib/atoi.c (atol): Removed.
14959 * libc/stdlib/atol.c: Removed duplicate documentation.
14960
14961 * libc/include/ctype.h (_tolower, _toupper): Moved inside
14962 #ifndef _STRICT_ANSI conditional.
14963 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
14964 * libc/ctype/_tolower.c: New file.
14965 * libc/ctype/_toupper.c: New file.
14966 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
14967 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
14968 * libc/ctype/toascii.c (_toascii): Removed.
14969
14970 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
14971
14972 * libc/sys/sparc64/sys/types.h: Deleted.
14973
14974 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14975
14976 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
14977 and recognize Windows_95 systems.
14978
14979 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14980
14981 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
14982 and passed fds should be opened in text mode.
14983
14984 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14985
14986 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
14987 in __hmap, set to binary mode by default.
14988
14989 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14990
14991 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
14992 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
14993 vector 34.
14994
14995 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
14996
14997 * Makefile.in (install): Install all libraries found in the
14998 top level. If there's a sys/<type>/include directory,
14999 install those headers into include.
15000
15001 * libc/sys/win32/kernel.def351: Delete
15002 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15003 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15004 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15005 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15006 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15007 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15008 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15009 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15010
15011 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15012 * libc/sys/win32/crt0.c: Force all env names to upper case.
15013 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15014 * libc/sys/win32/*.c: Headers have moved.
15015 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15016 __vfork_child_idx is now __vfork_child_ptr.
15017
15018 * posix/execvp (execvp): Don't crash if no PATH envname.
15019
15020 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15021
15022 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15023 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15024 through the _freelist instead of through the _reclaim list.
15025 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15026 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15027 sources.
15028
15029 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15030
15031 * libc/machine/h8500/setjmp.S: New file.
15032 * libc/include/machine/setjmp.h: Updated for H8/500.
15033
15034 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15035
15036 * libc/sys/win32/syscalls.c (_open): More stracing.
15037 (_stat): Open the file in O_BINARY.
15038
15039 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15040
15041 * libc/machine/h8300/setjmp.S: New file.
15042 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15043
15044 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15045
15046 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15047 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15048 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15049 __exe_suffix. Free fd_tab after setting env variable.
15050 (spawnv,_execve): Update.
15051 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15052 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15053 (__small_vfprintf): New function.
15054 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15055 * libc/sys/win32/wait.c (cwait): Validate argument.
15056
15057 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15058 (process_deletion_queue): Likewise.
15059
15060 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15061
15062 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15063
15064 * libc/sys/win32: Copyrights and gratuitous indenting.
15065
15066 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15067
15068 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15069 (process_deletion_queue): Likewise.
15070 (__close_all_files): New function.
15071 (_close): Only queue file deletion if really a file.
15072 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15073 _P_APPEND_EXE.
15074 (_exit): Call __close_all_files.
15075
15076 * libc/stdlib/system.c: #include <errno.h>.
15077 (_system_r): Fix results in -DNO_EXEC case.
15078
15079 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15080 Reorganize structure.
15081 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15082 if argument is valid. Save directory name in DIR. malloc space
15083 for dirent struct separately.
15084 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15085
15086 * libc/include/errno.h (ENAMETOOLONG): Define.
15087 * libc/string/strerror.c (strerror): Reword ENFILE.
15088 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15089
15090 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15091
15092 * libc/sys/win32/crt0.c (__progname): New global.
15093 (mainCRTStartup): Support strace=bitmask,filename.
15094 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15095 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15096 if error.
15097 (getcwd): Handle len too small. Convert '\\' to '/'.
15098 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15099 Add prototypes for open, creat, fcntl.
15100 (O_APPEND): Change value to conform to Microsoft's value.
15101 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15102
15103 * libc/stdlib/getopt.c: New file.
15104 * libc/stdlib/Makefile.in: Build it.
15105
15106 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15107
15108 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15109 Fix scanning of $PATH.
15110 * libc/posix/exec*.c: Call _execve, not execve.
15111 * libc/posix/execve.c: New file.
15112 * libc/posix/Makefile.in (OFILES): Add execve.o.
15113
15114 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15115 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15116 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15117 * libc/sys/win32/crt0.c: Update _STRACE calls.
15118 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15119
15120 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15121
15122 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15123 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15124 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15125 Print __seterrno trace message first.
15126 (_execve): Renamed from execve.
15127 (vfork): Update __strace usage.
15128 (__vfork_child_pid): Deleted.
15129 (__vfork_children, __vfork_child_idx): New globals.
15130 (_spawnvp): New function.
15131 (spawnvp, spawnv, _execve): Call _spawnvp.
15132 (init_child): Record child in __vfork_children.
15133 (__vfork_get_entry, __vfork_record_death): New functions.
15134 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15135 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15136 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15137 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15138 (children): New typedef.
15139 (__vfork_children,__vfork_child_idx): Declare.
15140 (__vfork_get_entry,__vfork_record_death): Declare.
15141 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15142 (waitpid): Handle pid == -1.
15143 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15144 * configure.in (i386-win32): Add -DNO_FORK.
15145 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15146 * libc/reent/execr.c (_fork_r): Likewise.
15147 * libc/stdlib/system.c (do_system): New function.
15148 If WIN32, try to get shell path from $SH_PATH, use vfork.
15149 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15150 otherwise return 0.
15151
15152 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15153
15154 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15155 * libc/sys/win32/fcntl.h: Don't include self.
15156 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15157 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15158 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15159 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15160 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15161 Correct prototypes.
15162 * libc/sys/win32/strace.c: New file.
15163 * libc/sys/win32/smallprint.c: New file.
15164 * libc/sys/win32/crt0.c (func): Delete.
15165 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15166 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15167 * libc/sys/win32/exceptions.c: Lint.
15168 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15169 Clean up handle usage.
15170 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15171 (open.c): Default file type is text.
15172 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15173 * libc/sys/win32/advapi32.def: New
15174
15175 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15176
15177 * configure.in (posix_dir, libc_posix_lib): New variables.
15178 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15179 (i[345]86-*-win32): Define posix_dir.
15180 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15181 (if unix_dir): Fix typo.
15182 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15183 scandir,seekdir,telldir}: New files.
15184 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15185 from libc/unix.
15186 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15187 (SUBDIRS): Add posix.
15188 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15189
15190 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15191 (NSIG): Increase to 21.
15192 * libc/include/sys/unistd.h (pid_t): Move from here,
15193 * libc/include/sys/types.h (pid_t): to here.
15194
15195 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15196 (__ptrace): Delete.
15197 (hinfo): New members close_exec_p, child_created_p.
15198 (struct exception_list): Define.
15199 (__hmap): Redefine as pointer to table.
15200 (__parent_hmap, __child_hmap): New globals.
15201 (__set_errno, __really_exit): Declare.
15202 (__vfork_child_pid): Declare.
15203 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15204 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15205 (__parent_hmap, __child_hmap): New globals.
15206 (__hmap): Redefine as pointer to active map.
15207 (__get_console): New function.
15208 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15209 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15210 mapping table from it if defined.
15211 (argv, envp): Dump if __strace >= 4.
15212 (main): Call here.
15213 * libc/sys/win32/exceptions.c (myp): Redefine.
15214 (__syscalls_b): Delete.
15215 (__stack_trace): New function.
15216 (ehandler3): Update to use _STRACE. Print stack trace.
15217 Call __really_exit instead of exit.
15218 (init_exceptions): Delete args argc,argv. New arg mine.
15219 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15220 FindFirstFileA, FindNextFileA, GetComputerNameA,
15221 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15222 * libc/sys/win32/signal.c (signal): Validate arg.
15223 (alarm, sleep): Define as stubs for now.
15224 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15225 (__syscalls_b, errno): Delete.
15226 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15227 (__seterrno): Handle more errors.
15228 (__sys_printf): Renamed from _ptrace.
15229 (__really_exit): New function.
15230 (queue_file_deletion, process_deletion_queue): New functions.
15231 (__resume_parent): New function.
15232 (_unlink): Handle trying to delete open file.
15233 (__totime_t): Renamed from totime_t.
15234 (setsid, __read, __write): New functions.
15235 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15236 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15237 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15238 * libc/sys/win32/console.c: Update to new definition of __hmap.
15239 * libc/sys/win32/Makefile.in: Build new files.
15240 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15241 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15242 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15243 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15244
15245 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15246
15247 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15248
15249 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15250
15251 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15252 have been made to the master dtoa.c sources (from netlib.att.com)
15253 since they were integrated into newlib in early 1992. Fixes
15254 problems with storage leaks and handling of numbers with very
15255 negative exponents.
15256
15257 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15258
15259 * Makefile.in (all): set rootpre and srcrootpre before calling
15260 sub-makes.
15261
15262 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15263
15264 * libc/sys/win32/crt0.c: Change __hmap usage.
15265 * libc/sys/win32/exceptions.c: Use _ptrace call.
15266 * libc/sys/win32/syscalls.c: Use _ptrace call.
15267 (read, write): Cope with DOS style CRLF when in TEXT mode.
15268 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15269 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15270 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15271 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15272 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15273
15274 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15275
15276 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15277
15278 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15279 wrappers for hypot() and remainder() for BSD libm compatibility.
15280 These are public domain implementations written by me for the
15281 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15282 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15283 (fobj): Added wf_cabs.o and wf_drem.o.
15284
15285 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15286
15287 * libc/sys/h8500hms/misc.c: New file.
15288 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15289
15290 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15291
15292 * libc/time/localtime.c (localtime): Fix problem with leap year
15293 handling. Stole algorithm from Arthur David Olson's tz code.
15294
15295 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15296
15297 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15298
15299 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15300 (_exit): Use argument.
15301
15302 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15303
15304 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15305
15306 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15307
15308 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15309
15310 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15311
15312 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15313 target_cflags.
15314
15315 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15316
15317 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15318 ptrace with case insensitivity
15319 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15320 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15321 New files.
15322
15323 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15324
15325 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15326 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15327 (all, install, *clean): Use new multilib support.
15328 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15329
15330 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15331
15332 * libc/include/sys/signal.h (__WIN32__): New.
15333
15334 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15335
15336 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15337 (ulp, b2d): Handle 32 bit doubles.
15338 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15339 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15340
15341 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15342
15343 from medp@primag.co.uk:
15344 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15345 dynamically allocated buffers.
15346
15347 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15348
15349 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15350 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15351
15352 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15353
15354 * configure.in (powerpc): Fix previous fix.
15355
15356 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15357
15358 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15359 directories for this target.
15360
15361 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15362
15363 * configure.in (hppa): Add machine_dir definition.
15364 * libc/machine/hppa: New directory with PA specific implementations
15365 of the basic memory/string functions.
15366
15367 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15368
15369 * configure.in: Update current PowerPC multilib directories.
15370 Split big and little endian configurations.
15371
15372 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15373
15374 * configure.in: Add --enable-single-float option to configure to
15375 control use of MIPS single-float directories. Default to yes.
15376
15377 * Makefile.in (all): Don't recurse into multilib directory if it
15378 does not exist.
15379
15380 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15381
15382 * libc/sys/sh/syscalls.c: Fix typo.
15383
15384 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15385
15386 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15387 Pass down DLLTOOL.
15388 * libc/include/process.h: Define WAIT_CHILD.
15389 * libc/include/types.h: Get sizes right for win32.
15390 * configure.in (i386-*-pe): Becomes i386-win32.
15391 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15392 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15393 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15394 is defined.
15395
15396 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15397
15398 * configure.in (i[345]86-*-pe): New target (NT).
15399 * host/any: DLLTOOL new.
15400 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15401 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15402 WIN32 (just enough to cross host the comp-tools).
15403
15404 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15405
15406 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15407 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15408
15409 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15410
15411 * libc/include/machine/ieeefp.h (arm): Change to always be
15412 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15413
15414 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15415
15416 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15417 * libc/sys/syscalls.c (abort): New.
15418 * configure.in (arm): Define ABORT_PROVIDED.
15419
15420 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15421
15422 * configure.in (powerpc): Define multidirs.
15423
15424 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15425
15426 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15427
15428 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15429
15430 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15431
15432 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15433
15434 * configure.in, libc/include/machine/ieeefp.h: Modified
15435 for arm:
15436 libc/machine/arm/*, libc/sys/arm/*: New
15437
15438 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15439
15440 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15441 __powerpc__ when determining endianness.
15442
15443 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15444
15445 * configure.in (m68*): Add multidir for the m68332.
15446
15447 * host/any (CC): Fix typo in last change.
15448
15449 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15450
15451 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15452 when determining endianness.
15453 * libc/include/machine/ieeefp.h: Ditto.
15454 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15455 operands.
15456
15457 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15458
15459 * libc/include/errno.h (ENOTEMPTY): Define.
15460
15461 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15462
15463 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15464 target_cflags.
15465
15466 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15467 and umultiply.o.
15468
15469 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15470 instead of only when open succeeds. ANSI requires that multiple
15471 calls to tmpnam() result in different files.
15472
15473 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15474 objects pulled in from /lib/libc.a that must be renamed before
15475 being pulled into newlib. /lib/libc.a's div.o conflicted with
15476 newlib's file with the same name.
15477
15478 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15479
15480 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15481 the build tree will only be used if the executables are present
15482 (instead of just the Makefiles).
15483
15484 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15485 wcstombs): Define.
15486 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15487 versions of these functions that I orignally wrote for the
15488 NetBSD C library.
15489 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15490 versions I wrote for NetBSD.
15491
15492 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15493
15494 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15495 * libc/sys/sparclite/crt0.s: ditto.
15496
15497 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15498
15499 * configure.in: Add soft-float for proelf.
15500
15501 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15502
15503 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15504 of bytes.
15505
15506 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15507
15508 * Makefile.in (all): Depend on `force'.
15509 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15510 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15511 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15512 * libc/Makefile.in: Likewise.
15513 * libc/include/reent.h: Update syscall references.
15514 (_fcntl_r): Add prototype.
15515 * libc/syscalls/*.c #include <reent.h>.
15516 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15517
15518 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15519
15520 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15521 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15522 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15523 (time.h, sys/types.h): Always include (even if MSDOS).
15524 (stat): Fix prototype.
15525
15526 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15527
15528 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15529
15530 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15531
15532 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15533
15534 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15535
15536 * libc/include/regdef.h: New file.
15537 * libc/machine/mips/machine/regdef.h: New file.
15538
15539 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15540
15541 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15542
15543 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15544
15545 * libc/sys/sh/crt0.S: Pass main's return to exit.
15546 * libc/sys/sh/trap.S: Put errno in the right place.
15547
15548 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15549
15550 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15551 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15552 * libm/math/ef_rem_pio2.c: Likewise.
15553 * libm/math/e_log10.c: Remove unused static one.
15554 * libm/math/ef_log10.c: Likewise.
15555 * libm/math/s_frexp.c: Likewise.
15556 * libm/math/sf_frexp.c: Likewise.
15557
15558 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15559
15560 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15561 longjmp.S: Upgraded.
15562 * libc/sys/go32/sys/setjmp.h: Upgraded.
15563 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15564
15565 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15566
15567 * configure.in: Add many entries to multidirs for mips targets.
15568
15569 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15570
15571 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15572 5.2 which fixes bug where jn(-1,x) is three times larger than
15573 the actual answer.
15574 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15575
15576 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15577
15578 * libc/sys/w65/sys/syscalls.h: New file
15579 * libc/include/machine/ieeefp.h: W65 support.
15580 * libc/include/sys/config.h: Ditto.
15581 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15582 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15583 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15584
15585 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15586
15587 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15588
15589 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15590
15591 * Makefile.in, configure.in: Remove any references to the old
15592 "stub" dir.
15593
15594 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15595
15596 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15597 uses ... in prototype.
15598
15599
15600 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15601
15602 * libc/sys/a29khif/sys/libconfig.h: Remove.
15603 * libc/sys/go32/sys/libconfig.h: Remove.
15604 * libc/sys/sun4/sys/libconfig.h: Remove.
15605 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15606 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15607 * libc/sys/sparc64/sys/libconfig.h: Remove.
15608
15609 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15610 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15611 * libc/include/math.h: Change all uses of _FLOAT_RET and
15612 _FLOAT_ARG to float.
15613 * libm/test/math.c: Likewise.
15614 * testsuite/libm.sac/math.c: Likewise.
15615 * testsuite/libm.sac/working/math.c: Likewise.
15616
15617 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15618
15619 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15620 gcc calls gas with endian option.
15621 * configure.in (sh): Build little endian version too.
15622
15623 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15624
15625 * configure.in: Configure big and little endian versions for MIPS
15626 targets.
15627
15628 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15629
15630 * libc/include/limits.h: Deleted.
15631 * libc/include/machine/limits.h: Deleted.
15632
15633 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15634
15635 * ChangeLog: Remove stub directory. This has all been rewritten
15636 and moved to devo/libgloss.
15637
15638 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15639
15640 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15641 (docs): Merge into info target.
15642 * libm/Makefile.in (dvi): Add $(srcdir).
15643 * libm/math/Makefile.in (chobjs): Remove underscores from file
15644 names. Texinfo doesn't like them.
15645 (wacos.def, ...): Add explicit targets for all .def files.
15646 * libm/math/math.tex: Remove underscores from @include file names.
15647 * doc/Makefile.in (dvi): Add dummy target.
15648 * testsuite/Makefile.in (dvi): Add dummy target.
15649
15650 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15651
15652 * Makefile.in (VERSION): Define. For net newlib releases.
15653
15654 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15655
15656 * README: New file.
15657
15658 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15659
15660 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15661
15662 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15663
15664 * libc/stdlib/setenv.c (_findenv): Declare.
15665
15666 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15667 fcntl to not use _EXFUN, and change string parameters to open and
15668 creat to be ``const char *''.
15669 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15670 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15671 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15672 (open) Make _FILE const.
15673 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15674 (_creat): Make PATH const.
15675 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15676 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15677 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15678 * libc/sys/sh/syscalls.c (_open): Likewise.
15679 * stub/shared/glue.c (open): Make BUF const.
15680 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15681
15682 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15683
15684 * libc/include/errno.h: Add ENMFILE
15685 * libc/include/sys/config.h: Support Z8000.
15686 * libc/include/sys/signal.h: New signals for go32.
15687 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15688 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15689 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15690 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15691 size is variable, depending upon CHUNK_POWER.
15692 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15693
15694 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15695
15696 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15697
15698 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15699
15700 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15701
15702 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15703
15704 * configure.in: Change i[34]86 to i[345]86.
15705
15706 * libc/include/math.h: Don't define HUGE_VAL if it is already
15707 defined.
15708
15709 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15710
15711 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15712 * testsuite/libm.sac/test_gammaf.c: Likewise.
15713 * testsuite/libm.sac/test_sin.c: Likewise.
15714 * testsuite/libm.sac/test_tanh.c: Likewise.
15715
15716 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15717
15718 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15719 already set. Define typedefs __int32_t and __uint32_t.
15720 * libc/include/math.h: Include <machine/ieeefp.h>.
15721 (union __dmath): Use __uint32_t.
15722 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15723 instead of int and unsigned int.
15724
15725 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15726
15727 Replace the math library with the SunPRO fdlibm package.
15728 * libm/math: Completely changed all files.
15729 * libm/ieeefp: Remove contents and directory.
15730 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15731 (SUBDIRS): Just set to math/lib.a.
15732 * libm/libm.texinfo: Updated for new library.
15733 * libc/include/math.h: Extensive changes for new math library.
15734 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
15735 from _FLOAT_ARG to float.
15736 (maxpowtwo, maxpowtwof): Don't declare.
15737 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
15738 (libm_fp_lib): Removed.
15739 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
15740 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
15741 argument to ${RUNTEST}.
15742 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
15743 (.c.o): New rule.
15744 (RUNTESTFLAGS): Set CC and CFLAGS.
15745 (TESTS): Remove test_log2 and test_log2f.
15746 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
15747 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
15748 _FLOAT_ARG, for single precision argument type.
15749 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
15750 expected failure. Close the input pipe.
15751 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
15752 Correct misspelling of inaccurate.
15753 (test_mok): Use ``inaccurate'', not ``wrong''.
15754 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
15755 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
15756 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
15757 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
15758 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
15759 test_yn.c): Correct many result values. Many are still wrong.
15760
15761 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
15762 just copy the string.
15763 (_gcvt): Always return the buffer.
15764
15765 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15766
15767 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
15768
15769 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
15770
15771 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
15772 structure.
15773 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
15774 (_reclaim_reent): declare new entry point.
15775 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
15776 functions.
15777
15778 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
15779 ever allocated, so that we can later reclaim them all.
15780 (pow5mult): make reentrant.
15781
15782 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
15783 so that when given NULL as a buffer, return a pointer to static
15784 space in the rent structure. This is not documented behaviour;
15785 it's only to support ecvt and fcvt, which aren't ANSI anyway.
15786 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
15787 therefore become reentrant).
15788
15789 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
15790
15791 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15792
15793 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
15794
15795 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15796
15797 * Makefile.in: Make link to libg.a after libc.a; this is needed
15798 for the testsuites to build executables when everything comes
15799 from the tree.
15800
15801 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
15802
15803 * libc/Makefile.in: Add a VERSION variable so we can keep track.
15804 * libm/Makefile.in: Add a VERSION variable so we can keep track.
15805
15806 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15807
15808 * libc/include/stdio.h: Use __VALIST, not va_list.
15809
15810 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
15811
15812 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
15813 testsuite/libm.sac/execute.exp:
15814 Replace error proc calls with perror calls.
15815
15816 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
15817
15818 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
15819 * libc/include/time.h: #define NULL as 0L.
15820
15821 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
15822
15823 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
15824 care of it.
15825
15826 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15827
15828 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
15829 not __unix__.
15830
15831 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
15832
15833 * configure.in (TARGET_CFLAGS): Set -O2 as default.
15834 (z8k-*-*): Use syscalls fake sys dir.
15835 * libc/sys/z8k/glue.c: Rename syscalls.
15836 * libc/sys/go32/Makefile.in: Use new routines.
15837 * libc/machine/Makefile.in: Fix typo in ln stuff.
15838
15839 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15840
15841 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
15842 * libc/Makefile.in (crt0.o): Likewise.
15843 * libc/machine/Makefile.in (lib.a): Likewise.
15844 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
15845
15846 All Makefile.in files: Added mostlyclean, realclean and distclean
15847 targets.
15848
15849 * Makefile.in: Don't bother to unexport XTRAFLAGS or
15850 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
15851 the top level Makefile.
15852
15853 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
15854
15855 * libc/sys/sparc64/sys/stat.h: New file.
15856 * libc/sys/sparc64/sys/time.h: New file.
15857 * libc/sys/sparc64/sys/types.h: New file.
15858
15859 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
15860
15861 * stub/ex93x/crt0.s (start): Add code to clear bss.
15862
15863 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
15864
15865 * libc/include/sys/types.h (time_t): Properly protect inside
15866 #ifndef __time_t_defined.
15867
15868 * libc/stdio/fileno.c: New file.
15869 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
15870 (fileno.o): Add dependency.
15871 * libc/include/stdio.h (__sgetc): Rename never to _never.
15872 (fileno macro): Disable, needs to do CHECK_INIT first.
15873
15874 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
15875
15876 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
15877 goal.
15878
15879 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
15880 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
15881 runtest.
15882 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
15883 runtest.
15884
15885 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
15886
15887 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
15888 of the various constants.
15889
15890 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
15891
15892 * libc/include/math.h: #ifndef __math_68881 around things which
15893 conflict with the (gcc-provided) inline functions in
15894 gcc/ginclude/math-68881.h.
15895
15896 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
15897
15898 * libc/include/_syslist.h (_gettimeofday): Define.
15899 (_times): Ditto.
15900 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
15901 (struct tms, timeval, timezone): Declare.
15902 (_gettimeofday_r, _times_r): Declare.
15903 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
15904 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15905 (time_t): Add multiple definition protection, __time_t_defined.
15906 * libc/include/sys/time.h: Don't #include <time.h>.
15907 Always define struct timezone (remove #ifndef _TIME_H_).
15908 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
15909 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15910 * libc/reent/Makefile.in (OFILES): Add timer.o.
15911 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
15912 * libc/reent/timer.c: New file.
15913 * libc/time/clock.c: #include <reent.h>.
15914 (clock): Call _times_r instead of times.
15915 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
15916 HAVE_GET_TIME_OF_DAY.
15917 Add comment regarding supporting OS routine(s) required (for docs).
15918 #include <reent.h>.
15919 (time): Call _gettimeofday_r instead of gettimeofday.
15920 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
15921 * libc/time/ctime.c: Ditto.
15922 * libc/time/strftime.c: Ditto.
15923 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
15924 (TEMPLATE_SFILES_R): Define here. Also define times.
15925 Add times_r.o/times.S dependence.
15926 (time2.c, junk.c): Deleted.
15927 * libc/sys/sparc64/time2.c: Deleted.
15928 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
15929
15930 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
15931 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
15932 * libc/sys/sparc64/junk.c: Deleted.
15933
15934 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
15935
15936 * libc/sys/sparc64/Makefile.in: Add times syscall.
15937 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
15938 be used with and without it. Add comment clarifying Medium/Anywhere
15939 model requirements.
15940 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
15941 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
15942 even if obsolete.
15943
15944 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
15945
15946 * configure.in (target_cflags): Move init.
15947 (sparc64-*-*): Define HAVE_BLKSIZE.
15948
15949 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
15950
15951 * libc/include/sys/_types.h: New file.
15952 * libc/include/reent.h: #include it.
15953 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
15954 MISSING_SYSCALL_NAMES.
15955 Sort syscalls.
15956 * libc/include/_syslist.h: Remove _raise.
15957 * libc/reent/signalr.c: New file.
15958 * libc/reent/Makefile.in: Compile it.
15959 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
15960 Add doc for raise and _raise_r.
15961 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
15962 (raise): Call _raise_r.
15963 (_raise_r): Call _getpid_r and _kill_r.
15964 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
15965 (abort): Loop forever calling raise and _exit.
15966
15967 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15968
15969 * configure.in: Remove extraneous echo.
15970
15971 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
15972
15973 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
15974 collision with unistd.h, and fix for svr4.
15975
15976 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
15977
15978 * libc/stdio/local.h (_llicvt): Declare.
15979 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
15980 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
15981 (_llicvt): Define.
15982 (_sicvt): Fix function header (`value' is short).
15983 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
15984 Add printing of long long's support.
15985 Add printing of 8 byte pointer support.
15986
15987 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
15988
15989 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
15990 stat, chmod): New hooks.
15991 (sbrk): Abort if stack and heap collide.
15992 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
15993 shortcut when given small args.
15994 * libc/machine/sh/setjmp.s: Rewritten.
15995 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
15996 of cmp/str instruction.
15997
15998 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15999
16000 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16001 and machine_dir powerpc.
16002 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16003 Add cases for __powerpc__.
16004 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16005 New files.
16006
16007 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16008
16009 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16010
16011 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16012 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16013
16014 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16015
16016 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16017 (print_e): More comments to describe args, etc.
16018 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16019 trailing blanks.
16020 (_gcvt): Remove locals decpt, sign, end, p, done.
16021 More comments for print_e invocation.
16022 Pass "type" to print_e as is (g/G).
16023
16024 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16025
16026 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16027 stock m68000.
16028
16029 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16030
16031 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16032 works with any sized pointer, including ones bigger than ints and
16033 longs.
16034
16035 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16036
16037 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16038
16039 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16040
16041 * libc/include/stdlib.h (_calloc_r): Add prototype.
16042 * libc/machine/h8500/negsi2.c: New file.
16043 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16044 large unsigned numbers.
16045 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16046 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16047 works when sizeof(size_t) != sizeof(char *).
16048 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16049 get play area
16050 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16051
16052 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16053
16054 * libc/include/assert.h (assert): Handle -traditional.
16055
16056 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16057
16058 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16059 the end of a line (ie. anything before a backslash continuation)
16060 so that bash handles them.
16061
16062 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16063
16064 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16065 stat to lstat
16066
16067 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16068
16069 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16070 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16071 libc/machine/sh/udivsi3.s: Use new calling convention.
16072
16073 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16074
16075 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16076 chmod, access, chdir, chown by making _path const. Also fix _amode
16077 param of access.
16078
16079 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16080
16081 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16082 _khif_tmpnam, because it doesn't comply with ANSI but may be
16083 useful anyway. Real tmpnam was already in libc/stdio, and was
16084 colliding with this one (pr 2176.)
16085 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16086 the wrong idea anyhow.
16087
16088 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16089
16090 * configure.in: Remove h8300h, we have multilib now.
16091
16092 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16093
16094 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16095 functions, to get preference over the ones in libiberty (since we
16096 provide correct declarations in <string.h>.
16097 * libc/string/Makefile.in: add support for strncasecmp,
16098 strcasecmp.
16099
16100 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16101
16102 * Change netware config not to look for cpu explicitly.
16103
16104 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16105
16106 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16107 * libc/sys/sparc64/Makefile.in: Add dependencies.
16108
16109 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16110
16111 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16112
16113 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16114
16115 * libc/include/sys/reent.h: make structure smaller by allocating
16116 some stuff when needed.
16117 * libc/signal/signal.c: allocate as needed
16118 * libc/stdio/findfp.c,stdio/local.h: ditto
16119 * libc/stdlib/mprec.c: ditto
16120
16121 * libc/time/localtime.c: don't return a dangling stack ptr.
16122
16123 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16124
16125 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16126
16127 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16128
16129 * libc/include/stdio.h (__sputc): comment out static inline which
16130 confuses coff toolchains.
16131
16132 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16133
16134 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16135 _write.s, getpid.c, kill.c, read.s}:
16136 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16137 through the syscalls directory.
16138
16139 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16140
16141 * configure.in: fixed double quote gotcha.
16142
16143 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16144
16145 * stub/ex931: stub library for sparclite board.
16146 * stub/idp: Renamed from mc68ec. Added contructor table
16147 stuff to linker script.
16148 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16149 stuff to linker script.
16150
16151 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16152
16153 * configure.in: Configure testsuites only if they exist.
16154
16155 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16156
16157 * configure.in: Don't set machine_dir for i386 until there is
16158 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16159 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16160 CLOCK_PROVIDED and MALLOC_PROVIDED.
16161
16162 * libc/sys/netware: New directory. Contains simplistic and
16163 probably incorrect stubs for NetWare. Should be enough to load
16164 the library.
16165 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16166 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16167 stub files.
16168
16169 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16170 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16171 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16172 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16173
16174 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16175
16176 * testsuite/Makefile.in: add "docs" dummy target for consistency
16177 with rest of newlib; turn "info" and "install-info" into dummy
16178 targets, since they wouldn't have worked. (Depended on
16179 nonexistent "doc" subdir.)
16180
16181 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16182
16183 * configure.in: handle mips* instead of mips
16184
16185 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16186
16187 * libc/include/sys/dirent.h: New file. If it is not overridden by
16188 a version of libc/sys/*/sys/dirent.h, it includes the next
16189 <dirent.h> file in case there is one lurking somewhere.
16190
16191 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16192
16193 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16194 compliance, namely: Accept a minus sign. Consider a single 0 with
16195 a radix of 0 as being a conversion. Determine overflow correctly.
16196 If an overflow occurs, set *ptr to the end of the number, not the
16197 middle.
16198 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16199
16200 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16201
16202 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16203
16204 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16205
16206 * Makefile.in (INSTALL): Use $srcrootpre.
16207 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16208 can't handle it.
16209 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16210 it.
16211 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16212 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16213 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16214 * libm/math/Makefile.in (matherr.o): Ditto.
16215
16216 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16217
16218 * configure.in: Build multidirs for z8k.
16219 * libc/include/stdlib.h (_strtoul_r): add prototype.
16220 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16221 * libc/include/machine/setjmp.h: Add for z8k.
16222 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16223 * libc/sys/z8ksim/glue.c: tidy up.
16224
16225 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16226
16227 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16228 New files. Requires execve system call.
16229 * libc/unix/Makefile.in: Use them.
16230 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16231 Deleted, moved to libc/unix.
16232 * libc/sys/sparc64/Makefile.in: Remove them.
16233
16234 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16235
16236 * libc/sys/sparc64/{template.S template_r.S}: New files.
16237 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16238 from templates.
16239 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16240 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16241 umask.S unlink.S wait4.S write.S}: Removed, now built from
16242 templates.
16243
16244 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16245
16246 * libc/time/time.c: #include <_ansi.h>.
16247
16248 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16249
16250 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16251
16252 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16253
16254 * configure.in: match m8* rather than m88k so that m88110 is
16255 recognized as well.
16256
16257 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16258
16259 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16260 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16261 misc.c: New file.
16262
16263 * configure.in: Add multilib support to h8300.
16264
16265 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16266
16267 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16268 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16269 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16270
16271 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16272
16273 * configure.in: Corrected multidirs for sparc target.
16274
16275 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16276
16277 Support for building newlib multiple times with different
16278 compilation flags.
16279 * configure.in: Only configure doc at top level. Set multidirs
16280 when appropriate for target, unless not at top level. If
16281 multidirs is set, independently configure each subdirectory.
16282 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16283 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16284 automagically set by configure.in.
16285 (all): If MULTIDIRS is set, build multiple copies of libraries.
16286 (install): If MULTIDIRS is set, install multiple copies of
16287 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16288 MULTISUBDIR is set, don't bother to install header files.
16289 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16290 ${srcrootpre}.
16291 * stub/configure.in: Set MULTISUBDIR appropriately.
16292 * stub/Makefile.in (install): Install in
16293 $(tooldir)/lib/$(MULTISUBDIR).
16294 * All Makefile.in files: Define SRCTOP as well as TOP.
16295
16296 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16297
16298 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16299 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16300
16301 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16302
16303 * libc/sys/h8300hms/exit.c (_exit): New function.
16304
16305 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16306
16307 * configure.in: recognize m88110.
16308
16309 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16310
16311 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16312 prototype main and call with args.
16313
16314 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16315
16316 First real try at system traps for m88k-bug.
16317 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16318 to real trap calls.
16319 * libc/sys/m88kbug/sys/systraps.h: new file.
16320
16321 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16322
16323 Patches to fix info building when target does not use sys
16324 directory.
16325 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16326 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16327 libc/sys.tex.
16328 * libc/sys/Makefile.in (doc): do nothing.
16329
16330 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16331
16332 * libc/Makefile.in (CRT0): new macro.
16333 (all): depend on $(CRT0) rather than crt0.o.
16334
16335 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16336 do not default crt0, instead, set crt0 and crt0_dir based on
16337 sys_dir and stub_dir.
16338
16339 * Makefile.in (CRT0_DIR): new macro.
16340 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16341 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16342 $(CRT0).
16343 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16344
16345 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16346
16347 * testsuite/lib/libm.exp:
16348 added code to support compiling and linking of tests for
16349 libm.sac (paranoia to be added next) and processing the
16350 pass or failure of the tests.
16351
16352 * testsuite/config/unix-libm.exp:
16353 platform specific proc's for dealing with compiler, linker
16354 and the way we execute and process the test results.
16355
16356 * testsuite/libm.sac/execute.exp:
16357 generic framework for the sac tests. the config and lib
16358 expect code for specific platforms tie it all together.
16359
16360 * testsuite/libm.sac/test_is.c:
16361 changed the output of the test to be consistant with the
16362 other tests. parsing of pass nad fail messages is now fixed.
16363
16364 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16365
16366 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16367 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16368 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16369 #ifdef __cplusplus, surround by extern ""C { ... }.
16370 * libc/include/assert.h: Do *not* protect assert.h against
16371 multiple inclusion! Also, #undef it before #define, to allow
16372 redefinition.
16373 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16374 should be only in unistd.h.
16375
16376 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16377 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16378 ... }.
16379
16380 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16381
16382 * libc/machine/sparc/Makefile.in: Must create a library, even
16383 if empty.
16384
16385 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16386
16387 * configure.in: set machine_dir for m88k. edit crt0 definition
16388 into makefiles.
16389
16390 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16391
16392 * libc/Makefile.in (all): also build crt0.o.
16393
16394 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16395 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16396 to remove CRT0.
16397
16398 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16399 (all): reworked to build in place.
16400 (clean): remove lib.a
16401 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16402
16403 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16404 (_start): key off edata rather than _start_bss.
16405
16406 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16407
16408 * libc/include/sys/unistd.h, libc/include/reent.h,
16409 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16410
16411 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16412
16413 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16414
16415 * Makefile.in (libc.a): break into two rules, one for libc.a and
16416 one for libc/libc.a. Force subdirs current before rebuilding
16417 library.
16418 (libm.a): break into two rules, one for libm.a and one for
16419 libm/libm.a. Force subdirs current before rebuilding library.
16420
16421 * libc/Makefile.in (SUBLIBS): fix typo.
16422
16423 * libc/sys/Makefile.in (all): force descent into subdirs, then
16424 rebuild library iff out of of date.
16425
16426 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16427
16428 Rework so that library is built and then finished rather than
16429 being built on each invocation of make.
16430
16431 * host/any (machine_dir, sys_dir, signal_dir): these are not
16432 shared and have been moved to their associated Makefile.in's.
16433 (AR_FLAGS): switch to qc which is faster.
16434 * configure.in: no longer assign machine_dir for m88k. set
16435 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16436 stub_dir set, then add to configdirs. add comment about silly
16437 configuration.
16438 (configdirs): drop stub. It will be added only
16439 when needed.
16440 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16441 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16442 stub_lib, crt0): new variables for tailoring lower level
16443 makefiles. Assign accordingly and edit into makefiles.
16444 * libm/Makefile.in: updated copyright.
16445 (TARGETLIB): removed.
16446 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16447 (SUBDIRS): removed TARGETDEP_DIRS.
16448 (LIBM_FP_LIB, SUBLIBS): new macros.
16449 (all): reworked.
16450 (force): new target to force rebuilds.
16451 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16452 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16453 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16454 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16455 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16456 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16457 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16458 stub/m68kmvme/Makefile.in: updated copyright.
16459 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16460 (all): reworked. made this the default rule.
16461 (clean): also remove lib.a.
16462 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16463 * stub/Makefile.in: updated copyright.
16464 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16465 (stub_lib): new macro.
16466 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16467 RANLIB.
16468 (all): reworked.
16469 (clean, install): assume stub_dir exists.
16470 (Makefile): depend on configure.in. call $(SHELL) rather than
16471 sh. drop redundant ./
16472 * stub/configure.in (stublib): new macro, assign it, edit it into
16473 makefiles.
16474 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16475 updated copyright.
16476 (all): reworked.
16477 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16478 * libc/Makefile.in (TARGETCRT0): removed.
16479 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16480 TARGETCRT0.
16481 (SUBDIRS): drop TARGETDEP_DIRS.
16482 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16483 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16484 (force): new target to force rebuilds.
16485 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16486 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16487 removed.
16488 (clean): assume sys_dir always exists.
16489 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16490 drop redundant ./
16491 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16492 libc/locale/Makefile.in, libc/machine/Makefile.in,
16493 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16494 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16495 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16496 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16497 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16498 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16499 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16500 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16501 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16502 libc/time/Makefile.in, libc/unix/Makefile.in,
16503 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16504 (TARGETLIB): removed.
16505 (all): reworked.
16506 (clean): also remove lib.a.
16507 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16508 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16509 new macros.
16510 (SUBDIRS): moved to follow frag inclusion, change stub to
16511 stub_dir.
16512 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16513 are now set in the libc Makefile.
16514 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16515 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16516 TARGETCRT0.
16517 (force): new target to force rebuilds.
16518 * stub/configure.in: determine and set stub_lib for for Makefile.
16519
16520 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16521
16522 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16523 crt0.s renamed to crt0.S.
16524 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16525
16526 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16527 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16528 h8300h.
16529 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16530 h8300 (16 bits) and h8300h (32 bits).
16531 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16532 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16533
16534 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16535
16536 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16537 implementation of setjmp and longjmp for the m88k.
16538 * libc/include/machine/setjmp.h: Added __m88000__ case.
16539
16540 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16541
16542 * configure.in: Recognize h8300h as variant of h8300.
16543
16544 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16545
16546 * libc/include/sys/unistd.h (read, write): get prototypes right.
16547 (sbrk): New prototype.
16548 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16549 * libc/stdio/local.h: Include unistd.h.
16550 * libc/machine/h8300/syscalls.c: Names have changed.
16551
16552 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16553
16554 * configure.in: add sys_dir assignment for m88k-bug.
16555
16556 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16557
16558 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16559 a.out or elf.
16560 * libc/sys/sparc64: all *.S files: Use new macros.
16561 * libc/sys/sparc64/isatty.c: New file.
16562 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16563 functions beyond what newlib provides.
16564
16565 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16566
16567 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16568 svr4.
16569
16570 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16571
16572 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16573
16574 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16575
16576 * configure.in: add m88k.
16577 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16578 sanity check so no one else need ever chase what I did to find
16579 this.
16580
16581 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16582
16583 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16584
16585 * doc/makedoc.c: Include <ctype.h>.
16586
16587 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16588
16589 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16590 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16591 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16592
16593 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16594
16595 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16596
16597 * libc/include/errno.h (ENOSYS): Added.
16598
16599 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16600
16601 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16602
16603 * libc/stdio/fflush.c (fflush): Check for reent struct
16604 initialization.
16605 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16606
16607 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16608
16609 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16610 out of dtoa.c so it doesn't pollute the namespace.
16611 * libc/include/_syslist.h: new file -- mappings from _function to
16612 function, for systems where we can't win (by default, all of them,
16613 until we start updating system calls.)
16614 * libc/syscalls: new directory -- stubs for exporting _function
16615 names as unmodified function names.
16616 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16617 _syslist.h on all platforms by default, but put hooks in for
16618 fake_sys_dir so we can include it when we've renamed the system
16619 calls.
16620 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16621 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16622 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16623 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16624 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16625 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16626 non ANSI functions to call _function.
16627
16628 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16629
16630 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16631 when base 16 is specified. Don't accept non-digits if radix > 10.
16632
16633 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16634
16635 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16636
16637 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16638
16639 * libc/include/sys/stat.h: Surround text after #endif with
16640 comments.
16641
16642 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16643
16644 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16645 _malloc_r, _realloc_r, and free_r call the corresponding
16646 non-reentrant functions.
16647
16648 * libm/math/modf.c (modf): We now take the address of ipart, so
16649 don't make it a register variable.
16650
16651 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16652
16653 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16654
16655 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16656
16657 * libc/libc.texinfo and embedded docn throughout: formatting
16658 improvements, minor rephrasing for clarity, and improved
16659 reentrancy docn.
16660
16661 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16662
16663 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16664
16665 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16666 where sizeof(int) != sizeof(long).
16667
16668 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16669
16670 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16671 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16672 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16673 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16674 libm/math/matherr.c: changes for better docn formatting (info).
16675
16676 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16677 libc/reent/reent.tex, libc/signal/signal.tex,
16678 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16679 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16680 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16681 makeinfo node defaulting to get better Info file node structure.
16682 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16683 Also include a few formerly missing sections (subroutines).
16684
16685 * doc/doc.str: delete fossil expansion for "func"
16686
16687 * default.menu, no-signal.menu: delete.
16688
16689 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
16690 method used to adjust doc for missing "signals" chapter when
16691 signal_dir is empty.
16692
16693 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16694
16695 * configure.in: added testsuite/libm.sac
16696
16697 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16698
16699 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16700 code model).
16701
16702 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16703
16704 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16705 MAKEOVERRIDES to be empty.
16706
16707 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16708
16709 * configure.in: Don't build mips-*-* with -msoft-float, since that
16710 makes it incompatible with hard floating point.
16711
16712 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16713
16714 * Makefile.in: added recursive 'make check'
16715
16716 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16717
16718 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16719 * ./testsuite/Makefile.in: created
16720 * ./testsuite/libm.paranoia: paranoia tests added
16721
16722 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16723
16724 * configure.in: For mips-*-* set machine_dir to mips.
16725
16726 * libc/machine/mips: New directory.
16727 * libc/machine/mips/Makefile.in: New file.
16728 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16729 setjmp and longjmp.
16730 * libc/include/machine/setjmp.h: Added __mips__ case.
16731
16732 * libc/machine/lmips: Removed unused and useless directory.
16733
16734 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
16735
16736 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
16737
16738 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
16739
16740 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
16741 start up).
16742
16743 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
16744
16745 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
16746 SETJMP_H.
16747
16748 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
16749
16750 * libm/test/convert.c: structure member errno -> errno_val.
16751 Must include <errno.h> to use errno, it's a macro now.
16752 * libm/test/math.c: Ditto.
16753 * libm/test/math2.c: Include errno.h.
16754 * libm/test/string.c: Ditto.
16755 * libm/test/test.h: structure member errno -> errno_val.
16756 Remove extern int errno decl.
16757
16758 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
16759
16760 * libc/stdio/Makefile.in: Added dependencies on local header
16761 files.
16762 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
16763 files.
16764
16765 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
16766
16767 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
16768
16769 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
16770
16771 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
16772 Initialize _data.
16773
16774 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
16775 * libc/stdio/local.h: Add prototype for _licvt.
16776
16777 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
16778 instead of malloc,reealloc.
16779
16780 * libc/stdlib/local.h: New file.
16781 * libc/stdlib/efgcvt.c: #include local.h.
16782 (gcvt): Fix call to _gcvt.
16783 * libc/stdlib/ecvtbuf.c: #include local.h.
16784
16785 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
16786 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
16787 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
16788
16789 * libc/stdlib/atexit.c: moved global data to struct _reent.
16790 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
16791
16792 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
16793
16794 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
16795
16796 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
16797 here from ../reent.h.
16798
16799 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
16800
16801 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
16802 should be provided in both libc.a and libm.a.
16803 (libc.a): Depend on targ-include and libm.a. Copy
16804 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
16805 (libm.a): Depend on targ-include.
16806 * configure.in (subdirs): Removed libc/math.
16807
16808 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16809
16810 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
16811
16812 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
16813
16814 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
16815 sys/reent.h instead of reent.h.
16816 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
16817 headers moved to sys/reent.h.
16818 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
16819 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
16820 __need__MAX_SIGNALS defined.
16821 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
16822 std{in,out,err} refer to new _std{in,out,err} members.
16823
16824 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
16825
16826 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
16827 case.
16828
16829 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
16830
16831 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
16832 rather than whatever macro seterrno() has.
16833
16834 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
16835
16836 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
16837 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16838
16839 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
16840 __STDC__.
16841
16842 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
16843 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
16844 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16845
16846 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
16847 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16848
16849 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
16850 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
16851 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
16852 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
16853 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
16854 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
16855 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
16856 renamed to _xxx_r. struct reent_struct renamed to struct _reent
16857 for ANSI. structure members given leading "_" for ANSI. Use
16858 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16859
16860 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
16861 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
16862 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
16863 reent_struct renamed to struct _reent for ANSI.
16864 Structure members given leading "_" for ANSI.
16865 _CONST --> const in prototypes.
16866 Use _HAVE_STDC instead of __STDC__.
16867
16868 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
16869 _xxx_r.
16870 struct reent_struct renamed to struct _reent for ANSI.
16871 Structure members given leading "_" for ANSI.
16872
16873 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
16874 _xxx_r.
16875 struct reent_struct renamed to struct _reent for ANSI.
16876
16877 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
16878 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
16879 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
16880 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
16881 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
16882
16883 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
16884 signal.h, stdio.h, stdlib.h, string.h, time.h}:
16885 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16886 #ifndef _STRICT_ANSI non-ANSI routines.
16887 Reentrant routines renamed from _r_xxx to _xxx_r.
16888 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
16889 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
16890 Clean up namespace (structure members have leading "_").
16891 struct reent_struct renamed to struct _reent for ANSI compliance.
16892 _CONST --> const in function prototypes.
16893
16894 * libc/include/string.h: Add NULL and size_t.
16895
16896 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
16897 unlink, wait, wait4. Reentrant syscall routines close, fork,
16898 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
16899 write.
16900 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
16901 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
16902 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
16903 write.S}: Define reentrant versions.
16904 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
16905 reentrant syscalls.
16906
16907 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
16908
16909 * libc/include/stdlib.h (RAND_MAX): Fix value.
16910
16911 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
16912
16913 * libc/sys/a29khif/_main.c: Removed unnecessary file.
16914 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
16915 VPATH support targets after all: target.
16916
16917 * stub/mvme135/mvme.S: Renamed exceptionhandler to
16918 exceptionHandler, which is what mvme135-stub.c expects.
16919
16920 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
16921
16922 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
16923
16924 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
16925 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
16926 compliant).
16927
16928 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
16929
16930 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
16931 first.
16932 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
16933 _r_write): Ditto.
16934 libc/reent/fstatr.c (_r_fstat): Ditto.
16935 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
16936 libc/reent/sbrkr.c (_r_sbrk): Ditto.
16937 libc/reent/statr.c (_r_stat): Ditto.
16938
16939 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
16940 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
16941 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
16942 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
16943 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
16944 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
16945 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
16946 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
16947 (__swrite): Ditto for _r_lseek, _r_write.
16948 (__sseek): Ditto for _r_lseek.
16949 (__close): Ditto for _r_close.
16950 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
16951
16952 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
16953 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
16954
16955 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
16956 to make reent_struct the first argument (and thus consistent with
16957 the rest of newlib).
16958
16959 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
16960 reference to __STDC__.
16961
16962 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
16963
16964 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
16965 global __cleanup.
16966
16967 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
16968
16969 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
16970 first.
16971 libc/stdio/fclose.c (fclose): Ditto.
16972
16973 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
16974
16975 * Run through indent and rename reentrant routines for ANSI.
16976 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
16977 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
16978 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
16979 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
16980 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
16981 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
16982 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
16983 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
16984 vsprintf.c wbuf.c wsetup.c local.h}
16985
16986 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
16987
16988 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
16989 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
16990 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
16991 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
16992 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
16993 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
16994
16995 * Run through indent.
16996 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
16997 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
16998 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
16999 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17000 strxfrm.c}
17001
17002 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17003 localtime.c mktime.c strftime.c time.c}:
17004 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17005
17006 * Reformatting + renaming (for ANSI, GNU style, consistency).
17007 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17008 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17009 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17010
17011 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17012
17013 * libc/include/stdio.h (stdin_r): Fix.
17014
17015 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17016
17017 * Makefile.in: Unexport some variables to keep GNU make from
17018 putting them in the environment and using up needed ARG_MAX space
17019 (a hack is used to let this work with older makes as well).
17020
17021 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17022
17023 * Makefile.in: Use $(MAKE) rather than make.
17024 (MAKEOVERRIDES): Define to be empty.
17025 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17026 (libc.a, libm.a): Depend on targ-include.
17027 * host/any (LD): Don't define.
17028 (INCLUDES): Use targ-include.
17029 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17030 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17031 * libc/Makefile.in: Use $(MAKE) rather than make.
17032 (MAKEOVERRIDES): Define to be empty.
17033 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17034 (all): Rewrote to be slightly smaller.
17035 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17036 Define to be empty.
17037 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17038 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17039
17040 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17041
17042 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17043 with errno/errno.c.
17044
17045 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17046
17047 * Changes for reentrancy.
17048 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17049 Use ptr->_errno, not errno.
17050 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17051 libc/stdio/remove.c (remove_r): New function.
17052 libc/stdio/rename.c (rename_r): New function.
17053 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17054 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17055 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17056 reentrant versions of system calls.
17057 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17058 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17059 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17060 libc/stdio/findfp.c: Include <string.h>.
17061 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17062 "local.h".
17063 libc/stdio/wbuf.c: Include "fvwrite.h"
17064
17065 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17066 <string.h>.
17067 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17068 (NULL): Don't define if already defined.
17069 libc/stdlib/system.c: Call reentrant versions of system calls.
17070 (system_r): New function.
17071
17072 * Changes for reentrancy.
17073 libc/include/_ansi.h (_PARAMS): New macro.
17074 libc/include/errno.h: Define errno as a macro that calls __errno.
17075 (__errno_r): New macro for reentrant code.
17076 libc/include/math.h: Include reent.h. Declare many reentrant
17077 functions.
17078 (signgam): Now a macro, not a variable.
17079 (struct exception): Added err field.
17080 libc/include/reent.h: Don't declare __sglue. Added function
17081 declarations.
17082 (struct reent_struct): Moved errno to beginning. Added _signgam.
17083 libc/include/stdio.h, libc/include/stdlib.h: Added function
17084 declarations.
17085
17086 * More reentrancy hacking.
17087 libc/errno/errno.c (__errno): New function.
17088 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17089 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17090 files.
17091
17092 * Added many new reentrant functions to libm/math/*.
17093 libm/math/error.c (__matherror): Added reent_struct pointer
17094 argument. Changed all callers.
17095 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17096 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17097 libm/math/tan.h: Removed obsolete unused header files.
17098
17099 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17100
17101 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17102
17103 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17104
17105 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17106 delay slots.
17107
17108 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17109
17110 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17111
17112 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17113
17114 * libc/reent/reent.tex: New file. (text from
17115 newlib/libc/libc.texinfo)
17116 * libc/stdio/tmpnam.c: fixed doc typo
17117 * libc/stdlib/rand.c: fixed doc typo
17118
17119 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17120
17121 * libc/reent/reent.tex: New file. (text from
17122 newlib/libc/libc.texinfo)
17123
17124 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17125
17126 support for reentrancy
17127 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17128 new files
17129 * libc/errno/errno.c, libc/include/ieeefp.h,
17130 libc/include/locale.h, libc/include/reent.h,
17131 libc/include/signal.h, libc/include/stdio.h,
17132 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17133 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17134 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17135 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17136 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17137 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17138 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17139 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17140 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17141 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17142 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17143 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17144 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17145 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17146 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17147 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17148 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17149 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17150 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17151 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17152 libc/time/strftime.c: modify to provide reentracy.
17153
17154 new routines:
17155 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17156 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17157 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17158 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17159 mstats_r, realloc_r, localeconv_r, setlocale_r
17160
17161 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17162
17163 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17164 libc/include/sys/config.h, libc/include/sys/signal.h,
17165 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17166 provided macros (such as m68000), use the ansi version
17167 (__m68000__) so that the library can be used with code compiled
17168 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17169 and sparc.
17170
17171 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17172
17173 * configure.in (sparc*): Don't set -fsoft-float for sparc
17174 configurations. Do set -fsoft-float for sparclite configurations.
17175
17176 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17177
17178 * default.menu, no-signal.menu: alternate forms of libc main menu
17179 (in newlib rather than newlib/libc due to configuration restrictions)
17180
17181 * configure.in: select one of the two menus above, link to
17182 libc.menu
17183
17184 * libc/libc.texinfo: include menu from separate file
17185
17186 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17187
17188 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17189 (info): Split long shell command in half.
17190 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17191 sub-makes, just CHEW and TARGETDOC.
17192 (targetdep.tex): Removed now special handling of sys and machine
17193 subdirectories, made obsolete some time ago.
17194 * libc/machine/Makefile.in (doc): Don't pass everything to
17195 sub-make, just CHEW and TARGETDOC.
17196 (Makefile): New target.
17197 * libc/sys/Makefile.in (Makefile): New target.
17198
17199 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17200
17201 * Makefile.in (here and most subdirectories): Only pass down CHEW
17202 and TARGETDOC when making info, not for other targets.
17203
17204 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17205 $(AR_FLAGS) rather than $(ARUPDATE).
17206
17207 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17208
17209 * Try to reduce command line length:
17210 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17211 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17212 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17213 (info): Pass CHEW to other subdirs.
17214
17215 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17216
17217 * configure.in: add signal_dir, like unix_dir, but by default it
17218 is set to "signal" so that a29khif can turn it off (since a29khif
17219 has raise() as part of machine-specific signal.s.)
17220
17221 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17222
17223 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17224 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17225 correctly.
17226 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17227 libc/stdio/vfprintf: type lint.
17228 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17229 initialzation code.
17230 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17231
17232 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17233
17234 * stub/mvme135/mvme135-asm.S: new file.
17235 stub/mvme135mvme135-stub.c: moved all assembler routines into
17236 mvme135-asm.S.
17237 stub/mvme135/Makefile.in: build mvme135-stub.o.
17238
17239 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17240
17241 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17242 sub-Makefiles instead, to try to avoid line length limitations.
17243
17244 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17245
17246 * libc/include/unistd.h (read, write): Use void* instead of
17247 char*.
17248
17249 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17250
17251 * stub/go32/resetpc: sample script to send a reset packet to the
17252 stub
17253
17254 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17255 DOS environment, which compiles with Turbo C.
17256
17257 * stub/go32/DSER32.LNK: new file, linker commands for serial
17258 remote stub.
17259
17260 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17261 start up message to identify version; call set_debug_traps.
17262
17263 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17264 keyboard interaction); call handle_exception() in go_til_stop,
17265 rather than return, so that the remote stub gets control.
17266
17267 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17268 rename, rather than mv), set flags that work with current Turbo C,
17269 including using the /3 flag; also, add commands to build dser32.
17270
17271 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17272 default Turbo C installation (\tc rather than \usr)
17273
17274 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17275 "&..."
17276
17277 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17278
17279 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17280
17281 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17282
17283 * libc/stdio/cvt.c (licvt): new function to convert ints when
17284 sizeof(int) != sizeof(long).
17285
17286 * libc/include/stdio.h: added prototype for iprintf.
17287 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17288
17289 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17290
17291 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17292 __REGISTER_PREFIX__.
17293
17294 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17295
17296 * libc/sys/m68kbare: moved into stub directory.
17297
17298 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17299
17300 * configure.in, Makefile.in: created new directory stub, to hold
17301 sample code for specific targets.
17302
17303 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17304
17305 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17306 in the unified libc/include/sys/fcntl.h.
17307
17308 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17309
17310 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17311 printed .01, not 0.01.
17312
17313 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17314
17315 * configure.in: compile with -m68000 for m68* targets.
17316
17317 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17318
17319 * libm/math/remainder.c (remainder): document the svr4 and sunos
17320 references used to construct the function.
17321
17322 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17323
17324 * libm/math/remainder.c (rint, remainder): fix old typos.
17325 * libm/math/Makefile.in: actually build remainder.c (functions
17326 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17327 page.)
17328
17329 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17330
17331 * libc/string/bcopy.c: BSD version works on overlapping strings,
17332 so ours should too.
17333
17334 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17335 ("SHELL").
17336
17337 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17338
17339 * Makefile.in (docs): new target.
17340
17341 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17342
17343 * libc/include/sys/times.h: define clock_t as required by POSIX.
17344 libc/include/time.h: protect clock_t from multiple definitions.
17345
17346 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17347
17348 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17349 does not need more than the original three iterations to get
17350 within 1 ulp. (Paranoia tests for rounding to better than that,
17351 but further iterations *don't* help, only more subtle changes
17352 can.)
17353
17354 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17355
17356 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17357 were doing nothing useful.
17358
17359 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17360
17361 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17362 removed sys_dir settings of vxworks68 and vxworks960.
17363 host/any: don't pass -nostdinc to gcc, since newlib no longer
17364 provides all required header files.
17365
17366 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17367 is not defined; this provides a hook for VxWorks.
17368
17369 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17370
17371 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17372 buffer if buf is NULL, don't do it here -- it is already being
17373 done by makebuf elsewhere in stdio.
17374
17375 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17376
17377 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17378 that C programs can call functions without using initial
17379 underscores.
17380
17381 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17382
17383 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17384
17385 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17386
17387 * configure.in: set TARGET_CFLAGS for certain CPU types to
17388 -msoft-float.
17389
17390 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17391
17392 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17393
17394 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17395
17396 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17397 m68k*-unknown-coff.
17398
17399 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17400
17401 * libc/include/stdio.h: define __need___va_list before including
17402 <stdarg.h>, to avoid defining va_arg, et. al.
17403
17404 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17405
17406 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17407 (don't cd to the user's home directory).
17408
17409 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17410 In general this is the wrong thing to do, but I can't get around
17411 GNU make's insistence on passing command line arguments any other
17412 way.
17413
17414 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17415
17416 * configure.in: always configure the libc/sys directory, since it
17417 now provides a required documentation file.
17418
17419 * Makefile.in: replaced all instances of $(MAKE) with make. In
17420 general this is the wrong thing to do, but I can't get around GNU
17421 make's insistence on passing command line arguments any other way.
17422
17423 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17424
17425 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17426 terminated.
17427
17428 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17429 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17430
17431 * libc/include/float.h, libc/include/stdarg.h,
17432 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17433 versions instead.
17434 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17435 <stdarg.h>, not from <machine/types.h>. Protect definition of
17436 NULL.
17437 libc/include/time.h: get size_t from stddef.h. Protect definition
17438 of NULL.
17439 libc/include/machine/limits.h: override gcc <limits.h> by defining
17440 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17441 get correct INT_MIN and LONG_LONG values.
17442 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17443 size_t or va_list at all; they're now gotten from stddef.h
17444 instead.
17445 libc/include/machine/varargs.h: removed; use gcc version instead.
17446 libc/include/sys/types.h: explicitly include <machine/types.h>.
17447
17448 * libm/math/sqrt.h: using the fp-bit routines appears to require
17449 more iterations.
17450
17451 * Makefile.in, host/any: let system include files override machine
17452 include files.
17453
17454 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17455
17456 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17457 override _*_T_ definitions defaulted here.
17458
17459 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17460
17461 * Makefile.in (install): install the include files in
17462 $(tooldir)/include, not $(exec_prefix)/include.
17463
17464 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17465
17466 * Makefile.in (install): fixed typo, and changed install to not
17467 force rebuild of libc.a and libm.a.
17468
17469 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17470
17471 * libc/sys/a29khif/*: Changed all .include's to include
17472 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17473 that they will be installed for the user.
17474
17475 * Makefile.in (all): create targ-include, a directory holding the
17476 machine and system specific header files during the build.
17477 (install): fixed installation of machine and system specific
17478 header files.
17479
17480 * Makefile.in: fixed comment.
17481 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17482 we can pass $(INCLUDES) to it.
17483
17484 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17485
17486 * libc/include/sys/param.h: new generic file, which may be
17487 overridden for specific systems.
17488
17489 * libc/include/sys/signal.h: define all ANSI signal names, and
17490 NSIG (which is not ANSI) for a29k.
17491
17492 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17493
17494 * Makefile.in: don't pass down arguments the lower level makes
17495 will not need.
17496 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17497 in hopes of avoiding argument length limits.
17498 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17499 hopes of avoiding argument length limits.
17500
17501 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17502
17503 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17504 mode_t is defined.
17505
17506 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17507
17508 * Fixed make info and make install-info for newlib, changing most
17509 Makefile.in and several *.tex files. Moved doc directory from
17510 libc to top level.
17511
17512 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17513 Should be rewritten.
17514
17515 * libc/string/strings.tex: renamed node index to node index
17516 function, so that it does not conflict with the top level index
17517 node.
17518
17519 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17520
17521 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17522
17523 * Overhauled general configuration for newlib. Eliminated all
17524 target dependent Makefile fragments. Create libraries in newlib
17525 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17526 than CROSS_CC, et. al. Broke make docs; will fix later.
17527
17528 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17529 Should be rewritten.
17530
17531 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17532
17533 * libc/configure.in: cleaned up somewhat; switch on ${target}
17534 rather than ${target_alias}.
17535 * libm/configure.in: cleaned up somewhat; switch on ${target}
17536 rather than ${target_alias}.
17537
17538 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17539 * libc/include/ctype.h: marked _ctype_ as _CONST.
17540
17541 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17542 _CONST.
17543
17544 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17545 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17546 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17547 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17548
17549 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17550 bigtens, tinytens): marked arrays _CONST.
17551 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17552 rather than a static variable.
17553
17554 * libc/time/asctime.c (asctime), libc/time/localtime.c
17555 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17556 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17557 mname_len, mname): Marked static arrays _CONST.
17558
17559 * libm/math/gamma.h: made local variables non-static.
17560
17561 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17562 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17563 _CONST.
17564
17565 * libm/math/constants.c: removed file, because the constants it
17566 defined were never referenced.
17567 libm/math/Makefile.in: removed references to constants.c.
17568 libm/math/mathimpl.h: removed declarations of constants.
17569
17570 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17571
17572 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17573 it is sensibly defined in libgcc2. Checks preprocessor defines,
17574 which is not a good solution.
17575
17576 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17577
17578 * libm/frexp.c: handle denormalized numbers as arguments.
17579
17580 * libm/math/Makefile.in: added some dependencies for .c files
17581 which include local .h files.
17582
17583 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17584
17585 * libc/configure.in: set target_alias for OSE*. Replace
17586 target_makefile_frag if it is blank.
17587
17588 * libc/Makefile.in: make sure everything is passed to subsidiary
17589 makes; create all directories when installing.
17590
17591 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17592 CROSS_ARUPDATE instead of AR.
17593
17594 * libm/configure.in: set target_alias for OSE*. Replace
17595 target_makefile_frag if it is blank.
17596
17597 * libm/Makefile.in: make sure everything is passed to subsidiary
17598 makes; create all directories when installing.
17599
17600 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17601
17602 * add following change from libc copy.
17603
17604 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17605
17606 * libc/libc.texinfo: make copyright disclaimers appear on back of
17607 title page; make format of same slightly less ugly; avoid using
17608 underbars in section headings (avoids nasty texinfo bug in table
17609 of contents).
17610
17611 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17612 comments only) avoid using underbars in section headings
17613
17614 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17615 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17616 changes in comments only): shorten headings ieeefp/infinity.c,
17617 ieeefp/isnan.c: (doc, comments only) more informative headings
17618
17619 * libc/math/bessel.c: (doc, comments only) shorten heading
17620
17621 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17622 (doc, comments only) shorten headings
17623
17624 * libc/time/localtime.c (doc, comments only): shorten headings
17625
17626 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17627 isnan
17628 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17629 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17630 headings
17631 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17632 only) more informative headings
17633 * libm/math/bessel.c: (doc, comments only) shorten heading
17634
17635 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17636
17637 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17638 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17639 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17640 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17641 defined, the one from the .mt file will be correct.
17642 * libc/include/machine, libc/include/sys: created, and populated
17643 with common files from machine/*/machine. ifdefs were used for
17644 most, typically by handling exceptions first and then filling in
17645 defaults. Files with D.J. Delorie copyright #included rather than
17646 copied. Most files in include/sys really were the same in the
17647 original.
17648 * libc/include/...: cleaned up use of _EXFUN.
17649 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17650 it with double quotes, not angles.
17651
17652 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17653
17654 * libc/Makefile.in: always create installation directories.
17655
17656 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17657
17658 * libc/configure.in: handle host properly (using canonical
17659 triples), better error message for the case of target not found
17660
17661 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17662
17663 * libc/Makefile.in (insincdir): Ensure this directory exists
17664 before attempting installation.
17665
17666 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17667
17668 * libc/stdlib/assert.c: now calls abort like it should
17669 * libc/sys/a29khif: many many patches for 29khif work
17670 * libc/machine/i386: gnulib2 expanded there.
17671
17672 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17673
17674 Added accurate fp conversion routines to stdlib, moved dcvt from
17675 stdio to stdlib and called it ecvtbuf:
17676 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17677 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17678 routines
17679 * libc/libc.texinfo: Modifed to include the copyright info from
17680 the mprec files
17681 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17682 * libc/test/ : many vector which tested for the implementation
17683 defined returns of strange conversion requests have been updated
17684 to relflect the new implementation
17685
17686 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17687
17688 * libc/libc.texinfo: new chapter on variable arg lists
17689 (stdarg.h/varargs.h)
17690 * libc/libc.texinfo: new title
17691 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17692 (doc only) shorter headings for better formatting.
17693
17694 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17695
17696 * libc/libc.texinfo: three more info menu entries
17697 * libc/locale/locale.tex: new chapter
17698 * libc/locale/locale.c: new doc for setlocale, localeconv
17699 * libc/locale/Makefile.in: use new locale doc
17700 * libc/signal/signal.tex: new chapter
17701 * libc/signal/raise.c, libc/signal/signal.c: new doc
17702 * libc/signal/Makefile.in: use new doc
17703 * libc/time/time.tex: new chapter
17704 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17705 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17706 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17707 * libc/time/Makefile.in: use new doc
17708
17709 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17710
17711 * libm/math/log1p.c: split to use the new function way of float
17712 function definition. math/log1p.h deleted
17713 * libm/math/scalb.c: obsolete and deleted
17714 * libm/math/scalbn.c: created from part log1p.c
17715 * libm/math/Makefile.in: know about log1p and scalbn
17716
17717 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17718
17719 * libc/ctype/isupper.c: revise doc;
17720 libc/ctype/ctype.tex: use doc from isupper.c
17721
17722 * libc/string/bzero.c: new doc
17723
17724 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17725
17726 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17727 new doc
17728 * libc/stdlib/Makefile.in: extract new doc
17729 * libc/stdlib/stdlib.tex: use new doc
17730
17731 * libc/string/strerror.c: expanded doc.
17732
17733 * libc/stdio/Makefile.in: extract doc from more files
17734 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
17735 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
17736 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
17737 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
17738 libc/stdio/vsprintf.c: new doc
17739 * libc/stdio/stdio.tex: use new doc
17740
17741 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17742
17743 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
17744 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
17745 finitef functions.
17746 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
17747 time ago.
17748
17749 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
17750 * libc/stdio/setbuf.c: added ansi style definition.
17751 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
17752 buffer if none provided.
17753 * libc/stdio/tmpfile.c: lint
17754 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
17755 rather than using static, also make sure file isn't already
17756 present. Uses P_tmpdir. (tempnam): rewritten to use new
17757 subroutine, and uses P_tmpdir.
17758 * libc/stdio/siprintf.c: created
17759
17760 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17761
17762 Release 1.03 for NEC, major mods. Main differences from release
17763 1.02::
17764
17765 More tests in test/:
17766 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
17767 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
17768 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
17769 get/set mask, get/set sticky and get/set roundtoi. Tests
17770 that setting the bits changes the way arithmetic is done.
17771 * string.c: added test to make sure memcmp does it with unsigned
17772 chars.
17773 * test.c: cleaned up and removed lint.
17774 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
17775 dvec.c: tests for string to value conversions, sprintf, scanf,
17776 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
17777 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
17778 rounding in sprintf too.
17779 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
17780 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
17781 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
17782 and function form.
17783 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
17784 powf
17785
17786 In the library:
17787 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
17788 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
17789 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
17790 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
17791 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
17792 than sprintf.
17793 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
17794 * Method of producting float versions of double functions has
17795 changed, functions will be modified gradually. So far:
17796 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
17797 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
17798 altered
17799 * libc/string/memcmp.c: now uses unsigned chars
17800 * libc/string/bcmp.c, libc/string/strcpy.c,
17801 libc/stsring/strxfrm.c: fixed doc
17802 * libc/sys/sysvnecv70.tex: fix example of sbrk code
17803 \f
17804 Local Variables:
17805 version-control: never
17806 End:
This page took 0.770518 seconds and 6 git commands to generate.