1 2008-01-21 DJ Delorie <dj@redhat.com>
3 * libc/sys/sh/syscalls.c (_isatty): New.
5 2008-01-21 Neal H. Walfield <neal@gnu.org>
7 * Makefile.am (crt1.o): Use correct source.
8 * Makefile.in: Regenerated.
10 2008-01-15 Eric Blake <ebb9@byu.net>
12 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
13 * libc/string/Makefile: Regenerate.
15 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
17 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
18 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
19 (sigsetjmp): Use __SIGMASK_FUNC.
21 (_setjmp): Define as macro.
24 2008-01-11 Eric Blake <ebb9@byu.net>
26 Make strstr and strcasestr O(n), not O(n^2); add memmem.
27 * libc/string/str-two-way.h: New file.
28 * libc/string/memmem.c (memmem): New file.
29 * libc/include/string.h (memmem): Declare for all platforms.
30 * libc/string/strstr.c (strstr): Provide O(n) implementation when
31 not optimizing for space.
32 * libc/string/strcasestr.c (strcasestr): Likewise.
33 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
34 (ELIX_2_SOURCES): ...this.
35 (ELIX_4_SOURCES): New category, for memmem.
36 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
37 (CHEWOUT_FILES): Build documentation for memmem.
38 * libc/string/strings.tex: Include new docs.
41 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
43 * libc/machine/m68k/memcpy.S: Remove % from register references
44 as this is already handled by m68kasm.h.
45 * libc/machine/m68k/memset.S: Ditto.
47 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
49 * libc/machine/m68k/m68kasm.h: New file.
50 * libc/machine/m68k/setjmp.S: Remove common definitions and
51 place in m68kasm.h. Include "m68kasm.h".
52 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
53 SYM() macro when referencing function name.
54 * libc/machine/m68k/memset.S: Ditto.
56 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
58 Make isatty syscall handling consistent with other newlib syscalls.
60 * libc/include/_syslist.h: Add _isatty.
61 * libc/include/reent.h: Add _isatty_r.
62 * libc/include/sys/unistd.h: Add _isatty.
63 * libc/posix/Makefile.am: Add new _isatty.c file.
64 * libc/posix/Makefile.in: Regenerated.
65 * libc/posix/_isatty.c: New file.
66 * libc/posix/isatty.c: Changed to call _isatty().
67 * libc/reent/Makefile.am: Add new isattyr.c file.
68 * libc/reent/Makefile.in: Regenerated.
69 * libc/reent/isattyr.c: New file.
70 * libc/stdio/freopen.c: Changed to call _isatty_r().
71 * libc/stdio/makebuf.c: Ditto.
72 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
73 * libc/sys/arc/isatty.c: Ditto.
74 * libc/sys/arm/syscalls.c: Ditto.
75 * libc/sys/d10v/syscalls.c: Ditto.
76 * libc/sys/h8300hms/syscalls.c: Ditto.
77 * libc/sys/h8500hms/syscalls.c: Ditto.
78 * libc/sys/linux/Makefile.am: Add new isatty.c file.
79 * libc/sys/linux/Makefile.in: Regenerated.
80 * libc/sys/linux/isatty.c: New file.
81 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
82 * libc/syscalls/Makefile.in: Regenerated.
83 * libc/syscalls/sysisatty.c: New file.
85 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
87 * libc/syscalls/sysclose.c: Always call reentrant version of the
88 underlying syscall since one is guaranteed to exist in libc/reent.
89 * libc/syscalls/sysexecve.c: Ditto.
90 * libc/syscalls/sysfcntl.c: Ditto.
91 * libc/syscalls/sysfork.c: Ditto.
92 * libc/syscalls/sysfstat.c: Ditto.
93 * libc/syscalls/sysgetpid.c: Ditto.
94 * libc/syscalls/sysgettod.c: Ditto.
95 * libc/syscalls/syskill.c: Ditto.
96 * libc/syscalls/syslink.c: Ditto.
97 * libc/syscalls/syslseek.c: Ditto.
98 * libc/syscalls/sysopen.c: Ditto.
99 * libc/syscalls/sysread.c: Ditto.
100 * libc/syscalls/syssbrk.c: Ditto.
101 * libc/syscalls/sysstat.c: Ditto.
102 * libc/syscalls/systimes.c: Ditto.
103 * libc/syscalls/sysunlink.c: Ditto.
104 * libc/syscalls/syswait.c: Ditto.
105 * libc/syscalls/syswrite.c: Ditto.
107 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
109 * NEWS: Update with 1.16.0 info.
111 * acinclude.m4: Change version number to 1.16.0.
112 * aclocal.m4: Regenerated.
114 * doc/aclocal.m4: Ditto.
115 * doc/configure: Ditto.
116 * libc/*/aclocal.m4: Ditto.
117 * libc/*/configure: Ditto.
118 * libc/libc.texinfo: Ditto.
119 * libm/*/aclocal.m4: Ditto.
120 * libm/*/configure: Ditto.
121 * libm/libm.texinfo: Ditto.
122 * libc/sys/linux/shared.ld: Add VERS_1.16.
124 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
126 * libc/string/strcasestr.c: Remove id macro.
127 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
128 field reference to be __sched_priority.
129 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
130 * libc/sys/linux/linuxthreads/manager.c: Ditto.
131 * libc/sys/linux/stdlib/collate.c: Remove id macro.
132 * libc/sys/linux/stdlib/collcmp.c: Ditto.
133 * libc/sys/linux/stdlib/engine.c: Ditto.
134 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
135 * libc/sys/linux/stdlib/glob.c: Ditto.
136 * libc/sys/linux/stdlib/reallocf.c: Ditto.
137 * libc/sys/linux/stdlib/regcomp.c: Ditto.
138 * libc/sys/linux/stdlib/regerror.c: Ditto.
139 * libc/sys/linux/stdlib/regexec.c: Ditto.
140 * libc/sys/linux/stdlib/regfree.c: Ditto.
141 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
142 * libc/sys/linux/include/argp.h: Ditto.
143 * libc/sys/linux/sys/libc-lock.h: New file.
144 * libc/sys/linux/sys/stdint.h: Ditto.
145 * libc/sys/linux/include/sched.h: New file.
147 2007-12-19 Dave Korn <dave.korn@artimi.com>
148 Jeff Johnston <jjohnstn@redhhat.com>
150 * libc/include/_ansi.h: Add _LONG_LONG definition.
151 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
153 * libc/machine/i386/machine/fastmath.h: Add support for new i386
154 fast math versions of rint, lrint, and llrint family functions.
155 * libm/machine/i386/Makefile.am: Add new files.
156 * libm/machine/i386/Makefile.in: Regenerated.
157 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
158 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
159 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
160 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
161 libm/machine/i386/f_rintl.c: New files with fast math implementations.
163 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
165 * libc/include/sys/features.h: Add checks for C90 compilers using
168 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
170 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
171 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
173 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
174 * libc/string/Makefile.in: Regenerate.
175 * libc/string/wcpcpy.c: New file.
176 * libc/string/wcpncpy.c: New file.
177 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
179 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
181 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
184 2007-11-19 Nick Clifton <nickc@redhat.com>
186 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
187 * libc/machine/mn10300/Makefile.in: Regenerate.
188 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
189 .debug_frame section.
190 * libc/machine/mn10300/memcmp.S: Likewise.
191 * libc/machine/mn10300/memcpy.S: Likewise.
192 * libc/machine/mn10300/memset.S: Likewise.
193 * libc/machine/mn10300/strchr.S: Likewise.
194 * libc/machine/mn10300/strcmp.S: Likewise.
195 * libc/machine/mn10300/strcpy.S: Likewise.
196 * libc/machine/mn10300/strlen.S: Likewise.
198 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
200 * libc/include/sys/_default_fcntl.h: New header file that
201 is the default version of sys/fcntl.h.
202 * libc/include/sys/fcntl.h: Changed to simply include
203 sys/_default_fcntl.h.
204 * libc/sys/arm/sys/fcntl.h: New file that includes
205 sys/_default_fcntl.h and defines O_BINARY.
207 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
209 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
211 2007-11-07 Dave Brolley <brolley@redhat.com>
213 * libc/machine/configure: Regenerated to pick up mep-elf changes.
215 * Contribute mep-elf from Red Hat
216 2006-10-27 DJ Delorie <dj@redhat.com>
218 * libc/include/machine/setjmp.h: Add MeP support.
220 2003-04-17 DJ Delorie <dj@redhat.com>
222 * configure.host (mep-*-*): Support "long long" type.
224 2001-06-06 DJ Delorie <dj@redhat.com>
226 * libc/include/machine/ieeefp.h (mep): Support little endian too.
228 2001-05-14 DJ Delorie <dj@redhat.com>
230 * configure.host: Add mep's machine_dir.
231 * libc/include/setjmp.h: Add mep support.
232 * libc/machine/mep: New.
233 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
235 2001-05-04 DJ Delorie <dj@redhat.com>
237 * configure.host: Add mep.
238 * libc/include/machine/ieeefp.h: Ditto.
240 2007-10-31 DJ Delorie <dj@redhat.com>
242 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
243 signal table, just use a default, in case initialization cause
246 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
248 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
249 size if output buffer is NULL.
251 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
253 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
254 fix when handling negative input values. Make function
255 consistent with math directory and glibc version such that
256 inf and nan values return inf and nan respectively with no
258 * libm/mathfp/sf_logarithm.c: Ditto.
259 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
260 * libm/math/wf_log.c: Ditto.
261 * libm/math/w_log10.c: Ditto.
262 * libm/math/wf_log10.c: Ditto.
264 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
266 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
268 * libm/mathfp/sf_logarithm.c: Ditto.
270 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
272 * libc/machine/i386/machine/fastmath.h: New file.
274 2007-10-13 Eric Blake <ebb9@byu.net>
276 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
277 Correctly nest else within conditionals.
278 Reported by Artur Lipowski.
280 2007-10-09 Nick Clifton <nickc@redhat.com>
282 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
285 2007-10-09 Ben Elliston <bje@au.ibm.com>
287 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
288 before simdmath.h to get a definition for `vector'.
289 * libm/machine/spu/headers/asind2.h: Likewise.
291 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
293 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
294 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
295 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
296 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
297 * libm/machine/spu/headers/acos.h: Add domain check.
298 * libm/machine/spu/headers/acosf.h: Ditto.
299 * libm/machine/spu/headers/acosh.h: Ditto.
300 * libm/machine/spu/headers/acoshf.h: Ditto.
301 * libm/machine/spu/headers/asin.h: Ditto.
302 * libm/machine/spu/headers/asinf.h: Ditto.
303 * libm/machine/spu/headers/atanh.h: Ditto.
304 * libm/machine/spu/headers/atanhf.h: Ditto.
305 * libm/machine/spu/headers/fmod.h: Ditto.
306 * libm/machine/spu/headers/fmodf.h: Ditto.
307 * libm/machine/spu/headers/log.h: Ditto.
308 * libm/machine/spu/headers/log10.h: Ditto.
309 * libm/machine/spu/headers/log1p.h: Ditto.
310 * libm/machine/spu/headers/log1pf.h: Ditto.
311 * libm/machine/spu/headers/log2.h: Ditto.
312 * libm/machine/spu/headers/log2f.h: Ditto.
313 * libm/machine/spu/headers/sqrt.h: Ditto.
314 * libm/machine/spu/headers/sqrtf.h: Ditto.
315 * libm/machine/spu/headers/tgamma.h: Ditto.
316 * libm/machine/spu/headers/tgammaf.h: Ditto.
318 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
320 * libm/machine/spu/Makefile.am: Add new C files.
321 * libm/machine/spu/Makefile.in: Regenerate.
322 * libm/machine/spu/headers/acos.h: New file.
323 * libm/machine/spu/headers/acosd2.h: Ditto.
324 * libm/machine/spu/headers/acosf.h: Ditto.
325 * libm/machine/spu/headers/acosf4.h: Ditto.
326 * libm/machine/spu/headers/acosh.h: Ditto.
327 * libm/machine/spu/headers/acoshd2.h: Ditto.
328 * libm/machine/spu/headers/acoshf.h: Ditto.
329 * libm/machine/spu/headers/acoshf4.h: Ditto.
330 * libm/machine/spu/headers/asin.h: Ditto.
331 * libm/machine/spu/headers/asind2.h: Ditto.
332 * libm/machine/spu/headers/asinf.h: Ditto.
333 * libm/machine/spu/headers/asinf4.h: Ditto.
334 * libm/machine/spu/headers/asinh.h: Ditto.
335 * libm/machine/spu/headers/asinhd2.h: Ditto.
336 * libm/machine/spu/headers/asinhf.h: Ditto.
337 * libm/machine/spu/headers/asinhf4.h: Ditto.
338 * libm/machine/spu/headers/atan.h: Ditto.
339 * libm/machine/spu/headers/atan2.h: Ditto.
340 * libm/machine/spu/headers/atan2d2.h: Ditto.
341 * libm/machine/spu/headers/atan2f.h: Ditto.
342 * libm/machine/spu/headers/atan2f4.h: Ditto.
343 * libm/machine/spu/headers/atand2.h: Ditto.
344 * libm/machine/spu/headers/atanf4.h: Ditto.
345 * libm/machine/spu/headers/atanh.h: Ditto.
346 * libm/machine/spu/headers/atanhd2.h: Ditto.
347 * libm/machine/spu/headers/atanhf.h: Ditto.
348 * libm/machine/spu/headers/atanhf4.h: Ditto.
349 * libm/machine/spu/headers/cos.h: Ditto.
350 * libm/machine/spu/headers/cos_sin.h: Ditto.
351 * libm/machine/spu/headers/cosd2.h: Ditto.
352 * libm/machine/spu/headers/cosf.h: Ditto.
353 * libm/machine/spu/headers/cosf4.h: Ditto.
354 * libm/machine/spu/headers/cosh.h: Ditto.
355 * libm/machine/spu/headers/coshd2.h: Ditto.
356 * libm/machine/spu/headers/coshf.h: Ditto.
357 * libm/machine/spu/headers/coshf4.h: Ditto.
358 * libm/machine/spu/headers/divd2.h: Ditto.
359 * libm/machine/spu/headers/divf4.h: Ditto.
360 * libm/machine/spu/headers/erf.h: Ditto.
361 * libm/machine/spu/headers/erf_utils.h: Ditto.
362 * libm/machine/spu/headers/erfc.h: Ditto.
363 * libm/machine/spu/headers/erfcd2.h: Ditto.
364 * libm/machine/spu/headers/erfcf.h: Ditto.
365 * libm/machine/spu/headers/erfcf4.h: Ditto.
366 * libm/machine/spu/headers/erfd2.h: Ditto.
367 * libm/machine/spu/headers/erff.h: Ditto.
368 * libm/machine/spu/headers/erff4.h: Ditto.
369 * libm/machine/spu/headers/exp.h: Ditto.
370 * libm/machine/spu/headers/exp2.h: Ditto.
371 * libm/machine/spu/headers/exp2d2.h: Ditto.
372 * libm/machine/spu/headers/exp2f4.h: Ditto.
373 * libm/machine/spu/headers/expd2.h: Ditto.
374 * libm/machine/spu/headers/expf4.h: Ditto.
375 * libm/machine/spu/headers/expm1.h: Ditto.
376 * libm/machine/spu/headers/expm1d2.h: Ditto.
377 * libm/machine/spu/headers/expm1f.h: Ditto.
378 * libm/machine/spu/headers/expm1f4.h: Ditto.
379 * libm/machine/spu/headers/floord2.h: Ditto.
380 * libm/machine/spu/headers/floorf4.h: Ditto.
381 * libm/machine/spu/headers/hypot.h: Ditto.
382 * libm/machine/spu/headers/hypotd2.h: Ditto.
383 * libm/machine/spu/headers/hypotf.h: Ditto.
384 * libm/machine/spu/headers/hypotf4.h: Ditto.
385 * libm/machine/spu/headers/isnan.h: Ditto.
386 * libm/machine/spu/headers/isnand2.h: Ditto.
387 * libm/machine/spu/headers/isnanf.h: Ditto.
388 * libm/machine/spu/headers/isnanf4.h: Ditto.
389 * libm/machine/spu/headers/ldexpd2.h: Ditto.
390 * libm/machine/spu/headers/ldexpf4.h: Ditto.
391 * libm/machine/spu/headers/lgamma.h: Ditto.
392 * libm/machine/spu/headers/lgammad2.h: Ditto.
393 * libm/machine/spu/headers/lgammaf.h: Ditto.
394 * libm/machine/spu/headers/lgammaf4.h: Ditto.
395 * libm/machine/spu/headers/log.h: Ditto.
396 * libm/machine/spu/headers/log10.h: Ditto.
397 * libm/machine/spu/headers/log10d2.h: Ditto.
398 * libm/machine/spu/headers/log1p.h: Ditto.
399 * libm/machine/spu/headers/log1pd2.h: Ditto.
400 * libm/machine/spu/headers/log1pf.h: Ditto.
401 * libm/machine/spu/headers/log1pf4.h: Ditto.
402 * libm/machine/spu/headers/log2.h: Ditto.
403 * libm/machine/spu/headers/log2d2.h: Ditto.
404 * libm/machine/spu/headers/log2f4.h: Ditto.
405 * libm/machine/spu/headers/logbf.h: Ditto.
406 * libm/machine/spu/headers/logbf4.h: Ditto.
407 * libm/machine/spu/headers/logd2.h: Ditto.
408 * libm/machine/spu/headers/logf4.h: Ditto.
409 * libm/machine/spu/headers/nearbyintf.h: Ditto.
410 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
411 * libm/machine/spu/headers/nextafter.h: Ditto.
412 * libm/machine/spu/headers/nextafterd2.h: Ditto.
413 * libm/machine/spu/headers/nextafterf.h: Ditto.
414 * libm/machine/spu/headers/nextafterf4.h: Ditto.
415 * libm/machine/spu/headers/pow.h: Ditto.
416 * libm/machine/spu/headers/powd2.h: Ditto.
417 * libm/machine/spu/headers/powf.h: Ditto.
418 * libm/machine/spu/headers/powf4.h: Ditto.
419 * libm/machine/spu/headers/recipd2.h: Ditto.
420 * libm/machine/spu/headers/recipf4.h: Ditto.
421 * libm/machine/spu/headers/rintf.h: Ditto.
422 * libm/machine/spu/headers/rintf4.h: Ditto.
423 * libm/machine/spu/headers/scalbnf4.h: Ditto.
424 * libm/machine/spu/headers/signbit.h: Ditto.
425 * libm/machine/spu/headers/signbitd2.h: Ditto.
426 * libm/machine/spu/headers/simdmath.h: Ditto.
427 * libm/machine/spu/headers/sin.h: Ditto.
428 * libm/machine/spu/headers/sincos.h: Ditto.
429 * libm/machine/spu/headers/sincosd2.h: Ditto.
430 * libm/machine/spu/headers/sincosf.h: Ditto.
431 * libm/machine/spu/headers/sincosf4.h: Ditto.
432 * libm/machine/spu/headers/sind2.h: Ditto.
433 * libm/machine/spu/headers/sinf.h: Ditto.
434 * libm/machine/spu/headers/sinf4.h: Ditto.
435 * libm/machine/spu/headers/sinh.h: Ditto.
436 * libm/machine/spu/headers/sinhd2.h: Ditto.
437 * libm/machine/spu/headers/sinhf.h: Ditto.
438 * libm/machine/spu/headers/sinhf4.h: Ditto.
439 * libm/machine/spu/headers/sqrtd2.h: Ditto.
440 * libm/machine/spu/headers/sqrtf.h: Ditto.
441 * libm/machine/spu/headers/sqrtf4.h: Ditto.
442 * libm/machine/spu/headers/tan.h: Ditto.
443 * libm/machine/spu/headers/tand2.h: Ditto.
444 * libm/machine/spu/headers/tanf.h: Ditto.
445 * libm/machine/spu/headers/tanf4.h: Ditto.
446 * libm/machine/spu/headers/tanh.h: Ditto.
447 * libm/machine/spu/headers/tanhd2.h: Ditto.
448 * libm/machine/spu/headers/tanhf.h: Ditto.
449 * libm/machine/spu/headers/tanhf4.h: Ditto.
450 * libm/machine/spu/headers/tgamma.h: Ditto.
451 * libm/machine/spu/headers/tgammad2.h: Ditto.
452 * libm/machine/spu/headers/tgammaf.h: Ditto.
453 * libm/machine/spu/headers/tgammaf4.h: Ditto.
454 * libm/machine/spu/headers/truncd2.h: Ditto.
455 * libm/machine/spu/headers/truncf4.h: Ditto.
456 * libm/machine/spu/log2.c: Ditto.
457 * libm/machine/spu/s_asinh.c: Ditto.
458 * libm/machine/spu/s_atan.c: Ditto.
459 * libm/machine/spu/s_cos.c: Ditto.
460 * libm/machine/spu/s_erf.c: Ditto.
461 * libm/machine/spu/s_expm1.c: Ditto.
462 * libm/machine/spu/s_isnan.c: Ditto.
463 * libm/machine/spu/s_log1p.c: Ditto.
464 * libm/machine/spu/s_nextafter.c: Ditto.
465 * libm/machine/spu/s_sin.c: Ditto.
466 * libm/machine/spu/s_tan.c: Ditto.
467 * libm/machine/spu/s_tanh.c: Ditto.
468 * libm/machine/spu/sf_asinh.c: Ditto.
469 * libm/machine/spu/sf_cos.c: Ditto.
470 * libm/machine/spu/sf_erf.c: Ditto.
471 * libm/machine/spu/sf_expm1.c: Ditto.
472 * libm/machine/spu/sf_log1p.c: Ditto.
473 * libm/machine/spu/sf_logb.c: Ditto.
474 * libm/machine/spu/sf_nearbyint.c: Ditto.
475 * libm/machine/spu/sf_nextafter.c: Ditto.
476 * libm/machine/spu/sf_rint.c: Ditto.
477 * libm/machine/spu/sf_sin.c: Ditto.
478 * libm/machine/spu/sf_tan.c: Ditto.
479 * libm/machine/spu/sf_tanh.c: Ditto.
480 * libm/machine/spu/w_acos.c: Ditto.
481 * libm/machine/spu/w_acosh.c: Ditto.
482 * libm/machine/spu/w_asin.c: Ditto.
483 * libm/machine/spu/w_atan2.c: Ditto.
484 * libm/machine/spu/w_atanh.c: Ditto.
485 * libm/machine/spu/w_cosh.c: Ditto.
486 * libm/machine/spu/w_exp.c: Ditto.
487 * libm/machine/spu/w_exp2.c: Ditto.
488 * libm/machine/spu/w_hypot.c: Ditto.
489 * libm/machine/spu/w_lgamma.c: Ditto.
490 * libm/machine/spu/w_log.c: Ditto.
491 * libm/machine/spu/w_log10.c: Ditto.
492 * libm/machine/spu/w_pow.c: Ditto.
493 * libm/machine/spu/w_sincos.c: Ditto.
494 * libm/machine/spu/w_sinh.c: Ditto.
495 * libm/machine/spu/w_tgamma.c: Ditto.
496 * libm/machine/spu/wf_acos.c: Ditto.
497 * libm/machine/spu/wf_acosh.c: Ditto.
498 * libm/machine/spu/wf_asin.c: Ditto.
499 * libm/machine/spu/wf_atan2.c: Ditto.
500 * libm/machine/spu/wf_atanh.c: Ditto.
501 * libm/machine/spu/wf_cosh.c: Ditto.
502 * libm/machine/spu/wf_hypot.c: Ditto.
503 * libm/machine/spu/wf_lgamma.c: Ditto.
504 * libm/machine/spu/wf_pow.c: Ditto.
505 * libm/machine/spu/wf_sincos.c: Ditto.
506 * libm/machine/spu/wf_sinh.c: Ditto.
507 * libm/machine/spu/wf_sqrt.c: Ditto.
508 * libm/machine/spu/wf_tgamma.c: Ditto.
510 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
512 * configure.host: Define _POSIX_MODE to match the existing vector
513 math code, as we don't support the matherr callout.
514 * libm/machine/spu/Makefile.am: New file.
515 * libm/machine/spu/Makefile.in: Auto-generated.
516 * libm/machine/spu/headers/atanf.h: New file.
517 * libm/machine/spu/headers/cbrt.h: Ditto.
518 * libm/machine/spu/headers/cbrtf.h: Ditto.
519 * libm/machine/spu/headers/ceil.h: Ditto.
520 * libm/machine/spu/headers/ceilf.h: Ditto.
521 * libm/machine/spu/headers/copysign.h: Ditto.
522 * libm/machine/spu/headers/copysignf.h: Ditto.
523 * libm/machine/spu/headers/exp2f.h: Ditto.
524 * libm/machine/spu/headers/expf.h: Ditto.
525 * libm/machine/spu/headers/fabs.h: Ditto.
526 * libm/machine/spu/headers/fabsf.h: Ditto.
527 * libm/machine/spu/headers/fdim.h: Ditto.
528 * libm/machine/spu/headers/fdimf.h: Ditto.
529 * libm/machine/spu/headers/floor.h: Ditto.
530 * libm/machine/spu/headers/floorf.h: Ditto.
531 * libm/machine/spu/headers/fma.h: Ditto.
532 * libm/machine/spu/headers/fmaf.h: Ditto.
533 * libm/machine/spu/headers/fmax.h: Ditto.
534 * libm/machine/spu/headers/fmaxf.h: Ditto.
535 * libm/machine/spu/headers/fmin.h: Ditto.
536 * libm/machine/spu/headers/fminf.h: Ditto.
537 * libm/machine/spu/headers/fmod.h: Ditto.
538 * libm/machine/spu/headers/fmodf.h: Ditto.
539 * libm/machine/spu/headers/frexp.h: Ditto.
540 * libm/machine/spu/headers/frexpf.h: Ditto.
541 * libm/machine/spu/headers/ilogb.h: Ditto.
542 * libm/machine/spu/headers/ilogbf.h: Ditto.
543 * libm/machine/spu/headers/ldexp.h: Ditto.
544 * libm/machine/spu/headers/ldexpf.h: Ditto.
545 * libm/machine/spu/headers/llrint.h: Ditto.
546 * libm/machine/spu/headers/llrintf.h: Ditto.
547 * libm/machine/spu/headers/llround.h: Ditto.
548 * libm/machine/spu/headers/llroundf.h: Ditto.
549 * libm/machine/spu/headers/log10f.h: Ditto.
550 * libm/machine/spu/headers/log2f.h: Ditto.
551 * libm/machine/spu/headers/logf.h: Ditto.
552 * libm/machine/spu/headers/lrint.h: Ditto.
553 * libm/machine/spu/headers/lrintf.h: Ditto.
554 * libm/machine/spu/headers/lround.h: Ditto.
555 * libm/machine/spu/headers/lroundf.h: Ditto.
556 * libm/machine/spu/headers/nearbyint.h: Ditto.
557 * libm/machine/spu/headers/remainder.h: Ditto.
558 * libm/machine/spu/headers/remainderf.h: Ditto.
559 * libm/machine/spu/headers/remquo.h: Ditto.
560 * libm/machine/spu/headers/remquof.h: Ditto.
561 * libm/machine/spu/headers/rint.h: Ditto.
562 * libm/machine/spu/headers/round.h: Ditto.
563 * libm/machine/spu/headers/roundf.h: Ditto.
564 * libm/machine/spu/headers/scalbn.h: Ditto.
565 * libm/machine/spu/headers/scalbnf.h: Ditto.
566 * libm/machine/spu/headers/sqrt.h: Ditto.
567 * libm/machine/spu/headers/trunc.h: Ditto.
568 * libm/machine/spu/headers/truncf.h: Ditto.
569 * libm/machine/spu/headers/vec_literal.h: Ditto.
570 * libm/machine/spu/llrint.c: Ditto.
571 * libm/machine/spu/llrintf.c: Ditto.
572 * libm/machine/spu/llround.c: Ditto.
573 * libm/machine/spu/llroundf.c: Ditto.
574 * libm/machine/spu/log2f.c: Ditto.
575 * libm/machine/spu/s_cbrt.c: Ditto.
576 * libm/machine/spu/s_ceil.c: Ditto.
577 * libm/machine/spu/s_copysign.c: Ditto.
578 * libm/machine/spu/s_fabs.c: Ditto.
579 * libm/machine/spu/s_fdim.c: Ditto.
580 * libm/machine/spu/s_floor.c: Ditto.
581 * libm/machine/spu/s_fma.c: Ditto.
582 * libm/machine/spu/s_fmax.c: Ditto.
583 * libm/machine/spu/s_fmin.c: Ditto.
584 * libm/machine/spu/s_frexp.c: Ditto.
585 * libm/machine/spu/s_ilogb.c: Ditto.
586 * libm/machine/spu/s_ldexp.c: Ditto.
587 * libm/machine/spu/s_lrint.c: Ditto.
588 * libm/machine/spu/s_lround.c: Ditto.
589 * libm/machine/spu/s_nearbyint.c: Ditto.
590 * libm/machine/spu/s_remquo.c: Ditto.
591 * libm/machine/spu/s_rint.c: Ditto.
592 * libm/machine/spu/s_round.c: Ditto.
593 * libm/machine/spu/s_scalbn.c: Ditto.
594 * libm/machine/spu/s_trunc.c: Ditto.
595 * libm/machine/spu/sf_atan.c: Ditto.
596 * libm/machine/spu/sf_cbrt.c: Ditto.
597 * libm/machine/spu/sf_ceil.c: Ditto.
598 * libm/machine/spu/sf_copysign.c: Ditto.
599 * libm/machine/spu/sf_fabs.c: Ditto.
600 * libm/machine/spu/sf_fdim.c: Ditto.
601 * libm/machine/spu/sf_floor.c: Ditto.
602 * libm/machine/spu/sf_fma.c: Ditto.
603 * libm/machine/spu/sf_fmax.c: Ditto.
604 * libm/machine/spu/sf_fmin.c: Ditto.
605 * libm/machine/spu/sf_frexp.c: Ditto.
606 * libm/machine/spu/sf_ilogb.c: Ditto.
607 * libm/machine/spu/sf_ldexp.c: Ditto.
608 * libm/machine/spu/sf_lrint.c: Ditto.
609 * libm/machine/spu/sf_lround.c: Ditto.
610 * libm/machine/spu/sf_remquo.c: Ditto.
611 * libm/machine/spu/sf_round.c: Ditto.
612 * libm/machine/spu/sf_scalbn.c: Ditto.
613 * libm/machine/spu/sf_trunc.c: Ditto.
614 * libm/machine/spu/w_fmod.c: Ditto.
615 * libm/machine/spu/w_remainder.c: Ditto.
616 * libm/machine/spu/w_sqrt.c: Ditto.
617 * libm/machine/spu/wf_exp.c: Ditto.
618 * libm/machine/spu/wf_exp2.c: Ditto.
619 * libm/machine/spu/wf_fmod.c: Ditto.
620 * libm/machine/spu/wf_log.c: Ditto.
621 * libm/machine/spu/wf_log10.c: Ditto.
622 * libm/machine/spu/wf_remainder.c: Ditto.
624 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
626 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
628 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
630 * libc/include/sched.h: New file, just include sys/sched.h.
631 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
633 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
634 struct utimbuf definition.
636 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
638 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
639 specific struct and typedef.
641 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
643 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
644 typedef dev_t, gid_t, and uid_t.
645 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
646 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
647 Change to lower case for all __foo_t_defined names.
648 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
649 __uid_t, and __gid_t making them all four bytes. Change to lower case
650 for all __foo_t_defined names.
652 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
654 * libc/reent/renamer.c: New file.
655 * libc/reent/Makefile.am: Add new file.
656 * libc/reent/Makefile.in: Regenerated.
657 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
658 and add check for rename syscall.
660 2007-09-17 Eric Blake <ebb9@byu.net>
662 Obey POSIX on printf("%.s", (char*)NULL).
663 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
664 for %s on NULL. Skip NULL check when optimizing for size.
666 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
668 * libc/include/sys/_types.h: Protect all types with flag
669 checks to allow definition in machine/_types.h.
671 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
673 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
674 definitions in light of the previous change.
676 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
678 * libc/include/machine/_default_types.h: New file, contains what
679 was previously in libc/include/machine/_types.h.
680 * libc/include/machine/_types.h: Now only includes
681 machine/_default_types.h.
682 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
683 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
684 with conditional declarations.
685 * libc/machine/spu/machine/_types.h: New file, add SPU specific
686 typedefs for _fpos_t and _fpos64_t.
688 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
690 * libc/include/math.h (_M_LOG2E): Replace with..
691 (_M_LOG2_E): New macro.
692 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
694 2007-09-06 Brian Dessent <brian@dessent.net>
696 * libc/reent/getreent.c: Allow for case where __getreent is
699 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
701 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
702 (log2): Use _M_LOG2E instead of M_LOG2E.
704 (M_LOG2E): Define to be _M_LOG2E.
706 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
708 * libm/math/wf_tgamma.c: Add missing include.
710 2007-08-31 Antony King <antony.king@st.com>
712 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
713 bits and redefine associated dword0 macro (rvalue issue).
714 * libc/stdio/vfieeefp.h: Ditto.
715 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
716 to prevent setting dword1 which is an rvalue only.
718 2007-08-28 Hans Kester <hans.kester@ellips.nl>
720 * configure.host: Added support for x86_64.
721 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
722 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
723 * libc/machine/x86_64/aclocal.m4: Generated.
724 * libc/machine/x86_64/configure.in: New.
725 * libc/machine/x86_64/configure: Generated.
726 * libc/machine/x86_64/Makefile.am: New.
727 * libc/machine/x86_64/Makefile.in: Generated.
728 * libc/machine/x86_64/setjmp.S: New.
729 * libc/machine/x86_64/memcpy.S: New.
730 * libc/machine/x86_64/memset.S: New.
731 * libc/machine/configure.in: Added support for x86_64.
732 * libc/machine/configure: Regenerated.
734 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
736 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
737 to int before comparing it to a signed int value.
739 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
741 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
742 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
745 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
747 Reduce the memory consumption of variable argument functions
749 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
750 to assembler sources.
751 * libc/machine/spu/Makefile.in: Regenerated.
752 * libc/machine/spu/stdio.c: Add __check_init function wrapping
753 CHECK_INIT macro to use from assembler routines.
754 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
755 * libc/machine/spu/fiprintf.S: New file.
756 * libc/machine/spu/fiscanf.S: Ditto.
757 * libc/machine/spu/fprintf.S: Ditto.
758 * libc/machine/spu/fscanf.S: Ditto.
759 * libc/machine/spu/iprintf.S: Ditto.
760 * libc/machine/spu/iscanf.S: Ditto.
761 * libc/machine/spu/printf.S: Ditto.
762 * libc/machine/spu/scanf.S: Ditto.
763 * libc/machine/spu/siprintf.S: Ditto.
764 * libc/machine/spu/siscanf.S: Ditto.
765 * libc/machine/spu/sniprintf.S: Ditto.
766 * libc/machine/spu/snprintf.S: Ditto.
767 * libc/machine/spu/sprintf.S: Ditto.
768 * libc/machine/spu/sscanf.S: Ditto.
769 * libc/machine/spu/stack_reg_va.S: Ditto.
770 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
771 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
772 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
773 * libc/machine/spu/fiscanf.c: Ditto.
774 * libc/machine/spu/fprintf.c: Ditto.
775 * libc/machine/spu/fscanf.c: Ditto.
776 * libc/machine/spu/iprintf.c: Ditto.
777 * libc/machine/spu/iscanf.c: Ditto.
778 * libc/machine/spu/printf.c: Ditto.
779 * libc/machine/spu/scanf.c: Ditto.
780 * libc/machine/spu/siprintf.c: Ditto.
781 * libc/machine/spu/siscanf.c: Ditto.
782 * libc/machine/spu/sniprintf.c: Ditto.
783 * libc/machine/spu/snprintf.c: Ditto.
784 * libc/machine/spu/sprintf.c: Ditto.
785 * libc/machine/spu/sscanf.c: Ditto.
787 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
789 * libc/include/tar.h: New.
791 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
793 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
794 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
795 * libc/sys/linux/intl/Makefile.in: Regenerated.
796 * libc/sys/linux/intl/stpcpy.c: Renamed to...
797 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
799 2007-08-02 Eric Blake <ebb9@byu.net>
801 Implement fmemopen and open_memstream.
802 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
803 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
805 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
806 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
808 (fmemopen, open_memstream): Declare new functions.
809 * libc/stdio/stdio.tex: Document them.
810 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
811 fmemopen and open_memstream.
812 * libc/stdio/Makefile.in: Regenerate.
814 2007-07-31 Eric Blake <ebb9@byu.net>
816 More POSIX stream corner cases.
817 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
818 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
820 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
822 2007-07-18 Eric Blake <ebb9@byu.net>
825 * libc/stdio/stdio.tex: Add missing include.
826 * libc/stdio/vfprintf.c: Use expected node name.
827 * libc/stdio/vfscanf.c: Likewise.
828 * libc/stdio/sscanf.c: Likewise.
829 * libc/stdio/sprintf.c: Likewise.
830 * libc/stdio/siscanf.c: Likewise.
831 * libc/stdio/siprintf.c: Likewise.
832 * libc/stdio/fopencookie.c: Quote raw {}.
833 Reported by DJ Delorie.
835 2007-07-13 Eric Blake <ebb9@byu.net>
838 * libc/stdio/fflush.c (_fflush_r): New function.
839 (fflush): Fix reentrancy and large offset behavior.
840 * libc/include/stdio.h (_fflush_r): Add prototype.
841 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
842 * libc/stdio/freopen.c (_freopen_r): Likewise.
843 * libc/stdio/fseek.c (_fseek_r): Likewise.
844 * libc/stdio/ftell.c (_ftell_r): Likewise.
845 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
846 * libc/stdio/refill.c (__srefill_r): Likewise.
847 * libc/stdio/setvbuf.c (setvbuf): Likewise.
848 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
849 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
850 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
851 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
852 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
853 32-bit version if not large file.
854 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
855 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
857 Documentation updates.
858 * libc/stdio/ungetc.c: Document ungetc.
859 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
860 of files with documentation.
861 * libc/stdio/Makefile.in: Regenerate.
862 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
864 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
866 * libc/include/math.h: Fix so C99 functions/macros are accessible
867 when -std=c99 is used when compiling and not when using C89.
869 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
871 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
872 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
873 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
874 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
876 (CHEWOUT_FILES): Add .def files accordingly.
877 * libc/stdlib/Makefile.in: Regenerate.
878 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
879 * libc/stdlib/strtoll.c: Fix portability note.
880 * libc/stdlib/strtoull.c: Ditto.
881 * libc/stdlib/wcstol.c: New file.
882 * libc/stdlib/wcstoll.c: New file.
883 * libc/stdlib/wcstoll_r.c: New file.
884 * libc/stdlib/wcstoul.c: New file.
885 * libc/stdlib/wcstoull.c: New file.
886 * libc/stdlib/wcstoull_r.c: New file.
888 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
890 * libc/include/sys/time.h (gettimeofday): Change to proper
891 prototype where second parameter is void *.
892 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
894 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
895 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
896 * libc/sys/rdos/gettod.c: Ditto.
897 * libc/sys/sh/syscalls.c: Ditto.
898 * libc/time/time.c (time): Change call to _gettimeofday_r
899 to pass NULL as 2nd argument.
901 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
903 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
904 * libc/sys/linux/intl/l10nflist.c: Ditto.
906 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
908 * libc/include/wchar.h: Add prototype for wcsxfrm.
909 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
910 (CHEWOUT_FILES): Add wcsxfrm.def.
911 * libc/string/Makefile.in: Regenerate.
912 * libc/string/wcsxfrm.c: New file.
913 * libc/string/wcstrings.tex: Add wcsxfrm.
915 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
917 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
918 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
920 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
921 * libc/string/Makefile.in: Regenerate.
922 * libc/string/stpcpy.c: New file.
923 * libc/string/stpncpy.c: New file.
924 * libc/string/strings.tex: Add stpcpy and stpncpy.
926 2007-06-27 Eric Blake <ebb9@byu.net>
928 Support __func__ in assert, as required by C99.
929 * libc/stdlib/assert.c (__assert_func): New function.
930 (__assert): Use __assert_func.
931 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
934 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
936 * libc/machine/spu/perror.c: Pass errno as the second argument to
939 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
941 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
942 defines; expose ftruncate, truncate and sync prototypes.
944 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
946 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
947 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
950 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
952 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
953 from a dropped patch.
954 * libc/machine/spu/Makefile.in: Regenerate.
956 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
958 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
959 it just calls open with appropriate arguments.
960 * libc/machine/spu/Makefile.am: Add creat.c.
961 * libc/machine/spu/Makefile.in: Regenerate.
963 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
965 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
966 I accidentally dropped.
967 * libc/machine/spu/Makefile.in: Regenerated.
969 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
971 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
972 * libc/include/sys/unistd.h: Change usleep prototype to Posix
973 form and move outside of OS flag checks.
974 * libc/machine/spu/Makefile.am: Add sleep and usleep.
975 * libc/machine/spu/Makefile.in: Regenerate.
976 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
977 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
979 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
981 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
982 Define confstr constants for Cygwin. Add comment.
984 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
986 * libc/sys/mmixware/access.c (access): Do not try to use a magic
987 file-handle and a direct syscall, just use _open.
988 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
991 * libc/sys/mmixware/_exit.c (_exit): Update comment about
992 passing on the exit value.
994 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
996 * libc/string/strcasestr.c: New file.
997 * libc/include/string.h: Add strcasestr.
998 * libc/string/strings.tex: Add strcasestr.
999 * libc/string/Makefile.am: Ditto.
1000 * libc/string/Makefile.in: Regenerated.
1002 2007-06-06 Christian Groessler <chris@groessler.org>
1004 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
1005 rnd is done after the last local variable declaration.
1007 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
1009 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
1011 2007-06-05 Christian Groessler <chris@groessler.org>
1013 * libc/argz/argz_insert.c (argz_insert): Move delta variable
1014 declaration to top of function in keeping with C89 standard.
1016 2007-06-04 Eric Blake <ebb9@byu.net>
1018 Implement funopen, fopencookie.
1019 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
1020 Switch to reentrant callbacks.
1021 * libc/include/stdio.h (funopen): Fix declaration.
1022 (fopencookie): Declare.
1023 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
1024 (__sseek64, __swrite64): Fix prototypes.
1025 [__SCLE]: Pull in setmode declaration.
1026 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
1028 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
1029 (__sseek64, __swrite64): Fix reentrancy.
1030 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
1032 * libc/stdio/ftell.c (_ftell_r): Likewise.
1033 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
1034 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
1035 * libc/stdio/freopen.c (_freopen_r): Likewise.
1036 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
1037 * libc/stdio/refill.c (__srefill_r): Likewise.
1038 * libc/stdio/siscanf.c (eofread): Likewise.
1039 * libc/stdio/sscanf.c (eofread): Likewise.
1040 * libc/stdio/vsiscanf.c (eofread1): Likewise.
1041 * libc/stdio/vsscanf.c (eofread1): Likewise.
1042 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1043 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1044 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
1045 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
1047 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
1048 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
1049 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
1051 * libc/stdio/Makefile.in: Regenerate.
1053 2007-05-29 Eric Blake <ebb9@byu.net>
1055 Avoid more compiler warnings.
1056 * libc/stdlib/btowc.c: Add missing header.
1057 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
1058 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
1059 * libc/stdlib/wctob.c: Add missing header.
1060 * libc/string/strcpy.c (strcpy): Avoid warnings.
1061 * libc/string/strrchr.c (strrchr): Likewise.
1063 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
1065 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
1067 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
1068 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
1069 on empty input strings.
1070 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
1071 looping through argz.
1072 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
1074 2007-05-27 Brian Dessent <brian@dessent.net>
1076 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
1079 2007-05-25 Eric Blake <ebb9@byu.net>
1081 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
1083 2007-05-24 Steve Ellcey <sje@cup.hp.com>
1084 Charles Wilson <libtool@cwilson.fastmail.fm>
1086 * libtool.m4: removed
1087 * configure.in: invoke _LD_DECL_SED before conditionally initializing
1088 libtool. Move AC_PROG_AWK outside conditional.
1089 * libc/sys/linux/configure.in: Ditto.
1090 * libc/sys/linux/linuxthreads/configure.in: Ditto.
1091 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
1092 * libc/sys/linux/machine/i386/configure.in: Ditto.
1094 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
1095 initializing libtool.
1096 * libc/configure.in: Ditto.
1097 * libc/machine/configure.in: Ditto.
1098 * libc/machine/i386/configure.in: Ditto.
1099 * libc/sys/configure.in: Ditto.
1100 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
1101 * libc/sys/linux/machine/configure.in: Ditto.
1102 * libm/configure.in: Ditto.
1103 * libm/machine/configure.in: Ditto.
1105 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
1106 * doc/Makefile.am: Ditto.
1107 * iconvdata/Makefile.am: Ditto.
1108 * libc/Makefile.am: Ditto.
1109 * libc/machine/Makefile.am: Ditto.
1110 * libc/machine/a29k/Makefile.am: Ditto.
1111 * libc/machine/arm/Makefile.am: Ditto.
1112 * libc/machine/bfin/Makefile.am: Ditto.
1113 * libc/machine/cris/Makefile.am: Ditto.
1114 * libc/machine/crx/Makefile.am: Ditto.
1115 * libc/machine/d10v/Makefile.am: Ditto.
1116 * libc/machine/d30v/Makefile.am: Ditto.
1117 * libc/machine/fr30/Makefile.am: Ditto.
1118 * libc/machine/frv/Makefile.am: Ditto.
1119 * libc/machine/h8300/Makefile.am: Ditto.
1120 * libc/machine/h8500/Makefile.am: Ditto.
1121 * libc/machine/hppa/Makefile.am: Ditto.
1122 * libc/machine/i386/Makefile.am: Ditto.
1123 * libc/machine/i960/Makefile.am: Ditto.
1124 * libc/machine/iq2000/Makefile.am: Ditto.
1125 * libc/machine/m32c/Makefile.am: Ditto.
1126 * libc/machine/m32r/Makefile.am: Ditto.
1127 * libc/machine/m68hc11/Makefile.am: Ditto.
1128 * libc/machine/m68k/Makefile.am: Ditto.
1129 * libc/machine/m88k/Makefile.am: Ditto.
1130 * libc/machine/mips/Makefile.am: Ditto.
1131 * libc/machine/mn10200/Makefile.am: Ditto.
1132 * libc/machine/mn10300/Makefile.am: Ditto.
1133 * libc/machine/mt/Makefile.am: Ditto.
1134 * libc/machine/necv70/Makefile.am: Ditto.
1135 * libc/machine/powerpc/Makefile.am: Ditto.
1136 * libc/machine/sh/Makefile.am: Ditto.
1137 * libc/machine/sparc/Makefile.am: Ditto.
1138 * libc/machine/spu/Makefile.am: Ditto.
1139 * libc/machine/tic4x/Makefile.am: Ditto.
1140 * libc/machine/tic80/Makefile.am: Ditto.
1141 * libc/machine/v850/Makefile.am: Ditto.
1142 * libc/machine/w65/Makefile.am: Ditto.
1143 * libc/machine/xscale/Makefile.am: Ditto.
1144 * libc/machine/xstormy16/Makefile.am: Ditto.
1145 * libc/machine/z8k/Makefile.am: Ditto.
1146 * libc/sys/Makefile.am: Ditto.
1147 * libc/sys/a29khif/Makefile.am: Ditto.
1148 * libc/sys/arc/Makefile.am: Ditto.
1149 * libc/sys/arm/Makefile.am: Ditto.
1150 * libc/sys/d10v/Makefile.am: Ditto.
1151 * libc/sys/decstation/Makefile.am: Ditto.
1152 * libc/sys/h8300hms/Makefile.am: Ditto.
1153 * libc/sys/h8500hms/Makefile.am: Ditto.
1154 * libc/sys/linux/Makefile.am: Ditto.
1155 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
1156 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
1157 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
1158 * libc/sys/linux/machine/Makefile.am: Ditto.
1159 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1160 * libc/sys/m88kbug/Makefile.am: Ditto.
1161 * libc/sys/mmixware/Makefile.am: Ditto.
1162 * libc/sys/netware/Makefile.am: Ditto.
1163 * libc/sys/rdos/Makefile.am: Ditto.
1164 * libc/sys/rtems/Makefile.am: Ditto.
1165 * libc/sys/sh/Makefile.am: Ditto.
1166 * libc/sys/sparc64/Makefile.am: Ditto.
1167 * libc/sys/sun4/Makefile.am: Ditto.
1168 * libc/sys/sysmec/Makefile.am: Ditto.
1169 * libc/sys/sysnec810/Makefile.am: Ditto.
1170 * libc/sys/sysnecv850/Makefile.am: Ditto.
1171 * libc/sys/sysvi386/Makefile.am: Ditto.
1172 * libc/sys/sysvnecv70/Makefile.am: Ditto.
1173 * libc/sys/tic80/Makefile.am: Ditto.
1174 * libc/sys/w65/Makefile.am: Ditto.
1175 * libc/sys/z8ksim/Makefile.am: Ditto.
1176 * libm/Makefile.am: Ditto.
1177 * libm/machine/Makefile.am: Ditto.
1178 * libm/machine/i386/Makefile.am: Ditto.
1179 * libm/machine/spu/Makefile.am: Ditto.
1181 * aclocal.m4: Regenerate.
1182 * iconvdata/aclocal.m4: Regenerate.
1183 * libc/aclocal.m4: Regenerate.
1184 * libc/machine/aclocal.m4: Regenerate.
1185 * libc/machine/i386/aclocal.m4: Regenerate.
1186 * libc/sys/aclocal.m4: Regenerate.
1187 * libc/sys/linux/aclocal.m4: Regenerate.
1188 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
1189 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
1190 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
1191 * libc/sys/linux/machine/aclocal.m4: Regenerate.
1192 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
1193 * libm/aclocal.m4: Regenerate.
1194 * libm/machine/aclocal.m4: Regenerate.
1195 * libm/machine/i386/aclocal.m4: Regenerate.
1197 * Makefile.in: Regenerate.
1198 * doc/Makefile.in: Regenerate.
1199 * iconvdata/Makefile.in: Regenerate.
1200 * libc/Makefile.in: Regenerate.
1201 * libc/argz/Makefile.in: Regenerate.
1202 * libc/ctype/Makefile.in: Regenerate.
1203 * libc/errno/Makefile.in: Regenerate.
1204 * libc/iconv/Makefile.in: Regenerate.
1205 * libc/iconv/ccs/Makefile.in: Regenerate.
1206 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
1207 * libc/iconv/ces/Makefile.in: Regenerate.
1208 * libc/iconv/lib/Makefile.in: Regenerate.
1209 * libc/locale/Makefile.in: Regenerate.
1210 * libc/machine/Makefile.in: Regenerate.
1211 * libc/machine/a29k/Makefile.in: Regenerate.
1212 * libc/machine/arm/Makefile.in: Regenerate.
1213 * libc/machine/bfin/Makefile.in: Regenerate.
1214 * libc/machine/cris/Makefile.in: Regenerate.
1215 * libc/machine/crx/Makefile.in: Regenerate.
1216 * libc/machine/d10v/Makefile.in: Regenerate.
1217 * libc/machine/d30v/Makefile.in: Regenerate.
1218 * libc/machine/fr30/Makefile.in: Regenerate.
1219 * libc/machine/frv/Makefile.in: Regenerate.
1220 * libc/machine/h8300/Makefile.in: Regenerate.
1221 * libc/machine/h8500/Makefile.in: Regenerate.
1222 * libc/machine/hppa/Makefile.in: Regenerate.
1223 * libc/machine/i386/Makefile.in: Regenerate.
1224 * libc/machine/i960/Makefile.in: Regenerate.
1225 * libc/machine/iq2000/Makefile.in: Regenerate.
1226 * libc/machine/m32c/Makefile.in: Regenerate.
1227 * libc/machine/m32r/Makefile.in: Regenerate.
1228 * libc/machine/m68hc11/Makefile.in: Regenerate.
1229 * libc/machine/m68k/Makefile.in: Regenerate.
1230 * libc/machine/m88k/Makefile.in: Regenerate.
1231 * libc/machine/mips/Makefile.in: Regenerate.
1232 * libc/machine/mn10200/Makefile.in: Regenerate.
1233 * libc/machine/mn10300/Makefile.in: Regenerate.
1234 * libc/machine/mt/Makefile.in: Regenerate.
1235 * libc/machine/necv70/Makefile.in: Regenerate.
1236 * libc/machine/powerpc/Makefile.in: Regenerate.
1237 * libc/machine/sh/Makefile.in: Regenerate.
1238 * libc/machine/sparc/Makefile.in: Regenerate.
1239 * libc/machine/spu/Makefile.in: Regenerate.
1240 * libc/machine/tic4x/Makefile.in: Regenerate.
1241 * libc/machine/tic80/Makefile.in: Regenerate.
1242 * libc/machine/v850/Makefile.in: Regenerate.
1243 * libc/machine/w65/Makefile.in: Regenerate.
1244 * libc/machine/xscale/Makefile.in: Regenerate.
1245 * libc/machine/xstormy16/Makefile.in: Regenerate.
1246 * libc/machine/z8k/Makefile.in: Regenerate.
1247 * libc/misc/Makefile.in: Regenerate.
1248 * libc/posix/Makefile.in: Regenerate.
1249 * libc/reent/Makefile.in: Regenerate.
1250 * libc/search/Makefile.in: Regenerate.
1251 * libc/signal/Makefile.in: Regenerate.
1252 * libc/stdio/Makefile.in: Regenerate.
1253 * libc/stdio64/Makefile.in: Regenerate.
1254 * libc/stdlib/Makefile.in: Regenerate.
1255 * libc/string/Makefile.in: Regenerate.
1256 * libc/sys/Makefile.in: Regenerate.
1257 * libc/sys/a29khif/Makefile.in: Regenerate.
1258 * libc/sys/arc/Makefile.in: Regenerate.
1259 * libc/sys/arm/Makefile.in: Regenerate.
1260 * libc/sys/d10v/Makefile.in: Regenerate.
1261 * libc/sys/decstation/Makefile.in: Regenerate.
1262 * libc/sys/h8300hms/Makefile.in: Regenerate.
1263 * libc/sys/h8500hms/Makefile.in: Regenerate.
1264 * libc/sys/linux/Makefile.in: Regenerate.
1265 * libc/sys/linux/argp/Makefile.in: Regenerate.
1266 * libc/sys/linux/cmath/Makefile.in: Regenerate.
1267 * libc/sys/linux/dl/Makefile.in: Regenerate.
1268 * libc/sys/linux/iconv/Makefile.in: Regenerate.
1269 * libc/sys/linux/intl/Makefile.in: Regenerate.
1270 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
1271 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
1272 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
1273 * libc/sys/linux/machine/Makefile.in: Regenerate.
1274 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
1275 * libc/sys/linux/net/Makefile.in: Regenerate.
1276 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
1277 * libc/sys/m88kbug/Makefile.in: Regenerate.
1278 * libc/sys/mmixware/Makefile.in: Regenerate.
1279 * libc/sys/netware/Makefile.in: Regenerate.
1280 * libc/sys/rdos/Makefile.in: Regenerate.
1281 * libc/sys/rtems/Makefile.in: Regenerate.
1282 * libc/sys/sh/Makefile.in: Regenerate.
1283 * libc/sys/sparc64/Makefile.in: Regenerate.
1284 * libc/sys/sun4/Makefile.in: Regenerate.
1285 * libc/sys/sysmec/Makefile.in: Regenerate.
1286 * libc/sys/sysnec810/Makefile.in: Regenerate.
1287 * libc/sys/sysnecv850/Makefile.in: Regenerate.
1288 * libc/sys/sysvi386/Makefile.in: Regenerate.
1289 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
1290 * libc/sys/tic80/Makefile.in: Regenerate.
1291 * libc/sys/w65/Makefile.in: Regenerate.
1292 * libc/sys/z8ksim/Makefile.in: Regenerate.
1293 * libc/syscalls/Makefile.in: Regenerate.
1294 * libc/time/Makefile.in: Regenerate.
1295 * libc/unix/Makefile.in: Regenerate.
1296 * libm/Makefile.in: Regenerate.
1297 * libm/common/Makefile.in: Regenerate.
1298 * libm/machine/Makefile.in: Regenerate.
1299 * libm/machine/i386/Makefile.in: Regenerate.
1300 * libm/machine/spu/Makefile.in: Regenerate.
1301 * libm/math/Makefile.in: Regenerate.
1302 * libm/mathfp/Makefile.in: Regenerate.
1304 * configure: Regenerate.
1305 * iconvdata/configure: Regenerate.
1306 * libc/configure: Regenerate.
1307 * libc/machine/configure: Regenerate.
1308 * libc/machine/i386/configure: Regenerate.
1309 * libc/sys/configure: Regenerate.
1310 * libc/sys/linux/configure: Regenerate.
1311 * libc/sys/linux/linuxthreads/configure: Regenerate.
1312 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
1313 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
1314 * libc/sys/linux/machine/configure: Regenerate.
1315 * libc/sys/linux/machine/i386/configure: Regenerate.
1316 * libm/configure: Regenerate.
1317 * libm/machine/configure: Regenerate.
1318 * libm/machine/i386/configure: Regenerate.
1320 2007-05-23 Eric Blake <ebb9@byu.net>
1322 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
1323 sizeof(void*) is 8 but sizeof(long) is 4.
1324 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
1325 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
1326 to fix reentrancy and bug on encoding error in multibyte locales.
1327 Always return EOF on read error.
1329 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
1331 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
1333 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
1334 instead of the slot 0 value, remove any now unused variables, and
1335 for some cases, now store the result in an int vs int*.
1336 * libc/machine/spu/feof.c: Ditto.
1337 * libc/machine/spu/ferror.c: Ditto.
1338 * libc/machine/spu/fflush.c: Ditto.
1339 * libc/machine/spu/fgetc.c: Ditto.
1340 * libc/machine/spu/fgetpos.c: Ditto.
1341 * libc/machine/spu/fgets.c: Ditto.
1342 * libc/machine/spu/fileno.c: Ditto.
1343 * libc/machine/spu/fopen.c: Ditto.
1344 * libc/machine/spu/fprintf.c: Ditto.
1345 * libc/machine/spu/fputc.c: Ditto.
1346 * libc/machine/spu/fputs.c: Ditto.
1347 * libc/machine/spu/fread.c: Ditto.
1348 * libc/machine/spu/freopen.c: Ditto.
1349 * libc/machine/spu/fscanf.c: Ditto.
1350 * libc/machine/spu/fseek.c: Ditto.
1351 * libc/machine/spu/fsetpos.c: Ditto.
1352 * libc/machine/spu/ftell.c: Ditto.
1353 * libc/machine/spu/fwrite.c: Ditto.
1354 * libc/machine/spu/getc.c: Ditto.
1355 * libc/machine/spu/getchar.c: Ditto.
1356 * libc/machine/spu/gets.c: Ditto.
1357 * libc/machine/spu/printf.c: Ditto.
1358 * libc/machine/spu/putc.c: Ditto.
1359 * libc/machine/spu/putchar.c: Ditto.
1360 * libc/machine/spu/puts.c: Ditto.
1361 * libc/machine/spu/remove.c: Ditto.
1362 * libc/machine/spu/rename.c: Ditto.
1363 * libc/machine/spu/scanf.c: Ditto.
1364 * libc/machine/spu/setvbuf.c: Ditto.
1365 * libc/machine/spu/snprintf.c: Ditto.
1366 * libc/machine/spu/sprintf.c: Ditto.
1367 * libc/machine/spu/sscanf.c: Ditto.
1368 * libc/machine/spu/tmpfile.c: Ditto.
1369 * libc/machine/spu/tmpnam.c: Ditto.
1370 * libc/machine/spu/ungetc.c: Ditto.
1371 * libc/machine/spu/vfprintf.c: Ditto.
1372 * libc/machine/spu/vfscanf.c: Ditto.
1373 * libc/machine/spu/vprintf.c: Ditto.
1374 * libc/machine/spu/vscanf.c: Ditto.
1375 * libc/machine/spu/vsnprintf.c: Ditto.
1376 * libc/machine/spu/vsprintf.c: Ditto.
1377 * libc/machine/spu/vsscanf.c: Ditto.
1379 2007-05-23 Eric Blake <ebb9@byu.net>
1381 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
1382 Avoid warning when !FLOATING_POINT.
1383 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
1386 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
1388 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
1390 * libc/include/argz.h: Guard against multiple inclusion. Guard for
1393 2007-05-18 Eric Blake <ebb9@byu.net>
1395 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
1397 * libc/stdio/vfscanf.c: Likewise.
1399 2007-05-17 Cary R. <cygcary <at> yahoo.com>
1401 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
1402 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
1403 * libm/math/wf_atan2.c: Ditto.
1405 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
1407 * libm/common/Makefile.am: Add support for exp10, exp10f,
1408 pow10, and pow10f functions.
1409 * libm/common/Makefile.in: Regenerated.
1410 * libm/common/s_pow10.c: New file.
1411 * libm/common/sf_pow10.c: Ditto.
1412 * libm/common/s_exp10.c: Ditto.
1413 * libm/common/sf_exp10.c: Ditto.
1414 * libc/include/math.h [!pow10]: New pow10 prototype.
1415 [!pow10f]: New pow10f prototype.
1416 [!exp10]: New exp10 prototype.
1417 [!exp10f]: New exp10f prototype.
1419 2007-05-17 Charles Wilson <cygwin@...>
1421 * stdio/tmpfile.c: Include <sys/stat.h>.
1422 * stdio64/tmpfile64.c: Ditto.
1424 2007-05-16 Eric Blake <ebb9@byu.net>
1426 Close security hole in tmpfile.
1427 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
1428 generation and opening the fd.
1429 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
1431 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
1432 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
1434 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
1435 avoid clash with <math.h>.
1437 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
1438 * libc/search/hash.c (__hash_open): Likewise.
1440 2007-05-14 Eric Blake <ebb9@byu.net>
1442 Reduce stack size of *printf.
1443 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
1444 in %f. Avoid malloc when possible for %S.
1445 (BUF): Improve stack locality by using smaller size.
1446 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
1447 (exponent): Use smaller stack size.
1449 2007-05-11 Eric Blake <ebb9@byu.net>
1451 Minimize printf/scanf size on platforms that don't need C99.
1452 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
1453 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
1454 * configure.in (newlib-io-c99-formats): New configure option.
1455 (_WANT_IO_C99_FORMATS): Define appropriately.
1456 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
1457 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
1458 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
1459 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
1461 * configure: Regenerate.
1463 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
1464 (get_arg): Support '%a' and '%A'.
1466 2007-05-09 Eric Blake <ebb9@byu.net>
1468 Allow zero size with non-null buf in *asnprintf.
1469 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
1471 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
1472 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
1473 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
1475 2007-05-07 Charles Wilson <cygwin@...>
1477 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
1479 2007-05-03 Eric Blake <ebb9@byu.net>
1481 Add support for asnprintf, and improve *printf documentation.
1482 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
1483 (ELIX_2_SOURCES): ...to this.
1484 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
1485 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
1486 (CHEWOUT_FILES): Include diprintf in documentation.
1487 * libc/stdio/Makefile.in: Regenerate.
1488 * libc/stdio/diprintf.c: Improve documentation.
1489 * libc/stdio/dprintf.c: Likewise.
1490 * libc/stdio/siprintf.c: Likewise.
1491 * libc/stdio/sprintf.c: Likewise.
1492 * libc/stdio/vfprintf.c: Likewise.
1493 * libc/stdio/viprintf.c: Likewise.
1494 * libc/stdio/vsniprintf.c: Consolidate documentation.
1495 * libc/stdio/asiprintf.c: Refer to documentation.
1496 * libc/stdio/asprintf.c: Likewise.
1497 * libc/stdio/fiprintf.c: Likewise.
1498 * libc/stdio/fprintf.c: Likewise.
1499 * libc/stdio/iprintf.c: Likewise.
1500 * libc/stdio/printf.c: Likewise.
1501 * libc/stdio/sniprintf.c: Likewise.
1502 * libc/stdio/vdiprintf.c: Likewise.
1503 * libc/stdio/vdprintf.c: Likewise.
1504 * libc/stdio/vsiprintf.c: Likewise.
1505 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
1506 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
1507 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
1508 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
1510 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
1511 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
1513 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
1514 * libc/include/stdio.h: Add prototypes for new functions; sort
1517 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
1519 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1521 * libc/machine/m68k/Makefile.in: Regenerate.
1522 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
1523 * libc/machine/m68k/memset.S: Likewise.
1525 2007-05-01 Eric Blake <ebb9@byu.net>
1527 * libc/stdio64/local64.h: Delete, move contents to...
1528 * libc/stdio/local.h: ...here.
1529 * libc/stdio64/fdopen64.c: Update includes.
1530 * libc/stdio64/fopen64.c: Likewise.
1531 * libc/stdio64/freopen64.c: Likewise.
1532 * libc/stdio64/fseeko64.c: Likewise.
1533 * libc/stdio64/ftello64.c: Likewise.
1534 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
1535 and stderr with 64-bit offset.
1536 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
1537 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
1538 * libc/stdio/mktemp.c (_gettemp): Likewise.
1540 2007-05-01 Cary R. <cygcary <at> yahoo.com>
1542 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
1543 to treatment of NaN and +-inf arguments.
1544 * libm/math/ef_pow.c: Ditto.
1545 * libm/math/w_pow.c: Ditto.
1546 * libm/math/wf_pow.c: Ditto.
1547 * libm/math/w_acos.c: Fix domain errors to return NaN.
1548 * libm/math/w_asin.c: Ditto.
1549 * libm/math/wf_acos.c: Ditto.
1550 * libm/math/wf_asin.c: Ditto.
1551 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
1552 * libm/math/wf_log.c: Ditto.
1553 * libm/math/wf_log10.c: Ditto.
1554 * libm/math/w_log10.c: Ditto.
1556 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
1558 * libc/machine/m68k/Makefile.am: Temporarily remove
1559 memcpy.S and memset.S until logic can be confirmed for
1560 !(__mcoldfile__) case.
1561 * libc/machine/m68k/Makefile.in: Regenerated.
1563 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
1565 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
1567 * libc/machine/m68k/Makefile.in: Regenerate.
1568 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
1570 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
1572 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
1573 overridden via machine/ieeefp.h.
1574 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
1575 macros for isnan and related macros.
1576 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
1577 overridden via machine/ieeefp.h.
1578 * libm/machine/spu/Makefile.am: Add new files.
1579 * libm/machine/spu/Makefile.in: Autogenerate with new files.
1580 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
1581 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
1582 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
1583 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
1584 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
1585 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
1586 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
1588 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
1590 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
1591 * libm/common/sf_fpclassify.c: ...here. New file.
1592 * libm/common/Makefile.am: Add sf_fpclassify.c.
1593 * libm/common/Makefile.in: Regenerated.
1595 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1597 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
1598 ppu linux values. This file is a copy of the cris/sys/errno.h plus
1599 a few changes (see spu errno.h comments).
1601 2007-04-25 Eric Blake <ebb9@byu.net>
1603 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
1604 that promote to int.
1606 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
1608 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
1609 we clear the proper bits in the fpscr, and don't set some random ones.
1611 2007-04-24 Eric Blake <ebb9@byu.net>
1613 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
1616 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
1619 * libc/include/limits.h (NL_ARGMAX): Define a default value.
1620 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
1621 NL_ARGMAX, if present.
1623 2007-04-23 Brian Dessent <brian@dessent.net>
1625 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
1626 has been specified with types 'f', 'F', 'g', or 'G', ensure the
1627 trailing decimal is printed.
1629 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
1631 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
1632 file. Override Autoconf-2.59's version of these macros with
1633 fixed handling of multiple adjacent whitespace in arguments.
1634 * aclocal.m4: Regenerated forcefully.
1636 * Makefile.in: Ditto.
1637 * libc/*Makefile.in: Ditto.
1638 * libc/*aclocal.m4: Ditto.
1639 * libc/*configure: Ditto.
1640 * libm/*Makefile.in: Ditto.
1641 * libm/*aclocal.m4: Ditto.
1642 * libm/*configure: Ditto.
1644 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
1646 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
1647 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
1648 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
1649 * libc/sys/arc/Makefile.in: Regenerated.
1651 2007-04-17 Brian Dessent <brian@dessent.net>
1653 * libc/stdio/sscanf.c: Update documentation comments.
1654 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
1656 2007-04-12 Eric Blake <ebb9@byu.net>
1658 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
1659 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
1660 (get_arg): Handle %1$F, %1$n.
1662 2007-04-10 Eric Blake <ebb9@byu.net>
1664 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
1667 2007-04-09 Eric Blake <ebb9@byu.net>
1669 * libc/include/stdio.h: Add gcc format attributes to printf and
1672 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
1674 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
1675 even if the passed in length n is shorter than the source string.
1676 This matches both the non-spu specific and the glibc strxfrm
1679 2007-04-04 Mark Mitchell <mark@codesourcery.com>
1681 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
1682 functions registering additional atexit functions.
1684 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1687 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1689 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1691 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1692 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1693 * libc/machine/spu/fclose.c: Ditto.
1694 * libc/machine/spu/feof.c: Ditto.
1695 * libc/machine/spu/ferror.c: Ditto.
1696 * libc/machine/spu/fflush.c: Ditto.
1697 * libc/machine/spu/fgetc.c: Ditto.
1698 * libc/machine/spu/fgetpos.c: Ditto.
1699 * libc/machine/spu/fgets.c: Ditto.
1700 * libc/machine/spu/fileno.c: Ditto.
1701 * libc/machine/spu/fopen.c: Ditto.
1702 * libc/machine/spu/fprintf.c: Ditto.
1703 * libc/machine/spu/fputc.c: Ditto.
1704 * libc/machine/spu/fputs.c: Ditto.
1705 * libc/machine/spu/fread.c: Ditto.
1706 * libc/machine/spu/freopen.c: Ditto.
1707 * libc/machine/spu/fscanf.c: Ditto.
1708 * libc/machine/spu/fseek.c: Ditto.
1709 * libc/machine/spu/fsetpos.c: Ditto.
1710 * libc/machine/spu/ftell.c: Ditto.
1711 * libc/machine/spu/fwrite.c: Ditto.
1712 * libc/machine/spu/getc.c: Ditto.
1713 * libc/machine/spu/getchar.c: Ditto.
1714 * libc/machine/spu/gets.c: Ditto.
1715 * libc/machine/spu/perror.c: Ditto.
1716 * libc/machine/spu/printf.c: Ditto.
1717 * libc/machine/spu/putc.c: Ditto.
1718 * libc/machine/spu/putchar.c: Ditto.
1719 * libc/machine/spu/puts.c: Ditto.
1720 * libc/machine/spu/remove.c: Ditto.
1721 * libc/machine/spu/rename.c: Ditto.
1722 * libc/machine/spu/rewind.c: Ditto.
1723 * libc/machine/spu/scanf.c: Ditto.
1724 * libc/machine/spu/setbuf.c: Ditto.
1725 * libc/machine/spu/setvbuf.c: Ditto.
1726 * libc/machine/spu/snprintf.c: Ditto.
1727 * libc/machine/spu/sprintf.c: Ditto.
1728 * libc/machine/spu/sscanf.c: Ditto.
1729 * libc/machine/spu/tmpfile.c: Ditto.
1730 * libc/machine/spu/tmpnam.c: Ditto.
1731 * libc/machine/spu/ungetc.c: Ditto.
1732 * libc/machine/spu/vfprintf.c: Ditto.
1733 * libc/machine/spu/vfscanf.c: Ditto.
1734 * libc/machine/spu/vprintf.c: Ditto.
1735 * libc/machine/spu/vscanf.c: Ditto.
1736 * libc/machine/spu/vsnprintf.c: Ditto.
1737 * libc/machine/spu/vsprintf.c: Ditto.
1738 * libc/machine/spu/vsscanf.c: Ditto.
1740 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1742 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1744 2007-04-04 Eric Blake <ebb9@byu.net>
1746 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1747 (asiprintf): Avoid overhead.
1748 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1749 (asprintf): Avoid overhead.
1750 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1751 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1752 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1753 (fiprintf): Avoid overhead.
1754 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1755 (fprintf): Avoid overhead.
1756 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1757 (iprintf): Avoid overhead.
1758 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1759 (printf): Avoid overhead.
1760 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1761 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1762 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1763 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1764 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1765 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1766 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1767 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1768 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1770 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1771 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1773 2007-03-30 Dave Korn <dave.korn@artimi.com>
1775 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1776 conflicting inline semantics between C99 and GNU89.
1777 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1778 compatible with -fkeep-inline-functions usage.
1779 (__sputc_r): Likewise for consistency even though disabled.
1781 2007-03-29 Nick Clifton <nickc@redhat.com>
1783 Reflect changes made to generic vfprintf.c:
1784 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1785 and add a "struct reent *" argument.
1786 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1787 argument and call _VFPRINTF_R instead of VFPRINTF.
1788 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1789 Fix uses of __sprint() and __sbprintf.
1791 2007-03-20 Nick Clifton <nickc@redhat.com>
1793 Reflect changes made to generic vfprintf.c:
1794 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1795 and add a "struct reent *" argument.
1796 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1797 argument and call _VFPRINTF_R instead of VFPRINTF.
1798 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1799 Fix uses of __sprint() and __sbprintf.
1801 2007-03-16 Charles Wilson <cygwin@...>
1803 * libc/argz/argz_insert.c: "before" pointer is
1804 invalid after *argz realloc. Compute offset
1805 between "before" and *argz, and use it after
1806 reallocation instead.
1808 2007-03-16 Eric Blake <ebb9@byu.net>
1810 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1811 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1813 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1815 * configure.in: Add new --enable-newlib-reent-small option.
1816 * configure: Regenerated.
1817 * acconfig.h: Add _WANT_REENT_SMALL.
1818 * newlib.hin: Regenerated minus PACKAGE macros to add
1819 _WANT_REENT_SMALL macro.
1820 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1822 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1824 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1825 use reentrant pointer passed in when resetting the file
1826 pointer to one of the std streams.
1828 2007-03-15 Eric Blake <ebb9@byu.net>
1830 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1831 (__smakebuf): Rename...
1832 (__smakebuf_r): to this.
1833 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1834 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1835 allocation, then rename...
1836 (__smakebuf_r): ...to this and fix reentrancy.
1837 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1838 allocation, then rename...
1839 (__swsetup_r): ...to this and fix reentrancy.
1840 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1841 * libc/stdio/refill.c (__srefill_r): Likewise.
1842 * libc/stdio/fclose.c (_fclose_r): Likewise.
1843 * libc/stdio/fread.c (_fread_r): Likewise.
1844 * libc/stdio/freopen.c (_freopen_r): Likewise.
1845 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1846 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1847 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1848 failed asprintf allocation, and fix reentrancy.
1849 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1850 as required by POSIX.
1851 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1852 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1853 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1855 2007-03-12 Eric Blake <ebb9@byu.net>
1857 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1858 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1859 allocation to caller.
1860 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1861 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1862 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1864 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1866 * libm/math/w_pow.c: Fix typo in documentation comment.
1868 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1870 * libc/reent/timer.c: Removed (split into two new files).
1871 * libc/reent/timesr.c: New file for _times_r.
1872 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1873 * reent/Makefile.in: Remove timer.c, add timesr.c and
1875 * libc/reent/Makefile.am: Regenerate.
1877 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1879 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1881 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1883 * libc/machine/spu/Makefile.am: Add new objects.
1884 * libc/machine/spu/Makefile.in: Regenerated.
1885 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1886 integer-only version.
1887 * libc/machine/spu/fiscanf.c: Ditto.
1888 * libc/machine/spu/iprintf.c: Ditto.
1889 * libc/machine/spu/iscanf.c: Ditto.
1890 * libc/machine/spu/siprintf.c: Ditto.
1891 * libc/machine/spu/siscanf.c: Ditto.
1892 * libc/machine/spu/sniprintf.c: Ditto.
1893 * libc/machine/spu/vfiprintf.c: Ditto.
1894 * libc/machine/spu/vfiscanf.c: Ditto.
1895 * libc/machine/spu/viprintf.c: Ditto.
1896 * libc/machine/spu/viscanf.c: Ditto.
1897 * libc/machine/spu/vsiprintf.c: Ditto.
1898 * libc/machine/spu/vsiscanf.c: Ditto.
1899 * libc/machine/spu/vsniprintf.c: Ditto.
1900 * libc/machine/spu/fprintf.c: Add support for integer-only
1902 * libc/machine/spu/fscanf.c: Ditto.
1903 * libc/machine/spu/printf.c: Ditto.
1904 * libc/machine/spu/scanf.c: Ditto.
1905 * libc/machine/spu/snprintf.c: Ditto.
1906 * libc/machine/spu/sprintf.c: Ditto.
1907 * libc/machine/spu/sscanf.c: Ditto.
1908 * libc/machine/spu/vfprintf.c: Ditto.
1909 * libc/machine/spu/vfscanf.c: Ditto.
1910 * libc/machine/spu/vprintf.c: Ditto.
1911 * libc/machine/spu/vscanf.c: Ditto.
1912 * libc/machine/spu/vsnprintf.c: Ditto.
1913 * libc/machine/spu/vsprintf.c: Ditto.
1914 * libc/machine/spu/vsscanf.c: Ditto.
1916 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1918 * libc/include/stdio.h: Add declaration for vsiprintf.
1920 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1922 Add a floating point environment for SPU (cell):
1924 * configure.host: add libm_machine_dir=spu.
1925 * libm/machine/configure: Add spu.
1926 * libm/machine/configure.in: regenerated with spu added.
1927 * libc/machine/spu/include/fenv.h: New file.
1928 * libc/machine/spu/sys/fenv.h: Ditto.
1929 * libm/machine/spu/Makefile.am: Ditto.
1930 * libm/machine/spu/Makefile.in: Ditto.
1931 * libm/machine/spu/aclocal.m4: Ditto.
1932 * libm/machine/spu/configure: Ditto.
1933 * libm/machine/spu/configure.in: Ditto.
1934 * libm/machine/spu/fe_dfl_env.c: Ditto.
1935 * libm/machine/spu/feclearexcept.c: Ditto.
1936 * libm/machine/spu/fegetenv.c: Ditto.
1937 * libm/machine/spu/fegetexceptflag.c: Ditto.
1938 * libm/machine/spu/fegetround.c: Ditto.
1939 * libm/machine/spu/feholdexcept.c: Ditto.
1940 * libm/machine/spu/feraiseexcept.c: Ditto.
1941 * libm/machine/spu/fesetenv.c: Ditto.
1942 * libm/machine/spu/fesetexceptflag.c: Ditto.
1943 * libm/machine/spu/fesetround.c: Ditto.
1944 * libm/machine/spu/fetestexcept.c: Ditto.
1945 * libm/machine/spu/feupdateenv.c: Ditto.
1946 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1947 * libm/machine/spu/headers/fefpscr.h: Ditto.
1948 * libm/machine/spu/headers/fegetenv.h: Ditto.
1949 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1950 * libm/machine/spu/headers/fegetround.h: Ditto.
1951 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1952 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1953 * libm/machine/spu/headers/fesetenv.h: Ditto.
1954 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1955 * libm/machine/spu/headers/fesetround.h: Ditto.
1956 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1957 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1959 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1961 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1964 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1966 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1967 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1969 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1971 * libc/include/sys/features.h: Add definition of all supported
1972 _POSIX_xxx values for Cygwin.
1973 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1975 (pthread_rwlockattr_t): Ditto.
1976 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1977 required by SUSv3. Unify formatting.
1979 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1981 * libc/include/sys/errno.h: Add ECANCELED.
1983 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1984 Kazunori Asayama <asayama@sm.sony.co.jp>
1986 * libc/machine/spu/Makefile.am: Add objects.
1987 * libc/machine/spu/Makefile.in: Regenerated.
1988 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1990 * libc/machine/spu/snprintf.c: Ditto.
1991 * libc/machine/spu/sprintf.c: Ditto.
1992 * libc/machine/spu/sscanf.c: Ditto.
1993 * libc/machine/spu/remove.c: Ditto.
1994 * libc/machine/spu/rename.c: Ditto.
1995 * libc/machine/spu/tmpnam.c: Ditto.
1996 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1998 * libc/machine/spu/vsprintf.c: Ditto.
2000 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
2001 Kazunori Asayama <asayama@sm.sony.co.jp>
2003 * configure.host: Enable SPU specific stdio directory.
2004 * libc/machine/spu/Makefile.am: Add objects.
2005 * libc/machine/spu/Makefile.in: Regenerated.
2006 * libc/machine/spu/c99ppe.h: Add macros and function
2007 declarations to initialize SPU specific stdio stuffs.
2008 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
2009 specific FILE structures.
2010 * libc/machine/spu/perror.c: Add initialization routine of
2012 * libc/machine/spu/printf.c: Ditto.
2013 * libc/machine/spu/putchar.c: Ditto.
2014 * libc/machine/spu/puts.c: Ditto.
2015 * libc/machine/spu/vprintf.c: Ditto.
2016 * libc/machine/spu/clearerr.c: New file. Add a stdio function
2018 * libc/machine/spu/feof.c: Ditto.
2019 * libc/machine/spu/ferror.c: Ditto.
2020 * libc/machine/spu/fileno.c: Ditto.
2021 * libc/machine/spu/fopen.c: Ditto.
2022 * libc/machine/spu/fclose.c: Ditto.
2023 * libc/machine/spu/freopen.c: Ditto.
2024 * libc/machine/spu/fflush.c: Ditto.
2025 * libc/machine/spu/fseek.c: Ditto.
2026 * libc/machine/spu/ftell.c: Ditto.
2027 * libc/machine/spu/rewind.c: Ditto.
2028 * libc/machine/spu/fgetpos.c: Ditto.
2029 * libc/machine/spu/fsetpos.c: Ditto.
2030 * libc/machine/spu/fread.c: Ditto.
2031 * libc/machine/spu/fwrite.c: Ditto.
2032 * libc/machine/spu/getc.c: Ditto.
2033 * libc/machine/spu/getchar.c: Ditto.
2034 * libc/machine/spu/gets.c: Ditto.
2035 * libc/machine/spu/fgetc.c: Ditto.
2036 * libc/machine/spu/fgets.c: Ditto.
2037 * libc/machine/spu/ungetc.c: Ditto.
2038 * libc/machine/spu/putc.c: Ditto.
2039 * libc/machine/spu/fputc.c: Ditto.
2040 * libc/machine/spu/fputs.c: Ditto.
2041 * libc/machine/spu/vfprintf.c: Ditto.
2042 * libc/machine/spu/vfscanf.c: Ditto.
2043 * libc/machine/spu/fprintf.c: Ditto.
2044 * libc/machine/spu/fscanf.c: Ditto.
2045 * libc/machine/spu/scanf.c: Ditto.
2046 * libc/machine/spu/vscanf.c: Ditto.
2047 * libc/machine/spu/setbuf.c: Ditto.
2048 * libc/machine/spu/setvbuf.c: Ditto.
2049 * libc/machine/spu/tmpfile.c: Ditto.
2051 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
2053 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
2054 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
2055 around stdio macros that manipulate fields in the normal file
2057 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
2058 <sys/custom_file.h> to define custom FILE structure.
2059 * libc/include/sys/custom_file.h: New default header file
2060 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
2061 * libc/machine/spu/sys/custom_file.h: New file.
2063 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
2065 * configure.host: Define stdio directory as a variable.
2066 * libc/Makefile.am: Define stdio related names
2068 * libc/configure.in: Add detection routine of stdio directory.
2069 * libc/Makefile.in: Regenerated.
2070 * libc/configure: Ditto.
2071 * libc/argz/Makefile.in: Ditto.
2072 * libc/ctype/Makefile.in: Ditto.
2073 * libc/errno/Makefile.in: Ditto.
2074 * libc/iconv/Makefile.in: Ditto.
2075 * libc/iconv/ccs/Makefile.in: Ditto.
2076 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2077 * libc/iconv/ces/Makefile.in: Ditto.
2078 * libc/iconv/lib/Makefile.in: Ditto.
2079 * libc/locale/Makefile.in: Ditto.
2080 * libc/misc/Makefile.in: Ditto.
2081 * libc/posix/Makefile.in: Ditto.
2082 * libc/reent/Makefile.in: Ditto.
2083 * libc/search/Makefile.in: Ditto.
2084 * libc/signal/Makefile.in: Ditto.
2085 * libc/stdio/Makefile.in: Ditto.
2086 * libc/stdio64/Makefile.in: Ditto.
2087 * libc/stdlib/Makefile.in: Ditto.
2088 * libc/string/Makefile.in: Ditto.
2089 * libc/syscalls/Makefile.in: Ditto.
2090 * libc/time/Makefile.in: Ditto.
2091 * libc/unix/Makefile.in: Ditto.
2093 2007-01-30 Ben Elliston <bje@au.ibm.com>
2095 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
2097 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
2098 (printf): Pass fmt to va_start to suppress a warning.
2100 * libc/search/hash.c (init_hash): Make `info' parameter const.
2102 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
2104 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
2105 * libc/machine/spu/vec_literal.h: Ditto.
2106 * libc/machine/spu/strncmp.c: Ditto.
2108 2007-01-15 Joseph Myers <joseph@codesourcery.com>
2109 Kazu Hirata <kazu@codesourcery.com>
2111 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
2112 for E500V1 and E500V2.
2114 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
2116 * libm/configure.in: Always configure machine directory.
2117 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
2119 * libm/configure: Regenerated.
2120 * libm/Makefile.in: Ditto.
2121 * libm/*/Makefile.in: Ditto.
2123 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
2125 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
2127 2007-01-02 Ben Elliston <bje@au.ibm.com>
2129 * doc/makedoc.c: Include <stdlib.h>.
2130 (malloc, realloc): Remove extern declarations.
2132 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2134 * NEWS: Update with 1.15.0 info.
2136 * acinclude.m4: Change version number to 1.15.0.
2137 * aclocal.m4: Regenerated.
2139 * doc/aclocal.m4: Ditto.
2140 * doc/configure: Ditto.
2141 * libc/*/aclocal.m4: Ditto.
2142 * libc/*/configure: Ditto.
2143 * libc/libc.texinfo: Ditto.
2144 * libm/*/aclocal.m4: Ditto.
2145 * libm/*/configure: Ditto.
2146 * libm/libm.texinfo: Ditto.
2147 * libc/sys/linux/shared.ld: Add VERS_1.15.
2149 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
2151 Merge from newlib-csl-20060320-branch:
2152 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
2153 Kazu Hirata <kazu@codesourcery.com>
2155 * configure.host: Recognize fido.
2157 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
2159 * libc/machine/spu/c99ppe.h: New file
2160 * libc/machine/spu/perror.c: New file to override libc/stdio version.
2161 * libc/machine/spu/printf.c: New file
2162 * libc/machine/spu/putchar.c: New file
2163 * libc/machine/spu/puts.c: New file
2164 * libc/machine/spu/vprintf.c: New file
2165 * libc/machine/spu/vsnprintf.c: New file
2166 * libc/machine/spu/vsprintf.c: New file
2167 * libc/machine/spu/Makefile.am: Add new targets.
2168 * libc/machine/spu/Makefile.in: Regenerated.
2170 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2172 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
2173 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
2175 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
2177 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
2178 2.6.5 version of Doug Lea's malloc which is the basis of
2181 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
2183 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
2185 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
2186 Eric Blake <ebb9@byu.net>
2188 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
2189 read but unused data.
2190 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
2191 even read streams may have side effects that must happen.
2193 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2195 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
2198 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
2200 * libc/include/alloca.h: Add undef alloca to work with xlc.
2202 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
2204 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
2207 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2209 * libc/machine/spu/strncpy.c: Add padding.
2211 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
2213 * testsuite/newlib.string/tstring.c:
2215 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
2217 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
2218 * libc/machine/spu/strrchr.c: Ditto.
2220 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
2222 * libc/include/math.h: Allow C99 functions/macros to be
2223 defined for C++ even when __STRICT_ANSI__.
2225 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
2227 * libc/stdio/makebuf.c (__smakebuf): If dealing with
2228 an asprintf-family buffer, make the default initial size 64.
2230 2006-11-29 Eric Blake <ebb9@byu.net>
2232 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
2233 asprintf, as well as quadratic realloc behavior.
2235 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
2237 * libc/machine/spu/memset.c: Fix type of explicit cast.
2238 * libc/machine/spu/strncmp.c: Add explicit cast.
2239 * libc/machine/spu/strrchr.c: Ditto.
2240 * libc/machine/spu/strspn.c: Ditto.
2242 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
2244 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
2245 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
2246 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
2247 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
2248 * libc/machine/spu/strncat.c: Explicit cast.
2249 * libc/machine/spu/strncmp.c: Use spu_splats.
2250 * libc/machine/spu/strncpy.c: Explicit cast.
2251 * libc/machine/spu/strrchr.c: Use spu_splats.
2252 * libc/machine/spu/strspn.c: Use spu_splats.
2254 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
2256 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
2258 2006-11-14 Eric Blake <ebb9@byu.net>
2260 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
2261 (chclass): ' is a flag. j, t, and z are modifiers.
2263 2006-11-08 Jie Zhang <jie.zhang@analog.com>
2265 * configure.host: Add support for bfin.
2266 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
2267 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
2268 * libc/machine/bfin/aclocal.m4: Generate.
2269 * libc/machine/bfin/configure.in: New.
2270 * libc/machine/bfin/configure: Generate.
2271 * libc/machine/bfin/Makefile.am: New.
2272 * libc/machine/bfin/Makefile.in: Generate.
2273 * libc/machine/bfin/setjmp.S: New.
2274 * libc/machine/bfin/longjmp.S: New.
2275 * libc/machine/configure.in: Add bfin support.
2276 * libc/machine/configure: Generate.
2278 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
2280 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
2281 (_PC_FILESIZEBITS): Add definition.
2282 (_PC_2_SYMLINKS): Ditto.
2283 (_PC_SYMLINK_MAX): Ditto.
2285 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
2287 * libc/machine/spu/memcpy.c: Override generic function with vectorized
2288 version optimized for the cell spu.
2289 * libc/machine/spu/memmove.c: Ditto.
2290 * libc/machine/spu/memset.c: Ditto.
2291 * libc/machine/spu/strcat.c: Ditto.
2292 * libc/machine/spu/strchr.c: Ditto.
2293 * libc/machine/spu/strcmp.c: Ditto.
2294 * libc/machine/spu/strcpy.c: Ditto.
2295 * libc/machine/spu/strcspn.c: Ditto.
2296 * libc/machine/spu/strlen.c: Ditto.
2297 * libc/machine/spu/strncat.c: Ditto.
2298 * libc/machine/spu/strncmp.c: Ditto.
2299 * libc/machine/spu/strncpy.c: Ditto.
2300 * libc/machine/spu/strpbrk.c: Ditto.
2301 * libc/machine/spu/strrchr.c: Ditto.
2302 * libc/machine/spu/strspn.c: Ditto.
2303 * libc/machine/spu/strxfrm.c: Ditto.
2304 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
2305 removing altivec style initializers.
2306 * libc/machine/spu/Makefile.am: Add new files to list so they build
2307 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
2309 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
2311 * README: Add a brief section on how to regenerate
2312 configuration files in newlib.
2314 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
2316 * libc/include/math.h: (exception): Add a comment
2317 telling fixincludes that we handle C vs. C++ issue.
2319 2006-10-11 Yang Tse <yangsita@gmail.com>
2321 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
2324 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
2326 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
2328 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
2330 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
2331 for clearerr, feof, or fileno.
2332 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
2333 the dummy std stream scheme to use pointers to const external
2334 fake files, one for each standard stream.
2335 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
2336 argument. For _REENT_SMALL, reset the file pointer if it
2337 matches one of the fake std stream pointers.
2338 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
2340 * libc/stdio/fclose.c: Ditto.
2341 * libc/stdio/feof.c: Ditto.
2342 * libc/stdio/ferror.c: Ditto.
2343 * libc/stdio/fflush.c: Ditto.
2344 * libc/stdio/fgetc.c: Ditto.
2345 * libc/stdio/fgets.c: Ditto.
2346 * libc/stdio/fileno.c: Ditto.
2347 * libc/stdio/findfp.c: Ditto.
2348 * libc/stdio/fputc.c: Ditto.
2349 * libc/stdio/fputs.c: Ditto.
2350 * libc/stdio/fread.c: Ditto.
2351 * libc/stdio/freopen.c: Ditto.
2352 * libc/stdio/fseek.c: Ditto.
2353 * libc/stdio/ftell.c: Ditto.
2354 * libc/stdio/fwrite.c: Ditto.
2355 * libc/stdio/getc.c: Ditto.
2356 * libc/stdio/getdelim.c: Ditto.
2357 * libc/stdio/putc.c: Ditto.
2358 * libc/stdio/refill.c: Ditto.
2359 * libc/stdio/setvbuf.c: Ditto.
2360 * libc/stdio/ungetc.c: Ditto.
2361 * libc/stdio/vfprintf.c: Ditto.
2362 * libc/stdio/vfscanf.c: Ditto.
2363 * libc/stdio/wbuf.c: Ditto.: Ditto.
2364 * libc/stdio/wsetup.c: Ditto.
2365 * libc/stdio64/freopen64.c: Ditto.
2366 * libc/stdio64/fseeko64.c: Ditto.
2367 * libc/stdio64/ftello64.c: Ditto.
2368 * libc/machine/powerpc/vfprintf.c: Ditto.
2369 * libc/machine/powerpc/vfscanf.c: Ditto.
2371 2006-09-22 Paul Brook <paul@codesourcery.com>
2373 * libc/include/sys/reent.h: Define and use __reent_assert.
2375 2006-09-13 Joel Sherrill <joel@oarcorp.com>
2377 * libc/include/pthread.h: Add pthread barriers,
2378 rwlocks, and spinlocks. Change const to
2379 _CONST and prefix parameter names with
2381 * libc/include/sys/types.h: Add id and attribute
2382 types for barriers, wrlocks, and spinlocks.
2383 * libc/include/sys/features.h: Enable barriers,
2384 wrlocks, and spinlocks for RTEMS.
2386 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
2388 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
2389 supposed to be writable.
2390 * libm/common/s_lib_ver.c: Ditto.
2392 2006-09-12 Paul Brook <paul@codesourcery.com>
2394 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
2396 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
2399 * libc/machine/xstormy16/Makefile.am:
2400 Add $(lpfx) prefix to LIBADD objects.
2401 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
2402 * libc/machine/xstormy16/Makefile.in: Regenerated.
2404 2006-09-06 Eric Blake <ebb9@byu.net>
2406 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
2407 't', and 'z' modifiers.
2409 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
2411 Merge from newlib-csl-20060320-branch:
2412 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
2414 * configure.host: Tell it we have _rename and _system when
2415 building m68k-unknown-elf.
2417 2006-08-29 Paul Brook <paul@codesourcery.com>
2419 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
2421 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
2423 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
2424 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
2425 This is needed to build all AVR and H8300 RTEMS multilib variants.
2427 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
2429 * libc/machine/configure.in: Add configuration for SPU.
2430 * libc/machine/configure: Regenerated.
2431 * libc/machine/spu/memcpy.c: Include string.h.
2433 2006-08-22 Eric Blake <ebb9@byu.net>
2435 * libc/posix/popen.c (popen): Don't close output end of pipe in
2436 child if stdout was closed on entry.
2437 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
2439 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
2441 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
2444 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
2446 * libc/time/gmtime.c: Correct man page; clock is not a
2447 local time and no conversion occurs.
2449 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2451 * configure.host (newlib_cflags) [spu]: Add special compiler
2452 options to reduce size.
2454 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
2456 * configure.host: Add spu support.
2457 * libc/include/stdint.h: Ditto.
2458 * libc/include/machine/ieeefp.h: Ditto.
2459 * libc/include/machine/setjmp.h: Ditto.
2460 * libc/include/sys/config.h: Ditto.
2461 * libc/include/sys/types.h: Ditto.
2462 * libc/machine/spu/Makefile.am: New file.
2463 * libc/machine/spu/Makefile.in: Ditto.
2464 * libc/machine/spu/aclocal.m4: Ditto.
2465 * libc/machine/spu/configure: Ditto.
2466 * libc/machine/spu/configure.in: Ditto.
2467 * libc/machine/spu/memcpy.c: Ditto.
2468 * libc/machine/spu/setjmp.S: Ditto.
2470 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
2472 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
2475 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
2477 * libc/Makefile.am: Add libc_TEXINFOS dependency on
2478 generated .texi files.
2479 * libm/Makefile.am: Add libm_TEXINFOS dependency on
2480 generated .texi files.
2481 * libc/Makefile.in: Regenerated.
2482 * libm/Makefile.in: Ditto.
2484 2006-08-01 Thiemo Seufer <ths@mips.com>
2485 Nigel Stephens <nigel@mips.com>
2487 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
2488 define this to force _impure_ptr to live in the .sdata section.
2490 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2492 * acinclude.m4: Check for readelf tool.
2493 * configure.in: Use ${READELF} instead of hard-coding.
2494 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2496 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
2498 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
2499 to avoid conflict with newer glibc's revision of mremap.
2501 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
2503 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
2504 floating-point format support. Also redefine
2505 dword0 and dword1 macros.
2506 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
2507 to prevent setting dword1 which is an rvalue only.
2509 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
2511 * libc/stdlib/Makefile.am: Add new gdtoa routines.
2512 * libc/stdlib/Makefile.in: Regenerated.
2513 * libc/stdlib/gd_qnan.h: New file.
2514 * libc/stdlib/gdtoa-gethex.c: Ditto.
2515 * libc/stdlib/gdtoa-hexnan.c: Ditto.
2516 * libc/stdlib/gdtoa.h: Ditto.
2517 * libc/stdlib/mprec.c: Add new helper routines needed by
2519 * libc/stdlib/mprec.h: Integrate some defines and prototypes
2520 used by gdtoa routines here.
2521 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
2522 which adds C99 support such as nan, inf, and hexadecimal input
2525 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
2527 * libc/include/stdio.h (__sgetc_r): Fix typo.
2528 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
2529 * libc/stdio/rget.c (__srbuf): Reinstantiate.
2530 * libc/stdio/wbuf.c (__swbuf): Ditto.
2532 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
2534 * libc/include/stdio.h: Add new reentrant I/O prototypes for
2535 read/write functions. Change getc/putc macros to have reentrant underlying
2536 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
2537 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
2538 new reentrant I/O functions/macros for reading/writing.
2539 * libc/stdio/fgets.c: Ditto.
2540 * libc/stdio/fputc.c: Ditto.
2541 * libc/stdio/fputs.c: Ditto.
2542 * libc/stdio/fread.c: Ditto.
2543 * libc/stdio/fseek.c: Ditto.
2544 * libc/stdio64/fseeko64.c: Ditto.
2545 * libc/stdio/fwrite.c: Ditto.
2546 * libc/stdio/getc.c: Ditto.
2547 * libc/stdio/getc_u.c: Ditto.
2548 * libc/stdio/getchar.c: Ditto.
2549 * libc/stdio/getchar_u.c: Ditto.
2550 * libc/stdio/putc.c: Ditto.
2551 * libc/stdio/putc_u.c: Ditto.
2552 * libc/stdio/putchar.c: Ditto.
2553 * libc/stdio/puts.c: Ditto.
2554 * libc/stdio/vfprintf.c: Ditto.
2555 * libc/stdio/vfscanf.c: Ditto.
2556 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
2557 Change all previous callers of __sfvwrite. Set errno to EBADF and
2558 set error flag on if attempt is made to write to file that does not
2560 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
2561 * libc/stdio/local.h: Ditto.
2562 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
2563 Set errno to EBADF and the error flag on if attempt is made to
2564 read unreadable file. Change all previous callers of __srefill.
2566 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
2567 all previous callers of __swbuf.
2568 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
2569 huge value macros are already defined correctly for i386 by <math.h>.
2571 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
2573 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
2574 Make them do something useful in the ARM_RDI_MONITOR case.
2576 2006-06-07 Fred Fish <fnf@specifix.com>
2578 * libc/search/hash_bigkey.c (MIN,MAX): Remove
2579 defines that are already supplied by <sys/param.h>.
2581 2006-06-07 Fred Fish <fnf@specifix.com>
2583 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
2585 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2587 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
2589 * libc/posix/Makefile.in: Regenerate.
2590 * libc/posix/sleep.c: New file.
2591 * libc/posix/usleep.c: Ditto.
2593 2006-06-05 Shaun Jackman <sjackman@gmail.com>
2595 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
2596 -DABORT_PROVIDED flag.
2597 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
2598 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
2600 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
2602 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
2603 * Makefile.in: Regenerated.
2604 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
2605 extraneous CFLAGS reference now that CCASFLAGS are being extended
2606 properly via multilib.
2607 * libc/machine/sh/Makefile.in: Regenerated.
2609 2006-06-02 Shaun Jackman <sjackman@gmail.com>
2611 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
2614 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2616 * libc/misc/dprintf.c: Removed.
2617 * libc/misc/__dprintf.c: Renamed from dprintf.c.
2618 * libc/misc/Makefile.am: Changed appropriately for rename.
2619 * libc/misc/Makefile.in: Regenerated.
2621 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
2623 * libc/include/stdio.h: Protect dprintf prototype
2624 with #ifndef dprintf so as to not interfere with
2625 historical code defining their own dprintf macro.
2627 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
2629 * libc/include/stdio.h: Add prototypes for fiscanf,
2630 iscanf, and siscanf.
2632 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
2634 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
2635 (DEF_NEWLIB_VERSION).
2636 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
2637 * configure: Regenerate.
2639 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
2641 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
2643 * libc/ctype/Makefile.in: Regenerated.
2645 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
2647 * libc/machine/arm/Makefile.am: Fix a typo.
2648 * libc/machine/arm/Makefile.in: Regenerated.
2650 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
2652 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2653 * libc/machine/sh/Makefile.in: Regenerate.
2655 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
2657 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
2658 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
2660 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
2662 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
2664 * libc/sys/sysnec810/Makefile.in: Regenerated.
2665 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
2666 * libc/sys/sysnec810/io.S: Ditto.
2667 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
2668 * libc/sys/sysnec810/io.s: Ditto.
2670 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
2672 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
2673 be specified instead of object, do so.
2674 * libc/ctype/Makefile.am: Ditto.
2675 * libc/iconv/ccs/Makefile.am: Ditto.
2676 * libc/iconv/ces/Makefile.am: Ditto.
2677 * libc/iconv/lib/Makefile.am: Ditto.
2678 * libc/locale/Makefile.am: Ditto.
2679 * libc/posix/Makefile.am: Ditto.
2680 * libc/reent/Makefile.am: Ditto.
2681 * libc/search/Makefile.am: Ditto.
2682 * libc/stdio/Makefile.am: Ditto.
2683 * libc/stdio64/Makefile.am: Ditto.
2684 * libc/stdlib/Makefile.am: Ditto.
2685 * libc/string/Makefile.am: Ditto.
2686 * libc/syscalls/Makefile.am: Ditto.
2687 * libc/unix/Makefile.am: Ditto.
2688 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2689 prefix added automatically. Any specified rules must use $(lpfx) for
2691 * libc/machine/arm/Makefile.am: Ditto.
2692 * libc/machine/cris/Makefile.am: Ditto.
2693 * libc/machine/crx/Makefile.am: Ditto.
2694 * libc/machine/d10v/Makefile.am: Ditto.
2695 * libc/machine/d30v/Makefile.am: Ditto.
2696 * libc/machine/fr30/Makefile.am: Ditto.
2697 * libc/machine/frv/Makefile.am: Ditto.
2698 * libc/machine/h8300/Makefile.am: Ditto.
2699 * libc/machine/h8500/Makefile.am: Ditto.
2700 * libc/machine/hppa/Makefile.am: Ditto.
2701 * libc/machine/i386/Makefile.am: Ditto.
2702 * libc/machine/i960/Makefile.am: Ditto.
2703 * libc/machine/iq2000/Makefile.am: Ditto.
2704 * libc/machine/m32c/Makefile.am: Ditto.
2705 * libc/machine/m32r/Makefile.am: Ditto.
2706 * libc/machine/m68hc11/Makefile.am: Ditto.
2707 * libc/machine/m68k/Makefile.am: Ditto.
2708 * libc/machine/m88k/Makefile.am: Ditto.
2709 * libc/machine/mips/Makefile.am: Ditto.
2710 * libc/machine/mn10200/Makefile.am: Ditto.
2711 * libc/machine/mn10300/Makefile.am: Ditto.
2712 * libc/machine/mt/Makefile.am: Ditto.
2713 * libc/machine/necv70/Makefile.am: Ditto.
2714 * libc/machine/powerpc/Makefile.am: Ditto.
2715 * libc/machine/sh/Makefile.am: Ditto.
2716 * libc/machine/sh/Makefile.in: Ditto.
2717 * libc/machine/sparc/Makefile.am: Ditto.
2718 * libc/machine/tic4x/Makefile.am: Ditto.
2719 * libc/machine/tic80/Makefile.am: Ditto.
2720 * libc/machine/v850/Makefile.am: Ditto.
2721 * libc/machine/w65/Makefile.am: Ditto.
2722 * libc/machine/xscale/Makefile.am: Ditto.
2723 * libc/machine/xstormy16/Makefile.am: Ditto.
2724 * libc/machine/z8k/Makefile.am: Ditto.
2725 * libc/sys/a29khif/Makefile.am: Ditto.
2726 * libc/sys/arm/Makefile.am: Ditto.
2727 * libc/sys/d10v/Makefile.am: Ditto.
2728 * libc/sys/h8300hms/Makefile.am: Ditto.
2729 * libc/sys/h8500hms/Makefile.am: Ditto.
2730 * libc/sys/linux/Makefile.am: Ditto.
2731 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2732 * libc/sys/linux/net/Makefile.am: Ditto.
2733 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2734 * libc/sys/m88kbug/Makefile.am: Ditto.
2735 * libc/sys/mmixware/Makefile.am: Ditto.
2736 * libc/sys/rdos/Makefile.am: Ditto.
2737 * libc/sys/rtems/Makefile.am: Ditto.
2738 * libc/sys/sh/Makefile.am: Ditto.
2739 * libc/sys/sun4/Makefile.am: Ditto.
2740 * libc/sys/sysmec/Makefile.am: Ditto.
2741 * libc/sys/sysnec810/Makefile.am: Ditto.
2742 * libc/sys/sysnecv850/Makefile.am: Ditto.
2743 * libc/sys/sysvi386/Makefile.am: Ditto.
2744 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2745 * libc/sys/tic80/Makefile.am: Ditto.
2746 * libc/sys/w65/Makefile.am: Ditto.
2747 * libc/sys/z8ksim/Makefile.am: Ditto.
2748 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2749 * libc/machine/necv70/setjmp.S: Ditto.
2750 * libc/machine/necv70/fastmath.s: Removed.
2751 * libc/machine/necv70/setjmp.s: Ditto.
2752 * libc/machine/w65/*.S: New files renamed from .s files.
2753 * libc/machine/w65/*.s: Renamed and removed.
2754 * libc/sys/a29khif/*.S: New files renamed from .s files.
2755 * libc/sys/a29khif/*.s: Renamed and removed.
2756 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2757 * libc/sys/sysvi386/*.s: Renamed and removed.
2758 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2759 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2760 * libc/*Makefile.in: Regenerated as appropriate.
2762 2006-04-24 DJ Delorie <dj@redhat.com>
2764 * libc/machine/sh/configure.in: Avoid link tests.
2765 * libc/machine/sh/configure: Regenerate.
2767 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2769 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2770 (sigaddset, sigemptyset): Add return code.
2772 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2774 * acinclude.m4: New _NEWLIB_VERSION.
2775 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2776 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2777 Use new form of AC_INIT_AUTOMAKE.
2778 * configure.in: AC_PREREQ(2.59).
2779 Use autoconf-2.5.x version of AC_INIT.
2780 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2781 autoconf-2.13's AC_OUTPUT.
2782 * libm/configure.in: Ditto.
2783 * libm/machine/configure.in: Ditto.
2784 * libm/machine/i386/configure.in: Ditto.
2785 * libc/configure.in: Ditto.
2786 * libc/machine/a29k/configure.in: Ditto.
2787 * libc/machine/arm/configure.in: Ditto.
2788 * libc/machine/configure.in: Ditto.
2789 * libc/machine/mn10300/configure.in: Ditto.
2790 * libc/machine/powerpc/configure.in: Ditto.
2791 * libc/machine/z8k/configure.in: Ditto.
2792 * libc/machine/h8300/configure.in: Ditto.
2793 * libc/machine/mips/configure.in: Ditto.
2794 * libc/machine/crx/configure.in: Ditto.
2795 * libc/machine/m68hc11/configure.in: Ditto.
2796 * libc/machine/h8500/configure.in: Ditto.
2797 * libc/machine/xscale/configure.in: Ditto.
2798 * libc/machine/d10v/configure.in: Ditto.
2799 * libc/machine/fr30/configure.in: Ditto.
2800 * libc/machine/sh/configure.in: Ditto.
2801 * libc/machine/tic80/configure.in: Ditto.
2802 * libc/machine/m32r/configure.in: Ditto.
2803 * libc/machine/xstormy16/configure.in: Ditto.
2804 * libc/machine/i386/configure.in: Ditto.
2805 * libc/machine/d30v/configure.in: Ditto.
2806 * libc/machine/mn10200/configure.in: Ditto.
2807 * libc/machine/frv/configure.in: Ditto.
2808 * libc/machine/mt/configure.in: Ditto.
2809 * libc/machine/i960/configure.in: Ditto.
2810 * libc/machine/v850/configure.in: Ditto.
2811 * libc/machine/necv70/configure.in: Ditto.
2812 * libc/machine/tic4x/configure.in: Ditto.
2813 * libc/machine/cris/configure.in: Ditto.
2814 * libc/machine/m68k/configure.in: Ditto.
2815 * libc/machine/m32c/configure.in: Ditto.
2816 * libc/machine/hppa/configure.in: Ditto.
2817 * libc/machine/w65/configure.in: Ditto.
2818 * libc/machine/iq2000/configure.in: Ditto.
2819 * libc/machine/sparc/configure.in: Ditto.
2820 * libc/machine/m88k/configure.in: Ditto.
2821 * libc/sys/linux/configure.in: Ditto.
2822 * libc/sys/linux/machine/configure.in: Ditto.
2823 * libc/sys/linux/machine/i386/configure.in: Ditto.
2824 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2825 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2826 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2827 * libc/sys/arm/configure.in: Ditto.
2828 * libc/sys/configure.in: Ditto.
2829 * libc/sys/decstation/configure.in: Ditto.
2830 * libc/sys/a29khif/configure.in: Ditto.
2831 * libc/sys/sysnecv850/configure.in: Ditto.
2832 * libc/sys/d10v/configure.in: Ditto.
2833 * libc/sys/netware/configure.in: Ditto.
2834 * libc/sys/mmixware/configure.in: Ditto.
2835 * libc/sys/h8500hms/configure.in: Ditto.
2836 * libc/sys/sh/configure.in: Ditto.
2837 * libc/sys/tic80/configure.in: Ditto.
2838 * libc/sys/rdos/configure.in: Ditto.
2839 * libc/sys/sysmec/configure.in: Ditto.
2840 * libc/sys/sysvi386/configure.in: Ditto.
2841 * libc/sys/h8300hms/configure.in: Ditto.
2842 * libc/sys/sparc64/configure.in: Ditto.
2843 * libc/sys/arc/configure.in: Ditto.
2844 * libc/sys/sysnec810/configure.in: Ditto.
2845 * libc/sys/m88kbug/configure.in: Ditto.
2846 * libc/sys/sysvnecv70/configure.in: Ditto.
2847 * libc/sys/z8ksim/configure.in: Ditto.
2848 * libc/sys/rtems/configure.in: Ditto.
2849 * libc/sys/w65/configure.in: Ditto.
2850 * libc/sys/sun4/configure.in: Ditto.
2851 * doc/configure.in: Ditto.
2852 * iconvdata/configure.in: Ditto.
2853 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2855 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2857 * acinclude.m4: Properly add square brackets for
2858 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2859 macros no longer available. Add LIB_AM_PROG_AS to
2860 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2861 macro. Substitute lpfx (library object prefix).
2862 * configure.host: Set lpfx depending on whether
2863 libtool is used or not.
2864 * configure.in: Individually specify libc and libm
2865 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2867 * Makefile.am: Use $(lpfx) to get object names for
2868 math-library functions that should also be in libc.
2869 * libc/machine/configure.in: Use case statement to determine
2870 AC_CONFIG_SUBDIRS statement.
2871 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2872 * libc/sys/linux/machine/configure.in: Ditto.
2873 * libc/sys/configure.in: Ditto.
2874 * libm/machine/configure.in: Ditto.
2875 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2876 * libm/configure.in: Add AM_CONDITIONAL statement
2877 for HAVE_LIBM_MACHINE_DIR.
2878 * libc/machine/a29k/Makefile.am: Modified to work with
2879 latest automake. Change includes setting AM_CCASFLAGS
2880 so building .S files will properly pick up flags used
2882 * libc/machine/arm/Makefile.am: Ditto.
2883 * libc/machine/crx/Makefile.am: Ditto.
2884 * libc/machine/d10v/Makefile.am: Ditto.
2885 * libc/machine/d30v/Makefile.am: Ditto.
2886 * libc/machine/fr30/Makefile.am: Ditto.
2887 * libc/machine/frv/Makefile.am: Ditto.
2888 * libc/machine/h8300/Makefile.am: Ditto.
2889 * libc/machine/h8500/Makefile.am: Ditto.
2890 * libc/machine/hppa/Makefile.am: Ditto.
2891 * libc/machine/i386/Makefile.am: Ditto.
2892 * libc/machine/iq2000/Makefile.am: Ditto.
2893 * libc/machine/m32c/Makefile.am: Ditto.
2894 * libc/machine/m32r/Makefile.am: Ditto.
2895 * libc/machine/m68hc11/Makefile.am: Ditto.
2896 * libc/machine/m68k/Makefile.am: Ditto.
2897 * libc/machine/m88k/Makefile.am: Ditto.
2898 * libc/machine/mips/Makefile.am: Ditto.
2899 * libc/machine/mn10200/Makefile.am: Ditto.
2900 * libc/machine/mn10300/Makefile.am: Ditto.
2901 * libc/machine/mt/Makefile.am: Ditto.
2902 * libc/machine/necv70/Makefile.am: Ditto.
2903 * libc/machine/powerpc/Makefile.am: Ditto.
2904 * libc/machine/sh/Makefile.am: Ditto.
2905 * libc/machine/sparc/Makefile.am: Ditto.
2906 * libc/machine/tic4x/Makefile.am: Ditto.
2907 * libc/machine/tic80/Makefile.am: Ditto.
2908 * libc/machine/v850/Makefile.am: Ditto.
2909 * libc/machine/w65/Makefile.am: Ditto.
2910 * libc/machine/xscale/Makefile.am: Ditto.
2911 * libc/machine/xstormy16/Makefile.am: Ditto.
2912 * libc/machine/z8k/Makefile.am: Ditto.
2913 * libc/sys/a29khif/Makefile.am: Ditto.
2914 * libc/sys/arc/Makefile.am: Ditto.
2915 * libc/sys/arm/Makefile.am: Ditto.
2916 * libc/sys/d10v/Makefile.am: Ditto.
2917 * libc/sys/decstation/Makefile.am: Ditto.
2918 * libc/sys/h8300hms/Makefile.am: Ditto.
2919 * libc/sys/h8500hms/Makefile.am: Ditto.
2920 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2921 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2922 * libc/sys/m88kbug/Makefile.am: Ditto.
2923 * libc/sys/mmixware/Makefile.am: Ditto.
2924 * libc/sys/netware/Makefile.am: Ditto.
2925 * libc/sys/rdos/Makefile.am: Ditto.
2926 * libc/sys/rtems/Makefile.am: Ditto.
2927 * libc/sys/sh/Makefile.am: Ditto.
2928 * libc/sys/sparc64/Makefile.am: Ditto.
2929 * libc/sys/sysmec/Makefile.am: Ditto.
2930 * libc/sys/sysnec810/Makefile.am: Ditto.
2931 * libc/sys/sysnecv850/Makefile.am: Ditto.
2932 * libc/sys/sysvi386/Makefile.am: Ditto.
2933 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2934 * libc/sys/tic80/Makefile.am: Ditto.
2935 * libc/sys/w65/Makefile.am: Ditto.
2936 * libc/sys/z8ksim/Makefile.am: Ditto.
2937 * libm/machine/i386/Makefile.am: Ditto.
2938 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2939 trap.S so that automake will generate a .S.o suffix rule.
2940 * libc/argz/Makefile.am: Modified to work with
2941 latest automake. Change includes adding lib_a_CFLAGS
2942 so automake doesn't complain about libtool and non-libtool
2943 libraries sharing objects.
2944 * libc/ctype/Makefile.am: Ditto.
2945 * libc/errno/Makefile.am: Ditto.
2946 * libc/iconv/ccs/Makefile.am: Ditto.
2947 * libc/iconv/ces/Makefile.am: Ditto.
2948 * libc/iconv/lib/Makefile.am: Ditto.
2949 * libc/locale/Makefile.am: Ditto.
2950 * libc/misc/Makefile.am: Ditto.
2951 * libc/posix/Makefile.am: Ditto.
2952 * libc/reent/Makefile.am: Ditto.
2953 * libc/search/Makefile.am: Ditto.
2954 * libc/signal/Makefile.am: Ditto.
2955 * libc/stdio/Makefile.am: Ditto.
2956 * libc/stdio64/Makefile.am: Ditto.
2957 * libc/stdlib/Makefile.am: Ditto.
2958 * libc/string/Makefile.am: Ditto.
2959 * libc/sys/linux/Makefile.am: Ditto.
2960 * libc/sys/linux/argp/Makefile.am: Ditto.
2961 * libc/sys/linux/cmath/Makefile.am: Ditto.
2962 * libc/sys/linux/dl/Makefile.am: Ditto.
2963 * libc/sys/linux/iconv/Makefile.am: Ditto.
2964 * libc/sys/linux/intl/Makefile.am: Ditto.
2965 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2966 * libc/sys/linux/net/Makefile.am: Ditto.
2967 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2968 * libc/syscalls/Makefile.am: Ditto.
2969 * libc/time/Makefile.am: Ditto.
2970 * libc/unix/Makefile.am: Ditto.
2971 * libm/Makefile.am: Ditto.
2972 * libm/common/Makefile.am: Ditto.
2973 * libm/math/Makefile.am: Ditto.
2974 * libm/mathfp/Makefile.am: Ditto.
2975 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2977 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2979 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2980 anymore. Assume there is a gettimeofday syscall.
2982 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2984 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2985 for the declaration of n_long.
2987 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2989 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2991 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2992 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2993 (IFF_NOTRAILERS): New define.
2994 (struct ifreq): Add ifru_netmask.
2995 (ifr_netmask): New define.
2997 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2999 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
3002 2006-03-29 Shaun Jackman <sjackman@gmail.com>
3004 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
3005 linux-newlib libc implementations.
3007 2006-03-29 Eric Blake <ebb9@byu.net>
3009 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
3010 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
3012 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3014 * libc/sys/linux/io.c (__mknod): Fix declaration of
3015 syscall to pass a dev_t as third argument rather than
3018 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
3020 * libc/sys/linux/net/name6.c: Fix struct references.
3022 2006-03-22 Mark Mitchell <mark@codesourcery.com>
3024 * configure.host: Allow hosts to set the default
3025 newlib_atexit_dynamic_alloc value.
3026 * configure.in: Likewise.
3027 * configure: Regenerated.
3029 2006-03-20 Mark Mitchell <mark@codesourcery.com>
3031 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
3032 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
3034 * configure: Regenerated.
3035 * newlib.hin: Regenerated.
3036 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
3037 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3038 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
3039 if _ATEXIT_DYNAMIC_ALLOC is undefined.
3041 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
3043 * libc/sys/linux/linuxthreads/config.h: Remove definition
3046 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3048 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
3049 for a string I/O file that isn't using the asprintf family.
3051 2006-03-07 Eric Blake <ebb9@byu.net>
3053 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
3054 filename, allow read-only or write-only FILE atop O_RDWR file
3056 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
3058 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
3060 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
3061 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
3063 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
3065 * libm/math/math.tex: Fix reference to sisnan.def which
3066 is now in common subdirectory.
3067 * libm/mathfp/mathfp.tex: Ditto.
3069 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
3071 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
3072 s_isnand, and sf_isnanf object files.
3073 * Makefile.in: Regenerated.
3074 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
3075 conflict if <math.h> has previously been included.
3076 * libc/include/math.h
3077 * libc/include/math.h: Make isnan and isinf macros to
3079 (__isinfd, __isinff, __isnand, __isnanf): New functions.
3080 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
3081 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
3082 sf_isinf files which have been moved from math/mathfp directories.
3083 * libm/common/Makefile.in: Regenerated.
3084 * libm/common/s_isinfd.c: New file.
3085 * libm/common/s_isnand.c: Ditto.
3086 * libm/common/sf_isinff.c: Ditto.
3087 * libm/common/sf_isnanf.c: Ditto.
3088 * libm/common/s_isinf.c: Moved from libm/math directory.
3089 * libm/common/s_isnan.c: Ditto.
3090 * libm/common/sf_isinf.c: Ditto.
3091 * libm/common/sf_isnan.c: Ditto.
3092 * libm/math/Makefile.am: Remove isinf and isnan family functions
3093 which have been moved into common directory.
3094 * libm/mathfp/Makefile.am: Ditto.
3095 * libm/math/Makefile.in: Regenerated.
3096 * libm/mathfp/Makefile.in: Ditto.
3097 * libm/math/s_isinf.c: Removed.
3098 * libm/math/s_isnan.c: Ditto.
3099 * libm/math/sf_isinf.c: Ditto.
3100 * libm/math/sf_isnan.c: Ditto.
3101 * libm/mathfp/s_isinf.c: Ditto.
3102 * libm/mathfp/s_isnan.c: Ditto.
3103 * libm/mathfp/sf_isinf.c: Ditto.
3104 * libm/mathfp/sf_isnan.c: Ditto.
3106 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
3108 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
3109 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
3110 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
3111 seek, turn off the __SNPT no-optimization flag.
3113 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
3115 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
3117 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
3118 <features.h> to preset special flags.
3120 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
3122 * libc/include/sys/time.h (struct timeval): Change member types
3124 * libc/include/sys/types.h (useconds_t): Change to unsigned
3126 (suseconds_t): Define type.
3128 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
3129 David Carne <davidcarne@gmail.com>
3131 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
3132 instead of strlen to determine number of bytes to copy.
3133 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
3134 before looking at storage location.
3136 2006-02-07 Paul Brook <paul@codesourcery.com>
3138 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
3139 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
3140 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
3141 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
3142 * libc/sys/arm/trap.S: Disable for Thumb-2.
3144 2006-01-31 Leif Ekblad <leif@rdos.net>
3146 * configure.host: RDOS support added
3147 * libc/include/sys/config.h: Ditto.
3148 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
3149 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
3150 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
3151 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
3152 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
3153 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
3154 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
3155 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
3156 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
3157 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
3158 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
3159 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
3160 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
3161 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
3162 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
3163 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
3164 * libc/sys/rdos/write.c: Ditto.
3166 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
3168 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
3169 so as not to define PACKAGE and VERSION in newlib.h.
3170 * aclocal.m4: Regenerated.
3172 * newlib.hin: Ditto.
3174 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
3176 * acconfig.h: New file to generate newlib.hin from.
3177 * newlib.hin: Regenerated.
3178 * stamp-h.in: Regenerated.
3179 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
3180 called automatically.
3181 * Makefile.in: Regenerated.
3182 * acinclude.m4: Add proper comment for hack in previous change.
3183 * aclocal.m4 */aclocal.m4: Regenerated.
3184 * configure */configure: Regenerated.
3186 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
3188 * acinclude.m4: Add hack to prevent INSTALL in subdirs
3189 from being set to "../".
3190 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
3191 * aclocal.m4: Regenerated.
3193 * Makefile.in: Ditto.
3194 * doc/aclocal.m4: Ditto.
3195 * doc/configure: Ditto.
3196 * iconvdata/aclocal.m4: Ditto.
3197 * iconvdata/configure: Ditto.
3198 * libc/*/aclocal.m4: Ditto.
3199 * libc/*/configure: Ditto.
3200 * libc/libc.texinfo: Ditto.
3201 * libm/*/aclocal.m4: Ditto.
3202 * libm/*/configure: Ditto.
3204 2006-01-10 Eric Blake <ebb9@byu.net>
3206 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
3207 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3209 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
3211 * libm/mathfp/s_frexp.c: Check for special values on
3212 the original input, not the manipulated output value.
3213 * libm/mathfp/sf_frexp.c: Ditto.
3214 * libm/mathfp/s_atangent.c: Don't use local value branch
3215 when checking for quadrant.
3216 * libm/mathfp/sf_atangent.c: Ditto.
3218 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
3220 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
3221 * libc/stdio64/freopen64.c: Ditto.
3223 2006-01-09 Eric Blake <ebb9@byu.net>
3225 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
3226 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3228 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
3230 * libc/sys/linux/include/getopt.h: Add macros needed by
3231 new version of getopt.c in libc/stdlib.
3233 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
3235 * libc/stdlib/getopt.c: Replaced with version
3236 that adds getopt_long and getopt_long_only support.
3237 * libc/include/getopt.h: New file.
3239 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3241 * NEWS: Update with 1.14.0 info.
3243 * acinclude.m4: Change version number to 1.14.0.
3244 * aclocal.m4: Regenerated.
3246 * doc/aclocal.m4: Ditto.
3247 * doc/configure: Ditto.
3248 * libc/*/aclocal.m4: Ditto.
3249 * libc/*/configure: Ditto.
3250 * libc/libc.texinfo: Ditto.
3251 * libm/*/aclocal.m4: Ditto.
3252 * libm/*/configure: Ditto.
3253 * libm/libm.texinfo: Ditto.
3254 * libc/sys/linux/shared.ld: Add VERS_1.14.
3256 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
3258 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
3259 take a pointer to struct stat64 rather than struct stat.
3261 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
3263 * libc/include/stdint.h: Prefer long over int for int32_t.
3264 Use __have_long32 to set up int32_t.
3265 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
3266 (Sync with stdint.h).
3268 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
3270 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
3271 typo in O_NDELAY comment.
3273 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
3275 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
3276 * libc/include/machine/setjmp.h (__mt__): Likewise.
3277 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
3278 * libc/machine/configure.in: Ditto.
3280 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
3282 * configure.host: Replace ms1 arch with mt arch.
3283 * libc/machine/mt: Renamed from ms1 dir.
3285 2005-12-08 Shaun Jackman <sjackman@gmail.com>
3287 * libc/include/sys/types.h: Remove the ifdef armour around
3288 standard POSIX types.
3290 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3292 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
3293 rtems_gxx_key_delete, rtems_gxx_getspecific,
3294 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
3295 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
3296 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
3298 2005-12-05 Christopher Faylor <cgf@timesys.com>
3300 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
3301 file. Declare unsetenv and _unsetenv_r when not cygwin.
3303 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
3305 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
3306 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
3308 2005-11-18 Christopher Faylor <cgf@timesys.com>
3310 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
3312 2005-11-18 Christopher Faylor <cgf@timesys.com>
3314 * include/time.h: Remove more cygwin-specific stuff.
3316 2005-11-18 Christopher Faylor <cgf@timesys.com>
3318 * include/time.h: Move cygwin declarations to cygwin-specific header.
3319 * include/sys/time.h: Rename cygwin include to "sys_time.h".
3321 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
3323 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
3324 in libc/sys/linux/include.
3325 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
3326 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
3327 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
3328 in libc/sys/linux/dl.
3330 2005-11-11 Christopher Faylor <cgf@timesys.com>
3332 * libc/include/sys/time.h: For cygwin, use general header rather than
3333 specific "sys/select.h".
3335 2005-11-08 Tom Walsh <tom@openhardware.net>
3337 * libc/time/tzvars.c: New file.
3338 * libc/time/tzset_r.c: Moved globals into tzvars.c
3339 so other time functions needn't link in __tzset_r and its
3341 * libc/time/Makefile.am: Add the new file.
3342 * libc/time/Makefile.in: Regenerated.
3344 2005-11-08 Christopher Faylor <cgf@timesys.com>
3346 * libc/include/string.h: Add cygwin-specific function declaration.
3348 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
3350 * libc/include/ieeefp.h: Add C++ guards.
3352 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
3354 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
3355 * libc/unix/getlogin.c: Ditto.
3356 * libc/unix/getpass.c: Ditto.
3357 * libc/unix/getut.c: Ditto.
3358 * libc/unix/ttyname.c: Ditto.
3360 2005-11-03 Shaun Jackman <sjackman@gmail.com>
3362 * libc/include/sys/unistd.h (readlink, symlink): Provide these
3363 prototypes by default.
3364 * libc/sys/linux/include/unistd.h (readlink): Remove this
3366 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
3369 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
3371 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
3373 2005-10-31 Darin Johnson <darin@usa.net>
3375 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
3376 correct for constants.
3378 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3380 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
3381 * libc/stdio/siscanf.c: Likewise.
3382 * libc/stdio/sprintf.c: Likewise.
3383 * libc/stdio/sscanf.c: Likewise.
3384 * libc/stdio/vfprintf.c: Likewise.
3385 * libc/stdio/vfscanf.c: Likewise.
3386 * libc/stdio/viprintf.c: Likewise.
3387 * libc/stdio/viscanf.c: Likewise.
3389 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3391 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
3392 example to use "_end" symbol instead of "end". Change write example
3393 to use "outbyte" instead of "writechar".
3395 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3397 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
3398 * libc/ctype/islower.c: Likewise.
3399 * libc/ctype/isupper.c: Likewise.
3400 * libc/ctype/iswalnum.c: Likewise.
3401 * libc/ctype/iswalpha.c: Likewise.
3402 * libc/ctype/iswblank.c: Likewise.
3403 * libc/ctype/iswcntrl.c: Likewise.
3404 * libc/ctype/iswdigit.c: Likewise.
3405 * libc/ctype/iswgraph.c: Likewise.
3406 * libc/ctype/iswlower.c: Likewise.
3407 * libc/ctype/iswprint.c: Likewise.
3408 * libc/ctype/iswpunct.c: Likewise.
3409 * libc/ctype/iswspace.c: Likewise.
3410 * libc/ctype/iswupper.c: Likewise.
3411 * libc/ctype/iswxdigit.c: Likewise.
3412 * libc/ctype/tolower.c: Likewise.
3413 * libc/ctype/toupper.c: Likewise.
3414 * libc/ctype/towctrans.c: Likewise.
3415 * libc/ctype/towlower.c: Likewise.
3416 * libc/ctype/towupper.c: Likewise.
3417 * libc/string/strcasecmp.c: Likewise.
3418 * libc/string/strcoll.c: Likewise.
3419 * libc/string/strings.tex: Likewise.
3420 * libc/string/strlwr.c: Likewise.
3421 * libc/string/strncasecmp.c: Likewise.
3422 * libc/string/strupr.c: Likewise.
3423 * libc/string/wcscoll.c: Likewise.
3424 * libc/string/wcslcat.c: Likewise.
3425 * libc/string/wcslcpy.c: Likewise.
3426 * libc/string/wcsnlen.c: Likewise.
3427 * libc/string/wcsstr.c: Likewise.
3428 * libc/string/wcstrings.tex: Likewise.
3429 * libc/string/wmemchr.c: Likewise.
3430 * libc/string/wmemcmp.c: Likewise.
3431 * libc/string/wmemcpy.c: Likewise.
3432 * libc/string/wmemmove.c: Likewise.
3433 * libc/string/wmemset.c: Likewise.
3435 2005-10-28 Bob Wilson <bob.wilson@acm.org>
3437 * libc/misc/unctrl.c: Replace FUNCTION description.
3438 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
3439 * libc/stdio/getdelim.c: Fix spelling errors.
3440 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
3441 * libc/stdio/putw.c: Likewise.
3442 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
3444 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
3445 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
3446 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
3447 * libc/stdlib/mlock.c: Likewise.
3448 * libc/stdlib/mstats.c: Likewise.
3449 * libc/time/tzlock.c: Likewise.
3450 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
3451 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
3452 and hyphenate "pseudo-random".
3453 * libc/string/bcmp.c: Remove extra blank lines in documentation.
3454 * libc/string/strncat.c: Likewise.
3455 * libc/string/memchr.c: Remove extra ">" character in documentation.
3456 * libc/string/strcspn.c: Use "characters" instead of "chars".
3457 * libc/string/strpbrk.c: Likewise.
3458 * libc/string/strerror_r.c: Capitalize "GNU".
3459 * libc/string/strnlen.c: Likewise.
3460 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
3461 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
3462 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
3463 * libc/string/wcschr.c: Likewise.
3464 * libc/string/wcscmp.c: Likewise.
3465 * libc/string/wcscpy.c: Likewise.
3466 * libc/string/wcscspn.c: Likewise.
3467 * libc/string/wcslen.c: Likewise.
3468 * libc/string/wcsncat.c: Likewise.
3469 * libc/string/wcsncmp.c: Likewise.
3470 * libc/string/wcsncpy.c: Likewise.
3471 * libc/string/wcsnlen.c: Likewise.
3472 * libc/string/wcspbrk.c: Likewise.
3473 * libc/string/wcsrchr.c: Likewise.
3474 * libc/string/wcsspn.c: Likewise.
3475 * libc/string/wmemchr.c: Likewise.
3476 * libc/string/wmemcmp.c: Likewise.
3477 * libc/string/wmemcpy.c: Likewise.
3478 * libc/string/wmemset.c: Likewise.
3479 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
3480 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
3481 * libc/string/wcwidth.c: Likewise.
3482 * libm/common/s_modf.c: Remove extra period from documentation.
3483 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
3485 * libm/mathfp/s_isnan.c: Likewise.
3486 * libm/math/s_ldexp.c: Fix punctuation.
3487 * libm/mathfp/s_ldexp.c: Likewise.
3488 * libm/math/w_log.c: Likewise.
3489 * libm/mathfp/s_logarithm.c: Likewise.
3490 * libm/math/w_j0.c: Add spaces to FUNCTION description.
3491 * libm/mathfp/w_jn.c: Likewise.
3493 2005-10-26 Shaun Jackman <sjackman@gmail.com>
3495 * libc/posix/scandir.c (scandir): Update the function
3496 prototype to match the header.
3497 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
3499 * libc/sys/linux/sys/lock.h: Do not include
3500 machine/weakalias.h, since it's not used by this file.
3502 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
3504 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
3505 directories can override properly.
3507 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
3509 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
3510 gcc is 3.3 or greater, use special gcc builtins.
3512 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
3514 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
3516 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
3518 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
3520 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3522 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
3523 * libm/common/Makefile.am: Add s_infconst.c support.
3524 * libm/common/Makefile.in: Regenerated.
3525 * libm/common/s_infconst.c: New file with float and
3526 long double infinity support added.
3527 * libm/math/Makefile.am: Remove s_infconst.c support.
3528 * libm/math/Makefile.in: Regenerated.
3529 * libm/math/s_infconst.c: Moved to common directory.
3530 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
3531 * libm/mathfp/Makefile.in: Regenerated.
3532 * libm/mathfp/s_infconst.c: Moved to common directory.
3534 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3536 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
3537 dbgprintf to prevent conflict with new dprintf function.
3539 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3541 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
3542 "nan" processing for systems that have long double support.
3544 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
3546 * libc/sys/linux/sys/types.h (int8_t): Add type.
3548 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3550 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
3551 * libm/common/Makefile.in: Regenerate.
3552 * libm/common/common.tex: Delete file.
3553 * libm/math/math.tex: Include .def files from common/.
3554 * libm/mathfp/mathfp.tex: Likewise.
3556 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3558 * libc/libc.texinfo (Top): Surround this node with @ifnottex
3559 instead of @ifinfo. Update menu to add Introduction and match
3561 (Introduction): New section.
3563 2005-10-14 Bob Wilson <bob.wilson@acm.org>
3565 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
3566 with "Red Hat newlib C Library".
3567 * libc/sys.tex (Stubs): Likewise.
3568 * libm/math/math.tex (Math): Likewise.
3569 * libm/mathfp/mathfp.tex (Math): Likewise.
3571 2005-10-11 Shaun Jackman <sjackman@gmail.com>
3573 * libc/include/stdio.h (dprintf): New declaration.
3575 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
3577 * libc/stdio/Makefile.in: Regenerate.
3578 * libc/stdio/dprintf.c: New file.
3579 * libc/stdio/vdprintf.c: New file.
3580 * libc/stdio/stdio.tex (dprintf): New entry.
3582 2005-10-11 David Weatherford <weath@tensilica.com>
3584 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
3585 Print "inf" and "nan" in lowercase for e/f/g formats and in
3586 uppercase for E/F/G formats.
3588 2005-10-07 Bob Wilson <bob.wilson@acm.org>
3590 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
3591 to ENOMEM on failure.
3593 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
3595 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
3597 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
3599 * libc/include/stdint.h: Move magic to set __have_long* to the
3600 beginning. Use #if __have* instead of #if defined(__have*).
3603 2005-10-04 James E Wilson <wilson@specifix.com>
3605 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
3608 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
3610 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
3611 incorporate Ralf's change below.
3613 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3615 * libc/include/stdint.h:
3616 Use __INTMAX_TYPE__ to derive intmax_t.
3617 Use __UINTMAX_TYPE__ to derive uintmax_t.
3620 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
3622 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
3625 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3627 * libc/sys/linux/include/stdint.h: Update to match functionality
3628 of generic newlib stdint.h.
3630 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3632 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
3633 and do not #undef the macro after it is used. Fix typos.
3634 Also change 64-bit constants to use the __have_long64 and
3635 __have_longlong64 flags to determine if long or long long
3636 constants should be used.
3637 * libc/include/inttypes.h: Include stddef.h to get wchar_t
3640 2005-09-20 Shaun Jackman <sjackman@gmail.com>
3642 * libc/include/stdint.h: Fix typo in names of
3645 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
3647 * libc/sys/rtems/include/inttypes.h: Moved to...
3648 * libc/include/inttypes.h: ...here.
3650 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
3652 * libc/sys/rtems/include/stdint.h: Moved to...
3653 * libc/include/stdint.h: ...here.
3655 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
3657 * Makefile.am: Add include files under bits sub-directory.
3658 * Makefile.in: Regenerated.
3659 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
3660 actual value of 1 to be compatible with newer glibc headers.
3661 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
3663 * libc/sys/linux/sys/dirent.h: Ditto.
3664 * libc/sys/linux/argp/argp-xinl.c: Ditto.
3665 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
3666 profile_fixup routines are marked used so they won't be
3668 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
3669 to mark functions as weak.
3670 * libc/sys/linux/dl/dl-open.c: Ditto.
3671 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
3672 rules about lvalues.
3673 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3674 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
3675 weak_extern macro to mark functions as weak. Instead always
3677 * iconvdata/jis0208.h: Fix to work with gcc4.
3678 * libc/sys/linux/dl/dl-load.c: Ditto.
3679 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3680 * libc/sys/linux/dl/do-rel.h: Ditto.
3681 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3682 * libc/sys/linux/include/ltdl.h: Ditto.
3683 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3684 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
3685 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3686 * libc/sys/linux/bits/initspin.h: New file.
3687 * libc/sys/linux/bits/libc-lock.h: Ditto.
3688 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3689 * libc/sys/linux/bits/typesizes.h: Ditto.
3691 2005-09-08 Eric Blake <ebb9@byu.net>
3693 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3696 2005-09-08 Brian Dessent <brian@dessent.net>
3698 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3702 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3704 * libc/include/stdio.h: Add prototype for viprintf.
3706 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3708 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3709 any positive power results in 0.
3710 * libm/mathfp/sf_pow.c (powf): Ditto.
3712 2005-08-31 Paul Brook <paul@codesourcery.com>
3714 * configure.host: Set have_crt0 to no for Arm targts when not
3715 providing syscalls. Set sys_dir=arm unconditionally.
3716 Default have_crt0 based on sys_dir.
3717 * configure.in: Use have_crt0.
3718 * libc/configure.in: Ditto.
3719 * libc/sys/configure.in: Ditto.
3720 * configure: Regenerate.
3721 * libc/configure: Regenerate.
3722 * libc/sys/configure: Regenerate.
3723 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3724 Only build other files when providing syscalls.
3725 * libc/sys/arm/Makefile.in: Regenerate.
3726 * libc/sys/arm/aeabi_atexit.c: New file.
3728 2005-08-26 Christopher Faylor <cgf@timesys.com>
3730 * libc/include/string.h: Revert previous change.
3732 2005-08-25 Christopher Faylor <cgf@timesys.com>
3734 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3736 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3738 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3739 define _opendir as opendir, _readdir as readdir, and
3740 _closedir as closedir so that the implementations in
3741 libc/posix will be used.
3743 2005-08-10 DJ Delorie <dj@redhat.com>
3745 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3747 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3749 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3750 * libm/common/s_max.c: Ditto.
3751 * libm/common/sf_fmin.c: Ditto.
3752 * libm/common/s_min.c: Ditto.
3754 2005-08-10 DJ Delorie <dj@redhat.com>
3756 * configure.host: Add m32c support.
3757 * libc/include/machine/ieeefp.h: Likewise.
3758 * libc/include/machine/setjmp.h: Likewise.
3759 * libc/include/sys/config.h: Likewise.
3760 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3761 * libc/machine/m32c/aclocal.m4: New file.
3762 * libc/machine/m32c/configure: Ditto.
3763 * libc/machine/m32c/configure.in: Ditto.
3764 * libc/machine/m32c/Makefile.am: Ditto.
3765 * libc/machine/m32c/Makefile.in: Ditto.
3766 * libc/machine/m32c/setjmp.S: Ditto.
3768 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3770 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3771 to the value for 2^126.
3773 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3775 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3778 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3779 Darin Petkov <darin@tensilica.com>
3781 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3783 2005-07-19 Paul Brook <paul@codesourcery.com>
3785 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3787 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3789 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3790 names after PASS and FAIL which do not depend on source directory
3791 name or on whether test passed or failed.
3792 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3794 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3796 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3798 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3800 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3801 twice for the same directory. _closedir calls free, and freeing
3802 the same pointer twice may cause a crash.
3804 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3806 * configure.host: Added entry for ms1*.
3807 * libc/include/machine/ieeefp.h: Handle ms1.
3808 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3809 * libc/machine/ms1/aclocal.m4: New.
3810 * libc/machine/ms1/configure: New.
3811 * libc/machine/ms1/configure.in: New.
3812 * libc/machine/ms1/Makefile.am: New.
3813 * libc/machine/ms1/Makefile.in: New.
3814 * libc/machine/ms1/setjmp.S: New.
3816 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3818 * Makefile.am (site.exp): Set tmpdir.
3819 * Makefile.in: Regenerated.
3820 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3821 executables in $tmpdir.
3822 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3823 libgloss version if not running in the build directory.
3824 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3826 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3829 2005-06-28 Dave Korn <dave.korn@artimi.com>
3831 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3832 and miscalculation caused by fp representation of zero.
3833 * libm/common/sf_lrint.c (lrintf): Likewise.
3835 2005-06-16 Christopher Faylor <cgf@timesys.com>
3837 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3838 determine characteristics of long double. Use a union instead.
3839 * ldtoa.c (_ldtoa_r): Ditto.
3842 (union uconv): New union.
3844 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3846 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3849 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3851 * configure.host (mn10300-*): Add long long I/O support by default.
3853 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3855 * libc/sys/linux/getpwuid.c: Removed.
3856 * libc/sys/linux/getpwnam.c: Removed.
3857 * libc/sys/linux/getpwent.c: New file containing logic
3858 from files removed above. This allows overriding of file
3860 * libc/sys/linux/Makefile.am: Support changes above.
3861 * libc/sys/linux/Makefile.in: Regenerated.
3863 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3865 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3866 when checking for multiple flags.
3868 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3870 * configure.host <cris-*-* | crisv32-*-*>: Set
3871 default_newlib_io_long_long="yes".
3873 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3875 * libc/include/libgen.h: New file.
3877 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3879 * libc/unix/Makefile.am: Add support for basename and dirname.
3880 * libc/unix/Makefile.in: Regenerated.
3881 * libc/unix/basename.c: New file.
3882 * libc/unix/dirname.c: New file.
3884 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3886 * libc/sys/linux/inode.c (lchown): New function.
3888 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3890 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3891 ELIX level is defined.
3892 * libc/unix/Makefile.in: Regenerated.
3894 2005-04-05 Dave Korn <dave.korn@artimi.com>
3896 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3897 something that looks like a "NaN", put back the characters processed.
3899 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3901 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3903 2005-03-23 Christopher Faylor <cgf@timesys.com>
3905 * configure.host: For cygwin, redefine CC with cygwin include directory
3906 first to mimic the behavior of the top-level configury. Move include
3907 directory out of newlib_cflags.
3909 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3911 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3912 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3915 2005-03-22 Christopher Faylor <cgf@timesys.com>
3917 * libc/include/machine/_types.h: Make trivial change to comment to
3918 avoid a spurious warning from gcc.
3920 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3922 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3923 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3926 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3927 Corinna Vinschen <corinna@vinschen.de>
3929 * libc/include/ctype.h: Remove invalid +1 offset from
3930 ctype macro references to __ctype_ptr.
3931 (_ctype_): Move declaration outside #ifndef __cplusplus.
3933 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3935 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3936 evaluate first parameter only once.
3937 (siglongjmp): Ditto.
3939 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3941 * configure.in: Add new check to see if compiler supports
3942 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3943 * configure: Regenerated.
3944 * Makefile.in: Ditto.
3945 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3946 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3947 aliasing the _ctype_ array to _ctype_b.
3948 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3949 _ctype_ as deprecated.
3951 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3953 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3956 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3958 * libc/sys/rtems/include/inttypes.h: New file.
3959 * libc/sys/rtems/include/stdint.h: Ditto.
3961 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3963 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3965 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3967 * libc/include/machine/_types.h: New file.
3968 * libc/include/sys/types.h: Do not check for __rtems__
3969 when including <machine/_types.h>. Remove some redundant
3970 declarations now that <machine/_types.h> is included.
3971 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3974 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3976 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3977 L qualifier for these long constants.
3979 2005-02-25 Eric Blake <ebb9@byu.net>
3981 * libc/include/time.h (__tzrule_struct): Make offset long, since
3982 a 16-bit int overflows on a 12-hour offset.
3983 * libc/sys/linux/include/time.h: Ditto.
3984 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3985 * libc/time/mktm_r.c: Ditto.
3986 * libc/time/gettzinfo.c: Ditto.
3987 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3988 years. Fix '%z' to use long, not int.
3990 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3992 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3993 manipulate float values in integer form.
3994 * libm/common/sf_round.c: Ditto.
3996 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3998 * libc/include/sys/types.h [__rtems__]: Include new
3999 header file machine/_types.h.
4000 * libc/include/machine/types.h: Ditto.
4001 * libc/sys/rtems/machine/_types.h: New file.
4003 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4005 * libc/include/time.h (_timezone): Change to long also for Cygwin.
4006 (timezone): Drop cast from definition.
4008 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
4010 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
4011 (__tzrule_type, __tzinfo_type): New types.
4012 (__gettzinfo): New function.
4013 * libc/sys/linux/include/time.h: Ditto.
4014 * libc/time/Makefile.am: Add gettzinfo.c.
4015 * libc/time/Makefile.in: Regenerated.
4016 * libc/time/local.h: Moved __tzrule_type to time.h.
4017 * libc/time/mktime.c: Call __gettzinfo to reference
4018 __tznorth, __tzyear, and __tzrule array.
4019 * libc/time/mktm_r.c: Ditto.
4020 * libc/time/strftime.c: Ditto.
4021 * libc/time/tzset_r.c: Ditto. Also remove definition
4022 of __tzrule which is now in gettzinfo.c. Change _timezone
4023 references to not cast to time_t.
4024 * libc/time/gettzinfo.c: New file.
4026 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
4028 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
4030 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
4032 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
4034 2005-02-16 Eric Blake <ebb9@byu.net>
4036 * libc/time/time.tex: Improve the documentation.
4037 * libc/time/strftime.c: Improve the documentation.
4038 (iso_year_adjust): New helper function.
4039 (strftime): Simplify '%E' and '%O'. Change '%c' to use
4040 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
4041 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
4042 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
4043 Avoid core dumps on valid inputs (maxsize == 0, or
4044 tim_p->tm_isdst > 1).
4046 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
4048 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
4049 members to uid_t and gid_t according to SUSv3.
4050 * libc/include/sys/time.h (utimes): Change second parameter
4051 to const according to SUSv3.
4053 2005-02-07 Antony King <antony.king@st.com>
4055 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
4056 called before _flockfile to prevent lock object use before
4057 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
4058 take a struct _reent * instead of a FILE *.
4059 * libc/stdio/fclose.c (_fclose_r): Ditto.
4060 * libc/stdio/feof.c (feof): Ditto.
4061 * libc/stdio/ferror.c (ferror): Ditto.
4062 * libc/stdio/fflush.c (fflush): Ditto.
4063 * libc/stdio/fgetc.c (fgetc): Ditto.
4064 * libc/stdio/fgets.c (fgets): Ditto.
4065 * libc/stdio/fileno.c (fileno): Ditto.
4066 * libc/stdio/fputc.c (fputc): Ditto.
4067 * libc/stdio/fputs.c (fputs): Ditto.
4068 * libc/stdio/fread.c (fread): Ditto.
4069 * libc/stdio/freopen.c (_freopen_r): Ditto.
4070 * libc/stdio/fseek.c (_fseek_r): Ditto.
4071 * libc/stdio/ftell.c (_ftell_r): Ditto.
4072 * libc/stdio/fwrite.c (fwrite): Ditto.
4073 * libc/stdio/getc.c (getc): Ditto.
4074 * libc/stdio/getdelim.c (__getdelim): Ditto.
4075 * libc/stdio/putc.c (putc): Ditto.
4076 * libc/stdio/setvbuf.c (setvbuf): Ditto.
4077 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
4078 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
4079 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4080 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
4081 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
4082 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
4083 _reent * instead of a FILE * and so replace incorrect use of
4084 _REENT with argument.
4085 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
4086 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
4087 CHECK_INIT() take a struct _reent * instead of a FILE *.
4088 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
4089 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
4090 * libc/stdio/perror.c (perror): Ditto.
4091 * libc/stdio/printf.c (printf, _printf_r): Ditto.
4092 * libc/stdio/putchar.c (putchar): Ditto.
4093 * libc/stdio/puts.c (puts): Ditto.
4094 * libc/stdio/refill.c (__srefill): Ditto.
4095 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
4096 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
4097 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
4098 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
4099 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
4100 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
4101 * libc/stdio/wbuf.c (__swbuf): Ditto.
4102 * libc/stdio/wsetup.c (__swsetup): Ditto.
4103 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
4104 * libc/stdlib/mstats.c (_mstats_r): Ditto.
4105 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
4106 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
4107 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
4108 to _flockfile and _funlockfile; rely on locking in _ftell_r.
4109 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
4110 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
4111 initialision of _data field in FILE structure.
4112 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
4114 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4116 * libc/stdio/findfp.c (__sinit): Protect with new lock.
4117 (__sinit_lock): New lock.
4118 (__sinit_lock_acquire, __sinit_lock_release): New functions.
4119 * libc/stdio/local.h: Add reference to new __sinit locking
4122 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
4124 * libc/include/math.h (isfinite, isnormal, isunordered): Change
4125 input variable names to avoid mixups with nesting macros.
4127 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4129 * configure.host: Add support for cris-*-* and crisv32-*-*.
4130 * libc/include/machine/ieeefp.h: Ditto.
4131 * libc/include/machine/setjmp.h: Ditto.
4132 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
4133 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
4134 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
4135 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
4136 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
4137 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
4138 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
4141 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4143 * testsuite/newlib.string/memmove1.c: New test.
4145 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4147 * testsuite/include/check.h: Include stdlib.h.
4149 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
4151 * Makefile.am (stmp-targ-include): Support include header files
4152 from machine directories.
4153 (install-data-local): Ditto.
4154 * Makefile.in: Regenerate.
4156 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
4158 * libc/include/string.h: Remove Linux-specific declaration of
4159 strsignal and add #include <sys/string.h>.
4160 * libc/include/sys/string.h: New file.
4161 * libc/include/sys/linux/sys/string.h: New file with strsignal
4162 declaration deleted above.
4164 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
4166 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
4167 to POSIX standard for "C" locale. Allow %E and %O modifiers
4168 to be ignored as long as they precede valid specifiers according
4171 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4173 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
4174 environment variable is set.
4176 2005-01-19 Shaun Jackman <sjackman@gmail.com>
4178 * tzset_r.c (_tzname): Add a comma.
4180 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
4182 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
4185 2005-01-07 Paul Brook <paul@codesourcery.com>
4187 * configure.in: Add test for .init_array.
4188 * configure: Regenerate.
4189 * newlib.hin: Add HAVE_INITFINI_ARRAY.
4190 * libc/misc/Makefile.am: Add init.c
4191 * libc/misc/Makefile.in: Regenerate.
4192 * libc/misc/init.c: New file.
4193 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
4194 _init/_fini if they exist.
4196 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
4198 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
4200 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
4201 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
4202 functions for use by strtod and strtof.
4203 * Makefile.in: Regenerated.
4205 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4207 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
4208 bit-test in combination with NULL test.
4210 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
4212 * README: Fix typo of LGPL. Change "license" to "copyright".
4214 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
4216 * NEWS: Update with 1.13.0 info.
4218 * acinclude.m4: Change version number to 1.13.0.
4219 * aclocal.m4: Regenerated.
4221 * doc/aclocal.m4: Ditto.
4222 * doc/configure: Ditto.
4223 * libc/*/aclocal.m4: Ditto.
4224 * libc/*/configure: Ditto.
4225 * libc/libc.texinfo: Ditto.
4226 * libm/*/aclocal.m4: Ditto.
4227 * libm/*/configure: Ditto.
4228 * libm/libm.texinfo: Ditto.
4229 * libc/sys/linux/shared.ld: Add VERS_1.13.
4231 2004-12-17 Christian Groessler <chris@groessler.org>
4233 * libc/machine/z8k/memcmp.S: New file.
4234 * libc/machine/z8k/memcpy.S: Ditto.
4235 * libc/machine/z8k/memmove.S: Ditto.
4236 * libc/machine/z8k/memset.S: Ditto.
4237 * libc/machine/z8k/Makefile.am: Add new files.
4238 * libc/machine/z8k/Makefile.in: Regenerated.
4239 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
4240 part. Implement Z8002 stdcall version.
4242 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
4244 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
4245 a low-level read if we don't get the full amount of bytes so
4246 EOF or error flags will be set.
4248 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
4250 * libc/time/tzset_r (_tzset_r): Properly skip over
4251 '/' when it is detected.
4253 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4255 * libc/time/tzset_r (_tzset_r): Fix loop.
4257 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
4259 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
4261 (__tzcalc_limits): Fix reference to month array to be zero-based.
4263 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
4265 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
4268 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
4270 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
4271 libgcc dependencies.
4272 (libm_la_LDFLAGS): Ditto.
4273 * Makefile.in: Regenerated.
4275 2004-12-03 Shaun Jackman <sjackman@gmail.com>
4277 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
4278 our link to use readlink so as to preserve any relative link created
4279 by install-toollibLIBRARIES.
4280 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
4282 2004-12-02 Shaun Jackman <sjackman@gmail.com>
4284 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
4285 time_t before including sys/stat.h, which uses it.
4286 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
4287 <linux/time.h> just prior to definition of __KERNEL__ so as to
4288 allow building on Debian Linux where otherwise, mktime would
4291 2004-11-26 Paul Brook <paul@codesourcery.com>
4293 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
4295 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4297 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
4298 const for value string parameter to match Single Unix and glibc.
4299 * libc/stdlib/putenv.c: Ditto.
4300 * libc/stdlib/putenv_r.c: Ditto.
4302 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
4304 * libc/stdio/Makefile.am: Fix missing vfscanf.
4305 * libc/stdio/Makefile.in: Regenerated.
4307 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
4309 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
4311 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
4312 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
4314 * libc/stdio/Makefile.in: Regenerated.
4315 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
4316 * libc/stdio/iprintf.c: Ditto.
4317 * libc/stdio/local.h (__svfiscanf_r): New prototype.
4318 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
4319 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
4320 * libc/stdio/stdio.tex: Add new functions.
4321 * libc/stdio/vfscanf.c: Split out __sccl function to separate
4322 file and add special name defines so this file can be used
4323 to build vfiscanf.o.
4324 * libc/stdio/asiprintf.c: New file.
4325 * libc/stdio/fiscanf.c: Ditto.
4326 * libc/stdio/iscanf.c: Ditto.
4327 * libc/stdio/sccl.c: Ditto.
4328 * libc/stdio/siscanf.c: Ditto.
4329 * libc/stdio/vasiprintf.c: Ditto.
4330 * libc/stdio/viprintf.c: Ditto.
4331 * libc/stdio/viscanf.c: Ditto.
4332 * libc/stdio/vsiprintf.c: Ditto.
4333 * libc/stdio/vsiscanf.c: Ditto.
4334 * libc/stdio/vsniprintf.c: Ditto.
4336 2004-11-19 Shaun Jackman <sjackman@gmail.com>
4338 * libc/include/stdio.h: Add sniprintf.
4339 * libc/stdio/Makefile.am: Add sniprintf.c.
4340 * libc/stdio/Makefile.in: Regenerated.
4341 * libc/stdio/sniprintf.c: New file.
4342 * libc/stdio/stdio.tex: Add sniprintf.
4344 2004-11-17 Christopher Faylor <cgf@timesys.com>
4346 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
4347 EOF flag if successful.
4349 2004-10-28 Christopher Faylor <cgf@timesys.com>
4351 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
4352 so that all relevant definitions have been performed for use in the
4355 2004-10-26 Jason Tishler <jason@tishler.net>
4357 * libc/stdio/fread.c (fread): Fix return value for unbuffered
4360 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
4362 * libc/include/machine/setjmp.h: Add AVR support.
4363 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
4365 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
4367 * libc/include/sys/signal.h: If <signal.h> didn't include
4368 this header file, include <signal.h> to account for
4369 applications that take advantage that the two header
4370 files are the same in glibc.
4372 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
4374 * configure.host: Add support for crx.
4375 * libc/include/machine/ieeefp.h: Ditto.
4376 * libc/include/machine/setjmp.h: Ditto.
4377 * libc/machine/crx/Makefile.am: New file.
4378 * libc/machine/crx/configure.in: Ditto.
4379 * libc/machine/crx/setjmp.S: Ditto.
4380 * libc/machine/crx/getenv.c: Ditto.
4381 * libc/machine/crx/aclocal.m4: Generate.
4382 * libc/machine/crx/configure: Ditto.
4383 * libc/machine/crx/Makefile.in: Ditto.
4384 * libc/machine/crx/sys/asm.h: New file.
4385 * libc/machine/crx/sys/libh.h: Ditto.
4386 * libc/machine/crx/sys/syscall.h: Ditto.
4388 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
4390 * Makefile.am (stmp-targ-include): Support sys header files
4391 from machine directories.
4392 * Makefile.in: Regenerated.
4394 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
4396 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
4397 count skipped zero characters as part of the nread count for %n.
4398 * libc/machine/powerpc/vfscanf.c: Ditto.
4400 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
4402 * libc/stdio/local.h: Include <stdlib.h>.
4404 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
4406 * libc/stdio/fread.c (fread): Include <malloc.h>.
4408 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
4410 * libc/stdio/fread.c (fread): For non-space-optimized case,
4411 add special code for unbuffered files to use user buffer and
4412 only require one low-level system read.
4414 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
4416 * libc/machine/xscale/setjmp.S: New file, copied from
4417 libc/machine/arm/setjmp.S.
4418 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
4419 * libc/machine/xscale/Makefile.in: Regenerate.
4421 2004-09-16 Antony King <antony.king@st.com>
4423 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
4425 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
4426 check for__SSTR in _flags and if set, skip lock request.
4427 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4428 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
4430 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
4431 initialisation of _file to -1 in local FILE.
4432 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
4433 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
4434 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
4435 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4436 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
4437 _flags in local FILE to prevent locking.
4438 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
4440 2004-09-16 Antony King <antony.king@st.com>
4442 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
4443 and only walk the reentrancy parameter.
4444 (_fwalk_reent): Ditto.
4445 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
4447 2004-09-16 Antony King <antony.king@st.com>
4449 * libc/stdio64/freopen64.c: Remove casting of fp lock to
4452 2004-09-16 Antony King <antony.king@st.com>
4454 * libc/time/tzlock.c: Add default stubs that use generic
4457 2004-09-16 Antony King <antony.king@st.com>
4459 * libc/ctype/ctype.tex: Added missing documentation.
4460 * libc/stdio/stdio.tex Ditto.
4461 * libc/stdlib/stdlib.tex Ditto.
4462 * libc/string/strings.tex Ditto.
4463 * libc/time/time.tex: Ditto.
4464 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
4466 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
4468 * libc/reent/impure.c (reent_data): Define as alias to impure_data
4469 when building for Cygwin.
4470 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
4473 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
4475 * configure.host: Reverting 2004-09-14 change as fix has occurred on
4477 * configure.in: Ditto.
4478 * libc/configure.in: Ditto.
4479 * libc/sys/configure.in: Ditto.
4481 * libc/configure: Ditto.
4482 * libc/sys/configure: Ditto.
4483 * libc/include/sys/reent.h: Ditto.
4484 * libc/stdlib/__atexit.c: Ditto.
4485 * libc/stdlib/__call_atexit.c: Ditto.
4486 * libc/stdlib/cxa_atexit.c: Ditto.
4487 * libc/stdlib/cxa_finalize.c: Ditto.
4488 * libc/sys/cygwin/Makefile.am: Removed again.
4489 * libc/sys/cygwin/Makefile.in: Ditto.
4490 * libc/sys/cygwin/aclocal.m4: Ditto.
4491 * libc/sys/cygwin/configure: Ditto.
4492 * libc/sys/cygwin/configure.in: Ditto.
4493 * libc/sys/cygwin/dummy.c: Ditto.
4494 * libc/sys/cygwin/sys/reent.h: Ditto.
4496 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
4498 * configure.host: Add Cygwin sys directory.
4499 * configure.in: Do not set CRT0 for cygwin.
4500 * libc/configure.in: Ditto.
4501 * libc/sys/configure.in: Ditto.
4502 * configure: Regenerated.
4503 * libc/configure: Ditto.
4504 * libc/sys/configure: Ditto.
4505 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
4506 * libc/stdlib/__atexit.c: Keep cxa support protected by new
4507 __REENT_HAS_CXA_SUPPORT flag.
4508 * libc/stdlib/__call_atexit.c: Ditto.
4509 * libc/stdlib/cxa_atexit.c: Ditto.
4510 * libc/stdlib/cxa_finalize.c: Ditto.
4511 * libc/sys/cygwin/Makefile.am: New file.
4512 * libc/sys/cygwin/Makefile.in: Ditto.
4513 * libc/sys/cygwin/aclocal.m4: Ditto.
4514 * libc/sys/cygwin/configure: Ditto.
4515 * libc/sys/cygwin/configure.in: Ditto.
4516 * libc/sys/cygwin/dummy.c: Ditto.
4517 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
4520 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4522 * libc/iconv/iconv.tex: Updated with new content.
4523 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
4524 instead of NLS_DEFAULT_NLSPATH.
4525 * libc/iconv/lib/iconvnls.h: Fix typo.
4526 * libc/include/sys/iconvnls.h: New file.
4528 2004-09-09 Paul Brook <paul@codesourcery.com>
4530 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
4532 (struct _atexit): Add _next when _REENT_SMALL.
4533 (struct _reent): Add _atexit0 when _REENT_SMALL.
4534 (_REENT_INIT_PTR): Adjust.
4535 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
4537 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
4538 * libc/stdlib/Makefile.in: Regenerate.
4539 * libc/stdlib/__atexit.c: New file.
4540 * libc/stdlib/__call_atexit.c: New file.
4541 * libc/stdlib/atexit.h: Remove old definitions. Add new.
4542 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
4543 * libc/stdlib/cxa_atexit.c: New file.
4544 * libc/stdlib/cxa_finalize.c: New file.
4545 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
4546 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
4547 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
4548 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
4551 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
4553 * libc/include/sys/unistd.h (getpass): Change prototype to use
4554 const instead of __const.
4556 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
4558 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
4561 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
4563 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
4564 on linux systems with glibc 2.3.3 installed.
4565 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
4566 profile_fixup so newlib can build on fc3 system.
4568 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
4570 Introduce SH2a support.
4571 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
4572 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
4573 __SH2A_SINGLE_ONLY__, too.
4574 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
4575 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
4576 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
4577 2004-02-10 DJ Delorie <dj@redhat.com>
4578 * libc/sys/sh/crt0.S (start_l): Support sh2a.
4580 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
4582 * libc/time/strptime.c: Correct full-name of "March" typo.
4584 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
4586 * configure.host (h8300*-*-*): Default long long printing support.
4588 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
4590 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
4591 calls, if realloc fails, free up buffer as it is no longer
4594 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4596 * libc/iconv/iconv.tex: Updated to represent recent changes.
4597 * libc/iconv/lib/iconv.c: Documentation updated.
4599 2004-07-07 Nick Clifton <nickc@redhat.com>
4601 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
4604 2004-07-06 Chris Demetriou <cgd@broadcom.com>
4606 * configure.host (mips*-*-elf*): Default long long printing
4609 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
4611 * libc/Makefile.am (libc.dvi): Add target and specify
4612 same dependencies as libc.info.
4613 * libc/Makefile.in: Regenerated.
4614 * libm/Makefile.am (libm.dvi): Add target and specify
4615 same dependencies as libm.info.
4616 * libm/Makefile.in: Regenerated.
4618 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4620 * acinclude.m4: Move --enable-newlib-iconv option back here.
4621 * configure.in: Remove --enable-newlib-iconv option. Don't
4622 tie iconv support to --enable-newlib-mb.
4623 * aclocal.m4: Regenerated.
4625 * doc/aclocal.m4, doc/configure: Ditto.
4626 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
4627 * libm/*/aclocal.m4: Ditto.
4628 * libm/*/configure: Ditto.
4629 * libc/*/aclocal.m4: Ditto.
4630 * libc/*/configure: Ditto.
4632 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
4634 * acinclude.m4: Move iconv options into configure.in.
4635 * aclocal.m4: Regenerated.
4637 * configure.in: Add iconv options.
4638 * newlib.hin: Add new iconv encodings and remove deleted ones.
4639 * doc/aclocal.m4: Regenerated.
4640 * doc/configure: Ditto.
4641 * iconvdata/aclocal.m4: Ditto.
4642 * iconvdata/configure: Ditto.
4643 * libc/iconv: Design change. New size-optimized ccs format.
4644 * libc/iconv/AUTHORS: Removed.
4645 * libc/iconv/COPYING: Ditto.
4646 * libc/iconv/README.ORIGINAL: Ditto.
4647 * libc/iconv/README.TODO: Ditto.
4648 * libc/iconv/charset.aliases: Ditto.
4649 * libc/iconv/encoding.aliases: New file.
4650 * libc/iconv/Makefile.am: Updated.
4651 * libc/iconv/Makefile.in: Regenerated.
4652 * libc/iconv/iconv.tex: Updated.
4653 * libc/iconv/ccs/Makefile.am: Ditto.
4654 * libc/iconv/ccs/Makefile.in: Regenerated.
4655 * libc/iconv/ccs/big5.c: Updated.
4656 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4657 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4658 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4659 * libc/iconv/ccs/cp775.c: Ditto.
4660 * libc/iconv/ccs/cp850.c: Ditto.
4661 * libc/iconv/ccs/cp852.c: Ditto.
4662 * libc/iconv/ccs/cp855.c: Ditto.
4663 * libc/iconv/ccs/cp866.c: Ditto.
4664 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4665 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
4666 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4667 * libc/iconv/ccs/iconv_mktbl: Ditto.
4668 * libc/iconv/ccs/jis_x0201.c: Ditto.
4669 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4670 * libc/iconv/ccs/shift_jis.c: Ditto.
4671 * libc/iconv/ccs/us_ascii.c: Ditto.
4672 * libc/iconv/ccs/ccs.h: New file.
4673 * libc/iconv/ccs/ccsbi.c: Ditto.
4674 * libc/iconv/ccs/ccsbi.h: Ditto.
4675 * libc/iconv/ccs/ccsnames.h: Ditto.
4676 * libc/iconv/ccs/iso_8859_10.c: Ditto.
4677 * libc/iconv/ccs/iso_8859_11.c: Ditto.
4678 * libc/iconv/ccs/iso_8859_13.c: Ditto.
4679 * libc/iconv/ccs/iso_8859_14.c: Ditto.
4680 * libc/iconv/ccs/iso_8859_3.c: Ditto.
4681 * libc/iconv/ccs/iso_8859_6.c: Ditto.
4682 * libc/iconv/ccs/iso_8859_7.c: Ditto.
4683 * libc/iconv/ccs/iso_8859_8.c: Ditto.
4684 * libc/iconv/ccs/iso_8859_9.c: Ditto.
4685 * libc/iconv/ccs/iso_ir_111.c: Ditto.
4686 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4687 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4688 * libc/iconv/ccs/koi8_ru.c: Ditto.
4689 * libc/iconv/ccs/koi8_uni.c: Ditto.
4690 * libc/iconv/ccs/mktbl.pl: Ditto.
4691 * libc/iconv/ccs/win_1250.c: Ditto.
4692 * libc/iconv/ccs/win_1251.c: Ditto.
4693 * libc/iconv/ccs/win_1252.c: Ditto.
4694 * libc/iconv/ccs/win_1253.c: Ditto.
4695 * libc/iconv/ccs/win_1254.c: Ditto.
4696 * libc/iconv/ccs/win_1255.c: Ditto.
4697 * libc/iconv/ccs/win_1256.c: Ditto.
4698 * libc/iconv/ccs/win_1257.c: Ditto.
4699 * libc/iconv/ccs/win_1258.c: Ditto.
4700 * libc/iconv/ccs/iso_8859_15.c: Updated.
4701 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4702 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4703 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4704 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4705 * libc/iconv/ccs/koi8_r.c: Ditto.
4706 * libc/iconv/ccs/koi8_u.c: Ditto.
4707 * libc/iconv/ccs/ksx1001.c: Ditto.
4708 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4709 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4710 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4711 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4712 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4713 * libc/iconv/ccs/binary/Makefile.am: Updated.
4714 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4715 * libc/iconv/ccs/binary/big5.cct: Updated.
4716 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4717 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4718 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4719 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4720 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4721 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4722 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4723 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4724 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4725 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4726 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4727 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4728 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4729 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4730 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4731 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4732 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4733 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4734 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4735 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4736 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4737 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4738 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4739 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4740 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4741 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4742 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4743 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4744 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4745 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4746 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4747 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4748 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4749 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4750 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4751 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4752 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4753 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4754 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4755 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4756 * libc/iconv/ces/Makefile.am: Updated.
4757 * libc/iconv/ces/Makefile.in: Regenerated.
4758 * libc/iconv/ces/ucs-2-internal.c: Updated.
4759 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4760 * libc/iconv/ces/utf-16.c: Ditto.
4761 * libc/iconv/ces/utf-8.c: Ditto.
4762 * libc/iconv/ces/cesbi.c: New file.
4763 * libc/iconv/ces/cesbi.h: Ditto.
4764 * libc/iconv/ces/cesdeps.h: Ditto.
4765 * libc/iconv/ces/euc.c: Ditto.
4766 * libc/iconv/ces/mkdeps.pl: Ditto.
4767 * libc/iconv/ces/table-pcs.c: Ditto.
4768 * libc/iconv/ces/table.c: Ditto.
4769 * libc/iconv/ces/ucs-2.c: Ditto.
4770 * libc/iconv/ces/ucs-4.c: Ditto.
4771 * libc/iconv/ces/us-ascii.c: Ditto.
4772 * libc/iconv/ces/euc-jp.c: Removed.
4773 * libc/iconv/ces/euc-kr.c: Ditto.
4774 * libc/iconv/ces/euc-tw.c: Ditto.
4775 * libc/iconv/ces/gb2312.c: Ditto.
4776 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4777 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4778 * libc/iconv/lib/Makefile.am: Updated.
4779 * libc/iconv/lib/Makefile.in: Regenerated.
4780 * libc/iconv/lib/endian.h: Updated.
4781 * libc/iconv/lib/iconv.c: Ditto.
4782 * libc/iconv/lib/local.h: Ditto.
4783 * libc/iconv/lib/aliases.c: Removed.
4784 * libc/iconv/lib/bialiasesi.c: Ditto.
4785 * libc/iconv/lib/biccs.c: Ditto.
4786 * libc/iconv/lib/bices.c: Ditto.
4787 * libc/iconv/lib/ccs.c: Ditto.
4788 * libc/iconv/lib/ces.c: Ditto.
4789 * libc/iconv/lib/ces_euc.c: Ditto.
4790 * libc/iconv/lib/ces_iso2022.c: Ditto.
4791 * libc/iconv/lib/ces_table.c: Ditto.
4792 * libc/iconv/lib/converter.c: Ditto.
4793 * libc/iconv/lib/deps.h: Ditto.
4794 * libc/iconv/lib/loaddata.c: Ditto.
4795 * libc/iconv/lib/aliasesbi.c: New file.
4796 * libc/iconv/lib/aliasesi.c: Ditto.
4797 * libc/iconv/lib/conv.h: Ditto.
4798 * libc/iconv/lib/encnames.h: Ditto.
4799 * libc/iconv/lib/encoding.deps: Ditto.
4800 * libc/iconv/lib/iconvnls.c: Ditto.
4801 * libc/iconv/lib/iconvnls.h: Ditto.
4802 * libc/iconv/lib/nullconv.c: Ditto.
4803 * libc/iconv/lib/ucsconv.c: Ditto.
4804 * libc/iconv/lib/ucsconv.h: Ditto.
4805 * libc/include/iconv.h: Update copyright.
4806 * libc/*/aclocal.m4: Regenerated.
4807 * libc/*/configure: Ditto.
4808 * libm/*/aclocal.m4: Ditto.
4809 * libm/*/configure: Ditto.
4811 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4813 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4814 instead of typedefing jmp_buf.
4816 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4817 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4818 * libc/machine/h8300/defines.h (LEN): New macro.
4819 * libc/machine/h8300/memcpy.S: Add h8sx version.
4820 * libc/machine/h8300/memset.S: Likewise.
4821 * libc/machine/h8300/strcmp.S: Likewise.
4822 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4823 * libc/machine/h8300/h8sx_strcpy.S: New file.
4824 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4825 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4827 * libc/include/machine/setjmp.h: Likewise.
4828 * libc/include/sys/config.h: Likewise.
4829 * libc/machine/h8300/defines.h: Likewise.
4830 * libc/machine/h8300/setjmp.S: Likewise.
4831 * libc/machine/h8300/strcmp.S: Likewise.
4832 * libc/sys/h8300hms/close.S: Likewise.
4833 * libc/sys/h8300hms/fstat.S: Likewise.
4834 * libc/sys/h8300hms/lseek.S: Likewise.
4835 * libc/sys/h8300hms/read.S: Likewise.
4836 * libc/sys/h8300hms/write.S: Likewise.
4837 * libc/sys/h8300hms/crt0.S: Likewise.
4838 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4839 __H8300SX__ is defined.
4840 * libc/sys/h8300hms/setarch.h: Likewise.
4842 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4844 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4845 out change which set _GLOBAL_REENT to _global_impure_ptr until
4846 we understand why Cygwin breaks because of it.
4848 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4850 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4851 __syscall_return macro for systems with vsyscall.
4853 2004-06-11 Antony King <antony.king@st.com>
4855 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4856 _flock_t to be of type _LOCK_RECURSIVE_T.
4857 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4858 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4859 (_global_impure_ptr): New declaration.
4860 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4861 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4863 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4864 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4865 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4866 * libc/stdio/fclose.c: Remove casting of fp lock to
4868 * libc/stdio/findfp.c: Ditto.
4869 * libc/stdio/fopen.c: Ditto.
4870 * libc/stdio/freopen.c: Ditto.
4871 * libc/stdio/vfprintf.c: Ditto.
4872 * libc/stdio64/fopen64.c: Ditto.
4873 * libc/stdlib/envlock.c: Add default stubs that use generic
4875 * libc/stdlib/mlock.c: Ditto.
4877 Jeff Johnston <jjohnstn@redhat.com>
4878 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4879 (_flock_t): Change to be a struct containing a single member
4880 named mutex which is of type __flock_mutex_t.
4882 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4884 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4885 from /usr/include/asm/signal.h instead of kernel sources. Also
4886 default max to 32 if not found in header file.
4887 * libc/sys/linux/Makefile.in: Regenerated.
4888 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4889 systems where __syscall_return is not defined.
4890 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4891 systems to use syscall() function instead of assembler interrupt.
4893 2004-06-09 Toralf Lund <toralf@procaptura.com>
4895 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4896 files from libc/sys/arm to libc/machine/arm.
4897 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4898 library build support for files moved from libc/sys/arm.
4899 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4900 references to access and setjmp.
4901 * configure.host: Add checks for newlib_may_supply_syscalls to
4902 determine whether or not to use sys/arm directory and use
4903 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4905 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4907 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4908 reset digit flags appropriately after we have discovered "0x".
4909 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4911 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4913 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4915 (_VFPRINTF_R): ... to here so all I/O printf routines
4918 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4920 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4922 * libc/search/hash.c: Ditto.
4924 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4926 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4927 (_WANT_IO_LONG_LONG): Ditto.
4928 (_WANT_IO_LONG_DOUBLE): Ditto.
4929 * configure.in: Add new configuration options
4930 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4931 which tie to new defines in newlib.hin.
4932 * configure: Regenerated.
4933 * configure.host: Add checks for new configuration options. Also
4934 fix up check for --enable-newlib-io-pos-args so configuration
4935 option will override any default for a given platform.
4936 Remove defining compiler flags for the _WANT_IO* options.
4937 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4938 instead of looking for old compiler flags.
4939 * libc/stdio/vfscanf.c: Ditto.
4940 * libc/stdio/vfieeefp.h: Ditto.
4941 * libc/machine/powerpc/vfprintf.c: Ditto.
4942 * libc/machine/powerpc/vfscanf.c: Ditto.
4944 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4946 * testsuite/include/check.h: Add include of <stdio.h>.
4948 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4950 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4952 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4954 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4957 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4959 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4960 list for reentrant pointer. Call _vfiprintf_r.
4961 * libc/stdio/siprintf.c (_siprintf_r): New function.
4962 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4963 pointer argument. Change all callers. Call _VFPRINTF_R.
4964 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4967 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4969 * libc/include/sys/param.h: Remove endian info and include
4970 <machine/endian.h> instead.
4971 * libc/include/machine/endian.h: New file.
4972 * libc/include/machine/param.h: Ditto.
4973 * libc/machine/arm/machine/endian.h: Ditto.
4974 * libc/machine/arm/machine/param.h: Ditto.
4975 * libc/sys/arm/sys/param.h: Removed.
4976 * libc/sys/sysvi386/sys/param.h: Ditto.
4977 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4979 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4981 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4982 multibyte functions return failure for %C, %S, %lc, and %ls
4985 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4987 * testsuite/include/check.h (CHECK): Add flush of stdout.
4989 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4991 * libc/include/stdio.h (_ungetc_r): New prototype.
4992 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4993 (__submore): Add reentrant struct pointer argument.
4994 (ungetc): Change to call _ungetc_r.
4996 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4998 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4999 function pointer argument.
5000 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
5001 to specify function pointer arguments.
5002 (__fwalk, __fwalk_reent): Ditto.
5004 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
5006 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
5009 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5011 * configure.in: Define _MB_CAPABLE if mb supported.
5012 * configure: Regenerated.
5013 * configure.host: Remove manual setting of MB_CAPABLE compiler
5015 * newlib.hin: Add _MB_CAPABLE flag.
5016 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
5017 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
5018 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
5019 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
5020 * libc/ctype/jp2uc.c: Ditto.
5021 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
5022 * libc/locale/locale.c: Ditto
5023 * libc/machine/powerpc/vfscanf.c: Ditto
5024 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
5025 * libc/stdlib/mblen.c: Ditto
5026 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
5027 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
5028 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
5029 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
5030 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
5031 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
5032 * libc/sys/linux/intl/explodename.c: Ditto
5033 * libc/sys/linux/intl/finddomain.c: Ditto
5034 * libc/sys/linux/intl/l10nflist.c: Ditto
5035 * libc/sys/linux/intl/loadmsgcat.c: Ditto
5036 * libc/sys/linux/intl/localealias.c: Ditto
5038 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5040 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
5041 (__svfscanf_r): In integer conversions, leave out leading zeroes
5042 which are not part of a base prefix.
5043 Keep track of width truncation to fit into buf, not counting left-out
5044 zeroes against width till the truncation has been compensated for.
5045 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
5047 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
5049 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
5051 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5053 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
5054 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
5055 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
5056 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
5057 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
5058 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
5059 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
5060 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
5061 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
5062 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
5063 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
5064 libc/stdio/getchar.c libc/stdio/getchar_u.c,
5065 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
5066 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
5067 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
5068 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
5069 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
5070 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
5071 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
5072 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
5073 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
5074 libc/stdio/siprintf.c libc/stdio/snprintf.c,
5075 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
5076 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
5077 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
5078 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
5079 libc/stdio/vprintf.c libc/stdio/vscanf.c,
5080 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
5081 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
5082 libc/stdio/wsetup.c: Perform minor formatting changes. Move
5083 copyright notices to top of file, ensure that <_ansi.h> is
5084 included, be consistent with open parentheses, use _DEFUN macro,
5085 include "local.h" where needed, and remove various compiler
5088 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
5090 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
5091 (__svfscanf_r): In integer conversions, leave out leading zeroes
5092 which are not part of a base prefix.
5093 Keep track of width truncation to fit into buf, not counting left-out
5094 zeroes against width till the truncation has been compensated for.
5096 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5098 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
5100 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
5102 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
5104 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
5106 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
5109 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5111 * libc/stdio/fclose.c (_fclose_r): New function.
5112 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
5113 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
5114 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
5115 * libc/include/stdio.h (_fclose_r): New prototype.
5116 * libc/stdio/fopen.c: Fix typo in comment.
5118 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
5120 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
5121 to handle _r reentrant functions.
5123 2004-04-08 Eric Christopher <echristo@redhat.com>
5125 * libc/include/machine/setjmp.h: Fix endif locations.
5127 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5129 * libc/time/strptime.c: Add standard includes to avoid
5130 warning messages at compilation time.
5132 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
5134 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
5137 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
5139 * libc/machine/h8300/Makefile.am: Reformat slightly.
5140 * libc/machine/h8300/Makefile.in: Regenerate.
5142 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
5144 * libc/stdio/findfp.c (__fp_lock_all): Add call to
5146 (__fp_unlock_all): Add call to __sfp_lock_release.
5148 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
5150 * libc/stdio/fclose.c (fclose): Protect file pointer list when
5152 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
5154 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
5155 _flockfile/_funlockfile.
5156 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
5158 Change __lock_acquire/__lock_release calls for __sfp_lock to
5159 __sfp_lock_acquire/__sfp_lock_release throughout.
5160 (std): Make sure that file lock is only initialized once.
5161 (__sfp): Move _file initialization. Initialize file lock.
5162 (__sfp_lock_acquire): New function.
5163 (__sfp_lock_release): Ditto.
5164 (__fp_lock_all): Remove __sfp_lock_acquire call.
5165 (__fp_unlock_all): Remove __sfp_lock_release call.
5166 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
5167 Add calls to _flockfile/_funlockfile. Remove
5168 __lock_init_recursive call.
5169 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
5170 * libc/stdio/fwalk.c (__fwalk): New static function.
5171 (_fwalk): Protect file pointer list. Use __fwalk to walk through
5173 * libc/stdio/local.h: Add defines for
5174 __sfp_lock_acquire/__sfp_lock_release when
5175 single threaded. Add function prototypes otherwise.
5176 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
5177 _flockfile/_funlockfile.
5178 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
5179 Add calls to _flockfile/_funlockfile. Remove
5180 __lock_init_recursive call.
5181 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
5184 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
5186 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
5187 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
5188 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
5189 to be __LOCK_INIT_RECURSIVE.
5191 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
5193 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
5194 _exit.c with _exit.S.
5195 * libc/sys/h8300hms/Makefile.in: Regenerate.
5196 * libc/sys/h8300hms/_exit.c: Remove.
5197 * libc/sys/h8300hms/_exit.S: New.
5199 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
5201 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
5202 Change __sfp_lock to static global.
5203 (__fp_lock): New static function.
5204 (__fp_unlock): Ditto.
5205 (__fp_lock_all): New function.
5206 (__fp_unlock_all): Ditto.
5208 2004-02-10 Christopher Faylor <cgf@redhat.com>
5210 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
5211 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
5212 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
5213 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
5215 2004-02-09 Christopher Faylor <cgf@redhat.com>
5217 * libc/include/time.h (TIMER_RELTIME): New define.
5219 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
5221 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
5222 * libc/stdlib/Makefile.in: Regenerated.
5224 2004-02-08 Christopher Faylor <cgf@redhat.com>
5226 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
5227 * libc/include/sys/reent.h (__getreent): Protect against possibly being
5229 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
5231 2004-02-05 Paul Brook <paul@codesourcery.com>
5233 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
5234 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
5236 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
5238 * NEWS: Update with 1.12.0 info.
5240 * acinclude.m4: Change version number to 1.12.0.
5241 * aclocal.m4: Regenerated.
5243 * doc/aclocal.m4: Ditto.
5244 * doc/configure: Ditto.
5245 * libc/*/aclocal.m4: Ditto.
5246 * libc/*/configure: Ditto.
5247 * libc/libc.texinfo: Ditto.
5248 * libm/*/aclocal.m4: Ditto.
5249 * libm/*/configure: Ditto.
5250 * libm/libm.texinfo: Ditto.
5251 * libc/sys/linux/shared.ld: Add VERS_1.12.
5253 2004-02-02 Joel Sherrill <joel@oarcorp.com>
5255 * configure.host: Add support for tic4x.
5256 * libc/include/machine/ieeefp.h: Ditto.
5257 * libc/include/machine/setjmp.h: Ditto.
5258 * libc/machine/tic4x/Makefile.am: New file.
5259 * libc/machine/tic4x/configure.in: Ditto.
5260 * libc/machine/tic4x/setjmp.S: Ditto.
5261 * libc/machine/tic4x/aclocal.m4: Generated.
5262 * libc/machine/tic4x/configure: Ditto.
5263 * libc/machine/tic4x/Makefile.in: Ditto.
5265 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
5267 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
5268 file chain on the passed in reentrancy struct if it
5271 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5272 Jeff Johnston <jjohnstn@redhat.com>
5274 * libc/iconv/iconv.tex: Updated with more information.
5276 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
5277 Jeff Johnston <jjohnstn@redhat.com>
5279 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
5280 struct for std streams and traverse the global reeentrancy
5281 struct for all other streams.
5283 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
5285 * libc/stdlib/atexit.c: Protect global atexit list with a
5286 lock when newlib is multithreaded.
5288 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5290 * configure.in: Add support to generate iconv converter flags
5292 * newlib.hin: Add iconv converter flags.
5293 * configure: Regenerated.
5294 * libc/Makefile.in: Ditto.
5295 * libc/configure.in: Moved iconv converter parsing logic to
5296 top level newlib configure.in.
5297 * libc/configure: Regenerated.
5298 * libc/iconv/Makefile.in: Ditto.
5299 * libc/iconv/README.TODO
5300 * libc/iconv/charset.aliases: Remove wrong BE aliases for
5302 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
5303 newlib.h can be used.
5304 * libc/iconv/ces/Makefile.am: Ditto.
5305 * libc/iconv/lib/Makefile.am: Ditto.
5306 * libc/iconv/ccs/Makefile.in: Regenerated.
5307 * libc/iconv/ces/Makefile.in: Ditto.
5308 * libc/iconv/lib/Makefile.in: Ditto.
5309 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
5310 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
5311 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
5312 defined in newlib.h.
5313 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
5314 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
5315 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
5316 * libc/iconv/ccs/cp775.c: Ditto.
5317 * libc/iconv/ccs/cp850.c: Ditto.
5318 * libc/iconv/ccs/cp852.c: Ditto.
5319 * libc/iconv/ccs/cp855.c: Ditto.
5320 * libc/iconv/ccs/cp866.c: Ditto.
5321 * libc/iconv/ccs/gb_2312_80.c: Ditto.
5322 * libc/iconv/ccs/iso_8859_1.c: Ditto.
5323 * libc/iconv/ccs/iso_8859_15.c: Ditto.
5324 * libc/iconv/ccs/iso_8859_2.c: Ditto.
5325 * libc/iconv/ccs/iso_8859_4.c: Ditto.
5326 * libc/iconv/ccs/iso_8859_5.c: Ditto.
5327 * libc/iconv/ccs/jis_x0201.c: Ditto.
5328 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
5329 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
5330 * libc/iconv/ccs/koi8_r.c: Ditto.
5331 * libc/iconv/ccs/koi8_u.c: Ditto.
5332 * libc/iconv/ccs/ksx1001.c: Ditto.
5333 * libc/iconv/ccs/shift_jis.c: Ditto.
5334 * libc/iconv/ccs/us_ascii.c: Ditto.
5335 * libc/iconv/ccs/binary/big5.cct: Newly generated.
5336 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
5337 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
5338 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
5339 * libc/iconv/ccs/binary/cp775.cct: Ditto.
5340 * libc/iconv/ccs/binary/cp850.cct: Ditto.
5341 * libc/iconv/ccs/binary/cp852.cct: Ditto.
5342 * libc/iconv/ccs/binary/cp855.cct: Ditto.
5343 * libc/iconv/ccs/binary/cp866.cct: Ditto.
5344 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
5345 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
5346 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
5347 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
5348 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
5349 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
5350 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
5351 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
5352 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
5353 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
5354 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
5355 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
5356 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
5357 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
5358 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
5359 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
5360 * libc/iconv/ces/euc-kr.c: Ditto.
5361 * libc/iconv/ces/euc-tw.c: Ditto.
5362 * libc/iconv/ces/gb2312.c: Ditto.
5363 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
5364 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
5365 * libc/iconv/ces/ucs-2-internal.c: Ditto.
5366 * libc/iconv/ces/ucs-4-internal.c: Ditto.
5367 * libc/iconv/ces/utf-16.c: Ditto.
5368 * libc/iconv/ces/utf-8.c: Ditto.
5369 * libc/iconv/lib/aliases.c: Ditto.
5370 * libc/iconv/lib/biccs.c: Ditto.
5371 * libc/iconv/lib/bices.c: Ditto.
5372 * libc/iconv/lib/ccs.c: Ditto.
5373 * libc/iconv/lib/ces.c: Ditto.
5374 * libc/iconv/lib/ces_euc.c: Ditto.
5375 * libc/iconv/lib/ces_iso2022.c: Ditto.
5376 * libc/iconv/lib/ces_table.c: Ditto.
5377 * libc/iconv/lib/converter.c: Ditto.
5378 * libc/iconv/lib/deps.h: Ditto.
5379 * libc/iconv/lib/endian.h: Ditto.
5380 * libc/iconv/lib/iconv.c: Ditto.
5381 * libc/iconv/lib/loaddata.c: Ditto.
5382 * libc/iconv/lib/local.h: Include newlib.h.
5383 * libc/argz/Makefile.in: Regenerated.
5384 * libc/ctype/Makefile.in: Ditto.
5385 * libc/errno/Makefile.in: Ditto.
5386 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5387 * libc/locale/Makefile.in: Ditto.
5388 * libc/misc/Makefile.in: Ditto.
5389 * libc/posix/Makefile.in: Ditto.
5390 * libc/reent/Makefile.in: Ditto.
5391 * libc/search/Makefile.in: Ditto.
5392 * libc/signal/Makefile.in: Ditto.
5393 * libc/stdio/Makefile.in: Ditto.
5394 * libc/stdio64/Makefile.in: Ditto.
5395 * libc/stdlib/Makefile.in: Ditto.
5396 * libc/string/Makefile.in: Ditto.
5397 * libc/syscalls/Makefile.in: Ditto.
5398 * libc/time/Makefile.in: Ditto.
5399 * libc/unix/Makefile.in: Ditto.
5400 * testsuite/newlib.iconv/iconv.exp: New file.
5401 * testsuite/newlib.iconv/iconvjp.c: Ditto.
5402 * testsuite/newlib.iconv/iconvnm.c: Ditto.
5403 * testsuite/newlib.iconv/iconvru.c: Ditto.
5405 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5407 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
5408 (--enable-newlib-builtin-converters): Ditto.
5409 * configure.in: Add code to set _ICONV_ENABLED flag.
5410 Set _MB_LEN_MAX to 1 if not mb enabled.
5411 * configure: Regenerated.
5412 * aclocal.m4: Ditto.
5413 * Makefile.in: Ditto.
5414 * newlib.hin: Add _ICONV_ENABLED flag.
5415 * libc/Makefile.am: Add support for iconv.
5416 * libc/configure.in: Ditto.
5417 * libc/Makefile.in: Regenerated.
5418 * libc/aclocal.m4: Ditto.
5419 * libc/configure: Ditto.
5420 * libc/libc.texinfo: Add iconv documentation.
5421 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
5422 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
5423 libc/iconv/README.TODO, libc/iconv/charset.aliases,
5424 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
5425 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
5426 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
5427 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
5428 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
5429 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
5430 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
5431 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
5432 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
5433 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
5434 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
5435 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
5436 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
5437 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
5438 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
5439 libc/iconv/ccs/binary/big5.cct,
5440 libc/iconv/ccs/binary/cns11643_plane1.cct,
5441 libc/iconv/ccs/binary/cns11643_plane14.cct,
5442 libc/iconv/ccs/binary/cns11643_plane2.cct,
5443 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
5444 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
5445 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
5446 libc/iconv/ccs/binary/iso_8859_1.cct,
5447 libc/iconv/ccs/binary/iso_8859_15.cct,
5448 libc/iconv/ccs/binary/iso_8859_2.cct,
5449 libc/iconv/ccs/binary/iso_8859_4.cct,
5450 libc/iconv/ccs/binary/iso_8859_5.cct,
5451 libc/iconv/ccs/binary/jis_x0201.cct,
5452 libc/iconv/ccs/binary/jis_x0208_1983.cct,
5453 libc/iconv/ccs/binary/jis_x0212_1990.cct,
5454 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
5455 libc/iconv/ccs/binary/ksx1001.cct,
5456 libc/iconv/ccs/binary/shift_jis.cct,
5457 libc/iconv/ccs/binary/us_ascii.cct,
5458 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
5459 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
5460 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
5461 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
5462 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
5463 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
5464 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
5465 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
5466 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
5467 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
5468 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
5469 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
5470 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
5471 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
5472 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
5473 * libc/sys/linux/include/iconv.h: Ditto.
5474 * libc/include/sys/_types.h (_iconv_t): Added.
5475 * doc/aclocal.m4: Regenerated.
5476 * doc/configure: Ditto.
5477 * doc/Makefile.in: Ditto.
5478 * iconvdata/Makefile.in: Ditto.
5479 * iconvdata/aclocal.m4: Ditto.
5480 * iconvdata/configure: Ditto.
5481 * libc/*aclocal.m4: Ditto.
5482 * libc/*Makefile.in: Ditto.
5483 * libc/*configure: Ditto.
5484 * libm/*aclocal.m4: Ditto.
5485 * libm/*Makefile.in: Ditto.
5486 * libm/*configure: Ditto.
5488 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
5490 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
5491 by a lock when newlib is multithreaded.
5493 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
5495 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
5496 pointer to match C99 spec.
5497 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
5498 dst is NULL. Also fix to not alter src pointer when dst is NULL
5499 and call _mbrtowc_r instead of _mbtowc_r.
5500 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
5503 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
5505 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
5506 * libc/stdio/freopen.c (freopen): Ditto.
5508 2004-01-16 Christopher Faylor <cgf@redhat.com>
5510 * libc/stdio/vfprintf.c: Add sys/lock.h include.
5512 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
5514 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
5515 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
5516 Add calls to __lock_init_recursive and __lock_close_recursive
5519 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
5521 * libc/stdio/fclose.c: Include sys/lock.h.
5522 (fclose): Destroy lock when file is closed.
5523 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
5525 * libc/stdio/freopen.c: Include sys/lock.h.
5526 (_freopen_r): Destroy lock when file is closed.
5527 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
5530 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5532 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
5535 2004-01-08 Joel Sherrill <joel@oarcorp.com>
5537 * libc/sys/rtems/sys/queue.h: New file.
5538 * libc/include/sys/signal.h: Reflect renumbering of signals to
5539 fit into 32-bit mask.
5540 * libc/include/sys/unistd.h: Add fdatasync() prototype.
5541 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
5542 required. In particular, add the reentrant variants of libc calls.
5543 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
5545 2004-01-06 Mark Mitchell <mark@codesourcery.com>
5547 * libc/sys/arm/syscalls.c (unistd.h): Include it.
5548 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
5549 Similarly for stdout and stderr.
5551 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
5553 * libc/libc.texinfo: Correct escape character for @ sign
5554 so file will be processed by make info. Update copyright years.
5555 * libm/libm.texinfo: Ditto.
5557 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5559 * libc/include/sys/stat.h: No longer include stat-dj.h.
5560 * libc/include/sys/stat-dj.h: Removed.
5562 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
5564 * libc/include/wchar.h: Include <sys/reent.h>.
5566 2003-12-05 Christopher Faylor <cgf@redhat.com>
5568 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
5569 when defining _mbrtowc.
5570 * libc/stdlib/mbsinit.c: Ditto.
5571 * libc/stdlib/mbsrtowcs.c: Ditto.
5572 * libc/stdlib/wcrtomb.c: Ditto.
5573 * libc/stdlib/wcsrtombs.c: Ditto.
5574 * libc/stdlib/wctob.c: Ditto.
5576 2003-12-05 Christopher Faylor <cgf@redhat.com>
5578 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
5579 errors when defining _mbrtowc.
5580 * libc/stdlib/mbsinit.c: Ditto.
5581 * libc/stdlib/mbsrtowcs.c: Ditto.
5583 2003-12-05 Christopher Faylor <cgf@redhat.com>
5585 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
5586 errors when defining _mbrtowc.
5588 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5590 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
5591 of mb routines for %lc and %ls support.
5592 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
5593 %ls, and %S support. Remove CYGNUS_NEC markers and
5596 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
5598 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
5599 _wcrtomb_r, and _wcsrtombs_r.
5601 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
5603 * libc/include/sys/fcntl.h: Don't define struct flock when on
5604 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
5606 2003-11-28 Christopher Faylor <cgf@redhat.com>
5608 * libc/include/sys/signal.h: Use system specific signal file when
5611 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5613 * libc/include/stdlib.h (_atoi_r): New prototype.
5614 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
5616 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
5618 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
5619 * libc/stdlib/atol.c (_atol_r): New reentrant function.
5620 * libc/stdlib/atoll.c (_atoll_r): Ditto.
5622 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5623 Jeff Johnston <jjohnstn@redhat.com>
5625 * libc/include/stdlib.h (lldiv_t): New type.
5626 (atoll, llabs, lldiv): New prototypes.
5627 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
5628 * libc/stdlib/stdlib.tex: Ditto.
5629 * libc/stdlib/Makefile.in: Regenerated.
5630 * libc/stdlib/atoll.c: New file.
5631 * libc/stdlib/llabs.c: Ditto.
5632 * libc/stdlib/lldiv.c: Ditto.
5634 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
5636 * libc/include/fcntl.h: Declare syscalls only when building newlib.
5637 * libc/include/unistd.h: Ditto.
5638 * libc/include/stat.h: Ditto. Also declare struct stat64.
5640 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5642 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
5643 specifier to use ch instead of *fmt.
5645 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5647 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
5648 code within checks for MB_CAPABLE. For non-mb-capable platforms,
5649 use simple byte logic.
5651 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
5653 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
5654 _strtold routine for processing floats and doubles since it
5655 is not as fast as _strtod_r.
5657 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
5659 * libc/machine/h8300/defines.h : Correct pointer register defines
5661 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
5663 * libc/machine/h8300/reg_memcpy.S : Likewise.
5664 * libc/machine/h8300/reg_memset.S : Likewise.
5665 * libc/machine/h8300/strcmp.S : Likewise.
5667 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
5669 * configure.host: Enable positional arguments for printf
5671 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
5672 pointer reference for quad_ptr_t.
5674 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
5676 * libc/stdio/scanf.c: Don't include local.h more than once.
5678 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
5680 * libc/include/sys/fcntl.h: Declare _open64.
5681 * libc/include/sys/stat.h: Declare _fstat64.
5682 * libc/include/sys/unistd.h: Declare _lseek64.
5684 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
5686 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5687 (setprogname): Ditto.
5689 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5691 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5692 to use (Ebits + 1) which accounts for the sign-bit.
5694 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5696 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5698 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5699 and set up default flags to pass to aclocal.
5700 * iconvdata/Makefile.in: Regenerated.
5701 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5702 and getpwuid routines.
5703 * libc/sys/linux/Makefile.in: Regenerated.
5704 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5705 applications to link with newlib's shared libc library.
5706 * libc/sys/linux/getpwnam.c: Ditto.
5707 * libc/sys/linux/getpwuid.c: Ditto.
5708 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5709 that were formerly supplied by /usr/include/linux/types.h with
5711 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5712 test _ELIX_LEVEL macro.
5714 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5716 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5717 referring to _NO_LONGLONG macro.
5719 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5721 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5722 in LOG() macro so this will compile on gcc 3.4 and up.
5723 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5724 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5725 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5726 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5727 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5728 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5729 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5730 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5731 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5732 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5733 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5734 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5735 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5736 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5737 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5738 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5739 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5740 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5741 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5742 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5743 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5744 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5745 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5746 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5747 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5748 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5749 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5750 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5751 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5752 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5753 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5754 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5755 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5756 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5757 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5758 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5760 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5761 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5763 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5764 %ls, %S, %lc, and %C format specifiers.
5766 * libc/stdio/sprintf.c: Add documentation regarding new
5767 format specifiers added in vfprintf.c.
5769 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5771 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5772 to make code work as specified in standard.
5774 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5776 * configure.in: Use absolute newlib basedir when forming
5777 CC_FOR_NEWLIB include options.
5778 * configure: Regenerated.
5780 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5782 * libc/string/wcsnlen.c: New file.
5783 * libc/include/wchar.h: Add wcsnlen prototype.
5784 * libc/string/Makefile.am: Add wcsnlen support.
5785 * libc/string/Makefile.in: Regenerated.
5786 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5788 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5790 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5792 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5794 * libc/locale/locale.c: Use double quotes in code.
5795 * libc/locale/locale.tex: Likewise.
5796 * libc/libc.texinfo: Hyphenate "floating-point".
5797 * libc/machine/necv70/necv70.tex: Likewise.
5798 * libc/stdio/sprintf.c: Likewise.
5799 * libc/stdio/sscanf.c: Likewise.
5800 * libc/stdlib/atof.c: Likewise.
5801 * libc/stdlib/ldtoa.c: Fix comment typo.
5802 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5803 * libc/stdlib/ldiv.c: Likewise.
5804 * libm/common/s_expm1.c: Likewise.
5805 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5806 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5807 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5808 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5809 and "floating-point".
5810 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5811 * libm/math/e_pow.c: Fix comment typo.
5812 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5813 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5814 * libm/math/s_atan.c: Likewise.
5815 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5816 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5817 "floating-point". Use "nonzero".
5818 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5819 * libm/math/w_acos.c: Likewise.
5820 * libm/math/w_acosh.c: Likewise.
5821 * libm/math/w_asin.c: Likewise.
5822 * libm/math/w_atan2.c: Likewise.
5823 * libm/math/w_atanh.c: Likewise.
5824 * libm/math/w_cosh.c: Likewise.
5825 * libm/math/w_exp.c: Likewise.
5826 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5827 version of 2^x in the description.
5828 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5829 * libm/math/w_gamma.c: Likewise.
5830 * libm/math/w_hypot.c: Likewise.
5831 * libm/math/w_j0.c: Likewise.
5832 * libm/math/w_sinh.c: Likewise.
5833 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5834 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5836 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5837 * libm/mathfp/e_atanh.c: Likewise.
5838 * libm/mathfp/e_hypot.c: Likewise.
5839 * libm/mathfp/er_lgamma.c: Likewise.
5840 * libm/mathfp/s_acos.c: Likewise.
5841 * libm/mathfp/s_asine.c: Likewise.
5842 * libm/mathfp/s_asinh.c: Likewise.
5843 * libm/mathfp/s_atan.c: Likewise.
5844 * libm/mathfp/s_atan2.c: Likewise.
5845 * libm/mathfp/s_atangent.c: Likewise.
5846 * libm/mathfp/s_cosh.c: Likewise.
5847 * libm/mathfp/s_exp.c: Likewise.
5848 * libm/mathfp/s_fmod.c: Likewise.
5849 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5850 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5851 "floating-point". Use "nonzero".
5852 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5853 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5854 * libm/mathfp/s_sineh.c: Likewise.
5855 * libm/mathfp/w_jn.c: Likewise.
5857 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5859 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5860 lines, to enable parallel make.
5861 * Makefile.in: Rebuilt.
5863 2003-10-14 Christopher Faylor <cgf@redhat.com>
5865 * libc/time/clock.c: Clarify documentation of return value when no
5866 measurement is available.
5868 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5870 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5871 * libm/configure: Regenerate.
5872 * libm/Makefile.in: Ditto.
5874 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5876 * libc/machine/sh/strncpy.S: New file.
5877 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5878 * libc/machine/sh/Makefile.in: Regenerate.
5880 2003-09-11 James E Wilson <wilson@specifixinc.com>
5882 * MAINTAINERS: Update my e-mail address.
5884 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5886 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5888 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5890 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5892 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5893 _simdldcheck(). Also add unsigned cast for index variable in
5894 for loop using sizeof operators.
5895 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5896 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5897 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5898 plus fix shift calculation for determining if there is a
5901 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5903 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5904 setgroupent for Cygwin.
5906 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5908 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5909 is different for _REENT_SMALL than when using regular reent
5912 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5914 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5915 modern versions of GCC issue a warning.
5917 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5918 after continuation characters that induces a warning from modern
5921 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5923 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5924 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5926 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5928 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5929 * libc/stdlib/exit.c : Ditto.
5930 * libc/stdlib/on_exit.c: Ditto.
5932 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5934 * libc/include/reent.h: Define stat64 as __stat64 when
5935 compiling newlib for Cygwin.
5937 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5939 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5940 __stat64 when compiling newlib.
5942 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5944 * libc/include/stdio.h: Allow the io64 function prototypes for
5945 Cygwin when compiling newlib.
5946 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5947 to expose the Cygwin struct __stat64 type.
5948 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5950 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5952 2003-08-23 Christopher Faylor <cgf@redhat.com>
5954 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5955 definition to fseeko64.
5957 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5959 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5960 * libc/stdio: Globally remove/replace all references to fp->_data.
5961 Replace with _REENT or _GLOBAL_REENT where appropriate.
5962 * libc/stdio/asprintf.c: Ditto.
5963 * libc/stdio/fclose.c: Ditto.
5964 * libc/stdio/fvwrite.c: Ditto.
5965 * libc/stdio/makebuf.c: Ditto.
5966 * libc/stdio/refill.c: Ditto.
5967 * libc/stdio/local.h: Ditto.
5968 * libc/stdio/setvbuf.c: Ditto.
5969 * libc/stdio/sscanf.c: Ditto.
5970 * libc/stdio/stdio.c: Ditto.
5971 * libc/stdio/ungetc.c: Ditto.
5972 * libc/stdio/vfscanf.c: Ditto.
5973 * libc/stdio/vsscanf.c: Ditto.
5974 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5975 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5976 * libc/stdio/vsnprintf.c: Ditto.
5977 * libc/stdio/vsprintf.c: Ditto.
5978 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5979 instead of _REENT to walk file list.
5980 * libc/stdio/fflush.c: Ditto.
5981 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5982 version call reentrant version with _REENT argument.
5983 * libc/stdio/fsetpos.c: Ditto.
5984 * libc/stdio/fseek.c: Ditto.
5985 * libc/stdio/fseeko.c: Ditto.
5986 * libc/stdio/ftell.c: Ditto.
5987 * libc/stdio/ftello.c: Ditto.
5988 * libc/stdio/freopen.c: Ditto.
5989 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5990 new files to chain. Also use _GLOBAL_REENT pointer for
5992 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5993 * libc/stdio/siprintf.c: Ditto.
5994 * libc/stdio/iprintf.c: Ditto.
5995 * libc/stdio/fprintf.c: Ditto.
5996 * libc/stdio/printf.c: Ditto.
5997 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5998 * libc/stdio/sprintf.c: Ditto.
5999 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
6000 * libc/stdio/rewind.c: Call _fseek_r directly.
6001 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
6002 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
6004 (get_arg): Add extra struct _reent pointer argument.
6005 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
6007 * libc/stdio64/fopen64.c: Ditto.
6008 * libc/stdio64/freopen64.c: Ditto.
6009 * libc/stdio64/fsetpos64.c: Ditto.
6010 * libc/stdio64/ftello64.c: Ditto.
6011 * libc/stdio64/local64.h: Ditto.
6012 * libc/stdio64/stdio64.c: Ditto.
6013 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
6014 _fstat64_r for the meantime.
6016 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
6018 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
6021 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
6023 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
6026 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
6028 * libc/include/math.h: Add prototypes for __signbitf and
6031 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
6033 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
6034 correct type of conversion when dealing with EUCJP or SJIS.
6035 * libc/ctype/iswblank.c: Ditto.
6036 * libc/ctype/iswcntrl.c: Ditto.
6037 * libc/ctype/iswprint.c: Ditto.
6038 * libc/ctype/iswpunct.c: Ditto.
6039 * libc/ctype/iswspace.c: Ditto.
6040 * libc/ctype/towlower.c: Ditto.
6041 * libc/ctype/towupper.c: Ditto.
6043 2003-07-31 Nick Clifton <nickc@redhat.com>
6045 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
6046 before calling main, in case it saves its argument registers.
6047 Remove reference to deleted v850ea port.
6048 * configure.host: Remove reference to deleted v850ea port.
6049 Do not use -mv850 when building for v850e target. This
6050 prevents the ctbp system register from being initialised.
6052 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
6054 * libc/stdio/vfprintf.c: Set output size to 1 when
6055 we have %f format with precision 0 and # flag not specified.
6057 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
6059 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
6062 2003-07-25 Christopher Faylor <cgf@redhat.com>
6064 * libc/stdio64/fdopen64.c: Include sys/lock.h.
6066 2003-07-25 Christopher Faylor <cgf@redhat.com>
6068 * configure.host: Find cygwin include directory, when appropriate.
6070 2003-07-24 Christopher Faylor <cgf@redhat.com>
6072 * libc/stdio64/fdopen64.c: New file.
6073 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
6074 * libc/stdio64/Makefile.in: Regenerate.
6075 * libc/include/stdio.h (fdopen64): Define.
6076 * libc/include/stdio.h (_fdopen64_r): Ditto.
6078 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
6080 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
6081 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
6082 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
6083 restore callee-saved FP registers.
6085 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
6087 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
6089 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
6091 * libc/sys/sh/Makefile.in: Regenerate.
6092 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
6093 * libc/sys/sh/ftruncate.c: New file.
6094 * libc/sys/sh/truncate.c: Likewise.
6096 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
6098 * libc/include/math.h (nan, nanf): Update prototype to C99.
6099 * libm/common/s_nan.c (nan): Likewise.
6100 * libm/common/s_nanf.c (nanf, nan): Likewise.
6101 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
6103 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
6105 * libc/include/stdbool.h: Removed as this is defined by gcc.
6107 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
6109 * libc/include/stdbool.h: New header file defined by C99.
6111 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6113 * libc/include/sys/types.h (int8_t): Make signed.
6115 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
6117 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
6119 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
6121 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
6122 on if we actually created the shared memory file exclusively.
6124 2003-06-27 Joe Vornehm <joev@mitre.org>
6126 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
6127 comparisons to account for unsigned internal value w.
6129 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
6131 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
6132 wrbuf for a non-creating open.
6134 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
6136 * libc/machine/h8300/setarch.h: New.
6137 * libc/machine/h8300/memcpy.S: Use it.
6138 * libc/machine/h8300/memset.S: Likewise.
6139 * libc/machine/h8300/reg_memcpy.S: Likewise.
6140 * libc/machine/h8300/reg_memset.S: Likewise.
6141 * libc/machine/h8300/setjmp.S: Likewise.
6142 * libc/machine/h8300/strcmp.S: Likewise.
6144 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
6146 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
6149 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6151 * configure.host (iq2000): Add tabs.
6153 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
6155 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
6156 to handle latest on_exit change.
6157 * libc/sys/linux/Makefile.am: Remove special compilation
6158 for malloc.c and mcheck.c.
6159 * libc/sys/linux/Makefile.in: Regenerated.
6160 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
6161 after including <features.h>.
6162 * libc/sys/linux/mcheck.c: Ditto.
6163 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
6165 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
6166 add -DNOT_IN_libc to C flags.
6167 * libc/sys/linux/intl/Makefile.in: Regenerated.
6168 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
6169 * libc/sys/linux/linuxthreads/semaphore.h: Include
6170 <bits/pthreadtypes.h>.
6171 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
6172 including <features.h>.
6173 * libc/sys/linux/sys/lock.h: Ditto.
6175 2003-06-11 Nick Clifton <nickc@redhat.com>
6177 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
6180 2003-06-10 Stan Cox <scox@redhat.com>
6181 Anthony Green <green@redhat.com>
6183 * configure.host: Add iq2000 support.
6184 * newlib/libc/include/machine/ieeefp.h: Ditto.
6185 * newlib/libc/include/machine/setjmp.h: Ditto.
6186 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
6187 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
6188 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
6189 libc/machine/iq2000/Makefile.in: New files.
6191 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
6193 * libc/sys/h8300hms/setarch.h: New file.
6194 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
6195 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
6196 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
6197 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
6199 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
6201 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
6203 * libc/argz/argz_add_sep.c: Ditto.
6204 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
6205 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
6206 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
6207 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
6208 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
6209 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
6210 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
6211 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
6212 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
6213 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
6214 * libc/posix/execl.c libc/posix/execle.c: Ditto.
6215 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
6216 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
6217 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
6218 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
6219 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
6220 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
6221 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
6222 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
6223 * libc/search/twalk.c libc/signal/signal.c: Ditto.
6225 2003-06-05 Nick Clifton <nickc@redhat.com>
6227 * libc/include/sys/reent.h (struct _on_exit_args): New
6228 structure containing fields used by the on_exit() function.
6229 (struct _atexit): Include struct _on_exit_args. For
6230 _REENT_SMALL do his via a pointer that is initialised when
6232 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
6233 structure, if one has been allocated.
6234 * libc/stdlib/atexit.c (atexit): Update indirection to
6236 * libc/stdlib/on_exit.c (on_exit): Indirect via the
6237 _on_exit_args structure. For _REENT_SMALL, allocate a
6238 structure if one does not exist.
6239 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
6242 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
6244 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
6245 * libc/sys/linux/net/Makefile.in: Regenerated.
6247 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
6249 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
6250 * libc/reent/fcntlr.c: Ditto.
6251 * libc/reent/fstat64r.c: Ditto.
6252 * libc/reent/linkr.c: Ditto.
6253 * libc/reent/lseek64r.c: Ditto.
6254 * libc/reent/lseekr.c: Ditto.
6255 * libc/reent/openr.c: Ditto.
6256 * libc/reent/readr.c: Ditto.
6257 * libc/reent/reent.c: Ditto.
6258 * libc/reent/sbrkr.c: Ditto.
6259 * libc/reent/signalr.c: Ditto.
6260 * libc/reent/signgam.c: Ditto.
6261 * libc/reent/statr.c: Ditto.
6262 * libc/reent/timer.c: Ditto.
6263 * libc/reent/unlinkr.c: Ditto.
6264 * libc/reent/writer.c: Ditto.
6265 * libc/syscalls/sysclose.c: Ditto.
6266 * libc/syscalls/sysexecve.c: Ditto.
6267 * libc/syscalls/sysfcntl.c: Ditto.
6268 * libc/syscalls/sysfork.c: Ditto.
6269 * libc/syscalls/sysfstat.c: Ditto.
6270 * libc/syscalls/sysgetpid.c: Ditto.
6271 * libc/syscalls/sysgettod.c: Ditto.
6272 * libc/syscalls/syskill.c: Ditto.
6273 * libc/syscalls/syslink.c: Ditto.
6274 * libc/syscalls/syslseek.c: Ditto.
6275 * libc/syscalls/sysopen.c: Ditto.
6276 * libc/syscalls/sysread.c: Ditto.
6277 * libc/syscalls/syssbrk.c: Ditto.
6278 * libc/syscalls/sysstat.c: Ditto.
6279 * libc/syscalls/systimes.c: Ditto.
6280 * libc/syscalls/sysunlink.c: Ditto.
6281 * libc/syscalls/syswait.c: Ditto.
6282 * libc/syscalls/syswrite.c: Ditto.
6284 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
6286 * libc/time/tzset_r.c: Change local variables that are
6287 set via sscanf using the %h format specifier to be unsigned short
6290 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
6292 * configure.host: Allow i[34567]86 variant.
6293 * configure.in: Likewise.
6294 * README: Likewise to the docs.
6295 * configure: Regenerated.
6296 * Makefile.in: Ditto.
6298 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
6299 Tom Fitzsimmons <fitzsim@redhat.com>
6301 * configure.in: Add iconvdata support for x86 linux.
6302 * configure: Regenerated.
6303 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
6304 library, iconv, and linuxthreads support.
6305 * libc/sys/linux/configure.in: Ditto.
6306 * libc/sys/linux/Makefile.in: Regenerated.
6307 * libc/sys/linux/configure: Ditto.
6308 * iconvdata/EUC-JP.irreversible: New file.
6309 * iconvdata/Makefile.am: Ditto.
6310 * iconvdata/Makefile.in: Ditto.
6311 * iconvdata/SJIS.irreversible: Ditto.
6312 * iconvdata/aclocal.m4: Ditto.
6313 * iconvdata/configure: Ditto.
6314 * iconvdata/configure.in: Ditto.
6315 * iconvdata/dummy.c: Ditto.
6316 * iconvdata/euc-jp.c: Ditto.
6317 * iconvdata/gconv-modules: Ditto.
6318 * iconvdata/jis0201.c: Ditto.
6319 * iconvdata/jis0201.h: Ditto.
6320 * iconvdata/jis0208.c: Ditto.
6321 * iconvdata/jis0208.h: Ditto.
6322 * iconvdata/jis0212.c: Ditto.
6323 * iconvdata/jis0212.h: Ditto.
6324 * iconvdata/sjis.c: Ditto.
6325 * libc/include/errno.h: Protect definition of error_t.
6326 * libc/sys/linux/gethostid.c: New file.
6327 * libc/sys/linux/sethostid.c: Ditto.
6328 * libc/sys/linux/dl/Makefile.am: Ditto.
6329 * libc/sys/linux/dl/Makefile.in: Ditto.
6330 * libc/sys/linux/dl/abi-tag.h: Ditto.
6331 * libc/sys/linux/dl/atomicity.h: Ditto.
6332 * libc/sys/linux/dl/dl-addr.c: Ditto.
6333 * libc/sys/linux/dl/dl-cache.c: Ditto.
6334 * libc/sys/linux/dl/dl-cache.h: Ditto.
6335 * libc/sys/linux/dl/dl-close.c: Ditto.
6336 * libc/sys/linux/dl/dl-debug.c: Ditto.
6337 * libc/sys/linux/dl/dl-deps.c: Ditto.
6338 * libc/sys/linux/dl/dl-dst.h: Ditto.
6339 * libc/sys/linux/dl/dl-error.c: Ditto.
6340 * libc/sys/linux/dl/dl-fini.c: Ditto.
6341 * libc/sys/linux/dl/dl-init.c: Ditto.
6342 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
6343 * libc/sys/linux/dl/dl-libc.c: Ditto.
6344 * libc/sys/linux/dl/dl-librecon.h: Ditto.
6345 * libc/sys/linux/dl/dl-load.c: Ditto.
6346 * libc/sys/linux/dl/dl-lookup.c: Ditto.
6347 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
6348 * libc/sys/linux/dl/dl-minimal.c: Ditto.
6349 * libc/sys/linux/dl/dl-misc.c: Ditto.
6350 * libc/sys/linux/dl/dl-object.c: Ditto.
6351 * libc/sys/linux/dl/dl-open.c: Ditto.
6352 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
6353 * libc/sys/linux/dl/dl-profile.c: Ditto.
6354 * libc/sys/linux/dl/dl-profstub.c: Ditto.
6355 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6356 * libc/sys/linux/dl/dl-runtime.c: Ditto.
6357 * libc/sys/linux/dl/dl-support.c: Ditto.
6358 * libc/sys/linux/dl/dl-sym.c: Ditto.
6359 * libc/sys/linux/dl/dl-version.c: Ditto.
6360 * libc/sys/linux/dl/dlfcn.h: Ditto.
6361 * libc/sys/linux/dl/do-lookup.h: Ditto.
6362 * libc/sys/linux/dl/do-rel.h: Ditto.
6363 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6364 * libc/sys/linux/dl/kernel-features.h: Ditto.
6365 * libc/sys/linux/dl/ldsodefs.h: Ditto.
6366 * libc/sys/linux/dl/libintl.h: Ditto.
6367 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
6368 * libc/sys/linux/dl/unsecvars.h: Ditto.
6369 * libc/sys/linux/iconv/Makefile.am: Ditto.
6370 * libc/sys/linux/iconv/Makefile.in: Ditto.
6371 * libc/sys/linux/iconv/categories.def: Ditto.
6372 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
6373 * libc/sys/linux/iconv/gconv.c: Ditto.
6374 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
6375 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
6376 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
6377 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
6378 * libc/sys/linux/iconv/gconv_close.c: Ditto.
6379 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
6380 * libc/sys/linux/iconv/gconv_db.c: Ditto.
6381 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
6382 * libc/sys/linux/iconv/gconv_int.h: Ditto.
6383 * libc/sys/linux/iconv/gconv_open.c: Ditto.
6384 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6385 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
6386 * libc/sys/linux/iconv/hash-string.h: Ditto.
6387 * libc/sys/linux/iconv/iconv.c: Ditto.
6388 * libc/sys/linux/iconv/iconv.h: Ditto.
6389 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
6390 * libc/sys/linux/iconv/iconv_close.c: Ditto.
6391 * libc/sys/linux/iconv/iconv_open.c: Ditto.
6392 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
6393 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
6394 * libc/sys/linux/iconv/loadinfo.h: Ditto.
6395 * libc/sys/linux/iconv/localeinfo.h: Ditto.
6396 * libc/sys/linux/iconv/loop.c: Ditto.
6397 * libc/sys/linux/iconv/skeleton.c: Ditto.
6398 * libc/sys/linux/iconv/strtab.c: Ditto.
6399 * libc/sys/linux/include/dl-hash.h: Ditto.
6400 * libc/sys/linux/include/dlfcn.h: Ditto.
6401 * libc/sys/linux/include/fnmatch.h: Ditto.
6402 * libc/sys/linux/include/gconv.h: Ditto.
6403 * libc/sys/linux/include/glob.h: Ditto.
6404 * libc/sys/linux/include/hesiod.h: Ditto.
6405 * libc/sys/linux/include/ifaddrs.h: Ditto.
6406 * libc/sys/linux/include/libc_private.h: Ditto.
6407 * libc/sys/linux/include/link.h: Ditto.
6408 * libc/sys/linux/include/namespace.h: Ditto.
6409 * libc/sys/linux/include/netconfig.h: Ditto.
6410 * libc/sys/linux/include/netdb.h: Ditto.
6411 * libc/sys/linux/include/nsswitch.h: Ditto.
6412 * libc/sys/linux/include/regex.h: Ditto.
6413 * libc/sys/linux/include/resolv.h: Ditto.
6414 * libc/sys/linux/include/rune.h: Ditto.
6415 * libc/sys/linux/include/runetype.h: Ditto.
6416 * libc/sys/linux/include/semaphore.h: Ditto.
6417 * libc/sys/linux/include/setlocale.h: Ditto.
6418 * libc/sys/linux/include/un-namespace.h: Ditto.
6419 * libc/sys/linux/include/wordexp.h: Ditto.
6420 * libc/sys/linux/include/arpa/ftp.h: Ditto.
6421 * libc/sys/linux/include/arpa/inet.h: Ditto.
6422 * libc/sys/linux/include/arpa/nameser.h: Ditto.
6423 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
6424 * libc/sys/linux/include/arpa/telnet.h: Ditto.
6425 * libc/sys/linux/include/arpa/tftp.h: Ditto.
6426 * libc/sys/linux/include/net/bpf.h: Ditto.
6427 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
6428 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
6429 * libc/sys/linux/include/net/bridge.h: Ditto.
6430 * libc/sys/linux/include/net/ethernet.h: Ditto.
6431 * libc/sys/linux/include/net/fddi.h: Ditto.
6432 * libc/sys/linux/include/net/if.h: Ditto.
6433 * libc/sys/linux/include/net/if_arc.h: Ditto.
6434 * libc/sys/linux/include/net/if_arp.h: Ditto.
6435 * libc/sys/linux/include/net/if_atm.h: Ditto.
6436 * libc/sys/linux/include/net/if_dl.h: Ditto.
6437 * libc/sys/linux/include/net/if_gif.h: Ditto.
6438 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
6439 * libc/sys/linux/include/net/if_llc.h: Ditto.
6440 * libc/sys/linux/include/net/if_media.h: Ditto.
6441 * libc/sys/linux/include/net/if_mib.h: Ditto.
6442 * libc/sys/linux/include/net/if_ppp.h: Ditto.
6443 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
6444 * libc/sys/linux/include/net/if_slvar.h: Ditto.
6445 * libc/sys/linux/include/net/if_sppp.h: Ditto.
6446 * libc/sys/linux/include/net/if_stf.h: Ditto.
6447 * libc/sys/linux/include/net/if_tap.h: Ditto.
6448 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
6449 * libc/sys/linux/include/net/if_tun.h: Ditto.
6450 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
6451 * libc/sys/linux/include/net/if_types.h: Ditto.
6452 * libc/sys/linux/include/net/if_var.h: Ditto.
6453 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
6454 * libc/sys/linux/include/net/intrq.h: Ditto.
6455 * libc/sys/linux/include/net/iso88025.h: Ditto.
6456 * libc/sys/linux/include/net/net_osdep.h: Ditto.
6457 * libc/sys/linux/include/net/netisr.h: Ditto.
6458 * libc/sys/linux/include/net/pfil.h: Ditto.
6459 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
6460 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
6461 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
6462 * libc/sys/linux/include/net/radix.h: Ditto.
6463 * libc/sys/linux/include/net/raw_cb.h: Ditto.
6464 * libc/sys/linux/include/net/route.h: Ditto.
6465 * libc/sys/linux/include/net/slcompress.h: Ditto.
6466 * libc/sys/linux/include/net/slip.h: Ditto.
6467 * libc/sys/linux/include/net/zlib.h: Ditto.
6468 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
6469 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
6470 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
6471 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
6472 * libc/sys/linux/include/netinet/igmp.h: Ditto.
6473 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
6474 * libc/sys/linux/include/netinet/in.h: Ditto.
6475 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
6476 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
6477 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
6478 * libc/sys/linux/include/netinet/in_var.h: Ditto.
6479 * libc/sys/linux/include/netinet/ip.h: Ditto.
6480 * libc/sys/linux/include/netinet/ip6.h: Ditto.
6481 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
6482 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
6483 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
6484 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
6485 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
6486 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
6487 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
6488 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
6489 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
6490 * libc/sys/linux/include/netinet/tcp.h: Ditto.
6491 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
6492 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
6493 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
6494 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
6495 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
6496 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
6497 * libc/sys/linux/include/netinet/udp.h: Ditto.
6498 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
6499 * libc/sys/linux/include/netinet6/ah.h: Ditto.
6500 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
6501 * libc/sys/linux/include/netinet6/esp.h: Ditto.
6502 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
6503 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
6504 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
6505 * libc/sys/linux/include/netinet6/in6.h: Ditto.
6506 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
6507 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
6508 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
6509 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
6510 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
6511 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
6512 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
6513 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
6514 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
6515 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
6516 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
6517 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
6518 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
6519 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
6520 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
6521 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
6522 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
6523 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
6524 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
6525 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
6526 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
6527 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
6528 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
6529 * libc/sys/linux/include/netns/idp.h: Ditto.
6530 * libc/sys/linux/include/netns/idp_var.h: Ditto.
6531 * libc/sys/linux/include/netns/ns.h: Ditto.
6532 * libc/sys/linux/include/netns/ns_error.h: Ditto.
6533 * libc/sys/linux/include/netns/ns_if.h: Ditto.
6534 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
6535 * libc/sys/linux/include/netns/sp.h: Ditto.
6536 * libc/sys/linux/include/netns/spidp.h: Ditto.
6537 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
6538 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
6539 * libc/sys/linux/include/netns/spp_var.h: Ditto.
6540 * libc/sys/linux/include/rpc/Makefile: Ditto.
6541 * libc/sys/linux/include/rpc/auth.h: Ditto.
6542 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
6543 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
6544 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
6545 * libc/sys/linux/include/rpc/clnt.h: Ditto.
6546 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
6547 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
6548 * libc/sys/linux/include/rpc/des.h: Ditto.
6549 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
6550 * libc/sys/linux/include/rpc/nettype.h: Ditto.
6551 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
6552 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
6553 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
6554 * libc/sys/linux/include/rpc/raw.h: Ditto.
6555 * libc/sys/linux/include/rpc/rpc.h: Ditto.
6556 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
6557 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
6558 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
6559 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
6560 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
6561 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
6562 * libc/sys/linux/include/rpc/svc.h: Ditto.
6563 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
6564 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
6565 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
6566 * libc/sys/linux/include/rpc/types.h: Ditto.
6567 * libc/sys/linux/include/rpc/xdr.h: Ditto.
6568 * libc/sys/linux/intl/Makefile.am: Ditto.
6569 * libc/sys/linux/intl/Makefile.in: Ditto.
6570 * libc/sys/linux/intl/bindtextdom.c: Ditto.
6571 * libc/sys/linux/intl/catgets.c: Ditto.
6572 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
6573 * libc/sys/linux/intl/config.h: Ditto.
6574 * libc/sys/linux/intl/dcgettext.c: Ditto.
6575 * libc/sys/linux/intl/dcigettext.c: Ditto.
6576 * libc/sys/linux/intl/dcngettext.c: Ditto.
6577 * libc/sys/linux/intl/dgettext.c: Ditto.
6578 * libc/sys/linux/intl/dngettext.c: Ditto.
6579 * libc/sys/linux/intl/explodename.c: Ditto.
6580 * libc/sys/linux/intl/finddomain.c: Ditto.
6581 * libc/sys/linux/intl/gettext.c: Ditto.
6582 * libc/sys/linux/intl/gettext.h: Ditto.
6583 * libc/sys/linux/intl/gettextP.h: Ditto.
6584 * libc/sys/linux/intl/hash-string.h: Ditto.
6585 * libc/sys/linux/intl/l10nflist.c: Ditto.
6586 * libc/sys/linux/intl/loadinfo.h: Ditto.
6587 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
6588 * libc/sys/linux/intl/locale.alias: Ditto.
6589 * libc/sys/linux/intl/localealias.c: Ditto.
6590 * libc/sys/linux/intl/ngettext.c: Ditto.
6591 * libc/sys/linux/intl/open_catalog.c: Ditto.
6592 * libc/sys/linux/intl/plural.c: Ditto.
6593 * libc/sys/linux/intl/plural.y: Ditto.
6594 * libc/sys/linux/intl/stpcpy.c: Ditto.
6595 * libc/sys/linux/intl/textdomain.c: Ditto.
6596 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
6597 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6598 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
6599 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
6600 * libc/sys/linux/linuxthreads/attr.c: Ditto.
6601 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
6602 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
6603 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
6604 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
6605 * libc/sys/linux/linuxthreads/config.h: Ditto.
6606 * libc/sys/linux/linuxthreads/configure: Ditto.
6607 * libc/sys/linux/linuxthreads/configure.in: Ditto.
6608 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
6609 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
6610 * libc/sys/linux/linuxthreads/events.c: Ditto.
6611 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
6612 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
6613 * libc/sys/linux/linuxthreads/internals.h: Ditto.
6614 * libc/sys/linux/linuxthreads/join.c: Ditto.
6615 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
6616 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
6617 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
6618 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
6619 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
6620 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
6621 * libc/sys/linux/linuxthreads/manager.c: Ditto.
6622 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
6623 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
6624 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
6625 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
6626 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
6627 * libc/sys/linux/linuxthreads/prio.c: Ditto.
6628 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
6629 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
6630 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
6631 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
6632 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
6633 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
6634 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
6635 * libc/sys/linux/linuxthreads/queue.h: Ditto.
6636 * libc/sys/linux/linuxthreads/reent.c: Ditto.
6637 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
6638 * libc/sys/linux/linuxthreads/restart.h: Ditto.
6639 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
6640 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
6641 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
6642 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
6643 * libc/sys/linux/linuxthreads/signals.c: Ditto.
6644 * libc/sys/linux/linuxthreads/specific.c: Ditto.
6645 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
6646 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
6647 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
6648 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
6649 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
6650 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
6651 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
6652 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
6653 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
6654 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
6655 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
6656 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
6657 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
6658 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
6659 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
6660 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
6661 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
6662 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
6663 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
6664 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
6665 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
6666 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
6667 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
6668 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
6669 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
6670 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
6671 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
6672 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
6673 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
6674 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
6675 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
6676 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
6677 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
6678 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
6679 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
6680 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
6681 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
6682 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
6683 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
6684 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
6685 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
6686 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6687 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6688 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6689 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6690 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6691 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6692 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6693 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6694 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6695 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6696 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6697 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6698 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6699 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6700 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6701 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6702 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6703 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6704 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6705 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6706 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6707 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6708 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6709 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6710 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6711 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6712 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6713 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6714 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6715 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6716 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6717 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6718 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6719 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6720 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6721 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6722 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6723 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6724 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6725 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6726 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6727 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6728 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6729 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6730 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6731 * libc/sys/linux/net/Makefile.am: Ditto.
6732 * libc/sys/linux/net/Makefile.in: Ditto.
6733 * libc/sys/linux/net/addr2ascii.3: Ditto.
6734 * libc/sys/linux/net/addr2ascii.c: Ditto.
6735 * libc/sys/linux/net/ascii2addr.c: Ditto.
6736 * libc/sys/linux/net/base64.c: Ditto.
6737 * libc/sys/linux/net/bindresvport.c: Ditto.
6738 * libc/sys/linux/net/byteorder.3: Ditto.
6739 * libc/sys/linux/net/ether_addr.c: Ditto.
6740 * libc/sys/linux/net/ethers.3: Ditto.
6741 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6742 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6743 * libc/sys/linux/net/gethostbydns.c: Ditto.
6744 * libc/sys/linux/net/gethostbyht.c: Ditto.
6745 * libc/sys/linux/net/gethostbyname.3: Ditto.
6746 * libc/sys/linux/net/gethostbynis.c: Ditto.
6747 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6748 * libc/sys/linux/net/getifaddrs.3: Ditto.
6749 * libc/sys/linux/net/getifaddrs.c: Ditto.
6750 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6751 * libc/sys/linux/net/getnameinfo.3: Ditto.
6752 * libc/sys/linux/net/getnameinfo.c: Ditto.
6753 * libc/sys/linux/net/getnetbydns.c: Ditto.
6754 * libc/sys/linux/net/getnetbyht.c: Ditto.
6755 * libc/sys/linux/net/getnetbynis.c: Ditto.
6756 * libc/sys/linux/net/getnetent.3: Ditto.
6757 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6758 * libc/sys/linux/net/getproto.c: Ditto.
6759 * libc/sys/linux/net/getprotoent.3: Ditto.
6760 * libc/sys/linux/net/getprotoent.c: Ditto.
6761 * libc/sys/linux/net/getprotoname.c: Ditto.
6762 * libc/sys/linux/net/getservbyname.c: Ditto.
6763 * libc/sys/linux/net/getservbyport.c: Ditto.
6764 * libc/sys/linux/net/getservent.3: Ditto.
6765 * libc/sys/linux/net/getservent.c: Ditto.
6766 * libc/sys/linux/net/herror.c: Ditto.
6767 * libc/sys/linux/net/hesiod.3: Ditto.
6768 * libc/sys/linux/net/hesiod.c: Ditto.
6769 * libc/sys/linux/net/if_indextoname.3: Ditto.
6770 * libc/sys/linux/net/ifname.c: Ditto.
6771 * libc/sys/linux/net/inet.3: Ditto.
6772 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6773 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6774 * libc/sys/linux/net/inet_addr.c: Ditto.
6775 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6776 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6777 * libc/sys/linux/net/inet_net.3: Ditto.
6778 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6779 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6780 * libc/sys/linux/net/inet_neta.c: Ditto.
6781 * libc/sys/linux/net/inet_netof.c: Ditto.
6782 * libc/sys/linux/net/inet_network.c: Ditto.
6783 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6784 * libc/sys/linux/net/inet_ntop.c: Ditto.
6785 * libc/sys/linux/net/inet_pton.c: Ditto.
6786 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6787 * libc/sys/linux/net/ip6opt.c: Ditto.
6788 * libc/sys/linux/net/iso_addr.3: Ditto.
6789 * libc/sys/linux/net/iso_addr.c: Ditto.
6790 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6791 * libc/sys/linux/net/linkaddr.3: Ditto.
6792 * libc/sys/linux/net/linkaddr.c: Ditto.
6793 * libc/sys/linux/net/map_v4v6.c: Ditto.
6794 * libc/sys/linux/net/name6.c: Ditto.
6795 * libc/sys/linux/net/namespace.h: Ditto.
6796 * libc/sys/linux/net/ns.3: Ditto.
6797 * libc/sys/linux/net/ns_addr.c: Ditto.
6798 * libc/sys/linux/net/ns_name.c: Ditto.
6799 * libc/sys/linux/net/ns_netint.c: Ditto.
6800 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6801 * libc/sys/linux/net/ns_parse.c: Ditto.
6802 * libc/sys/linux/net/ns_print.c: Ditto.
6803 * libc/sys/linux/net/ns_ttl.c: Ditto.
6804 * libc/sys/linux/net/nsap_addr.c: Ditto.
6805 * libc/sys/linux/net/nsdispatch.3: Ditto.
6806 * libc/sys/linux/net/nsdispatch.c: Ditto.
6807 * libc/sys/linux/net/nslexer.c: Ditto.
6808 * libc/sys/linux/net/nslexer.l: Ditto.
6809 * libc/sys/linux/net/nsparser.c: Ditto.
6810 * libc/sys/linux/net/nsparser.h: Ditto.
6811 * libc/sys/linux/net/nsparser.y: Ditto.
6812 * libc/sys/linux/net/rcmd.3: Ditto.
6813 * libc/sys/linux/net/rcmd.c: Ditto.
6814 * libc/sys/linux/net/rcmdsh.3: Ditto.
6815 * libc/sys/linux/net/rcmdsh.c: Ditto.
6816 * libc/sys/linux/net/recv.c: Ditto.
6817 * libc/sys/linux/net/res_comp.c: Ditto.
6818 * libc/sys/linux/net/res_config.h: Ditto.
6819 * libc/sys/linux/net/res_data.c: Ditto.
6820 * libc/sys/linux/net/res_debug.c: Ditto.
6821 * libc/sys/linux/net/res_init.c: Ditto.
6822 * libc/sys/linux/net/res_mkquery.c: Ditto.
6823 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6824 * libc/sys/linux/net/res_query.c: Ditto.
6825 * libc/sys/linux/net/res_send.c: Ditto.
6826 * libc/sys/linux/net/res_update.c: Ditto.
6827 * libc/sys/linux/net/resolver.3: Ditto.
6828 * libc/sys/linux/net/rthdr.c: Ditto.
6829 * libc/sys/linux/net/send.c: Ditto.
6830 * libc/sys/linux/net/un-namespace.h: Ditto.
6831 * libc/sys/linux/net/vars.c: Ditto.
6832 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6833 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6834 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6835 * libc/sys/linux/stdlib/cclass.h: Ditto.
6836 * libc/sys/linux/stdlib/cname.h: Ditto.
6837 * libc/sys/linux/stdlib/collate.c: Ditto.
6838 * libc/sys/linux/stdlib/collate.h: Ditto.
6839 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6840 * libc/sys/linux/stdlib/engine.c: Ditto.
6841 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6842 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6843 * libc/sys/linux/stdlib/glob.3: Ditto.
6844 * libc/sys/linux/stdlib/glob.c: Ditto.
6845 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6846 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6847 * libc/sys/linux/stdlib/regerror.c: Ditto.
6848 * libc/sys/linux/stdlib/regex.3: Ditto.
6849 * libc/sys/linux/stdlib/regex2.h: Ditto.
6850 * libc/sys/linux/stdlib/regexec.c: Ditto.
6851 * libc/sys/linux/stdlib/regfree.c: Ditto.
6852 * libc/sys/linux/stdlib/utils.h: Ditto.
6853 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6854 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6855 * libc/sys/linux/sys/dlfcn.h: Ditto.
6856 * libc/sys/linux/sys/elfclass.h: Ditto.
6857 * libc/sys/linux/sys/event.h: Ditto.
6858 * libc/sys/linux/sys/ioccom.h: Ditto.
6859 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6860 * libc/sys/linux/sys/link.h: Ditto.
6861 * libc/sys/linux/sys/lock.h: Ditto.
6862 * libc/sys/linux/sys/param.h: Ditto.
6863 * libc/sys/linux/sys/socket.h: Ditto.
6864 * libc/sys/linux/sys/sockio.h: Ditto.
6866 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6868 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6870 * newlib/libc/machine/h8300/memset.S: Likewise
6871 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6872 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6873 * newlib/lib/machine/h8300/setjmp.S: Likewise
6874 * newlib/lib/machine/h8300/strcmp.S: Likewise
6875 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6877 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6879 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6880 * libc/include/stdio.h: Ditto.
6881 * libc/include/sys/config.h: Ditto.
6882 * libc/stdio/mktemp.c: Ditto.
6884 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6886 * libc/locale/ldpart.c (__part_load_locale): Substitute
6887 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6888 * libc/search/hash.c (__hash_open): Ditto.
6890 * libc/stdio/fseek.c (fseek): Ditto.
6891 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6892 * libc/stdio/mktemp.c (_gettemp): Ditto.
6894 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6896 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6898 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6900 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6901 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6902 if __CYGWIN_USE_BIG_TYPES__ is set.
6903 * libc/search/hash.c (__hash_open): Ditto.
6905 * libc/stdio/fseek.c (fseek): Ditto.
6906 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6907 * libc/stdio/mktemp.c (_gettemp): Ditto.
6908 * libc/sys/cygwin/Makefile.am: Remove.
6909 * libc/sys/cygwin/Makefile.in: Remove.
6910 * libc/sys/cygwin/aclocal.m4: Remove.
6911 * libc/sys/cygwin/configure: Remove.
6912 * libc/sys/cygwin/configure.in: Remove.
6913 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6914 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6916 * libc/sys/cygwin/sys/param.h: Ditto.
6917 * libc/sys/cygwin/sys/utime.h: Ditto.
6918 * libc/sys/cygwin/sys/utmp.h: Ditto.
6920 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6922 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6924 2003-05-10 Christopher Faylor <cgf@redhat.com>
6926 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6929 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6931 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6932 Include cygwin/config.h instead.
6934 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6936 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6937 all code with #ifdef __SPE__ test.
6938 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6940 2003-04-15 Chris January <chris@atomice.net>
6942 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6945 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6947 * libc/machine/sh/memset.S: Avoid clobbering volatile
6948 objects following a tiny to-be-set array in the same quadword.
6950 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6952 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6953 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6954 * libc/string/Makefile.in: Regenerated.
6955 * libc/string/wcswidth.c: New file.
6956 * libc/string/wcwidth.c: New file.
6957 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6959 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6961 * libc/machine/sh/memset.S: Fix problem with alloco region
6962 exceeding destination region for length >= 88 bytes, start
6963 & 0x16 == 0, end & 0x1f == 18.
6965 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6967 * libc/string/wcscoll.c: Fix comment.
6969 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6971 * libc/include/wchar.h: Add definition for wcscoll.
6972 * libc/string/Makefile.am: Add wcscoll.c.
6973 * libc/string/Makefile.in: Regenerated.
6974 * libc/string/wcscoll.c: New file.
6975 * libc/string/wcstrings.tex: Add wcscoll.
6977 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6979 * libc/stdio/sscanf.c: Update flags description.
6980 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6982 (__svfscanf_r): Add 'hh' and 'll' handling.
6984 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6986 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6987 __d_position member to _off_t.
6989 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6991 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6992 count all characters used to create number against maximum width.
6993 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6995 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6997 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6999 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
7000 flag to support simulator only extensions.
7002 2003-03-17 Bob Cassels <bcassels@abinitio.com>
7004 * libc/string/wcschr.c: (wcschr): Look for character first,
7005 then for end of string, so you can do wcschr(x, '\0').
7007 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
7009 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
7010 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
7011 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
7012 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
7013 * libc/stdio/fseeko.c (fseeko): Ditto.
7014 * libc/stdio/ftello.c (ftello): Ditto.
7015 * libc/stdio/stdio.c (__swrite): Ditto.
7017 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
7018 * libc/stdio/fseek.c (fseek): Ditto.
7019 * libc/stdio/fsetpos.c (fsetpos): Ditto.
7020 * libc/stdio/ftell.c (ftell): Ditto.
7021 * libc/stdio/local.h: Declare __sseek using _off_t.
7023 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7025 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
7027 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7029 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
7032 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
7034 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
7036 * libc/include/sys/stat.h: Ditto.
7037 * libc/include/sys/unistd.h: Ditto.
7038 * libc/sys/cygwin/sys/dirent.h: Ditto.
7040 2003-03-07 Christopher Faylor <cgf@redhat.com>
7042 * libc/include/sys/unistd.h: Guard getopt.h call to force only
7043 declaration of getopt and avoid getopt_long declaration.
7044 * libc/sys/cygwin/include/unistd.h: Remove.
7046 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
7048 * configure.host: Define stdio64_dir for Cygwin.
7049 * libc/include/stdio.h: Change definition of fpos_t to fulfill
7050 Cygwin 64bit file access requirements.
7051 Drop definition of f*64() functions when compiled for Cygwin.
7052 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
7053 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
7054 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
7056 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
7058 * libc/include/sys/reent.h: Remove extraneous _sig_func
7061 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
7063 * libc/sys/h8300hms/Makefile.am: Add support for new files.
7064 * libc/sys/h8300hms/Makefile.in: Regenerated.
7065 * libc/sys/h8300hms/close.S: New file.
7066 * libc/sys/h8300hms/fstat.S: Ditto.
7067 * libc/sys/h8300hms/lseek.S: Ditto.
7068 * libc/sys/h8300hms/open.S: Ditto.
7069 * libc/sys/h8300hms/stat.S: Ditto.
7070 * libc/sys/h8300hms/read.S: New file to replace read.c.
7071 * libc/sys/h8300hms/read.c: Removed.
7072 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
7073 _lseek, _close, _stat, _fstat.
7074 * libc/sys/h8300hms/write.S: New file to replace write.c.
7075 * libc/sys/h8300hms/write.c: Removed.
7077 2003-02-20 Nick Clifton <nickc@redhat.com>
7079 * Add support for Cirrus Maverick ARM co-processor:
7081 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
7083 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
7084 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
7086 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
7088 * configure.host: set sys_dir, syscall_dir, and
7089 newlib_cflags for ep9312 host.
7091 * configure.host: Restore alpha sorting of entries in case
7094 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
7096 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
7098 2003-02-18 Christian Groessler <chris@groessler.org>
7100 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
7101 support z8001 segmented mode.
7103 2003-02-18 Earnie Boyd <earnie@users.sf.net>
7105 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
7108 2003-02-10 Christopher Faylor <cgf@redhat.com>
7110 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
7111 Don't define some types under cygwin.
7113 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
7115 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
7116 option to allow disabling of syscalls being supplied in newlib.
7117 * aclocal.m4: Regenerated.
7119 * configure.host: Add support of new configuration option and add
7120 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
7121 * doc/aclocal.m4: Regenerated.
7122 * doc/configure: Ditto.
7123 * libc/*aclocal.m4: Ditto.
7124 * libc/*configure: Ditto.
7125 * libm/*aclocal.m4: Ditto.
7126 * libm/*configure: Ditto.
7127 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
7129 * libc/sys/arm/Makefile.in: Regenerated.
7131 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
7133 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
7134 -1 to be sure it cannot later match a valid file fd causing
7135 isatty() to return 1.
7136 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
7137 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
7138 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
7140 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
7142 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
7143 buffer based on the precision, after we have processed the input value
7144 in a local buffer and know its relative magnitude.
7146 2003-01-31 Michael Snyder <msnyder@redhat.com>
7148 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
7149 into registers r1 and r2, so that the simulator can distinguish
7150 this trap from a breakpoint trap. Copied from libgloss.
7152 2003-01-31 Michael Snyder <msnyder@redhat.com>
7154 * libc/sys/h8300hms/crt0.S (_start): Change local label
7155 from .loop to .Loop, so that ld and gdb will ignore it.
7157 2003-01-29 Jason Tishler <jason@tishler.net>
7159 * libc/include/time.h: Declare nanosleep() under Cygwin.
7161 2003-01-24 Nick Clifton <nickc@redhat.com>
7165 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
7167 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
7168 * libc/machine/sh/setjmp.S: Likewise.
7169 * libc/include/machine/ieeefp.h: Likewise.
7171 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
7173 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
7176 2003-01-21 Anita Kulkarni <anitak@kpit.com>
7178 * libc/time/difftime.c : Typecast the result to double.
7180 2003-01-20 Christopher Faylor <cgf@redhat.com>
7182 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
7184 2003-01-18 Nick Clifton <nickc@redhat.com>
7186 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
7187 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
7189 2003-01-16 Joel Sherrill <joel@OARcorp.com>
7191 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
7192 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
7193 constants are defined in each file in the shared versions in
7195 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
7196 autoconf can link programs.
7197 * libc/include/machine/types.h: Explicitly specify signed on
7198 intXX_t types to ensure they are signed.
7200 2003-01-14 Christopher Faylor <cgf@redhat.com>
7202 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
7205 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
7207 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
7209 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
7211 * libc/stdio/sprintf.c: fix typo
7212 * libc/stdio/vfprintf.c: fix typo
7214 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
7216 * configure.host: Support long double I/O for x86-linux.
7217 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
7218 large enough to hold formatted result.
7219 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
7221 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7223 * Makefile.am: Add vasprintf.
7224 * Makefile.in: Regenerated.
7226 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
7228 * asprintf.c (_asprintf_r): insure both declarations
7231 2002-12-28 Christopher Faylor <cgf@redhat.com>
7233 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
7234 than defining getopt directly.
7236 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7238 * NEWS: Update with 1.11.0 info.
7240 * acinclude.m4: Change version number to 1.11.0.
7241 * aclocal.m4: Regenerated.
7243 * doc/aclocal.m4: Ditto.
7244 * doc/configure: Ditto.
7245 * libc/*/aclocal.m4: Ditto.
7246 * libc/*/configure: Ditto.
7247 * libc/libc.texinfo: Ditto.
7248 * libm/*/aclocal.m4: Ditto.
7249 * libm/*/configure: Ditto.
7250 * libm/libm.texinfo: Ditto.
7251 * libc/sys/linux/shared.ld: Add VERS_1.11.
7253 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7255 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
7256 Solutions to Red Hat Inc.
7257 * libc/machine/i386/f_atan2f.S: Ditto.
7258 * libc/machine/i386/f_exp.c: Ditto.
7259 * libc/machine/i386/f_expf.c: Ditto.
7260 * libc/machine/i386/f_frexp.S: Ditto.
7261 * libc/machine/i386/f_frexpf.S: Ditto.
7262 * libc/machine/i386/f_ldexp.S: Ditto.
7263 * libc/machine/i386/f_ldexpf.S: Ditto.
7264 * libc/machine/i386/f_log.S: Ditto.
7265 * libc/machine/i386/f_log10.S: Ditto.
7266 * libc/machine/i386/f_log10f.S: Ditto.
7267 * libc/machine/i386/f_logf.S: Ditto.
7268 * libc/machine/i386/f_pow.c: Ditto.
7269 * libc/machine/i386/f_powf.c: Ditto.
7270 * libc/machine/i386/f_tan.S: Ditto.
7271 * libc/machine/i386/f_tanf.S: Ditto.
7272 * libc/machine/i386/memchr.S: Ditto.
7273 * libc/machine/i386/memcmp.S: Ditto.
7274 * libc/machine/i386/memcpy.S: Ditto.
7275 * libc/machine/i386/memmove.S: Ditto.
7276 * libc/machine/i386/memset.S: Ditto.
7277 * libc/machine/i386/strchr.S: Ditto.
7278 * libc/machine/i386/strlen.S: Ditto.
7279 * libm/machine/i386/f_atan2.S: Ditto.
7280 * libm/machine/i386/f_atan2f.S: Ditto.
7281 * libm/machine/i386/f_exp.c: Ditto.
7282 * libm/machine/i386/f_expf.c: Ditto.
7283 * libm/machine/i386/f_frexp.S: Ditto.
7284 * libm/machine/i386/f_frexpf.S: Ditto.
7285 * libm/machine/i386/f_ldexp.S: Ditto.
7286 * libm/machine/i386/f_ldexpf.S: Ditto.
7287 * libm/machine/i386/f_log.S: Ditto.
7288 * libm/machine/i386/f_log10.S: Ditto.
7289 * libm/machine/i386/f_log10f.S: Ditto.
7290 * libm/machine/i386/f_logf.S: Ditto.
7291 * libm/machine/i386/f_pow.c: Ditto.
7292 * libm/machine/i386/f_powf.c: Ditto.
7293 * libm/machine/i386/f_tan.S: Ditto.
7294 * libm/machine/i386/f_tanf.S: Ditto.
7296 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
7298 * libc/stdlib/environ.c: Update license to Red Hat.
7299 * libc/machine/hppa/setjmp.S: Ditto.
7300 * libm/test/Makefile.in: Ditto.
7302 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
7304 * configure.host: Remove references to go32.
7305 * libc/sys/go32/*: Removed.
7307 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
7309 * libc/include/sys/config.h: Change setting of INT_MAX
7310 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
7311 __H8300S__. Also consolidate flag settings for these
7314 2002-12-10 Joel Sherrill <joel@OARcorp.com>
7316 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
7317 for i386-rtems targets.
7319 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
7321 * libc/include/stdlib.h (strtof): New prototype (from C99).
7322 (strtodf): Changed from prototype to macro which redefines
7324 * libc/stdlib/atof.c: Change documentation to refer to strtof
7326 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
7328 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
7329 (strtof): New function.
7330 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
7333 2002-11-27 Christopher Faylor <cgf@redhat.com>
7335 * libc/string/memset.c (memset): Fix comment.
7337 2002-11-26 Christopher Faylor <cgf@redhat.com>
7339 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
7342 2002-11-25 Christopher Faylor <cgf@redhat.com>
7344 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
7345 variable, introduced below, everywhere.
7347 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
7349 * libc/string/memset.c (memset): Make it safe even if
7352 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
7354 * configure.in: Change check for libc/include in ${CC} to
7355 use an intermediate value so as to work with different shells.
7356 * configure: Regenerated.
7357 * Makefile.in: Ditto.
7359 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
7361 * libc/sys/h8300hms/read.c: Add support for normal mode
7364 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
7366 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
7367 code for __H8300H__ and __H8300S__. Also return 32-bit return code
7368 when -mint32 is used.
7370 2002-11-18 Nick Clifton <nickc@redhat.com>
7372 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
7374 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
7376 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
7377 only issue one pass/fail message for a compile/link/execute.
7378 * testsuite/newlib.elix/elix.exp: New file.
7379 * testsuite/newlib.elix/tmmap.c: Ditto.
7381 2002-11-06 Christopher Faylor <cgf@redhat.com>
7383 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
7384 * libc/stdlib/mlock.c: Ditto.
7385 * libc/stdlib/msize.c: Ditto.
7386 * libc/stdlib/msize.c: Ditto.
7387 * libc/stdlib/mtrim.c: Ditto.
7388 * libc/stdlib/valloc.c: Ditto.
7390 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
7392 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
7393 for inf/nan, make sure that the check ignores the sign bit.
7395 2002-11-07 Joel Sherrill <joel@OARcorp.com>
7397 * libc/sys/rtems/machine: New directory.
7398 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
7399 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
7400 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
7401 targets more BSD like when installed without requiring files to
7402 be overwritten at install point when RTEMS itself is installed.
7403 * Makefile.am: Pick up system dependent machine .h files such as
7404 might be found on a BSD-ish system.
7405 * Makefile.in: Regenerate.
7406 * libc/include/machine/types.h: When on an RTEMS target, define a
7407 few BSD flavor types.
7409 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
7411 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
7413 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7415 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
7416 * libc/include/wctype.h: Ditto.
7418 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
7420 * libc/include/wchar.h: Add extern "C" specifier if C++.
7421 * libc/include/wctype.h: Ditto.
7423 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7425 * testsuite/newlib.wctype/tiswctype.c: New test case.
7426 * testsuite/newlib.wctype/twctrans.c: Ditto.
7428 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7430 * libc/sys/linux/machine/i386/include/endian.h: New file.
7431 * libc/sys/linux/machine/i386/include/param.h: Ditto.
7433 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7435 * libm/machine/i386/aclocal.m4: Regenerated.
7436 * libm/machine/i386/configure: Ditto.
7438 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
7440 * testsuite/include/check.h: New header file to use with
7442 * testsuite/lib/newlib.exp: Add testsuite/include directory
7443 to list of header files to use.
7444 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
7445 * testsuite/newlib.wctype/wctype.exp: New file.
7447 2002-10-11 Graham Stott <graham.stott@btinternet.com>
7448 Richard Sandiford <rsandifo@redhat.com>
7450 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
7451 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
7452 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
7454 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7456 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
7459 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7461 * libc/include/pthread.h: Define PTHREAD_CANCELED.
7463 2002-10-07 Joel Sherrill <joel@OARcorp.com>
7465 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
7466 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
7467 compile with current GNU tools.
7469 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
7471 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
7473 * configure.in: Ditto.
7474 * Makefile.in: Regenerated.
7476 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
7477 for specifying configured libraries/directories.
7478 * libc/sys/linux/configure.in: Ditto.
7479 * libc/sys/linux/Makefile.in: Regenerated.
7480 * libc/sys/linux/configure: Ditto.
7482 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
7484 * libc/include/reent.h: Update documentation at start of file.
7486 2002-09-27 Jim Wilson <wilson@redhat.com>
7488 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
7491 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
7493 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
7494 Also convert to EUCJP before using arrays. For values not in
7495 the conversion arrays, return WEOF.
7496 * libc/ctype/jp2uc.h: Change from one array to a number of
7497 arrays to account for the fact that the originating table
7498 is not contiguous for the input values since some are invalid.
7500 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
7502 * libc/time/ctime.c: Fix prototype documentation.
7504 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
7506 * libc/include/sys/errno.h: Add EOVERFLOW.
7508 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7510 * libc/include/wctype.h: New file.
7512 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7514 * libc/ctype/Makefile.am: Add new files.
7515 * libc/ctype/Makefile.in: Regenerated.
7516 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
7517 and wctrans functions to documentation index.
7518 * libc/ctype/iswalnum.c: New file.
7519 * libc/ctype/iswalpha.c: Ditto.
7520 * libc/ctype/iswblank.c: Ditto.
7521 * libc/ctype/iswcntrl.c: Ditto.
7522 * libc/ctype/iswctype.c: Ditto.
7523 * libc/ctype/iswdigit.c: Ditto.
7524 * libc/ctype/iswgraph.c: Ditto.
7525 * libc/ctype/iswlower.c: Ditto.
7526 * libc/ctype/iswprint.c: Ditto.
7527 * libc/ctype/iswpunct.c: Ditto.
7528 * libc/ctype/iswspace.c: Ditto.
7529 * libc/ctype/iswupper.c: Ditto.
7530 * libc/ctype/iswxdigit.c: Ditto.
7531 * libc/ctype/jp2uc.c: Ditto.
7532 * libc/ctype/jp2uc.h: Ditto.
7533 * libc/ctype/local.h: Ditto.
7534 * libc/ctype/towctrans.c: Ditto.
7535 * libc/ctype/towlower.c: Ditto.
7536 * libc/ctype/towupper.c: Ditto.
7537 * libc/ctype/utf8alpha.h: Ditto.
7538 * libc/ctype/utf8print.h: Ditto.
7539 * libc/ctype/utf8punct.h: Ditto.
7540 * libc/ctype/wctrans.c: Ditto.
7541 * libc/ctype/wctype.c: Ditto.
7542 * libc/locale/locale.c (__lc_ctype): New external array to
7543 replace static lc_ctype array.
7544 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
7545 rather than reentrancy structure's _current_locale field.
7546 * libc/stdlib/wctomb_r.c: Ditto.
7548 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
7550 * configure.host: Minor comment and formatting changes.
7551 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
7552 * libc/Makefile.in: Regenerated.
7553 * libc/include/sys/config.h: Minor format change.
7555 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7557 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
7560 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
7562 * libc/posix/opendir.c (opendir): Change code to check
7563 for HAVE_FCNTL before calling fcntl.
7564 * libc/search/hash.c (hash_open): Ditto.
7565 * libc/search/hash_page.c (open_tmp): Ditto.
7566 * libc/reent/Makefile.am: Add fcntlr.c.
7567 * libc/reent/Makefile.in: Regenerated.
7568 * libc/reent/fcntlr.c: New file.
7569 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
7570 instead of _fcntl when HAVE_FCNTL flag is set.
7571 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
7572 to see if _fcntl or _fcntl_r should be called. If flag is not
7573 set, default to ENOSYS stub.
7575 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
7577 * libc/include/wchar.h (mbstate_t): Change protective flag to
7579 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
7580 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
7582 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
7584 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
7586 * acinclude.m4 (enable-newlib-mb): Change check to
7587 default newlib_mb variable to empty string rather than "no".
7588 * configure.host: Remove hard-coding of -DMB_CAPABLE for
7589 x86-linux and Cygwin. Add code to check for newlib_mb
7590 being unset in which case set to "yes" for x86-linux and
7591 Cygwin. Change check for newlib_mb being "yes" to allow
7592 for an empty string.
7593 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
7594 * newlib.hin (_MB_LEN_MAX): New define to configure.
7595 * aclocal.m4: Regenerated.
7597 * libc/include/limits.h: New file.
7598 * libc/sys/linux/include/limits.h: Ditto.
7599 * doc/aclocal.m4 doc/configure libc/aclocal.m4
7600 libc/configure libc/machine/aclocal.m4
7601 libc/machine/configure libc/machine/a29k/aclocal.m4
7602 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
7603 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
7604 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
7605 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
7606 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
7607 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
7608 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
7609 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
7610 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
7611 libc/machine/i386/configure libc/machine/i960/aclocal.m4
7612 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
7613 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
7614 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
7615 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
7616 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
7617 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
7618 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
7619 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
7620 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
7621 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
7622 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
7623 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
7624 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
7625 libc/machine/v850/configure libc/machine/w65/aclocal.m4
7626 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
7627 libc/machine/xscale/configure
7628 libc/machine/xstormy16/aclocal.m4
7629 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
7630 libc/machine/z8k/configure libc/sys/aclocal.m4
7631 libc/sys/configure libc/sys/a29khif/aclocal.m4
7632 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
7633 libc/sys/arc/configure libc/sys/arm/aclocal.m4
7634 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
7635 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
7636 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
7637 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
7638 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
7639 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
7640 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
7641 libc/sys/idt/configure libc/sys/linux/aclocal.m4
7642 libc/sys/linux/configure
7643 libc/sys/linux/machine/aclocal.m4
7644 libc/sys/linux/machine/configure
7645 libc/sys/linux/machine/i386/aclocal.m4
7646 libc/sys/linux/machine/i386/configure
7647 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
7648 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
7649 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
7650 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
7651 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
7652 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
7653 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
7654 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
7655 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
7656 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
7657 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
7658 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
7659 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
7660 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
7661 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
7662 libm/aclocal.m4 libm/configure: Regenerated.
7664 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7666 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
7667 code that clears the .bss section.
7669 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
7671 * libc/include/sys/_types.h (_mbstate_t): Changed to use
7672 unsigned char internally.
7673 * libc/sys/linux/sys/_types.h: Ditto.
7674 * libc/include/sys/reent.h
7675 * libc/stdlib/mblen.c (mblen): Use function-specific state
7676 value from default reentrancy structure.
7677 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
7678 _mbtowc_r is less than 0, reset state __count value and
7680 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
7681 is NULL, use the function-specific pointer provided in the
7682 default reentrancy structure.
7683 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
7684 If input state pointer is NULL, use function-specific area
7685 provided in reentrancy structure.
7686 * libc/stdlib/mbsrtowcs.c: Ditto.
7687 * libc/stdlib/wcrtomb.c: Ditto.
7688 * libc/stdlib/wcsrtombs.c: Ditto.
7689 * libc/stdlib/mbstowcs.c: Reformat.
7690 * libc/stdlib/wcstombs.c: Ditto.
7691 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7692 reset the state's __count value and return -1.
7693 * libc/stdlib/mbtowc.c: Ditto.
7694 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7695 If number of bytes is used up before completing a valid multibyte
7696 character, return -2 and save the state.
7697 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7698 and change some __count references to __state for clarity.
7700 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7702 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7703 is defined by <limits.h>.
7705 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7707 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7710 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7712 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7713 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7714 __WCHAR_MAX__ or 0x7fffffffu.
7715 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7716 * libc/string/wcsncmp.c: Ditto.
7718 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7720 * libc/string/wcschr.c: Add include of <stddef.h>.
7721 * libc/string/wcspbrk.c: Ditto.
7722 * libc/string/wcsrchr.c: Ditto.
7723 * libc/string/wcsstr.c: Ditto.
7725 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7727 * libc/include/sys/_types.h (_flock_t): Added.
7728 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7729 (__lock_try_acquire_recursive): Ditto.
7730 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7732 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7734 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7735 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7736 * libc/sys/linux/include/time.h (struct timespec): Moved from
7737 <sys/types.h> and added check for __need_timespec flag so type
7738 can be defined by itself.
7739 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7740 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7743 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7745 * libc/sys/linux/argp: New directory.
7746 * libc/sys/linux/getopt.c: New file.
7747 * libc/sys/linux/getopt1.c: New file.
7748 * libc/sys/linux/getoptlong.c: Remove file.
7749 * libc/sys/linux/include/argp.h: New file.
7750 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7751 based on ELIX level.
7752 (SUBDIRS): Add argp_dir.
7753 (SUBLIBS): Add ARGP_LIB.
7754 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7755 getopt_long.$(oext).
7756 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7758 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7760 * libc/libc.texinfo: Add node reference to wide-character strings.
7761 * libc/string/wcstrings.tex: New file.
7762 * libc/string/strtok_r.c: Remove outdated advertising clause.
7763 * libc/string/Makefile.am (doc): Add wide-character string
7764 chapter to documentation.
7765 * libc/string/Makefile.in: Regenerated.
7767 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7769 * libc/include/wchar.h: Define NULL. Define WEOF more general
7770 way. Declare functions in newlib manner.
7771 * libc/stdlib/Makefile.am: Delete wmem*.c
7772 * libc/stdlib/Makefile.in: Regenerated.
7773 * libc/stdlib/wmemchr.c: Delete.
7774 * libc/stdlib/wmemcmp.c: Ditto.
7775 * libc/stdlib/wmemcpy.c: Ditto.
7776 * libc/stdlib/wmemmove.c: Ditto.
7777 * libc/stdlib/wmemset.c: Ditto.
7778 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7779 * libc/string/Makefile.in: Regenerated.
7780 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7781 * libc/string/wcschr.c: Ditto.
7782 * libc/string/wcscmp.c: Ditto.
7783 * libc/string/wcscpy.c: Ditto.
7784 * libc/string/wcscspn.c: Ditto.
7785 * libc/string/wcslcat.c: Ditto.
7786 * libc/string/wcslcpy.c: Ditto.
7787 * libc/string/wcslen.c: Ditto.
7788 * libc/string/wcsncat.c: Ditto.
7789 * libc/string/wcsncmp.c: Ditto.
7790 * libc/string/wcsncpy.c: Ditto.
7791 * libc/string/wcspbrk.c: Ditto.
7792 * libc/string/wcsrchr.c: Ditto.
7793 * libc/string/wcsspn.c: Ditto.
7794 * libc/string/wcsstr.c: Ditto.
7795 * libc/string/wmemchr.c: Ditto.
7796 * libc/string/wmemcmp.c: Ditto.
7797 * libc/string/wmemcpy.c: Ditto.
7798 * libc/string/wmemmove.c: Ditto.
7799 * libc/string/wmemset.c: Ditto.
7801 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7803 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7804 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7805 and is treated as if "C" was specified.
7807 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7809 * Makefile.am (install-data-local): Move install of build
7810 newlib.h after installing headers in libc/include so as to
7811 overwrite default newlib.h.
7812 * Makefile.in: Regenerated.
7814 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7816 * libc/include/newlib.h: New file for tools that use newlib
7817 headers but don't build newlib first (e.g. gcc).
7819 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7821 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7822 * libc/stdlib/wmemcmp.c: Ditto.
7823 * libc/stdlib/wmemcpy.c: Ditto.
7824 * libc/stdlib/wmemmove.c: Ditto.
7825 * libc/stdlib/wmemset.c: Ditto.
7827 2002-08-27 Egor Duda <deo@logos-m.ru>
7829 * libc/stdlib/wmemchr.c: New file.
7830 * libc/stdlib/wmemcmp.c: Ditto.
7831 * libc/stdlib/wmemcpy.c: Ditto.
7832 * libc/stdlib/wmemmove.c: Ditto.
7833 * libc/stdlib/wmemset.c: Ditto.
7834 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7835 * configure.host: Default -DMB_CAPABLE for cygwin.
7836 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7837 wmemmove() and wmemset(). Add include of <_ansi.h>.
7838 * libc/stdlib/Makefile.in: Regenerate.
7840 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7842 * configure.host: Remove _ELIX_LEVEL flag setting.
7843 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7844 (install-data-local): Install newlib.h.
7845 * Makefile.in: Regenerated.
7846 * aclocal.m4: Ditto.
7848 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7849 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7850 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7851 In AC_OUTPUT statement, unset ac_file so multilib support does
7852 not use last ac_file temporary used in newlib.h configuration.
7853 * libc/include/_ansi.h: Include <newlib.h>.
7854 * newlib.hin: New template file for newlib.h.
7855 * stamp-h.in: New file.
7857 2002-08-26 Wu Yongwei <adah@netstd.com>
7859 * time.h (timezonevar): Change "#if" to "#ifdef".
7861 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7863 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7864 * Makefile.in: Regenerated.
7865 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7866 * aclocal.m4: Regenerated.
7868 * configure.host: Add code to define _ELIX_LEVEL if
7869 --enable-newlib-elix-level option is used.
7871 * libc/aclocal.m4: Regenerated.
7872 * libc/configure: Ditto.
7873 * libc/argz/Makefile.am: Add EL/IX level checking.
7874 * libc/argz/Makefile.in: Regenerated.
7875 * libc/argz/dummy.c: New file.
7876 * libc/ctype/Makefile.am: Add EL/IX level checking.
7877 * libc/ctype/Makefile.in: Regenerated.
7878 * libc/locale/Makefile.am: Add EL/IX level checking.
7879 * libc/locale/Makefile.in: Regenerated.
7880 * libc/posix/Makefile.am: Add EL/IX level checking.
7881 * libc/posix/Makefile.in: Regenerated.
7882 * libc/posix/telldir.c: Add EL/IX level checking.
7883 * libc/reent/Makefile.am: Ditto.
7884 * libc/reent/fstat64r.c: Ditto.
7885 * libc/reent/lseek64r.c: Ditto.
7886 * libc/reent/open64r.c: Ditto.
7887 * libc/reent/Makefile.in: Regenerated.
7888 * libc/search/Makefile.am: Add EL/IX level checking.
7889 * libc/search/Makefile.in: Regenerated.
7890 * libc/stdio/Makefile.am: Add EL/IX level checking.
7891 * libc/stdio/Makefile.in: Regenerated.
7892 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7893 * libc/stdio64/Makefile.in: Regenerated.
7894 * libc/stdio64/dummy.c: New file.
7895 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7896 after first include.
7897 * libc/stdio64/fopen64.c: Ditto.
7898 * libc/stdio64/freopen64.c: Ditto.
7899 * libc/stdio64/fseeko64.c: Ditto.
7900 * libc/stdio64/fsetpos64.c: Ditto.
7901 * libc/stdio64/ftello64.c: Ditto.
7902 * libc/stdio64/tmpfile64.c: Ditto.
7903 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7904 * libc/stdlib/Makefile.in: Regenerated.
7905 * libc/stdlib/mstats.c: Add EL/IX level checking.
7906 * libc/string/Makefile.am: Ditto.
7907 * libc/string/Makefile.in: Regenerated.
7908 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7909 * libc/sys/linux/Makefile.in: Regenerated.
7910 * libc/sys/linux/aclocal.m4: Ditto.
7911 * libc/sys/linux/configure: Ditto.
7912 * libc/sys/linux/aio.c: Add EL/IX level checking.
7913 * libc/sys/linux/ftok.c: Ditto.
7914 * libc/sys/linux/getdate.c: Ditto.
7915 * libc/sys/linux/ids.c: Ditto.
7916 * libc/sys/linux/inode.c: Ditto.
7917 * libc/sys/linux/io.c: Ditto.
7918 * libc/sys/linux/process.c: Ditto.
7919 * libc/sys/linux/resource.c: Ditto.
7920 * libc/sys/linux/sched.c: Ditto.
7921 * libc/sys/linux/sig.c: Ditto.
7922 * libc/sys/linux/termios.c: Ditto.
7923 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7924 __libc___waitpid weak aliases.
7925 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7926 that generate the code for a syscall, but do not create a
7928 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7929 * libc/syscalls/Makefile.in: Regenerated.
7930 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7932 * libc/unix/Makefile.am: Add EL/IX level checking.
7933 * libc/unix/Makefile.in: Regenerated.
7935 2002-08-26 Christopher Faylor <cgf@redhat.com>
7937 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7938 wrapper macros to standard malloc functions.
7939 * libc/include/stdlib.h: Ditto.
7940 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7942 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7944 * libc/include/langinfo.h: New file.
7945 * libc/include/wchar.h: Likewise.
7946 * libc/include/sys/syslimits.h: Likewise.
7947 * libc/locale/fix_grouping.c: Likewise.
7948 * libc/locale/ldpart.c: Likewise.
7949 * libc/locale/ldpart.h: Likewise.
7950 * libc/locale/lmessages.c: Likewise.
7951 * libc/locale/lmessages.h: Likewise.
7952 * libc/locale/lmonetary.c: Likewise.
7953 * libc/locale/lmonetary.h: Likewise.
7954 * libc/locale/lnumeric.c: Likewise.
7955 * libc/locale/lnumeric.h: Likewise.
7956 * libc/locale/nl_langinfo.3: Likewise.
7957 * libc/locale/nl_langinfo.c: Likewise.
7958 * libc/locale/timelocal.c: Likewise.
7959 * libc/locale/timelocal.h: Likewise.
7960 * libc/stdlib/btowc.c: Likewise.
7961 * libc/stdlib/mbrlen.c: Likewise.
7962 * libc/stdlib/mbrtowc.c: Likewise.
7963 * libc/stdlib/mbsinit.c: Likewise.
7964 * libc/stdlib/mbsrtowcs.c: Likewise.
7965 * libc/stdlib/wcrtomb.c: Likewise.
7966 * libc/stdlib/wcsrtombs.c: Likewise.
7967 * libc/stdlib/wctob.c: Likewise.
7968 * libc/sys/linux/prof-freq.c: Likewise.
7969 * libc/sys/linux/profile.c: Likewise.
7970 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7971 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7972 * libc/include/stdlib.h: Change re-entrant functions to take
7974 * libc/include/sys/_types.h: Define _mbstate_t.
7975 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7976 * libc/include/sys/errno.h (EILSEQ): New error code.
7977 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7978 structure to use mbstate_t.
7979 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7980 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7981 * libc/machine/powerpc/vfscanf.c: Likewise.
7982 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7983 * libc/stdio/vfprintf.c: Likewise.
7984 * libc/stdio/vfscanf.c: Likewise.
7985 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7986 * libc/stdlib/mblen.c: Use mbstate_t.
7987 * libc/stdlib/mblen_r.c: Likewise.
7988 * libc/stdlib/mbstowcs.c: Likewise.
7989 * libc/stdlib/mbstowcs_r.c: Likewise.
7990 * libc/stdlib/mbtowc.c: Likewise.
7991 * libc/stdlib/mbtowc_r.c: Likewise.
7992 * libc/stdlib/wcstombs.c: Likewise.
7993 * libc/stdlib/wcstombs_r.c: Likewise.
7994 * libc/stdlib/wctomb_r.c: Likewise.
7995 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7997 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7999 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
8000 * libc/sys/linux/sys/types.h (off_t): Define type.
8001 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
8003 * testsuite/newlib.locale/UTF-8.exp: Likewise.
8005 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
8007 * libc/stdlib/mallocr.c: #include windows.h on Win32.
8008 (AlignPage): Continue macro on next line.
8010 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8012 * libc/sys/linux/include/pthread.h: New file.
8014 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
8016 * libc/include/sys/types.h: Support __need_inttypes macro
8017 that only sets the __intxx and __uintxx types.
8018 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
8020 * libc/machine/powerpc/Makefile.in: Regenerated.
8021 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
8022 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
8023 redundant fixed-point conversion prototypes.
8024 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
8025 after setting __need_inttypes.
8027 2002-08-18 Christopher Faylor <cgf@redhat.com>
8029 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
8031 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8033 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
8034 _LONG_DOUBLE to double.
8036 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8038 * configure.host: Add powerpc*-*-eabispe* configuration.
8039 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
8040 * libc/machine/powerpc/atosfix32.c: Ditto.
8041 * libc/machine/powerpc/atosfix64.c: Ditto.
8042 * libc/machine/powerpc/atoufix16.c: Ditto.
8043 * libc/machine/powerpc/atoufix32.c: Ditto.
8044 * libc/machine/powerpc/atoufix64.c: Ditto.
8045 * libc/machine/powerpc/fix64.h: Ditto.
8046 * libc/machine/powerpc/simdldtoa.c: Ditto.
8047 * libc/machine/powerpc/strtosfix16.c: Ditto.
8048 * libc/machine/powerpc/strtosfix32.c: Ditto.
8049 * libc/machine/powerpc/strtosfix64.c: Ditto.
8050 * libc/machine/powerpc/strtoufix16.c: Ditto.
8051 * libc/machine/powerpc/strtoufix32.c: Ditto.
8052 * libc/machine/powerpc/strtoufix64.c: Ditto.
8053 * libc/machine/powerpc/ufix64toa.c: Ditto.
8054 * libc/machine/powerpc/configure.in: Add check for
8055 powerpc*-eabispe and add fixed-point conversion functions.
8056 * libc/machine/powerpc/configure: Regenerated.
8057 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
8058 %r and %R format specifiers which handle fixed-point data.
8059 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
8060 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
8061 function prototypes.
8063 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
8065 * Makefile.am: Move cmath stuff into libc/sys/linux.
8066 * Makefile.in: Regenerated.
8067 * configure.host: Default -DMB_CAPABLE for x86-linux.
8068 * libc/include/reent.h: Define _sbrk to take signed int argument.
8069 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
8070 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
8071 make locale name checking more efficient. Also allow "C-ISO-8859-1"
8072 locale for LC_CTYPE and LC_MESSAGES.
8073 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
8074 * libc/sys/linux/brk.c: Change sbrk prototype.
8075 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
8076 include <sys/features.h>.
8077 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
8078 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
8079 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
8080 with a few local additions.
8081 * libc/sys/linux/sys/features.h: New file.
8082 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
8083 to take signed argument.
8084 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
8085 prototypes to take signed size argument.
8087 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
8089 * libc/sys/linux/cmath: New directory.
8090 * libc/sys/linux/include/cmathcalls.h: New file.
8091 * libc/sys/linux/include/complex.h: New file.
8092 * libc/sys/linux/machine/i386/huge_val.h: New file
8093 * libm/math/w_sincos.c: New file
8094 * libm/math/wf_sincos.c: New file
8095 * libm/mathfp/s_sincos.c: New file
8096 * libm/mathfp/sf_sincos.c: New file
8097 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
8098 * libc/include/math.h: Add sincos and sincosf declarations.
8099 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
8100 (SUBLIBS): Likewise.
8101 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
8102 * libm/math/Makefile.am (src): Add w_sincos.c.
8103 (fsrc): Add wf_sincos.c.
8104 * libm/mathfp/Makefile.am (src): Add s_sincos.c
8105 (fsrc): Add sf_sincos.c.
8107 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
8109 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
8110 Declare as extern chars and use the address operator to
8111 properly use values set in linker script.
8113 2002-08-09 Jason Tishler <jason@tishler.net>
8115 * libc/stdlib/mallocr.c: Include <limits.h>.
8116 (request2size): Change macro to do
8117 unsigned long comparisons and avoid signed overflow.
8118 (mALLOc): Add overflow check for the number of bytes to allocate.
8121 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
8123 * configure.host: Add check for --enable-newlib-io-pos-args
8124 and define WANT_IO_POS_ARGS flag if enabled. Define
8125 the flag by default for x86-linux configurations.
8126 * configure.in: Add support for --enable-newlib-io-pos-args.
8127 * libc/configure.in: Ditto.
8128 * configure: Regenerated.
8129 * libc/configure: Ditto.
8130 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
8131 vfprintf.c and vfiprintf.c.
8132 * libc/stdio/Makefile.in: Regenerated.
8133 * libc/stdio/vfprintf.c: Add positional argument support that
8134 is enabled by compiling with -DWANT_IO_POS_ARGS.
8136 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
8138 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
8139 based on __mips_soft_float rather than __mips64.
8140 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
8141 of both 32-bit and 64-bit code.
8143 2002-08-04 Christopher Faylor <cgf@redhat.com>
8145 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
8146 arguments for popen to match similar functionality in fopen.
8148 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
8150 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
8152 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
8154 * libc/sys/linux/Makefile.am: Add aio64.c.
8155 * libc/sys/linux/Makefile.in: Regenerated.
8156 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
8157 * libc/sys/linux/aio64.c: New file.
8159 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8161 * libc/include/sys/param.h (MAX, MIN): Added macros.
8162 * libc/sys/linux/Makefile.am: Add new files.
8163 * libc/sys/linux/Makefile.in: Regenerated.
8164 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8165 * libc/sys/linux/inode.c (fchdir): Added syscall.
8166 * libc/sys/linux/ftw.c: New file.
8167 * libc/sys/linux/ftw64.c: Ditto.
8168 * libc/sys/linux/getwd.c: Ditto.
8169 * libc/sys/linux/scandir64.c: Ditto.
8170 * libc/sys/linux/strverscmp.c: Ditto.
8171 * libc/sys/linux/versionsort.c: Ditto.
8172 * libc/sys/linux/versionsort64.c: Ditto.
8174 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
8176 * libc/string/strings.tex: Fix typo for memccpy.
8178 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8180 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
8181 * libc/sys/linux/sys/types.h (off64_t): Definition added.
8183 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8185 * libc/sys/linux/Makefile.am: Add fclean.c.
8186 * libc/sys/linux/Makefile.in: Regenerated.
8187 * libc/sys/linux/fclean.c: New file.
8189 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8191 * libc/sys/linux/Makefile.am: Add confstr.c.
8192 * libc/sys/linux/Makefile.in: Regenerated.
8193 * libc/sys/linux/confstr.c: New file.
8194 * libc/sys/linux/confstr.h: Ditto.
8195 * libc/sys/linux/sys/unistd.h: Include <features.h> and
8196 <bits/environments.h>.
8198 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
8200 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
8201 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
8202 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
8203 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
8204 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
8205 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
8207 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8209 * libc/sys/linux/Makefile.am: Add new files.
8210 * libc/sys/linux/Makefile.in: Regenerated.
8211 * libc/sys/linux/fstab.c: New file.
8212 * libc/sys/linux/fstatvfs.c: Ditto.
8213 * libc/sys/linux/fstatvfs64.c: Ditto.
8214 * libc/sys/linux/internal_statvfs.c: Ditto.
8215 * libc/sys/linux/mntent.c: Ditto.
8216 * libc/sys/linux/mntent_r.c: Ditto.
8217 * libc/sys/linux/statvfs.c: Ditto.
8218 * libc/sys/linux/statvfs64.c: Ditto.
8219 * libc/sys/linux/include/paths.h: Ditto.
8220 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
8221 with double-underscore weak-aliases.
8222 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
8224 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
8226 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
8227 to use _sig_func_ptr type casted constants.
8228 (_sig_func_ptr): Typedef moved to sys/signal.h.
8229 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
8230 For __rtems, use POSIX definition, otherwise default to ANSI.
8231 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
8233 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
8235 * configure.host: Recognize m6811-elf and m6812-elf targets.
8236 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
8237 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
8238 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
8239 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
8240 according to __INT_MAX__.
8241 (_POINTER_INT): Define to short.
8242 * libc/machine/m68hc11/Makefile.am: New file.
8243 * libc/machine/m68hc11/Makefile.in: New file.
8244 * libc/machine/m68hc11/configure.in: New file.
8245 * libc/machine/m68hc11/configure: New file.
8246 * libc/machine/m68hc11/aclocal.m4: New file.
8247 * libc/machine/m68hc11/setjmp.S: New file.
8249 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8251 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
8253 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
8254 * libc/stdlib/Makefile.in: Regenerated.
8255 * libc/stdlib/strdup.c: Removed.
8256 * libc/stdlib/strdup_r.c: Removed.
8257 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
8258 mempcpy.c, strndup.c, and strndup_r.c.
8259 * libc/string/Makefile.in: Regenerated.
8260 * libc/string/memccpy.c: New file.
8261 * libc/string/mempcpy.c: Ditto.
8262 * libc/string/strndup.c: Ditto.
8263 * libc/string/strndup_r.c: Ditto.
8264 * libc/string/strdup.c: New file moved from stdlib.
8265 * libc/string/strdup_r.c: Ditto.
8266 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
8268 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
8270 * libc/include/stdio.h: Move fcloseall prototype within
8271 #ifndef _REENT_ONLY section.
8272 * libc/sys/linux/Makefile.am: Add new files.
8273 * libc/sys/linux/Makefile.in: Regenerated.
8274 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
8275 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
8276 * libc/sys/linux/sys/types.h: Add ino64_t type.
8277 * libc/sys/linux/ctermid.c: New file.
8278 * libc/sys/linux/ttyname_r.c: Ditto.
8279 * libc/sys/linux/readdir64.c: Ditto.
8281 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8283 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
8284 * libc/stdio/Makefile.am: Added fcloseall.c support.
8285 * libc/stdio/Makefile.in: Regenerated.
8286 * libc/stdio/fcloseall.c: New file.
8287 * libc/stdio64/Makefile.am: Remove missing .def references.
8288 * libc/stdio64/Makefile.in: Regenerated.
8290 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
8292 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
8293 * libc/machine/powerpc/times.c: New file.
8294 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
8295 * libc/machine/powerpc/Makefile.in: Regenerated.
8297 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
8299 * libc/machine/powerpc/time.c: New file.
8300 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
8302 * libc/machine/powerpc/Makefile.in: Regenerated.
8304 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8306 * libc/libc.texinfo: Change copyright notices to Red Hat from
8308 * libm/libm.texinfo: Likewise.
8309 * README: Change docs URL to
8310 http://sources.redhat.com/newlib/docs.html.
8312 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8314 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
8315 * libc/sys/linux/Makefile.in: Regenerated.
8316 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
8317 * libc/sys/linux/io.c: Add ftruncate syscall.
8318 * libc/sys/linux/fpathconf.c: New file.
8319 * libc/sys/linux/pathconf.c: Ditto.
8320 * libc/sys/linux/linux_fsinfo.h: Ditto.
8321 * libc/sys/linux/sys/unistd.h: Ditto.
8323 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8325 * libc/stdio64/Makefile.am: Remove missing files.
8326 * libc/stdio64/Makefile.in: Regenerated.
8328 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
8330 * libc/include/sys/config.h[__i386__][__linux__]: Define
8331 _LARGE64FILE_SOURCE to 1.
8332 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
8333 * libc/sys/linux/Makefile.in: Regenerated.
8334 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
8335 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
8336 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
8337 of <linux/resource.h>.
8338 * libc/sys/linux/getrlimit64.c: New file.
8339 * libc/sys/linux/setrlimit64.c: Ditto.
8341 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8343 * libc/argz/argz_replace.c: Include buf_findstr.h.
8344 * libc/argz/buf_findstr.c: Likewise.
8345 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
8347 * libc/argz/envz_get.c: Likewise.
8348 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
8349 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
8350 * libc/stdlib/getsubopt.3: New file.
8351 * libc/stdlib/getsubopt.c: New file.
8352 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
8355 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
8357 * configure.host(stdio64_dir): New setting that is used to
8358 enable building of new stdio64 directory.
8359 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
8361 (stmp-stdio64,stdio64.texi): New targets to optionally add in
8362 stdio64 info to info files.
8363 * libc/Makefile.in: Regenerated.
8364 * libc/configure: Ditto.
8365 * libc/configure.in: Add configuration variables that are set
8366 when stdio64 is selected as subdir in configure.host.
8367 * libc/libc.texinfo: Add optional menu item for Stdio64, based
8368 on whether STDIO64 flag is set or not.
8369 * libc/sys.tex: Add optional stdio64 syscalls based on whether
8370 STDIO64 flag is set or not.
8371 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
8373 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
8374 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
8375 (__SL64): New file flag indicating file is opened via fopen64.
8376 * libc/include/sys/_types.h(_off64_t): Added.
8377 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
8378 * libc/include/sys/reent.h(struct __sFILE64): New file structure
8379 for 64-bit offset large file support.
8380 (__FILE): New intermediate type either set to struct __sFILE64 or
8381 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
8382 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
8383 * libc/reent/Makefile.in: Regenerated.
8384 * libc/reent/fstat64r.c: New file.
8385 * libc/reent/lseek64r.c: Ditto.
8386 * libc/reent/open64r.c: Ditto.
8387 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
8388 based on whether STDIO64 flag is set.
8389 * libc/stdio/stdio.tex: Add blank line.
8390 * libc/stdio64/Makefile.am: New file.
8391 * libc/stdio64/Makefile.in: Ditto.
8392 * libc/stdio64/fgetpos64.c: Ditto.
8393 * libc/stdio64/fopen64.: Ditto.
8394 * libc/stdio64/freopen64.c: Ditto.
8395 * libc/stdio64/fseeko64.c: Ditto.
8396 * libc/stdio64/fsetpos64.c: Ditto.
8397 * libc/stdio64/ftello64.c: Ditto.
8398 * libc/stdio64/local64.h: Ditto.
8399 * libc/stdio64/stdio64.c: Ditto.
8400 * libc/stdio64/stdio64.tex: Ditto.
8401 * libc/stdio64/tmpfile64.c: Ditto.
8402 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
8405 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
8407 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
8408 if LIBC_EXTRA_LIB is present.
8409 * libc/Makefile.in: Regenerated.
8410 * libc/libc.texinfo: Add blank line.
8411 * libc/argz/Makefile.am: Add doc support.
8412 * libc/search/Makefile.am: Ditto.
8413 * libc/argz/Makefile.in: Regenerated.
8414 * libc/search/Makefile.in: Ditto.
8415 * libc/misc/misc.tex: Add ffs function.
8416 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
8418 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8420 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
8421 definition that was removed in error.
8423 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8425 * libc/include/machine/ieeefp.h: Change to only define
8426 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
8427 __IEEE_LITTLE_ENDIAN must be defined for each platform).
8428 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
8429 remove redundant floating point definitions.
8431 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8433 * libc/sys/linux/callocr.c: Fix so code references
8436 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
8438 * libc/sys/linux/Makefile.am: Add new files.
8439 * libc/sys/linux/Makefile.in: Regenerated.
8440 * libc/sys/linux/bp-sym.h: Moved to include directory.
8441 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
8442 * libc/sys/linux/inode.c: Set _LIBC to 1.
8443 * libc/sys/linux/mq_close.c: Ditto.
8444 * libc/sys/linux/mq_getattr.c: Ditto.
8445 * libc/sys/linux/mq_open.c: Ditto.
8446 * libc/sys/linux/mq_receive.c: Ditto.
8447 * libc/sys/linux/mq_send.c: Ditto.
8448 * libc/sys/linux/mq_setattr.c: Ditto.
8449 * libc/sys/linux/mq_unlink.c: Ditto.
8450 * libc/sys/linux/calloc.c: New file.
8451 * libc/sys/linux/callocr.c: Ditto.
8452 * libc/sys/linux/cfreer.c: Ditto.
8453 * libc/sys/linux/config.h: Ditto.
8454 * libc/sys/linux/free.c: Ditto.
8455 * libc/sys/linux/freer.c: Ditto.
8456 * libc/sys/linux/msize.c: Ditto.
8457 * libc/sys/linux/msizer.c: Ditto.
8458 * libc/sys/linux/mstats.c: Ditto.
8459 * libc/sys/linux/mtrim.c: Ditto.
8460 * libc/sys/linux/mtrimr.c: Ditto.
8461 * libc/sys/linux/pvallocr.c: Ditto.
8462 * libc/sys/linux/realloc.c: Ditto.
8463 * libc/sys/linux/reallocr.c: Ditto.
8464 * libc/sys/linux/thread-m.h: Ditto.
8465 * libc/sys/linux/vallocr.c: Ditto.
8466 * libc/sys/linux/bp-checks.h: Ditto.
8467 * libc/sys/linux/libc-symbols.h: Ditto.
8468 * libc/sys/linux/libc-tsd.h: Ditto.
8469 * libc/sys/linux/libintl.h: Ditto.
8470 * libc/sys/linux/malign.c: Ditto.
8471 * libc/sys/linux/malignr.c: Ditto.
8472 * libc/sys/linux/mallinfor.c: Ditto.
8473 * libc/sys/linux/malloc.c: Ditto.
8474 * libc/sys/linux/mallocr.c: Ditto.
8475 * libc/sys/linux/malloptr.c: Ditto.
8476 * libc/sys/linux/mallstatsr.c: Ditto.
8477 * libc/sys/linux/mcheck.c: Ditto.
8478 * libc/sys/linux/mhooks.h: Ditto.
8479 * libc/sys/linux/include/bp-sym.h: Ditto.
8480 * libc/sys/linux/include/malloc.h: Ditto.
8481 * libc/sys/linux/include/mcheck.h: Ditto.
8482 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
8484 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
8485 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
8486 * libc/sys/linux/machine/i386/getpagesize.c: New file.
8487 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
8488 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8489 * libc/sys/linux/machine/i386/sysdep.h: New file.
8490 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
8491 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
8492 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
8494 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
8496 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
8497 instead of <asm/siginfo.h>.
8498 * libc/sys/linux/sys/signal.h: Change to include various linux
8499 <bits/xxx.h> header files, rather than <linux/signal.h> so as
8500 to work with multiple releases of glibc header files.
8502 2002-07-11 Chris Demetriou <cgd@broadcom.com>
8504 * testsuite/newlib.search/hsearchtest.c: New file to test
8506 * testsuite/newlib.search/hsearchtest.exp: Likewise.
8508 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
8510 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
8512 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
8514 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
8516 * libc/include/math.h (MAXFLOAT): Added.
8518 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
8520 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
8521 Make strcmp.S unconditional.
8522 * libc/machine/sh/Makefile.in: Regenerate.
8523 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
8524 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
8527 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8529 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
8530 define before including <sys/lock.h>.
8532 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8534 * libc/include/utime.h: Add include of <_ansi.h>.
8535 * libc/sys/linux/Makefile.am: Add utimes.c.
8536 * libc/sys/linux/Makefile.in: Regenerated.
8537 * libc/sys/linux/inode.c(__umask): New static routine.
8538 (umask): Written to use __umask and attempt to thread lock.
8539 (getumask): New function written to use __umask and thread lock.
8540 * libc/sys/linux/utimes.c: New file.
8541 * libc/sys/linux/sys/time.h: Fix utimes prototype.
8542 * libc/sys/linux/sys/utime.h: New file.
8544 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
8546 * libtool.m4: New file.
8547 * libc/sys/linux/process.c: Implement vfork in terms of fork,
8548 rather than as a syscall.
8550 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8552 * libc/include/stdio.h: Add new prototypes.
8553 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
8554 * libc/stdio/Makefile.in: Regenerated.
8555 * libc/stdio/fseek.c: Add fseeko documentation.
8556 * libc/stdio/ftell.c: Add ftello documentation.
8557 * libc/stdio/fseeko.c: New file.
8558 * libc/stdio/ftello.c: New file.
8560 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
8562 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
8563 * libc/stdio/Makefile.in: Regenerated.
8564 * libc/stdio/asprintf.c: New file.
8565 * libc/stdio/vasprintf.c: Ditto.
8566 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
8567 the buffer for asprintf support.
8568 * libc/stdio/sprintf.c: Add asprintf documentation.
8569 * libc/stdio/vfprintf.c: Add vasprintf documentation.
8570 * libc/include/stdio.h: Add new prototypes.
8572 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
8574 * libc/search/hcreate.c: Remove advertising clause from license.
8575 * libc/search/hcreate_r.c: Likewise.
8577 2002-07-02 Chris Demetriou <cgd@broadcom.com>
8579 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
8580 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
8581 Check that one of them is defined and error out if not.
8582 Add any platforms defined in <machine/ieeefp.h> that are missing.
8583 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
8584 (DB_LITTLE_ENDIAN): New defines.
8585 * libc/search/hash.c: Replace all incorrect checks for
8586 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
8587 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
8588 * libc/search/hash_page.c: Likewise.
8590 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8592 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
8594 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
8596 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
8597 * libc/include/time.h: Same.
8598 * libc/include/string.h: Same.
8599 * libc/include/stdlib.h: Same.
8600 * libc/include/signal.h: Same.
8601 * libc/include/setjmp.h: Same.
8602 * libc/include/math.h: Same.
8603 * libc/include/locale.h: Same.
8604 * libc/include/ctype.h: Same.
8605 * libc/include/machine/setjmp.h: Same.
8606 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
8609 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8611 * libc/include/sys/_types.h: Define _ssize_t as int if int is
8612 32-bits, otherwise define it as long.
8613 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
8614 and define ssize_t as _ssize_t.
8615 * libc/reent/readr.c: Change return type to _ssize_t.
8616 * libc/reent/writer.c: Ditto.
8617 * libc/sys/linux/Makefile.am: Add aio.c.
8618 * libc/sys/linux/Makefile.in: Regenerated.
8619 * libc/sys/linux/aio.c: New file.
8620 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
8621 * libm/common/fdlibm.h: Undef __P before defining it.
8623 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
8625 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
8626 exponent_is_even_int variable. Handle case where x is
8627 negative, and y is an odd integer.
8628 * libm/mathfp/sf_pow.c (powf): Likewise.
8630 * libm/mathfp/er_lgamma.c: Remove __kernel references.
8631 * libm/mathfp/erf_lgamma.c: Likewise.
8632 * libm/mathfp/s_tgamma.c: Likewise.
8633 * libm/mathfp/sf_tgamma.c: Likewise.
8635 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
8637 * libc/sys/linux/Makefile.am: Add new clock routines.
8638 * libc/sys/linux/Makefile.in: Regenerated.
8639 * libc/sys/linux/clock_getres.c: New file.
8640 * libc/sys/linux/clock_gettime.c: Ditto.
8641 * libc/sys/linux/clock_settime.c: Ditto.
8642 * libc/sys/linux/hp-timing.h: Ditto.
8643 * libc/sys/linux/libc-internal.h: Ditto.
8644 * libc/sys/linux/sysconf.c: Fix typo.
8645 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
8646 * libc/sys/linux/machine/hp-timing.h: New file.
8647 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
8648 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8649 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
8650 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
8651 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
8652 * libc/sys/linux/sys/linux_time.h: New file.
8653 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
8654 replace with <sys/linux_time.h>.
8656 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
8658 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
8660 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8662 * libc/sys/linux/Makefile.am: Consolidate additional items under
8664 * libc/sys/linux/Makefile.in: Regenerated.
8666 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
8668 * libc/sys/linux/sethostname.c: New file.
8669 * libc/sys/linux/Makefile.am: Add sethostname.c support.
8670 * libc/sys/linux/Makefile.in: Regenerated.
8672 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8674 * libc/search/db_local.h: New file.
8675 * libc/include/db.h: Remove.
8676 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
8677 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
8679 * libc/search/hash_bigkey.c: Likewise.
8680 * libc/search/hash_buf.c: Likewise.
8681 * libc/search/hash_func.c: Likewise.
8682 * libc/search/hash_log2.c: Likewise.
8683 * libc/search/hash_page.c: Likewise.
8685 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8687 * libc/machine/sh/strlen.S: New file.
8688 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8689 * libc/machine/sh/Makefile.am: Regenerate.
8691 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8693 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8694 add gethostname alias.
8696 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8698 * libc/include/math.h: Remove <sys/types.h>.
8699 (__dmath): Use __ULong instead of __uint32_t.
8700 * libc/include/sys/reent.h: If long or int is not 32-bits,
8701 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8702 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8703 * libm/common/fdlibm.h: Ditto.
8705 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8707 * libc/include/ndbm.h: Remove.
8708 * libc/search/ndbm.c: Remove.
8710 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8712 * libc/stdio/fseek.c (fseek): Fix braces.
8714 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8716 * libc/time/strftime.c (strftime): Add %e format specifier.
8718 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8720 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8723 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8725 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8726 (BYTE_ORDER): Define as appropriate for the target.
8728 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8730 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8732 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8734 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8736 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8737 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8738 [HAVE_GETDATE](getdate_err): New error code.
8739 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8740 * libc/stdio/Makefile.in: Regenerated.
8741 * libc/stdio/getdelim.c: New file.
8742 * libc/stdio/getline.c: Ditto.
8743 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8744 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8745 * libc/sys/linux/Makefile.in: Regenerated.
8746 * libc/sys/linux/getdate.c: New file.
8747 * libc/sys/linux/getdate_err.c: Ditto.
8748 * libc/sys/linux/ntp_gettime.c: Ditto.
8749 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8750 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8752 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8754 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8755 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8756 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8757 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8758 * libc/include/sys/param.h: Remove i386 case which is handled
8760 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8761 definitions in case they are already defined.
8762 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8763 _IEEE_LITTLE_ENDIAN flags.
8764 * libc/include/sys/reent.h: Change __uint32_t references to
8766 (_REENT_GETDATE_REENT_P): New macro.
8767 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8768 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8769 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8770 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8771 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8772 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8773 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8774 definitions which are done by subsequent glibc headers.
8775 Add macro definitions to prevent subsequent header files from
8776 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8777 intptr_t to after glibc definitions of types they are based on.
8779 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8781 * libc/include/errno.h: Protect from multiple inclusion.
8783 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8785 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8787 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8789 * Makefile.am (LIB_OBJECTLISTS): Add
8790 libc/search/objectlist.awk.in.
8791 * libc/Makefile.am (SUBDIRS): Add search.
8792 (SUBLIBS): Add search/libsearch.la.
8793 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8794 * libc/search: New directory.
8795 * libc/search/Makefile.am: New file.
8796 * libc/search/extern.h: New file.
8797 * libc/search/hash.c: New file.
8798 * libc/search/hash.h: New file.
8799 * libc/search/hash_bigkey.c: New file.
8800 * libc/search/hash_buf.c: New file.
8801 * libc/search/hash_func.c: New file.
8802 * libc/search/hash_log2.c: New file.
8803 * libc/search/hash_page.c: New file.
8804 * libc/search/hcreate.3: New file.
8805 * libc/search/hcreate.c: New file.
8806 * libc/search/hcreate_r.c: New file.
8807 * libc/search/ndbm.c: New file.
8808 * libc/search/page.h: New file.
8809 * libc/search/tdelete.c: New file.
8810 * libc/search/tdestroy.c: New file.
8811 * libc/search/tfind.c: New file.
8812 * libc/search/tsearch.3: New file.
8813 * libc/search/tsearch.c: New file.
8814 * libc/search/twalk.c: New file.
8815 * libc/include/db.h: New file.
8816 * libc/include/ndbm.h: New file.
8817 * libc/include/search.h: New file.
8818 * libc/include/sys/queue.h: New file.
8819 * libc/include/sys/cdefs.h: New file.
8820 * libc/include/sys/param.h
8821 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8822 LITTLE_ENDIAN or BIG_ENDIAN.
8823 * libc/include/sys/errno.h (EFTYPE): New macro.
8824 * libc/search/bsearch.c: Move from libc/stdlib.
8825 * libc/search/qsort.c: Likewise.
8826 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8828 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8829 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8831 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8833 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8834 ipc routines, and ftok.
8835 * libc/sys/linux/Makefile.in: Regenerated.
8836 * libc/sys/linux/ftok.c: New file.
8837 * libc/sys/linux/ipc.c: Ditto.
8838 * libc/sys/linux/mq_close.c: Ditto.
8839 * libc/sys/linux/mq_getattr.c: Ditto.
8840 * libc/sys/linux/mq_notify.c: Ditto.
8841 * libc/sys/linux/mq_open.c: Ditto.
8842 * libc/sys/linux/mq_receive.c: Ditto.
8843 * libc/sys/linux/mq_send.c: Ditto.
8844 * libc/sys/linux/mq_setattr.c: Ditto.
8845 * libc/sys/linux/mq_unlink.c: Ditto.
8846 * libc/sys/linux/mqlocal.h: Ditto.
8847 * libc/sys/linux/include/mqueue.h: Ditto.
8848 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8851 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8853 * libm/common/sf_lround.c (round): Change name to: (lround).
8854 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8857 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8859 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8861 (newlib_pass_fail): Change to compile and run only one file.
8862 * testsuite/newlib.locale/locale.exp: Use new
8863 newlib_pass_fail_all procedure.
8864 * testsuite/newlib.string/string.exp: Likewise.
8866 2002-06-18 Dave Brolley <brolley@redhat.com>
8868 From Catherine Moore, Michael Meissner, Richard Sandiford:
8869 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8871 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8872 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8873 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8874 * configure.host: Support frv-*-*.
8875 * libc/machine/frv/Makefile.am: New file.
8876 * libc/machine/frv/configure.in: New file.
8877 * libc/machine/frv/setjmp.S: New file.
8879 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8881 * libc/include/ctype.h: Remove isblank macro.
8883 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8884 * libc/ctype/isblank.c: New file.
8885 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8886 declaration. Add isblank macro.
8888 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8890 * testsuite/newlib.stdlib/atexit.c: New file.
8891 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8892 * testsuite/newlib.string/tstring.c: Change default start size
8893 to something more reasonable for embedded platforms.
8895 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8897 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8899 * libc/argz: New directory.
8900 * libc/argz/*: New files.
8901 * libc/argz/argz_add.c: New file.
8902 * libc/argz/argz_add_sep.c: New file.
8903 * libc/argz/argz_append.c: New file.
8904 * libc/argz/argz_count.c: New file.
8905 * libc/argz/argz_create.c: New file.
8906 * libc/argz/argz_create_sep.c: New file.
8907 * libc/argz/argz_delete.c: New file.
8908 * libc/argz/argz_extract.c: New file.
8909 * libc/argz/argz_insert.c: New file.
8910 * libc/argz/argz_next.c: New file.
8911 * libc/argz/argz_replace.c: New file.
8912 * libc/argz/argz_stringify.c: New file.
8913 * libc/argz/buf_findstr.c: New file.
8914 * libc/argz/envz_add.c: New file.
8915 * libc/argz/envz_entry.c: New file.
8916 * libc/argz/envz_get.c: New file.
8917 * libc/argz/envz_merge.c: New file.
8918 * libc/argz/envz_remove.c: New file.
8919 * libc/argz/envz_strip.c: New file.
8920 * libc/include/argz.h: New file.
8921 * libc/include/envz.h: New file.
8922 * Makefile.am (LIBC_OBJECTLISTS): Add
8923 libc/argz/objectlist.awk.in.
8924 * libc/Makefile.am (SUBDIRS): Add argz.
8925 (SUBLIBS): Add argz/libargz.la.
8926 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8927 * libc/include/errno.h: Add error_t typedef.
8929 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8931 * libc/include/stdlib.h: Add _Exit prototype.
8932 * libc/stdlib/Makefile.am: Add _Exit.c support.
8933 * libc/stdlib/Makefile.in: Ditto.
8934 * libc/stdlib/_Exit.c: New file.
8936 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8938 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8939 x is close to -1.0 and y is very large to use ax (absolute value)
8941 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8943 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8945 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8946 Fix clobbering bytes before destination if src and dst have same
8947 non-zero misalignment.
8949 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8950 Fixed bug in writing end of set region.
8952 2002-06-10 Christopher Faylor <cgf@redhat.com>
8954 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8955 spawnve declaration.
8957 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8959 * libm/common/s_fdim.c: New file.
8960 * libm/common/s_fma.c: Likewise.
8961 * libm/common/s_fmax.c: Likewise.
8962 * libm/common/s_fmin.c: Likewise.
8963 * libm/common/s_fpclassify.c: Likewise.
8964 * libm/common/s_lrint.c: Likewise.
8965 * libm/common/s_lround.c: Likewise.
8966 * libm/common/s_nearbyint.c: Likewise.
8967 * libm/common/s_remquo.c: Likewise.
8968 * libm/common/s_round.c: Likewise.
8969 * libm/common/s_scalbln.c: Likewise.
8970 * libm/common/s_signbit.c: Likewise.
8971 * libm/common/s_trunc.c: Likewise.
8972 * libm/common/sf_fdim.c: Likewise.
8973 * libm/common/sf_fma.c: Likewise.
8974 * libm/common/sf_fmax.c: Likewise.
8975 * libm/common/sf_fmin.c: Likewise.
8976 * libm/common/sf_lrint.c: Likewise.
8977 * libm/common/sf_lround.c: Likewise.
8978 * libm/common/sf_nearbyint.c: Likewise.
8979 * libm/common/sf_remquo.c: Likewise.
8980 * libm/common/sf_round.c: Likewise.
8981 * libm/common/sf_scalbln.c: Likewise.
8982 * libm/common/sf_trunc.c: Likewise.
8983 * libm/math/w_exp2.c: Likewise.
8984 * libm/math/w_tgamma.c: Likewise.
8985 * libm/math/wf_exp2.c: Likewise.
8986 * libm/math/wf_tgamma.c: Likewise.
8987 * libm/mathfp/s_exp2.c: Likewise.
8988 * libm/mathfp/s_tgamma.c: Likewise.
8989 * libm/mathfp/sf_exp2.c: Likewise.
8990 * libm/mathfp/sf_tgamma.c: Likewise.
8991 * libm/math/er_gamma.c: Fix return value.
8992 * libm/math/erf_gamma.c: Likewise.
8993 * libm/mathfp/er_gamma.c: Likewise.
8994 * libm/mathfp/erf_gamma.c: Likewise.
8995 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8996 declarations and macros.
8997 Regenerated all Makefile.in, aclocal.m4 and configure files to
8998 use new libtool macros in top-level libtool.m4
9000 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
9002 * libc/include/string.h[__linux__]: Add strsignal prototype.
9003 * libc/include/sys/lock.h: New file with default locking support.
9004 * libc/include/sys/reent.h: Add signal buffer support for strsignal
9006 * libc/posix/Makefile.am: Add support for readdir_r.c.
9007 * libc/posix/Makefile.in: Regenerated.
9008 * libc/posix/closedir.c: Add locking support and hash table cleanup.
9009 * libc/posix/opendir.c: Add lock support.
9010 * libc/posix/readdir.c: Ditto.
9011 * libc/posix/rewinddir.c: Ditto.
9012 * libc/posix/scandir.c: Ditto.
9013 * libc/posix/seekdir.c: Ditto.
9014 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
9015 clean up leftover hash table entries.
9016 * libc/posix/readdir_r.c: New file.
9017 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
9018 * libc/sys/linux/Makefile.in: Regenerated.
9019 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
9020 * libc/sys/linux/sys/signal.h: Add psignal prototype.
9021 * libc/sys/linux/psignal.c: New file.
9022 * libc/sys/linux/strsignal.c: Ditto.
9024 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
9026 * libc/include/sys/types.h: Don't define dev_t when compiling for
9029 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
9031 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
9032 make siglist.inc dependent on sig.c instead of signal.c.
9033 * libc/sys/linux/Makefile.in: Regenerated.
9034 * libc/sys/linux/sig.c: Rename from signal.c and change code to
9035 use NSIG instead of _NSIG.
9036 * libc/sys/linux/sigaction.c: New file.
9037 * libc/sys/linux/signal.c: Changed to be linux signal() function
9038 so as to override regular newlib default signal.c.
9039 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
9040 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9041 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
9042 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
9043 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
9044 default linux sigset_t typedef by defining it equal to __sigset_t.
9045 * libc/unix/sigset.c: Add check so code isn't compiled on systems
9046 with a sigset_t that isn't implemented with a single int.
9048 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
9050 * libc/sys/linux/Makefile.am: Add support for new files.
9051 * libc/sys/linux/Makefile.in: Regenerated.
9052 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
9053 * libc/sys/linux/signal.c: Change to use real-time syscalls for
9054 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
9055 it is in a separate file now.
9056 * libc/sys/linux/machine/i386/Makefile.am
9057 * libc/sys/linux/machine/i386/Makefile.in
9058 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
9059 * libc/sys/linux/sigaction.c: New file.
9060 * libc/sys/linux/sigqueue.c: Ditto.
9061 * libc/sys/linux/sigwait.c: Ditto.
9062 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
9063 * libc/sys/linux/kernel_sigaction.h: Ditto.
9065 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
9067 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
9069 * libc/sys/linux/Makefile.in: Regenerated.
9070 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
9071 tcgetpgrp(), and tcsetpgrp() functions.
9072 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9073 to get __MAX_BAUD rate.
9074 * libc/sys/linux/machine/i386/include/termios.h: New file.
9075 * libc/include/machine/termios.h: Ditto.
9076 * libc/sys/linux/cfspeed.c: Ditto.
9077 * libc/sys/linux/tcsendbrk.c: Ditto.
9079 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
9081 * libc/include/string.h: Add strnlen and strerror_r prototypes.
9082 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
9083 * libc/string/Makefile.in: Regenerated.
9084 * libc/string/strerror_r.c: New file.
9085 * libc/string/strnlen.c: New file.
9086 * libc/sys/linux/Makefile.am: Add rename.c.
9087 * libc/sys/linux/Makefile.in: Regenerated.
9088 * libc/sys/linux/rename.c: New file to override default rename.
9090 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9092 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
9093 * libc/sys/linux/sys/time.h: Add conversion macros.
9094 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
9095 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
9096 * libc/sys/linux/gethostname.c: New file.
9097 * libc/sys/linux/seteuid.c: New file.
9098 * libc/sys/linux/sysctl.c: New file.
9100 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9102 * libc/string/Makefile.am: Add support for strsep.c.
9103 * libc/string/Makefile.in: Regenerated.
9104 * libc/string/strsep.c: New file.
9105 * libc/string/strtok.c: Change to call __strtok_r service routine.
9106 * libc/string/strtok_r.c: Add __strtok_r routine which takes
9107 additional flag parameter regarding whether to skip leading delimeters.
9108 Change strtok_r to call __strtok_r.
9110 2002-05-23 Gareth Pearce <tilps@hotmail.com>
9112 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
9113 * libc/stdio/Makefile.in: Regenerated.
9114 * libc/stdio/setbuffer.c: New file.
9115 * libc/stdio/setlinebuf.c: New file.
9117 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9119 * libc/sys/linux/Makefile.am: Add resource.c.
9120 * libc/sys/linux/Makefile.in: Regenerated.
9121 * libc/sys/linux/resource.c: New file.
9122 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
9123 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
9124 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9125 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
9126 are now found in libc/sys/linux/resource.c.
9128 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
9130 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
9131 to use void * pointers and comply with Single Unix spec.
9132 * libc/string/bcmp.c: Change to use void * instead of char *.
9133 * libc/string/bcopy.c: Ditto.
9134 * libc/string/bzero.c: Ditto.
9136 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9138 * libc/sys/linux/shm_open.c: New file.
9139 * libc/sys/linux/shm_unlink.c: Ditto.
9140 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
9142 * libc/sys/linux/Makefile.in: Regenerated.
9143 * libc/sys/linux/sys/types.h: Add some additional checks to see
9144 if clock_t or time_t is already defined.
9146 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
9148 * Makefile.am: Don't pass $toollibdir down directly in
9149 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
9150 Pass it under the name: top_toollibdir.
9151 * Makefile.in: Regenerated.
9153 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9155 * libc/include/sys/types.h: Revert previous patch.
9157 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
9159 * libc/include/sys/types.h: Include cygwin/types.h always under
9160 Cygwin, not only if _POSIX_THREADS is defined.
9162 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
9164 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
9166 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
9168 * Makefile.am: Copy and install headers from sys/machine/include
9169 directory. Also pass $toollibdir to lower-level directories.
9170 * Makefile.in: Regenerated.
9171 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
9172 stderr to use _REENT macro instead of _impure_ptr directly.
9173 * libc/include/sys/config.h[__i386__][__linux__]: Define
9175 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
9176 call to __getreent() function if !__SINGLE_THREAD__ and
9177 __DYNAMIC_REENT__ is set.
9178 * libc/reent/Makefile.am: Add support for getreent.c.
9179 * libc/reent/Makefile.in: Regenerated.
9180 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
9181 * libc/sys/linux/Makefile.am: Add support for new files.
9182 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
9183 * libc/sys/linux/Makefile.in: Regenerated.
9184 * libc/sys/linux/configure: Ditto.
9185 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
9186 __close, __read, __write, __poll, __open, __lseek, __fcntl from
9187 their __libc_ counterparts.
9188 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
9189 and weak-alias to regular names.
9190 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
9191 to pread64 and __pread64.
9192 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
9193 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
9194 weak-alias to pwrite64.
9195 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
9196 __libc_sched_getscheduler, __libc_sched_get_priority_max,
9197 __libc_sched_get_priority_min, and __libc_sched_setschedule to
9198 name with __ instead of __libc_.
9199 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
9200 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
9201 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
9202 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
9204 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
9205 __libc_send to __send.
9206 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
9208 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
9209 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
9210 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
9211 type and typedef __jmp_buf to jmp_buf.
9212 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
9214 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
9215 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
9217 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
9218 prefix for function macros and then use weak_alias() to regular names.
9219 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9220 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
9221 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
9222 to be flockfile() and funlockfile() respectively.
9223 * libc/sys/linux/sys/types.h
9224 * libc/reent/getreent.c: New file.
9225 * libc/sys/linux/flockfile.c: Ditto.
9226 * libc/sys/linux/funlockfile.c: Ditto.
9227 * libc/sys/linux/getreent.c: Ditto.
9228 * libc/sys/linux/pread.c: Ditto.
9229 * libc/sys/linux/pwrite.c: Ditto.
9230 * libc/sys/linux/raise.c: Ditto.
9231 * libc/sys/linux/system.c: Ditto.
9232 * libc/sys/linux/tcdrain.c: Ditto.
9233 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
9234 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
9235 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
9236 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
9237 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
9239 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
9241 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
9242 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
9243 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
9244 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
9246 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
9248 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
9249 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
9252 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9254 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
9255 options when testing natively on i[3456]86-*-linux.
9257 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
9258 only one pass or fail per test file. Trim \r's from output
9259 values received from test programs. Remove support for named
9261 * testsuite/newlib.locale/UTF-8.exp: Update to support new
9262 newlib_check_output behaviour.
9263 * testsuite/newlib.locale/UTF-8.c: Likewise.
9265 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
9267 * libc/include/stdlib.h: Add on_exit prototype.
9268 * libc/include/sys/reent.h (struct _atexit): Add argument array
9269 and bits to track type of exit routine to support both on_exit
9271 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
9272 by default and change the setting of the atexit structure.
9273 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
9274 * libc/stdlib/on_exit.c: New file.
9275 * libc/stdlib/Makefile.am: Add support for on_exit.
9276 * libc/stdlib/Makefile.in: Regenerated.
9277 * libc/stdlib/atexit.c: Change to initialize types field.
9278 * libc/stdlib/exit.c: Change to look at types field for each
9279 exit routine and either call an atexit-style or an on_exit-style
9280 routine accordingly.
9282 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9284 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
9285 allow v specifier with n or L specifiers. For vector c format,
9286 move tmp declaration to the top.
9288 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
9290 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
9291 the original format specifier when looping for vectors to compensate
9292 for any changes made in vector %g format processing.
9293 Also add syntax checking for various invalid scenarios
9294 involving vector format extensions.
9295 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
9296 return code setting for vector formats. Also treat vector
9297 separator mismatch as a match error instead of an input error.
9298 Perform some syntax checking for vector formats.
9300 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9302 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
9303 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
9304 * libc/string/strlcat.c: New file.
9305 * libc/string/strlcpy.c: New file.
9307 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
9309 * libc/string/strchr.c: Fix comment typo.
9311 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
9313 * acinclude.m4: Add support for --enable-newlib-multithread.
9314 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
9315 --enable-newlib-multithread=no.
9317 * libc/stdio/getc_u.c: New file.
9318 * libc/stdio/getchar_u.c: New file.
9319 * libc/stdio/putc_u.c: New file.
9320 * libc/stdio/putchar_u.c: New file.
9321 * libc/include/stdio.h: Add declarations for getc_unlocked,
9322 getchar_unlocked, putc_unlocked and putchar_unlocked.
9323 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
9324 (CHEWOUT_FILES): Add new files' .def's.
9325 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
9327 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
9329 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
9330 Also handle as single quad word when destination ends at last
9331 byte of first quad word. Fix byte selection in single quad code.
9333 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
9335 * libc/include/sys/stdio.h: New file.
9336 * libc/sys/linux/sys/stdio.h: New file.
9337 * libc/include/stdio.h: Add declarations for flockfile,
9338 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
9339 * libc/stdio/clearerr.c: Add file locking.
9340 * libc/stdio/fclose.c: Likewise.
9341 * libc/stdio/feof.c: Likewise.
9342 * libc/stdio/ferror.c: Likewise.
9343 * libc/stdio/fflush.c: Likewise.
9344 * libc/stdio/fgetc.c: Likewise.
9345 * libc/stdio/fgetpos.c: Likewise.
9346 * libc/stdio/fgets.c: Likewise.
9347 * libc/stdio/fileno.c: Likewise.
9348 * libc/stdio/fputc.c: Likewise.
9349 * libc/stdio/fputs.c: Likewise.
9350 * libc/stdio/fread.c: Likewise.
9351 * libc/stdio/freopen.c: Likewise.
9352 * libc/stdio/fseek.c: Likewise.
9353 * libc/stdio/ftell.c: Likewise.
9354 * libc/stdio/fwrite.c: Likewise.
9355 * libc/stdio/getc.c: Likewise.
9356 * libc/stdio/putc.c: Likewise.
9357 * libc/stdio/setvbuf.c: Likewise.
9358 * libc/stdio/ungetc.c: Likewise.
9359 * libc/stdio/vfprintf.c: Likewise.
9361 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9363 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
9364 support for 'p' format. Fix code to print bytes for vector
9365 integer formats that do not specify 'h' or 'l'.
9366 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
9367 for 'p' specifier. Fix code to scan 16 bytes for vector integer
9368 formats that do not specify 'h' or 'l'.
9370 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
9372 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
9374 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
9375 (_sbrk): Add cast of return value.
9377 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9379 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
9380 (_REENT_L64A_BUF): New macro for accessing area.
9381 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
9382 * libc/stdlib/Makefile.in: Regenerated.
9383 * libc/stdlib/a64l.c: New file.
9384 * libc/stdlib/l64a.c: New file.
9386 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
9388 * libc/unix/pread.c: Fix typo for _pread_r.
9389 * libc/unix/pwrite.c: Fix type for _pwrite_r.
9390 * libc/sys/linux/pread64.c: Fix typo for read syscall.
9391 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
9393 2002-05-03 Christopher Faylor <cgf@redhat.com>
9395 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
9397 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9399 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
9401 2002-05-01 Christopher Faylor <cgf@redhat.com>
9403 * utmp.h: Define more UNIX constants.
9405 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9407 * Makefile.am: Add support for checking multilibs.
9409 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
9410 (SUBDEFS): Add LIBC_EXTRA_DEF.
9411 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
9412 (LIBC_EXTRA_DEF): Likewise.
9413 (extra_dir): Likewise.
9414 * libc/machine/xscale/machine: New directory.
9415 * libc/machine/xscale/machine/profile.h: New file.
9417 * Makefile.am (site.exp): Remove newlib_cflags. Add
9419 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
9420 * testsuite/lib/flags.exp: New file.
9421 * testsuite/lib/newlib.exp: Load flags.exp.
9422 (newlib_target_compile): Remove libgloss directory references.
9423 (newlib_init): Remove newlib_cflags references.
9425 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
9427 * testsuite/lib/newlib.exp (newlib_target_compile): Change
9428 method of finding libgloss_target_dir.
9430 * Makefile.am (site.exp): Change host_alias, host_triplet,
9431 target_alias, target_triplet to refer to gcc's host and target
9432 variables (newlib's build and host variables).
9433 * testsuite/lib/newlib.exp (newlib_init): Change build
9434 references to host references, host references to target
9435 references to reflect Makefile.am changes.
9436 (newlib_target_compile): Likewise.
9437 (newlib_finish): Likewise.
9439 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9441 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
9443 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
9445 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
9446 (_system): New function. Ditto.
9447 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
9448 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
9451 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
9453 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
9454 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
9455 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
9456 * libc/sys/linux/Makefile.in: Regenerated.
9457 * libc/unix/Makefile.in: Ditto.
9458 * libc/sys/linux/pread64.c: New file.
9459 * libc/sys/linux/pwrite64.c: Ditto.
9460 * libc/unix/pread.c: Ditto.
9461 * libc/unix/pwrite.c: Ditto.
9463 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9465 * libc/sys/linux/Makefile.am: Add io64.c.
9466 * libc/sys/linux/Makefile.in: Regenerated.
9467 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
9468 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
9469 * libc/sys/linux/io64.c: New file.
9471 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
9473 * configure.in (CC_FOR_NEWLIB): New variable that
9474 bases on $(CC) and adds targ-include and libc/include as
9475 -isystem directives if they are not already part of $(CC).
9476 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
9478 * configure: Regenerated.
9479 * Makefile.in: Ditto.
9481 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
9483 * libc/sys/linux/Makefile.am: Add support for sched.c.
9484 * libc/sys/linux/Makefile.in: Regenerated.
9485 * libc/sys/linux/sched.c: New file.
9486 * libc/sys/linux/sys/types.h: Add struct timespec.
9488 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
9490 * configure.in (CC_FOR_BUILD): Set to gcc whether
9491 cross-compiling or not.
9492 (CC): Add -isystem's for targ-include and libc/include when they
9493 do not already appear in CC.
9495 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9497 * Makefile.am (check-DEJAGNU): New target.
9498 (site.exp): Likewise.
9499 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
9500 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
9501 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
9502 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
9503 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
9504 * testsuite: New directory.
9505 * testsuite/config: Likewise.
9506 * testsuite/lib: Likewise.
9507 * testsuite/newlib.locale: Likewise.
9508 * testsuite/newlib.string: Likewise.
9509 * testsuite/config/default.exp: New file.
9510 * testsuite/lib/checkoutput.exp: New file.
9511 * testsuite/lib/newlib.exp: New file.
9512 * testsuite/lib/passfail.exp: New file.
9513 * testsuite/newlib.locale/UTF-8.c: New file.
9514 * testsuite/newlib.locale/UTF-8.exp: New file.
9515 * testsuite/newlib.locale/locale.exp: New file.
9516 * testsuite/newlib.string/string.exp: New file.
9517 * testsuite/newlib.string/tstring.c: New file.
9519 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
9521 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
9522 * libc/sys/linux/Makefile.am: Add support for mmap.c.
9523 * libc/sys/linux/Makefile.in: Regenerated.
9524 * libc/sys/linux/mmap.c: New file.
9525 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
9526 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
9528 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
9530 * acinclude.m4 (newlib_cflags): Remove include directories that
9531 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
9533 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
9535 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
9536 * libc/machine/xscale/memcmp.c: Ditto.
9537 * libc/machine/xscale/memcpy.c: Ditto.
9538 * libc/machine/xscale/memmove.c: Ditto.
9539 * libc/machine/xscale/memset.c: Ditto.
9540 * libc/machine/xscale/strchr.c: Ditto.
9541 * libc/machine/xscale/strcmp.c: Ditto.
9542 * libc/machine/xscale/strcpy.c: Ditto.
9543 * libc/machine/xscale/strlen.c: Ditto.
9545 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
9547 * libc/include/sys/config.h: Remove include of <limits.h>.
9548 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
9549 define INT_MAX and LONG_MAX. Use them in tests.
9551 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
9553 * configure.host: Add support for powerpc-eabialtivec*.
9554 * libc/include/malloc.h: Add include of <machine/malloc.h>.
9555 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
9556 * libc/include/machine/malloc.h: New file.
9557 * libc/include/machine/stdlib.h: Ditto.
9558 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
9559 * libc/machine/powerpc/Makefile.am: Add conditional objects and
9560 sources based on configuration.
9561 * libc/machine/powerpc/Makefile.in: Regenerated.
9562 * libc/machine/powerpc/configure: Ditto.
9563 * libc/machine/powerpc/configure.in: Add check for
9564 powerpc-eabialtivec* in which case add in additional source files.
9565 * libc/machine/powerpc/setjmp.S: Add altivec support.
9566 * libc/machine/powerpc/vec_calloc.c: New file.
9567 * libc/machine/powerpc/vec_free.c: Ditto.
9568 * libc/machine/powerpc/vec_malloc.c: Ditto.
9569 * libc/machine/powerpc/vec_mallocr.c: Ditto.
9570 * libc/machine/powerpc/vec_realloc.c: Ditto.
9571 * libc/machine/powerpc/machine/malloc.h: Ditto.
9572 * libc/machine/powerpc/machine/stdlib.h: Ditto.
9573 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
9574 with added altivec format specifiers.
9575 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
9576 added altivec format specifiers.
9578 2002-04-19 Joel Sherrill <joel@OARcorp.com>
9580 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
9581 while autoconf is trying to link main(){}.
9583 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9585 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
9586 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
9588 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9590 * libc/time/time.tex: Add tzset info.
9592 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9594 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9595 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9596 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9597 (tzname): Defined for all platforms.
9598 (daylight, timezone): Defined only for CYGWIN.
9599 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9601 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9602 environment variable is set.
9603 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9605 * libc/time/Makefile.in: Regenerated.
9606 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9607 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9608 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9609 * libc/time/local.h: New local header file.
9610 * libc/time/mktime.c (mktime): Add timezone support.
9611 * libc/time/mktm_r.c: New file which is the common engine
9612 for gmtime_r and lcltime_r. This code has timezone support.
9613 * libc/time/strftime.c (strftime): Add %Z timezone support.
9614 * libc/time/tzlock.c: New file containing timezone lock stubs.
9615 * libc/time/tzset.c: New file containing tzset() routine.
9616 * libc/time/tzset_r.c: New file containing _tzset_r and
9617 internal routine for calculating timezone changes for specified year.
9619 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9621 * configure.in (CRT0_DIR): Set to libc/.
9622 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9623 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9624 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9625 $(CRT1_DIR)/$(CRT1).
9626 * libc/machine/xstormy16/Makefile.in: Regenerated.
9627 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9628 * libc/machine/xstormy16/configure: Regenerated.
9630 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9632 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9633 fails, don't bail out, and try to correct next time.
9635 * libc/include/sys/config.h: Include limits.h.
9637 2002-04-12 Eric Norum <eric.norum@usask.com>
9639 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9640 routine to allow autoconf to determine that building executables
9642 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9643 (rtems_gxx_mutex_once): Ditto.
9645 2002-04-09 Tom Rix <trix@redhat.com>
9647 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9649 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9651 * libc/include/time.h: Fix strptime declaration.
9652 * libc/time/Makefile.am: Add strptime.c.
9653 * libc/time/Makefile.in: Regenerated.
9654 * libc/time/strptime.c: New file.
9656 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9658 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9659 siglongjmp prototype, and sigsetjmp macro definition.
9660 * libc/sys/linux/siglongjmp.c: New file.
9661 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9662 * libc/sys/linux/Makefile.in: Regenerated.
9664 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9666 * Makefile.am: Add support for installing crt1.o if one exists.
9667 * configure.host: Specify crt1.o for linux.
9668 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9669 * Makefile.in: Regenerated.
9671 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9672 Added for non-Cygwin, non-RTEMS configurations.
9673 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9674 * libc/sys/linux/Makefile.in: Regenerated.
9675 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9676 by gcc. This fixes problem with reconfiguring linux newlib build.
9677 * libc/sys/linux/sysconf.c: New file.
9679 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9681 * configure.host: Add support for machine subdirectory of
9683 * configure.in: Add check for sys machine subdirectory.
9684 * Makefile.am: Ditto.
9685 * configure: Regenerated.
9686 * Makefile.in: Ditto.
9687 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9688 * libc/sys/linux/sys/syscall.h: Ditto.
9689 * libc/sys/linux/sleep.c: New file.
9690 * libc/sys/linux/socket.c: Ditto.
9691 * libc/sys/linux/sockops.h: Ditto.
9692 * libc/sys/linux/stack.c: Ditto.
9693 * libc/sys/linux/usleep.c: Ditto.
9694 * libc/sys/linux/machine/Makefile.am: Ditto.
9695 * libc/sys/linux/machine/Makefile.in: Ditto.
9696 * libc/sys/linux/machine/aclocal.m4: Ditto.
9697 * libc/sys/linux/machine/configure: Ditto.
9698 * libc/sys/linux/machine/configure.in: Ditto.
9699 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9700 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9701 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9702 * libc/sys/linux/machine/i386/configure: Ditto.
9703 * libc/sys/linux/machine/i386/configure.in: Ditto.
9704 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9705 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9706 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9707 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9708 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9709 * libc/sys/linux/sys/select.h: Ditto.
9710 * libc/sys/linux/configure.in: Add support for machine directory.
9711 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9712 * libc/sys/linux/Makefile.in: Regenerated.
9713 * libc/sys/linux/configure: Ditto.
9714 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9715 * libc/sys/linux/inode.c: Ditto.
9716 * libc/sys/linux/linux.c: Ditto.
9717 * libc/sys/linux/process.c: Ditto.
9718 * libc/sys/linux/systat.c: Ditto.
9719 * libc/sys/linux/time.c: Ditto.
9720 * libc/sys/linux/wait.c: Ditto.
9721 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9722 * libc/sys/linux/io.c: Change header plus add readv/writev.
9723 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9724 use __sigsuspend syscall.
9725 * libc/sys/linux/select.c: Change header plus change select to
9726 use _newselect syscall.
9727 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9728 used by glibc header files.
9729 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9732 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9734 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9735 initializing a struct _reent that has been dynamically allocated.
9736 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9737 _REENT_SMALL and does nothing otherwise.
9738 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9739 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9740 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9741 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9742 [_REENT_SMALL](struct _misc_reent): New structure containing
9743 miscellaneous reentrant areas needed by newlib.
9744 [_REENT_SMALL](struct _reent): Add _misc pointer.
9745 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9746 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9747 and _REENT_STRTOK_LAST macros.
9748 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9749 and _REENT_MBLEN_STATE macros.
9750 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9751 and _REENT_MBTOWC_STATE macros.
9752 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9753 and _REENT_WCTOMB_STATE macros.
9755 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9757 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9759 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9761 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9763 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9765 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9766 Store high part of leading bytes too.
9768 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9770 * libm/math/ef_hypot.c: Increase scale factor to 68.
9772 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9774 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9777 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9779 * libc/sys/go32/access.c: Change license to relaxed license
9780 used in identical file throughout newlib/libgloss.
9782 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9784 * libc/sys/arm/access.c: New file.
9785 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9786 * libc/sys/arm/Makefile.in: Regenerate.
9787 * libc/sys/arm/syscalls.c (_stat): New function.
9789 2002-03-11 Michael Meissner <meissner@redhat.com>
9791 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9792 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9793 * libc/machine/mips/Makefile.in: Regenerate.
9794 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9795 * libc/machine/mips/memset.c: Dito.
9796 * libc/machine/mips/strcmp.c: Dito.
9797 * libc/machine/mips/strlen.c: Dito.
9798 * libc/machine/mips/strncmp.c: Dito.
9800 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9802 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9803 object so it works for shared library or statici library.
9804 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9806 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9807 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9808 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9809 (tzname): Defined for all platforms.
9810 (daylight, timezone): Defined only for CYGWIN.
9811 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9813 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9814 environment variable is set.
9815 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9817 * libc/time/Makefile.in: Regenerated.
9818 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9819 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9820 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9821 * libc/time/local.h: New local header file.
9822 * libc/time/mktime.c (mktime): Add timezone support.
9823 * libc/time/mktm_r.c: New file which is the common engine
9824 for gmtime_r and lcltime_r. This code has timezone support.
9825 * libc/time/strftime.c (strftime): Add %Z timezone support.
9826 * libc/time/tzlock.c: New file containing timezone lock stubs.
9827 * libc/time/tzset.c: New file containing tzset() routine.
9828 * libc/time/tzset_r.c: New file containing _tzset_r and
9829 internal routine for calculating timezone changes for specified year.
9831 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9833 * configure.in (CRT0_DIR): Set to libc/.
9834 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9835 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9836 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9837 $(CRT1_DIR)/$(CRT1).
9838 * libc/machine/xstormy16/Makefile.in: Regenerated.
9839 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9840 * libc/machine/xstormy16/configure: Regenerated.
9842 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9844 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9845 fails, don't bail out, and try to correct next time.
9847 * libc/include/sys/config.h: Include limits.h.
9849 2002-04-12 Eric Norum <eric.norum@usask.com>
9851 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9852 routine to allow autoconf to determine that building executables
9854 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9855 (rtems_gxx_mutex_once): Ditto.
9857 2002-04-09 Tom Rix <trix@redhat.com>
9859 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9861 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9863 * libc/include/time.h: Fix strptime declaration.
9864 * libc/time/Makefile.am: Add strptime.c.
9865 * libc/time/Makefile.in: Regenerated.
9866 * libc/time/strptime.c: New file.
9868 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9870 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9871 siglongjmp prototype, and sigsetjmp macro definition.
9872 * libc/sys/linux/siglongjmp.c: New file.
9873 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9874 * libc/sys/linux/Makefile.in: Regenerated.
9876 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9878 * Makefile.am: Add support for installing crt1.o if one exists.
9879 * configure.host: Specify crt1.o for linux.
9880 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9881 * Makefile.in: Regenerated.
9883 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9884 Added for non-Cygwin, non-RTEMS configurations.
9885 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9886 * libc/sys/linux/Makefile.in: Regenerated.
9887 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9888 by gcc. This fixes problem with reconfiguring linux newlib build.
9889 * libc/sys/linux/sysconf.c: New file.
9891 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9893 * configure.host: Add support for machine subdirectory of
9895 * configure.in: Add check for sys machine subdirectory.
9896 * Makefile.am: Ditto.
9897 * configure: Regenerated.
9898 * Makefile.in: Ditto.
9899 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9900 * libc/sys/linux/sys/syscall.h: Ditto.
9901 * libc/sys/linux/sleep.c: New file.
9902 * libc/sys/linux/socket.c: Ditto.
9903 * libc/sys/linux/sockops.h: Ditto.
9904 * libc/sys/linux/stack.c: Ditto.
9905 * libc/sys/linux/usleep.c: Ditto.
9906 * libc/sys/linux/machine/Makefile.am: Ditto.
9907 * libc/sys/linux/machine/Makefile.in: Ditto.
9908 * libc/sys/linux/machine/aclocal.m4: Ditto.
9909 * libc/sys/linux/machine/configure: Ditto.
9910 * libc/sys/linux/machine/configure.in: Ditto.
9911 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9912 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9913 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9914 * libc/sys/linux/machine/i386/configure: Ditto.
9915 * libc/sys/linux/machine/i386/configure.in: Ditto.
9916 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9917 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9918 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9919 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9920 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9921 * libc/sys/linux/sys/select.h: Ditto.
9922 * libc/sys/linux/configure.in: Add support for machine directory.
9923 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9924 * libc/sys/linux/Makefile.in: Regenerated.
9925 * libc/sys/linux/configure: Ditto.
9926 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9927 * libc/sys/linux/inode.c: Ditto.
9928 * libc/sys/linux/linux.c: Ditto.
9929 * libc/sys/linux/process.c: Ditto.
9930 * libc/sys/linux/systat.c: Ditto.
9931 * libc/sys/linux/time.c: Ditto.
9932 * libc/sys/linux/wait.c: Ditto.
9933 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9934 * libc/sys/linux/io.c: Change header plus add readv/writev.
9935 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9936 use __sigsuspend syscall.
9937 * libc/sys/linux/select.c: Change header plus change select to
9938 use _newselect syscall.
9939 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9940 used by glibc header files.
9941 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9944 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9946 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9947 initializing a struct _reent that has been dynamically allocated.
9948 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9949 _REENT_SMALL and does nothing otherwise.
9950 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9951 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9952 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9953 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9954 [_REENT_SMALL](struct _misc_reent): New structure containing
9955 miscellaneous reentrant areas needed by newlib.
9956 [_REENT_SMALL](struct _reent): Add _misc pointer.
9957 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9958 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9959 and _REENT_STRTOK_LAST macros.
9960 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9961 and _REENT_MBLEN_STATE macros.
9962 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9963 and _REENT_MBTOWC_STATE macros.
9964 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9965 and _REENT_WCTOMB_STATE macros.
9967 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9969 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9971 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9973 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9975 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9977 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9978 Store high part of leading bytes too.
9980 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9982 * libm/math/ef_hypot.c: Increase scale factor to 68.
9984 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9986 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9989 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9991 * libc/sys/go32/access.c: Change license to relaxed license
9992 used in identical file throughout newlib/libgloss.
9994 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9996 * libc/sys/arm/access.c: New file.
9997 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9998 * libc/sys/arm/Makefile.in: Regenerate.
9999 * libc/sys/arm/syscalls.c (_stat): New function.
10001 2002-03-11 Michael Meissner <meissner@redhat.com>
10003 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
10004 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
10005 * libc/machine/mips/Makefile.in: Regenerate.
10006 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
10007 * libc/machine/mips/memset.c: Dito.
10008 * libc/machine/mips/strcmp.c: Dito.
10009 * libc/machine/mips/strlen.c: Dito.
10010 * libc/machine/mips/strncmp.c: Dito.
10012 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
10014 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
10015 object so it works for shared library or statici library.
10016 * libc/machine/i386/Makefile.in: Regenerated.
10018 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
10020 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
10021 Add memcpy.S, memset.S and strcpy.S.
10022 * libc/machine/sh/Makefile.in: Regenerate.
10023 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
10024 (SHHI, SHLO): Define.
10025 * libc/machine/sh/memset.S: Add code for SH5.
10026 * libc/machine/sh/memset.S: Likewise.
10027 * libc/machine/sh/strcpy.S: Likewise.
10029 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
10031 * configure.host: Add check for --disable-newlib-io-float
10032 configuration option and add -DNO_FLOATING_POINT to newlib cflags
10034 * acinclude.m4: Added --disable-newlib-io-float option.
10035 * aclocal.m4: Regenerated.
10036 * configure: Ditto.
10037 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10038 * libc/*/aclocal.m4 libc/*/configure
10039 * libm/*/aclocal.m4 libm/*/configure: Ditto.
10040 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
10041 if NO_FLOATING_POINT flag is not defined.
10043 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
10045 * libc/include/sys/config.h: Add __extension__ in front of
10046 long long references.
10048 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10050 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
10053 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
10055 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
10058 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
10060 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
10061 clobbered registers.
10063 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10065 * configure.host (newlib_cflags): When host is in m68* add
10068 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
10070 * libc/include/sys/config.h: Add definitions for
10071 __int16_t, __uint16_t, __int64_t, and __uint64_t.
10073 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
10075 * libc/sys/mmixware/link.c: New.
10076 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
10078 * libc/sys/mmixware/times.c (_times): Renamed from times.
10079 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
10080 properly by reading previous contents, not through BinaryReadWrite.
10081 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
10082 * libc/sys/mmixware/Makefile.in: Regenerate.
10084 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
10086 * libc/include/grp.h: Don't declare group functions when compiling
10089 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
10091 * libc/include/grp.h: Include Cygwin specific header.
10092 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
10093 when compiling for Cygwin.
10094 * libc/include/sys/types.h: Don't define off_t, uid_t
10095 and gid_t when compiling for Cygwin.
10097 2002-02-08 matthew green <mrg@redhat.com>
10099 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
10100 _REENT_EMERGENCY_SIZE, not sizeof(char *).
10102 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
10104 Contribute sh64-elf.
10105 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10106 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
10108 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
10109 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
10111 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
10112 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
10113 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
10114 * libc/machine/sh/configure.in: Rework conditionals.
10115 * libc/machine/sh/Makefile.am: Likewise.
10116 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
10117 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
10118 * configure.host: Match `sh*'.
10119 * libc/include/machine/setjmp.h: Define for SH5.
10120 * libc/machine/sh/configure.in: Detect SH5.
10121 * libc/machine/sh/configure: Rebuilt.
10122 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
10123 * libc/machine/sh/Makefile.in: Rebuilt.
10124 * libc/machine/sh/asm.h: Adjust for SH5.
10125 * libc/machine/sh/setjmp.S: Implement in SHmedia.
10126 * libc/sys/sh/crt0.S: Likewise.
10127 * libc/sys/sh/trap.S: Likewise.
10129 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
10131 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
10132 (mach_add_obj): Conditionally set to setjmp.o or nothing.
10133 (LIB_SOURCES): Remove $(mach_add_src).
10134 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
10135 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
10136 * libc/machine/i386/Makefile.in: Regenerate.
10138 2002-02-05 Manik Raina <manik@cisco.com>
10140 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
10141 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
10142 s, p, k, and outstr.
10143 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
10145 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
10147 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
10148 _REENT_CHECK_EMERGENCY macro.
10150 2002-02-03 matthew green <mrg@redhat.com>
10152 * libc/reent/signgam.c (__signgam): Fix error in previous.
10154 2002-02-02 matthew green <mrg@redhat.com>
10156 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
10158 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
10159 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
10160 * libc/include/sys/reent.h (struct _reent): Completely new version
10162 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
10163 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
10164 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
10165 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
10166 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
10167 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
10168 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
10169 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
10170 (_REENT_EMERGENCY): Likewise.
10172 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
10173 the start of the real __sFILE, used for stdin, stdout and stderr until
10174 they are setup properly.
10175 (struct __sFILE): Move location of _data in _REENT_SMALL case.
10176 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
10177 allocated stdin, stdout and stderr.
10178 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
10179 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
10180 * libc/stdio/perror.c (_perror_r): Likewise.
10181 * libc/stdio/printf.c (printf, _printf_r): Likewise.
10182 * libc/stdio/putchar.c (_putchar_r): Likewise.
10183 * libc/stdio/puts.c (_puts_r): Likewise.
10184 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
10185 * libc/stdio/vprintf.c (vprintf): Likewise.
10186 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
10188 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
10190 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
10191 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
10193 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
10194 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
10196 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
10198 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
10199 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
10200 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
10201 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
10202 * libc/stdlib/rand48.c (__dorand48): Likewise.
10203 * libc/stdlib/seed48.c (_seed48_r): Likewise.
10204 * libc/stdlib/srand48.c (_srand48_r): Likewise.
10205 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
10206 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
10207 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
10208 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
10209 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
10210 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
10211 * libc/stdlib/rand.c (rand): Likewise.
10213 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
10214 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
10216 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
10217 _REENT_MP_FREELIST() and _REENT_MP_P5S.
10218 * libc/include/sys/reent.h (struct _mprec): New structure.
10220 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
10221 _unused_strtok_last.
10222 * libc/string/strtok.c (strtok): Use a local static variable.
10224 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
10225 (_REENT_EMERGENCY_SIZE): Likewise.
10226 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
10227 _REENT_ASCTIME_BUF().
10228 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
10231 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
10232 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
10233 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
10234 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
10235 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
10236 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
10238 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
10240 * configure.host (xstormy16): Don't use the generic malloc.
10241 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
10242 * libc/machine/xstormy16/Makefile.in: Regenerate.
10243 * libc/machine/xstormy16/mallocr.c: New file.
10244 * libc/machine/xstormy16/tiny-malloc.c: New file.
10246 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
10248 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
10249 when _CYGWIN_TYPES_H is not defined.
10251 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
10253 * libc/include/sys/signal.h: Revert 2002-01-23 change.
10255 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
10257 * libc/include/sys/signal.h: Remove pthread_kill declaration
10258 when __CYGWIN__ is defined.
10260 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
10262 * libc/include/time.h: Add prototype for strptime for Cygwin.
10264 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
10266 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
10267 dst was not word aligned.
10269 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
10270 if too much memory is requested.
10272 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
10274 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
10275 reads blanks from the input file to break if EOF reached
10276 rather than end processing.
10278 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
10280 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
10282 2002-01-07 Alan Matsuoka <alanm@redhat.com>
10284 * libc/include/machine/ieeefp.h: Configure d10v doubles to
10285 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
10286 libc/include/sys/config.h: Ditto.
10288 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
10290 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
10292 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
10293 Catherine Moore <clm@redhat.com>
10294 Richard Henderson <rth@redhat.com>
10295 Corinna Vinschen <vinschen@redhat.com>
10297 * configure.host: Add support for xstormy16.
10298 * libc/include/machine/ieeefp.h: Add support for xstormy16.
10299 * libc/include/machine/setjmp.h: Add support for xstormy16.
10300 * libc/include/sys/config.h: Add support for xstormy16.
10301 * libc/machine/xstormy16/Makefile.am: New file.
10302 * libc/machine/xstormy16/Makefile.in: New file.
10303 * libc/machine/xstormy16/aclocal.m4: New file.
10304 * libc/machine/xstormy16/configure: New file.
10305 * libc/machine/xstormy16/configure.in: New file.
10306 * libc/machine/xstormy16/setjmp.S: New file.
10308 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
10310 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
10311 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
10313 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
10315 * libm/machine/Makefile.am: Change rules to create correct lib.a.
10316 * libm/machine/Makefile.in: Regenerated through automake.
10318 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10320 * Makefile.am (DOCDIR): Force to empty string when doc
10321 directory is not present.
10323 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
10325 * libc/machine/i386/f_*: Move to libm/machine/i386.
10327 2001-12-18 Joel Sherrill <joel@OARcorp.com>
10329 * libm/machine/Makefile.am: Add dummy doc stub so
10332 2001-12-17 Joel Sherrill <joel@OARcorp.com>
10334 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
10336 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
10338 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
10339 $(COMPILE) rather than $(CC).
10340 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
10341 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
10342 $(LIB_COMPILE) change.
10343 (vfiprintf.$(oext)): Likewise.
10345 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
10347 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
10348 conditionalized including of getopt stuff.
10350 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
10352 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
10354 (vfiprintf.$(oext)): Likewise.
10356 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10358 * Makefile.shared: New file.
10359 * libc/sys/linux/shared.ld: New file.
10360 * libm/machine/*: New files.
10361 * libm/machine/i386/*: New files.
10362 * Makefile.am: Add libtool support. Change math and mathfp
10363 references to variables.
10364 * configure.host: Add variables for libtool support. Add
10365 libm_machine_dir variable.
10366 * configure.in: Add objectlist variables, for libtool
10367 support. Add CC_FOR_BUILD tests.
10368 * libc/Makefile.am: Add libtool support. Change crt0.o
10369 reference to be a variable reference.
10370 * libc/configure.in: Add libtool support. Change sublib
10371 names to be lib${subdir}.la when using libtool.
10372 * libc/ctype/Makefile.am: Add libtool support.
10373 * libc/errno/Makefile.am: Likewise.
10374 * libc/locale/Makefile.am: Likewise.
10375 * libc/machine/Makefile.am: Likewise.
10376 * libc/machine/configure.in: Likewise.
10377 * libc/machine/i386/Makefile.am: Likewise.
10378 * libc/machine/i386/configure.in: Likewise.
10379 * libc/misc/Makefile.am: Likewise.
10380 * libc/posix/Makefile.am: Likewise.
10381 * libc/reent/Makefile.am: Likewise.
10382 * libc/signal/Makefile.am: Likewise.
10383 * libc/stdio/Makefile.am: Likewise.
10384 * libc/stdlib/Makefile.am: Likewise.
10385 * libc/string/Makefile.am: Likewise.
10386 * libc/sys/Makefile.am: Likewise.
10387 * libc/sys/configure.in: Likewise.
10388 * libc/sys/linux/Makefile.am: Add libtool support. Change
10389 awk reference to a variable reference. Change signal.h
10390 reference to a variable reference.
10391 * libc/sys/linux/configure.in: Add libtool support.
10392 * libc/syscalls/Makefile.am: Likewise.
10393 * libc/time/Makefile.am: Likewise.
10394 * libc/unix/Makefile.am: Likewise.
10395 * libm/Makefile.am: Add libtool support. Change math and
10396 mathfp references to variables.
10397 * libm/configure.in: Add libtool support. Add
10398 LIBM_MACHINE_LIB variable.
10399 * libm/common/Makefile.am: Add libtool support.
10400 * libm/math/Makefile.am: Likewise.
10401 * libm/mathfp/Makefile.am: Likewise.
10402 Regenerate all Makefile.in, aclocal.m4, and configure.
10404 2001-12-13 Anita Kulkarni <anitak@kpit.com>
10406 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
10408 2001-12-06 John Peacock <jpeacock@rowman.com>
10410 * libc/include/sys/unistd.h: Correct ualarm declaration.
10412 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
10414 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
10415 vector before calling the initialisation functions.
10417 2001-11-29 Christopher Faylor <cgf@redhat.com>
10419 * libc/include/dirent.h: Protect against multiple inclusion.
10421 2001-11-27 Christopher Faylor <cgf@redhat.com>
10423 * libc/include/sys/types.h: Define useconds_t.
10424 * libc/include/sys/ulimit.h: Declare ualarm.
10426 2001-11-21 Christopher Faylor <cgf@redhat.com>
10428 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
10430 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
10432 * libc/sys/mmixware/*: Tweak license header in all source files.
10434 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
10436 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
10437 to here. Rearrange for general inclusion by stdlib.h.
10438 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
10440 * libc/sys/linux/include/alloca.h: Move to libc/include.
10442 2001-11-12 Anthony Green <green@redhat.com>
10444 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
10446 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
10448 * libc/sys/mmixware/*: Correct spacing in all source files.
10449 * libc/sys/mmixware/syscall.h: Move misplaced file...
10450 * libc/sys/mmixware/sys/syscall.h: ...here.
10452 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
10454 * libc/include/machine/ieeefp.h: Add support for mmix target.
10455 * libc/include/machine/setjmp.h: Ditto.
10456 * configure.host: Ditto.
10457 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
10458 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
10459 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
10460 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
10461 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
10462 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
10463 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
10464 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
10465 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
10466 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
10467 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
10468 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
10469 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
10470 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
10471 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
10472 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
10473 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
10474 libc/sys/mmixware/aclocal.m4: Generate.
10476 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
10478 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
10479 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
10480 when __CYGWIN__ is defined.
10481 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
10484 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
10486 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
10487 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
10488 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
10489 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
10491 2001-10-24 Christopher Faylor <cgf@redhat.com>
10493 * libc/stdio/fseek.c: Reset pointer to buffer base
10494 when forced to seek outside of current buffer contents.
10495 This prevents the code from erroneously thinking there is
10496 anything in the current buffer.
10498 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
10500 * libc/include/math.h: The C++ standard adds the single-precision
10501 versions of the elementary functions.
10503 2001-10-22 Christopher Faylor <cgf@redhat.com>
10505 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
10507 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
10508 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
10509 * system.c (_system_r): Ditto.
10511 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
10513 * libc/include/sys/unistd.h: Add prototype for fchdir() when
10514 __CYGWIN__ or __rtems__ is defined.
10516 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
10518 * libc/include/stdlib.h: add declarations for
10519 _strtoull_r, _strtoll_r, strtoull, and strtoll.
10520 * libc/stdio/local.h: remove declarations of
10521 __strtoull_r and __strtoll_r.
10522 * libc/stdio/vfscanf.c(__svfscanf_r): call
10523 _strtoull_r instead of __strtoull_r. Ditto
10524 _strtoll_r vs. __strtoll_r.
10525 * libc/stdlib/Makefile.am: add new files to
10526 .c list and .def list
10527 * libc/stdlib/Makefile.in: regenerate
10528 * libc/stdlib/strtoll_r.c: rename __strtoll_r
10530 * libc/stdlib/strtoull_r.c: rename __strtoull_r
10532 * libc/stdlib/strtoull.c: new file
10533 * libc/stdlib/strtoll.c: new file
10535 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
10537 * libc/include/process.h: Add getpid() declaration.
10539 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
10541 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
10542 for new style arm/elf ctor/dtor handling.
10543 Minor formatting tidy up.
10545 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
10547 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
10549 * libc/stdlib/Makefile.in: Regenerated.
10550 * libc/stdlib/strtoll_r.c: New file.
10551 * libc/stdlib/strtoull_r.c: New file.
10552 * libc/stdio/local.h: Add prototypes for long long string
10553 conversion routines.
10554 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
10555 tied to %L integer conversion specifier.
10557 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
10559 * strftime.c (strftime): Fix "%W" implementation to properly handle
10562 2001-09-07 Jeff Law <law@redhat.com>
10564 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
10565 __fini with "mov.l" instead of "mov.w".
10567 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
10569 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
10572 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
10574 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
10576 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10578 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
10580 (__DIRENT_VERSION): New define.
10582 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
10584 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
10585 Shrink __d_reserved accordingly to keep structure size.
10586 (dirfd): Declare external.
10588 2001-08-29 Joel Sherrill <joel@OARcorp.com>
10590 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
10592 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10594 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
10595 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
10596 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
10597 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
10598 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
10599 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
10600 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
10601 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
10602 Add conditional compilation to avoid HW FPU instructions
10603 when compiled for soft-float.
10605 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10607 * Makefile.am: Add check for ln failing when creating libg.a
10608 so that cp gets used as a backup.
10609 * Makefile.in: Regenerated.
10611 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
10613 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
10614 No longer include time.h. Add struct __tm to use for
10615 _localtime_buf in the reentrant structure. Add a
10616 _NULL definition to use in initializing the reentrant struct.
10617 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
10618 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
10620 * libc/include/sys/unistd.h: Include <sys/_types.h>.
10621 * libc/time/lcltime.c (localtime): Cast the reentrant struct
10622 _localtime_buf to be struct tm *.
10624 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
10626 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
10627 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
10629 * libc/sys/h8300hms/syscalls.c: Include errno.h.
10630 (_unlink): New stub function.
10632 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
10634 * libc/include/sys/errno.h: Add a cautionary comment.
10636 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
10638 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
10639 for SIZE_SZ so that alignment ends up a minimum of 8.
10641 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
10643 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
10646 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
10649 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
10651 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
10652 macro constants for mallopt options.
10653 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
10655 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
10657 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
10660 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
10662 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
10664 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
10666 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
10667 Define for little endian ARMs.
10669 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
10670 __IEEE_BYTES_LITTLE_ENDIAN is defined.
10672 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
10674 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
10676 2001-06-11 Egor Duda <deo@logos-m.ru>
10678 * libc/ctype/ctype_.c: When compiled with gcc on platforms
10679 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
10680 initialized memory region. Platform can define COMPACT_CTYPE
10681 to avoid allocation of the additional 128 bytes of data.
10682 Add pointer to _ctype_ array. Always initialize all _ctype_
10685 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10687 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10690 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10692 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10694 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10696 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10697 matching, non-word alignment, and the length is <= 4 but more than
10698 enough to move them over a word boundary.
10699 Add comments explaining what each instruction does.
10701 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10703 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10704 * libc/include/sys/unistd.h: Ditto.
10706 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10708 * libc/string/strrchr.c: Use strchr for the speed improvements.
10710 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10712 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10713 real file systems, let __smakebuf() determine if line buffering
10714 should be used for stdout.
10716 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10718 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10720 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10722 * libc/include/stdlib.h: Add prototype for _strtod_r.
10724 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10726 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10727 * libc/stdio/vprintf.c (_vprintf_r): new function
10728 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10729 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10730 _DEFUN, and call _vfprintf_r, not vfprintf.
10731 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10732 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10733 _DEFUN, and call _vfprintf_r, not vfprintf.
10735 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10737 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10738 Cygwin X_OK definitions in sys/file.h.
10740 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10742 * libc/include/sys/time.h: Define timercmp and other macros for
10745 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10747 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10748 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10749 --enable-malloc-debugging selected.
10750 * aclocal.m4 configure: Regenerated.
10751 libm/aclocal.m4 libm/configure: Ditto.
10752 * libc/aclocal.m4 libc/configure: Ditto.
10753 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10754 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10755 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10756 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10757 * doc/aclocal.m4 doc/configure: Ditto.
10759 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10761 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10763 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10764 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10765 function prototypes.
10766 (_fscanf_r, _sscanf_r): Ditto.
10767 * libc/include/stdlib.h: Added _strtod_r prototype.
10768 * libc/stdio/Makefile.am: Add new v*scanf functions.
10769 * libc/stdio/Makefile.in: Regenerate.
10770 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10771 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10772 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10773 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10774 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10775 (_sscanf_r): New routine.
10776 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10777 with __svfscanf_r prototype.
10778 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10780 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10781 structure as argument as calls reentrant versions of helper functions
10782 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10783 to _strtol_r and _strtod_r respectively.
10784 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10785 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10787 * libc/stdio/vscanf.c: New file.
10788 * libc/stdio/vsscanf.c: Ditto.
10790 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10792 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10793 Define daylight to _daylight if it is not defined
10794 Prepare a variable export of timezone based on timezonevariable.
10795 (Cannot be used with the timezone() function.)
10797 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10799 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10800 Correct the numerical values.
10802 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10804 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10806 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10808 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10809 on case insensitve file systems.
10811 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10813 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10815 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10816 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10817 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10819 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10821 * libc/include/machine/ieeefp.h: Comment about new configuration
10822 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10823 * libm/common/fdlib.h: Define new macros for testing floats.
10824 * libm/common/sf_*: Use them.
10825 * libm/math/ef_*: Likewise.
10826 * libm/math/sf_*: Likewise.
10828 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10830 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10831 prolog to by-pass possible assembler error.
10833 2001-03-21 Egor Duda <deo@logos-m.ru>
10835 Allow building internal stubs for non-reentrant syscalls
10836 if target provides its own malloc
10837 * libc/reent/reent.c (errno): Move definition here.
10838 * libc/reent/sbrkr.c: From here.
10840 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10842 * libc/include/sys/types.h (BSD int typedefs): Guard with
10843 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10844 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10846 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10847 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10849 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10851 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10852 _PC_POSIX_SECURITY constants for Cygwin.
10854 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10856 * libc/sys/cygwin/crt0.c: Add copyright hint.
10857 * libc/sys/cygwin/sys/dirent.h: Ditto.
10858 * libc/sys/cygwin/sys/param.h: Ditto.
10859 * libc/sys/cygwin/sys/utime.h: Ditto.
10860 * libc/sys/cygwin/sys/utmp.h: Ditto.
10862 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10864 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10865 equivalent to LONGINT.
10867 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10869 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10870 jmpbuf on MIPS64 targets.
10871 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10873 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10875 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10878 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10880 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10881 For RTEMS, define to be ssize_t. Default to int if not defined.
10882 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10883 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10884 * libc/stdio/local.h (__sread, __swrite): Likewise.
10885 * libc/include/sys/reent.h (_read, _write): Likewise.
10886 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10887 * libc/syscalls/sysread.c (read): Likewise.
10888 * libc/syscalls/syswrite.c (write): Likewise.
10890 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10892 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10894 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10896 * libc/include/sys/stat.h: Use special defines for executable stat bits
10897 when compiling for Cygwin.
10898 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10901 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10903 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10904 of strtok_r is always defined.
10906 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10908 * libc/include/machine/ansi.h: New dummy header file.
10910 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10912 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10913 changed the copyright information to allow free modification of the
10914 file with no reference to "copying.dj".
10915 * libc/include/sys/stat-dj.h: Ditto.
10916 * libc/machine/i386/setjmp.S: Ditto.
10917 * libc/sys/h8300hms/sys/file.h: Ditto.
10918 * libc/sys/sysmec/access.c: Ditto.
10919 * libc/sys/sysnecv850/access.c: Ditto.
10920 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10921 * libc/stdlib/getenv_r.c: Ditto.
10922 * libc/stdlib/putenv_r.c: Ditto.
10923 * libc/stdlib/setenv_r.c: Ditto.
10924 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10925 modifications will now be in the _r version of this file.
10926 * libc/stdlib/putenv.c: Ditto.
10927 * libc/stdlib/setenv.c: Ditto.
10928 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10929 valid. Added a reference to DJ's web page that contains his address.
10930 * libc/sys/go32/*.s: Removed references to DJ's old address.
10931 * libc/sys/go32/*.c: Ditto.
10932 * libc/sys/go32/*.h: Ditto.
10933 * libc/sys/go32/*.S: Ditto.
10934 * libc/sys/go32/sys/*.h: Ditto.
10936 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10938 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10939 HAVE_FCNTL flag check.
10940 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10941 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10943 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10945 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10947 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10949 * libc/include/stdlib.h: Add declarations of rand48 functions and
10950 their reentrant versions.
10951 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10952 struct _rand48 for shared parameters of rand48 functions.
10953 (struct _reent): Add a variable _r48 of struct _rand48.
10954 (_REENT_INIT): Add _r48 initialization.
10955 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10956 (CHEWOUT_FILES): Add rand48.def.
10957 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10958 * libc/stdlib/Makefile.in: Regenerated.
10959 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10961 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10962 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10963 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10964 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10965 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10966 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10967 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10968 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10969 * libc/stdlib/rand48.c (__dorand48): Ditto.
10970 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10971 parameters into macros referring them in the reentrant structure.
10973 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10975 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10976 Cygwin definition has correct prototype.
10978 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10980 * libc/include/sys/stat.h: Must revert change for mknod
10981 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10984 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10986 * libc/include/stdio.h: Revert putw prototype.
10988 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10990 * libc/include/grp.h: add prototype for initgroups.
10991 * libc/include/stdio.h: fix prototype for putw.
10992 * libc/include/sys/signal.h: add prototype for killpg.
10993 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10994 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10995 vhangup and remove duplicate sysconf prototype.
10997 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10999 * libc/sys/rtems/sys/types.h: Removed.
11001 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
11003 * libc/include/locale.h: add LC_MESSAGES definition
11005 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
11007 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
11009 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
11010 __setup_argv_and_call_main): New.
11012 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
11014 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
11016 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
11017 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
11018 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
11019 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
11021 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
11023 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
11024 compiling under Cygwin.
11026 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
11028 * libc/include/math.h (signgam): Change to errno-like solution
11029 using a function to return the address of the real signgam.
11030 * libc/reent/signgam.c: New file containing __signgam().
11031 * libc/reent/Makefile.am: Added signgam.c to list of files.
11032 * libc/reent/Makefile.in: Regenerated.
11034 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
11036 * libc/sys/sh/syscalls.c (_times): New.
11038 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
11039 * libc/sys/sh/syscalls.c (_gettimeofday): New.
11041 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11043 * libc/include/math.h (signgam): Regress previous fix as
11044 it does not handle programs with extern int signgam in them.
11046 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11048 * libc/include/math.h (signgam): Changed to a macro refering to
11049 its location in the reentrant structure.
11051 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
11053 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
11054 that suppressed . for %.0f, 0.1. Check now looks if there
11055 are padding zeroes (expt) in addition to any digits (ndig) to
11058 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
11060 * libc/sys/arc/Makefile.am: New file.
11061 * libc/sys/arc/Makefile.in: Ditto.
11062 * libc/sys/arc/aclocal.m4: Ditto.
11063 * libc/sys/arc/configure: Ditto.
11064 * libc/sys/arc/configure.in: Ditto.
11065 * libc/sys/arc/crt0.S: Ditto.
11066 * libc/sys/arc/isatty.c: Ditto.
11067 * libc/sys/arc/mem-layout.c: Ditto.
11068 * libc/sys/arc/sbrk.c: Ditto.
11069 * libc/sys/arc/syscalls.c: Ditto.
11070 * libc/sys/arc/sys/syscall.h: Ditto.
11072 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
11074 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
11076 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
11078 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
11080 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
11082 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
11084 2001-01-09 Nick Clifton <nickc@redhat.com>
11086 * configure.host (v859): Remove unsupported compiler options.
11088 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
11090 * src/newlib/configure.host (*-*-rtems*): add printf long long
11093 2000-12-19 Graham Stott <grahams@redhat.com>
11095 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
11097 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11099 * configure.host: Turn on long double I/O for Cygwin.
11101 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
11103 * MAINTAINERS: Removed Ranjith.
11104 * NEWS: Updated for 1.9.0.
11106 * acinclude.m4: Updated to release 1.9.0.
11107 * aclocal.m4 configure
11108 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
11109 libc/machine/aclocal.m4 libc/machine/configure
11110 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
11111 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
11112 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
11113 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
11114 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
11115 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
11116 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
11117 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
11118 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
11119 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
11120 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
11121 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
11122 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
11123 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
11124 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
11125 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
11126 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
11127 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
11128 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
11129 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
11130 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11131 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11132 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11133 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
11134 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11135 libc/sys/aclocal.m4 libc/sys/configure
11136 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11137 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11138 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11139 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11140 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11141 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11142 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11143 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11144 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
11145 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11146 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11147 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11148 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11149 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11150 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11151 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11152 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11153 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11154 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11155 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11156 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11157 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11158 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11159 libm/aclocal.m4 libm/configure: Regenerated.
11161 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11163 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
11164 when __CYGWIN__ is defined.
11166 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11168 * libc/stdlib/ldtoa.c (_ldcheck): New routine
11169 that categorizes a long double as NaN, Infinity, or other.
11170 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
11171 isinfl and isnanl static routines which were i386-specific. Changed
11172 calls to the two removed routines to a single _ldcheck call.
11173 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
11175 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
11177 * Makefile.am: Fixed install-data-local target to use
11178 $(mkinstalldirs) for the installed header files to ensure
11179 the directories exist before copying.
11180 * Makefile.in: Regenerated.
11182 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
11184 * libc/include/sys/unistd.h: Restored Cygwin _SC
11185 constants and moved new constants appropriately
11186 so Cygwin will build.
11188 2000-12-11 Joel Sherrill <joel@OARcorp.com>
11190 * Merge RTEMS specific .h files into main libc/include.
11191 * libc/sys/rtems/include/signal.h: Removed.
11192 * libc/sys/rtems/include/time.h: Removed.
11193 * libc/sys/rtems/sys/features.h: Removed.
11194 * libc/sys/rtems/sys/sched.h: Removed.
11195 * libc/sys/rtems/sys/siginfo.h: Removed.
11196 * libc/sys/rtems/sys/signal.h: Removed.
11197 * libc/sys/rtems/sys/time.h: Removed.
11198 * libc/sys/rtems/sys/times.h: Removed.
11199 definitions for time_t and clock_t since these are
11200 no longer in time.h.
11201 * libc/include/pthread.h: New file.
11202 * libc/include/sys/sched.h: New file.
11203 * libc/include/sys/features.h: New file.
11204 * libc/include/time.h: Removed duplicate definition of clock_t
11205 and time_t, get them from <sys/types.h> instead. Add prototypes
11206 for POSIX clock and timer functionality.
11207 * libc/sys/linux/sys/types.h: Changed to include
11208 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
11209 * libc/include/sys/signal.h: Add more complete set of POSIX
11210 signal functionality including real-time and threaded signals.
11211 * libc/include/sys/types.h: Add clock_t, time_t, struct
11212 timespec, and struct itimerspec. Centralizing these makes
11213 things cleaner. RTEMS uses 64-bit dev_t.
11214 Added numerous primitive definitions
11215 for pthreads including macros, pthread_attr_t,
11216 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
11217 pthread_once_t, and pthread_t.
11218 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
11219 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
11220 Feature flags removed and moved to new file <sys/features.h>.
11221 Full set of POSIX sysconf() constants
11223 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
11225 * configure.host: Added x86 linux target.
11226 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
11227 definitions provided if not already defined.
11228 * libc/sys/linux/crt0.c: New file.
11229 * libc/sys/linux/Makefile.am: Ditto.
11230 * libc/sys/linux/Makefile.in: Ditto.
11231 * libc/sys/linux/aclocal.m4: Ditto.
11232 * libc/sys/linux/brk.c: Ditto.
11233 * libc/sys/linux/configure: Ditto.
11234 * libc/sys/linux/configure.in: Ditto.
11235 * libc/sys/linux/getoptlong.c: Ditto.
11236 * libc/sys/linux/ids.c: Ditto.
11237 * libc/sys/linux/inode.c: Ditto.
11238 * libc/sys/linux/io.c: Ditto.
11239 * libc/sys/linux/linux.c: Ditto.
11240 * libc/sys/linux/process.c: Ditto.
11241 * libc/sys/linux/realpath.c: Ditto.
11242 * libc/sys/linux/select.c: Ditto.
11243 * libc/sys/linux/signal.c: Ditto.
11244 * libc/sys/linux/systat.c: Ditto.
11245 * libc/sys/linux/termios.c: Ditto.
11246 * libc/sys/linux/time.c: Ditto.
11247 * libc/sys/linux/wait.c: Ditto.
11248 * libc/sys/linux/include/alloca.h: Ditto.
11249 * libc/sys/linux/include/getopt.h: Ditto.
11250 * libc/sys/linux/include/stdint.h: Ditto.
11251 * libc/sys/linux/include/unistd.h: Ditto.
11252 * libc/sys/linux/sys/cdefs.h: Ditto.
11253 * libc/sys/linux/sys/dirent.h: Ditto.
11254 * libc/sys/linux/sys/errno.h: Ditto.
11255 * libc/sys/linux/sys/fcntl.h: Ditto.
11256 * libc/sys/linux/sys/file.h: Ditto.
11257 * libc/sys/linux/sys/ioctl.h: Ditto.
11258 * libc/sys/linux/sys/resource.h: Ditto.
11259 * libc/sys/linux/sys/signal.h: Ditto.
11260 * libc/sys/linux/sys/stat.h: Ditto.
11261 * libc/sys/linux/sys/syscall.h: Ditto.
11262 * libc/sys/linux/sys/termios.h: Ditto.
11263 * libc/sys/linux/sys/time.h: Ditto.
11264 * libc/sys/linux/sys/types.h: Ditto.
11265 * libc/sys/linux/sys/utmp.h: Ditto.
11266 * libc/sys/linux/sys/utsname.h: Ditto.
11267 * libc/sys/linux/sys/wait.h: Ditto.
11269 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11271 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
11272 can be a relative path to $(top_srcdir)/install.sh so ensure the
11273 autoconf detected settings are properly passed recursively.
11274 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
11275 properly to subdirectories.
11276 * Makefile.in: Regenerated.
11278 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
11280 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
11281 a floating point register unless really printing a floating
11284 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
11286 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
11288 (asctoeg): Replaced alloca call with stack array and malloc
11289 when storage exceeds reasonable limit.
11290 (e53toe): Fixed einfin calls missing ldp parameter.
11291 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
11293 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11296 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
11298 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
11300 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
11301 * libc/stdlib/Makefile.in: Regenerated.
11302 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
11303 * libc/stdio/vfieeefp.h: Added long double bit structures.
11304 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
11305 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
11306 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
11307 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
11308 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
11309 _strtold routines used for conversions between character
11312 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11314 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
11316 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11318 * libc/include/machine/time.h: RTEMS systems can configure clock
11319 tick rate so use sysconf() to ask.
11321 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11323 * libc/include/sys/times.h: Add reference to POSIX standard.
11325 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11327 * libc/include/sys/time.h: Added BSD timer manipulation macros
11328 used by RTEMS code.
11330 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11332 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
11333 referenced by code generated by gcc 2.8.1.
11334 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
11337 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11339 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
11341 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11343 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
11345 2000-12-04 Joel Sherrill <joel@OARcorp.com>
11347 * configure.host (or16, or32): New entries for OpenCores
11349 (*-*-rtems*): Add -DNO_EXEC.
11351 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
11353 * libc/include/sys/errno.h: Added comments on many error numbers.
11354 * libc/string/strerror.c: Added some more strings.
11356 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
11358 * libc/sys/sh/syscalls.c (_link): New stub.
11360 2000-11-29 Nick Clifton <nickc@redhat.com>
11362 * configure.host: Add xscale target.
11363 * libc/machine/xscale: New directory.
11364 * libc/machine/xscale/Makefile.am: New file.
11365 * libc/machine/xscale/Makefile.in: New file.
11366 * libc/machine/xscale/aclocal.m4: New file.
11367 * libc/machine/xscale/configure: New file.
11368 * libc/machine/xscale/configure.in: New file.
11369 * libc/machine/xscale/memchr.S: New file.
11370 * libc/machine/xscale/memcmp.S: New file.
11371 * libc/machine/xscale/memcpy.S: New file.
11372 * libc/machine/xscale/memmove.S: New file.
11373 * libc/machine/xscale/memset.S: New file.
11374 * libc/machine/xscale/strchr.S: New file.
11375 * libc/machine/xscale/strcmp.S: New file.
11376 * libc/machine/xscale/strcpy.S: New file.
11377 * libc/machine/xscale/strlen.S: New file.
11379 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11381 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
11382 avoid compiler warnings.
11384 2000-11-22 Michael Meissner <meissner@redhat.com>
11386 * libc/posix/execl.c (execl): Don't reference environ directly,
11387 reference it only via a static pointer to avoid problems with some
11388 shared library systems and with different uses of small data where
11389 the user specifies his own version of environ.
11390 * libc/posix/execv.c (execv): Ditto.
11391 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
11392 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
11393 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
11395 * libc/stdlib/getenv.c (environ): Delete unused reference to
11398 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
11400 * libc/stdlib/system.c: Ditto.
11402 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
11404 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
11405 including windows headers.
11407 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
11409 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
11410 * libc/include/dirent.h: Added definition of MAXNAMLEN if
11411 not defined by sys/dirent.h.
11412 * libc/posix/execvp.c: Added include of dirent.h to get
11413 MAXNAMLEN value which used to be in unistd.h.
11415 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11417 * libc/include/sys/types.h: Change type of i to `size_t' in
11418 FD_ZERO macro to avoid compiler warnings.
11420 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
11422 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
11423 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
11425 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
11427 * libc/include/sys/unistd.h: Add defines for sysconf values
11428 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
11431 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
11433 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
11434 declarations for __CYGWIN__.
11436 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
11438 * libc/signal/signal.c (__sigtramp_r): ISO C requires
11439 case labels to be integral constant expressions, so
11440 use an if/else tree instead.
11441 (_raise_r): Likewise.
11443 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
11445 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
11446 clipping patch from e-mail reader.
11448 2000-09-13 Will Cohen <wcohen@redhat.com>
11450 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
11451 Added return value 0.
11452 (_longjmp): Allow longjmp to return value of second argument
11455 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
11457 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
11458 inline code to prevent having to include another header file.
11460 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
11462 * Makefile.am: Fix space vs. tab problem in install-data-local.
11463 * Makefile.in: Regenerate.
11465 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
11467 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
11468 (_EXPARM): New macro for defining a function parameter.
11469 * libc/include/stdlib.h: Use _EXPARM.
11470 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
11472 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
11474 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
11475 required, as documented in the gnu coding standards.
11476 * Makefile.in: Regenerate.
11478 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
11480 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
11481 make O_NDELAY and O_NONBLOCK have the same value.
11483 2000-08-30 Kazu Hirata <kazu@hxi.com>
11485 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
11487 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
11489 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
11490 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
11491 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
11494 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
11496 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
11497 * libc/include/string.h: Don't include <sys/types.h>,
11498 as it causes really bad namespace pollution. Don't declare
11499 swab(), it is properly declared in unistd.h.
11501 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
11503 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
11504 (broken) support for non-existent /etc/passwd field "comment".
11506 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11508 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
11509 only if _DIRENT_HAVE_D_NAMLEN is defined.
11510 (alphasort): aligned prototype with
11511 libc/sys/cygwin/sys/dirent.h and simplified function body.
11512 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
11513 long telldir (DIR *) as mentioned in annex B of POSIX.1
11515 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
11517 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
11518 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
11519 Added __CLI and __STI macros (controlled via
11520 _I386MACH_ALLOW_HW_INTERRUPTS macro).
11521 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
11522 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
11523 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
11524 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
11525 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
11526 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
11527 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
11528 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
11529 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
11530 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
11531 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
11532 for all global entry points.
11533 * libc/machine/i386/setjmp.S: removed code replicated in
11534 libc/machine/i386/i386mach.h and included i386mach.h instead;
11535 Use __CLI and __STI instead of cli and sti.
11537 2000-08-25 DJ Delorie <dj@redhat.com>
11539 * libc/include/sys/unistd.h (environ): this one isn't from the
11542 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
11544 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
11545 environ when compiling under cygwin since it is already declared in
11548 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11550 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
11551 like x << y-z to the equivalent x << (y-z).
11552 (d2b): changed if statements with assignment to perform the
11553 assignment prior to the if check.
11554 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
11555 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
11556 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
11557 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
11559 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
11560 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
11562 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
11564 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
11565 clarify && and || precendence (and to remove pascalism).
11566 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
11567 * libm/math/s_infconst.c: added another pair of braces to all
11568 initializers for __infinity (need three: for __infinity[1] array,
11569 for union __dmath, and for i[2]).
11571 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11573 * libc/stdlib/abort.c: changed description: uses "raise" instead of
11574 "getpid" and "kill"; added: uses "write" and "_exit".
11575 Also included unistd.h for "_exit" prototype.
11576 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
11577 reent.h for "_fork_r" and "_wait_r" prototypes.
11578 (do_system): changed extern char *environ[] to POSIX-friendly
11579 extern char **environ.
11580 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
11582 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
11583 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
11584 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
11585 * libc/reent/openr.c: included fcntl.h for "open" prototype.
11586 * libc/reent/signalr.c: included signal.h for "kill" prototype,
11587 unistd.h for "getpid" prototype.
11588 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
11589 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
11590 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
11591 prototype. Also included stdlib.h for "abort", string.h for
11592 "strdup" and "strncmp" prototypes.
11593 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
11594 "strncpy", unistd.h for "read" and "close" prototypes.
11595 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
11596 "strcat" prototypes.
11598 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
11600 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
11601 used later (ifdef __SCLE)
11602 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
11603 used later (ifdef MB_CAPABLE)
11604 * libc/string/memset.c (memset): removed unused variables "count"
11605 and "unaligned_addr"
11606 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
11607 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
11608 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
11611 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
11613 * libc/stdlib/envlock.c: changed documented "__env_lock" and
11614 "__env_unlock" prototype from "void *" or "char *" to
11615 "struct _reent *" to match real function. Also added include
11617 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
11618 "__malloc_unlock" prototype from "void *" or "char *" to
11619 "struct _reent *" to match real function.
11620 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
11621 prototypes (for getenv_r.c and setenv_r.c).
11623 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
11625 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
11626 and prototype in cygwin's utmp.h
11628 2000-08-16 Eric Fifer <efifer@sanwaint.com>
11630 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
11632 2000-08-09 Nick Clifton <nickc@cygnus.com>
11634 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
11635 epilogue and to allow the functions to be used in a Thumb based
11638 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
11640 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
11641 so size of 0 results in nothing being written to string.
11642 Also fixed code so that when size is non-zero, there is only
11643 a maximum of size - 1 characters written to the array and
11644 a nul terminator is appended at the end.
11645 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
11647 2000-08-01 DJ Delorie <dj@redhat.com>
11649 * libc/include/sys/config.h: define __IMPORT appropriately
11650 * libc/include/ctype.h (_ctype_): use __IMPORT
11651 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
11652 * libc/include/math.h (__mb_cur_max): ditto
11653 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
11654 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
11655 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
11656 * libc/include/unistd.h (environ): ditto
11658 2000-07-28 Michael Meissner <meissner@redhat.com>
11660 * libc/include/math.h (__infinity): Declare as an array without
11661 bounds to get around small data support. Rewrite Cygwin support
11662 to be more general.
11663 * libm/math/s_infconst.c (__infinity): Ditto.
11664 * libm/mathfp/s_infconst.c (__infinity): Ditto.
11666 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
11668 * libc/include/math.h: Use appropriate dll import linkage for
11669 __infinity under Cygwin.
11671 2000-07-13 DJ Delorie <dj@cygnus.com>
11673 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
11675 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
11677 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
11678 to argument list for AngelSWI_Reason_GetCmdLine.
11680 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11682 * configure.host: Add support for AVR target.
11683 * libc/include/machine/ieeefp.h: Likewise.
11684 * libc/include/sys/config.h: Likewise.
11686 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11688 * README: Newlib 1.8.2 must be built in a separate directory
11691 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11693 * libc/include/sys/reent.h (_rand_next): Added __extension__
11694 qualifier as long long type is not strict ANSI.
11695 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11696 to long long constant.
11698 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11700 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11701 `setegid' provided by Cygwin.
11703 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11705 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11706 account for Cygwin.
11708 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11710 * libc/include/sys/reent.h (_rand_next): Changed to
11711 unsigned long long and moved to end of _reent struct in _new union.
11712 (_REENT_INIT): Changed to move _rand_next initialization.
11713 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11714 linear congruential algorithm that is used by DJGPP.
11716 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11718 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11719 * libc/include/sys/config.h: Define __RAND_MAX.
11721 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11723 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11726 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11728 * libc/include/string.h: Work around problem with strsignal and gdb.
11730 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11732 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11733 * libc/include/malloc.h: Ditto.
11734 * libc/include/process.h: Ditto.
11735 * libc/include/stdio.h: Ditto.
11736 * libc/include/stdlib.h: Ditto.
11737 * libc/include/time.h: Ditto.
11738 * libc/include/machine/setjmp.h: Ditto.
11739 * libc/include/sys/errno.h: Ditto.
11740 * libc/include/sys/signal.h: Ditto.
11741 * libc/include/sys/stat.h: Ditto.
11742 * libc/include/sys/time.h: Ditto.
11743 * libc/include/sys/unistd.h: Ditto.
11744 * libc/include/string.h: Ditto. strsignal should return a const char *.
11746 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11748 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11749 * libm/common/s_log1p.c (log1p): Likewise.
11750 * libm/common/s_scalbn.c (scalbn): Likewise.
11751 * libm/math/e_log.c: Likewise.
11752 * libm/math/e_asin.c: Likewise.
11753 * libm/math/ef_asin.c: Likewise.
11754 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11755 * libm/math/e_j1.c (pone, qone): Likewise.
11756 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11757 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11758 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11759 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11760 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11761 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11763 2000-05-19 DJ Delorie <dj@cygnus.com>
11765 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11766 (__sread): always read in binary mode
11767 (__swrite): always write in binary mode
11768 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11769 compatibility issues with different dll versions
11770 * libc/stdio/fopen.c: use __stextmode
11771 * libc/stdio/fdopen.c: ditto
11772 * libc/stdio/freopen.c: ditto
11773 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11774 * libc/stdio/local.h: declare __stextmode
11776 2000-05-18 DJ Delorie <dj@cygnus.com>
11778 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11780 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11782 * libc/include/ctype.h: Changed tolower and toupper macros
11783 to use __extension__ to prevent pedantic warnings.
11785 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11787 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11790 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11792 * libc/include/machine/ieeefp.h: Add ia64 support.
11793 * configure.host: Likewise.
11795 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11797 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11798 month is now padded with space, not zero. This now conforms to
11801 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11803 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11804 host or network path") used by cygwin. Add some comments.
11806 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11808 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11809 endings" for Cygwin.
11810 (__sgetc): convert line endings if needed
11812 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11813 * libc/stdio/fopen.c (_fopen_r): ditto
11814 * libc/stdio/freopen.c (freopen): ditto
11815 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11816 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11818 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11820 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11821 post-increment when it is worth it, spacewise.
11823 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11825 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11826 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11827 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11829 * libc/stdio/putchar.c (putchar): Added return statement.
11830 * libc/stdio/refill.c (lflush): Added correct parentheses.
11831 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11832 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11833 prints long value to use l qualifier.
11834 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11835 messages and initialized local values: ilim, ilim1, and spec_case.
11836 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11837 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11838 * libc/stdlib/mprec.c: Ditto.
11839 * libc/stdlib/setenv_r.c: Ditto.
11840 * libc/stdlib/strtod.c: Ditto.
11841 * libc/stdlib/strtol.c: Ditto.
11842 * libc/stdlib/strtoul.c: Ditto.
11843 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11844 * libm/common/sf_log1p.c: Ditto.
11845 * libm/common/sf_scalbn.c: Ditto.
11846 * libm/math/ef_log.c: Ditto.
11848 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11850 * libc/posix/execvp.c (execvp): Check path for
11853 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11855 * libc/include/sys/unistd.h: Add prototypes for
11856 fchmod, fchown, lchown.
11858 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11860 * acinclude.m4: Changed release to 1.8.2.
11861 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11862 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11863 libc/machine/configure libc/machine/a29k/aclocal.m4
11864 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11865 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11866 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11867 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11868 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11869 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11870 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11871 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11872 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11873 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11874 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11875 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11876 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11877 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11878 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11879 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11880 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11881 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11882 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11883 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11884 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11885 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11886 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11887 libc/machine/z8k/configure libc/sys/aclocal.m4
11888 libc/sys/aclocal.m4 libc/sys/configure
11889 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11890 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11891 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11892 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11893 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11894 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11895 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11896 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11897 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11898 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11899 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11900 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11901 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11902 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11903 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11904 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11905 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11906 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11907 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11908 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11909 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11910 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11911 libm/aclocal.m4 libm/configure: Regenerated.
11913 2000-03-24 Nick Clifton <nickc@cygnus.com>
11915 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11916 (do_AngelSWI): Add "cc" to list o registers clobbered.
11918 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11920 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11921 information to be clobbered by an Angel C library support syscall.
11923 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11925 * libc/stdlib/envlock.c: Fixed comment typo.
11927 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11929 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11930 code to update nread as each character is processed instead
11931 of using buffer contents which throw away leading zeroes.
11933 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11935 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11937 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11939 * libc/include/string.h: Include <sys/types.h>.
11941 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11943 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11944 with XSH5, not SVID.
11946 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11948 * libc/include/string.h: Changed last argument back to ssize_t
11949 to make it compatible with XPG4 definition which is
11950 defined in <unistd.h>. There is a conflict in the SVID 3
11951 and XPG4 definitions and newlib will settle with XPG4.
11952 * libc/string/swab.c: Ditto.
11954 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11956 * libc/include/string.h: Changed last argument to size_t.
11957 * libc/string/swab.c: Changed last argument to size_t.
11959 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11961 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11962 (CHEWOUT_FILES): Added unlinkr.def.
11963 * libc/reent/Makefile.in: Rebuilt.
11964 * libc/sys.tex: Include unlinkr.def.
11965 * libc/reent/linkr.c (_unlink_r): Moved to...
11966 * libc/reent/unlinkr.c: ... new file.
11968 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11970 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11971 (CHEWOUT_FILES): Added swab.def.
11972 * libc/string/Makefile.in: Rebuilt.
11973 * libc/string/string.tex: Include swab.def.
11974 * libc/include/string.h (swab): Declare.
11975 * libc/string/swab.c: New file.
11977 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11979 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11980 (CHEWOUT_FILES): Added getw.def and putw.def.
11981 * libc/stdio/Makefile.in: Rebuilt.
11982 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11983 * libc/stdio/getw.c: New file.
11984 * libc/stdio/putw.c: New file.
11986 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11988 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11989 is non-null before looking at mode[2].
11991 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11993 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11994 * libm/mathfp/sf_atan.c: Ditto.
11996 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11998 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
12000 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
12002 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
12005 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
12007 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
12008 call prior to calling _VFPRINTF_R so reentrant data area is set.
12009 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
12011 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12013 * libc/stdio/vfscanf.c (limits.h): #include.
12014 (MAX_LONG_LEN): #define.
12015 (__svfscanf): Handle floating point numbers with arbitrary amounts
12018 2000-02-15 Nick Clifton <nickc@cygnus.com>
12020 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
12021 zero. Set the blocksize to 1024/
12023 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
12025 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
12026 with line buffering.
12028 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
12030 * acinclude.m4: Changed include directory for winsup headers.
12031 * aclocal.m4 configure libc/aclocal.m4
12032 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
12033 libc/locale/Makefile.in libc/machine/aclocal.m4
12034 libc/machine/configure libc/machine/a29k/aclocal.m4
12035 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
12036 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
12037 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
12038 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
12039 libc/machine/fr30/configure
12040 libc/machine/h8300/aclocal.m4
12041 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
12042 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
12043 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
12044 libc/machine/i386/configure libc/machine/i960/aclocal.m4
12045 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
12046 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
12047 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
12048 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
12049 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
12050 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
12051 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
12052 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
12053 libc/machine/powerpc/configure
12054 libc/machine/sh/aclocal.m4
12055 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
12056 libc/machine/sparc/configure
12057 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
12058 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
12059 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
12060 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
12061 libc/misc/Makefile.in libc/posix/Makefile.in
12062 libc/reent/Makefile.in
12063 libc/signal/Makefile.in
12064 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
12065 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
12066 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
12067 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
12068 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
12069 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
12070 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
12071 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
12072 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
12073 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
12074 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
12075 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
12076 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
12077 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
12078 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
12079 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
12080 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
12081 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
12082 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
12083 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
12084 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
12085 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
12086 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
12087 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
12088 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
12089 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
12090 libm/configure: Regenerated.
12092 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
12094 * libc/stdlib/putenv_r.c (_putenv_r): New file.
12095 * libc/stdlib/strdup_r.c (_strdup_r): New file.
12096 * libc/include/string.h: Added _strdup_r.
12097 * libc/stdlib/putenv.c: Added call to reentrant version.
12098 * libc/stdlib/strdup.c: Ditto.
12099 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
12100 * libc/include/stdlib.h: Ditto.
12101 * libc/stdlib/Makefile.in: Regenerated.
12102 * libc/string/Makefile.in: Regenerated.
12103 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
12104 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
12105 management calls to reentrant versions.
12106 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
12107 * libc/stdlib/wctomb.c: Ditto.
12108 * libc/stdlib/mblen.c: Ditto.
12109 * libc/stdlib/mbstowcs.c: Ditto.
12110 * libc/stdlib/mbtowc.c: Ditto.
12111 * libc/stdlib/getenv.c: Ditto.
12112 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
12115 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
12117 patch from Corinna Vinschen <corinna@vinschen.de>
12118 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
12120 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
12122 * libm/mathfp/s_atangent.c: Fix exponent calculation.
12123 * libm/mathfp/s_ldexp.c: Ditto.
12124 * libm/mathfp/sf_atangent.c: Ditto.
12125 * libm/mathfp/sf_ldexp.c: Ditto.
12127 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12129 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
12130 * libc/include/locale.h: define NULL to be 0.
12132 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
12134 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
12137 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
12139 * libc/machine/mn10300/setjmp.S: Handle am33.
12141 1999-11-26 Nick Clifton <nickc@cygnus.com>
12143 * libc/sys/arm/syscalls.c: Add function prototypes.
12144 (stack_ptr): Move declaration before function definitions.
12146 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12148 * NEWS: Updated version information.
12151 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
12153 * libc/machine/i386/strchr.S: Fixed alignment test.
12155 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
12157 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
12159 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
12161 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
12162 ensuring that there is space between the two.
12164 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
12166 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
12169 1999-10-08 Vadim Egorov <egorovv@1c.ru>
12171 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
12174 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
12176 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
12177 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
12179 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
12180 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
12182 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
12185 1999-09-13 DJ Delorie <dj@cygnus.com>
12187 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
12190 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12192 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
12193 also note BUFSIZ as its size.
12195 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
12197 * configure.host: Corrected feature defines for RTEMS.
12198 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
12199 * libc/include/sys/stat.h: mkfifo() should take const path arg.
12200 * libc/include/sys/unistd.h: pathconf() should take const path arg.
12201 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
12202 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
12203 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
12204 _PC_PRIO_IO, and _PC_SYNC_IO.
12205 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
12206 * libc/machine/m68k/Makefile.in: Regenerated.
12207 * libc/machine/m68k/strcpy.c: New file.
12208 * libc/machine/m68k/strlen.c: New file.
12209 * libc/stdio/tmpnam.c: Always make the returned name usable.
12210 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
12211 * libc/sys/rtems/sys/dirent.h: New file.
12212 * libc/sys/rtems/sys/types.h: Added dev_t.
12214 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
12216 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
12218 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
12220 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
12223 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
12225 patch from Jeff Johnston <jjohnstn@cygnus.com>
12226 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
12227 buffer is not in a useful state.
12229 1999-09-01 Nick Clifton <nickc@cygnus.com>
12231 * libc/sys/arm/syscalls.c (_link): Add stub.
12233 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12235 * ftell.c (ftell): Use actual position within buffer for text mode.
12236 * findfp.c (std): Initialize ptr->_bf._size.
12238 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
12240 * libc/include/sys/unistd.h: Add nice() declaration.
12242 1999-08-09 Nick Clifton <nickc@cygnus.com>
12244 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
12245 declare as a thumb function so that the disassembler will see the
12248 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12250 * libc/reent/reent.tex: Updated list of reentrant functions.
12252 1999-07-09 Michael Meissner <meissner@cygnus.com>
12254 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
12256 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
12258 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
12260 * libc/stdio/snprintf.c: New file.
12261 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
12263 * libc/stdio/vsnprintf.c: New file.
12264 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
12265 * libc/stdio/Makefile.in: Regenerated.
12267 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
12269 Patch submitted by Egor Duda <deo@logos-m.ru>:
12270 * libc/include/stdio.h: Add declarations for *nprintf.
12271 * libc/stdio/sprintf.c (snprintf): New function.
12272 (_snprintf_r): New function.
12273 * libc/stdio/vsprintf.c (vsnprintf): New function.
12274 (_vnsprintf_r): New function.
12276 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12278 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
12279 * libm/Makefile.am (stmp-targetdep): Ditto.
12280 * libc/Makefile.in: Regenerated.
12281 * libm/Makefile.in: Ditto.
12283 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12285 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
12286 * libm/Makefile.am (stmp-targetdep): Ditto.
12287 * libc/Makefile.in: Regenerated.
12288 * libm/Makefile.in: Ditto.
12290 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
12292 * Makefile.am: Removed dependencies on all-recursive and added "."
12293 to the SUBDIRS list to prevent infinite recursion from occurring.
12294 Also removed any references to EXTRA_DATA.
12295 * libc/Makefile.am: Ditto.
12296 * libc/machine/Makefile.am: Ditto.
12297 * libc/machine/i386/Makefile.am: Ditto.
12298 * libm/Makefile.am: Ditto.
12299 * libc/sys/Makefile.am: Ditto.
12300 * Makefile.in: Regenerated.
12301 * aclocal.m4: Ditto.
12302 * configure: Ditto.
12303 * doc/Makefile.in: Ditto.
12304 * doc/aclocal.m4: Ditto.
12305 * doc/configure: Ditto.
12306 * libc/Makefile.in: Ditto.
12307 * libc/aclocal.m4: Ditto.
12308 * libc/configure: Ditto.
12309 * libc/machine/Makefile.in: Ditto.
12310 * libc/machine/aclocal.m4: Ditto.
12311 * libc/machine/configure: Ditto.
12312 * libc/machine/mn10300/Makefile.in: Ditto.
12313 * libc/machine/mn10300/aclocal.m4: Ditto.
12314 * libc/machine/mn10300/configure: Ditto.
12315 * libc/sys/Makefile.in: Ditto.
12316 * libc/sys/aclocal.m4: Ditto.
12317 * libc/sys/configure: Ditto.
12318 * libm/Makefile.in: Ditto.
12319 * libm/aclocal.m4: Ditto.
12320 * libm/configure: Ditto.
12322 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12324 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
12326 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12328 * libc/include/stdlib.h: Add reentrant routines.
12329 * libc/stdlib/Makefile.am: Add reentrant routines.
12330 * libc/stdlib/Makefile.in: Ditto.
12331 * libc/stdlib/envlock.c: New file.
12332 * libc/stdlib/envlock.h: New file.
12333 * libc/stdlib/getenv.c: Modify to call reentrant routine.
12334 * libc/stdlib/getenv_r.c: New file.
12335 * libc/stdlib/mblen.c: Modify to call reentrant routine.
12336 * libc/stdlib/mblen_r.c: New file.
12337 * libc/stdlib/setenv.c: Modify to call reentrant routine.
12338 * libc/stdlib/setenv_r.c: New file.
12339 * libc/stdlib/stdlib.tex: Add reentrant routines.
12341 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
12343 * libc/include/sys/types.h: Define __MS_types__ whenever
12346 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
12348 * libc/include/machine/ieeefp.h: Always default to little
12349 endian if Windows, regardless of architecture.
12350 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
12351 regardless of architecture.
12353 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
12355 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
12356 _WIN32 isn't defined.
12358 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
12360 * libm/common/s_rint.c (rint): Add volatile qualifier for
12361 intermediate value w.
12362 * libm/common/sf_rint.c (rintf): Ditto.
12364 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
12366 * libc/sys/arm/syscalls.c (remap_handle): Added check to
12367 ensure that std streams are initialized before being referenced.
12369 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
12371 * README: Update reference to newlib@cygnus.com new
12372 newlib@sourceware.cygnus.com address.
12374 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
12376 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
12377 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
12378 defined, even if _WIN32 isn't defined.
12380 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
12382 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
12384 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12386 * libc/include/sys/reent.h: Change Long and ULong to __Long and
12388 * libc/stdlib/dtoa.c: Ditto.
12389 * libc/stdlib/mprec.c: Ditto.
12390 * libc/stdlib/mprec.h: Ditto.
12391 * libc/stdlib/strtod.c: Ditto.
12393 1999-04-21 Nick Clifton <nickc@cygnus.com>
12395 * configure.host (mcore): Remove mcore machine directory.
12397 1999-04-18 Nick Clifton <nickc@cygnus.com>
12399 * libc/include/machine/ieeefp.h: Add support for mcore target.
12400 * libc/include/machine/setjmp.h: Add support for mcore target.
12401 * configure.host: Add support for mcore target.
12403 1999-04-13 Mark Salter <msalter@cygnus.com>
12405 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
12406 * libc/sys/arm/syscalls.c: Added isatty.
12408 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12410 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
12411 insert zeroes after significant digits.
12413 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12415 * libc/stdio/vfprintf.c (cvt): Changed floating point
12416 cvt routine to use union used by dtoa to properly determine
12417 if the sign bit is on or not.
12418 * libc/stdio/vfieeefp.h: New file
12420 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12422 * aclocal.m4: Regenerated.
12423 * configure: Regenerated.
12425 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
12427 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
12429 * libc/machine/i386/Makefile.in: Regenerated.
12431 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
12433 * acinclude.m4: Changed to work with new automake.
12434 * configure: Regenerated.
12435 * libc/machine/i386/aclocal.m4: Regenerated.
12436 * libc/machine/i386/configure: Regenerated.
12438 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
12440 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
12441 for telldir() and seekdir(). Rename unused structure element
12442 for use with these two routines.
12444 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
12446 * libc/time/mktime.c (validate_structure): Multiple fixes to
12447 code to handle cases where input fields are outside valid ranges.
12448 * libc/stdlib/div.c (div): Modified invalid rounding check.
12449 * libc/stdlib/ldiv.c (ldiv): Ditto.
12451 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
12453 * libc/machine/i386/memcpy.S: Performance rewrite.
12454 * libc/machine/i386/memmove.S: Ditto.
12455 * libc/machine/i386/i386mach.h: Added more register definitions.
12456 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
12458 * libc/include/machine/fastmath.h: Add definitions for x86
12459 fast-math routines.
12461 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12463 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
12465 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
12467 Adjust newlib headers for new Cygwin Win32 API header files:
12468 * libc/include/sys/time.h: Check _WINSOCK_H rather than
12469 _GNU_H_WINDOWS32_SOCKETS.
12470 * libc/include/sys/types.h: Ditto.
12472 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
12474 *include/sys/reent.h: Add checks for size of Bigint element Long.
12475 *libc/dtoa.c: Change routines to use generic Long type.
12476 *libc/mprec.c: Change routines to use generic Long type.
12477 *libc/mprec.h: Change routines to use generic Long type.
12479 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
12481 * libc/Makefile.am: Add .def files.
12482 * libc/Makefile.in: Regenerate.
12483 * libc/e_acosh.c: Documentation update.
12484 * libc/e_atanh.c: Documentation update.
12485 * libc/e_hypot.c: Documentation update.
12486 * libc/e_remainder.c: Documentation update.
12487 * libc/er_lgamma.c: Documentation update.
12488 * libc/mathfp.tex: Documentation update.
12489 * libc/s_acos.c: Documentation update.
12490 * libc/s_atan.c: Documentation update.
12491 * libc/s_atan2.c: Documentation update.
12492 * libc/s_cosh.c: Documentation update.
12493 * libc/s_fmod.c: Documentation update.
12494 * libc/s_isnan.c: Documentation update.
12495 * libc/s_log10.c: Documentation update.
12496 * libc/s_pow.c: Documentation update.
12497 * libc/w_jn.c: Documentation update.
12499 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
12501 * aclocal.m4: Regenerate.
12502 * configure: Regenerate.
12504 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
12506 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
12507 to return 1 if user specified return code is 0.
12508 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
12510 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
12512 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
12513 to save the return address. Fixed longjmp to return to the original
12514 calling address of setjmp and to return the user specified return code
12515 rather than default to 1.
12516 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
12518 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
12520 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
12522 1999-02-10 Nick Clifton <nickc@cygnus.com>
12524 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
12525 volatile so that its assignments will not be discarded.
12527 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
12529 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
12530 be __STRICT_ANSI__ which is generated by compiler.
12531 * libc/include/ctype.h: Ditto.
12532 * libc/include/math.h: Ditto.
12533 * libc/include/stdio.h: Ditto.
12534 * libc/include/stdlib.h: Ditto.
12535 * libc/include/string.h: Ditto.
12536 * libc/include/sys/signal.h: Ditto.
12538 1999-02-08 Nick Clifton <nickc@cygnus.com>
12540 * configure.host: Add support for StrongARM target.
12542 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
12544 * libc/string/strncpy.c (strncpy): Removed redundant code
12545 that was copying bytes if data unaligned.
12547 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
12549 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
12550 mbstowcs.def, and wcstombs.def.
12552 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
12554 * libc/include/sys/errno.h: Add Cygwin errno.
12555 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
12558 1999-01-29 Nick Clifton <nickc@cygnus.com>
12560 * libc/sys/arm/syscalls.c: Move C library functions into seperate
12563 * libc/sys/arm/libcfunc.c: New file containing C library functions
12566 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
12567 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
12570 1999-01-27 Michael Meissner <meissner@cygnus.com>
12572 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
12573 type, and cut size in half so that the jmp_buf array is guaranteed
12574 to be aligned on a 64-bit boundary.
12576 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
12578 * libc/string/strings.tex: Added information about
12579 strcasecmp and strncasecmp.
12580 * libc/stdlib/stdlib.tex: Added missing information
12581 about mblen, mbstowcs, and wcstombs.
12582 * libc/string/strchr.c: Changed how mask is built to use
12583 shift operators so register will be used instead of storage.
12585 1999-01-22 DJ Delorie <dj@cygnus.com>
12587 * libc/include/stdlib.h: don't use dllimport if we're building
12588 newlib, since it's inside cygwin.dll
12590 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
12592 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
12593 _ctype_ under cygwin.
12595 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
12597 * include/stdlib.h: Fix typo from previous checkin.
12599 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
12601 * include/ctype.h: Use __declspec(dllimport) method for exporting
12602 variable from cygwin DLL.
12603 * include/time.h: Ditto.
12604 * sys/errno.h: Ditto.
12605 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
12606 * libc/locale/locale.c: Use __declspec(dllexport) method for
12607 exporting variable from cygwin DLL.
12609 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
12611 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
12612 access of bogus pointer will result in SIGSEGV.
12614 1999-01-07 Nick Clifton <nickc@cygnus.com>
12616 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
12617 of an underscore prefix to function names.
12619 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
12621 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
12622 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
12624 1998-12-31 Michael Meissner <meissner@cygnus.com>
12626 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
12627 to `%' if not already defined.
12629 1998-12-30 Michael Meissner <meissner@cygnus.com>
12631 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
12632 arguments const char *, not char *.
12633 * libc/include/stdio.h (_tempnam_r): Ditto.
12635 * libc/include/sys/reent.h (struct _reent): The _sig_func type
12636 points to a function taking an integer, not void.
12638 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
12640 * configure.host: Add a define for Cygwin builds.
12641 * libc/include/ctype.h: Don't use dll imported variables in newlib.
12643 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
12645 * libc/include/ctype.h: Define _ctype_ as dll imported variable
12646 for use with Cygwin.
12647 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
12648 dll imported variables for use with Cygwin.
12649 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
12650 as a dll imported variable for Cygwin.
12652 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
12654 * libc/include/sys/unistd.h: Add proto for getpass.
12656 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
12658 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
12661 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
12663 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
12664 not posix_path_list_p.
12666 1998-12-15 Nick Clifton <nickc@cygnus.com>
12668 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
12671 1998-12-13 Nick Clifton <nickc@cygnus.com>
12673 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
12675 1998-12-12 Nick Clifton <nickc@cygnus.com>
12677 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
12678 <msalter@cygnus.com>
12679 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
12680 * libc/machine/fr30/Makefile.in: Regenerated.
12682 1998-12-11 Nick Clifton <nickc@cygnus.com>
12684 * configure.host: Remove use of libc/sys for FR30 port.
12685 * libc/sys/fr30: Remove directory (replaced by libgloss).
12687 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12689 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12690 * libc/string/strncat.c (ALIGNED): Ditto.
12692 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12694 * libc/include/sys/time.h: include sys/types.h
12696 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12698 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12699 comparison found when checking word at a time.
12701 1998-12-04 Nick Clifton <nickc@cygnus.com>
12703 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12705 1998-12-03 Nick Clifton <nickc@cygnus.com>
12707 * libc/sys/fr30/syscalls.c (_times): New function stub.
12709 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12711 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12712 with mach_add_setjmp flag which indicates if setjmp should
12713 be added to the machine directory objects.
12714 * acinclude.m4: Removed reference to mach_add_objs.
12715 * aclocal.m4: Regenerated.
12716 * Makefile.in: Regenerated.
12717 * configure: Regenerated.
12718 * libc/aclocal.m4: Regenerated.
12719 * libc/Makefile.in: Regenerated.
12720 * libc/configure: Regenerated.
12721 * libc/machine/aclocal.m4: Regenerated.
12722 * libc/machine/Makefile.in: Regenerated.
12723 * libc/machine/configure: Regenerated.
12724 * libc/machine/i386/aclocal.m4: Regenerated.
12725 * libc/machine/i386/Makefile.am: Altered to selectively add
12726 setjmp.S to the src files list.
12727 * libc/machine/i386/Makefile.in: Regenerated.
12728 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12729 * libc/machine/i386/configure: Regenerated.
12731 1998-12-02 Nick Clifton <nickc@cygnus.com>
12733 * libc/sys/fr30/crt0.s (_start): Fix function names.
12735 * libc/machine/fr30: New directory
12736 * libc/machine/fr30/Makefile.am: New file.
12737 * libc/machine/fr30/Makefile.in: New generated file.
12738 * libc/machine/fr30/configure.in: New file.
12739 * libc/machine/fr30/configure: New generated file.
12740 * libc/machine/fr30/aclocal.m4: New generated file.
12741 * libc/sys/fr30/Makefile.am: New file.
12742 * libc/sys/fr30/Makefile.in: New generated file.
12743 * libc/sys/fr30/configure.in: New file.
12744 * libc/sys/fr30/configure: New generated file.
12745 * libc/sys/fr30/syscalls.c: New file.
12747 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12749 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12751 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12753 * libc/time/strftime.c (strftime): Also handle %y for years before
12756 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12758 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12759 UNIX convention. Perform tolower on characters before comparing
12760 them rather than use toupper.
12761 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12763 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12765 * configure.host: Added using i386 machine directory
12766 for all x86 cross-compiler and configuring
12767 which added object files to use via new "mach_add_objs" variable.
12768 * configure: Regenerated.
12769 * libc/configure: Regenerated.
12770 * libc/Makefile.in: Regenerated.
12771 * libc/aclocal.m4: Regenerated.
12772 * libc/ctype/Makefile.in: Regenerated.
12773 * libc/errno/Makefile.in: Regenerated.
12774 * libc/locale/Makefile.in: Regenerated.
12775 * libc/machine/Makefile.in: Regenerated.
12776 * libc/machine/aclocal.m4: Regenerated.
12777 * libc/machine/configure: Regenerated.
12778 * libc/posix/Makefile.in: Regenerated.
12779 * libc/reent/Makefile.in: Regenerated.
12780 * libc/signal/Makefile.in: Regenerated.
12781 * libc/stdio/Makefile.in: Regenerated.
12782 * libc/stdlib/Makefile.in: Regenerated.
12783 * libc/string/Makefile.in: Regenerated.
12784 * libc/string/memmove.c: Optimized code to use memcpy
12785 logic when performing a non-destructive copy.
12786 * libc/string/strncmp.c: Altered code to allow building
12787 optimized for size or speed.
12788 * libc/syscalls/Makefile.in: Regenerated.
12789 * libc/time/Makefile.in: Regenerated.
12790 * libc/unix/Makefile.in: Regenerated.
12791 * libc/machine/i386/Makefile.am: Added new files and reference
12792 to "mach_add_objs" to indicate optional object files.
12793 * libc/machine/i386/Makefile.in: Regenerated.
12794 * libc/machine/i386/aclocal.m4: Regenerated.
12795 * libc/machine/i386/configure: Regenerated.
12796 * libc/machine/i386/memchr.S: New file that implements
12797 function in Intel assembler.
12798 * libc/machine/i386/memcmp.S: ditto.
12799 * libc/machine/i386/memcpy.S: ditto.
12800 * libc/machine/i386/memmove.S: ditto.
12801 * libc/machine/i386/memset.S: ditto.
12802 * libc/machine/i386/strchr.S: ditto.
12803 * libc/machine/i386/strlen.S: ditto.
12804 * libc/machine/i386/f_atan2.S: New file that implements
12805 fast version of math function to be used by compiler when
12806 --ffast_math compile option is used.
12807 * libc/machine/i386/f_atan2f.S: ditto.
12808 * libc/machine/i386/f_exp.c: ditto.
12809 * libc/machine/i386/f_expf.c: ditto.
12810 * libc/machine/i386/f_frexp.S: ditto.
12811 * libc/machine/i386/f_frexpf.S: ditto.
12812 * libc/machine/i386/f_ldexp.S: ditto.
12813 * libc/machine/i386/f_ldexpf.S: ditto.
12814 * libc/machine/i386/f_log.S: ditto.
12815 * libc/machine/i386/f_logf.S: ditto.
12816 * libc/machine/i386/f_log10.S: ditto.
12817 * libc/machine/i386/f_log10f.S: ditto.
12818 * libc/machine/i386/f_math.h: New file.
12819 * libc/machine/i386/f_pow.c: ditto.
12820 * libc/machine/i386/f_powf.S: ditto.
12821 * libc/machine/i386/f_tan.S: ditto.
12822 * libc/machine/i386/f_tan.S: ditto.
12823 * libc/machine/i386/i386mach.h: New file.
12825 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12827 patch from Mumit Khan <khan@xraylith.wisc.edu>
12828 * libc/include/stdio.h (tempnam): Add prototype.
12829 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12830 (tempnam): Adhere to prototype.
12832 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12834 * Makefile.am: Add default for AR_FLAGS.
12835 * Makefile.in: Regenerate.
12837 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12839 * libc/include/time.h: move __cplusplus wrapper after includes
12840 * libc/include/sys/time.h: ditto. If Cygwin, include
12842 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12844 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12846 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12848 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12850 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12851 abnormnal end-of-crt0 marker.
12853 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12855 * libc/sys/fr30/crt0.s: New file/directory.
12856 * libc/include/machine/setjmp.h: Add FR30 target.
12857 * libc/include/machine/ieeefp.h: Add FR30 target.
12858 * configure.host: Add FR30 target.
12860 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12862 * libm/math: Files that are duplicated in common directory removed.
12863 * libm/math/fdlibm.h: Removed.
12864 * libm/math/s_cbrt.c: Removed.
12865 * libm/math/s_copysign.c: Removed.
12866 * libm/math/s_expm1.c: Removed.
12867 * libm/math/s_finite.c: Removed.
12868 * libm/math/s_ilogb.c: Removed.
12869 * libm/math/s_infinity.c: Removed.
12870 * libm/math/s_lib_ver.c: Removed.
12871 * libm/math/s_log1p.c: Removed.
12872 * libm/math/s_logb.c: Removed.
12873 * libm/math/s_matherr.c: Removed.
12874 * libm/math/s_modf.c: Removed.
12875 * libm/math/s_nan.c: Removed.
12876 * libm/math/s_nextafter.c: Removed.
12877 * libm/math/s_rint.c: Removed.
12878 * libm/math/s_scalbn.c: Removed.
12879 * libm/math/sf_cbrt.c: Removed.
12880 * libm/math/sf_copysign.c: Removed.
12881 * libm/math/sf_expm1.c: Removed.
12882 * libm/math/sf_finite.c: Removed.
12883 * libm/math/sf_ilogb.c: Removed.
12884 * libm/math/sf_infinity.c: Removed.
12885 * libm/math/sf_log1p.c: Removed.
12886 * libm/math/sf_logb.c: Removed.
12887 * libm/math/sf_modf.c: Removed.
12888 * libm/math/sf_nan.c: Removed.
12889 * libm/math/sf_nextafter.c: Removed.
12890 * libm/math/sf_rint.c: Removed.
12891 * libm/math/sf_scalbn.c: Removed.
12892 * libm/math/Makefile.am: Removed references to deleted files (above).
12893 * libm/math/Makefile.in: Regenerated.
12894 * libm/Makefile.am: Added common directory to math.
12895 * libm/Makefile.in: Regenerated.
12897 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12899 * libm/mathfp: Add non-ANSI functions.
12900 * libm/mathfp/e_acosh.c acosh(): New file.
12901 * libm/mathfp/e_atanh.c atanh(): New file.
12902 * libm/mathfp/e_hypot.c hypot(): New file.
12903 * libm/mathfp/e_j0.c j0(): New file.
12904 * libm/mathfp/e_j1.c j1(): New file.
12905 * libm/mathfp/e_remainder.c remainder(): New file.
12906 * libm/mathfp/e_scalb.c scalb(): New file.
12907 * libm/mathfp/ef_acosh.c acoshf(): New file.
12908 * libm/mathfp/ef_atanh.c atanhf(): New file.
12909 * libm/mathfp/ef_hypot.c hypotf(): New file.
12910 * libm/mathfp/ef_j0.c j0f(): New file.
12911 * libm/mathfp/ef_j1.c j1f(): New file.
12912 * libm/mathfp/ef_remainder.c remainderf(): New file.
12913 * libm/mathfp/ef_scalb.c scalbf(): New file.
12914 * libm/mathfp/er_gamma.c gamma_r: New file.
12915 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12916 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12917 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12918 * libm/mathfp/w_cabs.c cabs(): New file.
12919 * libm/mathfp/w_drem.c drem(): New file.
12920 * libm/mathfp/w_jn.c jn(): New file.
12921 * libm/mathfp/wf_cabs.c cabsf(): New file.
12922 * libm/mathfp/wf_drem.c dremf(): New file.
12923 * libm/mathfp/wf_jn.c jnf(): New file.
12925 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12927 * libc/sys/cygwin32: remove directory and contents
12928 * libc/sys/cygwin: and add back, losing the "32".
12929 * configure.host: check for cygwin* instead of cygwin32.
12930 * acinclude.m4: ditto.
12931 * aclocal.m4: regenerate with aclocal
12932 * configure: regenerate with autoconf
12934 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12936 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12939 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12941 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12942 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12943 to make rand/srand, strtok, asctime, localtime, w_gamma,
12944 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12945 time.h to bring in struct tm definition.
12946 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12947 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12948 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12949 instead of static variable.
12950 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12951 struct reent instead of static variable.
12952 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12953 struct reent instead of static variable.
12954 * libm/math/Makefile.am: Removed s_signgam.o.
12955 * libm/math/Makefile.in: Regenerated.
12956 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12957 struct reent instead of global variable 'signgam'.
12958 * libm/math/w_lgamma.c (lgamma): Likewise.
12959 * libm/math/wf_gamma.c (gammaf): Likewise.
12960 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12961 * libm/math/s_signgam.c: Removed.
12962 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12964 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12966 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12967 libc/include/reent.h.
12968 * libc/reent/Makefile.in: Regenerated.
12969 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12971 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12972 'JIS_action_table' to be const.
12973 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12975 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12977 * acinclude.m4: $with_target_subdir should default to '.'
12978 or confusion results when configuring in same directory as sources.
12979 * Regenerate all aclocal.m4 and configure files.
12981 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12983 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12984 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12985 for platforms where sizeof(size_t) < sizeof(long) via
12986 SIZE_T_SMALLER_THAN_LONG macro.
12988 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12990 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12991 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12992 which sets _CLOCKS_PER_SEC_ for selected machines.
12993 * libc/include/machine/time.h: New file.
12995 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12997 * libc/syscalls/sysexecve.c: New file.
12998 * libc/syscalls/sysgettod.c: New file.
12999 * libc/syscalls/systimes.c: New file.
13000 * libc/syscalls/Makefile.am: Added new objects.
13001 * libc/syscalls/Makefile.in: Regenerated.
13002 * libc/include/_syslist.h (_execve): Moved define in file.
13003 * libc/include/reent.h: Added _execve_r declaration.
13004 * libc/Makefile.in: Regenerated.
13005 * libc/ctype/Makefile.in: Regenerated.
13006 * libc/errno/Makefile.in: Regenerated.
13007 * libc/locale/Makefile.in: Regenerated.
13008 * libc/machine/Makefile.in: Regenerated.
13009 * libc/misc/Makefile.in: Regenerated.
13010 * libc/posix/Makefile.in: Regenerated.
13011 * libc/reent/Makefile.in: Regenerated.
13012 * libc/reent/execr.c (_execve_r): Added _execve_r function.
13013 * libc/signal/Makefile.in: Regenerated.
13014 * libc/stdio/Makefile.in: Regenerated.
13015 * libc/time/Makefile.in: Regenerated.
13016 * libc/unix/Makefile.in: Regenerated.
13017 * libm/mathfp/Makefile.in: Regenerated.
13019 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13021 * libc/string/Makefile.in: Regenerated.
13022 * libc/string/memchr.c (memchr): Moved code to reduce object size.
13023 * libc/string/memcpy.c (memcpy): Ditto.
13024 * libc/string/memcmp.c (memcmp): Ditto.
13025 * libc/string/memset.c (memset): Ditto.
13026 * libc/string/strchr.c (strchr): Ditto.
13027 * libc/string/strcmp.c (strcmp): Ditto.
13028 * libc/string/strcpy.c (strcpy): Ditto.
13029 * libc/string/strlen.c (strlen): Ditto.
13031 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13033 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
13034 to generate aclocal.m4.
13035 * libm/Makefile.in: Regenerated.
13036 * libm/aclocal.m4: Regenerated.
13037 * libm/configure: Regenerated.
13038 * libm/math/Makefile.in: Regenerated.
13039 * libm/mathfp/Makefile.in: Regenerated.
13041 1998-09-25 Mark Salter <msalter@cygnus.com>
13043 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
13044 by adding leading and trailing underscores to symbol names.
13046 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
13048 * Makefile.in: Add default for AR_FLAGS.
13050 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
13052 patch from ian@airs.com (Ian Taylor):
13053 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
13054 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
13055 is needed for detecting the build machine. Required for
13056 cygwin native builds.
13058 * Regenerate all aclocal.m4 and configure files.
13060 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
13062 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
13063 used to start with LC.
13065 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13067 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
13068 (longjmp): Likewise.
13070 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13072 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
13073 the test for small number of bytes.
13075 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
13077 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
13078 math library that uses floating point algorithms instead of the old
13080 * Makefile.in: Regenerate with automake version 1.3b.
13081 * configure: Rebuild.
13082 * libm/Makefile.in: Regenerate with automake version 1.3b.
13083 * libm/aclocal.m4: Regenerate.
13084 * libm/configure: Rebuild.
13085 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
13086 * libm/acinclude.m4: Define macros for configure.in.
13087 * libm/config.h.in: Generate.
13088 * libm/mathfp/Makefile.am: New file.
13089 * libm/mathfp/Makefile.in: Generate.
13090 * libm/mathfp/s_acos.c (acos): New file.
13091 * libm/mathfp/s_asin.c (asin): New file.
13092 * libm/mathfp/s_asine.c (asine): New file.
13093 * libm/mathfp/s_atan.c (atan): New file.
13094 * libm/mathfp/s_atan2.c (atan2): New file.
13095 * libm/mathfp/s_atangent.c (atangent): New file.
13096 * libm/mathfp/s_ceil.c (ceil): New file.
13097 * libm/mathfp/s_copysign.c (copysign): New file.
13098 * libm/mathfp/s_cos.c (cos): New file.
13099 * libm/mathfp/s_cosh.c (cosh): New file.
13100 * libm/mathfp/s_exp.c (exp): New file.
13101 * libm/mathfp/s_fabs.c (fabs): New file.
13102 * libm/mathfp/s_finite.c (finite): New file.
13103 * libm/mathfp/s_floor.c (floor): New file.
13104 * libm/mathfp/s_fmod.c (fmod): New file.
13105 * libm/mathfp/s_frexp.c (frexp): New file.
13106 * libm/mathfp/s_infconst.c: New file.
13107 * libm/mathfp/s_isinf (isinf).c: New file.
13108 * libm/mathfp/s_isnan.c (isnan): New file.
13109 * libm/mathfp/s_ispos.c (ispos): New file.
13110 * libm/mathfp/s_ldexp.c (ldexp): New file.
13111 * libm/mathfp/s_log.c (log): New file.
13112 * libm/mathfp/s_log10.c (log10): New file.
13113 * libm/mathfp/s_logarithm.c (logarithm): New file.
13114 * libm/mathfp/s_mathcnst.c: New file.
13115 * libm/mathfp/s_modf (modf).c: New file.
13116 * libm/mathfp/s_numtest.c (numtest): New file.
13117 * libm/mathfp/s_pow.c (pow): New file.
13118 * libm/mathfp/s_scalbn.c (scalbn): New file.
13119 * libm/mathfp/s_sin (sin).c: New file.
13120 * libm/mathfp/s_sine.c (sine): New file.
13121 * libm/mathfp/s_sineh.c (sineh): New file.
13122 * libm/mathfp/s_sinf.c (sinf): New file.
13123 * libm/mathfp/s_sinh.c (sinh): New file.
13124 * libm/mathfp/s_sqrt.c (sqrt): New file.
13125 * libm/mathfp/s_tan.c (tan): New file.
13126 * libm/mathfp/s_tanh.c (tanh): New file.
13127 * libm/mathfp/sf_acos.c (acosf): New file.
13128 * libm/mathfp/sf_asin.c (asinf): New file.
13129 * libm/mathfp/sf_asine.c (asinef): New file.
13130 * libm/mathfp/sf_atan.c (atanf): New file.
13131 * libm/mathfp/sf_atan2.c (atan2f): New file.
13132 * libm/mathfp/sf_atangent.c (atangent): New file.
13133 * libm/mathfp/sf_ceil.c (ceilf): New file.
13134 * libm/mathfp/sf_copysign.c (copysignf): New file.
13135 * libm/mathfp/sf_cos.c (cosf): New file.
13136 * libm/mathfp/sf_cosh.c (coshf): New file.
13137 * libm/mathfp/sf_exp.c (expf): New file.
13138 * libm/mathfp/sf_fabs.c (fabsf): New file.
13139 * libm/mathfp/sf_finite.c (finitef): New file.
13140 * libm/mathfp/sf_floor.c (floorf): New file.
13141 * libm/mathfp/sf_fmod.c (fmodf): New file.
13142 * libm/mathfp/sf_frexp.c (frexpf): New file.
13143 * libm/mathfp/sf_isinf.c (isinff): New file.
13144 * libm/mathfp/sf_isnan.c (isnanf): New file.
13145 * libm/mathfp/sf_ispos.c (isposf): New file.
13146 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
13147 * libm/mathfp/sf_log.c (logf): New file.
13148 * libm/mathfp/sf_log10.c (log10f): New file.
13149 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
13150 * libm/mathfp/sf_modf.c (modff): New file.
13151 * libm/mathfp/sf_numtest.c (numtestf): New file.
13152 * libm/mathfp/sf_pow.c (powf): New file.
13153 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
13154 * libm/mathfp/sf_sin.c (sinf): New file.
13155 * libm/mathfp/sf_sine.c (sinef): New file.
13156 * libm/mathfp/sf_sineh.c (sinehf): New file.
13157 * libm/mathfp/sf_sinh.c (sinhf): New file.
13158 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
13159 * libm/mathfp/sf_tan.c (tanf): New file.
13160 * libm/mathfp/sf_tanh.c (tanhf): New file.
13161 * libm/mathfp/zmath.h: New file.
13163 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13165 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
13166 exit if it has been overwritten by pre-fetching in delay slot.
13168 1998-09-01 Michael Meissner <meissner@cygnus.com>
13170 * Makefile.am (tooldir): Add in host_alias, so that multilib
13171 libraries are installed in the directory the compiler looks in.
13172 * Makefile.in: Regenerate.
13174 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
13176 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
13178 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
13179 ahead of test for number of bytes being moved.
13181 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
13183 * libc/include/sys/unistd.h: Nothing special needed for
13184 _exit under cygwin.
13186 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
13188 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
13189 conform to user label naming conventions.
13191 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
13193 * libc/sys/cygwin32/sys/utime.h: variable names in
13194 protos should start with two leading underscores
13195 * libc/include/string.h: ditto
13196 * libc/include/sys/signal.h: ditto
13197 * libc/include/sys/stat.h: ditto
13198 * libc/include/sys/time.h: ditto
13199 * libc/include/sys/unistd.h: ditto
13200 * libc/include/ctype.h: ditto
13201 * libc/include/stdlib.h: ditto
13202 * libc/include/sys/reent.h: struct _atexit function ptr takes a
13203 void, same with _sig_func.
13205 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
13207 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
13208 for MB_CAPABLE to reduce code size when newlib is not configured
13209 with --enable-newlib-mb.
13210 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
13211 mbtowc_r.o to minimize size.
13212 * libc/stdlib/Makefile.in: Rebuild.
13214 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
13216 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
13218 * libc/sys/sparc64/Makefile.in: Rebuild.
13220 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
13222 * Makefile.am (MAKEOVERRIDES): Define.
13223 * Makefile.in: Rebuild.
13225 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
13227 * libc/sys/sparc64/sys/stat.h (stat): Add const.
13229 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
13231 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
13232 newlib_cflags when looking for targ-include.
13233 * */aclocal.m4, */configure: Rebuild.
13235 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
13237 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
13240 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
13242 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
13243 on SPARCs with little-endian data.
13244 * libc/include/machine/ieeefp.h: Ditto.
13246 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
13248 * acinclude.m4: Handle a relative srcdir correctly when setting
13250 * */aclocal.m4, */configure: Rebuild.
13252 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
13254 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
13255 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
13256 * libm/math/wrf_gamma.c (gammaf_r): ditto
13257 * libm/math/wr_lgamma.c (lgamma_r): ditto
13258 * libm/math/wr_gamma.c (gamma_r): ditto
13259 * libm/math/wf_sqrt.c (sqrtf): ditto
13260 * libm/math/wf_sinh.c (sinhf): ditto
13261 * libm/math/wf_scalb.c (scalbf): ditto
13262 * libm/math/wf_remainder.c (remainderf): ditto
13263 * libm/math/wf_pow.c (powf): ditto
13264 * libm/math/wf_log10.c (log10f): ditto
13265 * libm/math/wf_log.c (logf): ditto
13266 * libm/math/wf_lgamma.c (lgammaf): ditto
13267 * libm/math/wf_jn.c (jnf, ynf): ditto
13268 * libm/math/wf_j1.c (j1f, y1f): ditto
13269 * libm/math/wf_j0.c (j0f, y0f): ditto
13270 * libm/math/wf_hypot.c (hypotf): ditto
13271 * libm/math/wf_gamma.c (gammaf): ditto
13272 * libm/math/wf_fmod.c (fmodf): ditto
13273 * libm/math/wf_exp.c (expf): ditto
13274 * libm/math/wf_cosh.c (coshf): ditto
13275 * libm/math/wf_atanh.c (atanhf): ditto
13276 * libm/math/wf_atan2f.c (atan2f): ditto
13277 * libm/math/wf_asin.c (asinf): ditto
13278 * libm/math/wf_acosh.c (acoshf): ditto
13279 * libm/math/wf_acos.c (acosf): ditto
13280 * libm/math/w_sqrt.c (sqrt): ditto
13281 * libm/math/w_sinh.c (sinh): ditto
13282 * libm/math/w_scalb.c (scalb): ditto
13283 * libm/math/w_remainder.c (remainder): ditto
13284 * libm/math/w_pow.c (pow): ditto
13285 * libm/math/w_log10.c (log10): ditto
13286 * libm/math/w_log.c (log): ditto
13287 * libm/math/w_lgamma.c (lgamma): ditto
13288 * libm/math/w_jn.c (jn, yn): ditto
13289 * libm/math/w_j1.c (j1, y1): ditto
13290 * libm/math/w_j0.c (j0, y0): ditto
13291 * libm/math/w_hypot.c (hypot): ditto
13292 * libm/math/w_gamma.c (gamma): ditto
13293 * libm/math/w_fmod.c (fmod): ditto
13294 * libm/math/w_exp.c (exp): ditto
13295 * libm/math/w_cosh.c (cosh): ditto
13296 * libm/math/w_atanh.c (atanh): ditto
13297 * libm/math/w_atan2f.c (atan2): ditto
13298 * libm/math/w_asin.c (asin): ditto
13299 * libm/math/w_acosh.c (acosh): ditto
13300 * libm/math/w_acos.c (acos): ditto
13302 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
13304 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
13305 (fsrc): Add wf_cabs.c and wf_drem.c.
13306 * libm/math/Makefile.in: Rebuild.
13308 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
13309 unused directory variables. Remove duplicate CFLAGS.
13310 * Makefile.in: Rebuild.
13312 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
13313 with $(CC_FOR_BUILD).
13314 (makedoc.o): Likewise.
13315 * doc/Makefile.in: Rebuild.
13317 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
13318 force a definition of COMPILE.
13319 (libfoo_a_SOURCES): Define.
13320 * libc/sys/cygwin32/Makefile.in: Rebuild.
13321 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
13322 force a definition of COMPILE.
13323 (libfoo_a_SOURCES): Define.
13324 * libc/sys/tic80/Makefile.in: Rebuild.
13326 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
13328 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
13331 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
13333 * Build using autoconf and automake. Added many Makefile.am and
13334 configure.in files, plus generated files. Old configure.in files
13335 and all old Makefile.in files completely replaced. Removed
13336 host/any. Added acinclude.m4 and configure.host.
13338 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
13340 * libc/stdio/vfprintf.c: enable long long support, sometimes.
13341 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
13343 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13345 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
13346 * libc/machine/sh/Makefile.in: Add rules for new files.
13348 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13350 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
13351 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
13352 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
13354 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
13356 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
13359 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
13361 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
13362 internal static buffer when s is NULL, as prescribed by ANSI.
13364 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
13366 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
13368 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
13369 libc/stdlib will be used for h8300hms.
13371 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
13373 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
13374 version that can be built either for speed or size.
13375 * libc/machine/mn10300/memset.S (_memset): ditto
13376 * libc/machine/mn10300/memchr.S (_memchr): ditto
13377 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
13378 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
13379 * libc/machine/mn10300/strchr.S (_strchr): ditto
13380 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
13381 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
13382 * libc/machine/mn10300/Makefile.in: Added entries for
13383 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
13384 strcmp.o, strcpy.o, and strlen.o.
13386 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
13388 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
13389 been replaced with libgloss/mn10200.
13391 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
13393 * libc/string/strchr.c (strchr): Make s a constant pointer to
13396 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
13398 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
13399 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
13400 board SWIs instead of Demon board SWIs).
13402 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
13404 * libc/string/strncat.c (strncat): Make -Os act the same as
13405 PREFER_SIZE_OVER_SPEED being defined.
13407 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
13409 * libc/string/memchr.c (memchr): Make -Os act the same as
13410 PREFER_SIZE_OVER_SPEED being defined.
13411 * libc/string/memcmp.c (memcmp): Ditto.
13412 * libc/string/memcpy.c (memcpy): Ditto.
13413 * libc/string/memset.c (memset): Ditto.
13414 * libc/string/strcat.c (strcat): Ditto.
13415 * libc/string/strchr.c (strchr): Ditto.
13416 * libc/string/strcmp.c (strcmp): Ditto.
13417 * libc/string/strcpy.c (strcpy): Ditto.
13418 * libc/string/strlen.c (strlen): Ditto.
13419 * libc/string/strncat.c (strncat): Ditto.
13420 * libc/string/strncmp.c (strncmp): Ditto.
13421 * libc/string/strncpy.c (strncpy): Ditto.
13423 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
13425 * libc/include/sys/itimer.h: remove
13426 * libc/include/sys/time.h: itimer stuff should be here
13428 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
13430 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
13431 bit instead of comparing to 0 so -0.0 can be printed correctly.
13433 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13435 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
13437 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
13439 * libc/include/sys/unistd.h: fix sync() proto
13440 * libc/include/sys/fcntl.h: remove _close which is already
13441 defined in unistd.h.
13442 * libc/include/sys/time.h: add getitimer proto
13444 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
13446 * libc/string/strchr.c: convert arg to unsigned char
13447 * libc/include/stdlib.h: add protos for random, srandom
13448 * libc/include/sys/stat.h: add lstat proto
13449 * libc/include/sys/time.h: add setitimer proto
13450 * libc/include/sys/unistd.h: add readlink, symlink protos
13451 * libc/include/process.h: instead of including windows.h and using
13452 HANDLEs in sexec protos, just use void *s. Need to include
13455 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
13457 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
13459 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
13461 * libc/include/process.h: add secure exec protos
13463 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
13465 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
13466 which are accessed as both doubles and integers.
13467 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
13468 * libc/stdlib/strtod.c (_strtod_r): Likewise.
13469 * libc/stdlib/mprec.h: Add "union double_union" and change
13470 word0/word1 macros to use it.
13472 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
13474 * libc/include/sys/signal.h: add __cplusplus wrapper
13476 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
13478 * libc/include/sys/utime.h: new generic file that gets replaced by
13479 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
13481 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
13482 * libc/include/time.h: remove duplicate utime proto
13483 * libc/include/utime.h: add comment
13485 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
13487 * libc/include/sys/time.h: Add missing include to
13488 allow use of _EXFUN. Remove times function that is
13489 already defined in times.h.
13491 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
13493 * libc/include/time.h: Fix typo in tzset.
13495 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
13497 * libc/include/sys/time.h: add missing Cygwin32 function protos
13498 * libc/include/sys/unistd.h: ditto
13499 * libc/include/time.h: ditto
13501 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
13503 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
13505 * libc/include/sys/types.h: add a new __MS_types__ section
13506 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
13507 __BIT_TYPES_DEFINED__.
13509 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
13511 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
13512 since it overrides the one in libc/include/sys. Also, start
13515 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
13517 * libm/math/Makefile.in: add s_signgam.o to obj list
13519 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
13521 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
13523 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
13525 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
13526 so don't use defines.
13528 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
13530 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
13532 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
13534 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
13535 _current_locale as default locale.
13537 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
13539 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
13540 insufficient space in a chunk.
13542 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
13544 * configure.in (links): Added check for --enable-newlib-mb configure
13545 option which defines the MB_CAPABLE macro.
13546 * libc/locale/locale.c (_setlocale_r): Added support for setting
13547 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
13549 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
13550 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
13551 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
13552 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
13553 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
13554 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
13555 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
13556 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
13557 * libc/stdlib/Makefile.in: Added new multibyte
13558 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
13559 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
13560 _mbstowcs_r(), and _wcstombs_r().
13561 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
13562 for JIS, SJIS, and EUC-JP characters.
13563 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
13564 MB_CAPABLE defined.
13565 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
13566 MB_CAPABLE defined.
13567 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
13568 MB_CAPABLE defined.
13569 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
13570 if MB_CAPABLE defined.
13571 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
13572 if MB_CAPABLE defined.
13573 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
13574 to the format string processing when MB_CAPABLE.
13575 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
13578 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
13580 The following modifications are courtesy of Anthony Thompson,
13581 athompson@cambridge.arm.com:
13582 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
13583 boith RDI and RDP monitors.
13584 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
13585 RDI and RDP monitors.
13587 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
13589 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
13590 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
13591 (_swiopen): Fixed open flags to treat write with append as just append.
13592 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
13593 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
13595 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13597 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
13598 When needing to transfer an initial 2-byte-word, store as
13601 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13603 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
13605 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
13606 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
13608 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
13610 * configure.in (target_cflags): If --enable-target-optspace, use
13611 -Os to compile newlib rather than -O2. Default to using -Os for
13612 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
13615 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
13617 * libc/include/machine/setjmp.h: change sigsetjmp and
13618 siglongjmp definitions to use an array instead of a struct
13621 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
13623 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
13625 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
13627 * libc/string/strxfrm.c: fix to get correct return value
13629 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
13631 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
13632 builds. Make mode change labels global so that they will be seen
13635 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
13637 * configure.in (links): Do not use ARM debiugging protocols for PE
13640 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
13643 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13645 * libc/stdio/findfp.c (__sinit): Made stdout default to
13646 line buffered mode as defined by ANSI.
13648 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
13650 * libc/include/sys/itimer.h: New file.
13652 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
13654 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13656 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
13659 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
13661 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
13664 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
13666 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
13668 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
13670 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
13673 * libc/include/machine/setjmp.h: Add D30V support.
13675 * configure.in (d30v-*): Add d30v machine directory.
13677 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
13679 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
13680 been replaced with libgloss/mn10300.
13682 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
13684 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
13685 it is no longer needed.
13687 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13689 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13691 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13693 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13694 the file when O_APPEND is set, wherever the EOF happens to be at
13697 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13699 patch from cgf@bbc.com (Christopher Faylor):
13700 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13701 convention of closing fp prior to attempting to open the file
13702 argument. This allows correct operation when reopening
13703 stdin/stdout/stderr. Replaces last freopen.c patch.
13705 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13707 patch from cgf@bbc.com (Christopher Faylor):
13708 * libc/stdio/freopen.c: freopen was not preserving the fd
13709 of the stream being operated on. This confuses programs that
13710 expect that the handles for stdout and stderr will be 1 and 2.
13712 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13714 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13716 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13718 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13720 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13722 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13723 altered to not use a branch. Also added hint that last
13724 bclr in longjmp will likely result in branch.
13727 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13729 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13731 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13733 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13736 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13738 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13740 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13741 that loads FR14 to specify offset of 8 rather than 4
13742 so it loads from offset 96 (where setjmp stored it).
13744 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13746 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13747 latest version supplied by customer.
13748 * libc/machine/sh/memset.S (_memset): Ditto.
13750 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13752 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13755 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13757 * libc/include/string.h: remove redefinition of ffs
13759 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13761 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13764 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13766 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13767 TI Libraries to link to libc.a
13769 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13771 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13772 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13773 * libc/include/sys/wait.h (_wait): Ditto.
13774 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13775 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13777 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13779 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13780 minded stabs so function name shows up when running the simulator
13782 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13784 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13786 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13787 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13788 Use R5 where we used to use R3.
13790 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13792 * libc/stdlib/getopt.c (getopt): replaced __progname
13793 with nargv[0] to improve portability to imbedded systems.
13795 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13797 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13798 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13801 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13803 * libc/stdio/tmpnam.c (worker): Generate a different file name
13806 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13807 fails, try an execlp for sh.
13809 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13810 option for the winsup include directory.
13812 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13814 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13815 debugging interface from Tony.Thompson@arm.com.
13817 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13818 * libc/sys/arm/swi.h: ditto.
13820 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13822 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13823 DIR struct used for readdir hashes.
13825 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13827 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13829 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13831 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13834 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13836 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13837 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13838 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13839 (__malloc_copy): Declare.
13841 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13843 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13845 (POINTER_UINT): Define.
13846 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13847 (MALLOC_ALIGNMENT): Don't define if already defined.
13848 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13851 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13853 * libc/string/memset.c (memset): Fiddle with code so that the long
13854 value being stored is not a stack value. Unroll storing longs 4
13857 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13859 * Reduce code size for libm modules.
13860 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13861 and simply move code into sqrt.
13862 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13863 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13864 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13865 * libm/math/wr_gamma.c (gamma_r): Likewise.
13866 * libm/math/wf_sinh.c (sinfh): Likewise.
13867 * libm/math/w_sinh.c (sinh): Likewise.
13868 * libm/math/wf_scalb.c (scalbf): Likewise.
13869 * libm/math/w_scalb.c (scalb): Likewise.
13870 * libm/math/wf_remainder.c (remainderf): Likewise.
13871 * libm/math/w_remainder.c (remainder): Likewise.
13872 * libm/math/wf_pow.c (powf): Likewise.
13873 * libm/math/w_pow.c (pow): Likewise.
13874 * libm/math/wf_log10.c (log10f): Likewise.
13875 * libm/math/w_log10.c (log10): Likewise.
13876 * libm/math/wf_log.c (logf): Likewise.
13877 * libm/math/w_log.c (log): Likewise.
13878 * libm/math/w_lgamma.c (lgamma): Likewise.
13879 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13880 * libm/math/wf_jn.c (jnf): Likewise.
13881 * libm/math/w_jn.c (jn): Likewise.
13882 * libm/math/wf_j1.c (j1f): Likewise.
13883 * libm/math/w_j1.c (j1): Likewise.
13884 * libm/math/wf_j0.c (j0f): Likewise.
13885 * libm/math/w_j0.c (j0): Likewise.
13886 * libm/math/wf_hypot.c (hypotf): Likewise.
13887 * libm/math/w_hypot.c (hypot): Likewise.
13888 * libm/math/wf_gamma.c (gammaf): Likewise.
13889 * libm/math/w_gamma.c (gamma): Likewise.
13890 * libm/math/wf_fmod.c (fmodf): Likewise.
13891 * libm/math/w_fmod.c (fmod): Likewise.
13892 * libm/math/wf_exp.c (expf): Likewise.
13893 * libm/math/w_exp.c (exp): Likewise.
13894 * libm/math/wf_cosh.c (coshf): Likewise.
13895 * libm/math/w_cosh.c (cosh): Likewise.
13896 * libm/math/wf_atanh.c (atanhf): Likewise.
13897 * libm/math/w_atanh.c (atanh): Likewise.
13898 * libm/math/wf_atan2.c (atan2f): Likewise.
13899 * libm/math/w_atan2.c (atan2): Likewise.
13900 * libm/math/wf_asin.c (asinf): Likewise.
13901 * libm/math/w_asin.c (asin): Likewise.
13902 * libm/math/wf_acosh.c (acoshf): Likewise.
13903 * libm/math/w_acosh.c (acosh): Likewise.
13904 * libm/math/wf_acos.c (asocf): Likewise.
13905 * libm/math/w_acos.c (acos): Likewise.
13906 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13907 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13908 for embedded systems.
13910 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13912 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13913 Lea in case of a foreign sbrk.
13915 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13917 Incorporate Doug Lea's malloc:
13918 * libc/stdlib/mallocr.c: Completely replaced.
13919 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13921 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13922 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13924 (mallinfo, malloc_stats, mallopt): New functions.
13925 (_mstats_r): Just call _malloc_stats_r.
13926 * libc/stdlib/malign.c: New file.
13927 * libc/stdlib/mlock.c: New file.
13928 * libc/stdlib/msize.c: New file.
13929 * libc/stdlib/mtrim.c: New file.
13930 * libc/stdlib/realloc.c: New file.
13931 * libc/stdlib/valloc.c: New file.
13932 * libc/stdlib/malloc.h: Remove.
13933 * libc/stdlib/callocr.c: Remove.
13934 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13935 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13936 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13937 reallocr.o, valloc.o, vallocr.o.
13938 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13939 (MALLOC_CFLAGS): New variable.
13940 (mallocr.o): New target, build from mallocr.c.
13941 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13942 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13943 (msizer.o, malloptr.o): Likewise.
13944 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13945 (valloc.o): New target.
13946 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13947 * libc/include/malloc.h: Declare struct mallinfo, and new
13949 * libc/include/stdlib.h (cfree): Correct declaration.
13951 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13953 * libc/include/machine/setjmp.h: Add support for Thumb target.
13955 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13957 * configure.in (links): Add support for Thumb target.
13959 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13961 * libc/sys/arm/setjmp.S: Updated with version from branch.
13963 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13965 * libc/include/stdio.h: add POSIX-required define L_ctermid
13968 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13970 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13971 addition to MISSING_SYSCALL_NAMES.
13973 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13975 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13977 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13979 * libc/include/string.h: change strsignal proto to return
13980 a char *. This eliminates compile problems in gdb resulting
13981 from gdb's definition of strsignal in defs.h.
13983 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13985 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13986 winsup/include) so as not to conflict with the one in
13988 * libc/include/string.h: add protos for strsignal, strtosigno
13990 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13992 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13994 * configure.in (d30v-*-*): Add configuration.
13996 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13998 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13999 to select which kind of debug monitor is in use for an ARM target.
14001 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
14002 Angel and Demon debug monitors. Part of this code was supplied by
14003 Tony Thompson at ARM: athompso@arm.com.
14005 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
14007 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
14008 semantics when the count is greater than the length of the second
14011 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
14013 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
14014 * libc/include/sys/unistd.h: add protos for usleep, truncate,
14015 truncate and ftruncate take off_t, not size_t
14017 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
14019 * libc/string/strcat.c (strcat): Add missing comment end.
14020 * libc/string/strncat.c (strncat): Likewise.
14022 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
14024 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
14026 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
14027 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
14029 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14030 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14031 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14033 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
14035 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
14036 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
14038 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
14040 * libc/machine/i386/setjmp.S: New file.
14041 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
14042 (OFILES): Add setjmp.o.
14043 (setjmp.o): Add rule for.
14044 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
14046 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
14047 Jeffrey A Law (law@cygnus.com)
14049 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
14050 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
14051 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
14052 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
14054 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
14056 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
14059 * libc/include/sys/config.h: Use __v850 to select v850
14062 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
14065 * libc/include/machine/ieeefp.h: Use __v850 to select v850
14068 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
14070 * libc/stdlib/setenv.c: change unsetenv definition to match
14071 style of setenv (with _DEFUN). The string should be a const.
14072 * libc/include/stdlib.h: unsetenv proto should return void.
14074 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
14076 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
14078 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
14080 * libc/stdio/glue.h: remove.
14081 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
14082 * libc/stdio/Makefile.in: remove glue.h dependencies
14084 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
14086 * libc/sys/sysnecv850/crt0.S: Created V850e version.
14088 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
14090 * configure.in (target_cpu): Add `arc'.
14092 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
14094 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
14095 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
14096 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
14097 * newlib/libc/reent/reent.c: Add _wrapup_reent.
14098 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
14100 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
14102 * libc/machine/mips/setjmp.S: Handle mips16 builds.
14104 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
14106 * libc/include/stdio.h (siprintf): Declare.
14108 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
14110 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
14111 TARGET_CFLAGS and NEWLIB_FLAGS.
14113 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14115 * configure.in (links): Add support for v850ea target.
14117 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
14119 * configure.in (links): Add support for v850e target.
14121 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
14123 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
14125 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
14127 * configure.in (arc-*-*): Add support for.
14128 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
14130 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
14132 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
14134 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
14136 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
14137 comparison which accesses invalid memory when the key is
14138 larger than the last member of the array.
14139 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
14141 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
14143 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
14145 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
14148 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
14150 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
14151 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
14153 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
14155 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
14156 to load/store memory.
14158 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
14160 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
14161 underscores if _WIN32.
14163 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
14165 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
14166 support ifdef _USE_WRITE missed in last change.
14167 From Anders Blomdell <anders.blomdell@control.lth.se>.
14169 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
14171 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
14172 (_tmpnam_r, _tempnam_r): Update.
14174 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
14176 * libc/machine/sparc/setjmp.S: New file.
14177 * libc/machine/sparc/Makefile.in: Add setjmp.
14178 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
14180 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
14182 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
14184 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
14186 From Joel Sherrill <joel@oarcorp.com>.
14187 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
14189 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
14190 * configure.in: Recognize *-*-rtems*.
14191 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
14192 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
14193 time.h,times.h,types.h}: New files.
14194 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
14196 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
14198 patch from sos@prospect.com.ru (Sergey Okhapkin):
14199 * include/sys/wait.h: correct operator precidence bug
14202 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
14204 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
14205 with newlib's unsetenv function
14206 * libc/sys/cygwin32/sys: new directory for includes
14207 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
14208 here from winsup/include/sys
14210 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
14212 * libc/include/sys/unistd.h: _exit should only be
14213 labelled noreturn when not __CYGWIN32__
14214 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
14215 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
14218 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
14220 * libc/include/sys/time.h: Only define timeval and timezone if
14221 _GNU_H_WINDOWS32_SOCKETS is not defined.
14222 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
14224 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
14226 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
14227 * libc/machine/mn10300/setjmp.S: Likewise.
14229 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
14230 the mn10300 (more relaxing opportunities).
14232 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
14234 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
14235 Build libraries with -mstrict-align.
14237 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
14239 * libc/string/strlwr.c: New file.
14240 * libc/string/strupr.c: New file.
14241 * libc/include/string.h: Declare strlwr and strupr.
14242 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
14243 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
14244 (strlwr.o, strupr.o): New targets.
14245 * libc/string/strings.tex: Include strlwr and strupr docs.
14247 * libc/include/sys/types.h: Don't define u_char, et. al., if
14248 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
14249 et. al. Make FD_SETSIZE default 64 rather than 60. Define
14250 _types_fd_set rather than fd_set, and define fd_set as a macro.
14252 * libc/include/malloc.h: New file.
14254 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
14255 strnicmp if they are not already defined.
14257 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
14258 _timezone, _daylight, and _tzname.
14260 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
14262 * configure.in: Sort all configuration tables.
14264 From Joel Sherrill <joel@oarcorp.com>
14265 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
14267 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
14269 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
14270 use int when declaring kill.
14272 * libc/include/sys/timeb.h: New file.
14274 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
14276 * libc/include/sys/time.h: add itimer support for Cygwin32
14278 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
14280 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
14281 out a message that abort was called to stderr.
14283 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
14285 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
14286 so that libio doesn't freak.
14288 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
14291 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
14292 memory sizes, not int.
14294 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
14296 * libm/math/ef_hypot.c: Use long constants where
14298 * libm/math/ef_sqrt.c: Ditto.
14300 * libc/sys/sysmec/times.c(_times): Change to times.
14302 * libc/sys/sysmec/read.c(_read): The third argument is
14304 * libc/sys/sysmec/write.c (_write): Ditto.
14306 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
14307 (_lseek): It's off_t for the second argument.
14309 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
14311 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
14312 as well as machine/ieeefp.h.
14314 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
14316 * libc/include/sys/signal.h: add signal protos for winsup
14317 functions (when __CYGWIN32__), include types.h
14318 * libc/include/sys/types.h: Change __go32_types__ internal
14319 define to __MS_types__ since it's used for more than just
14320 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
14322 * libc/include/sys/unistd.h: add ftruncate proto for
14323 winsup functions (when __CYGWIN32__)
14325 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
14327 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
14329 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
14331 * libc/include/machine/setjmp.h: Add tic80 support.
14332 * libc/machine/tic80/setjmp.S: Likewise.
14334 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
14336 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
14337 link programs from libraries only (such as in the X11
14340 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
14342 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
14343 supplied elsewhere in newlib.
14345 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
14347 * Makefile.in (INSTALL): Change install.sh to install-sh.
14349 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
14351 * README: update WWW address for on-line documentation.
14353 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
14355 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
14358 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
14360 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
14362 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
14364 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
14366 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
14367 * libc/sys/d10v/syscalls.c: Likewise.
14368 * libc/sys/h8300hms/sbrk.c: Likewise.
14369 * libc/sys/h8500hms/syscalls.c: Likewise.
14370 * libc/sys/m88kbug/syscalls.c: Likewise.
14371 * libc/sys/sh/syscalls.c: Likewise.
14372 * libc/sys/sysmec/sbrk.c: Likewise.
14373 * libc/sys/sysnecv850/sbrk.c: Likewise.
14374 * libc/sys/w65/syscalls.c: Likewise.
14375 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
14377 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
14379 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
14380 emulated syscall instead of "trap".
14382 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
14384 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
14387 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
14389 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
14391 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
14393 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
14395 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
14397 * libc/sys/tic80/crt0.c: New file for TIc80.
14398 * libc/sys/tic80/Makefile.in: New file for TIc80.
14399 * libc/machine/tic80/Makefile.in: New file for TIc80.
14401 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
14403 * libc/machine/sh/memcpy.S: New file.
14404 * libc/machine/sh/memset.S: New file.
14405 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
14407 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
14409 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
14412 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
14414 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
14417 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
14419 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
14420 (patch from andrew@pogo.WV.TEK.COM).
14422 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
14424 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
14425 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
14427 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
14429 * configure.in: Add cases for "tic80" to set machine_dir,
14430 sys_dir, and syscall_dir.
14432 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
14434 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
14436 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
14438 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
14440 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
14442 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
14443 Use proper constant prefix.
14445 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
14447 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
14448 that loses on the mn10200 where ints and pointers are different
14451 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
14453 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
14454 target as signal is provided in winsup.
14456 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
14458 * libc/include/sys/process.h: Corrected const definitions
14459 in spawn functions. Added cwait.
14461 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
14463 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
14465 * libc/include/sys/config.h: Similarly.
14467 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14469 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
14471 (i[3456]86-*-sco*): Ditto.
14473 * libc/signal/Makefile.in (OFILES): Add signal.o.
14474 (CFILES): Add signal.c.
14476 * libc/signal/raise.c (_raise_r): Only compile code if
14477 SIGNAL_PROVIDED is defined.
14479 * libc/signal/signal.c: Redo whole file so that it works with
14480 current newlib. Use _kill_r if no signal handler provided.
14482 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
14484 * libc/sys/sysvnecv70/Makefile.in: Ditto.
14485 * libc/sys/sysnecv850/Makefile.in: Ditto.
14487 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
14488 * libc/sys/sysmec/{raise,signal}.c: Ditto.
14489 * libc/sys/sysvnecv70/signal.s: Ditto.
14490 * libc/sys/sysnecv850/raise.c: Ditto.
14492 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
14493 simulator and debugger can tell the difference between a signal
14494 being raised and an exit system call.
14496 * NEWS: Document software signals being provided.
14498 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14500 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
14501 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
14502 include/sys/config.h.
14503 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
14504 Change from 'inpure_data'.
14505 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
14506 &impure_data, not &inpure_data.
14508 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
14509 and and System V ABI, define so that _impure_ptr lives in the
14512 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14514 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
14515 nothing if not defined.
14516 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
14519 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
14521 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
14523 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
14524 * libc/sys/sysmec/trap.s: Handle mn10200 too.
14525 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
14527 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
14529 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
14531 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
14533 * libc/include/sys/errno.h: Added net errno's.
14535 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14537 * libc/misc/ffs.c: New file to support ffs function for GCC test
14538 gcc.c-torture/execute/960909-1.c.
14540 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
14542 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
14544 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
14545 * libc/sys/sysmec/trap.S: Likewise.
14547 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
14549 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
14550 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
14552 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
14554 * libc/sys/sysmec/signal.c: Dummy file.
14555 * libc/sys/sysmec/Makefile.in: Build it.
14557 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
14559 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
14562 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
14564 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
14565 c-startup and simulator traps.
14568 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
14569 * libc/sys/sysmec/trap0.S: Likewise.
14571 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14573 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
14574 round to double word alignment.
14575 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
14578 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
14580 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
14583 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
14585 * configure.in: Handle mn10200 and mn10300.
14586 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
14587 * libc/include/sys/config.h: Likewise.
14588 * libc/sys/sysmec: New directory for mec stuff.
14589 * libc/machine/mn10300: New directory for mn10300 stuff.
14590 * libc/machine/mn10200: Similarly for mn10200 stuff.
14592 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
14594 * libc/sys/arm/crt0.S: Use .text, not .section .text.
14595 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
14597 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
14598 (nlink_t): Change type from unsigned int to unsigned short.
14599 (mode_t): Ensure size is 32 bits even if int is 16.
14600 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
14601 (st_spare[123]): Change type from int to long.
14603 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14605 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
14608 * configure.in (d10v*): Define SMALL_MEMORY.
14610 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14612 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
14613 -mrelocatable-lib and -mno-eabi flags.
14615 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
14617 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
14618 Fix handling of mis-aligned source operand when both the
14619 destination & length are properly aligned.
14621 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
14623 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
14624 times.o, time.o and gettime.o
14625 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
14626 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
14629 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
14631 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
14632 * libc/sys/sysnecv850/access.c: New file.
14634 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
14636 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
14638 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
14641 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
14643 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
14645 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
14647 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
14648 * libc/include/sys/config.h: Add m32r support.
14650 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
14652 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
14655 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
14657 * libc/include/machine/setjmp.h: Add D10v support.
14659 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
14661 * configure.in: Configure the "libc/syscalls" directory for
14664 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
14665 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
14666 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
14667 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
14668 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
14670 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
14672 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
14673 stack for args for main and other routines. Zero out args for
14676 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
14679 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14681 * libc/stdio/findfp.c (std): Remove extraneous ';' after
14684 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
14686 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14687 real system calls now.
14689 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14690 before casting them to int.
14691 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14693 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14695 * libc/string/memset.c (memset): Ditto.
14697 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14698 first convert ints to _POINTER_INT to eliminate GCC warning.
14700 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14703 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14704 from 65000 if ints are only 16 bits.
14706 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14707 from 50000 if ints are only 16 bits.
14709 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14710 int type that is the same size as a pointer.
14712 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14714 (get_number): Explicitly cast number to long before shifting by 16
14715 or 24, in case ints are short.
14717 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14719 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14721 * libc/string.h: Added ffs, removed swab.
14722 * libc/sys/errno.h: Added EOPNOTSUPP.
14723 * libc/sys/unistd.h: Added swab.
14725 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14727 * libc/include/sys/stat.h: Added fchmod.
14728 * libc/include/sys/unistd.h: Added fsync.
14730 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14732 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14733 and ECONNRESET (104) for cygwin32.
14735 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14737 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14738 do the static destructors.
14740 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14742 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14744 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14746 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14747 * configure.in: Recognize m32r-*-*.
14749 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14751 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14752 __rt_stkovf_split_small): Added default software stack overflow
14753 handlers, which just call SWI_Exit.
14754 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14755 limit initialisation.
14757 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14759 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14761 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14763 * libc/include/sys/types.h: Added ssize_t definition.
14765 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14767 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14768 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14770 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14771 branch around a single ldi instruction.
14773 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14774 Call exit, instead of just issuing a stop instruction.
14776 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14778 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14780 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14782 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14783 longs, and then cast them to __uint32_t.
14785 * libc/include/sys/config.h: Protect against multiple inclusions.
14787 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14789 * configure.in (d10v*): Set syscall_dir.
14791 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14793 * libc/sys/d10v/crt0.S: Set stack pointer.
14795 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14797 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14798 in assembly for efficiency. Change calling convention to allow
14799 long ints to be returned.
14801 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14803 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14805 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14807 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14808 Handle empty entries in $PATH.
14810 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14812 * libc/machine/d10v/setjmp.S: Make it really work.
14814 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14816 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14817 the .stack section.
14819 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14821 * sys/sysnecv850/sys/file.h: Remove.
14822 * sys/sysnecv850/sys/syscall.h: New file.
14823 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14824 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14825 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14826 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14827 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14828 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14829 * sys/sysnec850/trap.S: New file.
14830 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14832 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14833 * sys/sysnec850/sbrk.c: New version.
14835 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14837 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14838 as long as r6 is less than r7.
14840 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14842 * Makefile.in (mostlyclean): Separate from clean target. Don't
14843 remove *.a or targ-include.
14844 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14846 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14848 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14850 (__SMALL_BITFIELDS): Ditto.
14852 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14854 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14856 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14859 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14860 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14861 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14862 * libc/sys/sysnecv850/write.c (write): Likewise.
14864 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14867 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14869 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14870 appropriately for D10V, depending on -mint16/-mint32.
14872 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14874 * configure.in: Add cases for D10V.
14876 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14878 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14880 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14882 * libc/include/machine/ieeefp.h: Fix typo.
14884 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14886 * libc/sys/d10v: New directory for D10V stuff.
14887 * libc/include/machine/ieeefp.h: Add D10V defines.
14889 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14891 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14892 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14893 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14894 * libc/string/strerror.c (strerror): Add them.
14896 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14898 * libc/sys/sysnecv850: New directory for v850 stuff.
14900 * libc/machine/v850: New directory for v850 stuff.
14901 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14903 * configure.in: Add support for the v850.
14905 * libc/include/machine/ieeefp.h: Add v850 defines.
14906 * libc/include/machine/setjmp.h: Likewise.
14907 * libc/include/sys/config.h: Add v850 defines.
14909 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14911 * libc/include/machine/ieeefp.h
14912 * libc/include/machine/setjmp.h
14913 * libc/include/sys/fcntl.h
14914 * libc/include/sys/signal.h
14915 * libc/include/sys/types.h
14916 * libc/stdlib/system.c:
14917 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14918 API availability, __CYGWIN32__ for cygwin32 environment specific).
14920 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14922 * libc/include/stdlib.h: add multibyte character functions. Add
14923 __eprintf for assert.
14925 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14927 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14928 arithmetic or __alignof__ to properly get the alignment, instead
14929 of hardwiring it to 4.
14931 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14933 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14934 on append stream (fix from NetBSD sources), adjust curoff offset
14935 for ungetc's benefit.
14936 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14937 * libc/stdio/rewind.c: replace code with up to date NetBSD
14938 code to undo hacks made to work around above problem of not
14939 having fflush call mentioned above
14941 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14943 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14944 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14945 Partially revert last changes. The thread specific errno is set
14946 iff if the underlying syscall fails and the global errno is not
14949 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14951 * libc/reent/filer.c: Removed files, all functions have split out
14952 into their own files.
14953 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14954 New files containing functions formally in filer.c
14955 * libc/reent/Makefile.in: Updated for above change.
14957 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14958 syscall fails, not if errno is changed.
14959 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14960 _write_r): Likewise.
14961 * libc/reent/fstatr.c (_fstat_r): Likewise.
14962 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14963 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14964 * libc/reent/signalr.c (_kill_r): Likewise.
14965 * libc/reent/statr.c (_stat_r): Likewise.
14966 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14968 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14969 signalr.c, statr.c, timer.c} (errno): declare extern rather
14972 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14973 instead of calling vfprintf so that i*printf will not require
14974 floating point support code.
14976 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14978 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14980 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14981 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14983 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14985 * libc/include/signal.h: _sig_func_ptr function takes an int
14986 * libc/include/sys/signal.h: sa_handler function takes an int
14988 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14990 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14991 * libc/include/sys/config.h: Add missing H8/S conditional.
14993 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14995 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14997 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14999 * libc/include/machine/setjmp.h: Handle H8/S.
15000 * libc/include/machine/ieeefp.h: Likewise.
15001 * libc/include/sys/config.h: Likewise.
15002 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
15003 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
15004 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
15005 * libc/sys/h8300hms/crt0.S: Likewise.
15007 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
15009 * Makefile.in (datadir): Set to $(prefix)/share.
15010 (oldincludedir, docdir): Removed.
15011 * doc/Makefile.in (datadir): Set to $(prefix)/share.
15012 (oldincludedir, docdir): Removed.
15013 * libc/Makefile.in (datadir): Set to $(prefix)/share.
15014 (oldincludedir, docdir): Removed.
15015 * libm/Makefile.in (datadir): Set to $(prefix)/share.
15016 (oldincludedir, docdir): Removed.
15018 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
15020 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
15023 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
15025 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
15026 fetch current path rules with sysconf and handler posix/win32
15029 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
15031 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
15032 (WAIT_CHILD): Always define.
15034 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
15036 * libc/stdlib/eprintf.c: New file.
15037 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
15038 (eprintf.o): New target.
15040 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
15042 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
15043 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
15045 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
15047 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
15048 NT in PowerPC endianess cases.
15050 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15052 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
15054 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15056 * libc/string/strtok.c: Fix doc typo.
15058 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15060 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
15061 _next, _scanpoint, _signgam fields.
15063 * libc/include/stdlib.h (rand_r): Added new declaration.
15064 (_rand_r, _srand_r): Removed declarations.
15065 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
15066 have been made obsolete by rand_r.
15067 * libc/stdlib/rand_r.c: New file, rand_r function as specified
15070 * libc/string/strtok.c: Update documentation to describe
15073 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
15075 * libc/include/sys/stat.h (stat structure): Use the expanded stat
15076 structure on Solaris, and PowerPC systems even though __svr4__ is
15079 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
15081 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
15083 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
15085 * host/any: Use ../.. rather than .. to get to the main build
15086 directory. This matches the current layout of the build
15089 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
15091 * libc/machine/h8300/__main.S: Delete. No longer needed.
15092 * libc/machine/h8300/Makefile.in: Corresponding changes.
15093 * libc/sys/h8300hms/crt1.c: New file.
15094 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
15095 * libc/sys/h8300hms/crt0.s: Call __main.
15097 * libc/sys/h8300hms/crt0.S: Use temporary label names
15098 for branch targets.
15100 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
15102 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
15104 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15106 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
15107 .sdata on the PowerPC so that we can link newlib with code
15108 compiled with -msdata.
15110 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
15112 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
15114 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
15116 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
15117 exception handler to __cygwin_exception_handler.
15119 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
15121 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
15123 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
15125 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
15127 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
15128 wcstombs.o): Likewise.
15130 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
15132 * libc/stdlib/environ.c (initial_env): New static local.
15133 (environ): Point to `initial_env'.
15135 * libc/include/machine/setjmp.h: Clean up.
15136 (__H8300H__,__PPC__): Define _JBTYPE.
15137 (__arm__): Provide entry for.
15138 (sigjmp_buf): Delete.
15139 (jmp_buf): Use _JBTYPE if defined, otherwise int.
15141 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
15143 * libc/machine/h8300/strcmp.S: Sign extend the result to
15144 32bits so we don't lose with -mint32.
15146 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
15148 * libc/sys/go32/sys/errno.h: New file.
15149 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
15150 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
15151 errno's address (make compatible with rest of newlib).
15152 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
15153 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
15155 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
15157 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
15158 * libc/machine/sparc/Makefile.in: Build them.
15159 * libc/machine/sparc/machine/sparclet.h: New file.
15161 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15163 * libc/machine/sh/asm.h: New file.
15164 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
15165 support for SH3e's FP registers. Use asm.h.
15167 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
15169 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
15170 as first argument. Call _dtoa_r and pass the reent structure
15171 instead of calling __dtoa.
15173 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
15175 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
15176 the h8300, h8500, and others. Add comments for some rather
15179 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
15181 * Makefile.in (check): Check that testsuite exists before cd.
15183 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15185 * libc/include/string.h (strsep): Correct prototype.
15187 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
15189 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
15190 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
15191 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
15193 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
15195 * libc/posix/{creat.c,isatty.c}: New files.
15196 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
15198 * libc/sys/sparc64/crt0.S (environ): Delete.
15199 (.LHaveBias): Renamed from HaveBias.
15201 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
15203 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
15204 (_morecore_r): Delete SBRK_IS_ALLOC support.
15206 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15208 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
15209 module rather than touch, so we don't get warning messages when
15210 all of the libraries are combined into libc.a.
15212 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
15214 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
15215 crt0.s replaced by version in libgloss.
15217 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
15219 * libc/reent/Makefile.in (OFILES): Add impure.o.
15220 * libc/reent/impure.o: New file, define initial reentrancy struct.
15221 * libc/reent/reent.c: Remove above definition.
15223 * libm/math/sf_asinh.c: Fix typo.
15225 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
15228 * libm/libm.texinfo: Change documentation to reflect changes
15229 in reentrancy model.
15230 * libm/math/w_gamma.c: Likewise.
15232 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
15234 * configure.in (*-*-cygwin32): New.
15235 (*-*-win32): Deleted.
15236 * libc/sys/win32 renamed libc/sys/cygwin32.
15238 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15240 * libc/include/sys/file.h: New include file.
15242 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
15244 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
15246 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
15248 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
15250 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
15252 * doc/makedoc.c (realloc): Declare at file scope.
15253 (catchar): Not here.
15255 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
15257 * Makefile.in (VERSION): Update to 1.7.0.
15258 * {libc,libm}/Makefile.in (VERSION): Likewise.
15259 * configure.in: Minor clean up of multilib stuff.
15261 From David Johnson <davidj@ICSI.Berkeley.EDU>
15262 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
15264 * libc/stdlib/environ.c: New file.
15265 * libc/stdlib/Makefile.in (OFILES): Build it.
15266 * libc/sys/h8500hms/crt0.c (environ): Deleted.
15267 * libc/sys/m88kbug/crt0.c (environ): Deleted.
15268 * libc/sys/z8ksim/crt0.c (environ): Deleted.
15269 * libc/sys/netware/environ.c: Deleted.
15271 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
15273 * configure.in (links): set sys_dir, posix_dir, syscall_dir
15275 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15277 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
15278 declaration out to external scope and declare it PTR, not char *.
15280 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
15282 * libc/include/sys/unistd.h (getpagesize): New declaration.
15283 (_SC_PAGESIZE): New definition.
15284 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
15285 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
15287 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
15289 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
15290 addressing. System call returns size, not (last address + 1).
15292 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15294 * libm/math/*.c: Removed _foo_r() reentrancy API.
15295 * libc/include/math.h: Removed _foo_r prototypes and macros.
15297 * libm/math/*.c: On systems with IEEE single precision "doubles"
15298 move foo() -> foof() wrapper code from the files that implement
15299 the standard IEEE double precision functions to the files that
15300 implement IEEE single precision functions. (ie. On those systems
15301 sin is moved from s_sin.c to sf_sin.c). There should eventually
15302 be use of a C extension (like gcc's alias attribute) so that the
15303 wrappers are not needed at all.
15305 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
15306 strict NEC V810 compiler.
15307 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
15310 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15312 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
15313 from NetBSD C library.
15314 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
15316 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
15317 and adapted from implementation I wrote for NetBSD C library.
15318 The difference is __assert doesn't take a format argument,
15319 so that there won't be multiple copies of the same string
15320 constant in the executable if assertions are enabled in
15321 more than one source module.
15322 * libc/include/assert.h (assert): Changed to call __assert.
15324 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15326 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
15327 word1 on systems with 32 bit doubles.
15328 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
15329 so that we can do arithmetic on them.
15330 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
15333 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
15335 * libc/sys/arm/crt0.S: Zero bss.
15337 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
15339 * libc/include/unctrl.h: New file.
15340 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
15341 * configure.in (subdirs): Add libc/misc.
15342 * libc/Makefile.in (SUBDIRS): Add misc.
15343 (SUBLIBS): Add misc/lib.a.
15345 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
15347 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
15349 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
15350 (_vfprintf_r): Call CHECK_INIT.
15352 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
15354 * Makefile.in (MULTITOP): Delete.
15355 (MULTISRCTOP, MULTIBUILDTOP): Add.
15356 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
15357 instead of cfg-ml-pos.in.
15359 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15361 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
15362 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
15365 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15367 * libc/string/strtok.c: Include string.h to pick up strtok_r
15370 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15372 * libc/string/strtok.c: include <_ansi.h>.
15373 * libc/time/asctime_r.c: `reresult' -> `result'.
15375 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15377 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
15378 in #ifndef _REENT_ONLY ... #endif conditional.
15380 * libc/include/string.h (_strtok_r): Remove declaration.
15381 * libc/include/time.h (_asctime_r): Remove declaration.
15382 * libc/string/strtok.c (_strtok_r): Removed.
15383 * libc/time/asctime.c (_asctime_r): Removed.
15385 * libc/string/Makefile.in (OFILES): Add new object.
15386 * libc/string/strtok_r.c: New file. strtok_r function as
15387 specified by POSIX.1c, adapted from strtok implementation
15388 from NetBSD C library.
15389 * libc/string/strtok.c (strtok): Reimplemented in terms of
15392 * libc/time/Makefile.in (OFILES): Add new objects.
15393 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
15394 New files, reentrant time functions specified by POSIX.1c.
15395 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
15396 reentrant time functions re-written in terms of reentrant
15398 * libc/time/lcltime.c: Renamed from localtime.c
15400 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
15401 gmtime_r, and localtime_r.
15403 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
15405 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
15406 * libc/include/sys/unistd.h (getlogin): Revert change of
15408 * libc/include/sys/signal.h (sigprocmask): Change prototype
15409 so it compiles with c++.
15411 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
15413 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
15414 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
15415 to give some room in case we need to align the jmp_buf.
15417 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
15418 the new ppc-asm.h include file the compiler provides to specify
15419 function prologue/epilogue. Eliminate saves of the xer and ctr
15420 registers, which are volatile. Before starting to save registers,
15421 align to 8 byte boundary.
15423 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
15425 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
15426 referenced by standard libraries.
15428 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
15430 * libc/unix/Makefile.in, libc/string/Makefile.in,
15431 libc/stdio/Makefile.in, libc/reent/Makefile.in,
15432 libc/posix/Makefile.in:
15433 Remove tabs from otherwise empty line. Confuses some
15434 older non-GNU versions of "make".
15436 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
15438 * libc/sys/unistd.h (getlogin): Returns const char *.
15440 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
15442 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
15443 * libc/include/errno.h: Moved into and include...
15444 * libc/include/sys/errno.h: New file.
15445 * libc/include/sys/wait.h: New file.
15446 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
15447 * libc/sys/win32/*: Moved out.
15448 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
15449 * configure.in (i[345]86-*-win32): HAVE_RENAME
15451 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
15453 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
15454 avoid macro expansion for these two names.
15456 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
15458 * libc/machine/h8500/psi.S: r6 renamed to fp.
15460 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
15462 * configure.in (powerpc*): No longer need to define
15463 NO_LONGLONG_POINTERS to supress warnings.
15465 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15467 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
15468 through PTR instead of directly.
15470 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
15471 non-standard constructor support.
15473 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15475 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
15476 address of the Bigint instead of the address of its _x field,
15477 as the size the result buffer was calculated accordingly.
15478 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
15480 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
15481 from NetBSD C library. No longer special cases division by
15482 zero (which needs to be done by the application anyway), but
15483 it doesn't need to call abs() (or labs()) four times either.
15485 * libc/stdlib/qsort.c: Replaced with implementation from
15488 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15490 * libc/stdio/vfprintf.c: Replaced with implementation from
15491 NetBSD C library (which is derived from the 4.4BSD C library).
15492 * libc/stdio/cvt.c: Removed.
15493 * libc/stdio/Makefile: Updated.
15495 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
15497 * libc/sys/win32/syscalls.c (rename): New.
15498 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
15500 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15502 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
15503 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
15505 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
15506 (setjmp.o): Delete rule to build setjmp.o.
15507 * libc/sys/sh/setjmp.S: Delete file.
15509 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15511 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
15512 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
15513 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
15514 pow5mult and s2b to identifiers with leading underscores.
15515 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
15516 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
15518 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
15520 * libc/sys/posix/popen.c (sys/types.h): Include.
15522 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
15524 * libc/sys/win32/syscalls.h (fhandler): New struct.
15525 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
15526 (__fhandler_normal): Declare.
15527 (hinfo): New member op_handlers.
15528 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
15529 (__write): Likewise.
15530 (_read, _write, _open, _close, _lseek): Validate fd here.
15531 Move file type specific stuff to foo_normal.
15532 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
15534 (__lookup_fhandler): New function.
15535 (__lookup_fhandler_hook, __fhandler_normal): New variables.
15537 From anders.blomdell@control.lth.se (Anders Blomdell)
15538 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
15539 Don't touch standard handles.
15540 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
15541 (_execve): Only create __FD_TABLE__ if necessary.
15542 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
15544 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
15546 * libc/sys/win32/sys/termios.h (FLUSHO): New.
15547 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
15548 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
15549 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
15550 without a handler is received.
15551 * libc/sys/win32/Makefile.in: Remove --nodelete.
15552 * libc/sys/win32/resouce.c (gettimeofday): New.
15553 * libc/sys/win32/syscalls.c (path_to_real_path): New.
15554 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
15556 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
15558 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
15559 Don't append "/*" to search pattern if trailing '/' already there,
15561 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
15562 like /'s, convert them to \'s. Handle //<drive>/ path names.
15563 Add space for quoted \'s in arg string. Print translated prog name
15564 and original prog name.
15565 (_execve): Handle parent doing exec a teensy bit better.
15566 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
15567 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
15568 path needs conversion, handle both cases. Delete `const' from result.
15569 (hash_path_name): New function.
15571 (_stat): Likewise. Fill in more fields for directories.
15572 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
15573 (wait_for_any): Fix trace message.
15574 (waitpid): Explicitly test for intpid == 0.
15576 From anders.blomdell@control.lth.se (Anders Blomdell)
15577 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
15578 so `next' is valid.
15580 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
15582 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
15585 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15587 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
15588 at all, not just == 1.
15589 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
15591 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15593 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
15594 * libc/sys/win32/include/wintypes.h: include <winnt.h>
15595 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
15598 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15600 * libc/sys/syscalls.c (getcwd): Fix off by one error.
15602 * libc/sys/signal.c (sleep): Fill it in.
15603 * libc/sys/termios.c (tcflush): Use PurgeComm
15604 (tcsetattr): Set some more of the bits.
15605 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
15607 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
15609 * libc/sys/arm/crt0.S (fp): Initialize to 0.
15610 Conditionally include .idata$3 stuff ifdef __pe__.
15612 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
15614 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
15615 * libc/sys/win32/pipe.c (pipe): Ditto.
15616 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
15617 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
15618 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
15619 (tcgetattr): Contents are new.
15620 * libc/sys/win32/include/winkernel.h (DCB): New.
15621 (GetCommState, SetCommState): New.
15623 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
15625 * libc/sys/arm/crt0.S (_start): Define.
15627 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
15629 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
15630 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
15632 * libc/sys/win32/sysconf.c: New
15633 * libc/sys/win32/sys/winadvapi.h: New
15634 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
15635 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
15636 * libc/sys/win32/pipe.c (pipe): Ditto.
15637 * libc/sys/win32/signal.c (_raise): New.
15638 (_kill): Moved from spawn.c
15639 * libc/sys/win32/spawn.c (kill): Moved to signal.c
15640 * libc/sys/win32/syscalls.c (__read): Use new fields.
15642 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
15643 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
15644 * libc/include/sys/unistd.h (rmdir): Takes const path.
15645 * libc/include/sys/stat.h (mkdir): Takes const path.
15646 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
15648 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
15650 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
15652 Add support for specifying paths as //<drive>/foo/bar.
15653 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
15654 (__path_to_real_path): Declare.
15655 (PATH_TO_REAL_PATH): New macro.
15656 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
15657 (__path_needs_conversion_p, __path_to_real_path): New functions.
15658 (_open): Fix test for error return from CreateFileA.
15659 Handle new path syntax.
15660 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
15661 * libc/sys/win32/dirsearch.c (opendir): Likewise.
15663 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
15665 * libc/sys/win32/include/*.h: Reorganized
15666 * libc/sys/win32/include/WINREADME: New.
15667 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
15668 * libc/sys/win32/*.c: Fix for new include scheme.
15669 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
15670 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
15671 * libc/sys/win32/passwd.c (*): Fix.
15672 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
15673 (_stat): Get directory owner and permissions right.
15674 * libc/sys/win32/syscalls.h (uinfo): New.
15675 * libc/sys/win32/version.def: Remove leading underscores.
15677 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15679 * libc/sys/win32/key.c: include "include/wincon.h".
15681 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
15683 * libc/sys/win32/{key, stubs}.c: New.
15684 * libc/sys/win32/Makefile: Adjust to cope.
15685 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
15686 (environ_init): Change env names to upper case.
15687 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15688 * libc/sys/win32/passwd.c (*): Fill in the functions.
15689 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15690 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15691 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15692 (_open): Initialze hmap->execable_p too.
15693 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15694 (_fstat): Fill in permissions.
15695 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15697 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15699 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15701 (cfg-ml-pos.in invocation): Likewise.
15703 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15705 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15706 s_isnan.o and sf_isnan.o.
15708 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15710 * All Makefile.in files: added maintainer-clean target as a
15711 synonym for realclean.
15713 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15715 * libc/include/machine/setjmp.h: Add hppa support.
15716 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15718 * libc/machine/hppa/Makefile.in: Related changes.
15720 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15722 * configure.in (machine_dir): Don't set for v810-*-*.
15724 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15726 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15727 conventions correctly.
15729 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15731 * libc/stdio/puts.c: Update documentation of return value to match
15734 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15736 Fix file descriptor inheritance.
15737 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15738 (NOT_OPEN_FD): Fix.
15739 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15740 close-on-exec flag not set. Initialize child's entire fd table.
15741 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15743 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15744 if CHILD_P. Initialize entire hmap entry.
15745 (dup): Only create new handle as inheritable if CHILD_P.
15746 (dup2): Likewise. Properly initialize hmap entry.
15748 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15750 (_exit): Use CHILD_P.
15751 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15754 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15756 * libc/sys/win32/crt0.c (passover): fix up the state table.
15757 * libc/posix/popen.c: Added.
15758 * libc/posix/Makefile.in: compile popen.c.
15760 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15762 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15763 h8/500 define _DOUBLE_IS_32BITS.
15765 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15767 Get vfork/exec/spawn/cwait/wait working again.
15768 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15769 (procinfo): New member vfork_level.
15770 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15771 (vfork_init_first): Use GetCurrentProcessId to get pid.
15772 Initialize vfork_level.
15773 (vfork_init): Delete __PID__.
15774 (environ_init): New function. Undo patch of Aug 19, Posix says
15775 environment variables are case sensitive.
15776 (mainCRTStartup): Call it.
15777 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15778 (my_longjump: Make static.
15779 (_spawn): New argument `h'. Delete setting of __PID__.
15780 Delete local `idx'. Look for chars that need quotes, rather than
15781 ones that don't. Set handle of created process in `h'.
15782 Result is process id if created task.
15783 (allocate_spawn_entry): New function.
15784 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15785 (_execve): Set __FD_TABLE__ before spawning child.
15786 Scan our fd table when passing fds, not our parent's.
15787 Store handle and pid in procinfo entry.
15788 (vfork0): Ensure strace message always printed.
15789 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15790 (vfork): Don't clobber result of vfork0.
15791 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15792 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15794 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15796 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15797 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15798 adding vfork level to pseudo-pid.
15799 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15800 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15801 (_exit): If child, set exit code.
15802 (__vfork_record_death): Only close process handle if valid.
15803 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15805 (wait_for_any): Likewise. Start scan after root entry.
15807 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15809 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15810 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15811 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15812 of actual file length.
15814 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15815 * libc/include/paths.h: _PATH_BSHELL added.
15816 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15819 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15821 * libc/include/ar.h: Added.
15822 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15823 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15824 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15826 (_fstat): use .namehash for inode number of the fd.
15828 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15830 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15831 Change hinfo to __this_procinfo.
15832 * libc/sys/win32/crt0.c: Remove procinfo_list.
15834 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15836 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15839 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15841 * libc/sys/win32/include/grp.h: Removed.
15842 * libc/sys/include/grp.h: Added.
15843 * libc/sys/win32/grp.c: Include <grp.h>.
15845 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15847 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15848 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15849 Defined for all but strict ANSI.
15850 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15851 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15852 * libc/signal/signal.c (_signal_r): Changed from using
15853 _MAX_SIGNALS to NSIG.
15854 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15856 (__strace, __vfork_next_pid): New.
15857 (__exe_suffix): Default to 1.
15858 (passover, table): Understand quoted arguments.
15859 (vfork_init_first): New.
15860 (vfork_init): Initialize new process structure.
15861 (mainCRTStartup): Pass environ to main.
15862 * exceptions.c (__sig_mask): New
15863 (ehandler3): Ignore signals in mask.
15864 (really_exit): Remove CHILD_P test.
15865 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15866 * resource.c (getrusage): Ditto.
15867 * signal.c (sigprocmask): New.
15868 * spawn.c (*): Rewritten.
15869 * syscalls.c (*): Use new process and file structure.
15870 (find_unused_handle): New.
15871 * syscalls.h (MAX_HANDLES): Deleted.
15872 (hinfo): Removed child_created_p.
15873 (MAX_CHILDREN): Deleted.
15874 (vfork_jmp_info, procinfo): New.
15875 * wait.c (*): Mostly new.
15876 * sys/strace.h (_STRACE_PARANOID): New.
15877 * sys/param.h: New file.
15879 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15881 * libc/include/sys/stat.h: add S_BLKSIZE.
15882 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15883 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15885 (mode_t): add a #else to avoid multiple definitons.
15887 * libc/sys/win32/Makefile.in: add grp.c.
15888 * libc/sys/win32/grp.c: include grp.h correctly.
15889 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15890 of the st structure with real information.
15891 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15893 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15895 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15896 and (maybe) sparc64.
15897 (nlink_t): Provide typedef.
15899 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15901 * libc/sys/win32/grp.c: New file.
15902 * libc/sys/win32/include/grp.h: New file.
15904 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15906 * libc/include/machine/ieeefp.h: Added whitespace to make this
15907 file easier to maintain.
15908 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15909 depending on the value of __LITTLE_ENDIAN__.
15910 On the sh3e, define _DOUBLE_IS_32BITS.
15912 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15914 * libc/sys/vr4300/syscalls.c: Added missing support
15915 routines. _raise() and getpid().
15917 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15919 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15921 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15923 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15924 and VR4300 processor.
15925 * libc/sys/vr4300: Add directory.
15926 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15927 monitor run-time support.
15929 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15931 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15932 * libc/stdlib/stdlib.tex: Don't include atol.def.
15934 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15936 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15938 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15940 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15942 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15944 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15945 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15946 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15947 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15948 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15950 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15952 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15954 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15956 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15957 * libc/stdlib/atoff.c: New file.
15958 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15959 * libc/stdlib/atoi.c (atol): Removed.
15960 * libc/stdlib/atol.c: Removed duplicate documentation.
15962 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15963 #ifndef _STRICT_ANSI conditional.
15964 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15965 * libc/ctype/_tolower.c: New file.
15966 * libc/ctype/_toupper.c: New file.
15967 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15968 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15969 * libc/ctype/toascii.c (_toascii): Removed.
15971 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15973 * libc/sys/sparc64/sys/types.h: Deleted.
15975 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15977 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15978 and recognize Windows_95 systems.
15980 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15982 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15983 and passed fds should be opened in text mode.
15985 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15987 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15988 in __hmap, set to binary mode by default.
15990 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15992 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15993 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15996 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15998 * Makefile.in (install): Install all libraries found in the
15999 top level. If there's a sys/<type>/include directory,
16000 install those headers into include.
16002 * libc/sys/win32/kernel.def351: Delete
16003 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
16004 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
16005 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
16006 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
16007 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
16008 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
16009 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
16010 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
16012 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
16013 * libc/sys/win32/crt0.c: Force all env names to upper case.
16014 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
16015 * libc/sys/win32/*.c: Headers have moved.
16016 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
16017 __vfork_child_idx is now __vfork_child_ptr.
16019 * posix/execvp (execvp): Don't crash if no PATH envname.
16021 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16023 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
16024 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
16025 through the _freelist instead of through the _reclaim list.
16026 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
16027 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
16030 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16032 * libc/machine/h8500/setjmp.S: New file.
16033 * libc/include/machine/setjmp.h: Updated for H8/500.
16035 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
16037 * libc/sys/win32/syscalls.c (_open): More stracing.
16038 (_stat): Open the file in O_BINARY.
16040 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16042 * libc/machine/h8300/setjmp.S: New file.
16043 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
16045 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
16047 * libc/sys/win32/crt0.c (__exe_suffix): New global.
16048 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
16049 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
16050 __exe_suffix. Free fd_tab after setting env variable.
16051 (spawnv,_execve): Update.
16052 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
16053 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
16054 (__small_vfprintf): New function.
16055 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
16056 * libc/sys/win32/wait.c (cwait): Validate argument.
16058 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
16059 (process_deletion_queue): Likewise.
16061 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
16063 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
16065 * libc/sys/win32: Copyrights and gratuitous indenting.
16067 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
16069 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
16070 (process_deletion_queue): Likewise.
16071 (__close_all_files): New function.
16072 (_close): Only queue file deletion if really a file.
16073 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
16075 (_exit): Call __close_all_files.
16077 * libc/stdlib/system.c: #include <errno.h>.
16078 (_system_r): Fix results in -DNO_EXEC case.
16080 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
16081 Reorganize structure.
16082 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
16083 if argument is valid. Save directory name in DIR. malloc space
16084 for dirent struct separately.
16085 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
16087 * libc/include/errno.h (ENAMETOOLONG): Define.
16088 * libc/string/strerror.c (strerror): Reword ENFILE.
16089 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
16091 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
16093 * libc/sys/win32/crt0.c (__progname): New global.
16094 (mainCRTStartup): Support strace=bitmask,filename.
16095 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
16096 * libc/sys/win32/syscalls.c (_write): Print parent trace message
16098 (getcwd): Handle len too small. Convert '\\' to '/'.
16099 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
16100 Add prototypes for open, creat, fcntl.
16101 (O_APPEND): Change value to conform to Microsoft's value.
16102 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
16104 * libc/stdlib/getopt.c: New file.
16105 * libc/stdlib/Makefile.in: Build it.
16107 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
16109 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
16110 Fix scanning of $PATH.
16111 * libc/posix/exec*.c: Call _execve, not execve.
16112 * libc/posix/execve.c: New file.
16113 * libc/posix/Makefile.in (OFILES): Add execve.o.
16115 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
16116 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
16117 (_STRACE): If level==0, always print. Handle new bit mask scheme.
16118 * libc/sys/win32/crt0.c: Update _STRACE calls.
16119 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
16121 * libc/sys/win32/smallprint.c (rn): Fix digit list.
16123 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
16124 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
16125 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
16126 Print __seterrno trace message first.
16127 (_execve): Renamed from execve.
16128 (vfork): Update __strace usage.
16129 (__vfork_child_pid): Deleted.
16130 (__vfork_children, __vfork_child_idx): New globals.
16131 (_spawnvp): New function.
16132 (spawnvp, spawnv, _execve): Call _spawnvp.
16133 (init_child): Record child in __vfork_children.
16134 (__vfork_get_entry, __vfork_record_death): New functions.
16135 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
16136 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
16137 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
16138 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
16139 (children): New typedef.
16140 (__vfork_children,__vfork_child_idx): Declare.
16141 (__vfork_get_entry,__vfork_record_death): Declare.
16142 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
16143 (waitpid): Handle pid == -1.
16144 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
16145 * configure.in (i386-win32): Add -DNO_FORK.
16146 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
16147 * libc/reent/execr.c (_fork_r): Likewise.
16148 * libc/stdlib/system.c (do_system): New function.
16149 If WIN32, try to get shell path from $SH_PATH, use vfork.
16150 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
16151 otherwise return 0.
16153 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
16155 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
16156 * libc/sys/win32/fcntl.h: Don't include self.
16157 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
16158 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
16159 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
16160 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
16161 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
16162 Correct prototypes.
16163 * libc/sys/win32/strace.c: New file.
16164 * libc/sys/win32/smallprint.c: New file.
16165 * libc/sys/win32/crt0.c (func): Delete.
16166 (mainCRTStartup): Fix alloca usage. Set handles explictly.
16167 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
16168 * libc/sys/win32/exceptions.c: Lint.
16169 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
16170 Clean up handle usage.
16171 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
16172 (open.c): Default file type is text.
16173 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
16174 * libc/sys/win32/advapi32.def: New
16176 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
16178 * configure.in (posix_dir, libc_posix_lib): New variables.
16179 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
16180 (i[345]86-*-win32): Define posix_dir.
16181 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
16182 (if unix_dir): Fix typo.
16183 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
16184 scandir,seekdir,telldir}: New files.
16185 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
16187 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
16188 (SUBDIRS): Add posix.
16189 (SUBLIBS): Add $(LIBC_POSIX_LIB).
16191 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
16192 (NSIG): Increase to 21.
16193 * libc/include/sys/unistd.h (pid_t): Move from here,
16194 * libc/include/sys/types.h (pid_t): to here.
16196 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
16197 (__ptrace): Delete.
16198 (hinfo): New members close_exec_p, child_created_p.
16199 (struct exception_list): Define.
16200 (__hmap): Redefine as pointer to table.
16201 (__parent_hmap, __child_hmap): New globals.
16202 (__set_errno, __really_exit): Declare.
16203 (__vfork_child_pid): Declare.
16204 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
16205 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
16206 (__parent_hmap, __child_hmap): New globals.
16207 (__hmap): Redefine as pointer to active map.
16208 (__get_console): New function.
16209 (mainCRTStartup): Change leading '=' in environ vars to '!'.
16210 (env __FD_TABLE__): Watch for this and initialize our fd/handle
16211 mapping table from it if defined.
16212 (argv, envp): Dump if __strace >= 4.
16214 * libc/sys/win32/exceptions.c (myp): Redefine.
16215 (__syscalls_b): Delete.
16216 (__stack_trace): New function.
16217 (ehandler3): Update to use _STRACE. Print stack trace.
16218 Call __really_exit instead of exit.
16219 (init_exceptions): Delete args argc,argv. New arg mine.
16220 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
16221 FindFirstFileA, FindNextFileA, GetComputerNameA,
16222 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
16223 * libc/sys/win32/signal.c (signal): Validate arg.
16224 (alarm, sleep): Define as stubs for now.
16225 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
16226 (__syscalls_b, errno): Delete.
16227 (__vfork_child_pid, __vfork_jmp_buf): New globals.
16228 (__seterrno): Handle more errors.
16229 (__sys_printf): Renamed from _ptrace.
16230 (__really_exit): New function.
16231 (queue_file_deletion, process_deletion_queue): New functions.
16232 (__resume_parent): New function.
16233 (_unlink): Handle trying to delete open file.
16234 (__totime_t): Renamed from totime_t.
16235 (setsid, __read, __write): New functions.
16236 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
16237 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
16238 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
16239 * libc/sys/win32/console.c: Update to new definition of __hmap.
16240 * libc/sys/win32/Makefile.in: Build new files.
16241 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
16242 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
16243 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
16244 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
16246 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
16248 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
16250 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16252 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
16253 have been made to the master dtoa.c sources (from netlib.att.com)
16254 since they were integrated into newlib in early 1992. Fixes
16255 problems with storage leaks and handling of numbers with very
16256 negative exponents.
16258 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16260 * Makefile.in (all): set rootpre and srcrootpre before calling
16263 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
16265 * libc/sys/win32/crt0.c: Change __hmap usage.
16266 * libc/sys/win32/exceptions.c: Use _ptrace call.
16267 * libc/sys/win32/syscalls.c: Use _ptrace call.
16268 (read, write): Cope with DOS style CRLF when in TEXT mode.
16269 * libc/sys/win32/syscalls.h: Declare hinfo struct.
16270 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
16271 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
16272 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
16273 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
16275 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16277 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
16279 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
16280 wrappers for hypot() and remainder() for BSD libm compatibility.
16281 These are public domain implementations written by me for the
16282 NetBSD libm some time ago. Note cabs() is required by ucbtest.
16283 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
16284 (fobj): Added wf_cabs.o and wf_drem.o.
16286 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16288 * libc/sys/h8500hms/misc.c: New file.
16289 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
16291 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16293 * libc/time/localtime.c (localtime): Fix problem with leap year
16294 handling. Stole algorithm from Arthur David Olson's tz code.
16296 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
16298 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
16300 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
16301 (_exit): Use argument.
16303 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
16305 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
16307 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
16309 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
16311 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16313 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
16316 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
16318 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
16319 ptrace with case insensitivity
16320 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
16321 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
16324 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
16326 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16327 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
16328 (all, install, *clean): Use new multilib support.
16329 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
16331 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
16333 * libc/include/sys/signal.h (__WIN32__): New.
16335 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
16337 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
16338 (ulp, b2d): Handle 32 bit doubles.
16339 * libc/stdlib/mprec.h: Handle 32 bit doubles.
16340 * libc/stdlib/strtod.c (_strtod_r): Ditto.
16342 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
16344 from medp@primag.co.uk:
16345 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
16346 dynamically allocated buffers.
16348 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
16350 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
16351 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
16353 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16355 * configure.in (powerpc): Fix previous fix.
16357 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16359 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
16360 directories for this target.
16362 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
16364 * configure.in (hppa): Add machine_dir definition.
16365 * libc/machine/hppa: New directory with PA specific implementations
16366 of the basic memory/string functions.
16368 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
16370 * configure.in: Update current PowerPC multilib directories.
16371 Split big and little endian configurations.
16373 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
16375 * configure.in: Add --enable-single-float option to configure to
16376 control use of MIPS single-float directories. Default to yes.
16378 * Makefile.in (all): Don't recurse into multilib directory if it
16381 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16383 * libc/sys/sh/syscalls.c: Fix typo.
16385 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
16387 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
16389 * libc/include/process.h: Define WAIT_CHILD.
16390 * libc/include/types.h: Get sizes right for win32.
16391 * configure.in (i386-*-pe): Becomes i386-win32.
16392 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16393 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
16394 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
16397 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
16399 * configure.in (i[345]86-*-pe): New target (NT).
16400 * host/any: DLLTOOL new.
16401 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
16402 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
16403 WIN32 (just enough to cross host the comp-tools).
16405 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
16407 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
16408 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
16410 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
16412 * libc/include/machine/ieeefp.h (arm): Change to always be
16413 __IEEE_BIG_ENDIAN (even on little endian ARM's).
16415 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
16417 * libc/sys/crt0.S: Initialze sp, and call exit after main.
16418 * libc/sys/syscalls.c (abort): New.
16419 * configure.in (arm): Define ABORT_PROVIDED.
16421 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16423 * configure.in (powerpc): Define multidirs.
16425 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
16427 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
16429 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
16431 * configure.in (sparclite): Delete target_cflags. Define multidirs.
16433 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
16435 * configure.in, libc/include/machine/ieeefp.h: Modified
16437 libc/machine/arm/*, libc/sys/arm/*: New
16439 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16441 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
16442 __powerpc__ when determining endianness.
16444 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16446 * configure.in (m68*): Add multidir for the m68332.
16448 * host/any (CC): Fix typo in last change.
16450 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
16452 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
16453 when determining endianness.
16454 * libc/include/machine/ieeefp.h: Ditto.
16455 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
16458 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
16460 * libc/include/errno.h (ENOTEMPTY): Define.
16462 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16464 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
16467 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
16470 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
16471 instead of only when open succeeds. ANSI requires that multiple
16472 calls to tmpnam() result in different files.
16474 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
16475 objects pulled in from /lib/libc.a that must be renamed before
16476 being pulled into newlib. /lib/libc.a's div.o conflicted with
16477 newlib's file with the same name.
16479 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
16481 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
16482 the build tree will only be used if the executables are present
16483 (instead of just the Makefiles).
16485 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
16487 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
16488 versions of these functions that I orignally wrote for the
16490 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
16491 versions I wrote for NetBSD.
16493 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
16495 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
16496 * libc/sys/sparclite/crt0.s: ditto.
16498 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
16500 * configure.in: Add soft-float for proelf.
16502 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
16504 * libc/stdlib/mprec.h (Bcopy): Copy the right number
16507 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
16509 * Makefile.in (all): Depend on `force'.
16510 * configure.in (syscall_dir): Renamed from fake_sys_dir.
16511 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
16512 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
16513 * libc/Makefile.in: Likewise.
16514 * libc/include/reent.h: Update syscall references.
16515 (_fcntl_r): Add prototype.
16516 * libc/syscalls/*.c #include <reent.h>.
16517 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
16519 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
16521 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
16522 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
16523 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
16524 (time.h, sys/types.h): Always include (even if MSDOS).
16525 (stat): Fix prototype.
16527 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
16529 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
16531 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
16533 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
16535 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
16537 * libc/include/regdef.h: New file.
16538 * libc/machine/mips/machine/regdef.h: New file.
16540 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
16542 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
16544 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
16546 * libc/sys/sh/crt0.S: Pass main's return to exit.
16547 * libc/sys/sh/trap.S: Put errno in the right place.
16549 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16551 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
16552 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
16553 * libm/math/ef_rem_pio2.c: Likewise.
16554 * libm/math/e_log10.c: Remove unused static one.
16555 * libm/math/ef_log10.c: Likewise.
16556 * libm/math/s_frexp.c: Likewise.
16557 * libm/math/sf_frexp.c: Likewise.
16559 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
16561 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
16562 longjmp.S: Upgraded.
16563 * libc/sys/go32/sys/setjmp.h: Upgraded.
16564 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
16566 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16568 * configure.in: Add many entries to multidirs for mips targets.
16570 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
16572 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
16573 5.2 which fixes bug where jn(-1,x) is three times larger than
16575 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
16577 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
16579 * libc/sys/w65/sys/syscalls.h: New file
16580 * libc/include/machine/ieeefp.h: W65 support.
16581 * libc/include/sys/config.h: Ditto.
16582 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
16583 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
16584 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
16586 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
16588 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
16590 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
16592 * Makefile.in, configure.in: Remove any references to the old
16595 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16597 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
16598 uses ... in prototype.
16601 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
16603 * libc/sys/a29khif/sys/libconfig.h: Remove.
16604 * libc/sys/go32/sys/libconfig.h: Remove.
16605 * libc/sys/sun4/sys/libconfig.h: Remove.
16606 * libc/sys/sysvi386/sys/libconfig.h: Remove.
16607 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
16608 * libc/sys/sparc64/sys/libconfig.h: Remove.
16610 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
16611 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
16612 * libc/include/math.h: Change all uses of _FLOAT_RET and
16613 _FLOAT_ARG to float.
16614 * libm/test/math.c: Likewise.
16615 * testsuite/libm.sac/math.c: Likewise.
16616 * testsuite/libm.sac/working/math.c: Likewise.
16618 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16620 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
16621 gcc calls gas with endian option.
16622 * configure.in (sh): Build little endian version too.
16624 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16626 * configure.in: Configure big and little endian versions for MIPS
16629 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
16631 * libc/include/limits.h: Deleted.
16632 * libc/include/machine/limits.h: Deleted.
16634 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
16636 * ChangeLog: Remove stub directory. This has all been rewritten
16637 and moved to devo/libgloss.
16639 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
16641 * Makefile.in (dvi): Add to info target, use $@ in sub make.
16642 (docs): Merge into info target.
16643 * libm/Makefile.in (dvi): Add $(srcdir).
16644 * libm/math/Makefile.in (chobjs): Remove underscores from file
16645 names. Texinfo doesn't like them.
16646 (wacos.def, ...): Add explicit targets for all .def files.
16647 * libm/math/math.tex: Remove underscores from @include file names.
16648 * doc/Makefile.in (dvi): Add dummy target.
16649 * testsuite/Makefile.in (dvi): Add dummy target.
16651 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
16653 * Makefile.in (VERSION): Define. For net newlib releases.
16655 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
16657 * README: New file.
16659 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16661 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
16663 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16665 * libc/stdlib/setenv.c (_findenv): Declare.
16667 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
16668 fcntl to not use _EXFUN, and change string parameters to open and
16669 creat to be ``const char *''.
16670 * libc/sys/sparc64/sys/fcntl.h: Likewise.
16671 * libc/sys/sparc64/creat.c (creat): Make PATH const.
16672 * libc/syscalls/sysopen.c: Include <fcntl.h>.
16673 (open) Make _FILE const.
16674 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
16675 (_creat): Make PATH const.
16676 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
16677 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
16678 * libc/sys/m88kbug/syscalls.c (open): Likewise.
16679 * libc/sys/sh/syscalls.c (_open): Likewise.
16680 * stub/shared/glue.c (open): Make BUF const.
16681 * stub/ex93x/syscalls.c (open): Make FILENAME const.
16683 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
16685 * libc/include/errno.h: Add ENMFILE
16686 * libc/include/sys/config.h: Support Z8000.
16687 * libc/include/sys/signal.h: New signals for go32.
16688 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16689 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16690 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16691 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16692 size is variable, depending upon CHUNK_POWER.
16693 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16695 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16697 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16699 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16701 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16703 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16705 * configure.in: Change i[34]86 to i[345]86.
16707 * libc/include/math.h: Don't define HUGE_VAL if it is already
16710 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16712 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16713 * testsuite/libm.sac/test_gammaf.c: Likewise.
16714 * testsuite/libm.sac/test_sin.c: Likewise.
16715 * testsuite/libm.sac/test_tanh.c: Likewise.
16717 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16719 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16720 already set. Define typedefs __int32_t and __uint32_t.
16721 * libc/include/math.h: Include <machine/ieeefp.h>.
16722 (union __dmath): Use __uint32_t.
16723 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16724 instead of int and unsigned int.
16726 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16728 Replace the math library with the SunPRO fdlibm package.
16729 * libm/math: Completely changed all files.
16730 * libm/ieeefp: Remove contents and directory.
16731 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16732 (SUBDIRS): Just set to math/lib.a.
16733 * libm/libm.texinfo: Updated for new library.
16734 * libc/include/math.h: Extensive changes for new math library.
16735 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16736 from _FLOAT_ARG to float.
16737 (maxpowtwo, maxpowtwof): Don't declare.
16738 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16739 (libm_fp_lib): Removed.
16740 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16741 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16742 argument to ${RUNTEST}.
16743 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16745 (RUNTESTFLAGS): Set CC and CFLAGS.
16746 (TESTS): Remove test_log2 and test_log2f.
16747 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16748 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16749 _FLOAT_ARG, for single precision argument type.
16750 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16751 expected failure. Close the input pipe.
16752 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16753 Correct misspelling of inaccurate.
16754 (test_mok): Use ``inaccurate'', not ``wrong''.
16755 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16756 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16757 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16758 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16759 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16760 test_yn.c): Correct many result values. Many are still wrong.
16762 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16763 just copy the string.
16764 (_gcvt): Always return the buffer.
16766 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16768 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16770 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16772 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16774 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16775 (_reclaim_reent): declare new entry point.
16776 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16779 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16780 ever allocated, so that we can later reclaim them all.
16781 (pow5mult): make reentrant.
16783 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16784 so that when given NULL as a buffer, return a pointer to static
16785 space in the rent structure. This is not documented behaviour;
16786 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16787 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16788 therefore become reentrant).
16790 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16792 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16794 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16796 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16798 * Makefile.in: Make link to libg.a after libc.a; this is needed
16799 for the testsuites to build executables when everything comes
16802 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16804 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16805 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16807 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16809 * libc/include/stdio.h: Use __VALIST, not va_list.
16811 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16813 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16814 testsuite/libm.sac/execute.exp:
16815 Replace error proc calls with perror calls.
16817 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16819 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16820 * libc/include/time.h: #define NULL as 0L.
16822 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16824 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16827 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16829 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16832 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16834 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16835 (z8k-*-*): Use syscalls fake sys dir.
16836 * libc/sys/z8k/glue.c: Rename syscalls.
16837 * libc/sys/go32/Makefile.in: Use new routines.
16838 * libc/machine/Makefile.in: Fix typo in ln stuff.
16840 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16842 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16843 * libc/Makefile.in (crt0.o): Likewise.
16844 * libc/machine/Makefile.in (lib.a): Likewise.
16845 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16847 All Makefile.in files: Added mostlyclean, realclean and distclean
16850 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16851 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16852 the top level Makefile.
16854 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16856 * libc/sys/sparc64/sys/stat.h: New file.
16857 * libc/sys/sparc64/sys/time.h: New file.
16858 * libc/sys/sparc64/sys/types.h: New file.
16860 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16862 * stub/ex93x/crt0.s (start): Add code to clear bss.
16864 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16866 * libc/include/sys/types.h (time_t): Properly protect inside
16867 #ifndef __time_t_defined.
16869 * libc/stdio/fileno.c: New file.
16870 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16871 (fileno.o): Add dependency.
16872 * libc/include/stdio.h (__sgetc): Rename never to _never.
16873 (fileno macro): Disable, needs to do CHECK_INIT first.
16875 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16877 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16880 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16881 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16883 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16886 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16888 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16889 of the various constants.
16891 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16893 * libc/include/math.h: #ifndef __math_68881 around things which
16894 conflict with the (gcc-provided) inline functions in
16895 gcc/ginclude/math-68881.h.
16897 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16899 * libc/include/_syslist.h (_gettimeofday): Define.
16901 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16902 (struct tms, timeval, timezone): Declare.
16903 (_gettimeofday_r, _times_r): Declare.
16904 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16905 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16906 (time_t): Add multiple definition protection, __time_t_defined.
16907 * libc/include/sys/time.h: Don't #include <time.h>.
16908 Always define struct timezone (remove #ifndef _TIME_H_).
16909 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16910 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16911 * libc/reent/Makefile.in (OFILES): Add timer.o.
16912 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16913 * libc/reent/timer.c: New file.
16914 * libc/time/clock.c: #include <reent.h>.
16915 (clock): Call _times_r instead of times.
16916 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16917 HAVE_GET_TIME_OF_DAY.
16918 Add comment regarding supporting OS routine(s) required (for docs).
16919 #include <reent.h>.
16920 (time): Call _gettimeofday_r instead of gettimeofday.
16921 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16922 * libc/time/ctime.c: Ditto.
16923 * libc/time/strftime.c: Ditto.
16924 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16925 (TEMPLATE_SFILES_R): Define here. Also define times.
16926 Add times_r.o/times.S dependence.
16927 (time2.c, junk.c): Deleted.
16928 * libc/sys/sparc64/time2.c: Deleted.
16929 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16931 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16932 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16933 * libc/sys/sparc64/junk.c: Deleted.
16935 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16937 * libc/sys/sparc64/Makefile.in: Add times syscall.
16938 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16939 be used with and without it. Add comment clarifying Medium/Anywhere
16940 model requirements.
16941 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16942 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16945 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16947 * configure.in (target_cflags): Move init.
16948 (sparc64-*-*): Define HAVE_BLKSIZE.
16950 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16952 * libc/include/sys/_types.h: New file.
16953 * libc/include/reent.h: #include it.
16954 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16955 MISSING_SYSCALL_NAMES.
16957 * libc/include/_syslist.h: Remove _raise.
16958 * libc/reent/signalr.c: New file.
16959 * libc/reent/Makefile.in: Compile it.
16960 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16961 Add doc for raise and _raise_r.
16962 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16963 (raise): Call _raise_r.
16964 (_raise_r): Call _getpid_r and _kill_r.
16965 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16966 (abort): Loop forever calling raise and _exit.
16968 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16970 * configure.in: Remove extraneous echo.
16972 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16974 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16975 collision with unistd.h, and fix for svr4.
16977 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16979 * libc/stdio/local.h (_llicvt): Declare.
16980 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16981 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16983 (_sicvt): Fix function header (`value' is short).
16984 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16985 Add printing of long long's support.
16986 Add printing of 8 byte pointer support.
16988 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16990 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16991 stat, chmod): New hooks.
16992 (sbrk): Abort if stack and heap collide.
16993 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16994 shortcut when given small args.
16995 * libc/machine/sh/setjmp.s: Rewritten.
16996 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16997 of cmp/str instruction.
16999 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17001 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
17002 and machine_dir powerpc.
17003 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
17004 Add cases for __powerpc__.
17005 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
17008 * libc/include/stdio.h (_iprintf_r): Declare correctly.
17010 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
17012 * libc/stdlib/callocr.c: New file with _calloc_r in it.
17013 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
17015 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
17017 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
17018 (print_e): More comments to describe args, etc.
17019 "type" arg may now be 'g' or 'G' for %g/G format --> remove
17021 (_gcvt): Remove locals decpt, sign, end, p, done.
17022 More comments for print_e invocation.
17023 Pass "type" to print_e as is (g/G).
17025 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
17027 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
17030 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
17032 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
17033 works with any sized pointer, including ones bigger than ints and
17036 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
17038 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
17040 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17042 * libc/include/stdlib.h (_calloc_r): Add prototype.
17043 * libc/machine/h8500/negsi2.c: New file.
17044 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
17045 large unsigned numbers.
17046 * libc/machine/h8500/cmpsi.c: Add cmppsi.
17047 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
17048 works when sizeof(size_t) != sizeof(char *).
17049 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
17051 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
17053 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
17055 * libc/include/assert.h (assert): Handle -traditional.
17057 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
17059 * Makefile.in: added ; after every "fi" and "done" that wasn't at
17060 the end of a line (ie. anything before a backslash continuation)
17061 so that bash handles them.
17063 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17065 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
17068 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
17070 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
17071 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
17072 libc/machine/sh/udivsi3.s: Use new calling convention.
17074 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
17076 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
17077 chmod, access, chdir, chown by making _path const. Also fix _amode
17080 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
17082 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
17083 _khif_tmpnam, because it doesn't comply with ANSI but may be
17084 useful anyway. Real tmpnam was already in libc/stdio, and was
17085 colliding with this one (pr 2176.)
17086 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
17087 the wrong idea anyhow.
17089 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
17091 * configure.in: Remove h8300h, we have multilib now.
17093 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
17095 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
17096 functions, to get preference over the ones in libiberty (since we
17097 provide correct declarations in <string.h>.
17098 * libc/string/Makefile.in: add support for strncasecmp,
17101 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
17103 * Change netware config not to look for cpu explicitly.
17105 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
17107 * libc/sys/sparc64/{creat.c,junk.c}: New files.
17108 * libc/sys/sparc64/Makefile.in: Add dependencies.
17110 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
17112 * configure.in: Clean up v9 a bit, new "os" aoutv8.
17114 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
17116 * libc/include/sys/reent.h: make structure smaller by allocating
17117 some stuff when needed.
17118 * libc/signal/signal.c: allocate as needed
17119 * libc/stdio/findfp.c,stdio/local.h: ditto
17120 * libc/stdlib/mprec.c: ditto
17122 * libc/time/localtime.c: don't return a dangling stack ptr.
17124 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
17126 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
17128 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17130 * libc/include/stdio.h (__sputc): comment out static inline which
17131 confuses coff toolchains.
17133 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
17135 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
17136 _write.s, getpid.c, kill.c, read.s}:
17137 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
17138 through the syscalls directory.
17140 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
17142 * configure.in: fixed double quote gotcha.
17144 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
17146 * stub/ex931: stub library for sparclite board.
17147 * stub/idp: Renamed from mc68ec. Added contructor table
17148 stuff to linker script.
17149 * stub/mvme135: Renamed from m68kmvme. Added contructor table
17150 stuff to linker script.
17152 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17154 * configure.in: Configure testsuites only if they exist.
17156 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17158 * configure.in: Don't set machine_dir for i386 until there is
17159 something in libc/machine/i386 to compile. For i[34]86-*-netware*
17160 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
17161 CLOCK_PROVIDED and MALLOC_PROVIDED.
17163 * libc/sys/netware: New directory. Contains simplistic and
17164 probably incorrect stubs for NetWare. Should be enough to load
17166 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
17167 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
17170 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
17171 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
17172 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
17173 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
17175 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
17177 * testsuite/Makefile.in: add "docs" dummy target for consistency
17178 with rest of newlib; turn "info" and "install-info" into dummy
17179 targets, since they wouldn't have worked. (Depended on
17180 nonexistent "doc" subdir.)
17182 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
17184 * configure.in: handle mips* instead of mips
17186 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
17188 * libc/include/sys/dirent.h: New file. If it is not overridden by
17189 a version of libc/sys/*/sys/dirent.h, it includes the next
17190 <dirent.h> file in case there is one lurking somewhere.
17192 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17194 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
17195 compliance, namely: Accept a minus sign. Consider a single 0 with
17196 a radix of 0 as being a conversion. Determine overflow correctly.
17197 If an overflow occurs, set *ptr to the end of the number, not the
17199 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
17201 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
17203 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
17205 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
17207 * Makefile.in (INSTALL): Use $srcrootpre.
17208 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
17210 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
17212 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
17213 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
17214 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
17215 * libm/math/Makefile.in (matherr.o): Ditto.
17217 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17219 * configure.in: Build multidirs for z8k.
17220 * libc/include/stdlib.h (_strtoul_r): add prototype.
17221 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
17222 * libc/include/machine/setjmp.h: Add for z8k.
17223 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
17224 * libc/sys/z8ksim/glue.c: tidy up.
17226 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
17228 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
17229 New files. Requires execve system call.
17230 * libc/unix/Makefile.in: Use them.
17231 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
17232 Deleted, moved to libc/unix.
17233 * libc/sys/sparc64/Makefile.in: Remove them.
17235 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
17237 * libc/sys/sparc64/{template.S template_r.S}: New files.
17238 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
17240 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
17241 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
17242 umask.S unlink.S wait4.S write.S}: Removed, now built from
17245 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
17247 * libc/time/time.c: #include <_ansi.h>.
17249 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
17251 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
17253 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17255 * configure.in: match m8* rather than m88k so that m88110 is
17256 recognized as well.
17258 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
17260 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
17261 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
17264 * configure.in: Add multilib support to h8300.
17266 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
17268 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
17269 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
17270 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
17272 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17274 * configure.in: Corrected multidirs for sparc target.
17276 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
17278 Support for building newlib multiple times with different
17280 * configure.in: Only configure doc at top level. Set multidirs
17281 when appropriate for target, unless not at top level. If
17282 multidirs is set, independently configure each subdirectory.
17283 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
17284 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
17285 automagically set by configure.in.
17286 (all): If MULTIDIRS is set, build multiple copies of libraries.
17287 (install): If MULTIDIRS is set, install multiple copies of
17288 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
17289 MULTISUBDIR is set, don't bother to install header files.
17290 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
17292 * stub/configure.in: Set MULTISUBDIR appropriately.
17293 * stub/Makefile.in (install): Install in
17294 $(tooldir)/lib/$(MULTISUBDIR).
17295 * All Makefile.in files: Define SRCTOP as well as TOP.
17297 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
17299 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
17300 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
17302 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
17304 * libc/sys/h8300hms/exit.c (_exit): New function.
17306 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17308 * configure.in: recognize m88110.
17310 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17312 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
17313 prototype main and call with args.
17315 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
17317 First real try at system traps for m88k-bug.
17318 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
17319 to real trap calls.
17320 * libc/sys/m88kbug/sys/systraps.h: new file.
17322 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17324 Patches to fix info building when target does not use sys
17326 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
17327 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
17329 * libc/sys/Makefile.in (doc): do nothing.
17331 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17333 * libc/Makefile.in (CRT0): new macro.
17334 (all): depend on $(CRT0) rather than crt0.o.
17336 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
17337 do not default crt0, instead, set crt0 and crt0_dir based on
17338 sys_dir and stub_dir.
17340 * Makefile.in (CRT0_DIR): new macro.
17341 (all): depend on $(CRT0) rather than crt0.o which may not exist.
17342 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
17344 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
17346 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17348 * testsuite/lib/libm.exp:
17349 added code to support compiling and linking of tests for
17350 libm.sac (paranoia to be added next) and processing the
17351 pass or failure of the tests.
17353 * testsuite/config/unix-libm.exp:
17354 platform specific proc's for dealing with compiler, linker
17355 and the way we execute and process the test results.
17357 * testsuite/libm.sac/execute.exp:
17358 generic framework for the sac tests. the config and lib
17359 expect code for specific platforms tie it all together.
17361 * testsuite/libm.sac/test_is.c:
17362 changed the output of the test to be consistant with the
17363 other tests. parsing of pass nad fail messages is now fixed.
17365 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
17367 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
17368 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
17369 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
17370 #ifdef __cplusplus, surround by extern ""C { ... }.
17371 * libc/include/assert.h: Do *not* protect assert.h against
17372 multiple inclusion! Also, #undef it before #define, to allow
17374 * libc/include/stdio.h (getlogin, cuserid): Removed. These
17375 should be only in unistd.h.
17377 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
17378 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
17381 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
17383 * libc/machine/sparc/Makefile.in: Must create a library, even
17386 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17388 * configure.in: set machine_dir for m88k. edit crt0 definition
17391 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
17393 * libc/Makefile.in (all): also build crt0.o.
17395 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
17396 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
17399 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
17400 (all): reworked to build in place.
17401 (clean): remove lib.a
17402 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
17404 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
17405 (_start): key off edata rather than _start_bss.
17407 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
17409 * libc/include/sys/unistd.h, libc/include/reent.h,
17410 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
17412 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17414 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
17416 * Makefile.in (libc.a): break into two rules, one for libc.a and
17417 one for libc/libc.a. Force subdirs current before rebuilding
17419 (libm.a): break into two rules, one for libm.a and one for
17420 libm/libm.a. Force subdirs current before rebuilding library.
17422 * libc/Makefile.in (SUBLIBS): fix typo.
17424 * libc/sys/Makefile.in (all): force descent into subdirs, then
17425 rebuild library iff out of of date.
17427 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
17429 Rework so that library is built and then finished rather than
17430 being built on each invocation of make.
17432 * host/any (machine_dir, sys_dir, signal_dir): these are not
17433 shared and have been moved to their associated Makefile.in's.
17434 (AR_FLAGS): switch to qc which is faster.
17435 * configure.in: no longer assign machine_dir for m88k. set
17436 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
17437 stub_dir set, then add to configdirs. add comment about silly
17439 (configdirs): drop stub. It will be added only
17441 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
17442 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
17443 stub_lib, crt0): new variables for tailoring lower level
17444 makefiles. Assign accordingly and edit into makefiles.
17445 * libm/Makefile.in: updated copyright.
17446 (TARGETLIB): removed.
17447 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
17448 (SUBDIRS): removed TARGETDEP_DIRS.
17449 (LIBM_FP_LIB, SUBLIBS): new macros.
17451 (force): new target to force rebuilds.
17452 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17453 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
17454 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
17455 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
17456 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
17457 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
17458 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
17459 stub/m68kmvme/Makefile.in: updated copyright.
17460 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
17461 (all): reworked. made this the default rule.
17462 (clean): also remove lib.a.
17463 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17464 * stub/Makefile.in: updated copyright.
17465 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
17466 (stub_lib): new macro.
17467 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
17470 (clean, install): assume stub_dir exists.
17471 (Makefile): depend on configure.in. call $(SHELL) rather than
17472 sh. drop redundant ./
17473 * stub/configure.in (stublib): new macro, assign it, edit it into
17475 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
17478 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17479 * libc/Makefile.in (TARGETCRT0): removed.
17480 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
17482 (SUBDIRS): drop TARGETDEP_DIRS.
17483 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
17484 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
17485 (force): new target to force rebuilds.
17486 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
17487 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
17489 (clean): assume sys_dir always exists.
17490 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
17492 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
17493 libc/locale/Makefile.in, libc/machine/Makefile.in,
17494 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
17495 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
17496 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
17497 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
17498 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
17499 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
17500 libc/signal/Makefile.in, libc/stdio/Makefile.in,
17501 libc/stdlib/Makefile.in, libc/string/Makefile.in,
17502 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
17503 libc/time/Makefile.in, libc/unix/Makefile.in,
17504 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
17505 (TARGETLIB): removed.
17507 (clean): also remove lib.a.
17508 (Makefile): call $(SHELL) rather than sh. drop redundant ./
17509 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
17511 (SUBDIRS): moved to follow frag inclusion, change stub to
17513 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
17514 are now set in the libc Makefile.
17515 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
17516 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
17518 (force): new target to force rebuilds.
17519 * stub/configure.in: determine and set stub_lib for for Makefile.
17521 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
17523 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
17524 crt0.s renamed to crt0.S.
17525 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
17527 * libc/machine/h8300/Makefile.in: Make `all' the default target.
17528 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
17530 * libc/machine/h8300/defines.h: Add macros to handle pointers for
17531 h8300 (16 bits) and h8300h (32 bits).
17532 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
17533 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
17535 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
17537 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
17538 implementation of setjmp and longjmp for the m88k.
17539 * libc/include/machine/setjmp.h: Added __m88000__ case.
17541 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
17543 * configure.in: Recognize h8300h as variant of h8300.
17545 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17547 * libc/include/sys/unistd.h (read, write): get prototypes right.
17548 (sbrk): New prototype.
17549 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
17550 * libc/stdio/local.h: Include unistd.h.
17551 * libc/machine/h8300/syscalls.c: Names have changed.
17553 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
17555 * configure.in: add sys_dir assignment for m88k-bug.
17557 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
17559 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
17561 * libc/sys/sparc64: all *.S files: Use new macros.
17562 * libc/sys/sparc64/isatty.c: New file.
17563 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
17564 functions beyond what newlib provides.
17566 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
17568 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
17571 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
17573 * libc/include/machine/ieeefp.h: Add support for h8/300h.
17575 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
17577 * configure.in: add m88k.
17578 * libc/include/machine/ieeefp.h: add case for m88k. Also add
17579 sanity check so no one else need ever chase what I did to find
17582 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
17584 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
17586 * doc/makedoc.c: Include <ctype.h>.
17588 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
17590 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17591 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17592 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
17594 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
17596 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
17598 * libc/include/errno.h (ENOSYS): Added.
17600 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
17602 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
17604 * libc/stdio/fflush.c (fflush): Check for reent struct
17606 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
17608 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
17610 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
17611 out of dtoa.c so it doesn't pollute the namespace.
17612 * libc/include/_syslist.h: new file -- mappings from _function to
17613 function, for systems where we can't win (by default, all of them,
17614 until we start updating system calls.)
17615 * libc/syscalls: new directory -- stubs for exporting _function
17616 names as unmodified function names.
17617 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
17618 _syslist.h on all platforms by default, but put hooks in for
17619 fake_sys_dir so we can include it when we've renamed the system
17621 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
17622 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
17623 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
17624 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
17625 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
17626 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
17627 non ANSI functions to call _function.
17629 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
17631 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
17632 when base 16 is specified. Don't accept non-digits if radix > 10.
17634 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
17636 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
17638 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17640 * libc/include/sys/stat.h: Surround text after #endif with
17643 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
17645 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
17646 _malloc_r, _realloc_r, and free_r call the corresponding
17647 non-reentrant functions.
17649 * libm/math/modf.c (modf): We now take the address of ipart, so
17650 don't make it a register variable.
17652 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
17654 * libm/math/*: Rename all xxx_r fns to _xxx_r.
17656 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
17658 * libc/libc.texinfo and embedded docn throughout: formatting
17659 improvements, minor rephrasing for clarity, and improved
17662 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17664 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
17666 * libc/stdio/cvt.c (_licvt): Print the right value on machines
17667 where sizeof(int) != sizeof(long).
17669 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17671 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
17672 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
17673 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
17674 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
17675 libm/math/matherr.c: changes for better docn formatting (info).
17677 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
17678 libc/reent/reent.tex, libc/signal/signal.tex,
17679 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
17680 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
17681 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
17682 makeinfo node defaulting to get better Info file node structure.
17683 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
17684 Also include a few formerly missing sections (subroutines).
17686 * doc/doc.str: delete fossil expansion for "func"
17688 * default.menu, no-signal.menu: delete.
17690 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17691 method used to adjust doc for missing "signals" chapter when
17692 signal_dir is empty.
17694 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17696 * configure.in: added testsuite/libm.sac
17698 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17700 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17703 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17705 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17706 MAKEOVERRIDES to be empty.
17708 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17710 * configure.in: Don't build mips-*-* with -msoft-float, since that
17711 makes it incompatible with hard floating point.
17713 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17715 * Makefile.in: added recursive 'make check'
17717 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17719 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17720 * ./testsuite/Makefile.in: created
17721 * ./testsuite/libm.paranoia: paranoia tests added
17723 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17725 * configure.in: For mips-*-* set machine_dir to mips.
17727 * libc/machine/mips: New directory.
17728 * libc/machine/mips/Makefile.in: New file.
17729 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17730 setjmp and longjmp.
17731 * libc/include/machine/setjmp.h: Added __mips__ case.
17733 * libc/machine/lmips: Removed unused and useless directory.
17735 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17737 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17739 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17741 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17744 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17746 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17749 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17751 * libm/test/convert.c: structure member errno -> errno_val.
17752 Must include <errno.h> to use errno, it's a macro now.
17753 * libm/test/math.c: Ditto.
17754 * libm/test/math2.c: Include errno.h.
17755 * libm/test/string.c: Ditto.
17756 * libm/test/test.h: structure member errno -> errno_val.
17757 Remove extern int errno decl.
17759 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17761 * libc/stdio/Makefile.in: Added dependencies on local header
17763 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17766 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17768 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17770 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17772 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17775 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17776 * libc/stdio/local.h: Add prototype for _licvt.
17778 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17779 instead of malloc,reealloc.
17781 * libc/stdlib/local.h: New file.
17782 * libc/stdlib/efgcvt.c: #include local.h.
17783 (gcvt): Fix call to _gcvt.
17784 * libc/stdlib/ecvtbuf.c: #include local.h.
17786 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17787 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17788 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17790 * libc/stdlib/atexit.c: moved global data to struct _reent.
17791 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17793 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17795 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17797 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17798 here from ../reent.h.
17800 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17802 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17803 should be provided in both libc.a and libm.a.
17804 (libc.a): Depend on targ-include and libm.a. Copy
17805 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17806 (libm.a): Depend on targ-include.
17807 * configure.in (subdirs): Removed libc/math.
17809 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17811 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17813 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17815 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17816 sys/reent.h instead of reent.h.
17817 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17818 headers moved to sys/reent.h.
17819 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17820 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17821 __need__MAX_SIGNALS defined.
17822 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17823 std{in,out,err} refer to new _std{in,out,err} members.
17825 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17827 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17830 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17832 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17833 rather than whatever macro seterrno() has.
17835 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17837 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17838 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17840 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17843 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17844 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17845 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17847 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17848 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17850 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17851 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17852 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17853 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17854 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17855 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17856 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17857 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17858 for ANSI. structure members given leading "_" for ANSI. Use
17859 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17861 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17862 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17863 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17864 reent_struct renamed to struct _reent for ANSI.
17865 Structure members given leading "_" for ANSI.
17866 _CONST --> const in prototypes.
17867 Use _HAVE_STDC instead of __STDC__.
17869 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17871 struct reent_struct renamed to struct _reent for ANSI.
17872 Structure members given leading "_" for ANSI.
17874 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17876 struct reent_struct renamed to struct _reent for ANSI.
17878 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17879 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17880 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17881 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17882 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17884 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17885 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17886 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17887 #ifndef _STRICT_ANSI non-ANSI routines.
17888 Reentrant routines renamed from _r_xxx to _xxx_r.
17889 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17890 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17891 Clean up namespace (structure members have leading "_").
17892 struct reent_struct renamed to struct _reent for ANSI compliance.
17893 _CONST --> const in function prototypes.
17895 * libc/include/string.h: Add NULL and size_t.
17897 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17898 unlink, wait, wait4. Reentrant syscall routines close, fork,
17899 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17901 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17902 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17903 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17904 write.S}: Define reentrant versions.
17905 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17906 reentrant syscalls.
17908 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17910 * libc/include/stdlib.h (RAND_MAX): Fix value.
17912 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17914 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17915 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17916 VPATH support targets after all: target.
17918 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17919 exceptionHandler, which is what mvme135-stub.c expects.
17921 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17923 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17925 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17926 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17929 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17931 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17933 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17935 libc/reent/fstatr.c (_r_fstat): Ditto.
17936 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17937 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17938 libc/reent/statr.c (_r_stat): Ditto.
17940 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17941 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17942 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17943 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17944 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17945 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17946 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17947 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17948 (__swrite): Ditto for _r_lseek, _r_write.
17949 (__sseek): Ditto for _r_lseek.
17950 (__close): Ditto for _r_close.
17951 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17953 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17954 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17956 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17957 to make reent_struct the first argument (and thus consistent with
17958 the rest of newlib).
17960 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17961 reference to __STDC__.
17963 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17965 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17968 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17970 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17972 libc/stdio/fclose.c (fclose): Ditto.
17974 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17976 * Run through indent and rename reentrant routines for ANSI.
17977 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17978 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17979 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17980 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17981 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17982 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17983 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17984 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17985 vsprintf.c wbuf.c wsetup.c local.h}
17987 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17989 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17990 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17991 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17992 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17993 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17994 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17996 * Run through indent.
17997 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17998 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17999 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
18000 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
18003 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
18004 localtime.c mktime.c strftime.c time.c}:
18005 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
18007 * Reformatting + renaming (for ANSI, GNU style, consistency).
18008 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
18009 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
18010 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
18012 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
18014 * libc/include/stdio.h (stdin_r): Fix.
18016 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
18018 * Makefile.in: Unexport some variables to keep GNU make from
18019 putting them in the environment and using up needed ARG_MAX space
18020 (a hack is used to let this work with older makes as well).
18022 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
18024 * Makefile.in: Use $(MAKE) rather than make.
18025 (MAKEOVERRIDES): Define to be empty.
18026 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18027 (libc.a, libm.a): Depend on targ-include.
18028 * host/any (LD): Don't define.
18029 (INCLUDES): Use targ-include.
18030 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
18031 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
18032 * libc/Makefile.in: Use $(MAKE) rather than make.
18033 (MAKEOVERRIDES): Define to be empty.
18034 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18035 (all): Rewrote to be slightly smaller.
18036 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
18037 Define to be empty.
18038 (FLAGS_TO_PASS): Don't pass LD (it's not used).
18039 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
18041 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
18043 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
18044 with errno/errno.c.
18046 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
18048 * Changes for reentrancy.
18049 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
18050 Use ptr->_errno, not errno.
18051 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
18052 libc/stdio/remove.c (remove_r): New function.
18053 libc/stdio/rename.c (rename_r): New function.
18054 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18055 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
18056 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
18057 reentrant versions of system calls.
18058 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
18059 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
18060 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
18061 libc/stdio/findfp.c: Include <string.h>.
18062 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
18064 libc/stdio/wbuf.c: Include "fvwrite.h"
18066 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
18068 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
18069 (NULL): Don't define if already defined.
18070 libc/stdlib/system.c: Call reentrant versions of system calls.
18071 (system_r): New function.
18073 * Changes for reentrancy.
18074 libc/include/_ansi.h (_PARAMS): New macro.
18075 libc/include/errno.h: Define errno as a macro that calls __errno.
18076 (__errno_r): New macro for reentrant code.
18077 libc/include/math.h: Include reent.h. Declare many reentrant
18079 (signgam): Now a macro, not a variable.
18080 (struct exception): Added err field.
18081 libc/include/reent.h: Don't declare __sglue. Added function
18083 (struct reent_struct): Moved errno to beginning. Added _signgam.
18084 libc/include/stdio.h, libc/include/stdlib.h: Added function
18087 * More reentrancy hacking.
18088 libc/errno/errno.c (__errno): New function.
18089 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
18090 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
18093 * Added many new reentrant functions to libm/math/*.
18094 libm/math/error.c (__matherror): Added reent_struct pointer
18095 argument. Changed all callers.
18096 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
18097 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
18098 libm/math/tan.h: Removed obsolete unused header files.
18100 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
18102 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
18104 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18106 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
18109 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18111 * libc/libc.texinfo: comment out reentrancy chapter (duh)
18113 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18115 * libc/reent/reent.tex: New file. (text from
18116 newlib/libc/libc.texinfo)
18117 * libc/stdio/tmpnam.c: fixed doc typo
18118 * libc/stdlib/rand.c: fixed doc typo
18120 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
18122 * libc/reent/reent.tex: New file. (text from
18123 newlib/libc/libc.texinfo)
18125 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18127 support for reentrancy
18128 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
18130 * libc/errno/errno.c, libc/include/ieeefp.h,
18131 libc/include/locale.h, libc/include/reent.h,
18132 libc/include/signal.h, libc/include/stdio.h,
18133 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
18134 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
18135 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
18136 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
18137 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
18138 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
18139 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
18140 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
18141 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
18142 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
18143 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
18144 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
18145 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
18146 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
18147 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
18148 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
18149 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
18150 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
18151 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
18152 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
18153 libc/time/strftime.c: modify to provide reentracy.
18156 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
18157 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
18158 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
18159 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
18160 mstats_r, realloc_r, localeconv_r, setlocale_r
18162 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
18164 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
18165 libc/include/sys/config.h, libc/include/sys/signal.h,
18166 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
18167 provided macros (such as m68000), use the ansi version
18168 (__m68000__) so that the library can be used with code compiled
18169 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
18172 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
18174 * configure.in (sparc*): Don't set -fsoft-float for sparc
18175 configurations. Do set -fsoft-float for sparclite configurations.
18177 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
18179 * default.menu, no-signal.menu: alternate forms of libc main menu
18180 (in newlib rather than newlib/libc due to configuration restrictions)
18182 * configure.in: select one of the two menus above, link to
18185 * libc/libc.texinfo: include menu from separate file
18187 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
18189 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
18190 (info): Split long shell command in half.
18191 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
18192 sub-makes, just CHEW and TARGETDOC.
18193 (targetdep.tex): Removed now special handling of sys and machine
18194 subdirectories, made obsolete some time ago.
18195 * libc/machine/Makefile.in (doc): Don't pass everything to
18196 sub-make, just CHEW and TARGETDOC.
18197 (Makefile): New target.
18198 * libc/sys/Makefile.in (Makefile): New target.
18200 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
18202 * Makefile.in (here and most subdirectories): Only pass down CHEW
18203 and TARGETDOC when making info, not for other targets.
18205 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
18206 $(AR_FLAGS) rather than $(ARUPDATE).
18208 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
18210 * Try to reduce command line length:
18211 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
18212 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
18213 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
18214 (info): Pass CHEW to other subdirs.
18216 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
18218 * configure.in: add signal_dir, like unix_dir, but by default it
18219 is set to "signal" so that a29khif can turn it off (since a29khif
18220 has raise() as part of machine-specific signal.s.)
18222 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
18224 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
18225 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
18227 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
18228 libc/stdio/vfprintf: type lint.
18229 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
18230 initialzation code.
18231 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
18233 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
18235 * stub/mvme135/mvme135-asm.S: new file.
18236 stub/mvme135mvme135-stub.c: moved all assembler routines into
18238 stub/mvme135/Makefile.in: build mvme135-stub.o.
18240 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
18242 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
18243 sub-Makefiles instead, to try to avoid line length limitations.
18245 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
18247 * libc/include/unistd.h (read, write): Use void* instead of
18250 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
18252 * stub/go32/resetpc: sample script to send a reset packet to the
18255 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
18256 DOS environment, which compiles with Turbo C.
18258 * stub/go32/DSER32.LNK: new file, linker commands for serial
18261 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
18262 start up message to identify version; call set_debug_traps.
18264 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
18265 keyboard interaction); call handle_exception() in go_til_stop,
18266 rather than return, so that the remote stub gets control.
18268 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
18269 rename, rather than mv), set flags that work with current Turbo C,
18270 including using the /3 flag; also, add commands to build dser32.
18272 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
18273 default Turbo C installation (\tc rather than \usr)
18275 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
18278 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18280 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
18282 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18284 * libc/stdio/cvt.c (licvt): new function to convert ints when
18285 sizeof(int) != sizeof(long).
18287 * libc/include/stdio.h: added prototype for iprintf.
18288 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
18290 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
18292 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
18293 __REGISTER_PREFIX__.
18295 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
18297 * libc/sys/m68kbare: moved into stub directory.
18299 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
18301 * configure.in, Makefile.in: created new directory stub, to hold
18302 sample code for specific targets.
18304 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
18306 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
18307 in the unified libc/include/sys/fcntl.h.
18309 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
18311 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
18312 printed .01, not 0.01.
18314 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
18316 * configure.in: compile with -m68000 for m68* targets.
18318 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
18320 * libm/math/remainder.c (remainder): document the svr4 and sunos
18321 references used to construct the function.
18323 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
18325 * libm/math/remainder.c (rint, remainder): fix old typos.
18326 * libm/math/Makefile.in: actually build remainder.c (functions
18327 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
18330 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
18332 * libc/string/bcopy.c: BSD version works on overlapping strings,
18333 so ours should too.
18335 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
18338 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
18340 * Makefile.in (docs): new target.
18342 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
18344 * libc/include/sys/times.h: define clock_t as required by POSIX.
18345 libc/include/time.h: protect clock_t from multiple definitions.
18347 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18349 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
18350 does not need more than the original three iterations to get
18351 within 1 ulp. (Paranoia tests for rounding to better than that,
18352 but further iterations *don't* help, only more subtle changes
18355 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
18357 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
18358 were doing nothing useful.
18360 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
18362 * configure.in: define MALLOC_PROVIDED for vxworks targets;
18363 removed sys_dir settings of vxworks68 and vxworks960.
18364 host/any: don't pass -nostdinc to gcc, since newlib no longer
18365 provides all required header files.
18367 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
18368 is not defined; this provides a hook for VxWorks.
18370 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18372 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
18373 buffer if buf is NULL, don't do it here -- it is already being
18374 done by makebuf elsewhere in stdio.
18376 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
18378 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
18379 that C programs can call functions without using initial
18382 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
18384 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
18386 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
18388 * configure.in: set TARGET_CFLAGS for certain CPU types to
18391 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18393 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
18395 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
18397 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
18398 m68k*-unknown-coff.
18400 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
18402 * libc/include/stdio.h: define __need___va_list before including
18403 <stdarg.h>, to avoid defining va_arg, et. al.
18405 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
18407 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
18408 (don't cd to the user's home directory).
18410 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
18411 In general this is the wrong thing to do, but I can't get around
18412 GNU make's insistence on passing command line arguments any other
18415 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
18417 * configure.in: always configure the libc/sys directory, since it
18418 now provides a required documentation file.
18420 * Makefile.in: replaced all instances of $(MAKE) with make. In
18421 general this is the wrong thing to do, but I can't get around GNU
18422 make's insistence on passing command line arguments any other way.
18424 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
18426 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
18429 * libc/stdio/local.h: include <stdarg.h> to define va_list.
18430 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
18432 * libc/include/float.h, libc/include/stdarg.h,
18433 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
18435 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
18436 <stdarg.h>, not from <machine/types.h>. Protect definition of
18438 libc/include/time.h: get size_t from stddef.h. Protect definition
18440 libc/include/machine/limits.h: override gcc <limits.h> by defining
18441 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
18442 get correct INT_MIN and LONG_LONG values.
18443 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
18444 size_t or va_list at all; they're now gotten from stddef.h
18446 libc/include/machine/varargs.h: removed; use gcc version instead.
18447 libc/include/sys/types.h: explicitly include <machine/types.h>.
18449 * libm/math/sqrt.h: using the fp-bit routines appears to require
18452 * Makefile.in, host/any: let system include files override machine
18455 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18457 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
18458 override _*_T_ definitions defaulted here.
18460 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
18462 * Makefile.in (install): install the include files in
18463 $(tooldir)/include, not $(exec_prefix)/include.
18465 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
18467 * Makefile.in (install): fixed typo, and changed install to not
18468 force rebuild of libc.a and libm.a.
18470 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
18472 * libc/sys/a29khif/*: Changed all .include's to include
18473 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
18474 that they will be installed for the user.
18476 * Makefile.in (all): create targ-include, a directory holding the
18477 machine and system specific header files during the build.
18478 (install): fixed installation of machine and system specific
18481 * Makefile.in: fixed comment.
18482 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
18483 we can pass $(INCLUDES) to it.
18485 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
18487 * libc/include/sys/param.h: new generic file, which may be
18488 overridden for specific systems.
18490 * libc/include/sys/signal.h: define all ANSI signal names, and
18491 NSIG (which is not ANSI) for a29k.
18493 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
18495 * Makefile.in: don't pass down arguments the lower level makes
18497 * libc/Makefile.in: recurse directly, rather than using subdir_do,
18498 in hopes of avoiding argument length limits.
18499 * libm/Makefile.in: recurse directly, rather using subdir_do, in
18500 hopes of avoiding argument length limits.
18502 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
18504 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
18507 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
18509 * Fixed make info and make install-info for newlib, changing most
18510 Makefile.in and several *.tex files. Moved doc directory from
18513 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
18514 Should be rewritten.
18516 * libc/string/strings.tex: renamed node index to node index
18517 function, so that it does not conflict with the top level index
18520 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
18522 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
18524 * Overhauled general configuration for newlib. Eliminated all
18525 target dependent Makefile fragments. Create libraries in newlib
18526 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
18527 than CROSS_CC, et. al. Broke make docs; will fix later.
18529 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
18530 Should be rewritten.
18532 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
18534 * libc/configure.in: cleaned up somewhat; switch on ${target}
18535 rather than ${target_alias}.
18536 * libm/configure.in: cleaned up somewhat; switch on ${target}
18537 rather than ${target_alias}.
18539 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
18540 * libc/include/ctype.h: marked _ctype_ as _CONST.
18542 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
18545 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
18546 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
18547 libc/stdio/gets.c (gets): removed non-ANSI warning message.
18548 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
18550 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
18551 bigtens, tinytens): marked arrays _CONST.
18552 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
18553 rather than a static variable.
18555 * libc/time/asctime.c (asctime), libc/time/localtime.c
18556 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
18557 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
18558 mname_len, mname): Marked static arrays _CONST.
18560 * libm/math/gamma.h: made local variables non-static.
18562 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
18563 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
18566 * libm/math/constants.c: removed file, because the constants it
18567 defined were never referenced.
18568 libm/math/Makefile.in: removed references to constants.c.
18569 libm/math/mathimpl.h: removed declarations of constants.
18571 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
18573 * libc/include/machine/varargs.h: only call __builtin_saveregs if
18574 it is sensibly defined in libgcc2. Checks preprocessor defines,
18575 which is not a good solution.
18577 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
18579 * libm/frexp.c: handle denormalized numbers as arguments.
18581 * libm/math/Makefile.in: added some dependencies for .c files
18582 which include local .h files.
18584 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
18586 * libc/configure.in: set target_alias for OSE*. Replace
18587 target_makefile_frag if it is blank.
18589 * libc/Makefile.in: make sure everything is passed to subsidiary
18590 makes; create all directories when installing.
18592 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
18593 CROSS_ARUPDATE instead of AR.
18595 * libm/configure.in: set target_alias for OSE*. Replace
18596 target_makefile_frag if it is blank.
18598 * libm/Makefile.in: make sure everything is passed to subsidiary
18599 makes; create all directories when installing.
18601 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
18603 * add following change from libc copy.
18605 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18607 * libc/libc.texinfo: make copyright disclaimers appear on back of
18608 title page; make format of same slightly less ugly; avoid using
18609 underbars in section headings (avoids nasty texinfo bug in table
18612 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
18613 comments only) avoid using underbars in section headings
18615 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18616 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
18617 changes in comments only): shorten headings ieeefp/infinity.c,
18618 ieeefp/isnan.c: (doc, comments only) more informative headings
18620 * libc/math/bessel.c: (doc, comments only) shorten heading
18622 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
18623 (doc, comments only) shorten headings
18625 * libc/time/localtime.c (doc, comments only): shorten headings
18627 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
18629 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
18630 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
18632 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
18633 only) more informative headings
18634 * libm/math/bessel.c: (doc, comments only) shorten heading
18636 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
18638 * .../Makefile.in: use CROSS_ARUPDATE consistently.
18639 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
18640 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
18641 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
18642 defined, the one from the .mt file will be correct.
18643 * libc/include/machine, libc/include/sys: created, and populated
18644 with common files from machine/*/machine. ifdefs were used for
18645 most, typically by handling exceptions first and then filling in
18646 defaults. Files with D.J. Delorie copyright #included rather than
18647 copied. Most files in include/sys really were the same in the
18649 * libc/include/...: cleaned up use of _EXFUN.
18650 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
18651 it with double quotes, not angles.
18653 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
18655 * libc/Makefile.in: always create installation directories.
18657 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
18659 * libc/configure.in: handle host properly (using canonical
18660 triples), better error message for the case of target not found
18662 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
18664 * libc/Makefile.in (insincdir): Ensure this directory exists
18665 before attempting installation.
18667 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18669 * libc/stdlib/assert.c: now calls abort like it should
18670 * libc/sys/a29khif: many many patches for 29khif work
18671 * libc/machine/i386: gnulib2 expanded there.
18673 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18675 Added accurate fp conversion routines to stdlib, moved dcvt from
18676 stdio to stdlib and called it ecvtbuf:
18677 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
18678 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
18680 * libc/libc.texinfo: Modifed to include the copyright info from
18682 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
18683 * libc/test/ : many vector which tested for the implementation
18684 defined returns of strange conversion requests have been updated
18685 to relflect the new implementation
18687 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18689 * libc/libc.texinfo: new chapter on variable arg lists
18690 (stdarg.h/varargs.h)
18691 * libc/libc.texinfo: new title
18692 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18693 (doc only) shorter headings for better formatting.
18695 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18697 * libc/libc.texinfo: three more info menu entries
18698 * libc/locale/locale.tex: new chapter
18699 * libc/locale/locale.c: new doc for setlocale, localeconv
18700 * libc/locale/Makefile.in: use new locale doc
18701 * libc/signal/signal.tex: new chapter
18702 * libc/signal/raise.c, libc/signal/signal.c: new doc
18703 * libc/signal/Makefile.in: use new doc
18704 * libc/time/time.tex: new chapter
18705 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18706 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18707 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18708 * libc/time/Makefile.in: use new doc
18710 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18712 * libm/math/log1p.c: split to use the new function way of float
18713 function definition. math/log1p.h deleted
18714 * libm/math/scalb.c: obsolete and deleted
18715 * libm/math/scalbn.c: created from part log1p.c
18716 * libm/math/Makefile.in: know about log1p and scalbn
18718 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18720 * libc/ctype/isupper.c: revise doc;
18721 libc/ctype/ctype.tex: use doc from isupper.c
18723 * libc/string/bzero.c: new doc
18725 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18727 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18729 * libc/stdlib/Makefile.in: extract new doc
18730 * libc/stdlib/stdlib.tex: use new doc
18732 * libc/string/strerror.c: expanded doc.
18734 * libc/stdio/Makefile.in: extract doc from more files
18735 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18736 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18737 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18738 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18739 libc/stdio/vsprintf.c: new doc
18740 * libc/stdio/stdio.tex: use new doc
18742 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18744 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18745 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18747 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18750 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18751 * libc/stdio/setbuf.c: added ansi style definition.
18752 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18753 buffer if none provided.
18754 * libc/stdio/tmpfile.c: lint
18755 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18756 rather than using static, also make sure file isn't already
18757 present. Uses P_tmpdir. (tempnam): rewritten to use new
18758 subroutine, and uses P_tmpdir.
18759 * libc/stdio/siprintf.c: created
18761 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18763 Release 1.03 for NEC, major mods. Main differences from release
18766 More tests in test/:
18767 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18768 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18769 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18770 get/set mask, get/set sticky and get/set roundtoi. Tests
18771 that setting the bits changes the way arithmetic is done.
18772 * string.c: added test to make sure memcmp does it with unsigned
18774 * test.c: cleaned up and removed lint.
18775 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18776 dvec.c: tests for string to value conversions, sprintf, scanf,
18777 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18778 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18779 rounding in sprintf too.
18780 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18781 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18782 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18784 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18788 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18789 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18790 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18791 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18792 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18794 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18795 * Method of producting float versions of double functions has
18796 changed, functions will be modified gradually. So far:
18797 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18798 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18800 * libc/string/memcmp.c: now uses unsigned chars
18801 * libc/string/bcmp.c, libc/string/strcpy.c,
18802 libc/stsring/strxfrm.c: fixed doc
18803 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18806 version-control: never