]> sourceware.org Git - newlib-cygwin.git/blob - newlib/ChangeLog
2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
[newlib-cygwin.git] / newlib / ChangeLog
1 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
4 this macro completely instead of referring to CHECK_STD_INIT which
5 is only found in libc/stdio/local.h.
6 * libc/stdio/dprintf.c: Add include of local.h.
7 * libc/stdio/vdprintf.c: Ditto.
8 * libc/stdio/vdiprintf.c: Ditto.
9
10 2008-03-04 Eric Blake <ebb9@byu.net>
11
12 Fix strtod("nan()", ptr).
13 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
14 n-char-sequence is omitted, still parse the ().
15
16 2008-03-03 Eric Blake <ebb9@byu.net>
17
18 Fix ftell bug after ungetc.
19 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
20 ftell.
21 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
22 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
23 repositioning underlying fd offset.
24
25 2008-03-02 Jeff Johnston <jjohnstn@redhat.com>
26
27 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
28 (required_argument, optional_argument): Ditto.
29
30 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
31
32 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
33 data area so as to support reentrant calls. Change all callers
34 to fill in data area with global values and restore any changes
35 to the global values after call.
36 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
37 to support reentrancy that add a data area argument.
38 * libc/include/getopt.h: Add new _r routines and provide macros
39 so they can be called with using double-underscores.
40
41 2008-02-21 Eric Blake <ebb9@byu.net>
42
43 Fix strtod("-0x", NULL).
44 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
45 fails.
46
47 2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
48
49 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
50 for user specifying --disable-newlib-io-long-long on configure.
51 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
52 reentrant pointer passed in rather than _REENT.
53
54 2008-02-12 Peter Rosin <peda@lysator.liu.se>
55
56 * libc/stdlib/getopt.c (getopt_internal): Handle optional
57 arguments better for long options and short options not
58 appearing as the first option in a sequence.
59
60 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
61
62 * libc/machine/spu/straddr.h: New file, supplies _straddr.
63 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
64 * libc/machine/spu/strcpy.c: Use _strcpy.
65 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
66 str[n]cpy and str[n]cat.
67 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
68 * libc/machine/spu/strncpy.c: Use _strcpy.
69
70 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
71
72 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
73 calculation of its value.
74
75 2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
76
77 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
78 Make ISO C.
79
80 2008-01-21 DJ Delorie <dj@redhat.com>
81
82 * libc/sys/sh/syscalls.c (_isatty): New.
83
84 2008-01-21 Neal H. Walfield <neal@gnu.org>
85
86 * Makefile.am (crt1.o): Use correct source.
87 * Makefile.in: Regenerated.
88
89 2008-01-15 Eric Blake <ebb9@byu.net>
90
91 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
92 * libc/string/Makefile: Regenerate.
93
94 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
95
96 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
97 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
98 (sigsetjmp): Use __SIGMASK_FUNC.
99 (siglongjmp): Ditto.
100 (_setjmp): Define as macro.
101 (_longjmp): Ditto.
102
103 2008-01-11 Eric Blake <ebb9@byu.net>
104
105 Make strstr and strcasestr O(n), not O(n^2); add memmem.
106 * libc/string/str-two-way.h: New file.
107 * libc/string/memmem.c (memmem): New file.
108 * libc/include/string.h (memmem): Declare for all platforms.
109 * libc/string/strstr.c (strstr): Provide O(n) implementation when
110 not optimizing for space.
111 * libc/string/strcasestr.c (strcasestr): Likewise.
112 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
113 (ELIX_2_SOURCES): ...this.
114 (ELIX_4_SOURCES): New category, for memmem.
115 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
116 (CHEWOUT_FILES): Build documentation for memmem.
117 * libc/string/strings.tex: Include new docs.
118
119 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
120
121 * libc/machine/m68k/memcpy.S: Remove % from register references
122 as this is already handled by m68kasm.h.
123 * libc/machine/m68k/memset.S: Ditto.
124
125 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
126
127 * libc/machine/m68k/m68kasm.h: New file.
128 * libc/machine/m68k/setjmp.S: Remove common definitions and
129 place in m68kasm.h. Include "m68kasm.h".
130 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
131 SYM() macro when referencing function name.
132 * libc/machine/m68k/memset.S: Ditto.
133
134 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
135
136 Make isatty syscall handling consistent with other newlib syscalls.
137
138 * libc/include/_syslist.h: Add _isatty.
139 * libc/include/reent.h: Add _isatty_r.
140 * libc/include/sys/unistd.h: Add _isatty.
141 * libc/posix/Makefile.am: Add new _isatty.c file.
142 * libc/posix/Makefile.in: Regenerated.
143 * libc/posix/_isatty.c: New file.
144 * libc/posix/isatty.c: Changed to call _isatty().
145 * libc/reent/Makefile.am: Add new isattyr.c file.
146 * libc/reent/Makefile.in: Regenerated.
147 * libc/reent/isattyr.c: New file.
148 * libc/stdio/freopen.c: Changed to call _isatty_r().
149 * libc/stdio/makebuf.c: Ditto.
150 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
151 * libc/sys/arc/isatty.c: Ditto.
152 * libc/sys/arm/syscalls.c: Ditto.
153 * libc/sys/d10v/syscalls.c: Ditto.
154 * libc/sys/h8300hms/syscalls.c: Ditto.
155 * libc/sys/h8500hms/syscalls.c: Ditto.
156 * libc/sys/linux/Makefile.am: Add new isatty.c file.
157 * libc/sys/linux/Makefile.in: Regenerated.
158 * libc/sys/linux/isatty.c: New file.
159 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
160 * libc/syscalls/Makefile.in: Regenerated.
161 * libc/syscalls/sysisatty.c: New file.
162
163 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
164
165 * libc/syscalls/sysclose.c: Always call reentrant version of the
166 underlying syscall since one is guaranteed to exist in libc/reent.
167 * libc/syscalls/sysexecve.c: Ditto.
168 * libc/syscalls/sysfcntl.c: Ditto.
169 * libc/syscalls/sysfork.c: Ditto.
170 * libc/syscalls/sysfstat.c: Ditto.
171 * libc/syscalls/sysgetpid.c: Ditto.
172 * libc/syscalls/sysgettod.c: Ditto.
173 * libc/syscalls/syskill.c: Ditto.
174 * libc/syscalls/syslink.c: Ditto.
175 * libc/syscalls/syslseek.c: Ditto.
176 * libc/syscalls/sysopen.c: Ditto.
177 * libc/syscalls/sysread.c: Ditto.
178 * libc/syscalls/syssbrk.c: Ditto.
179 * libc/syscalls/sysstat.c: Ditto.
180 * libc/syscalls/systimes.c: Ditto.
181 * libc/syscalls/sysunlink.c: Ditto.
182 * libc/syscalls/syswait.c: Ditto.
183 * libc/syscalls/syswrite.c: Ditto.
184
185 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
186
187 * NEWS: Update with 1.16.0 info.
188 * README: Ditto.
189 * acinclude.m4: Change version number to 1.16.0.
190 * aclocal.m4: Regenerated.
191 * configure: Ditto.
192 * doc/aclocal.m4: Ditto.
193 * doc/configure: Ditto.
194 * libc/*/aclocal.m4: Ditto.
195 * libc/*/configure: Ditto.
196 * libc/libc.texinfo: Ditto.
197 * libm/*/aclocal.m4: Ditto.
198 * libm/*/configure: Ditto.
199 * libm/libm.texinfo: Ditto.
200 * libc/sys/linux/shared.ld: Add VERS_1.16.
201
202 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
203
204 * libc/string/strcasestr.c: Remove id macro.
205 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
206 field reference to be __sched_priority.
207 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
208 * libc/sys/linux/linuxthreads/manager.c: Ditto.
209 * libc/sys/linux/stdlib/collate.c: Remove id macro.
210 * libc/sys/linux/stdlib/collcmp.c: Ditto.
211 * libc/sys/linux/stdlib/engine.c: Ditto.
212 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
213 * libc/sys/linux/stdlib/glob.c: Ditto.
214 * libc/sys/linux/stdlib/reallocf.c: Ditto.
215 * libc/sys/linux/stdlib/regcomp.c: Ditto.
216 * libc/sys/linux/stdlib/regerror.c: Ditto.
217 * libc/sys/linux/stdlib/regexec.c: Ditto.
218 * libc/sys/linux/stdlib/regfree.c: Ditto.
219 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
220 * libc/sys/linux/include/argp.h: Ditto.
221 * libc/sys/linux/sys/libc-lock.h: New file.
222 * libc/sys/linux/sys/stdint.h: Ditto.
223 * libc/sys/linux/include/sched.h: New file.
224
225 2007-12-19 Dave Korn <dave.korn@artimi.com>
226 Jeff Johnston <jjohnstn@redhhat.com>
227
228 * libc/include/_ansi.h: Add _LONG_LONG definition.
229 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
230 prototypes.
231 * libc/machine/i386/machine/fastmath.h: Add support for new i386
232 fast math versions of rint, lrint, and llrint family functions.
233 * libm/machine/i386/Makefile.am: Add new files.
234 * libm/machine/i386/Makefile.in: Regenerated.
235 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
236 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
237 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
238 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
239 libm/machine/i386/f_rintl.c: New files with fast math implementations.
240
241 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
242
243 * libc/include/sys/features.h: Add checks for C90 compilers using
244 -ansi.
245
246 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
247
248 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
249 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
250 wcpncpy.c.
251 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
252 * libc/string/Makefile.in: Regenerate.
253 * libc/string/wcpcpy.c: New file.
254 * libc/string/wcpncpy.c: New file.
255 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
256
257 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
258
259 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
260 _wcsrtombs_r.
261
262 2007-11-19 Nick Clifton <nickc@redhat.com>
263
264 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
265 * libc/machine/mn10300/Makefile.in: Regenerate.
266 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
267 .debug_frame section.
268 * libc/machine/mn10300/memcmp.S: Likewise.
269 * libc/machine/mn10300/memcpy.S: Likewise.
270 * libc/machine/mn10300/memset.S: Likewise.
271 * libc/machine/mn10300/strchr.S: Likewise.
272 * libc/machine/mn10300/strcmp.S: Likewise.
273 * libc/machine/mn10300/strcpy.S: Likewise.
274 * libc/machine/mn10300/strlen.S: Likewise.
275
276 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
277
278 * libc/include/sys/_default_fcntl.h: New header file that
279 is the default version of sys/fcntl.h.
280 * libc/include/sys/fcntl.h: Changed to simply include
281 sys/_default_fcntl.h.
282 * libc/sys/arm/sys/fcntl.h: New file that includes
283 sys/_default_fcntl.h and defines O_BINARY.
284
285 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
286
287 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
288
289 2007-11-07 Dave Brolley <brolley@redhat.com>
290
291 * libc/machine/configure: Regenerated to pick up mep-elf changes.
292
293 * Contribute mep-elf from Red Hat
294 2006-10-27 DJ Delorie <dj@redhat.com>
295
296 * libc/include/machine/setjmp.h: Add MeP support.
297
298 2003-04-17 DJ Delorie <dj@redhat.com>
299
300 * configure.host (mep-*-*): Support "long long" type.
301
302 2001-06-06 DJ Delorie <dj@redhat.com>
303
304 * libc/include/machine/ieeefp.h (mep): Support little endian too.
305
306 2001-05-14 DJ Delorie <dj@redhat.com>
307
308 * configure.host: Add mep's machine_dir.
309 * libc/include/setjmp.h: Add mep support.
310 * libc/machine/mep: New.
311 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
312
313 2001-05-04 DJ Delorie <dj@redhat.com>
314
315 * configure.host: Add mep.
316 * libc/include/machine/ieeefp.h: Ditto.
317
318 2007-10-31 DJ Delorie <dj@redhat.com>
319
320 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
321 signal table, just use a default, in case initialization cause
322 recursion.
323
324 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
325
326 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
327 size if output buffer is NULL.
328
329 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
330
331 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
332 fix when handling negative input values. Make function
333 consistent with math directory and glibc version such that
334 inf and nan values return inf and nan respectively with no
335 errno setting.
336 * libm/mathfp/sf_logarithm.c: Ditto.
337 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
338 * libm/math/wf_log.c: Ditto.
339 * libm/math/w_log10.c: Ditto.
340 * libm/math/wf_log10.c: Ditto.
341
342 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
343
344 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
345 return -inf.
346 * libm/mathfp/sf_logarithm.c: Ditto.
347
348 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
349
350 * libc/machine/i386/machine/fastmath.h: New file.
351
352 2007-10-13 Eric Blake <ebb9@byu.net>
353
354 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
355 Correctly nest else within conditionals.
356 Reported by Artur Lipowski.
357
358 2007-10-09 Nick Clifton <nickc@redhat.com>
359
360 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
361 the STT_COMMON type.
362
363 2007-10-09 Ben Elliston <bje@au.ibm.com>
364
365 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
366 before simdmath.h to get a definition for `vector'.
367 * libm/machine/spu/headers/asind2.h: Likewise.
368
369 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
370
371 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
372 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
373 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
374 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
375 * libm/machine/spu/headers/acos.h: Add domain check.
376 * libm/machine/spu/headers/acosf.h: Ditto.
377 * libm/machine/spu/headers/acosh.h: Ditto.
378 * libm/machine/spu/headers/acoshf.h: Ditto.
379 * libm/machine/spu/headers/asin.h: Ditto.
380 * libm/machine/spu/headers/asinf.h: Ditto.
381 * libm/machine/spu/headers/atanh.h: Ditto.
382 * libm/machine/spu/headers/atanhf.h: Ditto.
383 * libm/machine/spu/headers/fmod.h: Ditto.
384 * libm/machine/spu/headers/fmodf.h: Ditto.
385 * libm/machine/spu/headers/log.h: Ditto.
386 * libm/machine/spu/headers/log10.h: Ditto.
387 * libm/machine/spu/headers/log1p.h: Ditto.
388 * libm/machine/spu/headers/log1pf.h: Ditto.
389 * libm/machine/spu/headers/log2.h: Ditto.
390 * libm/machine/spu/headers/log2f.h: Ditto.
391 * libm/machine/spu/headers/sqrt.h: Ditto.
392 * libm/machine/spu/headers/sqrtf.h: Ditto.
393 * libm/machine/spu/headers/tgamma.h: Ditto.
394 * libm/machine/spu/headers/tgammaf.h: Ditto.
395
396 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
397
398 * libm/machine/spu/Makefile.am: Add new C files.
399 * libm/machine/spu/Makefile.in: Regenerate.
400 * libm/machine/spu/headers/acos.h: New file.
401 * libm/machine/spu/headers/acosd2.h: Ditto.
402 * libm/machine/spu/headers/acosf.h: Ditto.
403 * libm/machine/spu/headers/acosf4.h: Ditto.
404 * libm/machine/spu/headers/acosh.h: Ditto.
405 * libm/machine/spu/headers/acoshd2.h: Ditto.
406 * libm/machine/spu/headers/acoshf.h: Ditto.
407 * libm/machine/spu/headers/acoshf4.h: Ditto.
408 * libm/machine/spu/headers/asin.h: Ditto.
409 * libm/machine/spu/headers/asind2.h: Ditto.
410 * libm/machine/spu/headers/asinf.h: Ditto.
411 * libm/machine/spu/headers/asinf4.h: Ditto.
412 * libm/machine/spu/headers/asinh.h: Ditto.
413 * libm/machine/spu/headers/asinhd2.h: Ditto.
414 * libm/machine/spu/headers/asinhf.h: Ditto.
415 * libm/machine/spu/headers/asinhf4.h: Ditto.
416 * libm/machine/spu/headers/atan.h: Ditto.
417 * libm/machine/spu/headers/atan2.h: Ditto.
418 * libm/machine/spu/headers/atan2d2.h: Ditto.
419 * libm/machine/spu/headers/atan2f.h: Ditto.
420 * libm/machine/spu/headers/atan2f4.h: Ditto.
421 * libm/machine/spu/headers/atand2.h: Ditto.
422 * libm/machine/spu/headers/atanf4.h: Ditto.
423 * libm/machine/spu/headers/atanh.h: Ditto.
424 * libm/machine/spu/headers/atanhd2.h: Ditto.
425 * libm/machine/spu/headers/atanhf.h: Ditto.
426 * libm/machine/spu/headers/atanhf4.h: Ditto.
427 * libm/machine/spu/headers/cos.h: Ditto.
428 * libm/machine/spu/headers/cos_sin.h: Ditto.
429 * libm/machine/spu/headers/cosd2.h: Ditto.
430 * libm/machine/spu/headers/cosf.h: Ditto.
431 * libm/machine/spu/headers/cosf4.h: Ditto.
432 * libm/machine/spu/headers/cosh.h: Ditto.
433 * libm/machine/spu/headers/coshd2.h: Ditto.
434 * libm/machine/spu/headers/coshf.h: Ditto.
435 * libm/machine/spu/headers/coshf4.h: Ditto.
436 * libm/machine/spu/headers/divd2.h: Ditto.
437 * libm/machine/spu/headers/divf4.h: Ditto.
438 * libm/machine/spu/headers/erf.h: Ditto.
439 * libm/machine/spu/headers/erf_utils.h: Ditto.
440 * libm/machine/spu/headers/erfc.h: Ditto.
441 * libm/machine/spu/headers/erfcd2.h: Ditto.
442 * libm/machine/spu/headers/erfcf.h: Ditto.
443 * libm/machine/spu/headers/erfcf4.h: Ditto.
444 * libm/machine/spu/headers/erfd2.h: Ditto.
445 * libm/machine/spu/headers/erff.h: Ditto.
446 * libm/machine/spu/headers/erff4.h: Ditto.
447 * libm/machine/spu/headers/exp.h: Ditto.
448 * libm/machine/spu/headers/exp2.h: Ditto.
449 * libm/machine/spu/headers/exp2d2.h: Ditto.
450 * libm/machine/spu/headers/exp2f4.h: Ditto.
451 * libm/machine/spu/headers/expd2.h: Ditto.
452 * libm/machine/spu/headers/expf4.h: Ditto.
453 * libm/machine/spu/headers/expm1.h: Ditto.
454 * libm/machine/spu/headers/expm1d2.h: Ditto.
455 * libm/machine/spu/headers/expm1f.h: Ditto.
456 * libm/machine/spu/headers/expm1f4.h: Ditto.
457 * libm/machine/spu/headers/floord2.h: Ditto.
458 * libm/machine/spu/headers/floorf4.h: Ditto.
459 * libm/machine/spu/headers/hypot.h: Ditto.
460 * libm/machine/spu/headers/hypotd2.h: Ditto.
461 * libm/machine/spu/headers/hypotf.h: Ditto.
462 * libm/machine/spu/headers/hypotf4.h: Ditto.
463 * libm/machine/spu/headers/isnan.h: Ditto.
464 * libm/machine/spu/headers/isnand2.h: Ditto.
465 * libm/machine/spu/headers/isnanf.h: Ditto.
466 * libm/machine/spu/headers/isnanf4.h: Ditto.
467 * libm/machine/spu/headers/ldexpd2.h: Ditto.
468 * libm/machine/spu/headers/ldexpf4.h: Ditto.
469 * libm/machine/spu/headers/lgamma.h: Ditto.
470 * libm/machine/spu/headers/lgammad2.h: Ditto.
471 * libm/machine/spu/headers/lgammaf.h: Ditto.
472 * libm/machine/spu/headers/lgammaf4.h: Ditto.
473 * libm/machine/spu/headers/log.h: Ditto.
474 * libm/machine/spu/headers/log10.h: Ditto.
475 * libm/machine/spu/headers/log10d2.h: Ditto.
476 * libm/machine/spu/headers/log1p.h: Ditto.
477 * libm/machine/spu/headers/log1pd2.h: Ditto.
478 * libm/machine/spu/headers/log1pf.h: Ditto.
479 * libm/machine/spu/headers/log1pf4.h: Ditto.
480 * libm/machine/spu/headers/log2.h: Ditto.
481 * libm/machine/spu/headers/log2d2.h: Ditto.
482 * libm/machine/spu/headers/log2f4.h: Ditto.
483 * libm/machine/spu/headers/logbf.h: Ditto.
484 * libm/machine/spu/headers/logbf4.h: Ditto.
485 * libm/machine/spu/headers/logd2.h: Ditto.
486 * libm/machine/spu/headers/logf4.h: Ditto.
487 * libm/machine/spu/headers/nearbyintf.h: Ditto.
488 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
489 * libm/machine/spu/headers/nextafter.h: Ditto.
490 * libm/machine/spu/headers/nextafterd2.h: Ditto.
491 * libm/machine/spu/headers/nextafterf.h: Ditto.
492 * libm/machine/spu/headers/nextafterf4.h: Ditto.
493 * libm/machine/spu/headers/pow.h: Ditto.
494 * libm/machine/spu/headers/powd2.h: Ditto.
495 * libm/machine/spu/headers/powf.h: Ditto.
496 * libm/machine/spu/headers/powf4.h: Ditto.
497 * libm/machine/spu/headers/recipd2.h: Ditto.
498 * libm/machine/spu/headers/recipf4.h: Ditto.
499 * libm/machine/spu/headers/rintf.h: Ditto.
500 * libm/machine/spu/headers/rintf4.h: Ditto.
501 * libm/machine/spu/headers/scalbnf4.h: Ditto.
502 * libm/machine/spu/headers/signbit.h: Ditto.
503 * libm/machine/spu/headers/signbitd2.h: Ditto.
504 * libm/machine/spu/headers/simdmath.h: Ditto.
505 * libm/machine/spu/headers/sin.h: Ditto.
506 * libm/machine/spu/headers/sincos.h: Ditto.
507 * libm/machine/spu/headers/sincosd2.h: Ditto.
508 * libm/machine/spu/headers/sincosf.h: Ditto.
509 * libm/machine/spu/headers/sincosf4.h: Ditto.
510 * libm/machine/spu/headers/sind2.h: Ditto.
511 * libm/machine/spu/headers/sinf.h: Ditto.
512 * libm/machine/spu/headers/sinf4.h: Ditto.
513 * libm/machine/spu/headers/sinh.h: Ditto.
514 * libm/machine/spu/headers/sinhd2.h: Ditto.
515 * libm/machine/spu/headers/sinhf.h: Ditto.
516 * libm/machine/spu/headers/sinhf4.h: Ditto.
517 * libm/machine/spu/headers/sqrtd2.h: Ditto.
518 * libm/machine/spu/headers/sqrtf.h: Ditto.
519 * libm/machine/spu/headers/sqrtf4.h: Ditto.
520 * libm/machine/spu/headers/tan.h: Ditto.
521 * libm/machine/spu/headers/tand2.h: Ditto.
522 * libm/machine/spu/headers/tanf.h: Ditto.
523 * libm/machine/spu/headers/tanf4.h: Ditto.
524 * libm/machine/spu/headers/tanh.h: Ditto.
525 * libm/machine/spu/headers/tanhd2.h: Ditto.
526 * libm/machine/spu/headers/tanhf.h: Ditto.
527 * libm/machine/spu/headers/tanhf4.h: Ditto.
528 * libm/machine/spu/headers/tgamma.h: Ditto.
529 * libm/machine/spu/headers/tgammad2.h: Ditto.
530 * libm/machine/spu/headers/tgammaf.h: Ditto.
531 * libm/machine/spu/headers/tgammaf4.h: Ditto.
532 * libm/machine/spu/headers/truncd2.h: Ditto.
533 * libm/machine/spu/headers/truncf4.h: Ditto.
534 * libm/machine/spu/log2.c: Ditto.
535 * libm/machine/spu/s_asinh.c: Ditto.
536 * libm/machine/spu/s_atan.c: Ditto.
537 * libm/machine/spu/s_cos.c: Ditto.
538 * libm/machine/spu/s_erf.c: Ditto.
539 * libm/machine/spu/s_expm1.c: Ditto.
540 * libm/machine/spu/s_isnan.c: Ditto.
541 * libm/machine/spu/s_log1p.c: Ditto.
542 * libm/machine/spu/s_nextafter.c: Ditto.
543 * libm/machine/spu/s_sin.c: Ditto.
544 * libm/machine/spu/s_tan.c: Ditto.
545 * libm/machine/spu/s_tanh.c: Ditto.
546 * libm/machine/spu/sf_asinh.c: Ditto.
547 * libm/machine/spu/sf_cos.c: Ditto.
548 * libm/machine/spu/sf_erf.c: Ditto.
549 * libm/machine/spu/sf_expm1.c: Ditto.
550 * libm/machine/spu/sf_log1p.c: Ditto.
551 * libm/machine/spu/sf_logb.c: Ditto.
552 * libm/machine/spu/sf_nearbyint.c: Ditto.
553 * libm/machine/spu/sf_nextafter.c: Ditto.
554 * libm/machine/spu/sf_rint.c: Ditto.
555 * libm/machine/spu/sf_sin.c: Ditto.
556 * libm/machine/spu/sf_tan.c: Ditto.
557 * libm/machine/spu/sf_tanh.c: Ditto.
558 * libm/machine/spu/w_acos.c: Ditto.
559 * libm/machine/spu/w_acosh.c: Ditto.
560 * libm/machine/spu/w_asin.c: Ditto.
561 * libm/machine/spu/w_atan2.c: Ditto.
562 * libm/machine/spu/w_atanh.c: Ditto.
563 * libm/machine/spu/w_cosh.c: Ditto.
564 * libm/machine/spu/w_exp.c: Ditto.
565 * libm/machine/spu/w_exp2.c: Ditto.
566 * libm/machine/spu/w_hypot.c: Ditto.
567 * libm/machine/spu/w_lgamma.c: Ditto.
568 * libm/machine/spu/w_log.c: Ditto.
569 * libm/machine/spu/w_log10.c: Ditto.
570 * libm/machine/spu/w_pow.c: Ditto.
571 * libm/machine/spu/w_sincos.c: Ditto.
572 * libm/machine/spu/w_sinh.c: Ditto.
573 * libm/machine/spu/w_tgamma.c: Ditto.
574 * libm/machine/spu/wf_acos.c: Ditto.
575 * libm/machine/spu/wf_acosh.c: Ditto.
576 * libm/machine/spu/wf_asin.c: Ditto.
577 * libm/machine/spu/wf_atan2.c: Ditto.
578 * libm/machine/spu/wf_atanh.c: Ditto.
579 * libm/machine/spu/wf_cosh.c: Ditto.
580 * libm/machine/spu/wf_hypot.c: Ditto.
581 * libm/machine/spu/wf_lgamma.c: Ditto.
582 * libm/machine/spu/wf_pow.c: Ditto.
583 * libm/machine/spu/wf_sincos.c: Ditto.
584 * libm/machine/spu/wf_sinh.c: Ditto.
585 * libm/machine/spu/wf_sqrt.c: Ditto.
586 * libm/machine/spu/wf_tgamma.c: Ditto.
587
588 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
589
590 * configure.host: Define _POSIX_MODE to match the existing vector
591 math code, as we don't support the matherr callout.
592 * libm/machine/spu/Makefile.am: New file.
593 * libm/machine/spu/Makefile.in: Auto-generated.
594 * libm/machine/spu/headers/atanf.h: New file.
595 * libm/machine/spu/headers/cbrt.h: Ditto.
596 * libm/machine/spu/headers/cbrtf.h: Ditto.
597 * libm/machine/spu/headers/ceil.h: Ditto.
598 * libm/machine/spu/headers/ceilf.h: Ditto.
599 * libm/machine/spu/headers/copysign.h: Ditto.
600 * libm/machine/spu/headers/copysignf.h: Ditto.
601 * libm/machine/spu/headers/exp2f.h: Ditto.
602 * libm/machine/spu/headers/expf.h: Ditto.
603 * libm/machine/spu/headers/fabs.h: Ditto.
604 * libm/machine/spu/headers/fabsf.h: Ditto.
605 * libm/machine/spu/headers/fdim.h: Ditto.
606 * libm/machine/spu/headers/fdimf.h: Ditto.
607 * libm/machine/spu/headers/floor.h: Ditto.
608 * libm/machine/spu/headers/floorf.h: Ditto.
609 * libm/machine/spu/headers/fma.h: Ditto.
610 * libm/machine/spu/headers/fmaf.h: Ditto.
611 * libm/machine/spu/headers/fmax.h: Ditto.
612 * libm/machine/spu/headers/fmaxf.h: Ditto.
613 * libm/machine/spu/headers/fmin.h: Ditto.
614 * libm/machine/spu/headers/fminf.h: Ditto.
615 * libm/machine/spu/headers/fmod.h: Ditto.
616 * libm/machine/spu/headers/fmodf.h: Ditto.
617 * libm/machine/spu/headers/frexp.h: Ditto.
618 * libm/machine/spu/headers/frexpf.h: Ditto.
619 * libm/machine/spu/headers/ilogb.h: Ditto.
620 * libm/machine/spu/headers/ilogbf.h: Ditto.
621 * libm/machine/spu/headers/ldexp.h: Ditto.
622 * libm/machine/spu/headers/ldexpf.h: Ditto.
623 * libm/machine/spu/headers/llrint.h: Ditto.
624 * libm/machine/spu/headers/llrintf.h: Ditto.
625 * libm/machine/spu/headers/llround.h: Ditto.
626 * libm/machine/spu/headers/llroundf.h: Ditto.
627 * libm/machine/spu/headers/log10f.h: Ditto.
628 * libm/machine/spu/headers/log2f.h: Ditto.
629 * libm/machine/spu/headers/logf.h: Ditto.
630 * libm/machine/spu/headers/lrint.h: Ditto.
631 * libm/machine/spu/headers/lrintf.h: Ditto.
632 * libm/machine/spu/headers/lround.h: Ditto.
633 * libm/machine/spu/headers/lroundf.h: Ditto.
634 * libm/machine/spu/headers/nearbyint.h: Ditto.
635 * libm/machine/spu/headers/remainder.h: Ditto.
636 * libm/machine/spu/headers/remainderf.h: Ditto.
637 * libm/machine/spu/headers/remquo.h: Ditto.
638 * libm/machine/spu/headers/remquof.h: Ditto.
639 * libm/machine/spu/headers/rint.h: Ditto.
640 * libm/machine/spu/headers/round.h: Ditto.
641 * libm/machine/spu/headers/roundf.h: Ditto.
642 * libm/machine/spu/headers/scalbn.h: Ditto.
643 * libm/machine/spu/headers/scalbnf.h: Ditto.
644 * libm/machine/spu/headers/sqrt.h: Ditto.
645 * libm/machine/spu/headers/trunc.h: Ditto.
646 * libm/machine/spu/headers/truncf.h: Ditto.
647 * libm/machine/spu/headers/vec_literal.h: Ditto.
648 * libm/machine/spu/llrint.c: Ditto.
649 * libm/machine/spu/llrintf.c: Ditto.
650 * libm/machine/spu/llround.c: Ditto.
651 * libm/machine/spu/llroundf.c: Ditto.
652 * libm/machine/spu/log2f.c: Ditto.
653 * libm/machine/spu/s_cbrt.c: Ditto.
654 * libm/machine/spu/s_ceil.c: Ditto.
655 * libm/machine/spu/s_copysign.c: Ditto.
656 * libm/machine/spu/s_fabs.c: Ditto.
657 * libm/machine/spu/s_fdim.c: Ditto.
658 * libm/machine/spu/s_floor.c: Ditto.
659 * libm/machine/spu/s_fma.c: Ditto.
660 * libm/machine/spu/s_fmax.c: Ditto.
661 * libm/machine/spu/s_fmin.c: Ditto.
662 * libm/machine/spu/s_frexp.c: Ditto.
663 * libm/machine/spu/s_ilogb.c: Ditto.
664 * libm/machine/spu/s_ldexp.c: Ditto.
665 * libm/machine/spu/s_lrint.c: Ditto.
666 * libm/machine/spu/s_lround.c: Ditto.
667 * libm/machine/spu/s_nearbyint.c: Ditto.
668 * libm/machine/spu/s_remquo.c: Ditto.
669 * libm/machine/spu/s_rint.c: Ditto.
670 * libm/machine/spu/s_round.c: Ditto.
671 * libm/machine/spu/s_scalbn.c: Ditto.
672 * libm/machine/spu/s_trunc.c: Ditto.
673 * libm/machine/spu/sf_atan.c: Ditto.
674 * libm/machine/spu/sf_cbrt.c: Ditto.
675 * libm/machine/spu/sf_ceil.c: Ditto.
676 * libm/machine/spu/sf_copysign.c: Ditto.
677 * libm/machine/spu/sf_fabs.c: Ditto.
678 * libm/machine/spu/sf_fdim.c: Ditto.
679 * libm/machine/spu/sf_floor.c: Ditto.
680 * libm/machine/spu/sf_fma.c: Ditto.
681 * libm/machine/spu/sf_fmax.c: Ditto.
682 * libm/machine/spu/sf_fmin.c: Ditto.
683 * libm/machine/spu/sf_frexp.c: Ditto.
684 * libm/machine/spu/sf_ilogb.c: Ditto.
685 * libm/machine/spu/sf_ldexp.c: Ditto.
686 * libm/machine/spu/sf_lrint.c: Ditto.
687 * libm/machine/spu/sf_lround.c: Ditto.
688 * libm/machine/spu/sf_remquo.c: Ditto.
689 * libm/machine/spu/sf_round.c: Ditto.
690 * libm/machine/spu/sf_scalbn.c: Ditto.
691 * libm/machine/spu/sf_trunc.c: Ditto.
692 * libm/machine/spu/w_fmod.c: Ditto.
693 * libm/machine/spu/w_remainder.c: Ditto.
694 * libm/machine/spu/w_sqrt.c: Ditto.
695 * libm/machine/spu/wf_exp.c: Ditto.
696 * libm/machine/spu/wf_exp2.c: Ditto.
697 * libm/machine/spu/wf_fmod.c: Ditto.
698 * libm/machine/spu/wf_log.c: Ditto.
699 * libm/machine/spu/wf_log10.c: Ditto.
700 * libm/machine/spu/wf_remainder.c: Ditto.
701
702 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
703
704 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
705
706 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
707
708 * libc/include/sched.h: New file, just include sys/sched.h.
709 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
710 prototype.
711 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
712 struct utimbuf definition.
713
714 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
715
716 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
717 specific struct and typedef.
718
719 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
720
721 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
722 typedef dev_t, gid_t, and uid_t.
723 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
724 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
725 Change to lower case for all __foo_t_defined names.
726 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
727 __uid_t, and __gid_t making them all four bytes. Change to lower case
728 for all __foo_t_defined names.
729
730 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
731
732 * libc/reent/renamer.c: New file.
733 * libc/reent/Makefile.am: Add new file.
734 * libc/reent/Makefile.in: Regenerated.
735 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
736 and add check for rename syscall.
737
738 2007-09-17 Eric Blake <ebb9@byu.net>
739
740 Obey POSIX on printf("%.s", (char*)NULL).
741 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
742 for %s on NULL. Skip NULL check when optimizing for size.
743
744 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
745
746 * libc/include/sys/_types.h: Protect all types with flag
747 checks to allow definition in machine/_types.h.
748
749 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
750
751 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
752 definitions in light of the previous change.
753
754 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
755
756 * libc/include/machine/_default_types.h: New file, contains what
757 was previously in libc/include/machine/_types.h.
758 * libc/include/machine/_types.h: Now only includes
759 machine/_default_types.h.
760 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
761 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
762 with conditional declarations.
763 * libc/machine/spu/machine/_types.h: New file, add SPU specific
764 typedefs for _fpos_t and _fpos64_t.
765
766 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
767
768 * libc/include/math.h (_M_LOG2E): Replace with..
769 (_M_LOG2_E): New macro.
770 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
771
772 2007-09-06 Brian Dessent <brian@dessent.net>
773
774 * libc/reent/getreent.c: Allow for case where __getreent is
775 defined as a macro.
776
777 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
778
779 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
780 (log2): Use _M_LOG2E instead of M_LOG2E.
781 (log2f): Ditto.
782 (M_LOG2E): Define to be _M_LOG2E.
783
784 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
785
786 * libm/math/wf_tgamma.c: Add missing include.
787
788 2007-08-31 Antony King <antony.king@st.com>
789
790 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
791 bits and redefine associated dword0 macro (rvalue issue).
792 * libc/stdio/vfieeefp.h: Ditto.
793 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
794 to prevent setting dword1 which is an rvalue only.
795
796 2007-08-28 Hans Kester <hans.kester@ellips.nl>
797
798 * configure.host: Added support for x86_64.
799 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
800 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
801 * libc/machine/x86_64/aclocal.m4: Generated.
802 * libc/machine/x86_64/configure.in: New.
803 * libc/machine/x86_64/configure: Generated.
804 * libc/machine/x86_64/Makefile.am: New.
805 * libc/machine/x86_64/Makefile.in: Generated.
806 * libc/machine/x86_64/setjmp.S: New.
807 * libc/machine/x86_64/memcpy.S: New.
808 * libc/machine/x86_64/memset.S: New.
809 * libc/machine/configure.in: Added support for x86_64.
810 * libc/machine/configure: Regenerated.
811
812 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
813
814 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
815 to int before comparing it to a signed int value.
816
817 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
818
819 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
820 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
821 Define.
822
823 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
824
825 Reduce the memory consumption of variable argument functions
826 for SPU (cell):
827 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
828 to assembler sources.
829 * libc/machine/spu/Makefile.in: Regenerated.
830 * libc/machine/spu/stdio.c: Add __check_init function wrapping
831 CHECK_INIT macro to use from assembler routines.
832 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
833 * libc/machine/spu/fiprintf.S: New file.
834 * libc/machine/spu/fiscanf.S: Ditto.
835 * libc/machine/spu/fprintf.S: Ditto.
836 * libc/machine/spu/fscanf.S: Ditto.
837 * libc/machine/spu/iprintf.S: Ditto.
838 * libc/machine/spu/iscanf.S: Ditto.
839 * libc/machine/spu/printf.S: Ditto.
840 * libc/machine/spu/scanf.S: Ditto.
841 * libc/machine/spu/siprintf.S: Ditto.
842 * libc/machine/spu/siscanf.S: Ditto.
843 * libc/machine/spu/sniprintf.S: Ditto.
844 * libc/machine/spu/snprintf.S: Ditto.
845 * libc/machine/spu/sprintf.S: Ditto.
846 * libc/machine/spu/sscanf.S: Ditto.
847 * libc/machine/spu/stack_reg_va.S: Ditto.
848 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
849 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
850 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
851 * libc/machine/spu/fiscanf.c: Ditto.
852 * libc/machine/spu/fprintf.c: Ditto.
853 * libc/machine/spu/fscanf.c: Ditto.
854 * libc/machine/spu/iprintf.c: Ditto.
855 * libc/machine/spu/iscanf.c: Ditto.
856 * libc/machine/spu/printf.c: Ditto.
857 * libc/machine/spu/scanf.c: Ditto.
858 * libc/machine/spu/siprintf.c: Ditto.
859 * libc/machine/spu/siscanf.c: Ditto.
860 * libc/machine/spu/sniprintf.c: Ditto.
861 * libc/machine/spu/snprintf.c: Ditto.
862 * libc/machine/spu/sprintf.c: Ditto.
863 * libc/machine/spu/sscanf.c: Ditto.
864
865 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
866
867 * libc/include/tar.h: New.
868
869 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
870
871 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
872 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
873 * libc/sys/linux/intl/Makefile.in: Regenerated.
874 * libc/sys/linux/intl/stpcpy.c: Renamed to...
875 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
876
877 2007-08-02 Eric Blake <ebb9@byu.net>
878
879 Implement fmemopen and open_memstream.
880 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
881 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
882 New file.
883 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
884 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
885 functions together.
886 (fmemopen, open_memstream): Declare new functions.
887 * libc/stdio/stdio.tex: Document them.
888 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
889 fmemopen and open_memstream.
890 * libc/stdio/Makefile.in: Regenerate.
891
892 2007-07-31 Eric Blake <ebb9@byu.net>
893
894 More POSIX stream corner cases.
895 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
896 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
897 requested.
898 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
899
900 2007-07-18 Eric Blake <ebb9@byu.net>
901
902 Fix 'make info'.
903 * libc/stdio/stdio.tex: Add missing include.
904 * libc/stdio/vfprintf.c: Use expected node name.
905 * libc/stdio/vfscanf.c: Likewise.
906 * libc/stdio/sscanf.c: Likewise.
907 * libc/stdio/sprintf.c: Likewise.
908 * libc/stdio/siscanf.c: Likewise.
909 * libc/stdio/siprintf.c: Likewise.
910 * libc/stdio/fopencookie.c: Quote raw {}.
911 Reported by DJ Delorie.
912
913 2007-07-13 Eric Blake <ebb9@byu.net>
914
915 Fix fflush issues.
916 * libc/stdio/fflush.c (_fflush_r): New function.
917 (fflush): Fix reentrancy and large offset behavior.
918 * libc/include/stdio.h (_fflush_r): Add prototype.
919 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
920 * libc/stdio/freopen.c (_freopen_r): Likewise.
921 * libc/stdio/fseek.c (_fseek_r): Likewise.
922 * libc/stdio/ftell.c (_ftell_r): Likewise.
923 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
924 * libc/stdio/refill.c (__srefill_r): Likewise.
925 * libc/stdio/setvbuf.c (setvbuf): Likewise.
926 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
927 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
928 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
929 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
930 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
931 32-bit version if not large file.
932 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
933 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
934
935 Documentation updates.
936 * libc/stdio/ungetc.c: Document ungetc.
937 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
938 of files with documentation.
939 * libc/stdio/Makefile.in: Regenerate.
940 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
941
942 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
943
944 * libc/include/math.h: Fix so C99 functions/macros are accessible
945 when -std=c99 is used when compiling and not when using C89.
946
947 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
948
949 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
950 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
951 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
952 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
953 wcstoull_r.c.
954 (CHEWOUT_FILES): Add .def files accordingly.
955 * libc/stdlib/Makefile.in: Regenerate.
956 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
957 * libc/stdlib/strtoll.c: Fix portability note.
958 * libc/stdlib/strtoull.c: Ditto.
959 * libc/stdlib/wcstol.c: New file.
960 * libc/stdlib/wcstoll.c: New file.
961 * libc/stdlib/wcstoll_r.c: New file.
962 * libc/stdlib/wcstoul.c: New file.
963 * libc/stdlib/wcstoull.c: New file.
964 * libc/stdlib/wcstoull_r.c: New file.
965
966 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
967
968 * libc/include/sys/time.h (gettimeofday): Change to proper
969 prototype where second parameter is void *.
970 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
971 accordingly.
972 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
973 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
974 * libc/sys/rdos/gettod.c: Ditto.
975 * libc/sys/sh/syscalls.c: Ditto.
976 * libc/time/time.c (time): Change call to _gettimeofday_r
977 to pass NULL as 2nd argument.
978
979 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
980
981 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
982 * libc/sys/linux/intl/l10nflist.c: Ditto.
983
984 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
985
986 * libc/include/wchar.h: Add prototype for wcsxfrm.
987 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
988 (CHEWOUT_FILES): Add wcsxfrm.def.
989 * libc/string/Makefile.in: Regenerate.
990 * libc/string/wcsxfrm.c: New file.
991 * libc/string/wcstrings.tex: Add wcsxfrm.
992
993 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
994
995 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
996 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
997 stpncpy.c.
998 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
999 * libc/string/Makefile.in: Regenerate.
1000 * libc/string/stpcpy.c: New file.
1001 * libc/string/stpncpy.c: New file.
1002 * libc/string/strings.tex: Add stpcpy and stpncpy.
1003
1004 2007-06-27 Eric Blake <ebb9@byu.net>
1005
1006 Support __func__ in assert, as required by C99.
1007 * libc/stdlib/assert.c (__assert_func): New function.
1008 (__assert): Use __assert_func.
1009 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
1010 possible.
1011
1012 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1013
1014 * libc/machine/spu/perror.c: Pass errno as the second argument to
1015 the assist call.
1016
1017 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1018
1019 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
1020 defines; expose ftruncate, truncate and sync prototypes.
1021
1022 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
1023
1024 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
1025 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
1026 visible.
1027
1028 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
1029
1030 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
1031 from a dropped patch.
1032 * libc/machine/spu/Makefile.in: Regenerate.
1033
1034 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1035
1036 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
1037 it just calls open with appropriate arguments.
1038 * libc/machine/spu/Makefile.am: Add creat.c.
1039 * libc/machine/spu/Makefile.in: Regenerate.
1040
1041 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
1042
1043 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
1044 I accidentally dropped.
1045 * libc/machine/spu/Makefile.in: Regenerated.
1046
1047 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
1048
1049 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
1050 * libc/include/sys/unistd.h: Change usleep prototype to Posix
1051 form and move outside of OS flag checks.
1052 * libc/machine/spu/Makefile.am: Add sleep and usleep.
1053 * libc/machine/spu/Makefile.in: Regenerate.
1054 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
1055 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
1056
1057 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
1058
1059 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
1060 Define confstr constants for Cygwin. Add comment.
1061
1062 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
1063
1064 * libc/sys/mmixware/access.c (access): Do not try to use a magic
1065 file-handle and a direct syscall, just use _open.
1066 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
1067 file-handle.
1068
1069 * libc/sys/mmixware/_exit.c (_exit): Update comment about
1070 passing on the exit value.
1071
1072 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
1073
1074 * libc/string/strcasestr.c: New file.
1075 * libc/include/string.h: Add strcasestr.
1076 * libc/string/strings.tex: Add strcasestr.
1077 * libc/string/Makefile.am: Ditto.
1078 * libc/string/Makefile.in: Regenerated.
1079
1080 2007-06-06 Christian Groessler <chris@groessler.org>
1081
1082 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1083 rnd is done after the last local variable declaration.
1084
1085 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1086
1087 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1088
1089 2007-06-05 Christian Groessler <chris@groessler.org>
1090
1091 * libc/argz/argz_insert.c (argz_insert): Move delta variable
1092 declaration to top of function in keeping with C89 standard.
1093
1094 2007-06-04 Eric Blake <ebb9@byu.net>
1095
1096 Implement funopen, fopencookie.
1097 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1098 Switch to reentrant callbacks.
1099 * libc/include/stdio.h (funopen): Fix declaration.
1100 (fopencookie): Declare.
1101 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1102 (__sseek64, __swrite64): Fix prototypes.
1103 [__SCLE]: Pull in setmode declaration.
1104 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1105 reentrancy.
1106 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1107 (__sseek64, __swrite64): Fix reentrancy.
1108 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1109 reentrancy.
1110 * libc/stdio/ftell.c (_ftell_r): Likewise.
1111 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1112 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1113 * libc/stdio/freopen.c (_freopen_r): Likewise.
1114 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1115 * libc/stdio/refill.c (__srefill_r): Likewise.
1116 * libc/stdio/siscanf.c (eofread): Likewise.
1117 * libc/stdio/sscanf.c (eofread): Likewise.
1118 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1119 * libc/stdio/vsscanf.c (eofread1): Likewise.
1120 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1121 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1122 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1123 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1124 could be fixed.
1125 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1126 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1127 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1128 new files.
1129 * libc/stdio/Makefile.in: Regenerate.
1130
1131 2007-05-29 Eric Blake <ebb9@byu.net>
1132
1133 Avoid more compiler warnings.
1134 * libc/stdlib/btowc.c: Add missing header.
1135 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1136 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1137 * libc/stdlib/wctob.c: Add missing header.
1138 * libc/string/strcpy.c (strcpy): Avoid warnings.
1139 * libc/string/strrchr.c (strrchr): Likewise.
1140
1141 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
1142
1143 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1144 argument.
1145 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1146 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1147 on empty input strings.
1148 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1149 looping through argz.
1150 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1151
1152 2007-05-27 Brian Dessent <brian@dessent.net>
1153
1154 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1155 handling %p.
1156
1157 2007-05-25 Eric Blake <ebb9@byu.net>
1158
1159 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1160
1161 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1162 Charles Wilson <libtool@cwilson.fastmail.fm>
1163
1164 * libtool.m4: removed
1165 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1166 libtool. Move AC_PROG_AWK outside conditional.
1167 * libc/sys/linux/configure.in: Ditto.
1168 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1169 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1170 * libc/sys/linux/machine/i386/configure.in: Ditto.
1171
1172 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1173 initializing libtool.
1174 * libc/configure.in: Ditto.
1175 * libc/machine/configure.in: Ditto.
1176 * libc/machine/i386/configure.in: Ditto.
1177 * libc/sys/configure.in: Ditto.
1178 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1179 * libc/sys/linux/machine/configure.in: Ditto.
1180 * libm/configure.in: Ditto.
1181 * libm/machine/configure.in: Ditto.
1182
1183 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1184 * doc/Makefile.am: Ditto.
1185 * iconvdata/Makefile.am: Ditto.
1186 * libc/Makefile.am: Ditto.
1187 * libc/machine/Makefile.am: Ditto.
1188 * libc/machine/a29k/Makefile.am: Ditto.
1189 * libc/machine/arm/Makefile.am: Ditto.
1190 * libc/machine/bfin/Makefile.am: Ditto.
1191 * libc/machine/cris/Makefile.am: Ditto.
1192 * libc/machine/crx/Makefile.am: Ditto.
1193 * libc/machine/d10v/Makefile.am: Ditto.
1194 * libc/machine/d30v/Makefile.am: Ditto.
1195 * libc/machine/fr30/Makefile.am: Ditto.
1196 * libc/machine/frv/Makefile.am: Ditto.
1197 * libc/machine/h8300/Makefile.am: Ditto.
1198 * libc/machine/h8500/Makefile.am: Ditto.
1199 * libc/machine/hppa/Makefile.am: Ditto.
1200 * libc/machine/i386/Makefile.am: Ditto.
1201 * libc/machine/i960/Makefile.am: Ditto.
1202 * libc/machine/iq2000/Makefile.am: Ditto.
1203 * libc/machine/m32c/Makefile.am: Ditto.
1204 * libc/machine/m32r/Makefile.am: Ditto.
1205 * libc/machine/m68hc11/Makefile.am: Ditto.
1206 * libc/machine/m68k/Makefile.am: Ditto.
1207 * libc/machine/m88k/Makefile.am: Ditto.
1208 * libc/machine/mips/Makefile.am: Ditto.
1209 * libc/machine/mn10200/Makefile.am: Ditto.
1210 * libc/machine/mn10300/Makefile.am: Ditto.
1211 * libc/machine/mt/Makefile.am: Ditto.
1212 * libc/machine/necv70/Makefile.am: Ditto.
1213 * libc/machine/powerpc/Makefile.am: Ditto.
1214 * libc/machine/sh/Makefile.am: Ditto.
1215 * libc/machine/sparc/Makefile.am: Ditto.
1216 * libc/machine/spu/Makefile.am: Ditto.
1217 * libc/machine/tic4x/Makefile.am: Ditto.
1218 * libc/machine/tic80/Makefile.am: Ditto.
1219 * libc/machine/v850/Makefile.am: Ditto.
1220 * libc/machine/w65/Makefile.am: Ditto.
1221 * libc/machine/xscale/Makefile.am: Ditto.
1222 * libc/machine/xstormy16/Makefile.am: Ditto.
1223 * libc/machine/z8k/Makefile.am: Ditto.
1224 * libc/sys/Makefile.am: Ditto.
1225 * libc/sys/a29khif/Makefile.am: Ditto.
1226 * libc/sys/arc/Makefile.am: Ditto.
1227 * libc/sys/arm/Makefile.am: Ditto.
1228 * libc/sys/d10v/Makefile.am: Ditto.
1229 * libc/sys/decstation/Makefile.am: Ditto.
1230 * libc/sys/h8300hms/Makefile.am: Ditto.
1231 * libc/sys/h8500hms/Makefile.am: Ditto.
1232 * libc/sys/linux/Makefile.am: Ditto.
1233 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1234 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1235 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1236 * libc/sys/linux/machine/Makefile.am: Ditto.
1237 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1238 * libc/sys/m88kbug/Makefile.am: Ditto.
1239 * libc/sys/mmixware/Makefile.am: Ditto.
1240 * libc/sys/netware/Makefile.am: Ditto.
1241 * libc/sys/rdos/Makefile.am: Ditto.
1242 * libc/sys/rtems/Makefile.am: Ditto.
1243 * libc/sys/sh/Makefile.am: Ditto.
1244 * libc/sys/sparc64/Makefile.am: Ditto.
1245 * libc/sys/sun4/Makefile.am: Ditto.
1246 * libc/sys/sysmec/Makefile.am: Ditto.
1247 * libc/sys/sysnec810/Makefile.am: Ditto.
1248 * libc/sys/sysnecv850/Makefile.am: Ditto.
1249 * libc/sys/sysvi386/Makefile.am: Ditto.
1250 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1251 * libc/sys/tic80/Makefile.am: Ditto.
1252 * libc/sys/w65/Makefile.am: Ditto.
1253 * libc/sys/z8ksim/Makefile.am: Ditto.
1254 * libm/Makefile.am: Ditto.
1255 * libm/machine/Makefile.am: Ditto.
1256 * libm/machine/i386/Makefile.am: Ditto.
1257 * libm/machine/spu/Makefile.am: Ditto.
1258
1259 * aclocal.m4: Regenerate.
1260 * iconvdata/aclocal.m4: Regenerate.
1261 * libc/aclocal.m4: Regenerate.
1262 * libc/machine/aclocal.m4: Regenerate.
1263 * libc/machine/i386/aclocal.m4: Regenerate.
1264 * libc/sys/aclocal.m4: Regenerate.
1265 * libc/sys/linux/aclocal.m4: Regenerate.
1266 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1267 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1268 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1269 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1270 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1271 * libm/aclocal.m4: Regenerate.
1272 * libm/machine/aclocal.m4: Regenerate.
1273 * libm/machine/i386/aclocal.m4: Regenerate.
1274
1275 * Makefile.in: Regenerate.
1276 * doc/Makefile.in: Regenerate.
1277 * iconvdata/Makefile.in: Regenerate.
1278 * libc/Makefile.in: Regenerate.
1279 * libc/argz/Makefile.in: Regenerate.
1280 * libc/ctype/Makefile.in: Regenerate.
1281 * libc/errno/Makefile.in: Regenerate.
1282 * libc/iconv/Makefile.in: Regenerate.
1283 * libc/iconv/ccs/Makefile.in: Regenerate.
1284 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1285 * libc/iconv/ces/Makefile.in: Regenerate.
1286 * libc/iconv/lib/Makefile.in: Regenerate.
1287 * libc/locale/Makefile.in: Regenerate.
1288 * libc/machine/Makefile.in: Regenerate.
1289 * libc/machine/a29k/Makefile.in: Regenerate.
1290 * libc/machine/arm/Makefile.in: Regenerate.
1291 * libc/machine/bfin/Makefile.in: Regenerate.
1292 * libc/machine/cris/Makefile.in: Regenerate.
1293 * libc/machine/crx/Makefile.in: Regenerate.
1294 * libc/machine/d10v/Makefile.in: Regenerate.
1295 * libc/machine/d30v/Makefile.in: Regenerate.
1296 * libc/machine/fr30/Makefile.in: Regenerate.
1297 * libc/machine/frv/Makefile.in: Regenerate.
1298 * libc/machine/h8300/Makefile.in: Regenerate.
1299 * libc/machine/h8500/Makefile.in: Regenerate.
1300 * libc/machine/hppa/Makefile.in: Regenerate.
1301 * libc/machine/i386/Makefile.in: Regenerate.
1302 * libc/machine/i960/Makefile.in: Regenerate.
1303 * libc/machine/iq2000/Makefile.in: Regenerate.
1304 * libc/machine/m32c/Makefile.in: Regenerate.
1305 * libc/machine/m32r/Makefile.in: Regenerate.
1306 * libc/machine/m68hc11/Makefile.in: Regenerate.
1307 * libc/machine/m68k/Makefile.in: Regenerate.
1308 * libc/machine/m88k/Makefile.in: Regenerate.
1309 * libc/machine/mips/Makefile.in: Regenerate.
1310 * libc/machine/mn10200/Makefile.in: Regenerate.
1311 * libc/machine/mn10300/Makefile.in: Regenerate.
1312 * libc/machine/mt/Makefile.in: Regenerate.
1313 * libc/machine/necv70/Makefile.in: Regenerate.
1314 * libc/machine/powerpc/Makefile.in: Regenerate.
1315 * libc/machine/sh/Makefile.in: Regenerate.
1316 * libc/machine/sparc/Makefile.in: Regenerate.
1317 * libc/machine/spu/Makefile.in: Regenerate.
1318 * libc/machine/tic4x/Makefile.in: Regenerate.
1319 * libc/machine/tic80/Makefile.in: Regenerate.
1320 * libc/machine/v850/Makefile.in: Regenerate.
1321 * libc/machine/w65/Makefile.in: Regenerate.
1322 * libc/machine/xscale/Makefile.in: Regenerate.
1323 * libc/machine/xstormy16/Makefile.in: Regenerate.
1324 * libc/machine/z8k/Makefile.in: Regenerate.
1325 * libc/misc/Makefile.in: Regenerate.
1326 * libc/posix/Makefile.in: Regenerate.
1327 * libc/reent/Makefile.in: Regenerate.
1328 * libc/search/Makefile.in: Regenerate.
1329 * libc/signal/Makefile.in: Regenerate.
1330 * libc/stdio/Makefile.in: Regenerate.
1331 * libc/stdio64/Makefile.in: Regenerate.
1332 * libc/stdlib/Makefile.in: Regenerate.
1333 * libc/string/Makefile.in: Regenerate.
1334 * libc/sys/Makefile.in: Regenerate.
1335 * libc/sys/a29khif/Makefile.in: Regenerate.
1336 * libc/sys/arc/Makefile.in: Regenerate.
1337 * libc/sys/arm/Makefile.in: Regenerate.
1338 * libc/sys/d10v/Makefile.in: Regenerate.
1339 * libc/sys/decstation/Makefile.in: Regenerate.
1340 * libc/sys/h8300hms/Makefile.in: Regenerate.
1341 * libc/sys/h8500hms/Makefile.in: Regenerate.
1342 * libc/sys/linux/Makefile.in: Regenerate.
1343 * libc/sys/linux/argp/Makefile.in: Regenerate.
1344 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1345 * libc/sys/linux/dl/Makefile.in: Regenerate.
1346 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1347 * libc/sys/linux/intl/Makefile.in: Regenerate.
1348 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1349 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1350 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1351 * libc/sys/linux/machine/Makefile.in: Regenerate.
1352 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1353 * libc/sys/linux/net/Makefile.in: Regenerate.
1354 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1355 * libc/sys/m88kbug/Makefile.in: Regenerate.
1356 * libc/sys/mmixware/Makefile.in: Regenerate.
1357 * libc/sys/netware/Makefile.in: Regenerate.
1358 * libc/sys/rdos/Makefile.in: Regenerate.
1359 * libc/sys/rtems/Makefile.in: Regenerate.
1360 * libc/sys/sh/Makefile.in: Regenerate.
1361 * libc/sys/sparc64/Makefile.in: Regenerate.
1362 * libc/sys/sun4/Makefile.in: Regenerate.
1363 * libc/sys/sysmec/Makefile.in: Regenerate.
1364 * libc/sys/sysnec810/Makefile.in: Regenerate.
1365 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1366 * libc/sys/sysvi386/Makefile.in: Regenerate.
1367 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1368 * libc/sys/tic80/Makefile.in: Regenerate.
1369 * libc/sys/w65/Makefile.in: Regenerate.
1370 * libc/sys/z8ksim/Makefile.in: Regenerate.
1371 * libc/syscalls/Makefile.in: Regenerate.
1372 * libc/time/Makefile.in: Regenerate.
1373 * libc/unix/Makefile.in: Regenerate.
1374 * libm/Makefile.in: Regenerate.
1375 * libm/common/Makefile.in: Regenerate.
1376 * libm/machine/Makefile.in: Regenerate.
1377 * libm/machine/i386/Makefile.in: Regenerate.
1378 * libm/machine/spu/Makefile.in: Regenerate.
1379 * libm/math/Makefile.in: Regenerate.
1380 * libm/mathfp/Makefile.in: Regenerate.
1381
1382 * configure: Regenerate.
1383 * iconvdata/configure: Regenerate.
1384 * libc/configure: Regenerate.
1385 * libc/machine/configure: Regenerate.
1386 * libc/machine/i386/configure: Regenerate.
1387 * libc/sys/configure: Regenerate.
1388 * libc/sys/linux/configure: Regenerate.
1389 * libc/sys/linux/linuxthreads/configure: Regenerate.
1390 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1391 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1392 * libc/sys/linux/machine/configure: Regenerate.
1393 * libc/sys/linux/machine/i386/configure: Regenerate.
1394 * libm/configure: Regenerate.
1395 * libm/machine/configure: Regenerate.
1396 * libm/machine/i386/configure: Regenerate.
1397
1398 2007-05-23 Eric Blake <ebb9@byu.net>
1399
1400 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1401 sizeof(void*) is 8 but sizeof(long) is 4.
1402 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1403 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1404 to fix reentrancy and bug on encoding error in multibyte locales.
1405 Always return EOF on read error.
1406
1407 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1408
1409 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1410 prototype.
1411 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1412 instead of the slot 0 value, remove any now unused variables, and
1413 for some cases, now store the result in an int vs int*.
1414 * libc/machine/spu/feof.c: Ditto.
1415 * libc/machine/spu/ferror.c: Ditto.
1416 * libc/machine/spu/fflush.c: Ditto.
1417 * libc/machine/spu/fgetc.c: Ditto.
1418 * libc/machine/spu/fgetpos.c: Ditto.
1419 * libc/machine/spu/fgets.c: Ditto.
1420 * libc/machine/spu/fileno.c: Ditto.
1421 * libc/machine/spu/fopen.c: Ditto.
1422 * libc/machine/spu/fprintf.c: Ditto.
1423 * libc/machine/spu/fputc.c: Ditto.
1424 * libc/machine/spu/fputs.c: Ditto.
1425 * libc/machine/spu/fread.c: Ditto.
1426 * libc/machine/spu/freopen.c: Ditto.
1427 * libc/machine/spu/fscanf.c: Ditto.
1428 * libc/machine/spu/fseek.c: Ditto.
1429 * libc/machine/spu/fsetpos.c: Ditto.
1430 * libc/machine/spu/ftell.c: Ditto.
1431 * libc/machine/spu/fwrite.c: Ditto.
1432 * libc/machine/spu/getc.c: Ditto.
1433 * libc/machine/spu/getchar.c: Ditto.
1434 * libc/machine/spu/gets.c: Ditto.
1435 * libc/machine/spu/printf.c: Ditto.
1436 * libc/machine/spu/putc.c: Ditto.
1437 * libc/machine/spu/putchar.c: Ditto.
1438 * libc/machine/spu/puts.c: Ditto.
1439 * libc/machine/spu/remove.c: Ditto.
1440 * libc/machine/spu/rename.c: Ditto.
1441 * libc/machine/spu/scanf.c: Ditto.
1442 * libc/machine/spu/setvbuf.c: Ditto.
1443 * libc/machine/spu/snprintf.c: Ditto.
1444 * libc/machine/spu/sprintf.c: Ditto.
1445 * libc/machine/spu/sscanf.c: Ditto.
1446 * libc/machine/spu/tmpfile.c: Ditto.
1447 * libc/machine/spu/tmpnam.c: Ditto.
1448 * libc/machine/spu/ungetc.c: Ditto.
1449 * libc/machine/spu/vfprintf.c: Ditto.
1450 * libc/machine/spu/vfscanf.c: Ditto.
1451 * libc/machine/spu/vprintf.c: Ditto.
1452 * libc/machine/spu/vscanf.c: Ditto.
1453 * libc/machine/spu/vsnprintf.c: Ditto.
1454 * libc/machine/spu/vsprintf.c: Ditto.
1455 * libc/machine/spu/vsscanf.c: Ditto.
1456
1457 2007-05-23 Eric Blake <ebb9@byu.net>
1458
1459 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1460 Avoid warning when !FLOATING_POINT.
1461 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1462 slightly.
1463
1464 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1465
1466 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1467 to zero.
1468 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1469 use with C++.
1470
1471 2007-05-18 Eric Blake <ebb9@byu.net>
1472
1473 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1474 compilers.
1475 * libc/stdio/vfscanf.c: Likewise.
1476
1477 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1478
1479 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1480 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1481 * libm/math/wf_atan2.c: Ditto.
1482
1483 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1484
1485 * libm/common/Makefile.am: Add support for exp10, exp10f,
1486 pow10, and pow10f functions.
1487 * libm/common/Makefile.in: Regenerated.
1488 * libm/common/s_pow10.c: New file.
1489 * libm/common/sf_pow10.c: Ditto.
1490 * libm/common/s_exp10.c: Ditto.
1491 * libm/common/sf_exp10.c: Ditto.
1492 * libc/include/math.h [!pow10]: New pow10 prototype.
1493 [!pow10f]: New pow10f prototype.
1494 [!exp10]: New exp10 prototype.
1495 [!exp10f]: New exp10f prototype.
1496
1497 2007-05-17 Charles Wilson <cygwin@...>
1498
1499 * stdio/tmpfile.c: Include <sys/stat.h>.
1500 * stdio64/tmpfile64.c: Ditto.
1501
1502 2007-05-16 Eric Blake <ebb9@byu.net>
1503
1504 Close security hole in tmpfile.
1505 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1506 generation and opening the fd.
1507 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1508
1509 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1510 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1511 required by POSIX.
1512 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1513 avoid clash with <math.h>.
1514
1515 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1516 * libc/search/hash.c (__hash_open): Likewise.
1517
1518 2007-05-14 Eric Blake <ebb9@byu.net>
1519
1520 Reduce stack size of *printf.
1521 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1522 in %f. Avoid malloc when possible for %S.
1523 (BUF): Improve stack locality by using smaller size.
1524 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1525 (exponent): Use smaller stack size.
1526
1527 2007-05-11 Eric Blake <ebb9@byu.net>
1528
1529 Minimize printf/scanf size on platforms that don't need C99.
1530 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1531 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1532 * configure.in (newlib-io-c99-formats): New configure option.
1533 (_WANT_IO_C99_FORMATS): Define appropriately.
1534 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1535 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1536 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1537 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1538 Likewise.
1539 * configure: Regenerate.
1540
1541 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1542 (get_arg): Support '%a' and '%A'.
1543
1544 2007-05-09 Eric Blake <ebb9@byu.net>
1545
1546 Allow zero size with non-null buf in *asnprintf.
1547 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1548 user's buf.
1549 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1550 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1551 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1552
1553 2007-05-07 Charles Wilson <cygwin@...>
1554
1555 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1556
1557 2007-05-03 Eric Blake <ebb9@byu.net>
1558
1559 Add support for asnprintf, and improve *printf documentation.
1560 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1561 (ELIX_2_SOURCES): ...to this.
1562 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1563 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1564 (CHEWOUT_FILES): Include diprintf in documentation.
1565 * libc/stdio/Makefile.in: Regenerate.
1566 * libc/stdio/diprintf.c: Improve documentation.
1567 * libc/stdio/dprintf.c: Likewise.
1568 * libc/stdio/siprintf.c: Likewise.
1569 * libc/stdio/sprintf.c: Likewise.
1570 * libc/stdio/vfprintf.c: Likewise.
1571 * libc/stdio/viprintf.c: Likewise.
1572 * libc/stdio/vsniprintf.c: Consolidate documentation.
1573 * libc/stdio/asiprintf.c: Refer to documentation.
1574 * libc/stdio/asprintf.c: Likewise.
1575 * libc/stdio/fiprintf.c: Likewise.
1576 * libc/stdio/fprintf.c: Likewise.
1577 * libc/stdio/iprintf.c: Likewise.
1578 * libc/stdio/printf.c: Likewise.
1579 * libc/stdio/sniprintf.c: Likewise.
1580 * libc/stdio/vdiprintf.c: Likewise.
1581 * libc/stdio/vdprintf.c: Likewise.
1582 * libc/stdio/vsiprintf.c: Likewise.
1583 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1584 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1585 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1586 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1587 file.
1588 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1589 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1590 typical case.
1591 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1592 * libc/include/stdio.h: Add prototypes for new functions; sort
1593 existing functions.
1594
1595 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1596
1597 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1598 and memset.S.
1599 * libc/machine/m68k/Makefile.in: Regenerate.
1600 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1601 * libc/machine/m68k/memset.S: Likewise.
1602
1603 2007-05-01 Eric Blake <ebb9@byu.net>
1604
1605 * libc/stdio64/local64.h: Delete, move contents to...
1606 * libc/stdio/local.h: ...here.
1607 * libc/stdio64/fdopen64.c: Update includes.
1608 * libc/stdio64/fopen64.c: Likewise.
1609 * libc/stdio64/freopen64.c: Likewise.
1610 * libc/stdio64/fseeko64.c: Likewise.
1611 * libc/stdio64/ftello64.c: Likewise.
1612 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1613 and stderr with 64-bit offset.
1614 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1615 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1616 * libc/stdio/mktemp.c (_gettemp): Likewise.
1617
1618 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1619
1620 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1621 to treatment of NaN and +-inf arguments.
1622 * libm/math/ef_pow.c: Ditto.
1623 * libm/math/w_pow.c: Ditto.
1624 * libm/math/wf_pow.c: Ditto.
1625 * libm/math/w_acos.c: Fix domain errors to return NaN.
1626 * libm/math/w_asin.c: Ditto.
1627 * libm/math/wf_acos.c: Ditto.
1628 * libm/math/wf_asin.c: Ditto.
1629 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1630 * libm/math/wf_log.c: Ditto.
1631 * libm/math/wf_log10.c: Ditto.
1632 * libm/math/w_log10.c: Ditto.
1633
1634 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1635
1636 * libc/machine/m68k/Makefile.am: Temporarily remove
1637 memcpy.S and memset.S until logic can be confirmed for
1638 !(__mcoldfile__) case.
1639 * libc/machine/m68k/Makefile.in: Regenerated.
1640
1641 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1642
1643 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1644 and memset.S.
1645 * libc/machine/m68k/Makefile.in: Regenerate.
1646 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1647
1648 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1649
1650 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1651 overridden via machine/ieeefp.h.
1652 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1653 macros for isnan and related macros.
1654 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1655 overridden via machine/ieeefp.h.
1656 * libm/machine/spu/Makefile.am: Add new files.
1657 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1658 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1659 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1660 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1661 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1662 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1663 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1664 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1665
1666 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1667
1668 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1669 * libm/common/sf_fpclassify.c: ...here. New file.
1670 * libm/common/Makefile.am: Add sf_fpclassify.c.
1671 * libm/common/Makefile.in: Regenerated.
1672
1673 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1674
1675 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1676 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1677 a few changes (see spu errno.h comments).
1678
1679 2007-04-25 Eric Blake <ebb9@byu.net>
1680
1681 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1682 that promote to int.
1683
1684 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1685
1686 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1687 we clear the proper bits in the fpscr, and don't set some random ones.
1688
1689 2007-04-24 Eric Blake <ebb9@byu.net>
1690
1691 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1692 or NaN with %05f.
1693
1694 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1695 _MB_CAPABLE.
1696
1697 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1698 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1699 NL_ARGMAX, if present.
1700
1701 2007-04-23 Brian Dessent <brian@dessent.net>
1702
1703 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1704 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1705 trailing decimal is printed.
1706
1707 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1708
1709 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1710 file. Override Autoconf-2.59's version of these macros with
1711 fixed handling of multiple adjacent whitespace in arguments.
1712 * aclocal.m4: Regenerated forcefully.
1713 * configure: Ditto.
1714 * Makefile.in: Ditto.
1715 * libc/*Makefile.in: Ditto.
1716 * libc/*aclocal.m4: Ditto.
1717 * libc/*configure: Ditto.
1718 * libm/*Makefile.in: Ditto.
1719 * libm/*aclocal.m4: Ditto.
1720 * libm/*configure: Ditto.
1721
1722 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1723
1724 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1725 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1726 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1727 * libc/sys/arc/Makefile.in: Regenerated.
1728
1729 2007-04-17 Brian Dessent <brian@dessent.net>
1730
1731 * libc/stdio/sscanf.c: Update documentation comments.
1732 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1733
1734 2007-04-12 Eric Blake <ebb9@byu.net>
1735
1736 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1737 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1738 (get_arg): Handle %1$F, %1$n.
1739
1740 2007-04-10 Eric Blake <ebb9@byu.net>
1741
1742 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1743 CFLAGS=-O0.
1744
1745 2007-04-09 Eric Blake <ebb9@byu.net>
1746
1747 * libc/include/stdio.h: Add gcc format attributes to printf and
1748 scanf families.
1749
1750 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1751
1752 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1753 even if the passed in length n is shorter than the source string.
1754 This matches both the non-spu specific and the glibc strxfrm
1755 behaviour.
1756
1757 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1758
1759 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1760 functions registering additional atexit functions.
1761
1762 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1763 -I${newlib_dir}.
1764
1765 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1766
1767 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1768 prototype.
1769 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1770 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1771 * libc/machine/spu/fclose.c: Ditto.
1772 * libc/machine/spu/feof.c: Ditto.
1773 * libc/machine/spu/ferror.c: Ditto.
1774 * libc/machine/spu/fflush.c: Ditto.
1775 * libc/machine/spu/fgetc.c: Ditto.
1776 * libc/machine/spu/fgetpos.c: Ditto.
1777 * libc/machine/spu/fgets.c: Ditto.
1778 * libc/machine/spu/fileno.c: Ditto.
1779 * libc/machine/spu/fopen.c: Ditto.
1780 * libc/machine/spu/fprintf.c: Ditto.
1781 * libc/machine/spu/fputc.c: Ditto.
1782 * libc/machine/spu/fputs.c: Ditto.
1783 * libc/machine/spu/fread.c: Ditto.
1784 * libc/machine/spu/freopen.c: Ditto.
1785 * libc/machine/spu/fscanf.c: Ditto.
1786 * libc/machine/spu/fseek.c: Ditto.
1787 * libc/machine/spu/fsetpos.c: Ditto.
1788 * libc/machine/spu/ftell.c: Ditto.
1789 * libc/machine/spu/fwrite.c: Ditto.
1790 * libc/machine/spu/getc.c: Ditto.
1791 * libc/machine/spu/getchar.c: Ditto.
1792 * libc/machine/spu/gets.c: Ditto.
1793 * libc/machine/spu/perror.c: Ditto.
1794 * libc/machine/spu/printf.c: Ditto.
1795 * libc/machine/spu/putc.c: Ditto.
1796 * libc/machine/spu/putchar.c: Ditto.
1797 * libc/machine/spu/puts.c: Ditto.
1798 * libc/machine/spu/remove.c: Ditto.
1799 * libc/machine/spu/rename.c: Ditto.
1800 * libc/machine/spu/rewind.c: Ditto.
1801 * libc/machine/spu/scanf.c: Ditto.
1802 * libc/machine/spu/setbuf.c: Ditto.
1803 * libc/machine/spu/setvbuf.c: Ditto.
1804 * libc/machine/spu/snprintf.c: Ditto.
1805 * libc/machine/spu/sprintf.c: Ditto.
1806 * libc/machine/spu/sscanf.c: Ditto.
1807 * libc/machine/spu/tmpfile.c: Ditto.
1808 * libc/machine/spu/tmpnam.c: Ditto.
1809 * libc/machine/spu/ungetc.c: Ditto.
1810 * libc/machine/spu/vfprintf.c: Ditto.
1811 * libc/machine/spu/vfscanf.c: Ditto.
1812 * libc/machine/spu/vprintf.c: Ditto.
1813 * libc/machine/spu/vscanf.c: Ditto.
1814 * libc/machine/spu/vsnprintf.c: Ditto.
1815 * libc/machine/spu/vsprintf.c: Ditto.
1816 * libc/machine/spu/vsscanf.c: Ditto.
1817
1818 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1819
1820 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1821
1822 2007-04-04 Eric Blake <ebb9@byu.net>
1823
1824 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1825 (asiprintf): Avoid overhead.
1826 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1827 (asprintf): Avoid overhead.
1828 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1829 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1830 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1831 (fiprintf): Avoid overhead.
1832 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1833 (fprintf): Avoid overhead.
1834 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1835 (iprintf): Avoid overhead.
1836 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1837 (printf): Avoid overhead.
1838 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1839 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1840 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1841 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1842 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1843 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1844 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1845 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1846 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1847 vdiprintf.c.
1848 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1849 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1850
1851 2007-03-30 Dave Korn <dave.korn@artimi.com>
1852
1853 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1854 conflicting inline semantics between C99 and GNU89.
1855 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1856 compatible with -fkeep-inline-functions usage.
1857 (__sputc_r): Likewise for consistency even though disabled.
1858
1859 2007-03-29 Nick Clifton <nickc@redhat.com>
1860
1861 Reflect changes made to generic vfprintf.c:
1862 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1863 and add a "struct reent *" argument.
1864 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1865 argument and call _VFPRINTF_R instead of VFPRINTF.
1866 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1867 Fix uses of __sprint() and __sbprintf.
1868
1869 2007-03-20 Nick Clifton <nickc@redhat.com>
1870
1871 Reflect changes made to generic vfprintf.c:
1872 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1873 and add a "struct reent *" argument.
1874 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1875 argument and call _VFPRINTF_R instead of VFPRINTF.
1876 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1877 Fix uses of __sprint() and __sbprintf.
1878
1879 2007-03-16 Charles Wilson <cygwin@...>
1880
1881 * libc/argz/argz_insert.c: "before" pointer is
1882 invalid after *argz realloc. Compute offset
1883 between "before" and *argz, and use it after
1884 reallocation instead.
1885
1886 2007-03-16 Eric Blake <ebb9@byu.net>
1887
1888 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1889 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1890
1891 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1892
1893 * configure.in: Add new --enable-newlib-reent-small option.
1894 * configure: Regenerated.
1895 * acconfig.h: Add _WANT_REENT_SMALL.
1896 * newlib.hin: Regenerated minus PACKAGE macros to add
1897 _WANT_REENT_SMALL macro.
1898 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1899 if not already set.
1900 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1901 there is no buffer.
1902 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1903 use reentrant pointer passed in when resetting the file
1904 pointer to one of the std streams.
1905
1906 2007-03-15 Eric Blake <ebb9@byu.net>
1907
1908 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1909 (__smakebuf): Rename...
1910 (__smakebuf_r): to this.
1911 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1912 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1913 allocation, then rename...
1914 (__smakebuf_r): ...to this and fix reentrancy.
1915 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1916 allocation, then rename...
1917 (__swsetup_r): ...to this and fix reentrancy.
1918 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1919 * libc/stdio/refill.c (__srefill_r): Likewise.
1920 * libc/stdio/fclose.c (_fclose_r): Likewise.
1921 * libc/stdio/fread.c (_fread_r): Likewise.
1922 * libc/stdio/freopen.c (_freopen_r): Likewise.
1923 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1924 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1925 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1926 failed asprintf allocation, and fix reentrancy.
1927 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1928 as required by POSIX.
1929 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1930 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1931 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1932
1933 2007-03-12 Eric Blake <ebb9@byu.net>
1934
1935 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1936 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1937 allocation to caller.
1938 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1939 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1940 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1941
1942 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1943
1944 * libm/math/w_pow.c: Fix typo in documentation comment.
1945
1946 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1947
1948 * libc/reent/timer.c: Removed (split into two new files).
1949 * libc/reent/timesr.c: New file for _times_r.
1950 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1951 * reent/Makefile.in: Remove timer.c, add timesr.c and
1952 gettimeofdayr.c.
1953 * libc/reent/Makefile.am: Regenerate.
1954
1955 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1956
1957 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1958
1959 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1960
1961 * libc/machine/spu/Makefile.am: Add new objects.
1962 * libc/machine/spu/Makefile.in: Regenerated.
1963 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1964 integer-only version.
1965 * libc/machine/spu/fiscanf.c: Ditto.
1966 * libc/machine/spu/iprintf.c: Ditto.
1967 * libc/machine/spu/iscanf.c: Ditto.
1968 * libc/machine/spu/siprintf.c: Ditto.
1969 * libc/machine/spu/siscanf.c: Ditto.
1970 * libc/machine/spu/sniprintf.c: Ditto.
1971 * libc/machine/spu/vfiprintf.c: Ditto.
1972 * libc/machine/spu/vfiscanf.c: Ditto.
1973 * libc/machine/spu/viprintf.c: Ditto.
1974 * libc/machine/spu/viscanf.c: Ditto.
1975 * libc/machine/spu/vsiprintf.c: Ditto.
1976 * libc/machine/spu/vsiscanf.c: Ditto.
1977 * libc/machine/spu/vsniprintf.c: Ditto.
1978 * libc/machine/spu/fprintf.c: Add support for integer-only
1979 version.
1980 * libc/machine/spu/fscanf.c: Ditto.
1981 * libc/machine/spu/printf.c: Ditto.
1982 * libc/machine/spu/scanf.c: Ditto.
1983 * libc/machine/spu/snprintf.c: Ditto.
1984 * libc/machine/spu/sprintf.c: Ditto.
1985 * libc/machine/spu/sscanf.c: Ditto.
1986 * libc/machine/spu/vfprintf.c: Ditto.
1987 * libc/machine/spu/vfscanf.c: Ditto.
1988 * libc/machine/spu/vprintf.c: Ditto.
1989 * libc/machine/spu/vscanf.c: Ditto.
1990 * libc/machine/spu/vsnprintf.c: Ditto.
1991 * libc/machine/spu/vsprintf.c: Ditto.
1992 * libc/machine/spu/vsscanf.c: Ditto.
1993
1994 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1995
1996 * libc/include/stdio.h: Add declaration for vsiprintf.
1997
1998 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1999
2000 Add a floating point environment for SPU (cell):
2001
2002 * configure.host: add libm_machine_dir=spu.
2003 * libm/machine/configure: Add spu.
2004 * libm/machine/configure.in: regenerated with spu added.
2005 * libc/machine/spu/include/fenv.h: New file.
2006 * libc/machine/spu/sys/fenv.h: Ditto.
2007 * libm/machine/spu/Makefile.am: Ditto.
2008 * libm/machine/spu/Makefile.in: Ditto.
2009 * libm/machine/spu/aclocal.m4: Ditto.
2010 * libm/machine/spu/configure: Ditto.
2011 * libm/machine/spu/configure.in: Ditto.
2012 * libm/machine/spu/fe_dfl_env.c: Ditto.
2013 * libm/machine/spu/feclearexcept.c: Ditto.
2014 * libm/machine/spu/fegetenv.c: Ditto.
2015 * libm/machine/spu/fegetexceptflag.c: Ditto.
2016 * libm/machine/spu/fegetround.c: Ditto.
2017 * libm/machine/spu/feholdexcept.c: Ditto.
2018 * libm/machine/spu/feraiseexcept.c: Ditto.
2019 * libm/machine/spu/fesetenv.c: Ditto.
2020 * libm/machine/spu/fesetexceptflag.c: Ditto.
2021 * libm/machine/spu/fesetround.c: Ditto.
2022 * libm/machine/spu/fetestexcept.c: Ditto.
2023 * libm/machine/spu/feupdateenv.c: Ditto.
2024 * libm/machine/spu/headers/feclearexcept.h: Ditto.
2025 * libm/machine/spu/headers/fefpscr.h: Ditto.
2026 * libm/machine/spu/headers/fegetenv.h: Ditto.
2027 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
2028 * libm/machine/spu/headers/fegetround.h: Ditto.
2029 * libm/machine/spu/headers/feholdexcept.h: Ditto.
2030 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
2031 * libm/machine/spu/headers/fesetenv.h: Ditto.
2032 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
2033 * libm/machine/spu/headers/fesetround.h: Ditto.
2034 * libm/machine/spu/headers/fetestexcept.h: Ditto.
2035 * libm/machine/spu/headers/feupdateenv.h: Ditto.
2036
2037 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
2038
2039 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
2040 Cygwin.
2041
2042 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
2043
2044 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
2045 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
2046
2047 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
2048
2049 * libc/include/sys/features.h: Add definition of all supported
2050 _POSIX_xxx values for Cygwin.
2051 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
2052 on Cygwin.
2053 (pthread_rwlockattr_t): Ditto.
2054 * libc/include/sys/unistd.h: Define all _SC_xxx values as
2055 required by SUSv3. Unify formatting.
2056
2057 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
2058
2059 * libc/include/sys/errno.h: Add ECANCELED.
2060
2061 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
2062 Kazunori Asayama <asayama@sm.sony.co.jp>
2063
2064 * libc/machine/spu/Makefile.am: Add objects.
2065 * libc/machine/spu/Makefile.in: Regenerated.
2066 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
2067 implementation.
2068 * libc/machine/spu/snprintf.c: Ditto.
2069 * libc/machine/spu/sprintf.c: Ditto.
2070 * libc/machine/spu/sscanf.c: Ditto.
2071 * libc/machine/spu/remove.c: Ditto.
2072 * libc/machine/spu/rename.c: Ditto.
2073 * libc/machine/spu/tmpnam.c: Ditto.
2074 * libc/machine/spu/vsnprintf.c: Add initialization routine of
2075 stdio stuffs.
2076 * libc/machine/spu/vsprintf.c: Ditto.
2077
2078 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
2079 Kazunori Asayama <asayama@sm.sony.co.jp>
2080
2081 * configure.host: Enable SPU specific stdio directory.
2082 * libc/machine/spu/Makefile.am: Add objects.
2083 * libc/machine/spu/Makefile.in: Regenerated.
2084 * libc/machine/spu/c99ppe.h: Add macros and function
2085 declarations to initialize SPU specific stdio stuffs.
2086 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2087 specific FILE structures.
2088 * libc/machine/spu/perror.c: Add initialization routine of
2089 stdio stuffs.
2090 * libc/machine/spu/printf.c: Ditto.
2091 * libc/machine/spu/putchar.c: Ditto.
2092 * libc/machine/spu/puts.c: Ditto.
2093 * libc/machine/spu/vprintf.c: Ditto.
2094 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2095 implementation.
2096 * libc/machine/spu/feof.c: Ditto.
2097 * libc/machine/spu/ferror.c: Ditto.
2098 * libc/machine/spu/fileno.c: Ditto.
2099 * libc/machine/spu/fopen.c: Ditto.
2100 * libc/machine/spu/fclose.c: Ditto.
2101 * libc/machine/spu/freopen.c: Ditto.
2102 * libc/machine/spu/fflush.c: Ditto.
2103 * libc/machine/spu/fseek.c: Ditto.
2104 * libc/machine/spu/ftell.c: Ditto.
2105 * libc/machine/spu/rewind.c: Ditto.
2106 * libc/machine/spu/fgetpos.c: Ditto.
2107 * libc/machine/spu/fsetpos.c: Ditto.
2108 * libc/machine/spu/fread.c: Ditto.
2109 * libc/machine/spu/fwrite.c: Ditto.
2110 * libc/machine/spu/getc.c: Ditto.
2111 * libc/machine/spu/getchar.c: Ditto.
2112 * libc/machine/spu/gets.c: Ditto.
2113 * libc/machine/spu/fgetc.c: Ditto.
2114 * libc/machine/spu/fgets.c: Ditto.
2115 * libc/machine/spu/ungetc.c: Ditto.
2116 * libc/machine/spu/putc.c: Ditto.
2117 * libc/machine/spu/fputc.c: Ditto.
2118 * libc/machine/spu/fputs.c: Ditto.
2119 * libc/machine/spu/vfprintf.c: Ditto.
2120 * libc/machine/spu/vfscanf.c: Ditto.
2121 * libc/machine/spu/fprintf.c: Ditto.
2122 * libc/machine/spu/fscanf.c: Ditto.
2123 * libc/machine/spu/scanf.c: Ditto.
2124 * libc/machine/spu/vscanf.c: Ditto.
2125 * libc/machine/spu/setbuf.c: Ditto.
2126 * libc/machine/spu/setvbuf.c: Ditto.
2127 * libc/machine/spu/tmpfile.c: Ditto.
2128
2129 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2130
2131 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2132 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
2133 around stdio macros that manipulate fields in the normal file
2134 structure.
2135 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2136 <sys/custom_file.h> to define custom FILE structure.
2137 * libc/include/sys/custom_file.h: New default header file
2138 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2139 * libc/machine/spu/sys/custom_file.h: New file.
2140
2141 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2142
2143 * configure.host: Define stdio directory as a variable.
2144 * libc/Makefile.am: Define stdio related names
2145 as macros.
2146 * libc/configure.in: Add detection routine of stdio directory.
2147 * libc/Makefile.in: Regenerated.
2148 * libc/configure: Ditto.
2149 * libc/argz/Makefile.in: Ditto.
2150 * libc/ctype/Makefile.in: Ditto.
2151 * libc/errno/Makefile.in: Ditto.
2152 * libc/iconv/Makefile.in: Ditto.
2153 * libc/iconv/ccs/Makefile.in: Ditto.
2154 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2155 * libc/iconv/ces/Makefile.in: Ditto.
2156 * libc/iconv/lib/Makefile.in: Ditto.
2157 * libc/locale/Makefile.in: Ditto.
2158 * libc/misc/Makefile.in: Ditto.
2159 * libc/posix/Makefile.in: Ditto.
2160 * libc/reent/Makefile.in: Ditto.
2161 * libc/search/Makefile.in: Ditto.
2162 * libc/signal/Makefile.in: Ditto.
2163 * libc/stdio/Makefile.in: Ditto.
2164 * libc/stdio64/Makefile.in: Ditto.
2165 * libc/stdlib/Makefile.in: Ditto.
2166 * libc/string/Makefile.in: Ditto.
2167 * libc/syscalls/Makefile.in: Ditto.
2168 * libc/time/Makefile.in: Ditto.
2169 * libc/unix/Makefile.in: Ditto.
2170
2171 2007-01-30 Ben Elliston <bje@au.ibm.com>
2172
2173 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2174 fmt member.
2175 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2176 (printf): Pass fmt to va_start to suppress a warning.
2177
2178 * libc/search/hash.c (init_hash): Make `info' parameter const.
2179
2180 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2181
2182 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2183 * libc/machine/spu/vec_literal.h: Ditto.
2184 * libc/machine/spu/strncmp.c: Ditto.
2185
2186 2007-01-15 Joseph Myers <joseph@codesourcery.com>
2187 Kazu Hirata <kazu@codesourcery.com>
2188
2189 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2190 for E500V1 and E500V2.
2191
2192 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2193
2194 * libm/configure.in: Always configure machine directory.
2195 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2196 unconditionally.
2197 * libm/configure: Regenerated.
2198 * libm/Makefile.in: Ditto.
2199 * libm/*/Makefile.in: Ditto.
2200
2201 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2202
2203 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2204
2205 2007-01-02 Ben Elliston <bje@au.ibm.com>
2206
2207 * doc/makedoc.c: Include <stdlib.h>.
2208 (malloc, realloc): Remove extern declarations.
2209
2210 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2211
2212 * NEWS: Update with 1.15.0 info.
2213 * README: Ditto.
2214 * acinclude.m4: Change version number to 1.15.0.
2215 * aclocal.m4: Regenerated.
2216 * configure: Ditto.
2217 * doc/aclocal.m4: Ditto.
2218 * doc/configure: Ditto.
2219 * libc/*/aclocal.m4: Ditto.
2220 * libc/*/configure: Ditto.
2221 * libc/libc.texinfo: Ditto.
2222 * libm/*/aclocal.m4: Ditto.
2223 * libm/*/configure: Ditto.
2224 * libm/libm.texinfo: Ditto.
2225 * libc/sys/linux/shared.ld: Add VERS_1.15.
2226
2227 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
2228
2229 Merge from newlib-csl-20060320-branch:
2230 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2231 Kazu Hirata <kazu@codesourcery.com>
2232
2233 * configure.host: Recognize fido.
2234
2235 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
2236
2237 * libc/machine/spu/c99ppe.h: New file
2238 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2239 * libc/machine/spu/printf.c: New file
2240 * libc/machine/spu/putchar.c: New file
2241 * libc/machine/spu/puts.c: New file
2242 * libc/machine/spu/vprintf.c: New file
2243 * libc/machine/spu/vsnprintf.c: New file
2244 * libc/machine/spu/vsprintf.c: New file
2245 * libc/machine/spu/Makefile.am: Add new targets.
2246 * libc/machine/spu/Makefile.in: Regenerated.
2247
2248 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2249
2250 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2251 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
2252
2253 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2254
2255 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2256 2.6.5 version of Doug Lea's malloc which is the basis of
2257 this code.
2258
2259 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2260
2261 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2262
2263 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
2264 Eric Blake <ebb9@byu.net>
2265
2266 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2267 read but unused data.
2268 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2269 even read streams may have side effects that must happen.
2270
2271 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2272
2273 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
2274 correctly.
2275
2276 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2277
2278 * libc/include/alloca.h: Add undef alloca to work with xlc.
2279
2280 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2281
2282 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
2283 cell spu.
2284
2285 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2286
2287 * libc/machine/spu/strncpy.c: Add padding.
2288
2289 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2290
2291 * testsuite/newlib.string/tstring.c:
2292
2293 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2294
2295 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2296 * libc/machine/spu/strrchr.c: Ditto.
2297
2298 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
2299
2300 * libc/include/math.h: Allow C99 functions/macros to be
2301 defined for C++ even when __STRICT_ANSI__.
2302
2303 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2304
2305 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2306 an asprintf-family buffer, make the default initial size 64.
2307
2308 2006-11-29 Eric Blake <ebb9@byu.net>
2309
2310 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2311 asprintf, as well as quadratic realloc behavior.
2312
2313 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
2314
2315 * libc/machine/spu/memset.c: Fix type of explicit cast.
2316 * libc/machine/spu/strncmp.c: Add explicit cast.
2317 * libc/machine/spu/strrchr.c: Ditto.
2318 * libc/machine/spu/strspn.c: Ditto.
2319
2320 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
2321
2322 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2323 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2324 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2325 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2326 * libc/machine/spu/strncat.c: Explicit cast.
2327 * libc/machine/spu/strncmp.c: Use spu_splats.
2328 * libc/machine/spu/strncpy.c: Explicit cast.
2329 * libc/machine/spu/strrchr.c: Use spu_splats.
2330 * libc/machine/spu/strspn.c: Use spu_splats.
2331
2332 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
2333
2334 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2335
2336 2006-11-14 Eric Blake <ebb9@byu.net>
2337
2338 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2339 (chclass): ' is a flag. j, t, and z are modifiers.
2340
2341 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2342
2343 * configure.host: Add support for bfin.
2344 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2345 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2346 * libc/machine/bfin/aclocal.m4: Generate.
2347 * libc/machine/bfin/configure.in: New.
2348 * libc/machine/bfin/configure: Generate.
2349 * libc/machine/bfin/Makefile.am: New.
2350 * libc/machine/bfin/Makefile.in: Generate.
2351 * libc/machine/bfin/setjmp.S: New.
2352 * libc/machine/bfin/longjmp.S: New.
2353 * libc/machine/configure.in: Add bfin support.
2354 * libc/machine/configure: Generate.
2355
2356 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2357
2358 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2359 (_PC_FILESIZEBITS): Add definition.
2360 (_PC_2_SYMLINKS): Ditto.
2361 (_PC_SYMLINK_MAX): Ditto.
2362
2363 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2364
2365 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2366 version optimized for the cell spu.
2367 * libc/machine/spu/memmove.c: Ditto.
2368 * libc/machine/spu/memset.c: Ditto.
2369 * libc/machine/spu/strcat.c: Ditto.
2370 * libc/machine/spu/strchr.c: Ditto.
2371 * libc/machine/spu/strcmp.c: Ditto.
2372 * libc/machine/spu/strcpy.c: Ditto.
2373 * libc/machine/spu/strcspn.c: Ditto.
2374 * libc/machine/spu/strlen.c: Ditto.
2375 * libc/machine/spu/strncat.c: Ditto.
2376 * libc/machine/spu/strncmp.c: Ditto.
2377 * libc/machine/spu/strncpy.c: Ditto.
2378 * libc/machine/spu/strpbrk.c: Ditto.
2379 * libc/machine/spu/strrchr.c: Ditto.
2380 * libc/machine/spu/strspn.c: Ditto.
2381 * libc/machine/spu/strxfrm.c: Ditto.
2382 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2383 removing altivec style initializers.
2384 * libc/machine/spu/Makefile.am: Add new files to list so they build
2385 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2386
2387 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2388
2389 * README: Add a brief section on how to regenerate
2390 configuration files in newlib.
2391
2392 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2393
2394 * libc/include/math.h: (exception): Add a comment
2395 telling fixincludes that we handle C vs. C++ issue.
2396
2397 2006-10-11 Yang Tse <yangsita@gmail.com>
2398
2399 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2400 braced-groups.
2401
2402 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2403
2404 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2405
2406 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2407
2408 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2409 for clearerr, feof, or fileno.
2410 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2411 the dummy std stream scheme to use pointers to const external
2412 fake files, one for each standard stream.
2413 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2414 argument. For _REENT_SMALL, reset the file pointer if it
2415 matches one of the fake std stream pointers.
2416 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2417 argument.
2418 * libc/stdio/fclose.c: Ditto.
2419 * libc/stdio/feof.c: Ditto.
2420 * libc/stdio/ferror.c: Ditto.
2421 * libc/stdio/fflush.c: Ditto.
2422 * libc/stdio/fgetc.c: Ditto.
2423 * libc/stdio/fgets.c: Ditto.
2424 * libc/stdio/fileno.c: Ditto.
2425 * libc/stdio/findfp.c: Ditto.
2426 * libc/stdio/fputc.c: Ditto.
2427 * libc/stdio/fputs.c: Ditto.
2428 * libc/stdio/fread.c: Ditto.
2429 * libc/stdio/freopen.c: Ditto.
2430 * libc/stdio/fseek.c: Ditto.
2431 * libc/stdio/ftell.c: Ditto.
2432 * libc/stdio/fwrite.c: Ditto.
2433 * libc/stdio/getc.c: Ditto.
2434 * libc/stdio/getdelim.c: Ditto.
2435 * libc/stdio/putc.c: Ditto.
2436 * libc/stdio/refill.c: Ditto.
2437 * libc/stdio/setvbuf.c: Ditto.
2438 * libc/stdio/ungetc.c: Ditto.
2439 * libc/stdio/vfprintf.c: Ditto.
2440 * libc/stdio/vfscanf.c: Ditto.
2441 * libc/stdio/wbuf.c: Ditto.: Ditto.
2442 * libc/stdio/wsetup.c: Ditto.
2443 * libc/stdio64/freopen64.c: Ditto.
2444 * libc/stdio64/fseeko64.c: Ditto.
2445 * libc/stdio64/ftello64.c: Ditto.
2446 * libc/machine/powerpc/vfprintf.c: Ditto.
2447 * libc/machine/powerpc/vfscanf.c: Ditto.
2448
2449 2006-09-22 Paul Brook <paul@codesourcery.com>
2450
2451 * libc/include/sys/reent.h: Define and use __reent_assert.
2452
2453 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2454
2455 * libc/include/pthread.h: Add pthread barriers,
2456 rwlocks, and spinlocks. Change const to
2457 _CONST and prefix parameter names with
2458 an underscore.
2459 * libc/include/sys/types.h: Add id and attribute
2460 types for barriers, wrlocks, and spinlocks.
2461 * libc/include/sys/features.h: Enable barriers,
2462 wrlocks, and spinlocks for RTEMS.
2463
2464 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2465
2466 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2467 supposed to be writable.
2468 * libm/common/s_lib_ver.c: Ditto.
2469
2470 2006-09-12 Paul Brook <paul@codesourcery.com>
2471
2472 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2473
2474 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2475
2476
2477 * libc/machine/xstormy16/Makefile.am:
2478 Add $(lpfx) prefix to LIBADD objects.
2479 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2480 * libc/machine/xstormy16/Makefile.in: Regenerated.
2481
2482 2006-09-06 Eric Blake <ebb9@byu.net>
2483
2484 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2485 't', and 'z' modifiers.
2486
2487 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2488
2489 Merge from newlib-csl-20060320-branch:
2490 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2491
2492 * configure.host: Tell it we have _rename and _system when
2493 building m68k-unknown-elf.
2494
2495 2006-08-29 Paul Brook <paul@codesourcery.com>
2496
2497 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2498
2499 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2500
2501 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2502 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2503 This is needed to build all AVR and H8300 RTEMS multilib variants.
2504
2505 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2506
2507 * libc/machine/configure.in: Add configuration for SPU.
2508 * libc/machine/configure: Regenerated.
2509 * libc/machine/spu/memcpy.c: Include string.h.
2510
2511 2006-08-22 Eric Blake <ebb9@byu.net>
2512
2513 * libc/posix/popen.c (popen): Don't close output end of pipe in
2514 child if stdout was closed on entry.
2515 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2516
2517 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2518
2519 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2520 line.
2521
2522 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2523
2524 * libc/time/gmtime.c: Correct man page; clock is not a
2525 local time and no conversion occurs.
2526
2527 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2528
2529 * configure.host (newlib_cflags) [spu]: Add special compiler
2530 options to reduce size.
2531
2532 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2533
2534 * configure.host: Add spu support.
2535 * libc/include/stdint.h: Ditto.
2536 * libc/include/machine/ieeefp.h: Ditto.
2537 * libc/include/machine/setjmp.h: Ditto.
2538 * libc/include/sys/config.h: Ditto.
2539 * libc/include/sys/types.h: Ditto.
2540 * libc/machine/spu/Makefile.am: New file.
2541 * libc/machine/spu/Makefile.in: Ditto.
2542 * libc/machine/spu/aclocal.m4: Ditto.
2543 * libc/machine/spu/configure: Ditto.
2544 * libc/machine/spu/configure.in: Ditto.
2545 * libc/machine/spu/memcpy.c: Ditto.
2546 * libc/machine/spu/setjmp.S: Ditto.
2547
2548 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2549
2550 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2551 properly.
2552
2553 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2554
2555 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2556 generated .texi files.
2557 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2558 generated .texi files.
2559 * libc/Makefile.in: Regenerated.
2560 * libm/Makefile.in: Ditto.
2561
2562 2006-08-01 Thiemo Seufer <ths@mips.com>
2563 Nigel Stephens <nigel@mips.com>
2564
2565 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2566 define this to force _impure_ptr to live in the .sdata section.
2567
2568 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2569
2570 * acinclude.m4: Check for readelf tool.
2571 * configure.in: Use ${READELF} instead of hard-coding.
2572 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2573
2574 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2575
2576 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2577 to avoid conflict with newer glibc's revision of mremap.
2578
2579 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2580
2581 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2582 floating-point format support. Also redefine
2583 dword0 and dword1 macros.
2584 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2585 to prevent setting dword1 which is an rvalue only.
2586
2587 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2588
2589 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2590 * libc/stdlib/Makefile.in: Regenerated.
2591 * libc/stdlib/gd_qnan.h: New file.
2592 * libc/stdlib/gdtoa-gethex.c: Ditto.
2593 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2594 * libc/stdlib/gdtoa.h: Ditto.
2595 * libc/stdlib/mprec.c: Add new helper routines needed by
2596 the new gdtoa code.
2597 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2598 used by gdtoa routines here.
2599 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2600 which adds C99 support such as nan, inf, and hexadecimal input
2601 format.
2602
2603 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2604
2605 * libc/include/stdio.h (__sgetc_r): Fix typo.
2606 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2607 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2608 * libc/stdio/wbuf.c (__swbuf): Ditto.
2609
2610 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2611
2612 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2613 read/write functions. Change getc/putc macros to have reentrant underlying
2614 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2615 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2616 new reentrant I/O functions/macros for reading/writing.
2617 * libc/stdio/fgets.c: Ditto.
2618 * libc/stdio/fputc.c: Ditto.
2619 * libc/stdio/fputs.c: Ditto.
2620 * libc/stdio/fread.c: Ditto.
2621 * libc/stdio/fseek.c: Ditto.
2622 * libc/stdio64/fseeko64.c: Ditto.
2623 * libc/stdio/fwrite.c: Ditto.
2624 * libc/stdio/getc.c: Ditto.
2625 * libc/stdio/getc_u.c: Ditto.
2626 * libc/stdio/getchar.c: Ditto.
2627 * libc/stdio/getchar_u.c: Ditto.
2628 * libc/stdio/putc.c: Ditto.
2629 * libc/stdio/putc_u.c: Ditto.
2630 * libc/stdio/putchar.c: Ditto.
2631 * libc/stdio/puts.c: Ditto.
2632 * libc/stdio/vfprintf.c: Ditto.
2633 * libc/stdio/vfscanf.c: Ditto.
2634 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2635 Change all previous callers of __sfvwrite. Set errno to EBADF and
2636 set error flag on if attempt is made to write to file that does not
2637 allow writing.
2638 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2639 * libc/stdio/local.h: Ditto.
2640 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2641 Set errno to EBADF and the error flag on if attempt is made to
2642 read unreadable file. Change all previous callers of __srefill.
2643 * libc/stdio/rget.c
2644 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2645 all previous callers of __swbuf.
2646 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2647 huge value macros are already defined correctly for i386 by <math.h>.
2648
2649 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2650
2651 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2652 Make them do something useful in the ARM_RDI_MONITOR case.
2653
2654 2006-06-07 Fred Fish <fnf@specifix.com>
2655
2656 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2657 defines that are already supplied by <sys/param.h>.
2658
2659 2006-06-07 Fred Fish <fnf@specifix.com>
2660
2661 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2662
2663 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2664
2665 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2666 usleep.c.
2667 * libc/posix/Makefile.in: Regenerate.
2668 * libc/posix/sleep.c: New file.
2669 * libc/posix/usleep.c: Ditto.
2670
2671 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2672
2673 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2674 -DABORT_PROVIDED flag.
2675 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2676 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2677
2678 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2679
2680 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2681 * Makefile.in: Regenerated.
2682 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2683 extraneous CFLAGS reference now that CCASFLAGS are being extended
2684 properly via multilib.
2685 * libc/machine/sh/Makefile.in: Regenerated.
2686
2687 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2688
2689 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2690 sigismember.
2691
2692 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2693
2694 * libc/misc/dprintf.c: Removed.
2695 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2696 * libc/misc/Makefile.am: Changed appropriately for rename.
2697 * libc/misc/Makefile.in: Regenerated.
2698
2699 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2700
2701 * libc/include/stdio.h: Protect dprintf prototype
2702 with #ifndef dprintf so as to not interfere with
2703 historical code defining their own dprintf macro.
2704
2705 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2706
2707 * libc/include/stdio.h: Add prototypes for fiscanf,
2708 iscanf, and siscanf.
2709
2710 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2711
2712 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2713 (DEF_NEWLIB_VERSION).
2714 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2715 * configure: Regenerate.
2716
2717 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2718
2719 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2720 lib_a_SOURCES.
2721 * libc/ctype/Makefile.in: Regenerated.
2722
2723 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2724
2725 * libc/machine/arm/Makefile.am: Fix a typo.
2726 * libc/machine/arm/Makefile.in: Regenerated.
2727
2728 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2729
2730 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2731 * libc/machine/sh/Makefile.in: Regenerate.
2732
2733 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2734
2735 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2736 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2737
2738 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2739
2740 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2741 .s.
2742 * libc/sys/sysnec810/Makefile.in: Regenerated.
2743 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2744 * libc/sys/sysnec810/io.S: Ditto.
2745 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2746 * libc/sys/sysnec810/io.s: Ditto.
2747
2748 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2749
2750 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2751 be specified instead of object, do so.
2752 * libc/ctype/Makefile.am: Ditto.
2753 * libc/iconv/ccs/Makefile.am: Ditto.
2754 * libc/iconv/ces/Makefile.am: Ditto.
2755 * libc/iconv/lib/Makefile.am: Ditto.
2756 * libc/locale/Makefile.am: Ditto.
2757 * libc/posix/Makefile.am: Ditto.
2758 * libc/reent/Makefile.am: Ditto.
2759 * libc/search/Makefile.am: Ditto.
2760 * libc/stdio/Makefile.am: Ditto.
2761 * libc/stdio64/Makefile.am: Ditto.
2762 * libc/stdlib/Makefile.am: Ditto.
2763 * libc/string/Makefile.am: Ditto.
2764 * libc/syscalls/Makefile.am: Ditto.
2765 * libc/unix/Makefile.am: Ditto.
2766 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2767 prefix added automatically. Any specified rules must use $(lpfx) for
2768 object file names.
2769 * libc/machine/arm/Makefile.am: Ditto.
2770 * libc/machine/cris/Makefile.am: Ditto.
2771 * libc/machine/crx/Makefile.am: Ditto.
2772 * libc/machine/d10v/Makefile.am: Ditto.
2773 * libc/machine/d30v/Makefile.am: Ditto.
2774 * libc/machine/fr30/Makefile.am: Ditto.
2775 * libc/machine/frv/Makefile.am: Ditto.
2776 * libc/machine/h8300/Makefile.am: Ditto.
2777 * libc/machine/h8500/Makefile.am: Ditto.
2778 * libc/machine/hppa/Makefile.am: Ditto.
2779 * libc/machine/i386/Makefile.am: Ditto.
2780 * libc/machine/i960/Makefile.am: Ditto.
2781 * libc/machine/iq2000/Makefile.am: Ditto.
2782 * libc/machine/m32c/Makefile.am: Ditto.
2783 * libc/machine/m32r/Makefile.am: Ditto.
2784 * libc/machine/m68hc11/Makefile.am: Ditto.
2785 * libc/machine/m68k/Makefile.am: Ditto.
2786 * libc/machine/m88k/Makefile.am: Ditto.
2787 * libc/machine/mips/Makefile.am: Ditto.
2788 * libc/machine/mn10200/Makefile.am: Ditto.
2789 * libc/machine/mn10300/Makefile.am: Ditto.
2790 * libc/machine/mt/Makefile.am: Ditto.
2791 * libc/machine/necv70/Makefile.am: Ditto.
2792 * libc/machine/powerpc/Makefile.am: Ditto.
2793 * libc/machine/sh/Makefile.am: Ditto.
2794 * libc/machine/sh/Makefile.in: Ditto.
2795 * libc/machine/sparc/Makefile.am: Ditto.
2796 * libc/machine/tic4x/Makefile.am: Ditto.
2797 * libc/machine/tic80/Makefile.am: Ditto.
2798 * libc/machine/v850/Makefile.am: Ditto.
2799 * libc/machine/w65/Makefile.am: Ditto.
2800 * libc/machine/xscale/Makefile.am: Ditto.
2801 * libc/machine/xstormy16/Makefile.am: Ditto.
2802 * libc/machine/z8k/Makefile.am: Ditto.
2803 * libc/sys/a29khif/Makefile.am: Ditto.
2804 * libc/sys/arm/Makefile.am: Ditto.
2805 * libc/sys/d10v/Makefile.am: Ditto.
2806 * libc/sys/h8300hms/Makefile.am: Ditto.
2807 * libc/sys/h8500hms/Makefile.am: Ditto.
2808 * libc/sys/linux/Makefile.am: Ditto.
2809 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2810 * libc/sys/linux/net/Makefile.am: Ditto.
2811 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2812 * libc/sys/m88kbug/Makefile.am: Ditto.
2813 * libc/sys/mmixware/Makefile.am: Ditto.
2814 * libc/sys/rdos/Makefile.am: Ditto.
2815 * libc/sys/rtems/Makefile.am: Ditto.
2816 * libc/sys/sh/Makefile.am: Ditto.
2817 * libc/sys/sun4/Makefile.am: Ditto.
2818 * libc/sys/sysmec/Makefile.am: Ditto.
2819 * libc/sys/sysnec810/Makefile.am: Ditto.
2820 * libc/sys/sysnecv850/Makefile.am: Ditto.
2821 * libc/sys/sysvi386/Makefile.am: Ditto.
2822 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2823 * libc/sys/tic80/Makefile.am: Ditto.
2824 * libc/sys/w65/Makefile.am: Ditto.
2825 * libc/sys/z8ksim/Makefile.am: Ditto.
2826 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2827 * libc/machine/necv70/setjmp.S: Ditto.
2828 * libc/machine/necv70/fastmath.s: Removed.
2829 * libc/machine/necv70/setjmp.s: Ditto.
2830 * libc/machine/w65/*.S: New files renamed from .s files.
2831 * libc/machine/w65/*.s: Renamed and removed.
2832 * libc/sys/a29khif/*.S: New files renamed from .s files.
2833 * libc/sys/a29khif/*.s: Renamed and removed.
2834 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2835 * libc/sys/sysvi386/*.s: Renamed and removed.
2836 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2837 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2838 * libc/*Makefile.in: Regenerated as appropriate.
2839
2840 2006-04-24 DJ Delorie <dj@redhat.com>
2841
2842 * libc/machine/sh/configure.in: Avoid link tests.
2843 * libc/machine/sh/configure: Regenerate.
2844
2845 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2846
2847 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2848 (sigaddset, sigemptyset): Add return code.
2849
2850 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2851
2852 * acinclude.m4: New _NEWLIB_VERSION.
2853 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2854 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2855 Use new form of AC_INIT_AUTOMAKE.
2856 * configure.in: AC_PREREQ(2.59).
2857 Use autoconf-2.5.x version of AC_INIT.
2858 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2859 autoconf-2.13's AC_OUTPUT.
2860 * libm/configure.in: Ditto.
2861 * libm/machine/configure.in: Ditto.
2862 * libm/machine/i386/configure.in: Ditto.
2863 * libc/configure.in: Ditto.
2864 * libc/machine/a29k/configure.in: Ditto.
2865 * libc/machine/arm/configure.in: Ditto.
2866 * libc/machine/configure.in: Ditto.
2867 * libc/machine/mn10300/configure.in: Ditto.
2868 * libc/machine/powerpc/configure.in: Ditto.
2869 * libc/machine/z8k/configure.in: Ditto.
2870 * libc/machine/h8300/configure.in: Ditto.
2871 * libc/machine/mips/configure.in: Ditto.
2872 * libc/machine/crx/configure.in: Ditto.
2873 * libc/machine/m68hc11/configure.in: Ditto.
2874 * libc/machine/h8500/configure.in: Ditto.
2875 * libc/machine/xscale/configure.in: Ditto.
2876 * libc/machine/d10v/configure.in: Ditto.
2877 * libc/machine/fr30/configure.in: Ditto.
2878 * libc/machine/sh/configure.in: Ditto.
2879 * libc/machine/tic80/configure.in: Ditto.
2880 * libc/machine/m32r/configure.in: Ditto.
2881 * libc/machine/xstormy16/configure.in: Ditto.
2882 * libc/machine/i386/configure.in: Ditto.
2883 * libc/machine/d30v/configure.in: Ditto.
2884 * libc/machine/mn10200/configure.in: Ditto.
2885 * libc/machine/frv/configure.in: Ditto.
2886 * libc/machine/mt/configure.in: Ditto.
2887 * libc/machine/i960/configure.in: Ditto.
2888 * libc/machine/v850/configure.in: Ditto.
2889 * libc/machine/necv70/configure.in: Ditto.
2890 * libc/machine/tic4x/configure.in: Ditto.
2891 * libc/machine/cris/configure.in: Ditto.
2892 * libc/machine/m68k/configure.in: Ditto.
2893 * libc/machine/m32c/configure.in: Ditto.
2894 * libc/machine/hppa/configure.in: Ditto.
2895 * libc/machine/w65/configure.in: Ditto.
2896 * libc/machine/iq2000/configure.in: Ditto.
2897 * libc/machine/sparc/configure.in: Ditto.
2898 * libc/machine/m88k/configure.in: Ditto.
2899 * libc/sys/linux/configure.in: Ditto.
2900 * libc/sys/linux/machine/configure.in: Ditto.
2901 * libc/sys/linux/machine/i386/configure.in: Ditto.
2902 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2903 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2904 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2905 * libc/sys/arm/configure.in: Ditto.
2906 * libc/sys/configure.in: Ditto.
2907 * libc/sys/decstation/configure.in: Ditto.
2908 * libc/sys/a29khif/configure.in: Ditto.
2909 * libc/sys/sysnecv850/configure.in: Ditto.
2910 * libc/sys/d10v/configure.in: Ditto.
2911 * libc/sys/netware/configure.in: Ditto.
2912 * libc/sys/mmixware/configure.in: Ditto.
2913 * libc/sys/h8500hms/configure.in: Ditto.
2914 * libc/sys/sh/configure.in: Ditto.
2915 * libc/sys/tic80/configure.in: Ditto.
2916 * libc/sys/rdos/configure.in: Ditto.
2917 * libc/sys/sysmec/configure.in: Ditto.
2918 * libc/sys/sysvi386/configure.in: Ditto.
2919 * libc/sys/h8300hms/configure.in: Ditto.
2920 * libc/sys/sparc64/configure.in: Ditto.
2921 * libc/sys/arc/configure.in: Ditto.
2922 * libc/sys/sysnec810/configure.in: Ditto.
2923 * libc/sys/m88kbug/configure.in: Ditto.
2924 * libc/sys/sysvnecv70/configure.in: Ditto.
2925 * libc/sys/z8ksim/configure.in: Ditto.
2926 * libc/sys/rtems/configure.in: Ditto.
2927 * libc/sys/w65/configure.in: Ditto.
2928 * libc/sys/sun4/configure.in: Ditto.
2929 * doc/configure.in: Ditto.
2930 * iconvdata/configure.in: Ditto.
2931 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2932
2933 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2934
2935 * acinclude.m4: Properly add square brackets for
2936 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2937 macros no longer available. Add LIB_AM_PROG_AS to
2938 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2939 macro. Substitute lpfx (library object prefix).
2940 * configure.host: Set lpfx depending on whether
2941 libtool is used or not.
2942 * configure.in: Individually specify libc and libm
2943 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2944 necessary.
2945 * Makefile.am: Use $(lpfx) to get object names for
2946 math-library functions that should also be in libc.
2947 * libc/machine/configure.in: Use case statement to determine
2948 AC_CONFIG_SUBDIRS statement.
2949 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2950 * libc/sys/linux/machine/configure.in: Ditto.
2951 * libc/sys/configure.in: Ditto.
2952 * libm/machine/configure.in: Ditto.
2953 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2954 * libm/configure.in: Add AM_CONDITIONAL statement
2955 for HAVE_LIBM_MACHINE_DIR.
2956 * libc/machine/a29k/Makefile.am: Modified to work with
2957 latest automake. Change includes setting AM_CCASFLAGS
2958 so building .S files will properly pick up flags used
2959 to build C files.
2960 * libc/machine/arm/Makefile.am: Ditto.
2961 * libc/machine/crx/Makefile.am: Ditto.
2962 * libc/machine/d10v/Makefile.am: Ditto.
2963 * libc/machine/d30v/Makefile.am: Ditto.
2964 * libc/machine/fr30/Makefile.am: Ditto.
2965 * libc/machine/frv/Makefile.am: Ditto.
2966 * libc/machine/h8300/Makefile.am: Ditto.
2967 * libc/machine/h8500/Makefile.am: Ditto.
2968 * libc/machine/hppa/Makefile.am: Ditto.
2969 * libc/machine/i386/Makefile.am: Ditto.
2970 * libc/machine/iq2000/Makefile.am: Ditto.
2971 * libc/machine/m32c/Makefile.am: Ditto.
2972 * libc/machine/m32r/Makefile.am: Ditto.
2973 * libc/machine/m68hc11/Makefile.am: Ditto.
2974 * libc/machine/m68k/Makefile.am: Ditto.
2975 * libc/machine/m88k/Makefile.am: Ditto.
2976 * libc/machine/mips/Makefile.am: Ditto.
2977 * libc/machine/mn10200/Makefile.am: Ditto.
2978 * libc/machine/mn10300/Makefile.am: Ditto.
2979 * libc/machine/mt/Makefile.am: Ditto.
2980 * libc/machine/necv70/Makefile.am: Ditto.
2981 * libc/machine/powerpc/Makefile.am: Ditto.
2982 * libc/machine/sh/Makefile.am: Ditto.
2983 * libc/machine/sparc/Makefile.am: Ditto.
2984 * libc/machine/tic4x/Makefile.am: Ditto.
2985 * libc/machine/tic80/Makefile.am: Ditto.
2986 * libc/machine/v850/Makefile.am: Ditto.
2987 * libc/machine/w65/Makefile.am: Ditto.
2988 * libc/machine/xscale/Makefile.am: Ditto.
2989 * libc/machine/xstormy16/Makefile.am: Ditto.
2990 * libc/machine/z8k/Makefile.am: Ditto.
2991 * libc/sys/a29khif/Makefile.am: Ditto.
2992 * libc/sys/arc/Makefile.am: Ditto.
2993 * libc/sys/arm/Makefile.am: Ditto.
2994 * libc/sys/d10v/Makefile.am: Ditto.
2995 * libc/sys/decstation/Makefile.am: Ditto.
2996 * libc/sys/h8300hms/Makefile.am: Ditto.
2997 * libc/sys/h8500hms/Makefile.am: Ditto.
2998 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2999 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
3000 * libc/sys/m88kbug/Makefile.am: Ditto.
3001 * libc/sys/mmixware/Makefile.am: Ditto.
3002 * libc/sys/netware/Makefile.am: Ditto.
3003 * libc/sys/rdos/Makefile.am: Ditto.
3004 * libc/sys/rtems/Makefile.am: Ditto.
3005 * libc/sys/sh/Makefile.am: Ditto.
3006 * libc/sys/sparc64/Makefile.am: Ditto.
3007 * libc/sys/sysmec/Makefile.am: Ditto.
3008 * libc/sys/sysnec810/Makefile.am: Ditto.
3009 * libc/sys/sysnecv850/Makefile.am: Ditto.
3010 * libc/sys/sysvi386/Makefile.am: Ditto.
3011 * libc/sys/sysvnecv70/Makefile.am: Ditto.
3012 * libc/sys/tic80/Makefile.am: Ditto.
3013 * libc/sys/w65/Makefile.am: Ditto.
3014 * libc/sys/z8ksim/Makefile.am: Ditto.
3015 * libm/machine/i386/Makefile.am: Ditto.
3016 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
3017 trap.S so that automake will generate a .S.o suffix rule.
3018 * libc/argz/Makefile.am: Modified to work with
3019 latest automake. Change includes adding lib_a_CFLAGS
3020 so automake doesn't complain about libtool and non-libtool
3021 libraries sharing objects.
3022 * libc/ctype/Makefile.am: Ditto.
3023 * libc/errno/Makefile.am: Ditto.
3024 * libc/iconv/ccs/Makefile.am: Ditto.
3025 * libc/iconv/ces/Makefile.am: Ditto.
3026 * libc/iconv/lib/Makefile.am: Ditto.
3027 * libc/locale/Makefile.am: Ditto.
3028 * libc/misc/Makefile.am: Ditto.
3029 * libc/posix/Makefile.am: Ditto.
3030 * libc/reent/Makefile.am: Ditto.
3031 * libc/search/Makefile.am: Ditto.
3032 * libc/signal/Makefile.am: Ditto.
3033 * libc/stdio/Makefile.am: Ditto.
3034 * libc/stdio64/Makefile.am: Ditto.
3035 * libc/stdlib/Makefile.am: Ditto.
3036 * libc/string/Makefile.am: Ditto.
3037 * libc/sys/linux/Makefile.am: Ditto.
3038 * libc/sys/linux/argp/Makefile.am: Ditto.
3039 * libc/sys/linux/cmath/Makefile.am: Ditto.
3040 * libc/sys/linux/dl/Makefile.am: Ditto.
3041 * libc/sys/linux/iconv/Makefile.am: Ditto.
3042 * libc/sys/linux/intl/Makefile.am: Ditto.
3043 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3044 * libc/sys/linux/net/Makefile.am: Ditto.
3045 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3046 * libc/syscalls/Makefile.am: Ditto.
3047 * libc/time/Makefile.am: Ditto.
3048 * libc/unix/Makefile.am: Ditto.
3049 * libm/Makefile.am: Ditto.
3050 * libm/common/Makefile.am: Ditto.
3051 * libm/math/Makefile.am: Ditto.
3052 * libm/mathfp/Makefile.am: Ditto.
3053 * Regenerate all aclocal.m4, Makefile.in, and configure files.
3054
3055 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
3056
3057 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
3058 anymore. Assume there is a gettimeofday syscall.
3059
3060 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3061
3062 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
3063 for the declaration of n_long.
3064
3065 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3066
3067 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
3068 struct sockaddr.
3069 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
3070 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
3071 (IFF_NOTRAILERS): New define.
3072 (struct ifreq): Add ifru_netmask.
3073 (ifr_netmask): New define.
3074
3075 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3076
3077 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3078 match sys/ioctl.h.
3079
3080 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3081
3082 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
3083 linux-newlib libc implementations.
3084
3085 2006-03-29 Eric Blake <ebb9@byu.net>
3086
3087 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3088 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3089
3090 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3091
3092 * libc/sys/linux/io.c (__mknod): Fix declaration of
3093 syscall to pass a dev_t as third argument rather than
3094 a pointer to dev_t.
3095
3096 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3097
3098 * libc/sys/linux/net/name6.c: Fix struct references.
3099
3100 2006-03-22 Mark Mitchell <mark@codesourcery.com>
3101
3102 * configure.host: Allow hosts to set the default
3103 newlib_atexit_dynamic_alloc value.
3104 * configure.in: Likewise.
3105 * configure: Regenerated.
3106
3107 2006-03-20 Mark Mitchell <mark@codesourcery.com>
3108
3109 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3110 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
3111 option.
3112 * configure: Regenerated.
3113 * newlib.hin: Regenerated.
3114 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3115 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3116 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3117 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3118
3119 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3120
3121 * libc/sys/linux/linuxthreads/config.h: Remove definition
3122 of UINT32_C.
3123
3124 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3125
3126 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3127 for a string I/O file that isn't using the asprintf family.
3128
3129 2006-03-07 Eric Blake <ebb9@byu.net>
3130
3131 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3132 filename, allow read-only or write-only FILE atop O_RDWR file
3133 descriptor.
3134 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3135
3136 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3137
3138 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3139 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3140
3141 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3142
3143 * libm/math/math.tex: Fix reference to sisnan.def which
3144 is now in common subdirectory.
3145 * libm/mathfp/mathfp.tex: Ditto.
3146
3147 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3148
3149 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
3150 s_isnand, and sf_isnanf object files.
3151 * Makefile.in: Regenerated.
3152 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3153 conflict if <math.h> has previously been included.
3154 * libc/include/math.h
3155 * libc/include/math.h: Make isnan and isinf macros to
3156 conform to C99.
3157 (__isinfd, __isinff, __isnand, __isnanf): New functions.
3158 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3159 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
3160 sf_isinf files which have been moved from math/mathfp directories.
3161 * libm/common/Makefile.in: Regenerated.
3162 * libm/common/s_isinfd.c: New file.
3163 * libm/common/s_isnand.c: Ditto.
3164 * libm/common/sf_isinff.c: Ditto.
3165 * libm/common/sf_isnanf.c: Ditto.
3166 * libm/common/s_isinf.c: Moved from libm/math directory.
3167 * libm/common/s_isnan.c: Ditto.
3168 * libm/common/sf_isinf.c: Ditto.
3169 * libm/common/sf_isnan.c: Ditto.
3170 * libm/math/Makefile.am: Remove isinf and isnan family functions
3171 which have been moved into common directory.
3172 * libm/mathfp/Makefile.am: Ditto.
3173 * libm/math/Makefile.in: Regenerated.
3174 * libm/mathfp/Makefile.in: Ditto.
3175 * libm/math/s_isinf.c: Removed.
3176 * libm/math/s_isnan.c: Ditto.
3177 * libm/math/sf_isinf.c: Ditto.
3178 * libm/math/sf_isnan.c: Ditto.
3179 * libm/mathfp/s_isinf.c: Ditto.
3180 * libm/mathfp/s_isnan.c: Ditto.
3181 * libm/mathfp/sf_isinf.c: Ditto.
3182 * libm/mathfp/sf_isnan.c: Ditto.
3183
3184 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3185
3186 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3187 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3188 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3189 seek, turn off the __SNPT no-optimization flag.
3190
3191 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3192
3193 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3194 will be defined.
3195 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3196 <features.h> to preset special flags.
3197
3198 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
3199
3200 * libc/include/sys/time.h (struct timeval): Change member types
3201 according to SUSv3.
3202 * libc/include/sys/types.h (useconds_t): Change to unsigned
3203 according to SUSv3.
3204 (suseconds_t): Define type.
3205
3206 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3207 David Carne <davidcarne@gmail.com>
3208
3209 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3210 instead of strlen to determine number of bytes to copy.
3211 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3212 before looking at storage location.
3213
3214 2006-02-07 Paul Brook <paul@codesourcery.com>
3215
3216 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3217 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3218 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3219 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3220 * libc/sys/arm/trap.S: Disable for Thumb-2.
3221
3222 2006-01-31 Leif Ekblad <leif@rdos.net>
3223
3224 * configure.host: RDOS support added
3225 * libc/include/sys/config.h: Ditto.
3226 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3227 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3228 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3229 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3230 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3231 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3232 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3233 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3234 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3235 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3236 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3237 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3238 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3239 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3240 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3241 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3242 * libc/sys/rdos/write.c: Ditto.
3243
3244 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3245
3246 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3247 so as not to define PACKAGE and VERSION in newlib.h.
3248 * aclocal.m4: Regenerated.
3249 * configure: Ditto.
3250 * newlib.hin: Ditto.
3251
3252 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3253
3254 * acconfig.h: New file to generate newlib.hin from.
3255 * newlib.hin: Regenerated.
3256 * stamp-h.in: Regenerated.
3257 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3258 called automatically.
3259 * Makefile.in: Regenerated.
3260 * acinclude.m4: Add proper comment for hack in previous change.
3261 * aclocal.m4 */aclocal.m4: Regenerated.
3262 * configure */configure: Regenerated.
3263
3264 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3265
3266 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3267 from being set to "../".
3268 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3269 * aclocal.m4: Regenerated.
3270 * configure: Ditto.
3271 * Makefile.in: Ditto.
3272 * doc/aclocal.m4: Ditto.
3273 * doc/configure: Ditto.
3274 * iconvdata/aclocal.m4: Ditto.
3275 * iconvdata/configure: Ditto.
3276 * libc/*/aclocal.m4: Ditto.
3277 * libc/*/configure: Ditto.
3278 * libc/libc.texinfo: Ditto.
3279 * libm/*/aclocal.m4: Ditto.
3280 * libm/*/configure: Ditto.
3281
3282 2006-01-10 Eric Blake <ebb9@byu.net>
3283
3284 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3285 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3286
3287 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3288
3289 * libm/mathfp/s_frexp.c: Check for special values on
3290 the original input, not the manipulated output value.
3291 * libm/mathfp/sf_frexp.c: Ditto.
3292 * libm/mathfp/s_atangent.c: Don't use local value branch
3293 when checking for quadrant.
3294 * libm/mathfp/sf_atangent.c: Ditto.
3295
3296 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3297
3298 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3299 * libc/stdio64/freopen64.c: Ditto.
3300
3301 2006-01-09 Eric Blake <ebb9@byu.net>
3302
3303 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3304 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3305
3306 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3307
3308 * libc/sys/linux/include/getopt.h: Add macros needed by
3309 new version of getopt.c in libc/stdlib.
3310
3311 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3312
3313 * libc/stdlib/getopt.c: Replaced with version
3314 that adds getopt_long and getopt_long_only support.
3315 * libc/include/getopt.h: New file.
3316
3317 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3318
3319 * NEWS: Update with 1.14.0 info.
3320 * README: Ditto.
3321 * acinclude.m4: Change version number to 1.14.0.
3322 * aclocal.m4: Regenerated.
3323 * configure: Ditto.
3324 * doc/aclocal.m4: Ditto.
3325 * doc/configure: Ditto.
3326 * libc/*/aclocal.m4: Ditto.
3327 * libc/*/configure: Ditto.
3328 * libc/libc.texinfo: Ditto.
3329 * libm/*/aclocal.m4: Ditto.
3330 * libm/*/configure: Ditto.
3331 * libm/libm.texinfo: Ditto.
3332 * libc/sys/linux/shared.ld: Add VERS_1.14.
3333
3334 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3335
3336 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3337 take a pointer to struct stat64 rather than struct stat.
3338
3339 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3340
3341 * libc/include/stdint.h: Prefer long over int for int32_t.
3342 Use __have_long32 to set up int32_t.
3343 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3344 (Sync with stdint.h).
3345
3346 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3347
3348 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3349 typo in O_NDELAY comment.
3350
3351 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3352
3353 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3354 * libc/include/machine/setjmp.h (__mt__): Likewise.
3355 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3356 * libc/machine/configure.in: Ditto.
3357
3358 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3359
3360 * configure.host: Replace ms1 arch with mt arch.
3361 * libc/machine/mt: Renamed from ms1 dir.
3362
3363 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3364
3365 * libc/include/sys/types.h: Remove the ifdef armour around
3366 standard POSIX types.
3367
3368 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3369
3370 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3371 rtems_gxx_key_delete, rtems_gxx_getspecific,
3372 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3373 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3374 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3375
3376 2005-12-05 Christopher Faylor <cgf@timesys.com>
3377
3378 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3379 file. Declare unsetenv and _unsetenv_r when not cygwin.
3380
3381 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3382
3383 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3384 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3385
3386 2005-11-18 Christopher Faylor <cgf@timesys.com>
3387
3388 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3389
3390 2005-11-18 Christopher Faylor <cgf@timesys.com>
3391
3392 * include/time.h: Remove more cygwin-specific stuff.
3393
3394 2005-11-18 Christopher Faylor <cgf@timesys.com>
3395
3396 * include/time.h: Move cygwin declarations to cygwin-specific header.
3397 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3398
3399 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3400
3401 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3402 in libc/sys/linux/include.
3403 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3404 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3405 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3406 in libc/sys/linux/dl.
3407
3408 2005-11-11 Christopher Faylor <cgf@timesys.com>
3409
3410 * libc/include/sys/time.h: For cygwin, use general header rather than
3411 specific "sys/select.h".
3412
3413 2005-11-08 Tom Walsh <tom@openhardware.net>
3414
3415 * libc/time/tzvars.c: New file.
3416 * libc/time/tzset_r.c: Moved globals into tzvars.c
3417 so other time functions needn't link in __tzset_r and its
3418 dependencies.
3419 * libc/time/Makefile.am: Add the new file.
3420 * libc/time/Makefile.in: Regenerated.
3421
3422 2005-11-08 Christopher Faylor <cgf@timesys.com>
3423
3424 * libc/include/string.h: Add cygwin-specific function declaration.
3425
3426 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3427
3428 * libc/include/ieeefp.h: Add C++ guards.
3429
3430 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3431
3432 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3433 * libc/unix/getlogin.c: Ditto.
3434 * libc/unix/getpass.c: Ditto.
3435 * libc/unix/getut.c: Ditto.
3436 * libc/unix/ttyname.c: Ditto.
3437
3438 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3439
3440 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3441 prototypes by default.
3442 * libc/sys/linux/include/unistd.h (readlink): Remove this
3443 prototype.
3444 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3445 prototypes.
3446
3447 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3448
3449 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3450
3451 2005-10-31 Darin Johnson <darin@usa.net>
3452
3453 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3454 correct for constants.
3455
3456 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3457
3458 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3459 * libc/stdio/siscanf.c: Likewise.
3460 * libc/stdio/sprintf.c: Likewise.
3461 * libc/stdio/sscanf.c: Likewise.
3462 * libc/stdio/vfprintf.c: Likewise.
3463 * libc/stdio/vfscanf.c: Likewise.
3464 * libc/stdio/viprintf.c: Likewise.
3465 * libc/stdio/viscanf.c: Likewise.
3466
3467 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3468
3469 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3470 example to use "_end" symbol instead of "end". Change write example
3471 to use "outbyte" instead of "writechar".
3472
3473 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3474
3475 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3476 * libc/ctype/islower.c: Likewise.
3477 * libc/ctype/isupper.c: Likewise.
3478 * libc/ctype/iswalnum.c: Likewise.
3479 * libc/ctype/iswalpha.c: Likewise.
3480 * libc/ctype/iswblank.c: Likewise.
3481 * libc/ctype/iswcntrl.c: Likewise.
3482 * libc/ctype/iswdigit.c: Likewise.
3483 * libc/ctype/iswgraph.c: Likewise.
3484 * libc/ctype/iswlower.c: Likewise.
3485 * libc/ctype/iswprint.c: Likewise.
3486 * libc/ctype/iswpunct.c: Likewise.
3487 * libc/ctype/iswspace.c: Likewise.
3488 * libc/ctype/iswupper.c: Likewise.
3489 * libc/ctype/iswxdigit.c: Likewise.
3490 * libc/ctype/tolower.c: Likewise.
3491 * libc/ctype/toupper.c: Likewise.
3492 * libc/ctype/towctrans.c: Likewise.
3493 * libc/ctype/towlower.c: Likewise.
3494 * libc/ctype/towupper.c: Likewise.
3495 * libc/string/strcasecmp.c: Likewise.
3496 * libc/string/strcoll.c: Likewise.
3497 * libc/string/strings.tex: Likewise.
3498 * libc/string/strlwr.c: Likewise.
3499 * libc/string/strncasecmp.c: Likewise.
3500 * libc/string/strupr.c: Likewise.
3501 * libc/string/wcscoll.c: Likewise.
3502 * libc/string/wcslcat.c: Likewise.
3503 * libc/string/wcslcpy.c: Likewise.
3504 * libc/string/wcsnlen.c: Likewise.
3505 * libc/string/wcsstr.c: Likewise.
3506 * libc/string/wcstrings.tex: Likewise.
3507 * libc/string/wmemchr.c: Likewise.
3508 * libc/string/wmemcmp.c: Likewise.
3509 * libc/string/wmemcpy.c: Likewise.
3510 * libc/string/wmemmove.c: Likewise.
3511 * libc/string/wmemset.c: Likewise.
3512
3513 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3514
3515 * libc/misc/unctrl.c: Replace FUNCTION description.
3516 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3517 * libc/stdio/getdelim.c: Fix spelling errors.
3518 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3519 * libc/stdio/putw.c: Likewise.
3520 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3521 documentation.
3522 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3523 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3524 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3525 * libc/stdlib/mlock.c: Likewise.
3526 * libc/stdlib/mstats.c: Likewise.
3527 * libc/time/tzlock.c: Likewise.
3528 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3529 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3530 and hyphenate "pseudo-random".
3531 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3532 * libc/string/strncat.c: Likewise.
3533 * libc/string/memchr.c: Remove extra ">" character in documentation.
3534 * libc/string/strcspn.c: Use "characters" instead of "chars".
3535 * libc/string/strpbrk.c: Likewise.
3536 * libc/string/strerror_r.c: Capitalize "GNU".
3537 * libc/string/strnlen.c: Likewise.
3538 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3539 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3540 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3541 * libc/string/wcschr.c: Likewise.
3542 * libc/string/wcscmp.c: Likewise.
3543 * libc/string/wcscpy.c: Likewise.
3544 * libc/string/wcscspn.c: Likewise.
3545 * libc/string/wcslen.c: Likewise.
3546 * libc/string/wcsncat.c: Likewise.
3547 * libc/string/wcsncmp.c: Likewise.
3548 * libc/string/wcsncpy.c: Likewise.
3549 * libc/string/wcsnlen.c: Likewise.
3550 * libc/string/wcspbrk.c: Likewise.
3551 * libc/string/wcsrchr.c: Likewise.
3552 * libc/string/wcsspn.c: Likewise.
3553 * libc/string/wmemchr.c: Likewise.
3554 * libc/string/wmemcmp.c: Likewise.
3555 * libc/string/wmemcpy.c: Likewise.
3556 * libc/string/wmemset.c: Likewise.
3557 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3558 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3559 * libc/string/wcwidth.c: Likewise.
3560 * libm/common/s_modf.c: Remove extra period from documentation.
3561 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3562 documentation.
3563 * libm/mathfp/s_isnan.c: Likewise.
3564 * libm/math/s_ldexp.c: Fix punctuation.
3565 * libm/mathfp/s_ldexp.c: Likewise.
3566 * libm/math/w_log.c: Likewise.
3567 * libm/mathfp/s_logarithm.c: Likewise.
3568 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3569 * libm/mathfp/w_jn.c: Likewise.
3570
3571 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3572
3573 * libc/posix/scandir.c (scandir): Update the function
3574 prototype to match the header.
3575 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3576 extraneous #endif.
3577 * libc/sys/linux/sys/lock.h: Do not include
3578 machine/weakalias.h, since it's not used by this file.
3579
3580 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3581
3582 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3583 directories can override properly.
3584
3585 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3586
3587 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3588 gcc is 3.3 or greater, use special gcc builtins.
3589
3590 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3591
3592 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3593
3594 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3595
3596 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3597
3598 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3599
3600 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3601 * libm/common/Makefile.am: Add s_infconst.c support.
3602 * libm/common/Makefile.in: Regenerated.
3603 * libm/common/s_infconst.c: New file with float and
3604 long double infinity support added.
3605 * libm/math/Makefile.am: Remove s_infconst.c support.
3606 * libm/math/Makefile.in: Regenerated.
3607 * libm/math/s_infconst.c: Moved to common directory.
3608 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3609 * libm/mathfp/Makefile.in: Regenerated.
3610 * libm/mathfp/s_infconst.c: Moved to common directory.
3611
3612 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3613
3614 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3615 dbgprintf to prevent conflict with new dprintf function.
3616
3617 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3618
3619 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3620 "nan" processing for systems that have long double support.
3621
3622 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3623
3624 * libc/sys/linux/sys/types.h (int8_t): Add type.
3625
3626 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3627
3628 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3629 * libm/common/Makefile.in: Regenerate.
3630 * libm/common/common.tex: Delete file.
3631 * libm/math/math.tex: Include .def files from common/.
3632 * libm/mathfp/mathfp.tex: Likewise.
3633
3634 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3635
3636 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3637 instead of @ifinfo. Update menu to add Introduction and match
3638 SUBDIRS order.
3639 (Introduction): New section.
3640
3641 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3642
3643 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3644 with "Red Hat newlib C Library".
3645 * libc/sys.tex (Stubs): Likewise.
3646 * libm/math/math.tex (Math): Likewise.
3647 * libm/mathfp/mathfp.tex (Math): Likewise.
3648
3649 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3650
3651 * libc/include/stdio.h (dprintf): New declaration.
3652 (vdprintf): Ditto.
3653 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3654 and vdprintf.c.
3655 * libc/stdio/Makefile.in: Regenerate.
3656 * libc/stdio/dprintf.c: New file.
3657 * libc/stdio/vdprintf.c: New file.
3658 * libc/stdio/stdio.tex (dprintf): New entry.
3659
3660 2005-10-11 David Weatherford <weath@tensilica.com>
3661
3662 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3663 Print "inf" and "nan" in lowercase for e/f/g formats and in
3664 uppercase for E/F/G formats.
3665
3666 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3667
3668 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3669 to ENOMEM on failure.
3670
3671 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3672
3673 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3674
3675 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3676
3677 * libc/include/stdint.h: Move magic to set __have_long* to the
3678 beginning. Use #if __have* instead of #if defined(__have*).
3679 Minor typo fixes.
3680
3681 2005-10-04 James E Wilson <wilson@specifix.com>
3682
3683 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3684 #error.
3685
3686 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3687
3688 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3689 incorporate Ralf's change below.
3690
3691 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3692
3693 * libc/include/stdint.h:
3694 Use __INTMAX_TYPE__ to derive intmax_t.
3695 Use __UINTMAX_TYPE__ to derive uintmax_t.
3696 Fix minor typo.
3697
3698 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3699
3700 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3701 handling GCC >= 4.
3702
3703 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3704
3705 * libc/sys/linux/include/stdint.h: Update to match functionality
3706 of generic newlib stdint.h.
3707
3708 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3709
3710 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3711 and do not #undef the macro after it is used. Fix typos.
3712 Also change 64-bit constants to use the __have_long64 and
3713 __have_longlong64 flags to determine if long or long long
3714 constants should be used.
3715 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3716 type defined.
3717
3718 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3719
3720 * libc/include/stdint.h: Fix typo in names of
3721 LEAST macros.
3722
3723 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3724
3725 * libc/sys/rtems/include/inttypes.h: Moved to...
3726 * libc/include/inttypes.h: ...here.
3727
3728 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3729
3730 * libc/sys/rtems/include/stdint.h: Moved to...
3731 * libc/include/stdint.h: ...here.
3732
3733 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3734
3735 * Makefile.am: Add include files under bits sub-directory.
3736 * Makefile.in: Regenerated.
3737 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3738 actual value of 1 to be compatible with newer glibc headers.
3739 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3740 glibc headers.
3741 * libc/sys/linux/sys/dirent.h: Ditto.
3742 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3743 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3744 profile_fixup routines are marked used so they won't be
3745 optimized away.
3746 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3747 to mark functions as weak.
3748 * libc/sys/linux/dl/dl-open.c: Ditto.
3749 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3750 rules about lvalues.
3751 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3752 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3753 weak_extern macro to mark functions as weak. Instead always
3754 use #pragma weak.
3755 * iconvdata/jis0208.h: Fix to work with gcc4.
3756 * libc/sys/linux/dl/dl-load.c: Ditto.
3757 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3758 * libc/sys/linux/dl/do-rel.h: Ditto.
3759 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3760 * libc/sys/linux/include/ltdl.h: Ditto.
3761 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3762 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3763 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3764 * libc/sys/linux/bits/initspin.h: New file.
3765 * libc/sys/linux/bits/libc-lock.h: Ditto.
3766 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3767 * libc/sys/linux/bits/typesizes.h: Ditto.
3768
3769 2005-09-08 Eric Blake <ebb9@byu.net>
3770
3771 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3772 before is NULL.
3773
3774 2005-09-08 Brian Dessent <brian@dessent.net>
3775
3776 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3777 mantissa.
3778 * s_lrint.c: Ditto.
3779
3780 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3781
3782 * libc/include/stdio.h: Add prototype for viprintf.
3783
3784 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3785
3786 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3787 any positive power results in 0.
3788 * libm/mathfp/sf_pow.c (powf): Ditto.
3789
3790 2005-08-31 Paul Brook <paul@codesourcery.com>
3791
3792 * configure.host: Set have_crt0 to no for Arm targts when not
3793 providing syscalls. Set sys_dir=arm unconditionally.
3794 Default have_crt0 based on sys_dir.
3795 * configure.in: Use have_crt0.
3796 * libc/configure.in: Ditto.
3797 * libc/sys/configure.in: Ditto.
3798 * configure: Regenerate.
3799 * libc/configure: Regenerate.
3800 * libc/sys/configure: Regenerate.
3801 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3802 Only build other files when providing syscalls.
3803 * libc/sys/arm/Makefile.in: Regenerate.
3804 * libc/sys/arm/aeabi_atexit.c: New file.
3805
3806 2005-08-26 Christopher Faylor <cgf@timesys.com>
3807
3808 * libc/include/string.h: Revert previous change.
3809
3810 2005-08-25 Christopher Faylor <cgf@timesys.com>
3811
3812 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3813
3814 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3815
3816 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3817 define _opendir as opendir, _readdir as readdir, and
3818 _closedir as closedir so that the implementations in
3819 libc/posix will be used.
3820
3821 2005-08-10 DJ Delorie <dj@redhat.com>
3822
3823 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3824
3825 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3826
3827 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3828 * libm/common/s_max.c: Ditto.
3829 * libm/common/sf_fmin.c: Ditto.
3830 * libm/common/s_min.c: Ditto.
3831
3832 2005-08-10 DJ Delorie <dj@redhat.com>
3833
3834 * configure.host: Add m32c support.
3835 * libc/include/machine/ieeefp.h: Likewise.
3836 * libc/include/machine/setjmp.h: Likewise.
3837 * libc/include/sys/config.h: Likewise.
3838 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3839 * libc/machine/m32c/aclocal.m4: New file.
3840 * libc/machine/m32c/configure: Ditto.
3841 * libc/machine/m32c/configure.in: Ditto.
3842 * libc/machine/m32c/Makefile.am: Ditto.
3843 * libc/machine/m32c/Makefile.in: Ditto.
3844 * libc/machine/m32c/setjmp.S: Ditto.
3845
3846 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3847
3848 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3849 to the value for 2^126.
3850
3851 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3852
3853 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3854 used.
3855
3856 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3857 Darin Petkov <darin@tensilica.com>
3858
3859 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3860
3861 2005-07-19 Paul Brook <paul@codesourcery.com>
3862
3863 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3864
3865 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3866
3867 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3868 names after PASS and FAIL which do not depend on source directory
3869 name or on whether test passed or failed.
3870 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3871
3872 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3873
3874 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3875
3876 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3877
3878 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3879 twice for the same directory. _closedir calls free, and freeing
3880 the same pointer twice may cause a crash.
3881
3882 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3883
3884 * configure.host: Added entry for ms1*.
3885 * libc/include/machine/ieeefp.h: Handle ms1.
3886 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3887 * libc/machine/ms1/aclocal.m4: New.
3888 * libc/machine/ms1/configure: New.
3889 * libc/machine/ms1/configure.in: New.
3890 * libc/machine/ms1/Makefile.am: New.
3891 * libc/machine/ms1/Makefile.in: New.
3892 * libc/machine/ms1/setjmp.S: New.
3893
3894 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3895
3896 * Makefile.am (site.exp): Set tmpdir.
3897 * Makefile.in: Regenerated.
3898 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3899 executables in $tmpdir.
3900 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3901 libgloss version if not running in the build directory.
3902 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3903 $tmpdir.
3904 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3905 in $tmpdir.
3906
3907 2005-06-28 Dave Korn <dave.korn@artimi.com>
3908
3909 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3910 and miscalculation caused by fp representation of zero.
3911 * libm/common/sf_lrint.c (lrintf): Likewise.
3912
3913 2005-06-16 Christopher Faylor <cgf@timesys.com>
3914
3915 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3916 determine characteristics of long double. Use a union instead.
3917 * ldtoa.c (_ldtoa_r): Ditto.
3918 (_ldcheck): Ditto.
3919 (_strtold): Ditto.
3920 (union uconv): New union.
3921
3922 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3923
3924 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3925 instead of memcpy.
3926
3927 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3928
3929 * configure.host (mn10300-*): Add long long I/O support by default.
3930
3931 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3932
3933 * libc/sys/linux/getpwuid.c: Removed.
3934 * libc/sys/linux/getpwnam.c: Removed.
3935 * libc/sys/linux/getpwent.c: New file containing logic
3936 from files removed above. This allows overriding of file
3937 in libc/unix.
3938 * libc/sys/linux/Makefile.am: Support changes above.
3939 * libc/sys/linux/Makefile.in: Regenerated.
3940
3941 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3942
3943 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3944 when checking for multiple flags.
3945
3946 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3947
3948 * configure.host <cris-*-* | crisv32-*-*>: Set
3949 default_newlib_io_long_long="yes".
3950
3951 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3952
3953 * libc/include/libgen.h: New file.
3954
3955 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3956
3957 * libc/unix/Makefile.am: Add support for basename and dirname.
3958 * libc/unix/Makefile.in: Regenerated.
3959 * libc/unix/basename.c: New file.
3960 * libc/unix/dirname.c: New file.
3961
3962 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3963
3964 * libc/sys/linux/inode.c (lchown): New function.
3965
3966 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3967
3968 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3969 ELIX level is defined.
3970 * libc/unix/Makefile.in: Regenerated.
3971
3972 2005-04-05 Dave Korn <dave.korn@artimi.com>
3973
3974 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3975 something that looks like a "NaN", put back the characters processed.
3976
3977 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3978
3979 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3980
3981 2005-03-23 Christopher Faylor <cgf@timesys.com>
3982
3983 * configure.host: For cygwin, redefine CC with cygwin include directory
3984 first to mimic the behavior of the top-level configury. Move include
3985 directory out of newlib_cflags.
3986
3987 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3988
3989 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3990 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3991 than errno.
3992
3993 2005-03-22 Christopher Faylor <cgf@timesys.com>
3994
3995 * libc/include/machine/_types.h: Make trivial change to comment to
3996 avoid a spurious warning from gcc.
3997
3998 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3999
4000 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
4001 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
4002 reent.h include.
4003
4004 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
4005 Corinna Vinschen <corinna@vinschen.de>
4006
4007 * libc/include/ctype.h: Remove invalid +1 offset from
4008 ctype macro references to __ctype_ptr.
4009 (_ctype_): Move declaration outside #ifndef __cplusplus.
4010
4011 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
4012
4013 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
4014 evaluate first parameter only once.
4015 (siglongjmp): Ditto.
4016
4017 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
4018
4019 * configure.in: Add new check to see if compiler supports
4020 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
4021 * configure: Regenerated.
4022 * Makefile.in: Ditto.
4023 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
4024 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
4025 aliasing the _ctype_ array to _ctype_b.
4026 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
4027 _ctype_ as deprecated.
4028
4029 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
4030
4031 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
4032 -DCOMPACT_CTYPE.
4033
4034 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4035
4036 * libc/sys/rtems/include/inttypes.h: New file.
4037 * libc/sys/rtems/include/stdint.h: Ditto.
4038
4039 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4040
4041 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
4042
4043 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
4044
4045 * libc/include/machine/_types.h: New file.
4046 * libc/include/sys/types.h: Do not check for __rtems__
4047 when including <machine/_types.h>. Remove some redundant
4048 declarations now that <machine/_types.h> is included.
4049 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
4050 shared header file.
4051
4052 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
4053
4054 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
4055 L qualifier for these long constants.
4056
4057 2005-02-25 Eric Blake <ebb9@byu.net>
4058
4059 * libc/include/time.h (__tzrule_struct): Make offset long, since
4060 a 16-bit int overflows on a 12-hour offset.
4061 * libc/sys/linux/include/time.h: Ditto.
4062 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
4063 * libc/time/mktm_r.c: Ditto.
4064 * libc/time/gettzinfo.c: Ditto.
4065 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
4066 years. Fix '%z' to use long, not int.
4067
4068 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4069
4070 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
4071 manipulate float values in integer form.
4072 * libm/common/sf_round.c: Ditto.
4073
4074 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
4075
4076 * libc/include/sys/types.h [__rtems__]: Include new
4077 header file machine/_types.h.
4078 * libc/include/machine/types.h: Ditto.
4079 * libc/sys/rtems/machine/_types.h: New file.
4080
4081 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4082
4083 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4084 (timezone): Drop cast from definition.
4085
4086 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4087
4088 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4089 (__tzrule_type, __tzinfo_type): New types.
4090 (__gettzinfo): New function.
4091 * libc/sys/linux/include/time.h: Ditto.
4092 * libc/time/Makefile.am: Add gettzinfo.c.
4093 * libc/time/Makefile.in: Regenerated.
4094 * libc/time/local.h: Moved __tzrule_type to time.h.
4095 * libc/time/mktime.c: Call __gettzinfo to reference
4096 __tznorth, __tzyear, and __tzrule array.
4097 * libc/time/mktm_r.c: Ditto.
4098 * libc/time/strftime.c: Ditto.
4099 * libc/time/tzset_r.c: Ditto. Also remove definition
4100 of __tzrule which is now in gettzinfo.c. Change _timezone
4101 references to not cast to time_t.
4102 * libc/time/gettzinfo.c: New file.
4103
4104 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4105
4106 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4107
4108 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
4109
4110 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4111
4112 2005-02-16 Eric Blake <ebb9@byu.net>
4113
4114 * libc/time/time.tex: Improve the documentation.
4115 * libc/time/strftime.c: Improve the documentation.
4116 (iso_year_adjust): New helper function.
4117 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4118 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4119 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4120 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4121 Avoid core dumps on valid inputs (maxsize == 0, or
4122 tim_p->tm_isdst > 1).
4123
4124 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
4125
4126 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4127 members to uid_t and gid_t according to SUSv3.
4128 * libc/include/sys/time.h (utimes): Change second parameter
4129 to const according to SUSv3.
4130
4131 2005-02-07 Antony King <antony.king@st.com>
4132
4133 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4134 called before _flockfile to prevent lock object use before
4135 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4136 take a struct _reent * instead of a FILE *.
4137 * libc/stdio/fclose.c (_fclose_r): Ditto.
4138 * libc/stdio/feof.c (feof): Ditto.
4139 * libc/stdio/ferror.c (ferror): Ditto.
4140 * libc/stdio/fflush.c (fflush): Ditto.
4141 * libc/stdio/fgetc.c (fgetc): Ditto.
4142 * libc/stdio/fgets.c (fgets): Ditto.
4143 * libc/stdio/fileno.c (fileno): Ditto.
4144 * libc/stdio/fputc.c (fputc): Ditto.
4145 * libc/stdio/fputs.c (fputs): Ditto.
4146 * libc/stdio/fread.c (fread): Ditto.
4147 * libc/stdio/freopen.c (_freopen_r): Ditto.
4148 * libc/stdio/fseek.c (_fseek_r): Ditto.
4149 * libc/stdio/ftell.c (_ftell_r): Ditto.
4150 * libc/stdio/fwrite.c (fwrite): Ditto.
4151 * libc/stdio/getc.c (getc): Ditto.
4152 * libc/stdio/getdelim.c (__getdelim): Ditto.
4153 * libc/stdio/putc.c (putc): Ditto.
4154 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4155 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4156 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4157 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4158 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4159 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4160 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4161 _reent * instead of a FILE * and so replace incorrect use of
4162 _REENT with argument.
4163 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4164 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4165 CHECK_INIT() take a struct _reent * instead of a FILE *.
4166 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4167 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4168 * libc/stdio/perror.c (perror): Ditto.
4169 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4170 * libc/stdio/putchar.c (putchar): Ditto.
4171 * libc/stdio/puts.c (puts): Ditto.
4172 * libc/stdio/refill.c (__srefill): Ditto.
4173 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4174 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4175 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4176 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4177 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4178 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4179 * libc/stdio/wbuf.c (__swbuf): Ditto.
4180 * libc/stdio/wsetup.c (__swsetup): Ditto.
4181 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4182 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4183 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4184 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4185 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4186 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4187 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4188 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4189 initialision of _data field in FILE structure.
4190 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4191
4192 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4193
4194 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4195 (__sinit_lock): New lock.
4196 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4197 * libc/stdio/local.h: Add reference to new __sinit locking
4198 functions.
4199
4200 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4201
4202 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4203 input variable names to avoid mixups with nesting macros.
4204
4205 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4206
4207 * configure.host: Add support for cris-*-* and crisv32-*-*.
4208 * libc/include/machine/ieeefp.h: Ditto.
4209 * libc/include/machine/setjmp.h: Ditto.
4210 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4211 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4212 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4213 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4214 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4215 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4216 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4217 files.
4218
4219 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4220
4221 * testsuite/newlib.string/memmove1.c: New test.
4222
4223 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4224
4225 * testsuite/include/check.h: Include stdlib.h.
4226
4227 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4228
4229 * Makefile.am (stmp-targ-include): Support include header files
4230 from machine directories.
4231 (install-data-local): Ditto.
4232 * Makefile.in: Regenerate.
4233
4234 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4235
4236 * libc/include/string.h: Remove Linux-specific declaration of
4237 strsignal and add #include <sys/string.h>.
4238 * libc/include/sys/string.h: New file.
4239 * libc/include/sys/linux/sys/string.h: New file with strsignal
4240 declaration deleted above.
4241
4242 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4243
4244 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4245 to POSIX standard for "C" locale. Allow %E and %O modifiers
4246 to be ignored as long as they precede valid specifiers according
4247 to POSIX.
4248
4249 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4250
4251 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4252 environment variable is set.
4253
4254 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4255
4256 * tzset_r.c (_tzname): Add a comma.
4257
4258 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
4259
4260 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4261 _VFPRINTF_R.
4262
4263 2005-01-07 Paul Brook <paul@codesourcery.com>
4264
4265 * configure.in: Add test for .init_array.
4266 * configure: Regenerate.
4267 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4268 * libc/misc/Makefile.am: Add init.c
4269 * libc/misc/Makefile.in: Regenerate.
4270 * libc/misc/init.c: New file.
4271 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4272 _init/_fini if they exist.
4273
4274 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4275
4276 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4277 * (strtof): Ditto.
4278 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4279 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4280 functions for use by strtod and strtof.
4281 * Makefile.in: Regenerated.
4282
4283 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4284
4285 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4286 bit-test in combination with NULL test.
4287
4288 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4289
4290 * README: Fix typo of LGPL. Change "license" to "copyright".
4291
4292 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4293
4294 * NEWS: Update with 1.13.0 info.
4295 * README: Ditto.
4296 * acinclude.m4: Change version number to 1.13.0.
4297 * aclocal.m4: Regenerated.
4298 * configure: Ditto.
4299 * doc/aclocal.m4: Ditto.
4300 * doc/configure: Ditto.
4301 * libc/*/aclocal.m4: Ditto.
4302 * libc/*/configure: Ditto.
4303 * libc/libc.texinfo: Ditto.
4304 * libm/*/aclocal.m4: Ditto.
4305 * libm/*/configure: Ditto.
4306 * libm/libm.texinfo: Ditto.
4307 * libc/sys/linux/shared.ld: Add VERS_1.13.
4308
4309 2004-12-17 Christian Groessler <chris@groessler.org>
4310
4311 * libc/machine/z8k/memcmp.S: New file.
4312 * libc/machine/z8k/memcpy.S: Ditto.
4313 * libc/machine/z8k/memmove.S: Ditto.
4314 * libc/machine/z8k/memset.S: Ditto.
4315 * libc/machine/z8k/Makefile.am: Add new files.
4316 * libc/machine/z8k/Makefile.in: Regenerated.
4317 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4318 part. Implement Z8002 stdcall version.
4319
4320 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4321
4322 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4323 a low-level read if we don't get the full amount of bytes so
4324 EOF or error flags will be set.
4325
4326 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4327
4328 * libc/time/tzset_r (_tzset_r): Properly skip over
4329 '/' when it is detected.
4330
4331 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4332
4333 * libc/time/tzset_r (_tzset_r): Fix loop.
4334
4335 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4336
4337 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4338 m_day.
4339 (__tzcalc_limits): Fix reference to month array to be zero-based.
4340
4341 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4342
4343 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4344 and usleep.
4345
4346 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4347
4348 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4349 libgcc dependencies.
4350 (libm_la_LDFLAGS): Ditto.
4351 * Makefile.in: Regenerated.
4352
4353 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4354
4355 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4356 our link to use readlink so as to preserve any relative link created
4357 by install-toollibLIBRARIES.
4358 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4359
4360 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4361
4362 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4363 time_t before including sys/stat.h, which uses it.
4364 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4365 <linux/time.h> just prior to definition of __KERNEL__ so as to
4366 allow building on Debian Linux where otherwise, mktime would
4367 be redefined.
4368
4369 2004-11-26 Paul Brook <paul@codesourcery.com>
4370
4371 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4372
4373 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4374
4375 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4376 const for value string parameter to match Single Unix and glibc.
4377 * libc/stdlib/putenv.c: Ditto.
4378 * libc/stdlib/putenv_r.c: Ditto.
4379
4380 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4381
4382 * libc/stdio/Makefile.am: Fix missing vfscanf.
4383 * libc/stdio/Makefile.in: Regenerated.
4384
4385 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4386
4387 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4388 do some reordering.
4389 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4390 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4391 family functions.
4392 * libc/stdio/Makefile.in: Regenerated.
4393 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4394 * libc/stdio/iprintf.c: Ditto.
4395 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4396 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4397 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4398 * libc/stdio/stdio.tex: Add new functions.
4399 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4400 file and add special name defines so this file can be used
4401 to build vfiscanf.o.
4402 * libc/stdio/asiprintf.c: New file.
4403 * libc/stdio/fiscanf.c: Ditto.
4404 * libc/stdio/iscanf.c: Ditto.
4405 * libc/stdio/sccl.c: Ditto.
4406 * libc/stdio/siscanf.c: Ditto.
4407 * libc/stdio/vasiprintf.c: Ditto.
4408 * libc/stdio/viprintf.c: Ditto.
4409 * libc/stdio/viscanf.c: Ditto.
4410 * libc/stdio/vsiprintf.c: Ditto.
4411 * libc/stdio/vsiscanf.c: Ditto.
4412 * libc/stdio/vsniprintf.c: Ditto.
4413
4414 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4415
4416 * libc/include/stdio.h: Add sniprintf.
4417 * libc/stdio/Makefile.am: Add sniprintf.c.
4418 * libc/stdio/Makefile.in: Regenerated.
4419 * libc/stdio/sniprintf.c: New file.
4420 * libc/stdio/stdio.tex: Add sniprintf.
4421
4422 2004-11-17 Christopher Faylor <cgf@timesys.com>
4423
4424 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4425 EOF flag if successful.
4426
4427 2004-10-28 Christopher Faylor <cgf@timesys.com>
4428
4429 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4430 so that all relevant definitions have been performed for use in the
4431 include.
4432
4433 2004-10-26 Jason Tishler <jason@tishler.net>
4434
4435 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4436 fread.
4437
4438 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4439
4440 * libc/include/machine/setjmp.h: Add AVR support.
4441 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4442
4443 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4444
4445 * libc/include/sys/signal.h: If <signal.h> didn't include
4446 this header file, include <signal.h> to account for
4447 applications that take advantage that the two header
4448 files are the same in glibc.
4449
4450 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4451
4452 * configure.host: Add support for crx.
4453 * libc/include/machine/ieeefp.h: Ditto.
4454 * libc/include/machine/setjmp.h: Ditto.
4455 * libc/machine/crx/Makefile.am: New file.
4456 * libc/machine/crx/configure.in: Ditto.
4457 * libc/machine/crx/setjmp.S: Ditto.
4458 * libc/machine/crx/getenv.c: Ditto.
4459 * libc/machine/crx/aclocal.m4: Generate.
4460 * libc/machine/crx/configure: Ditto.
4461 * libc/machine/crx/Makefile.in: Ditto.
4462 * libc/machine/crx/sys/asm.h: New file.
4463 * libc/machine/crx/sys/libh.h: Ditto.
4464 * libc/machine/crx/sys/syscall.h: Ditto.
4465
4466 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4467
4468 * Makefile.am (stmp-targ-include): Support sys header files
4469 from machine directories.
4470 * Makefile.in: Regenerated.
4471
4472 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4473
4474 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4475 count skipped zero characters as part of the nread count for %n.
4476 * libc/machine/powerpc/vfscanf.c: Ditto.
4477
4478 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4479
4480 * libc/stdio/local.h: Include <stdlib.h>.
4481
4482 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4483
4484 * libc/stdio/fread.c (fread): Include <malloc.h>.
4485
4486 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4487
4488 * libc/stdio/fread.c (fread): For non-space-optimized case,
4489 add special code for unbuffered files to use user buffer and
4490 only require one low-level system read.
4491
4492 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4493
4494 * libc/machine/xscale/setjmp.S: New file, copied from
4495 libc/machine/arm/setjmp.S.
4496 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4497 * libc/machine/xscale/Makefile.in: Regenerate.
4498
4499 2004-09-16 Antony King <antony.king@st.com>
4500
4501 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4502 with locking API.
4503 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4504 check for__SSTR in _flags and if set, skip lock request.
4505 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4506 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4507 not NULL.
4508 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4509 initialisation of _file to -1 in local FILE.
4510 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4511 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4512 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4513 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4514 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4515 _flags in local FILE to prevent locking.
4516 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4517
4518 2004-09-16 Antony King <antony.king@st.com>
4519
4520 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4521 and only walk the reentrancy parameter.
4522 (_fwalk_reent): Ditto.
4523 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4524
4525 2004-09-16 Antony King <antony.king@st.com>
4526
4527 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4528 _LOCK_RECURSIVE_T.
4529
4530 2004-09-16 Antony King <antony.king@st.com>
4531
4532 * libc/time/tzlock.c: Add default stubs that use generic
4533 locking code.
4534
4535 2004-09-16 Antony King <antony.king@st.com>
4536
4537 * libc/ctype/ctype.tex: Added missing documentation.
4538 * libc/stdio/stdio.tex Ditto.
4539 * libc/stdlib/stdlib.tex Ditto.
4540 * libc/string/strings.tex Ditto.
4541 * libc/time/time.tex: Ditto.
4542 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4543
4544 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4545
4546 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4547 when building for Cygwin.
4548 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4549 _global_impure_ptr.
4550
4551 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4552
4553 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4554 Cygwin side.
4555 * configure.in: Ditto.
4556 * libc/configure.in: Ditto.
4557 * libc/sys/configure.in: Ditto.
4558 * configure: Ditto.
4559 * libc/configure: Ditto.
4560 * libc/sys/configure: Ditto.
4561 * libc/include/sys/reent.h: Ditto.
4562 * libc/stdlib/__atexit.c: Ditto.
4563 * libc/stdlib/__call_atexit.c: Ditto.
4564 * libc/stdlib/cxa_atexit.c: Ditto.
4565 * libc/stdlib/cxa_finalize.c: Ditto.
4566 * libc/sys/cygwin/Makefile.am: Removed again.
4567 * libc/sys/cygwin/Makefile.in: Ditto.
4568 * libc/sys/cygwin/aclocal.m4: Ditto.
4569 * libc/sys/cygwin/configure: Ditto.
4570 * libc/sys/cygwin/configure.in: Ditto.
4571 * libc/sys/cygwin/dummy.c: Ditto.
4572 * libc/sys/cygwin/sys/reent.h: Ditto.
4573
4574 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4575
4576 * configure.host: Add Cygwin sys directory.
4577 * configure.in: Do not set CRT0 for cygwin.
4578 * libc/configure.in: Ditto.
4579 * libc/sys/configure.in: Ditto.
4580 * configure: Regenerated.
4581 * libc/configure: Ditto.
4582 * libc/sys/configure: Ditto.
4583 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4584 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4585 __REENT_HAS_CXA_SUPPORT flag.
4586 * libc/stdlib/__call_atexit.c: Ditto.
4587 * libc/stdlib/cxa_atexit.c: Ditto.
4588 * libc/stdlib/cxa_finalize.c: Ditto.
4589 * libc/sys/cygwin/Makefile.am: New file.
4590 * libc/sys/cygwin/Makefile.in: Ditto.
4591 * libc/sys/cygwin/aclocal.m4: Ditto.
4592 * libc/sys/cygwin/configure: Ditto.
4593 * libc/sys/cygwin/configure.in: Ditto.
4594 * libc/sys/cygwin/dummy.c: Ditto.
4595 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4596 version of reent.h.
4597
4598 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4599
4600 * libc/iconv/iconv.tex: Updated with new content.
4601 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4602 instead of NLS_DEFAULT_NLSPATH.
4603 * libc/iconv/lib/iconvnls.h: Fix typo.
4604 * libc/include/sys/iconvnls.h: New file.
4605
4606 2004-09-09 Paul Brook <paul@codesourcery.com>
4607
4608 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4609 and _is_cxa.
4610 (struct _atexit): Add _next when _REENT_SMALL.
4611 (struct _reent): Add _atexit0 when _REENT_SMALL.
4612 (_REENT_INIT_PTR): Adjust.
4613 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4614 __call_exit.c.
4615 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4616 * libc/stdlib/Makefile.in: Regenerate.
4617 * libc/stdlib/__atexit.c: New file.
4618 * libc/stdlib/__call_atexit.c: New file.
4619 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4620 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4621 * libc/stdlib/cxa_atexit.c: New file.
4622 * libc/stdlib/cxa_finalize.c: New file.
4623 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4624 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4625 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4626 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4627 _on_exit_args_ptr.
4628
4629 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4630
4631 * libc/include/sys/unistd.h (getpass): Change prototype to use
4632 const instead of __const.
4633
4634 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4635
4636 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4637 #if.
4638
4639 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4640
4641 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4642 on linux systems with glibc 2.3.3 installed.
4643 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4644 profile_fixup so newlib can build on fc3 system.
4645
4646 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4647
4648 Introduce SH2a support.
4649 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4650 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4651 __SH2A_SINGLE_ONLY__, too.
4652 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4653 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4654 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4655 2004-02-10 DJ Delorie <dj@redhat.com>
4656 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4657
4658 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4659
4660 * libc/time/strptime.c: Correct full-name of "March" typo.
4661
4662 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4663
4664 * configure.host (h8300*-*-*): Default long long printing support.
4665
4666 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4667
4668 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4669 calls, if realloc fails, free up buffer as it is no longer
4670 used.
4671
4672 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4673
4674 * libc/iconv/iconv.tex: Updated to represent recent changes.
4675 * libc/iconv/lib/iconv.c: Documentation updated.
4676
4677 2004-07-07 Nick Clifton <nickc@redhat.com>
4678
4679 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4680 for xStormy16.
4681
4682 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4683
4684 * configure.host (mips*-*-elf*): Default long long printing
4685 support.
4686
4687 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4688
4689 * libc/Makefile.am (libc.dvi): Add target and specify
4690 same dependencies as libc.info.
4691 * libc/Makefile.in: Regenerated.
4692 * libm/Makefile.am (libm.dvi): Add target and specify
4693 same dependencies as libm.info.
4694 * libm/Makefile.in: Regenerated.
4695
4696 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4697
4698 * acinclude.m4: Move --enable-newlib-iconv option back here.
4699 * configure.in: Remove --enable-newlib-iconv option. Don't
4700 tie iconv support to --enable-newlib-mb.
4701 * aclocal.m4: Regenerated.
4702 * configure: Ditto.
4703 * doc/aclocal.m4, doc/configure: Ditto.
4704 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4705 * libm/*/aclocal.m4: Ditto.
4706 * libm/*/configure: Ditto.
4707 * libc/*/aclocal.m4: Ditto.
4708 * libc/*/configure: Ditto.
4709
4710 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4711
4712 * acinclude.m4: Move iconv options into configure.in.
4713 * aclocal.m4: Regenerated.
4714 * configure: Ditto.
4715 * configure.in: Add iconv options.
4716 * newlib.hin: Add new iconv encodings and remove deleted ones.
4717 * doc/aclocal.m4: Regenerated.
4718 * doc/configure: Ditto.
4719 * iconvdata/aclocal.m4: Ditto.
4720 * iconvdata/configure: Ditto.
4721 * libc/iconv: Design change. New size-optimized ccs format.
4722 * libc/iconv/AUTHORS: Removed.
4723 * libc/iconv/COPYING: Ditto.
4724 * libc/iconv/README.ORIGINAL: Ditto.
4725 * libc/iconv/README.TODO: Ditto.
4726 * libc/iconv/charset.aliases: Ditto.
4727 * libc/iconv/encoding.aliases: New file.
4728 * libc/iconv/Makefile.am: Updated.
4729 * libc/iconv/Makefile.in: Regenerated.
4730 * libc/iconv/iconv.tex: Updated.
4731 * libc/iconv/ccs/Makefile.am: Ditto.
4732 * libc/iconv/ccs/Makefile.in: Regenerated.
4733 * libc/iconv/ccs/big5.c: Updated.
4734 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4735 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4736 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4737 * libc/iconv/ccs/cp775.c: Ditto.
4738 * libc/iconv/ccs/cp850.c: Ditto.
4739 * libc/iconv/ccs/cp852.c: Ditto.
4740 * libc/iconv/ccs/cp855.c: Ditto.
4741 * libc/iconv/ccs/cp866.c: Ditto.
4742 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4743 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4744 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4745 * libc/iconv/ccs/iconv_mktbl: Ditto.
4746 * libc/iconv/ccs/jis_x0201.c: Ditto.
4747 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4748 * libc/iconv/ccs/shift_jis.c: Ditto.
4749 * libc/iconv/ccs/us_ascii.c: Ditto.
4750 * libc/iconv/ccs/ccs.h: New file.
4751 * libc/iconv/ccs/ccsbi.c: Ditto.
4752 * libc/iconv/ccs/ccsbi.h: Ditto.
4753 * libc/iconv/ccs/ccsnames.h: Ditto.
4754 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4755 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4756 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4757 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4758 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4759 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4760 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4761 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4762 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4763 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4764 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4765 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4766 * libc/iconv/ccs/koi8_ru.c: Ditto.
4767 * libc/iconv/ccs/koi8_uni.c: Ditto.
4768 * libc/iconv/ccs/mktbl.pl: Ditto.
4769 * libc/iconv/ccs/win_1250.c: Ditto.
4770 * libc/iconv/ccs/win_1251.c: Ditto.
4771 * libc/iconv/ccs/win_1252.c: Ditto.
4772 * libc/iconv/ccs/win_1253.c: Ditto.
4773 * libc/iconv/ccs/win_1254.c: Ditto.
4774 * libc/iconv/ccs/win_1255.c: Ditto.
4775 * libc/iconv/ccs/win_1256.c: Ditto.
4776 * libc/iconv/ccs/win_1257.c: Ditto.
4777 * libc/iconv/ccs/win_1258.c: Ditto.
4778 * libc/iconv/ccs/iso_8859_15.c: Updated.
4779 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4780 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4781 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4782 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4783 * libc/iconv/ccs/koi8_r.c: Ditto.
4784 * libc/iconv/ccs/koi8_u.c: Ditto.
4785 * libc/iconv/ccs/ksx1001.c: Ditto.
4786 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4787 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4788 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4789 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4790 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4791 * libc/iconv/ccs/binary/Makefile.am: Updated.
4792 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4793 * libc/iconv/ccs/binary/big5.cct: Updated.
4794 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4795 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4796 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4797 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4798 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4799 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4800 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4801 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4802 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4803 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4804 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4805 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4806 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4807 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4808 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4809 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4810 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4811 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4812 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4813 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4814 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4815 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4816 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4817 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4818 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4819 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4820 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4821 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4822 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4823 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4824 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4825 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4826 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4827 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4828 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4829 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4830 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4831 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4832 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4833 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4834 * libc/iconv/ces/Makefile.am: Updated.
4835 * libc/iconv/ces/Makefile.in: Regenerated.
4836 * libc/iconv/ces/ucs-2-internal.c: Updated.
4837 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4838 * libc/iconv/ces/utf-16.c: Ditto.
4839 * libc/iconv/ces/utf-8.c: Ditto.
4840 * libc/iconv/ces/cesbi.c: New file.
4841 * libc/iconv/ces/cesbi.h: Ditto.
4842 * libc/iconv/ces/cesdeps.h: Ditto.
4843 * libc/iconv/ces/euc.c: Ditto.
4844 * libc/iconv/ces/mkdeps.pl: Ditto.
4845 * libc/iconv/ces/table-pcs.c: Ditto.
4846 * libc/iconv/ces/table.c: Ditto.
4847 * libc/iconv/ces/ucs-2.c: Ditto.
4848 * libc/iconv/ces/ucs-4.c: Ditto.
4849 * libc/iconv/ces/us-ascii.c: Ditto.
4850 * libc/iconv/ces/euc-jp.c: Removed.
4851 * libc/iconv/ces/euc-kr.c: Ditto.
4852 * libc/iconv/ces/euc-tw.c: Ditto.
4853 * libc/iconv/ces/gb2312.c: Ditto.
4854 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4855 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4856 * libc/iconv/lib/Makefile.am: Updated.
4857 * libc/iconv/lib/Makefile.in: Regenerated.
4858 * libc/iconv/lib/endian.h: Updated.
4859 * libc/iconv/lib/iconv.c: Ditto.
4860 * libc/iconv/lib/local.h: Ditto.
4861 * libc/iconv/lib/aliases.c: Removed.
4862 * libc/iconv/lib/bialiasesi.c: Ditto.
4863 * libc/iconv/lib/biccs.c: Ditto.
4864 * libc/iconv/lib/bices.c: Ditto.
4865 * libc/iconv/lib/ccs.c: Ditto.
4866 * libc/iconv/lib/ces.c: Ditto.
4867 * libc/iconv/lib/ces_euc.c: Ditto.
4868 * libc/iconv/lib/ces_iso2022.c: Ditto.
4869 * libc/iconv/lib/ces_table.c: Ditto.
4870 * libc/iconv/lib/converter.c: Ditto.
4871 * libc/iconv/lib/deps.h: Ditto.
4872 * libc/iconv/lib/loaddata.c: Ditto.
4873 * libc/iconv/lib/aliasesbi.c: New file.
4874 * libc/iconv/lib/aliasesi.c: Ditto.
4875 * libc/iconv/lib/conv.h: Ditto.
4876 * libc/iconv/lib/encnames.h: Ditto.
4877 * libc/iconv/lib/encoding.deps: Ditto.
4878 * libc/iconv/lib/iconvnls.c: Ditto.
4879 * libc/iconv/lib/iconvnls.h: Ditto.
4880 * libc/iconv/lib/nullconv.c: Ditto.
4881 * libc/iconv/lib/ucsconv.c: Ditto.
4882 * libc/iconv/lib/ucsconv.h: Ditto.
4883 * libc/include/iconv.h: Update copyright.
4884 * libc/*/aclocal.m4: Regenerated.
4885 * libc/*/configure: Ditto.
4886 * libm/*/aclocal.m4: Ditto.
4887 * libm/*/configure: Ditto.
4888
4889 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4890
4891 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4892 instead of typedefing jmp_buf.
4893
4894 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4895 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4896 * libc/machine/h8300/defines.h (LEN): New macro.
4897 * libc/machine/h8300/memcpy.S: Add h8sx version.
4898 * libc/machine/h8300/memset.S: Likewise.
4899 * libc/machine/h8300/strcmp.S: Likewise.
4900 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4901 * libc/machine/h8300/h8sx_strcpy.S: New file.
4902 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4903 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4904 __H8300SX__.
4905 * libc/include/machine/setjmp.h: Likewise.
4906 * libc/include/sys/config.h: Likewise.
4907 * libc/machine/h8300/defines.h: Likewise.
4908 * libc/machine/h8300/setjmp.S: Likewise.
4909 * libc/machine/h8300/strcmp.S: Likewise.
4910 * libc/sys/h8300hms/close.S: Likewise.
4911 * libc/sys/h8300hms/fstat.S: Likewise.
4912 * libc/sys/h8300hms/lseek.S: Likewise.
4913 * libc/sys/h8300hms/read.S: Likewise.
4914 * libc/sys/h8300hms/write.S: Likewise.
4915 * libc/sys/h8300hms/crt0.S: Likewise.
4916 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4917 __H8300SX__ is defined.
4918 * libc/sys/h8300hms/setarch.h: Likewise.
4919
4920 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4921
4922 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4923 out change which set _GLOBAL_REENT to _global_impure_ptr until
4924 we understand why Cygwin breaks because of it.
4925
4926 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4927
4928 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4929 __syscall_return macro for systems with vsyscall.
4930
4931 2004-06-11 Antony King <antony.king@st.com>
4932
4933 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4934 _flock_t to be of type _LOCK_RECURSIVE_T.
4935 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4936 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4937 (_global_impure_ptr): New declaration.
4938 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4939 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4940 <sys/reent.h>.
4941 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4942 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4943 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4944 * libc/stdio/fclose.c: Remove casting of fp lock to
4945 _LOCK_RECURSIVE_T.
4946 * libc/stdio/findfp.c: Ditto.
4947 * libc/stdio/fopen.c: Ditto.
4948 * libc/stdio/freopen.c: Ditto.
4949 * libc/stdio/vfprintf.c: Ditto.
4950 * libc/stdio64/fopen64.c: Ditto.
4951 * libc/stdlib/envlock.c: Add default stubs that use generic
4952 locking code.
4953 * libc/stdlib/mlock.c: Ditto.
4954
4955 Jeff Johnston <jjohnstn@redhat.com>
4956 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4957 (_flock_t): Change to be a struct containing a single member
4958 named mutex which is of type __flock_mutex_t.
4959
4960 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4961
4962 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4963 from /usr/include/asm/signal.h instead of kernel sources. Also
4964 default max to 32 if not found in header file.
4965 * libc/sys/linux/Makefile.in: Regenerated.
4966 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4967 systems where __syscall_return is not defined.
4968 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4969 systems to use syscall() function instead of assembler interrupt.
4970
4971 2004-06-09 Toralf Lund <toralf@procaptura.com>
4972
4973 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4974 files from libc/sys/arm to libc/machine/arm.
4975 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4976 library build support for files moved from libc/sys/arm.
4977 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4978 references to access and setjmp.
4979 * configure.host: Add checks for newlib_may_supply_syscalls to
4980 determine whether or not to use sys/arm directory and use
4981 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4982
4983 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4984
4985 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4986 reset digit flags appropriately after we have discovered "0x".
4987 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4988
4989 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4990
4991 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4992 from here ...
4993 (_VFPRINTF_R): ... to here so all I/O printf routines
4994 are covered.
4995
4996 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4997
4998 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4999 redefinition.
5000 * libc/search/hash.c: Ditto.
5001
5002 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5003
5004 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
5005 (_WANT_IO_LONG_LONG): Ditto.
5006 (_WANT_IO_LONG_DOUBLE): Ditto.
5007 * configure.in: Add new configuration options
5008 --enable-newlib-io-long-long and --enable-newlib-io-long-double
5009 which tie to new defines in newlib.hin.
5010 * configure: Regenerated.
5011 * configure.host: Add checks for new configuration options. Also
5012 fix up check for --enable-newlib-io-pos-args so configuration
5013 option will override any default for a given platform.
5014 Remove defining compiler flags for the _WANT_IO* options.
5015 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
5016 instead of looking for old compiler flags.
5017 * libc/stdio/vfscanf.c: Ditto.
5018 * libc/stdio/vfieeefp.h: Ditto.
5019 * libc/machine/powerpc/vfprintf.c: Ditto.
5020 * libc/machine/powerpc/vfscanf.c: Ditto.
5021
5022 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
5023
5024 * testsuite/include/check.h: Add include of <stdio.h>.
5025
5026 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
5027
5028 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
5029
5030 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5031
5032 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
5033 of free.
5034
5035 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5036
5037 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
5038 list for reentrant pointer. Call _vfiprintf_r.
5039 * libc/stdio/siprintf.c (_siprintf_r): New function.
5040 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
5041 pointer argument. Change all callers. Call _VFPRINTF_R.
5042 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
5043 prototypes.
5044
5045 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
5046
5047 * libc/include/sys/param.h: Remove endian info and include
5048 <machine/endian.h> instead.
5049 * libc/include/machine/endian.h: New file.
5050 * libc/include/machine/param.h: Ditto.
5051 * libc/machine/arm/machine/endian.h: Ditto.
5052 * libc/machine/arm/machine/param.h: Ditto.
5053 * libc/sys/arm/sys/param.h: Removed.
5054 * libc/sys/sysvi386/sys/param.h: Ditto.
5055 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
5056
5057 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5058
5059 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
5060 multibyte functions return failure for %C, %S, %lc, and %ls
5061 format specifiers.
5062
5063 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5064
5065 * testsuite/include/check.h (CHECK): Add flush of stdout.
5066
5067 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5068
5069 * libc/include/stdio.h (_ungetc_r): New prototype.
5070 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
5071 (__submore): Add reentrant struct pointer argument.
5072 (ungetc): Change to call _ungetc_r.
5073
5074 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5075
5076 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
5077 function pointer argument.
5078 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5079 to specify function pointer arguments.
5080 (__fwalk, __fwalk_reent): Ditto.
5081
5082 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
5083
5084 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5085 CT_INT case.
5086
5087 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5088
5089 * configure.in: Define _MB_CAPABLE if mb supported.
5090 * configure: Regenerated.
5091 * configure.host: Remove manual setting of MB_CAPABLE compiler
5092 flag.
5093 * newlib.hin: Add _MB_CAPABLE flag.
5094 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5095 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5096 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5097 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5098 * libc/ctype/jp2uc.c: Ditto.
5099 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5100 * libc/locale/locale.c: Ditto
5101 * libc/machine/powerpc/vfscanf.c: Ditto
5102 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5103 * libc/stdlib/mblen.c: Ditto
5104 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5105 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5106 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5107 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5108 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5109 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5110 * libc/sys/linux/intl/explodename.c: Ditto
5111 * libc/sys/linux/intl/finddomain.c: Ditto
5112 * libc/sys/linux/intl/l10nflist.c: Ditto
5113 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5114 * libc/sys/linux/intl/localealias.c: Ditto
5115
5116 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5117
5118 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5119 (__svfscanf_r): In integer conversions, leave out leading zeroes
5120 which are not part of a base prefix.
5121 Keep track of width truncation to fit into buf, not counting left-out
5122 zeroes against width till the truncation has been compensated for.
5123 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5124
5125 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5126
5127 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5128
5129 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5130
5131 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5132 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5133 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5134 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5135 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5136 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5137 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5138 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5139 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5140 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5141 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5142 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5143 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5144 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5145 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5146 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5147 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5148 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5149 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5150 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5151 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5152 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5153 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5154 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5155 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5156 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5157 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5158 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5159 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5160 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5161 copyright notices to top of file, ensure that <_ansi.h> is
5162 included, be consistent with open parentheses, use _DEFUN macro,
5163 include "local.h" where needed, and remove various compiler
5164 warnings.
5165
5166 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5167
5168 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5169 (__svfscanf_r): In integer conversions, leave out leading zeroes
5170 which are not part of a base prefix.
5171 Keep track of width truncation to fit into buf, not counting left-out
5172 zeroes against width till the truncation has been compensated for.
5173
5174 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5175
5176 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5177
5178 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5179
5180 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5181
5182 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
5183
5184 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5185 to SUSv3.
5186
5187 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5188
5189 * libc/stdio/fclose.c (_fclose_r): New function.
5190 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5191 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5192 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5193 * libc/include/stdio.h (_fclose_r): New prototype.
5194 * libc/stdio/fopen.c: Fix typo in comment.
5195
5196 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5197
5198 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5199 to handle _r reentrant functions.
5200
5201 2004-04-08 Eric Christopher <echristo@redhat.com>
5202
5203 * libc/include/machine/setjmp.h: Fix endif locations.
5204
5205 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5206
5207 * libc/time/strptime.c: Add standard includes to avoid
5208 warning messages at compilation time.
5209
5210 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5211
5212 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5213 of file.
5214
5215 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
5216
5217 * libc/machine/h8300/Makefile.am: Reformat slightly.
5218 * libc/machine/h8300/Makefile.in: Regenerate.
5219
5220 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
5221
5222 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5223 __sfp_lock_acquire.
5224 (__fp_unlock_all): Add call to __sfp_lock_release.
5225
5226 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5227
5228 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5229 releasing a file.
5230 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5231 fwalk.
5232 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5233 _flockfile/_funlockfile.
5234 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5235 to recursive.
5236 Change __lock_acquire/__lock_release calls for __sfp_lock to
5237 __sfp_lock_acquire/__sfp_lock_release throughout.
5238 (std): Make sure that file lock is only initialized once.
5239 (__sfp): Move _file initialization. Initialize file lock.
5240 (__sfp_lock_acquire): New function.
5241 (__sfp_lock_release): Ditto.
5242 (__fp_lock_all): Remove __sfp_lock_acquire call.
5243 (__fp_unlock_all): Remove __sfp_lock_release call.
5244 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5245 Add calls to _flockfile/_funlockfile. Remove
5246 __lock_init_recursive call.
5247 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5248 * libc/stdio/fwalk.c (__fwalk): New static function.
5249 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5250 file pointers.
5251 * libc/stdio/local.h: Add defines for
5252 __sfp_lock_acquire/__sfp_lock_release when
5253 single threaded. Add function prototypes otherwise.
5254 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5255 _flockfile/_funlockfile.
5256 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5257 Add calls to _flockfile/_funlockfile. Remove
5258 __lock_init_recursive call.
5259 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
5260 list.
5261
5262 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5263
5264 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5265 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5266 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5267 to be __LOCK_INIT_RECURSIVE.
5268
5269 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5270
5271 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5272 _exit.c with _exit.S.
5273 * libc/sys/h8300hms/Makefile.in: Regenerate.
5274 * libc/sys/h8300hms/_exit.c: Remove.
5275 * libc/sys/h8300hms/_exit.S: New.
5276
5277 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5278
5279 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5280 Change __sfp_lock to static global.
5281 (__fp_lock): New static function.
5282 (__fp_unlock): Ditto.
5283 (__fp_lock_all): New function.
5284 (__fp_unlock_all): Ditto.
5285
5286 2004-02-10 Christopher Faylor <cgf@redhat.com>
5287
5288 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5289 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5290 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5291 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5292
5293 2004-02-09 Christopher Faylor <cgf@redhat.com>
5294
5295 * libc/include/time.h (TIMER_RELTIME): New define.
5296
5297 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5298
5299 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5300 * libc/stdlib/Makefile.in: Regenerated.
5301
5302 2004-02-08 Christopher Faylor <cgf@redhat.com>
5303
5304 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5305 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5306 defined.
5307 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5308
5309 2004-02-05 Paul Brook <paul@codesourcery.com>
5310
5311 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
5312 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5313
5314 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5315
5316 * NEWS: Update with 1.12.0 info.
5317 * README: Ditto.
5318 * acinclude.m4: Change version number to 1.12.0.
5319 * aclocal.m4: Regenerated.
5320 * configure: Ditto.
5321 * doc/aclocal.m4: Ditto.
5322 * doc/configure: Ditto.
5323 * libc/*/aclocal.m4: Ditto.
5324 * libc/*/configure: Ditto.
5325 * libc/libc.texinfo: Ditto.
5326 * libm/*/aclocal.m4: Ditto.
5327 * libm/*/configure: Ditto.
5328 * libm/libm.texinfo: Ditto.
5329 * libc/sys/linux/shared.ld: Add VERS_1.12.
5330
5331 2004-02-02 Joel Sherrill <joel@oarcorp.com>
5332
5333 * configure.host: Add support for tic4x.
5334 * libc/include/machine/ieeefp.h: Ditto.
5335 * libc/include/machine/setjmp.h: Ditto.
5336 * libc/machine/tic4x/Makefile.am: New file.
5337 * libc/machine/tic4x/configure.in: Ditto.
5338 * libc/machine/tic4x/setjmp.S: Ditto.
5339 * libc/machine/tic4x/aclocal.m4: Generated.
5340 * libc/machine/tic4x/configure: Ditto.
5341 * libc/machine/tic4x/Makefile.in: Ditto.
5342
5343 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5344
5345 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5346 file chain on the passed in reentrancy struct if it
5347 is _GLOBAL_REENT.
5348
5349 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5350 Jeff Johnston <jjohnstn@redhat.com>
5351
5352 * libc/iconv/iconv.tex: Updated with more information.
5353
5354 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5355 Jeff Johnston <jjohnstn@redhat.com>
5356
5357 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5358 struct for std streams and traverse the global reeentrancy
5359 struct for all other streams.
5360
5361 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5362
5363 * libc/stdlib/atexit.c: Protect global atexit list with a
5364 lock when newlib is multithreaded.
5365
5366 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5367
5368 * configure.in: Add support to generate iconv converter flags
5369 for newlib.h
5370 * newlib.hin: Add iconv converter flags.
5371 * configure: Regenerated.
5372 * libc/Makefile.in: Ditto.
5373 * libc/configure.in: Moved iconv converter parsing logic to
5374 top level newlib configure.in.
5375 * libc/configure: Regenerated.
5376 * libc/iconv/Makefile.in: Ditto.
5377 * libc/iconv/README.TODO
5378 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5379 UCS2/UCS4/UTF8.
5380 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5381 newlib.h can be used.
5382 * libc/iconv/ces/Makefile.am: Ditto.
5383 * libc/iconv/lib/Makefile.am: Ditto.
5384 * libc/iconv/ccs/Makefile.in: Regenerated.
5385 * libc/iconv/ces/Makefile.in: Ditto.
5386 * libc/iconv/lib/Makefile.in: Ditto.
5387 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5388 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5389 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5390 defined in newlib.h.
5391 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5392 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5393 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5394 * libc/iconv/ccs/cp775.c: Ditto.
5395 * libc/iconv/ccs/cp850.c: Ditto.
5396 * libc/iconv/ccs/cp852.c: Ditto.
5397 * libc/iconv/ccs/cp855.c: Ditto.
5398 * libc/iconv/ccs/cp866.c: Ditto.
5399 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5400 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5401 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5402 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5403 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5404 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5405 * libc/iconv/ccs/jis_x0201.c: Ditto.
5406 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5407 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5408 * libc/iconv/ccs/koi8_r.c: Ditto.
5409 * libc/iconv/ccs/koi8_u.c: Ditto.
5410 * libc/iconv/ccs/ksx1001.c: Ditto.
5411 * libc/iconv/ccs/shift_jis.c: Ditto.
5412 * libc/iconv/ccs/us_ascii.c: Ditto.
5413 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5414 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5415 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5416 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5417 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5418 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5419 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5420 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5421 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5422 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5423 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5424 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5425 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5426 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5427 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5428 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5429 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5430 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5431 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5432 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5433 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5434 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5435 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5436 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5437 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5438 * libc/iconv/ces/euc-kr.c: Ditto.
5439 * libc/iconv/ces/euc-tw.c: Ditto.
5440 * libc/iconv/ces/gb2312.c: Ditto.
5441 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5442 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5443 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5444 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5445 * libc/iconv/ces/utf-16.c: Ditto.
5446 * libc/iconv/ces/utf-8.c: Ditto.
5447 * libc/iconv/lib/aliases.c: Ditto.
5448 * libc/iconv/lib/biccs.c: Ditto.
5449 * libc/iconv/lib/bices.c: Ditto.
5450 * libc/iconv/lib/ccs.c: Ditto.
5451 * libc/iconv/lib/ces.c: Ditto.
5452 * libc/iconv/lib/ces_euc.c: Ditto.
5453 * libc/iconv/lib/ces_iso2022.c: Ditto.
5454 * libc/iconv/lib/ces_table.c: Ditto.
5455 * libc/iconv/lib/converter.c: Ditto.
5456 * libc/iconv/lib/deps.h: Ditto.
5457 * libc/iconv/lib/endian.h: Ditto.
5458 * libc/iconv/lib/iconv.c: Ditto.
5459 * libc/iconv/lib/loaddata.c: Ditto.
5460 * libc/iconv/lib/local.h: Include newlib.h.
5461 * libc/argz/Makefile.in: Regenerated.
5462 * libc/ctype/Makefile.in: Ditto.
5463 * libc/errno/Makefile.in: Ditto.
5464 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5465 * libc/locale/Makefile.in: Ditto.
5466 * libc/misc/Makefile.in: Ditto.
5467 * libc/posix/Makefile.in: Ditto.
5468 * libc/reent/Makefile.in: Ditto.
5469 * libc/search/Makefile.in: Ditto.
5470 * libc/signal/Makefile.in: Ditto.
5471 * libc/stdio/Makefile.in: Ditto.
5472 * libc/stdio64/Makefile.in: Ditto.
5473 * libc/stdlib/Makefile.in: Ditto.
5474 * libc/string/Makefile.in: Ditto.
5475 * libc/syscalls/Makefile.in: Ditto.
5476 * libc/time/Makefile.in: Ditto.
5477 * libc/unix/Makefile.in: Ditto.
5478 * testsuite/newlib.iconv/iconv.exp: New file.
5479 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5480 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5481 * testsuite/newlib.iconv/iconvru.c: Ditto.
5482
5483 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5484
5485 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5486 (--enable-newlib-builtin-converters): Ditto.
5487 * configure.in: Add code to set _ICONV_ENABLED flag.
5488 Set _MB_LEN_MAX to 1 if not mb enabled.
5489 * configure: Regenerated.
5490 * aclocal.m4: Ditto.
5491 * Makefile.in: Ditto.
5492 * newlib.hin: Add _ICONV_ENABLED flag.
5493 * libc/Makefile.am: Add support for iconv.
5494 * libc/configure.in: Ditto.
5495 * libc/Makefile.in: Regenerated.
5496 * libc/aclocal.m4: Ditto.
5497 * libc/configure: Ditto.
5498 * libc/libc.texinfo: Add iconv documentation.
5499 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5500 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5501 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5502 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5503 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5504 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5505 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5506 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5507 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5508 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5509 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5510 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5511 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5512 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5513 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5514 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5515 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5516 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5517 libc/iconv/ccs/binary/big5.cct,
5518 libc/iconv/ccs/binary/cns11643_plane1.cct,
5519 libc/iconv/ccs/binary/cns11643_plane14.cct,
5520 libc/iconv/ccs/binary/cns11643_plane2.cct,
5521 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5522 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5523 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5524 libc/iconv/ccs/binary/iso_8859_1.cct,
5525 libc/iconv/ccs/binary/iso_8859_15.cct,
5526 libc/iconv/ccs/binary/iso_8859_2.cct,
5527 libc/iconv/ccs/binary/iso_8859_4.cct,
5528 libc/iconv/ccs/binary/iso_8859_5.cct,
5529 libc/iconv/ccs/binary/jis_x0201.cct,
5530 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5531 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5532 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5533 libc/iconv/ccs/binary/ksx1001.cct,
5534 libc/iconv/ccs/binary/shift_jis.cct,
5535 libc/iconv/ccs/binary/us_ascii.cct,
5536 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5537 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5538 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5539 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5540 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5541 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5542 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5543 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5544 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5545 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5546 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5547 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5548 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5549 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5550 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5551 * libc/sys/linux/include/iconv.h: Ditto.
5552 * libc/include/sys/_types.h (_iconv_t): Added.
5553 * doc/aclocal.m4: Regenerated.
5554 * doc/configure: Ditto.
5555 * doc/Makefile.in: Ditto.
5556 * iconvdata/Makefile.in: Ditto.
5557 * iconvdata/aclocal.m4: Ditto.
5558 * iconvdata/configure: Ditto.
5559 * libc/*aclocal.m4: Ditto.
5560 * libc/*Makefile.in: Ditto.
5561 * libc/*configure: Ditto.
5562 * libm/*aclocal.m4: Ditto.
5563 * libm/*Makefile.in: Ditto.
5564 * libm/*configure: Ditto.
5565
5566 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5567
5568 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5569 by a lock when newlib is multithreaded.
5570
5571 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5572
5573 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5574 pointer to match C99 spec.
5575 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5576 dst is NULL. Also fix to not alter src pointer when dst is NULL
5577 and call _mbrtowc_r instead of _mbtowc_r.
5578 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5579 of _wctomb_r.
5580
5581 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5582
5583 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5584 * libc/stdio/freopen.c (freopen): Ditto.
5585
5586 2004-01-16 Christopher Faylor <cgf@redhat.com>
5587
5588 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5589
5590 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5591
5592 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5593 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5594 Add calls to __lock_init_recursive and __lock_close_recursive
5595 instead.
5596
5597 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5598
5599 * libc/stdio/fclose.c: Include sys/lock.h.
5600 (fclose): Destroy lock when file is closed.
5601 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5602 member.
5603 * libc/stdio/freopen.c: Include sys/lock.h.
5604 (_freopen_r): Destroy lock when file is closed.
5605 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5606 _lock member.
5607
5608 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5609
5610 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5611 Remove warnings.
5612
5613 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5614
5615 * libc/sys/rtems/sys/queue.h: New file.
5616 * libc/include/sys/signal.h: Reflect renumbering of signals to
5617 fit into 32-bit mask.
5618 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5619 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5620 required. In particular, add the reentrant variants of libc calls.
5621 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5622
5623 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5624
5625 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5626 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5627 Similarly for stdout and stderr.
5628
5629 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5630
5631 * libc/libc.texinfo: Correct escape character for @ sign
5632 so file will be processed by make info. Update copyright years.
5633 * libm/libm.texinfo: Ditto.
5634
5635 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5636
5637 * libc/include/sys/stat.h: No longer include stat-dj.h.
5638 * libc/include/sys/stat-dj.h: Removed.
5639
5640 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5641
5642 * libc/include/wchar.h: Include <sys/reent.h>.
5643
5644 2003-12-05 Christopher Faylor <cgf@redhat.com>
5645
5646 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5647 when defining _mbrtowc.
5648 * libc/stdlib/mbsinit.c: Ditto.
5649 * libc/stdlib/mbsrtowcs.c: Ditto.
5650 * libc/stdlib/wcrtomb.c: Ditto.
5651 * libc/stdlib/wcsrtombs.c: Ditto.
5652 * libc/stdlib/wctob.c: Ditto.
5653
5654 2003-12-05 Christopher Faylor <cgf@redhat.com>
5655
5656 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5657 errors when defining _mbrtowc.
5658 * libc/stdlib/mbsinit.c: Ditto.
5659 * libc/stdlib/mbsrtowcs.c: Ditto.
5660
5661 2003-12-05 Christopher Faylor <cgf@redhat.com>
5662
5663 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5664 errors when defining _mbrtowc.
5665
5666 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5667
5668 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5669 of mb routines for %lc and %ls support.
5670 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5671 %ls, and %S support. Remove CYGNUS_NEC markers and
5672 code within.
5673
5674 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5675
5676 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5677 _wcrtomb_r, and _wcsrtombs_r.
5678
5679 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5680
5681 * libc/include/sys/fcntl.h: Don't define struct flock when on
5682 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5683
5684 2003-11-28 Christopher Faylor <cgf@redhat.com>
5685
5686 * libc/include/sys/signal.h: Use system specific signal file when
5687 building on cygwin.
5688
5689 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5690
5691 * libc/include/stdlib.h (_atoi_r): New prototype.
5692 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5693
5694 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5695
5696 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5697 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5698 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5699
5700 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5701 Jeff Johnston <jjohnstn@redhat.com>
5702
5703 * libc/include/stdlib.h (lldiv_t): New type.
5704 (atoll, llabs, lldiv): New prototypes.
5705 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5706 * libc/stdlib/stdlib.tex: Ditto.
5707 * libc/stdlib/Makefile.in: Regenerated.
5708 * libc/stdlib/atoll.c: New file.
5709 * libc/stdlib/llabs.c: Ditto.
5710 * libc/stdlib/lldiv.c: Ditto.
5711
5712 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5713
5714 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5715 * libc/include/unistd.h: Ditto.
5716 * libc/include/stat.h: Ditto. Also declare struct stat64.
5717
5718 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5719
5720 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5721 specifier to use ch instead of *fmt.
5722
5723 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5724
5725 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5726 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5727 use simple byte logic.
5728
5729 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5730
5731 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5732 _strtold routine for processing floats and doubles since it
5733 is not as fast as _strtod_r.
5734
5735 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5736
5737 * libc/machine/h8300/defines.h : Correct pointer register defines
5738 for normal mode.
5739 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5740 for normal mode.
5741 * libc/machine/h8300/reg_memcpy.S : Likewise.
5742 * libc/machine/h8300/reg_memset.S : Likewise.
5743 * libc/machine/h8300/strcmp.S : Likewise.
5744
5745 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5746
5747 * configure.host: Enable positional arguments for printf
5748 family for Cygwin.
5749 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5750 pointer reference for quad_ptr_t.
5751
5752 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5753
5754 * libc/stdio/scanf.c: Don't include local.h more than once.
5755
5756 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5757
5758 * libc/include/sys/fcntl.h: Declare _open64.
5759 * libc/include/sys/stat.h: Declare _fstat64.
5760 * libc/include/sys/unistd.h: Declare _lseek64.
5761
5762 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5763
5764 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5765 (setprogname): Ditto.
5766
5767 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5768
5769 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5770 to use (Ebits + 1) which accounts for the sign-bit.
5771
5772 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5773
5774 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5775 x86 build.
5776 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5777 and set up default flags to pass to aclocal.
5778 * iconvdata/Makefile.in: Regenerated.
5779 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5780 and getpwuid routines.
5781 * libc/sys/linux/Makefile.in: Regenerated.
5782 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5783 applications to link with newlib's shared libc library.
5784 * libc/sys/linux/getpwnam.c: Ditto.
5785 * libc/sys/linux/getpwuid.c: Ditto.
5786 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5787 that were formerly supplied by /usr/include/linux/types.h with
5788 kernel types.
5789 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5790 test _ELIX_LEVEL macro.
5791
5792 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5793
5794 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5795 referring to _NO_LONGLONG macro.
5796
5797 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5798
5799 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5800 in LOG() macro so this will compile on gcc 3.4 and up.
5801 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5802 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5803 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5804 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5805 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5806 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5807 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5808 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5809 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5810 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5811 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5812 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5813 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5814 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5815 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5816 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5817 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5818 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5819 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5820 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5821 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5822 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5823 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5824 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5825 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5826 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5827 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5828 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5829 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5830 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5831 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5832 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5833 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5834 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5835 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5836 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5837
5838 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5839 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5840
5841 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5842 %ls, %S, %lc, and %C format specifiers.
5843 (get_arg): Ditto.
5844 * libc/stdio/sprintf.c: Add documentation regarding new
5845 format specifiers added in vfprintf.c.
5846
5847 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5848
5849 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5850 to make code work as specified in standard.
5851
5852 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5853
5854 * configure.in: Use absolute newlib basedir when forming
5855 CC_FOR_NEWLIB include options.
5856 * configure: Regenerated.
5857
5858 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5859
5860 * libc/string/wcsnlen.c: New file.
5861 * libc/include/wchar.h: Add wcsnlen prototype.
5862 * libc/string/Makefile.am: Add wcsnlen support.
5863 * libc/string/Makefile.in: Regenerated.
5864 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5865
5866 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5867
5868 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5869
5870 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5871
5872 * libc/locale/locale.c: Use double quotes in code.
5873 * libc/locale/locale.tex: Likewise.
5874 * libc/libc.texinfo: Hyphenate "floating-point".
5875 * libc/machine/necv70/necv70.tex: Likewise.
5876 * libc/stdio/sprintf.c: Likewise.
5877 * libc/stdio/sscanf.c: Likewise.
5878 * libc/stdlib/atof.c: Likewise.
5879 * libc/stdlib/ldtoa.c: Fix comment typo.
5880 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5881 * libc/stdlib/ldiv.c: Likewise.
5882 * libm/common/s_expm1.c: Likewise.
5883 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5884 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5885 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5886 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5887 and "floating-point".
5888 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5889 * libm/math/e_pow.c: Fix comment typo.
5890 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5891 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5892 * libm/math/s_atan.c: Likewise.
5893 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5894 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5895 "floating-point". Use "nonzero".
5896 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5897 * libm/math/w_acos.c: Likewise.
5898 * libm/math/w_acosh.c: Likewise.
5899 * libm/math/w_asin.c: Likewise.
5900 * libm/math/w_atan2.c: Likewise.
5901 * libm/math/w_atanh.c: Likewise.
5902 * libm/math/w_cosh.c: Likewise.
5903 * libm/math/w_exp.c: Likewise.
5904 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5905 version of 2^x in the description.
5906 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5907 * libm/math/w_gamma.c: Likewise.
5908 * libm/math/w_hypot.c: Likewise.
5909 * libm/math/w_j0.c: Likewise.
5910 * libm/math/w_sinh.c: Likewise.
5911 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5912 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5913 "floating-point".
5914 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5915 * libm/mathfp/e_atanh.c: Likewise.
5916 * libm/mathfp/e_hypot.c: Likewise.
5917 * libm/mathfp/er_lgamma.c: Likewise.
5918 * libm/mathfp/s_acos.c: Likewise.
5919 * libm/mathfp/s_asine.c: Likewise.
5920 * libm/mathfp/s_asinh.c: Likewise.
5921 * libm/mathfp/s_atan.c: Likewise.
5922 * libm/mathfp/s_atan2.c: Likewise.
5923 * libm/mathfp/s_atangent.c: Likewise.
5924 * libm/mathfp/s_cosh.c: Likewise.
5925 * libm/mathfp/s_exp.c: Likewise.
5926 * libm/mathfp/s_fmod.c: Likewise.
5927 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5928 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5929 "floating-point". Use "nonzero".
5930 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5931 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5932 * libm/mathfp/s_sineh.c: Likewise.
5933 * libm/mathfp/w_jn.c: Likewise.
5934
5935 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5936
5937 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5938 lines, to enable parallel make.
5939 * Makefile.in: Rebuilt.
5940
5941 2003-10-14 Christopher Faylor <cgf@redhat.com>
5942
5943 * libc/time/clock.c: Clarify documentation of return value when no
5944 measurement is available.
5945
5946 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5947
5948 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5949 * libm/configure: Regenerate.
5950 * libm/Makefile.in: Ditto.
5951
5952 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5953
5954 * libc/machine/sh/strncpy.S: New file.
5955 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5956 * libc/machine/sh/Makefile.in: Regenerate.
5957
5958 2003-09-11 James E Wilson <wilson@specifixinc.com>
5959
5960 * MAINTAINERS: Update my e-mail address.
5961
5962 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5963
5964 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5965
5966 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5967
5968 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5969 prototype.
5970 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5971 _simdldcheck(). Also add unsigned cast for index variable in
5972 for loop using sizeof operators.
5973 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5974 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5975 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5976 plus fix shift calculation for determining if there is a
5977 carry from word2.
5978
5979 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5980
5981 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5982 setgroupent for Cygwin.
5983
5984 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5985
5986 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5987 is different for _REENT_SMALL than when using regular reent
5988 struct.
5989
5990 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5991
5992 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5993 modern versions of GCC issue a warning.
5994
5995 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5996 after continuation characters that induces a warning from modern
5997 versions of GCC.
5998
5999 2003-09-04 Ben Elliston <bje@wasabisystems.com>
6000
6001 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
6002 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
6003
6004 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
6005
6006 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
6007 * libc/stdlib/exit.c : Ditto.
6008 * libc/stdlib/on_exit.c: Ditto.
6009
6010 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
6011
6012 * libc/include/reent.h: Define stat64 as __stat64 when
6013 compiling newlib for Cygwin.
6014
6015 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6016
6017 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
6018 __stat64 when compiling newlib.
6019
6020 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
6021
6022 * libc/include/stdio.h: Allow the io64 function prototypes for
6023 Cygwin when compiling newlib.
6024 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
6025 to expose the Cygwin struct __stat64 type.
6026 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
6027 pointer.
6028 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
6029
6030 2003-08-23 Christopher Faylor <cgf@redhat.com>
6031
6032 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
6033 definition to fseeko64.
6034
6035 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
6036
6037 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
6038 * libc/stdio: Globally remove/replace all references to fp->_data.
6039 Replace with _REENT or _GLOBAL_REENT where appropriate.
6040 * libc/stdio/asprintf.c: Ditto.
6041 * libc/stdio/fclose.c: Ditto.
6042 * libc/stdio/fvwrite.c: Ditto.
6043 * libc/stdio/makebuf.c: Ditto.
6044 * libc/stdio/refill.c: Ditto.
6045 * libc/stdio/local.h: Ditto.
6046 * libc/stdio/setvbuf.c: Ditto.
6047 * libc/stdio/sscanf.c: Ditto.
6048 * libc/stdio/stdio.c: Ditto.
6049 * libc/stdio/ungetc.c: Ditto.
6050 * libc/stdio/vfscanf.c: Ditto.
6051 * libc/stdio/vsscanf.c: Ditto.
6052 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
6053 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
6054 * libc/stdio/vsnprintf.c: Ditto.
6055 * libc/stdio/vsprintf.c: Ditto.
6056 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
6057 instead of _REENT to walk file list.
6058 * libc/stdio/fflush.c: Ditto.
6059 * libc/stdio/fgetpos.c: Add reentrant version and have regular
6060 version call reentrant version with _REENT argument.
6061 * libc/stdio/fsetpos.c: Ditto.
6062 * libc/stdio/fseek.c: Ditto.
6063 * libc/stdio/fseeko.c: Ditto.
6064 * libc/stdio/ftell.c: Ditto.
6065 * libc/stdio/ftello.c: Ditto.
6066 * libc/stdio/freopen.c: Ditto.
6067 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
6068 new files to chain. Also use _GLOBAL_REENT pointer for
6069 cleaning up.
6070 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
6071 * libc/stdio/siprintf.c: Ditto.
6072 * libc/stdio/iprintf.c: Ditto.
6073 * libc/stdio/fprintf.c: Ditto.
6074 * libc/stdio/printf.c: Ditto.
6075 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
6076 * libc/stdio/sprintf.c: Ditto.
6077 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6078 * libc/stdio/rewind.c: Call _fseek_r directly.
6079 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6080 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6081 data pointer.
6082 (get_arg): Add extra struct _reent pointer argument.
6083 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6084 to fp->_data.
6085 * libc/stdio64/fopen64.c: Ditto.
6086 * libc/stdio64/freopen64.c: Ditto.
6087 * libc/stdio64/fsetpos64.c: Ditto.
6088 * libc/stdio64/ftello64.c: Ditto.
6089 * libc/stdio64/local64.h: Ditto.
6090 * libc/stdio64/stdio64.c: Ditto.
6091 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6092 _fstat64_r for the meantime.
6093
6094 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6095
6096 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6097 overflow detection.
6098
6099 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
6100
6101 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6102 extern "C".
6103
6104 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6105
6106 * libc/include/math.h: Add prototypes for __signbitf and
6107 __signbitd.
6108
6109 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6110
6111 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6112 correct type of conversion when dealing with EUCJP or SJIS.
6113 * libc/ctype/iswblank.c: Ditto.
6114 * libc/ctype/iswcntrl.c: Ditto.
6115 * libc/ctype/iswprint.c: Ditto.
6116 * libc/ctype/iswpunct.c: Ditto.
6117 * libc/ctype/iswspace.c: Ditto.
6118 * libc/ctype/towlower.c: Ditto.
6119 * libc/ctype/towupper.c: Ditto.
6120
6121 2003-07-31 Nick Clifton <nickc@redhat.com>
6122
6123 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6124 before calling main, in case it saves its argument registers.
6125 Remove reference to deleted v850ea port.
6126 * configure.host: Remove reference to deleted v850ea port.
6127 Do not use -mv850 when building for v850e target. This
6128 prevents the ctbp system register from being initialised.
6129
6130 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
6131
6132 * libc/stdio/vfprintf.c: Set output size to 1 when
6133 we have %f format with precision 0 and # flag not specified.
6134
6135 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
6136
6137 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6138 .am33_2.
6139
6140 2003-07-25 Christopher Faylor <cgf@redhat.com>
6141
6142 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6143
6144 2003-07-25 Christopher Faylor <cgf@redhat.com>
6145
6146 * configure.host: Find cygwin include directory, when appropriate.
6147
6148 2003-07-24 Christopher Faylor <cgf@redhat.com>
6149
6150 * libc/stdio64/fdopen64.c: New file.
6151 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6152 * libc/stdio64/Makefile.in: Regenerate.
6153 * libc/include/stdio.h (fdopen64): Define.
6154 * libc/include/stdio.h (_fdopen64_r): Ditto.
6155
6156 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
6157
6158 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6159 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6160 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6161 restore callee-saved FP registers.
6162
6163 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6164
6165 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6166 for __sh__.
6167 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6168 truncate.c.
6169 * libc/sys/sh/Makefile.in: Regenerate.
6170 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6171 * libc/sys/sh/ftruncate.c: New file.
6172 * libc/sys/sh/truncate.c: Likewise.
6173
6174 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
6175
6176 * libc/include/math.h (nan, nanf): Update prototype to C99.
6177 * libm/common/s_nan.c (nan): Likewise.
6178 * libm/common/s_nanf.c (nanf, nan): Likewise.
6179 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6180
6181 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6182
6183 * libc/include/stdbool.h: Removed as this is defined by gcc.
6184
6185 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6186
6187 * libc/include/stdbool.h: New header file defined by C99.
6188
6189 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6190
6191 * libc/include/sys/types.h (int8_t): Make signed.
6192
6193 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6194
6195 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6196
6197 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6198
6199 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6200 on if we actually created the shared memory file exclusively.
6201
6202 2003-06-27 Joe Vornehm <joev@mitre.org>
6203
6204 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6205 comparisons to account for unsigned internal value w.
6206
6207 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6208
6209 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6210 wrbuf for a non-creating open.
6211
6212 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6213
6214 * libc/machine/h8300/setarch.h: New.
6215 * libc/machine/h8300/memcpy.S: Use it.
6216 * libc/machine/h8300/memset.S: Likewise.
6217 * libc/machine/h8300/reg_memcpy.S: Likewise.
6218 * libc/machine/h8300/reg_memset.S: Likewise.
6219 * libc/machine/h8300/setjmp.S: Likewise.
6220 * libc/machine/h8300/strcmp.S: Likewise.
6221
6222 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
6223
6224 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6225 to atexit().
6226
6227 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6228
6229 * configure.host (iq2000): Add tabs.
6230
6231 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6232
6233 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6234 to handle latest on_exit change.
6235 * libc/sys/linux/Makefile.am: Remove special compilation
6236 for malloc.c and mcheck.c.
6237 * libc/sys/linux/Makefile.in: Regenerated.
6238 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6239 after including <features.h>.
6240 * libc/sys/linux/mcheck.c: Ditto.
6241 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6242 for <features.h>.
6243 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6244 add -DNOT_IN_libc to C flags.
6245 * libc/sys/linux/intl/Makefile.in: Regenerated.
6246 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6247 * libc/sys/linux/linuxthreads/semaphore.h: Include
6248 <bits/pthreadtypes.h>.
6249 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6250 including <features.h>.
6251 * libc/sys/linux/sys/lock.h: Ditto.
6252
6253 2003-06-11 Nick Clifton <nickc@redhat.com>
6254
6255 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6256 _on_exit_args_ptr.
6257
6258 2003-06-10 Stan Cox <scox@redhat.com>
6259 Anthony Green <green@redhat.com>
6260
6261 * configure.host: Add iq2000 support.
6262 * newlib/libc/include/machine/ieeefp.h: Ditto.
6263 * newlib/libc/include/machine/setjmp.h: Ditto.
6264 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6265 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6266 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6267 libc/machine/iq2000/Makefile.in: New files.
6268
6269 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
6270
6271 * libc/sys/h8300hms/setarch.h: New file.
6272 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6273 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6274 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6275 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6276
6277 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6278
6279 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6280 definition.
6281 * libc/argz/argz_add_sep.c: Ditto.
6282 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6283 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6284 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6285 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6286 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6287 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6288 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6289 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6290 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6291 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6292 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6293 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6294 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6295 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6296 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6297 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6298 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6299 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6300 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6301 * libc/search/twalk.c libc/signal/signal.c: Ditto.
6302
6303 2003-06-05 Nick Clifton <nickc@redhat.com>
6304
6305 * libc/include/sys/reent.h (struct _on_exit_args): New
6306 structure containing fields used by the on_exit() function.
6307 (struct _atexit): Include struct _on_exit_args. For
6308 _REENT_SMALL do his via a pointer that is initialised when
6309 needed.
6310 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
6311 structure, if one has been allocated.
6312 * libc/stdlib/atexit.c (atexit): Update indirection to
6313 _fntypes field.
6314 * libc/stdlib/on_exit.c (on_exit): Indirect via the
6315 _on_exit_args structure. For _REENT_SMALL, allocate a
6316 structure if one does not exist.
6317 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
6318 structure.
6319
6320 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6321
6322 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6323 * libc/sys/linux/net/Makefile.in: Regenerated.
6324
6325 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6326
6327 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6328 * libc/reent/fcntlr.c: Ditto.
6329 * libc/reent/fstat64r.c: Ditto.
6330 * libc/reent/linkr.c: Ditto.
6331 * libc/reent/lseek64r.c: Ditto.
6332 * libc/reent/lseekr.c: Ditto.
6333 * libc/reent/openr.c: Ditto.
6334 * libc/reent/readr.c: Ditto.
6335 * libc/reent/reent.c: Ditto.
6336 * libc/reent/sbrkr.c: Ditto.
6337 * libc/reent/signalr.c: Ditto.
6338 * libc/reent/signgam.c: Ditto.
6339 * libc/reent/statr.c: Ditto.
6340 * libc/reent/timer.c: Ditto.
6341 * libc/reent/unlinkr.c: Ditto.
6342 * libc/reent/writer.c: Ditto.
6343 * libc/syscalls/sysclose.c: Ditto.
6344 * libc/syscalls/sysexecve.c: Ditto.
6345 * libc/syscalls/sysfcntl.c: Ditto.
6346 * libc/syscalls/sysfork.c: Ditto.
6347 * libc/syscalls/sysfstat.c: Ditto.
6348 * libc/syscalls/sysgetpid.c: Ditto.
6349 * libc/syscalls/sysgettod.c: Ditto.
6350 * libc/syscalls/syskill.c: Ditto.
6351 * libc/syscalls/syslink.c: Ditto.
6352 * libc/syscalls/syslseek.c: Ditto.
6353 * libc/syscalls/sysopen.c: Ditto.
6354 * libc/syscalls/sysread.c: Ditto.
6355 * libc/syscalls/syssbrk.c: Ditto.
6356 * libc/syscalls/sysstat.c: Ditto.
6357 * libc/syscalls/systimes.c: Ditto.
6358 * libc/syscalls/sysunlink.c: Ditto.
6359 * libc/syscalls/syswait.c: Ditto.
6360 * libc/syscalls/syswrite.c: Ditto.
6361
6362 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6363
6364 * libc/time/tzset_r.c: Change local variables that are
6365 set via sscanf using the %h format specifier to be unsigned short
6366 instead of int.
6367
6368 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6369
6370 * configure.host: Allow i[34567]86 variant.
6371 * configure.in: Likewise.
6372 * README: Likewise to the docs.
6373 * configure: Regenerated.
6374 * Makefile.in: Ditto.
6375
6376 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6377 Tom Fitzsimmons <fitzsim@redhat.com>
6378
6379 * configure.in: Add iconvdata support for x86 linux.
6380 * configure: Regenerated.
6381 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6382 library, iconv, and linuxthreads support.
6383 * libc/sys/linux/configure.in: Ditto.
6384 * libc/sys/linux/Makefile.in: Regenerated.
6385 * libc/sys/linux/configure: Ditto.
6386 * iconvdata/EUC-JP.irreversible: New file.
6387 * iconvdata/Makefile.am: Ditto.
6388 * iconvdata/Makefile.in: Ditto.
6389 * iconvdata/SJIS.irreversible: Ditto.
6390 * iconvdata/aclocal.m4: Ditto.
6391 * iconvdata/configure: Ditto.
6392 * iconvdata/configure.in: Ditto.
6393 * iconvdata/dummy.c: Ditto.
6394 * iconvdata/euc-jp.c: Ditto.
6395 * iconvdata/gconv-modules: Ditto.
6396 * iconvdata/jis0201.c: Ditto.
6397 * iconvdata/jis0201.h: Ditto.
6398 * iconvdata/jis0208.c: Ditto.
6399 * iconvdata/jis0208.h: Ditto.
6400 * iconvdata/jis0212.c: Ditto.
6401 * iconvdata/jis0212.h: Ditto.
6402 * iconvdata/sjis.c: Ditto.
6403 * libc/include/errno.h: Protect definition of error_t.
6404 * libc/sys/linux/gethostid.c: New file.
6405 * libc/sys/linux/sethostid.c: Ditto.
6406 * libc/sys/linux/dl/Makefile.am: Ditto.
6407 * libc/sys/linux/dl/Makefile.in: Ditto.
6408 * libc/sys/linux/dl/abi-tag.h: Ditto.
6409 * libc/sys/linux/dl/atomicity.h: Ditto.
6410 * libc/sys/linux/dl/dl-addr.c: Ditto.
6411 * libc/sys/linux/dl/dl-cache.c: Ditto.
6412 * libc/sys/linux/dl/dl-cache.h: Ditto.
6413 * libc/sys/linux/dl/dl-close.c: Ditto.
6414 * libc/sys/linux/dl/dl-debug.c: Ditto.
6415 * libc/sys/linux/dl/dl-deps.c: Ditto.
6416 * libc/sys/linux/dl/dl-dst.h: Ditto.
6417 * libc/sys/linux/dl/dl-error.c: Ditto.
6418 * libc/sys/linux/dl/dl-fini.c: Ditto.
6419 * libc/sys/linux/dl/dl-init.c: Ditto.
6420 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6421 * libc/sys/linux/dl/dl-libc.c: Ditto.
6422 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6423 * libc/sys/linux/dl/dl-load.c: Ditto.
6424 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6425 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6426 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6427 * libc/sys/linux/dl/dl-misc.c: Ditto.
6428 * libc/sys/linux/dl/dl-object.c: Ditto.
6429 * libc/sys/linux/dl/dl-open.c: Ditto.
6430 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6431 * libc/sys/linux/dl/dl-profile.c: Ditto.
6432 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6433 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6434 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6435 * libc/sys/linux/dl/dl-support.c: Ditto.
6436 * libc/sys/linux/dl/dl-sym.c: Ditto.
6437 * libc/sys/linux/dl/dl-version.c: Ditto.
6438 * libc/sys/linux/dl/dlfcn.h: Ditto.
6439 * libc/sys/linux/dl/do-lookup.h: Ditto.
6440 * libc/sys/linux/dl/do-rel.h: Ditto.
6441 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6442 * libc/sys/linux/dl/kernel-features.h: Ditto.
6443 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6444 * libc/sys/linux/dl/libintl.h: Ditto.
6445 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6446 * libc/sys/linux/dl/unsecvars.h: Ditto.
6447 * libc/sys/linux/iconv/Makefile.am: Ditto.
6448 * libc/sys/linux/iconv/Makefile.in: Ditto.
6449 * libc/sys/linux/iconv/categories.def: Ditto.
6450 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6451 * libc/sys/linux/iconv/gconv.c: Ditto.
6452 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6453 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6454 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6455 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6456 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6457 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6458 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6459 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6460 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6461 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6462 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6463 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6464 * libc/sys/linux/iconv/hash-string.h: Ditto.
6465 * libc/sys/linux/iconv/iconv.c: Ditto.
6466 * libc/sys/linux/iconv/iconv.h: Ditto.
6467 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6468 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6469 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6470 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6471 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6472 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6473 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6474 * libc/sys/linux/iconv/loop.c: Ditto.
6475 * libc/sys/linux/iconv/skeleton.c: Ditto.
6476 * libc/sys/linux/iconv/strtab.c: Ditto.
6477 * libc/sys/linux/include/dl-hash.h: Ditto.
6478 * libc/sys/linux/include/dlfcn.h: Ditto.
6479 * libc/sys/linux/include/fnmatch.h: Ditto.
6480 * libc/sys/linux/include/gconv.h: Ditto.
6481 * libc/sys/linux/include/glob.h: Ditto.
6482 * libc/sys/linux/include/hesiod.h: Ditto.
6483 * libc/sys/linux/include/ifaddrs.h: Ditto.
6484 * libc/sys/linux/include/libc_private.h: Ditto.
6485 * libc/sys/linux/include/link.h: Ditto.
6486 * libc/sys/linux/include/namespace.h: Ditto.
6487 * libc/sys/linux/include/netconfig.h: Ditto.
6488 * libc/sys/linux/include/netdb.h: Ditto.
6489 * libc/sys/linux/include/nsswitch.h: Ditto.
6490 * libc/sys/linux/include/regex.h: Ditto.
6491 * libc/sys/linux/include/resolv.h: Ditto.
6492 * libc/sys/linux/include/rune.h: Ditto.
6493 * libc/sys/linux/include/runetype.h: Ditto.
6494 * libc/sys/linux/include/semaphore.h: Ditto.
6495 * libc/sys/linux/include/setlocale.h: Ditto.
6496 * libc/sys/linux/include/un-namespace.h: Ditto.
6497 * libc/sys/linux/include/wordexp.h: Ditto.
6498 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6499 * libc/sys/linux/include/arpa/inet.h: Ditto.
6500 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6501 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6502 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6503 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6504 * libc/sys/linux/include/net/bpf.h: Ditto.
6505 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6506 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6507 * libc/sys/linux/include/net/bridge.h: Ditto.
6508 * libc/sys/linux/include/net/ethernet.h: Ditto.
6509 * libc/sys/linux/include/net/fddi.h: Ditto.
6510 * libc/sys/linux/include/net/if.h: Ditto.
6511 * libc/sys/linux/include/net/if_arc.h: Ditto.
6512 * libc/sys/linux/include/net/if_arp.h: Ditto.
6513 * libc/sys/linux/include/net/if_atm.h: Ditto.
6514 * libc/sys/linux/include/net/if_dl.h: Ditto.
6515 * libc/sys/linux/include/net/if_gif.h: Ditto.
6516 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6517 * libc/sys/linux/include/net/if_llc.h: Ditto.
6518 * libc/sys/linux/include/net/if_media.h: Ditto.
6519 * libc/sys/linux/include/net/if_mib.h: Ditto.
6520 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6521 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6522 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6523 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6524 * libc/sys/linux/include/net/if_stf.h: Ditto.
6525 * libc/sys/linux/include/net/if_tap.h: Ditto.
6526 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6527 * libc/sys/linux/include/net/if_tun.h: Ditto.
6528 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6529 * libc/sys/linux/include/net/if_types.h: Ditto.
6530 * libc/sys/linux/include/net/if_var.h: Ditto.
6531 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6532 * libc/sys/linux/include/net/intrq.h: Ditto.
6533 * libc/sys/linux/include/net/iso88025.h: Ditto.
6534 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6535 * libc/sys/linux/include/net/netisr.h: Ditto.
6536 * libc/sys/linux/include/net/pfil.h: Ditto.
6537 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6538 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6539 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6540 * libc/sys/linux/include/net/radix.h: Ditto.
6541 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6542 * libc/sys/linux/include/net/route.h: Ditto.
6543 * libc/sys/linux/include/net/slcompress.h: Ditto.
6544 * libc/sys/linux/include/net/slip.h: Ditto.
6545 * libc/sys/linux/include/net/zlib.h: Ditto.
6546 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6547 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6548 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6549 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6550 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6551 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6552 * libc/sys/linux/include/netinet/in.h: Ditto.
6553 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6554 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6555 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6556 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6557 * libc/sys/linux/include/netinet/ip.h: Ditto.
6558 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6559 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6560 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6561 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6562 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6563 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6564 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6565 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6566 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6567 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6568 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6569 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6570 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6571 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6572 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6573 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6574 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6575 * libc/sys/linux/include/netinet/udp.h: Ditto.
6576 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6577 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6578 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6579 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6580 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6581 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6582 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6583 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6584 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6585 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6586 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6587 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6588 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6589 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6590 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6591 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6592 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6593 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6594 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6595 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6596 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6597 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6598 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6599 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6600 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6601 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6602 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6603 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6604 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6605 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6606 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6607 * libc/sys/linux/include/netns/idp.h: Ditto.
6608 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6609 * libc/sys/linux/include/netns/ns.h: Ditto.
6610 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6611 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6612 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6613 * libc/sys/linux/include/netns/sp.h: Ditto.
6614 * libc/sys/linux/include/netns/spidp.h: Ditto.
6615 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6616 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6617 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6618 * libc/sys/linux/include/rpc/Makefile: Ditto.
6619 * libc/sys/linux/include/rpc/auth.h: Ditto.
6620 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6621 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6622 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6623 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6624 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6625 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6626 * libc/sys/linux/include/rpc/des.h: Ditto.
6627 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6628 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6629 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6630 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6631 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6632 * libc/sys/linux/include/rpc/raw.h: Ditto.
6633 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6634 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6635 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6636 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6637 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6638 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6639 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6640 * libc/sys/linux/include/rpc/svc.h: Ditto.
6641 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6642 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6643 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6644 * libc/sys/linux/include/rpc/types.h: Ditto.
6645 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6646 * libc/sys/linux/intl/Makefile.am: Ditto.
6647 * libc/sys/linux/intl/Makefile.in: Ditto.
6648 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6649 * libc/sys/linux/intl/catgets.c: Ditto.
6650 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6651 * libc/sys/linux/intl/config.h: Ditto.
6652 * libc/sys/linux/intl/dcgettext.c: Ditto.
6653 * libc/sys/linux/intl/dcigettext.c: Ditto.
6654 * libc/sys/linux/intl/dcngettext.c: Ditto.
6655 * libc/sys/linux/intl/dgettext.c: Ditto.
6656 * libc/sys/linux/intl/dngettext.c: Ditto.
6657 * libc/sys/linux/intl/explodename.c: Ditto.
6658 * libc/sys/linux/intl/finddomain.c: Ditto.
6659 * libc/sys/linux/intl/gettext.c: Ditto.
6660 * libc/sys/linux/intl/gettext.h: Ditto.
6661 * libc/sys/linux/intl/gettextP.h: Ditto.
6662 * libc/sys/linux/intl/hash-string.h: Ditto.
6663 * libc/sys/linux/intl/l10nflist.c: Ditto.
6664 * libc/sys/linux/intl/loadinfo.h: Ditto.
6665 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6666 * libc/sys/linux/intl/locale.alias: Ditto.
6667 * libc/sys/linux/intl/localealias.c: Ditto.
6668 * libc/sys/linux/intl/ngettext.c: Ditto.
6669 * libc/sys/linux/intl/open_catalog.c: Ditto.
6670 * libc/sys/linux/intl/plural.c: Ditto.
6671 * libc/sys/linux/intl/plural.y: Ditto.
6672 * libc/sys/linux/intl/stpcpy.c: Ditto.
6673 * libc/sys/linux/intl/textdomain.c: Ditto.
6674 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6675 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6676 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6677 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6678 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6679 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6680 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6681 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6682 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6683 * libc/sys/linux/linuxthreads/config.h: Ditto.
6684 * libc/sys/linux/linuxthreads/configure: Ditto.
6685 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6686 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6687 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6688 * libc/sys/linux/linuxthreads/events.c: Ditto.
6689 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6690 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6691 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6692 * libc/sys/linux/linuxthreads/join.c: Ditto.
6693 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6694 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6695 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6696 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6697 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6698 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6699 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6700 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6701 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6702 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6703 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6704 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6705 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6706 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6707 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6708 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6709 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6710 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6711 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6712 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6713 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6714 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6715 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6716 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6717 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6718 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6719 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6720 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6721 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6722 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6723 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6724 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6725 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6726 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6727 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6728 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6729 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6730 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6731 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6732 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6733 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6734 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6735 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6736 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6737 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6738 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6739 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6740 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6741 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6742 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6743 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6744 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6745 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6746 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6747 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6748 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6749 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6750 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6751 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6752 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6753 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6754 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6755 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6756 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6757 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6758 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6759 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6760 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6761 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6762 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6763 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6764 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6765 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6766 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6767 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6768 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6769 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6770 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6771 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6772 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6773 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6774 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6775 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6776 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6777 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6778 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6779 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6780 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6781 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6782 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6783 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6784 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6785 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6786 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6787 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6788 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6789 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6790 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6791 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6792 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6793 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6794 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6795 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6796 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6797 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6798 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6799 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6800 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6801 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6802 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6803 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6804 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6805 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6806 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6807 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6808 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6809 * libc/sys/linux/net/Makefile.am: Ditto.
6810 * libc/sys/linux/net/Makefile.in: Ditto.
6811 * libc/sys/linux/net/addr2ascii.3: Ditto.
6812 * libc/sys/linux/net/addr2ascii.c: Ditto.
6813 * libc/sys/linux/net/ascii2addr.c: Ditto.
6814 * libc/sys/linux/net/base64.c: Ditto.
6815 * libc/sys/linux/net/bindresvport.c: Ditto.
6816 * libc/sys/linux/net/byteorder.3: Ditto.
6817 * libc/sys/linux/net/ether_addr.c: Ditto.
6818 * libc/sys/linux/net/ethers.3: Ditto.
6819 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6820 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6821 * libc/sys/linux/net/gethostbydns.c: Ditto.
6822 * libc/sys/linux/net/gethostbyht.c: Ditto.
6823 * libc/sys/linux/net/gethostbyname.3: Ditto.
6824 * libc/sys/linux/net/gethostbynis.c: Ditto.
6825 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6826 * libc/sys/linux/net/getifaddrs.3: Ditto.
6827 * libc/sys/linux/net/getifaddrs.c: Ditto.
6828 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6829 * libc/sys/linux/net/getnameinfo.3: Ditto.
6830 * libc/sys/linux/net/getnameinfo.c: Ditto.
6831 * libc/sys/linux/net/getnetbydns.c: Ditto.
6832 * libc/sys/linux/net/getnetbyht.c: Ditto.
6833 * libc/sys/linux/net/getnetbynis.c: Ditto.
6834 * libc/sys/linux/net/getnetent.3: Ditto.
6835 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6836 * libc/sys/linux/net/getproto.c: Ditto.
6837 * libc/sys/linux/net/getprotoent.3: Ditto.
6838 * libc/sys/linux/net/getprotoent.c: Ditto.
6839 * libc/sys/linux/net/getprotoname.c: Ditto.
6840 * libc/sys/linux/net/getservbyname.c: Ditto.
6841 * libc/sys/linux/net/getservbyport.c: Ditto.
6842 * libc/sys/linux/net/getservent.3: Ditto.
6843 * libc/sys/linux/net/getservent.c: Ditto.
6844 * libc/sys/linux/net/herror.c: Ditto.
6845 * libc/sys/linux/net/hesiod.3: Ditto.
6846 * libc/sys/linux/net/hesiod.c: Ditto.
6847 * libc/sys/linux/net/if_indextoname.3: Ditto.
6848 * libc/sys/linux/net/ifname.c: Ditto.
6849 * libc/sys/linux/net/inet.3: Ditto.
6850 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6851 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6852 * libc/sys/linux/net/inet_addr.c: Ditto.
6853 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6854 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6855 * libc/sys/linux/net/inet_net.3: Ditto.
6856 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6857 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6858 * libc/sys/linux/net/inet_neta.c: Ditto.
6859 * libc/sys/linux/net/inet_netof.c: Ditto.
6860 * libc/sys/linux/net/inet_network.c: Ditto.
6861 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6862 * libc/sys/linux/net/inet_ntop.c: Ditto.
6863 * libc/sys/linux/net/inet_pton.c: Ditto.
6864 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6865 * libc/sys/linux/net/ip6opt.c: Ditto.
6866 * libc/sys/linux/net/iso_addr.3: Ditto.
6867 * libc/sys/linux/net/iso_addr.c: Ditto.
6868 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6869 * libc/sys/linux/net/linkaddr.3: Ditto.
6870 * libc/sys/linux/net/linkaddr.c: Ditto.
6871 * libc/sys/linux/net/map_v4v6.c: Ditto.
6872 * libc/sys/linux/net/name6.c: Ditto.
6873 * libc/sys/linux/net/namespace.h: Ditto.
6874 * libc/sys/linux/net/ns.3: Ditto.
6875 * libc/sys/linux/net/ns_addr.c: Ditto.
6876 * libc/sys/linux/net/ns_name.c: Ditto.
6877 * libc/sys/linux/net/ns_netint.c: Ditto.
6878 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6879 * libc/sys/linux/net/ns_parse.c: Ditto.
6880 * libc/sys/linux/net/ns_print.c: Ditto.
6881 * libc/sys/linux/net/ns_ttl.c: Ditto.
6882 * libc/sys/linux/net/nsap_addr.c: Ditto.
6883 * libc/sys/linux/net/nsdispatch.3: Ditto.
6884 * libc/sys/linux/net/nsdispatch.c: Ditto.
6885 * libc/sys/linux/net/nslexer.c: Ditto.
6886 * libc/sys/linux/net/nslexer.l: Ditto.
6887 * libc/sys/linux/net/nsparser.c: Ditto.
6888 * libc/sys/linux/net/nsparser.h: Ditto.
6889 * libc/sys/linux/net/nsparser.y: Ditto.
6890 * libc/sys/linux/net/rcmd.3: Ditto.
6891 * libc/sys/linux/net/rcmd.c: Ditto.
6892 * libc/sys/linux/net/rcmdsh.3: Ditto.
6893 * libc/sys/linux/net/rcmdsh.c: Ditto.
6894 * libc/sys/linux/net/recv.c: Ditto.
6895 * libc/sys/linux/net/res_comp.c: Ditto.
6896 * libc/sys/linux/net/res_config.h: Ditto.
6897 * libc/sys/linux/net/res_data.c: Ditto.
6898 * libc/sys/linux/net/res_debug.c: Ditto.
6899 * libc/sys/linux/net/res_init.c: Ditto.
6900 * libc/sys/linux/net/res_mkquery.c: Ditto.
6901 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6902 * libc/sys/linux/net/res_query.c: Ditto.
6903 * libc/sys/linux/net/res_send.c: Ditto.
6904 * libc/sys/linux/net/res_update.c: Ditto.
6905 * libc/sys/linux/net/resolver.3: Ditto.
6906 * libc/sys/linux/net/rthdr.c: Ditto.
6907 * libc/sys/linux/net/send.c: Ditto.
6908 * libc/sys/linux/net/un-namespace.h: Ditto.
6909 * libc/sys/linux/net/vars.c: Ditto.
6910 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6911 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6912 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6913 * libc/sys/linux/stdlib/cclass.h: Ditto.
6914 * libc/sys/linux/stdlib/cname.h: Ditto.
6915 * libc/sys/linux/stdlib/collate.c: Ditto.
6916 * libc/sys/linux/stdlib/collate.h: Ditto.
6917 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6918 * libc/sys/linux/stdlib/engine.c: Ditto.
6919 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6920 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6921 * libc/sys/linux/stdlib/glob.3: Ditto.
6922 * libc/sys/linux/stdlib/glob.c: Ditto.
6923 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6924 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6925 * libc/sys/linux/stdlib/regerror.c: Ditto.
6926 * libc/sys/linux/stdlib/regex.3: Ditto.
6927 * libc/sys/linux/stdlib/regex2.h: Ditto.
6928 * libc/sys/linux/stdlib/regexec.c: Ditto.
6929 * libc/sys/linux/stdlib/regfree.c: Ditto.
6930 * libc/sys/linux/stdlib/utils.h: Ditto.
6931 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6932 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6933 * libc/sys/linux/sys/dlfcn.h: Ditto.
6934 * libc/sys/linux/sys/elfclass.h: Ditto.
6935 * libc/sys/linux/sys/event.h: Ditto.
6936 * libc/sys/linux/sys/ioccom.h: Ditto.
6937 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6938 * libc/sys/linux/sys/link.h: Ditto.
6939 * libc/sys/linux/sys/lock.h: Ditto.
6940 * libc/sys/linux/sys/param.h: Ditto.
6941 * libc/sys/linux/sys/socket.h: Ditto.
6942 * libc/sys/linux/sys/sockio.h: Ditto.
6943
6944 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6945
6946 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6947 normal mode
6948 * newlib/libc/machine/h8300/memset.S: Likewise
6949 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6950 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6951 * newlib/lib/machine/h8300/setjmp.S: Likewise
6952 * newlib/lib/machine/h8300/strcmp.S: Likewise
6953 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6954
6955 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6956
6957 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6958 * libc/include/stdio.h: Ditto.
6959 * libc/include/sys/config.h: Ditto.
6960 * libc/stdio/mktemp.c: Ditto.
6961
6962 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6963
6964 * libc/locale/ldpart.c (__part_load_locale): Substitute
6965 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6966 * libc/search/hash.c (__hash_open): Ditto.
6967 (init_hash): Ditto.
6968 * libc/stdio/fseek.c (fseek): Ditto.
6969 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6970 * libc/stdio/mktemp.c (_gettemp): Ditto.
6971
6972 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6973
6974 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6975
6976 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6977
6978 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6979 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6980 if __CYGWIN_USE_BIG_TYPES__ is set.
6981 * libc/search/hash.c (__hash_open): Ditto.
6982 (init_hash): Ditto.
6983 * libc/stdio/fseek.c (fseek): Ditto.
6984 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6985 * libc/stdio/mktemp.c (_gettemp): Ditto.
6986 * libc/sys/cygwin/Makefile.am: Remove.
6987 * libc/sys/cygwin/Makefile.in: Remove.
6988 * libc/sys/cygwin/aclocal.m4: Remove.
6989 * libc/sys/cygwin/configure: Remove.
6990 * libc/sys/cygwin/configure.in: Remove.
6991 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6992 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6993 directory.
6994 * libc/sys/cygwin/sys/param.h: Ditto.
6995 * libc/sys/cygwin/sys/utime.h: Ditto.
6996 * libc/sys/cygwin/sys/utmp.h: Ditto.
6997
6998 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6999
7000 * libc/include/sys/types.h: Don't define key_t for Cygwin.
7001
7002 2003-05-10 Christopher Faylor <cgf@redhat.com>
7003
7004 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
7005 64 bit inodes.
7006
7007 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
7008
7009 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
7010 Include cygwin/config.h instead.
7011
7012 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
7013
7014 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
7015 all code with #ifdef __SPE__ test.
7016 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
7017
7018 2003-04-15 Chris January <chris@atomice.net>
7019
7020 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
7021 Cygwin.
7022
7023 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
7024
7025 * libc/machine/sh/memset.S: Avoid clobbering volatile
7026 objects following a tiny to-be-set array in the same quadword.
7027
7028 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
7029
7030 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
7031 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
7032 * libc/string/Makefile.in: Regenerated.
7033 * libc/string/wcswidth.c: New file.
7034 * libc/string/wcwidth.c: New file.
7035 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
7036
7037 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
7038
7039 * libc/machine/sh/memset.S: Fix problem with alloco region
7040 exceeding destination region for length >= 88 bytes, start
7041 & 0x16 == 0, end & 0x1f == 18.
7042
7043 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
7044
7045 * libc/string/wcscoll.c: Fix comment.
7046
7047 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
7048
7049 * libc/include/wchar.h: Add definition for wcscoll.
7050 * libc/string/Makefile.am: Add wcscoll.c.
7051 * libc/string/Makefile.in: Regenerated.
7052 * libc/string/wcscoll.c: New file.
7053 * libc/string/wcstrings.tex: Add wcscoll.
7054
7055 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
7056
7057 * libc/stdio/sscanf.c: Update flags description.
7058 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
7059 type.
7060 (__svfscanf_r): Add 'hh' and 'll' handling.
7061
7062 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
7063
7064 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
7065 __d_position member to _off_t.
7066
7067 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
7068
7069 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
7070 count all characters used to create number against maximum width.
7071 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
7072
7073 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7074
7075 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
7076 support.
7077 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7078 flag to support simulator only extensions.
7079
7080 2003-03-17 Bob Cassels <bcassels@abinitio.com>
7081
7082 * libc/string/wcschr.c: (wcschr): Look for character first,
7083 then for end of string, so you can do wcschr(x, '\0').
7084
7085 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
7086
7087 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7088 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7089 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7090 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7091 * libc/stdio/fseeko.c (fseeko): Ditto.
7092 * libc/stdio/ftello.c (ftello): Ditto.
7093 * libc/stdio/stdio.c (__swrite): Ditto.
7094 (__sseek): Ditto.
7095 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7096 * libc/stdio/fseek.c (fseek): Ditto.
7097 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7098 * libc/stdio/ftell.c (ftell): Ditto.
7099 * libc/stdio/local.h: Declare __sseek using _off_t.
7100
7101 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7102
7103 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7104
7105 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7106
7107 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7108 Cygwin.
7109
7110 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7111
7112 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7113 Cygwin.
7114 * libc/include/sys/stat.h: Ditto.
7115 * libc/include/sys/unistd.h: Ditto.
7116 * libc/sys/cygwin/sys/dirent.h: Ditto.
7117
7118 2003-03-07 Christopher Faylor <cgf@redhat.com>
7119
7120 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7121 declaration of getopt and avoid getopt_long declaration.
7122 * libc/sys/cygwin/include/unistd.h: Remove.
7123
7124 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
7125
7126 * configure.host: Define stdio64_dir for Cygwin.
7127 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7128 Cygwin 64bit file access requirements.
7129 Drop definition of f*64() functions when compiled for Cygwin.
7130 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7131 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7132 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7133
7134 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7135
7136 * libc/include/sys/reent.h: Remove extraneous _sig_func
7137 declaration.
7138
7139 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7140
7141 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7142 * libc/sys/h8300hms/Makefile.in: Regenerated.
7143 * libc/sys/h8300hms/close.S: New file.
7144 * libc/sys/h8300hms/fstat.S: Ditto.
7145 * libc/sys/h8300hms/lseek.S: Ditto.
7146 * libc/sys/h8300hms/open.S: Ditto.
7147 * libc/sys/h8300hms/stat.S: Ditto.
7148 * libc/sys/h8300hms/read.S: New file to replace read.c.
7149 * libc/sys/h8300hms/read.c: Removed.
7150 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7151 _lseek, _close, _stat, _fstat.
7152 * libc/sys/h8300hms/write.S: New file to replace write.c.
7153 * libc/sys/h8300hms/write.c: Removed.
7154
7155 2003-02-20 Nick Clifton <nickc@redhat.com>
7156
7157 * Add support for Cirrus Maverick ARM co-processor:
7158
7159 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7160
7161 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7162 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7163
7164 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7165
7166 * configure.host: set sys_dir, syscall_dir, and
7167 newlib_cflags for ep9312 host.
7168
7169 * configure.host: Restore alpha sorting of entries in case
7170 statements.
7171
7172 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7173
7174 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
7175
7176 2003-02-18 Christian Groessler <chris@groessler.org>
7177
7178 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7179 support z8001 segmented mode.
7180
7181 2003-02-18 Earnie Boyd <earnie@users.sf.net>
7182
7183 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7184 with a NULL value.
7185
7186 2003-02-10 Christopher Faylor <cgf@redhat.com>
7187
7188 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7189 Don't define some types under cygwin.
7190
7191 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7192
7193 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
7194 option to allow disabling of syscalls being supplied in newlib.
7195 * aclocal.m4: Regenerated.
7196 * configure: Ditto.
7197 * configure.host: Add support of new configuration option and add
7198 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7199 * doc/aclocal.m4: Regenerated.
7200 * doc/configure: Ditto.
7201 * libc/*aclocal.m4: Ditto.
7202 * libc/*configure: Ditto.
7203 * libm/*aclocal.m4: Ditto.
7204 * libm/*configure: Ditto.
7205 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7206 is disabled.
7207 * libc/sys/arm/Makefile.in: Regenerated.
7208
7209 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7210
7211 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7212 -1 to be sure it cannot later match a valid file fd causing
7213 isatty() to return 1.
7214 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7215 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7216 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7217
7218 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7219
7220 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
7221 buffer based on the precision, after we have processed the input value
7222 in a local buffer and know its relative magnitude.
7223
7224 2003-01-31 Michael Snyder <msnyder@redhat.com>
7225
7226 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7227 into registers r1 and r2, so that the simulator can distinguish
7228 this trap from a breakpoint trap. Copied from libgloss.
7229
7230 2003-01-31 Michael Snyder <msnyder@redhat.com>
7231
7232 * libc/sys/h8300hms/crt0.S (_start): Change local label
7233 from .loop to .Loop, so that ld and gdb will ignore it.
7234
7235 2003-01-29 Jason Tishler <jason@tishler.net>
7236
7237 * libc/include/time.h: Declare nanosleep() under Cygwin.
7238
7239 2003-01-24 Nick Clifton <nickc@redhat.com>
7240
7241 * Add sh2e support:
7242
7243 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7244
7245 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7246 * libc/machine/sh/setjmp.S: Likewise.
7247 * libc/include/machine/ieeefp.h: Likewise.
7248
7249 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
7250
7251 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7252 for Cygwin.
7253
7254 2003-01-21 Anita Kulkarni <anitak@kpit.com>
7255
7256 * libc/time/difftime.c : Typecast the result to double.
7257
7258 2003-01-20 Christopher Faylor <cgf@redhat.com>
7259
7260 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7261
7262 2003-01-18 Nick Clifton <nickc@redhat.com>
7263
7264 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7265 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7266
7267 2003-01-16 Joel Sherrill <joel@OARcorp.com>
7268
7269 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7270 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7271 constants are defined in each file in the shared versions in
7272 libc/include.
7273 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7274 autoconf can link programs.
7275 * libc/include/machine/types.h: Explicitly specify signed on
7276 intXX_t types to ensure they are signed.
7277
7278 2003-01-14 Christopher Faylor <cgf@redhat.com>
7279
7280 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7281 extensions.
7282
7283 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
7284
7285 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7286
7287 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7288
7289 * libc/stdio/sprintf.c: fix typo
7290 * libc/stdio/vfprintf.c: fix typo
7291
7292 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7293
7294 * configure.host: Support long double I/O for x86-linux.
7295 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7296 large enough to hold formatted result.
7297 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7298
7299 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7300
7301 * Makefile.am: Add vasprintf.
7302 * Makefile.in: Regenerated.
7303
7304 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7305
7306 * asprintf.c (_asprintf_r): insure both declarations
7307 are the same.
7308
7309 2002-12-28 Christopher Faylor <cgf@redhat.com>
7310
7311 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7312 than defining getopt directly.
7313
7314 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7315
7316 * NEWS: Update with 1.11.0 info.
7317 * README: Ditto.
7318 * acinclude.m4: Change version number to 1.11.0.
7319 * aclocal.m4: Regenerated.
7320 * configure: Ditto.
7321 * doc/aclocal.m4: Ditto.
7322 * doc/configure: Ditto.
7323 * libc/*/aclocal.m4: Ditto.
7324 * libc/*/configure: Ditto.
7325 * libc/libc.texinfo: Ditto.
7326 * libm/*/aclocal.m4: Ditto.
7327 * libm/*/configure: Ditto.
7328 * libm/libm.texinfo: Ditto.
7329 * libc/sys/linux/shared.ld: Add VERS_1.11.
7330
7331 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7332
7333 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7334 Solutions to Red Hat Inc.
7335 * libc/machine/i386/f_atan2f.S: Ditto.
7336 * libc/machine/i386/f_exp.c: Ditto.
7337 * libc/machine/i386/f_expf.c: Ditto.
7338 * libc/machine/i386/f_frexp.S: Ditto.
7339 * libc/machine/i386/f_frexpf.S: Ditto.
7340 * libc/machine/i386/f_ldexp.S: Ditto.
7341 * libc/machine/i386/f_ldexpf.S: Ditto.
7342 * libc/machine/i386/f_log.S: Ditto.
7343 * libc/machine/i386/f_log10.S: Ditto.
7344 * libc/machine/i386/f_log10f.S: Ditto.
7345 * libc/machine/i386/f_logf.S: Ditto.
7346 * libc/machine/i386/f_pow.c: Ditto.
7347 * libc/machine/i386/f_powf.c: Ditto.
7348 * libc/machine/i386/f_tan.S: Ditto.
7349 * libc/machine/i386/f_tanf.S: Ditto.
7350 * libc/machine/i386/memchr.S: Ditto.
7351 * libc/machine/i386/memcmp.S: Ditto.
7352 * libc/machine/i386/memcpy.S: Ditto.
7353 * libc/machine/i386/memmove.S: Ditto.
7354 * libc/machine/i386/memset.S: Ditto.
7355 * libc/machine/i386/strchr.S: Ditto.
7356 * libc/machine/i386/strlen.S: Ditto.
7357 * libm/machine/i386/f_atan2.S: Ditto.
7358 * libm/machine/i386/f_atan2f.S: Ditto.
7359 * libm/machine/i386/f_exp.c: Ditto.
7360 * libm/machine/i386/f_expf.c: Ditto.
7361 * libm/machine/i386/f_frexp.S: Ditto.
7362 * libm/machine/i386/f_frexpf.S: Ditto.
7363 * libm/machine/i386/f_ldexp.S: Ditto.
7364 * libm/machine/i386/f_ldexpf.S: Ditto.
7365 * libm/machine/i386/f_log.S: Ditto.
7366 * libm/machine/i386/f_log10.S: Ditto.
7367 * libm/machine/i386/f_log10f.S: Ditto.
7368 * libm/machine/i386/f_logf.S: Ditto.
7369 * libm/machine/i386/f_pow.c: Ditto.
7370 * libm/machine/i386/f_powf.c: Ditto.
7371 * libm/machine/i386/f_tan.S: Ditto.
7372 * libm/machine/i386/f_tanf.S: Ditto.
7373
7374 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7375
7376 * libc/stdlib/environ.c: Update license to Red Hat.
7377 * libc/machine/hppa/setjmp.S: Ditto.
7378 * libm/test/Makefile.in: Ditto.
7379
7380 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7381
7382 * configure.host: Remove references to go32.
7383 * libc/sys/go32/*: Removed.
7384
7385 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7386
7387 * libc/include/sys/config.h: Change setting of INT_MAX
7388 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7389 __H8300S__. Also consolidate flag settings for these
7390 platforms.
7391
7392 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7393
7394 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7395 for i386-rtems targets.
7396
7397 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7398
7399 * libc/include/stdlib.h (strtof): New prototype (from C99).
7400 (strtodf): Changed from prototype to macro which redefines
7401 to strtof.
7402 * libc/stdlib/atof.c: Change documentation to refer to strtof
7403 instead of strtodf.
7404 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7405 strtodf.
7406 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7407 (strtof): New function.
7408 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7409 calls strtof.
7410
7411 2002-11-27 Christopher Faylor <cgf@redhat.com>
7412
7413 * libc/string/memset.c (memset): Fix comment.
7414
7415 2002-11-26 Christopher Faylor <cgf@redhat.com>
7416
7417 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7418 function.
7419
7420 2002-11-25 Christopher Faylor <cgf@redhat.com>
7421
7422 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7423 variable, introduced below, everywhere.
7424
7425 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7426
7427 * libc/string/memset.c (memset): Make it safe even if
7428 sizeof (int) = 2.
7429
7430 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7431
7432 * configure.in: Change check for libc/include in ${CC} to
7433 use an intermediate value so as to work with different shells.
7434 * configure: Regenerated.
7435 * Makefile.in: Ditto.
7436
7437 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7438
7439 * libc/sys/h8300hms/read.c: Add support for normal mode
7440 architecture.
7441
7442 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7443
7444 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7445 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7446 when -mint32 is used.
7447
7448 2002-11-18 Nick Clifton <nickc@redhat.com>
7449
7450 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7451
7452 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7453
7454 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7455 only issue one pass/fail message for a compile/link/execute.
7456 * testsuite/newlib.elix/elix.exp: New file.
7457 * testsuite/newlib.elix/tmmap.c: Ditto.
7458
7459 2002-11-06 Christopher Faylor <cgf@redhat.com>
7460
7461 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7462 * libc/stdlib/mlock.c: Ditto.
7463 * libc/stdlib/msize.c: Ditto.
7464 * libc/stdlib/msize.c: Ditto.
7465 * libc/stdlib/mtrim.c: Ditto.
7466 * libc/stdlib/valloc.c: Ditto.
7467
7468 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7469
7470 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7471 for inf/nan, make sure that the check ignores the sign bit.
7472
7473 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7474
7475 * libc/sys/rtems/machine: New directory.
7476 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7477 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7478 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7479 targets more BSD like when installed without requiring files to
7480 be overwritten at install point when RTEMS itself is installed.
7481 * Makefile.am: Pick up system dependent machine .h files such as
7482 might be found on a BSD-ish system.
7483 * Makefile.in: Regenerate.
7484 * libc/include/machine/types.h: When on an RTEMS target, define a
7485 few BSD flavor types.
7486
7487 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7488
7489 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7490
7491 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7492
7493 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7494 * libc/include/wctype.h: Ditto.
7495
7496 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7497
7498 * libc/include/wchar.h: Add extern "C" specifier if C++.
7499 * libc/include/wctype.h: Ditto.
7500
7501 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7502
7503 * testsuite/newlib.wctype/tiswctype.c: New test case.
7504 * testsuite/newlib.wctype/twctrans.c: Ditto.
7505
7506 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7507
7508 * libc/sys/linux/machine/i386/include/endian.h: New file.
7509 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7510
7511 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7512
7513 * libm/machine/i386/aclocal.m4: Regenerated.
7514 * libm/machine/i386/configure: Ditto.
7515
7516 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7517
7518 * testsuite/include/check.h: New header file to use with
7519 test cases.
7520 * testsuite/lib/newlib.exp: Add testsuite/include directory
7521 to list of header files to use.
7522 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7523 * testsuite/newlib.wctype/wctype.exp: New file.
7524
7525 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7526 Richard Sandiford <rsandifo@redhat.com>
7527
7528 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7529 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7530 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7531
7532 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7533
7534 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7535 dummy programs.
7536
7537 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7538
7539 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7540
7541 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7542
7543 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7544 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7545 compile with current GNU tools.
7546
7547 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7548
7549 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7550 the build library.
7551 * configure.in: Ditto.
7552 * Makefile.in: Regenerated.
7553 * configure: Ditto.
7554 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7555 for specifying configured libraries/directories.
7556 * libc/sys/linux/configure.in: Ditto.
7557 * libc/sys/linux/Makefile.in: Regenerated.
7558 * libc/sys/linux/configure: Ditto.
7559
7560 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7561
7562 * libc/include/reent.h: Update documentation at start of file.
7563
7564 2002-09-27 Jim Wilson <wilson@redhat.com>
7565
7566 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7567 the ctbp register.
7568
7569 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7570
7571 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7572 Also convert to EUCJP before using arrays. For values not in
7573 the conversion arrays, return WEOF.
7574 * libc/ctype/jp2uc.h: Change from one array to a number of
7575 arrays to account for the fact that the originating table
7576 is not contiguous for the input values since some are invalid.
7577
7578 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7579
7580 * libc/time/ctime.c: Fix prototype documentation.
7581
7582 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7583
7584 * libc/include/sys/errno.h: Add EOVERFLOW.
7585
7586 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7587
7588 * libc/include/wctype.h: New file.
7589
7590 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7591
7592 * libc/ctype/Makefile.am: Add new files.
7593 * libc/ctype/Makefile.in: Regenerated.
7594 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7595 and wctrans functions to documentation index.
7596 * libc/ctype/iswalnum.c: New file.
7597 * libc/ctype/iswalpha.c: Ditto.
7598 * libc/ctype/iswblank.c: Ditto.
7599 * libc/ctype/iswcntrl.c: Ditto.
7600 * libc/ctype/iswctype.c: Ditto.
7601 * libc/ctype/iswdigit.c: Ditto.
7602 * libc/ctype/iswgraph.c: Ditto.
7603 * libc/ctype/iswlower.c: Ditto.
7604 * libc/ctype/iswprint.c: Ditto.
7605 * libc/ctype/iswpunct.c: Ditto.
7606 * libc/ctype/iswspace.c: Ditto.
7607 * libc/ctype/iswupper.c: Ditto.
7608 * libc/ctype/iswxdigit.c: Ditto.
7609 * libc/ctype/jp2uc.c: Ditto.
7610 * libc/ctype/jp2uc.h: Ditto.
7611 * libc/ctype/local.h: Ditto.
7612 * libc/ctype/towctrans.c: Ditto.
7613 * libc/ctype/towlower.c: Ditto.
7614 * libc/ctype/towupper.c: Ditto.
7615 * libc/ctype/utf8alpha.h: Ditto.
7616 * libc/ctype/utf8print.h: Ditto.
7617 * libc/ctype/utf8punct.h: Ditto.
7618 * libc/ctype/wctrans.c: Ditto.
7619 * libc/ctype/wctype.c: Ditto.
7620 * libc/locale/locale.c (__lc_ctype): New external array to
7621 replace static lc_ctype array.
7622 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7623 rather than reentrancy structure's _current_locale field.
7624 * libc/stdlib/wctomb_r.c: Ditto.
7625
7626 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7627
7628 * configure.host: Minor comment and formatting changes.
7629 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7630 * libc/Makefile.in: Regenerated.
7631 * libc/include/sys/config.h: Minor format change.
7632
7633 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7634
7635 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7636 statement comment.
7637
7638 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7639
7640 * libc/posix/opendir.c (opendir): Change code to check
7641 for HAVE_FCNTL before calling fcntl.
7642 * libc/search/hash.c (hash_open): Ditto.
7643 * libc/search/hash_page.c (open_tmp): Ditto.
7644 * libc/reent/Makefile.am: Add fcntlr.c.
7645 * libc/reent/Makefile.in: Regenerated.
7646 * libc/reent/fcntlr.c: New file.
7647 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7648 instead of _fcntl when HAVE_FCNTL flag is set.
7649 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7650 to see if _fcntl or _fcntl_r should be called. If flag is not
7651 set, default to ENOSYS stub.
7652
7653 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7654
7655 * libc/include/wchar.h (mbstate_t): Change protective flag to
7656 be _MBSTATE_T.
7657 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7658 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7659 for Cygwin.
7660 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7661
7662 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7663
7664 * acinclude.m4 (enable-newlib-mb): Change check to
7665 default newlib_mb variable to empty string rather than "no".
7666 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7667 x86-linux and Cygwin. Add code to check for newlib_mb
7668 being unset in which case set to "yes" for x86-linux and
7669 Cygwin. Change check for newlib_mb being "yes" to allow
7670 for an empty string.
7671 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7672 * newlib.hin (_MB_LEN_MAX): New define to configure.
7673 * aclocal.m4: Regenerated.
7674 * configure: Ditto.
7675 * libc/include/limits.h: New file.
7676 * libc/sys/linux/include/limits.h: Ditto.
7677 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7678 libc/configure libc/machine/aclocal.m4
7679 libc/machine/configure libc/machine/a29k/aclocal.m4
7680 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7681 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7682 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7683 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7684 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7685 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7686 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7687 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7688 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7689 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7690 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7691 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7692 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7693 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7694 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7695 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7696 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7697 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7698 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7699 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7700 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7701 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7702 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7703 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7704 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7705 libc/machine/xscale/configure
7706 libc/machine/xstormy16/aclocal.m4
7707 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7708 libc/machine/z8k/configure libc/sys/aclocal.m4
7709 libc/sys/configure libc/sys/a29khif/aclocal.m4
7710 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7711 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7712 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7713 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7714 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7715 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7716 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7717 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7718 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7719 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7720 libc/sys/linux/configure
7721 libc/sys/linux/machine/aclocal.m4
7722 libc/sys/linux/machine/configure
7723 libc/sys/linux/machine/i386/aclocal.m4
7724 libc/sys/linux/machine/i386/configure
7725 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7726 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7727 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7728 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7729 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7730 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7731 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7732 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7733 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7734 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7735 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7736 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7737 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7738 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7739 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7740 libm/aclocal.m4 libm/configure: Regenerated.
7741
7742 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7743
7744 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7745 code that clears the .bss section.
7746
7747 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7748
7749 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7750 unsigned char internally.
7751 * libc/sys/linux/sys/_types.h: Ditto.
7752 * libc/include/sys/reent.h
7753 * libc/stdlib/mblen.c (mblen): Use function-specific state
7754 value from default reentrancy structure.
7755 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7756 _mbtowc_r is less than 0, reset state __count value and
7757 return -1.
7758 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7759 is NULL, use the function-specific pointer provided in the
7760 default reentrancy structure.
7761 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7762 If input state pointer is NULL, use function-specific area
7763 provided in reentrancy structure.
7764 * libc/stdlib/mbsrtowcs.c: Ditto.
7765 * libc/stdlib/wcrtomb.c: Ditto.
7766 * libc/stdlib/wcsrtombs.c: Ditto.
7767 * libc/stdlib/mbstowcs.c: Reformat.
7768 * libc/stdlib/wcstombs.c: Ditto.
7769 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7770 reset the state's __count value and return -1.
7771 * libc/stdlib/mbtowc.c: Ditto.
7772 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7773 If number of bytes is used up before completing a valid multibyte
7774 character, return -2 and save the state.
7775 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7776 and change some __count references to __state for clarity.
7777
7778 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7779
7780 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7781 is defined by <limits.h>.
7782
7783 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7784
7785 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7786 defined.
7787
7788 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7789
7790 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7791 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7792 __WCHAR_MAX__ or 0x7fffffffu.
7793 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7794 * libc/string/wcsncmp.c: Ditto.
7795
7796 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7797
7798 * libc/string/wcschr.c: Add include of <stddef.h>.
7799 * libc/string/wcspbrk.c: Ditto.
7800 * libc/string/wcsrchr.c: Ditto.
7801 * libc/string/wcsstr.c: Ditto.
7802
7803 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7804
7805 * libc/include/sys/_types.h (_flock_t): Added.
7806 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7807 (__lock_try_acquire_recursive): Ditto.
7808 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7809 _lock field.
7810 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7811 field.
7812 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7813 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7814 * libc/sys/linux/include/time.h (struct timespec): Moved from
7815 <sys/types.h> and added check for __need_timespec flag so type
7816 can be defined by itself.
7817 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7818 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7819 <time.h>.
7820
7821 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7822
7823 * libc/sys/linux/argp: New directory.
7824 * libc/sys/linux/getopt.c: New file.
7825 * libc/sys/linux/getopt1.c: New file.
7826 * libc/sys/linux/getoptlong.c: Remove file.
7827 * libc/sys/linux/include/argp.h: New file.
7828 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7829 based on ELIX level.
7830 (SUBDIRS): Add argp_dir.
7831 (SUBLIBS): Add ARGP_LIB.
7832 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7833 getopt_long.$(oext).
7834 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7835
7836 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7837
7838 * libc/libc.texinfo: Add node reference to wide-character strings.
7839 * libc/string/wcstrings.tex: New file.
7840 * libc/string/strtok_r.c: Remove outdated advertising clause.
7841 * libc/string/Makefile.am (doc): Add wide-character string
7842 chapter to documentation.
7843 * libc/string/Makefile.in: Regenerated.
7844
7845 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7846
7847 * libc/include/wchar.h: Define NULL. Define WEOF more general
7848 way. Declare functions in newlib manner.
7849 * libc/stdlib/Makefile.am: Delete wmem*.c
7850 * libc/stdlib/Makefile.in: Regenerated.
7851 * libc/stdlib/wmemchr.c: Delete.
7852 * libc/stdlib/wmemcmp.c: Ditto.
7853 * libc/stdlib/wmemcpy.c: Ditto.
7854 * libc/stdlib/wmemmove.c: Ditto.
7855 * libc/stdlib/wmemset.c: Ditto.
7856 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7857 * libc/string/Makefile.in: Regenerated.
7858 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7859 * libc/string/wcschr.c: Ditto.
7860 * libc/string/wcscmp.c: Ditto.
7861 * libc/string/wcscpy.c: Ditto.
7862 * libc/string/wcscspn.c: Ditto.
7863 * libc/string/wcslcat.c: Ditto.
7864 * libc/string/wcslcpy.c: Ditto.
7865 * libc/string/wcslen.c: Ditto.
7866 * libc/string/wcsncat.c: Ditto.
7867 * libc/string/wcsncmp.c: Ditto.
7868 * libc/string/wcsncpy.c: Ditto.
7869 * libc/string/wcspbrk.c: Ditto.
7870 * libc/string/wcsrchr.c: Ditto.
7871 * libc/string/wcsspn.c: Ditto.
7872 * libc/string/wcsstr.c: Ditto.
7873 * libc/string/wmemchr.c: Ditto.
7874 * libc/string/wmemcmp.c: Ditto.
7875 * libc/string/wmemcpy.c: Ditto.
7876 * libc/string/wmemmove.c: Ditto.
7877 * libc/string/wmemset.c: Ditto.
7878
7879 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7880
7881 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7882 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7883 and is treated as if "C" was specified.
7884
7885 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7886
7887 * Makefile.am (install-data-local): Move install of build
7888 newlib.h after installing headers in libc/include so as to
7889 overwrite default newlib.h.
7890 * Makefile.in: Regenerated.
7891
7892 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7893
7894 * libc/include/newlib.h: New file for tools that use newlib
7895 headers but don't build newlib first (e.g. gcc).
7896
7897 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7898
7899 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7900 * libc/stdlib/wmemcmp.c: Ditto.
7901 * libc/stdlib/wmemcpy.c: Ditto.
7902 * libc/stdlib/wmemmove.c: Ditto.
7903 * libc/stdlib/wmemset.c: Ditto.
7904
7905 2002-08-27 Egor Duda <deo@logos-m.ru>
7906
7907 * libc/stdlib/wmemchr.c: New file.
7908 * libc/stdlib/wmemcmp.c: Ditto.
7909 * libc/stdlib/wmemcpy.c: Ditto.
7910 * libc/stdlib/wmemmove.c: Ditto.
7911 * libc/stdlib/wmemset.c: Ditto.
7912 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7913 * configure.host: Default -DMB_CAPABLE for cygwin.
7914 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7915 wmemmove() and wmemset(). Add include of <_ansi.h>.
7916 * libc/stdlib/Makefile.in: Regenerate.
7917
7918 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7919
7920 * configure.host: Remove _ELIX_LEVEL flag setting.
7921 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7922 (install-data-local): Install newlib.h.
7923 * Makefile.in: Regenerated.
7924 * aclocal.m4: Ditto.
7925 * configure: Ditto.
7926 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7927 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7928 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7929 In AC_OUTPUT statement, unset ac_file so multilib support does
7930 not use last ac_file temporary used in newlib.h configuration.
7931 * libc/include/_ansi.h: Include <newlib.h>.
7932 * newlib.hin: New template file for newlib.h.
7933 * stamp-h.in: New file.
7934
7935 2002-08-26 Wu Yongwei <adah@netstd.com>
7936
7937 * time.h (timezonevar): Change "#if" to "#ifdef".
7938
7939 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7940
7941 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7942 * Makefile.in: Regenerated.
7943 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7944 * aclocal.m4: Regenerated.
7945 * configure: Ditto.
7946 * configure.host: Add code to define _ELIX_LEVEL if
7947 --enable-newlib-elix-level option is used.
7948 * configure.in:
7949 * libc/aclocal.m4: Regenerated.
7950 * libc/configure: Ditto.
7951 * libc/argz/Makefile.am: Add EL/IX level checking.
7952 * libc/argz/Makefile.in: Regenerated.
7953 * libc/argz/dummy.c: New file.
7954 * libc/ctype/Makefile.am: Add EL/IX level checking.
7955 * libc/ctype/Makefile.in: Regenerated.
7956 * libc/locale/Makefile.am: Add EL/IX level checking.
7957 * libc/locale/Makefile.in: Regenerated.
7958 * libc/posix/Makefile.am: Add EL/IX level checking.
7959 * libc/posix/Makefile.in: Regenerated.
7960 * libc/posix/telldir.c: Add EL/IX level checking.
7961 * libc/reent/Makefile.am: Ditto.
7962 * libc/reent/fstat64r.c: Ditto.
7963 * libc/reent/lseek64r.c: Ditto.
7964 * libc/reent/open64r.c: Ditto.
7965 * libc/reent/Makefile.in: Regenerated.
7966 * libc/search/Makefile.am: Add EL/IX level checking.
7967 * libc/search/Makefile.in: Regenerated.
7968 * libc/stdio/Makefile.am: Add EL/IX level checking.
7969 * libc/stdio/Makefile.in: Regenerated.
7970 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7971 * libc/stdio64/Makefile.in: Regenerated.
7972 * libc/stdio64/dummy.c: New file.
7973 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7974 after first include.
7975 * libc/stdio64/fopen64.c: Ditto.
7976 * libc/stdio64/freopen64.c: Ditto.
7977 * libc/stdio64/fseeko64.c: Ditto.
7978 * libc/stdio64/fsetpos64.c: Ditto.
7979 * libc/stdio64/ftello64.c: Ditto.
7980 * libc/stdio64/tmpfile64.c: Ditto.
7981 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7982 * libc/stdlib/Makefile.in: Regenerated.
7983 * libc/stdlib/mstats.c: Add EL/IX level checking.
7984 * libc/string/Makefile.am: Ditto.
7985 * libc/string/Makefile.in: Regenerated.
7986 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7987 * libc/sys/linux/Makefile.in: Regenerated.
7988 * libc/sys/linux/aclocal.m4: Ditto.
7989 * libc/sys/linux/configure: Ditto.
7990 * libc/sys/linux/aio.c: Add EL/IX level checking.
7991 * libc/sys/linux/ftok.c: Ditto.
7992 * libc/sys/linux/getdate.c: Ditto.
7993 * libc/sys/linux/ids.c: Ditto.
7994 * libc/sys/linux/inode.c: Ditto.
7995 * libc/sys/linux/io.c: Ditto.
7996 * libc/sys/linux/process.c: Ditto.
7997 * libc/sys/linux/resource.c: Ditto.
7998 * libc/sys/linux/sched.c: Ditto.
7999 * libc/sys/linux/sig.c: Ditto.
8000 * libc/sys/linux/termios.c: Ditto.
8001 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
8002 __libc___waitpid weak aliases.
8003 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
8004 that generate the code for a syscall, but do not create a
8005 weak alias.
8006 * libc/syscalls/Makefile.am: Add EL/IX level checking.
8007 * libc/syscalls/Makefile.in: Regenerated.
8008 * libc/time/tzset_r.c: Change to replace strdup with equivalent
8009 functionality.
8010 * libc/unix/Makefile.am: Add EL/IX level checking.
8011 * libc/unix/Makefile.in: Regenerated.
8012
8013 2002-08-26 Christopher Faylor <cgf@redhat.com>
8014
8015 * libc/include/malloc.h: On cygwin, define malloc _r functions as
8016 wrapper macros to standard malloc functions.
8017 * libc/include/stdlib.h: Ditto.
8018 * configure.host: Always define MALLOC_PROVIDED on cygwin.
8019
8020 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8021
8022 * libc/include/langinfo.h: New file.
8023 * libc/include/wchar.h: Likewise.
8024 * libc/include/sys/syslimits.h: Likewise.
8025 * libc/locale/fix_grouping.c: Likewise.
8026 * libc/locale/ldpart.c: Likewise.
8027 * libc/locale/ldpart.h: Likewise.
8028 * libc/locale/lmessages.c: Likewise.
8029 * libc/locale/lmessages.h: Likewise.
8030 * libc/locale/lmonetary.c: Likewise.
8031 * libc/locale/lmonetary.h: Likewise.
8032 * libc/locale/lnumeric.c: Likewise.
8033 * libc/locale/lnumeric.h: Likewise.
8034 * libc/locale/nl_langinfo.3: Likewise.
8035 * libc/locale/nl_langinfo.c: Likewise.
8036 * libc/locale/timelocal.c: Likewise.
8037 * libc/locale/timelocal.h: Likewise.
8038 * libc/stdlib/btowc.c: Likewise.
8039 * libc/stdlib/mbrlen.c: Likewise.
8040 * libc/stdlib/mbrtowc.c: Likewise.
8041 * libc/stdlib/mbsinit.c: Likewise.
8042 * libc/stdlib/mbsrtowcs.c: Likewise.
8043 * libc/stdlib/wcrtomb.c: Likewise.
8044 * libc/stdlib/wcsrtombs.c: Likewise.
8045 * libc/stdlib/wctob.c: Likewise.
8046 * libc/sys/linux/prof-freq.c: Likewise.
8047 * libc/sys/linux/profile.c: Likewise.
8048 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
8049 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
8050 * libc/include/stdlib.h: Change re-entrant functions to take
8051 mbstate_t pointers.
8052 * libc/include/sys/_types.h: Define _mbstate_t.
8053 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
8054 * libc/include/sys/errno.h (EILSEQ): New error code.
8055 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
8056 structure to use mbstate_t.
8057 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
8058 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
8059 * libc/machine/powerpc/vfscanf.c: Likewise.
8060 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
8061 * libc/stdio/vfprintf.c: Likewise.
8062 * libc/stdio/vfscanf.c: Likewise.
8063 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
8064 * libc/stdlib/mblen.c: Use mbstate_t.
8065 * libc/stdlib/mblen_r.c: Likewise.
8066 * libc/stdlib/mbstowcs.c: Likewise.
8067 * libc/stdlib/mbstowcs_r.c: Likewise.
8068 * libc/stdlib/mbtowc.c: Likewise.
8069 * libc/stdlib/mbtowc_r.c: Likewise.
8070 * libc/stdlib/wcstombs.c: Likewise.
8071 * libc/stdlib/wcstombs_r.c: Likewise.
8072 * libc/stdlib/wctomb_r.c: Likewise.
8073 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
8074 profile.c.
8075 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
8076 dl-procinfo.c.
8077 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8078 * libc/sys/linux/sys/types.h (off_t): Define type.
8079 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8080 to C-UTF-8.
8081 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8082
8083 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8084
8085 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8086 (AlignPage): Continue macro on next line.
8087
8088 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8089
8090 * libc/sys/linux/include/pthread.h: New file.
8091
8092 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8093
8094 * libc/include/sys/types.h: Support __need_inttypes macro
8095 that only sets the __intxx and __uintxx types.
8096 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8097 to get mprec.h.
8098 * libc/machine/powerpc/Makefile.in: Regenerated.
8099 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8100 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8101 redundant fixed-point conversion prototypes.
8102 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8103 after setting __need_inttypes.
8104
8105 2002-08-18 Christopher Faylor <cgf@redhat.com>
8106
8107 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8108
8109 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8110
8111 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8112 _LONG_DOUBLE to double.
8113
8114 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8115
8116 * configure.host: Add powerpc*-*-eabispe* configuration.
8117 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8118 * libc/machine/powerpc/atosfix32.c: Ditto.
8119 * libc/machine/powerpc/atosfix64.c: Ditto.
8120 * libc/machine/powerpc/atoufix16.c: Ditto.
8121 * libc/machine/powerpc/atoufix32.c: Ditto.
8122 * libc/machine/powerpc/atoufix64.c: Ditto.
8123 * libc/machine/powerpc/fix64.h: Ditto.
8124 * libc/machine/powerpc/simdldtoa.c: Ditto.
8125 * libc/machine/powerpc/strtosfix16.c: Ditto.
8126 * libc/machine/powerpc/strtosfix32.c: Ditto.
8127 * libc/machine/powerpc/strtosfix64.c: Ditto.
8128 * libc/machine/powerpc/strtoufix16.c: Ditto.
8129 * libc/machine/powerpc/strtoufix32.c: Ditto.
8130 * libc/machine/powerpc/strtoufix64.c: Ditto.
8131 * libc/machine/powerpc/ufix64toa.c: Ditto.
8132 * libc/machine/powerpc/configure.in: Add check for
8133 powerpc*-eabispe and add fixed-point conversion functions.
8134 * libc/machine/powerpc/configure: Regenerated.
8135 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8136 %r and %R format specifiers which handle fixed-point data.
8137 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8138 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8139 function prototypes.
8140
8141 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8142
8143 * Makefile.am: Move cmath stuff into libc/sys/linux.
8144 * Makefile.in: Regenerated.
8145 * configure.host: Default -DMB_CAPABLE for x86-linux.
8146 * libc/include/reent.h: Define _sbrk to take signed int argument.
8147 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
8148 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8149 make locale name checking more efficient. Also allow "C-ISO-8859-1"
8150 locale for LC_CTYPE and LC_MESSAGES.
8151 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8152 * libc/sys/linux/brk.c: Change sbrk prototype.
8153 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8154 include <sys/features.h>.
8155 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8156 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8157 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8158 with a few local additions.
8159 * libc/sys/linux/sys/features.h: New file.
8160 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8161 to take signed argument.
8162 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8163 prototypes to take signed size argument.
8164
8165 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8166
8167 * libc/sys/linux/cmath: New directory.
8168 * libc/sys/linux/include/cmathcalls.h: New file.
8169 * libc/sys/linux/include/complex.h: New file.
8170 * libc/sys/linux/machine/i386/huge_val.h: New file
8171 * libm/math/w_sincos.c: New file
8172 * libm/math/wf_sincos.c: New file
8173 * libm/mathfp/s_sincos.c: New file
8174 * libm/mathfp/sf_sincos.c: New file
8175 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8176 * libc/include/math.h: Add sincos and sincosf declarations.
8177 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8178 (SUBLIBS): Likewise.
8179 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8180 * libm/math/Makefile.am (src): Add w_sincos.c.
8181 (fsrc): Add wf_sincos.c.
8182 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8183 (fsrc): Add sf_sincos.c.
8184
8185 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8186
8187 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8188 Declare as extern chars and use the address operator to
8189 properly use values set in linker script.
8190
8191 2002-08-09 Jason Tishler <jason@tishler.net>
8192
8193 * libc/stdlib/mallocr.c: Include <limits.h>.
8194 (request2size): Change macro to do
8195 unsigned long comparisons and avoid signed overflow.
8196 (mALLOc): Add overflow check for the number of bytes to allocate.
8197 (rEALLOc): Ditto.
8198
8199 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8200
8201 * configure.host: Add check for --enable-newlib-io-pos-args
8202 and define WANT_IO_POS_ARGS flag if enabled. Define
8203 the flag by default for x86-linux configurations.
8204 * configure.in: Add support for --enable-newlib-io-pos-args.
8205 * libc/configure.in: Ditto.
8206 * configure: Regenerated.
8207 * libc/configure: Ditto.
8208 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8209 vfprintf.c and vfiprintf.c.
8210 * libc/stdio/Makefile.in: Regenerated.
8211 * libc/stdio/vfprintf.c: Add positional argument support that
8212 is enabled by compiling with -DWANT_IO_POS_ARGS.
8213
8214 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
8215
8216 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8217 based on __mips_soft_float rather than __mips64.
8218 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8219 of both 32-bit and 64-bit code.
8220
8221 2002-08-04 Christopher Faylor <cgf@redhat.com>
8222
8223 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8224 arguments for popen to match similar functionality in fopen.
8225
8226 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8227
8228 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8229
8230 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8231
8232 * libc/sys/linux/Makefile.am: Add aio64.c.
8233 * libc/sys/linux/Makefile.in: Regenerated.
8234 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8235 * libc/sys/linux/aio64.c: New file.
8236
8237 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8238
8239 * libc/include/sys/param.h (MAX, MIN): Added macros.
8240 * libc/sys/linux/Makefile.am: Add new files.
8241 * libc/sys/linux/Makefile.in: Regenerated.
8242 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8243 * libc/sys/linux/inode.c (fchdir): Added syscall.
8244 * libc/sys/linux/ftw.c: New file.
8245 * libc/sys/linux/ftw64.c: Ditto.
8246 * libc/sys/linux/getwd.c: Ditto.
8247 * libc/sys/linux/scandir64.c: Ditto.
8248 * libc/sys/linux/strverscmp.c: Ditto.
8249 * libc/sys/linux/versionsort.c: Ditto.
8250 * libc/sys/linux/versionsort64.c: Ditto.
8251
8252 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8253
8254 * libc/string/strings.tex: Fix typo for memccpy.
8255
8256 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8257
8258 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8259 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8260
8261 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8262
8263 * libc/sys/linux/Makefile.am: Add fclean.c.
8264 * libc/sys/linux/Makefile.in: Regenerated.
8265 * libc/sys/linux/fclean.c: New file.
8266
8267 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8268
8269 * libc/sys/linux/Makefile.am: Add confstr.c.
8270 * libc/sys/linux/Makefile.in: Regenerated.
8271 * libc/sys/linux/confstr.c: New file.
8272 * libc/sys/linux/confstr.h: Ditto.
8273 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8274 <bits/environments.h>.
8275
8276 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8277
8278 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8279 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8280 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8281 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8282 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8283 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8284
8285 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8286
8287 * libc/sys/linux/Makefile.am: Add new files.
8288 * libc/sys/linux/Makefile.in: Regenerated.
8289 * libc/sys/linux/fstab.c: New file.
8290 * libc/sys/linux/fstatvfs.c: Ditto.
8291 * libc/sys/linux/fstatvfs64.c: Ditto.
8292 * libc/sys/linux/internal_statvfs.c: Ditto.
8293 * libc/sys/linux/mntent.c: Ditto.
8294 * libc/sys/linux/mntent_r.c: Ditto.
8295 * libc/sys/linux/statvfs.c: Ditto.
8296 * libc/sys/linux/statvfs64.c: Ditto.
8297 * libc/sys/linux/include/paths.h: Ditto.
8298 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8299 with double-underscore weak-aliases.
8300 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8301
8302 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8303
8304 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8305 to use _sig_func_ptr type casted constants.
8306 (_sig_func_ptr): Typedef moved to sys/signal.h.
8307 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8308 For __rtems, use POSIX definition, otherwise default to ANSI.
8309 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8310
8311 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8312
8313 * configure.host: Recognize m6811-elf and m6812-elf targets.
8314 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8315 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8316 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8317 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8318 according to __INT_MAX__.
8319 (_POINTER_INT): Define to short.
8320 * libc/machine/m68hc11/Makefile.am: New file.
8321 * libc/machine/m68hc11/Makefile.in: New file.
8322 * libc/machine/m68hc11/configure.in: New file.
8323 * libc/machine/m68hc11/configure: New file.
8324 * libc/machine/m68hc11/aclocal.m4: New file.
8325 * libc/machine/m68hc11/setjmp.S: New file.
8326
8327 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8328
8329 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8330 prototypes.
8331 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8332 * libc/stdlib/Makefile.in: Regenerated.
8333 * libc/stdlib/strdup.c: Removed.
8334 * libc/stdlib/strdup_r.c: Removed.
8335 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8336 mempcpy.c, strndup.c, and strndup_r.c.
8337 * libc/string/Makefile.in: Regenerated.
8338 * libc/string/memccpy.c: New file.
8339 * libc/string/mempcpy.c: Ditto.
8340 * libc/string/strndup.c: Ditto.
8341 * libc/string/strndup_r.c: Ditto.
8342 * libc/string/strdup.c: New file moved from stdlib.
8343 * libc/string/strdup_r.c: Ditto.
8344 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8345
8346 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8347
8348 * libc/include/stdio.h: Move fcloseall prototype within
8349 #ifndef _REENT_ONLY section.
8350 * libc/sys/linux/Makefile.am: Add new files.
8351 * libc/sys/linux/Makefile.in: Regenerated.
8352 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8353 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8354 * libc/sys/linux/sys/types.h: Add ino64_t type.
8355 * libc/sys/linux/ctermid.c: New file.
8356 * libc/sys/linux/ttyname_r.c: Ditto.
8357 * libc/sys/linux/readdir64.c: Ditto.
8358
8359 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8360
8361 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8362 * libc/stdio/Makefile.am: Added fcloseall.c support.
8363 * libc/stdio/Makefile.in: Regenerated.
8364 * libc/stdio/fcloseall.c: New file.
8365 * libc/stdio64/Makefile.am: Remove missing .def references.
8366 * libc/stdio64/Makefile.in: Regenerated.
8367
8368 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8369
8370 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8371 * libc/machine/powerpc/times.c: New file.
8372 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8373 * libc/machine/powerpc/Makefile.in: Regenerated.
8374
8375 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8376
8377 * libc/machine/powerpc/time.c: New file.
8378 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8379 time.c.
8380 * libc/machine/powerpc/Makefile.in: Regenerated.
8381
8382 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8383
8384 * libc/libc.texinfo: Change copyright notices to Red Hat from
8385 Cygnus.
8386 * libm/libm.texinfo: Likewise.
8387 * README: Change docs URL to
8388 http://sources.redhat.com/newlib/docs.html.
8389
8390 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8391
8392 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8393 * libc/sys/linux/Makefile.in: Regenerated.
8394 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8395 * libc/sys/linux/io.c: Add ftruncate syscall.
8396 * libc/sys/linux/fpathconf.c: New file.
8397 * libc/sys/linux/pathconf.c: Ditto.
8398 * libc/sys/linux/linux_fsinfo.h: Ditto.
8399 * libc/sys/linux/sys/unistd.h: Ditto.
8400
8401 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8402
8403 * libc/stdio64/Makefile.am: Remove missing files.
8404 * libc/stdio64/Makefile.in: Regenerated.
8405
8406 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8407
8408 * libc/include/sys/config.h[__i386__][__linux__]: Define
8409 _LARGE64FILE_SOURCE to 1.
8410 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8411 * libc/sys/linux/Makefile.in: Regenerated.
8412 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8413 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8414 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8415 of <linux/resource.h>.
8416 * libc/sys/linux/getrlimit64.c: New file.
8417 * libc/sys/linux/setrlimit64.c: Ditto.
8418
8419 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8420
8421 * libc/argz/argz_replace.c: Include buf_findstr.h.
8422 * libc/argz/buf_findstr.c: Likewise.
8423 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8424 value to (char *).
8425 * libc/argz/envz_get.c: Likewise.
8426 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8427 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8428 * libc/stdlib/getsubopt.3: New file.
8429 * libc/stdlib/getsubopt.c: New file.
8430 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8431 Change esp to ebp.
8432
8433 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8434
8435 * configure.host(stdio64_dir): New setting that is used to
8436 enable building of new stdio64 directory.
8437 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8438 large files.
8439 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8440 stdio64 info to info files.
8441 * libc/Makefile.in: Regenerated.
8442 * libc/configure: Ditto.
8443 * libc/configure.in: Add configuration variables that are set
8444 when stdio64 is selected as subdir in configure.host.
8445 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8446 on whether STDIO64 flag is set or not.
8447 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8448 STDIO64 flag is set or not.
8449 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8450 _r sycall routines.
8451 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8452 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8453 (__SL64): New file flag indicating file is opened via fopen64.
8454 * libc/include/sys/_types.h(_off64_t): Added.
8455 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8456 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8457 for 64-bit offset large file support.
8458 (__FILE): New intermediate type either set to struct __sFILE64 or
8459 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8460 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8461 * libc/reent/Makefile.in: Regenerated.
8462 * libc/reent/fstat64r.c: New file.
8463 * libc/reent/lseek64r.c: Ditto.
8464 * libc/reent/open64r.c: Ditto.
8465 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8466 based on whether STDIO64 flag is set.
8467 * libc/stdio/stdio.tex: Add blank line.
8468 * libc/stdio64/Makefile.am: New file.
8469 * libc/stdio64/Makefile.in: Ditto.
8470 * libc/stdio64/fgetpos64.c: Ditto.
8471 * libc/stdio64/fopen64.: Ditto.
8472 * libc/stdio64/freopen64.c: Ditto.
8473 * libc/stdio64/fseeko64.c: Ditto.
8474 * libc/stdio64/fsetpos64.c: Ditto.
8475 * libc/stdio64/ftello64.c: Ditto.
8476 * libc/stdio64/local64.h: Ditto.
8477 * libc/stdio64/stdio64.c: Ditto.
8478 * libc/stdio64/stdio64.tex: Ditto.
8479 * libc/stdio64/tmpfile64.c: Ditto.
8480 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8481 open64.
8482
8483 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8484
8485 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8486 if LIBC_EXTRA_LIB is present.
8487 * libc/Makefile.in: Regenerated.
8488 * libc/libc.texinfo: Add blank line.
8489 * libc/argz/Makefile.am: Add doc support.
8490 * libc/search/Makefile.am: Ditto.
8491 * libc/argz/Makefile.in: Regenerated.
8492 * libc/search/Makefile.in: Ditto.
8493 * libc/misc/misc.tex: Add ffs function.
8494 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8495
8496 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8497
8498 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8499 definition that was removed in error.
8500
8501 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8502
8503 * libc/include/machine/ieeefp.h: Change to only define
8504 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8505 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8506 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8507 remove redundant floating point definitions.
8508
8509 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8510
8511 * libc/sys/linux/callocr.c: Fix so code references
8512 calloc.
8513
8514 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8515
8516 * libc/sys/linux/Makefile.am: Add new files.
8517 * libc/sys/linux/Makefile.in: Regenerated.
8518 * libc/sys/linux/bp-sym.h: Moved to include directory.
8519 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8520 * libc/sys/linux/inode.c: Set _LIBC to 1.
8521 * libc/sys/linux/mq_close.c: Ditto.
8522 * libc/sys/linux/mq_getattr.c: Ditto.
8523 * libc/sys/linux/mq_open.c: Ditto.
8524 * libc/sys/linux/mq_receive.c: Ditto.
8525 * libc/sys/linux/mq_send.c: Ditto.
8526 * libc/sys/linux/mq_setattr.c: Ditto.
8527 * libc/sys/linux/mq_unlink.c: Ditto.
8528 * libc/sys/linux/calloc.c: New file.
8529 * libc/sys/linux/callocr.c: Ditto.
8530 * libc/sys/linux/cfreer.c: Ditto.
8531 * libc/sys/linux/config.h: Ditto.
8532 * libc/sys/linux/free.c: Ditto.
8533 * libc/sys/linux/freer.c: Ditto.
8534 * libc/sys/linux/msize.c: Ditto.
8535 * libc/sys/linux/msizer.c: Ditto.
8536 * libc/sys/linux/mstats.c: Ditto.
8537 * libc/sys/linux/mtrim.c: Ditto.
8538 * libc/sys/linux/mtrimr.c: Ditto.
8539 * libc/sys/linux/pvallocr.c: Ditto.
8540 * libc/sys/linux/realloc.c: Ditto.
8541 * libc/sys/linux/reallocr.c: Ditto.
8542 * libc/sys/linux/thread-m.h: Ditto.
8543 * libc/sys/linux/vallocr.c: Ditto.
8544 * libc/sys/linux/bp-checks.h: Ditto.
8545 * libc/sys/linux/libc-symbols.h: Ditto.
8546 * libc/sys/linux/libc-tsd.h: Ditto.
8547 * libc/sys/linux/libintl.h: Ditto.
8548 * libc/sys/linux/malign.c: Ditto.
8549 * libc/sys/linux/malignr.c: Ditto.
8550 * libc/sys/linux/mallinfor.c: Ditto.
8551 * libc/sys/linux/malloc.c: Ditto.
8552 * libc/sys/linux/mallocr.c: Ditto.
8553 * libc/sys/linux/malloptr.c: Ditto.
8554 * libc/sys/linux/mallstatsr.c: Ditto.
8555 * libc/sys/linux/mcheck.c: Ditto.
8556 * libc/sys/linux/mhooks.h: Ditto.
8557 * libc/sys/linux/include/bp-sym.h: Ditto.
8558 * libc/sys/linux/include/malloc.h: Ditto.
8559 * libc/sys/linux/include/mcheck.h: Ditto.
8560 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8561 getpagesize.c.
8562 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8563 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8564 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8565 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8566 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8567 * libc/sys/linux/machine/i386/sysdep.h: New file.
8568 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8569 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8570 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8571
8572 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8573
8574 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8575 instead of <asm/siginfo.h>.
8576 * libc/sys/linux/sys/signal.h: Change to include various linux
8577 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8578 to work with multiple releases of glibc header files.
8579
8580 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8581
8582 * testsuite/newlib.search/hsearchtest.c: New file to test
8583 newlib/libc/search.
8584 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8585
8586 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8587
8588 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8589 a terminal.
8590 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8591
8592 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8593
8594 * libc/include/math.h (MAXFLOAT): Added.
8595
8596 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8597
8598 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8599 Make strcmp.S unconditional.
8600 * libc/machine/sh/Makefile.in: Regenerate.
8601 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8602 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8603 for SHcompact.
8604
8605 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8606
8607 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8608 define before including <sys/lock.h>.
8609
8610 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8611
8612 * libc/include/utime.h: Add include of <_ansi.h>.
8613 * libc/sys/linux/Makefile.am: Add utimes.c.
8614 * libc/sys/linux/Makefile.in: Regenerated.
8615 * libc/sys/linux/inode.c(__umask): New static routine.
8616 (umask): Written to use __umask and attempt to thread lock.
8617 (getumask): New function written to use __umask and thread lock.
8618 * libc/sys/linux/utimes.c: New file.
8619 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8620 * libc/sys/linux/sys/utime.h: New file.
8621
8622 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8623
8624 * libtool.m4: New file.
8625 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8626 rather than as a syscall.
8627
8628 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8629
8630 * libc/include/stdio.h: Add new prototypes.
8631 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8632 * libc/stdio/Makefile.in: Regenerated.
8633 * libc/stdio/fseek.c: Add fseeko documentation.
8634 * libc/stdio/ftell.c: Add ftello documentation.
8635 * libc/stdio/fseeko.c: New file.
8636 * libc/stdio/ftello.c: New file.
8637
8638 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8639
8640 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8641 * libc/stdio/Makefile.in: Regenerated.
8642 * libc/stdio/asprintf.c: New file.
8643 * libc/stdio/vasprintf.c: Ditto.
8644 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8645 the buffer for asprintf support.
8646 * libc/stdio/sprintf.c: Add asprintf documentation.
8647 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8648 * libc/include/stdio.h: Add new prototypes.
8649
8650 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8651
8652 * libc/search/hcreate.c: Remove advertising clause from license.
8653 * libc/search/hcreate_r.c: Likewise.
8654
8655 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8656
8657 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8658 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8659 Check that one of them is defined and error out if not.
8660 Add any platforms defined in <machine/ieeefp.h> that are missing.
8661 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8662 (DB_LITTLE_ENDIAN): New defines.
8663 * libc/search/hash.c: Replace all incorrect checks for
8664 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8665 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8666 * libc/search/hash_page.c: Likewise.
8667
8668 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8669
8670 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8671
8672 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8673
8674 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8675 * libc/include/time.h: Same.
8676 * libc/include/string.h: Same.
8677 * libc/include/stdlib.h: Same.
8678 * libc/include/signal.h: Same.
8679 * libc/include/setjmp.h: Same.
8680 * libc/include/math.h: Same.
8681 * libc/include/locale.h: Same.
8682 * libc/include/ctype.h: Same.
8683 * libc/include/machine/setjmp.h: Same.
8684 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8685 (_END_STD_C): Add.
8686
8687 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8688
8689 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8690 32-bits, otherwise define it as long.
8691 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8692 and define ssize_t as _ssize_t.
8693 * libc/reent/readr.c: Change return type to _ssize_t.
8694 * libc/reent/writer.c: Ditto.
8695 * libc/sys/linux/Makefile.am: Add aio.c.
8696 * libc/sys/linux/Makefile.in: Regenerated.
8697 * libc/sys/linux/aio.c: New file.
8698 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8699 * libm/common/fdlibm.h: Undef __P before defining it.
8700
8701 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8702
8703 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8704 exponent_is_even_int variable. Handle case where x is
8705 negative, and y is an odd integer.
8706 * libm/mathfp/sf_pow.c (powf): Likewise.
8707
8708 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8709 * libm/mathfp/erf_lgamma.c: Likewise.
8710 * libm/mathfp/s_tgamma.c: Likewise.
8711 * libm/mathfp/sf_tgamma.c: Likewise.
8712
8713 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8714
8715 * libc/sys/linux/Makefile.am: Add new clock routines.
8716 * libc/sys/linux/Makefile.in: Regenerated.
8717 * libc/sys/linux/clock_getres.c: New file.
8718 * libc/sys/linux/clock_gettime.c: Ditto.
8719 * libc/sys/linux/clock_settime.c: Ditto.
8720 * libc/sys/linux/hp-timing.h: Ditto.
8721 * libc/sys/linux/libc-internal.h: Ditto.
8722 * libc/sys/linux/sysconf.c: Fix typo.
8723 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8724 * libc/sys/linux/machine/hp-timing.h: New file.
8725 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8726 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8727 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8728 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8729 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8730 * libc/sys/linux/sys/linux_time.h: New file.
8731 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8732 replace with <sys/linux_time.h>.
8733
8734 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8735
8736 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8737
8738 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8739
8740 * libc/sys/linux/Makefile.am: Consolidate additional items under
8741 ADD_OBJS.
8742 * libc/sys/linux/Makefile.in: Regenerated.
8743
8744 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8745
8746 * libc/sys/linux/sethostname.c: New file.
8747 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8748 * libc/sys/linux/Makefile.in: Regenerated.
8749
8750 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8751
8752 * libc/search/db_local.h: New file.
8753 * libc/include/db.h: Remove.
8754 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8755 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8756 "db_local.h".
8757 * libc/search/hash_bigkey.c: Likewise.
8758 * libc/search/hash_buf.c: Likewise.
8759 * libc/search/hash_func.c: Likewise.
8760 * libc/search/hash_log2.c: Likewise.
8761 * libc/search/hash_page.c: Likewise.
8762
8763 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8764
8765 * libc/machine/sh/strlen.S: New file.
8766 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8767 * libc/machine/sh/Makefile.am: Regenerate.
8768
8769 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8770
8771 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8772 add gethostname alias.
8773
8774 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8775
8776 * libc/include/math.h: Remove <sys/types.h>.
8777 (__dmath): Use __ULong instead of __uint32_t.
8778 * libc/include/sys/reent.h: If long or int is not 32-bits,
8779 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8780 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8781 * libm/common/fdlibm.h: Ditto.
8782
8783 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8784
8785 * libc/include/ndbm.h: Remove.
8786 * libc/search/ndbm.c: Remove.
8787
8788 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8789
8790 * libc/stdio/fseek.c (fseek): Fix braces.
8791
8792 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8793
8794 * libc/time/strftime.c (strftime): Add %e format specifier.
8795
8796 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8797
8798 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8799 previously defined.
8800
8801 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8802
8803 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8804 (BYTE_ORDER): Define as appropriate for the target.
8805
8806 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8807
8808 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8809 to _ssize_t.
8810 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8811
8812 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8813
8814 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8815 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8816 [HAVE_GETDATE](getdate_err): New error code.
8817 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8818 * libc/stdio/Makefile.in: Regenerated.
8819 * libc/stdio/getdelim.c: New file.
8820 * libc/stdio/getline.c: Ditto.
8821 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8822 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8823 * libc/sys/linux/Makefile.in: Regenerated.
8824 * libc/sys/linux/getdate.c: New file.
8825 * libc/sys/linux/getdate_err.c: Ditto.
8826 * libc/sys/linux/ntp_gettime.c: Ditto.
8827 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8828 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8829
8830 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8831
8832 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8833 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8834 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8835 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8836 * libc/include/sys/param.h: Remove i386 case which is handled
8837 by default case.
8838 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8839 definitions in case they are already defined.
8840 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8841 _IEEE_LITTLE_ENDIAN flags.
8842 * libc/include/sys/reent.h: Change __uint32_t references to
8843 use _ULong instead.
8844 (_REENT_GETDATE_REENT_P): New macro.
8845 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8846 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8847 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8848 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8849 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8850 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8851 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8852 definitions which are done by subsequent glibc headers.
8853 Add macro definitions to prevent subsequent header files from
8854 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8855 intptr_t to after glibc definitions of types they are based on.
8856
8857 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8858
8859 * libc/include/errno.h: Protect from multiple inclusion.
8860
8861 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8862
8863 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8864
8865 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8866
8867 * Makefile.am (LIB_OBJECTLISTS): Add
8868 libc/search/objectlist.awk.in.
8869 * libc/Makefile.am (SUBDIRS): Add search.
8870 (SUBLIBS): Add search/libsearch.la.
8871 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8872 * libc/search: New directory.
8873 * libc/search/Makefile.am: New file.
8874 * libc/search/extern.h: New file.
8875 * libc/search/hash.c: New file.
8876 * libc/search/hash.h: New file.
8877 * libc/search/hash_bigkey.c: New file.
8878 * libc/search/hash_buf.c: New file.
8879 * libc/search/hash_func.c: New file.
8880 * libc/search/hash_log2.c: New file.
8881 * libc/search/hash_page.c: New file.
8882 * libc/search/hcreate.3: New file.
8883 * libc/search/hcreate.c: New file.
8884 * libc/search/hcreate_r.c: New file.
8885 * libc/search/ndbm.c: New file.
8886 * libc/search/page.h: New file.
8887 * libc/search/tdelete.c: New file.
8888 * libc/search/tdestroy.c: New file.
8889 * libc/search/tfind.c: New file.
8890 * libc/search/tsearch.3: New file.
8891 * libc/search/tsearch.c: New file.
8892 * libc/search/twalk.c: New file.
8893 * libc/include/db.h: New file.
8894 * libc/include/ndbm.h: New file.
8895 * libc/include/search.h: New file.
8896 * libc/include/sys/queue.h: New file.
8897 * libc/include/sys/cdefs.h: New file.
8898 * libc/include/sys/param.h
8899 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8900 LITTLE_ENDIAN or BIG_ENDIAN.
8901 * libc/include/sys/errno.h (EFTYPE): New macro.
8902 * libc/search/bsearch.c: Move from libc/stdlib.
8903 * libc/search/qsort.c: Likewise.
8904 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8905 qsort.c.
8906 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8907 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8908
8909 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8910
8911 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8912 ipc routines, and ftok.
8913 * libc/sys/linux/Makefile.in: Regenerated.
8914 * libc/sys/linux/ftok.c: New file.
8915 * libc/sys/linux/ipc.c: Ditto.
8916 * libc/sys/linux/mq_close.c: Ditto.
8917 * libc/sys/linux/mq_getattr.c: Ditto.
8918 * libc/sys/linux/mq_notify.c: Ditto.
8919 * libc/sys/linux/mq_open.c: Ditto.
8920 * libc/sys/linux/mq_receive.c: Ditto.
8921 * libc/sys/linux/mq_send.c: Ditto.
8922 * libc/sys/linux/mq_setattr.c: Ditto.
8923 * libc/sys/linux/mq_unlink.c: Ditto.
8924 * libc/sys/linux/mqlocal.h: Ditto.
8925 * libc/sys/linux/include/mqueue.h: Ditto.
8926 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8927 __uid_t_defined.
8928
8929 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8930
8931 * libm/common/sf_lround.c (round): Change name to: (lround).
8932 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8933 remquof.
8934
8935 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8936
8937 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8938 procedure.
8939 (newlib_pass_fail): Change to compile and run only one file.
8940 * testsuite/newlib.locale/locale.exp: Use new
8941 newlib_pass_fail_all procedure.
8942 * testsuite/newlib.string/string.exp: Likewise.
8943
8944 2002-06-18 Dave Brolley <brolley@redhat.com>
8945
8946 From Catherine Moore, Michael Meissner, Richard Sandiford:
8947 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8948 (_JBTYPE): Ditto.
8949 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8950 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8951 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8952 * configure.host: Support frv-*-*.
8953 * libc/machine/frv/Makefile.am: New file.
8954 * libc/machine/frv/configure.in: New file.
8955 * libc/machine/frv/setjmp.S: New file.
8956
8957 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8958
8959 * libc/include/ctype.h: Remove isblank macro.
8960
8961 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8962 * libc/ctype/isblank.c: New file.
8963 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8964 declaration. Add isblank macro.
8965
8966 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8967
8968 * testsuite/newlib.stdlib/atexit.c: New file.
8969 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8970 * testsuite/newlib.string/tstring.c: Change default start size
8971 to something more reasonable for embedded platforms.
8972
8973 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8974
8975 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8976
8977 * libc/argz: New directory.
8978 * libc/argz/*: New files.
8979 * libc/argz/argz_add.c: New file.
8980 * libc/argz/argz_add_sep.c: New file.
8981 * libc/argz/argz_append.c: New file.
8982 * libc/argz/argz_count.c: New file.
8983 * libc/argz/argz_create.c: New file.
8984 * libc/argz/argz_create_sep.c: New file.
8985 * libc/argz/argz_delete.c: New file.
8986 * libc/argz/argz_extract.c: New file.
8987 * libc/argz/argz_insert.c: New file.
8988 * libc/argz/argz_next.c: New file.
8989 * libc/argz/argz_replace.c: New file.
8990 * libc/argz/argz_stringify.c: New file.
8991 * libc/argz/buf_findstr.c: New file.
8992 * libc/argz/envz_add.c: New file.
8993 * libc/argz/envz_entry.c: New file.
8994 * libc/argz/envz_get.c: New file.
8995 * libc/argz/envz_merge.c: New file.
8996 * libc/argz/envz_remove.c: New file.
8997 * libc/argz/envz_strip.c: New file.
8998 * libc/include/argz.h: New file.
8999 * libc/include/envz.h: New file.
9000 * Makefile.am (LIBC_OBJECTLISTS): Add
9001 libc/argz/objectlist.awk.in.
9002 * libc/Makefile.am (SUBDIRS): Add argz.
9003 (SUBLIBS): Add argz/libargz.la.
9004 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
9005 * libc/include/errno.h: Add error_t typedef.
9006
9007 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
9008
9009 * libc/include/stdlib.h: Add _Exit prototype.
9010 * libc/stdlib/Makefile.am: Add _Exit.c support.
9011 * libc/stdlib/Makefile.in: Ditto.
9012 * libc/stdlib/_Exit.c: New file.
9013
9014 2002-06-13 Stephen L. Moshier <steve@moshier.net>
9015
9016 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
9017 x is close to -1.0 and y is very large to use ax (absolute value)
9018 instead of x.
9019 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
9020
9021 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
9022
9023 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
9024 Fix clobbering bytes before destination if src and dst have same
9025 non-zero misalignment.
9026
9027 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9028 Fixed bug in writing end of set region.
9029
9030 2002-06-10 Christopher Faylor <cgf@redhat.com>
9031
9032 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
9033 spawnve declaration.
9034
9035 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
9036
9037 * libm/common/s_fdim.c: New file.
9038 * libm/common/s_fma.c: Likewise.
9039 * libm/common/s_fmax.c: Likewise.
9040 * libm/common/s_fmin.c: Likewise.
9041 * libm/common/s_fpclassify.c: Likewise.
9042 * libm/common/s_lrint.c: Likewise.
9043 * libm/common/s_lround.c: Likewise.
9044 * libm/common/s_nearbyint.c: Likewise.
9045 * libm/common/s_remquo.c: Likewise.
9046 * libm/common/s_round.c: Likewise.
9047 * libm/common/s_scalbln.c: Likewise.
9048 * libm/common/s_signbit.c: Likewise.
9049 * libm/common/s_trunc.c: Likewise.
9050 * libm/common/sf_fdim.c: Likewise.
9051 * libm/common/sf_fma.c: Likewise.
9052 * libm/common/sf_fmax.c: Likewise.
9053 * libm/common/sf_fmin.c: Likewise.
9054 * libm/common/sf_lrint.c: Likewise.
9055 * libm/common/sf_lround.c: Likewise.
9056 * libm/common/sf_nearbyint.c: Likewise.
9057 * libm/common/sf_remquo.c: Likewise.
9058 * libm/common/sf_round.c: Likewise.
9059 * libm/common/sf_scalbln.c: Likewise.
9060 * libm/common/sf_trunc.c: Likewise.
9061 * libm/math/w_exp2.c: Likewise.
9062 * libm/math/w_tgamma.c: Likewise.
9063 * libm/math/wf_exp2.c: Likewise.
9064 * libm/math/wf_tgamma.c: Likewise.
9065 * libm/mathfp/s_exp2.c: Likewise.
9066 * libm/mathfp/s_tgamma.c: Likewise.
9067 * libm/mathfp/sf_exp2.c: Likewise.
9068 * libm/mathfp/sf_tgamma.c: Likewise.
9069 * libm/math/er_gamma.c: Fix return value.
9070 * libm/math/erf_gamma.c: Likewise.
9071 * libm/mathfp/er_gamma.c: Likewise.
9072 * libm/mathfp/erf_gamma.c: Likewise.
9073 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
9074 declarations and macros.
9075 Regenerated all Makefile.in, aclocal.m4 and configure files to
9076 use new libtool macros in top-level libtool.m4
9077
9078 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9079
9080 * libc/include/string.h[__linux__]: Add strsignal prototype.
9081 * libc/include/sys/lock.h: New file with default locking support.
9082 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9083 and psignal.
9084 * libc/posix/Makefile.am: Add support for readdir_r.c.
9085 * libc/posix/Makefile.in: Regenerated.
9086 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9087 * libc/posix/opendir.c: Add lock support.
9088 * libc/posix/readdir.c: Ditto.
9089 * libc/posix/rewinddir.c: Ditto.
9090 * libc/posix/scandir.c: Ditto.
9091 * libc/posix/seekdir.c: Ditto.
9092 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9093 clean up leftover hash table entries.
9094 * libc/posix/readdir_r.c: New file.
9095 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9096 * libc/sys/linux/Makefile.in: Regenerated.
9097 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9098 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9099 * libc/sys/linux/psignal.c: New file.
9100 * libc/sys/linux/strsignal.c: Ditto.
9101
9102 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
9103
9104 * libc/include/sys/types.h: Don't define dev_t when compiling for
9105 Cygwin.
9106
9107 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9108
9109 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9110 make siglist.inc dependent on sig.c instead of signal.c.
9111 * libc/sys/linux/Makefile.in: Regenerated.
9112 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9113 use NSIG instead of _NSIG.
9114 * libc/sys/linux/sigaction.c: New file.
9115 * libc/sys/linux/signal.c: Changed to be linux signal() function
9116 so as to override regular newlib default signal.c.
9117 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9118 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9119 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9120 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9121 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9122 default linux sigset_t typedef by defining it equal to __sigset_t.
9123 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9124 with a sigset_t that isn't implemented with a single int.
9125
9126 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9127
9128 * libc/sys/linux/Makefile.am: Add support for new files.
9129 * libc/sys/linux/Makefile.in: Regenerated.
9130 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9131 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9132 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9133 it is in a separate file now.
9134 * libc/sys/linux/machine/i386/Makefile.am
9135 * libc/sys/linux/machine/i386/Makefile.in
9136 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9137 * libc/sys/linux/sigaction.c: New file.
9138 * libc/sys/linux/sigqueue.c: Ditto.
9139 * libc/sys/linux/sigwait.c: Ditto.
9140 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9141 * libc/sys/linux/kernel_sigaction.h: Ditto.
9142
9143 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9144
9145 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9146 tcsendbrk.c.
9147 * libc/sys/linux/Makefile.in: Regenerated.
9148 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9149 tcgetpgrp(), and tcsetpgrp() functions.
9150 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9151 to get __MAX_BAUD rate.
9152 * libc/sys/linux/machine/i386/include/termios.h: New file.
9153 * libc/include/machine/termios.h: Ditto.
9154 * libc/sys/linux/cfspeed.c: Ditto.
9155 * libc/sys/linux/tcsendbrk.c: Ditto.
9156
9157 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9158
9159 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9160 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9161 * libc/string/Makefile.in: Regenerated.
9162 * libc/string/strerror_r.c: New file.
9163 * libc/string/strnlen.c: New file.
9164 * libc/sys/linux/Makefile.am: Add rename.c.
9165 * libc/sys/linux/Makefile.in: Regenerated.
9166 * libc/sys/linux/rename.c: New file to override default rename.
9167
9168 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9169
9170 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9171 * libc/sys/linux/sys/time.h: Add conversion macros.
9172 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9173 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9174 * libc/sys/linux/gethostname.c: New file.
9175 * libc/sys/linux/seteuid.c: New file.
9176 * libc/sys/linux/sysctl.c: New file.
9177
9178 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9179
9180 * libc/string/Makefile.am: Add support for strsep.c.
9181 * libc/string/Makefile.in: Regenerated.
9182 * libc/string/strsep.c: New file.
9183 * libc/string/strtok.c: Change to call __strtok_r service routine.
9184 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9185 additional flag parameter regarding whether to skip leading delimeters.
9186 Change strtok_r to call __strtok_r.
9187
9188 2002-05-23 Gareth Pearce <tilps@hotmail.com>
9189
9190 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9191 * libc/stdio/Makefile.in: Regenerated.
9192 * libc/stdio/setbuffer.c: New file.
9193 * libc/stdio/setlinebuf.c: New file.
9194
9195 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9196
9197 * libc/sys/linux/Makefile.am: Add resource.c.
9198 * libc/sys/linux/Makefile.in: Regenerated.
9199 * libc/sys/linux/resource.c: New file.
9200 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9201 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9202 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9203 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9204 are now found in libc/sys/linux/resource.c.
9205
9206 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9207
9208 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9209 to use void * pointers and comply with Single Unix spec.
9210 * libc/string/bcmp.c: Change to use void * instead of char *.
9211 * libc/string/bcopy.c: Ditto.
9212 * libc/string/bzero.c: Ditto.
9213
9214 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9215
9216 * libc/sys/linux/shm_open.c: New file.
9217 * libc/sys/linux/shm_unlink.c: Ditto.
9218 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9219 shm_unlink.c.
9220 * libc/sys/linux/Makefile.in: Regenerated.
9221 * libc/sys/linux/sys/types.h: Add some additional checks to see
9222 if clock_t or time_t is already defined.
9223
9224 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9225
9226 * Makefile.am: Don't pass $toollibdir down directly in
9227 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9228 Pass it under the name: top_toollibdir.
9229 * Makefile.in: Regenerated.
9230
9231 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9232
9233 * libc/include/sys/types.h: Revert previous patch.
9234
9235 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9236
9237 * libc/include/sys/types.h: Include cygwin/types.h always under
9238 Cygwin, not only if _POSIX_THREADS is defined.
9239
9240 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9241
9242 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9243
9244 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9245
9246 * Makefile.am: Copy and install headers from sys/machine/include
9247 directory. Also pass $toollibdir to lower-level directories.
9248 * Makefile.in: Regenerated.
9249 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
9250 stderr to use _REENT macro instead of _impure_ptr directly.
9251 * libc/include/sys/config.h[__i386__][__linux__]: Define
9252 __DYNAMIC_REENT__.
9253 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
9254 call to __getreent() function if !__SINGLE_THREAD__ and
9255 __DYNAMIC_REENT__ is set.
9256 * libc/reent/Makefile.am: Add support for getreent.c.
9257 * libc/reent/Makefile.in: Regenerated.
9258 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9259 * libc/sys/linux/Makefile.am: Add support for new files.
9260 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9261 * libc/sys/linux/Makefile.in: Regenerated.
9262 * libc/sys/linux/configure: Ditto.
9263 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9264 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9265 their __libc_ counterparts.
9266 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9267 and weak-alias to regular names.
9268 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9269 to pread64 and __pread64.
9270 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9271 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9272 weak-alias to pwrite64.
9273 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9274 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9275 __libc_sched_get_priority_min, and __libc_sched_setschedule to
9276 name with __ instead of __libc_.
9277 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9278 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9279 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9280 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9281 to raise.
9282 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9283 __libc_send to __send.
9284 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9285 __gettimeofday.
9286 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9287 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9288 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9289 type and typedef __jmp_buf to jmp_buf.
9290 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9291 setjmp.S.
9292 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9293 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9294 section.
9295 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9296 prefix for function macros and then use weak_alias() to regular names.
9297 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9298 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9299 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9300 to be flockfile() and funlockfile() respectively.
9301 * libc/sys/linux/sys/types.h
9302 * libc/reent/getreent.c: New file.
9303 * libc/sys/linux/flockfile.c: Ditto.
9304 * libc/sys/linux/funlockfile.c: Ditto.
9305 * libc/sys/linux/getreent.c: Ditto.
9306 * libc/sys/linux/pread.c: Ditto.
9307 * libc/sys/linux/pwrite.c: Ditto.
9308 * libc/sys/linux/raise.c: Ditto.
9309 * libc/sys/linux/system.c: Ditto.
9310 * libc/sys/linux/tcdrain.c: Ditto.
9311 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9312 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9313 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9314 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9315 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9316
9317 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9318
9319 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9320 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9321 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9322 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9323
9324 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
9325
9326 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
9327 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9328 exit point.
9329
9330 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9331
9332 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9333 options when testing natively on i[3456]86-*-linux.
9334
9335 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9336 only one pass or fail per test file. Trim \r's from output
9337 values received from test programs. Remove support for named
9338 tests.
9339 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9340 newlib_check_output behaviour.
9341 * testsuite/newlib.locale/UTF-8.c: Likewise.
9342
9343 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9344
9345 * libc/include/stdlib.h: Add on_exit prototype.
9346 * libc/include/sys/reent.h (struct _atexit): Add argument array
9347 and bits to track type of exit routine to support both on_exit
9348 and atexit.
9349 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9350 by default and change the setting of the atexit structure.
9351 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9352 * libc/stdlib/on_exit.c: New file.
9353 * libc/stdlib/Makefile.am: Add support for on_exit.
9354 * libc/stdlib/Makefile.in: Regenerated.
9355 * libc/stdlib/atexit.c: Change to initialize types field.
9356 * libc/stdlib/exit.c: Change to look at types field for each
9357 exit routine and either call an atexit-style or an on_exit-style
9358 routine accordingly.
9359
9360 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9361
9362 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9363 allow v specifier with n or L specifiers. For vector c format,
9364 move tmp declaration to the top.
9365
9366 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9367
9368 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9369 the original format specifier when looping for vectors to compensate
9370 for any changes made in vector %g format processing.
9371 Also add syntax checking for various invalid scenarios
9372 involving vector format extensions.
9373 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9374 return code setting for vector formats. Also treat vector
9375 separator mismatch as a match error instead of an input error.
9376 Perform some syntax checking for vector formats.
9377
9378 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9379
9380 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9381 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9382 * libc/string/strlcat.c: New file.
9383 * libc/string/strlcpy.c: New file.
9384
9385 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9386
9387 * libc/string/strchr.c: Fix comment typo.
9388
9389 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9390
9391 * acinclude.m4: Add support for --enable-newlib-multithread.
9392 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9393 --enable-newlib-multithread=no.
9394
9395 * libc/stdio/getc_u.c: New file.
9396 * libc/stdio/getchar_u.c: New file.
9397 * libc/stdio/putc_u.c: New file.
9398 * libc/stdio/putchar_u.c: New file.
9399 * libc/include/stdio.h: Add declarations for getc_unlocked,
9400 getchar_unlocked, putc_unlocked and putchar_unlocked.
9401 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9402 (CHEWOUT_FILES): Add new files' .def's.
9403 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9404
9405 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9406
9407 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9408 Also handle as single quad word when destination ends at last
9409 byte of first quad word. Fix byte selection in single quad code.
9410
9411 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9412
9413 * libc/include/sys/stdio.h: New file.
9414 * libc/sys/linux/sys/stdio.h: New file.
9415 * libc/include/stdio.h: Add declarations for flockfile,
9416 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9417 * libc/stdio/clearerr.c: Add file locking.
9418 * libc/stdio/fclose.c: Likewise.
9419 * libc/stdio/feof.c: Likewise.
9420 * libc/stdio/ferror.c: Likewise.
9421 * libc/stdio/fflush.c: Likewise.
9422 * libc/stdio/fgetc.c: Likewise.
9423 * libc/stdio/fgetpos.c: Likewise.
9424 * libc/stdio/fgets.c: Likewise.
9425 * libc/stdio/fileno.c: Likewise.
9426 * libc/stdio/fputc.c: Likewise.
9427 * libc/stdio/fputs.c: Likewise.
9428 * libc/stdio/fread.c: Likewise.
9429 * libc/stdio/freopen.c: Likewise.
9430 * libc/stdio/fseek.c: Likewise.
9431 * libc/stdio/ftell.c: Likewise.
9432 * libc/stdio/fwrite.c: Likewise.
9433 * libc/stdio/getc.c: Likewise.
9434 * libc/stdio/putc.c: Likewise.
9435 * libc/stdio/setvbuf.c: Likewise.
9436 * libc/stdio/ungetc.c: Likewise.
9437 * libc/stdio/vfprintf.c: Likewise.
9438
9439 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9440
9441 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9442 support for 'p' format. Fix code to print bytes for vector
9443 integer formats that do not specify 'h' or 'l'.
9444 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9445 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9446 formats that do not specify 'h' or 'l'.
9447
9448 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9449
9450 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9451
9452 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9453 (_sbrk): Add cast of return value.
9454
9455 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9456
9457 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9458 (_REENT_L64A_BUF): New macro for accessing area.
9459 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9460 * libc/stdlib/Makefile.in: Regenerated.
9461 * libc/stdlib/a64l.c: New file.
9462 * libc/stdlib/l64a.c: New file.
9463
9464 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9465
9466 * libc/unix/pread.c: Fix typo for _pread_r.
9467 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9468 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9469 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9470
9471 2002-05-03 Christopher Faylor <cgf@redhat.com>
9472
9473 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9474
9475 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9476
9477 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9478
9479 2002-05-01 Christopher Faylor <cgf@redhat.com>
9480
9481 * utmp.h: Define more UNIX constants.
9482
9483 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9484
9485 * Makefile.am: Add support for checking multilibs.
9486
9487 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9488 (SUBDEFS): Add LIBC_EXTRA_DEF.
9489 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9490 (LIBC_EXTRA_DEF): Likewise.
9491 (extra_dir): Likewise.
9492 * libc/machine/xscale/machine: New directory.
9493 * libc/machine/xscale/machine/profile.h: New file.
9494
9495 * Makefile.am (site.exp): Remove newlib_cflags. Add
9496 multibuildtop.
9497 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9498 * testsuite/lib/flags.exp: New file.
9499 * testsuite/lib/newlib.exp: Load flags.exp.
9500 (newlib_target_compile): Remove libgloss directory references.
9501 (newlib_init): Remove newlib_cflags references.
9502
9503 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9504
9505 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9506 method of finding libgloss_target_dir.
9507
9508 * Makefile.am (site.exp): Change host_alias, host_triplet,
9509 target_alias, target_triplet to refer to gcc's host and target
9510 variables (newlib's build and host variables).
9511 * testsuite/lib/newlib.exp (newlib_init): Change build
9512 references to host references, host references to target
9513 references to reflect Makefile.am changes.
9514 (newlib_target_compile): Likewise.
9515 (newlib_finish): Likewise.
9516
9517 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9518
9519 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9520
9521 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9522
9523 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9524 (_system): New function. Ditto.
9525 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9526 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9527 targets.
9528
9529 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9530
9531 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9532 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9533 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9534 * libc/sys/linux/Makefile.in: Regenerated.
9535 * libc/unix/Makefile.in: Ditto.
9536 * libc/sys/linux/pread64.c: New file.
9537 * libc/sys/linux/pwrite64.c: Ditto.
9538 * libc/unix/pread.c: Ditto.
9539 * libc/unix/pwrite.c: Ditto.
9540
9541 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9542
9543 * libc/sys/linux/Makefile.am: Add io64.c.
9544 * libc/sys/linux/Makefile.in: Regenerated.
9545 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9546 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9547 * libc/sys/linux/io64.c: New file.
9548
9549 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9550
9551 * configure.in (CC_FOR_NEWLIB): New variable that
9552 bases on $(CC) and adds targ-include and libc/include as
9553 -isystem directives if they are not already part of $(CC).
9554 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9555 $(CC_FOR_NEWLIB).
9556 * configure: Regenerated.
9557 * Makefile.in: Ditto.
9558
9559 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9560
9561 * libc/sys/linux/Makefile.am: Add support for sched.c.
9562 * libc/sys/linux/Makefile.in: Regenerated.
9563 * libc/sys/linux/sched.c: New file.
9564 * libc/sys/linux/sys/types.h: Add struct timespec.
9565
9566 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9567
9568 * configure.in (CC_FOR_BUILD): Set to gcc whether
9569 cross-compiling or not.
9570 (CC): Add -isystem's for targ-include and libc/include when they
9571 do not already appear in CC.
9572
9573 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9574
9575 * Makefile.am (check-DEJAGNU): New target.
9576 (site.exp): Likewise.
9577 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9578 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9579 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9580 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9581 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9582 * testsuite: New directory.
9583 * testsuite/config: Likewise.
9584 * testsuite/lib: Likewise.
9585 * testsuite/newlib.locale: Likewise.
9586 * testsuite/newlib.string: Likewise.
9587 * testsuite/config/default.exp: New file.
9588 * testsuite/lib/checkoutput.exp: New file.
9589 * testsuite/lib/newlib.exp: New file.
9590 * testsuite/lib/passfail.exp: New file.
9591 * testsuite/newlib.locale/UTF-8.c: New file.
9592 * testsuite/newlib.locale/UTF-8.exp: New file.
9593 * testsuite/newlib.locale/locale.exp: New file.
9594 * testsuite/newlib.string/string.exp: New file.
9595 * testsuite/newlib.string/tstring.c: New file.
9596
9597 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9598
9599 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9600 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9601 * libc/sys/linux/Makefile.in: Regenerated.
9602 * libc/sys/linux/mmap.c: New file.
9603 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9604 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9605
9606 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9607
9608 * acinclude.m4 (newlib_cflags): Remove include directories that
9609 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9610
9611 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9612
9613 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9614 * libc/machine/xscale/memcmp.c: Ditto.
9615 * libc/machine/xscale/memcpy.c: Ditto.
9616 * libc/machine/xscale/memmove.c: Ditto.
9617 * libc/machine/xscale/memset.c: Ditto.
9618 * libc/machine/xscale/strchr.c: Ditto.
9619 * libc/machine/xscale/strcmp.c: Ditto.
9620 * libc/machine/xscale/strcpy.c: Ditto.
9621 * libc/machine/xscale/strlen.c: Ditto.
9622
9623 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9624
9625 * libc/include/sys/config.h: Remove include of <limits.h>.
9626 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9627 define INT_MAX and LONG_MAX. Use them in tests.
9628
9629 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9630
9631 * configure.host: Add support for powerpc-eabialtivec*.
9632 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9633 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9634 * libc/include/machine/malloc.h: New file.
9635 * libc/include/machine/stdlib.h: Ditto.
9636 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9637 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9638 sources based on configuration.
9639 * libc/machine/powerpc/Makefile.in: Regenerated.
9640 * libc/machine/powerpc/configure: Ditto.
9641 * libc/machine/powerpc/configure.in: Add check for
9642 powerpc-eabialtivec* in which case add in additional source files.
9643 * libc/machine/powerpc/setjmp.S: Add altivec support.
9644 * libc/machine/powerpc/vec_calloc.c: New file.
9645 * libc/machine/powerpc/vec_free.c: Ditto.
9646 * libc/machine/powerpc/vec_malloc.c: Ditto.
9647 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9648 * libc/machine/powerpc/vec_realloc.c: Ditto.
9649 * libc/machine/powerpc/machine/malloc.h: Ditto.
9650 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9651 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9652 with added altivec format specifiers.
9653 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9654 added altivec format specifiers.
9655
9656 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9657
9658 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9659 while autoconf is trying to link main(){}.
9660
9661 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9662
9663 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9664 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9665
9666 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9667
9668 * libc/time/time.tex: Add tzset info.
9669
9670 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9671
9672 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9673 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9674 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9675 (tzname): Defined for all platforms.
9676 (daylight, timezone): Defined only for CYGWIN.
9677 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9678 environment set up.
9679 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9680 environment variable is set.
9681 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9682 tzset_r.c.
9683 * libc/time/Makefile.in: Regenerated.
9684 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9685 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9686 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9687 * libc/time/local.h: New local header file.
9688 * libc/time/mktime.c (mktime): Add timezone support.
9689 * libc/time/mktm_r.c: New file which is the common engine
9690 for gmtime_r and lcltime_r. This code has timezone support.
9691 * libc/time/strftime.c (strftime): Add %Z timezone support.
9692 * libc/time/tzlock.c: New file containing timezone lock stubs.
9693 * libc/time/tzset.c: New file containing tzset() routine.
9694 * libc/time/tzset_r.c: New file containing _tzset_r and
9695 internal routine for calculating timezone changes for specified year.
9696
9697 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9698
9699 * configure.in (CRT0_DIR): Set to libc/.
9700 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9701 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9702 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9703 $(CRT1_DIR)/$(CRT1).
9704 * libc/machine/xstormy16/Makefile.in: Regenerated.
9705 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9706 * libc/machine/xstormy16/configure: Regenerated.
9707
9708 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9709
9710 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9711 fails, don't bail out, and try to correct next time.
9712
9713 * libc/include/sys/config.h: Include limits.h.
9714
9715 2002-04-12 Eric Norum <eric.norum@usask.com>
9716
9717 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9718 routine to allow autoconf to determine that building executables
9719 for rtems works.
9720 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9721 (rtems_gxx_mutex_once): Ditto.
9722
9723 2002-04-09 Tom Rix <trix@redhat.com>
9724
9725 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9726
9727 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9728
9729 * libc/include/time.h: Fix strptime declaration.
9730 * libc/time/Makefile.am: Add strptime.c.
9731 * libc/time/Makefile.in: Regenerated.
9732 * libc/time/strptime.c: New file.
9733
9734 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9735
9736 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9737 siglongjmp prototype, and sigsetjmp macro definition.
9738 * libc/sys/linux/siglongjmp.c: New file.
9739 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9740 * libc/sys/linux/Makefile.in: Regenerated.
9741
9742 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9743
9744 * Makefile.am: Add support for installing crt1.o if one exists.
9745 * configure.host: Specify crt1.o for linux.
9746 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9747 * Makefile.in: Regenerated.
9748 * configure: Ditto.
9749 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9750 Added for non-Cygwin, non-RTEMS configurations.
9751 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9752 * libc/sys/linux/Makefile.in: Regenerated.
9753 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9754 by gcc. This fixes problem with reconfiguring linux newlib build.
9755 * libc/sys/linux/sysconf.c: New file.
9756
9757 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9758
9759 * configure.host: Add support for machine subdirectory of
9760 sys subdirectory.
9761 * configure.in: Add check for sys machine subdirectory.
9762 * Makefile.am: Ditto.
9763 * configure: Regenerated.
9764 * Makefile.in: Ditto.
9765 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9766 * libc/sys/linux/sys/syscall.h: Ditto.
9767 * libc/sys/linux/sleep.c: New file.
9768 * libc/sys/linux/socket.c: Ditto.
9769 * libc/sys/linux/sockops.h: Ditto.
9770 * libc/sys/linux/stack.c: Ditto.
9771 * libc/sys/linux/usleep.c: Ditto.
9772 * libc/sys/linux/machine/Makefile.am: Ditto.
9773 * libc/sys/linux/machine/Makefile.in: Ditto.
9774 * libc/sys/linux/machine/aclocal.m4: Ditto.
9775 * libc/sys/linux/machine/configure: Ditto.
9776 * libc/sys/linux/machine/configure.in: Ditto.
9777 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9778 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9779 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9780 * libc/sys/linux/machine/i386/configure: Ditto.
9781 * libc/sys/linux/machine/i386/configure.in: Ditto.
9782 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9783 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9784 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9785 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9786 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9787 * libc/sys/linux/sys/select.h: Ditto.
9788 * libc/sys/linux/configure.in: Add support for machine directory.
9789 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9790 * libc/sys/linux/Makefile.in: Regenerated.
9791 * libc/sys/linux/configure: Ditto.
9792 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9793 * libc/sys/linux/inode.c: Ditto.
9794 * libc/sys/linux/linux.c: Ditto.
9795 * libc/sys/linux/process.c: Ditto.
9796 * libc/sys/linux/systat.c: Ditto.
9797 * libc/sys/linux/time.c: Ditto.
9798 * libc/sys/linux/wait.c: Ditto.
9799 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9800 * libc/sys/linux/io.c: Change header plus add readv/writev.
9801 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9802 use __sigsuspend syscall.
9803 * libc/sys/linux/select.c: Change header plus change select to
9804 use _newselect syscall.
9805 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9806 used by glibc header files.
9807 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9808 types.
9809
9810 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9811
9812 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9813 initializing a struct _reent that has been dynamically allocated.
9814 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9815 _REENT_SMALL and does nothing otherwise.
9816 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9817 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9818 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9819 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9820 [_REENT_SMALL](struct _misc_reent): New structure containing
9821 miscellaneous reentrant areas needed by newlib.
9822 [_REENT_SMALL](struct _reent): Add _misc pointer.
9823 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9824 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9825 and _REENT_STRTOK_LAST macros.
9826 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9827 and _REENT_MBLEN_STATE macros.
9828 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9829 and _REENT_MBTOWC_STATE macros.
9830 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9831 and _REENT_WCTOMB_STATE macros.
9832
9833 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9834
9835 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9836
9837 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9838
9839 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9840
9841 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9842
9843 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9844 Store high part of leading bytes too.
9845
9846 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9847
9848 * libm/math/ef_hypot.c: Increase scale factor to 68.
9849
9850 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9851
9852 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9853 error.
9854
9855 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9856
9857 * libc/sys/go32/access.c: Change license to relaxed license
9858 used in identical file throughout newlib/libgloss.
9859
9860 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9861
9862 * libc/sys/arm/access.c: New file.
9863 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9864 * libc/sys/arm/Makefile.in: Regenerate.
9865 * libc/sys/arm/syscalls.c (_stat): New function.
9866
9867 2002-03-11 Michael Meissner <meissner@redhat.com>
9868
9869 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9870 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9871 * libc/machine/mips/Makefile.in: Regenerate.
9872 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9873 * libc/machine/mips/memset.c: Dito.
9874 * libc/machine/mips/strcmp.c: Dito.
9875 * libc/machine/mips/strlen.c: Dito.
9876 * libc/machine/mips/strncmp.c: Dito.
9877
9878 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9879
9880 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9881 object so it works for shared library or statici library.
9882 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9883
9884 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9885 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9886 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9887 (tzname): Defined for all platforms.
9888 (daylight, timezone): Defined only for CYGWIN.
9889 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9890 environment set up.
9891 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9892 environment variable is set.
9893 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9894 tzset_r.c.
9895 * libc/time/Makefile.in: Regenerated.
9896 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9897 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9898 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9899 * libc/time/local.h: New local header file.
9900 * libc/time/mktime.c (mktime): Add timezone support.
9901 * libc/time/mktm_r.c: New file which is the common engine
9902 for gmtime_r and lcltime_r. This code has timezone support.
9903 * libc/time/strftime.c (strftime): Add %Z timezone support.
9904 * libc/time/tzlock.c: New file containing timezone lock stubs.
9905 * libc/time/tzset.c: New file containing tzset() routine.
9906 * libc/time/tzset_r.c: New file containing _tzset_r and
9907 internal routine for calculating timezone changes for specified year.
9908
9909 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9910
9911 * configure.in (CRT0_DIR): Set to libc/.
9912 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9913 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9914 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9915 $(CRT1_DIR)/$(CRT1).
9916 * libc/machine/xstormy16/Makefile.in: Regenerated.
9917 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9918 * libc/machine/xstormy16/configure: Regenerated.
9919
9920 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9921
9922 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9923 fails, don't bail out, and try to correct next time.
9924
9925 * libc/include/sys/config.h: Include limits.h.
9926
9927 2002-04-12 Eric Norum <eric.norum@usask.com>
9928
9929 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9930 routine to allow autoconf to determine that building executables
9931 for rtems works.
9932 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9933 (rtems_gxx_mutex_once): Ditto.
9934
9935 2002-04-09 Tom Rix <trix@redhat.com>
9936
9937 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9938
9939 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9940
9941 * libc/include/time.h: Fix strptime declaration.
9942 * libc/time/Makefile.am: Add strptime.c.
9943 * libc/time/Makefile.in: Regenerated.
9944 * libc/time/strptime.c: New file.
9945
9946 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9947
9948 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9949 siglongjmp prototype, and sigsetjmp macro definition.
9950 * libc/sys/linux/siglongjmp.c: New file.
9951 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9952 * libc/sys/linux/Makefile.in: Regenerated.
9953
9954 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9955
9956 * Makefile.am: Add support for installing crt1.o if one exists.
9957 * configure.host: Specify crt1.o for linux.
9958 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9959 * Makefile.in: Regenerated.
9960 * configure: Ditto.
9961 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9962 Added for non-Cygwin, non-RTEMS configurations.
9963 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9964 * libc/sys/linux/Makefile.in: Regenerated.
9965 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9966 by gcc. This fixes problem with reconfiguring linux newlib build.
9967 * libc/sys/linux/sysconf.c: New file.
9968
9969 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9970
9971 * configure.host: Add support for machine subdirectory of
9972 sys subdirectory.
9973 * configure.in: Add check for sys machine subdirectory.
9974 * Makefile.am: Ditto.
9975 * configure: Regenerated.
9976 * Makefile.in: Ditto.
9977 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9978 * libc/sys/linux/sys/syscall.h: Ditto.
9979 * libc/sys/linux/sleep.c: New file.
9980 * libc/sys/linux/socket.c: Ditto.
9981 * libc/sys/linux/sockops.h: Ditto.
9982 * libc/sys/linux/stack.c: Ditto.
9983 * libc/sys/linux/usleep.c: Ditto.
9984 * libc/sys/linux/machine/Makefile.am: Ditto.
9985 * libc/sys/linux/machine/Makefile.in: Ditto.
9986 * libc/sys/linux/machine/aclocal.m4: Ditto.
9987 * libc/sys/linux/machine/configure: Ditto.
9988 * libc/sys/linux/machine/configure.in: Ditto.
9989 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9990 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9991 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9992 * libc/sys/linux/machine/i386/configure: Ditto.
9993 * libc/sys/linux/machine/i386/configure.in: Ditto.
9994 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9995 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9996 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9997 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9998 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9999 * libc/sys/linux/sys/select.h: Ditto.
10000 * libc/sys/linux/configure.in: Add support for machine directory.
10001 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
10002 * libc/sys/linux/Makefile.in: Regenerated.
10003 * libc/sys/linux/configure: Ditto.
10004 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
10005 * libc/sys/linux/inode.c: Ditto.
10006 * libc/sys/linux/linux.c: Ditto.
10007 * libc/sys/linux/process.c: Ditto.
10008 * libc/sys/linux/systat.c: Ditto.
10009 * libc/sys/linux/time.c: Ditto.
10010 * libc/sys/linux/wait.c: Ditto.
10011 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
10012 * libc/sys/linux/io.c: Change header plus add readv/writev.
10013 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
10014 use __sigsuspend syscall.
10015 * libc/sys/linux/select.c: Change header plus change select to
10016 use _newselect syscall.
10017 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
10018 used by glibc header files.
10019 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
10020 types.
10021
10022 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
10023
10024 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
10025 initializing a struct _reent that has been dynamically allocated.
10026 (_REENT_CHECK_MISC): New macro that checks _misc struct for
10027 _REENT_SMALL and does nothing otherwise.
10028 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
10029 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
10030 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
10031 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
10032 [_REENT_SMALL](struct _misc_reent): New structure containing
10033 miscellaneous reentrant areas needed by newlib.
10034 [_REENT_SMALL](struct _reent): Add _misc pointer.
10035 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
10036 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
10037 and _REENT_STRTOK_LAST macros.
10038 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
10039 and _REENT_MBLEN_STATE macros.
10040 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
10041 and _REENT_MBTOWC_STATE macros.
10042 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
10043 and _REENT_WCTOMB_STATE macros.
10044
10045 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
10046
10047 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
10048
10049 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
10050
10051 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
10052
10053 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
10054
10055 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
10056 Store high part of leading bytes too.
10057
10058 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
10059
10060 * libm/math/ef_hypot.c: Increase scale factor to 68.
10061
10062 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
10063
10064 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
10065 error.
10066
10067 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
10068
10069 * libc/sys/go32/access.c: Change license to relaxed license
10070 used in identical file throughout newlib/libgloss.
10071
10072 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
10073
10074 * libc/sys/arm/access.c: New file.
10075 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
10076 * libc/sys/arm/Makefile.in: Regenerate.
10077 * libc/sys/arm/syscalls.c (_stat): New function.
10078
10079 2002-03-11 Michael Meissner <meissner@redhat.com>
10080
10081 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10082 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10083 * libc/machine/mips/Makefile.in: Regenerate.
10084 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10085 * libc/machine/mips/memset.c: Dito.
10086 * libc/machine/mips/strcmp.c: Dito.
10087 * libc/machine/mips/strlen.c: Dito.
10088 * libc/machine/mips/strncmp.c: Dito.
10089
10090 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10091
10092 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10093 object so it works for shared library or statici library.
10094 * libc/machine/i386/Makefile.in: Regenerated.
10095
10096 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10097
10098 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10099 Add memcpy.S, memset.S and strcpy.S.
10100 * libc/machine/sh/Makefile.in: Regenerate.
10101 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
10102 (SHHI, SHLO): Define.
10103 * libc/machine/sh/memset.S: Add code for SH5.
10104 * libc/machine/sh/memset.S: Likewise.
10105 * libc/machine/sh/strcpy.S: Likewise.
10106
10107 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10108
10109 * configure.host: Add check for --disable-newlib-io-float
10110 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10111 if appropriate.
10112 * acinclude.m4: Added --disable-newlib-io-float option.
10113 * aclocal.m4: Regenerated.
10114 * configure: Ditto.
10115 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10116 * libc/*/aclocal.m4 libc/*/configure
10117 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10118 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10119 if NO_FLOATING_POINT flag is not defined.
10120
10121 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10122
10123 * libc/include/sys/config.h: Add __extension__ in front of
10124 long long references.
10125
10126 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10127
10128 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10129 (_stat): Ditto.
10130
10131 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10132
10133 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10134 of off_t.
10135
10136 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10137
10138 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10139 clobbered registers.
10140
10141 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10142
10143 * configure.host (newlib_cflags): When host is in m68* add
10144 -DCOMPACT_CTYPE.
10145
10146 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10147
10148 * libc/include/sys/config.h: Add definitions for
10149 __int16_t, __uint16_t, __int64_t, and __uint64_t.
10150
10151 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10152
10153 * libc/sys/mmixware/link.c: New.
10154 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10155 volatile.
10156 * libc/sys/mmixware/times.c (_times): Renamed from times.
10157 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10158 properly by reading previous contents, not through BinaryReadWrite.
10159 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10160 * libc/sys/mmixware/Makefile.in: Regenerate.
10161
10162 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
10163
10164 * libc/include/grp.h: Don't declare group functions when compiling
10165 Cygwin.
10166
10167 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
10168
10169 * libc/include/grp.h: Include Cygwin specific header.
10170 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10171 when compiling for Cygwin.
10172 * libc/include/sys/types.h: Don't define off_t, uid_t
10173 and gid_t when compiling for Cygwin.
10174
10175 2002-02-08 matthew green <mrg@redhat.com>
10176
10177 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10178 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10179
10180 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
10181
10182 Contribute sh64-elf.
10183 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10184 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10185 support in printf.
10186 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10187 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10188 any labels.
10189 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10190 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10191 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10192 * libc/machine/sh/configure.in: Rework conditionals.
10193 * libc/machine/sh/Makefile.am: Likewise.
10194 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10195 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10196 * configure.host: Match `sh*'.
10197 * libc/include/machine/setjmp.h: Define for SH5.
10198 * libc/machine/sh/configure.in: Detect SH5.
10199 * libc/machine/sh/configure: Rebuilt.
10200 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10201 * libc/machine/sh/Makefile.in: Rebuilt.
10202 * libc/machine/sh/asm.h: Adjust for SH5.
10203 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10204 * libc/sys/sh/crt0.S: Likewise.
10205 * libc/sys/sh/trap.S: Likewise.
10206
10207 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10208
10209 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10210 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10211 (LIB_SOURCES): Remove $(mach_add_src).
10212 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10213 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10214 * libc/machine/i386/Makefile.in: Regenerate.
10215
10216 2002-02-05 Manik Raina <manik@cisco.com>
10217
10218 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
10219 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10220 s, p, k, and outstr.
10221 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10222
10223 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10224
10225 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10226 _REENT_CHECK_EMERGENCY macro.
10227
10228 2002-02-03 matthew green <mrg@redhat.com>
10229
10230 * libc/reent/signgam.c (__signgam): Fix error in previous.
10231
10232 2002-02-02 matthew green <mrg@redhat.com>
10233
10234 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10235
10236 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10237 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10238 * libc/include/sys/reent.h (struct _reent): Completely new version
10239 for _REENT_SMALL.
10240 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10241 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10242 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10243 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10244 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10245 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10246 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10247 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10248 (_REENT_EMERGENCY): Likewise.
10249
10250 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10251 the start of the real __sFILE, used for stdin, stdout and stderr until
10252 they are setup properly.
10253 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10254 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10255 allocated stdin, stdout and stderr.
10256 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10257 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10258 * libc/stdio/perror.c (_perror_r): Likewise.
10259 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10260 * libc/stdio/putchar.c (_putchar_r): Likewise.
10261 * libc/stdio/puts.c (_puts_r): Likewise.
10262 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10263 * libc/stdio/vprintf.c (vprintf): Likewise.
10264 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10265
10266 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10267
10268 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10269 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10270 for _REENT_SMALL.
10271 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10272 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10273
10274 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10275 _REENT_SMALL.
10276 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10277 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10278 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10279 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10280 * libc/stdlib/rand48.c (__dorand48): Likewise.
10281 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10282 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10283 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10284 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10285 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10286 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10287 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10288 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10289 * libc/stdlib/rand.c (rand): Likewise.
10290
10291 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10292 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10293
10294 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10295 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10296 * libc/include/sys/reent.h (struct _mprec): New structure.
10297
10298 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10299 _unused_strtok_last.
10300 * libc/string/strtok.c (strtok): Use a local static variable.
10301
10302 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10303 (_REENT_EMERGENCY_SIZE): Likewise.
10304 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10305 _REENT_ASCTIME_BUF().
10306 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10307 _REENT_TM().
10308
10309 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10310 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10311 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10312 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10313 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10314 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10315
10316 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
10317
10318 * configure.host (xstormy16): Don't use the generic malloc.
10319 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10320 * libc/machine/xstormy16/Makefile.in: Regenerate.
10321 * libc/machine/xstormy16/mallocr.c: New file.
10322 * libc/machine/xstormy16/tiny-malloc.c: New file.
10323
10324 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10325
10326 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10327 when _CYGWIN_TYPES_H is not defined.
10328
10329 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10330
10331 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10332
10333 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10334
10335 * libc/include/sys/signal.h: Remove pthread_kill declaration
10336 when __CYGWIN__ is defined.
10337
10338 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10339
10340 * libc/include/time.h: Add prototype for strptime for Cygwin.
10341
10342 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10343
10344 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10345 dst was not word aligned.
10346
10347 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10348 if too much memory is requested.
10349
10350 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10351
10352 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10353 reads blanks from the input file to break if EOF reached
10354 rather than end processing.
10355
10356 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10357
10358 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10359
10360 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10361
10362 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10363 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10364 libc/include/sys/config.h: Ditto.
10365
10366 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10367
10368 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10369
10370 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10371 Catherine Moore <clm@redhat.com>
10372 Richard Henderson <rth@redhat.com>
10373 Corinna Vinschen <vinschen@redhat.com>
10374
10375 * configure.host: Add support for xstormy16.
10376 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10377 * libc/include/machine/setjmp.h: Add support for xstormy16.
10378 * libc/include/sys/config.h: Add support for xstormy16.
10379 * libc/machine/xstormy16/Makefile.am: New file.
10380 * libc/machine/xstormy16/Makefile.in: New file.
10381 * libc/machine/xstormy16/aclocal.m4: New file.
10382 * libc/machine/xstormy16/configure: New file.
10383 * libc/machine/xstormy16/configure.in: New file.
10384 * libc/machine/xstormy16/setjmp.S: New file.
10385
10386 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10387
10388 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10389 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10390
10391 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10392
10393 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10394 * libm/machine/Makefile.in: Regenerated through automake.
10395
10396 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10397
10398 * Makefile.am (DOCDIR): Force to empty string when doc
10399 directory is not present.
10400
10401 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10402
10403 * libc/machine/i386/f_*: Move to libm/machine/i386.
10404
10405 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10406
10407 * libm/machine/Makefile.am: Add dummy doc stub so
10408 "make info" works.
10409
10410 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10411
10412 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10413
10414 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10415
10416 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10417 $(COMPILE) rather than $(CC).
10418 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10419 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10420 $(LIB_COMPILE) change.
10421 (vfiprintf.$(oext)): Likewise.
10422
10423 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10424
10425 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10426 conditionalized including of getopt stuff.
10427
10428 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10429
10430 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10431 compile line.
10432 (vfiprintf.$(oext)): Likewise.
10433
10434 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10435
10436 * Makefile.shared: New file.
10437 * libc/sys/linux/shared.ld: New file.
10438 * libm/machine/*: New files.
10439 * libm/machine/i386/*: New files.
10440 * Makefile.am: Add libtool support. Change math and mathfp
10441 references to variables.
10442 * configure.host: Add variables for libtool support. Add
10443 libm_machine_dir variable.
10444 * configure.in: Add objectlist variables, for libtool
10445 support. Add CC_FOR_BUILD tests.
10446 * libc/Makefile.am: Add libtool support. Change crt0.o
10447 reference to be a variable reference.
10448 * libc/configure.in: Add libtool support. Change sublib
10449 names to be lib${subdir}.la when using libtool.
10450 * libc/ctype/Makefile.am: Add libtool support.
10451 * libc/errno/Makefile.am: Likewise.
10452 * libc/locale/Makefile.am: Likewise.
10453 * libc/machine/Makefile.am: Likewise.
10454 * libc/machine/configure.in: Likewise.
10455 * libc/machine/i386/Makefile.am: Likewise.
10456 * libc/machine/i386/configure.in: Likewise.
10457 * libc/misc/Makefile.am: Likewise.
10458 * libc/posix/Makefile.am: Likewise.
10459 * libc/reent/Makefile.am: Likewise.
10460 * libc/signal/Makefile.am: Likewise.
10461 * libc/stdio/Makefile.am: Likewise.
10462 * libc/stdlib/Makefile.am: Likewise.
10463 * libc/string/Makefile.am: Likewise.
10464 * libc/sys/Makefile.am: Likewise.
10465 * libc/sys/configure.in: Likewise.
10466 * libc/sys/linux/Makefile.am: Add libtool support. Change
10467 awk reference to a variable reference. Change signal.h
10468 reference to a variable reference.
10469 * libc/sys/linux/configure.in: Add libtool support.
10470 * libc/syscalls/Makefile.am: Likewise.
10471 * libc/time/Makefile.am: Likewise.
10472 * libc/unix/Makefile.am: Likewise.
10473 * libm/Makefile.am: Add libtool support. Change math and
10474 mathfp references to variables.
10475 * libm/configure.in: Add libtool support. Add
10476 LIBM_MACHINE_LIB variable.
10477 * libm/common/Makefile.am: Add libtool support.
10478 * libm/math/Makefile.am: Likewise.
10479 * libm/mathfp/Makefile.am: Likewise.
10480 Regenerate all Makefile.in, aclocal.m4, and configure.
10481
10482 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10483
10484 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10485
10486 2001-12-06 John Peacock <jpeacock@rowman.com>
10487
10488 * libc/include/sys/unistd.h: Correct ualarm declaration.
10489
10490 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10491
10492 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10493 vector before calling the initialisation functions.
10494
10495 2001-11-29 Christopher Faylor <cgf@redhat.com>
10496
10497 * libc/include/dirent.h: Protect against multiple inclusion.
10498
10499 2001-11-27 Christopher Faylor <cgf@redhat.com>
10500
10501 * libc/include/sys/types.h: Define useconds_t.
10502 * libc/include/sys/ulimit.h: Declare ualarm.
10503
10504 2001-11-21 Christopher Faylor <cgf@redhat.com>
10505
10506 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10507
10508 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10509
10510 * libc/sys/mmixware/*: Tweak license header in all source files.
10511
10512 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10513
10514 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10515 to here. Rearrange for general inclusion by stdlib.h.
10516 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10517 isn't defined.
10518 * libc/sys/linux/include/alloca.h: Move to libc/include.
10519
10520 2001-11-12 Anthony Green <green@redhat.com>
10521
10522 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10523
10524 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10525
10526 * libc/sys/mmixware/*: Correct spacing in all source files.
10527 * libc/sys/mmixware/syscall.h: Move misplaced file...
10528 * libc/sys/mmixware/sys/syscall.h: ...here.
10529
10530 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10531
10532 * libc/include/machine/ieeefp.h: Add support for mmix target.
10533 * libc/include/machine/setjmp.h: Ditto.
10534 * configure.host: Ditto.
10535 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10536 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10537 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10538 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10539 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10540 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10541 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10542 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10543 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10544 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10545 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10546 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10547 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10548 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10549 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10550 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10551 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10552 libc/sys/mmixware/aclocal.m4: Generate.
10553
10554 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10555
10556 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10557 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10558 when __CYGWIN__ is defined.
10559 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10560 logwtmp().
10561
10562 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10563
10564 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10565 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10566 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10567 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10568
10569 2001-10-24 Christopher Faylor <cgf@redhat.com>
10570
10571 * libc/stdio/fseek.c: Reset pointer to buffer base
10572 when forced to seek outside of current buffer contents.
10573 This prevents the code from erroneously thinking there is
10574 anything in the current buffer.
10575
10576 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10577
10578 * libc/include/math.h: The C++ standard adds the single-precision
10579 versions of the elementary functions.
10580
10581 2001-10-22 Christopher Faylor <cgf@redhat.com>
10582
10583 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10584 throughout.
10585 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10586 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10587 * system.c (_system_r): Ditto.
10588
10589 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10590
10591 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10592 __CYGWIN__ or __rtems__ is defined.
10593
10594 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10595
10596 * libc/include/stdlib.h: add declarations for
10597 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10598 * libc/stdio/local.h: remove declarations of
10599 __strtoull_r and __strtoll_r.
10600 * libc/stdio/vfscanf.c(__svfscanf_r): call
10601 _strtoull_r instead of __strtoull_r. Ditto
10602 _strtoll_r vs. __strtoll_r.
10603 * libc/stdlib/Makefile.am: add new files to
10604 .c list and .def list
10605 * libc/stdlib/Makefile.in: regenerate
10606 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10607 as _strtoll_r
10608 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10609 as _strtoull_r
10610 * libc/stdlib/strtoull.c: new file
10611 * libc/stdlib/strtoll.c: new file
10612
10613 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10614
10615 * libc/include/process.h: Add getpid() declaration.
10616
10617 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10618
10619 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10620 for new style arm/elf ctor/dtor handling.
10621 Minor formatting tidy up.
10622
10623 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10624
10625 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10626 and strtoull_r.c.
10627 * libc/stdlib/Makefile.in: Regenerated.
10628 * libc/stdlib/strtoll_r.c: New file.
10629 * libc/stdlib/strtoull_r.c: New file.
10630 * libc/stdio/local.h: Add prototypes for long long string
10631 conversion routines.
10632 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10633 tied to %L integer conversion specifier.
10634
10635 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10636
10637 * strftime.c (strftime): Fix "%W" implementation to properly handle
10638 Mondays too.
10639
10640 2001-09-07 Jeff Law <law@redhat.com>
10641
10642 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10643 __fini with "mov.l" instead of "mov.w".
10644
10645 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10646
10647 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10648 and getopt.h.
10649
10650 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10651
10652 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10653
10654 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10655
10656 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10657 field.
10658 (__DIRENT_VERSION): New define.
10659
10660 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10661
10662 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10663 Shrink __d_reserved accordingly to keep structure size.
10664 (dirfd): Declare external.
10665
10666 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10667
10668 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10669
10670 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10671
10672 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10673 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10674 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10675 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10676 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10677 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10678 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10679 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10680 Add conditional compilation to avoid HW FPU instructions
10681 when compiled for soft-float.
10682
10683 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10684
10685 * Makefile.am: Add check for ln failing when creating libg.a
10686 so that cp gets used as a backup.
10687 * Makefile.in: Regenerated.
10688
10689 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10690
10691 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10692 No longer include time.h. Add struct __tm to use for
10693 _localtime_buf in the reentrant structure. Add a
10694 _NULL definition to use in initializing the reentrant struct.
10695 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10696 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10697 <sys/_types.h>.
10698 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10699 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10700 _localtime_buf to be struct tm *.
10701
10702 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10703
10704 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10705 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10706 __ctors_end.
10707 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10708 (_unlink): New stub function.
10709
10710 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10711
10712 * libc/include/sys/errno.h: Add a cautionary comment.
10713
10714 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10715
10716 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10717 for SIZE_SZ so that alignment ends up a minimum of 8.
10718
10719 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10720
10721 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10722 arguments.
10723
10724 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10725 Cygwin.
10726
10727 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10728
10729 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10730 macro constants for mallopt options.
10731 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10732
10733 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10734
10735 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10736 otherwise default.
10737
10738 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10739
10740 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10741
10742 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10743
10744 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10745 Define for little endian ARMs.
10746
10747 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10748 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10749
10750 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10751
10752 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10753
10754 2001-06-11 Egor Duda <deo@logos-m.ru>
10755
10756 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10757 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10758 initialized memory region. Platform can define COMPACT_CTYPE
10759 to avoid allocation of the additional 128 bytes of data.
10760 Add pointer to _ctype_ array. Always initialize all _ctype_
10761 array elements.
10762
10763 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10764
10765 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10766 NULL pointer.
10767
10768 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10769
10770 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10771
10772 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10773
10774 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10775 matching, non-word alignment, and the length is <= 4 but more than
10776 enough to move them over a word boundary.
10777 Add comments explaining what each instruction does.
10778
10779 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10780
10781 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10782 * libc/include/sys/unistd.h: Ditto.
10783
10784 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10785
10786 * libc/string/strrchr.c: Use strchr for the speed improvements.
10787
10788 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10789
10790 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10791 real file systems, let __smakebuf() determine if line buffering
10792 should be used for stdout.
10793
10794 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10795
10796 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10797
10798 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10799
10800 * libc/include/stdlib.h: Add prototype for _strtod_r.
10801
10802 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10803
10804 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10805 * libc/stdio/vprintf.c (_vprintf_r): new function
10806 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10807 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10808 _DEFUN, and call _vfprintf_r, not vfprintf.
10809 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10810 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10811 _DEFUN, and call _vfprintf_r, not vfprintf.
10812
10813 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10814
10815 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10816 Cygwin X_OK definitions in sys/file.h.
10817
10818 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10819
10820 * libc/include/sys/time.h: Define timercmp and other macros for
10821 __CYGWIN__, too.
10822
10823 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10824
10825 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10826 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10827 --enable-malloc-debugging selected.
10828 * aclocal.m4 configure: Regenerated.
10829 libm/aclocal.m4 libm/configure: Ditto.
10830 * libc/aclocal.m4 libc/configure: Ditto.
10831 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10832 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10833 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10834 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10835 * doc/aclocal.m4 doc/configure: Ditto.
10836
10837 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10838
10839 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10840 into one list.
10841 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10842 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10843 function prototypes.
10844 (_fscanf_r, _sscanf_r): Ditto.
10845 * libc/include/stdlib.h: Added _strtod_r prototype.
10846 * libc/stdio/Makefile.am: Add new v*scanf functions.
10847 * libc/stdio/Makefile.in: Regenerate.
10848 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10849 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10850 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10851 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10852 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10853 (_sscanf_r): New routine.
10854 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10855 with __svfscanf_r prototype.
10856 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10857 routines.
10858 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10859 structure as argument as calls reentrant versions of helper functions
10860 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10861 to _strtol_r and _strtod_r respectively.
10862 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10863 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10864 _REENT argument.
10865 * libc/stdio/vscanf.c: New file.
10866 * libc/stdio/vsscanf.c: Ditto.
10867
10868 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10869
10870 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10871 Define daylight to _daylight if it is not defined
10872 Prepare a variable export of timezone based on timezonevariable.
10873 (Cannot be used with the timezone() function.)
10874
10875 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10876
10877 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10878 Correct the numerical values.
10879
10880 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10881
10882 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10883
10884 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10885
10886 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10887 on case insensitve file systems.
10888
10889 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10890
10891 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10892 pthread support.
10893 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10894 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10895 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10896
10897 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10898
10899 * libc/include/machine/ieeefp.h: Comment about new configuration
10900 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10901 * libm/common/fdlib.h: Define new macros for testing floats.
10902 * libm/common/sf_*: Use them.
10903 * libm/math/ef_*: Likewise.
10904 * libm/math/sf_*: Likewise.
10905
10906 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10907
10908 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10909 prolog to by-pass possible assembler error.
10910
10911 2001-03-21 Egor Duda <deo@logos-m.ru>
10912
10913 Allow building internal stubs for non-reentrant syscalls
10914 if target provides its own malloc
10915 * libc/reent/reent.c (errno): Move definition here.
10916 * libc/reent/sbrkr.c: From here.
10917
10918 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10919
10920 * libc/include/sys/types.h (BSD int typedefs): Guard with
10921 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10922 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10923 _SYS_TYPES_FD_SET.
10924 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10925 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10926
10927 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10928
10929 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10930 _PC_POSIX_SECURITY constants for Cygwin.
10931
10932 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10933
10934 * libc/sys/cygwin/crt0.c: Add copyright hint.
10935 * libc/sys/cygwin/sys/dirent.h: Ditto.
10936 * libc/sys/cygwin/sys/param.h: Ditto.
10937 * libc/sys/cygwin/sys/utime.h: Ditto.
10938 * libc/sys/cygwin/sys/utmp.h: Ditto.
10939
10940 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10941
10942 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10943 equivalent to LONGINT.
10944
10945 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10946
10947 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10948 jmpbuf on MIPS64 targets.
10949 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10950
10951 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10952
10953 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10954 declarations.
10955
10956 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10957
10958 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10959 For RTEMS, define to be ssize_t. Default to int if not defined.
10960 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10961 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10962 * libc/stdio/local.h (__sread, __swrite): Likewise.
10963 * libc/include/sys/reent.h (_read, _write): Likewise.
10964 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10965 * libc/syscalls/sysread.c (read): Likewise.
10966 * libc/syscalls/syswrite.c (write): Likewise.
10967
10968 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10969
10970 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10971
10972 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10973
10974 * libc/include/sys/stat.h: Use special defines for executable stat bits
10975 when compiling for Cygwin.
10976 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10977 for Cygwin.
10978
10979 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10980
10981 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10982 of strtok_r is always defined.
10983
10984 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10985
10986 * libc/include/machine/ansi.h: New dummy header file.
10987
10988 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10989
10990 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10991 changed the copyright information to allow free modification of the
10992 file with no reference to "copying.dj".
10993 * libc/include/sys/stat-dj.h: Ditto.
10994 * libc/machine/i386/setjmp.S: Ditto.
10995 * libc/sys/h8300hms/sys/file.h: Ditto.
10996 * libc/sys/sysmec/access.c: Ditto.
10997 * libc/sys/sysnecv850/access.c: Ditto.
10998 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10999 * libc/stdlib/getenv_r.c: Ditto.
11000 * libc/stdlib/putenv_r.c: Ditto.
11001 * libc/stdlib/setenv_r.c: Ditto.
11002 * libc/stdlib/getenv.c: Removed DJ reference since any possible
11003 modifications will now be in the _r version of this file.
11004 * libc/stdlib/putenv.c: Ditto.
11005 * libc/stdlib/setenv.c: Ditto.
11006 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
11007 valid. Added a reference to DJ's web page that contains his address.
11008 * libc/sys/go32/*.s: Removed references to DJ's old address.
11009 * libc/sys/go32/*.c: Ditto.
11010 * libc/sys/go32/*.h: Ditto.
11011 * libc/sys/go32/*.S: Ditto.
11012 * libc/sys/go32/sys/*.h: Ditto.
11013
11014 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
11015
11016 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
11017 HAVE_FCNTL flag check.
11018 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
11019 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
11020
11021 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
11022
11023 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
11024
11025 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
11026
11027 * libc/include/stdlib.h: Add declarations of rand48 functions and
11028 their reentrant versions.
11029 * libc/include/sys/reent.h: Move macros from rand48.h. Add
11030 struct _rand48 for shared parameters of rand48 functions.
11031 (struct _reent): Add a variable _r48 of struct _rand48.
11032 (_REENT_INIT): Add _r48 initialization.
11033 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
11034 (CHEWOUT_FILES): Add rand48.def.
11035 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
11036 * libc/stdlib/Makefile.in: Regenerated.
11037 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
11038 NetBSD C library.
11039 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
11040 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
11041 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
11042 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
11043 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
11044 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
11045 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
11046 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
11047 * libc/stdlib/rand48.c (__dorand48): Ditto.
11048 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
11049 parameters into macros referring them in the reentrant structure.
11050
11051 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
11052
11053 * libc/include/sys/stat.h: Add mknod for Cygwin now that
11054 Cygwin definition has correct prototype.
11055
11056 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11057
11058 * libc/include/sys/stat.h: Must revert change for mknod
11059 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
11060 prototype.
11061
11062 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
11063
11064 * libc/include/stdio.h: Revert putw prototype.
11065
11066 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
11067
11068 * libc/include/grp.h: add prototype for initgroups.
11069 * libc/include/stdio.h: fix prototype for putw.
11070 * libc/include/sys/signal.h: add prototype for killpg.
11071 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
11072 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
11073 vhangup and remove duplicate sysconf prototype.
11074
11075 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
11076
11077 * libc/sys/rtems/sys/types.h: Removed.
11078
11079 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11080
11081 * libc/include/locale.h: add LC_MESSAGES definition
11082
11083 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
11084
11085 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11086 SYS_get_argN):
11087 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11088 __setup_argv_and_call_main): New.
11089
11090 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11091
11092 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11093 if defined.
11094 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11095 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11096 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11097 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11098
11099 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11100
11101 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11102 compiling under Cygwin.
11103
11104 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11105
11106 * libc/include/math.h (signgam): Change to errno-like solution
11107 using a function to return the address of the real signgam.
11108 * libc/reent/signgam.c: New file containing __signgam().
11109 * libc/reent/Makefile.am: Added signgam.c to list of files.
11110 * libc/reent/Makefile.in: Regenerated.
11111
11112 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
11113
11114 * libc/sys/sh/syscalls.c (_times): New.
11115
11116 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11117 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11118
11119 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11120
11121 * libc/include/math.h (signgam): Regress previous fix as
11122 it does not handle programs with extern int signgam in them.
11123
11124 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11125
11126 * libc/include/math.h (signgam): Changed to a macro refering to
11127 its location in the reentrant structure.
11128
11129 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11130
11131 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11132 that suppressed . for %.0f, 0.1. Check now looks if there
11133 are padding zeroes (expt) in addition to any digits (ndig) to
11134 print.
11135
11136 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11137
11138 * libc/sys/arc/Makefile.am: New file.
11139 * libc/sys/arc/Makefile.in: Ditto.
11140 * libc/sys/arc/aclocal.m4: Ditto.
11141 * libc/sys/arc/configure: Ditto.
11142 * libc/sys/arc/configure.in: Ditto.
11143 * libc/sys/arc/crt0.S: Ditto.
11144 * libc/sys/arc/isatty.c: Ditto.
11145 * libc/sys/arc/mem-layout.c: Ditto.
11146 * libc/sys/arc/sbrk.c: Ditto.
11147 * libc/sys/arc/syscalls.c: Ditto.
11148 * libc/sys/arc/sys/syscall.h: Ditto.
11149
11150 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11151
11152 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11153
11154 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11155
11156 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11157
11158 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11159
11160 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11161
11162 2001-01-09 Nick Clifton <nickc@redhat.com>
11163
11164 * configure.host (v859): Remove unsupported compiler options.
11165
11166 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11167
11168 * src/newlib/configure.host (*-*-rtems*): add printf long long
11169 support for RTEMS.
11170
11171 2000-12-19 Graham Stott <grahams@redhat.com>
11172
11173 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
11174
11175 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11176
11177 * configure.host: Turn on long double I/O for Cygwin.
11178
11179 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11180
11181 * MAINTAINERS: Removed Ranjith.
11182 * NEWS: Updated for 1.9.0.
11183 * README: Updated.
11184 * acinclude.m4: Updated to release 1.9.0.
11185 * aclocal.m4 configure
11186 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11187 libc/machine/aclocal.m4 libc/machine/configure
11188 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11189 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11190 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11191 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11192 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11193 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11194 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11195 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11196 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11197 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11198 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11199 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11200 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11201 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11202 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11203 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11204 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11205 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11206 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11207 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11208 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11209 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11210 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11211 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11212 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11213 libc/sys/aclocal.m4 libc/sys/configure
11214 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11215 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11216 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11217 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11218 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11219 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11220 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11221 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11222 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11223 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11224 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11225 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11226 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11227 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11228 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11229 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11230 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11231 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11232 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11233 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11234 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11235 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11236 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11237 libm/aclocal.m4 libm/configure: Regenerated.
11238
11239 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11240
11241 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11242 when __CYGWIN__ is defined.
11243
11244 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11245
11246 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11247 that categorizes a long double as NaN, Infinity, or other.
11248 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11249 isinfl and isnanl static routines which were i386-specific. Changed
11250 calls to the two removed routines to a single _ldcheck call.
11251 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11252
11253 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11254
11255 * Makefile.am: Fixed install-data-local target to use
11256 $(mkinstalldirs) for the installed header files to ensure
11257 the directories exist before copying.
11258 * Makefile.in: Regenerated.
11259
11260 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11261
11262 * libc/include/sys/unistd.h: Restored Cygwin _SC
11263 constants and moved new constants appropriately
11264 so Cygwin will build.
11265
11266 2000-12-11 Joel Sherrill <joel@OARcorp.com>
11267
11268 * Merge RTEMS specific .h files into main libc/include.
11269 * libc/sys/rtems/include/signal.h: Removed.
11270 * libc/sys/rtems/include/time.h: Removed.
11271 * libc/sys/rtems/sys/features.h: Removed.
11272 * libc/sys/rtems/sys/sched.h: Removed.
11273 * libc/sys/rtems/sys/siginfo.h: Removed.
11274 * libc/sys/rtems/sys/signal.h: Removed.
11275 * libc/sys/rtems/sys/time.h: Removed.
11276 * libc/sys/rtems/sys/times.h: Removed.
11277 definitions for time_t and clock_t since these are
11278 no longer in time.h.
11279 * libc/include/pthread.h: New file.
11280 * libc/include/sys/sched.h: New file.
11281 * libc/include/sys/features.h: New file.
11282 * libc/include/time.h: Removed duplicate definition of clock_t
11283 and time_t, get them from <sys/types.h> instead. Add prototypes
11284 for POSIX clock and timer functionality.
11285 * libc/sys/linux/sys/types.h: Changed to include
11286 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11287 * libc/include/sys/signal.h: Add more complete set of POSIX
11288 signal functionality including real-time and threaded signals.
11289 * libc/include/sys/types.h: Add clock_t, time_t, struct
11290 timespec, and struct itimerspec. Centralizing these makes
11291 things cleaner. RTEMS uses 64-bit dev_t.
11292 Added numerous primitive definitions
11293 for pthreads including macros, pthread_attr_t,
11294 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
11295 pthread_once_t, and pthread_t.
11296 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11297 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11298 Feature flags removed and moved to new file <sys/features.h>.
11299 Full set of POSIX sysconf() constants
11300
11301 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11302
11303 * configure.host: Added x86 linux target.
11304 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11305 definitions provided if not already defined.
11306 * libc/sys/linux/crt0.c: New file.
11307 * libc/sys/linux/Makefile.am: Ditto.
11308 * libc/sys/linux/Makefile.in: Ditto.
11309 * libc/sys/linux/aclocal.m4: Ditto.
11310 * libc/sys/linux/brk.c: Ditto.
11311 * libc/sys/linux/configure: Ditto.
11312 * libc/sys/linux/configure.in: Ditto.
11313 * libc/sys/linux/getoptlong.c: Ditto.
11314 * libc/sys/linux/ids.c: Ditto.
11315 * libc/sys/linux/inode.c: Ditto.
11316 * libc/sys/linux/io.c: Ditto.
11317 * libc/sys/linux/linux.c: Ditto.
11318 * libc/sys/linux/process.c: Ditto.
11319 * libc/sys/linux/realpath.c: Ditto.
11320 * libc/sys/linux/select.c: Ditto.
11321 * libc/sys/linux/signal.c: Ditto.
11322 * libc/sys/linux/systat.c: Ditto.
11323 * libc/sys/linux/termios.c: Ditto.
11324 * libc/sys/linux/time.c: Ditto.
11325 * libc/sys/linux/wait.c: Ditto.
11326 * libc/sys/linux/include/alloca.h: Ditto.
11327 * libc/sys/linux/include/getopt.h: Ditto.
11328 * libc/sys/linux/include/stdint.h: Ditto.
11329 * libc/sys/linux/include/unistd.h: Ditto.
11330 * libc/sys/linux/sys/cdefs.h: Ditto.
11331 * libc/sys/linux/sys/dirent.h: Ditto.
11332 * libc/sys/linux/sys/errno.h: Ditto.
11333 * libc/sys/linux/sys/fcntl.h: Ditto.
11334 * libc/sys/linux/sys/file.h: Ditto.
11335 * libc/sys/linux/sys/ioctl.h: Ditto.
11336 * libc/sys/linux/sys/resource.h: Ditto.
11337 * libc/sys/linux/sys/signal.h: Ditto.
11338 * libc/sys/linux/sys/stat.h: Ditto.
11339 * libc/sys/linux/sys/syscall.h: Ditto.
11340 * libc/sys/linux/sys/termios.h: Ditto.
11341 * libc/sys/linux/sys/time.h: Ditto.
11342 * libc/sys/linux/sys/types.h: Ditto.
11343 * libc/sys/linux/sys/utmp.h: Ditto.
11344 * libc/sys/linux/sys/utsname.h: Ditto.
11345 * libc/sys/linux/sys/wait.h: Ditto.
11346
11347 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11348
11349 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11350 can be a relative path to $(top_srcdir)/install.sh so ensure the
11351 autoconf detected settings are properly passed recursively.
11352 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11353 properly to subdirectories.
11354 * Makefile.in: Regenerated.
11355
11356 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11357
11358 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11359 a floating point register unless really printing a floating
11360 point number.
11361
11362 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11363
11364 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11365 Also removed \r's.
11366 (asctoeg): Replaced alloca call with stack array and malloc
11367 when storage exceeds reasonable limit.
11368 (e53toe): Fixed einfin calls missing ldp parameter.
11369 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11370
11371 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11372
11373
11374 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11375
11376 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11377
11378 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11379 * libc/stdlib/Makefile.in: Regenerated.
11380 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11381 * libc/stdio/vfieeefp.h: Added long double bit structures.
11382 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11383 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11384 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11385 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11386 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11387 _strtold routines used for conversions between character
11388 and long double.
11389
11390 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11391
11392 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11393
11394 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11395
11396 * libc/include/machine/time.h: RTEMS systems can configure clock
11397 tick rate so use sysconf() to ask.
11398
11399 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11400
11401 * libc/include/sys/times.h: Add reference to POSIX standard.
11402
11403 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11404
11405 * libc/include/sys/time.h: Added BSD timer manipulation macros
11406 used by RTEMS code.
11407
11408 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11409
11410 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11411 referenced by code generated by gcc 2.8.1.
11412 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11413 satisfy gcc.
11414
11415 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11416
11417 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11418
11419 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11420
11421 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11422
11423 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11424
11425 * configure.host (or16, or32): New entries for OpenCores
11426 OpenRisc CPUs.
11427 (*-*-rtems*): Add -DNO_EXEC.
11428
11429 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11430
11431 * libc/include/sys/errno.h: Added comments on many error numbers.
11432 * libc/string/strerror.c: Added some more strings.
11433
11434 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11435
11436 * libc/sys/sh/syscalls.c (_link): New stub.
11437
11438 2000-11-29 Nick Clifton <nickc@redhat.com>
11439
11440 * configure.host: Add xscale target.
11441 * libc/machine/xscale: New directory.
11442 * libc/machine/xscale/Makefile.am: New file.
11443 * libc/machine/xscale/Makefile.in: New file.
11444 * libc/machine/xscale/aclocal.m4: New file.
11445 * libc/machine/xscale/configure: New file.
11446 * libc/machine/xscale/configure.in: New file.
11447 * libc/machine/xscale/memchr.S: New file.
11448 * libc/machine/xscale/memcmp.S: New file.
11449 * libc/machine/xscale/memcpy.S: New file.
11450 * libc/machine/xscale/memmove.S: New file.
11451 * libc/machine/xscale/memset.S: New file.
11452 * libc/machine/xscale/strchr.S: New file.
11453 * libc/machine/xscale/strcmp.S: New file.
11454 * libc/machine/xscale/strcpy.S: New file.
11455 * libc/machine/xscale/strlen.S: New file.
11456
11457 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11458
11459 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11460 avoid compiler warnings.
11461
11462 2000-11-22 Michael Meissner <meissner@redhat.com>
11463
11464 * libc/posix/execl.c (execl): Don't reference environ directly,
11465 reference it only via a static pointer to avoid problems with some
11466 shared library systems and with different uses of small data where
11467 the user specifies his own version of environ.
11468 * libc/posix/execv.c (execv): Ditto.
11469 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11470 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11471 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11472
11473 * libc/stdlib/getenv.c (environ): Delete unused reference to
11474 environ.
11475
11476 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11477 colorization.
11478 * libc/stdlib/system.c: Ditto.
11479
11480 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11481
11482 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11483 including windows headers.
11484
11485 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11486
11487 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11488 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11489 not defined by sys/dirent.h.
11490 * libc/posix/execvp.c: Added include of dirent.h to get
11491 MAXNAMLEN value which used to be in unistd.h.
11492
11493 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11494
11495 * libc/include/sys/types.h: Change type of i to `size_t' in
11496 FD_ZERO macro to avoid compiler warnings.
11497
11498 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11499
11500 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11501 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11502
11503 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11504
11505 * libc/include/sys/unistd.h: Add defines for sysconf values
11506 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11507 _SC_AVPHYS_PAGES.
11508
11509 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11510
11511 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11512 declarations for __CYGWIN__.
11513
11514 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11515
11516 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11517 case labels to be integral constant expressions, so
11518 use an if/else tree instead.
11519 (_raise_r): Likewise.
11520
11521 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11522
11523 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11524 clipping patch from e-mail reader.
11525
11526 2000-09-13 Will Cohen <wcohen@redhat.com>
11527
11528 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11529 Added return value 0.
11530 (_longjmp): Allow longjmp to return value of second argument
11531 passed to it.
11532
11533 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11534
11535 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11536 inline code to prevent having to include another header file.
11537
11538 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11539
11540 * Makefile.am: Fix space vs. tab problem in install-data-local.
11541 * Makefile.in: Regenerate.
11542
11543 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11544
11545 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11546 (_EXPARM): New macro for defining a function parameter.
11547 * libc/include/stdlib.h: Use _EXPARM.
11548 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11549
11550 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11551
11552 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11553 required, as documented in the gnu coding standards.
11554 * Makefile.in: Regenerate.
11555
11556 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11557
11558 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11559 make O_NDELAY and O_NONBLOCK have the same value.
11560
11561 2000-08-30 Kazu Hirata <kazu@hxi.com>
11562
11563 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11564
11565 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11566
11567 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11568 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11569 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11570 everywhere else.
11571
11572 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11573
11574 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11575 * libc/include/string.h: Don't include <sys/types.h>,
11576 as it causes really bad namespace pollution. Don't declare
11577 swab(), it is properly declared in unistd.h.
11578
11579 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11580
11581 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11582 (broken) support for non-existent /etc/passwd field "comment".
11583
11584 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11585
11586 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11587 only if _DIRENT_HAVE_D_NAMLEN is defined.
11588 (alphasort): aligned prototype with
11589 libc/sys/cygwin/sys/dirent.h and simplified function body.
11590 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11591 long telldir (DIR *) as mentioned in annex B of POSIX.1
11592
11593 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11594
11595 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11596 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11597 Added __CLI and __STI macros (controlled via
11598 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11599 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11600 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11601 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11602 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11603 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11604 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11605 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11606 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11607 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11608 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11609 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11610 for all global entry points.
11611 * libc/machine/i386/setjmp.S: removed code replicated in
11612 libc/machine/i386/i386mach.h and included i386mach.h instead;
11613 Use __CLI and __STI instead of cli and sti.
11614
11615 2000-08-25 DJ Delorie <dj@redhat.com>
11616
11617 * libc/include/sys/unistd.h (environ): this one isn't from the
11618 DLL, no __IMPORT
11619
11620 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11621
11622 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11623 environ when compiling under cygwin since it is already declared in
11624 unistd.h.
11625
11626 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11627
11628 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11629 like x << y-z to the equivalent x << (y-z).
11630 (d2b): changed if statements with assignment to perform the
11631 assignment prior to the if check.
11632 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11633 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11634 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11635 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11636 precedence.
11637 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11638 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11639 execve.c).
11640 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11641 precedence.
11642 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11643 clarify && and || precendence (and to remove pascalism).
11644 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11645 * libm/math/s_infconst.c: added another pair of braces to all
11646 initializers for __infinity (need three: for __infinity[1] array,
11647 for union __dmath, and for i[2]).
11648
11649 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11650
11651 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11652 "getpid" and "kill"; added: uses "write" and "_exit".
11653 Also included unistd.h for "_exit" prototype.
11654 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11655 reent.h for "_fork_r" and "_wait_r" prototypes.
11656 (do_system): changed extern char *environ[] to POSIX-friendly
11657 extern char **environ.
11658 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11659 prototypes.
11660 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11661 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11662 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11663 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11664 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11665 unistd.h for "getpid" prototype.
11666 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11667 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11668 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11669 prototype. Also included stdlib.h for "abort", string.h for
11670 "strdup" and "strncmp" prototypes.
11671 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11672 "strncpy", unistd.h for "read" and "close" prototypes.
11673 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11674 "strcat" prototypes.
11675
11676 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11677
11678 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11679 used later (ifdef __SCLE)
11680 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11681 used later (ifdef MB_CAPABLE)
11682 * libc/string/memset.c (memset): removed unused variables "count"
11683 and "unaligned_addr"
11684 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11685 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11686 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11687 and "gid"
11688
11689 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11690
11691 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11692 "__env_unlock" prototype from "void *" or "char *" to
11693 "struct _reent *" to match real function. Also added include
11694 of envlock.h.
11695 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11696 "__malloc_unlock" prototype from "void *" or "char *" to
11697 "struct _reent *" to match real function.
11698 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11699 prototypes (for getenv_r.c and setenv_r.c).
11700
11701 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11702
11703 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11704 and prototype in cygwin's utmp.h
11705
11706 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11707
11708 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11709
11710 2000-08-09 Nick Clifton <nickc@cygnus.com>
11711
11712 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11713 epilogue and to allow the functions to be used in a Thumb based
11714 toolchain.
11715
11716 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11717
11718 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11719 so size of 0 results in nothing being written to string.
11720 Also fixed code so that when size is non-zero, there is only
11721 a maximum of size - 1 characters written to the array and
11722 a nul terminator is appended at the end.
11723 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11724
11725 2000-08-01 DJ Delorie <dj@redhat.com>
11726
11727 * libc/include/sys/config.h: define __IMPORT appropriately
11728 * libc/include/ctype.h (_ctype_): use __IMPORT
11729 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11730 * libc/include/math.h (__mb_cur_max): ditto
11731 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11732 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11733 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11734 * libc/include/unistd.h (environ): ditto
11735
11736 2000-07-28 Michael Meissner <meissner@redhat.com>
11737
11738 * libc/include/math.h (__infinity): Declare as an array without
11739 bounds to get around small data support. Rewrite Cygwin support
11740 to be more general.
11741 * libm/math/s_infconst.c (__infinity): Ditto.
11742 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11743
11744 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11745
11746 * libc/include/math.h: Use appropriate dll import linkage for
11747 __infinity under Cygwin.
11748
11749 2000-07-13 DJ Delorie <dj@cygnus.com>
11750
11751 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11752
11753 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11754
11755 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11756 to argument list for AngelSWI_Reason_GetCmdLine.
11757
11758 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11759
11760 * configure.host: Add support for AVR target.
11761 * libc/include/machine/ieeefp.h: Likewise.
11762 * libc/include/sys/config.h: Likewise.
11763
11764 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11765
11766 * README: Newlib 1.8.2 must be built in a separate directory
11767 than the sources.
11768
11769 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11770
11771 * libc/include/sys/reent.h (_rand_next): Added __extension__
11772 qualifier as long long type is not strict ANSI.
11773 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11774 to long long constant.
11775
11776 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11777
11778 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11779 `setegid' provided by Cygwin.
11780
11781 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11782
11783 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11784 account for Cygwin.
11785
11786 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11787
11788 * libc/include/sys/reent.h (_rand_next): Changed to
11789 unsigned long long and moved to end of _reent struct in _new union.
11790 (_REENT_INIT): Changed to move _rand_next initialization.
11791 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11792 linear congruential algorithm that is used by DJGPP.
11793
11794 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11795
11796 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11797 * libc/include/sys/config.h: Define __RAND_MAX.
11798
11799 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11800
11801 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11802 standard.
11803
11804 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11805
11806 * libc/include/string.h: Work around problem with strsignal and gdb.
11807
11808 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11809
11810 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11811 * libc/include/malloc.h: Ditto.
11812 * libc/include/process.h: Ditto.
11813 * libc/include/stdio.h: Ditto.
11814 * libc/include/stdlib.h: Ditto.
11815 * libc/include/time.h: Ditto.
11816 * libc/include/machine/setjmp.h: Ditto.
11817 * libc/include/sys/errno.h: Ditto.
11818 * libc/include/sys/signal.h: Ditto.
11819 * libc/include/sys/stat.h: Ditto.
11820 * libc/include/sys/time.h: Ditto.
11821 * libc/include/sys/unistd.h: Ditto.
11822 * libc/include/string.h: Ditto. strsignal should return a const char *.
11823
11824 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11825
11826 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11827 * libm/common/s_log1p.c (log1p): Likewise.
11828 * libm/common/s_scalbn.c (scalbn): Likewise.
11829 * libm/math/e_log.c: Likewise.
11830 * libm/math/e_asin.c: Likewise.
11831 * libm/math/ef_asin.c: Likewise.
11832 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11833 * libm/math/e_j1.c (pone, qone): Likewise.
11834 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11835 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11836 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11837 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11838 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11839 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11840
11841 2000-05-19 DJ Delorie <dj@cygnus.com>
11842
11843 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11844 (__sread): always read in binary mode
11845 (__swrite): always write in binary mode
11846 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11847 compatibility issues with different dll versions
11848 * libc/stdio/fopen.c: use __stextmode
11849 * libc/stdio/fdopen.c: ditto
11850 * libc/stdio/freopen.c: ditto
11851 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11852 * libc/stdio/local.h: declare __stextmode
11853
11854 2000-05-18 DJ Delorie <dj@cygnus.com>
11855
11856 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11857
11858 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11859
11860 * libc/include/ctype.h: Changed tolower and toupper macros
11861 to use __extension__ to prevent pedantic warnings.
11862
11863 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11864
11865 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11866 structures.
11867
11868 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11869
11870 * libc/include/machine/ieeefp.h: Add ia64 support.
11871 * configure.host: Likewise.
11872
11873 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11874
11875 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11876 month is now padded with space, not zero. This now conforms to
11877 ANSI standard.
11878
11879 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11880
11881 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11882 host or network path") used by cygwin. Add some comments.
11883
11884 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11885
11886 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11887 endings" for Cygwin.
11888 (__sgetc): convert line endings if needed
11889 (__sputc): ditto
11890 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11891 * libc/stdio/fopen.c (_fopen_r): ditto
11892 * libc/stdio/freopen.c (freopen): ditto
11893 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11894 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11895
11896 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11897
11898 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11899 post-increment when it is worth it, spacewise.
11900
11901 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11902
11903 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11904 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11905 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11906 return type.
11907 * libc/stdio/putchar.c (putchar): Added return statement.
11908 * libc/stdio/refill.c (lflush): Added correct parentheses.
11909 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11910 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11911 prints long value to use l qualifier.
11912 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11913 messages and initialized local values: ilim, ilim1, and spec_case.
11914 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11915 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11916 * libc/stdlib/mprec.c: Ditto.
11917 * libc/stdlib/setenv_r.c: Ditto.
11918 * libc/stdlib/strtod.c: Ditto.
11919 * libc/stdlib/strtol.c: Ditto.
11920 * libc/stdlib/strtoul.c: Ditto.
11921 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11922 * libm/common/sf_log1p.c: Ditto.
11923 * libm/common/sf_scalbn.c: Ditto.
11924 * libm/math/ef_log.c: Ditto.
11925
11926 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11927
11928 * libc/posix/execvp.c (execvp): Check path for
11929 trailing slash.
11930
11931 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11932
11933 * libc/include/sys/unistd.h: Add prototypes for
11934 fchmod, fchown, lchown.
11935
11936 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11937
11938 * acinclude.m4: Changed release to 1.8.2.
11939 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11940 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11941 libc/machine/configure libc/machine/a29k/aclocal.m4
11942 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11943 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11944 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11945 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11946 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11947 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11948 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11949 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11950 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11951 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11952 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11953 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11954 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11955 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11956 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11957 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11958 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11959 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11960 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11961 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11962 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11963 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11964 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11965 libc/machine/z8k/configure libc/sys/aclocal.m4
11966 libc/sys/aclocal.m4 libc/sys/configure
11967 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11968 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11969 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11970 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11971 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11972 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11973 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11974 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11975 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11976 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11977 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11978 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11979 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11980 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11981 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11982 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11983 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11984 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11985 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11986 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11987 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11988 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11989 libm/aclocal.m4 libm/configure: Regenerated.
11990
11991 2000-03-24 Nick Clifton <nickc@cygnus.com>
11992
11993 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11994 (do_AngelSWI): Add "cc" to list o registers clobbered.
11995
11996 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11997
11998 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11999 information to be clobbered by an Angel C library support syscall.
12000
12001 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12002
12003 * libc/stdlib/envlock.c: Fixed comment typo.
12004
12005 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12006
12007 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
12008 code to update nread as each character is processed instead
12009 of using buffer contents which throw away leading zeroes.
12010
12011 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
12012
12013 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
12014
12015 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
12016
12017 * libc/include/string.h: Include <sys/types.h>.
12018
12019 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12020
12021 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
12022 with XSH5, not SVID.
12023
12024 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12025
12026 * libc/include/string.h: Changed last argument back to ssize_t
12027 to make it compatible with XPG4 definition which is
12028 defined in <unistd.h>. There is a conflict in the SVID 3
12029 and XPG4 definitions and newlib will settle with XPG4.
12030 * libc/string/swab.c: Ditto.
12031
12032 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
12033
12034 * libc/include/string.h: Changed last argument to size_t.
12035 * libc/string/swab.c: Changed last argument to size_t.
12036
12037 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12038
12039 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
12040 (CHEWOUT_FILES): Added unlinkr.def.
12041 * libc/reent/Makefile.in: Rebuilt.
12042 * libc/sys.tex: Include unlinkr.def.
12043 * libc/reent/linkr.c (_unlink_r): Moved to...
12044 * libc/reent/unlinkr.c: ... new file.
12045
12046 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12047
12048 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
12049 (CHEWOUT_FILES): Added swab.def.
12050 * libc/string/Makefile.in: Rebuilt.
12051 * libc/string/string.tex: Include swab.def.
12052 * libc/include/string.h (swab): Declare.
12053 * libc/string/swab.c: New file.
12054
12055 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12056
12057 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
12058 (CHEWOUT_FILES): Added getw.def and putw.def.
12059 * libc/stdio/Makefile.in: Rebuilt.
12060 * libc/stdio/stdio.tex: Include getw.def and putw.def.
12061 * libc/stdio/getw.c: New file.
12062 * libc/stdio/putw.c: New file.
12063
12064 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12065
12066 * libc/stdio/flags.c (__sflags): Added check that mode[1]
12067 is non-null before looking at mode[2].
12068
12069 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12070
12071 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
12072 * libm/mathfp/sf_atan.c: Ditto.
12073
12074 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
12075
12076 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12077
12078 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12079
12080 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12081 _DOUBLE_IS_32BITS.
12082
12083 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12084
12085 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12086 call prior to calling _VFPRINTF_R so reentrant data area is set.
12087 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12088
12089 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12090
12091 * libc/stdio/vfscanf.c (limits.h): #include.
12092 (MAX_LONG_LEN): #define.
12093 (__svfscanf): Handle floating point numbers with arbitrary amounts
12094 of leading zeroes.
12095
12096 2000-02-15 Nick Clifton <nickc@cygnus.com>
12097
12098 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12099 zero. Set the blocksize to 1024/
12100
12101 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12102
12103 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12104 with line buffering.
12105
12106 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12107
12108 * acinclude.m4: Changed include directory for winsup headers.
12109 * aclocal.m4 configure libc/aclocal.m4
12110 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12111 libc/locale/Makefile.in libc/machine/aclocal.m4
12112 libc/machine/configure libc/machine/a29k/aclocal.m4
12113 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12114 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12115 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12116 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12117 libc/machine/fr30/configure
12118 libc/machine/h8300/aclocal.m4
12119 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12120 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12121 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12122 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12123 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12124 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12125 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12126 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12127 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12128 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12129 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12130 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12131 libc/machine/powerpc/configure
12132 libc/machine/sh/aclocal.m4
12133 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12134 libc/machine/sparc/configure
12135 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12136 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12137 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12138 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12139 libc/misc/Makefile.in libc/posix/Makefile.in
12140 libc/reent/Makefile.in
12141 libc/signal/Makefile.in
12142 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12143 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12144 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12145 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12146 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12147 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12148 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12149 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12150 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12151 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12152 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12153 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12154 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12155 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12156 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12157 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12158 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12159 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12160 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12161 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12162 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12163 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12164 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12165 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12166 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12167 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12168 libm/configure: Regenerated.
12169
12170 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12171
12172 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12173 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12174 * libc/include/string.h: Added _strdup_r.
12175 * libc/stdlib/putenv.c: Added call to reentrant version.
12176 * libc/stdlib/strdup.c: Ditto.
12177 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12178 * libc/include/stdlib.h: Ditto.
12179 * libc/stdlib/Makefile.in: Regenerated.
12180 * libc/string/Makefile.in: Regenerated.
12181 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12182 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12183 management calls to reentrant versions.
12184 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12185 * libc/stdlib/wctomb.c: Ditto.
12186 * libc/stdlib/mblen.c: Ditto.
12187 * libc/stdlib/mbstowcs.c: Ditto.
12188 * libc/stdlib/mbtowc.c: Ditto.
12189 * libc/stdlib/getenv.c: Ditto.
12190 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12191 and _strdup_r.
12192
12193 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12194
12195 patch from Corinna Vinschen <corinna@vinschen.de>
12196 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12197
12198 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
12199
12200 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12201 * libm/mathfp/s_ldexp.c: Ditto.
12202 * libm/mathfp/sf_atangent.c: Ditto.
12203 * libm/mathfp/sf_ldexp.c: Ditto.
12204
12205 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12206
12207 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12208 * libc/include/locale.h: define NULL to be 0.
12209
12210 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12211
12212 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12213 function.
12214
12215 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12216
12217 * libc/machine/mn10300/setjmp.S: Handle am33.
12218
12219 1999-11-26 Nick Clifton <nickc@cygnus.com>
12220
12221 * libc/sys/arm/syscalls.c: Add function prototypes.
12222 (stack_ptr): Move declaration before function definitions.
12223
12224 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12225
12226 * NEWS: Updated version information.
12227 * README: Ditto.
12228
12229 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12230
12231 * libc/machine/i386/strchr.S: Fixed alignment test.
12232
12233 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12234
12235 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12236
12237 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12238
12239 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
12240 ensuring that there is space between the two.
12241
12242 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12243
12244 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12245 only.
12246
12247 1999-10-08 Vadim Egorov <egorovv@1c.ru>
12248
12249 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12250 section
12251
12252 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12253
12254 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12255 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12256
12257 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12258 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12259 per POSIX 1003.1b.
12260 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12261 per POSIX 1003.1b.
12262
12263 1999-09-13 DJ Delorie <dj@cygnus.com>
12264
12265 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12266 also.
12267
12268 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12269
12270 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12271 also note BUFSIZ as its size.
12272
12273 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12274
12275 * configure.host: Corrected feature defines for RTEMS.
12276 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12277 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12278 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12279 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12280 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12281 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12282 _PC_PRIO_IO, and _PC_SYNC_IO.
12283 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12284 * libc/machine/m68k/Makefile.in: Regenerated.
12285 * libc/machine/m68k/strcpy.c: New file.
12286 * libc/machine/m68k/strlen.c: New file.
12287 * libc/stdio/tmpnam.c: Always make the returned name usable.
12288 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12289 * libc/sys/rtems/sys/dirent.h: New file.
12290 * libc/sys/rtems/sys/types.h: Added dev_t.
12291
12292 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12293
12294 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12295
12296 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12297
12298 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12299 my patch.
12300
12301 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12302
12303 patch from Jeff Johnston <jjohnstn@cygnus.com>
12304 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12305 buffer is not in a useful state.
12306
12307 1999-09-01 Nick Clifton <nickc@cygnus.com>
12308
12309 * libc/sys/arm/syscalls.c (_link): Add stub.
12310
12311 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12312
12313 * ftell.c (ftell): Use actual position within buffer for text mode.
12314 * findfp.c (std): Initialize ptr->_bf._size.
12315
12316 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12317
12318 * libc/include/sys/unistd.h: Add nice() declaration.
12319
12320 1999-08-09 Nick Clifton <nickc@cygnus.com>
12321
12322 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12323 declare as a thumb function so that the disassembler will see the
12324 mode change.
12325
12326 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12327
12328 * libc/reent/reent.tex: Updated list of reentrant functions.
12329
12330 1999-07-09 Michael Meissner <meissner@cygnus.com>
12331
12332 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
12333
12334 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12335
12336 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12337 separate file.
12338 * libc/stdio/snprintf.c: New file.
12339 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12340 separate file.
12341 * libc/stdio/vsnprintf.c: New file.
12342 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12343 * libc/stdio/Makefile.in: Regenerated.
12344
12345 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12346
12347 Patch submitted by Egor Duda <deo@logos-m.ru>:
12348 * libc/include/stdio.h: Add declarations for *nprintf.
12349 * libc/stdio/sprintf.c (snprintf): New function.
12350 (_snprintf_r): New function.
12351 * libc/stdio/vsprintf.c (vsnprintf): New function.
12352 (_vnsprintf_r): New function.
12353
12354 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12355
12356 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12357 * libm/Makefile.am (stmp-targetdep): Ditto.
12358 * libc/Makefile.in: Regenerated.
12359 * libm/Makefile.in: Ditto.
12360
12361 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12362
12363 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12364 * libm/Makefile.am (stmp-targetdep): Ditto.
12365 * libc/Makefile.in: Regenerated.
12366 * libm/Makefile.in: Ditto.
12367
12368 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12369
12370 * Makefile.am: Removed dependencies on all-recursive and added "."
12371 to the SUBDIRS list to prevent infinite recursion from occurring.
12372 Also removed any references to EXTRA_DATA.
12373 * libc/Makefile.am: Ditto.
12374 * libc/machine/Makefile.am: Ditto.
12375 * libc/machine/i386/Makefile.am: Ditto.
12376 * libm/Makefile.am: Ditto.
12377 * libc/sys/Makefile.am: Ditto.
12378 * Makefile.in: Regenerated.
12379 * aclocal.m4: Ditto.
12380 * configure: Ditto.
12381 * doc/Makefile.in: Ditto.
12382 * doc/aclocal.m4: Ditto.
12383 * doc/configure: Ditto.
12384 * libc/Makefile.in: Ditto.
12385 * libc/aclocal.m4: Ditto.
12386 * libc/configure: Ditto.
12387 * libc/machine/Makefile.in: Ditto.
12388 * libc/machine/aclocal.m4: Ditto.
12389 * libc/machine/configure: Ditto.
12390 * libc/machine/mn10300/Makefile.in: Ditto.
12391 * libc/machine/mn10300/aclocal.m4: Ditto.
12392 * libc/machine/mn10300/configure: Ditto.
12393 * libc/sys/Makefile.in: Ditto.
12394 * libc/sys/aclocal.m4: Ditto.
12395 * libc/sys/configure: Ditto.
12396 * libm/Makefile.in: Ditto.
12397 * libm/aclocal.m4: Ditto.
12398 * libm/configure: Ditto.
12399
12400 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12401
12402 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12403
12404 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12405
12406 * libc/include/stdlib.h: Add reentrant routines.
12407 * libc/stdlib/Makefile.am: Add reentrant routines.
12408 * libc/stdlib/Makefile.in: Ditto.
12409 * libc/stdlib/envlock.c: New file.
12410 * libc/stdlib/envlock.h: New file.
12411 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12412 * libc/stdlib/getenv_r.c: New file.
12413 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12414 * libc/stdlib/mblen_r.c: New file.
12415 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12416 * libc/stdlib/setenv_r.c: New file.
12417 * libc/stdlib/stdlib.tex: Add reentrant routines.
12418
12419 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12420
12421 * libc/include/sys/types.h: Define __MS_types__ whenever
12422 cygwin or win32.
12423
12424 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12425
12426 * libc/include/machine/ieeefp.h: Always default to little
12427 endian if Windows, regardless of architecture.
12428 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12429 regardless of architecture.
12430
12431 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12432
12433 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12434 _WIN32 isn't defined.
12435
12436 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12437
12438 * libm/common/s_rint.c (rint): Add volatile qualifier for
12439 intermediate value w.
12440 * libm/common/sf_rint.c (rintf): Ditto.
12441
12442 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12443
12444 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12445 ensure that std streams are initialized before being referenced.
12446
12447 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12448
12449 * README: Update reference to newlib@cygnus.com new
12450 newlib@sourceware.cygnus.com address.
12451
12452 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12453
12454 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12455 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12456 defined, even if _WIN32 isn't defined.
12457
12458 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12459
12460 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12461
12462 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12463
12464 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12465 __ULong.
12466 * libc/stdlib/dtoa.c: Ditto.
12467 * libc/stdlib/mprec.c: Ditto.
12468 * libc/stdlib/mprec.h: Ditto.
12469 * libc/stdlib/strtod.c: Ditto.
12470
12471 1999-04-21 Nick Clifton <nickc@cygnus.com>
12472
12473 * configure.host (mcore): Remove mcore machine directory.
12474
12475 1999-04-18 Nick Clifton <nickc@cygnus.com>
12476
12477 * libc/include/machine/ieeefp.h: Add support for mcore target.
12478 * libc/include/machine/setjmp.h: Add support for mcore target.
12479 * configure.host: Add support for mcore target.
12480
12481 1999-04-13 Mark Salter <msalter@cygnus.com>
12482
12483 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12484 * libc/sys/arm/syscalls.c: Added isatty.
12485
12486 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12487
12488 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12489 insert zeroes after significant digits.
12490
12491 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12492
12493 * libc/stdio/vfprintf.c (cvt): Changed floating point
12494 cvt routine to use union used by dtoa to properly determine
12495 if the sign bit is on or not.
12496 * libc/stdio/vfieeefp.h: New file
12497
12498 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12499
12500 * aclocal.m4: Regenerated.
12501 * configure: Regenerated.
12502
12503 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12504
12505 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12506 f_tanf reference.
12507 * libc/machine/i386/Makefile.in: Regenerated.
12508
12509 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12510
12511 * acinclude.m4: Changed to work with new automake.
12512 * configure: Regenerated.
12513 * libc/machine/i386/aclocal.m4: Regenerated.
12514 * libc/machine/i386/configure: Regenerated.
12515
12516 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12517
12518 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12519 for telldir() and seekdir(). Rename unused structure element
12520 for use with these two routines.
12521
12522 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12523
12524 * libc/time/mktime.c (validate_structure): Multiple fixes to
12525 code to handle cases where input fields are outside valid ranges.
12526 * libc/stdlib/div.c (div): Modified invalid rounding check.
12527 * libc/stdlib/ldiv.c (ldiv): Ditto.
12528
12529 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12530
12531 * libc/machine/i386/memcpy.S: Performance rewrite.
12532 * libc/machine/i386/memmove.S: Ditto.
12533 * libc/machine/i386/i386mach.h: Added more register definitions.
12534 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12535 option used.
12536 * libc/include/machine/fastmath.h: Add definitions for x86
12537 fast-math routines.
12538
12539 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12540
12541 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12542
12543 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12544
12545 Adjust newlib headers for new Cygwin Win32 API header files:
12546 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12547 _GNU_H_WINDOWS32_SOCKETS.
12548 * libc/include/sys/types.h: Ditto.
12549
12550 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12551
12552 *include/sys/reent.h: Add checks for size of Bigint element Long.
12553 *libc/dtoa.c: Change routines to use generic Long type.
12554 *libc/mprec.c: Change routines to use generic Long type.
12555 *libc/mprec.h: Change routines to use generic Long type.
12556
12557 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12558
12559 * libc/Makefile.am: Add .def files.
12560 * libc/Makefile.in: Regenerate.
12561 * libc/e_acosh.c: Documentation update.
12562 * libc/e_atanh.c: Documentation update.
12563 * libc/e_hypot.c: Documentation update.
12564 * libc/e_remainder.c: Documentation update.
12565 * libc/er_lgamma.c: Documentation update.
12566 * libc/mathfp.tex: Documentation update.
12567 * libc/s_acos.c: Documentation update.
12568 * libc/s_atan.c: Documentation update.
12569 * libc/s_atan2.c: Documentation update.
12570 * libc/s_cosh.c: Documentation update.
12571 * libc/s_fmod.c: Documentation update.
12572 * libc/s_isnan.c: Documentation update.
12573 * libc/s_log10.c: Documentation update.
12574 * libc/s_pow.c: Documentation update.
12575 * libc/w_jn.c: Documentation update.
12576
12577 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12578
12579 * aclocal.m4: Regenerate.
12580 * configure: Regenerate.
12581
12582 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12583
12584 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12585 to return 1 if user specified return code is 0.
12586 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12587
12588 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12589
12590 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12591 to save the return address. Fixed longjmp to return to the original
12592 calling address of setjmp and to return the user specified return code
12593 rather than default to 1.
12594 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12595
12596 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12597
12598 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12599
12600 1999-02-10 Nick Clifton <nickc@cygnus.com>
12601
12602 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12603 volatile so that its assignments will not be discarded.
12604
12605 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12606
12607 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12608 be __STRICT_ANSI__ which is generated by compiler.
12609 * libc/include/ctype.h: Ditto.
12610 * libc/include/math.h: Ditto.
12611 * libc/include/stdio.h: Ditto.
12612 * libc/include/stdlib.h: Ditto.
12613 * libc/include/string.h: Ditto.
12614 * libc/include/sys/signal.h: Ditto.
12615
12616 1999-02-08 Nick Clifton <nickc@cygnus.com>
12617
12618 * configure.host: Add support for StrongARM target.
12619
12620 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12621
12622 * libc/string/strncpy.c (strncpy): Removed redundant code
12623 that was copying bytes if data unaligned.
12624
12625 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12626
12627 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12628 mbstowcs.def, and wcstombs.def.
12629
12630 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12631
12632 * libc/include/sys/errno.h: Add Cygwin errno.
12633 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12634 is specified.
12635
12636 1999-01-29 Nick Clifton <nickc@cygnus.com>
12637
12638 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12639 file.
12640
12641 * libc/sys/arm/libcfunc.c: New file containing C library functions
12642 from syscalls.c
12643
12644 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12645 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12646
12647
12648 1999-01-27 Michael Meissner <meissner@cygnus.com>
12649
12650 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12651 type, and cut size in half so that the jmp_buf array is guaranteed
12652 to be aligned on a 64-bit boundary.
12653
12654 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12655
12656 * libc/string/strings.tex: Added information about
12657 strcasecmp and strncasecmp.
12658 * libc/stdlib/stdlib.tex: Added missing information
12659 about mblen, mbstowcs, and wcstombs.
12660 * libc/string/strchr.c: Changed how mask is built to use
12661 shift operators so register will be used instead of storage.
12662
12663 1999-01-22 DJ Delorie <dj@cygnus.com>
12664
12665 * libc/include/stdlib.h: don't use dllimport if we're building
12666 newlib, since it's inside cygwin.dll
12667
12668 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12669
12670 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12671 _ctype_ under cygwin.
12672
12673 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12674
12675 * include/stdlib.h: Fix typo from previous checkin.
12676
12677 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12678
12679 * include/ctype.h: Use __declspec(dllimport) method for exporting
12680 variable from cygwin DLL.
12681 * include/time.h: Ditto.
12682 * sys/errno.h: Ditto.
12683 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12684 * libc/locale/locale.c: Use __declspec(dllexport) method for
12685 exporting variable from cygwin DLL.
12686
12687 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12688
12689 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12690 access of bogus pointer will result in SIGSEGV.
12691
12692 1999-01-07 Nick Clifton <nickc@cygnus.com>
12693
12694 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12695 of an underscore prefix to function names.
12696
12697 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12698
12699 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12700 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12701
12702 1998-12-31 Michael Meissner <meissner@cygnus.com>
12703
12704 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12705 to `%' if not already defined.
12706
12707 1998-12-30 Michael Meissner <meissner@cygnus.com>
12708
12709 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12710 arguments const char *, not char *.
12711 * libc/include/stdio.h (_tempnam_r): Ditto.
12712
12713 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12714 points to a function taking an integer, not void.
12715
12716 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12717
12718 * configure.host: Add a define for Cygwin builds.
12719 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12720
12721 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12722
12723 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12724 for use with Cygwin.
12725 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12726 dll imported variables for use with Cygwin.
12727 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12728 as a dll imported variable for Cygwin.
12729
12730 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12731
12732 * libc/include/sys/unistd.h: Add proto for getpass.
12733
12734 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12735
12736 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12737 alphasort.
12738
12739 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12740
12741 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12742 not posix_path_list_p.
12743
12744 1998-12-15 Nick Clifton <nickc@cygnus.com>
12745
12746 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12747 a signed int.
12748
12749 1998-12-13 Nick Clifton <nickc@cygnus.com>
12750
12751 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12752
12753 1998-12-12 Nick Clifton <nickc@cygnus.com>
12754
12755 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12756 <msalter@cygnus.com>
12757 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12758 * libc/machine/fr30/Makefile.in: Regenerated.
12759
12760 1998-12-11 Nick Clifton <nickc@cygnus.com>
12761
12762 * configure.host: Remove use of libc/sys for FR30 port.
12763 * libc/sys/fr30: Remove directory (replaced by libgloss).
12764
12765 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12766
12767 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12768 * libc/string/strncat.c (ALIGNED): Ditto.
12769
12770 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12771
12772 * libc/include/sys/time.h: include sys/types.h
12773
12774 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12775
12776 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12777 comparison found when checking word at a time.
12778
12779 1998-12-04 Nick Clifton <nickc@cygnus.com>
12780
12781 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12782
12783 1998-12-03 Nick Clifton <nickc@cygnus.com>
12784
12785 * libc/sys/fr30/syscalls.c (_times): New function stub.
12786
12787 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12788
12789 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12790 with mach_add_setjmp flag which indicates if setjmp should
12791 be added to the machine directory objects.
12792 * acinclude.m4: Removed reference to mach_add_objs.
12793 * aclocal.m4: Regenerated.
12794 * Makefile.in: Regenerated.
12795 * configure: Regenerated.
12796 * libc/aclocal.m4: Regenerated.
12797 * libc/Makefile.in: Regenerated.
12798 * libc/configure: Regenerated.
12799 * libc/machine/aclocal.m4: Regenerated.
12800 * libc/machine/Makefile.in: Regenerated.
12801 * libc/machine/configure: Regenerated.
12802 * libc/machine/i386/aclocal.m4: Regenerated.
12803 * libc/machine/i386/Makefile.am: Altered to selectively add
12804 setjmp.S to the src files list.
12805 * libc/machine/i386/Makefile.in: Regenerated.
12806 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12807 * libc/machine/i386/configure: Regenerated.
12808
12809 1998-12-02 Nick Clifton <nickc@cygnus.com>
12810
12811 * libc/sys/fr30/crt0.s (_start): Fix function names.
12812
12813 * libc/machine/fr30: New directory
12814 * libc/machine/fr30/Makefile.am: New file.
12815 * libc/machine/fr30/Makefile.in: New generated file.
12816 * libc/machine/fr30/configure.in: New file.
12817 * libc/machine/fr30/configure: New generated file.
12818 * libc/machine/fr30/aclocal.m4: New generated file.
12819 * libc/sys/fr30/Makefile.am: New file.
12820 * libc/sys/fr30/Makefile.in: New generated file.
12821 * libc/sys/fr30/configure.in: New file.
12822 * libc/sys/fr30/configure: New generated file.
12823 * libc/sys/fr30/syscalls.c: New file.
12824
12825 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12826
12827 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12828
12829 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12830
12831 * libc/time/strftime.c (strftime): Also handle %y for years before
12832 1900.
12833
12834 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12835
12836 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12837 UNIX convention. Perform tolower on characters before comparing
12838 them rather than use toupper.
12839 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12840
12841 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12842
12843 * configure.host: Added using i386 machine directory
12844 for all x86 cross-compiler and configuring
12845 which added object files to use via new "mach_add_objs" variable.
12846 * configure: Regenerated.
12847 * libc/configure: Regenerated.
12848 * libc/Makefile.in: Regenerated.
12849 * libc/aclocal.m4: Regenerated.
12850 * libc/ctype/Makefile.in: Regenerated.
12851 * libc/errno/Makefile.in: Regenerated.
12852 * libc/locale/Makefile.in: Regenerated.
12853 * libc/machine/Makefile.in: Regenerated.
12854 * libc/machine/aclocal.m4: Regenerated.
12855 * libc/machine/configure: Regenerated.
12856 * libc/posix/Makefile.in: Regenerated.
12857 * libc/reent/Makefile.in: Regenerated.
12858 * libc/signal/Makefile.in: Regenerated.
12859 * libc/stdio/Makefile.in: Regenerated.
12860 * libc/stdlib/Makefile.in: Regenerated.
12861 * libc/string/Makefile.in: Regenerated.
12862 * libc/string/memmove.c: Optimized code to use memcpy
12863 logic when performing a non-destructive copy.
12864 * libc/string/strncmp.c: Altered code to allow building
12865 optimized for size or speed.
12866 * libc/syscalls/Makefile.in: Regenerated.
12867 * libc/time/Makefile.in: Regenerated.
12868 * libc/unix/Makefile.in: Regenerated.
12869 * libc/machine/i386/Makefile.am: Added new files and reference
12870 to "mach_add_objs" to indicate optional object files.
12871 * libc/machine/i386/Makefile.in: Regenerated.
12872 * libc/machine/i386/aclocal.m4: Regenerated.
12873 * libc/machine/i386/configure: Regenerated.
12874 * libc/machine/i386/memchr.S: New file that implements
12875 function in Intel assembler.
12876 * libc/machine/i386/memcmp.S: ditto.
12877 * libc/machine/i386/memcpy.S: ditto.
12878 * libc/machine/i386/memmove.S: ditto.
12879 * libc/machine/i386/memset.S: ditto.
12880 * libc/machine/i386/strchr.S: ditto.
12881 * libc/machine/i386/strlen.S: ditto.
12882 * libc/machine/i386/f_atan2.S: New file that implements
12883 fast version of math function to be used by compiler when
12884 --ffast_math compile option is used.
12885 * libc/machine/i386/f_atan2f.S: ditto.
12886 * libc/machine/i386/f_exp.c: ditto.
12887 * libc/machine/i386/f_expf.c: ditto.
12888 * libc/machine/i386/f_frexp.S: ditto.
12889 * libc/machine/i386/f_frexpf.S: ditto.
12890 * libc/machine/i386/f_ldexp.S: ditto.
12891 * libc/machine/i386/f_ldexpf.S: ditto.
12892 * libc/machine/i386/f_log.S: ditto.
12893 * libc/machine/i386/f_logf.S: ditto.
12894 * libc/machine/i386/f_log10.S: ditto.
12895 * libc/machine/i386/f_log10f.S: ditto.
12896 * libc/machine/i386/f_math.h: New file.
12897 * libc/machine/i386/f_pow.c: ditto.
12898 * libc/machine/i386/f_powf.S: ditto.
12899 * libc/machine/i386/f_tan.S: ditto.
12900 * libc/machine/i386/f_tan.S: ditto.
12901 * libc/machine/i386/i386mach.h: New file.
12902
12903 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12904
12905 patch from Mumit Khan <khan@xraylith.wisc.edu>
12906 * libc/include/stdio.h (tempnam): Add prototype.
12907 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12908 (tempnam): Adhere to prototype.
12909
12910 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12911
12912 * Makefile.am: Add default for AR_FLAGS.
12913 * Makefile.in: Regenerate.
12914
12915 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12916
12917 * libc/include/time.h: move __cplusplus wrapper after includes
12918 * libc/include/sys/time.h: ditto. If Cygwin, include
12919 sys/select.h.
12920 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12921
12922 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12923
12924 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12925
12926 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12927
12928 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12929 abnormnal end-of-crt0 marker.
12930
12931 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12932
12933 * libc/sys/fr30/crt0.s: New file/directory.
12934 * libc/include/machine/setjmp.h: Add FR30 target.
12935 * libc/include/machine/ieeefp.h: Add FR30 target.
12936 * configure.host: Add FR30 target.
12937
12938 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12939
12940 * libm/math: Files that are duplicated in common directory removed.
12941 * libm/math/fdlibm.h: Removed.
12942 * libm/math/s_cbrt.c: Removed.
12943 * libm/math/s_copysign.c: Removed.
12944 * libm/math/s_expm1.c: Removed.
12945 * libm/math/s_finite.c: Removed.
12946 * libm/math/s_ilogb.c: Removed.
12947 * libm/math/s_infinity.c: Removed.
12948 * libm/math/s_lib_ver.c: Removed.
12949 * libm/math/s_log1p.c: Removed.
12950 * libm/math/s_logb.c: Removed.
12951 * libm/math/s_matherr.c: Removed.
12952 * libm/math/s_modf.c: Removed.
12953 * libm/math/s_nan.c: Removed.
12954 * libm/math/s_nextafter.c: Removed.
12955 * libm/math/s_rint.c: Removed.
12956 * libm/math/s_scalbn.c: Removed.
12957 * libm/math/sf_cbrt.c: Removed.
12958 * libm/math/sf_copysign.c: Removed.
12959 * libm/math/sf_expm1.c: Removed.
12960 * libm/math/sf_finite.c: Removed.
12961 * libm/math/sf_ilogb.c: Removed.
12962 * libm/math/sf_infinity.c: Removed.
12963 * libm/math/sf_log1p.c: Removed.
12964 * libm/math/sf_logb.c: Removed.
12965 * libm/math/sf_modf.c: Removed.
12966 * libm/math/sf_nan.c: Removed.
12967 * libm/math/sf_nextafter.c: Removed.
12968 * libm/math/sf_rint.c: Removed.
12969 * libm/math/sf_scalbn.c: Removed.
12970 * libm/math/Makefile.am: Removed references to deleted files (above).
12971 * libm/math/Makefile.in: Regenerated.
12972 * libm/Makefile.am: Added common directory to math.
12973 * libm/Makefile.in: Regenerated.
12974
12975 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12976
12977 * libm/mathfp: Add non-ANSI functions.
12978 * libm/mathfp/e_acosh.c acosh(): New file.
12979 * libm/mathfp/e_atanh.c atanh(): New file.
12980 * libm/mathfp/e_hypot.c hypot(): New file.
12981 * libm/mathfp/e_j0.c j0(): New file.
12982 * libm/mathfp/e_j1.c j1(): New file.
12983 * libm/mathfp/e_remainder.c remainder(): New file.
12984 * libm/mathfp/e_scalb.c scalb(): New file.
12985 * libm/mathfp/ef_acosh.c acoshf(): New file.
12986 * libm/mathfp/ef_atanh.c atanhf(): New file.
12987 * libm/mathfp/ef_hypot.c hypotf(): New file.
12988 * libm/mathfp/ef_j0.c j0f(): New file.
12989 * libm/mathfp/ef_j1.c j1f(): New file.
12990 * libm/mathfp/ef_remainder.c remainderf(): New file.
12991 * libm/mathfp/ef_scalb.c scalbf(): New file.
12992 * libm/mathfp/er_gamma.c gamma_r: New file.
12993 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12994 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12995 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12996 * libm/mathfp/w_cabs.c cabs(): New file.
12997 * libm/mathfp/w_drem.c drem(): New file.
12998 * libm/mathfp/w_jn.c jn(): New file.
12999 * libm/mathfp/wf_cabs.c cabsf(): New file.
13000 * libm/mathfp/wf_drem.c dremf(): New file.
13001 * libm/mathfp/wf_jn.c jnf(): New file.
13002
13003 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
13004
13005 * libc/sys/cygwin32: remove directory and contents
13006 * libc/sys/cygwin: and add back, losing the "32".
13007 * configure.host: check for cygwin* instead of cygwin32.
13008 * acinclude.m4: ditto.
13009 * aclocal.m4: regenerate with aclocal
13010 * configure: regenerate with autoconf
13011
13012 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
13013
13014 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
13015 for length
13016
13017 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13018
13019 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
13020 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
13021 to make rand/srand, strtok, asctime, localtime, w_gamma,
13022 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
13023 time.h to bring in struct tm definition.
13024 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
13025 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
13026 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
13027 instead of static variable.
13028 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
13029 struct reent instead of static variable.
13030 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
13031 struct reent instead of static variable.
13032 * libm/math/Makefile.am: Removed s_signgam.o.
13033 * libm/math/Makefile.in: Regenerated.
13034 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
13035 struct reent instead of global variable 'signgam'.
13036 * libm/math/w_lgamma.c (lgamma): Likewise.
13037 * libm/math/wf_gamma.c (gammaf): Likewise.
13038 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13039 * libm/math/s_signgam.c: Removed.
13040 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
13041 to be const.
13042 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
13043 to be const.
13044 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
13045 libc/include/reent.h.
13046 * libc/reent/Makefile.in: Regenerated.
13047 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
13048 to be const.
13049 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
13050 'JIS_action_table' to be const.
13051 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
13052
13053 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
13054
13055 * acinclude.m4: $with_target_subdir should default to '.'
13056 or confusion results when configuring in same directory as sources.
13057 * Regenerate all aclocal.m4 and configure files.
13058
13059 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
13060
13061 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
13062 can be set by defining MALLOC_ALIGNMENT=16. Also added support
13063 for platforms where sizeof(size_t) < sizeof(long) via
13064 SIZE_T_SMALLER_THAN_LONG macro.
13065
13066 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
13067
13068 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
13069 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
13070 which sets _CLOCKS_PER_SEC_ for selected machines.
13071 * libc/include/machine/time.h: New file.
13072
13073 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13074
13075 * libc/syscalls/sysexecve.c: New file.
13076 * libc/syscalls/sysgettod.c: New file.
13077 * libc/syscalls/systimes.c: New file.
13078 * libc/syscalls/Makefile.am: Added new objects.
13079 * libc/syscalls/Makefile.in: Regenerated.
13080 * libc/include/_syslist.h (_execve): Moved define in file.
13081 * libc/include/reent.h: Added _execve_r declaration.
13082 * libc/Makefile.in: Regenerated.
13083 * libc/ctype/Makefile.in: Regenerated.
13084 * libc/errno/Makefile.in: Regenerated.
13085 * libc/locale/Makefile.in: Regenerated.
13086 * libc/machine/Makefile.in: Regenerated.
13087 * libc/misc/Makefile.in: Regenerated.
13088 * libc/posix/Makefile.in: Regenerated.
13089 * libc/reent/Makefile.in: Regenerated.
13090 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13091 * libc/signal/Makefile.in: Regenerated.
13092 * libc/stdio/Makefile.in: Regenerated.
13093 * libc/time/Makefile.in: Regenerated.
13094 * libc/unix/Makefile.in: Regenerated.
13095 * libm/mathfp/Makefile.in: Regenerated.
13096
13097 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13098
13099 * libc/string/Makefile.in: Regenerated.
13100 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13101 * libc/string/memcpy.c (memcpy): Ditto.
13102 * libc/string/memcmp.c (memcmp): Ditto.
13103 * libc/string/memset.c (memset): Ditto.
13104 * libc/string/strchr.c (strchr): Ditto.
13105 * libc/string/strcmp.c (strcmp): Ditto.
13106 * libc/string/strcpy.c (strcpy): Ditto.
13107 * libc/string/strlen.c (strlen): Ditto.
13108
13109 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13110
13111 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13112 to generate aclocal.m4.
13113 * libm/Makefile.in: Regenerated.
13114 * libm/aclocal.m4: Regenerated.
13115 * libm/configure: Regenerated.
13116 * libm/math/Makefile.in: Regenerated.
13117 * libm/mathfp/Makefile.in: Regenerated.
13118
13119 1998-09-25 Mark Salter <msalter@cygnus.com>
13120
13121 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13122 by adding leading and trailing underscores to symbol names.
13123
13124 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13125
13126 * Makefile.in: Add default for AR_FLAGS.
13127
13128 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13129
13130 patch from ian@airs.com (Ian Taylor):
13131 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13132 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13133 is needed for detecting the build machine. Required for
13134 cygwin native builds.
13135
13136 * Regenerate all aclocal.m4 and configure files.
13137
13138 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13139
13140 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13141 used to start with LC.
13142
13143 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13144
13145 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13146 (longjmp): Likewise.
13147
13148 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13149
13150 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13151 the test for small number of bytes.
13152
13153 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13154
13155 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13156 math library that uses floating point algorithms instead of the old
13157 libm.
13158 * Makefile.in: Regenerate with automake version 1.3b.
13159 * configure: Rebuild.
13160 * libm/Makefile.in: Regenerate with automake version 1.3b.
13161 * libm/aclocal.m4: Regenerate.
13162 * libm/configure: Rebuild.
13163 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13164 * libm/acinclude.m4: Define macros for configure.in.
13165 * libm/config.h.in: Generate.
13166 * libm/mathfp/Makefile.am: New file.
13167 * libm/mathfp/Makefile.in: Generate.
13168 * libm/mathfp/s_acos.c (acos): New file.
13169 * libm/mathfp/s_asin.c (asin): New file.
13170 * libm/mathfp/s_asine.c (asine): New file.
13171 * libm/mathfp/s_atan.c (atan): New file.
13172 * libm/mathfp/s_atan2.c (atan2): New file.
13173 * libm/mathfp/s_atangent.c (atangent): New file.
13174 * libm/mathfp/s_ceil.c (ceil): New file.
13175 * libm/mathfp/s_copysign.c (copysign): New file.
13176 * libm/mathfp/s_cos.c (cos): New file.
13177 * libm/mathfp/s_cosh.c (cosh): New file.
13178 * libm/mathfp/s_exp.c (exp): New file.
13179 * libm/mathfp/s_fabs.c (fabs): New file.
13180 * libm/mathfp/s_finite.c (finite): New file.
13181 * libm/mathfp/s_floor.c (floor): New file.
13182 * libm/mathfp/s_fmod.c (fmod): New file.
13183 * libm/mathfp/s_frexp.c (frexp): New file.
13184 * libm/mathfp/s_infconst.c: New file.
13185 * libm/mathfp/s_isinf (isinf).c: New file.
13186 * libm/mathfp/s_isnan.c (isnan): New file.
13187 * libm/mathfp/s_ispos.c (ispos): New file.
13188 * libm/mathfp/s_ldexp.c (ldexp): New file.
13189 * libm/mathfp/s_log.c (log): New file.
13190 * libm/mathfp/s_log10.c (log10): New file.
13191 * libm/mathfp/s_logarithm.c (logarithm): New file.
13192 * libm/mathfp/s_mathcnst.c: New file.
13193 * libm/mathfp/s_modf (modf).c: New file.
13194 * libm/mathfp/s_numtest.c (numtest): New file.
13195 * libm/mathfp/s_pow.c (pow): New file.
13196 * libm/mathfp/s_scalbn.c (scalbn): New file.
13197 * libm/mathfp/s_sin (sin).c: New file.
13198 * libm/mathfp/s_sine.c (sine): New file.
13199 * libm/mathfp/s_sineh.c (sineh): New file.
13200 * libm/mathfp/s_sinf.c (sinf): New file.
13201 * libm/mathfp/s_sinh.c (sinh): New file.
13202 * libm/mathfp/s_sqrt.c (sqrt): New file.
13203 * libm/mathfp/s_tan.c (tan): New file.
13204 * libm/mathfp/s_tanh.c (tanh): New file.
13205 * libm/mathfp/sf_acos.c (acosf): New file.
13206 * libm/mathfp/sf_asin.c (asinf): New file.
13207 * libm/mathfp/sf_asine.c (asinef): New file.
13208 * libm/mathfp/sf_atan.c (atanf): New file.
13209 * libm/mathfp/sf_atan2.c (atan2f): New file.
13210 * libm/mathfp/sf_atangent.c (atangent): New file.
13211 * libm/mathfp/sf_ceil.c (ceilf): New file.
13212 * libm/mathfp/sf_copysign.c (copysignf): New file.
13213 * libm/mathfp/sf_cos.c (cosf): New file.
13214 * libm/mathfp/sf_cosh.c (coshf): New file.
13215 * libm/mathfp/sf_exp.c (expf): New file.
13216 * libm/mathfp/sf_fabs.c (fabsf): New file.
13217 * libm/mathfp/sf_finite.c (finitef): New file.
13218 * libm/mathfp/sf_floor.c (floorf): New file.
13219 * libm/mathfp/sf_fmod.c (fmodf): New file.
13220 * libm/mathfp/sf_frexp.c (frexpf): New file.
13221 * libm/mathfp/sf_isinf.c (isinff): New file.
13222 * libm/mathfp/sf_isnan.c (isnanf): New file.
13223 * libm/mathfp/sf_ispos.c (isposf): New file.
13224 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13225 * libm/mathfp/sf_log.c (logf): New file.
13226 * libm/mathfp/sf_log10.c (log10f): New file.
13227 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13228 * libm/mathfp/sf_modf.c (modff): New file.
13229 * libm/mathfp/sf_numtest.c (numtestf): New file.
13230 * libm/mathfp/sf_pow.c (powf): New file.
13231 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13232 * libm/mathfp/sf_sin.c (sinf): New file.
13233 * libm/mathfp/sf_sine.c (sinef): New file.
13234 * libm/mathfp/sf_sineh.c (sinehf): New file.
13235 * libm/mathfp/sf_sinh.c (sinhf): New file.
13236 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13237 * libm/mathfp/sf_tan.c (tanf): New file.
13238 * libm/mathfp/sf_tanh.c (tanhf): New file.
13239 * libm/mathfp/zmath.h: New file.
13240
13241 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13242
13243 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13244 exit if it has been overwritten by pre-fetching in delay slot.
13245
13246 1998-09-01 Michael Meissner <meissner@cygnus.com>
13247
13248 * Makefile.am (tooldir): Add in host_alias, so that multilib
13249 libraries are installed in the directory the compiler looks in.
13250 * Makefile.in: Regenerate.
13251
13252 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13253
13254 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13255
13256 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13257 ahead of test for number of bytes being moved.
13258
13259 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13260
13261 * libc/include/sys/unistd.h: Nothing special needed for
13262 _exit under cygwin.
13263
13264 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13265
13266 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
13267 conform to user label naming conventions.
13268
13269 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13270
13271 * libc/sys/cygwin32/sys/utime.h: variable names in
13272 protos should start with two leading underscores
13273 * libc/include/string.h: ditto
13274 * libc/include/sys/signal.h: ditto
13275 * libc/include/sys/stat.h: ditto
13276 * libc/include/sys/time.h: ditto
13277 * libc/include/sys/unistd.h: ditto
13278 * libc/include/ctype.h: ditto
13279 * libc/include/stdlib.h: ditto
13280 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13281 void, same with _sig_func.
13282
13283 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13284
13285 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13286 for MB_CAPABLE to reduce code size when newlib is not configured
13287 with --enable-newlib-mb.
13288 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
13289 mbtowc_r.o to minimize size.
13290 * libc/stdlib/Makefile.in: Rebuild.
13291
13292 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13293
13294 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13295 to -DREENT.
13296 * libc/sys/sparc64/Makefile.in: Rebuild.
13297
13298 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13299
13300 * Makefile.am (MAKEOVERRIDES): Define.
13301 * Makefile.in: Rebuild.
13302
13303 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13304
13305 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13306
13307 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13308
13309 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13310 newlib_cflags when looking for targ-include.
13311 * */aclocal.m4, */configure: Rebuild.
13312
13313 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13314
13315 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13316 to "_end".
13317
13318 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13319
13320 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13321 on SPARCs with little-endian data.
13322 * libc/include/machine/ieeefp.h: Ditto.
13323
13324 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13325
13326 * acinclude.m4: Handle a relative srcdir correctly when setting
13327 newlib_cflags.
13328 * */aclocal.m4, */configure: Rebuild.
13329
13330 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13331
13332 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
13333 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13334 * libm/math/wrf_gamma.c (gammaf_r): ditto
13335 * libm/math/wr_lgamma.c (lgamma_r): ditto
13336 * libm/math/wr_gamma.c (gamma_r): ditto
13337 * libm/math/wf_sqrt.c (sqrtf): ditto
13338 * libm/math/wf_sinh.c (sinhf): ditto
13339 * libm/math/wf_scalb.c (scalbf): ditto
13340 * libm/math/wf_remainder.c (remainderf): ditto
13341 * libm/math/wf_pow.c (powf): ditto
13342 * libm/math/wf_log10.c (log10f): ditto
13343 * libm/math/wf_log.c (logf): ditto
13344 * libm/math/wf_lgamma.c (lgammaf): ditto
13345 * libm/math/wf_jn.c (jnf, ynf): ditto
13346 * libm/math/wf_j1.c (j1f, y1f): ditto
13347 * libm/math/wf_j0.c (j0f, y0f): ditto
13348 * libm/math/wf_hypot.c (hypotf): ditto
13349 * libm/math/wf_gamma.c (gammaf): ditto
13350 * libm/math/wf_fmod.c (fmodf): ditto
13351 * libm/math/wf_exp.c (expf): ditto
13352 * libm/math/wf_cosh.c (coshf): ditto
13353 * libm/math/wf_atanh.c (atanhf): ditto
13354 * libm/math/wf_atan2f.c (atan2f): ditto
13355 * libm/math/wf_asin.c (asinf): ditto
13356 * libm/math/wf_acosh.c (acoshf): ditto
13357 * libm/math/wf_acos.c (acosf): ditto
13358 * libm/math/w_sqrt.c (sqrt): ditto
13359 * libm/math/w_sinh.c (sinh): ditto
13360 * libm/math/w_scalb.c (scalb): ditto
13361 * libm/math/w_remainder.c (remainder): ditto
13362 * libm/math/w_pow.c (pow): ditto
13363 * libm/math/w_log10.c (log10): ditto
13364 * libm/math/w_log.c (log): ditto
13365 * libm/math/w_lgamma.c (lgamma): ditto
13366 * libm/math/w_jn.c (jn, yn): ditto
13367 * libm/math/w_j1.c (j1, y1): ditto
13368 * libm/math/w_j0.c (j0, y0): ditto
13369 * libm/math/w_hypot.c (hypot): ditto
13370 * libm/math/w_gamma.c (gamma): ditto
13371 * libm/math/w_fmod.c (fmod): ditto
13372 * libm/math/w_exp.c (exp): ditto
13373 * libm/math/w_cosh.c (cosh): ditto
13374 * libm/math/w_atanh.c (atanh): ditto
13375 * libm/math/w_atan2f.c (atan2): ditto
13376 * libm/math/w_asin.c (asin): ditto
13377 * libm/math/w_acosh.c (acosh): ditto
13378 * libm/math/w_acos.c (acos): ditto
13379
13380 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13381
13382 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13383 (fsrc): Add wf_cabs.c and wf_drem.c.
13384 * libm/math/Makefile.in: Rebuild.
13385
13386 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13387 unused directory variables. Remove duplicate CFLAGS.
13388 * Makefile.in: Rebuild.
13389
13390 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13391 with $(CC_FOR_BUILD).
13392 (makedoc.o): Likewise.
13393 * doc/Makefile.in: Rebuild.
13394
13395 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13396 force a definition of COMPILE.
13397 (libfoo_a_SOURCES): Define.
13398 * libc/sys/cygwin32/Makefile.in: Rebuild.
13399 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13400 force a definition of COMPILE.
13401 (libfoo_a_SOURCES): Define.
13402 * libc/sys/tic80/Makefile.in: Rebuild.
13403
13404 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13405
13406 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13407 flag.
13408
13409 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13410
13411 * Build using autoconf and automake. Added many Makefile.am and
13412 configure.in files, plus generated files. Old configure.in files
13413 and all old Makefile.in files completely replaced. Removed
13414 host/any. Added acinclude.m4 and configure.host.
13415
13416 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13417
13418 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13419 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13420
13421 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13422
13423 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13424 * libc/machine/sh/Makefile.in: Add rules for new files.
13425
13426 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13427
13428 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13429 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13430 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13431
13432 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13433
13434 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13435 code is ignored.
13436
13437 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13438
13439 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13440 internal static buffer when s is NULL, as prescribed by ANSI.
13441
13442 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13443
13444 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13445 removed.
13446 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13447 libc/stdlib will be used for h8300hms.
13448
13449 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13450
13451 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13452 version that can be built either for speed or size.
13453 * libc/machine/mn10300/memset.S (_memset): ditto
13454 * libc/machine/mn10300/memchr.S (_memchr): ditto
13455 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13456 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13457 * libc/machine/mn10300/strchr.S (_strchr): ditto
13458 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13459 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13460 * libc/machine/mn10300/Makefile.in: Added entries for
13461 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13462 strcmp.o, strcpy.o, and strlen.o.
13463
13464 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13465
13466 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13467 been replaced with libgloss/mn10200.
13468
13469 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13470
13471 * libc/string/strchr.c (strchr): Make s a constant pointer to
13472 avoid warning.
13473
13474 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13475
13476 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13477 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13478 board SWIs instead of Demon board SWIs).
13479
13480 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13481
13482 * libc/string/strncat.c (strncat): Make -Os act the same as
13483 PREFER_SIZE_OVER_SPEED being defined.
13484
13485 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13486
13487 * libc/string/memchr.c (memchr): Make -Os act the same as
13488 PREFER_SIZE_OVER_SPEED being defined.
13489 * libc/string/memcmp.c (memcmp): Ditto.
13490 * libc/string/memcpy.c (memcpy): Ditto.
13491 * libc/string/memset.c (memset): Ditto.
13492 * libc/string/strcat.c (strcat): Ditto.
13493 * libc/string/strchr.c (strchr): Ditto.
13494 * libc/string/strcmp.c (strcmp): Ditto.
13495 * libc/string/strcpy.c (strcpy): Ditto.
13496 * libc/string/strlen.c (strlen): Ditto.
13497 * libc/string/strncat.c (strncat): Ditto.
13498 * libc/string/strncmp.c (strncmp): Ditto.
13499 * libc/string/strncpy.c (strncpy): Ditto.
13500
13501 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13502
13503 * libc/include/sys/itimer.h: remove
13504 * libc/include/sys/time.h: itimer stuff should be here
13505
13506 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13507
13508 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13509 bit instead of comparing to 0 so -0.0 can be printed correctly.
13510
13511 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13512
13513 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13514
13515 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13516
13517 * libc/include/sys/unistd.h: fix sync() proto
13518 * libc/include/sys/fcntl.h: remove _close which is already
13519 defined in unistd.h.
13520 * libc/include/sys/time.h: add getitimer proto
13521
13522 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13523
13524 * libc/string/strchr.c: convert arg to unsigned char
13525 * libc/include/stdlib.h: add protos for random, srandom
13526 * libc/include/sys/stat.h: add lstat proto
13527 * libc/include/sys/time.h: add setitimer proto
13528 * libc/include/sys/unistd.h: add readlink, symlink protos
13529 * libc/include/process.h: instead of including windows.h and using
13530 HANDLEs in sexec protos, just use void *s. Need to include
13531 sys/types.h.
13532
13533 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13534
13535 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13536
13537 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13538
13539 * libc/include/process.h: add secure exec protos
13540
13541 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13542
13543 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13544 which are accessed as both doubles and integers.
13545 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13546 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13547 * libc/stdlib/mprec.h: Add "union double_union" and change
13548 word0/word1 macros to use it.
13549
13550 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13551
13552 * libc/include/sys/signal.h: add __cplusplus wrapper
13553
13554 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13555
13556 * libc/include/sys/utime.h: new generic file that gets replaced by
13557 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13558 function.
13559 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13560 * libc/include/time.h: remove duplicate utime proto
13561 * libc/include/utime.h: add comment
13562
13563 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13564
13565 * libc/include/sys/time.h: Add missing include to
13566 allow use of _EXFUN. Remove times function that is
13567 already defined in times.h.
13568
13569 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13570
13571 * libc/include/time.h: Fix typo in tzset.
13572
13573 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13574
13575 * libc/include/sys/time.h: add missing Cygwin32 function protos
13576 * libc/include/sys/unistd.h: ditto
13577 * libc/include/time.h: ditto
13578
13579 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13580
13581 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13582 FIXME.
13583 * libc/include/sys/types.h: add a new __MS_types__ section
13584 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13585 __BIT_TYPES_DEFINED__.
13586
13587 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13588
13589 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13590 since it overrides the one in libc/include/sys. Also, start
13591 including types.h.
13592
13593 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13594
13595 * libm/math/Makefile.in: add s_signgam.o to obj list
13596
13597 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13598
13599 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13600
13601 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13602
13603 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13604 so don't use defines.
13605
13606 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13607
13608 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13609
13610 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13611
13612 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13613 _current_locale as default locale.
13614
13615 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13616
13617 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13618 insufficient space in a chunk.
13619
13620 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13621
13622 * configure.in (links): Added check for --enable-newlib-mb configure
13623 option which defines the MB_CAPABLE macro.
13624 * libc/locale/locale.c (_setlocale_r): Added support for setting
13625 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13626 defined.
13627 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13628 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13629 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13630 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13631 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13632 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13633 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13634 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13635 * libc/stdlib/Makefile.in: Added new multibyte
13636 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13637 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13638 _mbstowcs_r(), and _wcstombs_r().
13639 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13640 for JIS, SJIS, and EUC-JP characters.
13641 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13642 MB_CAPABLE defined.
13643 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13644 MB_CAPABLE defined.
13645 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13646 MB_CAPABLE defined.
13647 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13648 if MB_CAPABLE defined.
13649 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13650 if MB_CAPABLE defined.
13651 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13652 to the format string processing when MB_CAPABLE.
13653 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13654 call _mbtowc_r().
13655
13656 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13657
13658 The following modifications are courtesy of Anthony Thompson,
13659 athompson@cambridge.arm.com:
13660 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13661 boith RDI and RDP monitors.
13662 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13663 RDI and RDP monitors.
13664
13665 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13666
13667 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13668 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13669 (_swiopen): Fixed open flags to treat write with append as just append.
13670 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13671 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13672
13673 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13674
13675 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13676 When needing to transfer an initial 2-byte-word, store as
13677 two single bytes.
13678
13679 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13680
13681 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13682 __SH3E__ .
13683 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13684 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13685
13686 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13687
13688 * configure.in (target_cflags): If --enable-target-optspace, use
13689 -Os to compile newlib rather than -O2. Default to using -Os for
13690 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13691 used.
13692
13693 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13694
13695 * libc/include/machine/setjmp.h: change sigsetjmp and
13696 siglongjmp definitions to use an array instead of a struct
13697 for __CYGWIN32__
13698
13699 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13700
13701 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13702
13703 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13704
13705 * libc/string/strxfrm.c: fix to get correct return value
13706
13707 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13708
13709 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13710 builds. Make mode change labels global so that they will be seen
13711 by the debugger.
13712
13713 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13714
13715 * configure.in (links): Do not use ARM debiugging protocols for PE
13716 builds.
13717
13718 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13719 message.
13720
13721 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13722
13723 * libc/stdio/findfp.c (__sinit): Made stdout default to
13724 line buffered mode as defined by ANSI.
13725
13726 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13727
13728 * libc/include/sys/itimer.h: New file.
13729
13730 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13731
13732 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13733
13734 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13735 failure.
13736
13737 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13738
13739 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13740 insns.
13741
13742 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13743
13744 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13745
13746 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13747
13748 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13749 support.
13750
13751 * libc/include/machine/setjmp.h: Add D30V support.
13752
13753 * configure.in (d30v-*): Add d30v machine directory.
13754
13755 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13756
13757 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13758 been replaced with libgloss/mn10300.
13759
13760 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13761
13762 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13763 it is no longer needed.
13764
13765 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13766
13767 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13768
13769 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13770
13771 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13772 the file when O_APPEND is set, wherever the EOF happens to be at
13773 that time.
13774
13775 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13776
13777 patch from cgf@bbc.com (Christopher Faylor):
13778 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13779 convention of closing fp prior to attempting to open the file
13780 argument. This allows correct operation when reopening
13781 stdin/stdout/stderr. Replaces last freopen.c patch.
13782
13783 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13784
13785 patch from cgf@bbc.com (Christopher Faylor):
13786 * libc/stdio/freopen.c: freopen was not preserving the fd
13787 of the stream being operated on. This confuses programs that
13788 expect that the handles for stdout and stderr will be 1 and 2.
13789
13790 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13791
13792 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13793
13794 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13795
13796 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13797
13798 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13799
13800 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13801 altered to not use a branch. Also added hint that last
13802 bclr in longjmp will likely result in branch.
13803
13804
13805 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13806
13807 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13808
13809 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13810
13811 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13812 v850 builds.
13813
13814 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13815
13816 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13817
13818 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13819 that loads FR14 to specify offset of 8 rather than 4
13820 so it loads from offset 96 (where setjmp stored it).
13821
13822 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13823
13824 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13825 latest version supplied by customer.
13826 * libc/machine/sh/memset.S (_memset): Ditto.
13827
13828 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13829
13830 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13831 PR14730).
13832
13833 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13834
13835 * libc/include/string.h: remove redefinition of ffs
13836
13837 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13838
13839 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13840 defined
13841
13842 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13843
13844 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13845 TI Libraries to link to libc.a
13846
13847 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13848
13849 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13850 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13851 * libc/include/sys/wait.h (_wait): Ditto.
13852 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13853 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13854
13855 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13856
13857 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13858 minded stabs so function name shows up when running the simulator
13859 with -t.
13860 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13861
13862 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13863
13864 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13865 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13866 Use R5 where we used to use R3.
13867
13868 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13869
13870 * libc/stdlib/getopt.c (getopt): replaced __progname
13871 with nargv[0] to improve portability to imbedded systems.
13872
13873 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13874
13875 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13876 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13877 stdout file.
13878
13879 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13880
13881 * libc/stdio/tmpnam.c (worker): Generate a different file name
13882 each time.
13883
13884 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13885 fails, try an execlp for sh.
13886
13887 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13888 option for the winsup include directory.
13889
13890 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13891
13892 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13893 debugging interface from Tony.Thompson@arm.com.
13894
13895 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13896 * libc/sys/arm/swi.h: ditto.
13897
13898 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13899
13900 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13901 DIR struct used for readdir hashes.
13902
13903 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13904
13905 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13906
13907 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13908
13909 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13910 integer targets.
13911
13912 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13913
13914 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13915 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13916 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13917 (__malloc_copy): Declare.
13918
13919 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13920
13921 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13922 <sys/config.h>.
13923 (POINTER_UINT): Define.
13924 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13925 (MALLOC_ALIGNMENT): Don't define if already defined.
13926 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13927 long.
13928
13929 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13930
13931 * libc/string/memset.c (memset): Fiddle with code so that the long
13932 value being stored is not a stack value. Unroll storing longs 4
13933 times.
13934
13935 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13936
13937 * Reduce code size for libm modules.
13938 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13939 and simply move code into sqrt.
13940 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13941 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13942 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13943 * libm/math/wr_gamma.c (gamma_r): Likewise.
13944 * libm/math/wf_sinh.c (sinfh): Likewise.
13945 * libm/math/w_sinh.c (sinh): Likewise.
13946 * libm/math/wf_scalb.c (scalbf): Likewise.
13947 * libm/math/w_scalb.c (scalb): Likewise.
13948 * libm/math/wf_remainder.c (remainderf): Likewise.
13949 * libm/math/w_remainder.c (remainder): Likewise.
13950 * libm/math/wf_pow.c (powf): Likewise.
13951 * libm/math/w_pow.c (pow): Likewise.
13952 * libm/math/wf_log10.c (log10f): Likewise.
13953 * libm/math/w_log10.c (log10): Likewise.
13954 * libm/math/wf_log.c (logf): Likewise.
13955 * libm/math/w_log.c (log): Likewise.
13956 * libm/math/w_lgamma.c (lgamma): Likewise.
13957 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13958 * libm/math/wf_jn.c (jnf): Likewise.
13959 * libm/math/w_jn.c (jn): Likewise.
13960 * libm/math/wf_j1.c (j1f): Likewise.
13961 * libm/math/w_j1.c (j1): Likewise.
13962 * libm/math/wf_j0.c (j0f): Likewise.
13963 * libm/math/w_j0.c (j0): Likewise.
13964 * libm/math/wf_hypot.c (hypotf): Likewise.
13965 * libm/math/w_hypot.c (hypot): Likewise.
13966 * libm/math/wf_gamma.c (gammaf): Likewise.
13967 * libm/math/w_gamma.c (gamma): Likewise.
13968 * libm/math/wf_fmod.c (fmodf): Likewise.
13969 * libm/math/w_fmod.c (fmod): Likewise.
13970 * libm/math/wf_exp.c (expf): Likewise.
13971 * libm/math/w_exp.c (exp): Likewise.
13972 * libm/math/wf_cosh.c (coshf): Likewise.
13973 * libm/math/w_cosh.c (cosh): Likewise.
13974 * libm/math/wf_atanh.c (atanhf): Likewise.
13975 * libm/math/w_atanh.c (atanh): Likewise.
13976 * libm/math/wf_atan2.c (atan2f): Likewise.
13977 * libm/math/w_atan2.c (atan2): Likewise.
13978 * libm/math/wf_asin.c (asinf): Likewise.
13979 * libm/math/w_asin.c (asin): Likewise.
13980 * libm/math/wf_acosh.c (acoshf): Likewise.
13981 * libm/math/w_acosh.c (acosh): Likewise.
13982 * libm/math/wf_acos.c (asocf): Likewise.
13983 * libm/math/w_acos.c (acos): Likewise.
13984 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13985 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13986 for embedded systems.
13987
13988 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13989
13990 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13991 Lea in case of a foreign sbrk.
13992
13993 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13994
13995 Incorporate Doug Lea's malloc:
13996 * libc/stdlib/mallocr.c: Completely replaced.
13997 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13998 (realloc): Remove.
13999 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
14000 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
14001 mallopt.
14002 (mallinfo, malloc_stats, mallopt): New functions.
14003 (_mstats_r): Just call _malloc_stats_r.
14004 * libc/stdlib/malign.c: New file.
14005 * libc/stdlib/mlock.c: New file.
14006 * libc/stdlib/msize.c: New file.
14007 * libc/stdlib/mtrim.c: New file.
14008 * libc/stdlib/realloc.c: New file.
14009 * libc/stdlib/valloc.c: New file.
14010 * libc/stdlib/malloc.h: Remove.
14011 * libc/stdlib/callocr.c: Remove.
14012 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
14013 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
14014 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
14015 reallocr.o, valloc.o, vallocr.o.
14016 (CHEWOUT_FILES): Add mlock.def, mstats.def.
14017 (MALLOC_CFLAGS): New variable.
14018 (mallocr.o): New target, build from mallocr.c.
14019 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
14020 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
14021 (msizer.o, malloptr.o): Likewise.
14022 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
14023 (valloc.o): New target.
14024 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
14025 * libc/include/malloc.h: Declare struct mallinfo, and new
14026 routines.
14027 * libc/include/stdlib.h (cfree): Correct declaration.
14028
14029 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
14030
14031 * libc/include/machine/setjmp.h: Add support for Thumb target.
14032
14033 * libc/include/machine/ieeefp.h: Add support for Thumb target.
14034
14035 * configure.in (links): Add support for Thumb target.
14036
14037 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
14038
14039 * libc/sys/arm/setjmp.S: Updated with version from branch.
14040
14041 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
14042
14043 * libc/include/stdio.h: add POSIX-required define L_ctermid
14044 for ctermid
14045
14046 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
14047
14048 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
14049 addition to MISSING_SYSCALL_NAMES.
14050
14051 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14052
14053 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
14054
14055 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
14056
14057 * libc/include/string.h: change strsignal proto to return
14058 a char *. This eliminates compile problems in gdb resulting
14059 from gdb's definition of strsignal in defs.h.
14060
14061 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
14062
14063 * libc/sys/cygwin32/sys/utime.h: new (moved here from
14064 winsup/include) so as not to conflict with the one in
14065 libc/include.
14066 * libc/include/string.h: add protos for strsignal, strtosigno
14067
14068 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
14069
14070 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
14071
14072 * configure.in (d30v-*-*): Add configuration.
14073
14074 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
14075
14076 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
14077 to select which kind of debug monitor is in use for an ARM target.
14078
14079 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14080 Angel and Demon debug monitors. Part of this code was supplied by
14081 Tony Thompson at ARM: athompso@arm.com.
14082
14083 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14084
14085 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14086 semantics when the count is greater than the length of the second
14087 source string.
14088
14089 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14090
14091 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14092 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14093 truncate and ftruncate take off_t, not size_t
14094
14095 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14096
14097 * libc/string/strcat.c (strcat): Add missing comment end.
14098 * libc/string/strncat.c (strncat): Likewise.
14099
14100 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14101
14102 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
14103 targets.
14104 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
14105 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
14106 defined.
14107 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14108 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14109 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14110
14111 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14112
14113 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14114 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14115
14116 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14117
14118 * libc/machine/i386/setjmp.S: New file.
14119 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14120 (OFILES): Add setjmp.o.
14121 (setjmp.o): Add rule for.
14122 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14123
14124 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14125 Jeffrey A Law (law@cygnus.com)
14126
14127 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14128 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14129 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14130 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14131
14132 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14133
14134 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
14135 rules.
14136
14137 * libc/include/sys/config.h: Use __v850 to select v850
14138 endianness.
14139
14140 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14141 buffer size.
14142
14143 * libc/include/machine/ieeefp.h: Use __v850 to select v850
14144 endianness.
14145
14146 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14147
14148 * libc/stdlib/setenv.c: change unsetenv definition to match
14149 style of setenv (with _DEFUN). The string should be a const.
14150 * libc/include/stdlib.h: unsetenv proto should return void.
14151
14152 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14153
14154 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14155
14156 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14157
14158 * libc/stdio/glue.h: remove.
14159 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14160 * libc/stdio/Makefile.in: remove glue.h dependencies
14161
14162 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14163
14164 * libc/sys/sysnecv850/crt0.S: Created V850e version.
14165
14166 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14167
14168 * configure.in (target_cpu): Add `arc'.
14169
14170 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14171
14172 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
14173 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14174 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14175 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14176 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14177
14178 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14179
14180 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14181
14182 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14183
14184 * libc/include/stdio.h (siprintf): Declare.
14185
14186 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14187
14188 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14189 TARGET_CFLAGS and NEWLIB_FLAGS.
14190
14191 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14192
14193 * configure.in (links): Add support for v850ea target.
14194
14195 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14196
14197 * configure.in (links): Add support for v850e target.
14198
14199 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14200
14201 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14202
14203 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14204
14205 * configure.in (arc-*-*): Add support for.
14206 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14207
14208 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14209
14210 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14211
14212 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14213
14214 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14215 comparison which accesses invalid memory when the key is
14216 larger than the last member of the array.
14217 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14218 for CYGWIN32
14219 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14220
14221 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14222
14223 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14224 not _STRICT_ANSI.
14225
14226 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14227
14228 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14229 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14230
14231 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14232
14233 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14234 to load/store memory.
14235
14236 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14237
14238 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14239 underscores if _WIN32.
14240
14241 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14242
14243 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14244 support ifdef _USE_WRITE missed in last change.
14245 From Anders Blomdell <anders.blomdell@control.lth.se>.
14246
14247 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14248
14249 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14250 (_tmpnam_r, _tempnam_r): Update.
14251
14252 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14253
14254 * libc/machine/sparc/setjmp.S: New file.
14255 * libc/machine/sparc/Makefile.in: Add setjmp.
14256 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14257
14258 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14259
14260 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14261
14262 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14263
14264 From Joel Sherrill <joel@oarcorp.com>.
14265 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14266
14267 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14268 * configure.in: Recognize *-*-rtems*.
14269 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14270 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14271 time.h,times.h,types.h}: New files.
14272 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14273
14274 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14275
14276 patch from sos@prospect.com.ru (Sergey Okhapkin):
14277 * include/sys/wait.h: correct operator precidence bug
14278 in WIFSIGNALED
14279
14280 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14281
14282 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14283 with newlib's unsetenv function
14284 * libc/sys/cygwin32/sys: new directory for includes
14285 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14286 here from winsup/include/sys
14287
14288 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14289
14290 * libc/include/sys/unistd.h: _exit should only be
14291 labelled noreturn when not __CYGWIN32__
14292 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14293 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14294 increment NSIG
14295
14296 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14297
14298 * libc/include/sys/time.h: Only define timeval and timezone if
14299 _GNU_H_WINDOWS32_SOCKETS is not defined.
14300 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14301
14302 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14303
14304 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14305 * libc/machine/mn10300/setjmp.S: Likewise.
14306
14307 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14308 the mn10300 (more relaxing opportunities).
14309
14310 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14311
14312 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14313 Build libraries with -mstrict-align.
14314
14315 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14316
14317 * libc/string/strlwr.c: New file.
14318 * libc/string/strupr.c: New file.
14319 * libc/include/string.h: Declare strlwr and strupr.
14320 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14321 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14322 (strlwr.o, strupr.o): New targets.
14323 * libc/string/strings.tex: Include strlwr and strupr docs.
14324
14325 * libc/include/sys/types.h: Don't define u_char, et. al., if
14326 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14327 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14328 _types_fd_set rather than fd_set, and define fd_set as a macro.
14329
14330 * libc/include/malloc.h: New file.
14331
14332 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14333 strnicmp if they are not already defined.
14334
14335 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14336 _timezone, _daylight, and _tzname.
14337
14338 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14339
14340 * configure.in: Sort all configuration tables.
14341
14342 From Joel Sherrill <joel@oarcorp.com>
14343 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14344
14345 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14346
14347 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14348 use int when declaring kill.
14349
14350 * libc/include/sys/timeb.h: New file.
14351
14352 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14353
14354 * libc/include/sys/time.h: add itimer support for Cygwin32
14355
14356 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14357
14358 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14359 out a message that abort was called to stderr.
14360
14361 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14362
14363 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14364 so that libio doesn't freak.
14365
14366 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14367 int.
14368
14369 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14370 memory sizes, not int.
14371
14372 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14373
14374 * libm/math/ef_hypot.c: Use long constants where
14375 appropriate.
14376 * libm/math/ef_sqrt.c: Ditto.
14377
14378 * libc/sys/sysmec/times.c(_times): Change to times.
14379
14380 * libc/sys/sysmec/read.c(_read): The third argument is
14381 size_t.
14382 * libc/sys/sysmec/write.c (_write): Ditto.
14383
14384 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14385 (_lseek): It's off_t for the second argument.
14386
14387 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14388
14389 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14390 as well as machine/ieeefp.h.
14391
14392 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14393
14394 * libc/include/sys/signal.h: add signal protos for winsup
14395 functions (when __CYGWIN32__), include types.h
14396 * libc/include/sys/types.h: Change __go32_types__ internal
14397 define to __MS_types__ since it's used for more than just
14398 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14399 defined.
14400 * libc/include/sys/unistd.h: add ftruncate proto for
14401 winsup functions (when __CYGWIN32__)
14402
14403 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14404
14405 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14406
14407 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14408
14409 * libc/include/machine/setjmp.h: Add tic80 support.
14410 * libc/machine/tic80/setjmp.S: Likewise.
14411
14412 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14413
14414 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14415 link programs from libraries only (such as in the X11
14416 distribution)
14417
14418 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14419
14420 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14421 supplied elsewhere in newlib.
14422
14423 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14424
14425 * Makefile.in (INSTALL): Change install.sh to install-sh.
14426
14427 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14428
14429 * README: update WWW address for on-line documentation.
14430
14431 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14432
14433 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14434 increment NSIG
14435
14436 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14437
14438 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14439 mn10300.
14440 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14441
14442 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14443
14444 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14445 * libc/sys/d10v/syscalls.c: Likewise.
14446 * libc/sys/h8300hms/sbrk.c: Likewise.
14447 * libc/sys/h8500hms/syscalls.c: Likewise.
14448 * libc/sys/m88kbug/syscalls.c: Likewise.
14449 * libc/sys/sh/syscalls.c: Likewise.
14450 * libc/sys/sysmec/sbrk.c: Likewise.
14451 * libc/sys/sysnecv850/sbrk.c: Likewise.
14452 * libc/sys/w65/syscalls.c: Likewise.
14453 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14454
14455 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14456
14457 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14458 emulated syscall instead of "trap".
14459
14460 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14461
14462 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14463 not trap 0.
14464
14465 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14466
14467 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14468
14469 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14470
14471 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14472 not "sh".
14473 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14474 not "d10v".
14475 * libc/sys/tic80/crt0.c: New file for TIc80.
14476 * libc/sys/tic80/Makefile.in: New file for TIc80.
14477 * libc/machine/tic80/Makefile.in: New file for TIc80.
14478
14479 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14480
14481 * libc/machine/sh/memcpy.S: New file.
14482 * libc/machine/sh/memset.S: New file.
14483 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14484
14485 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14486
14487 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14488 for TIc80.
14489
14490 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14491
14492 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14493 the mn10200.
14494
14495 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14496
14497 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14498 (patch from andrew@pogo.WV.TEK.COM).
14499
14500 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14501
14502 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14503 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14504
14505 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14506
14507 * configure.in: Add cases for "tic80" to set machine_dir,
14508 sys_dir, and syscall_dir.
14509
14510 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14511
14512 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14513
14514 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14515
14516 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14517
14518 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14519
14520 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14521 Use proper constant prefix.
14522
14523 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14524
14525 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14526 that loses on the mn10200 where ints and pointers are different
14527 sizes.
14528
14529 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14530
14531 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14532 target as signal is provided in winsup.
14533
14534 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14535
14536 * libc/include/sys/process.h: Corrected const definitions
14537 in spawn functions. Added cwait.
14538
14539 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14540
14541 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14542 doubles.
14543 * libc/include/sys/config.h: Similarly.
14544
14545 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14546
14547 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14548 target_cflags.
14549 (i[3456]86-*-sco*): Ditto.
14550
14551 * libc/signal/Makefile.in (OFILES): Add signal.o.
14552 (CFILES): Add signal.c.
14553
14554 * libc/signal/raise.c (_raise_r): Only compile code if
14555 SIGNAL_PROVIDED is defined.
14556
14557 * libc/signal/signal.c: Redo whole file so that it works with
14558 current newlib. Use _kill_r if no signal handler provided.
14559
14560 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14561 signal stubs.
14562 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14563 * libc/sys/sysnecv850/Makefile.in: Ditto.
14564
14565 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14566 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14567 * libc/sys/sysvnecv70/signal.s: Ditto.
14568 * libc/sys/sysnecv850/raise.c: Ditto.
14569
14570 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14571 simulator and debugger can tell the difference between a signal
14572 being raised and an exit system call.
14573
14574 * NEWS: Document software signals being provided.
14575
14576 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14577
14578 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14579 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14580 include/sys/config.h.
14581 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14582 Change from 'inpure_data'.
14583 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14584 &impure_data, not &inpure_data.
14585
14586 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14587 and and System V ABI, define so that _impure_ptr lives in the
14588 .sdata section.
14589
14590 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14591
14592 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14593 nothing if not defined.
14594 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14595 its attributes.
14596
14597 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14598
14599 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14600
14601 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14602 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14603 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14604
14605 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14606
14607 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14608
14609 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14610
14611 * libc/include/sys/errno.h: Added net errno's.
14612
14613 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14614
14615 * libc/misc/ffs.c: New file to support ffs function for GCC test
14616 gcc.c-torture/execute/960909-1.c.
14617
14618 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14619
14620 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14621
14622 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14623 * libc/sys/sysmec/trap.S: Likewise.
14624
14625 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14626
14627 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14628 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14629
14630 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14631
14632 * libc/sys/sysmec/signal.c: Dummy file.
14633 * libc/sys/sysmec/Makefile.in: Build it.
14634
14635 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14636
14637 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14638 mips16.
14639
14640 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14641
14642 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14643 c-startup and simulator traps.
14644
14645
14646 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14647 * libc/sys/sysmec/trap0.S: Likewise.
14648
14649 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14650
14651 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14652 round to double word alignment.
14653 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14654 byte alignment.
14655
14656 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14657
14658 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14659 out of memory.
14660
14661 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14662
14663 * configure.in: Handle mn10200 and mn10300.
14664 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14665 * libc/include/sys/config.h: Likewise.
14666 * libc/sys/sysmec: New directory for mec stuff.
14667 * libc/machine/mn10300: New directory for mn10300 stuff.
14668 * libc/machine/mn10200: Similarly for mn10200 stuff.
14669
14670 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14671
14672 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14673 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14674
14675 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14676 (nlink_t): Change type from unsigned int to unsigned short.
14677 (mode_t): Ensure size is 32 bits even if int is 16.
14678 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14679 (st_spare[123]): Change type from int to long.
14680
14681 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14682
14683 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14684 byte boundary.
14685
14686 * configure.in (d10v*): Define SMALL_MEMORY.
14687
14688 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14689
14690 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14691 -mrelocatable-lib and -mno-eabi flags.
14692
14693 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14694
14695 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14696 Fix handling of mis-aligned source operand when both the
14697 destination & length are properly aligned.
14698
14699 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14700
14701 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14702 times.o, time.o and gettime.o
14703 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14704 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14705 SYS_gettimeofday.
14706
14707 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14708
14709 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14710 * libc/sys/sysnecv850/access.c: New file.
14711
14712 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14713
14714 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14715
14716 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14717 long.
14718
14719 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14720
14721 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14722
14723 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14724
14725 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14726 * libc/include/sys/config.h: Add m32r support.
14727
14728 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14729
14730 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14731 here.
14732
14733 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14734
14735 * libc/include/machine/setjmp.h: Add D10v support.
14736
14737 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14738
14739 * configure.in: Configure the "libc/syscalls" directory for
14740 the v850.
14741
14742 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14743 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14744 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14745 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14746 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14747
14748 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14749
14750 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14751 stack for args for main and other routines. Zero out args for
14752 main.
14753
14754 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14755 correctly.
14756
14757 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14758
14759 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14760 function.
14761
14762 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14763
14764 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14765 real system calls now.
14766
14767 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14768 before casting them to int.
14769 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14770
14771 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14772 aligning pointer.
14773 * libc/string/memset.c (memset): Ditto.
14774
14775 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14776 first convert ints to _POINTER_INT to eliminate GCC warning.
14777
14778 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14779 processing %p.
14780
14781 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14782 from 65000 if ints are only 16 bits.
14783
14784 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14785 from 50000 if ints are only 16 bits.
14786
14787 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14788 int type that is the same size as a pointer.
14789
14790 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14791 processing %p.
14792 (get_number): Explicitly cast number to long before shifting by 16
14793 or 24, in case ints are short.
14794
14795 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14796
14797 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14798
14799 * libc/string.h: Added ffs, removed swab.
14800 * libc/sys/errno.h: Added EOPNOTSUPP.
14801 * libc/sys/unistd.h: Added swab.
14802
14803 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14804
14805 * libc/include/sys/stat.h: Added fchmod.
14806 * libc/include/sys/unistd.h: Added fsync.
14807
14808 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14809
14810 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14811 and ECONNRESET (104) for cygwin32.
14812
14813 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14814
14815 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14816 do the static destructors.
14817
14818 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14819
14820 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14821
14822 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14823
14824 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14825 * configure.in: Recognize m32r-*-*.
14826
14827 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14828
14829 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14830 __rt_stkovf_split_small): Added default software stack overflow
14831 handlers, which just call SWI_Exit.
14832 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14833 limit initialisation.
14834
14835 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14836
14837 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14838
14839 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14840
14841 * libc/include/sys/types.h: Added ssize_t definition.
14842
14843 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14844
14845 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14846 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14847
14848 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14849 branch around a single ldi instruction.
14850
14851 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14852 Call exit, instead of just issuing a stop instruction.
14853
14854 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14855
14856 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14857
14858 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14859
14860 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14861 longs, and then cast them to __uint32_t.
14862
14863 * libc/include/sys/config.h: Protect against multiple inclusions.
14864
14865 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14866
14867 * configure.in (d10v*): Set syscall_dir.
14868
14869 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14870
14871 * libc/sys/d10v/crt0.S: Set stack pointer.
14872
14873 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14874
14875 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14876 in assembly for efficiency. Change calling convention to allow
14877 long ints to be returned.
14878
14879 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14880
14881 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14882
14883 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14884
14885 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14886 Handle empty entries in $PATH.
14887
14888 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14889
14890 * libc/machine/d10v/setjmp.S: Make it really work.
14891
14892 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14893
14894 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14895 the .stack section.
14896
14897 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14898
14899 * sys/sysnecv850/sys/file.h: Remove.
14900 * sys/sysnecv850/sys/syscall.h: New file.
14901 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14902 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14903 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14904 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14905 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14906 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14907 * sys/sysnec850/trap.S: New file.
14908 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14909 syscalls.
14910 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14911 * sys/sysnec850/sbrk.c: New version.
14912
14913 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14914
14915 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14916 as long as r6 is less than r7.
14917
14918 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14919
14920 * Makefile.in (mostlyclean): Separate from clean target. Don't
14921 remove *.a or targ-include.
14922 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14923
14924 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14925
14926 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14927 d10v.
14928 (__SMALL_BITFIELDS): Ditto.
14929
14930 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14931
14932 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14933
14934 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14935 prefix.
14936
14937 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14938 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14939 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14940 * libc/sys/sysnecv850/write.c (write): Likewise.
14941
14942 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14943 .bss.
14944
14945 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14946
14947 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14948 appropriately for D10V, depending on -mint16/-mint32.
14949
14950 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14951
14952 * configure.in: Add cases for D10V.
14953
14954 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14955
14956 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14957
14958 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14959
14960 * libc/include/machine/ieeefp.h: Fix typo.
14961
14962 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14963
14964 * libc/sys/d10v: New directory for D10V stuff.
14965 * libc/include/machine/ieeefp.h: Add D10V defines.
14966
14967 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14968
14969 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14970 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14971 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14972 * libc/string/strerror.c (strerror): Add them.
14973
14974 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14975
14976 * libc/sys/sysnecv850: New directory for v850 stuff.
14977
14978 * libc/machine/v850: New directory for v850 stuff.
14979 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14980
14981 * configure.in: Add support for the v850.
14982
14983 * libc/include/machine/ieeefp.h: Add v850 defines.
14984 * libc/include/machine/setjmp.h: Likewise.
14985 * libc/include/sys/config.h: Add v850 defines.
14986
14987 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14988
14989 * libc/include/machine/ieeefp.h
14990 * libc/include/machine/setjmp.h
14991 * libc/include/sys/fcntl.h
14992 * libc/include/sys/signal.h
14993 * libc/include/sys/types.h
14994 * libc/stdlib/system.c:
14995 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14996 API availability, __CYGWIN32__ for cygwin32 environment specific).
14997
14998 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14999
15000 * libc/include/stdlib.h: add multibyte character functions. Add
15001 __eprintf for assert.
15002
15003 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15004
15005 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
15006 arithmetic or __alignof__ to properly get the alignment, instead
15007 of hardwiring it to 4.
15008
15009 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
15010
15011 * libc/stdio/fseek.c: add fflush call to adjust seek offset
15012 on append stream (fix from NetBSD sources), adjust curoff offset
15013 for ungetc's benefit.
15014 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
15015 * libc/stdio/rewind.c: replace code with up to date NetBSD
15016 code to undo hacks made to work around above problem of not
15017 having fflush call mentioned above
15018
15019 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15020
15021 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
15022 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
15023 Partially revert last changes. The thread specific errno is set
15024 iff if the underlying syscall fails and the global errno is not
15025 zero.
15026
15027 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15028
15029 * libc/reent/filer.c: Removed files, all functions have split out
15030 into their own files.
15031 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
15032 New files containing functions formally in filer.c
15033 * libc/reent/Makefile.in: Updated for above change.
15034
15035 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
15036 syscall fails, not if errno is changed.
15037 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
15038 _write_r): Likewise.
15039 * libc/reent/fstatr.c (_fstat_r): Likewise.
15040 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
15041 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
15042 * libc/reent/signalr.c (_kill_r): Likewise.
15043 * libc/reent/statr.c (_stat_r): Likewise.
15044 * libc/reent/timer.c (_gettimeofday_r): Likewise.
15045
15046 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
15047 signalr.c, statr.c, timer.c} (errno): declare extern rather
15048 than as a common.
15049
15050 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
15051 instead of calling vfprintf so that i*printf will not require
15052 floating point support code.
15053
15054 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
15055
15056 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
15057 path delimiter.
15058 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
15059 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
15060
15061 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
15062
15063 * libc/include/signal.h: _sig_func_ptr function takes an int
15064 * libc/include/sys/signal.h: sa_handler function takes an int
15065
15066 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
15067
15068 * libc/include/machine/ieeefp.h: Simplify H8/S support.
15069 * libc/include/sys/config.h: Add missing H8/S conditional.
15070
15071 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
15072
15073 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
15074
15075 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
15076
15077 * libc/include/machine/setjmp.h: Handle H8/S.
15078 * libc/include/machine/ieeefp.h: Likewise.
15079 * libc/include/sys/config.h: Likewise.
15080 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15081 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15082 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15083 * libc/sys/h8300hms/crt0.S: Likewise.
15084
15085 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15086
15087 * Makefile.in (datadir): Set to $(prefix)/share.
15088 (oldincludedir, docdir): Removed.
15089 * doc/Makefile.in (datadir): Set to $(prefix)/share.
15090 (oldincludedir, docdir): Removed.
15091 * libc/Makefile.in (datadir): Set to $(prefix)/share.
15092 (oldincludedir, docdir): Removed.
15093 * libm/Makefile.in (datadir): Set to $(prefix)/share.
15094 (oldincludedir, docdir): Removed.
15095
15096 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15097
15098 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15099 _reent struct.
15100
15101 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15102
15103 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15104 fetch current path rules with sysconf and handler posix/win32
15105 appropriately.
15106
15107 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15108
15109 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15110 (WAIT_CHILD): Always define.
15111
15112 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15113
15114 * libc/stdlib/eprintf.c: New file.
15115 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15116 (eprintf.o): New target.
15117
15118 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15119
15120 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15121 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15122
15123 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15124
15125 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15126 NT in PowerPC endianess cases.
15127
15128 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15129
15130 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15131
15132 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15133
15134 * libc/string/strtok.c: Fix doc typo.
15135
15136 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15137
15138 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
15139 _next, _scanpoint, _signgam fields.
15140
15141 * libc/include/stdlib.h (rand_r): Added new declaration.
15142 (_rand_r, _srand_r): Removed declarations.
15143 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
15144 have been made obsolete by rand_r.
15145 * libc/stdlib/rand_r.c: New file, rand_r function as specified
15146 by POSIX.1c.
15147
15148 * libc/string/strtok.c: Update documentation to describe
15149 strtok_r().
15150
15151 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15152
15153 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15154 structure on Solaris, and PowerPC systems even though __svr4__ is
15155 defined.
15156
15157 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15158
15159 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15160
15161 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15162
15163 * host/any: Use ../.. rather than .. to get to the main build
15164 directory. This matches the current layout of the build
15165 directory.
15166
15167 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15168
15169 * libc/machine/h8300/__main.S: Delete. No longer needed.
15170 * libc/machine/h8300/Makefile.in: Corresponding changes.
15171 * libc/sys/h8300hms/crt1.c: New file.
15172 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15173 * libc/sys/h8300hms/crt0.s: Call __main.
15174
15175 * libc/sys/h8300hms/crt0.S: Use temporary label names
15176 for branch targets.
15177
15178 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15179
15180 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15181
15182 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15183
15184 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15185 .sdata on the PowerPC so that we can link newlib with code
15186 compiled with -msdata.
15187
15188 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15189
15190 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15191
15192 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15193
15194 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15195 exception handler to __cygwin_exception_handler.
15196
15197 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15198
15199 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15200
15201 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15202
15203 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15204 SunOS VPATH.
15205 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15206 wcstombs.o): Likewise.
15207
15208 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15209
15210 * libc/stdlib/environ.c (initial_env): New static local.
15211 (environ): Point to `initial_env'.
15212
15213 * libc/include/machine/setjmp.h: Clean up.
15214 (__H8300H__,__PPC__): Define _JBTYPE.
15215 (__arm__): Provide entry for.
15216 (sigjmp_buf): Delete.
15217 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15218
15219 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15220
15221 * libc/machine/h8300/strcmp.S: Sign extend the result to
15222 32bits so we don't lose with -mint32.
15223
15224 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15225
15226 * libc/sys/go32/sys/errno.h: New file.
15227 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15228 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15229 errno's address (make compatible with rest of newlib).
15230 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15231 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15232
15233 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15234
15235 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15236 * libc/machine/sparc/Makefile.in: Build them.
15237 * libc/machine/sparc/machine/sparclet.h: New file.
15238
15239 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15240
15241 * libc/machine/sh/asm.h: New file.
15242 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
15243 support for SH3e's FP registers. Use asm.h.
15244
15245 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15246
15247 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15248 as first argument. Call _dtoa_r and pass the reent structure
15249 instead of calling __dtoa.
15250
15251 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15252
15253 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15254 the h8300, h8500, and others. Add comments for some rather
15255 dubious code.
15256
15257 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15258
15259 * Makefile.in (check): Check that testsuite exists before cd.
15260
15261 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15262
15263 * libc/include/string.h (strsep): Correct prototype.
15264
15265 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15266
15267 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15268 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15269 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15270
15271 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15272
15273 * libc/posix/{creat.c,isatty.c}: New files.
15274 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15275
15276 * libc/sys/sparc64/crt0.S (environ): Delete.
15277 (.LHaveBias): Renamed from HaveBias.
15278
15279 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15280
15281 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15282 (_morecore_r): Delete SBRK_IS_ALLOC support.
15283
15284 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15285
15286 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15287 module rather than touch, so we don't get warning messages when
15288 all of the libraries are combined into libc.a.
15289
15290 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15291
15292 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15293 crt0.s replaced by version in libgloss.
15294
15295 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15296
15297 * libc/reent/Makefile.in (OFILES): Add impure.o.
15298 * libc/reent/impure.o: New file, define initial reentrancy struct.
15299 * libc/reent/reent.c: Remove above definition.
15300
15301 * libm/math/sf_asinh.c: Fix typo.
15302
15303 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
15304 srf_ldexp.o.
15305
15306 * libm/libm.texinfo: Change documentation to reflect changes
15307 in reentrancy model.
15308 * libm/math/w_gamma.c: Likewise.
15309
15310 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15311
15312 * configure.in (*-*-cygwin32): New.
15313 (*-*-win32): Deleted.
15314 * libc/sys/win32 renamed libc/sys/cygwin32.
15315
15316 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15317
15318 * libc/include/sys/file.h: New include file.
15319
15320 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15321
15322 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15323
15324 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15325
15326 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15327
15328 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15329
15330 * doc/makedoc.c (realloc): Declare at file scope.
15331 (catchar): Not here.
15332
15333 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15334
15335 * Makefile.in (VERSION): Update to 1.7.0.
15336 * {libc,libm}/Makefile.in (VERSION): Likewise.
15337 * configure.in: Minor clean up of multilib stuff.
15338
15339 From David Johnson <davidj@ICSI.Berkeley.EDU>
15340 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15341
15342 * libc/stdlib/environ.c: New file.
15343 * libc/stdlib/Makefile.in (OFILES): Build it.
15344 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15345 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15346 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15347 * libc/sys/netware/environ.c: Deleted.
15348
15349 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15350
15351 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15352
15353 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15354
15355 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15356 declaration out to external scope and declare it PTR, not char *.
15357
15358 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15359
15360 * libc/include/sys/unistd.h (getpagesize): New declaration.
15361 (_SC_PAGESIZE): New definition.
15362 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15363 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15364
15365 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15366
15367 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15368 addressing. System call returns size, not (last address + 1).
15369
15370 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15371
15372 * libm/math/*.c: Removed _foo_r() reentrancy API.
15373 * libc/include/math.h: Removed _foo_r prototypes and macros.
15374
15375 * libm/math/*.c: On systems with IEEE single precision "doubles"
15376 move foo() -> foof() wrapper code from the files that implement
15377 the standard IEEE double precision functions to the files that
15378 implement IEEE single precision functions. (ie. On those systems
15379 sin is moved from s_sin.c to sf_sin.c). There should eventually
15380 be use of a C extension (like gcc's alias attribute) so that the
15381 wrappers are not needed at all.
15382
15383 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15384 strict NEC V810 compiler.
15385 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15386 for same reason.
15387
15388 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15389
15390 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15391 from NetBSD C library.
15392 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15393
15394 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15395 and adapted from implementation I wrote for NetBSD C library.
15396 The difference is __assert doesn't take a format argument,
15397 so that there won't be multiple copies of the same string
15398 constant in the executable if assertions are enabled in
15399 more than one source module.
15400 * libc/include/assert.h (assert): Changed to call __assert.
15401
15402 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15403
15404 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15405 word1 on systems with 32 bit doubles.
15406 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15407 so that we can do arithmetic on them.
15408 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15409 compilers.
15410
15411 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15412
15413 * libc/sys/arm/crt0.S: Zero bss.
15414
15415 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15416
15417 * libc/include/unctrl.h: New file.
15418 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15419 * configure.in (subdirs): Add libc/misc.
15420 * libc/Makefile.in (SUBDIRS): Add misc.
15421 (SUBLIBS): Add misc/lib.a.
15422
15423 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15424
15425 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15426
15427 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15428 (_vfprintf_r): Call CHECK_INIT.
15429
15430 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15431
15432 * Makefile.in (MULTITOP): Delete.
15433 (MULTISRCTOP, MULTIBUILDTOP): Add.
15434 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15435 instead of cfg-ml-pos.in.
15436
15437 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15438
15439 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15440 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15441 presence.
15442
15443 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15444
15445 * libc/string/strtok.c: Include string.h to pick up strtok_r
15446 prototype.
15447
15448 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15449
15450 * libc/string/strtok.c: include <_ansi.h>.
15451 * libc/time/asctime_r.c: `reresult' -> `result'.
15452
15453 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15454
15455 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15456 in #ifndef _REENT_ONLY ... #endif conditional.
15457
15458 * libc/include/string.h (_strtok_r): Remove declaration.
15459 * libc/include/time.h (_asctime_r): Remove declaration.
15460 * libc/string/strtok.c (_strtok_r): Removed.
15461 * libc/time/asctime.c (_asctime_r): Removed.
15462
15463 * libc/string/Makefile.in (OFILES): Add new object.
15464 * libc/string/strtok_r.c: New file. strtok_r function as
15465 specified by POSIX.1c, adapted from strtok implementation
15466 from NetBSD C library.
15467 * libc/string/strtok.c (strtok): Reimplemented in terms of
15468 strtok_r.
15469
15470 * libc/time/Makefile.in (OFILES): Add new objects.
15471 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15472 New files, reentrant time functions specified by POSIX.1c.
15473 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15474 reentrant time functions re-written in terms of reentrant
15475 functions.
15476 * libc/time/lcltime.c: Renamed from localtime.c
15477
15478 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15479 gmtime_r, and localtime_r.
15480
15481 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15482
15483 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15484 * libc/include/sys/unistd.h (getlogin): Revert change of
15485 Oct 19.
15486 * libc/include/sys/signal.h (sigprocmask): Change prototype
15487 so it compiles with c++.
15488
15489 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15490
15491 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15492 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15493 to give some room in case we need to align the jmp_buf.
15494
15495 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15496 the new ppc-asm.h include file the compiler provides to specify
15497 function prologue/epilogue. Eliminate saves of the xer and ctr
15498 registers, which are volatile. Before starting to save registers,
15499 align to 8 byte boundary.
15500
15501 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15502
15503 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15504 referenced by standard libraries.
15505
15506 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15507
15508 * libc/unix/Makefile.in, libc/string/Makefile.in,
15509 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15510 libc/posix/Makefile.in:
15511 Remove tabs from otherwise empty line. Confuses some
15512 older non-GNU versions of "make".
15513
15514 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15515
15516 * libc/sys/unistd.h (getlogin): Returns const char *.
15517
15518 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15519
15520 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15521 * libc/include/errno.h: Moved into and include...
15522 * libc/include/sys/errno.h: New file.
15523 * libc/include/sys/wait.h: New file.
15524 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15525 * libc/sys/win32/*: Moved out.
15526 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15527 * configure.in (i[345]86-*-win32): HAVE_RENAME
15528
15529 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15530
15531 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15532 avoid macro expansion for these two names.
15533
15534 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15535
15536 * libc/machine/h8500/psi.S: r6 renamed to fp.
15537
15538 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15539
15540 * configure.in (powerpc*): No longer need to define
15541 NO_LONGLONG_POINTERS to supress warnings.
15542
15543 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15544
15545 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15546 through PTR instead of directly.
15547
15548 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15549 non-standard constructor support.
15550
15551 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15552
15553 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15554 address of the Bigint instead of the address of its _x field,
15555 as the size the result buffer was calculated accordingly.
15556 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15557
15558 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15559 from NetBSD C library. No longer special cases division by
15560 zero (which needs to be done by the application anyway), but
15561 it doesn't need to call abs() (or labs()) four times either.
15562
15563 * libc/stdlib/qsort.c: Replaced with implementation from
15564 NetBSD C library.
15565
15566 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15567
15568 * libc/stdio/vfprintf.c: Replaced with implementation from
15569 NetBSD C library (which is derived from the 4.4BSD C library).
15570 * libc/stdio/cvt.c: Removed.
15571 * libc/stdio/Makefile: Updated.
15572
15573 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15574
15575 * libc/sys/win32/syscalls.c (rename): New.
15576 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15577
15578 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15579
15580 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15581 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15582
15583 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15584 (setjmp.o): Delete rule to build setjmp.o.
15585 * libc/sys/sh/setjmp.S: Delete file.
15586
15587 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15588
15589 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15590 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15591 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15592 pow5mult and s2b to identifiers with leading underscores.
15593 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15594 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15595
15596 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15597
15598 * libc/sys/posix/popen.c (sys/types.h): Include.
15599
15600 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15601
15602 * libc/sys/win32/syscalls.h (fhandler): New struct.
15603 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15604 (__fhandler_normal): Declare.
15605 (hinfo): New member op_handlers.
15606 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15607 (__write): Likewise.
15608 (_read, _write, _open, _close, _lseek): Validate fd here.
15609 Move file type specific stuff to foo_normal.
15610 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15611 New functions.
15612 (__lookup_fhandler): New function.
15613 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15614
15615 From anders.blomdell@control.lth.se (Anders Blomdell)
15616 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15617 Don't touch standard handles.
15618 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15619 (_execve): Only create __FD_TABLE__ if necessary.
15620 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15621
15622 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15623
15624 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15625 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15626 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15627 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15628 without a handler is received.
15629 * libc/sys/win32/Makefile.in: Remove --nodelete.
15630 * libc/sys/win32/resouce.c (gettimeofday): New.
15631 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15632 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15633
15634 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15635
15636 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15637 Don't append "/*" to search pattern if trailing '/' already there,
15638 append "*".
15639 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15640 like /'s, convert them to \'s. Handle //<drive>/ path names.
15641 Add space for quoted \'s in arg string. Print translated prog name
15642 and original prog name.
15643 (_execve): Handle parent doing exec a teensy bit better.
15644 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15645 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15646 path needs conversion, handle both cases. Delete `const' from result.
15647 (hash_path_name): New function.
15648 (_open): Call it.
15649 (_stat): Likewise. Fill in more fields for directories.
15650 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15651 (wait_for_any): Fix trace message.
15652 (waitpid): Explicitly test for intpid == 0.
15653
15654 From anders.blomdell@control.lth.se (Anders Blomdell)
15655 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15656 so `next' is valid.
15657
15658 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15659
15660 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15661 complicated.
15662
15663 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15664
15665 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15666 at all, not just == 1.
15667 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15668
15669 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15670
15671 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15672 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15673 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15674 file.
15675
15676 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15677
15678 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15679
15680 * libc/sys/signal.c (sleep): Fill it in.
15681 * libc/sys/termios.c (tcflush): Use PurgeComm
15682 (tcsetattr): Set some more of the bits.
15683 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15684
15685 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15686
15687 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15688 Conditionally include .idata$3 stuff ifdef __pe__.
15689
15690 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15691
15692 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15693 * libc/sys/win32/pipe.c (pipe): Ditto.
15694 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15695 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15696 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15697 (tcgetattr): Contents are new.
15698 * libc/sys/win32/include/winkernel.h (DCB): New.
15699 (GetCommState, SetCommState): New.
15700
15701 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15702
15703 * libc/sys/arm/crt0.S (_start): Define.
15704
15705 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15706
15707 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15708 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15709
15710 * libc/sys/win32/sysconf.c: New
15711 * libc/sys/win32/sys/winadvapi.h: New
15712 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15713 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15714 * libc/sys/win32/pipe.c (pipe): Ditto.
15715 * libc/sys/win32/signal.c (_raise): New.
15716 (_kill): Moved from spawn.c
15717 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15718 * libc/sys/win32/syscalls.c (__read): Use new fields.
15719 (_open): Ditto.
15720 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15721 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15722 * libc/include/sys/unistd.h (rmdir): Takes const path.
15723 * libc/include/sys/stat.h (mkdir): Takes const path.
15724 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15725
15726 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15727
15728 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15729
15730 Add support for specifying paths as //<drive>/foo/bar.
15731 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15732 (__path_to_real_path): Declare.
15733 (PATH_TO_REAL_PATH): New macro.
15734 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15735 (__path_needs_conversion_p, __path_to_real_path): New functions.
15736 (_open): Fix test for error return from CreateFileA.
15737 Handle new path syntax.
15738 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15739 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15740
15741 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15742
15743 * libc/sys/win32/include/*.h: Reorganized
15744 * libc/sys/win32/include/WINREADME: New.
15745 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15746 * libc/sys/win32/*.c: Fix for new include scheme.
15747 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15748 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15749 * libc/sys/win32/passwd.c (*): Fix.
15750 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15751 (_stat): Get directory owner and permissions right.
15752 * libc/sys/win32/syscalls.h (uinfo): New.
15753 * libc/sys/win32/version.def: Remove leading underscores.
15754
15755 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15756
15757 * libc/sys/win32/key.c: include "include/wincon.h".
15758
15759 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15760
15761 * libc/sys/win32/{key, stubs}.c: New.
15762 * libc/sys/win32/Makefile: Adjust to cope.
15763 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15764 (environ_init): Change env names to upper case.
15765 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15766 * libc/sys/win32/passwd.c (*): Fill in the functions.
15767 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15768 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15769 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15770 (_open): Initialze hmap->execable_p too.
15771 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15772 (_fstat): Fill in permissions.
15773 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15774
15775 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15776
15777 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15778 if defined.
15779 (cfg-ml-pos.in invocation): Likewise.
15780
15781 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15782
15783 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15784 s_isnan.o and sf_isnan.o.
15785
15786 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15787
15788 * All Makefile.in files: added maintainer-clean target as a
15789 synonym for realclean.
15790
15791 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15792
15793 * libc/include/machine/setjmp.h: Add hppa support.
15794 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15795 support.
15796 * libc/machine/hppa/Makefile.in: Related changes.
15797
15798 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15799
15800 * configure.in (machine_dir): Don't set for v810-*-*.
15801
15802 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15803
15804 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15805 conventions correctly.
15806
15807 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15808
15809 * libc/stdio/puts.c: Update documentation of return value to match
15810 ANSI standard.
15811
15812 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15813
15814 Fix file descriptor inheritance.
15815 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15816 (NOT_OPEN_FD): Fix.
15817 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15818 close-on-exec flag not set. Initialize child's entire fd table.
15819 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15820 CHILD_P.
15821 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15822 if CHILD_P. Initialize entire hmap entry.
15823 (dup): Only create new handle as inheritable if CHILD_P.
15824 (dup2): Likewise. Properly initialize hmap entry.
15825
15826 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15827 _spawn.
15828 (_exit): Use CHILD_P.
15829 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15830 (_stat): Likewise.
15831
15832 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15833
15834 * libc/sys/win32/crt0.c (passover): fix up the state table.
15835 * libc/posix/popen.c: Added.
15836 * libc/posix/Makefile.in: compile popen.c.
15837
15838 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15839
15840 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15841 h8/500 define _DOUBLE_IS_32BITS.
15842
15843 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15844
15845 Get vfork/exec/spawn/cwait/wait working again.
15846 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15847 (procinfo): New member vfork_level.
15848 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15849 (vfork_init_first): Use GetCurrentProcessId to get pid.
15850 Initialize vfork_level.
15851 (vfork_init): Delete __PID__.
15852 (environ_init): New function. Undo patch of Aug 19, Posix says
15853 environment variables are case sensitive.
15854 (mainCRTStartup): Call it.
15855 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15856 (my_longjump: Make static.
15857 (_spawn): New argument `h'. Delete setting of __PID__.
15858 Delete local `idx'. Look for chars that need quotes, rather than
15859 ones that don't. Set handle of created process in `h'.
15860 Result is process id if created task.
15861 (allocate_spawn_entry): New function.
15862 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15863 (_execve): Set __FD_TABLE__ before spawning child.
15864 Scan our fd table when passing fds, not our parent's.
15865 Store handle and pid in procinfo entry.
15866 (vfork0): Ensure strace message always printed.
15867 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15868 (vfork): Don't clobber result of vfork0.
15869 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15870 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15871
15872 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15873 and `exit_code'.
15874 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15875 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15876 adding vfork level to pseudo-pid.
15877 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15878 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15879 (_exit): If child, set exit code.
15880 (__vfork_record_death): Only close process handle if valid.
15881 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15882 didn't exec.
15883 (wait_for_any): Likewise. Start scan after root entry.
15884
15885 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15886
15887 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15888 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15889 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15890 of actual file length.
15891
15892 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15893 * libc/include/paths.h: _PATH_BSHELL added.
15894 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15895 and STDERR_FILENO.
15896
15897 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15898
15899 * libc/include/ar.h: Added.
15900 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15901 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15902 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15903 on filename.
15904 (_fstat): use .namehash for inode number of the fd.
15905
15906 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15907
15908 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15909 Change hinfo to __this_procinfo.
15910 * libc/sys/win32/crt0.c: Remove procinfo_list.
15911
15912 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15913
15914 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15915 win32 environment.
15916
15917 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15918
15919 * libc/sys/win32/include/grp.h: Removed.
15920 * libc/sys/include/grp.h: Added.
15921 * libc/sys/win32/grp.c: Include <grp.h>.
15922
15923 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15924
15925 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15926 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15927 Defined for all but strict ANSI.
15928 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15929 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15930 * libc/signal/signal.c (_signal_r): Changed from using
15931 _MAX_SIGNALS to NSIG.
15932 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15933 __hmap): Deleted.
15934 (__strace, __vfork_next_pid): New.
15935 (__exe_suffix): Default to 1.
15936 (passover, table): Understand quoted arguments.
15937 (vfork_init_first): New.
15938 (vfork_init): Initialize new process structure.
15939 (mainCRTStartup): Pass environ to main.
15940 * exceptions.c (__sig_mask): New
15941 (ehandler3): Ignore signals in mask.
15942 (really_exit): Remove CHILD_P test.
15943 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15944 * resource.c (getrusage): Ditto.
15945 * signal.c (sigprocmask): New.
15946 * spawn.c (*): Rewritten.
15947 * syscalls.c (*): Use new process and file structure.
15948 (find_unused_handle): New.
15949 * syscalls.h (MAX_HANDLES): Deleted.
15950 (hinfo): Removed child_created_p.
15951 (MAX_CHILDREN): Deleted.
15952 (vfork_jmp_info, procinfo): New.
15953 * wait.c (*): Mostly new.
15954 * sys/strace.h (_STRACE_PARANOID): New.
15955 * sys/param.h: New file.
15956
15957 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15958
15959 * libc/include/sys/stat.h: add S_BLKSIZE.
15960 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15961 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15962 types under win32.
15963 (mode_t): add a #else to avoid multiple definitons.
15964
15965 * libc/sys/win32/Makefile.in: add grp.c.
15966 * libc/sys/win32/grp.c: include grp.h correctly.
15967 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15968 of the st structure with real information.
15969 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15970
15971 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15972
15973 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15974 and (maybe) sparc64.
15975 (nlink_t): Provide typedef.
15976
15977 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15978
15979 * libc/sys/win32/grp.c: New file.
15980 * libc/sys/win32/include/grp.h: New file.
15981
15982 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15983
15984 * libc/include/machine/ieeefp.h: Added whitespace to make this
15985 file easier to maintain.
15986 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15987 depending on the value of __LITTLE_ENDIAN__.
15988 On the sh3e, define _DOUBLE_IS_32BITS.
15989
15990 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15991
15992 * libc/sys/vr4300/syscalls.c: Added missing support
15993 routines. _raise() and getpid().
15994
15995 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15996
15997 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15998
15999 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
16000
16001 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
16002 and VR4300 processor.
16003 * libc/sys/vr4300: Add directory.
16004 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
16005 monitor run-time support.
16006
16007 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16008
16009 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
16010 * libc/stdlib/stdlib.tex: Don't include atol.def.
16011
16012 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16013
16014 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
16015
16016 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
16017
16018 * libc/ctype/Makefile.in: Fill in _to* dependencies.
16019
16020 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
16021
16022 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
16023 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
16024 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
16025 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
16026 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
16027
16028 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16029
16030 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
16031
16032 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16033
16034 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
16035 * libc/stdlib/atoff.c: New file.
16036 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
16037 * libc/stdlib/atoi.c (atol): Removed.
16038 * libc/stdlib/atol.c: Removed duplicate documentation.
16039
16040 * libc/include/ctype.h (_tolower, _toupper): Moved inside
16041 #ifndef _STRICT_ANSI conditional.
16042 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
16043 * libc/ctype/_tolower.c: New file.
16044 * libc/ctype/_toupper.c: New file.
16045 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
16046 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
16047 * libc/ctype/toascii.c (_toascii): Removed.
16048
16049 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
16050
16051 * libc/sys/sparc64/sys/types.h: Deleted.
16052
16053 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16054
16055 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
16056 and recognize Windows_95 systems.
16057
16058 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16059
16060 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
16061 and passed fds should be opened in text mode.
16062
16063 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
16064
16065 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
16066 in __hmap, set to binary mode by default.
16067
16068 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16069
16070 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
16071 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
16072 vector 34.
16073
16074 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
16075
16076 * Makefile.in (install): Install all libraries found in the
16077 top level. If there's a sys/<type>/include directory,
16078 install those headers into include.
16079
16080 * libc/sys/win32/kernel.def351: Delete
16081 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16082 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16083 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16084 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16085 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16086 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16087 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16088 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16089
16090 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16091 * libc/sys/win32/crt0.c: Force all env names to upper case.
16092 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16093 * libc/sys/win32/*.c: Headers have moved.
16094 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16095 __vfork_child_idx is now __vfork_child_ptr.
16096
16097 * posix/execvp (execvp): Don't crash if no PATH envname.
16098
16099 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16100
16101 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16102 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16103 through the _freelist instead of through the _reclaim list.
16104 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16105 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16106 sources.
16107
16108 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16109
16110 * libc/machine/h8500/setjmp.S: New file.
16111 * libc/include/machine/setjmp.h: Updated for H8/500.
16112
16113 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16114
16115 * libc/sys/win32/syscalls.c (_open): More stracing.
16116 (_stat): Open the file in O_BINARY.
16117
16118 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16119
16120 * libc/machine/h8300/setjmp.S: New file.
16121 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16122
16123 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16124
16125 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16126 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16127 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16128 __exe_suffix. Free fd_tab after setting env variable.
16129 (spawnv,_execve): Update.
16130 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16131 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16132 (__small_vfprintf): New function.
16133 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16134 * libc/sys/win32/wait.c (cwait): Validate argument.
16135
16136 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16137 (process_deletion_queue): Likewise.
16138
16139 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16140
16141 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16142
16143 * libc/sys/win32: Copyrights and gratuitous indenting.
16144
16145 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16146
16147 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16148 (process_deletion_queue): Likewise.
16149 (__close_all_files): New function.
16150 (_close): Only queue file deletion if really a file.
16151 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16152 _P_APPEND_EXE.
16153 (_exit): Call __close_all_files.
16154
16155 * libc/stdlib/system.c: #include <errno.h>.
16156 (_system_r): Fix results in -DNO_EXEC case.
16157
16158 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16159 Reorganize structure.
16160 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16161 if argument is valid. Save directory name in DIR. malloc space
16162 for dirent struct separately.
16163 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16164
16165 * libc/include/errno.h (ENAMETOOLONG): Define.
16166 * libc/string/strerror.c (strerror): Reword ENFILE.
16167 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16168
16169 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16170
16171 * libc/sys/win32/crt0.c (__progname): New global.
16172 (mainCRTStartup): Support strace=bitmask,filename.
16173 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16174 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16175 if error.
16176 (getcwd): Handle len too small. Convert '\\' to '/'.
16177 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16178 Add prototypes for open, creat, fcntl.
16179 (O_APPEND): Change value to conform to Microsoft's value.
16180 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16181
16182 * libc/stdlib/getopt.c: New file.
16183 * libc/stdlib/Makefile.in: Build it.
16184
16185 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16186
16187 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16188 Fix scanning of $PATH.
16189 * libc/posix/exec*.c: Call _execve, not execve.
16190 * libc/posix/execve.c: New file.
16191 * libc/posix/Makefile.in (OFILES): Add execve.o.
16192
16193 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16194 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16195 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16196 * libc/sys/win32/crt0.c: Update _STRACE calls.
16197 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16198
16199 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16200
16201 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16202 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16203 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16204 Print __seterrno trace message first.
16205 (_execve): Renamed from execve.
16206 (vfork): Update __strace usage.
16207 (__vfork_child_pid): Deleted.
16208 (__vfork_children, __vfork_child_idx): New globals.
16209 (_spawnvp): New function.
16210 (spawnvp, spawnv, _execve): Call _spawnvp.
16211 (init_child): Record child in __vfork_children.
16212 (__vfork_get_entry, __vfork_record_death): New functions.
16213 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16214 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16215 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16216 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16217 (children): New typedef.
16218 (__vfork_children,__vfork_child_idx): Declare.
16219 (__vfork_get_entry,__vfork_record_death): Declare.
16220 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16221 (waitpid): Handle pid == -1.
16222 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16223 * configure.in (i386-win32): Add -DNO_FORK.
16224 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16225 * libc/reent/execr.c (_fork_r): Likewise.
16226 * libc/stdlib/system.c (do_system): New function.
16227 If WIN32, try to get shell path from $SH_PATH, use vfork.
16228 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16229 otherwise return 0.
16230
16231 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16232
16233 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16234 * libc/sys/win32/fcntl.h: Don't include self.
16235 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16236 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16237 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16238 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16239 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16240 Correct prototypes.
16241 * libc/sys/win32/strace.c: New file.
16242 * libc/sys/win32/smallprint.c: New file.
16243 * libc/sys/win32/crt0.c (func): Delete.
16244 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16245 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16246 * libc/sys/win32/exceptions.c: Lint.
16247 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16248 Clean up handle usage.
16249 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16250 (open.c): Default file type is text.
16251 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
16252 * libc/sys/win32/advapi32.def: New
16253
16254 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16255
16256 * configure.in (posix_dir, libc_posix_lib): New variables.
16257 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16258 (i[345]86-*-win32): Define posix_dir.
16259 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16260 (if unix_dir): Fix typo.
16261 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16262 scandir,seekdir,telldir}: New files.
16263 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16264 from libc/unix.
16265 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16266 (SUBDIRS): Add posix.
16267 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16268
16269 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16270 (NSIG): Increase to 21.
16271 * libc/include/sys/unistd.h (pid_t): Move from here,
16272 * libc/include/sys/types.h (pid_t): to here.
16273
16274 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16275 (__ptrace): Delete.
16276 (hinfo): New members close_exec_p, child_created_p.
16277 (struct exception_list): Define.
16278 (__hmap): Redefine as pointer to table.
16279 (__parent_hmap, __child_hmap): New globals.
16280 (__set_errno, __really_exit): Declare.
16281 (__vfork_child_pid): Declare.
16282 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16283 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16284 (__parent_hmap, __child_hmap): New globals.
16285 (__hmap): Redefine as pointer to active map.
16286 (__get_console): New function.
16287 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16288 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16289 mapping table from it if defined.
16290 (argv, envp): Dump if __strace >= 4.
16291 (main): Call here.
16292 * libc/sys/win32/exceptions.c (myp): Redefine.
16293 (__syscalls_b): Delete.
16294 (__stack_trace): New function.
16295 (ehandler3): Update to use _STRACE. Print stack trace.
16296 Call __really_exit instead of exit.
16297 (init_exceptions): Delete args argc,argv. New arg mine.
16298 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16299 FindFirstFileA, FindNextFileA, GetComputerNameA,
16300 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16301 * libc/sys/win32/signal.c (signal): Validate arg.
16302 (alarm, sleep): Define as stubs for now.
16303 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16304 (__syscalls_b, errno): Delete.
16305 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16306 (__seterrno): Handle more errors.
16307 (__sys_printf): Renamed from _ptrace.
16308 (__really_exit): New function.
16309 (queue_file_deletion, process_deletion_queue): New functions.
16310 (__resume_parent): New function.
16311 (_unlink): Handle trying to delete open file.
16312 (__totime_t): Renamed from totime_t.
16313 (setsid, __read, __write): New functions.
16314 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16315 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16316 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16317 * libc/sys/win32/console.c: Update to new definition of __hmap.
16318 * libc/sys/win32/Makefile.in: Build new files.
16319 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16320 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16321 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16322 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16323
16324 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16325
16326 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16327
16328 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16329
16330 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16331 have been made to the master dtoa.c sources (from netlib.att.com)
16332 since they were integrated into newlib in early 1992. Fixes
16333 problems with storage leaks and handling of numbers with very
16334 negative exponents.
16335
16336 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16337
16338 * Makefile.in (all): set rootpre and srcrootpre before calling
16339 sub-makes.
16340
16341 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16342
16343 * libc/sys/win32/crt0.c: Change __hmap usage.
16344 * libc/sys/win32/exceptions.c: Use _ptrace call.
16345 * libc/sys/win32/syscalls.c: Use _ptrace call.
16346 (read, write): Cope with DOS style CRLF when in TEXT mode.
16347 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16348 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16349 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16350 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16351 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16352
16353 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16354
16355 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16356
16357 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16358 wrappers for hypot() and remainder() for BSD libm compatibility.
16359 These are public domain implementations written by me for the
16360 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16361 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16362 (fobj): Added wf_cabs.o and wf_drem.o.
16363
16364 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16365
16366 * libc/sys/h8500hms/misc.c: New file.
16367 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16368
16369 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16370
16371 * libc/time/localtime.c (localtime): Fix problem with leap year
16372 handling. Stole algorithm from Arthur David Olson's tz code.
16373
16374 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16375
16376 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16377
16378 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16379 (_exit): Use argument.
16380
16381 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16382
16383 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16384
16385 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16386
16387 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16388
16389 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16390
16391 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16392 target_cflags.
16393
16394 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16395
16396 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16397 ptrace with case insensitivity
16398 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16399 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16400 New files.
16401
16402 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16403
16404 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16405 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16406 (all, install, *clean): Use new multilib support.
16407 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16408
16409 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16410
16411 * libc/include/sys/signal.h (__WIN32__): New.
16412
16413 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16414
16415 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16416 (ulp, b2d): Handle 32 bit doubles.
16417 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16418 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16419
16420 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16421
16422 from medp@primag.co.uk:
16423 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16424 dynamically allocated buffers.
16425
16426 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16427
16428 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16429 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16430
16431 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16432
16433 * configure.in (powerpc): Fix previous fix.
16434
16435 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16436
16437 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16438 directories for this target.
16439
16440 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16441
16442 * configure.in (hppa): Add machine_dir definition.
16443 * libc/machine/hppa: New directory with PA specific implementations
16444 of the basic memory/string functions.
16445
16446 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16447
16448 * configure.in: Update current PowerPC multilib directories.
16449 Split big and little endian configurations.
16450
16451 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16452
16453 * configure.in: Add --enable-single-float option to configure to
16454 control use of MIPS single-float directories. Default to yes.
16455
16456 * Makefile.in (all): Don't recurse into multilib directory if it
16457 does not exist.
16458
16459 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16460
16461 * libc/sys/sh/syscalls.c: Fix typo.
16462
16463 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16464
16465 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16466 Pass down DLLTOOL.
16467 * libc/include/process.h: Define WAIT_CHILD.
16468 * libc/include/types.h: Get sizes right for win32.
16469 * configure.in (i386-*-pe): Becomes i386-win32.
16470 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16471 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16472 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16473 is defined.
16474
16475 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16476
16477 * configure.in (i[345]86-*-pe): New target (NT).
16478 * host/any: DLLTOOL new.
16479 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16480 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16481 WIN32 (just enough to cross host the comp-tools).
16482
16483 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16484
16485 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16486 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16487
16488 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16489
16490 * libc/include/machine/ieeefp.h (arm): Change to always be
16491 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16492
16493 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16494
16495 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16496 * libc/sys/syscalls.c (abort): New.
16497 * configure.in (arm): Define ABORT_PROVIDED.
16498
16499 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16500
16501 * configure.in (powerpc): Define multidirs.
16502
16503 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16504
16505 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16506
16507 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16508
16509 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16510
16511 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16512
16513 * configure.in, libc/include/machine/ieeefp.h: Modified
16514 for arm:
16515 libc/machine/arm/*, libc/sys/arm/*: New
16516
16517 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16518
16519 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16520 __powerpc__ when determining endianness.
16521
16522 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16523
16524 * configure.in (m68*): Add multidir for the m68332.
16525
16526 * host/any (CC): Fix typo in last change.
16527
16528 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16529
16530 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16531 when determining endianness.
16532 * libc/include/machine/ieeefp.h: Ditto.
16533 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16534 operands.
16535
16536 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16537
16538 * libc/include/errno.h (ENOTEMPTY): Define.
16539
16540 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16541
16542 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16543 target_cflags.
16544
16545 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16546 and umultiply.o.
16547
16548 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16549 instead of only when open succeeds. ANSI requires that multiple
16550 calls to tmpnam() result in different files.
16551
16552 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16553 objects pulled in from /lib/libc.a that must be renamed before
16554 being pulled into newlib. /lib/libc.a's div.o conflicted with
16555 newlib's file with the same name.
16556
16557 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16558
16559 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16560 the build tree will only be used if the executables are present
16561 (instead of just the Makefiles).
16562
16563 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16564 wcstombs): Define.
16565 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16566 versions of these functions that I orignally wrote for the
16567 NetBSD C library.
16568 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16569 versions I wrote for NetBSD.
16570
16571 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16572
16573 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16574 * libc/sys/sparclite/crt0.s: ditto.
16575
16576 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16577
16578 * configure.in: Add soft-float for proelf.
16579
16580 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16581
16582 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16583 of bytes.
16584
16585 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16586
16587 * Makefile.in (all): Depend on `force'.
16588 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16589 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16590 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16591 * libc/Makefile.in: Likewise.
16592 * libc/include/reent.h: Update syscall references.
16593 (_fcntl_r): Add prototype.
16594 * libc/syscalls/*.c #include <reent.h>.
16595 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16596
16597 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16598
16599 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16600 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16601 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16602 (time.h, sys/types.h): Always include (even if MSDOS).
16603 (stat): Fix prototype.
16604
16605 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16606
16607 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16608
16609 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16610
16611 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16612
16613 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16614
16615 * libc/include/regdef.h: New file.
16616 * libc/machine/mips/machine/regdef.h: New file.
16617
16618 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16619
16620 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16621
16622 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16623
16624 * libc/sys/sh/crt0.S: Pass main's return to exit.
16625 * libc/sys/sh/trap.S: Put errno in the right place.
16626
16627 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16628
16629 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16630 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16631 * libm/math/ef_rem_pio2.c: Likewise.
16632 * libm/math/e_log10.c: Remove unused static one.
16633 * libm/math/ef_log10.c: Likewise.
16634 * libm/math/s_frexp.c: Likewise.
16635 * libm/math/sf_frexp.c: Likewise.
16636
16637 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16638
16639 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16640 longjmp.S: Upgraded.
16641 * libc/sys/go32/sys/setjmp.h: Upgraded.
16642 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16643
16644 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16645
16646 * configure.in: Add many entries to multidirs for mips targets.
16647
16648 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16649
16650 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16651 5.2 which fixes bug where jn(-1,x) is three times larger than
16652 the actual answer.
16653 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16654
16655 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16656
16657 * libc/sys/w65/sys/syscalls.h: New file
16658 * libc/include/machine/ieeefp.h: W65 support.
16659 * libc/include/sys/config.h: Ditto.
16660 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16661 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16662 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16663
16664 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16665
16666 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16667
16668 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16669
16670 * Makefile.in, configure.in: Remove any references to the old
16671 "stub" dir.
16672
16673 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16674
16675 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16676 uses ... in prototype.
16677
16678
16679 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16680
16681 * libc/sys/a29khif/sys/libconfig.h: Remove.
16682 * libc/sys/go32/sys/libconfig.h: Remove.
16683 * libc/sys/sun4/sys/libconfig.h: Remove.
16684 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16685 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16686 * libc/sys/sparc64/sys/libconfig.h: Remove.
16687
16688 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16689 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16690 * libc/include/math.h: Change all uses of _FLOAT_RET and
16691 _FLOAT_ARG to float.
16692 * libm/test/math.c: Likewise.
16693 * testsuite/libm.sac/math.c: Likewise.
16694 * testsuite/libm.sac/working/math.c: Likewise.
16695
16696 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16697
16698 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16699 gcc calls gas with endian option.
16700 * configure.in (sh): Build little endian version too.
16701
16702 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16703
16704 * configure.in: Configure big and little endian versions for MIPS
16705 targets.
16706
16707 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16708
16709 * libc/include/limits.h: Deleted.
16710 * libc/include/machine/limits.h: Deleted.
16711
16712 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16713
16714 * ChangeLog: Remove stub directory. This has all been rewritten
16715 and moved to devo/libgloss.
16716
16717 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16718
16719 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16720 (docs): Merge into info target.
16721 * libm/Makefile.in (dvi): Add $(srcdir).
16722 * libm/math/Makefile.in (chobjs): Remove underscores from file
16723 names. Texinfo doesn't like them.
16724 (wacos.def, ...): Add explicit targets for all .def files.
16725 * libm/math/math.tex: Remove underscores from @include file names.
16726 * doc/Makefile.in (dvi): Add dummy target.
16727 * testsuite/Makefile.in (dvi): Add dummy target.
16728
16729 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16730
16731 * Makefile.in (VERSION): Define. For net newlib releases.
16732
16733 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16734
16735 * README: New file.
16736
16737 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16738
16739 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16740
16741 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16742
16743 * libc/stdlib/setenv.c (_findenv): Declare.
16744
16745 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16746 fcntl to not use _EXFUN, and change string parameters to open and
16747 creat to be ``const char *''.
16748 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16749 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16750 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16751 (open) Make _FILE const.
16752 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16753 (_creat): Make PATH const.
16754 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16755 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16756 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16757 * libc/sys/sh/syscalls.c (_open): Likewise.
16758 * stub/shared/glue.c (open): Make BUF const.
16759 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16760
16761 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16762
16763 * libc/include/errno.h: Add ENMFILE
16764 * libc/include/sys/config.h: Support Z8000.
16765 * libc/include/sys/signal.h: New signals for go32.
16766 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16767 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16768 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16769 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16770 size is variable, depending upon CHUNK_POWER.
16771 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16772
16773 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16774
16775 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16776
16777 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16778
16779 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16780
16781 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16782
16783 * configure.in: Change i[34]86 to i[345]86.
16784
16785 * libc/include/math.h: Don't define HUGE_VAL if it is already
16786 defined.
16787
16788 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16789
16790 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16791 * testsuite/libm.sac/test_gammaf.c: Likewise.
16792 * testsuite/libm.sac/test_sin.c: Likewise.
16793 * testsuite/libm.sac/test_tanh.c: Likewise.
16794
16795 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16796
16797 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16798 already set. Define typedefs __int32_t and __uint32_t.
16799 * libc/include/math.h: Include <machine/ieeefp.h>.
16800 (union __dmath): Use __uint32_t.
16801 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16802 instead of int and unsigned int.
16803
16804 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16805
16806 Replace the math library with the SunPRO fdlibm package.
16807 * libm/math: Completely changed all files.
16808 * libm/ieeefp: Remove contents and directory.
16809 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16810 (SUBDIRS): Just set to math/lib.a.
16811 * libm/libm.texinfo: Updated for new library.
16812 * libc/include/math.h: Extensive changes for new math library.
16813 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16814 from _FLOAT_ARG to float.
16815 (maxpowtwo, maxpowtwof): Don't declare.
16816 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16817 (libm_fp_lib): Removed.
16818 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16819 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16820 argument to ${RUNTEST}.
16821 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16822 (.c.o): New rule.
16823 (RUNTESTFLAGS): Set CC and CFLAGS.
16824 (TESTS): Remove test_log2 and test_log2f.
16825 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16826 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16827 _FLOAT_ARG, for single precision argument type.
16828 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16829 expected failure. Close the input pipe.
16830 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16831 Correct misspelling of inaccurate.
16832 (test_mok): Use ``inaccurate'', not ``wrong''.
16833 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16834 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16835 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16836 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16837 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16838 test_yn.c): Correct many result values. Many are still wrong.
16839
16840 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16841 just copy the string.
16842 (_gcvt): Always return the buffer.
16843
16844 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16845
16846 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16847
16848 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16849
16850 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16851 structure.
16852 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16853 (_reclaim_reent): declare new entry point.
16854 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16855 functions.
16856
16857 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16858 ever allocated, so that we can later reclaim them all.
16859 (pow5mult): make reentrant.
16860
16861 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16862 so that when given NULL as a buffer, return a pointer to static
16863 space in the rent structure. This is not documented behaviour;
16864 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16865 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16866 therefore become reentrant).
16867
16868 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16869
16870 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16871
16872 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16873
16874 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16875
16876 * Makefile.in: Make link to libg.a after libc.a; this is needed
16877 for the testsuites to build executables when everything comes
16878 from the tree.
16879
16880 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16881
16882 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16883 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16884
16885 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16886
16887 * libc/include/stdio.h: Use __VALIST, not va_list.
16888
16889 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16890
16891 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16892 testsuite/libm.sac/execute.exp:
16893 Replace error proc calls with perror calls.
16894
16895 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16896
16897 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16898 * libc/include/time.h: #define NULL as 0L.
16899
16900 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16901
16902 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16903 care of it.
16904
16905 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16906
16907 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16908 not __unix__.
16909
16910 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16911
16912 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16913 (z8k-*-*): Use syscalls fake sys dir.
16914 * libc/sys/z8k/glue.c: Rename syscalls.
16915 * libc/sys/go32/Makefile.in: Use new routines.
16916 * libc/machine/Makefile.in: Fix typo in ln stuff.
16917
16918 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16919
16920 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16921 * libc/Makefile.in (crt0.o): Likewise.
16922 * libc/machine/Makefile.in (lib.a): Likewise.
16923 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16924
16925 All Makefile.in files: Added mostlyclean, realclean and distclean
16926 targets.
16927
16928 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16929 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16930 the top level Makefile.
16931
16932 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16933
16934 * libc/sys/sparc64/sys/stat.h: New file.
16935 * libc/sys/sparc64/sys/time.h: New file.
16936 * libc/sys/sparc64/sys/types.h: New file.
16937
16938 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16939
16940 * stub/ex93x/crt0.s (start): Add code to clear bss.
16941
16942 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16943
16944 * libc/include/sys/types.h (time_t): Properly protect inside
16945 #ifndef __time_t_defined.
16946
16947 * libc/stdio/fileno.c: New file.
16948 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16949 (fileno.o): Add dependency.
16950 * libc/include/stdio.h (__sgetc): Rename never to _never.
16951 (fileno macro): Disable, needs to do CHECK_INIT first.
16952
16953 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16954
16955 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16956 goal.
16957
16958 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16959 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16960 runtest.
16961 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16962 runtest.
16963
16964 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16965
16966 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16967 of the various constants.
16968
16969 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16970
16971 * libc/include/math.h: #ifndef __math_68881 around things which
16972 conflict with the (gcc-provided) inline functions in
16973 gcc/ginclude/math-68881.h.
16974
16975 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16976
16977 * libc/include/_syslist.h (_gettimeofday): Define.
16978 (_times): Ditto.
16979 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16980 (struct tms, timeval, timezone): Declare.
16981 (_gettimeofday_r, _times_r): Declare.
16982 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16983 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16984 (time_t): Add multiple definition protection, __time_t_defined.
16985 * libc/include/sys/time.h: Don't #include <time.h>.
16986 Always define struct timezone (remove #ifndef _TIME_H_).
16987 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16988 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16989 * libc/reent/Makefile.in (OFILES): Add timer.o.
16990 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16991 * libc/reent/timer.c: New file.
16992 * libc/time/clock.c: #include <reent.h>.
16993 (clock): Call _times_r instead of times.
16994 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16995 HAVE_GET_TIME_OF_DAY.
16996 Add comment regarding supporting OS routine(s) required (for docs).
16997 #include <reent.h>.
16998 (time): Call _gettimeofday_r instead of gettimeofday.
16999 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
17000 * libc/time/ctime.c: Ditto.
17001 * libc/time/strftime.c: Ditto.
17002 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
17003 (TEMPLATE_SFILES_R): Define here. Also define times.
17004 Add times_r.o/times.S dependence.
17005 (time2.c, junk.c): Deleted.
17006 * libc/sys/sparc64/time2.c: Deleted.
17007 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
17008
17009 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
17010 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
17011 * libc/sys/sparc64/junk.c: Deleted.
17012
17013 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
17014
17015 * libc/sys/sparc64/Makefile.in: Add times syscall.
17016 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
17017 be used with and without it. Add comment clarifying Medium/Anywhere
17018 model requirements.
17019 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
17020 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
17021 even if obsolete.
17022
17023 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
17024
17025 * configure.in (target_cflags): Move init.
17026 (sparc64-*-*): Define HAVE_BLKSIZE.
17027
17028 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
17029
17030 * libc/include/sys/_types.h: New file.
17031 * libc/include/reent.h: #include it.
17032 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
17033 MISSING_SYSCALL_NAMES.
17034 Sort syscalls.
17035 * libc/include/_syslist.h: Remove _raise.
17036 * libc/reent/signalr.c: New file.
17037 * libc/reent/Makefile.in: Compile it.
17038 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
17039 Add doc for raise and _raise_r.
17040 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
17041 (raise): Call _raise_r.
17042 (_raise_r): Call _getpid_r and _kill_r.
17043 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
17044 (abort): Loop forever calling raise and _exit.
17045
17046 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17047
17048 * configure.in: Remove extraneous echo.
17049
17050 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
17051
17052 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
17053 collision with unistd.h, and fix for svr4.
17054
17055 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
17056
17057 * libc/stdio/local.h (_llicvt): Declare.
17058 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
17059 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
17060 (_llicvt): Define.
17061 (_sicvt): Fix function header (`value' is short).
17062 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
17063 Add printing of long long's support.
17064 Add printing of 8 byte pointer support.
17065
17066 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
17067
17068 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
17069 stat, chmod): New hooks.
17070 (sbrk): Abort if stack and heap collide.
17071 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
17072 shortcut when given small args.
17073 * libc/machine/sh/setjmp.s: Rewritten.
17074 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
17075 of cmp/str instruction.
17076
17077 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17078
17079 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17080 and machine_dir powerpc.
17081 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17082 Add cases for __powerpc__.
17083 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17084 New files.
17085
17086 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17087
17088 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17089
17090 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17091 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17092
17093 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17094
17095 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17096 (print_e): More comments to describe args, etc.
17097 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17098 trailing blanks.
17099 (_gcvt): Remove locals decpt, sign, end, p, done.
17100 More comments for print_e invocation.
17101 Pass "type" to print_e as is (g/G).
17102
17103 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17104
17105 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17106 stock m68000.
17107
17108 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17109
17110 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17111 works with any sized pointer, including ones bigger than ints and
17112 longs.
17113
17114 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17115
17116 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17117
17118 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17119
17120 * libc/include/stdlib.h (_calloc_r): Add prototype.
17121 * libc/machine/h8500/negsi2.c: New file.
17122 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17123 large unsigned numbers.
17124 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17125 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17126 works when sizeof(size_t) != sizeof(char *).
17127 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17128 get play area
17129 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17130
17131 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17132
17133 * libc/include/assert.h (assert): Handle -traditional.
17134
17135 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17136
17137 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17138 the end of a line (ie. anything before a backslash continuation)
17139 so that bash handles them.
17140
17141 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17142
17143 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
17144 stat to lstat
17145
17146 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17147
17148 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17149 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17150 libc/machine/sh/udivsi3.s: Use new calling convention.
17151
17152 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17153
17154 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17155 chmod, access, chdir, chown by making _path const. Also fix _amode
17156 param of access.
17157
17158 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17159
17160 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17161 _khif_tmpnam, because it doesn't comply with ANSI but may be
17162 useful anyway. Real tmpnam was already in libc/stdio, and was
17163 colliding with this one (pr 2176.)
17164 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17165 the wrong idea anyhow.
17166
17167 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17168
17169 * configure.in: Remove h8300h, we have multilib now.
17170
17171 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17172
17173 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17174 functions, to get preference over the ones in libiberty (since we
17175 provide correct declarations in <string.h>.
17176 * libc/string/Makefile.in: add support for strncasecmp,
17177 strcasecmp.
17178
17179 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17180
17181 * Change netware config not to look for cpu explicitly.
17182
17183 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17184
17185 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17186 * libc/sys/sparc64/Makefile.in: Add dependencies.
17187
17188 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17189
17190 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17191
17192 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17193
17194 * libc/include/sys/reent.h: make structure smaller by allocating
17195 some stuff when needed.
17196 * libc/signal/signal.c: allocate as needed
17197 * libc/stdio/findfp.c,stdio/local.h: ditto
17198 * libc/stdlib/mprec.c: ditto
17199
17200 * libc/time/localtime.c: don't return a dangling stack ptr.
17201
17202 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17203
17204 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17205
17206 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17207
17208 * libc/include/stdio.h (__sputc): comment out static inline which
17209 confuses coff toolchains.
17210
17211 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17212
17213 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17214 _write.s, getpid.c, kill.c, read.s}:
17215 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17216 through the syscalls directory.
17217
17218 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17219
17220 * configure.in: fixed double quote gotcha.
17221
17222 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17223
17224 * stub/ex931: stub library for sparclite board.
17225 * stub/idp: Renamed from mc68ec. Added contructor table
17226 stuff to linker script.
17227 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17228 stuff to linker script.
17229
17230 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17231
17232 * configure.in: Configure testsuites only if they exist.
17233
17234 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17235
17236 * configure.in: Don't set machine_dir for i386 until there is
17237 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17238 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17239 CLOCK_PROVIDED and MALLOC_PROVIDED.
17240
17241 * libc/sys/netware: New directory. Contains simplistic and
17242 probably incorrect stubs for NetWare. Should be enough to load
17243 the library.
17244 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17245 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17246 stub files.
17247
17248 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17249 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17250 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17251 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17252
17253 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17254
17255 * testsuite/Makefile.in: add "docs" dummy target for consistency
17256 with rest of newlib; turn "info" and "install-info" into dummy
17257 targets, since they wouldn't have worked. (Depended on
17258 nonexistent "doc" subdir.)
17259
17260 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17261
17262 * configure.in: handle mips* instead of mips
17263
17264 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17265
17266 * libc/include/sys/dirent.h: New file. If it is not overridden by
17267 a version of libc/sys/*/sys/dirent.h, it includes the next
17268 <dirent.h> file in case there is one lurking somewhere.
17269
17270 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17271
17272 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17273 compliance, namely: Accept a minus sign. Consider a single 0 with
17274 a radix of 0 as being a conversion. Determine overflow correctly.
17275 If an overflow occurs, set *ptr to the end of the number, not the
17276 middle.
17277 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17278
17279 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17280
17281 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17282
17283 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17284
17285 * Makefile.in (INSTALL): Use $srcrootpre.
17286 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17287 can't handle it.
17288 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17289 it.
17290 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17291 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17292 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17293 * libm/math/Makefile.in (matherr.o): Ditto.
17294
17295 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17296
17297 * configure.in: Build multidirs for z8k.
17298 * libc/include/stdlib.h (_strtoul_r): add prototype.
17299 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17300 * libc/include/machine/setjmp.h: Add for z8k.
17301 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17302 * libc/sys/z8ksim/glue.c: tidy up.
17303
17304 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17305
17306 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17307 New files. Requires execve system call.
17308 * libc/unix/Makefile.in: Use them.
17309 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17310 Deleted, moved to libc/unix.
17311 * libc/sys/sparc64/Makefile.in: Remove them.
17312
17313 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17314
17315 * libc/sys/sparc64/{template.S template_r.S}: New files.
17316 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17317 from templates.
17318 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17319 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17320 umask.S unlink.S wait4.S write.S}: Removed, now built from
17321 templates.
17322
17323 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17324
17325 * libc/time/time.c: #include <_ansi.h>.
17326
17327 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17328
17329 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17330
17331 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17332
17333 * configure.in: match m8* rather than m88k so that m88110 is
17334 recognized as well.
17335
17336 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17337
17338 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17339 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17340 misc.c: New file.
17341
17342 * configure.in: Add multilib support to h8300.
17343
17344 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17345
17346 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17347 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17348 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17349
17350 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17351
17352 * configure.in: Corrected multidirs for sparc target.
17353
17354 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17355
17356 Support for building newlib multiple times with different
17357 compilation flags.
17358 * configure.in: Only configure doc at top level. Set multidirs
17359 when appropriate for target, unless not at top level. If
17360 multidirs is set, independently configure each subdirectory.
17361 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17362 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17363 automagically set by configure.in.
17364 (all): If MULTIDIRS is set, build multiple copies of libraries.
17365 (install): If MULTIDIRS is set, install multiple copies of
17366 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17367 MULTISUBDIR is set, don't bother to install header files.
17368 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17369 ${srcrootpre}.
17370 * stub/configure.in: Set MULTISUBDIR appropriately.
17371 * stub/Makefile.in (install): Install in
17372 $(tooldir)/lib/$(MULTISUBDIR).
17373 * All Makefile.in files: Define SRCTOP as well as TOP.
17374
17375 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17376
17377 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17378 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17379
17380 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17381
17382 * libc/sys/h8300hms/exit.c (_exit): New function.
17383
17384 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17385
17386 * configure.in: recognize m88110.
17387
17388 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17389
17390 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17391 prototype main and call with args.
17392
17393 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17394
17395 First real try at system traps for m88k-bug.
17396 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17397 to real trap calls.
17398 * libc/sys/m88kbug/sys/systraps.h: new file.
17399
17400 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17401
17402 Patches to fix info building when target does not use sys
17403 directory.
17404 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17405 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17406 libc/sys.tex.
17407 * libc/sys/Makefile.in (doc): do nothing.
17408
17409 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17410
17411 * libc/Makefile.in (CRT0): new macro.
17412 (all): depend on $(CRT0) rather than crt0.o.
17413
17414 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17415 do not default crt0, instead, set crt0 and crt0_dir based on
17416 sys_dir and stub_dir.
17417
17418 * Makefile.in (CRT0_DIR): new macro.
17419 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17420 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17421 $(CRT0).
17422 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17423
17424 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17425
17426 * testsuite/lib/libm.exp:
17427 added code to support compiling and linking of tests for
17428 libm.sac (paranoia to be added next) and processing the
17429 pass or failure of the tests.
17430
17431 * testsuite/config/unix-libm.exp:
17432 platform specific proc's for dealing with compiler, linker
17433 and the way we execute and process the test results.
17434
17435 * testsuite/libm.sac/execute.exp:
17436 generic framework for the sac tests. the config and lib
17437 expect code for specific platforms tie it all together.
17438
17439 * testsuite/libm.sac/test_is.c:
17440 changed the output of the test to be consistant with the
17441 other tests. parsing of pass nad fail messages is now fixed.
17442
17443 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17444
17445 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17446 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17447 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17448 #ifdef __cplusplus, surround by extern ""C { ... }.
17449 * libc/include/assert.h: Do *not* protect assert.h against
17450 multiple inclusion! Also, #undef it before #define, to allow
17451 redefinition.
17452 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17453 should be only in unistd.h.
17454
17455 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17456 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17457 ... }.
17458
17459 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17460
17461 * libc/machine/sparc/Makefile.in: Must create a library, even
17462 if empty.
17463
17464 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17465
17466 * configure.in: set machine_dir for m88k. edit crt0 definition
17467 into makefiles.
17468
17469 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17470
17471 * libc/Makefile.in (all): also build crt0.o.
17472
17473 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17474 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17475 to remove CRT0.
17476
17477 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17478 (all): reworked to build in place.
17479 (clean): remove lib.a
17480 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17481
17482 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17483 (_start): key off edata rather than _start_bss.
17484
17485 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17486
17487 * libc/include/sys/unistd.h, libc/include/reent.h,
17488 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17489
17490 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17491
17492 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17493
17494 * Makefile.in (libc.a): break into two rules, one for libc.a and
17495 one for libc/libc.a. Force subdirs current before rebuilding
17496 library.
17497 (libm.a): break into two rules, one for libm.a and one for
17498 libm/libm.a. Force subdirs current before rebuilding library.
17499
17500 * libc/Makefile.in (SUBLIBS): fix typo.
17501
17502 * libc/sys/Makefile.in (all): force descent into subdirs, then
17503 rebuild library iff out of of date.
17504
17505 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17506
17507 Rework so that library is built and then finished rather than
17508 being built on each invocation of make.
17509
17510 * host/any (machine_dir, sys_dir, signal_dir): these are not
17511 shared and have been moved to their associated Makefile.in's.
17512 (AR_FLAGS): switch to qc which is faster.
17513 * configure.in: no longer assign machine_dir for m88k. set
17514 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17515 stub_dir set, then add to configdirs. add comment about silly
17516 configuration.
17517 (configdirs): drop stub. It will be added only
17518 when needed.
17519 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17520 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17521 stub_lib, crt0): new variables for tailoring lower level
17522 makefiles. Assign accordingly and edit into makefiles.
17523 * libm/Makefile.in: updated copyright.
17524 (TARGETLIB): removed.
17525 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17526 (SUBDIRS): removed TARGETDEP_DIRS.
17527 (LIBM_FP_LIB, SUBLIBS): new macros.
17528 (all): reworked.
17529 (force): new target to force rebuilds.
17530 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17531 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17532 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17533 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17534 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17535 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17536 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17537 stub/m68kmvme/Makefile.in: updated copyright.
17538 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17539 (all): reworked. made this the default rule.
17540 (clean): also remove lib.a.
17541 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17542 * stub/Makefile.in: updated copyright.
17543 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17544 (stub_lib): new macro.
17545 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17546 RANLIB.
17547 (all): reworked.
17548 (clean, install): assume stub_dir exists.
17549 (Makefile): depend on configure.in. call $(SHELL) rather than
17550 sh. drop redundant ./
17551 * stub/configure.in (stublib): new macro, assign it, edit it into
17552 makefiles.
17553 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17554 updated copyright.
17555 (all): reworked.
17556 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17557 * libc/Makefile.in (TARGETCRT0): removed.
17558 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17559 TARGETCRT0.
17560 (SUBDIRS): drop TARGETDEP_DIRS.
17561 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17562 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17563 (force): new target to force rebuilds.
17564 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17565 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17566 removed.
17567 (clean): assume sys_dir always exists.
17568 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17569 drop redundant ./
17570 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17571 libc/locale/Makefile.in, libc/machine/Makefile.in,
17572 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17573 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17574 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17575 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17576 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17577 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17578 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17579 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17580 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17581 libc/time/Makefile.in, libc/unix/Makefile.in,
17582 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17583 (TARGETLIB): removed.
17584 (all): reworked.
17585 (clean): also remove lib.a.
17586 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17587 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17588 new macros.
17589 (SUBDIRS): moved to follow frag inclusion, change stub to
17590 stub_dir.
17591 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17592 are now set in the libc Makefile.
17593 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17594 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17595 TARGETCRT0.
17596 (force): new target to force rebuilds.
17597 * stub/configure.in: determine and set stub_lib for for Makefile.
17598
17599 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17600
17601 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17602 crt0.s renamed to crt0.S.
17603 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17604
17605 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17606 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17607 h8300h.
17608 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17609 h8300 (16 bits) and h8300h (32 bits).
17610 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17611 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17612
17613 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17614
17615 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17616 implementation of setjmp and longjmp for the m88k.
17617 * libc/include/machine/setjmp.h: Added __m88000__ case.
17618
17619 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17620
17621 * configure.in: Recognize h8300h as variant of h8300.
17622
17623 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17624
17625 * libc/include/sys/unistd.h (read, write): get prototypes right.
17626 (sbrk): New prototype.
17627 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17628 * libc/stdio/local.h: Include unistd.h.
17629 * libc/machine/h8300/syscalls.c: Names have changed.
17630
17631 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17632
17633 * configure.in: add sys_dir assignment for m88k-bug.
17634
17635 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17636
17637 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17638 a.out or elf.
17639 * libc/sys/sparc64: all *.S files: Use new macros.
17640 * libc/sys/sparc64/isatty.c: New file.
17641 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17642 functions beyond what newlib provides.
17643
17644 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17645
17646 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17647 svr4.
17648
17649 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17650
17651 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17652
17653 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17654
17655 * configure.in: add m88k.
17656 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17657 sanity check so no one else need ever chase what I did to find
17658 this.
17659
17660 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17661
17662 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17663
17664 * doc/makedoc.c: Include <ctype.h>.
17665
17666 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17667
17668 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17669 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17670 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17671
17672 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17673
17674 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17675
17676 * libc/include/errno.h (ENOSYS): Added.
17677
17678 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17679
17680 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17681
17682 * libc/stdio/fflush.c (fflush): Check for reent struct
17683 initialization.
17684 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17685
17686 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17687
17688 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17689 out of dtoa.c so it doesn't pollute the namespace.
17690 * libc/include/_syslist.h: new file -- mappings from _function to
17691 function, for systems where we can't win (by default, all of them,
17692 until we start updating system calls.)
17693 * libc/syscalls: new directory -- stubs for exporting _function
17694 names as unmodified function names.
17695 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17696 _syslist.h on all platforms by default, but put hooks in for
17697 fake_sys_dir so we can include it when we've renamed the system
17698 calls.
17699 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17700 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17701 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17702 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17703 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17704 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17705 non ANSI functions to call _function.
17706
17707 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17708
17709 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17710 when base 16 is specified. Don't accept non-digits if radix > 10.
17711
17712 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17713
17714 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17715
17716 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17717
17718 * libc/include/sys/stat.h: Surround text after #endif with
17719 comments.
17720
17721 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17722
17723 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17724 _malloc_r, _realloc_r, and free_r call the corresponding
17725 non-reentrant functions.
17726
17727 * libm/math/modf.c (modf): We now take the address of ipart, so
17728 don't make it a register variable.
17729
17730 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17731
17732 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17733
17734 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17735
17736 * libc/libc.texinfo and embedded docn throughout: formatting
17737 improvements, minor rephrasing for clarity, and improved
17738 reentrancy docn.
17739
17740 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17741
17742 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17743
17744 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17745 where sizeof(int) != sizeof(long).
17746
17747 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17748
17749 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17750 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17751 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17752 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17753 libm/math/matherr.c: changes for better docn formatting (info).
17754
17755 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17756 libc/reent/reent.tex, libc/signal/signal.tex,
17757 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17758 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17759 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17760 makeinfo node defaulting to get better Info file node structure.
17761 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17762 Also include a few formerly missing sections (subroutines).
17763
17764 * doc/doc.str: delete fossil expansion for "func"
17765
17766 * default.menu, no-signal.menu: delete.
17767
17768 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17769 method used to adjust doc for missing "signals" chapter when
17770 signal_dir is empty.
17771
17772 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17773
17774 * configure.in: added testsuite/libm.sac
17775
17776 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17777
17778 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17779 code model).
17780
17781 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17782
17783 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17784 MAKEOVERRIDES to be empty.
17785
17786 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17787
17788 * configure.in: Don't build mips-*-* with -msoft-float, since that
17789 makes it incompatible with hard floating point.
17790
17791 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17792
17793 * Makefile.in: added recursive 'make check'
17794
17795 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17796
17797 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17798 * ./testsuite/Makefile.in: created
17799 * ./testsuite/libm.paranoia: paranoia tests added
17800
17801 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17802
17803 * configure.in: For mips-*-* set machine_dir to mips.
17804
17805 * libc/machine/mips: New directory.
17806 * libc/machine/mips/Makefile.in: New file.
17807 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17808 setjmp and longjmp.
17809 * libc/include/machine/setjmp.h: Added __mips__ case.
17810
17811 * libc/machine/lmips: Removed unused and useless directory.
17812
17813 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17814
17815 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17816
17817 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17818
17819 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17820 start up).
17821
17822 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17823
17824 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17825 SETJMP_H.
17826
17827 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17828
17829 * libm/test/convert.c: structure member errno -> errno_val.
17830 Must include <errno.h> to use errno, it's a macro now.
17831 * libm/test/math.c: Ditto.
17832 * libm/test/math2.c: Include errno.h.
17833 * libm/test/string.c: Ditto.
17834 * libm/test/test.h: structure member errno -> errno_val.
17835 Remove extern int errno decl.
17836
17837 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17838
17839 * libc/stdio/Makefile.in: Added dependencies on local header
17840 files.
17841 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17842 files.
17843
17844 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17845
17846 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17847
17848 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17849
17850 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17851 Initialize _data.
17852
17853 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17854 * libc/stdio/local.h: Add prototype for _licvt.
17855
17856 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17857 instead of malloc,reealloc.
17858
17859 * libc/stdlib/local.h: New file.
17860 * libc/stdlib/efgcvt.c: #include local.h.
17861 (gcvt): Fix call to _gcvt.
17862 * libc/stdlib/ecvtbuf.c: #include local.h.
17863
17864 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17865 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17866 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17867
17868 * libc/stdlib/atexit.c: moved global data to struct _reent.
17869 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17870
17871 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17872
17873 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17874
17875 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17876 here from ../reent.h.
17877
17878 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17879
17880 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17881 should be provided in both libc.a and libm.a.
17882 (libc.a): Depend on targ-include and libm.a. Copy
17883 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17884 (libm.a): Depend on targ-include.
17885 * configure.in (subdirs): Removed libc/math.
17886
17887 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17888
17889 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17890
17891 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17892
17893 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17894 sys/reent.h instead of reent.h.
17895 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17896 headers moved to sys/reent.h.
17897 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17898 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17899 __need__MAX_SIGNALS defined.
17900 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17901 std{in,out,err} refer to new _std{in,out,err} members.
17902
17903 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17904
17905 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17906 case.
17907
17908 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17909
17910 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17911 rather than whatever macro seterrno() has.
17912
17913 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17914
17915 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17916 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17917
17918 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17919 __STDC__.
17920
17921 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17922 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17923 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17924
17925 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17926 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17927
17928 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17929 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17930 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17931 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17932 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17933 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17934 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17935 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17936 for ANSI. structure members given leading "_" for ANSI. Use
17937 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17938
17939 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17940 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17941 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17942 reent_struct renamed to struct _reent for ANSI.
17943 Structure members given leading "_" for ANSI.
17944 _CONST --> const in prototypes.
17945 Use _HAVE_STDC instead of __STDC__.
17946
17947 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17948 _xxx_r.
17949 struct reent_struct renamed to struct _reent for ANSI.
17950 Structure members given leading "_" for ANSI.
17951
17952 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17953 _xxx_r.
17954 struct reent_struct renamed to struct _reent for ANSI.
17955
17956 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17957 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17958 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17959 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17960 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17961
17962 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17963 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17964 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17965 #ifndef _STRICT_ANSI non-ANSI routines.
17966 Reentrant routines renamed from _r_xxx to _xxx_r.
17967 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17968 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17969 Clean up namespace (structure members have leading "_").
17970 struct reent_struct renamed to struct _reent for ANSI compliance.
17971 _CONST --> const in function prototypes.
17972
17973 * libc/include/string.h: Add NULL and size_t.
17974
17975 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17976 unlink, wait, wait4. Reentrant syscall routines close, fork,
17977 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17978 write.
17979 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17980 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17981 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17982 write.S}: Define reentrant versions.
17983 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17984 reentrant syscalls.
17985
17986 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17987
17988 * libc/include/stdlib.h (RAND_MAX): Fix value.
17989
17990 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17991
17992 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17993 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17994 VPATH support targets after all: target.
17995
17996 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17997 exceptionHandler, which is what mvme135-stub.c expects.
17998
17999 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
18000
18001 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
18002
18003 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
18004 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
18005 compliant).
18006
18007 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
18008
18009 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
18010 first.
18011 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
18012 _r_write): Ditto.
18013 libc/reent/fstatr.c (_r_fstat): Ditto.
18014 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
18015 libc/reent/sbrkr.c (_r_sbrk): Ditto.
18016 libc/reent/statr.c (_r_stat): Ditto.
18017
18018 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
18019 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
18020 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
18021 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
18022 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
18023 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
18024 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
18025 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
18026 (__swrite): Ditto for _r_lseek, _r_write.
18027 (__sseek): Ditto for _r_lseek.
18028 (__close): Ditto for _r_close.
18029 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
18030
18031 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
18032 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
18033
18034 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
18035 to make reent_struct the first argument (and thus consistent with
18036 the rest of newlib).
18037
18038 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
18039 reference to __STDC__.
18040
18041 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
18042
18043 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
18044 global __cleanup.
18045
18046 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
18047
18048 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
18049 first.
18050 libc/stdio/fclose.c (fclose): Ditto.
18051
18052 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
18053
18054 * Run through indent and rename reentrant routines for ANSI.
18055 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
18056 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
18057 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
18058 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
18059 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
18060 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
18061 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
18062 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
18063 vsprintf.c wbuf.c wsetup.c local.h}
18064
18065 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
18066
18067 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
18068 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
18069 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
18070 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
18071 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
18072 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
18073
18074 * Run through indent.
18075 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
18076 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
18077 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18078 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18079 strxfrm.c}
18080
18081 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18082 localtime.c mktime.c strftime.c time.c}:
18083 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18084
18085 * Reformatting + renaming (for ANSI, GNU style, consistency).
18086 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18087 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18088 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18089
18090 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18091
18092 * libc/include/stdio.h (stdin_r): Fix.
18093
18094 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18095
18096 * Makefile.in: Unexport some variables to keep GNU make from
18097 putting them in the environment and using up needed ARG_MAX space
18098 (a hack is used to let this work with older makes as well).
18099
18100 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18101
18102 * Makefile.in: Use $(MAKE) rather than make.
18103 (MAKEOVERRIDES): Define to be empty.
18104 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18105 (libc.a, libm.a): Depend on targ-include.
18106 * host/any (LD): Don't define.
18107 (INCLUDES): Use targ-include.
18108 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18109 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18110 * libc/Makefile.in: Use $(MAKE) rather than make.
18111 (MAKEOVERRIDES): Define to be empty.
18112 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18113 (all): Rewrote to be slightly smaller.
18114 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18115 Define to be empty.
18116 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18117 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18118
18119 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18120
18121 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18122 with errno/errno.c.
18123
18124 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18125
18126 * Changes for reentrancy.
18127 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18128 Use ptr->_errno, not errno.
18129 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18130 libc/stdio/remove.c (remove_r): New function.
18131 libc/stdio/rename.c (rename_r): New function.
18132 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18133 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18134 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18135 reentrant versions of system calls.
18136 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18137 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18138 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18139 libc/stdio/findfp.c: Include <string.h>.
18140 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18141 "local.h".
18142 libc/stdio/wbuf.c: Include "fvwrite.h"
18143
18144 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18145 <string.h>.
18146 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18147 (NULL): Don't define if already defined.
18148 libc/stdlib/system.c: Call reentrant versions of system calls.
18149 (system_r): New function.
18150
18151 * Changes for reentrancy.
18152 libc/include/_ansi.h (_PARAMS): New macro.
18153 libc/include/errno.h: Define errno as a macro that calls __errno.
18154 (__errno_r): New macro for reentrant code.
18155 libc/include/math.h: Include reent.h. Declare many reentrant
18156 functions.
18157 (signgam): Now a macro, not a variable.
18158 (struct exception): Added err field.
18159 libc/include/reent.h: Don't declare __sglue. Added function
18160 declarations.
18161 (struct reent_struct): Moved errno to beginning. Added _signgam.
18162 libc/include/stdio.h, libc/include/stdlib.h: Added function
18163 declarations.
18164
18165 * More reentrancy hacking.
18166 libc/errno/errno.c (__errno): New function.
18167 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18168 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18169 files.
18170
18171 * Added many new reentrant functions to libm/math/*.
18172 libm/math/error.c (__matherror): Added reent_struct pointer
18173 argument. Changed all callers.
18174 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18175 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18176 libm/math/tan.h: Removed obsolete unused header files.
18177
18178 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18179
18180 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18181
18182 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18183
18184 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18185 delay slots.
18186
18187 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18188
18189 * libc/libc.texinfo: comment out reentrancy chapter (duh)
18190
18191 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18192
18193 * libc/reent/reent.tex: New file. (text from
18194 newlib/libc/libc.texinfo)
18195 * libc/stdio/tmpnam.c: fixed doc typo
18196 * libc/stdlib/rand.c: fixed doc typo
18197
18198 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18199
18200 * libc/reent/reent.tex: New file. (text from
18201 newlib/libc/libc.texinfo)
18202
18203 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18204
18205 support for reentrancy
18206 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18207 new files
18208 * libc/errno/errno.c, libc/include/ieeefp.h,
18209 libc/include/locale.h, libc/include/reent.h,
18210 libc/include/signal.h, libc/include/stdio.h,
18211 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18212 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18213 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18214 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18215 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18216 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18217 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18218 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18219 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18220 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18221 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18222 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18223 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18224 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18225 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18226 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18227 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18228 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18229 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18230 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18231 libc/time/strftime.c: modify to provide reentracy.
18232
18233 new routines:
18234 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18235 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18236 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18237 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18238 mstats_r, realloc_r, localeconv_r, setlocale_r
18239
18240 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18241
18242 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18243 libc/include/sys/config.h, libc/include/sys/signal.h,
18244 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18245 provided macros (such as m68000), use the ansi version
18246 (__m68000__) so that the library can be used with code compiled
18247 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18248 and sparc.
18249
18250 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18251
18252 * configure.in (sparc*): Don't set -fsoft-float for sparc
18253 configurations. Do set -fsoft-float for sparclite configurations.
18254
18255 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18256
18257 * default.menu, no-signal.menu: alternate forms of libc main menu
18258 (in newlib rather than newlib/libc due to configuration restrictions)
18259
18260 * configure.in: select one of the two menus above, link to
18261 libc.menu
18262
18263 * libc/libc.texinfo: include menu from separate file
18264
18265 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18266
18267 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18268 (info): Split long shell command in half.
18269 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18270 sub-makes, just CHEW and TARGETDOC.
18271 (targetdep.tex): Removed now special handling of sys and machine
18272 subdirectories, made obsolete some time ago.
18273 * libc/machine/Makefile.in (doc): Don't pass everything to
18274 sub-make, just CHEW and TARGETDOC.
18275 (Makefile): New target.
18276 * libc/sys/Makefile.in (Makefile): New target.
18277
18278 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18279
18280 * Makefile.in (here and most subdirectories): Only pass down CHEW
18281 and TARGETDOC when making info, not for other targets.
18282
18283 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18284 $(AR_FLAGS) rather than $(ARUPDATE).
18285
18286 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18287
18288 * Try to reduce command line length:
18289 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18290 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18291 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18292 (info): Pass CHEW to other subdirs.
18293
18294 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18295
18296 * configure.in: add signal_dir, like unix_dir, but by default it
18297 is set to "signal" so that a29khif can turn it off (since a29khif
18298 has raise() as part of machine-specific signal.s.)
18299
18300 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18301
18302 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18303 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18304 correctly.
18305 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18306 libc/stdio/vfprintf: type lint.
18307 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18308 initialzation code.
18309 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18310
18311 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18312
18313 * stub/mvme135/mvme135-asm.S: new file.
18314 stub/mvme135mvme135-stub.c: moved all assembler routines into
18315 mvme135-asm.S.
18316 stub/mvme135/Makefile.in: build mvme135-stub.o.
18317
18318 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18319
18320 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18321 sub-Makefiles instead, to try to avoid line length limitations.
18322
18323 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18324
18325 * libc/include/unistd.h (read, write): Use void* instead of
18326 char*.
18327
18328 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18329
18330 * stub/go32/resetpc: sample script to send a reset packet to the
18331 stub
18332
18333 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18334 DOS environment, which compiles with Turbo C.
18335
18336 * stub/go32/DSER32.LNK: new file, linker commands for serial
18337 remote stub.
18338
18339 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18340 start up message to identify version; call set_debug_traps.
18341
18342 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18343 keyboard interaction); call handle_exception() in go_til_stop,
18344 rather than return, so that the remote stub gets control.
18345
18346 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18347 rename, rather than mv), set flags that work with current Turbo C,
18348 including using the /3 flag; also, add commands to build dser32.
18349
18350 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18351 default Turbo C installation (\tc rather than \usr)
18352
18353 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18354 "&..."
18355
18356 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18357
18358 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18359
18360 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18361
18362 * libc/stdio/cvt.c (licvt): new function to convert ints when
18363 sizeof(int) != sizeof(long).
18364
18365 * libc/include/stdio.h: added prototype for iprintf.
18366 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18367
18368 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18369
18370 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18371 __REGISTER_PREFIX__.
18372
18373 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18374
18375 * libc/sys/m68kbare: moved into stub directory.
18376
18377 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18378
18379 * configure.in, Makefile.in: created new directory stub, to hold
18380 sample code for specific targets.
18381
18382 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18383
18384 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18385 in the unified libc/include/sys/fcntl.h.
18386
18387 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18388
18389 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18390 printed .01, not 0.01.
18391
18392 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18393
18394 * configure.in: compile with -m68000 for m68* targets.
18395
18396 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18397
18398 * libm/math/remainder.c (remainder): document the svr4 and sunos
18399 references used to construct the function.
18400
18401 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18402
18403 * libm/math/remainder.c (rint, remainder): fix old typos.
18404 * libm/math/Makefile.in: actually build remainder.c (functions
18405 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18406 page.)
18407
18408 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18409
18410 * libc/string/bcopy.c: BSD version works on overlapping strings,
18411 so ours should too.
18412
18413 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18414 ("SHELL").
18415
18416 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18417
18418 * Makefile.in (docs): new target.
18419
18420 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18421
18422 * libc/include/sys/times.h: define clock_t as required by POSIX.
18423 libc/include/time.h: protect clock_t from multiple definitions.
18424
18425 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18426
18427 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18428 does not need more than the original three iterations to get
18429 within 1 ulp. (Paranoia tests for rounding to better than that,
18430 but further iterations *don't* help, only more subtle changes
18431 can.)
18432
18433 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18434
18435 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18436 were doing nothing useful.
18437
18438 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18439
18440 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18441 removed sys_dir settings of vxworks68 and vxworks960.
18442 host/any: don't pass -nostdinc to gcc, since newlib no longer
18443 provides all required header files.
18444
18445 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18446 is not defined; this provides a hook for VxWorks.
18447
18448 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18449
18450 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18451 buffer if buf is NULL, don't do it here -- it is already being
18452 done by makebuf elsewhere in stdio.
18453
18454 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18455
18456 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18457 that C programs can call functions without using initial
18458 underscores.
18459
18460 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18461
18462 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18463
18464 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18465
18466 * configure.in: set TARGET_CFLAGS for certain CPU types to
18467 -msoft-float.
18468
18469 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18470
18471 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18472
18473 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18474
18475 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18476 m68k*-unknown-coff.
18477
18478 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18479
18480 * libc/include/stdio.h: define __need___va_list before including
18481 <stdarg.h>, to avoid defining va_arg, et. al.
18482
18483 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18484
18485 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18486 (don't cd to the user's home directory).
18487
18488 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18489 In general this is the wrong thing to do, but I can't get around
18490 GNU make's insistence on passing command line arguments any other
18491 way.
18492
18493 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18494
18495 * configure.in: always configure the libc/sys directory, since it
18496 now provides a required documentation file.
18497
18498 * Makefile.in: replaced all instances of $(MAKE) with make. In
18499 general this is the wrong thing to do, but I can't get around GNU
18500 make's insistence on passing command line arguments any other way.
18501
18502 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18503
18504 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18505 terminated.
18506
18507 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18508 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18509
18510 * libc/include/float.h, libc/include/stdarg.h,
18511 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18512 versions instead.
18513 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18514 <stdarg.h>, not from <machine/types.h>. Protect definition of
18515 NULL.
18516 libc/include/time.h: get size_t from stddef.h. Protect definition
18517 of NULL.
18518 libc/include/machine/limits.h: override gcc <limits.h> by defining
18519 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18520 get correct INT_MIN and LONG_LONG values.
18521 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18522 size_t or va_list at all; they're now gotten from stddef.h
18523 instead.
18524 libc/include/machine/varargs.h: removed; use gcc version instead.
18525 libc/include/sys/types.h: explicitly include <machine/types.h>.
18526
18527 * libm/math/sqrt.h: using the fp-bit routines appears to require
18528 more iterations.
18529
18530 * Makefile.in, host/any: let system include files override machine
18531 include files.
18532
18533 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18534
18535 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18536 override _*_T_ definitions defaulted here.
18537
18538 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18539
18540 * Makefile.in (install): install the include files in
18541 $(tooldir)/include, not $(exec_prefix)/include.
18542
18543 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18544
18545 * Makefile.in (install): fixed typo, and changed install to not
18546 force rebuild of libc.a and libm.a.
18547
18548 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18549
18550 * libc/sys/a29khif/*: Changed all .include's to include
18551 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18552 that they will be installed for the user.
18553
18554 * Makefile.in (all): create targ-include, a directory holding the
18555 machine and system specific header files during the build.
18556 (install): fixed installation of machine and system specific
18557 header files.
18558
18559 * Makefile.in: fixed comment.
18560 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18561 we can pass $(INCLUDES) to it.
18562
18563 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18564
18565 * libc/include/sys/param.h: new generic file, which may be
18566 overridden for specific systems.
18567
18568 * libc/include/sys/signal.h: define all ANSI signal names, and
18569 NSIG (which is not ANSI) for a29k.
18570
18571 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18572
18573 * Makefile.in: don't pass down arguments the lower level makes
18574 will not need.
18575 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18576 in hopes of avoiding argument length limits.
18577 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18578 hopes of avoiding argument length limits.
18579
18580 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18581
18582 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18583 mode_t is defined.
18584
18585 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18586
18587 * Fixed make info and make install-info for newlib, changing most
18588 Makefile.in and several *.tex files. Moved doc directory from
18589 libc to top level.
18590
18591 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18592 Should be rewritten.
18593
18594 * libc/string/strings.tex: renamed node index to node index
18595 function, so that it does not conflict with the top level index
18596 node.
18597
18598 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18599
18600 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18601
18602 * Overhauled general configuration for newlib. Eliminated all
18603 target dependent Makefile fragments. Create libraries in newlib
18604 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18605 than CROSS_CC, et. al. Broke make docs; will fix later.
18606
18607 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18608 Should be rewritten.
18609
18610 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18611
18612 * libc/configure.in: cleaned up somewhat; switch on ${target}
18613 rather than ${target_alias}.
18614 * libm/configure.in: cleaned up somewhat; switch on ${target}
18615 rather than ${target_alias}.
18616
18617 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18618 * libc/include/ctype.h: marked _ctype_ as _CONST.
18619
18620 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18621 _CONST.
18622
18623 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18624 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18625 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18626 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18627
18628 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18629 bigtens, tinytens): marked arrays _CONST.
18630 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18631 rather than a static variable.
18632
18633 * libc/time/asctime.c (asctime), libc/time/localtime.c
18634 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18635 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18636 mname_len, mname): Marked static arrays _CONST.
18637
18638 * libm/math/gamma.h: made local variables non-static.
18639
18640 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18641 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18642 _CONST.
18643
18644 * libm/math/constants.c: removed file, because the constants it
18645 defined were never referenced.
18646 libm/math/Makefile.in: removed references to constants.c.
18647 libm/math/mathimpl.h: removed declarations of constants.
18648
18649 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18650
18651 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18652 it is sensibly defined in libgcc2. Checks preprocessor defines,
18653 which is not a good solution.
18654
18655 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18656
18657 * libm/frexp.c: handle denormalized numbers as arguments.
18658
18659 * libm/math/Makefile.in: added some dependencies for .c files
18660 which include local .h files.
18661
18662 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18663
18664 * libc/configure.in: set target_alias for OSE*. Replace
18665 target_makefile_frag if it is blank.
18666
18667 * libc/Makefile.in: make sure everything is passed to subsidiary
18668 makes; create all directories when installing.
18669
18670 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18671 CROSS_ARUPDATE instead of AR.
18672
18673 * libm/configure.in: set target_alias for OSE*. Replace
18674 target_makefile_frag if it is blank.
18675
18676 * libm/Makefile.in: make sure everything is passed to subsidiary
18677 makes; create all directories when installing.
18678
18679 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18680
18681 * add following change from libc copy.
18682
18683 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18684
18685 * libc/libc.texinfo: make copyright disclaimers appear on back of
18686 title page; make format of same slightly less ugly; avoid using
18687 underbars in section headings (avoids nasty texinfo bug in table
18688 of contents).
18689
18690 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18691 comments only) avoid using underbars in section headings
18692
18693 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18694 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18695 changes in comments only): shorten headings ieeefp/infinity.c,
18696 ieeefp/isnan.c: (doc, comments only) more informative headings
18697
18698 * libc/math/bessel.c: (doc, comments only) shorten heading
18699
18700 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18701 (doc, comments only) shorten headings
18702
18703 * libc/time/localtime.c (doc, comments only): shorten headings
18704
18705 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18706 isnan
18707 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18708 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18709 headings
18710 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18711 only) more informative headings
18712 * libm/math/bessel.c: (doc, comments only) shorten heading
18713
18714 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18715
18716 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18717 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18718 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18719 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18720 defined, the one from the .mt file will be correct.
18721 * libc/include/machine, libc/include/sys: created, and populated
18722 with common files from machine/*/machine. ifdefs were used for
18723 most, typically by handling exceptions first and then filling in
18724 defaults. Files with D.J. Delorie copyright #included rather than
18725 copied. Most files in include/sys really were the same in the
18726 original.
18727 * libc/include/...: cleaned up use of _EXFUN.
18728 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18729 it with double quotes, not angles.
18730
18731 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18732
18733 * libc/Makefile.in: always create installation directories.
18734
18735 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18736
18737 * libc/configure.in: handle host properly (using canonical
18738 triples), better error message for the case of target not found
18739
18740 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18741
18742 * libc/Makefile.in (insincdir): Ensure this directory exists
18743 before attempting installation.
18744
18745 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18746
18747 * libc/stdlib/assert.c: now calls abort like it should
18748 * libc/sys/a29khif: many many patches for 29khif work
18749 * libc/machine/i386: gnulib2 expanded there.
18750
18751 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18752
18753 Added accurate fp conversion routines to stdlib, moved dcvt from
18754 stdio to stdlib and called it ecvtbuf:
18755 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18756 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18757 routines
18758 * libc/libc.texinfo: Modifed to include the copyright info from
18759 the mprec files
18760 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18761 * libc/test/ : many vector which tested for the implementation
18762 defined returns of strange conversion requests have been updated
18763 to relflect the new implementation
18764
18765 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18766
18767 * libc/libc.texinfo: new chapter on variable arg lists
18768 (stdarg.h/varargs.h)
18769 * libc/libc.texinfo: new title
18770 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18771 (doc only) shorter headings for better formatting.
18772
18773 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18774
18775 * libc/libc.texinfo: three more info menu entries
18776 * libc/locale/locale.tex: new chapter
18777 * libc/locale/locale.c: new doc for setlocale, localeconv
18778 * libc/locale/Makefile.in: use new locale doc
18779 * libc/signal/signal.tex: new chapter
18780 * libc/signal/raise.c, libc/signal/signal.c: new doc
18781 * libc/signal/Makefile.in: use new doc
18782 * libc/time/time.tex: new chapter
18783 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18784 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18785 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18786 * libc/time/Makefile.in: use new doc
18787
18788 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18789
18790 * libm/math/log1p.c: split to use the new function way of float
18791 function definition. math/log1p.h deleted
18792 * libm/math/scalb.c: obsolete and deleted
18793 * libm/math/scalbn.c: created from part log1p.c
18794 * libm/math/Makefile.in: know about log1p and scalbn
18795
18796 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18797
18798 * libc/ctype/isupper.c: revise doc;
18799 libc/ctype/ctype.tex: use doc from isupper.c
18800
18801 * libc/string/bzero.c: new doc
18802
18803 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18804
18805 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18806 new doc
18807 * libc/stdlib/Makefile.in: extract new doc
18808 * libc/stdlib/stdlib.tex: use new doc
18809
18810 * libc/string/strerror.c: expanded doc.
18811
18812 * libc/stdio/Makefile.in: extract doc from more files
18813 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18814 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18815 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18816 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18817 libc/stdio/vsprintf.c: new doc
18818 * libc/stdio/stdio.tex: use new doc
18819
18820 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18821
18822 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18823 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18824 finitef functions.
18825 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18826 time ago.
18827
18828 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18829 * libc/stdio/setbuf.c: added ansi style definition.
18830 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18831 buffer if none provided.
18832 * libc/stdio/tmpfile.c: lint
18833 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18834 rather than using static, also make sure file isn't already
18835 present. Uses P_tmpdir. (tempnam): rewritten to use new
18836 subroutine, and uses P_tmpdir.
18837 * libc/stdio/siprintf.c: created
18838
18839 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18840
18841 Release 1.03 for NEC, major mods. Main differences from release
18842 1.02::
18843
18844 More tests in test/:
18845 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18846 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18847 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18848 get/set mask, get/set sticky and get/set roundtoi. Tests
18849 that setting the bits changes the way arithmetic is done.
18850 * string.c: added test to make sure memcmp does it with unsigned
18851 chars.
18852 * test.c: cleaned up and removed lint.
18853 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18854 dvec.c: tests for string to value conversions, sprintf, scanf,
18855 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18856 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18857 rounding in sprintf too.
18858 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18859 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18860 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18861 and function form.
18862 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18863 powf
18864
18865 In the library:
18866 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18867 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18868 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18869 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18870 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18871 than sprintf.
18872 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18873 * Method of producting float versions of double functions has
18874 changed, functions will be modified gradually. So far:
18875 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18876 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18877 altered
18878 * libc/string/memcmp.c: now uses unsigned chars
18879 * libc/string/bcmp.c, libc/string/strcpy.c,
18880 libc/stsring/strxfrm.c: fixed doc
18881 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18882 \f
18883 Local Variables:
18884 version-control: never
18885 End:
This page took 0.813556 seconds and 6 git commands to generate.