]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
* libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
[newlib-cygwin.git] / newlib / ChangeLog
1 2007-05-23 Eric Blake <ebb9@byu.net>
2
3 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
4 sizeof(void*) is 8 but sizeof(long) is 4.
5 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
6 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
7 to fix reentrancy and bug on encoding error in multibyte locales.
8 Always return EOF on read error.
9
10 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
11
12 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
13 prototype.
14 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
15 instead of the slot 0 value, remove any now unused variables, and
16 for some cases, now store the result in an int vs int*.
17 * libc/machine/spu/feof.c: Ditto.
18 * libc/machine/spu/ferror.c: Ditto.
19 * libc/machine/spu/fflush.c: Ditto.
20 * libc/machine/spu/fgetc.c: Ditto.
21 * libc/machine/spu/fgetpos.c: Ditto.
22 * libc/machine/spu/fgets.c: Ditto.
23 * libc/machine/spu/fileno.c: Ditto.
24 * libc/machine/spu/fopen.c: Ditto.
25 * libc/machine/spu/fprintf.c: Ditto.
26 * libc/machine/spu/fputc.c: Ditto.
27 * libc/machine/spu/fputs.c: Ditto.
28 * libc/machine/spu/fread.c: Ditto.
29 * libc/machine/spu/freopen.c: Ditto.
30 * libc/machine/spu/fscanf.c: Ditto.
31 * libc/machine/spu/fseek.c: Ditto.
32 * libc/machine/spu/fsetpos.c: Ditto.
33 * libc/machine/spu/ftell.c: Ditto.
34 * libc/machine/spu/fwrite.c: Ditto.
35 * libc/machine/spu/getc.c: Ditto.
36 * libc/machine/spu/getchar.c: Ditto.
37 * libc/machine/spu/gets.c: Ditto.
38 * libc/machine/spu/printf.c: Ditto.
39 * libc/machine/spu/putc.c: Ditto.
40 * libc/machine/spu/putchar.c: Ditto.
41 * libc/machine/spu/puts.c: Ditto.
42 * libc/machine/spu/remove.c: Ditto.
43 * libc/machine/spu/rename.c: Ditto.
44 * libc/machine/spu/scanf.c: Ditto.
45 * libc/machine/spu/setvbuf.c: Ditto.
46 * libc/machine/spu/snprintf.c: Ditto.
47 * libc/machine/spu/sprintf.c: Ditto.
48 * libc/machine/spu/sscanf.c: Ditto.
49 * libc/machine/spu/tmpfile.c: Ditto.
50 * libc/machine/spu/tmpnam.c: Ditto.
51 * libc/machine/spu/ungetc.c: Ditto.
52 * libc/machine/spu/vfprintf.c: Ditto.
53 * libc/machine/spu/vfscanf.c: Ditto.
54 * libc/machine/spu/vprintf.c: Ditto.
55 * libc/machine/spu/vscanf.c: Ditto.
56 * libc/machine/spu/vsnprintf.c: Ditto.
57 * libc/machine/spu/vsprintf.c: Ditto.
58 * libc/machine/spu/vsscanf.c: Ditto.
59
60 2007-05-23 Eric Blake <ebb9@byu.net>
61
62 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
63 Avoid warning when !FLOATING_POINT.
64 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
65 slightly.
66
67 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
68
69 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
70 to zero.
71 * libc/include/argz.h: Guard against multiple inclusion. Guard for
72 use with C++.
73
74 2007-05-18 Eric Blake <ebb9@byu.net>
75
76 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
77 compilers.
78 * libc/stdio/vfscanf.c: Likewise.
79
80 2007-05-17 Cary R. <cygcary <at> yahoo.com>
81
82 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
83 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
84 * libm/math/wf_atan2.c: Ditto.
85
86 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
87
88 * libm/common/Makefile.am: Add support for exp10, exp10f,
89 pow10, and pow10f functions.
90 * libm/common/Makefile.in: Regenerated.
91 * libm/common/s_pow10.c: New file.
92 * libm/common/sf_pow10.c: Ditto.
93 * libm/common/s_exp10.c: Ditto.
94 * libm/common/sf_exp10.c: Ditto.
95 * libc/include/math.h [!pow10]: New pow10 prototype.
96 [!pow10f]: New pow10f prototype.
97 [!exp10]: New exp10 prototype.
98 [!exp10f]: New exp10f prototype.
99
100 2007-05-17 Charles Wilson <cygwin@...>
101
102 * stdio/tmpfile.c: Include <sys/stat.h>.
103 * stdio64/tmpfile64.c: Ditto.
104
105 2007-05-16 Eric Blake <ebb9@byu.net>
106
107 Close security hole in tmpfile.
108 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
109 generation and opening the fd.
110 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
111
112 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
113 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
114 required by POSIX.
115 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
116 avoid clash with <math.h>.
117
118 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
119 * libc/search/hash.c (__hash_open): Likewise.
120
121 2007-05-14 Eric Blake <ebb9@byu.net>
122
123 Reduce stack size of *printf.
124 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
125 in %f. Avoid malloc when possible for %S.
126 (BUF): Improve stack locality by using smaller size.
127 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
128 (exponent): Use smaller stack size.
129
130 2007-05-11 Eric Blake <ebb9@byu.net>
131
132 Minimize printf/scanf size on platforms that don't need C99.
133 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
134 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
135 * configure.in (newlib-io-c99-formats): New configure option.
136 (_WANT_IO_C99_FORMATS): Define appropriately.
137 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
138 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
139 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
140 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
141 Likewise.
142 * configure: Regenerate.
143
144 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
145 (get_arg): Support '%a' and '%A'.
146
147 2007-05-09 Eric Blake <ebb9@byu.net>
148
149 Allow zero size with non-null buf in *asnprintf.
150 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
151 user's buf.
152 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
153 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
154 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
155
156 2007-05-07 Charles Wilson <cygwin@...>
157
158 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
159
160 2007-05-03 Eric Blake <ebb9@byu.net>
161
162 Add support for asnprintf, and improve *printf documentation.
163 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
164 (ELIX_2_SOURCES): ...to this.
165 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
166 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
167 (CHEWOUT_FILES): Include diprintf in documentation.
168 * libc/stdio/Makefile.in: Regenerate.
169 * libc/stdio/diprintf.c: Improve documentation.
170 * libc/stdio/dprintf.c: Likewise.
171 * libc/stdio/siprintf.c: Likewise.
172 * libc/stdio/sprintf.c: Likewise.
173 * libc/stdio/vfprintf.c: Likewise.
174 * libc/stdio/viprintf.c: Likewise.
175 * libc/stdio/vsniprintf.c: Consolidate documentation.
176 * libc/stdio/asiprintf.c: Refer to documentation.
177 * libc/stdio/asprintf.c: Likewise.
178 * libc/stdio/fiprintf.c: Likewise.
179 * libc/stdio/fprintf.c: Likewise.
180 * libc/stdio/iprintf.c: Likewise.
181 * libc/stdio/printf.c: Likewise.
182 * libc/stdio/sniprintf.c: Likewise.
183 * libc/stdio/vdiprintf.c: Likewise.
184 * libc/stdio/vdprintf.c: Likewise.
185 * libc/stdio/vsiprintf.c: Likewise.
186 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
187 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
188 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
189 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
190 file.
191 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
192 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
193 typical case.
194 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
195 * libc/include/stdio.h: Add prototypes for new functions; sort
196 existing functions.
197
198 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
199
200 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
201 and memset.S.
202 * libc/machine/m68k/Makefile.in: Regenerate.
203 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
204 * libc/machine/m68k/memset.S: Likewise.
205
206 2007-05-01 Eric Blake <ebb9@byu.net>
207
208 * libc/stdio64/local64.h: Delete, move contents to...
209 * libc/stdio/local.h: ...here.
210 * libc/stdio64/fdopen64.c: Update includes.
211 * libc/stdio64/fopen64.c: Likewise.
212 * libc/stdio64/freopen64.c: Likewise.
213 * libc/stdio64/fseeko64.c: Likewise.
214 * libc/stdio64/ftello64.c: Likewise.
215 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
216 and stderr with 64-bit offset.
217 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
218 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
219 * libc/stdio/mktemp.c (_gettemp): Likewise.
220
221 2007-05-01 Cary R. <cygcary <at> yahoo.com>
222
223 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
224 to treatment of NaN and +-inf arguments.
225 * libm/math/ef_pow.c: Ditto.
226 * libm/math/w_pow.c: Ditto.
227 * libm/math/wf_pow.c: Ditto.
228 * libm/math/w_acos.c: Fix domain errors to return NaN.
229 * libm/math/w_asin.c: Ditto.
230 * libm/math/wf_acos.c: Ditto.
231 * libm/math/wf_asin.c: Ditto.
232 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
233 * libm/math/wf_log.c: Ditto.
234 * libm/math/wf_log10.c: Ditto.
235 * libm/math/w_log10.c: Ditto.
236
237 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
238
239 * libc/machine/m68k/Makefile.am: Temporarily remove
240 memcpy.S and memset.S until logic can be confirmed for
241 !(__mcoldfile__) case.
242 * libc/machine/m68k/Makefile.in: Regenerated.
243
244 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
245
246 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
247 and memset.S.
248 * libc/machine/m68k/Makefile.in: Regenerate.
249 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
250
251 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
252
253 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
254 overridden via machine/ieeefp.h.
255 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
256 macros for isnan and related macros.
257 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
258 overridden via machine/ieeefp.h.
259 * libm/machine/spu/Makefile.am: Add new files.
260 * libm/machine/spu/Makefile.in: Autogenerate with new files.
261 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
262 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
263 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
264 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
265 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
266 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
267 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
268
269 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
270
271 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
272 * libm/common/sf_fpclassify.c: ...here. New file.
273 * libm/common/Makefile.am: Add sf_fpclassify.c.
274 * libm/common/Makefile.in: Regenerated.
275
276 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
277
278 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
279 ppu linux values. This file is a copy of the cris/sys/errno.h plus
280 a few changes (see spu errno.h comments).
281
282 2007-04-25 Eric Blake <ebb9@byu.net>
283
284 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
285 that promote to int.
286
287 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
288
289 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
290 we clear the proper bits in the fpscr, and don't set some random ones.
291
292 2007-04-24 Eric Blake <ebb9@byu.net>
293
294 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
295 or NaN with %05f.
296
297 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
298 _MB_CAPABLE.
299
300 * libc/include/limits.h (NL_ARGMAX): Define a default value.
301 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
302 NL_ARGMAX, if present.
303
304 2007-04-23 Brian Dessent <brian@dessent.net>
305
306 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
307 has been specified with types 'f', 'F', 'g', or 'G', ensure the
308 trailing decimal is printed.
309
310 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
311
312 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
313 file. Override Autoconf-2.59's version of these macros with
314 fixed handling of multiple adjacent whitespace in arguments.
315 * aclocal.m4: Regenerated forcefully.
316 * configure: Ditto.
317 * Makefile.in: Ditto.
318 * libc/*Makefile.in: Ditto.
319 * libc/*aclocal.m4: Ditto.
320 * libc/*configure: Ditto.
321 * libm/*Makefile.in: Ditto.
322 * libm/*aclocal.m4: Ditto.
323 * libm/*configure: Ditto.
324
325 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
326
327 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
328 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
329 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
330 * libc/sys/arc/Makefile.in: Regenerated.
331
332 2007-04-17 Brian Dessent <brian@dessent.net>
333
334 * libc/stdio/sscanf.c: Update documentation comments.
335 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
336
337 2007-04-12 Eric Blake <ebb9@byu.net>
338
339 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
340 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
341 (get_arg): Handle %1$F, %1$n.
342
343 2007-04-10 Eric Blake <ebb9@byu.net>
344
345 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
346 CFLAGS=-O0.
347
348 2007-04-09 Eric Blake <ebb9@byu.net>
349
350 * libc/include/stdio.h: Add gcc format attributes to printf and
351 scanf families.
352
353 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
354
355 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
356 even if the passed in length n is shorter than the source string.
357 This matches both the non-spu specific and the glibc strxfrm
358 behaviour.
359
360 2007-04-04 Mark Mitchell <mark@codesourcery.com>
361
362 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
363 functions registering additional atexit functions.
364
365 * testsuite/lib/flags.exp (newlib_include_flags): Drop
366 -I${newlib_dir}.
367
368 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
369
370 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
371 prototype.
372 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
373 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
374 * libc/machine/spu/fclose.c: Ditto.
375 * libc/machine/spu/feof.c: Ditto.
376 * libc/machine/spu/ferror.c: Ditto.
377 * libc/machine/spu/fflush.c: Ditto.
378 * libc/machine/spu/fgetc.c: Ditto.
379 * libc/machine/spu/fgetpos.c: Ditto.
380 * libc/machine/spu/fgets.c: Ditto.
381 * libc/machine/spu/fileno.c: Ditto.
382 * libc/machine/spu/fopen.c: Ditto.
383 * libc/machine/spu/fprintf.c: Ditto.
384 * libc/machine/spu/fputc.c: Ditto.
385 * libc/machine/spu/fputs.c: Ditto.
386 * libc/machine/spu/fread.c: Ditto.
387 * libc/machine/spu/freopen.c: Ditto.
388 * libc/machine/spu/fscanf.c: Ditto.
389 * libc/machine/spu/fseek.c: Ditto.
390 * libc/machine/spu/fsetpos.c: Ditto.
391 * libc/machine/spu/ftell.c: Ditto.
392 * libc/machine/spu/fwrite.c: Ditto.
393 * libc/machine/spu/getc.c: Ditto.
394 * libc/machine/spu/getchar.c: Ditto.
395 * libc/machine/spu/gets.c: Ditto.
396 * libc/machine/spu/perror.c: Ditto.
397 * libc/machine/spu/printf.c: Ditto.
398 * libc/machine/spu/putc.c: Ditto.
399 * libc/machine/spu/putchar.c: Ditto.
400 * libc/machine/spu/puts.c: Ditto.
401 * libc/machine/spu/remove.c: Ditto.
402 * libc/machine/spu/rename.c: Ditto.
403 * libc/machine/spu/rewind.c: Ditto.
404 * libc/machine/spu/scanf.c: Ditto.
405 * libc/machine/spu/setbuf.c: Ditto.
406 * libc/machine/spu/setvbuf.c: Ditto.
407 * libc/machine/spu/snprintf.c: Ditto.
408 * libc/machine/spu/sprintf.c: Ditto.
409 * libc/machine/spu/sscanf.c: Ditto.
410 * libc/machine/spu/tmpfile.c: Ditto.
411 * libc/machine/spu/tmpnam.c: Ditto.
412 * libc/machine/spu/ungetc.c: Ditto.
413 * libc/machine/spu/vfprintf.c: Ditto.
414 * libc/machine/spu/vfscanf.c: Ditto.
415 * libc/machine/spu/vprintf.c: Ditto.
416 * libc/machine/spu/vscanf.c: Ditto.
417 * libc/machine/spu/vsnprintf.c: Ditto.
418 * libc/machine/spu/vsprintf.c: Ditto.
419 * libc/machine/spu/vsscanf.c: Ditto.
420
421 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
422
423 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
424
425 2007-04-04 Eric Blake <ebb9@byu.net>
426
427 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
428 (asiprintf): Avoid overhead.
429 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
430 (asprintf): Avoid overhead.
431 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
432 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
433 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
434 (fiprintf): Avoid overhead.
435 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
436 (fprintf): Avoid overhead.
437 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
438 (iprintf): Avoid overhead.
439 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
440 (printf): Avoid overhead.
441 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
442 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
443 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
444 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
445 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
446 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
447 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
448 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
449 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
450 vdiprintf.c.
451 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
452 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
453
454 2007-03-30 Dave Korn <dave.korn@artimi.com>
455
456 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
457 conflicting inline semantics between C99 and GNU89.
458 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
459 compatible with -fkeep-inline-functions usage.
460 (__sputc_r): Likewise for consistency even though disabled.
461
462 2007-03-29 Nick Clifton <nickc@redhat.com>
463
464 Reflect changes made to generic vfprintf.c:
465 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
466 and add a "struct reent *" argument.
467 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
468 argument and call _VFPRINTF_R instead of VFPRINTF.
469 (_VFPRINTF_R): Add data pointer to call to cantwrite().
470 Fix uses of __sprint() and __sbprintf.
471
472 2007-03-20 Nick Clifton <nickc@redhat.com>
473
474 Reflect changes made to generic vfprintf.c:
475 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
476 and add a "struct reent *" argument.
477 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
478 argument and call _VFPRINTF_R instead of VFPRINTF.
479 (_VFPRINTF_R): Add data pointer to call to cantwrite().
480 Fix uses of __sprint() and __sbprintf.
481
482 2007-03-16 Charles Wilson <cygwin@...>
483
484 * libc/argz/argz_insert.c: "before" pointer is
485 invalid after *argz realloc. Compute offset
486 between "before" and *argz, and use it after
487 reallocation instead.
488
489 2007-03-16 Eric Blake <ebb9@byu.net>
490
491 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
492 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
493
494 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
495
496 * configure.in: Add new --enable-newlib-reent-small option.
497 * configure: Regenerated.
498 * acconfig.h: Add _WANT_REENT_SMALL.
499 * newlib.hin: Regenerated minus PACKAGE macros to add
500 _WANT_REENT_SMALL macro.
501 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
502 if not already set.
503 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
504 there is no buffer.
505 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
506 use reentrant pointer passed in when resetting the file
507 pointer to one of the std streams.
508
509 2007-03-15 Eric Blake <ebb9@byu.net>
510
511 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
512 (__smakebuf): Rename...
513 (__smakebuf_r): to this.
514 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
515 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
516 allocation, then rename...
517 (__smakebuf_r): ...to this and fix reentrancy.
518 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
519 allocation, then rename...
520 (__swsetup_r): ...to this and fix reentrancy.
521 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
522 * libc/stdio/refill.c (__srefill_r): Likewise.
523 * libc/stdio/fclose.c (_fclose_r): Likewise.
524 * libc/stdio/fread.c (_fread_r): Likewise.
525 * libc/stdio/freopen.c (_freopen_r): Likewise.
526 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
527 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
528 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
529 failed asprintf allocation, and fix reentrancy.
530 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
531 as required by POSIX.
532 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
533 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
534 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
535
536 2007-03-12 Eric Blake <ebb9@byu.net>
537
538 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
539 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
540 allocation to caller.
541 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
542 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
543 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
544
545 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
546
547 * libm/math/w_pow.c: Fix typo in documentation comment.
548
549 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
550
551 * libc/reent/timer.c: Removed (split into two new files).
552 * libc/reent/timesr.c: New file for _times_r.
553 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
554 * reent/Makefile.in: Remove timer.c, add timesr.c and
555 gettimeofdayr.c.
556 * libc/reent/Makefile.am: Regenerate.
557
558 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
559
560 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
561
562 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
563
564 * libc/machine/spu/Makefile.am: Add new objects.
565 * libc/machine/spu/Makefile.in: Regenerated.
566 * libc/machine/spu/fiprintf.c: New file. Add implementation of
567 integer-only version.
568 * libc/machine/spu/fiscanf.c: Ditto.
569 * libc/machine/spu/iprintf.c: Ditto.
570 * libc/machine/spu/iscanf.c: Ditto.
571 * libc/machine/spu/siprintf.c: Ditto.
572 * libc/machine/spu/siscanf.c: Ditto.
573 * libc/machine/spu/sniprintf.c: Ditto.
574 * libc/machine/spu/vfiprintf.c: Ditto.
575 * libc/machine/spu/vfiscanf.c: Ditto.
576 * libc/machine/spu/viprintf.c: Ditto.
577 * libc/machine/spu/viscanf.c: Ditto.
578 * libc/machine/spu/vsiprintf.c: Ditto.
579 * libc/machine/spu/vsiscanf.c: Ditto.
580 * libc/machine/spu/vsniprintf.c: Ditto.
581 * libc/machine/spu/fprintf.c: Add support for integer-only
582 version.
583 * libc/machine/spu/fscanf.c: Ditto.
584 * libc/machine/spu/printf.c: Ditto.
585 * libc/machine/spu/scanf.c: Ditto.
586 * libc/machine/spu/snprintf.c: Ditto.
587 * libc/machine/spu/sprintf.c: Ditto.
588 * libc/machine/spu/sscanf.c: Ditto.
589 * libc/machine/spu/vfprintf.c: Ditto.
590 * libc/machine/spu/vfscanf.c: Ditto.
591 * libc/machine/spu/vprintf.c: Ditto.
592 * libc/machine/spu/vscanf.c: Ditto.
593 * libc/machine/spu/vsnprintf.c: Ditto.
594 * libc/machine/spu/vsprintf.c: Ditto.
595 * libc/machine/spu/vsscanf.c: Ditto.
596
597 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
598
599 * libc/include/stdio.h: Add declaration for vsiprintf.
600
601 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
602
603 Add a floating point environment for SPU (cell):
604
605 * configure.host: add libm_machine_dir=spu.
606 * libm/machine/configure: Add spu.
607 * libm/machine/configure.in: regenerated with spu added.
608 * libc/machine/spu/include/fenv.h: New file.
609 * libc/machine/spu/sys/fenv.h: Ditto.
610 * libm/machine/spu/Makefile.am: Ditto.
611 * libm/machine/spu/Makefile.in: Ditto.
612 * libm/machine/spu/aclocal.m4: Ditto.
613 * libm/machine/spu/configure: Ditto.
614 * libm/machine/spu/configure.in: Ditto.
615 * libm/machine/spu/fe_dfl_env.c: Ditto.
616 * libm/machine/spu/feclearexcept.c: Ditto.
617 * libm/machine/spu/fegetenv.c: Ditto.
618 * libm/machine/spu/fegetexceptflag.c: Ditto.
619 * libm/machine/spu/fegetround.c: Ditto.
620 * libm/machine/spu/feholdexcept.c: Ditto.
621 * libm/machine/spu/feraiseexcept.c: Ditto.
622 * libm/machine/spu/fesetenv.c: Ditto.
623 * libm/machine/spu/fesetexceptflag.c: Ditto.
624 * libm/machine/spu/fesetround.c: Ditto.
625 * libm/machine/spu/fetestexcept.c: Ditto.
626 * libm/machine/spu/feupdateenv.c: Ditto.
627 * libm/machine/spu/headers/feclearexcept.h: Ditto.
628 * libm/machine/spu/headers/fefpscr.h: Ditto.
629 * libm/machine/spu/headers/fegetenv.h: Ditto.
630 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
631 * libm/machine/spu/headers/fegetround.h: Ditto.
632 * libm/machine/spu/headers/feholdexcept.h: Ditto.
633 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
634 * libm/machine/spu/headers/fesetenv.h: Ditto.
635 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
636 * libm/machine/spu/headers/fesetround.h: Ditto.
637 * libm/machine/spu/headers/fetestexcept.h: Ditto.
638 * libm/machine/spu/headers/feupdateenv.h: Ditto.
639
640 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
641
642 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
643 Cygwin.
644
645 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
646
647 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
648 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
649
650 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
651
652 * libc/include/sys/features.h: Add definition of all supported
653 _POSIX_xxx values for Cygwin.
654 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
655 on Cygwin.
656 (pthread_rwlockattr_t): Ditto.
657 * libc/include/sys/unistd.h: Define all _SC_xxx values as
658 required by SUSv3. Unify formatting.
659
660 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
661
662 * libc/include/sys/errno.h: Add ECANCELED.
663
664 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
665 Kazunori Asayama <asayama@sm.sony.co.jp>
666
667 * libc/machine/spu/Makefile.am: Add objects.
668 * libc/machine/spu/Makefile.in: Regenerated.
669 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
670 implementation.
671 * libc/machine/spu/snprintf.c: Ditto.
672 * libc/machine/spu/sprintf.c: Ditto.
673 * libc/machine/spu/sscanf.c: Ditto.
674 * libc/machine/spu/remove.c: Ditto.
675 * libc/machine/spu/rename.c: Ditto.
676 * libc/machine/spu/tmpnam.c: Ditto.
677 * libc/machine/spu/vsnprintf.c: Add initialization routine of
678 stdio stuffs.
679 * libc/machine/spu/vsprintf.c: Ditto.
680
681 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
682 Kazunori Asayama <asayama@sm.sony.co.jp>
683
684 * configure.host: Enable SPU specific stdio directory.
685 * libc/machine/spu/Makefile.am: Add objects.
686 * libc/machine/spu/Makefile.in: Regenerated.
687 * libc/machine/spu/c99ppe.h: Add macros and function
688 declarations to initialize SPU specific stdio stuffs.
689 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
690 specific FILE structures.
691 * libc/machine/spu/perror.c: Add initialization routine of
692 stdio stuffs.
693 * libc/machine/spu/printf.c: Ditto.
694 * libc/machine/spu/putchar.c: Ditto.
695 * libc/machine/spu/puts.c: Ditto.
696 * libc/machine/spu/vprintf.c: Ditto.
697 * libc/machine/spu/clearerr.c: New file. Add a stdio function
698 implementation.
699 * libc/machine/spu/feof.c: Ditto.
700 * libc/machine/spu/ferror.c: Ditto.
701 * libc/machine/spu/fileno.c: Ditto.
702 * libc/machine/spu/fopen.c: Ditto.
703 * libc/machine/spu/fclose.c: Ditto.
704 * libc/machine/spu/freopen.c: Ditto.
705 * libc/machine/spu/fflush.c: Ditto.
706 * libc/machine/spu/fseek.c: Ditto.
707 * libc/machine/spu/ftell.c: Ditto.
708 * libc/machine/spu/rewind.c: Ditto.
709 * libc/machine/spu/fgetpos.c: Ditto.
710 * libc/machine/spu/fsetpos.c: Ditto.
711 * libc/machine/spu/fread.c: Ditto.
712 * libc/machine/spu/fwrite.c: Ditto.
713 * libc/machine/spu/getc.c: Ditto.
714 * libc/machine/spu/getchar.c: Ditto.
715 * libc/machine/spu/gets.c: Ditto.
716 * libc/machine/spu/fgetc.c: Ditto.
717 * libc/machine/spu/fgets.c: Ditto.
718 * libc/machine/spu/ungetc.c: Ditto.
719 * libc/machine/spu/putc.c: Ditto.
720 * libc/machine/spu/fputc.c: Ditto.
721 * libc/machine/spu/fputs.c: Ditto.
722 * libc/machine/spu/vfprintf.c: Ditto.
723 * libc/machine/spu/vfscanf.c: Ditto.
724 * libc/machine/spu/fprintf.c: Ditto.
725 * libc/machine/spu/fscanf.c: Ditto.
726 * libc/machine/spu/scanf.c: Ditto.
727 * libc/machine/spu/vscanf.c: Ditto.
728 * libc/machine/spu/setbuf.c: Ditto.
729 * libc/machine/spu/setvbuf.c: Ditto.
730 * libc/machine/spu/tmpfile.c: Ditto.
731
732 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
733
734 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
735 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
736 around stdio macros that manipulate fields in the normal file
737 structure.
738 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
739 <sys/custom_file.h> to define custom FILE structure.
740 * libc/include/sys/custom_file.h: New default header file
741 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
742 * libc/machine/spu/sys/custom_file.h: New file.
743
744 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
745
746 * configure.host: Define stdio directory as a variable.
747 * libc/Makefile.am: Define stdio related names
748 as macros.
749 * libc/configure.in: Add detection routine of stdio directory.
750 * libc/Makefile.in: Regenerated.
751 * libc/configure: Ditto.
752 * libc/argz/Makefile.in: Ditto.
753 * libc/ctype/Makefile.in: Ditto.
754 * libc/errno/Makefile.in: Ditto.
755 * libc/iconv/Makefile.in: Ditto.
756 * libc/iconv/ccs/Makefile.in: Ditto.
757 * libc/iconv/ccs/binary/Makefile.in: Ditto.
758 * libc/iconv/ces/Makefile.in: Ditto.
759 * libc/iconv/lib/Makefile.in: Ditto.
760 * libc/locale/Makefile.in: Ditto.
761 * libc/misc/Makefile.in: Ditto.
762 * libc/posix/Makefile.in: Ditto.
763 * libc/reent/Makefile.in: Ditto.
764 * libc/search/Makefile.in: Ditto.
765 * libc/signal/Makefile.in: Ditto.
766 * libc/stdio/Makefile.in: Ditto.
767 * libc/stdio64/Makefile.in: Ditto.
768 * libc/stdlib/Makefile.in: Ditto.
769 * libc/string/Makefile.in: Ditto.
770 * libc/syscalls/Makefile.in: Ditto.
771 * libc/time/Makefile.in: Ditto.
772 * libc/unix/Makefile.in: Ditto.
773
774 2007-01-30 Ben Elliston <bje@au.ibm.com>
775
776 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
777 fmt member.
778 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
779 (printf): Pass fmt to va_start to suppress a warning.
780
781 * libc/search/hash.c (init_hash): Make `info' parameter const.
782
783 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
784
785 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
786 * libc/machine/spu/vec_literal.h: Ditto.
787 * libc/machine/spu/strncmp.c: Ditto.
788
789 2007-01-15 Joseph Myers <joseph@codesourcery.com>
790 Kazu Hirata <kazu@codesourcery.com>
791
792 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
793 for E500V1 and E500V2.
794
795 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
796
797 * libm/configure.in: Always configure machine directory.
798 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
799 unconditionally.
800 * libm/configure: Regenerated.
801 * libm/Makefile.in: Ditto.
802 * libm/*/Makefile.in: Ditto.
803
804 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
805
806 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
807
808 2007-01-02 Ben Elliston <bje@au.ibm.com>
809
810 * doc/makedoc.c: Include <stdlib.h>.
811 (malloc, realloc): Remove extern declarations.
812
813 2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
814
815 * NEWS: Update with 1.15.0 info.
816 * README: Ditto.
817 * acinclude.m4: Change version number to 1.15.0.
818 * aclocal.m4: Regenerated.
819 * configure: Ditto.
820 * doc/aclocal.m4: Ditto.
821 * doc/configure: Ditto.
822 * libc/*/aclocal.m4: Ditto.
823 * libc/*/configure: Ditto.
824 * libc/libc.texinfo: Ditto.
825 * libm/*/aclocal.m4: Ditto.
826 * libm/*/configure: Ditto.
827 * libm/libm.texinfo: Ditto.
828 * libc/sys/linux/shared.ld: Add VERS_1.15.
829
830 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
831
832 Merge from newlib-csl-20060320-branch:
833 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
834 Kazu Hirata <kazu@codesourcery.com>
835
836 * configure.host: Recognize fido.
837
838 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
839
840 * libc/machine/spu/c99ppe.h: New file
841 * libc/machine/spu/perror.c: New file to override libc/stdio version.
842 * libc/machine/spu/printf.c: New file
843 * libc/machine/spu/putchar.c: New file
844 * libc/machine/spu/puts.c: New file
845 * libc/machine/spu/vprintf.c: New file
846 * libc/machine/spu/vsnprintf.c: New file
847 * libc/machine/spu/vsprintf.c: New file
848 * libc/machine/spu/Makefile.am: Add new targets.
849 * libc/machine/spu/Makefile.in: Regenerated.
850
851 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
852
853 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
854 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
855
856 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
857
858 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
859 2.6.5 version of Doug Lea's malloc which is the basis of
860 this code.
861
862 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
863
864 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
865
866 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
867 Eric Blake <ebb9@byu.net>
868
869 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
870 read but unused data.
871 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
872 even read streams may have side effects that must happen.
873
874 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
875
876 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
877 correctly.
878
879 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
880
881 * libc/include/alloca.h: Add undef alloca to work with xlc.
882
883 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
884
885 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
886 cell spu.
887
888 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
889
890 * libc/machine/spu/strncpy.c: Add padding.
891
892 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
893
894 * testsuite/newlib.string/tstring.c:
895
896 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
897
898 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
899 * libc/machine/spu/strrchr.c: Ditto.
900
901 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
902
903 * libc/include/math.h: Allow C99 functions/macros to be
904 defined for C++ even when __STRICT_ANSI__.
905
906 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
907
908 * libc/stdio/makebuf.c (__smakebuf): If dealing with
909 an asprintf-family buffer, make the default initial size 64.
910
911 2006-11-29 Eric Blake <ebb9@byu.net>
912
913 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
914 asprintf, as well as quadratic realloc behavior.
915
916 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
917
918 * libc/machine/spu/memset.c: Fix type of explicit cast.
919 * libc/machine/spu/strncmp.c: Add explicit cast.
920 * libc/machine/spu/strrchr.c: Ditto.
921 * libc/machine/spu/strspn.c: Ditto.
922
923 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
924
925 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
926 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
927 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
928 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
929 * libc/machine/spu/strncat.c: Explicit cast.
930 * libc/machine/spu/strncmp.c: Use spu_splats.
931 * libc/machine/spu/strncpy.c: Explicit cast.
932 * libc/machine/spu/strrchr.c: Use spu_splats.
933 * libc/machine/spu/strspn.c: Use spu_splats.
934
935 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
936
937 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
938
939 2006-11-14 Eric Blake <ebb9@byu.net>
940
941 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
942 (chclass): ' is a flag. j, t, and z are modifiers.
943
944 2006-11-08 Jie Zhang <jie.zhang@analog.com>
945
946 * configure.host: Add support for bfin.
947 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
948 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
949 * libc/machine/bfin/aclocal.m4: Generate.
950 * libc/machine/bfin/configure.in: New.
951 * libc/machine/bfin/configure: Generate.
952 * libc/machine/bfin/Makefile.am: New.
953 * libc/machine/bfin/Makefile.in: Generate.
954 * libc/machine/bfin/setjmp.S: New.
955 * libc/machine/bfin/longjmp.S: New.
956 * libc/machine/configure.in: Add bfin support.
957 * libc/machine/configure: Generate.
958
959 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
960
961 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
962 (_PC_FILESIZEBITS): Add definition.
963 (_PC_2_SYMLINKS): Ditto.
964 (_PC_SYMLINK_MAX): Ditto.
965
966 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
967
968 * libc/machine/spu/memcpy.c: Override generic function with vectorized
969 version optimized for the cell spu.
970 * libc/machine/spu/memmove.c: Ditto.
971 * libc/machine/spu/memset.c: Ditto.
972 * libc/machine/spu/strcat.c: Ditto.
973 * libc/machine/spu/strchr.c: Ditto.
974 * libc/machine/spu/strcmp.c: Ditto.
975 * libc/machine/spu/strcpy.c: Ditto.
976 * libc/machine/spu/strcspn.c: Ditto.
977 * libc/machine/spu/strlen.c: Ditto.
978 * libc/machine/spu/strncat.c: Ditto.
979 * libc/machine/spu/strncmp.c: Ditto.
980 * libc/machine/spu/strncpy.c: Ditto.
981 * libc/machine/spu/strpbrk.c: Ditto.
982 * libc/machine/spu/strrchr.c: Ditto.
983 * libc/machine/spu/strspn.c: Ditto.
984 * libc/machine/spu/strxfrm.c: Ditto.
985 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
986 removing altivec style initializers.
987 * libc/machine/spu/Makefile.am: Add new files to list so they build
988 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
989
990 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
991
992 * README: Add a brief section on how to regenerate
993 configuration files in newlib.
994
995 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
996
997 * libc/include/math.h: (exception): Add a comment
998 telling fixincludes that we handle C vs. C++ issue.
999
1000 2006-10-11 Yang Tse <yangsita@gmail.com>
1001
1002 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1003 braced-groups.
1004
1005 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1006
1007 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1008
1009 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1010
1011 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1012 for clearerr, feof, or fileno.
1013 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1014 the dummy std stream scheme to use pointers to const external
1015 fake files, one for each standard stream.
1016 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1017 argument. For _REENT_SMALL, reset the file pointer if it
1018 matches one of the fake std stream pointers.
1019 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1020 argument.
1021 * libc/stdio/fclose.c: Ditto.
1022 * libc/stdio/feof.c: Ditto.
1023 * libc/stdio/ferror.c: Ditto.
1024 * libc/stdio/fflush.c: Ditto.
1025 * libc/stdio/fgetc.c: Ditto.
1026 * libc/stdio/fgets.c: Ditto.
1027 * libc/stdio/fileno.c: Ditto.
1028 * libc/stdio/findfp.c: Ditto.
1029 * libc/stdio/fputc.c: Ditto.
1030 * libc/stdio/fputs.c: Ditto.
1031 * libc/stdio/fread.c: Ditto.
1032 * libc/stdio/freopen.c: Ditto.
1033 * libc/stdio/fseek.c: Ditto.
1034 * libc/stdio/ftell.c: Ditto.
1035 * libc/stdio/fwrite.c: Ditto.
1036 * libc/stdio/getc.c: Ditto.
1037 * libc/stdio/getdelim.c: Ditto.
1038 * libc/stdio/putc.c: Ditto.
1039 * libc/stdio/refill.c: Ditto.
1040 * libc/stdio/setvbuf.c: Ditto.
1041 * libc/stdio/ungetc.c: Ditto.
1042 * libc/stdio/vfprintf.c: Ditto.
1043 * libc/stdio/vfscanf.c: Ditto.
1044 * libc/stdio/wbuf.c: Ditto.: Ditto.
1045 * libc/stdio/wsetup.c: Ditto.
1046 * libc/stdio64/freopen64.c: Ditto.
1047 * libc/stdio64/fseeko64.c: Ditto.
1048 * libc/stdio64/ftello64.c: Ditto.
1049 * libc/machine/powerpc/vfprintf.c: Ditto.
1050 * libc/machine/powerpc/vfscanf.c: Ditto.
1051
1052 2006-09-22 Paul Brook <paul@codesourcery.com>
1053
1054 * libc/include/sys/reent.h: Define and use __reent_assert.
1055
1056 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1057
1058 * libc/include/pthread.h: Add pthread barriers,
1059 rwlocks, and spinlocks. Change const to
1060 _CONST and prefix parameter names with
1061 an underscore.
1062 * libc/include/sys/types.h: Add id and attribute
1063 types for barriers, wrlocks, and spinlocks.
1064 * libc/include/sys/features.h: Enable barriers,
1065 wrlocks, and spinlocks for RTEMS.
1066
1067 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1068
1069 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1070 supposed to be writable.
1071 * libm/common/s_lib_ver.c: Ditto.
1072
1073 2006-09-12 Paul Brook <paul@codesourcery.com>
1074
1075 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1076
1077 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1078
1079
1080 * libc/machine/xstormy16/Makefile.am:
1081 Add $(lpfx) prefix to LIBADD objects.
1082 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1083 * libc/machine/xstormy16/Makefile.in: Regenerated.
1084
1085 2006-09-06 Eric Blake <ebb9@byu.net>
1086
1087 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1088 't', and 'z' modifiers.
1089
1090 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1091
1092 Merge from newlib-csl-20060320-branch:
1093 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1094
1095 * configure.host: Tell it we have _rename and _system when
1096 building m68k-unknown-elf.
1097
1098 2006-08-29 Paul Brook <paul@codesourcery.com>
1099
1100 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1101
1102 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1103
1104 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1105 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1106 This is needed to build all AVR and H8300 RTEMS multilib variants.
1107
1108 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1109
1110 * libc/machine/configure.in: Add configuration for SPU.
1111 * libc/machine/configure: Regenerated.
1112 * libc/machine/spu/memcpy.c: Include string.h.
1113
1114 2006-08-22 Eric Blake <ebb9@byu.net>
1115
1116 * libc/posix/popen.c (popen): Don't close output end of pipe in
1117 child if stdout was closed on entry.
1118 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1119
1120 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1121
1122 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1123 line.
1124
1125 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1126
1127 * libc/time/gmtime.c: Correct man page; clock is not a
1128 local time and no conversion occurs.
1129
1130 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1131
1132 * configure.host (newlib_cflags) [spu]: Add special compiler
1133 options to reduce size.
1134
1135 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1136
1137 * configure.host: Add spu support.
1138 * libc/include/stdint.h: Ditto.
1139 * libc/include/machine/ieeefp.h: Ditto.
1140 * libc/include/machine/setjmp.h: Ditto.
1141 * libc/include/sys/config.h: Ditto.
1142 * libc/include/sys/types.h: Ditto.
1143 * libc/machine/spu/Makefile.am: New file.
1144 * libc/machine/spu/Makefile.in: Ditto.
1145 * libc/machine/spu/aclocal.m4: Ditto.
1146 * libc/machine/spu/configure: Ditto.
1147 * libc/machine/spu/configure.in: Ditto.
1148 * libc/machine/spu/memcpy.c: Ditto.
1149 * libc/machine/spu/setjmp.S: Ditto.
1150
1151 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1152
1153 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1154 properly.
1155
1156 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1157
1158 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1159 generated .texi files.
1160 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1161 generated .texi files.
1162 * libc/Makefile.in: Regenerated.
1163 * libm/Makefile.in: Ditto.
1164
1165 2006-08-01 Thiemo Seufer <ths@mips.com>
1166 Nigel Stephens <nigel@mips.com>
1167
1168 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1169 define this to force _impure_ptr to live in the .sdata section.
1170
1171 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1172
1173 * acinclude.m4: Check for readelf tool.
1174 * configure.in: Use ${READELF} instead of hard-coding.
1175 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1176
1177 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1178
1179 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1180 to avoid conflict with newer glibc's revision of mremap.
1181
1182 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1183
1184 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1185 floating-point format support. Also redefine
1186 dword0 and dword1 macros.
1187 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1188 to prevent setting dword1 which is an rvalue only.
1189
1190 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1191
1192 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1193 * libc/stdlib/Makefile.in: Regenerated.
1194 * libc/stdlib/gd_qnan.h: New file.
1195 * libc/stdlib/gdtoa-gethex.c: Ditto.
1196 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1197 * libc/stdlib/gdtoa.h: Ditto.
1198 * libc/stdlib/mprec.c: Add new helper routines needed by
1199 the new gdtoa code.
1200 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1201 used by gdtoa routines here.
1202 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1203 which adds C99 support such as nan, inf, and hexadecimal input
1204 format.
1205
1206 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1207
1208 * libc/include/stdio.h (__sgetc_r): Fix typo.
1209 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1210 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1211 * libc/stdio/wbuf.c (__swbuf): Ditto.
1212
1213 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1214
1215 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1216 read/write functions. Change getc/putc macros to have reentrant underlying
1217 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1218 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1219 new reentrant I/O functions/macros for reading/writing.
1220 * libc/stdio/fgets.c: Ditto.
1221 * libc/stdio/fputc.c: Ditto.
1222 * libc/stdio/fputs.c: Ditto.
1223 * libc/stdio/fread.c: Ditto.
1224 * libc/stdio/fseek.c: Ditto.
1225 * libc/stdio64/fseeko64.c: Ditto.
1226 * libc/stdio/fwrite.c: Ditto.
1227 * libc/stdio/getc.c: Ditto.
1228 * libc/stdio/getc_u.c: Ditto.
1229 * libc/stdio/getchar.c: Ditto.
1230 * libc/stdio/getchar_u.c: Ditto.
1231 * libc/stdio/putc.c: Ditto.
1232 * libc/stdio/putc_u.c: Ditto.
1233 * libc/stdio/putchar.c: Ditto.
1234 * libc/stdio/puts.c: Ditto.
1235 * libc/stdio/vfprintf.c: Ditto.
1236 * libc/stdio/vfscanf.c: Ditto.
1237 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1238 Change all previous callers of __sfvwrite. Set errno to EBADF and
1239 set error flag on if attempt is made to write to file that does not
1240 allow writing.
1241 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1242 * libc/stdio/local.h: Ditto.
1243 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1244 Set errno to EBADF and the error flag on if attempt is made to
1245 read unreadable file. Change all previous callers of __srefill.
1246 * libc/stdio/rget.c
1247 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1248 all previous callers of __swbuf.
1249 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1250 huge value macros are already defined correctly for i386 by <math.h>.
1251
1252 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1253
1254 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1255 Make them do something useful in the ARM_RDI_MONITOR case.
1256
1257 2006-06-07 Fred Fish <fnf@specifix.com>
1258
1259 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1260 defines that are already supplied by <sys/param.h>.
1261
1262 2006-06-07 Fred Fish <fnf@specifix.com>
1263
1264 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1265
1266 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1267
1268 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1269 usleep.c.
1270 * libc/posix/Makefile.in: Regenerate.
1271 * libc/posix/sleep.c: New file.
1272 * libc/posix/usleep.c: Ditto.
1273
1274 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1275
1276 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1277 -DABORT_PROVIDED flag.
1278 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1279 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1280
1281 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1282
1283 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1284 * Makefile.in: Regenerated.
1285 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1286 extraneous CFLAGS reference now that CCASFLAGS are being extended
1287 properly via multilib.
1288 * libc/machine/sh/Makefile.in: Regenerated.
1289
1290 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1291
1292 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1293 sigismember.
1294
1295 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1296
1297 * libc/misc/dprintf.c: Removed.
1298 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1299 * libc/misc/Makefile.am: Changed appropriately for rename.
1300 * libc/misc/Makefile.in: Regenerated.
1301
1302 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1303
1304 * libc/include/stdio.h: Protect dprintf prototype
1305 with #ifndef dprintf so as to not interfere with
1306 historical code defining their own dprintf macro.
1307
1308 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1309
1310 * libc/include/stdio.h: Add prototypes for fiscanf,
1311 iscanf, and siscanf.
1312
1313 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1314
1315 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1316 (DEF_NEWLIB_VERSION).
1317 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1318 * configure: Regenerate.
1319
1320 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1321
1322 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1323 lib_a_SOURCES.
1324 * libc/ctype/Makefile.in: Regenerated.
1325
1326 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1327
1328 * libc/machine/arm/Makefile.am: Fix a typo.
1329 * libc/machine/arm/Makefile.in: Regenerated.
1330
1331 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1332
1333 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1334 * libc/machine/sh/Makefile.in: Regenerate.
1335
1336 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1337
1338 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1339 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1340
1341 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1342
1343 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1344 .s.
1345 * libc/sys/sysnec810/Makefile.in: Regenerated.
1346 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1347 * libc/sys/sysnec810/io.S: Ditto.
1348 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1349 * libc/sys/sysnec810/io.s: Ditto.
1350
1351 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1352
1353 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1354 be specified instead of object, do so.
1355 * libc/ctype/Makefile.am: Ditto.
1356 * libc/iconv/ccs/Makefile.am: Ditto.
1357 * libc/iconv/ces/Makefile.am: Ditto.
1358 * libc/iconv/lib/Makefile.am: Ditto.
1359 * libc/locale/Makefile.am: Ditto.
1360 * libc/posix/Makefile.am: Ditto.
1361 * libc/reent/Makefile.am: Ditto.
1362 * libc/search/Makefile.am: Ditto.
1363 * libc/stdio/Makefile.am: Ditto.
1364 * libc/stdio64/Makefile.am: Ditto.
1365 * libc/stdlib/Makefile.am: Ditto.
1366 * libc/string/Makefile.am: Ditto.
1367 * libc/syscalls/Makefile.am: Ditto.
1368 * libc/unix/Makefile.am: Ditto.
1369 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
1370 prefix added automatically. Any specified rules must use $(lpfx) for
1371 object file names.
1372 * libc/machine/arm/Makefile.am: Ditto.
1373 * libc/machine/cris/Makefile.am: Ditto.
1374 * libc/machine/crx/Makefile.am: Ditto.
1375 * libc/machine/d10v/Makefile.am: Ditto.
1376 * libc/machine/d30v/Makefile.am: Ditto.
1377 * libc/machine/fr30/Makefile.am: Ditto.
1378 * libc/machine/frv/Makefile.am: Ditto.
1379 * libc/machine/h8300/Makefile.am: Ditto.
1380 * libc/machine/h8500/Makefile.am: Ditto.
1381 * libc/machine/hppa/Makefile.am: Ditto.
1382 * libc/machine/i386/Makefile.am: Ditto.
1383 * libc/machine/i960/Makefile.am: Ditto.
1384 * libc/machine/iq2000/Makefile.am: Ditto.
1385 * libc/machine/m32c/Makefile.am: Ditto.
1386 * libc/machine/m32r/Makefile.am: Ditto.
1387 * libc/machine/m68hc11/Makefile.am: Ditto.
1388 * libc/machine/m68k/Makefile.am: Ditto.
1389 * libc/machine/m88k/Makefile.am: Ditto.
1390 * libc/machine/mips/Makefile.am: Ditto.
1391 * libc/machine/mn10200/Makefile.am: Ditto.
1392 * libc/machine/mn10300/Makefile.am: Ditto.
1393 * libc/machine/mt/Makefile.am: Ditto.
1394 * libc/machine/necv70/Makefile.am: Ditto.
1395 * libc/machine/powerpc/Makefile.am: Ditto.
1396 * libc/machine/sh/Makefile.am: Ditto.
1397 * libc/machine/sh/Makefile.in: Ditto.
1398 * libc/machine/sparc/Makefile.am: Ditto.
1399 * libc/machine/tic4x/Makefile.am: Ditto.
1400 * libc/machine/tic80/Makefile.am: Ditto.
1401 * libc/machine/v850/Makefile.am: Ditto.
1402 * libc/machine/w65/Makefile.am: Ditto.
1403 * libc/machine/xscale/Makefile.am: Ditto.
1404 * libc/machine/xstormy16/Makefile.am: Ditto.
1405 * libc/machine/z8k/Makefile.am: Ditto.
1406 * libc/sys/a29khif/Makefile.am: Ditto.
1407 * libc/sys/arm/Makefile.am: Ditto.
1408 * libc/sys/d10v/Makefile.am: Ditto.
1409 * libc/sys/h8300hms/Makefile.am: Ditto.
1410 * libc/sys/h8500hms/Makefile.am: Ditto.
1411 * libc/sys/linux/Makefile.am: Ditto.
1412 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1413 * libc/sys/linux/net/Makefile.am: Ditto.
1414 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1415 * libc/sys/m88kbug/Makefile.am: Ditto.
1416 * libc/sys/mmixware/Makefile.am: Ditto.
1417 * libc/sys/rdos/Makefile.am: Ditto.
1418 * libc/sys/rtems/Makefile.am: Ditto.
1419 * libc/sys/sh/Makefile.am: Ditto.
1420 * libc/sys/sun4/Makefile.am: Ditto.
1421 * libc/sys/sysmec/Makefile.am: Ditto.
1422 * libc/sys/sysnec810/Makefile.am: Ditto.
1423 * libc/sys/sysnecv850/Makefile.am: Ditto.
1424 * libc/sys/sysvi386/Makefile.am: Ditto.
1425 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1426 * libc/sys/tic80/Makefile.am: Ditto.
1427 * libc/sys/w65/Makefile.am: Ditto.
1428 * libc/sys/z8ksim/Makefile.am: Ditto.
1429 * libc/machine/necv70/fastmath.S: Renamed from .s file.
1430 * libc/machine/necv70/setjmp.S: Ditto.
1431 * libc/machine/necv70/fastmath.s: Removed.
1432 * libc/machine/necv70/setjmp.s: Ditto.
1433 * libc/machine/w65/*.S: New files renamed from .s files.
1434 * libc/machine/w65/*.s: Renamed and removed.
1435 * libc/sys/a29khif/*.S: New files renamed from .s files.
1436 * libc/sys/a29khif/*.s: Renamed and removed.
1437 * libc/sys/sysvi386/*.S: New files renamed from .s files.
1438 * libc/sys/sysvi386/*.s: Renamed and removed.
1439 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
1440 * libc/sys/sysvnecv70/*.s: Renamed and removed.
1441 * libc/*Makefile.in: Regenerated as appropriate.
1442
1443 2006-04-24 DJ Delorie <dj@redhat.com>
1444
1445 * libc/machine/sh/configure.in: Avoid link tests.
1446 * libc/machine/sh/configure: Regenerate.
1447
1448 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
1449
1450 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
1451 (sigaddset, sigemptyset): Add return code.
1452
1453 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
1454
1455 * acinclude.m4: New _NEWLIB_VERSION.
1456 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
1457 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
1458 Use new form of AC_INIT_AUTOMAKE.
1459 * configure.in: AC_PREREQ(2.59).
1460 Use autoconf-2.5.x version of AC_INIT.
1461 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
1462 autoconf-2.13's AC_OUTPUT.
1463 * libm/configure.in: Ditto.
1464 * libm/machine/configure.in: Ditto.
1465 * libm/machine/i386/configure.in: Ditto.
1466 * libc/configure.in: Ditto.
1467 * libc/machine/a29k/configure.in: Ditto.
1468 * libc/machine/arm/configure.in: Ditto.
1469 * libc/machine/configure.in: Ditto.
1470 * libc/machine/mn10300/configure.in: Ditto.
1471 * libc/machine/powerpc/configure.in: Ditto.
1472 * libc/machine/z8k/configure.in: Ditto.
1473 * libc/machine/h8300/configure.in: Ditto.
1474 * libc/machine/mips/configure.in: Ditto.
1475 * libc/machine/crx/configure.in: Ditto.
1476 * libc/machine/m68hc11/configure.in: Ditto.
1477 * libc/machine/h8500/configure.in: Ditto.
1478 * libc/machine/xscale/configure.in: Ditto.
1479 * libc/machine/d10v/configure.in: Ditto.
1480 * libc/machine/fr30/configure.in: Ditto.
1481 * libc/machine/sh/configure.in: Ditto.
1482 * libc/machine/tic80/configure.in: Ditto.
1483 * libc/machine/m32r/configure.in: Ditto.
1484 * libc/machine/xstormy16/configure.in: Ditto.
1485 * libc/machine/i386/configure.in: Ditto.
1486 * libc/machine/d30v/configure.in: Ditto.
1487 * libc/machine/mn10200/configure.in: Ditto.
1488 * libc/machine/frv/configure.in: Ditto.
1489 * libc/machine/mt/configure.in: Ditto.
1490 * libc/machine/i960/configure.in: Ditto.
1491 * libc/machine/v850/configure.in: Ditto.
1492 * libc/machine/necv70/configure.in: Ditto.
1493 * libc/machine/tic4x/configure.in: Ditto.
1494 * libc/machine/cris/configure.in: Ditto.
1495 * libc/machine/m68k/configure.in: Ditto.
1496 * libc/machine/m32c/configure.in: Ditto.
1497 * libc/machine/hppa/configure.in: Ditto.
1498 * libc/machine/w65/configure.in: Ditto.
1499 * libc/machine/iq2000/configure.in: Ditto.
1500 * libc/machine/sparc/configure.in: Ditto.
1501 * libc/machine/m88k/configure.in: Ditto.
1502 * libc/sys/linux/configure.in: Ditto.
1503 * libc/sys/linux/machine/configure.in: Ditto.
1504 * libc/sys/linux/machine/i386/configure.in: Ditto.
1505 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1506 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1507 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1508 * libc/sys/arm/configure.in: Ditto.
1509 * libc/sys/configure.in: Ditto.
1510 * libc/sys/decstation/configure.in: Ditto.
1511 * libc/sys/a29khif/configure.in: Ditto.
1512 * libc/sys/sysnecv850/configure.in: Ditto.
1513 * libc/sys/d10v/configure.in: Ditto.
1514 * libc/sys/netware/configure.in: Ditto.
1515 * libc/sys/mmixware/configure.in: Ditto.
1516 * libc/sys/h8500hms/configure.in: Ditto.
1517 * libc/sys/sh/configure.in: Ditto.
1518 * libc/sys/tic80/configure.in: Ditto.
1519 * libc/sys/rdos/configure.in: Ditto.
1520 * libc/sys/sysmec/configure.in: Ditto.
1521 * libc/sys/sysvi386/configure.in: Ditto.
1522 * libc/sys/h8300hms/configure.in: Ditto.
1523 * libc/sys/sparc64/configure.in: Ditto.
1524 * libc/sys/arc/configure.in: Ditto.
1525 * libc/sys/sysnec810/configure.in: Ditto.
1526 * libc/sys/m88kbug/configure.in: Ditto.
1527 * libc/sys/sysvnecv70/configure.in: Ditto.
1528 * libc/sys/z8ksim/configure.in: Ditto.
1529 * libc/sys/rtems/configure.in: Ditto.
1530 * libc/sys/w65/configure.in: Ditto.
1531 * libc/sys/sun4/configure.in: Ditto.
1532 * doc/configure.in: Ditto.
1533 * iconvdata/configure.in: Ditto.
1534 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
1535
1536 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
1537
1538 * acinclude.m4: Properly add square brackets for
1539 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
1540 macros no longer available. Add LIB_AM_PROG_AS to
1541 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
1542 macro. Substitute lpfx (library object prefix).
1543 * configure.host: Set lpfx depending on whether
1544 libtool is used or not.
1545 * configure.in: Individually specify libc and libm
1546 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
1547 necessary.
1548 * Makefile.am: Use $(lpfx) to get object names for
1549 math-library functions that should also be in libc.
1550 * libc/machine/configure.in: Use case statement to determine
1551 AC_CONFIG_SUBDIRS statement.
1552 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1553 * libc/sys/linux/machine/configure.in: Ditto.
1554 * libc/sys/configure.in: Ditto.
1555 * libm/machine/configure.in: Ditto.
1556 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
1557 * libm/configure.in: Add AM_CONDITIONAL statement
1558 for HAVE_LIBM_MACHINE_DIR.
1559 * libc/machine/a29k/Makefile.am: Modified to work with
1560 latest automake. Change includes setting AM_CCASFLAGS
1561 so building .S files will properly pick up flags used
1562 to build C files.
1563 * libc/machine/arm/Makefile.am: Ditto.
1564 * libc/machine/crx/Makefile.am: Ditto.
1565 * libc/machine/d10v/Makefile.am: Ditto.
1566 * libc/machine/d30v/Makefile.am: Ditto.
1567 * libc/machine/fr30/Makefile.am: Ditto.
1568 * libc/machine/frv/Makefile.am: Ditto.
1569 * libc/machine/h8300/Makefile.am: Ditto.
1570 * libc/machine/h8500/Makefile.am: Ditto.
1571 * libc/machine/hppa/Makefile.am: Ditto.
1572 * libc/machine/i386/Makefile.am: Ditto.
1573 * libc/machine/iq2000/Makefile.am: Ditto.
1574 * libc/machine/m32c/Makefile.am: Ditto.
1575 * libc/machine/m32r/Makefile.am: Ditto.
1576 * libc/machine/m68hc11/Makefile.am: Ditto.
1577 * libc/machine/m68k/Makefile.am: Ditto.
1578 * libc/machine/m88k/Makefile.am: Ditto.
1579 * libc/machine/mips/Makefile.am: Ditto.
1580 * libc/machine/mn10200/Makefile.am: Ditto.
1581 * libc/machine/mn10300/Makefile.am: Ditto.
1582 * libc/machine/mt/Makefile.am: Ditto.
1583 * libc/machine/necv70/Makefile.am: Ditto.
1584 * libc/machine/powerpc/Makefile.am: Ditto.
1585 * libc/machine/sh/Makefile.am: Ditto.
1586 * libc/machine/sparc/Makefile.am: Ditto.
1587 * libc/machine/tic4x/Makefile.am: Ditto.
1588 * libc/machine/tic80/Makefile.am: Ditto.
1589 * libc/machine/v850/Makefile.am: Ditto.
1590 * libc/machine/w65/Makefile.am: Ditto.
1591 * libc/machine/xscale/Makefile.am: Ditto.
1592 * libc/machine/xstormy16/Makefile.am: Ditto.
1593 * libc/machine/z8k/Makefile.am: Ditto.
1594 * libc/sys/a29khif/Makefile.am: Ditto.
1595 * libc/sys/arc/Makefile.am: Ditto.
1596 * libc/sys/arm/Makefile.am: Ditto.
1597 * libc/sys/d10v/Makefile.am: Ditto.
1598 * libc/sys/decstation/Makefile.am: Ditto.
1599 * libc/sys/h8300hms/Makefile.am: Ditto.
1600 * libc/sys/h8500hms/Makefile.am: Ditto.
1601 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1602 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1603 * libc/sys/m88kbug/Makefile.am: Ditto.
1604 * libc/sys/mmixware/Makefile.am: Ditto.
1605 * libc/sys/netware/Makefile.am: Ditto.
1606 * libc/sys/rdos/Makefile.am: Ditto.
1607 * libc/sys/rtems/Makefile.am: Ditto.
1608 * libc/sys/sh/Makefile.am: Ditto.
1609 * libc/sys/sparc64/Makefile.am: Ditto.
1610 * libc/sys/sysmec/Makefile.am: Ditto.
1611 * libc/sys/sysnec810/Makefile.am: Ditto.
1612 * libc/sys/sysnecv850/Makefile.am: Ditto.
1613 * libc/sys/sysvi386/Makefile.am: Ditto.
1614 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1615 * libc/sys/tic80/Makefile.am: Ditto.
1616 * libc/sys/w65/Makefile.am: Ditto.
1617 * libc/sys/z8ksim/Makefile.am: Ditto.
1618 * libm/machine/i386/Makefile.am: Ditto.
1619 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
1620 trap.S so that automake will generate a .S.o suffix rule.
1621 * libc/argz/Makefile.am: Modified to work with
1622 latest automake. Change includes adding lib_a_CFLAGS
1623 so automake doesn't complain about libtool and non-libtool
1624 libraries sharing objects.
1625 * libc/ctype/Makefile.am: Ditto.
1626 * libc/errno/Makefile.am: Ditto.
1627 * libc/iconv/ccs/Makefile.am: Ditto.
1628 * libc/iconv/ces/Makefile.am: Ditto.
1629 * libc/iconv/lib/Makefile.am: Ditto.
1630 * libc/locale/Makefile.am: Ditto.
1631 * libc/misc/Makefile.am: Ditto.
1632 * libc/posix/Makefile.am: Ditto.
1633 * libc/reent/Makefile.am: Ditto.
1634 * libc/search/Makefile.am: Ditto.
1635 * libc/signal/Makefile.am: Ditto.
1636 * libc/stdio/Makefile.am: Ditto.
1637 * libc/stdio64/Makefile.am: Ditto.
1638 * libc/stdlib/Makefile.am: Ditto.
1639 * libc/string/Makefile.am: Ditto.
1640 * libc/sys/linux/Makefile.am: Ditto.
1641 * libc/sys/linux/argp/Makefile.am: Ditto.
1642 * libc/sys/linux/cmath/Makefile.am: Ditto.
1643 * libc/sys/linux/dl/Makefile.am: Ditto.
1644 * libc/sys/linux/iconv/Makefile.am: Ditto.
1645 * libc/sys/linux/intl/Makefile.am: Ditto.
1646 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1647 * libc/sys/linux/net/Makefile.am: Ditto.
1648 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1649 * libc/syscalls/Makefile.am: Ditto.
1650 * libc/time/Makefile.am: Ditto.
1651 * libc/unix/Makefile.am: Ditto.
1652 * libm/Makefile.am: Ditto.
1653 * libm/common/Makefile.am: Ditto.
1654 * libm/math/Makefile.am: Ditto.
1655 * libm/mathfp/Makefile.am: Ditto.
1656 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1657
1658 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
1659
1660 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
1661 anymore. Assume there is a gettimeofday syscall.
1662
1663 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1664
1665 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
1666 for the declaration of n_long.
1667
1668 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1669
1670 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
1671 struct sockaddr.
1672 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
1673 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
1674 (IFF_NOTRAILERS): New define.
1675 (struct ifreq): Add ifru_netmask.
1676 (ifr_netmask): New define.
1677
1678 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1679
1680 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
1681 match sys/ioctl.h.
1682
1683 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1684
1685 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
1686 linux-newlib libc implementations.
1687
1688 2006-03-29 Eric Blake <ebb9@byu.net>
1689
1690 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
1691 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
1692
1693 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1694
1695 * libc/sys/linux/io.c (__mknod): Fix declaration of
1696 syscall to pass a dev_t as third argument rather than
1697 a pointer to dev_t.
1698
1699 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1700
1701 * libc/sys/linux/net/name6.c: Fix struct references.
1702
1703 2006-03-22 Mark Mitchell <mark@codesourcery.com>
1704
1705 * configure.host: Allow hosts to set the default
1706 newlib_atexit_dynamic_alloc value.
1707 * configure.in: Likewise.
1708 * configure: Regenerated.
1709
1710 2006-03-20 Mark Mitchell <mark@codesourcery.com>
1711
1712 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
1713 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
1714 option.
1715 * configure: Regenerated.
1716 * newlib.hin: Regenerated.
1717 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
1718 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1719 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
1720 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1721
1722 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
1723
1724 * libc/sys/linux/linuxthreads/config.h: Remove definition
1725 of UINT32_C.
1726
1727 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
1728
1729 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
1730 for a string I/O file that isn't using the asprintf family.
1731
1732 2006-03-07 Eric Blake <ebb9@byu.net>
1733
1734 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
1735 filename, allow read-only or write-only FILE atop O_RDWR file
1736 descriptor.
1737 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
1738
1739 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
1740
1741 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
1742 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
1743
1744 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
1745
1746 * libm/math/math.tex: Fix reference to sisnan.def which
1747 is now in common subdirectory.
1748 * libm/mathfp/mathfp.tex: Ditto.
1749
1750 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
1751
1752 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
1753 s_isnand, and sf_isnanf object files.
1754 * Makefile.in: Regenerated.
1755 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
1756 conflict if <math.h> has previously been included.
1757 * libc/include/math.h
1758 * libc/include/math.h: Make isnan and isinf macros to
1759 conform to C99.
1760 (__isinfd, __isinff, __isnand, __isnanf): New functions.
1761 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
1762 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
1763 sf_isinf files which have been moved from math/mathfp directories.
1764 * libm/common/Makefile.in: Regenerated.
1765 * libm/common/s_isinfd.c: New file.
1766 * libm/common/s_isnand.c: Ditto.
1767 * libm/common/sf_isinff.c: Ditto.
1768 * libm/common/sf_isnanf.c: Ditto.
1769 * libm/common/s_isinf.c: Moved from libm/math directory.
1770 * libm/common/s_isnan.c: Ditto.
1771 * libm/common/sf_isinf.c: Ditto.
1772 * libm/common/sf_isnan.c: Ditto.
1773 * libm/math/Makefile.am: Remove isinf and isnan family functions
1774 which have been moved into common directory.
1775 * libm/mathfp/Makefile.am: Ditto.
1776 * libm/math/Makefile.in: Regenerated.
1777 * libm/mathfp/Makefile.in: Ditto.
1778 * libm/math/s_isinf.c: Removed.
1779 * libm/math/s_isnan.c: Ditto.
1780 * libm/math/sf_isinf.c: Ditto.
1781 * libm/math/sf_isnan.c: Ditto.
1782 * libm/mathfp/s_isinf.c: Ditto.
1783 * libm/mathfp/s_isnan.c: Ditto.
1784 * libm/mathfp/sf_isinf.c: Ditto.
1785 * libm/mathfp/sf_isnan.c: Ditto.
1786
1787 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
1788
1789 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
1790 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
1791 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
1792 seek, turn off the __SNPT no-optimization flag.
1793
1794 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
1795
1796 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
1797 will be defined.
1798 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
1799 <features.h> to preset special flags.
1800
1801 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
1802
1803 * libc/include/sys/time.h (struct timeval): Change member types
1804 according to SUSv3.
1805 * libc/include/sys/types.h (useconds_t): Change to unsigned
1806 according to SUSv3.
1807 (suseconds_t): Define type.
1808
1809 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
1810 David Carne <davidcarne@gmail.com>
1811
1812 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
1813 instead of strlen to determine number of bytes to copy.
1814 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
1815 before looking at storage location.
1816
1817 2006-02-07 Paul Brook <paul@codesourcery.com>
1818
1819 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
1820 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
1821 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
1822 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
1823 * libc/sys/arm/trap.S: Disable for Thumb-2.
1824
1825 2006-01-31 Leif Ekblad <leif@rdos.net>
1826
1827 * configure.host: RDOS support added
1828 * libc/include/sys/config.h: Ditto.
1829 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
1830 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
1831 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
1832 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
1833 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
1834 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
1835 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
1836 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
1837 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
1838 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
1839 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
1840 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
1841 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
1842 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
1843 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
1844 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
1845 * libc/sys/rdos/write.c: Ditto.
1846
1847 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
1848
1849 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
1850 so as not to define PACKAGE and VERSION in newlib.h.
1851 * aclocal.m4: Regenerated.
1852 * configure: Ditto.
1853 * newlib.hin: Ditto.
1854
1855 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
1856
1857 * acconfig.h: New file to generate newlib.hin from.
1858 * newlib.hin: Regenerated.
1859 * stamp-h.in: Regenerated.
1860 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
1861 called automatically.
1862 * Makefile.in: Regenerated.
1863 * acinclude.m4: Add proper comment for hack in previous change.
1864 * aclocal.m4 */aclocal.m4: Regenerated.
1865 * configure */configure: Regenerated.
1866
1867 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
1868
1869 * acinclude.m4: Add hack to prevent INSTALL in subdirs
1870 from being set to "../".
1871 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
1872 * aclocal.m4: Regenerated.
1873 * configure: Ditto.
1874 * Makefile.in: Ditto.
1875 * doc/aclocal.m4: Ditto.
1876 * doc/configure: Ditto.
1877 * iconvdata/aclocal.m4: Ditto.
1878 * iconvdata/configure: Ditto.
1879 * libc/*/aclocal.m4: Ditto.
1880 * libc/*/configure: Ditto.
1881 * libc/libc.texinfo: Ditto.
1882 * libm/*/aclocal.m4: Ditto.
1883 * libm/*/configure: Ditto.
1884
1885 2006-01-10 Eric Blake <ebb9@byu.net>
1886
1887 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
1888 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1889
1890 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
1891
1892 * libm/mathfp/s_frexp.c: Check for special values on
1893 the original input, not the manipulated output value.
1894 * libm/mathfp/sf_frexp.c: Ditto.
1895 * libm/mathfp/s_atangent.c: Don't use local value branch
1896 when checking for quadrant.
1897 * libm/mathfp/sf_atangent.c: Ditto.
1898
1899 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
1900
1901 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
1902 * libc/stdio64/freopen64.c: Ditto.
1903
1904 2006-01-09 Eric Blake <ebb9@byu.net>
1905
1906 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
1907 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1908
1909 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
1910
1911 * libc/sys/linux/include/getopt.h: Add macros needed by
1912 new version of getopt.c in libc/stdlib.
1913
1914 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
1915
1916 * libc/stdlib/getopt.c: Replaced with version
1917 that adds getopt_long and getopt_long_only support.
1918 * libc/include/getopt.h: New file.
1919
1920 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1921
1922 * NEWS: Update with 1.14.0 info.
1923 * README: Ditto.
1924 * acinclude.m4: Change version number to 1.14.0.
1925 * aclocal.m4: Regenerated.
1926 * configure: Ditto.
1927 * doc/aclocal.m4: Ditto.
1928 * doc/configure: Ditto.
1929 * libc/*/aclocal.m4: Ditto.
1930 * libc/*/configure: Ditto.
1931 * libc/libc.texinfo: Ditto.
1932 * libm/*/aclocal.m4: Ditto.
1933 * libm/*/configure: Ditto.
1934 * libm/libm.texinfo: Ditto.
1935 * libc/sys/linux/shared.ld: Add VERS_1.14.
1936
1937 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1938
1939 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
1940 take a pointer to struct stat64 rather than struct stat.
1941
1942 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
1943
1944 * libc/include/stdint.h: Prefer long over int for int32_t.
1945 Use __have_long32 to set up int32_t.
1946 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
1947 (Sync with stdint.h).
1948
1949 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
1950
1951 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
1952 typo in O_NDELAY comment.
1953
1954 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
1955
1956 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
1957 * libc/include/machine/setjmp.h (__mt__): Likewise.
1958 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
1959 * libc/machine/configure.in: Ditto.
1960
1961 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
1962
1963 * configure.host: Replace ms1 arch with mt arch.
1964 * libc/machine/mt: Renamed from ms1 dir.
1965
1966 2005-12-08 Shaun Jackman <sjackman@gmail.com>
1967
1968 * libc/include/sys/types.h: Remove the ifdef armour around
1969 standard POSIX types.
1970
1971 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1972
1973 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
1974 rtems_gxx_key_delete, rtems_gxx_getspecific,
1975 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
1976 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
1977 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
1978
1979 2005-12-05 Christopher Faylor <cgf@timesys.com>
1980
1981 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
1982 file. Declare unsetenv and _unsetenv_r when not cygwin.
1983
1984 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
1985
1986 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
1987 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
1988
1989 2005-11-18 Christopher Faylor <cgf@timesys.com>
1990
1991 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
1992
1993 2005-11-18 Christopher Faylor <cgf@timesys.com>
1994
1995 * include/time.h: Remove more cygwin-specific stuff.
1996
1997 2005-11-18 Christopher Faylor <cgf@timesys.com>
1998
1999 * include/time.h: Move cygwin declarations to cygwin-specific header.
2000 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2001
2002 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2003
2004 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2005 in libc/sys/linux/include.
2006 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2007 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2008 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2009 in libc/sys/linux/dl.
2010
2011 2005-11-11 Christopher Faylor <cgf@timesys.com>
2012
2013 * libc/include/sys/time.h: For cygwin, use general header rather than
2014 specific "sys/select.h".
2015
2016 2005-11-08 Tom Walsh <tom@openhardware.net>
2017
2018 * libc/time/tzvars.c: New file.
2019 * libc/time/tzset_r.c: Moved globals into tzvars.c
2020 so other time functions needn't link in __tzset_r and its
2021 dependencies.
2022 * libc/time/Makefile.am: Add the new file.
2023 * libc/time/Makefile.in: Regenerated.
2024
2025 2005-11-08 Christopher Faylor <cgf@timesys.com>
2026
2027 * libc/include/string.h: Add cygwin-specific function declaration.
2028
2029 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2030
2031 * libc/include/ieeefp.h: Add C++ guards.
2032
2033 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2034
2035 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2036 * libc/unix/getlogin.c: Ditto.
2037 * libc/unix/getpass.c: Ditto.
2038 * libc/unix/getut.c: Ditto.
2039 * libc/unix/ttyname.c: Ditto.
2040
2041 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2042
2043 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2044 prototypes by default.
2045 * libc/sys/linux/include/unistd.h (readlink): Remove this
2046 prototype.
2047 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2048 prototypes.
2049
2050 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2051
2052 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2053
2054 2005-10-31 Darin Johnson <darin@usa.net>
2055
2056 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2057 correct for constants.
2058
2059 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2060
2061 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2062 * libc/stdio/siscanf.c: Likewise.
2063 * libc/stdio/sprintf.c: Likewise.
2064 * libc/stdio/sscanf.c: Likewise.
2065 * libc/stdio/vfprintf.c: Likewise.
2066 * libc/stdio/vfscanf.c: Likewise.
2067 * libc/stdio/viprintf.c: Likewise.
2068 * libc/stdio/viscanf.c: Likewise.
2069
2070 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2071
2072 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2073 example to use "_end" symbol instead of "end". Change write example
2074 to use "outbyte" instead of "writechar".
2075
2076 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2077
2078 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2079 * libc/ctype/islower.c: Likewise.
2080 * libc/ctype/isupper.c: Likewise.
2081 * libc/ctype/iswalnum.c: Likewise.
2082 * libc/ctype/iswalpha.c: Likewise.
2083 * libc/ctype/iswblank.c: Likewise.
2084 * libc/ctype/iswcntrl.c: Likewise.
2085 * libc/ctype/iswdigit.c: Likewise.
2086 * libc/ctype/iswgraph.c: Likewise.
2087 * libc/ctype/iswlower.c: Likewise.
2088 * libc/ctype/iswprint.c: Likewise.
2089 * libc/ctype/iswpunct.c: Likewise.
2090 * libc/ctype/iswspace.c: Likewise.
2091 * libc/ctype/iswupper.c: Likewise.
2092 * libc/ctype/iswxdigit.c: Likewise.
2093 * libc/ctype/tolower.c: Likewise.
2094 * libc/ctype/toupper.c: Likewise.
2095 * libc/ctype/towctrans.c: Likewise.
2096 * libc/ctype/towlower.c: Likewise.
2097 * libc/ctype/towupper.c: Likewise.
2098 * libc/string/strcasecmp.c: Likewise.
2099 * libc/string/strcoll.c: Likewise.
2100 * libc/string/strings.tex: Likewise.
2101 * libc/string/strlwr.c: Likewise.
2102 * libc/string/strncasecmp.c: Likewise.
2103 * libc/string/strupr.c: Likewise.
2104 * libc/string/wcscoll.c: Likewise.
2105 * libc/string/wcslcat.c: Likewise.
2106 * libc/string/wcslcpy.c: Likewise.
2107 * libc/string/wcsnlen.c: Likewise.
2108 * libc/string/wcsstr.c: Likewise.
2109 * libc/string/wcstrings.tex: Likewise.
2110 * libc/string/wmemchr.c: Likewise.
2111 * libc/string/wmemcmp.c: Likewise.
2112 * libc/string/wmemcpy.c: Likewise.
2113 * libc/string/wmemmove.c: Likewise.
2114 * libc/string/wmemset.c: Likewise.
2115
2116 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2117
2118 * libc/misc/unctrl.c: Replace FUNCTION description.
2119 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2120 * libc/stdio/getdelim.c: Fix spelling errors.
2121 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2122 * libc/stdio/putw.c: Likewise.
2123 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2124 documentation.
2125 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2126 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2127 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2128 * libc/stdlib/mlock.c: Likewise.
2129 * libc/stdlib/mstats.c: Likewise.
2130 * libc/time/tzlock.c: Likewise.
2131 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2132 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2133 and hyphenate "pseudo-random".
2134 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2135 * libc/string/strncat.c: Likewise.
2136 * libc/string/memchr.c: Remove extra ">" character in documentation.
2137 * libc/string/strcspn.c: Use "characters" instead of "chars".
2138 * libc/string/strpbrk.c: Likewise.
2139 * libc/string/strerror_r.c: Capitalize "GNU".
2140 * libc/string/strnlen.c: Likewise.
2141 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2142 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2143 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2144 * libc/string/wcschr.c: Likewise.
2145 * libc/string/wcscmp.c: Likewise.
2146 * libc/string/wcscpy.c: Likewise.
2147 * libc/string/wcscspn.c: Likewise.
2148 * libc/string/wcslen.c: Likewise.
2149 * libc/string/wcsncat.c: Likewise.
2150 * libc/string/wcsncmp.c: Likewise.
2151 * libc/string/wcsncpy.c: Likewise.
2152 * libc/string/wcsnlen.c: Likewise.
2153 * libc/string/wcspbrk.c: Likewise.
2154 * libc/string/wcsrchr.c: Likewise.
2155 * libc/string/wcsspn.c: Likewise.
2156 * libc/string/wmemchr.c: Likewise.
2157 * libc/string/wmemcmp.c: Likewise.
2158 * libc/string/wmemcpy.c: Likewise.
2159 * libc/string/wmemset.c: Likewise.
2160 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2161 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2162 * libc/string/wcwidth.c: Likewise.
2163 * libm/common/s_modf.c: Remove extra period from documentation.
2164 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2165 documentation.
2166 * libm/mathfp/s_isnan.c: Likewise.
2167 * libm/math/s_ldexp.c: Fix punctuation.
2168 * libm/mathfp/s_ldexp.c: Likewise.
2169 * libm/math/w_log.c: Likewise.
2170 * libm/mathfp/s_logarithm.c: Likewise.
2171 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2172 * libm/mathfp/w_jn.c: Likewise.
2173
2174 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2175
2176 * libc/posix/scandir.c (scandir): Update the function
2177 prototype to match the header.
2178 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2179 extraneous #endif.
2180 * libc/sys/linux/sys/lock.h: Do not include
2181 machine/weakalias.h, since it's not used by this file.
2182
2183 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2184
2185 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2186 directories can override properly.
2187
2188 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2189
2190 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2191 gcc is 3.3 or greater, use special gcc builtins.
2192
2193 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2194
2195 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2196
2197 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2198
2199 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2200
2201 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2202
2203 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2204 * libm/common/Makefile.am: Add s_infconst.c support.
2205 * libm/common/Makefile.in: Regenerated.
2206 * libm/common/s_infconst.c: New file with float and
2207 long double infinity support added.
2208 * libm/math/Makefile.am: Remove s_infconst.c support.
2209 * libm/math/Makefile.in: Regenerated.
2210 * libm/math/s_infconst.c: Moved to common directory.
2211 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2212 * libm/mathfp/Makefile.in: Regenerated.
2213 * libm/mathfp/s_infconst.c: Moved to common directory.
2214
2215 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2216
2217 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2218 dbgprintf to prevent conflict with new dprintf function.
2219
2220 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2221
2222 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2223 "nan" processing for systems that have long double support.
2224
2225 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2226
2227 * libc/sys/linux/sys/types.h (int8_t): Add type.
2228
2229 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2230
2231 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2232 * libm/common/Makefile.in: Regenerate.
2233 * libm/common/common.tex: Delete file.
2234 * libm/math/math.tex: Include .def files from common/.
2235 * libm/mathfp/mathfp.tex: Likewise.
2236
2237 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2238
2239 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2240 instead of @ifinfo. Update menu to add Introduction and match
2241 SUBDIRS order.
2242 (Introduction): New section.
2243
2244 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2245
2246 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2247 with "Red Hat newlib C Library".
2248 * libc/sys.tex (Stubs): Likewise.
2249 * libm/math/math.tex (Math): Likewise.
2250 * libm/mathfp/mathfp.tex (Math): Likewise.
2251
2252 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2253
2254 * libc/include/stdio.h (dprintf): New declaration.
2255 (vdprintf): Ditto.
2256 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2257 and vdprintf.c.
2258 * libc/stdio/Makefile.in: Regenerate.
2259 * libc/stdio/dprintf.c: New file.
2260 * libc/stdio/vdprintf.c: New file.
2261 * libc/stdio/stdio.tex (dprintf): New entry.
2262
2263 2005-10-11 David Weatherford <weath@tensilica.com>
2264
2265 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2266 Print "inf" and "nan" in lowercase for e/f/g formats and in
2267 uppercase for E/F/G formats.
2268
2269 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2270
2271 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2272 to ENOMEM on failure.
2273
2274 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2275
2276 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2277
2278 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2279
2280 * libc/include/stdint.h: Move magic to set __have_long* to the
2281 beginning. Use #if __have* instead of #if defined(__have*).
2282 Minor typo fixes.
2283
2284 2005-10-04 James E Wilson <wilson@specifix.com>
2285
2286 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2287 #error.
2288
2289 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2290
2291 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2292 incorporate Ralf's change below.
2293
2294 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2295
2296 * libc/include/stdint.h:
2297 Use __INTMAX_TYPE__ to derive intmax_t.
2298 Use __UINTMAX_TYPE__ to derive uintmax_t.
2299 Fix minor typo.
2300
2301 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2302
2303 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2304 handling GCC >= 4.
2305
2306 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2307
2308 * libc/sys/linux/include/stdint.h: Update to match functionality
2309 of generic newlib stdint.h.
2310
2311 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2312
2313 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2314 and do not #undef the macro after it is used. Fix typos.
2315 Also change 64-bit constants to use the __have_long64 and
2316 __have_longlong64 flags to determine if long or long long
2317 constants should be used.
2318 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2319 type defined.
2320
2321 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2322
2323 * libc/include/stdint.h: Fix typo in names of
2324 LEAST macros.
2325
2326 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2327
2328 * libc/sys/rtems/include/inttypes.h: Moved to...
2329 * libc/include/inttypes.h: ...here.
2330
2331 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2332
2333 * libc/sys/rtems/include/stdint.h: Moved to...
2334 * libc/include/stdint.h: ...here.
2335
2336 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2337
2338 * Makefile.am: Add include files under bits sub-directory.
2339 * Makefile.in: Regenerated.
2340 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2341 actual value of 1 to be compatible with newer glibc headers.
2342 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2343 glibc headers.
2344 * libc/sys/linux/sys/dirent.h: Ditto.
2345 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2346 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2347 profile_fixup routines are marked used so they won't be
2348 optimized away.
2349 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2350 to mark functions as weak.
2351 * libc/sys/linux/dl/dl-open.c: Ditto.
2352 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2353 rules about lvalues.
2354 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2355 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2356 weak_extern macro to mark functions as weak. Instead always
2357 use #pragma weak.
2358 * iconvdata/jis0208.h: Fix to work with gcc4.
2359 * libc/sys/linux/dl/dl-load.c: Ditto.
2360 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2361 * libc/sys/linux/dl/do-rel.h: Ditto.
2362 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2363 * libc/sys/linux/include/ltdl.h: Ditto.
2364 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2365 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2366 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2367 * libc/sys/linux/bits/initspin.h: New file.
2368 * libc/sys/linux/bits/libc-lock.h: Ditto.
2369 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
2370 * libc/sys/linux/bits/typesizes.h: Ditto.
2371
2372 2005-09-08 Eric Blake <ebb9@byu.net>
2373
2374 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
2375 before is NULL.
2376
2377 2005-09-08 Brian Dessent <brian@dessent.net>
2378
2379 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
2380 mantissa.
2381 * s_lrint.c: Ditto.
2382
2383 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
2384
2385 * libc/include/stdio.h: Add prototype for viprintf.
2386
2387 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
2388
2389 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
2390 any positive power results in 0.
2391 * libm/mathfp/sf_pow.c (powf): Ditto.
2392
2393 2005-08-31 Paul Brook <paul@codesourcery.com>
2394
2395 * configure.host: Set have_crt0 to no for Arm targts when not
2396 providing syscalls. Set sys_dir=arm unconditionally.
2397 Default have_crt0 based on sys_dir.
2398 * configure.in: Use have_crt0.
2399 * libc/configure.in: Ditto.
2400 * libc/sys/configure.in: Ditto.
2401 * configure: Regenerate.
2402 * libc/configure: Regenerate.
2403 * libc/sys/configure: Regenerate.
2404 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
2405 Only build other files when providing syscalls.
2406 * libc/sys/arm/Makefile.in: Regenerate.
2407 * libc/sys/arm/aeabi_atexit.c: New file.
2408
2409 2005-08-26 Christopher Faylor <cgf@timesys.com>
2410
2411 * libc/include/string.h: Revert previous change.
2412
2413 2005-08-25 Christopher Faylor <cgf@timesys.com>
2414
2415 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
2416
2417 2005-08-22 Shaun Jackman <sjackman@gmail.com>
2418
2419 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
2420 define _opendir as opendir, _readdir as readdir, and
2421 _closedir as closedir so that the implementations in
2422 libc/posix will be used.
2423
2424 2005-08-10 DJ Delorie <dj@redhat.com>
2425
2426 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
2427
2428 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
2429
2430 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
2431 * libm/common/s_max.c: Ditto.
2432 * libm/common/sf_fmin.c: Ditto.
2433 * libm/common/s_min.c: Ditto.
2434
2435 2005-08-10 DJ Delorie <dj@redhat.com>
2436
2437 * configure.host: Add m32c support.
2438 * libc/include/machine/ieeefp.h: Likewise.
2439 * libc/include/machine/setjmp.h: Likewise.
2440 * libc/include/sys/config.h: Likewise.
2441 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
2442 * libc/machine/m32c/aclocal.m4: New file.
2443 * libc/machine/m32c/configure: Ditto.
2444 * libc/machine/m32c/configure.in: Ditto.
2445 * libc/machine/m32c/Makefile.am: Ditto.
2446 * libc/machine/m32c/Makefile.in: Ditto.
2447 * libc/machine/m32c/setjmp.S: Ditto.
2448
2449 2005-08-02 Bob Wilson <bob.wilson@acm.org>
2450
2451 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
2452 to the value for 2^126.
2453
2454 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
2455
2456 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
2457 used.
2458
2459 2005-07-20 Bob Wilson <bob.wilson@acm.org>
2460 Darin Petkov <darin@tensilica.com>
2461
2462 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2463
2464 2005-07-19 Paul Brook <paul@codesourcery.com>
2465
2466 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2467
2468 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
2469
2470 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
2471 names after PASS and FAIL which do not depend on source directory
2472 name or on whether test passed or failed.
2473 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2474
2475 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
2476
2477 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
2478
2479 2005-07-07 Shaun Jackman <sjackman@gmail.com>
2480
2481 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
2482 twice for the same directory. _closedir calls free, and freeing
2483 the same pointer twice may cause a crash.
2484
2485 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
2486
2487 * configure.host: Added entry for ms1*.
2488 * libc/include/machine/ieeefp.h: Handle ms1.
2489 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
2490 * libc/machine/ms1/aclocal.m4: New.
2491 * libc/machine/ms1/configure: New.
2492 * libc/machine/ms1/configure.in: New.
2493 * libc/machine/ms1/Makefile.am: New.
2494 * libc/machine/ms1/Makefile.in: New.
2495 * libc/machine/ms1/setjmp.S: New.
2496
2497 2005-07-04 Mark Mitchell <mark@codesourcery.com>
2498
2499 * Makefile.am (site.exp): Set tmpdir.
2500 * Makefile.in: Regenerated.
2501 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
2502 executables in $tmpdir.
2503 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
2504 libgloss version if not running in the build directory.
2505 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
2506 $tmpdir.
2507 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
2508 in $tmpdir.
2509
2510 2005-06-28 Dave Korn <dave.korn@artimi.com>
2511
2512 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
2513 and miscalculation caused by fp representation of zero.
2514 * libm/common/sf_lrint.c (lrintf): Likewise.
2515
2516 2005-06-16 Christopher Faylor <cgf@timesys.com>
2517
2518 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
2519 determine characteristics of long double. Use a union instead.
2520 * ldtoa.c (_ldtoa_r): Ditto.
2521 (_ldcheck): Ditto.
2522 (_strtold): Ditto.
2523 (union uconv): New union.
2524
2525 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
2526
2527 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
2528 instead of memcpy.
2529
2530 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2531
2532 * configure.host (mn10300-*): Add long long I/O support by default.
2533
2534 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
2535
2536 * libc/sys/linux/getpwuid.c: Removed.
2537 * libc/sys/linux/getpwnam.c: Removed.
2538 * libc/sys/linux/getpwent.c: New file containing logic
2539 from files removed above. This allows overriding of file
2540 in libc/unix.
2541 * libc/sys/linux/Makefile.am: Support changes above.
2542 * libc/sys/linux/Makefile.in: Regenerated.
2543
2544 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
2545
2546 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
2547 when checking for multiple flags.
2548
2549 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
2550
2551 * configure.host <cris-*-* | crisv32-*-*>: Set
2552 default_newlib_io_long_long="yes".
2553
2554 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
2555
2556 * libc/include/libgen.h: New file.
2557
2558 2005-04-08 Shaun Jackman <sjackman@gmail.com>
2559
2560 * libc/unix/Makefile.am: Add support for basename and dirname.
2561 * libc/unix/Makefile.in: Regenerated.
2562 * libc/unix/basename.c: New file.
2563 * libc/unix/dirname.c: New file.
2564
2565 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2566
2567 * libc/sys/linux/inode.c (lchown): New function.
2568
2569 2005-04-07 Shaun Jackman <sjackman@gmail.com>
2570
2571 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
2572 ELIX level is defined.
2573 * libc/unix/Makefile.in: Regenerated.
2574
2575 2005-04-05 Dave Korn <dave.korn@artimi.com>
2576
2577 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
2578 something that looks like a "NaN", put back the characters processed.
2579
2580 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
2581
2582 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
2583
2584 2005-03-23 Christopher Faylor <cgf@timesys.com>
2585
2586 * configure.host: For cygwin, redefine CC with cygwin include directory
2587 first to mimic the behavior of the top-level configury. Move include
2588 directory out of newlib_cflags.
2589
2590 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
2591
2592 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
2593 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
2594 than errno.
2595
2596 2005-03-22 Christopher Faylor <cgf@timesys.com>
2597
2598 * libc/include/machine/_types.h: Make trivial change to comment to
2599 avoid a spurious warning from gcc.
2600
2601 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
2602
2603 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
2604 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
2605 reent.h include.
2606
2607 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
2608 Corinna Vinschen <corinna@vinschen.de>
2609
2610 * libc/include/ctype.h: Remove invalid +1 offset from
2611 ctype macro references to __ctype_ptr.
2612 (_ctype_): Move declaration outside #ifndef __cplusplus.
2613
2614 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
2615
2616 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
2617 evaluate first parameter only once.
2618 (siglongjmp): Ditto.
2619
2620 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
2621
2622 * configure.in: Add new check to see if compiler supports
2623 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
2624 * configure: Regenerated.
2625 * Makefile.in: Ditto.
2626 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
2627 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
2628 aliasing the _ctype_ array to _ctype_b.
2629 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
2630 _ctype_ as deprecated.
2631
2632 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
2633
2634 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
2635 -DCOMPACT_CTYPE.
2636
2637 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2638
2639 * libc/sys/rtems/include/inttypes.h: New file.
2640 * libc/sys/rtems/include/stdint.h: Ditto.
2641
2642 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2643
2644 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
2645
2646 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
2647
2648 * libc/include/machine/_types.h: New file.
2649 * libc/include/sys/types.h: Do not check for __rtems__
2650 when including <machine/_types.h>. Remove some redundant
2651 declarations now that <machine/_types.h> is included.
2652 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
2653 shared header file.
2654
2655 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
2656
2657 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
2658 L qualifier for these long constants.
2659
2660 2005-02-25 Eric Blake <ebb9@byu.net>
2661
2662 * libc/include/time.h (__tzrule_struct): Make offset long, since
2663 a 16-bit int overflows on a 12-hour offset.
2664 * libc/sys/linux/include/time.h: Ditto.
2665 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
2666 * libc/time/mktm_r.c: Ditto.
2667 * libc/time/gettzinfo.c: Ditto.
2668 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
2669 years. Fix '%z' to use long, not int.
2670
2671 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2672
2673 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
2674 manipulate float values in integer form.
2675 * libm/common/sf_round.c: Ditto.
2676
2677 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2678
2679 * libc/include/sys/types.h [__rtems__]: Include new
2680 header file machine/_types.h.
2681 * libc/include/machine/types.h: Ditto.
2682 * libc/sys/rtems/machine/_types.h: New file.
2683
2684 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2685
2686 * libc/include/time.h (_timezone): Change to long also for Cygwin.
2687 (timezone): Drop cast from definition.
2688
2689 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
2690
2691 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
2692 (__tzrule_type, __tzinfo_type): New types.
2693 (__gettzinfo): New function.
2694 * libc/sys/linux/include/time.h: Ditto.
2695 * libc/time/Makefile.am: Add gettzinfo.c.
2696 * libc/time/Makefile.in: Regenerated.
2697 * libc/time/local.h: Moved __tzrule_type to time.h.
2698 * libc/time/mktime.c: Call __gettzinfo to reference
2699 __tznorth, __tzyear, and __tzrule array.
2700 * libc/time/mktm_r.c: Ditto.
2701 * libc/time/strftime.c: Ditto.
2702 * libc/time/tzset_r.c: Ditto. Also remove definition
2703 of __tzrule which is now in gettzinfo.c. Change _timezone
2704 references to not cast to time_t.
2705 * libc/time/gettzinfo.c: New file.
2706
2707 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2708
2709 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2710
2711 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
2712
2713 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2714
2715 2005-02-16 Eric Blake <ebb9@byu.net>
2716
2717 * libc/time/time.tex: Improve the documentation.
2718 * libc/time/strftime.c: Improve the documentation.
2719 (iso_year_adjust): New helper function.
2720 (strftime): Simplify '%E' and '%O'. Change '%c' to use
2721 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
2722 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
2723 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
2724 Avoid core dumps on valid inputs (maxsize == 0, or
2725 tim_p->tm_isdst > 1).
2726
2727 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
2728
2729 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
2730 members to uid_t and gid_t according to SUSv3.
2731 * libc/include/sys/time.h (utimes): Change second parameter
2732 to const according to SUSv3.
2733
2734 2005-02-07 Antony King <antony.king@st.com>
2735
2736 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
2737 called before _flockfile to prevent lock object use before
2738 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
2739 take a struct _reent * instead of a FILE *.
2740 * libc/stdio/fclose.c (_fclose_r): Ditto.
2741 * libc/stdio/feof.c (feof): Ditto.
2742 * libc/stdio/ferror.c (ferror): Ditto.
2743 * libc/stdio/fflush.c (fflush): Ditto.
2744 * libc/stdio/fgetc.c (fgetc): Ditto.
2745 * libc/stdio/fgets.c (fgets): Ditto.
2746 * libc/stdio/fileno.c (fileno): Ditto.
2747 * libc/stdio/fputc.c (fputc): Ditto.
2748 * libc/stdio/fputs.c (fputs): Ditto.
2749 * libc/stdio/fread.c (fread): Ditto.
2750 * libc/stdio/freopen.c (_freopen_r): Ditto.
2751 * libc/stdio/fseek.c (_fseek_r): Ditto.
2752 * libc/stdio/ftell.c (_ftell_r): Ditto.
2753 * libc/stdio/fwrite.c (fwrite): Ditto.
2754 * libc/stdio/getc.c (getc): Ditto.
2755 * libc/stdio/getdelim.c (__getdelim): Ditto.
2756 * libc/stdio/putc.c (putc): Ditto.
2757 * libc/stdio/setvbuf.c (setvbuf): Ditto.
2758 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
2759 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2760 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2761 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
2762 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
2763 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
2764 _reent * instead of a FILE * and so replace incorrect use of
2765 _REENT with argument.
2766 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
2767 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
2768 CHECK_INIT() take a struct _reent * instead of a FILE *.
2769 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
2770 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
2771 * libc/stdio/perror.c (perror): Ditto.
2772 * libc/stdio/printf.c (printf, _printf_r): Ditto.
2773 * libc/stdio/putchar.c (putchar): Ditto.
2774 * libc/stdio/puts.c (puts): Ditto.
2775 * libc/stdio/refill.c (__srefill): Ditto.
2776 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
2777 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
2778 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
2779 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
2780 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
2781 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
2782 * libc/stdio/wbuf.c (__swbuf): Ditto.
2783 * libc/stdio/wsetup.c (__swsetup): Ditto.
2784 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
2785 * libc/stdlib/mstats.c (_mstats_r): Ditto.
2786 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
2787 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
2788 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
2789 to _flockfile and _funlockfile; rely on locking in _ftell_r.
2790 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
2791 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
2792 initialision of _data field in FILE structure.
2793 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2794
2795 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2796
2797 * libc/stdio/findfp.c (__sinit): Protect with new lock.
2798 (__sinit_lock): New lock.
2799 (__sinit_lock_acquire, __sinit_lock_release): New functions.
2800 * libc/stdio/local.h: Add reference to new __sinit locking
2801 functions.
2802
2803 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2804
2805 * libc/include/math.h (isfinite, isnormal, isunordered): Change
2806 input variable names to avoid mixups with nesting macros.
2807
2808 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2809
2810 * configure.host: Add support for cris-*-* and crisv32-*-*.
2811 * libc/include/machine/ieeefp.h: Ditto.
2812 * libc/include/machine/setjmp.h: Ditto.
2813 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
2814 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
2815 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
2816 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
2817 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
2818 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
2819 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
2820 files.
2821
2822 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2823
2824 * testsuite/newlib.string/memmove1.c: New test.
2825
2826 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2827
2828 * testsuite/include/check.h: Include stdlib.h.
2829
2830 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2831
2832 * Makefile.am (stmp-targ-include): Support include header files
2833 from machine directories.
2834 (install-data-local): Ditto.
2835 * Makefile.in: Regenerate.
2836
2837 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
2838
2839 * libc/include/string.h: Remove Linux-specific declaration of
2840 strsignal and add #include <sys/string.h>.
2841 * libc/include/sys/string.h: New file.
2842 * libc/include/sys/linux/sys/string.h: New file with strsignal
2843 declaration deleted above.
2844
2845 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
2846
2847 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
2848 to POSIX standard for "C" locale. Allow %E and %O modifiers
2849 to be ignored as long as they precede valid specifiers according
2850 to POSIX.
2851
2852 2005-01-19 Shaun Jackman <sjackman@gmail.com>
2853
2854 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2855 environment variable is set.
2856
2857 2005-01-19 Shaun Jackman <sjackman@gmail.com>
2858
2859 * tzset_r.c (_tzname): Add a comma.
2860
2861 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
2862
2863 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
2864 _VFPRINTF_R.
2865
2866 2005-01-07 Paul Brook <paul@codesourcery.com>
2867
2868 * configure.in: Add test for .init_array.
2869 * configure: Regenerate.
2870 * newlib.hin: Add HAVE_INITFINI_ARRAY.
2871 * libc/misc/Makefile.am: Add init.c
2872 * libc/misc/Makefile.in: Regenerate.
2873 * libc/misc/init.c: New file.
2874 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
2875 _init/_fini if they exist.
2876
2877 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
2878
2879 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
2880 * (strtof): Ditto.
2881 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
2882 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
2883 functions for use by strtod and strtof.
2884 * Makefile.in: Regenerated.
2885
2886 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
2887
2888 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
2889 bit-test in combination with NULL test.
2890
2891 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
2892
2893 * README: Fix typo of LGPL. Change "license" to "copyright".
2894
2895 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
2896
2897 * NEWS: Update with 1.13.0 info.
2898 * README: Ditto.
2899 * acinclude.m4: Change version number to 1.13.0.
2900 * aclocal.m4: Regenerated.
2901 * configure: Ditto.
2902 * doc/aclocal.m4: Ditto.
2903 * doc/configure: Ditto.
2904 * libc/*/aclocal.m4: Ditto.
2905 * libc/*/configure: Ditto.
2906 * libc/libc.texinfo: Ditto.
2907 * libm/*/aclocal.m4: Ditto.
2908 * libm/*/configure: Ditto.
2909 * libm/libm.texinfo: Ditto.
2910 * libc/sys/linux/shared.ld: Add VERS_1.13.
2911
2912 2004-12-17 Christian Groessler <chris@groessler.org>
2913
2914 * libc/machine/z8k/memcmp.S: New file.
2915 * libc/machine/z8k/memcpy.S: Ditto.
2916 * libc/machine/z8k/memmove.S: Ditto.
2917 * libc/machine/z8k/memset.S: Ditto.
2918 * libc/machine/z8k/Makefile.am: Add new files.
2919 * libc/machine/z8k/Makefile.in: Regenerated.
2920 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
2921 part. Implement Z8002 stdcall version.
2922
2923 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
2924
2925 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
2926 a low-level read if we don't get the full amount of bytes so
2927 EOF or error flags will be set.
2928
2929 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
2930
2931 * libc/time/tzset_r (_tzset_r): Properly skip over
2932 '/' when it is detected.
2933
2934 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2935
2936 * libc/time/tzset_r (_tzset_r): Fix loop.
2937
2938 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2939
2940 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
2941 m_day.
2942 (__tzcalc_limits): Fix reference to month array to be zero-based.
2943
2944 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
2945
2946 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
2947 and usleep.
2948
2949 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
2950
2951 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
2952 libgcc dependencies.
2953 (libm_la_LDFLAGS): Ditto.
2954 * Makefile.in: Regenerated.
2955
2956 2004-12-03 Shaun Jackman <sjackman@gmail.com>
2957
2958 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
2959 our link to use readlink so as to preserve any relative link created
2960 by install-toollibLIBRARIES.
2961 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
2962
2963 2004-12-02 Shaun Jackman <sjackman@gmail.com>
2964
2965 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
2966 time_t before including sys/stat.h, which uses it.
2967 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
2968 <linux/time.h> just prior to definition of __KERNEL__ so as to
2969 allow building on Debian Linux where otherwise, mktime would
2970 be redefined.
2971
2972 2004-11-26 Paul Brook <paul@codesourcery.com>
2973
2974 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2975
2976 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2977
2978 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
2979 const for value string parameter to match Single Unix and glibc.
2980 * libc/stdlib/putenv.c: Ditto.
2981 * libc/stdlib/putenv_r.c: Ditto.
2982
2983 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2984
2985 * libc/stdio/Makefile.am: Fix missing vfscanf.
2986 * libc/stdio/Makefile.in: Regenerated.
2987
2988 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
2989
2990 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
2991 do some reordering.
2992 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
2993 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
2994 family functions.
2995 * libc/stdio/Makefile.in: Regenerated.
2996 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
2997 * libc/stdio/iprintf.c: Ditto.
2998 * libc/stdio/local.h (__svfiscanf_r): New prototype.
2999 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3000 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3001 * libc/stdio/stdio.tex: Add new functions.
3002 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3003 file and add special name defines so this file can be used
3004 to build vfiscanf.o.
3005 * libc/stdio/asiprintf.c: New file.
3006 * libc/stdio/fiscanf.c: Ditto.
3007 * libc/stdio/iscanf.c: Ditto.
3008 * libc/stdio/sccl.c: Ditto.
3009 * libc/stdio/siscanf.c: Ditto.
3010 * libc/stdio/vasiprintf.c: Ditto.
3011 * libc/stdio/viprintf.c: Ditto.
3012 * libc/stdio/viscanf.c: Ditto.
3013 * libc/stdio/vsiprintf.c: Ditto.
3014 * libc/stdio/vsiscanf.c: Ditto.
3015 * libc/stdio/vsniprintf.c: Ditto.
3016
3017 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3018
3019 * libc/include/stdio.h: Add sniprintf.
3020 * libc/stdio/Makefile.am: Add sniprintf.c.
3021 * libc/stdio/Makefile.in: Regenerated.
3022 * libc/stdio/sniprintf.c: New file.
3023 * libc/stdio/stdio.tex: Add sniprintf.
3024
3025 2004-11-17 Christopher Faylor <cgf@timesys.com>
3026
3027 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3028 EOF flag if successful.
3029
3030 2004-10-28 Christopher Faylor <cgf@timesys.com>
3031
3032 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3033 so that all relevant definitions have been performed for use in the
3034 include.
3035
3036 2004-10-26 Jason Tishler <jason@tishler.net>
3037
3038 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3039 fread.
3040
3041 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3042
3043 * libc/include/machine/setjmp.h: Add AVR support.
3044 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3045
3046 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3047
3048 * libc/include/sys/signal.h: If <signal.h> didn't include
3049 this header file, include <signal.h> to account for
3050 applications that take advantage that the two header
3051 files are the same in glibc.
3052
3053 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3054
3055 * configure.host: Add support for crx.
3056 * libc/include/machine/ieeefp.h: Ditto.
3057 * libc/include/machine/setjmp.h: Ditto.
3058 * libc/machine/crx/Makefile.am: New file.
3059 * libc/machine/crx/configure.in: Ditto.
3060 * libc/machine/crx/setjmp.S: Ditto.
3061 * libc/machine/crx/getenv.c: Ditto.
3062 * libc/machine/crx/aclocal.m4: Generate.
3063 * libc/machine/crx/configure: Ditto.
3064 * libc/machine/crx/Makefile.in: Ditto.
3065 * libc/machine/crx/sys/asm.h: New file.
3066 * libc/machine/crx/sys/libh.h: Ditto.
3067 * libc/machine/crx/sys/syscall.h: Ditto.
3068
3069 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3070
3071 * Makefile.am (stmp-targ-include): Support sys header files
3072 from machine directories.
3073 * Makefile.in: Regenerated.
3074
3075 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3076
3077 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3078 count skipped zero characters as part of the nread count for %n.
3079 * libc/machine/powerpc/vfscanf.c: Ditto.
3080
3081 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3082
3083 * libc/stdio/local.h: Include <stdlib.h>.
3084
3085 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3086
3087 * libc/stdio/fread.c (fread): Include <malloc.h>.
3088
3089 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3090
3091 * libc/stdio/fread.c (fread): For non-space-optimized case,
3092 add special code for unbuffered files to use user buffer and
3093 only require one low-level system read.
3094
3095 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3096
3097 * libc/machine/xscale/setjmp.S: New file, copied from
3098 libc/machine/arm/setjmp.S.
3099 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3100 * libc/machine/xscale/Makefile.in: Regenerate.
3101
3102 2004-09-16 Antony King <antony.king@st.com>
3103
3104 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3105 with locking API.
3106 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3107 check for__SSTR in _flags and if set, skip lock request.
3108 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3109 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3110 not NULL.
3111 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3112 initialisation of _file to -1 in local FILE.
3113 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3114 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3115 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3116 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3117 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3118 _flags in local FILE to prevent locking.
3119 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3120
3121 2004-09-16 Antony King <antony.king@st.com>
3122
3123 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3124 and only walk the reentrancy parameter.
3125 (_fwalk_reent): Ditto.
3126 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3127
3128 2004-09-16 Antony King <antony.king@st.com>
3129
3130 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3131 _LOCK_RECURSIVE_T.
3132
3133 2004-09-16 Antony King <antony.king@st.com>
3134
3135 * libc/time/tzlock.c: Add default stubs that use generic
3136 locking code.
3137
3138 2004-09-16 Antony King <antony.king@st.com>
3139
3140 * libc/ctype/ctype.tex: Added missing documentation.
3141 * libc/stdio/stdio.tex Ditto.
3142 * libc/stdlib/stdlib.tex Ditto.
3143 * libc/string/strings.tex Ditto.
3144 * libc/time/time.tex: Ditto.
3145 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3146
3147 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3148
3149 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3150 when building for Cygwin.
3151 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3152 _global_impure_ptr.
3153
3154 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3155
3156 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3157 Cygwin side.
3158 * configure.in: Ditto.
3159 * libc/configure.in: Ditto.
3160 * libc/sys/configure.in: Ditto.
3161 * configure: Ditto.
3162 * libc/configure: Ditto.
3163 * libc/sys/configure: Ditto.
3164 * libc/include/sys/reent.h: Ditto.
3165 * libc/stdlib/__atexit.c: Ditto.
3166 * libc/stdlib/__call_atexit.c: Ditto.
3167 * libc/stdlib/cxa_atexit.c: Ditto.
3168 * libc/stdlib/cxa_finalize.c: Ditto.
3169 * libc/sys/cygwin/Makefile.am: Removed again.
3170 * libc/sys/cygwin/Makefile.in: Ditto.
3171 * libc/sys/cygwin/aclocal.m4: Ditto.
3172 * libc/sys/cygwin/configure: Ditto.
3173 * libc/sys/cygwin/configure.in: Ditto.
3174 * libc/sys/cygwin/dummy.c: Ditto.
3175 * libc/sys/cygwin/sys/reent.h: Ditto.
3176
3177 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3178
3179 * configure.host: Add Cygwin sys directory.
3180 * configure.in: Do not set CRT0 for cygwin.
3181 * libc/configure.in: Ditto.
3182 * libc/sys/configure.in: Ditto.
3183 * configure: Regenerated.
3184 * libc/configure: Ditto.
3185 * libc/sys/configure: Ditto.
3186 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3187 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3188 __REENT_HAS_CXA_SUPPORT flag.
3189 * libc/stdlib/__call_atexit.c: Ditto.
3190 * libc/stdlib/cxa_atexit.c: Ditto.
3191 * libc/stdlib/cxa_finalize.c: Ditto.
3192 * libc/sys/cygwin/Makefile.am: New file.
3193 * libc/sys/cygwin/Makefile.in: Ditto.
3194 * libc/sys/cygwin/aclocal.m4: Ditto.
3195 * libc/sys/cygwin/configure: Ditto.
3196 * libc/sys/cygwin/configure.in: Ditto.
3197 * libc/sys/cygwin/dummy.c: Ditto.
3198 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3199 version of reent.h.
3200
3201 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3202
3203 * libc/iconv/iconv.tex: Updated with new content.
3204 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3205 instead of NLS_DEFAULT_NLSPATH.
3206 * libc/iconv/lib/iconvnls.h: Fix typo.
3207 * libc/include/sys/iconvnls.h: New file.
3208
3209 2004-09-09 Paul Brook <paul@codesourcery.com>
3210
3211 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3212 and _is_cxa.
3213 (struct _atexit): Add _next when _REENT_SMALL.
3214 (struct _reent): Add _atexit0 when _REENT_SMALL.
3215 (_REENT_INIT_PTR): Adjust.
3216 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3217 __call_exit.c.
3218 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3219 * libc/stdlib/Makefile.in: Regenerate.
3220 * libc/stdlib/__atexit.c: New file.
3221 * libc/stdlib/__call_atexit.c: New file.
3222 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3223 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3224 * libc/stdlib/cxa_atexit.c: New file.
3225 * libc/stdlib/cxa_finalize.c: New file.
3226 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3227 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3228 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3229 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3230 _on_exit_args_ptr.
3231
3232 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3233
3234 * libc/include/sys/unistd.h (getpass): Change prototype to use
3235 const instead of __const.
3236
3237 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3238
3239 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3240 #if.
3241
3242 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3243
3244 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3245 on linux systems with glibc 2.3.3 installed.
3246 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3247 profile_fixup so newlib can build on fc3 system.
3248
3249 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3250
3251 Introduce SH2a support.
3252 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3253 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3254 __SH2A_SINGLE_ONLY__, too.
3255 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3256 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3257 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3258 2004-02-10 DJ Delorie <dj@redhat.com>
3259 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3260
3261 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3262
3263 * libc/time/strptime.c: Correct full-name of "March" typo.
3264
3265 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3266
3267 * configure.host (h8300*-*-*): Default long long printing support.
3268
3269 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3270
3271 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3272 calls, if realloc fails, free up buffer as it is no longer
3273 used.
3274
3275 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3276
3277 * libc/iconv/iconv.tex: Updated to represent recent changes.
3278 * libc/iconv/lib/iconv.c: Documentation updated.
3279
3280 2004-07-07 Nick Clifton <nickc@redhat.com>
3281
3282 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3283 for xStormy16.
3284
3285 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3286
3287 * configure.host (mips*-*-elf*): Default long long printing
3288 support.
3289
3290 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3291
3292 * libc/Makefile.am (libc.dvi): Add target and specify
3293 same dependencies as libc.info.
3294 * libc/Makefile.in: Regenerated.
3295 * libm/Makefile.am (libm.dvi): Add target and specify
3296 same dependencies as libm.info.
3297 * libm/Makefile.in: Regenerated.
3298
3299 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3300
3301 * acinclude.m4: Move --enable-newlib-iconv option back here.
3302 * configure.in: Remove --enable-newlib-iconv option. Don't
3303 tie iconv support to --enable-newlib-mb.
3304 * aclocal.m4: Regenerated.
3305 * configure: Ditto.
3306 * doc/aclocal.m4, doc/configure: Ditto.
3307 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3308 * libm/*/aclocal.m4: Ditto.
3309 * libm/*/configure: Ditto.
3310 * libc/*/aclocal.m4: Ditto.
3311 * libc/*/configure: Ditto.
3312
3313 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3314
3315 * acinclude.m4: Move iconv options into configure.in.
3316 * aclocal.m4: Regenerated.
3317 * configure: Ditto.
3318 * configure.in: Add iconv options.
3319 * newlib.hin: Add new iconv encodings and remove deleted ones.
3320 * doc/aclocal.m4: Regenerated.
3321 * doc/configure: Ditto.
3322 * iconvdata/aclocal.m4: Ditto.
3323 * iconvdata/configure: Ditto.
3324 * libc/iconv: Design change. New size-optimized ccs format.
3325 * libc/iconv/AUTHORS: Removed.
3326 * libc/iconv/COPYING: Ditto.
3327 * libc/iconv/README.ORIGINAL: Ditto.
3328 * libc/iconv/README.TODO: Ditto.
3329 * libc/iconv/charset.aliases: Ditto.
3330 * libc/iconv/encoding.aliases: New file.
3331 * libc/iconv/Makefile.am: Updated.
3332 * libc/iconv/Makefile.in: Regenerated.
3333 * libc/iconv/iconv.tex: Updated.
3334 * libc/iconv/ccs/Makefile.am: Ditto.
3335 * libc/iconv/ccs/Makefile.in: Regenerated.
3336 * libc/iconv/ccs/big5.c: Updated.
3337 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3338 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3339 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3340 * libc/iconv/ccs/cp775.c: Ditto.
3341 * libc/iconv/ccs/cp850.c: Ditto.
3342 * libc/iconv/ccs/cp852.c: Ditto.
3343 * libc/iconv/ccs/cp855.c: Ditto.
3344 * libc/iconv/ccs/cp866.c: Ditto.
3345 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3346 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3347 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3348 * libc/iconv/ccs/iconv_mktbl: Ditto.
3349 * libc/iconv/ccs/jis_x0201.c: Ditto.
3350 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3351 * libc/iconv/ccs/shift_jis.c: Ditto.
3352 * libc/iconv/ccs/us_ascii.c: Ditto.
3353 * libc/iconv/ccs/ccs.h: New file.
3354 * libc/iconv/ccs/ccsbi.c: Ditto.
3355 * libc/iconv/ccs/ccsbi.h: Ditto.
3356 * libc/iconv/ccs/ccsnames.h: Ditto.
3357 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3358 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3359 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3360 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3361 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3362 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3363 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3364 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3365 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3366 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3367 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
3368 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
3369 * libc/iconv/ccs/koi8_ru.c: Ditto.
3370 * libc/iconv/ccs/koi8_uni.c: Ditto.
3371 * libc/iconv/ccs/mktbl.pl: Ditto.
3372 * libc/iconv/ccs/win_1250.c: Ditto.
3373 * libc/iconv/ccs/win_1251.c: Ditto.
3374 * libc/iconv/ccs/win_1252.c: Ditto.
3375 * libc/iconv/ccs/win_1253.c: Ditto.
3376 * libc/iconv/ccs/win_1254.c: Ditto.
3377 * libc/iconv/ccs/win_1255.c: Ditto.
3378 * libc/iconv/ccs/win_1256.c: Ditto.
3379 * libc/iconv/ccs/win_1257.c: Ditto.
3380 * libc/iconv/ccs/win_1258.c: Ditto.
3381 * libc/iconv/ccs/iso_8859_15.c: Updated.
3382 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3383 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3384 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3385 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3386 * libc/iconv/ccs/koi8_r.c: Ditto.
3387 * libc/iconv/ccs/koi8_u.c: Ditto.
3388 * libc/iconv/ccs/ksx1001.c: Ditto.
3389 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
3390 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3391 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3392 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3393 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3394 * libc/iconv/ccs/binary/Makefile.am: Updated.
3395 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
3396 * libc/iconv/ccs/binary/big5.cct: Updated.
3397 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3398 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3399 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3400 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
3401 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
3402 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
3403 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
3404 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
3405 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3406 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3407 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3408 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3409 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3410 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3411 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3412 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3413 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3414 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
3415 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
3416 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
3417 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
3418 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
3419 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
3420 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
3421 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
3422 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
3423 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
3424 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
3425 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
3426 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
3427 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
3428 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
3429 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
3430 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
3431 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
3432 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
3433 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
3434 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
3435 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
3436 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
3437 * libc/iconv/ces/Makefile.am: Updated.
3438 * libc/iconv/ces/Makefile.in: Regenerated.
3439 * libc/iconv/ces/ucs-2-internal.c: Updated.
3440 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3441 * libc/iconv/ces/utf-16.c: Ditto.
3442 * libc/iconv/ces/utf-8.c: Ditto.
3443 * libc/iconv/ces/cesbi.c: New file.
3444 * libc/iconv/ces/cesbi.h: Ditto.
3445 * libc/iconv/ces/cesdeps.h: Ditto.
3446 * libc/iconv/ces/euc.c: Ditto.
3447 * libc/iconv/ces/mkdeps.pl: Ditto.
3448 * libc/iconv/ces/table-pcs.c: Ditto.
3449 * libc/iconv/ces/table.c: Ditto.
3450 * libc/iconv/ces/ucs-2.c: Ditto.
3451 * libc/iconv/ces/ucs-4.c: Ditto.
3452 * libc/iconv/ces/us-ascii.c: Ditto.
3453 * libc/iconv/ces/euc-jp.c: Removed.
3454 * libc/iconv/ces/euc-kr.c: Ditto.
3455 * libc/iconv/ces/euc-tw.c: Ditto.
3456 * libc/iconv/ces/gb2312.c: Ditto.
3457 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
3458 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3459 * libc/iconv/lib/Makefile.am: Updated.
3460 * libc/iconv/lib/Makefile.in: Regenerated.
3461 * libc/iconv/lib/endian.h: Updated.
3462 * libc/iconv/lib/iconv.c: Ditto.
3463 * libc/iconv/lib/local.h: Ditto.
3464 * libc/iconv/lib/aliases.c: Removed.
3465 * libc/iconv/lib/bialiasesi.c: Ditto.
3466 * libc/iconv/lib/biccs.c: Ditto.
3467 * libc/iconv/lib/bices.c: Ditto.
3468 * libc/iconv/lib/ccs.c: Ditto.
3469 * libc/iconv/lib/ces.c: Ditto.
3470 * libc/iconv/lib/ces_euc.c: Ditto.
3471 * libc/iconv/lib/ces_iso2022.c: Ditto.
3472 * libc/iconv/lib/ces_table.c: Ditto.
3473 * libc/iconv/lib/converter.c: Ditto.
3474 * libc/iconv/lib/deps.h: Ditto.
3475 * libc/iconv/lib/loaddata.c: Ditto.
3476 * libc/iconv/lib/aliasesbi.c: New file.
3477 * libc/iconv/lib/aliasesi.c: Ditto.
3478 * libc/iconv/lib/conv.h: Ditto.
3479 * libc/iconv/lib/encnames.h: Ditto.
3480 * libc/iconv/lib/encoding.deps: Ditto.
3481 * libc/iconv/lib/iconvnls.c: Ditto.
3482 * libc/iconv/lib/iconvnls.h: Ditto.
3483 * libc/iconv/lib/nullconv.c: Ditto.
3484 * libc/iconv/lib/ucsconv.c: Ditto.
3485 * libc/iconv/lib/ucsconv.h: Ditto.
3486 * libc/include/iconv.h: Update copyright.
3487 * libc/*/aclocal.m4: Regenerated.
3488 * libc/*/configure: Ditto.
3489 * libm/*/aclocal.m4: Ditto.
3490 * libm/*/configure: Ditto.
3491
3492 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
3493
3494 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
3495 instead of typedefing jmp_buf.
3496
3497 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
3498 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
3499 * libc/machine/h8300/defines.h (LEN): New macro.
3500 * libc/machine/h8300/memcpy.S: Add h8sx version.
3501 * libc/machine/h8300/memset.S: Likewise.
3502 * libc/machine/h8300/strcmp.S: Likewise.
3503 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
3504 * libc/machine/h8300/h8sx_strcpy.S: New file.
3505 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
3506 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
3507 __H8300SX__.
3508 * libc/include/machine/setjmp.h: Likewise.
3509 * libc/include/sys/config.h: Likewise.
3510 * libc/machine/h8300/defines.h: Likewise.
3511 * libc/machine/h8300/setjmp.S: Likewise.
3512 * libc/machine/h8300/strcmp.S: Likewise.
3513 * libc/sys/h8300hms/close.S: Likewise.
3514 * libc/sys/h8300hms/fstat.S: Likewise.
3515 * libc/sys/h8300hms/lseek.S: Likewise.
3516 * libc/sys/h8300hms/read.S: Likewise.
3517 * libc/sys/h8300hms/write.S: Likewise.
3518 * libc/sys/h8300hms/crt0.S: Likewise.
3519 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
3520 __H8300SX__ is defined.
3521 * libc/sys/h8300hms/setarch.h: Likewise.
3522
3523 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
3524
3525 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
3526 out change which set _GLOBAL_REENT to _global_impure_ptr until
3527 we understand why Cygwin breaks because of it.
3528
3529 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
3530
3531 * libc/sys/linux/machine/i386/syscall.h: For now, set up
3532 __syscall_return macro for systems with vsyscall.
3533
3534 2004-06-11 Antony King <antony.king@st.com>
3535
3536 * libc/include/sys/_types.h: Include <sys/lock.h> and change
3537 _flock_t to be of type _LOCK_RECURSIVE_T.
3538 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
3539 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
3540 (_global_impure_ptr): New declaration.
3541 (_GLOBAL_REENT): Change to be _global_impure_ptr.
3542 * libc/include/sys/stdio.h: Include <sys/lock.h> and
3543 <sys/reent.h>.
3544 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
3545 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3546 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
3547 * libc/stdio/fclose.c: Remove casting of fp lock to
3548 _LOCK_RECURSIVE_T.
3549 * libc/stdio/findfp.c: Ditto.
3550 * libc/stdio/fopen.c: Ditto.
3551 * libc/stdio/freopen.c: Ditto.
3552 * libc/stdio/vfprintf.c: Ditto.
3553 * libc/stdio64/fopen64.c: Ditto.
3554 * libc/stdlib/envlock.c: Add default stubs that use generic
3555 locking code.
3556 * libc/stdlib/mlock.c: Ditto.
3557
3558 Jeff Johnston <jjohnstn@redhat.com>
3559 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
3560 (_flock_t): Change to be a struct containing a single member
3561 named mutex which is of type __flock_mutex_t.
3562
3563 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
3564
3565 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
3566 from /usr/include/asm/signal.h instead of kernel sources. Also
3567 default max to 32 if not found in header file.
3568 * libc/sys/linux/Makefile.in: Regenerated.
3569 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
3570 systems where __syscall_return is not defined.
3571 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
3572 systems to use syscall() function instead of assembler interrupt.
3573
3574 2004-06-09 Toralf Lund <toralf@procaptura.com>
3575
3576 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
3577 files from libc/sys/arm to libc/machine/arm.
3578 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
3579 library build support for files moved from libc/sys/arm.
3580 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
3581 references to access and setjmp.
3582 * configure.host: Add checks for newlib_may_supply_syscalls to
3583 determine whether or not to use sys/arm directory and use
3584 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
3585
3586 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
3587
3588 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
3589 reset digit flags appropriately after we have discovered "0x".
3590 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3591
3592 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
3593
3594 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
3595 from here ...
3596 (_VFPRINTF_R): ... to here so all I/O printf routines
3597 are covered.
3598
3599 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
3600
3601 * libc/search/hash_buf.c: Protect MAX and MIN macros from
3602 redefinition.
3603 * libc/search/hash.c: Ditto.
3604
3605 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3606
3607 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
3608 (_WANT_IO_LONG_LONG): Ditto.
3609 (_WANT_IO_LONG_DOUBLE): Ditto.
3610 * configure.in: Add new configuration options
3611 --enable-newlib-io-long-long and --enable-newlib-io-long-double
3612 which tie to new defines in newlib.hin.
3613 * configure: Regenerated.
3614 * configure.host: Add checks for new configuration options. Also
3615 fix up check for --enable-newlib-io-pos-args so configuration
3616 option will override any default for a given platform.
3617 Remove defining compiler flags for the _WANT_IO* options.
3618 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
3619 instead of looking for old compiler flags.
3620 * libc/stdio/vfscanf.c: Ditto.
3621 * libc/stdio/vfieeefp.h: Ditto.
3622 * libc/machine/powerpc/vfprintf.c: Ditto.
3623 * libc/machine/powerpc/vfscanf.c: Ditto.
3624
3625 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
3626
3627 * testsuite/include/check.h: Add include of <stdio.h>.
3628
3629 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
3630
3631 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
3632
3633 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3634
3635 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
3636 of free.
3637
3638 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3639
3640 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
3641 list for reentrant pointer. Call _vfiprintf_r.
3642 * libc/stdio/siprintf.c (_siprintf_r): New function.
3643 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
3644 pointer argument. Change all callers. Call _VFPRINTF_R.
3645 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
3646 prototypes.
3647
3648 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
3649
3650 * libc/include/sys/param.h: Remove endian info and include
3651 <machine/endian.h> instead.
3652 * libc/include/machine/endian.h: New file.
3653 * libc/include/machine/param.h: Ditto.
3654 * libc/machine/arm/machine/endian.h: Ditto.
3655 * libc/machine/arm/machine/param.h: Ditto.
3656 * libc/sys/arm/sys/param.h: Removed.
3657 * libc/sys/sysvi386/sys/param.h: Ditto.
3658 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
3659
3660 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3661
3662 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
3663 multibyte functions return failure for %C, %S, %lc, and %ls
3664 format specifiers.
3665
3666 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3667
3668 * testsuite/include/check.h (CHECK): Add flush of stdout.
3669
3670 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3671
3672 * libc/include/stdio.h (_ungetc_r): New prototype.
3673 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
3674 (__submore): Add reentrant struct pointer argument.
3675 (ungetc): Change to call _ungetc_r.
3676
3677 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3678
3679 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
3680 function pointer argument.
3681 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
3682 to specify function pointer arguments.
3683 (__fwalk, __fwalk_reent): Ditto.
3684
3685 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
3686
3687 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
3688 CT_INT case.
3689
3690 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3691
3692 * configure.in: Define _MB_CAPABLE if mb supported.
3693 * configure: Regenerated.
3694 * configure.host: Remove manual setting of MB_CAPABLE compiler
3695 flag.
3696 * newlib.hin: Add _MB_CAPABLE flag.
3697 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
3698 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
3699 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
3700 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
3701 * libc/ctype/jp2uc.c: Ditto.
3702 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
3703 * libc/locale/locale.c: Ditto
3704 * libc/machine/powerpc/vfscanf.c: Ditto
3705 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
3706 * libc/stdlib/mblen.c: Ditto
3707 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
3708 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
3709 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
3710 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
3711 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
3712 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
3713 * libc/sys/linux/intl/explodename.c: Ditto
3714 * libc/sys/linux/intl/finddomain.c: Ditto
3715 * libc/sys/linux/intl/l10nflist.c: Ditto
3716 * libc/sys/linux/intl/loadmsgcat.c: Ditto
3717 * libc/sys/linux/intl/localealias.c: Ditto
3718
3719 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3720
3721 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
3722 (__svfscanf_r): In integer conversions, leave out leading zeroes
3723 which are not part of a base prefix.
3724 Keep track of width truncation to fit into buf, not counting left-out
3725 zeroes against width till the truncation has been compensated for.
3726 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
3727
3728 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
3731
3732 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3733
3734 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
3735 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
3736 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
3737 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
3738 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
3739 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
3740 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
3741 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
3742 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
3743 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
3744 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
3745 libc/stdio/getchar.c libc/stdio/getchar_u.c,
3746 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
3747 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
3748 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
3749 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
3750 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
3751 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
3752 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
3753 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
3754 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
3755 libc/stdio/siprintf.c libc/stdio/snprintf.c,
3756 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
3757 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
3758 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
3759 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
3760 libc/stdio/vprintf.c libc/stdio/vscanf.c,
3761 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
3762 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
3763 libc/stdio/wsetup.c: Perform minor formatting changes. Move
3764 copyright notices to top of file, ensure that <_ansi.h> is
3765 included, be consistent with open parentheses, use _DEFUN macro,
3766 include "local.h" where needed, and remove various compiler
3767 warnings.
3768
3769 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
3770
3771 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
3772 (__svfscanf_r): In integer conversions, leave out leading zeroes
3773 which are not part of a base prefix.
3774 Keep track of width truncation to fit into buf, not counting left-out
3775 zeroes against width till the truncation has been compensated for.
3776
3777 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
3778
3779 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
3780
3781 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
3782
3783 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
3784
3785 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
3786
3787 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
3788 to SUSv3.
3789
3790 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3791
3792 * libc/stdio/fclose.c (_fclose_r): New function.
3793 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
3794 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
3795 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
3796 * libc/include/stdio.h (_fclose_r): New prototype.
3797 * libc/stdio/fopen.c: Fix typo in comment.
3798
3799 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
3800
3801 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
3802 to handle _r reentrant functions.
3803
3804 2004-04-08 Eric Christopher <echristo@redhat.com>
3805
3806 * libc/include/machine/setjmp.h: Fix endif locations.
3807
3808 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3809
3810 * libc/time/strptime.c: Add standard includes to avoid
3811 warning messages at compilation time.
3812
3813 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
3814
3815 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
3816 of file.
3817
3818 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
3819
3820 * libc/machine/h8300/Makefile.am: Reformat slightly.
3821 * libc/machine/h8300/Makefile.in: Regenerate.
3822
3823 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
3824
3825 * libc/stdio/findfp.c (__fp_lock_all): Add call to
3826 __sfp_lock_acquire.
3827 (__fp_unlock_all): Add call to __sfp_lock_release.
3828
3829 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
3830
3831 * libc/stdio/fclose.c (fclose): Protect file pointer list when
3832 releasing a file.
3833 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
3834 fwalk.
3835 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
3836 _flockfile/_funlockfile.
3837 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
3838 to recursive.
3839 Change __lock_acquire/__lock_release calls for __sfp_lock to
3840 __sfp_lock_acquire/__sfp_lock_release throughout.
3841 (std): Make sure that file lock is only initialized once.
3842 (__sfp): Move _file initialization. Initialize file lock.
3843 (__sfp_lock_acquire): New function.
3844 (__sfp_lock_release): Ditto.
3845 (__fp_lock_all): Remove __sfp_lock_acquire call.
3846 (__fp_unlock_all): Remove __sfp_lock_release call.
3847 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
3848 Add calls to _flockfile/_funlockfile. Remove
3849 __lock_init_recursive call.
3850 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
3851 * libc/stdio/fwalk.c (__fwalk): New static function.
3852 (_fwalk): Protect file pointer list. Use __fwalk to walk through
3853 file pointers.
3854 * libc/stdio/local.h: Add defines for
3855 __sfp_lock_acquire/__sfp_lock_release when
3856 single threaded. Add function prototypes otherwise.
3857 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
3858 _flockfile/_funlockfile.
3859 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
3860 Add calls to _flockfile/_funlockfile. Remove
3861 __lock_init_recursive call.
3862 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
3863 list.
3864
3865 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
3866
3867 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
3868 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
3869 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
3870 to be __LOCK_INIT_RECURSIVE.
3871
3872 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
3873
3874 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
3875 _exit.c with _exit.S.
3876 * libc/sys/h8300hms/Makefile.in: Regenerate.
3877 * libc/sys/h8300hms/_exit.c: Remove.
3878 * libc/sys/h8300hms/_exit.S: New.
3879
3880 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
3881
3882 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
3883 Change __sfp_lock to static global.
3884 (__fp_lock): New static function.
3885 (__fp_unlock): Ditto.
3886 (__fp_lock_all): New function.
3887 (__fp_unlock_all): Ditto.
3888
3889 2004-02-10 Christopher Faylor <cgf@redhat.com>
3890
3891 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
3892 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
3893 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
3894 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
3895
3896 2004-02-09 Christopher Faylor <cgf@redhat.com>
3897
3898 * libc/include/time.h (TIMER_RELTIME): New define.
3899
3900 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
3901
3902 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
3903 * libc/stdlib/Makefile.in: Regenerated.
3904
3905 2004-02-08 Christopher Faylor <cgf@redhat.com>
3906
3907 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
3908 * libc/include/sys/reent.h (__getreent): Protect against possibly being
3909 defined.
3910 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
3911
3912 2004-02-05 Paul Brook <paul@codesourcery.com>
3913
3914 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
3915 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
3916
3917 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3918
3919 * NEWS: Update with 1.12.0 info.
3920 * README: Ditto.
3921 * acinclude.m4: Change version number to 1.12.0.
3922 * aclocal.m4: Regenerated.
3923 * configure: Ditto.
3924 * doc/aclocal.m4: Ditto.
3925 * doc/configure: Ditto.
3926 * libc/*/aclocal.m4: Ditto.
3927 * libc/*/configure: Ditto.
3928 * libc/libc.texinfo: Ditto.
3929 * libm/*/aclocal.m4: Ditto.
3930 * libm/*/configure: Ditto.
3931 * libm/libm.texinfo: Ditto.
3932 * libc/sys/linux/shared.ld: Add VERS_1.12.
3933
3934 2004-02-02 Joel Sherrill <joel@oarcorp.com>
3935
3936 * configure.host: Add support for tic4x.
3937 * libc/include/machine/ieeefp.h: Ditto.
3938 * libc/include/machine/setjmp.h: Ditto.
3939 * libc/machine/tic4x/Makefile.am: New file.
3940 * libc/machine/tic4x/configure.in: Ditto.
3941 * libc/machine/tic4x/setjmp.S: Ditto.
3942 * libc/machine/tic4x/aclocal.m4: Generated.
3943 * libc/machine/tic4x/configure: Ditto.
3944 * libc/machine/tic4x/Makefile.in: Ditto.
3945
3946 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
3947
3948 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
3949 file chain on the passed in reentrancy struct if it
3950 is _GLOBAL_REENT.
3951
3952 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3953 Jeff Johnston <jjohnstn@redhat.com>
3954
3955 * libc/iconv/iconv.tex: Updated with more information.
3956
3957 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
3958 Jeff Johnston <jjohnstn@redhat.com>
3959
3960 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
3961 struct for std streams and traverse the global reeentrancy
3962 struct for all other streams.
3963
3964 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
3965
3966 * libc/stdlib/atexit.c: Protect global atexit list with a
3967 lock when newlib is multithreaded.
3968
3969 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3970
3971 * configure.in: Add support to generate iconv converter flags
3972 for newlib.h
3973 * newlib.hin: Add iconv converter flags.
3974 * configure: Regenerated.
3975 * libc/Makefile.in: Ditto.
3976 * libc/configure.in: Moved iconv converter parsing logic to
3977 top level newlib configure.in.
3978 * libc/configure: Regenerated.
3979 * libc/iconv/Makefile.in: Ditto.
3980 * libc/iconv/README.TODO
3981 * libc/iconv/charset.aliases: Remove wrong BE aliases for
3982 UCS2/UCS4/UTF8.
3983 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
3984 newlib.h can be used.
3985 * libc/iconv/ces/Makefile.am: Ditto.
3986 * libc/iconv/lib/Makefile.am: Ditto.
3987 * libc/iconv/ccs/Makefile.in: Regenerated.
3988 * libc/iconv/ces/Makefile.in: Ditto.
3989 * libc/iconv/lib/Makefile.in: Ditto.
3990 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
3991 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
3992 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
3993 defined in newlib.h.
3994 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3995 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3996 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3997 * libc/iconv/ccs/cp775.c: Ditto.
3998 * libc/iconv/ccs/cp850.c: Ditto.
3999 * libc/iconv/ccs/cp852.c: Ditto.
4000 * libc/iconv/ccs/cp855.c: Ditto.
4001 * libc/iconv/ccs/cp866.c: Ditto.
4002 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4003 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4004 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4005 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4006 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4007 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4008 * libc/iconv/ccs/jis_x0201.c: Ditto.
4009 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4010 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4011 * libc/iconv/ccs/koi8_r.c: Ditto.
4012 * libc/iconv/ccs/koi8_u.c: Ditto.
4013 * libc/iconv/ccs/ksx1001.c: Ditto.
4014 * libc/iconv/ccs/shift_jis.c: Ditto.
4015 * libc/iconv/ccs/us_ascii.c: Ditto.
4016 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4017 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4018 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4019 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4020 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4021 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4022 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4023 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4024 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4025 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4026 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4027 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4028 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4029 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4030 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4031 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4032 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4033 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4034 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4035 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4036 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4037 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4038 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4039 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4040 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4041 * libc/iconv/ces/euc-kr.c: Ditto.
4042 * libc/iconv/ces/euc-tw.c: Ditto.
4043 * libc/iconv/ces/gb2312.c: Ditto.
4044 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4045 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4046 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4047 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4048 * libc/iconv/ces/utf-16.c: Ditto.
4049 * libc/iconv/ces/utf-8.c: Ditto.
4050 * libc/iconv/lib/aliases.c: Ditto.
4051 * libc/iconv/lib/biccs.c: Ditto.
4052 * libc/iconv/lib/bices.c: Ditto.
4053 * libc/iconv/lib/ccs.c: Ditto.
4054 * libc/iconv/lib/ces.c: Ditto.
4055 * libc/iconv/lib/ces_euc.c: Ditto.
4056 * libc/iconv/lib/ces_iso2022.c: Ditto.
4057 * libc/iconv/lib/ces_table.c: Ditto.
4058 * libc/iconv/lib/converter.c: Ditto.
4059 * libc/iconv/lib/deps.h: Ditto.
4060 * libc/iconv/lib/endian.h: Ditto.
4061 * libc/iconv/lib/iconv.c: Ditto.
4062 * libc/iconv/lib/loaddata.c: Ditto.
4063 * libc/iconv/lib/local.h: Include newlib.h.
4064 * libc/argz/Makefile.in: Regenerated.
4065 * libc/ctype/Makefile.in: Ditto.
4066 * libc/errno/Makefile.in: Ditto.
4067 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4068 * libc/locale/Makefile.in: Ditto.
4069 * libc/misc/Makefile.in: Ditto.
4070 * libc/posix/Makefile.in: Ditto.
4071 * libc/reent/Makefile.in: Ditto.
4072 * libc/search/Makefile.in: Ditto.
4073 * libc/signal/Makefile.in: Ditto.
4074 * libc/stdio/Makefile.in: Ditto.
4075 * libc/stdio64/Makefile.in: Ditto.
4076 * libc/stdlib/Makefile.in: Ditto.
4077 * libc/string/Makefile.in: Ditto.
4078 * libc/syscalls/Makefile.in: Ditto.
4079 * libc/time/Makefile.in: Ditto.
4080 * libc/unix/Makefile.in: Ditto.
4081 * testsuite/newlib.iconv/iconv.exp: New file.
4082 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4083 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4084 * testsuite/newlib.iconv/iconvru.c: Ditto.
4085
4086 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4087
4088 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4089 (--enable-newlib-builtin-converters): Ditto.
4090 * configure.in: Add code to set _ICONV_ENABLED flag.
4091 Set _MB_LEN_MAX to 1 if not mb enabled.
4092 * configure: Regenerated.
4093 * aclocal.m4: Ditto.
4094 * Makefile.in: Ditto.
4095 * newlib.hin: Add _ICONV_ENABLED flag.
4096 * libc/Makefile.am: Add support for iconv.
4097 * libc/configure.in: Ditto.
4098 * libc/Makefile.in: Regenerated.
4099 * libc/aclocal.m4: Ditto.
4100 * libc/configure: Ditto.
4101 * libc/libc.texinfo: Add iconv documentation.
4102 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4103 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4104 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4105 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4106 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4107 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4108 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4109 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4110 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4111 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4112 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4113 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4114 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4115 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4116 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4117 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4118 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4119 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4120 libc/iconv/ccs/binary/big5.cct,
4121 libc/iconv/ccs/binary/cns11643_plane1.cct,
4122 libc/iconv/ccs/binary/cns11643_plane14.cct,
4123 libc/iconv/ccs/binary/cns11643_plane2.cct,
4124 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4125 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4126 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4127 libc/iconv/ccs/binary/iso_8859_1.cct,
4128 libc/iconv/ccs/binary/iso_8859_15.cct,
4129 libc/iconv/ccs/binary/iso_8859_2.cct,
4130 libc/iconv/ccs/binary/iso_8859_4.cct,
4131 libc/iconv/ccs/binary/iso_8859_5.cct,
4132 libc/iconv/ccs/binary/jis_x0201.cct,
4133 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4134 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4135 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4136 libc/iconv/ccs/binary/ksx1001.cct,
4137 libc/iconv/ccs/binary/shift_jis.cct,
4138 libc/iconv/ccs/binary/us_ascii.cct,
4139 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4140 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4141 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4142 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4143 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4144 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4145 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4146 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4147 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4148 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4149 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4150 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4151 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4152 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4153 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4154 * libc/sys/linux/include/iconv.h: Ditto.
4155 * libc/include/sys/_types.h (_iconv_t): Added.
4156 * doc/aclocal.m4: Regenerated.
4157 * doc/configure: Ditto.
4158 * doc/Makefile.in: Ditto.
4159 * iconvdata/Makefile.in: Ditto.
4160 * iconvdata/aclocal.m4: Ditto.
4161 * iconvdata/configure: Ditto.
4162 * libc/*aclocal.m4: Ditto.
4163 * libc/*Makefile.in: Ditto.
4164 * libc/*configure: Ditto.
4165 * libm/*aclocal.m4: Ditto.
4166 * libm/*Makefile.in: Ditto.
4167 * libm/*configure: Ditto.
4168
4169 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4170
4171 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4172 by a lock when newlib is multithreaded.
4173
4174 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4175
4176 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4177 pointer to match C99 spec.
4178 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4179 dst is NULL. Also fix to not alter src pointer when dst is NULL
4180 and call _mbrtowc_r instead of _mbtowc_r.
4181 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4182 of _wctomb_r.
4183
4184 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4185
4186 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4187 * libc/stdio/freopen.c (freopen): Ditto.
4188
4189 2004-01-16 Christopher Faylor <cgf@redhat.com>
4190
4191 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4192
4193 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4194
4195 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4196 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4197 Add calls to __lock_init_recursive and __lock_close_recursive
4198 instead.
4199
4200 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4201
4202 * libc/stdio/fclose.c: Include sys/lock.h.
4203 (fclose): Destroy lock when file is closed.
4204 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4205 member.
4206 * libc/stdio/freopen.c: Include sys/lock.h.
4207 (_freopen_r): Destroy lock when file is closed.
4208 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4209 _lock member.
4210
4211 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4212
4213 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4214 Remove warnings.
4215
4216 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4217
4218 * libc/sys/rtems/sys/queue.h: New file.
4219 * libc/include/sys/signal.h: Reflect renumbering of signals to
4220 fit into 32-bit mask.
4221 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4222 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4223 required. In particular, add the reentrant variants of libc calls.
4224 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4225
4226 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4227
4228 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4229 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4230 Similarly for stdout and stderr.
4231
4232 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4233
4234 * libc/libc.texinfo: Correct escape character for @ sign
4235 so file will be processed by make info. Update copyright years.
4236 * libm/libm.texinfo: Ditto.
4237
4238 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4239
4240 * libc/include/sys/stat.h: No longer include stat-dj.h.
4241 * libc/include/sys/stat-dj.h: Removed.
4242
4243 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4244
4245 * libc/include/wchar.h: Include <sys/reent.h>.
4246
4247 2003-12-05 Christopher Faylor <cgf@redhat.com>
4248
4249 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4250 when defining _mbrtowc.
4251 * libc/stdlib/mbsinit.c: Ditto.
4252 * libc/stdlib/mbsrtowcs.c: Ditto.
4253 * libc/stdlib/wcrtomb.c: Ditto.
4254 * libc/stdlib/wcsrtombs.c: Ditto.
4255 * libc/stdlib/wctob.c: Ditto.
4256
4257 2003-12-05 Christopher Faylor <cgf@redhat.com>
4258
4259 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4260 errors when defining _mbrtowc.
4261 * libc/stdlib/mbsinit.c: Ditto.
4262 * libc/stdlib/mbsrtowcs.c: Ditto.
4263
4264 2003-12-05 Christopher Faylor <cgf@redhat.com>
4265
4266 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4267 errors when defining _mbrtowc.
4268
4269 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4270
4271 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4272 of mb routines for %lc and %ls support.
4273 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4274 %ls, and %S support. Remove CYGNUS_NEC markers and
4275 code within.
4276
4277 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4278
4279 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4280 _wcrtomb_r, and _wcsrtombs_r.
4281
4282 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4283
4284 * libc/include/sys/fcntl.h: Don't define struct flock when on
4285 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4286
4287 2003-11-28 Christopher Faylor <cgf@redhat.com>
4288
4289 * libc/include/sys/signal.h: Use system specific signal file when
4290 building on cygwin.
4291
4292 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4293
4294 * libc/include/stdlib.h (_atoi_r): New prototype.
4295 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4296
4297 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4298
4299 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4300 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4301 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4302
4303 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4304 Jeff Johnston <jjohnstn@redhat.com>
4305
4306 * libc/include/stdlib.h (lldiv_t): New type.
4307 (atoll, llabs, lldiv): New prototypes.
4308 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4309 * libc/stdlib/stdlib.tex: Ditto.
4310 * libc/stdlib/Makefile.in: Regenerated.
4311 * libc/stdlib/atoll.c: New file.
4312 * libc/stdlib/llabs.c: Ditto.
4313 * libc/stdlib/lldiv.c: Ditto.
4314
4315 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4316
4317 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4318 * libc/include/unistd.h: Ditto.
4319 * libc/include/stat.h: Ditto. Also declare struct stat64.
4320
4321 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4322
4323 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4324 specifier to use ch instead of *fmt.
4325
4326 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4327
4328 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4329 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4330 use simple byte logic.
4331
4332 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4333
4334 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4335 _strtold routine for processing floats and doubles since it
4336 is not as fast as _strtod_r.
4337
4338 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4339
4340 * libc/machine/h8300/defines.h : Correct pointer register defines
4341 for normal mode.
4342 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4343 for normal mode.
4344 * libc/machine/h8300/reg_memcpy.S : Likewise.
4345 * libc/machine/h8300/reg_memset.S : Likewise.
4346 * libc/machine/h8300/strcmp.S : Likewise.
4347
4348 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4349
4350 * configure.host: Enable positional arguments for printf
4351 family for Cygwin.
4352 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4353 pointer reference for quad_ptr_t.
4354
4355 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4356
4357 * libc/stdio/scanf.c: Don't include local.h more than once.
4358
4359 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4360
4361 * libc/include/sys/fcntl.h: Declare _open64.
4362 * libc/include/sys/stat.h: Declare _fstat64.
4363 * libc/include/sys/unistd.h: Declare _lseek64.
4364
4365 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4366
4367 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
4368 (setprogname): Ditto.
4369
4370 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
4371
4372 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
4373 to use (Ebits + 1) which accounts for the sign-bit.
4374
4375 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4376
4377 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
4378 x86 build.
4379 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
4380 and set up default flags to pass to aclocal.
4381 * iconvdata/Makefile.in: Regenerated.
4382 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
4383 and getpwuid routines.
4384 * libc/sys/linux/Makefile.in: Regenerated.
4385 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
4386 applications to link with newlib's shared libc library.
4387 * libc/sys/linux/getpwnam.c: Ditto.
4388 * libc/sys/linux/getpwuid.c: Ditto.
4389 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
4390 that were formerly supplied by /usr/include/linux/types.h with
4391 kernel types.
4392 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
4393 test _ELIX_LEVEL macro.
4394
4395 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
4396
4397 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
4398 referring to _NO_LONGLONG macro.
4399
4400 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
4401
4402 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
4403 in LOG() macro so this will compile on gcc 3.4 and up.
4404 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4405 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4406 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4407 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4408 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4409 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4410 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4411 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4412 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4413 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4414 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4415 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4416 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4417 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4418 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4419 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4420 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4421 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4422 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4423 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4424 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4425 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4426 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4427 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4428 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4429 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4430 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4431 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4432 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4433 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4434 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4435 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4436 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4437 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4438 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4439 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4440
4441 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4442 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4443
4444 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
4445 %ls, %S, %lc, and %C format specifiers.
4446 (get_arg): Ditto.
4447 * libc/stdio/sprintf.c: Add documentation regarding new
4448 format specifiers added in vfprintf.c.
4449
4450 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
4451
4452 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
4453 to make code work as specified in standard.
4454
4455 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
4456
4457 * configure.in: Use absolute newlib basedir when forming
4458 CC_FOR_NEWLIB include options.
4459 * configure: Regenerated.
4460
4461 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4462
4463 * libc/string/wcsnlen.c: New file.
4464 * libc/include/wchar.h: Add wcsnlen prototype.
4465 * libc/string/Makefile.am: Add wcsnlen support.
4466 * libc/string/Makefile.in: Regenerated.
4467 * libc/string/wcstrings.tex: Add wcsnlen documentation.
4468
4469 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
4470
4471 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
4472
4473 2003-10-20 Bob Wilson <bob.wilson@acm.org>
4474
4475 * libc/locale/locale.c: Use double quotes in code.
4476 * libc/locale/locale.tex: Likewise.
4477 * libc/libc.texinfo: Hyphenate "floating-point".
4478 * libc/machine/necv70/necv70.tex: Likewise.
4479 * libc/stdio/sprintf.c: Likewise.
4480 * libc/stdio/sscanf.c: Likewise.
4481 * libc/stdlib/atof.c: Likewise.
4482 * libc/stdlib/ldtoa.c: Fix comment typo.
4483 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
4484 * libc/stdlib/ldiv.c: Likewise.
4485 * libm/common/s_expm1.c: Likewise.
4486 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
4487 * libm/common/s_infinity: Hyphenate "double- and single-precision".
4488 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
4489 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
4490 and "floating-point".
4491 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
4492 * libm/math/e_pow.c: Fix comment typo.
4493 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
4494 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
4495 * libm/math/s_atan.c: Likewise.
4496 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
4497 * libm/math/s_isnan.c: Hyphenate "single-precision" and
4498 "floating-point". Use "nonzero".
4499 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4500 * libm/math/w_acos.c: Likewise.
4501 * libm/math/w_acosh.c: Likewise.
4502 * libm/math/w_asin.c: Likewise.
4503 * libm/math/w_atan2.c: Likewise.
4504 * libm/math/w_atanh.c: Likewise.
4505 * libm/math/w_cosh.c: Likewise.
4506 * libm/math/w_exp.c: Likewise.
4507 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
4508 version of 2^x in the description.
4509 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
4510 * libm/math/w_gamma.c: Likewise.
4511 * libm/math/w_hypot.c: Likewise.
4512 * libm/math/w_j0.c: Likewise.
4513 * libm/math/w_sinh.c: Likewise.
4514 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
4515 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
4516 "floating-point".
4517 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
4518 * libm/mathfp/e_atanh.c: Likewise.
4519 * libm/mathfp/e_hypot.c: Likewise.
4520 * libm/mathfp/er_lgamma.c: Likewise.
4521 * libm/mathfp/s_acos.c: Likewise.
4522 * libm/mathfp/s_asine.c: Likewise.
4523 * libm/mathfp/s_asinh.c: Likewise.
4524 * libm/mathfp/s_atan.c: Likewise.
4525 * libm/mathfp/s_atan2.c: Likewise.
4526 * libm/mathfp/s_atangent.c: Likewise.
4527 * libm/mathfp/s_cosh.c: Likewise.
4528 * libm/mathfp/s_exp.c: Likewise.
4529 * libm/mathfp/s_fmod.c: Likewise.
4530 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
4531 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
4532 "floating-point". Use "nonzero".
4533 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
4534 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
4535 * libm/mathfp/s_sineh.c: Likewise.
4536 * libm/mathfp/w_jn.c: Likewise.
4537
4538 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
4539
4540 * Makefile.am: Add $(MAKE) comments to multido and multiclean
4541 lines, to enable parallel make.
4542 * Makefile.in: Rebuilt.
4543
4544 2003-10-14 Christopher Faylor <cgf@redhat.com>
4545
4546 * libc/time/clock.c: Clarify documentation of return value when no
4547 measurement is available.
4548
4549 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
4550
4551 * libm/configure.in: Check libm_machine_dir, not machine_dir.
4552 * libm/configure: Regenerate.
4553 * libm/Makefile.in: Ditto.
4554
4555 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
4556
4557 * libc/machine/sh/strncpy.S: New file.
4558 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
4559 * libc/machine/sh/Makefile.in: Regenerate.
4560
4561 2003-09-11 James E Wilson <wilson@specifixinc.com>
4562
4563 * MAINTAINERS: Update my e-mail address.
4564
4565 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
4566
4567 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
4568
4569 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
4570
4571 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
4572 prototype.
4573 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
4574 _simdldcheck(). Also add unsigned cast for index variable in
4575 for loop using sizeof operators.
4576 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
4577 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
4578 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
4579 plus fix shift calculation for determining if there is a
4580 carry from word2.
4581
4582 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
4583
4584 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
4585 setgroupent for Cygwin.
4586
4587 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
4588
4589 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
4590 is different for _REENT_SMALL than when using regular reent
4591 struct.
4592
4593 2003-09-05 Ben Elliston <bje@wasabisystems.com>
4594
4595 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
4596 modern versions of GCC issue a warning.
4597
4598 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
4599 after continuation characters that induces a warning from modern
4600 versions of GCC.
4601
4602 2003-09-04 Ben Elliston <bje@wasabisystems.com>
4603
4604 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
4605 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
4606
4607 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
4608
4609 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
4610 * libc/stdlib/exit.c : Ditto.
4611 * libc/stdlib/on_exit.c: Ditto.
4612
4613 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
4614
4615 * libc/include/reent.h: Define stat64 as __stat64 when
4616 compiling newlib for Cygwin.
4617
4618 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4619
4620 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
4621 __stat64 when compiling newlib.
4622
4623 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
4624
4625 * libc/include/stdio.h: Allow the io64 function prototypes for
4626 Cygwin when compiling newlib.
4627 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
4628 to expose the Cygwin struct __stat64 type.
4629 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
4630 pointer.
4631 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
4632
4633 2003-08-23 Christopher Faylor <cgf@redhat.com>
4634
4635 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
4636 definition to fseeko64.
4637
4638 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
4639
4640 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
4641 * libc/stdio: Globally remove/replace all references to fp->_data.
4642 Replace with _REENT or _GLOBAL_REENT where appropriate.
4643 * libc/stdio/asprintf.c: Ditto.
4644 * libc/stdio/fclose.c: Ditto.
4645 * libc/stdio/fvwrite.c: Ditto.
4646 * libc/stdio/makebuf.c: Ditto.
4647 * libc/stdio/refill.c: Ditto.
4648 * libc/stdio/local.h: Ditto.
4649 * libc/stdio/setvbuf.c: Ditto.
4650 * libc/stdio/sscanf.c: Ditto.
4651 * libc/stdio/stdio.c: Ditto.
4652 * libc/stdio/ungetc.c: Ditto.
4653 * libc/stdio/vfscanf.c: Ditto.
4654 * libc/stdio/vsscanf.c: Ditto.
4655 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
4656 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
4657 * libc/stdio/vsnprintf.c: Ditto.
4658 * libc/stdio/vsprintf.c: Ditto.
4659 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
4660 instead of _REENT to walk file list.
4661 * libc/stdio/fflush.c: Ditto.
4662 * libc/stdio/fgetpos.c: Add reentrant version and have regular
4663 version call reentrant version with _REENT argument.
4664 * libc/stdio/fsetpos.c: Ditto.
4665 * libc/stdio/fseek.c: Ditto.
4666 * libc/stdio/fseeko.c: Ditto.
4667 * libc/stdio/ftell.c: Ditto.
4668 * libc/stdio/ftello.c: Ditto.
4669 * libc/stdio/freopen.c: Ditto.
4670 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
4671 new files to chain. Also use _GLOBAL_REENT pointer for
4672 cleaning up.
4673 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
4674 * libc/stdio/siprintf.c: Ditto.
4675 * libc/stdio/iprintf.c: Ditto.
4676 * libc/stdio/fprintf.c: Ditto.
4677 * libc/stdio/printf.c: Ditto.
4678 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
4679 * libc/stdio/sprintf.c: Ditto.
4680 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
4681 * libc/stdio/rewind.c: Call _fseek_r directly.
4682 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
4683 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
4684 data pointer.
4685 (get_arg): Add extra struct _reent pointer argument.
4686 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
4687 to fp->_data.
4688 * libc/stdio64/fopen64.c: Ditto.
4689 * libc/stdio64/freopen64.c: Ditto.
4690 * libc/stdio64/fsetpos64.c: Ditto.
4691 * libc/stdio64/ftello64.c: Ditto.
4692 * libc/stdio64/local64.h: Ditto.
4693 * libc/stdio64/stdio64.c: Ditto.
4694 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
4695 _fstat64_r for the meantime.
4696
4697 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
4698
4699 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
4700 overflow detection.
4701
4702 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
4703
4704 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
4705 extern "C".
4706
4707 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
4708
4709 * libc/include/math.h: Add prototypes for __signbitf and
4710 __signbitd.
4711
4712 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
4713
4714 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
4715 correct type of conversion when dealing with EUCJP or SJIS.
4716 * libc/ctype/iswblank.c: Ditto.
4717 * libc/ctype/iswcntrl.c: Ditto.
4718 * libc/ctype/iswprint.c: Ditto.
4719 * libc/ctype/iswpunct.c: Ditto.
4720 * libc/ctype/iswspace.c: Ditto.
4721 * libc/ctype/towlower.c: Ditto.
4722 * libc/ctype/towupper.c: Ditto.
4723
4724 2003-07-31 Nick Clifton <nickc@redhat.com>
4725
4726 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
4727 before calling main, in case it saves its argument registers.
4728 Remove reference to deleted v850ea port.
4729 * configure.host: Remove reference to deleted v850ea port.
4730 Do not use -mv850 when building for v850e target. This
4731 prevents the ctbp system register from being initialised.
4732
4733 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
4734
4735 * libc/stdio/vfprintf.c: Set output size to 1 when
4736 we have %f format with precision 0 and # flag not specified.
4737
4738 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
4739
4740 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
4741 .am33_2.
4742
4743 2003-07-25 Christopher Faylor <cgf@redhat.com>
4744
4745 * libc/stdio64/fdopen64.c: Include sys/lock.h.
4746
4747 2003-07-25 Christopher Faylor <cgf@redhat.com>
4748
4749 * configure.host: Find cygwin include directory, when appropriate.
4750
4751 2003-07-24 Christopher Faylor <cgf@redhat.com>
4752
4753 * libc/stdio64/fdopen64.c: New file.
4754 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
4755 * libc/stdio64/Makefile.in: Regenerate.
4756 * libc/include/stdio.h (fdopen64): Define.
4757 * libc/include/stdio.h (_fdopen64_r): Ditto.
4758
4759 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
4760
4761 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
4762 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
4763 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
4764 restore callee-saved FP registers.
4765
4766 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
4767
4768 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
4769 for __sh__.
4770 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
4771 truncate.c.
4772 * libc/sys/sh/Makefile.in: Regenerate.
4773 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
4774 * libc/sys/sh/ftruncate.c: New file.
4775 * libc/sys/sh/truncate.c: Likewise.
4776
4777 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
4778
4779 * libc/include/math.h (nan, nanf): Update prototype to C99.
4780 * libm/common/s_nan.c (nan): Likewise.
4781 * libm/common/s_nanf.c (nanf, nan): Likewise.
4782 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
4783
4784 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
4785
4786 * libc/include/stdbool.h: Removed as this is defined by gcc.
4787
4788 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
4789
4790 * libc/include/stdbool.h: New header file defined by C99.
4791
4792 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4793
4794 * libc/include/sys/types.h (int8_t): Make signed.
4795
4796 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4797
4798 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
4799
4800 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
4801
4802 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
4803 on if we actually created the shared memory file exclusively.
4804
4805 2003-06-27 Joe Vornehm <joev@mitre.org>
4806
4807 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
4808 comparisons to account for unsigned internal value w.
4809
4810 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
4811
4812 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
4813 wrbuf for a non-creating open.
4814
4815 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
4816
4817 * libc/machine/h8300/setarch.h: New.
4818 * libc/machine/h8300/memcpy.S: Use it.
4819 * libc/machine/h8300/memset.S: Likewise.
4820 * libc/machine/h8300/reg_memcpy.S: Likewise.
4821 * libc/machine/h8300/reg_memset.S: Likewise.
4822 * libc/machine/h8300/setjmp.S: Likewise.
4823 * libc/machine/h8300/strcmp.S: Likewise.
4824
4825 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
4826
4827 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
4828 to atexit().
4829
4830 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4831
4832 * configure.host (iq2000): Add tabs.
4833
4834 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4835
4836 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
4837 to handle latest on_exit change.
4838 * libc/sys/linux/Makefile.am: Remove special compilation
4839 for malloc.c and mcheck.c.
4840 * libc/sys/linux/Makefile.in: Regenerated.
4841 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
4842 after including <features.h>.
4843 * libc/sys/linux/mcheck.c: Ditto.
4844 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
4845 for <features.h>.
4846 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
4847 add -DNOT_IN_libc to C flags.
4848 * libc/sys/linux/intl/Makefile.in: Regenerated.
4849 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
4850 * libc/sys/linux/linuxthreads/semaphore.h: Include
4851 <bits/pthreadtypes.h>.
4852 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
4853 including <features.h>.
4854 * libc/sys/linux/sys/lock.h: Ditto.
4855
4856 2003-06-11 Nick Clifton <nickc@redhat.com>
4857
4858 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
4859 _on_exit_args_ptr.
4860
4861 2003-06-10 Stan Cox <scox@redhat.com>
4862 Anthony Green <green@redhat.com>
4863
4864 * configure.host: Add iq2000 support.
4865 * newlib/libc/include/machine/ieeefp.h: Ditto.
4866 * newlib/libc/include/machine/setjmp.h: Ditto.
4867 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
4868 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
4869 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
4870 libc/machine/iq2000/Makefile.in: New files.
4871
4872 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
4873
4874 * libc/sys/h8300hms/setarch.h: New file.
4875 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
4876 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
4877 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
4878 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
4879
4880 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
4881
4882 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
4883 definition.
4884 * libc/argz/argz_add_sep.c: Ditto.
4885 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
4886 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
4887 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
4888 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
4889 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
4890 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
4891 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
4892 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
4893 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
4894 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
4895 * libc/posix/execl.c libc/posix/execle.c: Ditto.
4896 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
4897 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
4898 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
4899 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
4900 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
4901 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
4902 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
4903 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
4904 * libc/search/twalk.c libc/signal/signal.c: Ditto.
4905
4906 2003-06-05 Nick Clifton <nickc@redhat.com>
4907
4908 * libc/include/sys/reent.h (struct _on_exit_args): New
4909 structure containing fields used by the on_exit() function.
4910 (struct _atexit): Include struct _on_exit_args. For
4911 _REENT_SMALL do his via a pointer that is initialised when
4912 needed.
4913 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
4914 structure, if one has been allocated.
4915 * libc/stdlib/atexit.c (atexit): Update indirection to
4916 _fntypes field.
4917 * libc/stdlib/on_exit.c (on_exit): Indirect via the
4918 _on_exit_args structure. For _REENT_SMALL, allocate a
4919 structure if one does not exist.
4920 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
4921 structure.
4922
4923 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
4924
4925 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
4926 * libc/sys/linux/net/Makefile.in: Regenerated.
4927
4928 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
4929
4930 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
4931 * libc/reent/fcntlr.c: Ditto.
4932 * libc/reent/fstat64r.c: Ditto.
4933 * libc/reent/linkr.c: Ditto.
4934 * libc/reent/lseek64r.c: Ditto.
4935 * libc/reent/lseekr.c: Ditto.
4936 * libc/reent/openr.c: Ditto.
4937 * libc/reent/readr.c: Ditto.
4938 * libc/reent/reent.c: Ditto.
4939 * libc/reent/sbrkr.c: Ditto.
4940 * libc/reent/signalr.c: Ditto.
4941 * libc/reent/signgam.c: Ditto.
4942 * libc/reent/statr.c: Ditto.
4943 * libc/reent/timer.c: Ditto.
4944 * libc/reent/unlinkr.c: Ditto.
4945 * libc/reent/writer.c: Ditto.
4946 * libc/syscalls/sysclose.c: Ditto.
4947 * libc/syscalls/sysexecve.c: Ditto.
4948 * libc/syscalls/sysfcntl.c: Ditto.
4949 * libc/syscalls/sysfork.c: Ditto.
4950 * libc/syscalls/sysfstat.c: Ditto.
4951 * libc/syscalls/sysgetpid.c: Ditto.
4952 * libc/syscalls/sysgettod.c: Ditto.
4953 * libc/syscalls/syskill.c: Ditto.
4954 * libc/syscalls/syslink.c: Ditto.
4955 * libc/syscalls/syslseek.c: Ditto.
4956 * libc/syscalls/sysopen.c: Ditto.
4957 * libc/syscalls/sysread.c: Ditto.
4958 * libc/syscalls/syssbrk.c: Ditto.
4959 * libc/syscalls/sysstat.c: Ditto.
4960 * libc/syscalls/systimes.c: Ditto.
4961 * libc/syscalls/sysunlink.c: Ditto.
4962 * libc/syscalls/syswait.c: Ditto.
4963 * libc/syscalls/syswrite.c: Ditto.
4964
4965 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
4966
4967 * libc/time/tzset_r.c: Change local variables that are
4968 set via sscanf using the %h format specifier to be unsigned short
4969 instead of int.
4970
4971 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
4972
4973 * configure.host: Allow i[34567]86 variant.
4974 * configure.in: Likewise.
4975 * README: Likewise to the docs.
4976 * configure: Regenerated.
4977 * Makefile.in: Ditto.
4978
4979 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
4980 Tom Fitzsimmons <fitzsim@redhat.com>
4981
4982 * configure.in: Add iconvdata support for x86 linux.
4983 * configure: Regenerated.
4984 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
4985 library, iconv, and linuxthreads support.
4986 * libc/sys/linux/configure.in: Ditto.
4987 * libc/sys/linux/Makefile.in: Regenerated.
4988 * libc/sys/linux/configure: Ditto.
4989 * iconvdata/EUC-JP.irreversible: New file.
4990 * iconvdata/Makefile.am: Ditto.
4991 * iconvdata/Makefile.in: Ditto.
4992 * iconvdata/SJIS.irreversible: Ditto.
4993 * iconvdata/aclocal.m4: Ditto.
4994 * iconvdata/configure: Ditto.
4995 * iconvdata/configure.in: Ditto.
4996 * iconvdata/dummy.c: Ditto.
4997 * iconvdata/euc-jp.c: Ditto.
4998 * iconvdata/gconv-modules: Ditto.
4999 * iconvdata/jis0201.c: Ditto.
5000 * iconvdata/jis0201.h: Ditto.
5001 * iconvdata/jis0208.c: Ditto.
5002 * iconvdata/jis0208.h: Ditto.
5003 * iconvdata/jis0212.c: Ditto.
5004 * iconvdata/jis0212.h: Ditto.
5005 * iconvdata/sjis.c: Ditto.
5006 * libc/include/errno.h: Protect definition of error_t.
5007 * libc/sys/linux/gethostid.c: New file.
5008 * libc/sys/linux/sethostid.c: Ditto.
5009 * libc/sys/linux/dl/Makefile.am: Ditto.
5010 * libc/sys/linux/dl/Makefile.in: Ditto.
5011 * libc/sys/linux/dl/abi-tag.h: Ditto.
5012 * libc/sys/linux/dl/atomicity.h: Ditto.
5013 * libc/sys/linux/dl/dl-addr.c: Ditto.
5014 * libc/sys/linux/dl/dl-cache.c: Ditto.
5015 * libc/sys/linux/dl/dl-cache.h: Ditto.
5016 * libc/sys/linux/dl/dl-close.c: Ditto.
5017 * libc/sys/linux/dl/dl-debug.c: Ditto.
5018 * libc/sys/linux/dl/dl-deps.c: Ditto.
5019 * libc/sys/linux/dl/dl-dst.h: Ditto.
5020 * libc/sys/linux/dl/dl-error.c: Ditto.
5021 * libc/sys/linux/dl/dl-fini.c: Ditto.
5022 * libc/sys/linux/dl/dl-init.c: Ditto.
5023 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5024 * libc/sys/linux/dl/dl-libc.c: Ditto.
5025 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5026 * libc/sys/linux/dl/dl-load.c: Ditto.
5027 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5028 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5029 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5030 * libc/sys/linux/dl/dl-misc.c: Ditto.
5031 * libc/sys/linux/dl/dl-object.c: Ditto.
5032 * libc/sys/linux/dl/dl-open.c: Ditto.
5033 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5034 * libc/sys/linux/dl/dl-profile.c: Ditto.
5035 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5036 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5037 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5038 * libc/sys/linux/dl/dl-support.c: Ditto.
5039 * libc/sys/linux/dl/dl-sym.c: Ditto.
5040 * libc/sys/linux/dl/dl-version.c: Ditto.
5041 * libc/sys/linux/dl/dlfcn.h: Ditto.
5042 * libc/sys/linux/dl/do-lookup.h: Ditto.
5043 * libc/sys/linux/dl/do-rel.h: Ditto.
5044 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5045 * libc/sys/linux/dl/kernel-features.h: Ditto.
5046 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5047 * libc/sys/linux/dl/libintl.h: Ditto.
5048 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5049 * libc/sys/linux/dl/unsecvars.h: Ditto.
5050 * libc/sys/linux/iconv/Makefile.am: Ditto.
5051 * libc/sys/linux/iconv/Makefile.in: Ditto.
5052 * libc/sys/linux/iconv/categories.def: Ditto.
5053 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5054 * libc/sys/linux/iconv/gconv.c: Ditto.
5055 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5056 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5057 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5058 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5059 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5060 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5061 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5062 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5063 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5064 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5065 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5066 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5067 * libc/sys/linux/iconv/hash-string.h: Ditto.
5068 * libc/sys/linux/iconv/iconv.c: Ditto.
5069 * libc/sys/linux/iconv/iconv.h: Ditto.
5070 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5071 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5072 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5073 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5074 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5075 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5076 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5077 * libc/sys/linux/iconv/loop.c: Ditto.
5078 * libc/sys/linux/iconv/skeleton.c: Ditto.
5079 * libc/sys/linux/iconv/strtab.c: Ditto.
5080 * libc/sys/linux/include/dl-hash.h: Ditto.
5081 * libc/sys/linux/include/dlfcn.h: Ditto.
5082 * libc/sys/linux/include/fnmatch.h: Ditto.
5083 * libc/sys/linux/include/gconv.h: Ditto.
5084 * libc/sys/linux/include/glob.h: Ditto.
5085 * libc/sys/linux/include/hesiod.h: Ditto.
5086 * libc/sys/linux/include/ifaddrs.h: Ditto.
5087 * libc/sys/linux/include/libc_private.h: Ditto.
5088 * libc/sys/linux/include/link.h: Ditto.
5089 * libc/sys/linux/include/namespace.h: Ditto.
5090 * libc/sys/linux/include/netconfig.h: Ditto.
5091 * libc/sys/linux/include/netdb.h: Ditto.
5092 * libc/sys/linux/include/nsswitch.h: Ditto.
5093 * libc/sys/linux/include/regex.h: Ditto.
5094 * libc/sys/linux/include/resolv.h: Ditto.
5095 * libc/sys/linux/include/rune.h: Ditto.
5096 * libc/sys/linux/include/runetype.h: Ditto.
5097 * libc/sys/linux/include/semaphore.h: Ditto.
5098 * libc/sys/linux/include/setlocale.h: Ditto.
5099 * libc/sys/linux/include/un-namespace.h: Ditto.
5100 * libc/sys/linux/include/wordexp.h: Ditto.
5101 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5102 * libc/sys/linux/include/arpa/inet.h: Ditto.
5103 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5104 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5105 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5106 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5107 * libc/sys/linux/include/net/bpf.h: Ditto.
5108 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5109 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5110 * libc/sys/linux/include/net/bridge.h: Ditto.
5111 * libc/sys/linux/include/net/ethernet.h: Ditto.
5112 * libc/sys/linux/include/net/fddi.h: Ditto.
5113 * libc/sys/linux/include/net/if.h: Ditto.
5114 * libc/sys/linux/include/net/if_arc.h: Ditto.
5115 * libc/sys/linux/include/net/if_arp.h: Ditto.
5116 * libc/sys/linux/include/net/if_atm.h: Ditto.
5117 * libc/sys/linux/include/net/if_dl.h: Ditto.
5118 * libc/sys/linux/include/net/if_gif.h: Ditto.
5119 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5120 * libc/sys/linux/include/net/if_llc.h: Ditto.
5121 * libc/sys/linux/include/net/if_media.h: Ditto.
5122 * libc/sys/linux/include/net/if_mib.h: Ditto.
5123 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5124 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5125 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5126 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5127 * libc/sys/linux/include/net/if_stf.h: Ditto.
5128 * libc/sys/linux/include/net/if_tap.h: Ditto.
5129 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5130 * libc/sys/linux/include/net/if_tun.h: Ditto.
5131 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5132 * libc/sys/linux/include/net/if_types.h: Ditto.
5133 * libc/sys/linux/include/net/if_var.h: Ditto.
5134 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5135 * libc/sys/linux/include/net/intrq.h: Ditto.
5136 * libc/sys/linux/include/net/iso88025.h: Ditto.
5137 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5138 * libc/sys/linux/include/net/netisr.h: Ditto.
5139 * libc/sys/linux/include/net/pfil.h: Ditto.
5140 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5141 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5142 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5143 * libc/sys/linux/include/net/radix.h: Ditto.
5144 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5145 * libc/sys/linux/include/net/route.h: Ditto.
5146 * libc/sys/linux/include/net/slcompress.h: Ditto.
5147 * libc/sys/linux/include/net/slip.h: Ditto.
5148 * libc/sys/linux/include/net/zlib.h: Ditto.
5149 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5150 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5151 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5152 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5153 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5154 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5155 * libc/sys/linux/include/netinet/in.h: Ditto.
5156 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5157 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5158 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5159 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5160 * libc/sys/linux/include/netinet/ip.h: Ditto.
5161 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5162 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5163 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5164 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5165 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5166 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5167 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5168 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5169 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5170 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5171 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5172 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5173 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5174 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5175 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5176 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5177 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5178 * libc/sys/linux/include/netinet/udp.h: Ditto.
5179 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5180 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5181 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5182 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5183 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5184 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5185 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5186 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5187 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5188 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5189 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5190 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5191 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5192 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5193 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5194 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5195 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5196 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5197 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5198 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5199 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5200 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5201 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5202 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5203 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5204 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5205 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5206 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5207 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5208 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5209 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5210 * libc/sys/linux/include/netns/idp.h: Ditto.
5211 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5212 * libc/sys/linux/include/netns/ns.h: Ditto.
5213 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5214 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5215 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5216 * libc/sys/linux/include/netns/sp.h: Ditto.
5217 * libc/sys/linux/include/netns/spidp.h: Ditto.
5218 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5219 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5220 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5221 * libc/sys/linux/include/rpc/Makefile: Ditto.
5222 * libc/sys/linux/include/rpc/auth.h: Ditto.
5223 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5224 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5225 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5226 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5227 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5228 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5229 * libc/sys/linux/include/rpc/des.h: Ditto.
5230 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5231 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5232 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5233 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5234 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5235 * libc/sys/linux/include/rpc/raw.h: Ditto.
5236 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5237 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5238 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5239 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5240 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5241 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5242 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5243 * libc/sys/linux/include/rpc/svc.h: Ditto.
5244 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5245 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5246 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5247 * libc/sys/linux/include/rpc/types.h: Ditto.
5248 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5249 * libc/sys/linux/intl/Makefile.am: Ditto.
5250 * libc/sys/linux/intl/Makefile.in: Ditto.
5251 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5252 * libc/sys/linux/intl/catgets.c: Ditto.
5253 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5254 * libc/sys/linux/intl/config.h: Ditto.
5255 * libc/sys/linux/intl/dcgettext.c: Ditto.
5256 * libc/sys/linux/intl/dcigettext.c: Ditto.
5257 * libc/sys/linux/intl/dcngettext.c: Ditto.
5258 * libc/sys/linux/intl/dgettext.c: Ditto.
5259 * libc/sys/linux/intl/dngettext.c: Ditto.
5260 * libc/sys/linux/intl/explodename.c: Ditto.
5261 * libc/sys/linux/intl/finddomain.c: Ditto.
5262 * libc/sys/linux/intl/gettext.c: Ditto.
5263 * libc/sys/linux/intl/gettext.h: Ditto.
5264 * libc/sys/linux/intl/gettextP.h: Ditto.
5265 * libc/sys/linux/intl/hash-string.h: Ditto.
5266 * libc/sys/linux/intl/l10nflist.c: Ditto.
5267 * libc/sys/linux/intl/loadinfo.h: Ditto.
5268 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5269 * libc/sys/linux/intl/locale.alias: Ditto.
5270 * libc/sys/linux/intl/localealias.c: Ditto.
5271 * libc/sys/linux/intl/ngettext.c: Ditto.
5272 * libc/sys/linux/intl/open_catalog.c: Ditto.
5273 * libc/sys/linux/intl/plural.c: Ditto.
5274 * libc/sys/linux/intl/plural.y: Ditto.
5275 * libc/sys/linux/intl/stpcpy.c: Ditto.
5276 * libc/sys/linux/intl/textdomain.c: Ditto.
5277 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5278 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5279 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5280 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5281 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5282 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5283 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5284 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5285 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5286 * libc/sys/linux/linuxthreads/config.h: Ditto.
5287 * libc/sys/linux/linuxthreads/configure: Ditto.
5288 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5289 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5290 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5291 * libc/sys/linux/linuxthreads/events.c: Ditto.
5292 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5293 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5294 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5295 * libc/sys/linux/linuxthreads/join.c: Ditto.
5296 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5297 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5298 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5299 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5300 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5301 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5302 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5303 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5304 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5305 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5306 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5307 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5308 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5309 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5310 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5311 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5312 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5313 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5314 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5315 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5316 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5317 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5318 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5319 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5320 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5321 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5322 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5323 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5324 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5325 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5326 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5327 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5328 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5329 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5330 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5331 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5332 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5333 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5334 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5335 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5336 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5337 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5338 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5339 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5340 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5341 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5342 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5343 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5344 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5345 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5346 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5347 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5348 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5349 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5350 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5351 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5352 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5353 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5354 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5355 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5356 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5357 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5358 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5359 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5360 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5361 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5362 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5363 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5364 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5365 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5366 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5367 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
5368 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
5369 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
5370 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
5371 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
5372 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
5373 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
5374 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
5375 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
5376 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
5377 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
5378 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
5379 * libc/sys/linux/linuxthreads/unload.c: Ditto.
5380 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
5381 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
5382 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
5383 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
5384 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
5385 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
5386 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
5387 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
5388 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
5389 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
5390 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
5391 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
5392 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
5393 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5394 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
5395 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
5396 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
5397 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
5398 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
5399 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
5400 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
5401 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5402 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
5403 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
5404 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
5405 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
5406 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
5407 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
5408 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
5409 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
5410 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
5411 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
5412 * libc/sys/linux/net/Makefile.am: Ditto.
5413 * libc/sys/linux/net/Makefile.in: Ditto.
5414 * libc/sys/linux/net/addr2ascii.3: Ditto.
5415 * libc/sys/linux/net/addr2ascii.c: Ditto.
5416 * libc/sys/linux/net/ascii2addr.c: Ditto.
5417 * libc/sys/linux/net/base64.c: Ditto.
5418 * libc/sys/linux/net/bindresvport.c: Ditto.
5419 * libc/sys/linux/net/byteorder.3: Ditto.
5420 * libc/sys/linux/net/ether_addr.c: Ditto.
5421 * libc/sys/linux/net/ethers.3: Ditto.
5422 * libc/sys/linux/net/getaddrinfo.3: Ditto.
5423 * libc/sys/linux/net/getaddrinfo.c: Ditto.
5424 * libc/sys/linux/net/gethostbydns.c: Ditto.
5425 * libc/sys/linux/net/gethostbyht.c: Ditto.
5426 * libc/sys/linux/net/gethostbyname.3: Ditto.
5427 * libc/sys/linux/net/gethostbynis.c: Ditto.
5428 * libc/sys/linux/net/gethostnamadr.c: Ditto.
5429 * libc/sys/linux/net/getifaddrs.3: Ditto.
5430 * libc/sys/linux/net/getifaddrs.c: Ditto.
5431 * libc/sys/linux/net/getipnodebyname.3: Ditto.
5432 * libc/sys/linux/net/getnameinfo.3: Ditto.
5433 * libc/sys/linux/net/getnameinfo.c: Ditto.
5434 * libc/sys/linux/net/getnetbydns.c: Ditto.
5435 * libc/sys/linux/net/getnetbyht.c: Ditto.
5436 * libc/sys/linux/net/getnetbynis.c: Ditto.
5437 * libc/sys/linux/net/getnetent.3: Ditto.
5438 * libc/sys/linux/net/getnetnamadr.c: Ditto.
5439 * libc/sys/linux/net/getproto.c: Ditto.
5440 * libc/sys/linux/net/getprotoent.3: Ditto.
5441 * libc/sys/linux/net/getprotoent.c: Ditto.
5442 * libc/sys/linux/net/getprotoname.c: Ditto.
5443 * libc/sys/linux/net/getservbyname.c: Ditto.
5444 * libc/sys/linux/net/getservbyport.c: Ditto.
5445 * libc/sys/linux/net/getservent.3: Ditto.
5446 * libc/sys/linux/net/getservent.c: Ditto.
5447 * libc/sys/linux/net/herror.c: Ditto.
5448 * libc/sys/linux/net/hesiod.3: Ditto.
5449 * libc/sys/linux/net/hesiod.c: Ditto.
5450 * libc/sys/linux/net/if_indextoname.3: Ditto.
5451 * libc/sys/linux/net/ifname.c: Ditto.
5452 * libc/sys/linux/net/inet.3: Ditto.
5453 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
5454 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
5455 * libc/sys/linux/net/inet_addr.c: Ditto.
5456 * libc/sys/linux/net/inet_lnaof.c: Ditto.
5457 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
5458 * libc/sys/linux/net/inet_net.3: Ditto.
5459 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
5460 * libc/sys/linux/net/inet_net_pton.c: Ditto.
5461 * libc/sys/linux/net/inet_neta.c: Ditto.
5462 * libc/sys/linux/net/inet_netof.c: Ditto.
5463 * libc/sys/linux/net/inet_network.c: Ditto.
5464 * libc/sys/linux/net/inet_ntoa.c: Ditto.
5465 * libc/sys/linux/net/inet_ntop.c: Ditto.
5466 * libc/sys/linux/net/inet_pton.c: Ditto.
5467 * libc/sys/linux/net/innetgr-stub.c: Ditto.
5468 * libc/sys/linux/net/ip6opt.c: Ditto.
5469 * libc/sys/linux/net/iso_addr.3: Ditto.
5470 * libc/sys/linux/net/iso_addr.c: Ditto.
5471 * libc/sys/linux/net/issetugid-stub.c: Ditto.
5472 * libc/sys/linux/net/linkaddr.3: Ditto.
5473 * libc/sys/linux/net/linkaddr.c: Ditto.
5474 * libc/sys/linux/net/map_v4v6.c: Ditto.
5475 * libc/sys/linux/net/name6.c: Ditto.
5476 * libc/sys/linux/net/namespace.h: Ditto.
5477 * libc/sys/linux/net/ns.3: Ditto.
5478 * libc/sys/linux/net/ns_addr.c: Ditto.
5479 * libc/sys/linux/net/ns_name.c: Ditto.
5480 * libc/sys/linux/net/ns_netint.c: Ditto.
5481 * libc/sys/linux/net/ns_ntoa.c: Ditto.
5482 * libc/sys/linux/net/ns_parse.c: Ditto.
5483 * libc/sys/linux/net/ns_print.c: Ditto.
5484 * libc/sys/linux/net/ns_ttl.c: Ditto.
5485 * libc/sys/linux/net/nsap_addr.c: Ditto.
5486 * libc/sys/linux/net/nsdispatch.3: Ditto.
5487 * libc/sys/linux/net/nsdispatch.c: Ditto.
5488 * libc/sys/linux/net/nslexer.c: Ditto.
5489 * libc/sys/linux/net/nslexer.l: Ditto.
5490 * libc/sys/linux/net/nsparser.c: Ditto.
5491 * libc/sys/linux/net/nsparser.h: Ditto.
5492 * libc/sys/linux/net/nsparser.y: Ditto.
5493 * libc/sys/linux/net/rcmd.3: Ditto.
5494 * libc/sys/linux/net/rcmd.c: Ditto.
5495 * libc/sys/linux/net/rcmdsh.3: Ditto.
5496 * libc/sys/linux/net/rcmdsh.c: Ditto.
5497 * libc/sys/linux/net/recv.c: Ditto.
5498 * libc/sys/linux/net/res_comp.c: Ditto.
5499 * libc/sys/linux/net/res_config.h: Ditto.
5500 * libc/sys/linux/net/res_data.c: Ditto.
5501 * libc/sys/linux/net/res_debug.c: Ditto.
5502 * libc/sys/linux/net/res_init.c: Ditto.
5503 * libc/sys/linux/net/res_mkquery.c: Ditto.
5504 * libc/sys/linux/net/res_mkupdate.c: Ditto.
5505 * libc/sys/linux/net/res_query.c: Ditto.
5506 * libc/sys/linux/net/res_send.c: Ditto.
5507 * libc/sys/linux/net/res_update.c: Ditto.
5508 * libc/sys/linux/net/resolver.3: Ditto.
5509 * libc/sys/linux/net/rthdr.c: Ditto.
5510 * libc/sys/linux/net/send.c: Ditto.
5511 * libc/sys/linux/net/un-namespace.h: Ditto.
5512 * libc/sys/linux/net/vars.c: Ditto.
5513 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
5514 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5515 * libc/sys/linux/stdlib/Makefile.in: Ditto.
5516 * libc/sys/linux/stdlib/cclass.h: Ditto.
5517 * libc/sys/linux/stdlib/cname.h: Ditto.
5518 * libc/sys/linux/stdlib/collate.c: Ditto.
5519 * libc/sys/linux/stdlib/collate.h: Ditto.
5520 * libc/sys/linux/stdlib/collcmp.c: Ditto.
5521 * libc/sys/linux/stdlib/engine.c: Ditto.
5522 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
5523 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
5524 * libc/sys/linux/stdlib/glob.3: Ditto.
5525 * libc/sys/linux/stdlib/glob.c: Ditto.
5526 * libc/sys/linux/stdlib/reallocf.c: Ditto.
5527 * libc/sys/linux/stdlib/regcomp.c: Ditto.
5528 * libc/sys/linux/stdlib/regerror.c: Ditto.
5529 * libc/sys/linux/stdlib/regex.3: Ditto.
5530 * libc/sys/linux/stdlib/regex2.h: Ditto.
5531 * libc/sys/linux/stdlib/regexec.c: Ditto.
5532 * libc/sys/linux/stdlib/regfree.c: Ditto.
5533 * libc/sys/linux/stdlib/utils.h: Ditto.
5534 * libc/sys/linux/stdlib/wordexp.c: Ditto.
5535 * libc/sys/linux/stdlib/wordfree.c: Ditto.
5536 * libc/sys/linux/sys/dlfcn.h: Ditto.
5537 * libc/sys/linux/sys/elfclass.h: Ditto.
5538 * libc/sys/linux/sys/event.h: Ditto.
5539 * libc/sys/linux/sys/ioccom.h: Ditto.
5540 * libc/sys/linux/sys/libc-tsd.h: Ditto.
5541 * libc/sys/linux/sys/link.h: Ditto.
5542 * libc/sys/linux/sys/lock.h: Ditto.
5543 * libc/sys/linux/sys/param.h: Ditto.
5544 * libc/sys/linux/sys/socket.h: Ditto.
5545 * libc/sys/linux/sys/sockio.h: Ditto.
5546
5547 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5548
5549 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
5550 normal mode
5551 * newlib/libc/machine/h8300/memset.S: Likewise
5552 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
5553 * newlib/lib/machine/h8300/reg_memset.S: Likewise
5554 * newlib/lib/machine/h8300/setjmp.S: Likewise
5555 * newlib/lib/machine/h8300/strcmp.S: Likewise
5556 * newlib/lib/sys/h8300hms/crt0.S: Likewise
5557
5558 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5559
5560 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
5561 * libc/include/stdio.h: Ditto.
5562 * libc/include/sys/config.h: Ditto.
5563 * libc/stdio/mktemp.c: Ditto.
5564
5565 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
5566
5567 * libc/locale/ldpart.c (__part_load_locale): Substitute
5568 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
5569 * libc/search/hash.c (__hash_open): Ditto.
5570 (init_hash): Ditto.
5571 * libc/stdio/fseek.c (fseek): Ditto.
5572 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5573 * libc/stdio/mktemp.c (_gettemp): Ditto.
5574
5575 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5576
5577 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
5578
5579 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
5580
5581 * configure.host: Accomodate removing the libc/sys/cygwin dir.
5582 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
5583 if __CYGWIN_USE_BIG_TYPES__ is set.
5584 * libc/search/hash.c (__hash_open): Ditto.
5585 (init_hash): Ditto.
5586 * libc/stdio/fseek.c (fseek): Ditto.
5587 * libc/stdio/makebuf.c (__smakebuf): Ditto.
5588 * libc/stdio/mktemp.c (_gettemp): Ditto.
5589 * libc/sys/cygwin/Makefile.am: Remove.
5590 * libc/sys/cygwin/Makefile.in: Remove.
5591 * libc/sys/cygwin/aclocal.m4: Remove.
5592 * libc/sys/cygwin/configure: Remove.
5593 * libc/sys/cygwin/configure.in: Remove.
5594 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
5595 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
5596 directory.
5597 * libc/sys/cygwin/sys/param.h: Ditto.
5598 * libc/sys/cygwin/sys/utime.h: Ditto.
5599 * libc/sys/cygwin/sys/utmp.h: Ditto.
5600
5601 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
5602
5603 * libc/include/sys/types.h: Don't define key_t for Cygwin.
5604
5605 2003-05-10 Christopher Faylor <cgf@redhat.com>
5606
5607 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
5608 64 bit inodes.
5609
5610 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
5611
5612 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
5613 Include cygwin/config.h instead.
5614
5615 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
5616
5617 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
5618 all code with #ifdef __SPE__ test.
5619 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
5620
5621 2003-04-15 Chris January <chris@atomice.net>
5622
5623 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
5624 Cygwin.
5625
5626 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
5627
5628 * libc/machine/sh/memset.S: Avoid clobbering volatile
5629 objects following a tiny to-be-set array in the same quadword.
5630
5631 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
5632
5633 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
5634 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
5635 * libc/string/Makefile.in: Regenerated.
5636 * libc/string/wcswidth.c: New file.
5637 * libc/string/wcwidth.c: New file.
5638 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
5639
5640 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
5641
5642 * libc/machine/sh/memset.S: Fix problem with alloco region
5643 exceeding destination region for length >= 88 bytes, start
5644 & 0x16 == 0, end & 0x1f == 18.
5645
5646 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
5647
5648 * libc/string/wcscoll.c: Fix comment.
5649
5650 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
5651
5652 * libc/include/wchar.h: Add definition for wcscoll.
5653 * libc/string/Makefile.am: Add wcscoll.c.
5654 * libc/string/Makefile.in: Regenerated.
5655 * libc/string/wcscoll.c: New file.
5656 * libc/string/wcstrings.tex: Add wcscoll.
5657
5658 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5659
5660 * libc/stdio/sscanf.c: Update flags description.
5661 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
5662 type.
5663 (__svfscanf_r): Add 'hh' and 'll' handling.
5664
5665 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5666
5667 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
5668 __d_position member to _off_t.
5669
5670 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
5671
5672 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
5673 count all characters used to create number against maximum width.
5674 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5675
5676 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5677
5678 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
5679 support.
5680 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
5681 flag to support simulator only extensions.
5682
5683 2003-03-17 Bob Cassels <bcassels@abinitio.com>
5684
5685 * libc/string/wcschr.c: (wcschr): Look for character first,
5686 then for end of string, so you can do wcschr(x, '\0').
5687
5688 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
5689
5690 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
5691 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
5692 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
5693 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
5694 * libc/stdio/fseeko.c (fseeko): Ditto.
5695 * libc/stdio/ftello.c (ftello): Ditto.
5696 * libc/stdio/stdio.c (__swrite): Ditto.
5697 (__sseek): Ditto.
5698 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
5699 * libc/stdio/fseek.c (fseek): Ditto.
5700 * libc/stdio/fsetpos.c (fsetpos): Ditto.
5701 * libc/stdio/ftell.c (ftell): Ditto.
5702 * libc/stdio/local.h: Declare __sseek using _off_t.
5703
5704 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5705
5706 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
5707
5708 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5709
5710 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
5711 Cygwin.
5712
5713 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5714
5715 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
5716 Cygwin.
5717 * libc/include/sys/stat.h: Ditto.
5718 * libc/include/sys/unistd.h: Ditto.
5719 * libc/sys/cygwin/sys/dirent.h: Ditto.
5720
5721 2003-03-07 Christopher Faylor <cgf@redhat.com>
5722
5723 * libc/include/sys/unistd.h: Guard getopt.h call to force only
5724 declaration of getopt and avoid getopt_long declaration.
5725 * libc/sys/cygwin/include/unistd.h: Remove.
5726
5727 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
5728
5729 * configure.host: Define stdio64_dir for Cygwin.
5730 * libc/include/stdio.h: Change definition of fpos_t to fulfill
5731 Cygwin 64bit file access requirements.
5732 Drop definition of f*64() functions when compiled for Cygwin.
5733 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
5734 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
5735 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
5736
5737 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
5738
5739 * libc/include/sys/reent.h: Remove extraneous _sig_func
5740 declaration.
5741
5742 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5743
5744 * libc/sys/h8300hms/Makefile.am: Add support for new files.
5745 * libc/sys/h8300hms/Makefile.in: Regenerated.
5746 * libc/sys/h8300hms/close.S: New file.
5747 * libc/sys/h8300hms/fstat.S: Ditto.
5748 * libc/sys/h8300hms/lseek.S: Ditto.
5749 * libc/sys/h8300hms/open.S: Ditto.
5750 * libc/sys/h8300hms/stat.S: Ditto.
5751 * libc/sys/h8300hms/read.S: New file to replace read.c.
5752 * libc/sys/h8300hms/read.c: Removed.
5753 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
5754 _lseek, _close, _stat, _fstat.
5755 * libc/sys/h8300hms/write.S: New file to replace write.c.
5756 * libc/sys/h8300hms/write.c: Removed.
5757
5758 2003-02-20 Nick Clifton <nickc@redhat.com>
5759
5760 * Add support for Cirrus Maverick ARM co-processor:
5761
5762 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
5763
5764 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
5765 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
5766
5767 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
5768
5769 * configure.host: set sys_dir, syscall_dir, and
5770 newlib_cflags for ep9312 host.
5771
5772 * configure.host: Restore alpha sorting of entries in case
5773 statements.
5774
5775 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
5776
5777 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
5778
5779 2003-02-18 Christian Groessler <chris@groessler.org>
5780
5781 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
5782 support z8001 segmented mode.
5783
5784 2003-02-18 Earnie Boyd <earnie@users.sf.net>
5785
5786 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
5787 with a NULL value.
5788
5789 2003-02-10 Christopher Faylor <cgf@redhat.com>
5790
5791 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
5792 Don't define some types under cygwin.
5793
5794 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
5795
5796 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
5797 option to allow disabling of syscalls being supplied in newlib.
5798 * aclocal.m4: Regenerated.
5799 * configure: Ditto.
5800 * configure.host: Add support of new configuration option and add
5801 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
5802 * doc/aclocal.m4: Regenerated.
5803 * doc/configure: Ditto.
5804 * libc/*aclocal.m4: Ditto.
5805 * libc/*configure: Ditto.
5806 * libm/*aclocal.m4: Ditto.
5807 * libm/*configure: Ditto.
5808 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
5809 is disabled.
5810 * libc/sys/arm/Makefile.in: Regenerated.
5811
5812 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
5813
5814 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
5815 -1 to be sure it cannot later match a valid file fd causing
5816 isatty() to return 1.
5817 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
5818 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
5819 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
5820
5821 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
5822
5823 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
5824 buffer based on the precision, after we have processed the input value
5825 in a local buffer and know its relative magnitude.
5826
5827 2003-01-31 Michael Snyder <msnyder@redhat.com>
5828
5829 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
5830 into registers r1 and r2, so that the simulator can distinguish
5831 this trap from a breakpoint trap. Copied from libgloss.
5832
5833 2003-01-31 Michael Snyder <msnyder@redhat.com>
5834
5835 * libc/sys/h8300hms/crt0.S (_start): Change local label
5836 from .loop to .Loop, so that ld and gdb will ignore it.
5837
5838 2003-01-29 Jason Tishler <jason@tishler.net>
5839
5840 * libc/include/time.h: Declare nanosleep() under Cygwin.
5841
5842 2003-01-24 Nick Clifton <nickc@redhat.com>
5843
5844 * Add sh2e support:
5845
5846 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
5847
5848 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
5849 * libc/machine/sh/setjmp.S: Likewise.
5850 * libc/include/machine/ieeefp.h: Likewise.
5851
5852 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
5853
5854 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
5855 for Cygwin.
5856
5857 2003-01-21 Anita Kulkarni <anitak@kpit.com>
5858
5859 * libc/time/difftime.c : Typecast the result to double.
5860
5861 2003-01-20 Christopher Faylor <cgf@redhat.com>
5862
5863 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
5864
5865 2003-01-18 Nick Clifton <nickc@redhat.com>
5866
5867 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
5868 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
5869
5870 2003-01-16 Joel Sherrill <joel@OARcorp.com>
5871
5872 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
5873 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
5874 constants are defined in each file in the shared versions in
5875 libc/include.
5876 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
5877 autoconf can link programs.
5878 * libc/include/machine/types.h: Explicitly specify signed on
5879 intXX_t types to ensure they are signed.
5880
5881 2003-01-14 Christopher Faylor <cgf@redhat.com>
5882
5883 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
5884 extensions.
5885
5886 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
5887
5888 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
5889
5890 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
5891
5892 * libc/stdio/sprintf.c: fix typo
5893 * libc/stdio/vfprintf.c: fix typo
5894
5895 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
5896
5897 * configure.host: Support long double I/O for x86-linux.
5898 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
5899 large enough to hold formatted result.
5900 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
5901
5902 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5903
5904 * Makefile.am: Add vasprintf.
5905 * Makefile.in: Regenerated.
5906
5907 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5908
5909 * asprintf.c (_asprintf_r): insure both declarations
5910 are the same.
5911
5912 2002-12-28 Christopher Faylor <cgf@redhat.com>
5913
5914 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
5915 than defining getopt directly.
5916
5917 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5918
5919 * NEWS: Update with 1.11.0 info.
5920 * README: Ditto.
5921 * acinclude.m4: Change version number to 1.11.0.
5922 * aclocal.m4: Regenerated.
5923 * configure: Ditto.
5924 * doc/aclocal.m4: Ditto.
5925 * doc/configure: Ditto.
5926 * libc/*/aclocal.m4: Ditto.
5927 * libc/*/configure: Ditto.
5928 * libc/libc.texinfo: Ditto.
5929 * libm/*/aclocal.m4: Ditto.
5930 * libm/*/configure: Ditto.
5931 * libm/libm.texinfo: Ditto.
5932 * libc/sys/linux/shared.ld: Add VERS_1.11.
5933
5934 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5935
5936 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
5937 Solutions to Red Hat Inc.
5938 * libc/machine/i386/f_atan2f.S: Ditto.
5939 * libc/machine/i386/f_exp.c: Ditto.
5940 * libc/machine/i386/f_expf.c: Ditto.
5941 * libc/machine/i386/f_frexp.S: Ditto.
5942 * libc/machine/i386/f_frexpf.S: Ditto.
5943 * libc/machine/i386/f_ldexp.S: Ditto.
5944 * libc/machine/i386/f_ldexpf.S: Ditto.
5945 * libc/machine/i386/f_log.S: Ditto.
5946 * libc/machine/i386/f_log10.S: Ditto.
5947 * libc/machine/i386/f_log10f.S: Ditto.
5948 * libc/machine/i386/f_logf.S: Ditto.
5949 * libc/machine/i386/f_pow.c: Ditto.
5950 * libc/machine/i386/f_powf.c: Ditto.
5951 * libc/machine/i386/f_tan.S: Ditto.
5952 * libc/machine/i386/f_tanf.S: Ditto.
5953 * libc/machine/i386/memchr.S: Ditto.
5954 * libc/machine/i386/memcmp.S: Ditto.
5955 * libc/machine/i386/memcpy.S: Ditto.
5956 * libc/machine/i386/memmove.S: Ditto.
5957 * libc/machine/i386/memset.S: Ditto.
5958 * libc/machine/i386/strchr.S: Ditto.
5959 * libc/machine/i386/strlen.S: Ditto.
5960 * libm/machine/i386/f_atan2.S: Ditto.
5961 * libm/machine/i386/f_atan2f.S: Ditto.
5962 * libm/machine/i386/f_exp.c: Ditto.
5963 * libm/machine/i386/f_expf.c: Ditto.
5964 * libm/machine/i386/f_frexp.S: Ditto.
5965 * libm/machine/i386/f_frexpf.S: Ditto.
5966 * libm/machine/i386/f_ldexp.S: Ditto.
5967 * libm/machine/i386/f_ldexpf.S: Ditto.
5968 * libm/machine/i386/f_log.S: Ditto.
5969 * libm/machine/i386/f_log10.S: Ditto.
5970 * libm/machine/i386/f_log10f.S: Ditto.
5971 * libm/machine/i386/f_logf.S: Ditto.
5972 * libm/machine/i386/f_pow.c: Ditto.
5973 * libm/machine/i386/f_powf.c: Ditto.
5974 * libm/machine/i386/f_tan.S: Ditto.
5975 * libm/machine/i386/f_tanf.S: Ditto.
5976
5977 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5978
5979 * libc/stdlib/environ.c: Update license to Red Hat.
5980 * libc/machine/hppa/setjmp.S: Ditto.
5981 * libm/test/Makefile.in: Ditto.
5982
5983 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
5984
5985 * configure.host: Remove references to go32.
5986 * libc/sys/go32/*: Removed.
5987
5988 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
5989
5990 * libc/include/sys/config.h: Change setting of INT_MAX
5991 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
5992 __H8300S__. Also consolidate flag settings for these
5993 platforms.
5994
5995 2002-12-10 Joel Sherrill <joel@OARcorp.com>
5996
5997 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
5998 for i386-rtems targets.
5999
6000 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6001
6002 * libc/include/stdlib.h (strtof): New prototype (from C99).
6003 (strtodf): Changed from prototype to macro which redefines
6004 to strtof.
6005 * libc/stdlib/atof.c: Change documentation to refer to strtof
6006 instead of strtodf.
6007 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6008 strtodf.
6009 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6010 (strtof): New function.
6011 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6012 calls strtof.
6013
6014 2002-11-27 Christopher Faylor <cgf@redhat.com>
6015
6016 * libc/string/memset.c (memset): Fix comment.
6017
6018 2002-11-26 Christopher Faylor <cgf@redhat.com>
6019
6020 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6021 function.
6022
6023 2002-11-25 Christopher Faylor <cgf@redhat.com>
6024
6025 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6026 variable, introduced below, everywhere.
6027
6028 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6029
6030 * libc/string/memset.c (memset): Make it safe even if
6031 sizeof (int) = 2.
6032
6033 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6034
6035 * configure.in: Change check for libc/include in ${CC} to
6036 use an intermediate value so as to work with different shells.
6037 * configure: Regenerated.
6038 * Makefile.in: Ditto.
6039
6040 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6041
6042 * libc/sys/h8300hms/read.c: Add support for normal mode
6043 architecture.
6044
6045 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6046
6047 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6048 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6049 when -mint32 is used.
6050
6051 2002-11-18 Nick Clifton <nickc@redhat.com>
6052
6053 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6054
6055 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6056
6057 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6058 only issue one pass/fail message for a compile/link/execute.
6059 * testsuite/newlib.elix/elix.exp: New file.
6060 * testsuite/newlib.elix/tmmap.c: Ditto.
6061
6062 2002-11-06 Christopher Faylor <cgf@redhat.com>
6063
6064 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6065 * libc/stdlib/mlock.c: Ditto.
6066 * libc/stdlib/msize.c: Ditto.
6067 * libc/stdlib/msize.c: Ditto.
6068 * libc/stdlib/mtrim.c: Ditto.
6069 * libc/stdlib/valloc.c: Ditto.
6070
6071 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6072
6073 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6074 for inf/nan, make sure that the check ignores the sign bit.
6075
6076 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6077
6078 * libc/sys/rtems/machine: New directory.
6079 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6080 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6081 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6082 targets more BSD like when installed without requiring files to
6083 be overwritten at install point when RTEMS itself is installed.
6084 * Makefile.am: Pick up system dependent machine .h files such as
6085 might be found on a BSD-ish system.
6086 * Makefile.in: Regenerate.
6087 * libc/include/machine/types.h: When on an RTEMS target, define a
6088 few BSD flavor types.
6089
6090 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6091
6092 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6093
6094 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6095
6096 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6097 * libc/include/wctype.h: Ditto.
6098
6099 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6100
6101 * libc/include/wchar.h: Add extern "C" specifier if C++.
6102 * libc/include/wctype.h: Ditto.
6103
6104 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6105
6106 * testsuite/newlib.wctype/tiswctype.c: New test case.
6107 * testsuite/newlib.wctype/twctrans.c: Ditto.
6108
6109 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6110
6111 * libc/sys/linux/machine/i386/include/endian.h: New file.
6112 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6113
6114 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6115
6116 * libm/machine/i386/aclocal.m4: Regenerated.
6117 * libm/machine/i386/configure: Ditto.
6118
6119 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6120
6121 * testsuite/include/check.h: New header file to use with
6122 test cases.
6123 * testsuite/lib/newlib.exp: Add testsuite/include directory
6124 to list of header files to use.
6125 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6126 * testsuite/newlib.wctype/wctype.exp: New file.
6127
6128 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6129 Richard Sandiford <rsandifo@redhat.com>
6130
6131 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6132 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6133 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6134
6135 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6136
6137 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6138 dummy programs.
6139
6140 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6141
6142 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6143
6144 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6145
6146 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6147 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6148 compile with current GNU tools.
6149
6150 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6151
6152 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6153 the build library.
6154 * configure.in: Ditto.
6155 * Makefile.in: Regenerated.
6156 * configure: Ditto.
6157 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6158 for specifying configured libraries/directories.
6159 * libc/sys/linux/configure.in: Ditto.
6160 * libc/sys/linux/Makefile.in: Regenerated.
6161 * libc/sys/linux/configure: Ditto.
6162
6163 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6164
6165 * libc/include/reent.h: Update documentation at start of file.
6166
6167 2002-09-27 Jim Wilson <wilson@redhat.com>
6168
6169 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6170 the ctbp register.
6171
6172 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6173
6174 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6175 Also convert to EUCJP before using arrays. For values not in
6176 the conversion arrays, return WEOF.
6177 * libc/ctype/jp2uc.h: Change from one array to a number of
6178 arrays to account for the fact that the originating table
6179 is not contiguous for the input values since some are invalid.
6180
6181 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6182
6183 * libc/time/ctime.c: Fix prototype documentation.
6184
6185 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6186
6187 * libc/include/sys/errno.h: Add EOVERFLOW.
6188
6189 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6190
6191 * libc/include/wctype.h: New file.
6192
6193 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6194
6195 * libc/ctype/Makefile.am: Add new files.
6196 * libc/ctype/Makefile.in: Regenerated.
6197 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6198 and wctrans functions to documentation index.
6199 * libc/ctype/iswalnum.c: New file.
6200 * libc/ctype/iswalpha.c: Ditto.
6201 * libc/ctype/iswblank.c: Ditto.
6202 * libc/ctype/iswcntrl.c: Ditto.
6203 * libc/ctype/iswctype.c: Ditto.
6204 * libc/ctype/iswdigit.c: Ditto.
6205 * libc/ctype/iswgraph.c: Ditto.
6206 * libc/ctype/iswlower.c: Ditto.
6207 * libc/ctype/iswprint.c: Ditto.
6208 * libc/ctype/iswpunct.c: Ditto.
6209 * libc/ctype/iswspace.c: Ditto.
6210 * libc/ctype/iswupper.c: Ditto.
6211 * libc/ctype/iswxdigit.c: Ditto.
6212 * libc/ctype/jp2uc.c: Ditto.
6213 * libc/ctype/jp2uc.h: Ditto.
6214 * libc/ctype/local.h: Ditto.
6215 * libc/ctype/towctrans.c: Ditto.
6216 * libc/ctype/towlower.c: Ditto.
6217 * libc/ctype/towupper.c: Ditto.
6218 * libc/ctype/utf8alpha.h: Ditto.
6219 * libc/ctype/utf8print.h: Ditto.
6220 * libc/ctype/utf8punct.h: Ditto.
6221 * libc/ctype/wctrans.c: Ditto.
6222 * libc/ctype/wctype.c: Ditto.
6223 * libc/locale/locale.c (__lc_ctype): New external array to
6224 replace static lc_ctype array.
6225 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6226 rather than reentrancy structure's _current_locale field.
6227 * libc/stdlib/wctomb_r.c: Ditto.
6228
6229 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6230
6231 * configure.host: Minor comment and formatting changes.
6232 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6233 * libc/Makefile.in: Regenerated.
6234 * libc/include/sys/config.h: Minor format change.
6235
6236 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6237
6238 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6239 statement comment.
6240
6241 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6242
6243 * libc/posix/opendir.c (opendir): Change code to check
6244 for HAVE_FCNTL before calling fcntl.
6245 * libc/search/hash.c (hash_open): Ditto.
6246 * libc/search/hash_page.c (open_tmp): Ditto.
6247 * libc/reent/Makefile.am: Add fcntlr.c.
6248 * libc/reent/Makefile.in: Regenerated.
6249 * libc/reent/fcntlr.c: New file.
6250 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6251 instead of _fcntl when HAVE_FCNTL flag is set.
6252 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6253 to see if _fcntl or _fcntl_r should be called. If flag is not
6254 set, default to ENOSYS stub.
6255
6256 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6257
6258 * libc/include/wchar.h (mbstate_t): Change protective flag to
6259 be _MBSTATE_T.
6260 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6261 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6262 for Cygwin.
6263 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6264
6265 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6266
6267 * acinclude.m4 (enable-newlib-mb): Change check to
6268 default newlib_mb variable to empty string rather than "no".
6269 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6270 x86-linux and Cygwin. Add code to check for newlib_mb
6271 being unset in which case set to "yes" for x86-linux and
6272 Cygwin. Change check for newlib_mb being "yes" to allow
6273 for an empty string.
6274 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6275 * newlib.hin (_MB_LEN_MAX): New define to configure.
6276 * aclocal.m4: Regenerated.
6277 * configure: Ditto.
6278 * libc/include/limits.h: New file.
6279 * libc/sys/linux/include/limits.h: Ditto.
6280 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6281 libc/configure libc/machine/aclocal.m4
6282 libc/machine/configure libc/machine/a29k/aclocal.m4
6283 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6284 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6285 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6286 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6287 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6288 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6289 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6290 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6291 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6292 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6293 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6294 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6295 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6296 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6297 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6298 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6299 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6300 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6301 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6302 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6303 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6304 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6305 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6306 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6307 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6308 libc/machine/xscale/configure
6309 libc/machine/xstormy16/aclocal.m4
6310 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6311 libc/machine/z8k/configure libc/sys/aclocal.m4
6312 libc/sys/configure libc/sys/a29khif/aclocal.m4
6313 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6314 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6315 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6316 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6317 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6318 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6319 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6320 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6321 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6322 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6323 libc/sys/linux/configure
6324 libc/sys/linux/machine/aclocal.m4
6325 libc/sys/linux/machine/configure
6326 libc/sys/linux/machine/i386/aclocal.m4
6327 libc/sys/linux/machine/i386/configure
6328 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6329 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6330 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6331 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6332 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6333 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6334 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6335 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6336 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6337 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6338 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6339 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6340 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6341 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6342 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6343 libm/aclocal.m4 libm/configure: Regenerated.
6344
6345 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6346
6347 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6348 code that clears the .bss section.
6349
6350 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6351
6352 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6353 unsigned char internally.
6354 * libc/sys/linux/sys/_types.h: Ditto.
6355 * libc/include/sys/reent.h
6356 * libc/stdlib/mblen.c (mblen): Use function-specific state
6357 value from default reentrancy structure.
6358 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6359 _mbtowc_r is less than 0, reset state __count value and
6360 return -1.
6361 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6362 is NULL, use the function-specific pointer provided in the
6363 default reentrancy structure.
6364 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6365 If input state pointer is NULL, use function-specific area
6366 provided in reentrancy structure.
6367 * libc/stdlib/mbsrtowcs.c: Ditto.
6368 * libc/stdlib/wcrtomb.c: Ditto.
6369 * libc/stdlib/wcsrtombs.c: Ditto.
6370 * libc/stdlib/mbstowcs.c: Reformat.
6371 * libc/stdlib/wcstombs.c: Ditto.
6372 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
6373 reset the state's __count value and return -1.
6374 * libc/stdlib/mbtowc.c: Ditto.
6375 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
6376 If number of bytes is used up before completing a valid multibyte
6377 character, return -2 and save the state.
6378 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
6379 and change some __count references to __state for clarity.
6380
6381 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
6382
6383 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
6384 is defined by <limits.h>.
6385
6386 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6387
6388 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
6389 defined.
6390
6391 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6392
6393 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
6394 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
6395 __WCHAR_MAX__ or 0x7fffffffu.
6396 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
6397 * libc/string/wcsncmp.c: Ditto.
6398
6399 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6400
6401 * libc/string/wcschr.c: Add include of <stddef.h>.
6402 * libc/string/wcspbrk.c: Ditto.
6403 * libc/string/wcsrchr.c: Ditto.
6404 * libc/string/wcsstr.c: Ditto.
6405
6406 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
6407
6408 * libc/include/sys/_types.h (_flock_t): Added.
6409 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
6410 (__lock_try_acquire_recursive): Ditto.
6411 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
6412 _lock field.
6413 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
6414 field.
6415 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
6416 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
6417 * libc/sys/linux/include/time.h (struct timespec): Moved from
6418 <sys/types.h> and added check for __need_timespec flag so type
6419 can be defined by itself.
6420 * libc/sys/linux/sys/_types.h (_flock_t): New type.
6421 * libc/sys/linux/sys/types.h (struct timespec): Moved to
6422 <time.h>.
6423
6424 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6425
6426 * libc/sys/linux/argp: New directory.
6427 * libc/sys/linux/getopt.c: New file.
6428 * libc/sys/linux/getopt1.c: New file.
6429 * libc/sys/linux/getoptlong.c: Remove file.
6430 * libc/sys/linux/include/argp.h: New file.
6431 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
6432 based on ELIX level.
6433 (SUBDIRS): Add argp_dir.
6434 (SUBLIBS): Add ARGP_LIB.
6435 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
6436 getopt_long.$(oext).
6437 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
6438
6439 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6440
6441 * libc/libc.texinfo: Add node reference to wide-character strings.
6442 * libc/string/wcstrings.tex: New file.
6443 * libc/string/strtok_r.c: Remove outdated advertising clause.
6444 * libc/string/Makefile.am (doc): Add wide-character string
6445 chapter to documentation.
6446 * libc/string/Makefile.in: Regenerated.
6447
6448 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6449
6450 * libc/include/wchar.h: Define NULL. Define WEOF more general
6451 way. Declare functions in newlib manner.
6452 * libc/stdlib/Makefile.am: Delete wmem*.c
6453 * libc/stdlib/Makefile.in: Regenerated.
6454 * libc/stdlib/wmemchr.c: Delete.
6455 * libc/stdlib/wmemcmp.c: Ditto.
6456 * libc/stdlib/wmemcpy.c: Ditto.
6457 * libc/stdlib/wmemmove.c: Ditto.
6458 * libc/stdlib/wmemset.c: Ditto.
6459 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
6460 * libc/string/Makefile.in: Regenerated.
6461 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
6462 * libc/string/wcschr.c: Ditto.
6463 * libc/string/wcscmp.c: Ditto.
6464 * libc/string/wcscpy.c: Ditto.
6465 * libc/string/wcscspn.c: Ditto.
6466 * libc/string/wcslcat.c: Ditto.
6467 * libc/string/wcslcpy.c: Ditto.
6468 * libc/string/wcslen.c: Ditto.
6469 * libc/string/wcsncat.c: Ditto.
6470 * libc/string/wcsncmp.c: Ditto.
6471 * libc/string/wcsncpy.c: Ditto.
6472 * libc/string/wcspbrk.c: Ditto.
6473 * libc/string/wcsrchr.c: Ditto.
6474 * libc/string/wcsspn.c: Ditto.
6475 * libc/string/wcsstr.c: Ditto.
6476 * libc/string/wmemchr.c: Ditto.
6477 * libc/string/wmemcmp.c: Ditto.
6478 * libc/string/wmemcpy.c: Ditto.
6479 * libc/string/wmemmove.c: Ditto.
6480 * libc/string/wmemset.c: Ditto.
6481
6482 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
6483
6484 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
6485 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
6486 and is treated as if "C" was specified.
6487
6488 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6489
6490 * Makefile.am (install-data-local): Move install of build
6491 newlib.h after installing headers in libc/include so as to
6492 overwrite default newlib.h.
6493 * Makefile.in: Regenerated.
6494
6495 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6496
6497 * libc/include/newlib.h: New file for tools that use newlib
6498 headers but don't build newlib first (e.g. gcc).
6499
6500 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
6501
6502 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
6503 * libc/stdlib/wmemcmp.c: Ditto.
6504 * libc/stdlib/wmemcpy.c: Ditto.
6505 * libc/stdlib/wmemmove.c: Ditto.
6506 * libc/stdlib/wmemset.c: Ditto.
6507
6508 2002-08-27 Egor Duda <deo@logos-m.ru>
6509
6510 * libc/stdlib/wmemchr.c: New file.
6511 * libc/stdlib/wmemcmp.c: Ditto.
6512 * libc/stdlib/wmemcpy.c: Ditto.
6513 * libc/stdlib/wmemmove.c: Ditto.
6514 * libc/stdlib/wmemset.c: Ditto.
6515 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
6516 * configure.host: Default -DMB_CAPABLE for cygwin.
6517 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
6518 wmemmove() and wmemset(). Add include of <_ansi.h>.
6519 * libc/stdlib/Makefile.in: Regenerate.
6520
6521 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
6522
6523 * configure.host: Remove _ELIX_LEVEL flag setting.
6524 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
6525 (install-data-local): Install newlib.h.
6526 * Makefile.in: Regenerated.
6527 * aclocal.m4: Ditto.
6528 * configure: Ditto.
6529 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
6530 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
6531 and _NEWLIB_VERSION to fill in newlib.h header file entries.
6532 In AC_OUTPUT statement, unset ac_file so multilib support does
6533 not use last ac_file temporary used in newlib.h configuration.
6534 * libc/include/_ansi.h: Include <newlib.h>.
6535 * newlib.hin: New template file for newlib.h.
6536 * stamp-h.in: New file.
6537
6538 2002-08-26 Wu Yongwei <adah@netstd.com>
6539
6540 * time.h (timezonevar): Change "#if" to "#ifdef".
6541
6542 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
6543
6544 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
6545 * Makefile.in: Regenerated.
6546 * acinclude.m4: Add support for --enable-newlib-elix-level option.
6547 * aclocal.m4: Regenerated.
6548 * configure: Ditto.
6549 * configure.host: Add code to define _ELIX_LEVEL if
6550 --enable-newlib-elix-level option is used.
6551 * configure.in:
6552 * libc/aclocal.m4: Regenerated.
6553 * libc/configure: Ditto.
6554 * libc/argz/Makefile.am: Add EL/IX level checking.
6555 * libc/argz/Makefile.in: Regenerated.
6556 * libc/argz/dummy.c: New file.
6557 * libc/ctype/Makefile.am: Add EL/IX level checking.
6558 * libc/ctype/Makefile.in: Regenerated.
6559 * libc/locale/Makefile.am: Add EL/IX level checking.
6560 * libc/locale/Makefile.in: Regenerated.
6561 * libc/posix/Makefile.am: Add EL/IX level checking.
6562 * libc/posix/Makefile.in: Regenerated.
6563 * libc/posix/telldir.c: Add EL/IX level checking.
6564 * libc/reent/Makefile.am: Ditto.
6565 * libc/reent/fstat64r.c: Ditto.
6566 * libc/reent/lseek64r.c: Ditto.
6567 * libc/reent/open64r.c: Ditto.
6568 * libc/reent/Makefile.in: Regenerated.
6569 * libc/search/Makefile.am: Add EL/IX level checking.
6570 * libc/search/Makefile.in: Regenerated.
6571 * libc/stdio/Makefile.am: Add EL/IX level checking.
6572 * libc/stdio/Makefile.in: Regenerated.
6573 * libc/stdio64/Makefile.am: Add EL/IX level checking.
6574 * libc/stdio64/Makefile.in: Regenerated.
6575 * libc/stdio64/dummy.c: New file.
6576 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
6577 after first include.
6578 * libc/stdio64/fopen64.c: Ditto.
6579 * libc/stdio64/freopen64.c: Ditto.
6580 * libc/stdio64/fseeko64.c: Ditto.
6581 * libc/stdio64/fsetpos64.c: Ditto.
6582 * libc/stdio64/ftello64.c: Ditto.
6583 * libc/stdio64/tmpfile64.c: Ditto.
6584 * libc/stdlib/Makefile.am: Add EL/IX level checking.
6585 * libc/stdlib/Makefile.in: Regenerated.
6586 * libc/stdlib/mstats.c: Add EL/IX level checking.
6587 * libc/string/Makefile.am: Ditto.
6588 * libc/string/Makefile.in: Regenerated.
6589 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
6590 * libc/sys/linux/Makefile.in: Regenerated.
6591 * libc/sys/linux/aclocal.m4: Ditto.
6592 * libc/sys/linux/configure: Ditto.
6593 * libc/sys/linux/aio.c: Add EL/IX level checking.
6594 * libc/sys/linux/ftok.c: Ditto.
6595 * libc/sys/linux/getdate.c: Ditto.
6596 * libc/sys/linux/ids.c: Ditto.
6597 * libc/sys/linux/inode.c: Ditto.
6598 * libc/sys/linux/io.c: Ditto.
6599 * libc/sys/linux/process.c: Ditto.
6600 * libc/sys/linux/resource.c: Ditto.
6601 * libc/sys/linux/sched.c: Ditto.
6602 * libc/sys/linux/sig.c: Ditto.
6603 * libc/sys/linux/termios.c: Ditto.
6604 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
6605 __libc___waitpid weak aliases.
6606 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
6607 that generate the code for a syscall, but do not create a
6608 weak alias.
6609 * libc/syscalls/Makefile.am: Add EL/IX level checking.
6610 * libc/syscalls/Makefile.in: Regenerated.
6611 * libc/time/tzset_r.c: Change to replace strdup with equivalent
6612 functionality.
6613 * libc/unix/Makefile.am: Add EL/IX level checking.
6614 * libc/unix/Makefile.in: Regenerated.
6615
6616 2002-08-26 Christopher Faylor <cgf@redhat.com>
6617
6618 * libc/include/malloc.h: On cygwin, define malloc _r functions as
6619 wrapper macros to standard malloc functions.
6620 * libc/include/stdlib.h: Ditto.
6621 * configure.host: Always define MALLOC_PROVIDED on cygwin.
6622
6623 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6624
6625 * libc/include/langinfo.h: New file.
6626 * libc/include/wchar.h: Likewise.
6627 * libc/include/sys/syslimits.h: Likewise.
6628 * libc/locale/fix_grouping.c: Likewise.
6629 * libc/locale/ldpart.c: Likewise.
6630 * libc/locale/ldpart.h: Likewise.
6631 * libc/locale/lmessages.c: Likewise.
6632 * libc/locale/lmessages.h: Likewise.
6633 * libc/locale/lmonetary.c: Likewise.
6634 * libc/locale/lmonetary.h: Likewise.
6635 * libc/locale/lnumeric.c: Likewise.
6636 * libc/locale/lnumeric.h: Likewise.
6637 * libc/locale/nl_langinfo.3: Likewise.
6638 * libc/locale/nl_langinfo.c: Likewise.
6639 * libc/locale/timelocal.c: Likewise.
6640 * libc/locale/timelocal.h: Likewise.
6641 * libc/stdlib/btowc.c: Likewise.
6642 * libc/stdlib/mbrlen.c: Likewise.
6643 * libc/stdlib/mbrtowc.c: Likewise.
6644 * libc/stdlib/mbsinit.c: Likewise.
6645 * libc/stdlib/mbsrtowcs.c: Likewise.
6646 * libc/stdlib/wcrtomb.c: Likewise.
6647 * libc/stdlib/wcsrtombs.c: Likewise.
6648 * libc/stdlib/wctob.c: Likewise.
6649 * libc/sys/linux/prof-freq.c: Likewise.
6650 * libc/sys/linux/profile.c: Likewise.
6651 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
6652 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
6653 * libc/include/stdlib.h: Change re-entrant functions to take
6654 mbstate_t pointers.
6655 * libc/include/sys/_types.h: Define _mbstate_t.
6656 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
6657 * libc/include/sys/errno.h (EILSEQ): New error code.
6658 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
6659 structure to use mbstate_t.
6660 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
6661 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
6662 * libc/machine/powerpc/vfscanf.c: Likewise.
6663 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
6664 * libc/stdio/vfprintf.c: Likewise.
6665 * libc/stdio/vfscanf.c: Likewise.
6666 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
6667 * libc/stdlib/mblen.c: Use mbstate_t.
6668 * libc/stdlib/mblen_r.c: Likewise.
6669 * libc/stdlib/mbstowcs.c: Likewise.
6670 * libc/stdlib/mbstowcs_r.c: Likewise.
6671 * libc/stdlib/mbtowc.c: Likewise.
6672 * libc/stdlib/mbtowc_r.c: Likewise.
6673 * libc/stdlib/wcstombs.c: Likewise.
6674 * libc/stdlib/wcstombs_r.c: Likewise.
6675 * libc/stdlib/wctomb_r.c: Likewise.
6676 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
6677 profile.c.
6678 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
6679 dl-procinfo.c.
6680 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
6681 * libc/sys/linux/sys/types.h (off_t): Define type.
6682 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
6683 to C-UTF-8.
6684 * testsuite/newlib.locale/UTF-8.exp: Likewise.
6685
6686 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
6687
6688 * libc/stdlib/mallocr.c: #include windows.h on Win32.
6689 (AlignPage): Continue macro on next line.
6690
6691 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6692
6693 * libc/sys/linux/include/pthread.h: New file.
6694
6695 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6696
6697 * libc/include/sys/types.h: Support __need_inttypes macro
6698 that only sets the __intxx and __uintxx types.
6699 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
6700 to get mprec.h.
6701 * libc/machine/powerpc/Makefile.in: Regenerated.
6702 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
6703 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
6704 redundant fixed-point conversion prototypes.
6705 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
6706 after setting __need_inttypes.
6707
6708 2002-08-18 Christopher Faylor <cgf@redhat.com>
6709
6710 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
6711
6712 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6713
6714 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
6715 _LONG_DOUBLE to double.
6716
6717 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6718
6719 * configure.host: Add powerpc*-*-eabispe* configuration.
6720 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
6721 * libc/machine/powerpc/atosfix32.c: Ditto.
6722 * libc/machine/powerpc/atosfix64.c: Ditto.
6723 * libc/machine/powerpc/atoufix16.c: Ditto.
6724 * libc/machine/powerpc/atoufix32.c: Ditto.
6725 * libc/machine/powerpc/atoufix64.c: Ditto.
6726 * libc/machine/powerpc/fix64.h: Ditto.
6727 * libc/machine/powerpc/simdldtoa.c: Ditto.
6728 * libc/machine/powerpc/strtosfix16.c: Ditto.
6729 * libc/machine/powerpc/strtosfix32.c: Ditto.
6730 * libc/machine/powerpc/strtosfix64.c: Ditto.
6731 * libc/machine/powerpc/strtoufix16.c: Ditto.
6732 * libc/machine/powerpc/strtoufix32.c: Ditto.
6733 * libc/machine/powerpc/strtoufix64.c: Ditto.
6734 * libc/machine/powerpc/ufix64toa.c: Ditto.
6735 * libc/machine/powerpc/configure.in: Add check for
6736 powerpc*-eabispe and add fixed-point conversion functions.
6737 * libc/machine/powerpc/configure: Regenerated.
6738 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
6739 %r and %R format specifiers which handle fixed-point data.
6740 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
6741 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
6742 function prototypes.
6743
6744 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6745
6746 * Makefile.am: Move cmath stuff into libc/sys/linux.
6747 * Makefile.in: Regenerated.
6748 * configure.host: Default -DMB_CAPABLE for x86-linux.
6749 * libc/include/reent.h: Define _sbrk to take signed int argument.
6750 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
6751 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
6752 make locale name checking more efficient. Also allow "C-ISO-8859-1"
6753 locale for LC_CTYPE and LC_MESSAGES.
6754 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
6755 * libc/sys/linux/brk.c: Change sbrk prototype.
6756 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
6757 include <sys/features.h>.
6758 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
6759 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
6760 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
6761 with a few local additions.
6762 * libc/sys/linux/sys/features.h: New file.
6763 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
6764 to take signed argument.
6765 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
6766 prototypes to take signed size argument.
6767
6768 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6769
6770 * libc/sys/linux/cmath: New directory.
6771 * libc/sys/linux/include/cmathcalls.h: New file.
6772 * libc/sys/linux/include/complex.h: New file.
6773 * libc/sys/linux/machine/i386/huge_val.h: New file
6774 * libm/math/w_sincos.c: New file
6775 * libm/math/wf_sincos.c: New file
6776 * libm/mathfp/s_sincos.c: New file
6777 * libm/mathfp/sf_sincos.c: New file
6778 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
6779 * libc/include/math.h: Add sincos and sincosf declarations.
6780 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
6781 (SUBLIBS): Likewise.
6782 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
6783 * libm/math/Makefile.am (src): Add w_sincos.c.
6784 (fsrc): Add wf_sincos.c.
6785 * libm/mathfp/Makefile.am (src): Add s_sincos.c
6786 (fsrc): Add sf_sincos.c.
6787
6788 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
6789
6790 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
6791 Declare as extern chars and use the address operator to
6792 properly use values set in linker script.
6793
6794 2002-08-09 Jason Tishler <jason@tishler.net>
6795
6796 * libc/stdlib/mallocr.c: Include <limits.h>.
6797 (request2size): Change macro to do
6798 unsigned long comparisons and avoid signed overflow.
6799 (mALLOc): Add overflow check for the number of bytes to allocate.
6800 (rEALLOc): Ditto.
6801
6802 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
6803
6804 * configure.host: Add check for --enable-newlib-io-pos-args
6805 and define WANT_IO_POS_ARGS flag if enabled. Define
6806 the flag by default for x86-linux configurations.
6807 * configure.in: Add support for --enable-newlib-io-pos-args.
6808 * libc/configure.in: Ditto.
6809 * configure: Regenerated.
6810 * libc/configure: Ditto.
6811 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
6812 vfprintf.c and vfiprintf.c.
6813 * libc/stdio/Makefile.in: Regenerated.
6814 * libc/stdio/vfprintf.c: Add positional argument support that
6815 is enabled by compiling with -DWANT_IO_POS_ARGS.
6816
6817 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
6818
6819 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
6820 based on __mips_soft_float rather than __mips64.
6821 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
6822 of both 32-bit and 64-bit code.
6823
6824 2002-08-04 Christopher Faylor <cgf@redhat.com>
6825
6826 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
6827 arguments for popen to match similar functionality in fopen.
6828
6829 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
6830
6831 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
6832
6833 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
6834
6835 * libc/sys/linux/Makefile.am: Add aio64.c.
6836 * libc/sys/linux/Makefile.in: Regenerated.
6837 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
6838 * libc/sys/linux/aio64.c: New file.
6839
6840 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6841
6842 * libc/include/sys/param.h (MAX, MIN): Added macros.
6843 * libc/sys/linux/Makefile.am: Add new files.
6844 * libc/sys/linux/Makefile.in: Regenerated.
6845 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6846 * libc/sys/linux/inode.c (fchdir): Added syscall.
6847 * libc/sys/linux/ftw.c: New file.
6848 * libc/sys/linux/ftw64.c: Ditto.
6849 * libc/sys/linux/getwd.c: Ditto.
6850 * libc/sys/linux/scandir64.c: Ditto.
6851 * libc/sys/linux/strverscmp.c: Ditto.
6852 * libc/sys/linux/versionsort.c: Ditto.
6853 * libc/sys/linux/versionsort64.c: Ditto.
6854
6855 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6856
6857 * libc/string/strings.tex: Fix typo for memccpy.
6858
6859 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6860
6861 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
6862 * libc/sys/linux/sys/types.h (off64_t): Definition added.
6863
6864 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6865
6866 * libc/sys/linux/Makefile.am: Add fclean.c.
6867 * libc/sys/linux/Makefile.in: Regenerated.
6868 * libc/sys/linux/fclean.c: New file.
6869
6870 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6871
6872 * libc/sys/linux/Makefile.am: Add confstr.c.
6873 * libc/sys/linux/Makefile.in: Regenerated.
6874 * libc/sys/linux/confstr.c: New file.
6875 * libc/sys/linux/confstr.h: Ditto.
6876 * libc/sys/linux/sys/unistd.h: Include <features.h> and
6877 <bits/environments.h>.
6878
6879 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6880
6881 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
6882 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
6883 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
6884 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
6885 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
6886 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
6887
6888 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6889
6890 * libc/sys/linux/Makefile.am: Add new files.
6891 * libc/sys/linux/Makefile.in: Regenerated.
6892 * libc/sys/linux/fstab.c: New file.
6893 * libc/sys/linux/fstatvfs.c: Ditto.
6894 * libc/sys/linux/fstatvfs64.c: Ditto.
6895 * libc/sys/linux/internal_statvfs.c: Ditto.
6896 * libc/sys/linux/mntent.c: Ditto.
6897 * libc/sys/linux/mntent_r.c: Ditto.
6898 * libc/sys/linux/statvfs.c: Ditto.
6899 * libc/sys/linux/statvfs64.c: Ditto.
6900 * libc/sys/linux/include/paths.h: Ditto.
6901 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
6902 with double-underscore weak-aliases.
6903 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6904
6905 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6906
6907 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
6908 to use _sig_func_ptr type casted constants.
6909 (_sig_func_ptr): Typedef moved to sys/signal.h.
6910 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
6911 For __rtems, use POSIX definition, otherwise default to ANSI.
6912 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
6913
6914 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
6915
6916 * configure.host: Recognize m6811-elf and m6812-elf targets.
6917 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
6918 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
6919 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
6920 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
6921 according to __INT_MAX__.
6922 (_POINTER_INT): Define to short.
6923 * libc/machine/m68hc11/Makefile.am: New file.
6924 * libc/machine/m68hc11/Makefile.in: New file.
6925 * libc/machine/m68hc11/configure.in: New file.
6926 * libc/machine/m68hc11/configure: New file.
6927 * libc/machine/m68hc11/aclocal.m4: New file.
6928 * libc/machine/m68hc11/setjmp.S: New file.
6929
6930 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6931
6932 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
6933 prototypes.
6934 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
6935 * libc/stdlib/Makefile.in: Regenerated.
6936 * libc/stdlib/strdup.c: Removed.
6937 * libc/stdlib/strdup_r.c: Removed.
6938 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
6939 mempcpy.c, strndup.c, and strndup_r.c.
6940 * libc/string/Makefile.in: Regenerated.
6941 * libc/string/memccpy.c: New file.
6942 * libc/string/mempcpy.c: Ditto.
6943 * libc/string/strndup.c: Ditto.
6944 * libc/string/strndup_r.c: Ditto.
6945 * libc/string/strdup.c: New file moved from stdlib.
6946 * libc/string/strdup_r.c: Ditto.
6947 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
6948
6949 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6950
6951 * libc/include/stdio.h: Move fcloseall prototype within
6952 #ifndef _REENT_ONLY section.
6953 * libc/sys/linux/Makefile.am: Add new files.
6954 * libc/sys/linux/Makefile.in: Regenerated.
6955 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
6956 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
6957 * libc/sys/linux/sys/types.h: Add ino64_t type.
6958 * libc/sys/linux/ctermid.c: New file.
6959 * libc/sys/linux/ttyname_r.c: Ditto.
6960 * libc/sys/linux/readdir64.c: Ditto.
6961
6962 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6963
6964 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
6965 * libc/stdio/Makefile.am: Added fcloseall.c support.
6966 * libc/stdio/Makefile.in: Regenerated.
6967 * libc/stdio/fcloseall.c: New file.
6968 * libc/stdio64/Makefile.am: Remove missing .def references.
6969 * libc/stdio64/Makefile.in: Regenerated.
6970
6971 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6972
6973 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
6974 * libc/machine/powerpc/times.c: New file.
6975 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
6976 * libc/machine/powerpc/Makefile.in: Regenerated.
6977
6978 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
6979
6980 * libc/machine/powerpc/time.c: New file.
6981 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
6982 time.c.
6983 * libc/machine/powerpc/Makefile.in: Regenerated.
6984
6985 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6986
6987 * libc/libc.texinfo: Change copyright notices to Red Hat from
6988 Cygnus.
6989 * libm/libm.texinfo: Likewise.
6990 * README: Change docs URL to
6991 http://sources.redhat.com/newlib/docs.html.
6992
6993 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6994
6995 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
6996 * libc/sys/linux/Makefile.in: Regenerated.
6997 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
6998 * libc/sys/linux/io.c: Add ftruncate syscall.
6999 * libc/sys/linux/fpathconf.c: New file.
7000 * libc/sys/linux/pathconf.c: Ditto.
7001 * libc/sys/linux/linux_fsinfo.h: Ditto.
7002 * libc/sys/linux/sys/unistd.h: Ditto.
7003
7004 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7005
7006 * libc/stdio64/Makefile.am: Remove missing files.
7007 * libc/stdio64/Makefile.in: Regenerated.
7008
7009 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7010
7011 * libc/include/sys/config.h[__i386__][__linux__]: Define
7012 _LARGE64FILE_SOURCE to 1.
7013 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7014 * libc/sys/linux/Makefile.in: Regenerated.
7015 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7016 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7017 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7018 of <linux/resource.h>.
7019 * libc/sys/linux/getrlimit64.c: New file.
7020 * libc/sys/linux/setrlimit64.c: Ditto.
7021
7022 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7023
7024 * libc/argz/argz_replace.c: Include buf_findstr.h.
7025 * libc/argz/buf_findstr.c: Likewise.
7026 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7027 value to (char *).
7028 * libc/argz/envz_get.c: Likewise.
7029 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7030 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7031 * libc/stdlib/getsubopt.3: New file.
7032 * libc/stdlib/getsubopt.c: New file.
7033 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7034 Change esp to ebp.
7035
7036 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7037
7038 * configure.host(stdio64_dir): New setting that is used to
7039 enable building of new stdio64 directory.
7040 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7041 large files.
7042 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7043 stdio64 info to info files.
7044 * libc/Makefile.in: Regenerated.
7045 * libc/configure: Ditto.
7046 * libc/configure.in: Add configuration variables that are set
7047 when stdio64 is selected as subdir in configure.host.
7048 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7049 on whether STDIO64 flag is set or not.
7050 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7051 STDIO64 flag is set or not.
7052 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7053 _r sycall routines.
7054 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7055 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7056 (__SL64): New file flag indicating file is opened via fopen64.
7057 * libc/include/sys/_types.h(_off64_t): Added.
7058 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7059 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7060 for 64-bit offset large file support.
7061 (__FILE): New intermediate type either set to struct __sFILE64 or
7062 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7063 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7064 * libc/reent/Makefile.in: Regenerated.
7065 * libc/reent/fstat64r.c: New file.
7066 * libc/reent/lseek64r.c: Ditto.
7067 * libc/reent/open64r.c: Ditto.
7068 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7069 based on whether STDIO64 flag is set.
7070 * libc/stdio/stdio.tex: Add blank line.
7071 * libc/stdio64/Makefile.am: New file.
7072 * libc/stdio64/Makefile.in: Ditto.
7073 * libc/stdio64/fgetpos64.c: Ditto.
7074 * libc/stdio64/fopen64.: Ditto.
7075 * libc/stdio64/freopen64.c: Ditto.
7076 * libc/stdio64/fseeko64.c: Ditto.
7077 * libc/stdio64/fsetpos64.c: Ditto.
7078 * libc/stdio64/ftello64.c: Ditto.
7079 * libc/stdio64/local64.h: Ditto.
7080 * libc/stdio64/stdio64.c: Ditto.
7081 * libc/stdio64/stdio64.tex: Ditto.
7082 * libc/stdio64/tmpfile64.c: Ditto.
7083 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7084 open64.
7085
7086 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7087
7088 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7089 if LIBC_EXTRA_LIB is present.
7090 * libc/Makefile.in: Regenerated.
7091 * libc/libc.texinfo: Add blank line.
7092 * libc/argz/Makefile.am: Add doc support.
7093 * libc/search/Makefile.am: Ditto.
7094 * libc/argz/Makefile.in: Regenerated.
7095 * libc/search/Makefile.in: Ditto.
7096 * libc/misc/misc.tex: Add ffs function.
7097 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7098
7099 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7100
7101 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7102 definition that was removed in error.
7103
7104 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7105
7106 * libc/include/machine/ieeefp.h: Change to only define
7107 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7108 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7109 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7110 remove redundant floating point definitions.
7111
7112 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7113
7114 * libc/sys/linux/callocr.c: Fix so code references
7115 calloc.
7116
7117 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7118
7119 * libc/sys/linux/Makefile.am: Add new files.
7120 * libc/sys/linux/Makefile.in: Regenerated.
7121 * libc/sys/linux/bp-sym.h: Moved to include directory.
7122 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7123 * libc/sys/linux/inode.c: Set _LIBC to 1.
7124 * libc/sys/linux/mq_close.c: Ditto.
7125 * libc/sys/linux/mq_getattr.c: Ditto.
7126 * libc/sys/linux/mq_open.c: Ditto.
7127 * libc/sys/linux/mq_receive.c: Ditto.
7128 * libc/sys/linux/mq_send.c: Ditto.
7129 * libc/sys/linux/mq_setattr.c: Ditto.
7130 * libc/sys/linux/mq_unlink.c: Ditto.
7131 * libc/sys/linux/calloc.c: New file.
7132 * libc/sys/linux/callocr.c: Ditto.
7133 * libc/sys/linux/cfreer.c: Ditto.
7134 * libc/sys/linux/config.h: Ditto.
7135 * libc/sys/linux/free.c: Ditto.
7136 * libc/sys/linux/freer.c: Ditto.
7137 * libc/sys/linux/msize.c: Ditto.
7138 * libc/sys/linux/msizer.c: Ditto.
7139 * libc/sys/linux/mstats.c: Ditto.
7140 * libc/sys/linux/mtrim.c: Ditto.
7141 * libc/sys/linux/mtrimr.c: Ditto.
7142 * libc/sys/linux/pvallocr.c: Ditto.
7143 * libc/sys/linux/realloc.c: Ditto.
7144 * libc/sys/linux/reallocr.c: Ditto.
7145 * libc/sys/linux/thread-m.h: Ditto.
7146 * libc/sys/linux/vallocr.c: Ditto.
7147 * libc/sys/linux/bp-checks.h: Ditto.
7148 * libc/sys/linux/libc-symbols.h: Ditto.
7149 * libc/sys/linux/libc-tsd.h: Ditto.
7150 * libc/sys/linux/libintl.h: Ditto.
7151 * libc/sys/linux/malign.c: Ditto.
7152 * libc/sys/linux/malignr.c: Ditto.
7153 * libc/sys/linux/mallinfor.c: Ditto.
7154 * libc/sys/linux/malloc.c: Ditto.
7155 * libc/sys/linux/mallocr.c: Ditto.
7156 * libc/sys/linux/malloptr.c: Ditto.
7157 * libc/sys/linux/mallstatsr.c: Ditto.
7158 * libc/sys/linux/mcheck.c: Ditto.
7159 * libc/sys/linux/mhooks.h: Ditto.
7160 * libc/sys/linux/include/bp-sym.h: Ditto.
7161 * libc/sys/linux/include/malloc.h: Ditto.
7162 * libc/sys/linux/include/mcheck.h: Ditto.
7163 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7164 getpagesize.c.
7165 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7166 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7167 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7168 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7169 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7170 * libc/sys/linux/machine/i386/sysdep.h: New file.
7171 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7172 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7173 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7174
7175 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7176
7177 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7178 instead of <asm/siginfo.h>.
7179 * libc/sys/linux/sys/signal.h: Change to include various linux
7180 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7181 to work with multiple releases of glibc header files.
7182
7183 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7184
7185 * testsuite/newlib.search/hsearchtest.c: New file to test
7186 newlib/libc/search.
7187 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7188
7189 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7190
7191 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7192 a terminal.
7193 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7194
7195 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7196
7197 * libc/include/math.h (MAXFLOAT): Added.
7198
7199 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7200
7201 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7202 Make strcmp.S unconditional.
7203 * libc/machine/sh/Makefile.in: Regenerate.
7204 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7205 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7206 for SHcompact.
7207
7208 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7209
7210 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7211 define before including <sys/lock.h>.
7212
7213 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7214
7215 * libc/include/utime.h: Add include of <_ansi.h>.
7216 * libc/sys/linux/Makefile.am: Add utimes.c.
7217 * libc/sys/linux/Makefile.in: Regenerated.
7218 * libc/sys/linux/inode.c(__umask): New static routine.
7219 (umask): Written to use __umask and attempt to thread lock.
7220 (getumask): New function written to use __umask and thread lock.
7221 * libc/sys/linux/utimes.c: New file.
7222 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7223 * libc/sys/linux/sys/utime.h: New file.
7224
7225 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7226
7227 * libtool.m4: New file.
7228 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7229 rather than as a syscall.
7230
7231 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7232
7233 * libc/include/stdio.h: Add new prototypes.
7234 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7235 * libc/stdio/Makefile.in: Regenerated.
7236 * libc/stdio/fseek.c: Add fseeko documentation.
7237 * libc/stdio/ftell.c: Add ftello documentation.
7238 * libc/stdio/fseeko.c: New file.
7239 * libc/stdio/ftello.c: New file.
7240
7241 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7242
7243 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7244 * libc/stdio/Makefile.in: Regenerated.
7245 * libc/stdio/asprintf.c: New file.
7246 * libc/stdio/vasprintf.c: Ditto.
7247 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7248 the buffer for asprintf support.
7249 * libc/stdio/sprintf.c: Add asprintf documentation.
7250 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7251 * libc/include/stdio.h: Add new prototypes.
7252
7253 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7254
7255 * libc/search/hcreate.c: Remove advertising clause from license.
7256 * libc/search/hcreate_r.c: Likewise.
7257
7258 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7259
7260 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7261 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7262 Check that one of them is defined and error out if not.
7263 Add any platforms defined in <machine/ieeefp.h> that are missing.
7264 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7265 (DB_LITTLE_ENDIAN): New defines.
7266 * libc/search/hash.c: Replace all incorrect checks for
7267 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7268 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7269 * libc/search/hash_page.c: Likewise.
7270
7271 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7272
7273 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7274
7275 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7276
7277 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7278 * libc/include/time.h: Same.
7279 * libc/include/string.h: Same.
7280 * libc/include/stdlib.h: Same.
7281 * libc/include/signal.h: Same.
7282 * libc/include/setjmp.h: Same.
7283 * libc/include/math.h: Same.
7284 * libc/include/locale.h: Same.
7285 * libc/include/ctype.h: Same.
7286 * libc/include/machine/setjmp.h: Same.
7287 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7288 (_END_STD_C): Add.
7289
7290 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7291
7292 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7293 32-bits, otherwise define it as long.
7294 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7295 and define ssize_t as _ssize_t.
7296 * libc/reent/readr.c: Change return type to _ssize_t.
7297 * libc/reent/writer.c: Ditto.
7298 * libc/sys/linux/Makefile.am: Add aio.c.
7299 * libc/sys/linux/Makefile.in: Regenerated.
7300 * libc/sys/linux/aio.c: New file.
7301 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7302 * libm/common/fdlibm.h: Undef __P before defining it.
7303
7304 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7305
7306 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7307 exponent_is_even_int variable. Handle case where x is
7308 negative, and y is an odd integer.
7309 * libm/mathfp/sf_pow.c (powf): Likewise.
7310
7311 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7312 * libm/mathfp/erf_lgamma.c: Likewise.
7313 * libm/mathfp/s_tgamma.c: Likewise.
7314 * libm/mathfp/sf_tgamma.c: Likewise.
7315
7316 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7317
7318 * libc/sys/linux/Makefile.am: Add new clock routines.
7319 * libc/sys/linux/Makefile.in: Regenerated.
7320 * libc/sys/linux/clock_getres.c: New file.
7321 * libc/sys/linux/clock_gettime.c: Ditto.
7322 * libc/sys/linux/clock_settime.c: Ditto.
7323 * libc/sys/linux/hp-timing.h: Ditto.
7324 * libc/sys/linux/libc-internal.h: Ditto.
7325 * libc/sys/linux/sysconf.c: Fix typo.
7326 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7327 * libc/sys/linux/machine/hp-timing.h: New file.
7328 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7329 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7330 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7331 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7332 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7333 * libc/sys/linux/sys/linux_time.h: New file.
7334 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7335 replace with <sys/linux_time.h>.
7336
7337 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7338
7339 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7340
7341 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7342
7343 * libc/sys/linux/Makefile.am: Consolidate additional items under
7344 ADD_OBJS.
7345 * libc/sys/linux/Makefile.in: Regenerated.
7346
7347 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7348
7349 * libc/sys/linux/sethostname.c: New file.
7350 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7351 * libc/sys/linux/Makefile.in: Regenerated.
7352
7353 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7354
7355 * libc/search/db_local.h: New file.
7356 * libc/include/db.h: Remove.
7357 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7358 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7359 "db_local.h".
7360 * libc/search/hash_bigkey.c: Likewise.
7361 * libc/search/hash_buf.c: Likewise.
7362 * libc/search/hash_func.c: Likewise.
7363 * libc/search/hash_log2.c: Likewise.
7364 * libc/search/hash_page.c: Likewise.
7365
7366 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
7367
7368 * libc/machine/sh/strlen.S: New file.
7369 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
7370 * libc/machine/sh/Makefile.am: Regenerate.
7371
7372 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7373
7374 * libc/sys/linux/gethostname.c: Change name to __gethostname and
7375 add gethostname alias.
7376
7377 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
7378
7379 * libc/include/math.h: Remove <sys/types.h>.
7380 (__dmath): Use __ULong instead of __uint32_t.
7381 * libc/include/sys/reent.h: If long or int is not 32-bits,
7382 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
7383 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
7384 * libm/common/fdlibm.h: Ditto.
7385
7386 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7387
7388 * libc/include/ndbm.h: Remove.
7389 * libc/search/ndbm.c: Remove.
7390
7391 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
7392
7393 * libc/stdio/fseek.c (fseek): Fix braces.
7394
7395 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
7396
7397 * libc/time/strftime.c (strftime): Add %e format specifier.
7398
7399 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
7400
7401 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
7402 previously defined.
7403
7404 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
7405
7406 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
7407 (BYTE_ORDER): Define as appropriate for the target.
7408
7409 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7410
7411 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
7412 to _ssize_t.
7413 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
7414
7415 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7416
7417 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
7418 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
7419 [HAVE_GETDATE](getdate_err): New error code.
7420 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
7421 * libc/stdio/Makefile.in: Regenerated.
7422 * libc/stdio/getdelim.c: New file.
7423 * libc/stdio/getline.c: Ditto.
7424 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
7425 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
7426 * libc/sys/linux/Makefile.in: Regenerated.
7427 * libc/sys/linux/getdate.c: New file.
7428 * libc/sys/linux/getdate_err.c: Ditto.
7429 * libc/sys/linux/ntp_gettime.c: Ditto.
7430 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
7431 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
7432
7433 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7434
7435 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
7436 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
7437 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
7438 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
7439 * libc/include/sys/param.h: Remove i386 case which is handled
7440 by default case.
7441 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
7442 definitions in case they are already defined.
7443 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
7444 _IEEE_LITTLE_ENDIAN flags.
7445 * libc/include/sys/reent.h: Change __uint32_t references to
7446 use _ULong instead.
7447 (_REENT_GETDATE_REENT_P): New macro.
7448 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
7449 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
7450 * libc/search/hash.h: Add default setting of BYTE_ORDER,
7451 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
7452 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
7453 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
7454 pid_t, off_t, loff_t, caddr_t, and daddr_t type
7455 definitions which are done by subsequent glibc headers.
7456 Add macro definitions to prevent subsequent header files from
7457 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
7458 intptr_t to after glibc definitions of types they are based on.
7459
7460 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
7461
7462 * libc/include/errno.h: Protect from multiple inclusion.
7463
7464 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
7465
7466 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
7467
7468 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
7469
7470 * Makefile.am (LIB_OBJECTLISTS): Add
7471 libc/search/objectlist.awk.in.
7472 * libc/Makefile.am (SUBDIRS): Add search.
7473 (SUBLIBS): Add search/libsearch.la.
7474 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
7475 * libc/search: New directory.
7476 * libc/search/Makefile.am: New file.
7477 * libc/search/extern.h: New file.
7478 * libc/search/hash.c: New file.
7479 * libc/search/hash.h: New file.
7480 * libc/search/hash_bigkey.c: New file.
7481 * libc/search/hash_buf.c: New file.
7482 * libc/search/hash_func.c: New file.
7483 * libc/search/hash_log2.c: New file.
7484 * libc/search/hash_page.c: New file.
7485 * libc/search/hcreate.3: New file.
7486 * libc/search/hcreate.c: New file.
7487 * libc/search/hcreate_r.c: New file.
7488 * libc/search/ndbm.c: New file.
7489 * libc/search/page.h: New file.
7490 * libc/search/tdelete.c: New file.
7491 * libc/search/tdestroy.c: New file.
7492 * libc/search/tfind.c: New file.
7493 * libc/search/tsearch.3: New file.
7494 * libc/search/tsearch.c: New file.
7495 * libc/search/twalk.c: New file.
7496 * libc/include/db.h: New file.
7497 * libc/include/ndbm.h: New file.
7498 * libc/include/search.h: New file.
7499 * libc/include/sys/queue.h: New file.
7500 * libc/include/sys/cdefs.h: New file.
7501 * libc/include/sys/param.h
7502 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
7503 LITTLE_ENDIAN or BIG_ENDIAN.
7504 * libc/include/sys/errno.h (EFTYPE): New macro.
7505 * libc/search/bsearch.c: Move from libc/stdlib.
7506 * libc/search/qsort.c: Likewise.
7507 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
7508 qsort.c.
7509 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
7510 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
7511
7512 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
7513
7514 * libc/sys/linux/Makefile.am: Add support for message queue routines,
7515 ipc routines, and ftok.
7516 * libc/sys/linux/Makefile.in: Regenerated.
7517 * libc/sys/linux/ftok.c: New file.
7518 * libc/sys/linux/ipc.c: Ditto.
7519 * libc/sys/linux/mq_close.c: Ditto.
7520 * libc/sys/linux/mq_getattr.c: Ditto.
7521 * libc/sys/linux/mq_notify.c: Ditto.
7522 * libc/sys/linux/mq_open.c: Ditto.
7523 * libc/sys/linux/mq_receive.c: Ditto.
7524 * libc/sys/linux/mq_send.c: Ditto.
7525 * libc/sys/linux/mq_setattr.c: Ditto.
7526 * libc/sys/linux/mq_unlink.c: Ditto.
7527 * libc/sys/linux/mqlocal.h: Ditto.
7528 * libc/sys/linux/include/mqueue.h: Ditto.
7529 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
7530 __uid_t_defined.
7531
7532 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
7533
7534 * libm/common/sf_lround.c (round): Change name to: (lround).
7535 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
7536 remquof.
7537
7538 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7539
7540 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
7541 procedure.
7542 (newlib_pass_fail): Change to compile and run only one file.
7543 * testsuite/newlib.locale/locale.exp: Use new
7544 newlib_pass_fail_all procedure.
7545 * testsuite/newlib.string/string.exp: Likewise.
7546
7547 2002-06-18 Dave Brolley <brolley@redhat.com>
7548
7549 From Catherine Moore, Michael Meissner, Richard Sandiford:
7550 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
7551 (_JBTYPE): Ditto.
7552 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
7553 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
7554 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
7555 * configure.host: Support frv-*-*.
7556 * libc/machine/frv/Makefile.am: New file.
7557 * libc/machine/frv/configure.in: New file.
7558 * libc/machine/frv/setjmp.S: New file.
7559
7560 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7561
7562 * libc/include/ctype.h: Remove isblank macro.
7563
7564 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
7565 * libc/ctype/isblank.c: New file.
7566 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
7567 declaration. Add isblank macro.
7568
7569 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
7570
7571 * testsuite/newlib.stdlib/atexit.c: New file.
7572 * testsuite/newlib.stdlib/atexit.exp: Ditto.
7573 * testsuite/newlib.string/tstring.c: Change default start size
7574 to something more reasonable for embedded platforms.
7575
7576 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7577
7578 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
7579
7580 * libc/argz: New directory.
7581 * libc/argz/*: New files.
7582 * libc/argz/argz_add.c: New file.
7583 * libc/argz/argz_add_sep.c: New file.
7584 * libc/argz/argz_append.c: New file.
7585 * libc/argz/argz_count.c: New file.
7586 * libc/argz/argz_create.c: New file.
7587 * libc/argz/argz_create_sep.c: New file.
7588 * libc/argz/argz_delete.c: New file.
7589 * libc/argz/argz_extract.c: New file.
7590 * libc/argz/argz_insert.c: New file.
7591 * libc/argz/argz_next.c: New file.
7592 * libc/argz/argz_replace.c: New file.
7593 * libc/argz/argz_stringify.c: New file.
7594 * libc/argz/buf_findstr.c: New file.
7595 * libc/argz/envz_add.c: New file.
7596 * libc/argz/envz_entry.c: New file.
7597 * libc/argz/envz_get.c: New file.
7598 * libc/argz/envz_merge.c: New file.
7599 * libc/argz/envz_remove.c: New file.
7600 * libc/argz/envz_strip.c: New file.
7601 * libc/include/argz.h: New file.
7602 * libc/include/envz.h: New file.
7603 * Makefile.am (LIBC_OBJECTLISTS): Add
7604 libc/argz/objectlist.awk.in.
7605 * libc/Makefile.am (SUBDIRS): Add argz.
7606 (SUBLIBS): Add argz/libargz.la.
7607 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
7608 * libc/include/errno.h: Add error_t typedef.
7609
7610 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
7611
7612 * libc/include/stdlib.h: Add _Exit prototype.
7613 * libc/stdlib/Makefile.am: Add _Exit.c support.
7614 * libc/stdlib/Makefile.in: Ditto.
7615 * libc/stdlib/_Exit.c: New file.
7616
7617 2002-06-13 Stephen L. Moshier <steve@moshier.net>
7618
7619 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
7620 x is close to -1.0 and y is very large to use ax (absolute value)
7621 instead of x.
7622 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
7623
7624 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
7625
7626 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
7627 Fix clobbering bytes before destination if src and dst have same
7628 non-zero misalignment.
7629
7630 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7631 Fixed bug in writing end of set region.
7632
7633 2002-06-10 Christopher Faylor <cgf@redhat.com>
7634
7635 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
7636 spawnve declaration.
7637
7638 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7639
7640 * libm/common/s_fdim.c: New file.
7641 * libm/common/s_fma.c: Likewise.
7642 * libm/common/s_fmax.c: Likewise.
7643 * libm/common/s_fmin.c: Likewise.
7644 * libm/common/s_fpclassify.c: Likewise.
7645 * libm/common/s_lrint.c: Likewise.
7646 * libm/common/s_lround.c: Likewise.
7647 * libm/common/s_nearbyint.c: Likewise.
7648 * libm/common/s_remquo.c: Likewise.
7649 * libm/common/s_round.c: Likewise.
7650 * libm/common/s_scalbln.c: Likewise.
7651 * libm/common/s_signbit.c: Likewise.
7652 * libm/common/s_trunc.c: Likewise.
7653 * libm/common/sf_fdim.c: Likewise.
7654 * libm/common/sf_fma.c: Likewise.
7655 * libm/common/sf_fmax.c: Likewise.
7656 * libm/common/sf_fmin.c: Likewise.
7657 * libm/common/sf_lrint.c: Likewise.
7658 * libm/common/sf_lround.c: Likewise.
7659 * libm/common/sf_nearbyint.c: Likewise.
7660 * libm/common/sf_remquo.c: Likewise.
7661 * libm/common/sf_round.c: Likewise.
7662 * libm/common/sf_scalbln.c: Likewise.
7663 * libm/common/sf_trunc.c: Likewise.
7664 * libm/math/w_exp2.c: Likewise.
7665 * libm/math/w_tgamma.c: Likewise.
7666 * libm/math/wf_exp2.c: Likewise.
7667 * libm/math/wf_tgamma.c: Likewise.
7668 * libm/mathfp/s_exp2.c: Likewise.
7669 * libm/mathfp/s_tgamma.c: Likewise.
7670 * libm/mathfp/sf_exp2.c: Likewise.
7671 * libm/mathfp/sf_tgamma.c: Likewise.
7672 * libm/math/er_gamma.c: Fix return value.
7673 * libm/math/erf_gamma.c: Likewise.
7674 * libm/mathfp/er_gamma.c: Likewise.
7675 * libm/mathfp/erf_gamma.c: Likewise.
7676 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
7677 declarations and macros.
7678 Regenerated all Makefile.in, aclocal.m4 and configure files to
7679 use new libtool macros in top-level libtool.m4
7680
7681 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
7682
7683 * libc/include/string.h[__linux__]: Add strsignal prototype.
7684 * libc/include/sys/lock.h: New file with default locking support.
7685 * libc/include/sys/reent.h: Add signal buffer support for strsignal
7686 and psignal.
7687 * libc/posix/Makefile.am: Add support for readdir_r.c.
7688 * libc/posix/Makefile.in: Regenerated.
7689 * libc/posix/closedir.c: Add locking support and hash table cleanup.
7690 * libc/posix/opendir.c: Add lock support.
7691 * libc/posix/readdir.c: Ditto.
7692 * libc/posix/rewinddir.c: Ditto.
7693 * libc/posix/scandir.c: Ditto.
7694 * libc/posix/seekdir.c: Ditto.
7695 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
7696 clean up leftover hash table entries.
7697 * libc/posix/readdir_r.c: New file.
7698 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
7699 * libc/sys/linux/Makefile.in: Regenerated.
7700 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
7701 * libc/sys/linux/sys/signal.h: Add psignal prototype.
7702 * libc/sys/linux/psignal.c: New file.
7703 * libc/sys/linux/strsignal.c: Ditto.
7704
7705 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
7706
7707 * libc/include/sys/types.h: Don't define dev_t when compiling for
7708 Cygwin.
7709
7710 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
7711
7712 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
7713 make siglist.inc dependent on sig.c instead of signal.c.
7714 * libc/sys/linux/Makefile.in: Regenerated.
7715 * libc/sys/linux/sig.c: Rename from signal.c and change code to
7716 use NSIG instead of _NSIG.
7717 * libc/sys/linux/sigaction.c: New file.
7718 * libc/sys/linux/signal.c: Changed to be linux signal() function
7719 so as to override regular newlib default signal.c.
7720 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
7721 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7722 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
7723 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
7724 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
7725 default linux sigset_t typedef by defining it equal to __sigset_t.
7726 * libc/unix/sigset.c: Add check so code isn't compiled on systems
7727 with a sigset_t that isn't implemented with a single int.
7728
7729 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
7730
7731 * libc/sys/linux/Makefile.am: Add support for new files.
7732 * libc/sys/linux/Makefile.in: Regenerated.
7733 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
7734 * libc/sys/linux/signal.c: Change to use real-time syscalls for
7735 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
7736 it is in a separate file now.
7737 * libc/sys/linux/machine/i386/Makefile.am
7738 * libc/sys/linux/machine/i386/Makefile.in
7739 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
7740 * libc/sys/linux/sigaction.c: New file.
7741 * libc/sys/linux/sigqueue.c: Ditto.
7742 * libc/sys/linux/sigwait.c: Ditto.
7743 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
7744 * libc/sys/linux/kernel_sigaction.h: Ditto.
7745
7746 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
7747
7748 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
7749 tcsendbrk.c.
7750 * libc/sys/linux/Makefile.in: Regenerated.
7751 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
7752 tcgetpgrp(), and tcsetpgrp() functions.
7753 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
7754 to get __MAX_BAUD rate.
7755 * libc/sys/linux/machine/i386/include/termios.h: New file.
7756 * libc/include/machine/termios.h: Ditto.
7757 * libc/sys/linux/cfspeed.c: Ditto.
7758 * libc/sys/linux/tcsendbrk.c: Ditto.
7759
7760 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
7761
7762 * libc/include/string.h: Add strnlen and strerror_r prototypes.
7763 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
7764 * libc/string/Makefile.in: Regenerated.
7765 * libc/string/strerror_r.c: New file.
7766 * libc/string/strnlen.c: New file.
7767 * libc/sys/linux/Makefile.am: Add rename.c.
7768 * libc/sys/linux/Makefile.in: Regenerated.
7769 * libc/sys/linux/rename.c: New file to override default rename.
7770
7771 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7772
7773 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
7774 * libc/sys/linux/sys/time.h: Add conversion macros.
7775 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
7776 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
7777 * libc/sys/linux/gethostname.c: New file.
7778 * libc/sys/linux/seteuid.c: New file.
7779 * libc/sys/linux/sysctl.c: New file.
7780
7781 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7782
7783 * libc/string/Makefile.am: Add support for strsep.c.
7784 * libc/string/Makefile.in: Regenerated.
7785 * libc/string/strsep.c: New file.
7786 * libc/string/strtok.c: Change to call __strtok_r service routine.
7787 * libc/string/strtok_r.c: Add __strtok_r routine which takes
7788 additional flag parameter regarding whether to skip leading delimeters.
7789 Change strtok_r to call __strtok_r.
7790
7791 2002-05-23 Gareth Pearce <tilps@hotmail.com>
7792
7793 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
7794 * libc/stdio/Makefile.in: Regenerated.
7795 * libc/stdio/setbuffer.c: New file.
7796 * libc/stdio/setlinebuf.c: New file.
7797
7798 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7799
7800 * libc/sys/linux/Makefile.am: Add resource.c.
7801 * libc/sys/linux/Makefile.in: Regenerated.
7802 * libc/sys/linux/resource.c: New file.
7803 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
7804 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
7805 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7806 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
7807 are now found in libc/sys/linux/resource.c.
7808
7809 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7810
7811 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
7812 to use void * pointers and comply with Single Unix spec.
7813 * libc/string/bcmp.c: Change to use void * instead of char *.
7814 * libc/string/bcopy.c: Ditto.
7815 * libc/string/bzero.c: Ditto.
7816
7817 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7818
7819 * libc/sys/linux/shm_open.c: New file.
7820 * libc/sys/linux/shm_unlink.c: Ditto.
7821 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
7822 shm_unlink.c.
7823 * libc/sys/linux/Makefile.in: Regenerated.
7824 * libc/sys/linux/sys/types.h: Add some additional checks to see
7825 if clock_t or time_t is already defined.
7826
7827 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7828
7829 * Makefile.am: Don't pass $toollibdir down directly in
7830 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
7831 Pass it under the name: top_toollibdir.
7832 * Makefile.in: Regenerated.
7833
7834 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
7835
7836 * libc/include/sys/types.h: Revert previous patch.
7837
7838 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
7839
7840 * libc/include/sys/types.h: Include cygwin/types.h always under
7841 Cygwin, not only if _POSIX_THREADS is defined.
7842
7843 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
7844
7845 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
7846
7847 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
7848
7849 * Makefile.am: Copy and install headers from sys/machine/include
7850 directory. Also pass $toollibdir to lower-level directories.
7851 * Makefile.in: Regenerated.
7852 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
7853 stderr to use _REENT macro instead of _impure_ptr directly.
7854 * libc/include/sys/config.h[__i386__][__linux__]: Define
7855 __DYNAMIC_REENT__.
7856 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
7857 call to __getreent() function if !__SINGLE_THREAD__ and
7858 __DYNAMIC_REENT__ is set.
7859 * libc/reent/Makefile.am: Add support for getreent.c.
7860 * libc/reent/Makefile.in: Regenerated.
7861 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
7862 * libc/sys/linux/Makefile.am: Add support for new files.
7863 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
7864 * libc/sys/linux/Makefile.in: Regenerated.
7865 * libc/sys/linux/configure: Ditto.
7866 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
7867 __close, __read, __write, __poll, __open, __lseek, __fcntl from
7868 their __libc_ counterparts.
7869 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
7870 and weak-alias to regular names.
7871 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
7872 to pread64 and __pread64.
7873 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
7874 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
7875 weak-alias to pwrite64.
7876 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
7877 __libc_sched_getscheduler, __libc_sched_get_priority_max,
7878 __libc_sched_get_priority_min, and __libc_sched_setschedule to
7879 name with __ instead of __libc_.
7880 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
7881 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
7882 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
7883 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
7884 to raise.
7885 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
7886 __libc_send to __send.
7887 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
7888 __gettimeofday.
7889 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
7890 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
7891 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
7892 type and typedef __jmp_buf to jmp_buf.
7893 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
7894 setjmp.S.
7895 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7896 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
7897 section.
7898 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
7899 prefix for function macros and then use weak_alias() to regular names.
7900 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7901 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
7902 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
7903 to be flockfile() and funlockfile() respectively.
7904 * libc/sys/linux/sys/types.h
7905 * libc/reent/getreent.c: New file.
7906 * libc/sys/linux/flockfile.c: Ditto.
7907 * libc/sys/linux/funlockfile.c: Ditto.
7908 * libc/sys/linux/getreent.c: Ditto.
7909 * libc/sys/linux/pread.c: Ditto.
7910 * libc/sys/linux/pwrite.c: Ditto.
7911 * libc/sys/linux/raise.c: Ditto.
7912 * libc/sys/linux/system.c: Ditto.
7913 * libc/sys/linux/tcdrain.c: Ditto.
7914 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
7915 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
7916 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
7917 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
7918 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
7919
7920 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
7921
7922 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
7923 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
7924 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
7925 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
7926
7927 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7928
7929 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
7930 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
7931 exit point.
7932
7933 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7934
7935 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
7936 options when testing natively on i[3456]86-*-linux.
7937
7938 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
7939 only one pass or fail per test file. Trim \r's from output
7940 values received from test programs. Remove support for named
7941 tests.
7942 * testsuite/newlib.locale/UTF-8.exp: Update to support new
7943 newlib_check_output behaviour.
7944 * testsuite/newlib.locale/UTF-8.c: Likewise.
7945
7946 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
7947
7948 * libc/include/stdlib.h: Add on_exit prototype.
7949 * libc/include/sys/reent.h (struct _atexit): Add argument array
7950 and bits to track type of exit routine to support both on_exit
7951 and atexit.
7952 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
7953 by default and change the setting of the atexit structure.
7954 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
7955 * libc/stdlib/on_exit.c: New file.
7956 * libc/stdlib/Makefile.am: Add support for on_exit.
7957 * libc/stdlib/Makefile.in: Regenerated.
7958 * libc/stdlib/atexit.c: Change to initialize types field.
7959 * libc/stdlib/exit.c: Change to look at types field for each
7960 exit routine and either call an atexit-style or an on_exit-style
7961 routine accordingly.
7962
7963 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7964
7965 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
7966 allow v specifier with n or L specifiers. For vector c format,
7967 move tmp declaration to the top.
7968
7969 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7970
7971 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
7972 the original format specifier when looping for vectors to compensate
7973 for any changes made in vector %g format processing.
7974 Also add syntax checking for various invalid scenarios
7975 involving vector format extensions.
7976 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
7977 return code setting for vector formats. Also treat vector
7978 separator mismatch as a match error instead of an input error.
7979 Perform some syntax checking for vector formats.
7980
7981 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7982
7983 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
7984 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
7985 * libc/string/strlcat.c: New file.
7986 * libc/string/strlcpy.c: New file.
7987
7988 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
7989
7990 * libc/string/strchr.c: Fix comment typo.
7991
7992 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
7993
7994 * acinclude.m4: Add support for --enable-newlib-multithread.
7995 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
7996 --enable-newlib-multithread=no.
7997
7998 * libc/stdio/getc_u.c: New file.
7999 * libc/stdio/getchar_u.c: New file.
8000 * libc/stdio/putc_u.c: New file.
8001 * libc/stdio/putchar_u.c: New file.
8002 * libc/include/stdio.h: Add declarations for getc_unlocked,
8003 getchar_unlocked, putc_unlocked and putchar_unlocked.
8004 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8005 (CHEWOUT_FILES): Add new files' .def's.
8006 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8007
8008 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8009
8010 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8011 Also handle as single quad word when destination ends at last
8012 byte of first quad word. Fix byte selection in single quad code.
8013
8014 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8015
8016 * libc/include/sys/stdio.h: New file.
8017 * libc/sys/linux/sys/stdio.h: New file.
8018 * libc/include/stdio.h: Add declarations for flockfile,
8019 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8020 * libc/stdio/clearerr.c: Add file locking.
8021 * libc/stdio/fclose.c: Likewise.
8022 * libc/stdio/feof.c: Likewise.
8023 * libc/stdio/ferror.c: Likewise.
8024 * libc/stdio/fflush.c: Likewise.
8025 * libc/stdio/fgetc.c: Likewise.
8026 * libc/stdio/fgetpos.c: Likewise.
8027 * libc/stdio/fgets.c: Likewise.
8028 * libc/stdio/fileno.c: Likewise.
8029 * libc/stdio/fputc.c: Likewise.
8030 * libc/stdio/fputs.c: Likewise.
8031 * libc/stdio/fread.c: Likewise.
8032 * libc/stdio/freopen.c: Likewise.
8033 * libc/stdio/fseek.c: Likewise.
8034 * libc/stdio/ftell.c: Likewise.
8035 * libc/stdio/fwrite.c: Likewise.
8036 * libc/stdio/getc.c: Likewise.
8037 * libc/stdio/putc.c: Likewise.
8038 * libc/stdio/setvbuf.c: Likewise.
8039 * libc/stdio/ungetc.c: Likewise.
8040 * libc/stdio/vfprintf.c: Likewise.
8041
8042 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8043
8044 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8045 support for 'p' format. Fix code to print bytes for vector
8046 integer formats that do not specify 'h' or 'l'.
8047 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8048 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8049 formats that do not specify 'h' or 'l'.
8050
8051 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8052
8053 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8054
8055 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8056 (_sbrk): Add cast of return value.
8057
8058 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8059
8060 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8061 (_REENT_L64A_BUF): New macro for accessing area.
8062 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8063 * libc/stdlib/Makefile.in: Regenerated.
8064 * libc/stdlib/a64l.c: New file.
8065 * libc/stdlib/l64a.c: New file.
8066
8067 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8068
8069 * libc/unix/pread.c: Fix typo for _pread_r.
8070 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8071 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8072 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8073
8074 2002-05-03 Christopher Faylor <cgf@redhat.com>
8075
8076 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8077
8078 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8079
8080 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8081
8082 2002-05-01 Christopher Faylor <cgf@redhat.com>
8083
8084 * utmp.h: Define more UNIX constants.
8085
8086 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8087
8088 * Makefile.am: Add support for checking multilibs.
8089
8090 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8091 (SUBDEFS): Add LIBC_EXTRA_DEF.
8092 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8093 (LIBC_EXTRA_DEF): Likewise.
8094 (extra_dir): Likewise.
8095 * libc/machine/xscale/machine: New directory.
8096 * libc/machine/xscale/machine/profile.h: New file.
8097
8098 * Makefile.am (site.exp): Remove newlib_cflags. Add
8099 multibuildtop.
8100 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8101 * testsuite/lib/flags.exp: New file.
8102 * testsuite/lib/newlib.exp: Load flags.exp.
8103 (newlib_target_compile): Remove libgloss directory references.
8104 (newlib_init): Remove newlib_cflags references.
8105
8106 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8107
8108 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8109 method of finding libgloss_target_dir.
8110
8111 * Makefile.am (site.exp): Change host_alias, host_triplet,
8112 target_alias, target_triplet to refer to gcc's host and target
8113 variables (newlib's build and host variables).
8114 * testsuite/lib/newlib.exp (newlib_init): Change build
8115 references to host references, host references to target
8116 references to reflect Makefile.am changes.
8117 (newlib_target_compile): Likewise.
8118 (newlib_finish): Likewise.
8119
8120 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8121
8122 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8123
8124 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8125
8126 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8127 (_system): New function. Ditto.
8128 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8129 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8130 targets.
8131
8132 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8133
8134 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8135 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8136 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8137 * libc/sys/linux/Makefile.in: Regenerated.
8138 * libc/unix/Makefile.in: Ditto.
8139 * libc/sys/linux/pread64.c: New file.
8140 * libc/sys/linux/pwrite64.c: Ditto.
8141 * libc/unix/pread.c: Ditto.
8142 * libc/unix/pwrite.c: Ditto.
8143
8144 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8145
8146 * libc/sys/linux/Makefile.am: Add io64.c.
8147 * libc/sys/linux/Makefile.in: Regenerated.
8148 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8149 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8150 * libc/sys/linux/io64.c: New file.
8151
8152 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8153
8154 * configure.in (CC_FOR_NEWLIB): New variable that
8155 bases on $(CC) and adds targ-include and libc/include as
8156 -isystem directives if they are not already part of $(CC).
8157 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8158 $(CC_FOR_NEWLIB).
8159 * configure: Regenerated.
8160 * Makefile.in: Ditto.
8161
8162 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8163
8164 * libc/sys/linux/Makefile.am: Add support for sched.c.
8165 * libc/sys/linux/Makefile.in: Regenerated.
8166 * libc/sys/linux/sched.c: New file.
8167 * libc/sys/linux/sys/types.h: Add struct timespec.
8168
8169 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8170
8171 * configure.in (CC_FOR_BUILD): Set to gcc whether
8172 cross-compiling or not.
8173 (CC): Add -isystem's for targ-include and libc/include when they
8174 do not already appear in CC.
8175
8176 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8177
8178 * Makefile.am (check-DEJAGNU): New target.
8179 (site.exp): Likewise.
8180 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8181 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8182 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8183 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8184 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8185 * testsuite: New directory.
8186 * testsuite/config: Likewise.
8187 * testsuite/lib: Likewise.
8188 * testsuite/newlib.locale: Likewise.
8189 * testsuite/newlib.string: Likewise.
8190 * testsuite/config/default.exp: New file.
8191 * testsuite/lib/checkoutput.exp: New file.
8192 * testsuite/lib/newlib.exp: New file.
8193 * testsuite/lib/passfail.exp: New file.
8194 * testsuite/newlib.locale/UTF-8.c: New file.
8195 * testsuite/newlib.locale/UTF-8.exp: New file.
8196 * testsuite/newlib.locale/locale.exp: New file.
8197 * testsuite/newlib.string/string.exp: New file.
8198 * testsuite/newlib.string/tstring.c: New file.
8199
8200 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8201
8202 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8203 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8204 * libc/sys/linux/Makefile.in: Regenerated.
8205 * libc/sys/linux/mmap.c: New file.
8206 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8207 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8208
8209 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8210
8211 * acinclude.m4 (newlib_cflags): Remove include directories that
8212 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8213
8214 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8215
8216 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8217 * libc/machine/xscale/memcmp.c: Ditto.
8218 * libc/machine/xscale/memcpy.c: Ditto.
8219 * libc/machine/xscale/memmove.c: Ditto.
8220 * libc/machine/xscale/memset.c: Ditto.
8221 * libc/machine/xscale/strchr.c: Ditto.
8222 * libc/machine/xscale/strcmp.c: Ditto.
8223 * libc/machine/xscale/strcpy.c: Ditto.
8224 * libc/machine/xscale/strlen.c: Ditto.
8225
8226 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8227
8228 * libc/include/sys/config.h: Remove include of <limits.h>.
8229 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8230 define INT_MAX and LONG_MAX. Use them in tests.
8231
8232 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8233
8234 * configure.host: Add support for powerpc-eabialtivec*.
8235 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8236 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8237 * libc/include/machine/malloc.h: New file.
8238 * libc/include/machine/stdlib.h: Ditto.
8239 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8240 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8241 sources based on configuration.
8242 * libc/machine/powerpc/Makefile.in: Regenerated.
8243 * libc/machine/powerpc/configure: Ditto.
8244 * libc/machine/powerpc/configure.in: Add check for
8245 powerpc-eabialtivec* in which case add in additional source files.
8246 * libc/machine/powerpc/setjmp.S: Add altivec support.
8247 * libc/machine/powerpc/vec_calloc.c: New file.
8248 * libc/machine/powerpc/vec_free.c: Ditto.
8249 * libc/machine/powerpc/vec_malloc.c: Ditto.
8250 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8251 * libc/machine/powerpc/vec_realloc.c: Ditto.
8252 * libc/machine/powerpc/machine/malloc.h: Ditto.
8253 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8254 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8255 with added altivec format specifiers.
8256 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8257 added altivec format specifiers.
8258
8259 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8260
8261 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8262 while autoconf is trying to link main(){}.
8263
8264 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8265
8266 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8267 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8268
8269 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8270
8271 * libc/time/time.tex: Add tzset info.
8272
8273 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8274
8275 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8276 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8277 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8278 (tzname): Defined for all platforms.
8279 (daylight, timezone): Defined only for CYGWIN.
8280 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8281 environment set up.
8282 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8283 environment variable is set.
8284 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8285 tzset_r.c.
8286 * libc/time/Makefile.in: Regenerated.
8287 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8288 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8289 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8290 * libc/time/local.h: New local header file.
8291 * libc/time/mktime.c (mktime): Add timezone support.
8292 * libc/time/mktm_r.c: New file which is the common engine
8293 for gmtime_r and lcltime_r. This code has timezone support.
8294 * libc/time/strftime.c (strftime): Add %Z timezone support.
8295 * libc/time/tzlock.c: New file containing timezone lock stubs.
8296 * libc/time/tzset.c: New file containing tzset() routine.
8297 * libc/time/tzset_r.c: New file containing _tzset_r and
8298 internal routine for calculating timezone changes for specified year.
8299
8300 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8301
8302 * configure.in (CRT0_DIR): Set to libc/.
8303 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8304 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8305 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8306 $(CRT1_DIR)/$(CRT1).
8307 * libc/machine/xstormy16/Makefile.in: Regenerated.
8308 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8309 * libc/machine/xstormy16/configure: Regenerated.
8310
8311 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8312
8313 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8314 fails, don't bail out, and try to correct next time.
8315
8316 * libc/include/sys/config.h: Include limits.h.
8317
8318 2002-04-12 Eric Norum <eric.norum@usask.com>
8319
8320 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8321 routine to allow autoconf to determine that building executables
8322 for rtems works.
8323 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8324 (rtems_gxx_mutex_once): Ditto.
8325
8326 2002-04-09 Tom Rix <trix@redhat.com>
8327
8328 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8329
8330 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8331
8332 * libc/include/time.h: Fix strptime declaration.
8333 * libc/time/Makefile.am: Add strptime.c.
8334 * libc/time/Makefile.in: Regenerated.
8335 * libc/time/strptime.c: New file.
8336
8337 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8338
8339 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8340 siglongjmp prototype, and sigsetjmp macro definition.
8341 * libc/sys/linux/siglongjmp.c: New file.
8342 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8343 * libc/sys/linux/Makefile.in: Regenerated.
8344
8345 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8346
8347 * Makefile.am: Add support for installing crt1.o if one exists.
8348 * configure.host: Specify crt1.o for linux.
8349 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8350 * Makefile.in: Regenerated.
8351 * configure: Ditto.
8352 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8353 Added for non-Cygwin, non-RTEMS configurations.
8354 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8355 * libc/sys/linux/Makefile.in: Regenerated.
8356 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8357 by gcc. This fixes problem with reconfiguring linux newlib build.
8358 * libc/sys/linux/sysconf.c: New file.
8359
8360 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8361
8362 * configure.host: Add support for machine subdirectory of
8363 sys subdirectory.
8364 * configure.in: Add check for sys machine subdirectory.
8365 * Makefile.am: Ditto.
8366 * configure: Regenerated.
8367 * Makefile.in: Ditto.
8368 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8369 * libc/sys/linux/sys/syscall.h: Ditto.
8370 * libc/sys/linux/sleep.c: New file.
8371 * libc/sys/linux/socket.c: Ditto.
8372 * libc/sys/linux/sockops.h: Ditto.
8373 * libc/sys/linux/stack.c: Ditto.
8374 * libc/sys/linux/usleep.c: Ditto.
8375 * libc/sys/linux/machine/Makefile.am: Ditto.
8376 * libc/sys/linux/machine/Makefile.in: Ditto.
8377 * libc/sys/linux/machine/aclocal.m4: Ditto.
8378 * libc/sys/linux/machine/configure: Ditto.
8379 * libc/sys/linux/machine/configure.in: Ditto.
8380 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8381 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8382 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8383 * libc/sys/linux/machine/i386/configure: Ditto.
8384 * libc/sys/linux/machine/i386/configure.in: Ditto.
8385 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8386 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8387 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8388 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8389 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8390 * libc/sys/linux/sys/select.h: Ditto.
8391 * libc/sys/linux/configure.in: Add support for machine directory.
8392 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8393 * libc/sys/linux/Makefile.in: Regenerated.
8394 * libc/sys/linux/configure: Ditto.
8395 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8396 * libc/sys/linux/inode.c: Ditto.
8397 * libc/sys/linux/linux.c: Ditto.
8398 * libc/sys/linux/process.c: Ditto.
8399 * libc/sys/linux/systat.c: Ditto.
8400 * libc/sys/linux/time.c: Ditto.
8401 * libc/sys/linux/wait.c: Ditto.
8402 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8403 * libc/sys/linux/io.c: Change header plus add readv/writev.
8404 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8405 use __sigsuspend syscall.
8406 * libc/sys/linux/select.c: Change header plus change select to
8407 use _newselect syscall.
8408 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8409 used by glibc header files.
8410 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8411 types.
8412
8413 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8414
8415 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8416 initializing a struct _reent that has been dynamically allocated.
8417 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8418 _REENT_SMALL and does nothing otherwise.
8419 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8420 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8421 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8422 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8423 [_REENT_SMALL](struct _misc_reent): New structure containing
8424 miscellaneous reentrant areas needed by newlib.
8425 [_REENT_SMALL](struct _reent): Add _misc pointer.
8426 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8427 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8428 and _REENT_STRTOK_LAST macros.
8429 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8430 and _REENT_MBLEN_STATE macros.
8431 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8432 and _REENT_MBTOWC_STATE macros.
8433 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8434 and _REENT_WCTOMB_STATE macros.
8435
8436 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8437
8438 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8439
8440 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8441
8442 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8443
8444 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8445
8446 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8447 Store high part of leading bytes too.
8448
8449 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8450
8451 * libm/math/ef_hypot.c: Increase scale factor to 68.
8452
8453 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8454
8455 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8456 error.
8457
8458 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8459
8460 * libc/sys/go32/access.c: Change license to relaxed license
8461 used in identical file throughout newlib/libgloss.
8462
8463 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8464
8465 * libc/sys/arm/access.c: New file.
8466 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8467 * libc/sys/arm/Makefile.in: Regenerate.
8468 * libc/sys/arm/syscalls.c (_stat): New function.
8469
8470 2002-03-11 Michael Meissner <meissner@redhat.com>
8471
8472 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8473 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8474 * libc/machine/mips/Makefile.in: Regenerate.
8475 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8476 * libc/machine/mips/memset.c: Dito.
8477 * libc/machine/mips/strcmp.c: Dito.
8478 * libc/machine/mips/strlen.c: Dito.
8479 * libc/machine/mips/strncmp.c: Dito.
8480
8481 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8482
8483 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8484 object so it works for shared library or statici library.
8485 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8486
8487 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8488 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8489 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8490 (tzname): Defined for all platforms.
8491 (daylight, timezone): Defined only for CYGWIN.
8492 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8493 environment set up.
8494 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8495 environment variable is set.
8496 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8497 tzset_r.c.
8498 * libc/time/Makefile.in: Regenerated.
8499 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8500 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8501 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8502 * libc/time/local.h: New local header file.
8503 * libc/time/mktime.c (mktime): Add timezone support.
8504 * libc/time/mktm_r.c: New file which is the common engine
8505 for gmtime_r and lcltime_r. This code has timezone support.
8506 * libc/time/strftime.c (strftime): Add %Z timezone support.
8507 * libc/time/tzlock.c: New file containing timezone lock stubs.
8508 * libc/time/tzset.c: New file containing tzset() routine.
8509 * libc/time/tzset_r.c: New file containing _tzset_r and
8510 internal routine for calculating timezone changes for specified year.
8511
8512 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8513
8514 * configure.in (CRT0_DIR): Set to libc/.
8515 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8516 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8517 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8518 $(CRT1_DIR)/$(CRT1).
8519 * libc/machine/xstormy16/Makefile.in: Regenerated.
8520 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8521 * libc/machine/xstormy16/configure: Regenerated.
8522
8523 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8524
8525 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8526 fails, don't bail out, and try to correct next time.
8527
8528 * libc/include/sys/config.h: Include limits.h.
8529
8530 2002-04-12 Eric Norum <eric.norum@usask.com>
8531
8532 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8533 routine to allow autoconf to determine that building executables
8534 for rtems works.
8535 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8536 (rtems_gxx_mutex_once): Ditto.
8537
8538 2002-04-09 Tom Rix <trix@redhat.com>
8539
8540 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8541
8542 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8543
8544 * libc/include/time.h: Fix strptime declaration.
8545 * libc/time/Makefile.am: Add strptime.c.
8546 * libc/time/Makefile.in: Regenerated.
8547 * libc/time/strptime.c: New file.
8548
8549 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8550
8551 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8552 siglongjmp prototype, and sigsetjmp macro definition.
8553 * libc/sys/linux/siglongjmp.c: New file.
8554 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8555 * libc/sys/linux/Makefile.in: Regenerated.
8556
8557 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8558
8559 * Makefile.am: Add support for installing crt1.o if one exists.
8560 * configure.host: Specify crt1.o for linux.
8561 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8562 * Makefile.in: Regenerated.
8563 * configure: Ditto.
8564 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8565 Added for non-Cygwin, non-RTEMS configurations.
8566 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8567 * libc/sys/linux/Makefile.in: Regenerated.
8568 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8569 by gcc. This fixes problem with reconfiguring linux newlib build.
8570 * libc/sys/linux/sysconf.c: New file.
8571
8572 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8573
8574 * configure.host: Add support for machine subdirectory of
8575 sys subdirectory.
8576 * configure.in: Add check for sys machine subdirectory.
8577 * Makefile.am: Ditto.
8578 * configure: Regenerated.
8579 * Makefile.in: Ditto.
8580 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
8581 * libc/sys/linux/sys/syscall.h: Ditto.
8582 * libc/sys/linux/sleep.c: New file.
8583 * libc/sys/linux/socket.c: Ditto.
8584 * libc/sys/linux/sockops.h: Ditto.
8585 * libc/sys/linux/stack.c: Ditto.
8586 * libc/sys/linux/usleep.c: Ditto.
8587 * libc/sys/linux/machine/Makefile.am: Ditto.
8588 * libc/sys/linux/machine/Makefile.in: Ditto.
8589 * libc/sys/linux/machine/aclocal.m4: Ditto.
8590 * libc/sys/linux/machine/configure: Ditto.
8591 * libc/sys/linux/machine/configure.in: Ditto.
8592 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
8593 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
8594 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
8595 * libc/sys/linux/machine/i386/configure: Ditto.
8596 * libc/sys/linux/machine/i386/configure.in: Ditto.
8597 * libc/sys/linux/machine/i386/crt0.c: Ditto.
8598 * libc/sys/linux/machine/i386/sigset.c: Ditto.
8599 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
8600 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
8601 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8602 * libc/sys/linux/sys/select.h: Ditto.
8603 * libc/sys/linux/configure.in: Add support for machine directory.
8604 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
8605 * libc/sys/linux/Makefile.in: Regenerated.
8606 * libc/sys/linux/configure: Ditto.
8607 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
8608 * libc/sys/linux/inode.c: Ditto.
8609 * libc/sys/linux/linux.c: Ditto.
8610 * libc/sys/linux/process.c: Ditto.
8611 * libc/sys/linux/systat.c: Ditto.
8612 * libc/sys/linux/time.c: Ditto.
8613 * libc/sys/linux/wait.c: Ditto.
8614 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
8615 * libc/sys/linux/io.c: Change header plus add readv/writev.
8616 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
8617 use __sigsuspend syscall.
8618 * libc/sys/linux/select.c: Change header plus change select to
8619 use _newselect syscall.
8620 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
8621 used by glibc header files.
8622 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
8623 types.
8624
8625 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
8626
8627 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
8628 initializing a struct _reent that has been dynamically allocated.
8629 (_REENT_CHECK_MISC): New macro that checks _misc struct for
8630 _REENT_SMALL and does nothing otherwise.
8631 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
8632 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
8633 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
8634 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
8635 [_REENT_SMALL](struct _misc_reent): New structure containing
8636 miscellaneous reentrant areas needed by newlib.
8637 [_REENT_SMALL](struct _reent): Add _misc pointer.
8638 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
8639 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
8640 and _REENT_STRTOK_LAST macros.
8641 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
8642 and _REENT_MBLEN_STATE macros.
8643 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
8644 and _REENT_MBTOWC_STATE macros.
8645 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
8646 and _REENT_WCTOMB_STATE macros.
8647
8648 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8649
8650 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8651
8652 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8653
8654 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8655
8656 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8657
8658 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8659 Store high part of leading bytes too.
8660
8661 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8662
8663 * libm/math/ef_hypot.c: Increase scale factor to 68.
8664
8665 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8666
8667 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8668 error.
8669
8670 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8671
8672 * libc/sys/go32/access.c: Change license to relaxed license
8673 used in identical file throughout newlib/libgloss.
8674
8675 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8676
8677 * libc/sys/arm/access.c: New file.
8678 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8679 * libc/sys/arm/Makefile.in: Regenerate.
8680 * libc/sys/arm/syscalls.c (_stat): New function.
8681
8682 2002-03-11 Michael Meissner <meissner@redhat.com>
8683
8684 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8685 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8686 * libc/machine/mips/Makefile.in: Regenerate.
8687 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8688 * libc/machine/mips/memset.c: Dito.
8689 * libc/machine/mips/strcmp.c: Dito.
8690 * libc/machine/mips/strlen.c: Dito.
8691 * libc/machine/mips/strncmp.c: Dito.
8692
8693 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8694
8695 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8696 object so it works for shared library or statici library.
8697 * libc/machine/i386/Makefile.in: Regenerated.
8698
8699 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
8700
8701 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
8702 Add memcpy.S, memset.S and strcpy.S.
8703 * libc/machine/sh/Makefile.in: Regenerate.
8704 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
8705 (SHHI, SHLO): Define.
8706 * libc/machine/sh/memset.S: Add code for SH5.
8707 * libc/machine/sh/memset.S: Likewise.
8708 * libc/machine/sh/strcpy.S: Likewise.
8709
8710 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
8711
8712 * configure.host: Add check for --disable-newlib-io-float
8713 configuration option and add -DNO_FLOATING_POINT to newlib cflags
8714 if appropriate.
8715 * acinclude.m4: Added --disable-newlib-io-float option.
8716 * aclocal.m4: Regenerated.
8717 * configure: Ditto.
8718 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8719 * libc/*/aclocal.m4 libc/*/configure
8720 * libm/*/aclocal.m4 libm/*/configure: Ditto.
8721 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
8722 if NO_FLOATING_POINT flag is not defined.
8723
8724 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
8725
8726 * libc/include/sys/config.h: Add __extension__ in front of
8727 long long references.
8728
8729 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8730
8731 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
8732 (_stat): Ditto.
8733
8734 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8735
8736 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
8737 of off_t.
8738
8739 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
8740
8741 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
8742 clobbered registers.
8743
8744 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8745
8746 * configure.host (newlib_cflags): When host is in m68* add
8747 -DCOMPACT_CTYPE.
8748
8749 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
8750
8751 * libc/include/sys/config.h: Add definitions for
8752 __int16_t, __uint16_t, __int64_t, and __uint64_t.
8753
8754 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
8755
8756 * libc/sys/mmixware/link.c: New.
8757 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
8758 volatile.
8759 * libc/sys/mmixware/times.c (_times): Renamed from times.
8760 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
8761 properly by reading previous contents, not through BinaryReadWrite.
8762 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
8763 * libc/sys/mmixware/Makefile.in: Regenerate.
8764
8765 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
8766
8767 * libc/include/grp.h: Don't declare group functions when compiling
8768 Cygwin.
8769
8770 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
8771
8772 * libc/include/grp.h: Include Cygwin specific header.
8773 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
8774 when compiling for Cygwin.
8775 * libc/include/sys/types.h: Don't define off_t, uid_t
8776 and gid_t when compiling for Cygwin.
8777
8778 2002-02-08 matthew green <mrg@redhat.com>
8779
8780 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
8781 _REENT_EMERGENCY_SIZE, not sizeof(char *).
8782
8783 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
8784
8785 Contribute sh64-elf.
8786 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
8787 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
8788 support in printf.
8789 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
8790 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
8791 any labels.
8792 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
8793 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
8794 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
8795 * libc/machine/sh/configure.in: Rework conditionals.
8796 * libc/machine/sh/Makefile.am: Likewise.
8797 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
8798 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
8799 * configure.host: Match `sh*'.
8800 * libc/include/machine/setjmp.h: Define for SH5.
8801 * libc/machine/sh/configure.in: Detect SH5.
8802 * libc/machine/sh/configure: Rebuilt.
8803 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
8804 * libc/machine/sh/Makefile.in: Rebuilt.
8805 * libc/machine/sh/asm.h: Adjust for SH5.
8806 * libc/machine/sh/setjmp.S: Implement in SHmedia.
8807 * libc/sys/sh/crt0.S: Likewise.
8808 * libc/sys/sh/trap.S: Likewise.
8809
8810 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
8811
8812 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
8813 (mach_add_obj): Conditionally set to setjmp.o or nothing.
8814 (LIB_SOURCES): Remove $(mach_add_src).
8815 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
8816 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
8817 * libc/machine/i386/Makefile.in: Regenerate.
8818
8819 2002-02-05 Manik Raina <manik@cisco.com>
8820
8821 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
8822 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
8823 s, p, k, and outstr.
8824 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
8825
8826 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
8827
8828 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
8829 _REENT_CHECK_EMERGENCY macro.
8830
8831 2002-02-03 matthew green <mrg@redhat.com>
8832
8833 * libc/reent/signgam.c (__signgam): Fix error in previous.
8834
8835 2002-02-02 matthew green <mrg@redhat.com>
8836
8837 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
8838
8839 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
8840 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
8841 * libc/include/sys/reent.h (struct _reent): Completely new version
8842 for _REENT_SMALL.
8843 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
8844 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
8845 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
8846 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
8847 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
8848 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
8849 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
8850 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
8851 (_REENT_EMERGENCY): Likewise.
8852
8853 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
8854 the start of the real __sFILE, used for stdin, stdout and stderr until
8855 they are setup properly.
8856 (struct __sFILE): Move location of _data in _REENT_SMALL case.
8857 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
8858 allocated stdin, stdout and stderr.
8859 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
8860 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
8861 * libc/stdio/perror.c (_perror_r): Likewise.
8862 * libc/stdio/printf.c (printf, _printf_r): Likewise.
8863 * libc/stdio/putchar.c (_putchar_r): Likewise.
8864 * libc/stdio/puts.c (_puts_r): Likewise.
8865 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
8866 * libc/stdio/vprintf.c (vprintf): Likewise.
8867 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
8868
8869 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
8870
8871 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
8872 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
8873 for _REENT_SMALL.
8874 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
8875 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
8876
8877 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
8878 _REENT_SMALL.
8879 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
8880 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
8881 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
8882 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
8883 * libc/stdlib/rand48.c (__dorand48): Likewise.
8884 * libc/stdlib/seed48.c (_seed48_r): Likewise.
8885 * libc/stdlib/srand48.c (_srand48_r): Likewise.
8886 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
8887 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
8888 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
8889 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
8890 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
8891 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
8892 * libc/stdlib/rand.c (rand): Likewise.
8893
8894 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
8895 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
8896
8897 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
8898 _REENT_MP_FREELIST() and _REENT_MP_P5S.
8899 * libc/include/sys/reent.h (struct _mprec): New structure.
8900
8901 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
8902 _unused_strtok_last.
8903 * libc/string/strtok.c (strtok): Use a local static variable.
8904
8905 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
8906 (_REENT_EMERGENCY_SIZE): Likewise.
8907 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
8908 _REENT_ASCTIME_BUF().
8909 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
8910 _REENT_TM().
8911
8912 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
8913 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
8914 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
8915 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
8916 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
8917 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
8918
8919 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
8920
8921 * configure.host (xstormy16): Don't use the generic malloc.
8922 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
8923 * libc/machine/xstormy16/Makefile.in: Regenerate.
8924 * libc/machine/xstormy16/mallocr.c: New file.
8925 * libc/machine/xstormy16/tiny-malloc.c: New file.
8926
8927 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8928
8929 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
8930 when _CYGWIN_TYPES_H is not defined.
8931
8932 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8933
8934 * libc/include/sys/signal.h: Revert 2002-01-23 change.
8935
8936 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
8937
8938 * libc/include/sys/signal.h: Remove pthread_kill declaration
8939 when __CYGWIN__ is defined.
8940
8941 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8942
8943 * libc/include/time.h: Add prototype for strptime for Cygwin.
8944
8945 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
8946
8947 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
8948 dst was not word aligned.
8949
8950 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
8951 if too much memory is requested.
8952
8953 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
8954
8955 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
8956 reads blanks from the input file to break if EOF reached
8957 rather than end processing.
8958
8959 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
8960
8961 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
8962
8963 2002-01-07 Alan Matsuoka <alanm@redhat.com>
8964
8965 * libc/include/machine/ieeefp.h: Configure d10v doubles to
8966 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
8967 libc/include/sys/config.h: Ditto.
8968
8969 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
8970
8971 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
8972
8973 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
8974 Catherine Moore <clm@redhat.com>
8975 Richard Henderson <rth@redhat.com>
8976 Corinna Vinschen <vinschen@redhat.com>
8977
8978 * configure.host: Add support for xstormy16.
8979 * libc/include/machine/ieeefp.h: Add support for xstormy16.
8980 * libc/include/machine/setjmp.h: Add support for xstormy16.
8981 * libc/include/sys/config.h: Add support for xstormy16.
8982 * libc/machine/xstormy16/Makefile.am: New file.
8983 * libc/machine/xstormy16/Makefile.in: New file.
8984 * libc/machine/xstormy16/aclocal.m4: New file.
8985 * libc/machine/xstormy16/configure: New file.
8986 * libc/machine/xstormy16/configure.in: New file.
8987 * libc/machine/xstormy16/setjmp.S: New file.
8988
8989 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8990
8991 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
8992 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
8993
8994 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
8995
8996 * libm/machine/Makefile.am: Change rules to create correct lib.a.
8997 * libm/machine/Makefile.in: Regenerated through automake.
8998
8999 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9000
9001 * Makefile.am (DOCDIR): Force to empty string when doc
9002 directory is not present.
9003
9004 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9005
9006 * libc/machine/i386/f_*: Move to libm/machine/i386.
9007
9008 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9009
9010 * libm/machine/Makefile.am: Add dummy doc stub so
9011 "make info" works.
9012
9013 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9014
9015 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9016
9017 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9018
9019 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9020 $(COMPILE) rather than $(CC).
9021 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9022 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9023 $(LIB_COMPILE) change.
9024 (vfiprintf.$(oext)): Likewise.
9025
9026 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9027
9028 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9029 conditionalized including of getopt stuff.
9030
9031 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9032
9033 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9034 compile line.
9035 (vfiprintf.$(oext)): Likewise.
9036
9037 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9038
9039 * Makefile.shared: New file.
9040 * libc/sys/linux/shared.ld: New file.
9041 * libm/machine/*: New files.
9042 * libm/machine/i386/*: New files.
9043 * Makefile.am: Add libtool support. Change math and mathfp
9044 references to variables.
9045 * configure.host: Add variables for libtool support. Add
9046 libm_machine_dir variable.
9047 * configure.in: Add objectlist variables, for libtool
9048 support. Add CC_FOR_BUILD tests.
9049 * libc/Makefile.am: Add libtool support. Change crt0.o
9050 reference to be a variable reference.
9051 * libc/configure.in: Add libtool support. Change sublib
9052 names to be lib${subdir}.la when using libtool.
9053 * libc/ctype/Makefile.am: Add libtool support.
9054 * libc/errno/Makefile.am: Likewise.
9055 * libc/locale/Makefile.am: Likewise.
9056 * libc/machine/Makefile.am: Likewise.
9057 * libc/machine/configure.in: Likewise.
9058 * libc/machine/i386/Makefile.am: Likewise.
9059 * libc/machine/i386/configure.in: Likewise.
9060 * libc/misc/Makefile.am: Likewise.
9061 * libc/posix/Makefile.am: Likewise.
9062 * libc/reent/Makefile.am: Likewise.
9063 * libc/signal/Makefile.am: Likewise.
9064 * libc/stdio/Makefile.am: Likewise.
9065 * libc/stdlib/Makefile.am: Likewise.
9066 * libc/string/Makefile.am: Likewise.
9067 * libc/sys/Makefile.am: Likewise.
9068 * libc/sys/configure.in: Likewise.
9069 * libc/sys/linux/Makefile.am: Add libtool support. Change
9070 awk reference to a variable reference. Change signal.h
9071 reference to a variable reference.
9072 * libc/sys/linux/configure.in: Add libtool support.
9073 * libc/syscalls/Makefile.am: Likewise.
9074 * libc/time/Makefile.am: Likewise.
9075 * libc/unix/Makefile.am: Likewise.
9076 * libm/Makefile.am: Add libtool support. Change math and
9077 mathfp references to variables.
9078 * libm/configure.in: Add libtool support. Add
9079 LIBM_MACHINE_LIB variable.
9080 * libm/common/Makefile.am: Add libtool support.
9081 * libm/math/Makefile.am: Likewise.
9082 * libm/mathfp/Makefile.am: Likewise.
9083 Regenerate all Makefile.in, aclocal.m4, and configure.
9084
9085 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9086
9087 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9088
9089 2001-12-06 John Peacock <jpeacock@rowman.com>
9090
9091 * libc/include/sys/unistd.h: Correct ualarm declaration.
9092
9093 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9094
9095 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9096 vector before calling the initialisation functions.
9097
9098 2001-11-29 Christopher Faylor <cgf@redhat.com>
9099
9100 * libc/include/dirent.h: Protect against multiple inclusion.
9101
9102 2001-11-27 Christopher Faylor <cgf@redhat.com>
9103
9104 * libc/include/sys/types.h: Define useconds_t.
9105 * libc/include/sys/ulimit.h: Declare ualarm.
9106
9107 2001-11-21 Christopher Faylor <cgf@redhat.com>
9108
9109 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9110
9111 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9112
9113 * libc/sys/mmixware/*: Tweak license header in all source files.
9114
9115 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9116
9117 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9118 to here. Rearrange for general inclusion by stdlib.h.
9119 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9120 isn't defined.
9121 * libc/sys/linux/include/alloca.h: Move to libc/include.
9122
9123 2001-11-12 Anthony Green <green@redhat.com>
9124
9125 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9126
9127 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9128
9129 * libc/sys/mmixware/*: Correct spacing in all source files.
9130 * libc/sys/mmixware/syscall.h: Move misplaced file...
9131 * libc/sys/mmixware/sys/syscall.h: ...here.
9132
9133 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9134
9135 * libc/include/machine/ieeefp.h: Add support for mmix target.
9136 * libc/include/machine/setjmp.h: Ditto.
9137 * configure.host: Ditto.
9138 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9139 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9140 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9141 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9142 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9143 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9144 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9145 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9146 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9147 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9148 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9149 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9150 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9151 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9152 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9153 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9154 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9155 libc/sys/mmixware/aclocal.m4: Generate.
9156
9157 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9158
9159 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9160 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9161 when __CYGWIN__ is defined.
9162 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9163 logwtmp().
9164
9165 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9166
9167 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9168 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9169 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9170 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9171
9172 2001-10-24 Christopher Faylor <cgf@redhat.com>
9173
9174 * libc/stdio/fseek.c: Reset pointer to buffer base
9175 when forced to seek outside of current buffer contents.
9176 This prevents the code from erroneously thinking there is
9177 anything in the current buffer.
9178
9179 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9180
9181 * libc/include/math.h: The C++ standard adds the single-precision
9182 versions of the elementary functions.
9183
9184 2001-10-22 Christopher Faylor <cgf@redhat.com>
9185
9186 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9187 throughout.
9188 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9189 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9190 * system.c (_system_r): Ditto.
9191
9192 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9193
9194 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9195 __CYGWIN__ or __rtems__ is defined.
9196
9197 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9198
9199 * libc/include/stdlib.h: add declarations for
9200 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9201 * libc/stdio/local.h: remove declarations of
9202 __strtoull_r and __strtoll_r.
9203 * libc/stdio/vfscanf.c(__svfscanf_r): call
9204 _strtoull_r instead of __strtoull_r. Ditto
9205 _strtoll_r vs. __strtoll_r.
9206 * libc/stdlib/Makefile.am: add new files to
9207 .c list and .def list
9208 * libc/stdlib/Makefile.in: regenerate
9209 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9210 as _strtoll_r
9211 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9212 as _strtoull_r
9213 * libc/stdlib/strtoull.c: new file
9214 * libc/stdlib/strtoll.c: new file
9215
9216 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9217
9218 * libc/include/process.h: Add getpid() declaration.
9219
9220 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9221
9222 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9223 for new style arm/elf ctor/dtor handling.
9224 Minor formatting tidy up.
9225
9226 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9227
9228 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9229 and strtoull_r.c.
9230 * libc/stdlib/Makefile.in: Regenerated.
9231 * libc/stdlib/strtoll_r.c: New file.
9232 * libc/stdlib/strtoull_r.c: New file.
9233 * libc/stdio/local.h: Add prototypes for long long string
9234 conversion routines.
9235 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9236 tied to %L integer conversion specifier.
9237
9238 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9239
9240 * strftime.c (strftime): Fix "%W" implementation to properly handle
9241 Mondays too.
9242
9243 2001-09-07 Jeff Law <law@redhat.com>
9244
9245 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9246 __fini with "mov.l" instead of "mov.w".
9247
9248 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9249
9250 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9251 and getopt.h.
9252
9253 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9254
9255 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9256
9257 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9258
9259 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9260 field.
9261 (__DIRENT_VERSION): New define.
9262
9263 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9264
9265 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9266 Shrink __d_reserved accordingly to keep structure size.
9267 (dirfd): Declare external.
9268
9269 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9270
9271 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9272
9273 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9274
9275 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9276 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9277 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9278 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9279 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9280 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9281 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9282 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9283 Add conditional compilation to avoid HW FPU instructions
9284 when compiled for soft-float.
9285
9286 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9287
9288 * Makefile.am: Add check for ln failing when creating libg.a
9289 so that cp gets used as a backup.
9290 * Makefile.in: Regenerated.
9291
9292 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9293
9294 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9295 No longer include time.h. Add struct __tm to use for
9296 _localtime_buf in the reentrant structure. Add a
9297 _NULL definition to use in initializing the reentrant struct.
9298 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9299 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9300 <sys/_types.h>.
9301 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9302 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9303 _localtime_buf to be struct tm *.
9304
9305 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9306
9307 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9308 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9309 __ctors_end.
9310 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9311 (_unlink): New stub function.
9312
9313 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9314
9315 * libc/include/sys/errno.h: Add a cautionary comment.
9316
9317 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9318
9319 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9320 for SIZE_SZ so that alignment ends up a minimum of 8.
9321
9322 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9323
9324 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9325 arguments.
9326
9327 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9328 Cygwin.
9329
9330 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9331
9332 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9333 macro constants for mallopt options.
9334 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9335
9336 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9337
9338 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9339 otherwise default.
9340
9341 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9342
9343 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9344
9345 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9346
9347 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9348 Define for little endian ARMs.
9349
9350 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9351 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9352
9353 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9354
9355 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9356
9357 2001-06-11 Egor Duda <deo@logos-m.ru>
9358
9359 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9360 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9361 initialized memory region. Platform can define COMPACT_CTYPE
9362 to avoid allocation of the additional 128 bytes of data.
9363 Add pointer to _ctype_ array. Always initialize all _ctype_
9364 array elements.
9365
9366 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
9367
9368 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
9369 NULL pointer.
9370
9371 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
9372
9373 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
9374
9375 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
9376
9377 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
9378 matching, non-word alignment, and the length is <= 4 but more than
9379 enough to move them over a word boundary.
9380 Add comments explaining what each instruction does.
9381
9382 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
9383
9384 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
9385 * libc/include/sys/unistd.h: Ditto.
9386
9387 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
9388
9389 * libc/string/strrchr.c: Use strchr for the speed improvements.
9390
9391 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
9392
9393 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
9394 real file systems, let __smakebuf() determine if line buffering
9395 should be used for stdout.
9396
9397 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9398
9399 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
9400
9401 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
9402
9403 * libc/include/stdlib.h: Add prototype for _strtod_r.
9404
9405 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
9406
9407 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
9408 * libc/stdio/vprintf.c (_vprintf_r): new function
9409 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
9410 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
9411 _DEFUN, and call _vfprintf_r, not vfprintf.
9412 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
9413 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
9414 _DEFUN, and call _vfprintf_r, not vfprintf.
9415
9416 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
9417
9418 * libc/include/sys/unistd.h [X_OK]: Use better protection against
9419 Cygwin X_OK definitions in sys/file.h.
9420
9421 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
9422
9423 * libc/include/sys/time.h: Define timercmp and other macros for
9424 __CYGWIN__, too.
9425
9426 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9427
9428 * acinclude.m4: Added --enable-malloc-debugging configure flag.
9429 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
9430 --enable-malloc-debugging selected.
9431 * aclocal.m4 configure: Regenerated.
9432 libm/aclocal.m4 libm/configure: Ditto.
9433 * libc/aclocal.m4 libc/configure: Ditto.
9434 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
9435 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
9436 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
9437 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
9438 * doc/aclocal.m4 doc/configure: Ditto.
9439
9440 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
9441
9442 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
9443 into one list.
9444 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
9445 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
9446 function prototypes.
9447 (_fscanf_r, _sscanf_r): Ditto.
9448 * libc/include/stdlib.h: Added _strtod_r prototype.
9449 * libc/stdio/Makefile.am: Add new v*scanf functions.
9450 * libc/stdio/Makefile.in: Regenerate.
9451 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
9452 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
9453 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
9454 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
9455 (sscanf): Changed to call __svfscanf_r with _REENT argument.
9456 (_sscanf_r): New routine.
9457 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
9458 with __svfscanf_r prototype.
9459 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
9460 routines.
9461 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
9462 structure as argument as calls reentrant versions of helper functions
9463 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
9464 to _strtol_r and _strtod_r respectively.
9465 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
9466 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
9467 _REENT argument.
9468 * libc/stdio/vscanf.c: New file.
9469 * libc/stdio/vsscanf.c: Ditto.
9470
9471 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
9472
9473 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
9474 Define daylight to _daylight if it is not defined
9475 Prepare a variable export of timezone based on timezonevariable.
9476 (Cannot be used with the timezone() function.)
9477
9478 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
9479
9480 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
9481 Correct the numerical values.
9482
9483 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
9484
9485 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
9486
9487 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
9488
9489 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
9490 on case insensitve file systems.
9491
9492 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
9493
9494 * libc/include/sys/features.h: Add appropriate defines for Cygwin
9495 pthread support.
9496 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
9497 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
9498 types. Include <cygwin/types.h> for the cygwin specific typedefs.
9499
9500 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
9501
9502 * libc/include/machine/ieeefp.h: Comment about new configuration
9503 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
9504 * libm/common/fdlib.h: Define new macros for testing floats.
9505 * libm/common/sf_*: Use them.
9506 * libm/math/ef_*: Likewise.
9507 * libm/math/sf_*: Likewise.
9508
9509 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
9510
9511 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
9512 prolog to by-pass possible assembler error.
9513
9514 2001-03-21 Egor Duda <deo@logos-m.ru>
9515
9516 Allow building internal stubs for non-reentrant syscalls
9517 if target provides its own malloc
9518 * libc/reent/reent.c (errno): Move definition here.
9519 * libc/reent/sbrkr.c: From here.
9520
9521 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
9522
9523 * libc/include/sys/types.h (BSD int typedefs): Guard with
9524 _BSDTYPES_DEFINED rather than _WINSOCK_H.
9525 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
9526 _SYS_TYPES_FD_SET.
9527 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
9528 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
9529
9530 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
9531
9532 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
9533 _PC_POSIX_SECURITY constants for Cygwin.
9534
9535 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
9536
9537 * libc/sys/cygwin/crt0.c: Add copyright hint.
9538 * libc/sys/cygwin/sys/dirent.h: Ditto.
9539 * libc/sys/cygwin/sys/param.h: Ditto.
9540 * libc/sys/cygwin/sys/utime.h: Ditto.
9541 * libc/sys/cygwin/sys/utmp.h: Ditto.
9542
9543 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9544
9545 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
9546 equivalent to LONGINT.
9547
9548 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
9549
9550 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
9551 jmpbuf on MIPS64 targets.
9552 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
9553
9554 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
9555
9556 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
9557 declarations.
9558
9559 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
9560
9561 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
9562 For RTEMS, define to be ssize_t. Default to int if not defined.
9563 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
9564 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
9565 * libc/stdio/local.h (__sread, __swrite): Likewise.
9566 * libc/include/sys/reent.h (_read, _write): Likewise.
9567 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
9568 * libc/syscalls/sysread.c (read): Likewise.
9569 * libc/syscalls/syswrite.c (write): Likewise.
9570
9571 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
9572
9573 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
9574
9575 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
9576
9577 * libc/include/sys/stat.h: Use special defines for executable stat bits
9578 when compiling for Cygwin.
9579 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
9580 for Cygwin.
9581
9582 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9583
9584 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
9585 of strtok_r is always defined.
9586
9587 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
9588
9589 * libc/include/machine/ansi.h: New dummy header file.
9590
9591 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
9592
9593 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
9594 changed the copyright information to allow free modification of the
9595 file with no reference to "copying.dj".
9596 * libc/include/sys/stat-dj.h: Ditto.
9597 * libc/machine/i386/setjmp.S: Ditto.
9598 * libc/sys/h8300hms/sys/file.h: Ditto.
9599 * libc/sys/sysmec/access.c: Ditto.
9600 * libc/sys/sysnecv850/access.c: Ditto.
9601 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
9602 * libc/stdlib/getenv_r.c: Ditto.
9603 * libc/stdlib/putenv_r.c: Ditto.
9604 * libc/stdlib/setenv_r.c: Ditto.
9605 * libc/stdlib/getenv.c: Removed DJ reference since any possible
9606 modifications will now be in the _r version of this file.
9607 * libc/stdlib/putenv.c: Ditto.
9608 * libc/stdlib/setenv.c: Ditto.
9609 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
9610 valid. Added a reference to DJ's web page that contains his address.
9611 * libc/sys/go32/*.s: Removed references to DJ's old address.
9612 * libc/sys/go32/*.c: Ditto.
9613 * libc/sys/go32/*.h: Ditto.
9614 * libc/sys/go32/*.S: Ditto.
9615 * libc/sys/go32/sys/*.h: Ditto.
9616
9617 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
9618
9619 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
9620 HAVE_FCNTL flag check.
9621 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
9622 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
9623
9624 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
9625
9626 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
9627
9628 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
9629
9630 * libc/include/stdlib.h: Add declarations of rand48 functions and
9631 their reentrant versions.
9632 * libc/include/sys/reent.h: Move macros from rand48.h. Add
9633 struct _rand48 for shared parameters of rand48 functions.
9634 (struct _reent): Add a variable _r48 of struct _rand48.
9635 (_REENT_INIT): Add _r48 initialization.
9636 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
9637 (CHEWOUT_FILES): Add rand48.def.
9638 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
9639 * libc/stdlib/Makefile.in: Regenerated.
9640 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
9641 NetBSD C library.
9642 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
9643 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
9644 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
9645 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
9646 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
9647 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
9648 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
9649 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
9650 * libc/stdlib/rand48.c (__dorand48): Ditto.
9651 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
9652 parameters into macros referring them in the reentrant structure.
9653
9654 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
9655
9656 * libc/include/sys/stat.h: Add mknod for Cygwin now that
9657 Cygwin definition has correct prototype.
9658
9659 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9660
9661 * libc/include/sys/stat.h: Must revert change for mknod
9662 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
9663 prototype.
9664
9665 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9666
9667 * libc/include/stdio.h: Revert putw prototype.
9668
9669 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
9670
9671 * libc/include/grp.h: add prototype for initgroups.
9672 * libc/include/stdio.h: fix prototype for putw.
9673 * libc/include/sys/signal.h: add prototype for killpg.
9674 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
9675 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
9676 vhangup and remove duplicate sysconf prototype.
9677
9678 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
9679
9680 * libc/sys/rtems/sys/types.h: Removed.
9681
9682 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
9683
9684 * libc/include/locale.h: add LC_MESSAGES definition
9685
9686 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
9687
9688 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
9689 SYS_get_argN):
9690 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
9691 __setup_argv_and_call_main): New.
9692
9693 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
9694
9695 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
9696 if defined.
9697 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
9698 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
9699 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
9700 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
9701
9702 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
9703
9704 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
9705 compiling under Cygwin.
9706
9707 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
9708
9709 * libc/include/math.h (signgam): Change to errno-like solution
9710 using a function to return the address of the real signgam.
9711 * libc/reent/signgam.c: New file containing __signgam().
9712 * libc/reent/Makefile.am: Added signgam.c to list of files.
9713 * libc/reent/Makefile.in: Regenerated.
9714
9715 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
9716
9717 * libc/sys/sh/syscalls.c (_times): New.
9718
9719 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
9720 * libc/sys/sh/syscalls.c (_gettimeofday): New.
9721
9722 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9723
9724 * libc/include/math.h (signgam): Regress previous fix as
9725 it does not handle programs with extern int signgam in them.
9726
9727 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9728
9729 * libc/include/math.h (signgam): Changed to a macro refering to
9730 its location in the reentrant structure.
9731
9732 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9733
9734 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
9735 that suppressed . for %.0f, 0.1. Check now looks if there
9736 are padding zeroes (expt) in addition to any digits (ndig) to
9737 print.
9738
9739 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
9740
9741 * libc/sys/arc/Makefile.am: New file.
9742 * libc/sys/arc/Makefile.in: Ditto.
9743 * libc/sys/arc/aclocal.m4: Ditto.
9744 * libc/sys/arc/configure: Ditto.
9745 * libc/sys/arc/configure.in: Ditto.
9746 * libc/sys/arc/crt0.S: Ditto.
9747 * libc/sys/arc/isatty.c: Ditto.
9748 * libc/sys/arc/mem-layout.c: Ditto.
9749 * libc/sys/arc/sbrk.c: Ditto.
9750 * libc/sys/arc/syscalls.c: Ditto.
9751 * libc/sys/arc/sys/syscall.h: Ditto.
9752
9753 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
9754
9755 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
9756
9757 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
9758
9759 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
9760
9761 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
9762
9763 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
9764
9765 2001-01-09 Nick Clifton <nickc@redhat.com>
9766
9767 * configure.host (v859): Remove unsupported compiler options.
9768
9769 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
9770
9771 * src/newlib/configure.host (*-*-rtems*): add printf long long
9772 support for RTEMS.
9773
9774 2000-12-19 Graham Stott <grahams@redhat.com>
9775
9776 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
9777
9778 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9779
9780 * configure.host: Turn on long double I/O for Cygwin.
9781
9782 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9783
9784 * MAINTAINERS: Removed Ranjith.
9785 * NEWS: Updated for 1.9.0.
9786 * README: Updated.
9787 * acinclude.m4: Updated to release 1.9.0.
9788 * aclocal.m4 configure
9789 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9790 libc/machine/aclocal.m4 libc/machine/configure
9791 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
9792 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
9793 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
9794 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
9795 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
9796 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
9797 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
9798 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
9799 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
9800 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
9801 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
9802 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
9803 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
9804 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
9805 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
9806 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
9807 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
9808 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
9809 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
9810 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
9811 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9812 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9813 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9814 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
9815 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9816 libc/sys/aclocal.m4 libc/sys/configure
9817 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9818 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9819 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9820 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9821 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9822 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9823 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9824 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9825 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
9826 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9827 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9828 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9829 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9830 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9831 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9832 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9833 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9834 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9835 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9836 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9837 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9838 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9839 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9840 libm/aclocal.m4 libm/configure: Regenerated.
9841
9842 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9843
9844 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
9845 when __CYGWIN__ is defined.
9846
9847 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9848
9849 * libc/stdlib/ldtoa.c (_ldcheck): New routine
9850 that categorizes a long double as NaN, Infinity, or other.
9851 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
9852 isinfl and isnanl static routines which were i386-specific. Changed
9853 calls to the two removed routines to a single _ldcheck call.
9854 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
9855
9856 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9857
9858 * Makefile.am: Fixed install-data-local target to use
9859 $(mkinstalldirs) for the installed header files to ensure
9860 the directories exist before copying.
9861 * Makefile.in: Regenerated.
9862
9863 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
9864
9865 * libc/include/sys/unistd.h: Restored Cygwin _SC
9866 constants and moved new constants appropriately
9867 so Cygwin will build.
9868
9869 2000-12-11 Joel Sherrill <joel@OARcorp.com>
9870
9871 * Merge RTEMS specific .h files into main libc/include.
9872 * libc/sys/rtems/include/signal.h: Removed.
9873 * libc/sys/rtems/include/time.h: Removed.
9874 * libc/sys/rtems/sys/features.h: Removed.
9875 * libc/sys/rtems/sys/sched.h: Removed.
9876 * libc/sys/rtems/sys/siginfo.h: Removed.
9877 * libc/sys/rtems/sys/signal.h: Removed.
9878 * libc/sys/rtems/sys/time.h: Removed.
9879 * libc/sys/rtems/sys/times.h: Removed.
9880 definitions for time_t and clock_t since these are
9881 no longer in time.h.
9882 * libc/include/pthread.h: New file.
9883 * libc/include/sys/sched.h: New file.
9884 * libc/include/sys/features.h: New file.
9885 * libc/include/time.h: Removed duplicate definition of clock_t
9886 and time_t, get them from <sys/types.h> instead. Add prototypes
9887 for POSIX clock and timer functionality.
9888 * libc/sys/linux/sys/types.h: Changed to include
9889 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
9890 * libc/include/sys/signal.h: Add more complete set of POSIX
9891 signal functionality including real-time and threaded signals.
9892 * libc/include/sys/types.h: Add clock_t, time_t, struct
9893 timespec, and struct itimerspec. Centralizing these makes
9894 things cleaner. RTEMS uses 64-bit dev_t.
9895 Added numerous primitive definitions
9896 for pthreads including macros, pthread_attr_t,
9897 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
9898 pthread_once_t, and pthread_t.
9899 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
9900 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
9901 Feature flags removed and moved to new file <sys/features.h>.
9902 Full set of POSIX sysconf() constants
9903
9904 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
9905
9906 * configure.host: Added x86 linux target.
9907 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
9908 definitions provided if not already defined.
9909 * libc/sys/linux/crt0.c: New file.
9910 * libc/sys/linux/Makefile.am: Ditto.
9911 * libc/sys/linux/Makefile.in: Ditto.
9912 * libc/sys/linux/aclocal.m4: Ditto.
9913 * libc/sys/linux/brk.c: Ditto.
9914 * libc/sys/linux/configure: Ditto.
9915 * libc/sys/linux/configure.in: Ditto.
9916 * libc/sys/linux/getoptlong.c: Ditto.
9917 * libc/sys/linux/ids.c: Ditto.
9918 * libc/sys/linux/inode.c: Ditto.
9919 * libc/sys/linux/io.c: Ditto.
9920 * libc/sys/linux/linux.c: Ditto.
9921 * libc/sys/linux/process.c: Ditto.
9922 * libc/sys/linux/realpath.c: Ditto.
9923 * libc/sys/linux/select.c: Ditto.
9924 * libc/sys/linux/signal.c: Ditto.
9925 * libc/sys/linux/systat.c: Ditto.
9926 * libc/sys/linux/termios.c: Ditto.
9927 * libc/sys/linux/time.c: Ditto.
9928 * libc/sys/linux/wait.c: Ditto.
9929 * libc/sys/linux/include/alloca.h: Ditto.
9930 * libc/sys/linux/include/getopt.h: Ditto.
9931 * libc/sys/linux/include/stdint.h: Ditto.
9932 * libc/sys/linux/include/unistd.h: Ditto.
9933 * libc/sys/linux/sys/cdefs.h: Ditto.
9934 * libc/sys/linux/sys/dirent.h: Ditto.
9935 * libc/sys/linux/sys/errno.h: Ditto.
9936 * libc/sys/linux/sys/fcntl.h: Ditto.
9937 * libc/sys/linux/sys/file.h: Ditto.
9938 * libc/sys/linux/sys/ioctl.h: Ditto.
9939 * libc/sys/linux/sys/resource.h: Ditto.
9940 * libc/sys/linux/sys/signal.h: Ditto.
9941 * libc/sys/linux/sys/stat.h: Ditto.
9942 * libc/sys/linux/sys/syscall.h: Ditto.
9943 * libc/sys/linux/sys/termios.h: Ditto.
9944 * libc/sys/linux/sys/time.h: Ditto.
9945 * libc/sys/linux/sys/types.h: Ditto.
9946 * libc/sys/linux/sys/utmp.h: Ditto.
9947 * libc/sys/linux/sys/utsname.h: Ditto.
9948 * libc/sys/linux/sys/wait.h: Ditto.
9949
9950 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9951
9952 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
9953 can be a relative path to $(top_srcdir)/install.sh so ensure the
9954 autoconf detected settings are properly passed recursively.
9955 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
9956 properly to subdirectories.
9957 * Makefile.in: Regenerated.
9958
9959 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
9960
9961 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
9962 a floating point register unless really printing a floating
9963 point number.
9964
9965 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
9966
9967 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
9968 Also removed \r's.
9969 (asctoeg): Replaced alloca call with stack array and malloc
9970 when storage exceeds reasonable limit.
9971 (e53toe): Fixed einfin calls missing ldp parameter.
9972 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
9973
9974 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9975
9976
9977 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
9978
9979 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9980
9981 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
9982 * libc/stdlib/Makefile.in: Regenerated.
9983 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
9984 * libc/stdio/vfieeefp.h: Added long double bit structures.
9985 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
9986 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
9987 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
9988 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
9989 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
9990 _strtold routines used for conversions between character
9991 and long double.
9992
9993 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9994
9995 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
9996
9997 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9998
9999 * libc/include/machine/time.h: RTEMS systems can configure clock
10000 tick rate so use sysconf() to ask.
10001
10002 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10003
10004 * libc/include/sys/times.h: Add reference to POSIX standard.
10005
10006 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10007
10008 * libc/include/sys/time.h: Added BSD timer manipulation macros
10009 used by RTEMS code.
10010
10011 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10012
10013 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10014 referenced by code generated by gcc 2.8.1.
10015 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10016 satisfy gcc.
10017
10018 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10019
10020 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10021
10022 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10023
10024 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10025
10026 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10027
10028 * configure.host (or16, or32): New entries for OpenCores
10029 OpenRisc CPUs.
10030 (*-*-rtems*): Add -DNO_EXEC.
10031
10032 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10033
10034 * libc/include/sys/errno.h: Added comments on many error numbers.
10035 * libc/string/strerror.c: Added some more strings.
10036
10037 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10038
10039 * libc/sys/sh/syscalls.c (_link): New stub.
10040
10041 2000-11-29 Nick Clifton <nickc@redhat.com>
10042
10043 * configure.host: Add xscale target.
10044 * libc/machine/xscale: New directory.
10045 * libc/machine/xscale/Makefile.am: New file.
10046 * libc/machine/xscale/Makefile.in: New file.
10047 * libc/machine/xscale/aclocal.m4: New file.
10048 * libc/machine/xscale/configure: New file.
10049 * libc/machine/xscale/configure.in: New file.
10050 * libc/machine/xscale/memchr.S: New file.
10051 * libc/machine/xscale/memcmp.S: New file.
10052 * libc/machine/xscale/memcpy.S: New file.
10053 * libc/machine/xscale/memmove.S: New file.
10054 * libc/machine/xscale/memset.S: New file.
10055 * libc/machine/xscale/strchr.S: New file.
10056 * libc/machine/xscale/strcmp.S: New file.
10057 * libc/machine/xscale/strcpy.S: New file.
10058 * libc/machine/xscale/strlen.S: New file.
10059
10060 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10061
10062 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10063 avoid compiler warnings.
10064
10065 2000-11-22 Michael Meissner <meissner@redhat.com>
10066
10067 * libc/posix/execl.c (execl): Don't reference environ directly,
10068 reference it only via a static pointer to avoid problems with some
10069 shared library systems and with different uses of small data where
10070 the user specifies his own version of environ.
10071 * libc/posix/execv.c (execv): Ditto.
10072 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10073 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10074 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10075
10076 * libc/stdlib/getenv.c (environ): Delete unused reference to
10077 environ.
10078
10079 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10080 colorization.
10081 * libc/stdlib/system.c: Ditto.
10082
10083 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10084
10085 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10086 including windows headers.
10087
10088 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10089
10090 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10091 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10092 not defined by sys/dirent.h.
10093 * libc/posix/execvp.c: Added include of dirent.h to get
10094 MAXNAMLEN value which used to be in unistd.h.
10095
10096 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10097
10098 * libc/include/sys/types.h: Change type of i to `size_t' in
10099 FD_ZERO macro to avoid compiler warnings.
10100
10101 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10102
10103 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10104 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10105
10106 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10107
10108 * libc/include/sys/unistd.h: Add defines for sysconf values
10109 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10110 _SC_AVPHYS_PAGES.
10111
10112 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10113
10114 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10115 declarations for __CYGWIN__.
10116
10117 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10118
10119 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10120 case labels to be integral constant expressions, so
10121 use an if/else tree instead.
10122 (_raise_r): Likewise.
10123
10124 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10125
10126 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10127 clipping patch from e-mail reader.
10128
10129 2000-09-13 Will Cohen <wcohen@redhat.com>
10130
10131 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10132 Added return value 0.
10133 (_longjmp): Allow longjmp to return value of second argument
10134 passed to it.
10135
10136 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10137
10138 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10139 inline code to prevent having to include another header file.
10140
10141 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10142
10143 * Makefile.am: Fix space vs. tab problem in install-data-local.
10144 * Makefile.in: Regenerate.
10145
10146 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10147
10148 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10149 (_EXPARM): New macro for defining a function parameter.
10150 * libc/include/stdlib.h: Use _EXPARM.
10151 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10152
10153 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10154
10155 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10156 required, as documented in the gnu coding standards.
10157 * Makefile.in: Regenerate.
10158
10159 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10160
10161 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10162 make O_NDELAY and O_NONBLOCK have the same value.
10163
10164 2000-08-30 Kazu Hirata <kazu@hxi.com>
10165
10166 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10167
10168 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10169
10170 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10171 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10172 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10173 everywhere else.
10174
10175 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10176
10177 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10178 * libc/include/string.h: Don't include <sys/types.h>,
10179 as it causes really bad namespace pollution. Don't declare
10180 swab(), it is properly declared in unistd.h.
10181
10182 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10183
10184 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10185 (broken) support for non-existent /etc/passwd field "comment".
10186
10187 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10188
10189 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10190 only if _DIRENT_HAVE_D_NAMLEN is defined.
10191 (alphasort): aligned prototype with
10192 libc/sys/cygwin/sys/dirent.h and simplified function body.
10193 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10194 long telldir (DIR *) as mentioned in annex B of POSIX.1
10195
10196 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10197
10198 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10199 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10200 Added __CLI and __STI macros (controlled via
10201 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10202 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10203 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10204 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10205 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10206 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10207 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10208 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10209 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10210 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10211 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10212 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10213 for all global entry points.
10214 * libc/machine/i386/setjmp.S: removed code replicated in
10215 libc/machine/i386/i386mach.h and included i386mach.h instead;
10216 Use __CLI and __STI instead of cli and sti.
10217
10218 2000-08-25 DJ Delorie <dj@redhat.com>
10219
10220 * libc/include/sys/unistd.h (environ): this one isn't from the
10221 DLL, no __IMPORT
10222
10223 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10224
10225 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10226 environ when compiling under cygwin since it is already declared in
10227 unistd.h.
10228
10229 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10230
10231 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10232 like x << y-z to the equivalent x << (y-z).
10233 (d2b): changed if statements with assignment to perform the
10234 assignment prior to the if check.
10235 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10236 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10237 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10238 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10239 precedence.
10240 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10241 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10242 execve.c).
10243 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10244 precedence.
10245 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10246 clarify && and || precendence (and to remove pascalism).
10247 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10248 * libm/math/s_infconst.c: added another pair of braces to all
10249 initializers for __infinity (need three: for __infinity[1] array,
10250 for union __dmath, and for i[2]).
10251
10252 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10253
10254 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10255 "getpid" and "kill"; added: uses "write" and "_exit".
10256 Also included unistd.h for "_exit" prototype.
10257 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10258 reent.h for "_fork_r" and "_wait_r" prototypes.
10259 (do_system): changed extern char *environ[] to POSIX-friendly
10260 extern char **environ.
10261 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10262 prototypes.
10263 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10264 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10265 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10266 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10267 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10268 unistd.h for "getpid" prototype.
10269 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10270 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10271 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10272 prototype. Also included stdlib.h for "abort", string.h for
10273 "strdup" and "strncmp" prototypes.
10274 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10275 "strncpy", unistd.h for "read" and "close" prototypes.
10276 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10277 "strcat" prototypes.
10278
10279 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10280
10281 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10282 used later (ifdef __SCLE)
10283 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10284 used later (ifdef MB_CAPABLE)
10285 * libc/string/memset.c (memset): removed unused variables "count"
10286 and "unaligned_addr"
10287 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10288 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10289 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10290 and "gid"
10291
10292 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10293
10294 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10295 "__env_unlock" prototype from "void *" or "char *" to
10296 "struct _reent *" to match real function. Also added include
10297 of envlock.h.
10298 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10299 "__malloc_unlock" prototype from "void *" or "char *" to
10300 "struct _reent *" to match real function.
10301 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10302 prototypes (for getenv_r.c and setenv_r.c).
10303
10304 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10305
10306 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10307 and prototype in cygwin's utmp.h
10308
10309 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10310
10311 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10312
10313 2000-08-09 Nick Clifton <nickc@cygnus.com>
10314
10315 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10316 epilogue and to allow the functions to be used in a Thumb based
10317 toolchain.
10318
10319 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10320
10321 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10322 so size of 0 results in nothing being written to string.
10323 Also fixed code so that when size is non-zero, there is only
10324 a maximum of size - 1 characters written to the array and
10325 a nul terminator is appended at the end.
10326 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10327
10328 2000-08-01 DJ Delorie <dj@redhat.com>
10329
10330 * libc/include/sys/config.h: define __IMPORT appropriately
10331 * libc/include/ctype.h (_ctype_): use __IMPORT
10332 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10333 * libc/include/math.h (__mb_cur_max): ditto
10334 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10335 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10336 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10337 * libc/include/unistd.h (environ): ditto
10338
10339 2000-07-28 Michael Meissner <meissner@redhat.com>
10340
10341 * libc/include/math.h (__infinity): Declare as an array without
10342 bounds to get around small data support. Rewrite Cygwin support
10343 to be more general.
10344 * libm/math/s_infconst.c (__infinity): Ditto.
10345 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10346
10347 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10348
10349 * libc/include/math.h: Use appropriate dll import linkage for
10350 __infinity under Cygwin.
10351
10352 2000-07-13 DJ Delorie <dj@cygnus.com>
10353
10354 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10355
10356 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10357
10358 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10359 to argument list for AngelSWI_Reason_GetCmdLine.
10360
10361 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10362
10363 * configure.host: Add support for AVR target.
10364 * libc/include/machine/ieeefp.h: Likewise.
10365 * libc/include/sys/config.h: Likewise.
10366
10367 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10368
10369 * README: Newlib 1.8.2 must be built in a separate directory
10370 than the sources.
10371
10372 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10373
10374 * libc/include/sys/reent.h (_rand_next): Added __extension__
10375 qualifier as long long type is not strict ANSI.
10376 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
10377 to long long constant.
10378
10379 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
10380
10381 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
10382 `setegid' provided by Cygwin.
10383
10384 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
10385
10386 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
10387 account for Cygwin.
10388
10389 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10390
10391 * libc/include/sys/reent.h (_rand_next): Changed to
10392 unsigned long long and moved to end of _reent struct in _new union.
10393 (_REENT_INIT): Changed to move _rand_next initialization.
10394 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
10395 linear congruential algorithm that is used by DJGPP.
10396
10397 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
10398
10399 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
10400 * libc/include/sys/config.h: Define __RAND_MAX.
10401
10402 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10403
10404 * libc/stdlib/rand_r.c: New algorithm that meets minimal
10405 standard.
10406
10407 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
10408
10409 * libc/include/string.h: Work around problem with strsignal and gdb.
10410
10411 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
10412
10413 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
10414 * libc/include/malloc.h: Ditto.
10415 * libc/include/process.h: Ditto.
10416 * libc/include/stdio.h: Ditto.
10417 * libc/include/stdlib.h: Ditto.
10418 * libc/include/time.h: Ditto.
10419 * libc/include/machine/setjmp.h: Ditto.
10420 * libc/include/sys/errno.h: Ditto.
10421 * libc/include/sys/signal.h: Ditto.
10422 * libc/include/sys/stat.h: Ditto.
10423 * libc/include/sys/time.h: Ditto.
10424 * libc/include/sys/unistd.h: Ditto.
10425 * libc/include/string.h: Ditto. strsignal should return a const char *.
10426
10427 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
10428
10429 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
10430 * libm/common/s_log1p.c (log1p): Likewise.
10431 * libm/common/s_scalbn.c (scalbn): Likewise.
10432 * libm/math/e_log.c: Likewise.
10433 * libm/math/e_asin.c: Likewise.
10434 * libm/math/ef_asin.c: Likewise.
10435 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
10436 * libm/math/e_j1.c (pone, qone): Likewise.
10437 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
10438 * libm/math/ef_j1.c (ponef, qonef): Likewise.
10439 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
10440 * libm/mathfp/e_j1.c (pone, qone): Likewise.
10441 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
10442 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
10443
10444 2000-05-19 DJ Delorie <dj@cygnus.com>
10445
10446 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
10447 (__sread): always read in binary mode
10448 (__swrite): always write in binary mode
10449 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
10450 compatibility issues with different dll versions
10451 * libc/stdio/fopen.c: use __stextmode
10452 * libc/stdio/fdopen.c: ditto
10453 * libc/stdio/freopen.c: ditto
10454 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
10455 * libc/stdio/local.h: declare __stextmode
10456
10457 2000-05-18 DJ Delorie <dj@cygnus.com>
10458
10459 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
10460
10461 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10462
10463 * libc/include/ctype.h: Changed tolower and toupper macros
10464 to use __extension__ to prevent pedantic warnings.
10465
10466 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
10467
10468 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
10469 structures.
10470
10471 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
10472
10473 * libc/include/machine/ieeefp.h: Add ia64 support.
10474 * configure.host: Likewise.
10475
10476 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
10477
10478 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
10479 month is now padded with space, not zero. This now conforms to
10480 ANSI standard.
10481
10482 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
10483
10484 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
10485 host or network path") used by cygwin. Add some comments.
10486
10487 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
10488
10489 * libc/include/stdio.h (FILE): define __SCLE for "convert line
10490 endings" for Cygwin.
10491 (__sgetc): convert line endings if needed
10492 (__sputc): ditto
10493 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
10494 * libc/stdio/fopen.c (_fopen_r): ditto
10495 * libc/stdio/freopen.c (freopen): ditto
10496 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
10497 * libc/stdio/fvwrite.c (__sfvwrite): ditto
10498
10499 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
10500
10501 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
10502 post-increment when it is worth it, spacewise.
10503
10504 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10505
10506 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
10507 * libc/stdio/findfp.c (std): Added declaration of flags and file.
10508 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
10509 return type.
10510 * libc/stdio/putchar.c (putchar): Added return statement.
10511 * libc/stdio/refill.c (lflush): Added correct parentheses.
10512 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
10513 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
10514 prints long value to use l qualifier.
10515 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
10516 messages and initialized local values: ilim, ilim1, and spec_case.
10517 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
10518 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
10519 * libc/stdlib/mprec.c: Ditto.
10520 * libc/stdlib/setenv_r.c: Ditto.
10521 * libc/stdlib/strtod.c: Ditto.
10522 * libc/stdlib/strtol.c: Ditto.
10523 * libc/stdlib/strtoul.c: Ditto.
10524 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
10525 * libm/common/sf_log1p.c: Ditto.
10526 * libm/common/sf_scalbn.c: Ditto.
10527 * libm/math/ef_log.c: Ditto.
10528
10529 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
10530
10531 * libc/posix/execvp.c (execvp): Check path for
10532 trailing slash.
10533
10534 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
10535
10536 * libc/include/sys/unistd.h: Add prototypes for
10537 fchmod, fchown, lchown.
10538
10539 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10540
10541 * acinclude.m4: Changed release to 1.8.2.
10542 * aclocal.m4 configure doc/aclocal.m4 doc/configure
10543 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
10544 libc/machine/configure libc/machine/a29k/aclocal.m4
10545 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10546 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10547 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10548 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10549 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
10550 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10551 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10552 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10553 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10554 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10555 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10556 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10557 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10558 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10559 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10560 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10561 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10562 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10563 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10564 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10565 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10566 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10567 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
10568 libc/machine/z8k/configure libc/sys/aclocal.m4
10569 libc/sys/aclocal.m4 libc/sys/configure
10570 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10571 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10572 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10573 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10574 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10575 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10576 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10577 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10578 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10579 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10580 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10581 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10582 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10583 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10584 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10585 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10586 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10587 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10588 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10589 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10590 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10591 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10592 libm/aclocal.m4 libm/configure: Regenerated.
10593
10594 2000-03-24 Nick Clifton <nickc@cygnus.com>
10595
10596 * libc/sys/arm/syscalls.c: Fix compile time warnings.
10597 (do_AngelSWI): Add "cc" to list o registers clobbered.
10598
10599 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10600
10601 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
10602 information to be clobbered by an Angel C library support syscall.
10603
10604 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10605
10606 * libc/stdlib/envlock.c: Fixed comment typo.
10607
10608 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10609
10610 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
10611 code to update nread as each character is processed instead
10612 of using buffer contents which throw away leading zeroes.
10613
10614 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
10615
10616 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
10617
10618 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
10619
10620 * libc/include/string.h: Include <sys/types.h>.
10621
10622 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10623
10624 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
10625 with XSH5, not SVID.
10626
10627 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10628
10629 * libc/include/string.h: Changed last argument back to ssize_t
10630 to make it compatible with XPG4 definition which is
10631 defined in <unistd.h>. There is a conflict in the SVID 3
10632 and XPG4 definitions and newlib will settle with XPG4.
10633 * libc/string/swab.c: Ditto.
10634
10635 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
10636
10637 * libc/include/string.h: Changed last argument to size_t.
10638 * libc/string/swab.c: Changed last argument to size_t.
10639
10640 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10641
10642 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
10643 (CHEWOUT_FILES): Added unlinkr.def.
10644 * libc/reent/Makefile.in: Rebuilt.
10645 * libc/sys.tex: Include unlinkr.def.
10646 * libc/reent/linkr.c (_unlink_r): Moved to...
10647 * libc/reent/unlinkr.c: ... new file.
10648
10649 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10650
10651 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
10652 (CHEWOUT_FILES): Added swab.def.
10653 * libc/string/Makefile.in: Rebuilt.
10654 * libc/string/string.tex: Include swab.def.
10655 * libc/include/string.h (swab): Declare.
10656 * libc/string/swab.c: New file.
10657
10658 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10659
10660 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
10661 (CHEWOUT_FILES): Added getw.def and putw.def.
10662 * libc/stdio/Makefile.in: Rebuilt.
10663 * libc/stdio/stdio.tex: Include getw.def and putw.def.
10664 * libc/stdio/getw.c: New file.
10665 * libc/stdio/putw.c: New file.
10666
10667 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10668
10669 * libc/stdio/flags.c (__sflags): Added check that mode[1]
10670 is non-null before looking at mode[2].
10671
10672 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10673
10674 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
10675 * libm/mathfp/sf_atan.c: Ditto.
10676
10677 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
10678
10679 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
10680
10681 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10682
10683 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
10684 _DOUBLE_IS_32BITS.
10685
10686 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10687
10688 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
10689 call prior to calling _VFPRINTF_R so reentrant data area is set.
10690 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
10691
10692 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10693
10694 * libc/stdio/vfscanf.c (limits.h): #include.
10695 (MAX_LONG_LEN): #define.
10696 (__svfscanf): Handle floating point numbers with arbitrary amounts
10697 of leading zeroes.
10698
10699 2000-02-15 Nick Clifton <nickc@cygnus.com>
10700
10701 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
10702 zero. Set the blocksize to 1024/
10703
10704 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10705
10706 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
10707 with line buffering.
10708
10709 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10710
10711 * acinclude.m4: Changed include directory for winsup headers.
10712 * aclocal.m4 configure libc/aclocal.m4
10713 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
10714 libc/locale/Makefile.in libc/machine/aclocal.m4
10715 libc/machine/configure libc/machine/a29k/aclocal.m4
10716 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10717 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10718 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10719 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10720 libc/machine/fr30/configure
10721 libc/machine/h8300/aclocal.m4
10722 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10723 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10724 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10725 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10726 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10727 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10728 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10729 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10730 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10731 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10732 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10733 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10734 libc/machine/powerpc/configure
10735 libc/machine/sh/aclocal.m4
10736 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10737 libc/machine/sparc/configure
10738 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10739 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10740 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10741 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10742 libc/misc/Makefile.in libc/posix/Makefile.in
10743 libc/reent/Makefile.in
10744 libc/signal/Makefile.in
10745 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
10746 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10747 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
10748 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
10749 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
10750 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10751 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10752 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10753 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10754 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10755 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10756 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10757 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10758 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
10759 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
10760 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
10761 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
10762 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
10763 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
10764 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
10765 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
10766 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
10767 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
10768 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
10769 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
10770 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
10771 libm/configure: Regenerated.
10772
10773 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
10774
10775 * libc/stdlib/putenv_r.c (_putenv_r): New file.
10776 * libc/stdlib/strdup_r.c (_strdup_r): New file.
10777 * libc/include/string.h: Added _strdup_r.
10778 * libc/stdlib/putenv.c: Added call to reentrant version.
10779 * libc/stdlib/strdup.c: Ditto.
10780 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
10781 * libc/include/stdlib.h: Ditto.
10782 * libc/stdlib/Makefile.in: Regenerated.
10783 * libc/string/Makefile.in: Regenerated.
10784 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
10785 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
10786 management calls to reentrant versions.
10787 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
10788 * libc/stdlib/wctomb.c: Ditto.
10789 * libc/stdlib/mblen.c: Ditto.
10790 * libc/stdlib/mbstowcs.c: Ditto.
10791 * libc/stdlib/mbtowc.c: Ditto.
10792 * libc/stdlib/getenv.c: Ditto.
10793 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
10794 and _strdup_r.
10795
10796 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
10797
10798 patch from Corinna Vinschen <corinna@vinschen.de>
10799 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
10800
10801 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
10802
10803 * libm/mathfp/s_atangent.c: Fix exponent calculation.
10804 * libm/mathfp/s_ldexp.c: Ditto.
10805 * libm/mathfp/sf_atangent.c: Ditto.
10806 * libm/mathfp/sf_ldexp.c: Ditto.
10807
10808 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10809
10810 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
10811 * libc/include/locale.h: define NULL to be 0.
10812
10813 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
10814
10815 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
10816 function.
10817
10818 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
10819
10820 * libc/machine/mn10300/setjmp.S: Handle am33.
10821
10822 1999-11-26 Nick Clifton <nickc@cygnus.com>
10823
10824 * libc/sys/arm/syscalls.c: Add function prototypes.
10825 (stack_ptr): Move declaration before function definitions.
10826
10827 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10828
10829 * NEWS: Updated version information.
10830 * README: Ditto.
10831
10832 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
10833
10834 * libc/machine/i386/strchr.S: Fixed alignment test.
10835
10836 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
10837
10838 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
10839
10840 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
10841
10842 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
10843 ensuring that there is space between the two.
10844
10845 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
10846
10847 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
10848 only.
10849
10850 1999-10-08 Vadim Egorov <egorovv@1c.ru>
10851
10852 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
10853 section
10854
10855 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10856
10857 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
10858 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
10859
10860 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
10861 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
10862 per POSIX 1003.1b.
10863 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
10864 per POSIX 1003.1b.
10865
10866 1999-09-13 DJ Delorie <dj@cygnus.com>
10867
10868 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
10869 also.
10870
10871 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10872
10873 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
10874 also note BUFSIZ as its size.
10875
10876 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
10877
10878 * configure.host: Corrected feature defines for RTEMS.
10879 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
10880 * libc/include/sys/stat.h: mkfifo() should take const path arg.
10881 * libc/include/sys/unistd.h: pathconf() should take const path arg.
10882 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
10883 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
10884 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
10885 _PC_PRIO_IO, and _PC_SYNC_IO.
10886 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
10887 * libc/machine/m68k/Makefile.in: Regenerated.
10888 * libc/machine/m68k/strcpy.c: New file.
10889 * libc/machine/m68k/strlen.c: New file.
10890 * libc/stdio/tmpnam.c: Always make the returned name usable.
10891 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
10892 * libc/sys/rtems/sys/dirent.h: New file.
10893 * libc/sys/rtems/sys/types.h: Added dev_t.
10894
10895 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
10896
10897 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
10898
10899 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
10900
10901 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
10902 my patch.
10903
10904 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
10905
10906 patch from Jeff Johnston <jjohnstn@cygnus.com>
10907 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
10908 buffer is not in a useful state.
10909
10910 1999-09-01 Nick Clifton <nickc@cygnus.com>
10911
10912 * libc/sys/arm/syscalls.c (_link): Add stub.
10913
10914 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10915
10916 * ftell.c (ftell): Use actual position within buffer for text mode.
10917 * findfp.c (std): Initialize ptr->_bf._size.
10918
10919 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
10920
10921 * libc/include/sys/unistd.h: Add nice() declaration.
10922
10923 1999-08-09 Nick Clifton <nickc@cygnus.com>
10924
10925 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
10926 declare as a thumb function so that the disassembler will see the
10927 mode change.
10928
10929 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10930
10931 * libc/reent/reent.tex: Updated list of reentrant functions.
10932
10933 1999-07-09 Michael Meissner <meissner@cygnus.com>
10934
10935 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
10936
10937 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
10938
10939 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
10940 separate file.
10941 * libc/stdio/snprintf.c: New file.
10942 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
10943 separate file.
10944 * libc/stdio/vsnprintf.c: New file.
10945 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
10946 * libc/stdio/Makefile.in: Regenerated.
10947
10948 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
10949
10950 Patch submitted by Egor Duda <deo@logos-m.ru>:
10951 * libc/include/stdio.h: Add declarations for *nprintf.
10952 * libc/stdio/sprintf.c (snprintf): New function.
10953 (_snprintf_r): New function.
10954 * libc/stdio/vsprintf.c (vsnprintf): New function.
10955 (_vnsprintf_r): New function.
10956
10957 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10958
10959 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
10960 * libm/Makefile.am (stmp-targetdep): Ditto.
10961 * libc/Makefile.in: Regenerated.
10962 * libm/Makefile.in: Ditto.
10963
10964 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10965
10966 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
10967 * libm/Makefile.am (stmp-targetdep): Ditto.
10968 * libc/Makefile.in: Regenerated.
10969 * libm/Makefile.in: Ditto.
10970
10971 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10972
10973 * Makefile.am: Removed dependencies on all-recursive and added "."
10974 to the SUBDIRS list to prevent infinite recursion from occurring.
10975 Also removed any references to EXTRA_DATA.
10976 * libc/Makefile.am: Ditto.
10977 * libc/machine/Makefile.am: Ditto.
10978 * libc/machine/i386/Makefile.am: Ditto.
10979 * libm/Makefile.am: Ditto.
10980 * libc/sys/Makefile.am: Ditto.
10981 * Makefile.in: Regenerated.
10982 * aclocal.m4: Ditto.
10983 * configure: Ditto.
10984 * doc/Makefile.in: Ditto.
10985 * doc/aclocal.m4: Ditto.
10986 * doc/configure: Ditto.
10987 * libc/Makefile.in: Ditto.
10988 * libc/aclocal.m4: Ditto.
10989 * libc/configure: Ditto.
10990 * libc/machine/Makefile.in: Ditto.
10991 * libc/machine/aclocal.m4: Ditto.
10992 * libc/machine/configure: Ditto.
10993 * libc/machine/mn10300/Makefile.in: Ditto.
10994 * libc/machine/mn10300/aclocal.m4: Ditto.
10995 * libc/machine/mn10300/configure: Ditto.
10996 * libc/sys/Makefile.in: Ditto.
10997 * libc/sys/aclocal.m4: Ditto.
10998 * libc/sys/configure: Ditto.
10999 * libm/Makefile.in: Ditto.
11000 * libm/aclocal.m4: Ditto.
11001 * libm/configure: Ditto.
11002
11003 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11004
11005 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11006
11007 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11008
11009 * libc/include/stdlib.h: Add reentrant routines.
11010 * libc/stdlib/Makefile.am: Add reentrant routines.
11011 * libc/stdlib/Makefile.in: Ditto.
11012 * libc/stdlib/envlock.c: New file.
11013 * libc/stdlib/envlock.h: New file.
11014 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11015 * libc/stdlib/getenv_r.c: New file.
11016 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11017 * libc/stdlib/mblen_r.c: New file.
11018 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11019 * libc/stdlib/setenv_r.c: New file.
11020 * libc/stdlib/stdlib.tex: Add reentrant routines.
11021
11022 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11023
11024 * libc/include/sys/types.h: Define __MS_types__ whenever
11025 cygwin or win32.
11026
11027 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11028
11029 * libc/include/machine/ieeefp.h: Always default to little
11030 endian if Windows, regardless of architecture.
11031 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11032 regardless of architecture.
11033
11034 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11035
11036 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11037 _WIN32 isn't defined.
11038
11039 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11040
11041 * libm/common/s_rint.c (rint): Add volatile qualifier for
11042 intermediate value w.
11043 * libm/common/sf_rint.c (rintf): Ditto.
11044
11045 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11046
11047 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11048 ensure that std streams are initialized before being referenced.
11049
11050 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11051
11052 * README: Update reference to newlib@cygnus.com new
11053 newlib@sourceware.cygnus.com address.
11054
11055 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11056
11057 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11058 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11059 defined, even if _WIN32 isn't defined.
11060
11061 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11062
11063 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11064
11065 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11066
11067 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11068 __ULong.
11069 * libc/stdlib/dtoa.c: Ditto.
11070 * libc/stdlib/mprec.c: Ditto.
11071 * libc/stdlib/mprec.h: Ditto.
11072 * libc/stdlib/strtod.c: Ditto.
11073
11074 1999-04-21 Nick Clifton <nickc@cygnus.com>
11075
11076 * configure.host (mcore): Remove mcore machine directory.
11077
11078 1999-04-18 Nick Clifton <nickc@cygnus.com>
11079
11080 * libc/include/machine/ieeefp.h: Add support for mcore target.
11081 * libc/include/machine/setjmp.h: Add support for mcore target.
11082 * configure.host: Add support for mcore target.
11083
11084 1999-04-13 Mark Salter <msalter@cygnus.com>
11085
11086 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11087 * libc/sys/arm/syscalls.c: Added isatty.
11088
11089 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11090
11091 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11092 insert zeroes after significant digits.
11093
11094 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11095
11096 * libc/stdio/vfprintf.c (cvt): Changed floating point
11097 cvt routine to use union used by dtoa to properly determine
11098 if the sign bit is on or not.
11099 * libc/stdio/vfieeefp.h: New file
11100
11101 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11102
11103 * aclocal.m4: Regenerated.
11104 * configure: Regenerated.
11105
11106 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11107
11108 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11109 f_tanf reference.
11110 * libc/machine/i386/Makefile.in: Regenerated.
11111
11112 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11113
11114 * acinclude.m4: Changed to work with new automake.
11115 * configure: Regenerated.
11116 * libc/machine/i386/aclocal.m4: Regenerated.
11117 * libc/machine/i386/configure: Regenerated.
11118
11119 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11120
11121 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11122 for telldir() and seekdir(). Rename unused structure element
11123 for use with these two routines.
11124
11125 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11126
11127 * libc/time/mktime.c (validate_structure): Multiple fixes to
11128 code to handle cases where input fields are outside valid ranges.
11129 * libc/stdlib/div.c (div): Modified invalid rounding check.
11130 * libc/stdlib/ldiv.c (ldiv): Ditto.
11131
11132 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11133
11134 * libc/machine/i386/memcpy.S: Performance rewrite.
11135 * libc/machine/i386/memmove.S: Ditto.
11136 * libc/machine/i386/i386mach.h: Added more register definitions.
11137 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11138 option used.
11139 * libc/include/machine/fastmath.h: Add definitions for x86
11140 fast-math routines.
11141
11142 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11143
11144 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11145
11146 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11147
11148 Adjust newlib headers for new Cygwin Win32 API header files:
11149 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11150 _GNU_H_WINDOWS32_SOCKETS.
11151 * libc/include/sys/types.h: Ditto.
11152
11153 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11154
11155 *include/sys/reent.h: Add checks for size of Bigint element Long.
11156 *libc/dtoa.c: Change routines to use generic Long type.
11157 *libc/mprec.c: Change routines to use generic Long type.
11158 *libc/mprec.h: Change routines to use generic Long type.
11159
11160 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11161
11162 * libc/Makefile.am: Add .def files.
11163 * libc/Makefile.in: Regenerate.
11164 * libc/e_acosh.c: Documentation update.
11165 * libc/e_atanh.c: Documentation update.
11166 * libc/e_hypot.c: Documentation update.
11167 * libc/e_remainder.c: Documentation update.
11168 * libc/er_lgamma.c: Documentation update.
11169 * libc/mathfp.tex: Documentation update.
11170 * libc/s_acos.c: Documentation update.
11171 * libc/s_atan.c: Documentation update.
11172 * libc/s_atan2.c: Documentation update.
11173 * libc/s_cosh.c: Documentation update.
11174 * libc/s_fmod.c: Documentation update.
11175 * libc/s_isnan.c: Documentation update.
11176 * libc/s_log10.c: Documentation update.
11177 * libc/s_pow.c: Documentation update.
11178 * libc/w_jn.c: Documentation update.
11179
11180 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11181
11182 * aclocal.m4: Regenerate.
11183 * configure: Regenerate.
11184
11185 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11186
11187 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11188 to return 1 if user specified return code is 0.
11189 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11190
11191 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11192
11193 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11194 to save the return address. Fixed longjmp to return to the original
11195 calling address of setjmp and to return the user specified return code
11196 rather than default to 1.
11197 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11198
11199 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11200
11201 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11202
11203 1999-02-10 Nick Clifton <nickc@cygnus.com>
11204
11205 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11206 volatile so that its assignments will not be discarded.
11207
11208 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11209
11210 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11211 be __STRICT_ANSI__ which is generated by compiler.
11212 * libc/include/ctype.h: Ditto.
11213 * libc/include/math.h: Ditto.
11214 * libc/include/stdio.h: Ditto.
11215 * libc/include/stdlib.h: Ditto.
11216 * libc/include/string.h: Ditto.
11217 * libc/include/sys/signal.h: Ditto.
11218
11219 1999-02-08 Nick Clifton <nickc@cygnus.com>
11220
11221 * configure.host: Add support for StrongARM target.
11222
11223 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11224
11225 * libc/string/strncpy.c (strncpy): Removed redundant code
11226 that was copying bytes if data unaligned.
11227
11228 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11229
11230 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11231 mbstowcs.def, and wcstombs.def.
11232
11233 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11234
11235 * libc/include/sys/errno.h: Add Cygwin errno.
11236 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11237 is specified.
11238
11239 1999-01-29 Nick Clifton <nickc@cygnus.com>
11240
11241 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11242 file.
11243
11244 * libc/sys/arm/libcfunc.c: New file containing C library functions
11245 from syscalls.c
11246
11247 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11248 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11249
11250
11251 1999-01-27 Michael Meissner <meissner@cygnus.com>
11252
11253 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11254 type, and cut size in half so that the jmp_buf array is guaranteed
11255 to be aligned on a 64-bit boundary.
11256
11257 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11258
11259 * libc/string/strings.tex: Added information about
11260 strcasecmp and strncasecmp.
11261 * libc/stdlib/stdlib.tex: Added missing information
11262 about mblen, mbstowcs, and wcstombs.
11263 * libc/string/strchr.c: Changed how mask is built to use
11264 shift operators so register will be used instead of storage.
11265
11266 1999-01-22 DJ Delorie <dj@cygnus.com>
11267
11268 * libc/include/stdlib.h: don't use dllimport if we're building
11269 newlib, since it's inside cygwin.dll
11270
11271 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11272
11273 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11274 _ctype_ under cygwin.
11275
11276 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11277
11278 * include/stdlib.h: Fix typo from previous checkin.
11279
11280 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11281
11282 * include/ctype.h: Use __declspec(dllimport) method for exporting
11283 variable from cygwin DLL.
11284 * include/time.h: Ditto.
11285 * sys/errno.h: Ditto.
11286 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11287 * libc/locale/locale.c: Use __declspec(dllexport) method for
11288 exporting variable from cygwin DLL.
11289
11290 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11291
11292 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11293 access of bogus pointer will result in SIGSEGV.
11294
11295 1999-01-07 Nick Clifton <nickc@cygnus.com>
11296
11297 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11298 of an underscore prefix to function names.
11299
11300 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11301
11302 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11303 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11304
11305 1998-12-31 Michael Meissner <meissner@cygnus.com>
11306
11307 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11308 to `%' if not already defined.
11309
11310 1998-12-30 Michael Meissner <meissner@cygnus.com>
11311
11312 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11313 arguments const char *, not char *.
11314 * libc/include/stdio.h (_tempnam_r): Ditto.
11315
11316 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11317 points to a function taking an integer, not void.
11318
11319 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11320
11321 * configure.host: Add a define for Cygwin builds.
11322 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11323
11324 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11325
11326 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11327 for use with Cygwin.
11328 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11329 dll imported variables for use with Cygwin.
11330 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11331 as a dll imported variable for Cygwin.
11332
11333 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11334
11335 * libc/include/sys/unistd.h: Add proto for getpass.
11336
11337 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11338
11339 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11340 alphasort.
11341
11342 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11343
11344 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11345 not posix_path_list_p.
11346
11347 1998-12-15 Nick Clifton <nickc@cygnus.com>
11348
11349 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11350 a signed int.
11351
11352 1998-12-13 Nick Clifton <nickc@cygnus.com>
11353
11354 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11355
11356 1998-12-12 Nick Clifton <nickc@cygnus.com>
11357
11358 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11359 <msalter@cygnus.com>
11360 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11361 * libc/machine/fr30/Makefile.in: Regenerated.
11362
11363 1998-12-11 Nick Clifton <nickc@cygnus.com>
11364
11365 * configure.host: Remove use of libc/sys for FR30 port.
11366 * libc/sys/fr30: Remove directory (replaced by libgloss).
11367
11368 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
11369
11370 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
11371 * libc/string/strncat.c (ALIGNED): Ditto.
11372
11373 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
11374
11375 * libc/include/sys/time.h: include sys/types.h
11376
11377 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
11378
11379 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
11380 comparison found when checking word at a time.
11381
11382 1998-12-04 Nick Clifton <nickc@cygnus.com>
11383
11384 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
11385
11386 1998-12-03 Nick Clifton <nickc@cygnus.com>
11387
11388 * libc/sys/fr30/syscalls.c (_times): New function stub.
11389
11390 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11391
11392 * configure.host (mach_add_setjmp): Replaced mach_add_objs
11393 with mach_add_setjmp flag which indicates if setjmp should
11394 be added to the machine directory objects.
11395 * acinclude.m4: Removed reference to mach_add_objs.
11396 * aclocal.m4: Regenerated.
11397 * Makefile.in: Regenerated.
11398 * configure: Regenerated.
11399 * libc/aclocal.m4: Regenerated.
11400 * libc/Makefile.in: Regenerated.
11401 * libc/configure: Regenerated.
11402 * libc/machine/aclocal.m4: Regenerated.
11403 * libc/machine/Makefile.in: Regenerated.
11404 * libc/machine/configure: Regenerated.
11405 * libc/machine/i386/aclocal.m4: Regenerated.
11406 * libc/machine/i386/Makefile.am: Altered to selectively add
11407 setjmp.S to the src files list.
11408 * libc/machine/i386/Makefile.in: Regenerated.
11409 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
11410 * libc/machine/i386/configure: Regenerated.
11411
11412 1998-12-02 Nick Clifton <nickc@cygnus.com>
11413
11414 * libc/sys/fr30/crt0.s (_start): Fix function names.
11415
11416 * libc/machine/fr30: New directory
11417 * libc/machine/fr30/Makefile.am: New file.
11418 * libc/machine/fr30/Makefile.in: New generated file.
11419 * libc/machine/fr30/configure.in: New file.
11420 * libc/machine/fr30/configure: New generated file.
11421 * libc/machine/fr30/aclocal.m4: New generated file.
11422 * libc/sys/fr30/Makefile.am: New file.
11423 * libc/sys/fr30/Makefile.in: New generated file.
11424 * libc/sys/fr30/configure.in: New file.
11425 * libc/sys/fr30/configure: New generated file.
11426 * libc/sys/fr30/syscalls.c: New file.
11427
11428 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
11429
11430 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
11431
11432 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
11433
11434 * libc/time/strftime.c (strftime): Also handle %y for years before
11435 1900.
11436
11437 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
11438
11439 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
11440 UNIX convention. Perform tolower on characters before comparing
11441 them rather than use toupper.
11442 * libc/string/strncasecmp.c (strncasecmp): Ditto.
11443
11444 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
11445
11446 * configure.host: Added using i386 machine directory
11447 for all x86 cross-compiler and configuring
11448 which added object files to use via new "mach_add_objs" variable.
11449 * configure: Regenerated.
11450 * libc/configure: Regenerated.
11451 * libc/Makefile.in: Regenerated.
11452 * libc/aclocal.m4: Regenerated.
11453 * libc/ctype/Makefile.in: Regenerated.
11454 * libc/errno/Makefile.in: Regenerated.
11455 * libc/locale/Makefile.in: Regenerated.
11456 * libc/machine/Makefile.in: Regenerated.
11457 * libc/machine/aclocal.m4: Regenerated.
11458 * libc/machine/configure: Regenerated.
11459 * libc/posix/Makefile.in: Regenerated.
11460 * libc/reent/Makefile.in: Regenerated.
11461 * libc/signal/Makefile.in: Regenerated.
11462 * libc/stdio/Makefile.in: Regenerated.
11463 * libc/stdlib/Makefile.in: Regenerated.
11464 * libc/string/Makefile.in: Regenerated.
11465 * libc/string/memmove.c: Optimized code to use memcpy
11466 logic when performing a non-destructive copy.
11467 * libc/string/strncmp.c: Altered code to allow building
11468 optimized for size or speed.
11469 * libc/syscalls/Makefile.in: Regenerated.
11470 * libc/time/Makefile.in: Regenerated.
11471 * libc/unix/Makefile.in: Regenerated.
11472 * libc/machine/i386/Makefile.am: Added new files and reference
11473 to "mach_add_objs" to indicate optional object files.
11474 * libc/machine/i386/Makefile.in: Regenerated.
11475 * libc/machine/i386/aclocal.m4: Regenerated.
11476 * libc/machine/i386/configure: Regenerated.
11477 * libc/machine/i386/memchr.S: New file that implements
11478 function in Intel assembler.
11479 * libc/machine/i386/memcmp.S: ditto.
11480 * libc/machine/i386/memcpy.S: ditto.
11481 * libc/machine/i386/memmove.S: ditto.
11482 * libc/machine/i386/memset.S: ditto.
11483 * libc/machine/i386/strchr.S: ditto.
11484 * libc/machine/i386/strlen.S: ditto.
11485 * libc/machine/i386/f_atan2.S: New file that implements
11486 fast version of math function to be used by compiler when
11487 --ffast_math compile option is used.
11488 * libc/machine/i386/f_atan2f.S: ditto.
11489 * libc/machine/i386/f_exp.c: ditto.
11490 * libc/machine/i386/f_expf.c: ditto.
11491 * libc/machine/i386/f_frexp.S: ditto.
11492 * libc/machine/i386/f_frexpf.S: ditto.
11493 * libc/machine/i386/f_ldexp.S: ditto.
11494 * libc/machine/i386/f_ldexpf.S: ditto.
11495 * libc/machine/i386/f_log.S: ditto.
11496 * libc/machine/i386/f_logf.S: ditto.
11497 * libc/machine/i386/f_log10.S: ditto.
11498 * libc/machine/i386/f_log10f.S: ditto.
11499 * libc/machine/i386/f_math.h: New file.
11500 * libc/machine/i386/f_pow.c: ditto.
11501 * libc/machine/i386/f_powf.S: ditto.
11502 * libc/machine/i386/f_tan.S: ditto.
11503 * libc/machine/i386/f_tan.S: ditto.
11504 * libc/machine/i386/i386mach.h: New file.
11505
11506 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
11507
11508 patch from Mumit Khan <khan@xraylith.wisc.edu>
11509 * libc/include/stdio.h (tempnam): Add prototype.
11510 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
11511 (tempnam): Adhere to prototype.
11512
11513 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
11514
11515 * Makefile.am: Add default for AR_FLAGS.
11516 * Makefile.in: Regenerate.
11517
11518 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
11519
11520 * libc/include/time.h: move __cplusplus wrapper after includes
11521 * libc/include/sys/time.h: ditto. If Cygwin, include
11522 sys/select.h.
11523 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
11524
11525 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
11526
11527 * libc/time/strftime.c (strftime): Handle %y after year 2000.
11528
11529 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
11530
11531 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
11532 abnormnal end-of-crt0 marker.
11533
11534 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
11535
11536 * libc/sys/fr30/crt0.s: New file/directory.
11537 * libc/include/machine/setjmp.h: Add FR30 target.
11538 * libc/include/machine/ieeefp.h: Add FR30 target.
11539 * configure.host: Add FR30 target.
11540
11541 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11542
11543 * libm/math: Files that are duplicated in common directory removed.
11544 * libm/math/fdlibm.h: Removed.
11545 * libm/math/s_cbrt.c: Removed.
11546 * libm/math/s_copysign.c: Removed.
11547 * libm/math/s_expm1.c: Removed.
11548 * libm/math/s_finite.c: Removed.
11549 * libm/math/s_ilogb.c: Removed.
11550 * libm/math/s_infinity.c: Removed.
11551 * libm/math/s_lib_ver.c: Removed.
11552 * libm/math/s_log1p.c: Removed.
11553 * libm/math/s_logb.c: Removed.
11554 * libm/math/s_matherr.c: Removed.
11555 * libm/math/s_modf.c: Removed.
11556 * libm/math/s_nan.c: Removed.
11557 * libm/math/s_nextafter.c: Removed.
11558 * libm/math/s_rint.c: Removed.
11559 * libm/math/s_scalbn.c: Removed.
11560 * libm/math/sf_cbrt.c: Removed.
11561 * libm/math/sf_copysign.c: Removed.
11562 * libm/math/sf_expm1.c: Removed.
11563 * libm/math/sf_finite.c: Removed.
11564 * libm/math/sf_ilogb.c: Removed.
11565 * libm/math/sf_infinity.c: Removed.
11566 * libm/math/sf_log1p.c: Removed.
11567 * libm/math/sf_logb.c: Removed.
11568 * libm/math/sf_modf.c: Removed.
11569 * libm/math/sf_nan.c: Removed.
11570 * libm/math/sf_nextafter.c: Removed.
11571 * libm/math/sf_rint.c: Removed.
11572 * libm/math/sf_scalbn.c: Removed.
11573 * libm/math/Makefile.am: Removed references to deleted files (above).
11574 * libm/math/Makefile.in: Regenerated.
11575 * libm/Makefile.am: Added common directory to math.
11576 * libm/Makefile.in: Regenerated.
11577
11578 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11579
11580 * libm/mathfp: Add non-ANSI functions.
11581 * libm/mathfp/e_acosh.c acosh(): New file.
11582 * libm/mathfp/e_atanh.c atanh(): New file.
11583 * libm/mathfp/e_hypot.c hypot(): New file.
11584 * libm/mathfp/e_j0.c j0(): New file.
11585 * libm/mathfp/e_j1.c j1(): New file.
11586 * libm/mathfp/e_remainder.c remainder(): New file.
11587 * libm/mathfp/e_scalb.c scalb(): New file.
11588 * libm/mathfp/ef_acosh.c acoshf(): New file.
11589 * libm/mathfp/ef_atanh.c atanhf(): New file.
11590 * libm/mathfp/ef_hypot.c hypotf(): New file.
11591 * libm/mathfp/ef_j0.c j0f(): New file.
11592 * libm/mathfp/ef_j1.c j1f(): New file.
11593 * libm/mathfp/ef_remainder.c remainderf(): New file.
11594 * libm/mathfp/ef_scalb.c scalbf(): New file.
11595 * libm/mathfp/er_gamma.c gamma_r: New file.
11596 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
11597 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
11598 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
11599 * libm/mathfp/w_cabs.c cabs(): New file.
11600 * libm/mathfp/w_drem.c drem(): New file.
11601 * libm/mathfp/w_jn.c jn(): New file.
11602 * libm/mathfp/wf_cabs.c cabsf(): New file.
11603 * libm/mathfp/wf_drem.c dremf(): New file.
11604 * libm/mathfp/wf_jn.c jnf(): New file.
11605
11606 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
11607
11608 * libc/sys/cygwin32: remove directory and contents
11609 * libc/sys/cygwin: and add back, losing the "32".
11610 * configure.host: check for cygwin* instead of cygwin32.
11611 * acinclude.m4: ditto.
11612 * aclocal.m4: regenerate with aclocal
11613 * configure: regenerate with autoconf
11614
11615 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
11616
11617 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
11618 for length
11619
11620 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11621
11622 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
11623 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
11624 to make rand/srand, strtok, asctime, localtime, w_gamma,
11625 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
11626 time.h to bring in struct tm definition.
11627 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
11628 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
11629 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
11630 instead of static variable.
11631 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
11632 struct reent instead of static variable.
11633 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
11634 struct reent instead of static variable.
11635 * libm/math/Makefile.am: Removed s_signgam.o.
11636 * libm/math/Makefile.in: Regenerated.
11637 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
11638 struct reent instead of global variable 'signgam'.
11639 * libm/math/w_lgamma.c (lgamma): Likewise.
11640 * libm/math/wf_gamma.c (gammaf): Likewise.
11641 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11642 * libm/math/s_signgam.c: Removed.
11643 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
11644 to be const.
11645 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
11646 to be const.
11647 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
11648 libc/include/reent.h.
11649 * libc/reent/Makefile.in: Regenerated.
11650 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
11651 to be const.
11652 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
11653 'JIS_action_table' to be const.
11654 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
11655
11656 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
11657
11658 * acinclude.m4: $with_target_subdir should default to '.'
11659 or confusion results when configuring in same directory as sources.
11660 * Regenerate all aclocal.m4 and configure files.
11661
11662 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
11663
11664 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
11665 can be set by defining MALLOC_ALIGNMENT=16. Also added support
11666 for platforms where sizeof(size_t) < sizeof(long) via
11667 SIZE_T_SMALLER_THAN_LONG macro.
11668
11669 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
11670
11671 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
11672 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
11673 which sets _CLOCKS_PER_SEC_ for selected machines.
11674 * libc/include/machine/time.h: New file.
11675
11676 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11677
11678 * libc/syscalls/sysexecve.c: New file.
11679 * libc/syscalls/sysgettod.c: New file.
11680 * libc/syscalls/systimes.c: New file.
11681 * libc/syscalls/Makefile.am: Added new objects.
11682 * libc/syscalls/Makefile.in: Regenerated.
11683 * libc/include/_syslist.h (_execve): Moved define in file.
11684 * libc/include/reent.h: Added _execve_r declaration.
11685 * libc/Makefile.in: Regenerated.
11686 * libc/ctype/Makefile.in: Regenerated.
11687 * libc/errno/Makefile.in: Regenerated.
11688 * libc/locale/Makefile.in: Regenerated.
11689 * libc/machine/Makefile.in: Regenerated.
11690 * libc/misc/Makefile.in: Regenerated.
11691 * libc/posix/Makefile.in: Regenerated.
11692 * libc/reent/Makefile.in: Regenerated.
11693 * libc/reent/execr.c (_execve_r): Added _execve_r function.
11694 * libc/signal/Makefile.in: Regenerated.
11695 * libc/stdio/Makefile.in: Regenerated.
11696 * libc/time/Makefile.in: Regenerated.
11697 * libc/unix/Makefile.in: Regenerated.
11698 * libm/mathfp/Makefile.in: Regenerated.
11699
11700 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11701
11702 * libc/string/Makefile.in: Regenerated.
11703 * libc/string/memchr.c (memchr): Moved code to reduce object size.
11704 * libc/string/memcpy.c (memcpy): Ditto.
11705 * libc/string/memcmp.c (memcmp): Ditto.
11706 * libc/string/memset.c (memset): Ditto.
11707 * libc/string/strchr.c (strchr): Ditto.
11708 * libc/string/strcmp.c (strcmp): Ditto.
11709 * libc/string/strcpy.c (strcpy): Ditto.
11710 * libc/string/strlen.c (strlen): Ditto.
11711
11712 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11713
11714 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
11715 to generate aclocal.m4.
11716 * libm/Makefile.in: Regenerated.
11717 * libm/aclocal.m4: Regenerated.
11718 * libm/configure: Regenerated.
11719 * libm/math/Makefile.in: Regenerated.
11720 * libm/mathfp/Makefile.in: Regenerated.
11721
11722 1998-09-25 Mark Salter <msalter@cygnus.com>
11723
11724 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
11725 by adding leading and trailing underscores to symbol names.
11726
11727 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
11728
11729 * Makefile.in: Add default for AR_FLAGS.
11730
11731 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
11732
11733 patch from ian@airs.com (Ian Taylor):
11734 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
11735 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
11736 is needed for detecting the build machine. Required for
11737 cygwin native builds.
11738
11739 * Regenerate all aclocal.m4 and configure files.
11740
11741 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
11742
11743 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
11744 used to start with LC.
11745
11746 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11747
11748 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
11749 (longjmp): Likewise.
11750
11751 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11752
11753 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
11754 the test for small number of bytes.
11755
11756 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11757
11758 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
11759 math library that uses floating point algorithms instead of the old
11760 libm.
11761 * Makefile.in: Regenerate with automake version 1.3b.
11762 * configure: Rebuild.
11763 * libm/Makefile.in: Regenerate with automake version 1.3b.
11764 * libm/aclocal.m4: Regenerate.
11765 * libm/configure: Rebuild.
11766 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
11767 * libm/acinclude.m4: Define macros for configure.in.
11768 * libm/config.h.in: Generate.
11769 * libm/mathfp/Makefile.am: New file.
11770 * libm/mathfp/Makefile.in: Generate.
11771 * libm/mathfp/s_acos.c (acos): New file.
11772 * libm/mathfp/s_asin.c (asin): New file.
11773 * libm/mathfp/s_asine.c (asine): New file.
11774 * libm/mathfp/s_atan.c (atan): New file.
11775 * libm/mathfp/s_atan2.c (atan2): New file.
11776 * libm/mathfp/s_atangent.c (atangent): New file.
11777 * libm/mathfp/s_ceil.c (ceil): New file.
11778 * libm/mathfp/s_copysign.c (copysign): New file.
11779 * libm/mathfp/s_cos.c (cos): New file.
11780 * libm/mathfp/s_cosh.c (cosh): New file.
11781 * libm/mathfp/s_exp.c (exp): New file.
11782 * libm/mathfp/s_fabs.c (fabs): New file.
11783 * libm/mathfp/s_finite.c (finite): New file.
11784 * libm/mathfp/s_floor.c (floor): New file.
11785 * libm/mathfp/s_fmod.c (fmod): New file.
11786 * libm/mathfp/s_frexp.c (frexp): New file.
11787 * libm/mathfp/s_infconst.c: New file.
11788 * libm/mathfp/s_isinf (isinf).c: New file.
11789 * libm/mathfp/s_isnan.c (isnan): New file.
11790 * libm/mathfp/s_ispos.c (ispos): New file.
11791 * libm/mathfp/s_ldexp.c (ldexp): New file.
11792 * libm/mathfp/s_log.c (log): New file.
11793 * libm/mathfp/s_log10.c (log10): New file.
11794 * libm/mathfp/s_logarithm.c (logarithm): New file.
11795 * libm/mathfp/s_mathcnst.c: New file.
11796 * libm/mathfp/s_modf (modf).c: New file.
11797 * libm/mathfp/s_numtest.c (numtest): New file.
11798 * libm/mathfp/s_pow.c (pow): New file.
11799 * libm/mathfp/s_scalbn.c (scalbn): New file.
11800 * libm/mathfp/s_sin (sin).c: New file.
11801 * libm/mathfp/s_sine.c (sine): New file.
11802 * libm/mathfp/s_sineh.c (sineh): New file.
11803 * libm/mathfp/s_sinf.c (sinf): New file.
11804 * libm/mathfp/s_sinh.c (sinh): New file.
11805 * libm/mathfp/s_sqrt.c (sqrt): New file.
11806 * libm/mathfp/s_tan.c (tan): New file.
11807 * libm/mathfp/s_tanh.c (tanh): New file.
11808 * libm/mathfp/sf_acos.c (acosf): New file.
11809 * libm/mathfp/sf_asin.c (asinf): New file.
11810 * libm/mathfp/sf_asine.c (asinef): New file.
11811 * libm/mathfp/sf_atan.c (atanf): New file.
11812 * libm/mathfp/sf_atan2.c (atan2f): New file.
11813 * libm/mathfp/sf_atangent.c (atangent): New file.
11814 * libm/mathfp/sf_ceil.c (ceilf): New file.
11815 * libm/mathfp/sf_copysign.c (copysignf): New file.
11816 * libm/mathfp/sf_cos.c (cosf): New file.
11817 * libm/mathfp/sf_cosh.c (coshf): New file.
11818 * libm/mathfp/sf_exp.c (expf): New file.
11819 * libm/mathfp/sf_fabs.c (fabsf): New file.
11820 * libm/mathfp/sf_finite.c (finitef): New file.
11821 * libm/mathfp/sf_floor.c (floorf): New file.
11822 * libm/mathfp/sf_fmod.c (fmodf): New file.
11823 * libm/mathfp/sf_frexp.c (frexpf): New file.
11824 * libm/mathfp/sf_isinf.c (isinff): New file.
11825 * libm/mathfp/sf_isnan.c (isnanf): New file.
11826 * libm/mathfp/sf_ispos.c (isposf): New file.
11827 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
11828 * libm/mathfp/sf_log.c (logf): New file.
11829 * libm/mathfp/sf_log10.c (log10f): New file.
11830 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
11831 * libm/mathfp/sf_modf.c (modff): New file.
11832 * libm/mathfp/sf_numtest.c (numtestf): New file.
11833 * libm/mathfp/sf_pow.c (powf): New file.
11834 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
11835 * libm/mathfp/sf_sin.c (sinf): New file.
11836 * libm/mathfp/sf_sine.c (sinef): New file.
11837 * libm/mathfp/sf_sineh.c (sinehf): New file.
11838 * libm/mathfp/sf_sinh.c (sinhf): New file.
11839 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
11840 * libm/mathfp/sf_tan.c (tanf): New file.
11841 * libm/mathfp/sf_tanh.c (tanhf): New file.
11842 * libm/mathfp/zmath.h: New file.
11843
11844 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11845
11846 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
11847 exit if it has been overwritten by pre-fetching in delay slot.
11848
11849 1998-09-01 Michael Meissner <meissner@cygnus.com>
11850
11851 * Makefile.am (tooldir): Add in host_alias, so that multilib
11852 libraries are installed in the directory the compiler looks in.
11853 * Makefile.in: Regenerate.
11854
11855 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
11856
11857 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
11858
11859 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
11860 ahead of test for number of bytes being moved.
11861
11862 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
11863
11864 * libc/include/sys/unistd.h: Nothing special needed for
11865 _exit under cygwin.
11866
11867 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
11868
11869 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
11870 conform to user label naming conventions.
11871
11872 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
11873
11874 * libc/sys/cygwin32/sys/utime.h: variable names in
11875 protos should start with two leading underscores
11876 * libc/include/string.h: ditto
11877 * libc/include/sys/signal.h: ditto
11878 * libc/include/sys/stat.h: ditto
11879 * libc/include/sys/time.h: ditto
11880 * libc/include/sys/unistd.h: ditto
11881 * libc/include/ctype.h: ditto
11882 * libc/include/stdlib.h: ditto
11883 * libc/include/sys/reent.h: struct _atexit function ptr takes a
11884 void, same with _sig_func.
11885
11886 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
11887
11888 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
11889 for MB_CAPABLE to reduce code size when newlib is not configured
11890 with --enable-newlib-mb.
11891 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
11892 mbtowc_r.o to minimize size.
11893 * libc/stdlib/Makefile.in: Rebuild.
11894
11895 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
11896
11897 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
11898 to -DREENT.
11899 * libc/sys/sparc64/Makefile.in: Rebuild.
11900
11901 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
11902
11903 * Makefile.am (MAKEOVERRIDES): Define.
11904 * Makefile.in: Rebuild.
11905
11906 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
11907
11908 * libc/sys/sparc64/sys/stat.h (stat): Add const.
11909
11910 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
11911
11912 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
11913 newlib_cflags when looking for targ-include.
11914 * */aclocal.m4, */configure: Rebuild.
11915
11916 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
11917
11918 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
11919 to "_end".
11920
11921 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
11922
11923 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
11924 on SPARCs with little-endian data.
11925 * libc/include/machine/ieeefp.h: Ditto.
11926
11927 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
11928
11929 * acinclude.m4: Handle a relative srcdir correctly when setting
11930 newlib_cflags.
11931 * */aclocal.m4, */configure: Rebuild.
11932
11933 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
11934
11935 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
11936 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
11937 * libm/math/wrf_gamma.c (gammaf_r): ditto
11938 * libm/math/wr_lgamma.c (lgamma_r): ditto
11939 * libm/math/wr_gamma.c (gamma_r): ditto
11940 * libm/math/wf_sqrt.c (sqrtf): ditto
11941 * libm/math/wf_sinh.c (sinhf): ditto
11942 * libm/math/wf_scalb.c (scalbf): ditto
11943 * libm/math/wf_remainder.c (remainderf): ditto
11944 * libm/math/wf_pow.c (powf): ditto
11945 * libm/math/wf_log10.c (log10f): ditto
11946 * libm/math/wf_log.c (logf): ditto
11947 * libm/math/wf_lgamma.c (lgammaf): ditto
11948 * libm/math/wf_jn.c (jnf, ynf): ditto
11949 * libm/math/wf_j1.c (j1f, y1f): ditto
11950 * libm/math/wf_j0.c (j0f, y0f): ditto
11951 * libm/math/wf_hypot.c (hypotf): ditto
11952 * libm/math/wf_gamma.c (gammaf): ditto
11953 * libm/math/wf_fmod.c (fmodf): ditto
11954 * libm/math/wf_exp.c (expf): ditto
11955 * libm/math/wf_cosh.c (coshf): ditto
11956 * libm/math/wf_atanh.c (atanhf): ditto
11957 * libm/math/wf_atan2f.c (atan2f): ditto
11958 * libm/math/wf_asin.c (asinf): ditto
11959 * libm/math/wf_acosh.c (acoshf): ditto
11960 * libm/math/wf_acos.c (acosf): ditto
11961 * libm/math/w_sqrt.c (sqrt): ditto
11962 * libm/math/w_sinh.c (sinh): ditto
11963 * libm/math/w_scalb.c (scalb): ditto
11964 * libm/math/w_remainder.c (remainder): ditto
11965 * libm/math/w_pow.c (pow): ditto
11966 * libm/math/w_log10.c (log10): ditto
11967 * libm/math/w_log.c (log): ditto
11968 * libm/math/w_lgamma.c (lgamma): ditto
11969 * libm/math/w_jn.c (jn, yn): ditto
11970 * libm/math/w_j1.c (j1, y1): ditto
11971 * libm/math/w_j0.c (j0, y0): ditto
11972 * libm/math/w_hypot.c (hypot): ditto
11973 * libm/math/w_gamma.c (gamma): ditto
11974 * libm/math/w_fmod.c (fmod): ditto
11975 * libm/math/w_exp.c (exp): ditto
11976 * libm/math/w_cosh.c (cosh): ditto
11977 * libm/math/w_atanh.c (atanh): ditto
11978 * libm/math/w_atan2f.c (atan2): ditto
11979 * libm/math/w_asin.c (asin): ditto
11980 * libm/math/w_acosh.c (acosh): ditto
11981 * libm/math/w_acos.c (acos): ditto
11982
11983 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
11984
11985 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
11986 (fsrc): Add wf_cabs.c and wf_drem.c.
11987 * libm/math/Makefile.in: Rebuild.
11988
11989 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
11990 unused directory variables. Remove duplicate CFLAGS.
11991 * Makefile.in: Rebuild.
11992
11993 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
11994 with $(CC_FOR_BUILD).
11995 (makedoc.o): Likewise.
11996 * doc/Makefile.in: Rebuild.
11997
11998 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
11999 force a definition of COMPILE.
12000 (libfoo_a_SOURCES): Define.
12001 * libc/sys/cygwin32/Makefile.in: Rebuild.
12002 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12003 force a definition of COMPILE.
12004 (libfoo_a_SOURCES): Define.
12005 * libc/sys/tic80/Makefile.in: Rebuild.
12006
12007 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12008
12009 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12010 flag.
12011
12012 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12013
12014 * Build using autoconf and automake. Added many Makefile.am and
12015 configure.in files, plus generated files. Old configure.in files
12016 and all old Makefile.in files completely replaced. Removed
12017 host/any. Added acinclude.m4 and configure.host.
12018
12019 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12020
12021 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12022 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12023
12024 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12025
12026 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12027 * libc/machine/sh/Makefile.in: Add rules for new files.
12028
12029 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12030
12031 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12032 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12033 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12034
12035 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12036
12037 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12038 code is ignored.
12039
12040 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12041
12042 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12043 internal static buffer when s is NULL, as prescribed by ANSI.
12044
12045 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12046
12047 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12048 removed.
12049 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12050 libc/stdlib will be used for h8300hms.
12051
12052 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12053
12054 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12055 version that can be built either for speed or size.
12056 * libc/machine/mn10300/memset.S (_memset): ditto
12057 * libc/machine/mn10300/memchr.S (_memchr): ditto
12058 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12059 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12060 * libc/machine/mn10300/strchr.S (_strchr): ditto
12061 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12062 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12063 * libc/machine/mn10300/Makefile.in: Added entries for
12064 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12065 strcmp.o, strcpy.o, and strlen.o.
12066
12067 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12068
12069 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12070 been replaced with libgloss/mn10200.
12071
12072 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12073
12074 * libc/string/strchr.c (strchr): Make s a constant pointer to
12075 avoid warning.
12076
12077 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12078
12079 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12080 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12081 board SWIs instead of Demon board SWIs).
12082
12083 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12084
12085 * libc/string/strncat.c (strncat): Make -Os act the same as
12086 PREFER_SIZE_OVER_SPEED being defined.
12087
12088 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12089
12090 * libc/string/memchr.c (memchr): Make -Os act the same as
12091 PREFER_SIZE_OVER_SPEED being defined.
12092 * libc/string/memcmp.c (memcmp): Ditto.
12093 * libc/string/memcpy.c (memcpy): Ditto.
12094 * libc/string/memset.c (memset): Ditto.
12095 * libc/string/strcat.c (strcat): Ditto.
12096 * libc/string/strchr.c (strchr): Ditto.
12097 * libc/string/strcmp.c (strcmp): Ditto.
12098 * libc/string/strcpy.c (strcpy): Ditto.
12099 * libc/string/strlen.c (strlen): Ditto.
12100 * libc/string/strncat.c (strncat): Ditto.
12101 * libc/string/strncmp.c (strncmp): Ditto.
12102 * libc/string/strncpy.c (strncpy): Ditto.
12103
12104 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12105
12106 * libc/include/sys/itimer.h: remove
12107 * libc/include/sys/time.h: itimer stuff should be here
12108
12109 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12110
12111 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12112 bit instead of comparing to 0 so -0.0 can be printed correctly.
12113
12114 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12115
12116 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12117
12118 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12119
12120 * libc/include/sys/unistd.h: fix sync() proto
12121 * libc/include/sys/fcntl.h: remove _close which is already
12122 defined in unistd.h.
12123 * libc/include/sys/time.h: add getitimer proto
12124
12125 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12126
12127 * libc/string/strchr.c: convert arg to unsigned char
12128 * libc/include/stdlib.h: add protos for random, srandom
12129 * libc/include/sys/stat.h: add lstat proto
12130 * libc/include/sys/time.h: add setitimer proto
12131 * libc/include/sys/unistd.h: add readlink, symlink protos
12132 * libc/include/process.h: instead of including windows.h and using
12133 HANDLEs in sexec protos, just use void *s. Need to include
12134 sys/types.h.
12135
12136 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12137
12138 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12139
12140 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12141
12142 * libc/include/process.h: add secure exec protos
12143
12144 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12145
12146 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12147 which are accessed as both doubles and integers.
12148 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12149 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12150 * libc/stdlib/mprec.h: Add "union double_union" and change
12151 word0/word1 macros to use it.
12152
12153 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12154
12155 * libc/include/sys/signal.h: add __cplusplus wrapper
12156
12157 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12158
12159 * libc/include/sys/utime.h: new generic file that gets replaced by
12160 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12161 function.
12162 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12163 * libc/include/time.h: remove duplicate utime proto
12164 * libc/include/utime.h: add comment
12165
12166 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12167
12168 * libc/include/sys/time.h: Add missing include to
12169 allow use of _EXFUN. Remove times function that is
12170 already defined in times.h.
12171
12172 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12173
12174 * libc/include/time.h: Fix typo in tzset.
12175
12176 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12177
12178 * libc/include/sys/time.h: add missing Cygwin32 function protos
12179 * libc/include/sys/unistd.h: ditto
12180 * libc/include/time.h: ditto
12181
12182 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12183
12184 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12185 FIXME.
12186 * libc/include/sys/types.h: add a new __MS_types__ section
12187 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12188 __BIT_TYPES_DEFINED__.
12189
12190 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12191
12192 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12193 since it overrides the one in libc/include/sys. Also, start
12194 including types.h.
12195
12196 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12197
12198 * libm/math/Makefile.in: add s_signgam.o to obj list
12199
12200 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12201
12202 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12203
12204 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12205
12206 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12207 so don't use defines.
12208
12209 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12210
12211 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12212
12213 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12214
12215 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12216 _current_locale as default locale.
12217
12218 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12219
12220 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12221 insufficient space in a chunk.
12222
12223 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12224
12225 * configure.in (links): Added check for --enable-newlib-mb configure
12226 option which defines the MB_CAPABLE macro.
12227 * libc/locale/locale.c (_setlocale_r): Added support for setting
12228 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12229 defined.
12230 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12231 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12232 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12233 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12234 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12235 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12236 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12237 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12238 * libc/stdlib/Makefile.in: Added new multibyte
12239 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12240 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12241 _mbstowcs_r(), and _wcstombs_r().
12242 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12243 for JIS, SJIS, and EUC-JP characters.
12244 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12245 MB_CAPABLE defined.
12246 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12247 MB_CAPABLE defined.
12248 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12249 MB_CAPABLE defined.
12250 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12251 if MB_CAPABLE defined.
12252 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12253 if MB_CAPABLE defined.
12254 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12255 to the format string processing when MB_CAPABLE.
12256 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12257 call _mbtowc_r().
12258
12259 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12260
12261 The following modifications are courtesy of Anthony Thompson,
12262 athompson@cambridge.arm.com:
12263 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12264 boith RDI and RDP monitors.
12265 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12266 RDI and RDP monitors.
12267
12268 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12269
12270 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12271 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12272 (_swiopen): Fixed open flags to treat write with append as just append.
12273 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12274 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12275
12276 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12277
12278 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12279 When needing to transfer an initial 2-byte-word, store as
12280 two single bytes.
12281
12282 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12283
12284 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12285 __SH3E__ .
12286 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12287 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12288
12289 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12290
12291 * configure.in (target_cflags): If --enable-target-optspace, use
12292 -Os to compile newlib rather than -O2. Default to using -Os for
12293 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12294 used.
12295
12296 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12297
12298 * libc/include/machine/setjmp.h: change sigsetjmp and
12299 siglongjmp definitions to use an array instead of a struct
12300 for __CYGWIN32__
12301
12302 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12303
12304 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12305
12306 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12307
12308 * libc/string/strxfrm.c: fix to get correct return value
12309
12310 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12311
12312 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12313 builds. Make mode change labels global so that they will be seen
12314 by the debugger.
12315
12316 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12317
12318 * configure.in (links): Do not use ARM debiugging protocols for PE
12319 builds.
12320
12321 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12322 message.
12323
12324 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12325
12326 * libc/stdio/findfp.c (__sinit): Made stdout default to
12327 line buffered mode as defined by ANSI.
12328
12329 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12330
12331 * libc/include/sys/itimer.h: New file.
12332
12333 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12334
12335 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12336
12337 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12338 failure.
12339
12340 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12341
12342 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12343 insns.
12344
12345 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12346
12347 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12348
12349 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12350
12351 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12352 support.
12353
12354 * libc/include/machine/setjmp.h: Add D30V support.
12355
12356 * configure.in (d30v-*): Add d30v machine directory.
12357
12358 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12359
12360 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12361 been replaced with libgloss/mn10300.
12362
12363 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12364
12365 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12366 it is no longer needed.
12367
12368 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12369
12370 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
12371
12372 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
12373
12374 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
12375 the file when O_APPEND is set, wherever the EOF happens to be at
12376 that time.
12377
12378 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
12379
12380 patch from cgf@bbc.com (Christopher Faylor):
12381 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
12382 convention of closing fp prior to attempting to open the file
12383 argument. This allows correct operation when reopening
12384 stdin/stdout/stderr. Replaces last freopen.c patch.
12385
12386 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
12387
12388 patch from cgf@bbc.com (Christopher Faylor):
12389 * libc/stdio/freopen.c: freopen was not preserving the fd
12390 of the stream being operated on. This confuses programs that
12391 expect that the handles for stdout and stderr will be 1 and 2.
12392
12393 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
12394
12395 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
12396
12397 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
12398
12399 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
12400
12401 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
12402
12403 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
12404 altered to not use a branch. Also added hint that last
12405 bclr in longjmp will likely result in branch.
12406
12407
12408 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
12409
12410 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
12411
12412 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
12413
12414 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
12415 v850 builds.
12416
12417 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
12418
12419 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
12420
12421 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
12422 that loads FR14 to specify offset of 8 rather than 4
12423 so it loads from offset 96 (where setjmp stored it).
12424
12425 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12426
12427 * libc/machine/sh/memcpy.S: (_memcpy): Update to
12428 latest version supplied by customer.
12429 * libc/machine/sh/memset.S (_memset): Ditto.
12430
12431 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
12432
12433 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
12434 PR14730).
12435
12436 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
12437
12438 * libc/include/string.h: remove redefinition of ffs
12439
12440 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
12441
12442 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
12443 defined
12444
12445 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12446
12447 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
12448 TI Libraries to link to libc.a
12449
12450 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
12451
12452 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
12453 * libc/include/sys/stat.h (_{,f}stat): Ditto.
12454 * libc/include/sys/wait.h (_wait): Ditto.
12455 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
12456 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
12457
12458 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
12459
12460 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
12461 minded stabs so function name shows up when running the simulator
12462 with -t.
12463 * libc/sys/d10v/{crt0,trap}.S: Ditto.
12464
12465 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
12466
12467 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
12468 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
12469 Use R5 where we used to use R3.
12470
12471 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
12472
12473 * libc/stdlib/getopt.c (getopt): replaced __progname
12474 with nargv[0] to improve portability to imbedded systems.
12475
12476 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
12477
12478 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
12479 patch supplied by Tont.Thompson@arm.com to fix the creation of the
12480 stdout file.
12481
12482 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
12483
12484 * libc/stdio/tmpnam.c (worker): Generate a different file name
12485 each time.
12486
12487 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
12488 fails, try an execlp for sh.
12489
12490 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
12491 option for the winsup include directory.
12492
12493 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
12494
12495 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
12496 debugging interface from Tony.Thompson@arm.com.
12497
12498 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
12499 * libc/sys/arm/swi.h: ditto.
12500
12501 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
12502
12503 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
12504 DIR struct used for readdir hashes.
12505
12506 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
12507
12508 * libc/string/strchr.c: Use "unsigned chars" as necessary.
12509
12510 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
12511
12512 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
12513 integer targets.
12514
12515 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
12516
12517 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
12518 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
12519 * libc/include/malloc.h: Add extern "C" if __cplusplus.
12520 (__malloc_copy): Declare.
12521
12522 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
12523
12524 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
12525 <sys/config.h>.
12526 (POINTER_UINT): Define.
12527 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
12528 (MALLOC_ALIGNMENT): Don't define if already defined.
12529 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
12530 long.
12531
12532 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
12533
12534 * libc/string/memset.c (memset): Fiddle with code so that the long
12535 value being stored is not a stack value. Unroll storing longs 4
12536 times.
12537
12538 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
12539
12540 * Reduce code size for libm modules.
12541 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
12542 and simply move code into sqrt.
12543 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
12544 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
12545 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
12546 * libm/math/wr_gamma.c (gamma_r): Likewise.
12547 * libm/math/wf_sinh.c (sinfh): Likewise.
12548 * libm/math/w_sinh.c (sinh): Likewise.
12549 * libm/math/wf_scalb.c (scalbf): Likewise.
12550 * libm/math/w_scalb.c (scalb): Likewise.
12551 * libm/math/wf_remainder.c (remainderf): Likewise.
12552 * libm/math/w_remainder.c (remainder): Likewise.
12553 * libm/math/wf_pow.c (powf): Likewise.
12554 * libm/math/w_pow.c (pow): Likewise.
12555 * libm/math/wf_log10.c (log10f): Likewise.
12556 * libm/math/w_log10.c (log10): Likewise.
12557 * libm/math/wf_log.c (logf): Likewise.
12558 * libm/math/w_log.c (log): Likewise.
12559 * libm/math/w_lgamma.c (lgamma): Likewise.
12560 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12561 * libm/math/wf_jn.c (jnf): Likewise.
12562 * libm/math/w_jn.c (jn): Likewise.
12563 * libm/math/wf_j1.c (j1f): Likewise.
12564 * libm/math/w_j1.c (j1): Likewise.
12565 * libm/math/wf_j0.c (j0f): Likewise.
12566 * libm/math/w_j0.c (j0): Likewise.
12567 * libm/math/wf_hypot.c (hypotf): Likewise.
12568 * libm/math/w_hypot.c (hypot): Likewise.
12569 * libm/math/wf_gamma.c (gammaf): Likewise.
12570 * libm/math/w_gamma.c (gamma): Likewise.
12571 * libm/math/wf_fmod.c (fmodf): Likewise.
12572 * libm/math/w_fmod.c (fmod): Likewise.
12573 * libm/math/wf_exp.c (expf): Likewise.
12574 * libm/math/w_exp.c (exp): Likewise.
12575 * libm/math/wf_cosh.c (coshf): Likewise.
12576 * libm/math/w_cosh.c (cosh): Likewise.
12577 * libm/math/wf_atanh.c (atanhf): Likewise.
12578 * libm/math/w_atanh.c (atanh): Likewise.
12579 * libm/math/wf_atan2.c (atan2f): Likewise.
12580 * libm/math/w_atan2.c (atan2): Likewise.
12581 * libm/math/wf_asin.c (asinf): Likewise.
12582 * libm/math/w_asin.c (asin): Likewise.
12583 * libm/math/wf_acosh.c (acoshf): Likewise.
12584 * libm/math/w_acosh.c (acosh): Likewise.
12585 * libm/math/wf_acos.c (asocf): Likewise.
12586 * libm/math/w_acos.c (acos): Likewise.
12587 * libm/math/wf_sqrt.c (sqrtf): Likewise.
12588 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
12589 for embedded systems.
12590
12591 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
12592
12593 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
12594 Lea in case of a foreign sbrk.
12595
12596 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
12597
12598 Incorporate Doug Lea's malloc:
12599 * libc/stdlib/mallocr.c: Completely replaced.
12600 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
12601 (realloc): Remove.
12602 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
12603 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
12604 mallopt.
12605 (mallinfo, malloc_stats, mallopt): New functions.
12606 (_mstats_r): Just call _malloc_stats_r.
12607 * libc/stdlib/malign.c: New file.
12608 * libc/stdlib/mlock.c: New file.
12609 * libc/stdlib/msize.c: New file.
12610 * libc/stdlib/mtrim.c: New file.
12611 * libc/stdlib/realloc.c: New file.
12612 * libc/stdlib/valloc.c: New file.
12613 * libc/stdlib/malloc.h: Remove.
12614 * libc/stdlib/callocr.c: Remove.
12615 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
12616 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
12617 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
12618 reallocr.o, valloc.o, vallocr.o.
12619 (CHEWOUT_FILES): Add mlock.def, mstats.def.
12620 (MALLOC_CFLAGS): New variable.
12621 (mallocr.o): New target, build from mallocr.c.
12622 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
12623 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
12624 (msizer.o, malloptr.o): Likewise.
12625 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
12626 (valloc.o): New target.
12627 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
12628 * libc/include/malloc.h: Declare struct mallinfo, and new
12629 routines.
12630 * libc/include/stdlib.h (cfree): Correct declaration.
12631
12632 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
12633
12634 * libc/include/machine/setjmp.h: Add support for Thumb target.
12635
12636 * libc/include/machine/ieeefp.h: Add support for Thumb target.
12637
12638 * configure.in (links): Add support for Thumb target.
12639
12640 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
12641
12642 * libc/sys/arm/setjmp.S: Updated with version from branch.
12643
12644 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
12645
12646 * libc/include/stdio.h: add POSIX-required define L_ctermid
12647 for ctermid
12648
12649 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
12650
12651 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
12652 addition to MISSING_SYSCALL_NAMES.
12653
12654 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12655
12656 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
12657
12658 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
12659
12660 * libc/include/string.h: change strsignal proto to return
12661 a char *. This eliminates compile problems in gdb resulting
12662 from gdb's definition of strsignal in defs.h.
12663
12664 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
12665
12666 * libc/sys/cygwin32/sys/utime.h: new (moved here from
12667 winsup/include) so as not to conflict with the one in
12668 libc/include.
12669 * libc/include/string.h: add protos for strsignal, strtosigno
12670
12671 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
12672
12673 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
12674
12675 * configure.in (d30v-*-*): Add configuration.
12676
12677 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
12678
12679 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
12680 to select which kind of debug monitor is in use for an ARM target.
12681
12682 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
12683 Angel and Demon debug monitors. Part of this code was supplied by
12684 Tony Thompson at ARM: athompso@arm.com.
12685
12686 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
12687
12688 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
12689 semantics when the count is greater than the length of the second
12690 source string.
12691
12692 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
12693
12694 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
12695 * libc/include/sys/unistd.h: add protos for usleep, truncate,
12696 truncate and ftruncate take off_t, not size_t
12697
12698 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
12699
12700 * libc/string/strcat.c (strcat): Add missing comment end.
12701 * libc/string/strncat.c (strncat): Likewise.
12702
12703 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
12704
12705 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
12706 targets.
12707 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
12708 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
12709 defined.
12710 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12711 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12712 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12713
12714 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
12715
12716 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
12717 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
12718
12719 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
12720
12721 * libc/machine/i386/setjmp.S: New file.
12722 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
12723 (OFILES): Add setjmp.o.
12724 (setjmp.o): Add rule for.
12725 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
12726
12727 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
12728 Jeffrey A Law (law@cygnus.com)
12729
12730 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
12731 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12732 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12733 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12734
12735 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
12736
12737 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
12738 rules.
12739
12740 * libc/include/sys/config.h: Use __v850 to select v850
12741 endianness.
12742
12743 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
12744 buffer size.
12745
12746 * libc/include/machine/ieeefp.h: Use __v850 to select v850
12747 endianness.
12748
12749 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
12750
12751 * libc/stdlib/setenv.c: change unsetenv definition to match
12752 style of setenv (with _DEFUN). The string should be a const.
12753 * libc/include/stdlib.h: unsetenv proto should return void.
12754
12755 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
12756
12757 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
12758
12759 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
12760
12761 * libc/stdio/glue.h: remove.
12762 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
12763 * libc/stdio/Makefile.in: remove glue.h dependencies
12764
12765 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
12766
12767 * libc/sys/sysnecv850/crt0.S: Created V850e version.
12768
12769 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
12770
12771 * configure.in (target_cpu): Add `arc'.
12772
12773 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
12774
12775 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
12776 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
12777 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
12778 * newlib/libc/reent/reent.c: Add _wrapup_reent.
12779 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
12780
12781 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
12782
12783 * libc/machine/mips/setjmp.S: Handle mips16 builds.
12784
12785 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
12786
12787 * libc/include/stdio.h (siprintf): Declare.
12788
12789 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
12790
12791 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
12792 TARGET_CFLAGS and NEWLIB_FLAGS.
12793
12794 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12795
12796 * configure.in (links): Add support for v850ea target.
12797
12798 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12799
12800 * configure.in (links): Add support for v850e target.
12801
12802 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
12803
12804 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
12805
12806 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
12807
12808 * configure.in (arc-*-*): Add support for.
12809 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
12810
12811 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12812
12813 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
12814
12815 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
12816
12817 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
12818 comparison which accesses invalid memory when the key is
12819 larger than the last member of the array.
12820 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
12821 for CYGWIN32
12822 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
12823
12824 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
12825
12826 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
12827 not _STRICT_ANSI.
12828
12829 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
12830
12831 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
12832 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
12833
12834 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
12835
12836 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
12837 to load/store memory.
12838
12839 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
12840
12841 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
12842 underscores if _WIN32.
12843
12844 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
12845
12846 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
12847 support ifdef _USE_WRITE missed in last change.
12848 From Anders Blomdell <anders.blomdell@control.lth.se>.
12849
12850 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
12851
12852 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
12853 (_tmpnam_r, _tempnam_r): Update.
12854
12855 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
12856
12857 * libc/machine/sparc/setjmp.S: New file.
12858 * libc/machine/sparc/Makefile.in: Add setjmp.
12859 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
12860
12861 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
12862
12863 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
12864
12865 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
12866
12867 From Joel Sherrill <joel@oarcorp.com>.
12868 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
12869
12870 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
12871 * configure.in: Recognize *-*-rtems*.
12872 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
12873 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
12874 time.h,times.h,types.h}: New files.
12875 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
12876
12877 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
12878
12879 patch from sos@prospect.com.ru (Sergey Okhapkin):
12880 * include/sys/wait.h: correct operator precidence bug
12881 in WIFSIGNALED
12882
12883 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
12884
12885 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
12886 with newlib's unsetenv function
12887 * libc/sys/cygwin32/sys: new directory for includes
12888 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
12889 here from winsup/include/sys
12890
12891 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
12892
12893 * libc/include/sys/unistd.h: _exit should only be
12894 labelled noreturn when not __CYGWIN32__
12895 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
12896 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
12897 increment NSIG
12898
12899 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
12900
12901 * libc/include/sys/time.h: Only define timeval and timezone if
12902 _GNU_H_WINDOWS32_SOCKETS is not defined.
12903 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
12904
12905 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
12906
12907 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
12908 * libc/machine/mn10300/setjmp.S: Likewise.
12909
12910 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
12911 the mn10300 (more relaxing opportunities).
12912
12913 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
12914
12915 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
12916 Build libraries with -mstrict-align.
12917
12918 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
12919
12920 * libc/string/strlwr.c: New file.
12921 * libc/string/strupr.c: New file.
12922 * libc/include/string.h: Declare strlwr and strupr.
12923 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
12924 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
12925 (strlwr.o, strupr.o): New targets.
12926 * libc/string/strings.tex: Include strlwr and strupr docs.
12927
12928 * libc/include/sys/types.h: Don't define u_char, et. al., if
12929 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
12930 et. al. Make FD_SETSIZE default 64 rather than 60. Define
12931 _types_fd_set rather than fd_set, and define fd_set as a macro.
12932
12933 * libc/include/malloc.h: New file.
12934
12935 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
12936 strnicmp if they are not already defined.
12937
12938 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
12939 _timezone, _daylight, and _tzname.
12940
12941 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
12942
12943 * configure.in: Sort all configuration tables.
12944
12945 From Joel Sherrill <joel@oarcorp.com>
12946 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
12947
12948 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
12949
12950 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
12951 use int when declaring kill.
12952
12953 * libc/include/sys/timeb.h: New file.
12954
12955 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
12956
12957 * libc/include/sys/time.h: add itimer support for Cygwin32
12958
12959 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
12960
12961 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
12962 out a message that abort was called to stderr.
12963
12964 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
12965
12966 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
12967 so that libio doesn't freak.
12968
12969 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
12970 int.
12971
12972 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
12973 memory sizes, not int.
12974
12975 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
12976
12977 * libm/math/ef_hypot.c: Use long constants where
12978 appropriate.
12979 * libm/math/ef_sqrt.c: Ditto.
12980
12981 * libc/sys/sysmec/times.c(_times): Change to times.
12982
12983 * libc/sys/sysmec/read.c(_read): The third argument is
12984 size_t.
12985 * libc/sys/sysmec/write.c (_write): Ditto.
12986
12987 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
12988 (_lseek): It's off_t for the second argument.
12989
12990 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
12991
12992 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
12993 as well as machine/ieeefp.h.
12994
12995 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
12996
12997 * libc/include/sys/signal.h: add signal protos for winsup
12998 functions (when __CYGWIN32__), include types.h
12999 * libc/include/sys/types.h: Change __go32_types__ internal
13000 define to __MS_types__ since it's used for more than just
13001 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13002 defined.
13003 * libc/include/sys/unistd.h: add ftruncate proto for
13004 winsup functions (when __CYGWIN32__)
13005
13006 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13007
13008 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13009
13010 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13011
13012 * libc/include/machine/setjmp.h: Add tic80 support.
13013 * libc/machine/tic80/setjmp.S: Likewise.
13014
13015 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13016
13017 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13018 link programs from libraries only (such as in the X11
13019 distribution)
13020
13021 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13022
13023 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13024 supplied elsewhere in newlib.
13025
13026 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13027
13028 * Makefile.in (INSTALL): Change install.sh to install-sh.
13029
13030 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13031
13032 * README: update WWW address for on-line documentation.
13033
13034 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13035
13036 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13037 increment NSIG
13038
13039 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13040
13041 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13042 mn10300.
13043 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13044
13045 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13046
13047 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13048 * libc/sys/d10v/syscalls.c: Likewise.
13049 * libc/sys/h8300hms/sbrk.c: Likewise.
13050 * libc/sys/h8500hms/syscalls.c: Likewise.
13051 * libc/sys/m88kbug/syscalls.c: Likewise.
13052 * libc/sys/sh/syscalls.c: Likewise.
13053 * libc/sys/sysmec/sbrk.c: Likewise.
13054 * libc/sys/sysnecv850/sbrk.c: Likewise.
13055 * libc/sys/w65/syscalls.c: Likewise.
13056 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13057
13058 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13059
13060 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13061 emulated syscall instead of "trap".
13062
13063 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13064
13065 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13066 not trap 0.
13067
13068 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13069
13070 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13071
13072 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13073
13074 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13075 not "sh".
13076 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13077 not "d10v".
13078 * libc/sys/tic80/crt0.c: New file for TIc80.
13079 * libc/sys/tic80/Makefile.in: New file for TIc80.
13080 * libc/machine/tic80/Makefile.in: New file for TIc80.
13081
13082 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13083
13084 * libc/machine/sh/memcpy.S: New file.
13085 * libc/machine/sh/memset.S: New file.
13086 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13087
13088 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13089
13090 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13091 for TIc80.
13092
13093 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13094
13095 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13096 the mn10200.
13097
13098 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13099
13100 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13101 (patch from andrew@pogo.WV.TEK.COM).
13102
13103 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13104
13105 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13106 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13107
13108 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13109
13110 * configure.in: Add cases for "tic80" to set machine_dir,
13111 sys_dir, and syscall_dir.
13112
13113 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13114
13115 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13116
13117 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13118
13119 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13120
13121 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13122
13123 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13124 Use proper constant prefix.
13125
13126 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13127
13128 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13129 that loses on the mn10200 where ints and pointers are different
13130 sizes.
13131
13132 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13133
13134 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13135 target as signal is provided in winsup.
13136
13137 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13138
13139 * libc/include/sys/process.h: Corrected const definitions
13140 in spawn functions. Added cwait.
13141
13142 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13143
13144 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13145 doubles.
13146 * libc/include/sys/config.h: Similarly.
13147
13148 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13149
13150 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13151 target_cflags.
13152 (i[3456]86-*-sco*): Ditto.
13153
13154 * libc/signal/Makefile.in (OFILES): Add signal.o.
13155 (CFILES): Add signal.c.
13156
13157 * libc/signal/raise.c (_raise_r): Only compile code if
13158 SIGNAL_PROVIDED is defined.
13159
13160 * libc/signal/signal.c: Redo whole file so that it works with
13161 current newlib. Use _kill_r if no signal handler provided.
13162
13163 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13164 signal stubs.
13165 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13166 * libc/sys/sysnecv850/Makefile.in: Ditto.
13167
13168 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13169 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13170 * libc/sys/sysvnecv70/signal.s: Ditto.
13171 * libc/sys/sysnecv850/raise.c: Ditto.
13172
13173 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13174 simulator and debugger can tell the difference between a signal
13175 being raised and an exit system call.
13176
13177 * NEWS: Document software signals being provided.
13178
13179 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13180
13181 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13182 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13183 include/sys/config.h.
13184 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13185 Change from 'inpure_data'.
13186 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13187 &impure_data, not &inpure_data.
13188
13189 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13190 and and System V ABI, define so that _impure_ptr lives in the
13191 .sdata section.
13192
13193 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13194
13195 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13196 nothing if not defined.
13197 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13198 its attributes.
13199
13200 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13201
13202 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13203
13204 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13205 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13206 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13207
13208 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13209
13210 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13211
13212 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13213
13214 * libc/include/sys/errno.h: Added net errno's.
13215
13216 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13217
13218 * libc/misc/ffs.c: New file to support ffs function for GCC test
13219 gcc.c-torture/execute/960909-1.c.
13220
13221 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13222
13223 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13224
13225 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13226 * libc/sys/sysmec/trap.S: Likewise.
13227
13228 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13229
13230 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13231 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13232
13233 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13234
13235 * libc/sys/sysmec/signal.c: Dummy file.
13236 * libc/sys/sysmec/Makefile.in: Build it.
13237
13238 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13239
13240 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13241 mips16.
13242
13243 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13244
13245 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13246 c-startup and simulator traps.
13247
13248
13249 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13250 * libc/sys/sysmec/trap0.S: Likewise.
13251
13252 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13253
13254 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13255 round to double word alignment.
13256 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13257 byte alignment.
13258
13259 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13260
13261 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13262 out of memory.
13263
13264 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13265
13266 * configure.in: Handle mn10200 and mn10300.
13267 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13268 * libc/include/sys/config.h: Likewise.
13269 * libc/sys/sysmec: New directory for mec stuff.
13270 * libc/machine/mn10300: New directory for mn10300 stuff.
13271 * libc/machine/mn10200: Similarly for mn10200 stuff.
13272
13273 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13274
13275 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13276 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13277
13278 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13279 (nlink_t): Change type from unsigned int to unsigned short.
13280 (mode_t): Ensure size is 32 bits even if int is 16.
13281 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13282 (st_spare[123]): Change type from int to long.
13283
13284 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13285
13286 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13287 byte boundary.
13288
13289 * configure.in (d10v*): Define SMALL_MEMORY.
13290
13291 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13292
13293 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13294 -mrelocatable-lib and -mno-eabi flags.
13295
13296 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13297
13298 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13299 Fix handling of mis-aligned source operand when both the
13300 destination & length are properly aligned.
13301
13302 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13303
13304 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13305 times.o, time.o and gettime.o
13306 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13307 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13308 SYS_gettimeofday.
13309
13310 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13311
13312 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13313 * libc/sys/sysnecv850/access.c: New file.
13314
13315 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13316
13317 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13318
13319 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13320 long.
13321
13322 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13323
13324 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13325
13326 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13327
13328 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13329 * libc/include/sys/config.h: Add m32r support.
13330
13331 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13332
13333 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13334 here.
13335
13336 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13337
13338 * libc/include/machine/setjmp.h: Add D10v support.
13339
13340 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13341
13342 * configure.in: Configure the "libc/syscalls" directory for
13343 the v850.
13344
13345 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13346 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13347 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13348 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13349 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13350
13351 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13352
13353 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13354 stack for args for main and other routines. Zero out args for
13355 main.
13356
13357 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13358 correctly.
13359
13360 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13361
13362 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13363 function.
13364
13365 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13366
13367 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
13368 real system calls now.
13369
13370 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
13371 before casting them to int.
13372 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
13373
13374 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
13375 aligning pointer.
13376 * libc/string/memset.c (memset): Ditto.
13377
13378 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
13379 first convert ints to _POINTER_INT to eliminate GCC warning.
13380
13381 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
13382 processing %p.
13383
13384 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
13385 from 65000 if ints are only 16 bits.
13386
13387 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
13388 from 50000 if ints are only 16 bits.
13389
13390 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
13391 int type that is the same size as a pointer.
13392
13393 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
13394 processing %p.
13395 (get_number): Explicitly cast number to long before shifting by 16
13396 or 24, in case ints are short.
13397
13398 * libc/include/sys/config.h (_POINTER_INT): Define as short.
13399
13400 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
13401
13402 * libc/string.h: Added ffs, removed swab.
13403 * libc/sys/errno.h: Added EOPNOTSUPP.
13404 * libc/sys/unistd.h: Added swab.
13405
13406 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
13407
13408 * libc/include/sys/stat.h: Added fchmod.
13409 * libc/include/sys/unistd.h: Added fsync.
13410
13411 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
13412
13413 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
13414 and ECONNRESET (104) for cygwin32.
13415
13416 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
13417
13418 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
13419 do the static destructors.
13420
13421 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
13422
13423 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
13424
13425 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
13426
13427 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
13428 * configure.in: Recognize m32r-*-*.
13429
13430 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
13431
13432 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
13433 __rt_stkovf_split_small): Added default software stack overflow
13434 handlers, which just call SWI_Exit.
13435 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
13436 limit initialisation.
13437
13438 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
13439
13440 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
13441
13442 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
13443
13444 * libc/include/sys/types.h: Added ssize_t definition.
13445
13446 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13447
13448 * libc/machine/d10v/setjmp.S: Use ';' for comments.
13449 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
13450
13451 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
13452 branch around a single ldi instruction.
13453
13454 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
13455 Call exit, instead of just issuing a stop instruction.
13456
13457 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13458
13459 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
13460
13461 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13462
13463 * libc/stdlib/mprec.h: Explicitly declare all large constants as
13464 longs, and then cast them to __uint32_t.
13465
13466 * libc/include/sys/config.h: Protect against multiple inclusions.
13467
13468 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
13469
13470 * configure.in (d10v*): Set syscall_dir.
13471
13472 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
13473
13474 * libc/sys/d10v/crt0.S: Set stack pointer.
13475
13476 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
13477
13478 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
13479 in assembly for efficiency. Change calling convention to allow
13480 long ints to be returned.
13481
13482 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13483
13484 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
13485
13486 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
13487
13488 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
13489 Handle empty entries in $PATH.
13490
13491 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
13492
13493 * libc/machine/d10v/setjmp.S: Make it really work.
13494
13495 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
13496
13497 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
13498 the .stack section.
13499
13500 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
13501
13502 * sys/sysnecv850/sys/file.h: Remove.
13503 * sys/sysnecv850/sys/syscall.h: New file.
13504 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
13505 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
13506 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
13507 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
13508 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
13509 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
13510 * sys/sysnec850/trap.S: New file.
13511 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
13512 syscalls.
13513 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
13514 * sys/sysnec850/sbrk.c: New version.
13515
13516 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
13517
13518 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
13519 as long as r6 is less than r7.
13520
13521 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
13522
13523 * Makefile.in (mostlyclean): Separate from clean target. Don't
13524 remove *.a or targ-include.
13525 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
13526
13527 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13528
13529 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
13530 d10v.
13531 (__SMALL_BITFIELDS): Ditto.
13532
13533 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
13534
13535 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
13536
13537 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
13538 prefix.
13539
13540 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
13541 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
13542 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
13543 * libc/sys/sysnecv850/write.c (write): Likewise.
13544
13545 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
13546 .bss.
13547
13548 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13549
13550 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
13551 appropriately for D10V, depending on -mint16/-mint32.
13552
13553 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
13554
13555 * configure.in: Add cases for D10V.
13556
13557 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13558
13559 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
13560
13561 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
13562
13563 * libc/include/machine/ieeefp.h: Fix typo.
13564
13565 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
13566
13567 * libc/sys/d10v: New directory for D10V stuff.
13568 * libc/include/machine/ieeefp.h: Add D10V defines.
13569
13570 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
13571
13572 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
13573 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
13574 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
13575 * libc/string/strerror.c (strerror): Add them.
13576
13577 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
13578
13579 * libc/sys/sysnecv850: New directory for v850 stuff.
13580
13581 * libc/machine/v850: New directory for v850 stuff.
13582 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
13583
13584 * configure.in: Add support for the v850.
13585
13586 * libc/include/machine/ieeefp.h: Add v850 defines.
13587 * libc/include/machine/setjmp.h: Likewise.
13588 * libc/include/sys/config.h: Add v850 defines.
13589
13590 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
13591
13592 * libc/include/machine/ieeefp.h
13593 * libc/include/machine/setjmp.h
13594 * libc/include/sys/fcntl.h
13595 * libc/include/sys/signal.h
13596 * libc/include/sys/types.h
13597 * libc/stdlib/system.c:
13598 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
13599 API availability, __CYGWIN32__ for cygwin32 environment specific).
13600
13601 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
13602
13603 * libc/include/stdlib.h: add multibyte character functions. Add
13604 __eprintf for assert.
13605
13606 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13607
13608 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
13609 arithmetic or __alignof__ to properly get the alignment, instead
13610 of hardwiring it to 4.
13611
13612 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
13613
13614 * libc/stdio/fseek.c: add fflush call to adjust seek offset
13615 on append stream (fix from NetBSD sources), adjust curoff offset
13616 for ungetc's benefit.
13617 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
13618 * libc/stdio/rewind.c: replace code with up to date NetBSD
13619 code to undo hacks made to work around above problem of not
13620 having fflush call mentioned above
13621
13622 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13623
13624 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
13625 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
13626 Partially revert last changes. The thread specific errno is set
13627 iff if the underlying syscall fails and the global errno is not
13628 zero.
13629
13630 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13631
13632 * libc/reent/filer.c: Removed files, all functions have split out
13633 into their own files.
13634 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
13635 New files containing functions formally in filer.c
13636 * libc/reent/Makefile.in: Updated for above change.
13637
13638 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
13639 syscall fails, not if errno is changed.
13640 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
13641 _write_r): Likewise.
13642 * libc/reent/fstatr.c (_fstat_r): Likewise.
13643 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
13644 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
13645 * libc/reent/signalr.c (_kill_r): Likewise.
13646 * libc/reent/statr.c (_stat_r): Likewise.
13647 * libc/reent/timer.c (_gettimeofday_r): Likewise.
13648
13649 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
13650 signalr.c, statr.c, timer.c} (errno): declare extern rather
13651 than as a common.
13652
13653 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
13654 instead of calling vfprintf so that i*printf will not require
13655 floating point support code.
13656
13657 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
13658
13659 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
13660 path delimiter.
13661 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
13662 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
13663
13664 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
13665
13666 * libc/include/signal.h: _sig_func_ptr function takes an int
13667 * libc/include/sys/signal.h: sa_handler function takes an int
13668
13669 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
13670
13671 * libc/include/machine/ieeefp.h: Simplify H8/S support.
13672 * libc/include/sys/config.h: Add missing H8/S conditional.
13673
13674 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
13675
13676 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
13677
13678 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
13679
13680 * libc/include/machine/setjmp.h: Handle H8/S.
13681 * libc/include/machine/ieeefp.h: Likewise.
13682 * libc/include/sys/config.h: Likewise.
13683 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
13684 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
13685 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
13686 * libc/sys/h8300hms/crt0.S: Likewise.
13687
13688 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
13689
13690 * Makefile.in (datadir): Set to $(prefix)/share.
13691 (oldincludedir, docdir): Removed.
13692 * doc/Makefile.in (datadir): Set to $(prefix)/share.
13693 (oldincludedir, docdir): Removed.
13694 * libc/Makefile.in (datadir): Set to $(prefix)/share.
13695 (oldincludedir, docdir): Removed.
13696 * libm/Makefile.in (datadir): Set to $(prefix)/share.
13697 (oldincludedir, docdir): Removed.
13698
13699 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
13700
13701 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
13702 _reent struct.
13703
13704 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
13705
13706 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
13707 fetch current path rules with sysconf and handler posix/win32
13708 appropriately.
13709
13710 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
13711
13712 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
13713 (WAIT_CHILD): Always define.
13714
13715 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
13716
13717 * libc/stdlib/eprintf.c: New file.
13718 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
13719 (eprintf.o): New target.
13720
13721 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
13722
13723 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
13724 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
13725
13726 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
13727
13728 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
13729 NT in PowerPC endianess cases.
13730
13731 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13732
13733 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
13734
13735 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13736
13737 * libc/string/strtok.c: Fix doc typo.
13738
13739 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13740
13741 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
13742 _next, _scanpoint, _signgam fields.
13743
13744 * libc/include/stdlib.h (rand_r): Added new declaration.
13745 (_rand_r, _srand_r): Removed declarations.
13746 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
13747 have been made obsolete by rand_r.
13748 * libc/stdlib/rand_r.c: New file, rand_r function as specified
13749 by POSIX.1c.
13750
13751 * libc/string/strtok.c: Update documentation to describe
13752 strtok_r().
13753
13754 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
13755
13756 * libc/include/sys/stat.h (stat structure): Use the expanded stat
13757 structure on Solaris, and PowerPC systems even though __svr4__ is
13758 defined.
13759
13760 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
13761
13762 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
13763
13764 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
13765
13766 * host/any: Use ../.. rather than .. to get to the main build
13767 directory. This matches the current layout of the build
13768 directory.
13769
13770 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
13771
13772 * libc/machine/h8300/__main.S: Delete. No longer needed.
13773 * libc/machine/h8300/Makefile.in: Corresponding changes.
13774 * libc/sys/h8300hms/crt1.c: New file.
13775 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
13776 * libc/sys/h8300hms/crt0.s: Call __main.
13777
13778 * libc/sys/h8300hms/crt0.S: Use temporary label names
13779 for branch targets.
13780
13781 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
13782
13783 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
13784
13785 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13786
13787 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
13788 .sdata on the PowerPC so that we can link newlib with code
13789 compiled with -msdata.
13790
13791 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
13792
13793 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
13794
13795 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
13796
13797 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
13798 exception handler to __cygwin_exception_handler.
13799
13800 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
13801
13802 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
13803
13804 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
13805
13806 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
13807 SunOS VPATH.
13808 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
13809 wcstombs.o): Likewise.
13810
13811 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
13812
13813 * libc/stdlib/environ.c (initial_env): New static local.
13814 (environ): Point to `initial_env'.
13815
13816 * libc/include/machine/setjmp.h: Clean up.
13817 (__H8300H__,__PPC__): Define _JBTYPE.
13818 (__arm__): Provide entry for.
13819 (sigjmp_buf): Delete.
13820 (jmp_buf): Use _JBTYPE if defined, otherwise int.
13821
13822 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
13823
13824 * libc/machine/h8300/strcmp.S: Sign extend the result to
13825 32bits so we don't lose with -mint32.
13826
13827 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
13828
13829 * libc/sys/go32/sys/errno.h: New file.
13830 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
13831 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
13832 errno's address (make compatible with rest of newlib).
13833 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
13834 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
13835
13836 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
13837
13838 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
13839 * libc/machine/sparc/Makefile.in: Build them.
13840 * libc/machine/sparc/machine/sparclet.h: New file.
13841
13842 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13843
13844 * libc/machine/sh/asm.h: New file.
13845 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
13846 support for SH3e's FP registers. Use asm.h.
13847
13848 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
13849
13850 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
13851 as first argument. Call _dtoa_r and pass the reent structure
13852 instead of calling __dtoa.
13853
13854 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
13855
13856 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
13857 the h8300, h8500, and others. Add comments for some rather
13858 dubious code.
13859
13860 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
13861
13862 * Makefile.in (check): Check that testsuite exists before cd.
13863
13864 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13865
13866 * libc/include/string.h (strsep): Correct prototype.
13867
13868 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
13869
13870 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
13871 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
13872 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
13873
13874 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
13875
13876 * libc/posix/{creat.c,isatty.c}: New files.
13877 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
13878
13879 * libc/sys/sparc64/crt0.S (environ): Delete.
13880 (.LHaveBias): Renamed from HaveBias.
13881
13882 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
13883
13884 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
13885 (_morecore_r): Delete SBRK_IS_ALLOC support.
13886
13887 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13888
13889 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
13890 module rather than touch, so we don't get warning messages when
13891 all of the libraries are combined into libc.a.
13892
13893 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
13894
13895 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
13896 crt0.s replaced by version in libgloss.
13897
13898 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13899
13900 * libc/reent/Makefile.in (OFILES): Add impure.o.
13901 * libc/reent/impure.o: New file, define initial reentrancy struct.
13902 * libc/reent/reent.c: Remove above definition.
13903
13904 * libm/math/sf_asinh.c: Fix typo.
13905
13906 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
13907 srf_ldexp.o.
13908
13909 * libm/libm.texinfo: Change documentation to reflect changes
13910 in reentrancy model.
13911 * libm/math/w_gamma.c: Likewise.
13912
13913 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
13914
13915 * configure.in (*-*-cygwin32): New.
13916 (*-*-win32): Deleted.
13917 * libc/sys/win32 renamed libc/sys/cygwin32.
13918
13919 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13920
13921 * libc/include/sys/file.h: New include file.
13922
13923 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
13924
13925 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
13926
13927 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
13928
13929 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
13930
13931 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13932
13933 * doc/makedoc.c (realloc): Declare at file scope.
13934 (catchar): Not here.
13935
13936 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
13937
13938 * Makefile.in (VERSION): Update to 1.7.0.
13939 * {libc,libm}/Makefile.in (VERSION): Likewise.
13940 * configure.in: Minor clean up of multilib stuff.
13941
13942 From David Johnson <davidj@ICSI.Berkeley.EDU>
13943 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
13944
13945 * libc/stdlib/environ.c: New file.
13946 * libc/stdlib/Makefile.in (OFILES): Build it.
13947 * libc/sys/h8500hms/crt0.c (environ): Deleted.
13948 * libc/sys/m88kbug/crt0.c (environ): Deleted.
13949 * libc/sys/z8ksim/crt0.c (environ): Deleted.
13950 * libc/sys/netware/environ.c: Deleted.
13951
13952 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
13953
13954 * configure.in (links): set sys_dir, posix_dir, syscall_dir
13955
13956 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13957
13958 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
13959 declaration out to external scope and declare it PTR, not char *.
13960
13961 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
13962
13963 * libc/include/sys/unistd.h (getpagesize): New declaration.
13964 (_SC_PAGESIZE): New definition.
13965 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
13966 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
13967
13968 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
13969
13970 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
13971 addressing. System call returns size, not (last address + 1).
13972
13973 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13974
13975 * libm/math/*.c: Removed _foo_r() reentrancy API.
13976 * libc/include/math.h: Removed _foo_r prototypes and macros.
13977
13978 * libm/math/*.c: On systems with IEEE single precision "doubles"
13979 move foo() -> foof() wrapper code from the files that implement
13980 the standard IEEE double precision functions to the files that
13981 implement IEEE single precision functions. (ie. On those systems
13982 sin is moved from s_sin.c to sf_sin.c). There should eventually
13983 be use of a C extension (like gcc's alias attribute) so that the
13984 wrappers are not needed at all.
13985
13986 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
13987 strict NEC V810 compiler.
13988 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
13989 for same reason.
13990
13991 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13992
13993 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
13994 from NetBSD C library.
13995 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
13996
13997 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
13998 and adapted from implementation I wrote for NetBSD C library.
13999 The difference is __assert doesn't take a format argument,
14000 so that there won't be multiple copies of the same string
14001 constant in the executable if assertions are enabled in
14002 more than one source module.
14003 * libc/include/assert.h (assert): Changed to call __assert.
14004
14005 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14006
14007 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14008 word1 on systems with 32 bit doubles.
14009 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14010 so that we can do arithmetic on them.
14011 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14012 compilers.
14013
14014 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14015
14016 * libc/sys/arm/crt0.S: Zero bss.
14017
14018 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14019
14020 * libc/include/unctrl.h: New file.
14021 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14022 * configure.in (subdirs): Add libc/misc.
14023 * libc/Makefile.in (SUBDIRS): Add misc.
14024 (SUBLIBS): Add misc/lib.a.
14025
14026 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14027
14028 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14029
14030 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14031 (_vfprintf_r): Call CHECK_INIT.
14032
14033 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14034
14035 * Makefile.in (MULTITOP): Delete.
14036 (MULTISRCTOP, MULTIBUILDTOP): Add.
14037 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14038 instead of cfg-ml-pos.in.
14039
14040 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14041
14042 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14043 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14044 presence.
14045
14046 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14047
14048 * libc/string/strtok.c: Include string.h to pick up strtok_r
14049 prototype.
14050
14051 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14052
14053 * libc/string/strtok.c: include <_ansi.h>.
14054 * libc/time/asctime_r.c: `reresult' -> `result'.
14055
14056 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14057
14058 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14059 in #ifndef _REENT_ONLY ... #endif conditional.
14060
14061 * libc/include/string.h (_strtok_r): Remove declaration.
14062 * libc/include/time.h (_asctime_r): Remove declaration.
14063 * libc/string/strtok.c (_strtok_r): Removed.
14064 * libc/time/asctime.c (_asctime_r): Removed.
14065
14066 * libc/string/Makefile.in (OFILES): Add new object.
14067 * libc/string/strtok_r.c: New file. strtok_r function as
14068 specified by POSIX.1c, adapted from strtok implementation
14069 from NetBSD C library.
14070 * libc/string/strtok.c (strtok): Reimplemented in terms of
14071 strtok_r.
14072
14073 * libc/time/Makefile.in (OFILES): Add new objects.
14074 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14075 New files, reentrant time functions specified by POSIX.1c.
14076 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14077 reentrant time functions re-written in terms of reentrant
14078 functions.
14079 * libc/time/lcltime.c: Renamed from localtime.c
14080
14081 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14082 gmtime_r, and localtime_r.
14083
14084 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14085
14086 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14087 * libc/include/sys/unistd.h (getlogin): Revert change of
14088 Oct 19.
14089 * libc/include/sys/signal.h (sigprocmask): Change prototype
14090 so it compiles with c++.
14091
14092 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14093
14094 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14095 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14096 to give some room in case we need to align the jmp_buf.
14097
14098 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14099 the new ppc-asm.h include file the compiler provides to specify
14100 function prologue/epilogue. Eliminate saves of the xer and ctr
14101 registers, which are volatile. Before starting to save registers,
14102 align to 8 byte boundary.
14103
14104 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14105
14106 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14107 referenced by standard libraries.
14108
14109 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14110
14111 * libc/unix/Makefile.in, libc/string/Makefile.in,
14112 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14113 libc/posix/Makefile.in:
14114 Remove tabs from otherwise empty line. Confuses some
14115 older non-GNU versions of "make".
14116
14117 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14118
14119 * libc/sys/unistd.h (getlogin): Returns const char *.
14120
14121 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14122
14123 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14124 * libc/include/errno.h: Moved into and include...
14125 * libc/include/sys/errno.h: New file.
14126 * libc/include/sys/wait.h: New file.
14127 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14128 * libc/sys/win32/*: Moved out.
14129 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14130 * configure.in (i[345]86-*-win32): HAVE_RENAME
14131
14132 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14133
14134 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14135 avoid macro expansion for these two names.
14136
14137 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14138
14139 * libc/machine/h8500/psi.S: r6 renamed to fp.
14140
14141 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14142
14143 * configure.in (powerpc*): No longer need to define
14144 NO_LONGLONG_POINTERS to supress warnings.
14145
14146 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14147
14148 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14149 through PTR instead of directly.
14150
14151 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14152 non-standard constructor support.
14153
14154 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14155
14156 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14157 address of the Bigint instead of the address of its _x field,
14158 as the size the result buffer was calculated accordingly.
14159 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14160
14161 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14162 from NetBSD C library. No longer special cases division by
14163 zero (which needs to be done by the application anyway), but
14164 it doesn't need to call abs() (or labs()) four times either.
14165
14166 * libc/stdlib/qsort.c: Replaced with implementation from
14167 NetBSD C library.
14168
14169 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14170
14171 * libc/stdio/vfprintf.c: Replaced with implementation from
14172 NetBSD C library (which is derived from the 4.4BSD C library).
14173 * libc/stdio/cvt.c: Removed.
14174 * libc/stdio/Makefile: Updated.
14175
14176 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14177
14178 * libc/sys/win32/syscalls.c (rename): New.
14179 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14180
14181 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14182
14183 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14184 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14185
14186 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14187 (setjmp.o): Delete rule to build setjmp.o.
14188 * libc/sys/sh/setjmp.S: Delete file.
14189
14190 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14191
14192 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14193 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14194 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14195 pow5mult and s2b to identifiers with leading underscores.
14196 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14197 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14198
14199 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14200
14201 * libc/sys/posix/popen.c (sys/types.h): Include.
14202
14203 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14204
14205 * libc/sys/win32/syscalls.h (fhandler): New struct.
14206 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14207 (__fhandler_normal): Declare.
14208 (hinfo): New member op_handlers.
14209 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14210 (__write): Likewise.
14211 (_read, _write, _open, _close, _lseek): Validate fd here.
14212 Move file type specific stuff to foo_normal.
14213 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14214 New functions.
14215 (__lookup_fhandler): New function.
14216 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14217
14218 From anders.blomdell@control.lth.se (Anders Blomdell)
14219 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14220 Don't touch standard handles.
14221 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14222 (_execve): Only create __FD_TABLE__ if necessary.
14223 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14224
14225 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14226
14227 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14228 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14229 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14230 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14231 without a handler is received.
14232 * libc/sys/win32/Makefile.in: Remove --nodelete.
14233 * libc/sys/win32/resouce.c (gettimeofday): New.
14234 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14235 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14236
14237 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14238
14239 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14240 Don't append "/*" to search pattern if trailing '/' already there,
14241 append "*".
14242 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14243 like /'s, convert them to \'s. Handle //<drive>/ path names.
14244 Add space for quoted \'s in arg string. Print translated prog name
14245 and original prog name.
14246 (_execve): Handle parent doing exec a teensy bit better.
14247 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14248 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14249 path needs conversion, handle both cases. Delete `const' from result.
14250 (hash_path_name): New function.
14251 (_open): Call it.
14252 (_stat): Likewise. Fill in more fields for directories.
14253 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14254 (wait_for_any): Fix trace message.
14255 (waitpid): Explicitly test for intpid == 0.
14256
14257 From anders.blomdell@control.lth.se (Anders Blomdell)
14258 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14259 so `next' is valid.
14260
14261 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14262
14263 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14264 complicated.
14265
14266 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14267
14268 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14269 at all, not just == 1.
14270 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14271
14272 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14273
14274 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14275 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14276 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14277 file.
14278
14279 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14280
14281 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14282
14283 * libc/sys/signal.c (sleep): Fill it in.
14284 * libc/sys/termios.c (tcflush): Use PurgeComm
14285 (tcsetattr): Set some more of the bits.
14286 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14287
14288 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14289
14290 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14291 Conditionally include .idata$3 stuff ifdef __pe__.
14292
14293 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14294
14295 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14296 * libc/sys/win32/pipe.c (pipe): Ditto.
14297 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14298 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14299 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14300 (tcgetattr): Contents are new.
14301 * libc/sys/win32/include/winkernel.h (DCB): New.
14302 (GetCommState, SetCommState): New.
14303
14304 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14305
14306 * libc/sys/arm/crt0.S (_start): Define.
14307
14308 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14309
14310 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14311 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14312
14313 * libc/sys/win32/sysconf.c: New
14314 * libc/sys/win32/sys/winadvapi.h: New
14315 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14316 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14317 * libc/sys/win32/pipe.c (pipe): Ditto.
14318 * libc/sys/win32/signal.c (_raise): New.
14319 (_kill): Moved from spawn.c
14320 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14321 * libc/sys/win32/syscalls.c (__read): Use new fields.
14322 (_open): Ditto.
14323 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14324 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14325 * libc/include/sys/unistd.h (rmdir): Takes const path.
14326 * libc/include/sys/stat.h (mkdir): Takes const path.
14327 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14328
14329 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14330
14331 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14332
14333 Add support for specifying paths as //<drive>/foo/bar.
14334 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14335 (__path_to_real_path): Declare.
14336 (PATH_TO_REAL_PATH): New macro.
14337 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14338 (__path_needs_conversion_p, __path_to_real_path): New functions.
14339 (_open): Fix test for error return from CreateFileA.
14340 Handle new path syntax.
14341 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14342 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14343
14344 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14345
14346 * libc/sys/win32/include/*.h: Reorganized
14347 * libc/sys/win32/include/WINREADME: New.
14348 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14349 * libc/sys/win32/*.c: Fix for new include scheme.
14350 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14351 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14352 * libc/sys/win32/passwd.c (*): Fix.
14353 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14354 (_stat): Get directory owner and permissions right.
14355 * libc/sys/win32/syscalls.h (uinfo): New.
14356 * libc/sys/win32/version.def: Remove leading underscores.
14357
14358 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14359
14360 * libc/sys/win32/key.c: include "include/wincon.h".
14361
14362 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14363
14364 * libc/sys/win32/{key, stubs}.c: New.
14365 * libc/sys/win32/Makefile: Adjust to cope.
14366 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14367 (environ_init): Change env names to upper case.
14368 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
14369 * libc/sys/win32/passwd.c (*): Fill in the functions.
14370 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
14371 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
14372 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
14373 (_open): Initialze hmap->execable_p too.
14374 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
14375 (_fstat): Fill in permissions.
14376 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
14377
14378 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
14379
14380 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
14381 if defined.
14382 (cfg-ml-pos.in invocation): Likewise.
14383
14384 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14385
14386 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
14387 s_isnan.o and sf_isnan.o.
14388
14389 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
14390
14391 * All Makefile.in files: added maintainer-clean target as a
14392 synonym for realclean.
14393
14394 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
14395
14396 * libc/include/machine/setjmp.h: Add hppa support.
14397 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
14398 support.
14399 * libc/machine/hppa/Makefile.in: Related changes.
14400
14401 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
14402
14403 * configure.in (machine_dir): Don't set for v810-*-*.
14404
14405 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14406
14407 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
14408 conventions correctly.
14409
14410 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
14411
14412 * libc/stdio/puts.c: Update documentation of return value to match
14413 ANSI standard.
14414
14415 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
14416
14417 Fix file descriptor inheritance.
14418 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
14419 (NOT_OPEN_FD): Fix.
14420 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
14421 close-on-exec flag not set. Initialize child's entire fd table.
14422 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
14423 CHILD_P.
14424 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
14425 if CHILD_P. Initialize entire hmap entry.
14426 (dup): Only create new handle as inheritable if CHILD_P.
14427 (dup2): Likewise. Properly initialize hmap entry.
14428
14429 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
14430 _spawn.
14431 (_exit): Use CHILD_P.
14432 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
14433 (_stat): Likewise.
14434
14435 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14436
14437 * libc/sys/win32/crt0.c (passover): fix up the state table.
14438 * libc/posix/popen.c: Added.
14439 * libc/posix/Makefile.in: compile popen.c.
14440
14441 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
14442
14443 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
14444 h8/500 define _DOUBLE_IS_32BITS.
14445
14446 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
14447
14448 Get vfork/exec/spawn/cwait/wait working again.
14449 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
14450 (procinfo): New member vfork_level.
14451 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
14452 (vfork_init_first): Use GetCurrentProcessId to get pid.
14453 Initialize vfork_level.
14454 (vfork_init): Delete __PID__.
14455 (environ_init): New function. Undo patch of Aug 19, Posix says
14456 environment variables are case sensitive.
14457 (mainCRTStartup): Call it.
14458 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
14459 (my_longjump: Make static.
14460 (_spawn): New argument `h'. Delete setting of __PID__.
14461 Delete local `idx'. Look for chars that need quotes, rather than
14462 ones that don't. Set handle of created process in `h'.
14463 Result is process id if created task.
14464 (allocate_spawn_entry): New function.
14465 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
14466 (_execve): Set __FD_TABLE__ before spawning child.
14467 Scan our fd table when passing fds, not our parent's.
14468 Store handle and pid in procinfo entry.
14469 (vfork0): Ensure strace message always printed.
14470 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
14471 (vfork): Don't clobber result of vfork0.
14472 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
14473 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
14474
14475 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
14476 and `exit_code'.
14477 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
14478 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
14479 adding vfork level to pseudo-pid.
14480 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
14481 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
14482 (_exit): If child, set exit code.
14483 (__vfork_record_death): Only close process handle if valid.
14484 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
14485 didn't exec.
14486 (wait_for_any): Likewise. Start scan after root entry.
14487
14488 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14489
14490 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
14491 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
14492 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
14493 of actual file length.
14494
14495 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
14496 * libc/include/paths.h: _PATH_BSHELL added.
14497 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
14498 and STDERR_FILENO.
14499
14500 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14501
14502 * libc/include/ar.h: Added.
14503 * libc/include/sys/types.h: ino_t goes back to 32-bits.
14504 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
14505 * libc/sys/win32/syscalls.c (_open): compute .namehash based
14506 on filename.
14507 (_fstat): use .namehash for inode number of the fd.
14508
14509 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
14510
14511 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
14512 Change hinfo to __this_procinfo.
14513 * libc/sys/win32/crt0.c: Remove procinfo_list.
14514
14515 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14516
14517 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
14518 win32 environment.
14519
14520 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14521
14522 * libc/sys/win32/include/grp.h: Removed.
14523 * libc/sys/include/grp.h: Added.
14524 * libc/sys/win32/grp.c: Include <grp.h>.
14525
14526 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
14527
14528 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
14529 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
14530 Defined for all but strict ANSI.
14531 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
14532 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
14533 * libc/signal/signal.c (_signal_r): Changed from using
14534 _MAX_SIGNALS to NSIG.
14535 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
14536 __hmap): Deleted.
14537 (__strace, __vfork_next_pid): New.
14538 (__exe_suffix): Default to 1.
14539 (passover, table): Understand quoted arguments.
14540 (vfork_init_first): New.
14541 (vfork_init): Initialize new process structure.
14542 (mainCRTStartup): Pass environ to main.
14543 * exceptions.c (__sig_mask): New
14544 (ehandler3): Ignore signals in mask.
14545 (really_exit): Remove CHILD_P test.
14546 * pipe.c (pipe, dup, dup2): Use new process and file structure.
14547 * resource.c (getrusage): Ditto.
14548 * signal.c (sigprocmask): New.
14549 * spawn.c (*): Rewritten.
14550 * syscalls.c (*): Use new process and file structure.
14551 (find_unused_handle): New.
14552 * syscalls.h (MAX_HANDLES): Deleted.
14553 (hinfo): Removed child_created_p.
14554 (MAX_CHILDREN): Deleted.
14555 (vfork_jmp_info, procinfo): New.
14556 * wait.c (*): Mostly new.
14557 * sys/strace.h (_STRACE_PARANOID): New.
14558 * sys/param.h: New file.
14559
14560 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14561
14562 * libc/include/sys/stat.h: add S_BLKSIZE.
14563 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
14564 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
14565 types under win32.
14566 (mode_t): add a #else to avoid multiple definitons.
14567
14568 * libc/sys/win32/Makefile.in: add grp.c.
14569 * libc/sys/win32/grp.c: include grp.h correctly.
14570 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
14571 of the st structure with real information.
14572 * libc/sys/win32 (dirent): d_ino is of type ino_t.
14573
14574 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
14575
14576 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
14577 and (maybe) sparc64.
14578 (nlink_t): Provide typedef.
14579
14580 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14581
14582 * libc/sys/win32/grp.c: New file.
14583 * libc/sys/win32/include/grp.h: New file.
14584
14585 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14586
14587 * libc/include/machine/ieeefp.h: Added whitespace to make this
14588 file easier to maintain.
14589 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
14590 depending on the value of __LITTLE_ENDIAN__.
14591 On the sh3e, define _DOUBLE_IS_32BITS.
14592
14593 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
14594
14595 * libc/sys/vr4300/syscalls.c: Added missing support
14596 routines. _raise() and getpid().
14597
14598 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
14599
14600 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
14601
14602 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
14603
14604 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
14605 and VR4300 processor.
14606 * libc/sys/vr4300: Add directory.
14607 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
14608 monitor run-time support.
14609
14610 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14611
14612 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
14613 * libc/stdlib/stdlib.tex: Don't include atol.def.
14614
14615 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14616
14617 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
14618
14619 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
14620
14621 * libc/ctype/Makefile.in: Fill in _to* dependencies.
14622
14623 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
14624
14625 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
14626 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
14627 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
14628 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
14629 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
14630
14631 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14632
14633 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
14634
14635 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14636
14637 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
14638 * libc/stdlib/atoff.c: New file.
14639 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
14640 * libc/stdlib/atoi.c (atol): Removed.
14641 * libc/stdlib/atol.c: Removed duplicate documentation.
14642
14643 * libc/include/ctype.h (_tolower, _toupper): Moved inside
14644 #ifndef _STRICT_ANSI conditional.
14645 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
14646 * libc/ctype/_tolower.c: New file.
14647 * libc/ctype/_toupper.c: New file.
14648 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
14649 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
14650 * libc/ctype/toascii.c (_toascii): Removed.
14651
14652 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
14653
14654 * libc/sys/sparc64/sys/types.h: Deleted.
14655
14656 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14657
14658 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
14659 and recognize Windows_95 systems.
14660
14661 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14662
14663 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
14664 and passed fds should be opened in text mode.
14665
14666 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14667
14668 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
14669 in __hmap, set to binary mode by default.
14670
14671 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14672
14673 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
14674 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
14675 vector 34.
14676
14677 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
14678
14679 * Makefile.in (install): Install all libraries found in the
14680 top level. If there's a sys/<type>/include directory,
14681 install those headers into include.
14682
14683 * libc/sys/win32/kernel.def351: Delete
14684 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
14685 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
14686 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
14687 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
14688 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
14689 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
14690 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
14691 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
14692
14693 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
14694 * libc/sys/win32/crt0.c: Force all env names to upper case.
14695 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
14696 * libc/sys/win32/*.c: Headers have moved.
14697 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
14698 __vfork_child_idx is now __vfork_child_ptr.
14699
14700 * posix/execvp (execvp): Don't crash if no PATH envname.
14701
14702 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14703
14704 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
14705 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
14706 through the _freelist instead of through the _reclaim list.
14707 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
14708 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
14709 sources.
14710
14711 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14712
14713 * libc/machine/h8500/setjmp.S: New file.
14714 * libc/include/machine/setjmp.h: Updated for H8/500.
14715
14716 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
14717
14718 * libc/sys/win32/syscalls.c (_open): More stracing.
14719 (_stat): Open the file in O_BINARY.
14720
14721 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14722
14723 * libc/machine/h8300/setjmp.S: New file.
14724 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
14725
14726 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
14727
14728 * libc/sys/win32/crt0.c (__exe_suffix): New global.
14729 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
14730 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
14731 __exe_suffix. Free fd_tab after setting env variable.
14732 (spawnv,_execve): Update.
14733 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
14734 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
14735 (__small_vfprintf): New function.
14736 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
14737 * libc/sys/win32/wait.c (cwait): Validate argument.
14738
14739 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
14740 (process_deletion_queue): Likewise.
14741
14742 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
14743
14744 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
14745
14746 * libc/sys/win32: Copyrights and gratuitous indenting.
14747
14748 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
14749
14750 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
14751 (process_deletion_queue): Likewise.
14752 (__close_all_files): New function.
14753 (_close): Only queue file deletion if really a file.
14754 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
14755 _P_APPEND_EXE.
14756 (_exit): Call __close_all_files.
14757
14758 * libc/stdlib/system.c: #include <errno.h>.
14759 (_system_r): Fix results in -DNO_EXEC case.
14760
14761 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
14762 Reorganize structure.
14763 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
14764 if argument is valid. Save directory name in DIR. malloc space
14765 for dirent struct separately.
14766 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
14767
14768 * libc/include/errno.h (ENAMETOOLONG): Define.
14769 * libc/string/strerror.c (strerror): Reword ENFILE.
14770 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
14771
14772 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
14773
14774 * libc/sys/win32/crt0.c (__progname): New global.
14775 (mainCRTStartup): Support strace=bitmask,filename.
14776 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
14777 * libc/sys/win32/syscalls.c (_write): Print parent trace message
14778 if error.
14779 (getcwd): Handle len too small. Convert '\\' to '/'.
14780 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
14781 Add prototypes for open, creat, fcntl.
14782 (O_APPEND): Change value to conform to Microsoft's value.
14783 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
14784
14785 * libc/stdlib/getopt.c: New file.
14786 * libc/stdlib/Makefile.in: Build it.
14787
14788 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
14789
14790 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
14791 Fix scanning of $PATH.
14792 * libc/posix/exec*.c: Call _execve, not execve.
14793 * libc/posix/execve.c: New file.
14794 * libc/posix/Makefile.in (OFILES): Add execve.o.
14795
14796 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
14797 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
14798 (_STRACE): If level==0, always print. Handle new bit mask scheme.
14799 * libc/sys/win32/crt0.c: Update _STRACE calls.
14800 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
14801
14802 * libc/sys/win32/smallprint.c (rn): Fix digit list.
14803
14804 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
14805 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
14806 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
14807 Print __seterrno trace message first.
14808 (_execve): Renamed from execve.
14809 (vfork): Update __strace usage.
14810 (__vfork_child_pid): Deleted.
14811 (__vfork_children, __vfork_child_idx): New globals.
14812 (_spawnvp): New function.
14813 (spawnvp, spawnv, _execve): Call _spawnvp.
14814 (init_child): Record child in __vfork_children.
14815 (__vfork_get_entry, __vfork_record_death): New functions.
14816 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
14817 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
14818 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
14819 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
14820 (children): New typedef.
14821 (__vfork_children,__vfork_child_idx): Declare.
14822 (__vfork_get_entry,__vfork_record_death): Declare.
14823 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
14824 (waitpid): Handle pid == -1.
14825 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
14826 * configure.in (i386-win32): Add -DNO_FORK.
14827 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
14828 * libc/reent/execr.c (_fork_r): Likewise.
14829 * libc/stdlib/system.c (do_system): New function.
14830 If WIN32, try to get shell path from $SH_PATH, use vfork.
14831 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
14832 otherwise return 0.
14833
14834 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
14835
14836 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
14837 * libc/sys/win32/fcntl.h: Don't include self.
14838 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
14839 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
14840 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
14841 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
14842 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
14843 Correct prototypes.
14844 * libc/sys/win32/strace.c: New file.
14845 * libc/sys/win32/smallprint.c: New file.
14846 * libc/sys/win32/crt0.c (func): Delete.
14847 (mainCRTStartup): Fix alloca usage. Set handles explictly.
14848 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
14849 * libc/sys/win32/exceptions.c: Lint.
14850 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
14851 Clean up handle usage.
14852 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
14853 (open.c): Default file type is text.
14854 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
14855 * libc/sys/win32/advapi32.def: New
14856
14857 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
14858
14859 * configure.in (posix_dir, libc_posix_lib): New variables.
14860 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
14861 (i[345]86-*-win32): Define posix_dir.
14862 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
14863 (if unix_dir): Fix typo.
14864 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
14865 scandir,seekdir,telldir}: New files.
14866 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
14867 from libc/unix.
14868 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
14869 (SUBDIRS): Add posix.
14870 (SUBLIBS): Add $(LIBC_POSIX_LIB).
14871
14872 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
14873 (NSIG): Increase to 21.
14874 * libc/include/sys/unistd.h (pid_t): Move from here,
14875 * libc/include/sys/types.h (pid_t): to here.
14876
14877 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
14878 (__ptrace): Delete.
14879 (hinfo): New members close_exec_p, child_created_p.
14880 (struct exception_list): Define.
14881 (__hmap): Redefine as pointer to table.
14882 (__parent_hmap, __child_hmap): New globals.
14883 (__set_errno, __really_exit): Declare.
14884 (__vfork_child_pid): Declare.
14885 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
14886 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
14887 (__parent_hmap, __child_hmap): New globals.
14888 (__hmap): Redefine as pointer to active map.
14889 (__get_console): New function.
14890 (mainCRTStartup): Change leading '=' in environ vars to '!'.
14891 (env __FD_TABLE__): Watch for this and initialize our fd/handle
14892 mapping table from it if defined.
14893 (argv, envp): Dump if __strace >= 4.
14894 (main): Call here.
14895 * libc/sys/win32/exceptions.c (myp): Redefine.
14896 (__syscalls_b): Delete.
14897 (__stack_trace): New function.
14898 (ehandler3): Update to use _STRACE. Print stack trace.
14899 Call __really_exit instead of exit.
14900 (init_exceptions): Delete args argc,argv. New arg mine.
14901 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
14902 FindFirstFileA, FindNextFileA, GetComputerNameA,
14903 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
14904 * libc/sys/win32/signal.c (signal): Validate arg.
14905 (alarm, sleep): Define as stubs for now.
14906 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
14907 (__syscalls_b, errno): Delete.
14908 (__vfork_child_pid, __vfork_jmp_buf): New globals.
14909 (__seterrno): Handle more errors.
14910 (__sys_printf): Renamed from _ptrace.
14911 (__really_exit): New function.
14912 (queue_file_deletion, process_deletion_queue): New functions.
14913 (__resume_parent): New function.
14914 (_unlink): Handle trying to delete open file.
14915 (__totime_t): Renamed from totime_t.
14916 (setsid, __read, __write): New functions.
14917 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
14918 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
14919 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
14920 * libc/sys/win32/console.c: Update to new definition of __hmap.
14921 * libc/sys/win32/Makefile.in: Build new files.
14922 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
14923 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
14924 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
14925 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
14926
14927 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
14928
14929 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
14930
14931 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14932
14933 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
14934 have been made to the master dtoa.c sources (from netlib.att.com)
14935 since they were integrated into newlib in early 1992. Fixes
14936 problems with storage leaks and handling of numbers with very
14937 negative exponents.
14938
14939 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14940
14941 * Makefile.in (all): set rootpre and srcrootpre before calling
14942 sub-makes.
14943
14944 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
14945
14946 * libc/sys/win32/crt0.c: Change __hmap usage.
14947 * libc/sys/win32/exceptions.c: Use _ptrace call.
14948 * libc/sys/win32/syscalls.c: Use _ptrace call.
14949 (read, write): Cope with DOS style CRLF when in TEXT mode.
14950 * libc/sys/win32/syscalls.h: Declare hinfo struct.
14951 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
14952 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
14953 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
14954 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
14955
14956 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14957
14958 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
14959
14960 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
14961 wrappers for hypot() and remainder() for BSD libm compatibility.
14962 These are public domain implementations written by me for the
14963 NetBSD libm some time ago. Note cabs() is required by ucbtest.
14964 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
14965 (fobj): Added wf_cabs.o and wf_drem.o.
14966
14967 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14968
14969 * libc/sys/h8500hms/misc.c: New file.
14970 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
14971
14972 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14973
14974 * libc/time/localtime.c (localtime): Fix problem with leap year
14975 handling. Stole algorithm from Arthur David Olson's tz code.
14976
14977 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
14978
14979 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
14980
14981 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
14982 (_exit): Use argument.
14983
14984 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
14985
14986 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
14987
14988 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
14989
14990 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
14991
14992 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14993
14994 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
14995 target_cflags.
14996
14997 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
14998
14999 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15000 ptrace with case insensitivity
15001 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15002 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15003 New files.
15004
15005 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15006
15007 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15008 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15009 (all, install, *clean): Use new multilib support.
15010 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15011
15012 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15013
15014 * libc/include/sys/signal.h (__WIN32__): New.
15015
15016 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15017
15018 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15019 (ulp, b2d): Handle 32 bit doubles.
15020 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15021 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15022
15023 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15024
15025 from medp@primag.co.uk:
15026 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15027 dynamically allocated buffers.
15028
15029 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15030
15031 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15032 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15033
15034 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15035
15036 * configure.in (powerpc): Fix previous fix.
15037
15038 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15039
15040 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15041 directories for this target.
15042
15043 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15044
15045 * configure.in (hppa): Add machine_dir definition.
15046 * libc/machine/hppa: New directory with PA specific implementations
15047 of the basic memory/string functions.
15048
15049 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15050
15051 * configure.in: Update current PowerPC multilib directories.
15052 Split big and little endian configurations.
15053
15054 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15055
15056 * configure.in: Add --enable-single-float option to configure to
15057 control use of MIPS single-float directories. Default to yes.
15058
15059 * Makefile.in (all): Don't recurse into multilib directory if it
15060 does not exist.
15061
15062 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15063
15064 * libc/sys/sh/syscalls.c: Fix typo.
15065
15066 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15067
15068 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15069 Pass down DLLTOOL.
15070 * libc/include/process.h: Define WAIT_CHILD.
15071 * libc/include/types.h: Get sizes right for win32.
15072 * configure.in (i386-*-pe): Becomes i386-win32.
15073 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15074 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15075 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15076 is defined.
15077
15078 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15079
15080 * configure.in (i[345]86-*-pe): New target (NT).
15081 * host/any: DLLTOOL new.
15082 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15083 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15084 WIN32 (just enough to cross host the comp-tools).
15085
15086 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15087
15088 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15089 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15090
15091 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15092
15093 * libc/include/machine/ieeefp.h (arm): Change to always be
15094 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15095
15096 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15097
15098 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15099 * libc/sys/syscalls.c (abort): New.
15100 * configure.in (arm): Define ABORT_PROVIDED.
15101
15102 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15103
15104 * configure.in (powerpc): Define multidirs.
15105
15106 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15107
15108 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15109
15110 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15111
15112 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15113
15114 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15115
15116 * configure.in, libc/include/machine/ieeefp.h: Modified
15117 for arm:
15118 libc/machine/arm/*, libc/sys/arm/*: New
15119
15120 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15121
15122 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15123 __powerpc__ when determining endianness.
15124
15125 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15126
15127 * configure.in (m68*): Add multidir for the m68332.
15128
15129 * host/any (CC): Fix typo in last change.
15130
15131 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15132
15133 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15134 when determining endianness.
15135 * libc/include/machine/ieeefp.h: Ditto.
15136 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15137 operands.
15138
15139 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15140
15141 * libc/include/errno.h (ENOTEMPTY): Define.
15142
15143 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15144
15145 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15146 target_cflags.
15147
15148 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15149 and umultiply.o.
15150
15151 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15152 instead of only when open succeeds. ANSI requires that multiple
15153 calls to tmpnam() result in different files.
15154
15155 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15156 objects pulled in from /lib/libc.a that must be renamed before
15157 being pulled into newlib. /lib/libc.a's div.o conflicted with
15158 newlib's file with the same name.
15159
15160 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15161
15162 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15163 the build tree will only be used if the executables are present
15164 (instead of just the Makefiles).
15165
15166 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15167 wcstombs): Define.
15168 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15169 versions of these functions that I orignally wrote for the
15170 NetBSD C library.
15171 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15172 versions I wrote for NetBSD.
15173
15174 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15175
15176 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15177 * libc/sys/sparclite/crt0.s: ditto.
15178
15179 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15180
15181 * configure.in: Add soft-float for proelf.
15182
15183 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15184
15185 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15186 of bytes.
15187
15188 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15189
15190 * Makefile.in (all): Depend on `force'.
15191 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15192 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15193 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15194 * libc/Makefile.in: Likewise.
15195 * libc/include/reent.h: Update syscall references.
15196 (_fcntl_r): Add prototype.
15197 * libc/syscalls/*.c #include <reent.h>.
15198 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15199
15200 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15201
15202 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15203 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15204 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15205 (time.h, sys/types.h): Always include (even if MSDOS).
15206 (stat): Fix prototype.
15207
15208 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15209
15210 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15211
15212 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15213
15214 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15215
15216 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15217
15218 * libc/include/regdef.h: New file.
15219 * libc/machine/mips/machine/regdef.h: New file.
15220
15221 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15222
15223 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15224
15225 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15226
15227 * libc/sys/sh/crt0.S: Pass main's return to exit.
15228 * libc/sys/sh/trap.S: Put errno in the right place.
15229
15230 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15231
15232 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15233 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15234 * libm/math/ef_rem_pio2.c: Likewise.
15235 * libm/math/e_log10.c: Remove unused static one.
15236 * libm/math/ef_log10.c: Likewise.
15237 * libm/math/s_frexp.c: Likewise.
15238 * libm/math/sf_frexp.c: Likewise.
15239
15240 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15241
15242 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15243 longjmp.S: Upgraded.
15244 * libc/sys/go32/sys/setjmp.h: Upgraded.
15245 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15246
15247 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15248
15249 * configure.in: Add many entries to multidirs for mips targets.
15250
15251 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15252
15253 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15254 5.2 which fixes bug where jn(-1,x) is three times larger than
15255 the actual answer.
15256 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15257
15258 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15259
15260 * libc/sys/w65/sys/syscalls.h: New file
15261 * libc/include/machine/ieeefp.h: W65 support.
15262 * libc/include/sys/config.h: Ditto.
15263 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15264 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15265 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15266
15267 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15268
15269 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15270
15271 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15272
15273 * Makefile.in, configure.in: Remove any references to the old
15274 "stub" dir.
15275
15276 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15277
15278 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15279 uses ... in prototype.
15280
15281
15282 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15283
15284 * libc/sys/a29khif/sys/libconfig.h: Remove.
15285 * libc/sys/go32/sys/libconfig.h: Remove.
15286 * libc/sys/sun4/sys/libconfig.h: Remove.
15287 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15288 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15289 * libc/sys/sparc64/sys/libconfig.h: Remove.
15290
15291 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15292 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15293 * libc/include/math.h: Change all uses of _FLOAT_RET and
15294 _FLOAT_ARG to float.
15295 * libm/test/math.c: Likewise.
15296 * testsuite/libm.sac/math.c: Likewise.
15297 * testsuite/libm.sac/working/math.c: Likewise.
15298
15299 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15300
15301 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15302 gcc calls gas with endian option.
15303 * configure.in (sh): Build little endian version too.
15304
15305 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15306
15307 * configure.in: Configure big and little endian versions for MIPS
15308 targets.
15309
15310 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15311
15312 * libc/include/limits.h: Deleted.
15313 * libc/include/machine/limits.h: Deleted.
15314
15315 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15316
15317 * ChangeLog: Remove stub directory. This has all been rewritten
15318 and moved to devo/libgloss.
15319
15320 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15321
15322 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15323 (docs): Merge into info target.
15324 * libm/Makefile.in (dvi): Add $(srcdir).
15325 * libm/math/Makefile.in (chobjs): Remove underscores from file
15326 names. Texinfo doesn't like them.
15327 (wacos.def, ...): Add explicit targets for all .def files.
15328 * libm/math/math.tex: Remove underscores from @include file names.
15329 * doc/Makefile.in (dvi): Add dummy target.
15330 * testsuite/Makefile.in (dvi): Add dummy target.
15331
15332 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15333
15334 * Makefile.in (VERSION): Define. For net newlib releases.
15335
15336 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15337
15338 * README: New file.
15339
15340 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15341
15342 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15343
15344 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15345
15346 * libc/stdlib/setenv.c (_findenv): Declare.
15347
15348 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15349 fcntl to not use _EXFUN, and change string parameters to open and
15350 creat to be ``const char *''.
15351 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15352 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15353 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15354 (open) Make _FILE const.
15355 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15356 (_creat): Make PATH const.
15357 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15358 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15359 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15360 * libc/sys/sh/syscalls.c (_open): Likewise.
15361 * stub/shared/glue.c (open): Make BUF const.
15362 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15363
15364 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15365
15366 * libc/include/errno.h: Add ENMFILE
15367 * libc/include/sys/config.h: Support Z8000.
15368 * libc/include/sys/signal.h: New signals for go32.
15369 * libc/machine/h8500/psi.S (__addpsir0r0): New function
15370 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
15371 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
15372 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
15373 size is variable, depending upon CHUNK_POWER.
15374 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
15375
15376 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15377
15378 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
15379
15380 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15381
15382 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
15383
15384 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15385
15386 * configure.in: Change i[34]86 to i[345]86.
15387
15388 * libc/include/math.h: Don't define HUGE_VAL if it is already
15389 defined.
15390
15391 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15392
15393 * testsuite/libm.sac/test_erfc.c: Correct some result values.
15394 * testsuite/libm.sac/test_gammaf.c: Likewise.
15395 * testsuite/libm.sac/test_sin.c: Likewise.
15396 * testsuite/libm.sac/test_tanh.c: Likewise.
15397
15398 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15399
15400 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
15401 already set. Define typedefs __int32_t and __uint32_t.
15402 * libc/include/math.h: Include <machine/ieeefp.h>.
15403 (union __dmath): Use __uint32_t.
15404 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
15405 instead of int and unsigned int.
15406
15407 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15408
15409 Replace the math library with the SunPRO fdlibm package.
15410 * libm/math: Completely changed all files.
15411 * libm/ieeefp: Remove contents and directory.
15412 * libm/Makefile.in (LIBM_FP_LIB): Remove.
15413 (SUBDIRS): Just set to math/lib.a.
15414 * libm/libm.texinfo: Updated for new library.
15415 * libc/include/math.h: Extensive changes for new math library.
15416 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
15417 from _FLOAT_ARG to float.
15418 (maxpowtwo, maxpowtwof): Don't declare.
15419 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
15420 (libm_fp_lib): Removed.
15421 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
15422 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
15423 argument to ${RUNTEST}.
15424 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
15425 (.c.o): New rule.
15426 (RUNTESTFLAGS): Set CC and CFLAGS.
15427 (TESTS): Remove test_log2 and test_log2f.
15428 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
15429 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
15430 _FLOAT_ARG, for single precision argument type.
15431 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
15432 expected failure. Close the input pipe.
15433 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
15434 Correct misspelling of inaccurate.
15435 (test_mok): Use ``inaccurate'', not ``wrong''.
15436 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
15437 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
15438 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
15439 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
15440 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
15441 test_yn.c): Correct many result values. Many are still wrong.
15442
15443 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
15444 just copy the string.
15445 (_gcvt): Always return the buffer.
15446
15447 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15448
15449 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
15450
15451 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
15452
15453 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
15454 structure.
15455 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
15456 (_reclaim_reent): declare new entry point.
15457 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
15458 functions.
15459
15460 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
15461 ever allocated, so that we can later reclaim them all.
15462 (pow5mult): make reentrant.
15463
15464 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
15465 so that when given NULL as a buffer, return a pointer to static
15466 space in the rent structure. This is not documented behaviour;
15467 it's only to support ecvt and fcvt, which aren't ANSI anyway.
15468 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
15469 therefore become reentrant).
15470
15471 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
15472
15473 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15474
15475 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
15476
15477 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
15478
15479 * Makefile.in: Make link to libg.a after libc.a; this is needed
15480 for the testsuites to build executables when everything comes
15481 from the tree.
15482
15483 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
15484
15485 * libc/Makefile.in: Add a VERSION variable so we can keep track.
15486 * libm/Makefile.in: Add a VERSION variable so we can keep track.
15487
15488 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15489
15490 * libc/include/stdio.h: Use __VALIST, not va_list.
15491
15492 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
15493
15494 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
15495 testsuite/libm.sac/execute.exp:
15496 Replace error proc calls with perror calls.
15497
15498 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
15499
15500 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
15501 * libc/include/time.h: #define NULL as 0L.
15502
15503 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
15504
15505 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
15506 care of it.
15507
15508 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15509
15510 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
15511 not __unix__.
15512
15513 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
15514
15515 * configure.in (TARGET_CFLAGS): Set -O2 as default.
15516 (z8k-*-*): Use syscalls fake sys dir.
15517 * libc/sys/z8k/glue.c: Rename syscalls.
15518 * libc/sys/go32/Makefile.in: Use new routines.
15519 * libc/machine/Makefile.in: Fix typo in ln stuff.
15520
15521 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15522
15523 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
15524 * libc/Makefile.in (crt0.o): Likewise.
15525 * libc/machine/Makefile.in (lib.a): Likewise.
15526 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
15527
15528 All Makefile.in files: Added mostlyclean, realclean and distclean
15529 targets.
15530
15531 * Makefile.in: Don't bother to unexport XTRAFLAGS or
15532 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
15533 the top level Makefile.
15534
15535 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
15536
15537 * libc/sys/sparc64/sys/stat.h: New file.
15538 * libc/sys/sparc64/sys/time.h: New file.
15539 * libc/sys/sparc64/sys/types.h: New file.
15540
15541 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
15542
15543 * stub/ex93x/crt0.s (start): Add code to clear bss.
15544
15545 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
15546
15547 * libc/include/sys/types.h (time_t): Properly protect inside
15548 #ifndef __time_t_defined.
15549
15550 * libc/stdio/fileno.c: New file.
15551 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
15552 (fileno.o): Add dependency.
15553 * libc/include/stdio.h (__sgetc): Rename never to _never.
15554 (fileno macro): Disable, needs to do CHECK_INIT first.
15555
15556 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
15557
15558 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
15559 goal.
15560
15561 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
15562 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
15563 runtest.
15564 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
15565 runtest.
15566
15567 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
15568
15569 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
15570 of the various constants.
15571
15572 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
15573
15574 * libc/include/math.h: #ifndef __math_68881 around things which
15575 conflict with the (gcc-provided) inline functions in
15576 gcc/ginclude/math-68881.h.
15577
15578 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
15579
15580 * libc/include/_syslist.h (_gettimeofday): Define.
15581 (_times): Ditto.
15582 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
15583 (struct tms, timeval, timezone): Declare.
15584 (_gettimeofday_r, _times_r): Declare.
15585 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
15586 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15587 (time_t): Add multiple definition protection, __time_t_defined.
15588 * libc/include/sys/time.h: Don't #include <time.h>.
15589 Always define struct timezone (remove #ifndef _TIME_H_).
15590 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
15591 #ifdef _CLOCK_T_ surrounding definition of clock_t.
15592 * libc/reent/Makefile.in (OFILES): Add timer.o.
15593 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
15594 * libc/reent/timer.c: New file.
15595 * libc/time/clock.c: #include <reent.h>.
15596 (clock): Call _times_r instead of times.
15597 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
15598 HAVE_GET_TIME_OF_DAY.
15599 Add comment regarding supporting OS routine(s) required (for docs).
15600 #include <reent.h>.
15601 (time): Call _gettimeofday_r instead of gettimeofday.
15602 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
15603 * libc/time/ctime.c: Ditto.
15604 * libc/time/strftime.c: Ditto.
15605 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
15606 (TEMPLATE_SFILES_R): Define here. Also define times.
15607 Add times_r.o/times.S dependence.
15608 (time2.c, junk.c): Deleted.
15609 * libc/sys/sparc64/time2.c: Deleted.
15610 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
15611
15612 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
15613 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
15614 * libc/sys/sparc64/junk.c: Deleted.
15615
15616 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
15617
15618 * libc/sys/sparc64/Makefile.in: Add times syscall.
15619 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
15620 be used with and without it. Add comment clarifying Medium/Anywhere
15621 model requirements.
15622 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
15623 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
15624 even if obsolete.
15625
15626 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
15627
15628 * configure.in (target_cflags): Move init.
15629 (sparc64-*-*): Define HAVE_BLKSIZE.
15630
15631 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
15632
15633 * libc/include/sys/_types.h: New file.
15634 * libc/include/reent.h: #include it.
15635 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
15636 MISSING_SYSCALL_NAMES.
15637 Sort syscalls.
15638 * libc/include/_syslist.h: Remove _raise.
15639 * libc/reent/signalr.c: New file.
15640 * libc/reent/Makefile.in: Compile it.
15641 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
15642 Add doc for raise and _raise_r.
15643 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
15644 (raise): Call _raise_r.
15645 (_raise_r): Call _getpid_r and _kill_r.
15646 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
15647 (abort): Loop forever calling raise and _exit.
15648
15649 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15650
15651 * configure.in: Remove extraneous echo.
15652
15653 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
15654
15655 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
15656 collision with unistd.h, and fix for svr4.
15657
15658 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
15659
15660 * libc/stdio/local.h (_llicvt): Declare.
15661 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
15662 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
15663 (_llicvt): Define.
15664 (_sicvt): Fix function header (`value' is short).
15665 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
15666 Add printing of long long's support.
15667 Add printing of 8 byte pointer support.
15668
15669 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
15670
15671 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
15672 stat, chmod): New hooks.
15673 (sbrk): Abort if stack and heap collide.
15674 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
15675 shortcut when given small args.
15676 * libc/machine/sh/setjmp.s: Rewritten.
15677 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
15678 of cmp/str instruction.
15679
15680 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15681
15682 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
15683 and machine_dir powerpc.
15684 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
15685 Add cases for __powerpc__.
15686 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
15687 New files.
15688
15689 * libc/include/stdio.h (_iprintf_r): Declare correctly.
15690
15691 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
15692
15693 * libc/stdlib/callocr.c: New file with _calloc_r in it.
15694 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
15695
15696 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
15697
15698 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
15699 (print_e): More comments to describe args, etc.
15700 "type" arg may now be 'g' or 'G' for %g/G format --> remove
15701 trailing blanks.
15702 (_gcvt): Remove locals decpt, sign, end, p, done.
15703 More comments for print_e invocation.
15704 Pass "type" to print_e as is (g/G).
15705
15706 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
15707
15708 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
15709 stock m68000.
15710
15711 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
15712
15713 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
15714 works with any sized pointer, including ones bigger than ints and
15715 longs.
15716
15717 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
15718
15719 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
15720
15721 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15722
15723 * libc/include/stdlib.h (_calloc_r): Add prototype.
15724 * libc/machine/h8500/negsi2.c: New file.
15725 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
15726 large unsigned numbers.
15727 * libc/machine/h8500/cmpsi.c: Add cmppsi.
15728 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
15729 works when sizeof(size_t) != sizeof(char *).
15730 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
15731 get play area
15732 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
15733
15734 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
15735
15736 * libc/include/assert.h (assert): Handle -traditional.
15737
15738 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
15739
15740 * Makefile.in: added ; after every "fi" and "done" that wasn't at
15741 the end of a line (ie. anything before a backslash continuation)
15742 so that bash handles them.
15743
15744 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15745
15746 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
15747 stat to lstat
15748
15749 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
15750
15751 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
15752 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
15753 libc/machine/sh/udivsi3.s: Use new calling convention.
15754
15755 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
15756
15757 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
15758 chmod, access, chdir, chown by making _path const. Also fix _amode
15759 param of access.
15760
15761 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
15762
15763 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
15764 _khif_tmpnam, because it doesn't comply with ANSI but may be
15765 useful anyway. Real tmpnam was already in libc/stdio, and was
15766 colliding with this one (pr 2176.)
15767 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
15768 the wrong idea anyhow.
15769
15770 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
15771
15772 * configure.in: Remove h8300h, we have multilib now.
15773
15774 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
15775
15776 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
15777 functions, to get preference over the ones in libiberty (since we
15778 provide correct declarations in <string.h>.
15779 * libc/string/Makefile.in: add support for strncasecmp,
15780 strcasecmp.
15781
15782 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
15783
15784 * Change netware config not to look for cpu explicitly.
15785
15786 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
15787
15788 * libc/sys/sparc64/{creat.c,junk.c}: New files.
15789 * libc/sys/sparc64/Makefile.in: Add dependencies.
15790
15791 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
15792
15793 * configure.in: Clean up v9 a bit, new "os" aoutv8.
15794
15795 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
15796
15797 * libc/include/sys/reent.h: make structure smaller by allocating
15798 some stuff when needed.
15799 * libc/signal/signal.c: allocate as needed
15800 * libc/stdio/findfp.c,stdio/local.h: ditto
15801 * libc/stdlib/mprec.c: ditto
15802
15803 * libc/time/localtime.c: don't return a dangling stack ptr.
15804
15805 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
15806
15807 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
15808
15809 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15810
15811 * libc/include/stdio.h (__sputc): comment out static inline which
15812 confuses coff toolchains.
15813
15814 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
15815
15816 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
15817 _write.s, getpid.c, kill.c, read.s}:
15818 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
15819 through the syscalls directory.
15820
15821 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
15822
15823 * configure.in: fixed double quote gotcha.
15824
15825 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
15826
15827 * stub/ex931: stub library for sparclite board.
15828 * stub/idp: Renamed from mc68ec. Added contructor table
15829 stuff to linker script.
15830 * stub/mvme135: Renamed from m68kmvme. Added contructor table
15831 stuff to linker script.
15832
15833 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15834
15835 * configure.in: Configure testsuites only if they exist.
15836
15837 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15838
15839 * configure.in: Don't set machine_dir for i386 until there is
15840 something in libc/machine/i386 to compile. For i[34]86-*-netware*
15841 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
15842 CLOCK_PROVIDED and MALLOC_PROVIDED.
15843
15844 * libc/sys/netware: New directory. Contains simplistic and
15845 probably incorrect stubs for NetWare. Should be enough to load
15846 the library.
15847 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
15848 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
15849 stub files.
15850
15851 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
15852 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
15853 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
15854 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
15855
15856 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
15857
15858 * testsuite/Makefile.in: add "docs" dummy target for consistency
15859 with rest of newlib; turn "info" and "install-info" into dummy
15860 targets, since they wouldn't have worked. (Depended on
15861 nonexistent "doc" subdir.)
15862
15863 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15864
15865 * configure.in: handle mips* instead of mips
15866
15867 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
15868
15869 * libc/include/sys/dirent.h: New file. If it is not overridden by
15870 a version of libc/sys/*/sys/dirent.h, it includes the next
15871 <dirent.h> file in case there is one lurking somewhere.
15872
15873 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15874
15875 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
15876 compliance, namely: Accept a minus sign. Consider a single 0 with
15877 a radix of 0 as being a conversion. Determine overflow correctly.
15878 If an overflow occurs, set *ptr to the end of the number, not the
15879 middle.
15880 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
15881
15882 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
15883
15884 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
15885
15886 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
15887
15888 * Makefile.in (INSTALL): Use $srcrootpre.
15889 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
15890 can't handle it.
15891 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
15892 it.
15893 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
15894 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
15895 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
15896 * libm/math/Makefile.in (matherr.o): Ditto.
15897
15898 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15899
15900 * configure.in: Build multidirs for z8k.
15901 * libc/include/stdlib.h (_strtoul_r): add prototype.
15902 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
15903 * libc/include/machine/setjmp.h: Add for z8k.
15904 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
15905 * libc/sys/z8ksim/glue.c: tidy up.
15906
15907 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
15908
15909 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
15910 New files. Requires execve system call.
15911 * libc/unix/Makefile.in: Use them.
15912 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
15913 Deleted, moved to libc/unix.
15914 * libc/sys/sparc64/Makefile.in: Remove them.
15915
15916 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
15917
15918 * libc/sys/sparc64/{template.S template_r.S}: New files.
15919 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
15920 from templates.
15921 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
15922 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
15923 umask.S unlink.S wait4.S write.S}: Removed, now built from
15924 templates.
15925
15926 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
15927
15928 * libc/time/time.c: #include <_ansi.h>.
15929
15930 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
15931
15932 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
15933
15934 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15935
15936 * configure.in: match m8* rather than m88k so that m88110 is
15937 recognized as well.
15938
15939 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
15940
15941 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
15942 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
15943 misc.c: New file.
15944
15945 * configure.in: Add multilib support to h8300.
15946
15947 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
15948
15949 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
15950 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
15951 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
15952
15953 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15954
15955 * configure.in: Corrected multidirs for sparc target.
15956
15957 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15958
15959 Support for building newlib multiple times with different
15960 compilation flags.
15961 * configure.in: Only configure doc at top level. Set multidirs
15962 when appropriate for target, unless not at top level. If
15963 multidirs is set, independently configure each subdirectory.
15964 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
15965 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
15966 automagically set by configure.in.
15967 (all): If MULTIDIRS is set, build multiple copies of libraries.
15968 (install): If MULTIDIRS is set, install multiple copies of
15969 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
15970 MULTISUBDIR is set, don't bother to install header files.
15971 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
15972 ${srcrootpre}.
15973 * stub/configure.in: Set MULTISUBDIR appropriately.
15974 * stub/Makefile.in (install): Install in
15975 $(tooldir)/lib/$(MULTISUBDIR).
15976 * All Makefile.in files: Define SRCTOP as well as TOP.
15977
15978 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
15979
15980 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
15981 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
15982
15983 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
15984
15985 * libc/sys/h8300hms/exit.c (_exit): New function.
15986
15987 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15988
15989 * configure.in: recognize m88110.
15990
15991 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15992
15993 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
15994 prototype main and call with args.
15995
15996 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
15997
15998 First real try at system traps for m88k-bug.
15999 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16000 to real trap calls.
16001 * libc/sys/m88kbug/sys/systraps.h: new file.
16002
16003 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16004
16005 Patches to fix info building when target does not use sys
16006 directory.
16007 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16008 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16009 libc/sys.tex.
16010 * libc/sys/Makefile.in (doc): do nothing.
16011
16012 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16013
16014 * libc/Makefile.in (CRT0): new macro.
16015 (all): depend on $(CRT0) rather than crt0.o.
16016
16017 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16018 do not default crt0, instead, set crt0 and crt0_dir based on
16019 sys_dir and stub_dir.
16020
16021 * Makefile.in (CRT0_DIR): new macro.
16022 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16023 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16024 $(CRT0).
16025 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16026
16027 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16028
16029 * testsuite/lib/libm.exp:
16030 added code to support compiling and linking of tests for
16031 libm.sac (paranoia to be added next) and processing the
16032 pass or failure of the tests.
16033
16034 * testsuite/config/unix-libm.exp:
16035 platform specific proc's for dealing with compiler, linker
16036 and the way we execute and process the test results.
16037
16038 * testsuite/libm.sac/execute.exp:
16039 generic framework for the sac tests. the config and lib
16040 expect code for specific platforms tie it all together.
16041
16042 * testsuite/libm.sac/test_is.c:
16043 changed the output of the test to be consistant with the
16044 other tests. parsing of pass nad fail messages is now fixed.
16045
16046 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16047
16048 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16049 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16050 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16051 #ifdef __cplusplus, surround by extern ""C { ... }.
16052 * libc/include/assert.h: Do *not* protect assert.h against
16053 multiple inclusion! Also, #undef it before #define, to allow
16054 redefinition.
16055 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16056 should be only in unistd.h.
16057
16058 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16059 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16060 ... }.
16061
16062 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16063
16064 * libc/machine/sparc/Makefile.in: Must create a library, even
16065 if empty.
16066
16067 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16068
16069 * configure.in: set machine_dir for m88k. edit crt0 definition
16070 into makefiles.
16071
16072 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16073
16074 * libc/Makefile.in (all): also build crt0.o.
16075
16076 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16077 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16078 to remove CRT0.
16079
16080 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16081 (all): reworked to build in place.
16082 (clean): remove lib.a
16083 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16084
16085 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16086 (_start): key off edata rather than _start_bss.
16087
16088 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16089
16090 * libc/include/sys/unistd.h, libc/include/reent.h,
16091 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16092
16093 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16094
16095 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16096
16097 * Makefile.in (libc.a): break into two rules, one for libc.a and
16098 one for libc/libc.a. Force subdirs current before rebuilding
16099 library.
16100 (libm.a): break into two rules, one for libm.a and one for
16101 libm/libm.a. Force subdirs current before rebuilding library.
16102
16103 * libc/Makefile.in (SUBLIBS): fix typo.
16104
16105 * libc/sys/Makefile.in (all): force descent into subdirs, then
16106 rebuild library iff out of of date.
16107
16108 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16109
16110 Rework so that library is built and then finished rather than
16111 being built on each invocation of make.
16112
16113 * host/any (machine_dir, sys_dir, signal_dir): these are not
16114 shared and have been moved to their associated Makefile.in's.
16115 (AR_FLAGS): switch to qc which is faster.
16116 * configure.in: no longer assign machine_dir for m88k. set
16117 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16118 stub_dir set, then add to configdirs. add comment about silly
16119 configuration.
16120 (configdirs): drop stub. It will be added only
16121 when needed.
16122 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16123 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16124 stub_lib, crt0): new variables for tailoring lower level
16125 makefiles. Assign accordingly and edit into makefiles.
16126 * libm/Makefile.in: updated copyright.
16127 (TARGETLIB): removed.
16128 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16129 (SUBDIRS): removed TARGETDEP_DIRS.
16130 (LIBM_FP_LIB, SUBLIBS): new macros.
16131 (all): reworked.
16132 (force): new target to force rebuilds.
16133 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16134 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16135 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16136 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16137 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16138 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16139 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16140 stub/m68kmvme/Makefile.in: updated copyright.
16141 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16142 (all): reworked. made this the default rule.
16143 (clean): also remove lib.a.
16144 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16145 * stub/Makefile.in: updated copyright.
16146 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16147 (stub_lib): new macro.
16148 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16149 RANLIB.
16150 (all): reworked.
16151 (clean, install): assume stub_dir exists.
16152 (Makefile): depend on configure.in. call $(SHELL) rather than
16153 sh. drop redundant ./
16154 * stub/configure.in (stublib): new macro, assign it, edit it into
16155 makefiles.
16156 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16157 updated copyright.
16158 (all): reworked.
16159 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16160 * libc/Makefile.in (TARGETCRT0): removed.
16161 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16162 TARGETCRT0.
16163 (SUBDIRS): drop TARGETDEP_DIRS.
16164 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16165 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16166 (force): new target to force rebuilds.
16167 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16168 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16169 removed.
16170 (clean): assume sys_dir always exists.
16171 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16172 drop redundant ./
16173 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16174 libc/locale/Makefile.in, libc/machine/Makefile.in,
16175 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16176 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16177 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16178 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16179 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16180 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16181 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16182 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16183 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16184 libc/time/Makefile.in, libc/unix/Makefile.in,
16185 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16186 (TARGETLIB): removed.
16187 (all): reworked.
16188 (clean): also remove lib.a.
16189 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16190 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16191 new macros.
16192 (SUBDIRS): moved to follow frag inclusion, change stub to
16193 stub_dir.
16194 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16195 are now set in the libc Makefile.
16196 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16197 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16198 TARGETCRT0.
16199 (force): new target to force rebuilds.
16200 * stub/configure.in: determine and set stub_lib for for Makefile.
16201
16202 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16203
16204 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16205 crt0.s renamed to crt0.S.
16206 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16207
16208 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16209 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16210 h8300h.
16211 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16212 h8300 (16 bits) and h8300h (32 bits).
16213 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16214 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16215
16216 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16217
16218 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16219 implementation of setjmp and longjmp for the m88k.
16220 * libc/include/machine/setjmp.h: Added __m88000__ case.
16221
16222 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16223
16224 * configure.in: Recognize h8300h as variant of h8300.
16225
16226 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16227
16228 * libc/include/sys/unistd.h (read, write): get prototypes right.
16229 (sbrk): New prototype.
16230 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16231 * libc/stdio/local.h: Include unistd.h.
16232 * libc/machine/h8300/syscalls.c: Names have changed.
16233
16234 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16235
16236 * configure.in: add sys_dir assignment for m88k-bug.
16237
16238 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16239
16240 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16241 a.out or elf.
16242 * libc/sys/sparc64: all *.S files: Use new macros.
16243 * libc/sys/sparc64/isatty.c: New file.
16244 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16245 functions beyond what newlib provides.
16246
16247 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16248
16249 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16250 svr4.
16251
16252 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16253
16254 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16255
16256 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16257
16258 * configure.in: add m88k.
16259 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16260 sanity check so no one else need ever chase what I did to find
16261 this.
16262
16263 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16264
16265 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16266
16267 * doc/makedoc.c: Include <ctype.h>.
16268
16269 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16270
16271 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16272 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16273 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16274
16275 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16276
16277 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16278
16279 * libc/include/errno.h (ENOSYS): Added.
16280
16281 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16282
16283 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16284
16285 * libc/stdio/fflush.c (fflush): Check for reent struct
16286 initialization.
16287 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16288
16289 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16290
16291 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16292 out of dtoa.c so it doesn't pollute the namespace.
16293 * libc/include/_syslist.h: new file -- mappings from _function to
16294 function, for systems where we can't win (by default, all of them,
16295 until we start updating system calls.)
16296 * libc/syscalls: new directory -- stubs for exporting _function
16297 names as unmodified function names.
16298 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16299 _syslist.h on all platforms by default, but put hooks in for
16300 fake_sys_dir so we can include it when we've renamed the system
16301 calls.
16302 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16303 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16304 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16305 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16306 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16307 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16308 non ANSI functions to call _function.
16309
16310 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16311
16312 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16313 when base 16 is specified. Don't accept non-digits if radix > 10.
16314
16315 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16316
16317 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16318
16319 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16320
16321 * libc/include/sys/stat.h: Surround text after #endif with
16322 comments.
16323
16324 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16325
16326 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16327 _malloc_r, _realloc_r, and free_r call the corresponding
16328 non-reentrant functions.
16329
16330 * libm/math/modf.c (modf): We now take the address of ipart, so
16331 don't make it a register variable.
16332
16333 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16334
16335 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16336
16337 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16338
16339 * libc/libc.texinfo and embedded docn throughout: formatting
16340 improvements, minor rephrasing for clarity, and improved
16341 reentrancy docn.
16342
16343 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16344
16345 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16346
16347 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16348 where sizeof(int) != sizeof(long).
16349
16350 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16351
16352 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16353 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16354 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16355 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16356 libm/math/matherr.c: changes for better docn formatting (info).
16357
16358 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16359 libc/reent/reent.tex, libc/signal/signal.tex,
16360 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16361 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16362 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16363 makeinfo node defaulting to get better Info file node structure.
16364 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16365 Also include a few formerly missing sections (subroutines).
16366
16367 * doc/doc.str: delete fossil expansion for "func"
16368
16369 * default.menu, no-signal.menu: delete.
16370
16371 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
16372 method used to adjust doc for missing "signals" chapter when
16373 signal_dir is empty.
16374
16375 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16376
16377 * configure.in: added testsuite/libm.sac
16378
16379 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
16380
16381 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
16382 code model).
16383
16384 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
16385
16386 * libm/Makefile.in: Use $(MAKE) rather than make, and define
16387 MAKEOVERRIDES to be empty.
16388
16389 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
16390
16391 * configure.in: Don't build mips-*-* with -msoft-float, since that
16392 makes it incompatible with hard floating point.
16393
16394 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16395
16396 * Makefile.in: added recursive 'make check'
16397
16398 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16399
16400 * configure.in: added ./testsuite ./testsuite/libm.paranoia
16401 * ./testsuite/Makefile.in: created
16402 * ./testsuite/libm.paranoia: paranoia tests added
16403
16404 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
16405
16406 * configure.in: For mips-*-* set machine_dir to mips.
16407
16408 * libc/machine/mips: New directory.
16409 * libc/machine/mips/Makefile.in: New file.
16410 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
16411 setjmp and longjmp.
16412 * libc/include/machine/setjmp.h: Added __mips__ case.
16413
16414 * libc/machine/lmips: Removed unused and useless directory.
16415
16416 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
16417
16418 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
16419
16420 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
16421
16422 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
16423 start up).
16424
16425 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
16426
16427 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
16428 SETJMP_H.
16429
16430 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
16431
16432 * libm/test/convert.c: structure member errno -> errno_val.
16433 Must include <errno.h> to use errno, it's a macro now.
16434 * libm/test/math.c: Ditto.
16435 * libm/test/math2.c: Include errno.h.
16436 * libm/test/string.c: Ditto.
16437 * libm/test/test.h: structure member errno -> errno_val.
16438 Remove extern int errno decl.
16439
16440 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
16441
16442 * libc/stdio/Makefile.in: Added dependencies on local header
16443 files.
16444 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
16445 files.
16446
16447 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
16448
16449 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
16450
16451 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
16452
16453 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
16454 Initialize _data.
16455
16456 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
16457 * libc/stdio/local.h: Add prototype for _licvt.
16458
16459 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
16460 instead of malloc,reealloc.
16461
16462 * libc/stdlib/local.h: New file.
16463 * libc/stdlib/efgcvt.c: #include local.h.
16464 (gcvt): Fix call to _gcvt.
16465 * libc/stdlib/ecvtbuf.c: #include local.h.
16466
16467 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
16468 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
16469 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
16470
16471 * libc/stdlib/atexit.c: moved global data to struct _reent.
16472 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
16473
16474 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
16475
16476 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
16477
16478 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
16479 here from ../reent.h.
16480
16481 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
16482
16483 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
16484 should be provided in both libc.a and libm.a.
16485 (libc.a): Depend on targ-include and libm.a. Copy
16486 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
16487 (libm.a): Depend on targ-include.
16488 * configure.in (subdirs): Removed libc/math.
16489
16490 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16491
16492 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
16493
16494 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
16495
16496 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
16497 sys/reent.h instead of reent.h.
16498 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
16499 headers moved to sys/reent.h.
16500 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
16501 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
16502 __need__MAX_SIGNALS defined.
16503 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
16504 std{in,out,err} refer to new _std{in,out,err} members.
16505
16506 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
16507
16508 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
16509 case.
16510
16511 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
16512
16513 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
16514 rather than whatever macro seterrno() has.
16515
16516 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
16517
16518 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
16519 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16520
16521 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
16522 __STDC__.
16523
16524 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
16525 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
16526 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16527
16528 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
16529 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
16530
16531 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
16532 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
16533 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
16534 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
16535 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
16536 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
16537 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
16538 renamed to _xxx_r. struct reent_struct renamed to struct _reent
16539 for ANSI. structure members given leading "_" for ANSI. Use
16540 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16541
16542 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
16543 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
16544 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
16545 reent_struct renamed to struct _reent for ANSI.
16546 Structure members given leading "_" for ANSI.
16547 _CONST --> const in prototypes.
16548 Use _HAVE_STDC instead of __STDC__.
16549
16550 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
16551 _xxx_r.
16552 struct reent_struct renamed to struct _reent for ANSI.
16553 Structure members given leading "_" for ANSI.
16554
16555 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
16556 _xxx_r.
16557 struct reent_struct renamed to struct _reent for ANSI.
16558
16559 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
16560 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
16561 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
16562 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
16563 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
16564
16565 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
16566 signal.h, stdio.h, stdlib.h, string.h, time.h}:
16567 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
16568 #ifndef _STRICT_ANSI non-ANSI routines.
16569 Reentrant routines renamed from _r_xxx to _xxx_r.
16570 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
16571 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
16572 Clean up namespace (structure members have leading "_").
16573 struct reent_struct renamed to struct _reent for ANSI compliance.
16574 _CONST --> const in function prototypes.
16575
16576 * libc/include/string.h: Add NULL and size_t.
16577
16578 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
16579 unlink, wait, wait4. Reentrant syscall routines close, fork,
16580 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
16581 write.
16582 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
16583 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
16584 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
16585 write.S}: Define reentrant versions.
16586 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
16587 reentrant syscalls.
16588
16589 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
16590
16591 * libc/include/stdlib.h (RAND_MAX): Fix value.
16592
16593 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
16594
16595 * libc/sys/a29khif/_main.c: Removed unnecessary file.
16596 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
16597 VPATH support targets after all: target.
16598
16599 * stub/mvme135/mvme.S: Renamed exceptionhandler to
16600 exceptionHandler, which is what mvme135-stub.c expects.
16601
16602 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
16603
16604 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
16605
16606 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
16607 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
16608 compliant).
16609
16610 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
16611
16612 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
16613 first.
16614 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
16615 _r_write): Ditto.
16616 libc/reent/fstatr.c (_r_fstat): Ditto.
16617 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
16618 libc/reent/sbrkr.c (_r_sbrk): Ditto.
16619 libc/reent/statr.c (_r_stat): Ditto.
16620
16621 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
16622 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
16623 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
16624 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
16625 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
16626 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
16627 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
16628 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
16629 (__swrite): Ditto for _r_lseek, _r_write.
16630 (__sseek): Ditto for _r_lseek.
16631 (__close): Ditto for _r_close.
16632 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
16633
16634 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
16635 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
16636
16637 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
16638 to make reent_struct the first argument (and thus consistent with
16639 the rest of newlib).
16640
16641 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
16642 reference to __STDC__.
16643
16644 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
16645
16646 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
16647 global __cleanup.
16648
16649 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
16650
16651 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
16652 first.
16653 libc/stdio/fclose.c (fclose): Ditto.
16654
16655 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
16656
16657 * Run through indent and rename reentrant routines for ANSI.
16658 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
16659 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
16660 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
16661 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
16662 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
16663 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
16664 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
16665 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
16666 vsprintf.c wbuf.c wsetup.c local.h}
16667
16668 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
16669
16670 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
16671 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
16672 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
16673 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
16674 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
16675 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
16676
16677 * Run through indent.
16678 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
16679 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
16680 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
16681 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
16682 strxfrm.c}
16683
16684 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
16685 localtime.c mktime.c strftime.c time.c}:
16686 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
16687
16688 * Reformatting + renaming (for ANSI, GNU style, consistency).
16689 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
16690 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
16691 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
16692
16693 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
16694
16695 * libc/include/stdio.h (stdin_r): Fix.
16696
16697 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
16698
16699 * Makefile.in: Unexport some variables to keep GNU make from
16700 putting them in the environment and using up needed ARG_MAX space
16701 (a hack is used to let this work with older makes as well).
16702
16703 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
16704
16705 * Makefile.in: Use $(MAKE) rather than make.
16706 (MAKEOVERRIDES): Define to be empty.
16707 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16708 (libc.a, libm.a): Depend on targ-include.
16709 * host/any (LD): Don't define.
16710 (INCLUDES): Use targ-include.
16711 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
16712 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16713 * libc/Makefile.in: Use $(MAKE) rather than make.
16714 (MAKEOVERRIDES): Define to be empty.
16715 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16716 (all): Rewrote to be slightly smaller.
16717 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
16718 Define to be empty.
16719 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16720 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
16721
16722 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
16723
16724 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
16725 with errno/errno.c.
16726
16727 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
16728
16729 * Changes for reentrancy.
16730 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
16731 Use ptr->_errno, not errno.
16732 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
16733 libc/stdio/remove.c (remove_r): New function.
16734 libc/stdio/rename.c (rename_r): New function.
16735 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16736 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
16737 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
16738 reentrant versions of system calls.
16739 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
16740 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
16741 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
16742 libc/stdio/findfp.c: Include <string.h>.
16743 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
16744 "local.h".
16745 libc/stdio/wbuf.c: Include "fvwrite.h"
16746
16747 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
16748 <string.h>.
16749 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
16750 (NULL): Don't define if already defined.
16751 libc/stdlib/system.c: Call reentrant versions of system calls.
16752 (system_r): New function.
16753
16754 * Changes for reentrancy.
16755 libc/include/_ansi.h (_PARAMS): New macro.
16756 libc/include/errno.h: Define errno as a macro that calls __errno.
16757 (__errno_r): New macro for reentrant code.
16758 libc/include/math.h: Include reent.h. Declare many reentrant
16759 functions.
16760 (signgam): Now a macro, not a variable.
16761 (struct exception): Added err field.
16762 libc/include/reent.h: Don't declare __sglue. Added function
16763 declarations.
16764 (struct reent_struct): Moved errno to beginning. Added _signgam.
16765 libc/include/stdio.h, libc/include/stdlib.h: Added function
16766 declarations.
16767
16768 * More reentrancy hacking.
16769 libc/errno/errno.c (__errno): New function.
16770 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
16771 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
16772 files.
16773
16774 * Added many new reentrant functions to libm/math/*.
16775 libm/math/error.c (__matherror): Added reent_struct pointer
16776 argument. Changed all callers.
16777 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
16778 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
16779 libm/math/tan.h: Removed obsolete unused header files.
16780
16781 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
16782
16783 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
16784
16785 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16786
16787 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
16788 delay slots.
16789
16790 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16791
16792 * libc/libc.texinfo: comment out reentrancy chapter (duh)
16793
16794 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16795
16796 * libc/reent/reent.tex: New file. (text from
16797 newlib/libc/libc.texinfo)
16798 * libc/stdio/tmpnam.c: fixed doc typo
16799 * libc/stdlib/rand.c: fixed doc typo
16800
16801 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16802
16803 * libc/reent/reent.tex: New file. (text from
16804 newlib/libc/libc.texinfo)
16805
16806 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16807
16808 support for reentrancy
16809 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
16810 new files
16811 * libc/errno/errno.c, libc/include/ieeefp.h,
16812 libc/include/locale.h, libc/include/reent.h,
16813 libc/include/signal.h, libc/include/stdio.h,
16814 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
16815 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
16816 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
16817 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
16818 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16819 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
16820 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
16821 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
16822 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
16823 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
16824 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
16825 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
16826 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
16827 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
16828 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
16829 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
16830 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
16831 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
16832 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
16833 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
16834 libc/time/strftime.c: modify to provide reentracy.
16835
16836 new routines:
16837 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
16838 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
16839 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
16840 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
16841 mstats_r, realloc_r, localeconv_r, setlocale_r
16842
16843 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
16844
16845 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
16846 libc/include/sys/config.h, libc/include/sys/signal.h,
16847 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
16848 provided macros (such as m68000), use the ansi version
16849 (__m68000__) so that the library can be used with code compiled
16850 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
16851 and sparc.
16852
16853 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16854
16855 * configure.in (sparc*): Don't set -fsoft-float for sparc
16856 configurations. Do set -fsoft-float for sparclite configurations.
16857
16858 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16859
16860 * default.menu, no-signal.menu: alternate forms of libc main menu
16861 (in newlib rather than newlib/libc due to configuration restrictions)
16862
16863 * configure.in: select one of the two menus above, link to
16864 libc.menu
16865
16866 * libc/libc.texinfo: include menu from separate file
16867
16868 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
16869
16870 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
16871 (info): Split long shell command in half.
16872 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
16873 sub-makes, just CHEW and TARGETDOC.
16874 (targetdep.tex): Removed now special handling of sys and machine
16875 subdirectories, made obsolete some time ago.
16876 * libc/machine/Makefile.in (doc): Don't pass everything to
16877 sub-make, just CHEW and TARGETDOC.
16878 (Makefile): New target.
16879 * libc/sys/Makefile.in (Makefile): New target.
16880
16881 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
16882
16883 * Makefile.in (here and most subdirectories): Only pass down CHEW
16884 and TARGETDOC when making info, not for other targets.
16885
16886 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
16887 $(AR_FLAGS) rather than $(ARUPDATE).
16888
16889 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
16890
16891 * Try to reduce command line length:
16892 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
16893 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
16894 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
16895 (info): Pass CHEW to other subdirs.
16896
16897 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
16898
16899 * configure.in: add signal_dir, like unix_dir, but by default it
16900 is set to "signal" so that a29khif can turn it off (since a29khif
16901 has raise() as part of machine-specific signal.s.)
16902
16903 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16904
16905 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
16906 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
16907 correctly.
16908 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
16909 libc/stdio/vfprintf: type lint.
16910 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
16911 initialzation code.
16912 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
16913
16914 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
16915
16916 * stub/mvme135/mvme135-asm.S: new file.
16917 stub/mvme135mvme135-stub.c: moved all assembler routines into
16918 mvme135-asm.S.
16919 stub/mvme135/Makefile.in: build mvme135-stub.o.
16920
16921 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
16922
16923 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
16924 sub-Makefiles instead, to try to avoid line length limitations.
16925
16926 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
16927
16928 * libc/include/unistd.h (read, write): Use void* instead of
16929 char*.
16930
16931 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
16932
16933 * stub/go32/resetpc: sample script to send a reset packet to the
16934 stub
16935
16936 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
16937 DOS environment, which compiles with Turbo C.
16938
16939 * stub/go32/DSER32.LNK: new file, linker commands for serial
16940 remote stub.
16941
16942 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
16943 start up message to identify version; call set_debug_traps.
16944
16945 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
16946 keyboard interaction); call handle_exception() in go_til_stop,
16947 rather than return, so that the remote stub gets control.
16948
16949 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
16950 rename, rather than mv), set flags that work with current Turbo C,
16951 including using the /3 flag; also, add commands to build dser32.
16952
16953 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
16954 default Turbo C installation (\tc rather than \usr)
16955
16956 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
16957 "&..."
16958
16959 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16960
16961 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
16962
16963 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16964
16965 * libc/stdio/cvt.c (licvt): new function to convert ints when
16966 sizeof(int) != sizeof(long).
16967
16968 * libc/include/stdio.h: added prototype for iprintf.
16969 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
16970
16971 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
16972
16973 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
16974 __REGISTER_PREFIX__.
16975
16976 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
16977
16978 * libc/sys/m68kbare: moved into stub directory.
16979
16980 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
16981
16982 * configure.in, Makefile.in: created new directory stub, to hold
16983 sample code for specific targets.
16984
16985 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
16986
16987 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
16988 in the unified libc/include/sys/fcntl.h.
16989
16990 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
16991
16992 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
16993 printed .01, not 0.01.
16994
16995 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
16996
16997 * configure.in: compile with -m68000 for m68* targets.
16998
16999 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17000
17001 * libm/math/remainder.c (remainder): document the svr4 and sunos
17002 references used to construct the function.
17003
17004 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17005
17006 * libm/math/remainder.c (rint, remainder): fix old typos.
17007 * libm/math/Makefile.in: actually build remainder.c (functions
17008 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17009 page.)
17010
17011 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17012
17013 * libc/string/bcopy.c: BSD version works on overlapping strings,
17014 so ours should too.
17015
17016 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17017 ("SHELL").
17018
17019 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17020
17021 * Makefile.in (docs): new target.
17022
17023 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17024
17025 * libc/include/sys/times.h: define clock_t as required by POSIX.
17026 libc/include/time.h: protect clock_t from multiple definitions.
17027
17028 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17029
17030 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17031 does not need more than the original three iterations to get
17032 within 1 ulp. (Paranoia tests for rounding to better than that,
17033 but further iterations *don't* help, only more subtle changes
17034 can.)
17035
17036 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17037
17038 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17039 were doing nothing useful.
17040
17041 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17042
17043 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17044 removed sys_dir settings of vxworks68 and vxworks960.
17045 host/any: don't pass -nostdinc to gcc, since newlib no longer
17046 provides all required header files.
17047
17048 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17049 is not defined; this provides a hook for VxWorks.
17050
17051 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17052
17053 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17054 buffer if buf is NULL, don't do it here -- it is already being
17055 done by makebuf elsewhere in stdio.
17056
17057 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17058
17059 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17060 that C programs can call functions without using initial
17061 underscores.
17062
17063 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17064
17065 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17066
17067 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17068
17069 * configure.in: set TARGET_CFLAGS for certain CPU types to
17070 -msoft-float.
17071
17072 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17073
17074 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17075
17076 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17077
17078 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17079 m68k*-unknown-coff.
17080
17081 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17082
17083 * libc/include/stdio.h: define __need___va_list before including
17084 <stdarg.h>, to avoid defining va_arg, et. al.
17085
17086 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17087
17088 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17089 (don't cd to the user's home directory).
17090
17091 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17092 In general this is the wrong thing to do, but I can't get around
17093 GNU make's insistence on passing command line arguments any other
17094 way.
17095
17096 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17097
17098 * configure.in: always configure the libc/sys directory, since it
17099 now provides a required documentation file.
17100
17101 * Makefile.in: replaced all instances of $(MAKE) with make. In
17102 general this is the wrong thing to do, but I can't get around GNU
17103 make's insistence on passing command line arguments any other way.
17104
17105 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17106
17107 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17108 terminated.
17109
17110 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17111 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17112
17113 * libc/include/float.h, libc/include/stdarg.h,
17114 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17115 versions instead.
17116 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17117 <stdarg.h>, not from <machine/types.h>. Protect definition of
17118 NULL.
17119 libc/include/time.h: get size_t from stddef.h. Protect definition
17120 of NULL.
17121 libc/include/machine/limits.h: override gcc <limits.h> by defining
17122 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17123 get correct INT_MIN and LONG_LONG values.
17124 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17125 size_t or va_list at all; they're now gotten from stddef.h
17126 instead.
17127 libc/include/machine/varargs.h: removed; use gcc version instead.
17128 libc/include/sys/types.h: explicitly include <machine/types.h>.
17129
17130 * libm/math/sqrt.h: using the fp-bit routines appears to require
17131 more iterations.
17132
17133 * Makefile.in, host/any: let system include files override machine
17134 include files.
17135
17136 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17137
17138 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17139 override _*_T_ definitions defaulted here.
17140
17141 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17142
17143 * Makefile.in (install): install the include files in
17144 $(tooldir)/include, not $(exec_prefix)/include.
17145
17146 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17147
17148 * Makefile.in (install): fixed typo, and changed install to not
17149 force rebuild of libc.a and libm.a.
17150
17151 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17152
17153 * libc/sys/a29khif/*: Changed all .include's to include
17154 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17155 that they will be installed for the user.
17156
17157 * Makefile.in (all): create targ-include, a directory holding the
17158 machine and system specific header files during the build.
17159 (install): fixed installation of machine and system specific
17160 header files.
17161
17162 * Makefile.in: fixed comment.
17163 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17164 we can pass $(INCLUDES) to it.
17165
17166 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17167
17168 * libc/include/sys/param.h: new generic file, which may be
17169 overridden for specific systems.
17170
17171 * libc/include/sys/signal.h: define all ANSI signal names, and
17172 NSIG (which is not ANSI) for a29k.
17173
17174 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17175
17176 * Makefile.in: don't pass down arguments the lower level makes
17177 will not need.
17178 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17179 in hopes of avoiding argument length limits.
17180 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17181 hopes of avoiding argument length limits.
17182
17183 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17184
17185 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17186 mode_t is defined.
17187
17188 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17189
17190 * Fixed make info and make install-info for newlib, changing most
17191 Makefile.in and several *.tex files. Moved doc directory from
17192 libc to top level.
17193
17194 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17195 Should be rewritten.
17196
17197 * libc/string/strings.tex: renamed node index to node index
17198 function, so that it does not conflict with the top level index
17199 node.
17200
17201 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17202
17203 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17204
17205 * Overhauled general configuration for newlib. Eliminated all
17206 target dependent Makefile fragments. Create libraries in newlib
17207 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17208 than CROSS_CC, et. al. Broke make docs; will fix later.
17209
17210 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17211 Should be rewritten.
17212
17213 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17214
17215 * libc/configure.in: cleaned up somewhat; switch on ${target}
17216 rather than ${target_alias}.
17217 * libm/configure.in: cleaned up somewhat; switch on ${target}
17218 rather than ${target_alias}.
17219
17220 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17221 * libc/include/ctype.h: marked _ctype_ as _CONST.
17222
17223 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17224 _CONST.
17225
17226 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17227 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17228 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17229 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17230
17231 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17232 bigtens, tinytens): marked arrays _CONST.
17233 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17234 rather than a static variable.
17235
17236 * libc/time/asctime.c (asctime), libc/time/localtime.c
17237 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17238 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17239 mname_len, mname): Marked static arrays _CONST.
17240
17241 * libm/math/gamma.h: made local variables non-static.
17242
17243 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17244 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17245 _CONST.
17246
17247 * libm/math/constants.c: removed file, because the constants it
17248 defined were never referenced.
17249 libm/math/Makefile.in: removed references to constants.c.
17250 libm/math/mathimpl.h: removed declarations of constants.
17251
17252 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17253
17254 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17255 it is sensibly defined in libgcc2. Checks preprocessor defines,
17256 which is not a good solution.
17257
17258 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17259
17260 * libm/frexp.c: handle denormalized numbers as arguments.
17261
17262 * libm/math/Makefile.in: added some dependencies for .c files
17263 which include local .h files.
17264
17265 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17266
17267 * libc/configure.in: set target_alias for OSE*. Replace
17268 target_makefile_frag if it is blank.
17269
17270 * libc/Makefile.in: make sure everything is passed to subsidiary
17271 makes; create all directories when installing.
17272
17273 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17274 CROSS_ARUPDATE instead of AR.
17275
17276 * libm/configure.in: set target_alias for OSE*. Replace
17277 target_makefile_frag if it is blank.
17278
17279 * libm/Makefile.in: make sure everything is passed to subsidiary
17280 makes; create all directories when installing.
17281
17282 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17283
17284 * add following change from libc copy.
17285
17286 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17287
17288 * libc/libc.texinfo: make copyright disclaimers appear on back of
17289 title page; make format of same slightly less ugly; avoid using
17290 underbars in section headings (avoids nasty texinfo bug in table
17291 of contents).
17292
17293 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17294 comments only) avoid using underbars in section headings
17295
17296 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17297 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17298 changes in comments only): shorten headings ieeefp/infinity.c,
17299 ieeefp/isnan.c: (doc, comments only) more informative headings
17300
17301 * libc/math/bessel.c: (doc, comments only) shorten heading
17302
17303 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17304 (doc, comments only) shorten headings
17305
17306 * libc/time/localtime.c (doc, comments only): shorten headings
17307
17308 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17309 isnan
17310 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17311 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17312 headings
17313 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17314 only) more informative headings
17315 * libm/math/bessel.c: (doc, comments only) shorten heading
17316
17317 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17318
17319 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17320 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17321 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17322 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17323 defined, the one from the .mt file will be correct.
17324 * libc/include/machine, libc/include/sys: created, and populated
17325 with common files from machine/*/machine. ifdefs were used for
17326 most, typically by handling exceptions first and then filling in
17327 defaults. Files with D.J. Delorie copyright #included rather than
17328 copied. Most files in include/sys really were the same in the
17329 original.
17330 * libc/include/...: cleaned up use of _EXFUN.
17331 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17332 it with double quotes, not angles.
17333
17334 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17335
17336 * libc/Makefile.in: always create installation directories.
17337
17338 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17339
17340 * libc/configure.in: handle host properly (using canonical
17341 triples), better error message for the case of target not found
17342
17343 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17344
17345 * libc/Makefile.in (insincdir): Ensure this directory exists
17346 before attempting installation.
17347
17348 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17349
17350 * libc/stdlib/assert.c: now calls abort like it should
17351 * libc/sys/a29khif: many many patches for 29khif work
17352 * libc/machine/i386: gnulib2 expanded there.
17353
17354 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17355
17356 Added accurate fp conversion routines to stdlib, moved dcvt from
17357 stdio to stdlib and called it ecvtbuf:
17358 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17359 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17360 routines
17361 * libc/libc.texinfo: Modifed to include the copyright info from
17362 the mprec files
17363 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17364 * libc/test/ : many vector which tested for the implementation
17365 defined returns of strange conversion requests have been updated
17366 to relflect the new implementation
17367
17368 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17369
17370 * libc/libc.texinfo: new chapter on variable arg lists
17371 (stdarg.h/varargs.h)
17372 * libc/libc.texinfo: new title
17373 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
17374 (doc only) shorter headings for better formatting.
17375
17376 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17377
17378 * libc/libc.texinfo: three more info menu entries
17379 * libc/locale/locale.tex: new chapter
17380 * libc/locale/locale.c: new doc for setlocale, localeconv
17381 * libc/locale/Makefile.in: use new locale doc
17382 * libc/signal/signal.tex: new chapter
17383 * libc/signal/raise.c, libc/signal/signal.c: new doc
17384 * libc/signal/Makefile.in: use new doc
17385 * libc/time/time.tex: new chapter
17386 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
17387 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
17388 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
17389 * libc/time/Makefile.in: use new doc
17390
17391 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17392
17393 * libm/math/log1p.c: split to use the new function way of float
17394 function definition. math/log1p.h deleted
17395 * libm/math/scalb.c: obsolete and deleted
17396 * libm/math/scalbn.c: created from part log1p.c
17397 * libm/math/Makefile.in: know about log1p and scalbn
17398
17399 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17400
17401 * libc/ctype/isupper.c: revise doc;
17402 libc/ctype/ctype.tex: use doc from isupper.c
17403
17404 * libc/string/bzero.c: new doc
17405
17406 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17407
17408 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
17409 new doc
17410 * libc/stdlib/Makefile.in: extract new doc
17411 * libc/stdlib/stdlib.tex: use new doc
17412
17413 * libc/string/strerror.c: expanded doc.
17414
17415 * libc/stdio/Makefile.in: extract doc from more files
17416 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
17417 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
17418 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
17419 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
17420 libc/stdio/vsprintf.c: new doc
17421 * libc/stdio/stdio.tex: use new doc
17422
17423 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17424
17425 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
17426 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
17427 finitef functions.
17428 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
17429 time ago.
17430
17431 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
17432 * libc/stdio/setbuf.c: added ansi style definition.
17433 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
17434 buffer if none provided.
17435 * libc/stdio/tmpfile.c: lint
17436 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
17437 rather than using static, also make sure file isn't already
17438 present. Uses P_tmpdir. (tempnam): rewritten to use new
17439 subroutine, and uses P_tmpdir.
17440 * libc/stdio/siprintf.c: created
17441
17442 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17443
17444 Release 1.03 for NEC, major mods. Main differences from release
17445 1.02::
17446
17447 More tests in test/:
17448 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
17449 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
17450 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
17451 get/set mask, get/set sticky and get/set roundtoi. Tests
17452 that setting the bits changes the way arithmetic is done.
17453 * string.c: added test to make sure memcmp does it with unsigned
17454 chars.
17455 * test.c: cleaned up and removed lint.
17456 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
17457 dvec.c: tests for string to value conversions, sprintf, scanf,
17458 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
17459 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
17460 rounding in sprintf too.
17461 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
17462 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
17463 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
17464 and function form.
17465 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
17466 powf
17467
17468 In the library:
17469 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
17470 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
17471 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
17472 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
17473 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
17474 than sprintf.
17475 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
17476 * Method of producting float versions of double functions has
17477 changed, functions will be modified gradually. So far:
17478 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
17479 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
17480 altered
17481 * libc/string/memcmp.c: now uses unsigned chars
17482 * libc/string/bcmp.c, libc/string/strcpy.c,
17483 libc/stsring/strxfrm.c: fixed doc
17484 * libc/sys/sysvnecv70.tex: fix example of sbrk code
17485 \f
17486 Local Variables:
17487 version-control: never
17488 End:
This page took 0.77522 seconds and 6 git commands to generate.