1 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
4 for a string I/O file that isn't using the asprintf family.
6 2006-03-07 Eric Blake <ebb9@byu.net>
8 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
9 filename, allow read-only or write-only FILE atop O_RDWR file
11 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
13 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
15 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
16 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
18 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
20 * libm/math/math.tex: Fix reference to sisnan.def which
21 is now in common subdirectory.
22 * libm/mathfp/mathfp.tex: Ditto.
24 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
26 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
27 s_isnand, and sf_isnanf object files.
28 * Makefile.in: Regenerated.
29 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
30 conflict if <math.h> has previously been included.
32 * libc/include/math.h: Make isnan and isinf macros to
34 (__isinfd, __isinff, __isnand, __isnanf): New functions.
35 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
36 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
37 sf_isinf files which have been moved from math/mathfp directories.
38 * libm/common/Makefile.in: Regenerated.
39 * libm/common/s_isinfd.c: New file.
40 * libm/common/s_isnand.c: Ditto.
41 * libm/common/sf_isinff.c: Ditto.
42 * libm/common/sf_isnanf.c: Ditto.
43 * libm/common/s_isinf.c: Moved from libm/math directory.
44 * libm/common/s_isnan.c: Ditto.
45 * libm/common/sf_isinf.c: Ditto.
46 * libm/common/sf_isnan.c: Ditto.
47 * libm/math/Makefile.am: Remove isinf and isnan family functions
48 which have been moved into common directory.
49 * libm/mathfp/Makefile.am: Ditto.
50 * libm/math/Makefile.in: Regenerated.
51 * libm/mathfp/Makefile.in: Ditto.
52 * libm/math/s_isinf.c: Removed.
53 * libm/math/s_isnan.c: Ditto.
54 * libm/math/sf_isinf.c: Ditto.
55 * libm/math/sf_isnan.c: Ditto.
56 * libm/mathfp/s_isinf.c: Ditto.
57 * libm/mathfp/s_isnan.c: Ditto.
58 * libm/mathfp/sf_isinf.c: Ditto.
59 * libm/mathfp/sf_isnan.c: Ditto.
61 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
63 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
64 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
65 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
66 seek, turn off the __SNPT no-optimization flag.
68 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
70 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
72 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
73 <features.h> to preset special flags.
75 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
77 * libc/include/sys/time.h (struct timeval): Change member types
79 * libc/include/sys/types.h (useconds_t): Change to unsigned
81 (suseconds_t): Define type.
83 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
84 David Carne <davidcarne@gmail.com>
86 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
87 instead of strlen to determine number of bytes to copy.
88 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
89 before looking at storage location.
91 2006-02-07 Paul Brook <paul@codesourcery.com>
93 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
94 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
95 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
96 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
97 * libc/sys/arm/trap.S: Disable for Thumb-2.
99 2006-01-31 Leif Ekblad <leif@rdos.net>
101 * configure.host: RDOS support added
102 * libc/include/sys/config.h: Ditto.
103 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
104 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
105 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
106 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
107 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
108 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
109 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
110 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
111 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
112 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
113 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
114 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
115 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
116 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
117 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
118 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
119 * libc/sys/rdos/write.c: Ditto.
121 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
123 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
124 so as not to define PACKAGE and VERSION in newlib.h.
125 * aclocal.m4: Regenerated.
129 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
131 * acconfig.h: New file to generate newlib.hin from.
132 * newlib.hin: Regenerated.
133 * stamp-h.in: Regenerated.
134 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
135 called automatically.
136 * Makefile.in: Regenerated.
137 * acinclude.m4: Add proper comment for hack in previous change.
138 * aclocal.m4 */aclocal.m4: Regenerated.
139 * configure */configure: Regenerated.
141 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
143 * acinclude.m4: Add hack to prevent INSTALL in subdirs
144 from being set to "../".
145 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
146 * aclocal.m4: Regenerated.
148 * Makefile.in: Ditto.
149 * doc/aclocal.m4: Ditto.
150 * doc/configure: Ditto.
151 * iconvdata/aclocal.m4: Ditto.
152 * iconvdata/configure: Ditto.
153 * libc/*/aclocal.m4: Ditto.
154 * libc/*/configure: Ditto.
155 * libc/libc.texinfo: Ditto.
156 * libm/*/aclocal.m4: Ditto.
157 * libm/*/configure: Ditto.
159 2006-01-10 Eric Blake <ebb9@byu.net>
161 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
162 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
164 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
166 * libm/mathfp/s_frexp.c: Check for special values on
167 the original input, not the manipulated output value.
168 * libm/mathfp/sf_frexp.c: Ditto.
169 * libm/mathfp/s_atangent.c: Don't use local value branch
170 when checking for quadrant.
171 * libm/mathfp/sf_atangent.c: Ditto.
173 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
175 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
176 * libc/stdio64/freopen64.c: Ditto.
178 2006-01-09 Eric Blake <ebb9@byu.net>
180 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
181 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
183 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
185 * libc/sys/linux/include/getopt.h: Add macros needed by
186 new version of getopt.c in libc/stdlib.
188 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
190 * libc/stdlib/getopt.c: Replaced with version
191 that adds getopt_long and getopt_long_only support.
192 * libc/include/getopt.h: New file.
194 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
196 * NEWS: Update with 1.14.0 info.
198 * acinclude.m4: Change version number to 1.14.0.
199 * aclocal.m4: Regenerated.
201 * doc/aclocal.m4: Ditto.
202 * doc/configure: Ditto.
203 * libc/*/aclocal.m4: Ditto.
204 * libc/*/configure: Ditto.
205 * libc/libc.texinfo: Ditto.
206 * libm/*/aclocal.m4: Ditto.
207 * libm/*/configure: Ditto.
208 * libm/libm.texinfo: Ditto.
209 * libc/sys/linux/shared.ld: Add VERS_1.14.
211 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
213 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
214 take a pointer to struct stat64 rather than struct stat.
216 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
218 * libc/include/stdint.h: Prefer long over int for int32_t.
219 Use __have_long32 to set up int32_t.
220 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
221 (Sync with stdint.h).
223 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
225 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
226 typo in O_NDELAY comment.
228 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
230 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
231 * libc/include/machine/setjmp.h (__mt__): Likewise.
232 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
233 * libc/machine/configure.in: Ditto.
235 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
237 * configure.host: Replace ms1 arch with mt arch.
238 * libc/machine/mt: Renamed from ms1 dir.
240 2005-12-08 Shaun Jackman <sjackman@gmail.com>
242 * libc/include/sys/types.h: Remove the ifdef armour around
243 standard POSIX types.
245 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
247 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
248 rtems_gxx_key_delete, rtems_gxx_getspecific,
249 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
250 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
251 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
253 2005-12-05 Christopher Faylor <cgf@timesys.com>
255 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
256 file. Declare unsetenv and _unsetenv_r when not cygwin.
258 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
260 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
261 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
263 2005-11-18 Christopher Faylor <cgf@timesys.com>
265 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
267 2005-11-18 Christopher Faylor <cgf@timesys.com>
269 * include/time.h: Remove more cygwin-specific stuff.
271 2005-11-18 Christopher Faylor <cgf@timesys.com>
273 * include/time.h: Move cygwin declarations to cygwin-specific header.
274 * include/sys/time.h: Rename cygwin include to "sys_time.h".
276 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
278 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
279 in libc/sys/linux/include.
280 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
281 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
282 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
283 in libc/sys/linux/dl.
285 2005-11-11 Christopher Faylor <cgf@timesys.com>
287 * libc/include/sys/time.h: For cygwin, use general header rather than
288 specific "sys/select.h".
290 2005-11-08 Tom Walsh <tom@openhardware.net>
292 * libc/time/tzvars.c: New file.
293 * libc/time/tzset_r.c: Moved globals into tzvars.c
294 so other time functions needn't link in __tzset_r and its
296 * libc/time/Makefile.am: Add the new file.
297 * libc/time/Makefile.in: Regenerated.
299 2005-11-08 Christopher Faylor <cgf@timesys.com>
301 * libc/include/string.h: Add cygwin-specific function declaration.
303 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
305 * libc/include/ieeefp.h: Add C++ guards.
307 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
309 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
310 * libc/unix/getlogin.c: Ditto.
311 * libc/unix/getpass.c: Ditto.
312 * libc/unix/getut.c: Ditto.
313 * libc/unix/ttyname.c: Ditto.
315 2005-11-03 Shaun Jackman <sjackman@gmail.com>
317 * libc/include/sys/unistd.h (readlink, symlink): Provide these
318 prototypes by default.
319 * libc/sys/linux/include/unistd.h (readlink): Remove this
321 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
324 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
326 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
328 2005-10-31 Darin Johnson <darin@usa.net>
330 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
331 correct for constants.
333 2005-10-28 Bob Wilson <bob.wilson@acm.org>
335 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
336 * libc/stdio/siscanf.c: Likewise.
337 * libc/stdio/sprintf.c: Likewise.
338 * libc/stdio/sscanf.c: Likewise.
339 * libc/stdio/vfprintf.c: Likewise.
340 * libc/stdio/vfscanf.c: Likewise.
341 * libc/stdio/viprintf.c: Likewise.
342 * libc/stdio/viscanf.c: Likewise.
344 2005-10-28 Bob Wilson <bob.wilson@acm.org>
346 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
347 example to use "_end" symbol instead of "end". Change write example
348 to use "outbyte" instead of "writechar".
350 2005-10-28 Bob Wilson <bob.wilson@acm.org>
352 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
353 * libc/ctype/islower.c: Likewise.
354 * libc/ctype/isupper.c: Likewise.
355 * libc/ctype/iswalnum.c: Likewise.
356 * libc/ctype/iswalpha.c: Likewise.
357 * libc/ctype/iswblank.c: Likewise.
358 * libc/ctype/iswcntrl.c: Likewise.
359 * libc/ctype/iswdigit.c: Likewise.
360 * libc/ctype/iswgraph.c: Likewise.
361 * libc/ctype/iswlower.c: Likewise.
362 * libc/ctype/iswprint.c: Likewise.
363 * libc/ctype/iswpunct.c: Likewise.
364 * libc/ctype/iswspace.c: Likewise.
365 * libc/ctype/iswupper.c: Likewise.
366 * libc/ctype/iswxdigit.c: Likewise.
367 * libc/ctype/tolower.c: Likewise.
368 * libc/ctype/toupper.c: Likewise.
369 * libc/ctype/towctrans.c: Likewise.
370 * libc/ctype/towlower.c: Likewise.
371 * libc/ctype/towupper.c: Likewise.
372 * libc/string/strcasecmp.c: Likewise.
373 * libc/string/strcoll.c: Likewise.
374 * libc/string/strings.tex: Likewise.
375 * libc/string/strlwr.c: Likewise.
376 * libc/string/strncasecmp.c: Likewise.
377 * libc/string/strupr.c: Likewise.
378 * libc/string/wcscoll.c: Likewise.
379 * libc/string/wcslcat.c: Likewise.
380 * libc/string/wcslcpy.c: Likewise.
381 * libc/string/wcsnlen.c: Likewise.
382 * libc/string/wcsstr.c: Likewise.
383 * libc/string/wcstrings.tex: Likewise.
384 * libc/string/wmemchr.c: Likewise.
385 * libc/string/wmemcmp.c: Likewise.
386 * libc/string/wmemcpy.c: Likewise.
387 * libc/string/wmemmove.c: Likewise.
388 * libc/string/wmemset.c: Likewise.
390 2005-10-28 Bob Wilson <bob.wilson@acm.org>
392 * libc/misc/unctrl.c: Replace FUNCTION description.
393 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
394 * libc/stdio/getdelim.c: Fix spelling errors.
395 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
396 * libc/stdio/putw.c: Likewise.
397 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
399 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
400 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
401 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
402 * libc/stdlib/mlock.c: Likewise.
403 * libc/stdlib/mstats.c: Likewise.
404 * libc/time/tzlock.c: Likewise.
405 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
406 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
407 and hyphenate "pseudo-random".
408 * libc/string/bcmp.c: Remove extra blank lines in documentation.
409 * libc/string/strncat.c: Likewise.
410 * libc/string/memchr.c: Remove extra ">" character in documentation.
411 * libc/string/strcspn.c: Use "characters" instead of "chars".
412 * libc/string/strpbrk.c: Likewise.
413 * libc/string/strerror_r.c: Capitalize "GNU".
414 * libc/string/strnlen.c: Likewise.
415 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
416 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
417 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
418 * libc/string/wcschr.c: Likewise.
419 * libc/string/wcscmp.c: Likewise.
420 * libc/string/wcscpy.c: Likewise.
421 * libc/string/wcscspn.c: Likewise.
422 * libc/string/wcslen.c: Likewise.
423 * libc/string/wcsncat.c: Likewise.
424 * libc/string/wcsncmp.c: Likewise.
425 * libc/string/wcsncpy.c: Likewise.
426 * libc/string/wcsnlen.c: Likewise.
427 * libc/string/wcspbrk.c: Likewise.
428 * libc/string/wcsrchr.c: Likewise.
429 * libc/string/wcsspn.c: Likewise.
430 * libc/string/wmemchr.c: Likewise.
431 * libc/string/wmemcmp.c: Likewise.
432 * libc/string/wmemcpy.c: Likewise.
433 * libc/string/wmemset.c: Likewise.
434 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
435 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
436 * libc/string/wcwidth.c: Likewise.
437 * libm/common/s_modf.c: Remove extra period from documentation.
438 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
440 * libm/mathfp/s_isnan.c: Likewise.
441 * libm/math/s_ldexp.c: Fix punctuation.
442 * libm/mathfp/s_ldexp.c: Likewise.
443 * libm/math/w_log.c: Likewise.
444 * libm/mathfp/s_logarithm.c: Likewise.
445 * libm/math/w_j0.c: Add spaces to FUNCTION description.
446 * libm/mathfp/w_jn.c: Likewise.
448 2005-10-26 Shaun Jackman <sjackman@gmail.com>
450 * libc/posix/scandir.c (scandir): Update the function
451 prototype to match the header.
452 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
454 * libc/sys/linux/sys/lock.h: Do not include
455 machine/weakalias.h, since it's not used by this file.
457 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
459 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
460 directories can override properly.
462 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
464 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
465 gcc is 3.3 or greater, use special gcc builtins.
467 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
469 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
471 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
473 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
475 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
477 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
478 * libm/common/Makefile.am: Add s_infconst.c support.
479 * libm/common/Makefile.in: Regenerated.
480 * libm/common/s_infconst.c: New file with float and
481 long double infinity support added.
482 * libm/math/Makefile.am: Remove s_infconst.c support.
483 * libm/math/Makefile.in: Regenerated.
484 * libm/math/s_infconst.c: Moved to common directory.
485 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
486 * libm/mathfp/Makefile.in: Regenerated.
487 * libm/mathfp/s_infconst.c: Moved to common directory.
489 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
491 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
492 dbgprintf to prevent conflict with new dprintf function.
494 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
496 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
497 "nan" processing for systems that have long double support.
499 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
501 * libc/sys/linux/sys/types.h (int8_t): Add type.
503 2005-10-14 Bob Wilson <bob.wilson@acm.org>
505 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
506 * libm/common/Makefile.in: Regenerate.
507 * libm/common/common.tex: Delete file.
508 * libm/math/math.tex: Include .def files from common/.
509 * libm/mathfp/mathfp.tex: Likewise.
511 2005-10-14 Bob Wilson <bob.wilson@acm.org>
513 * libc/libc.texinfo (Top): Surround this node with @ifnottex
514 instead of @ifinfo. Update menu to add Introduction and match
516 (Introduction): New section.
518 2005-10-14 Bob Wilson <bob.wilson@acm.org>
520 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
521 with "Red Hat newlib C Library".
522 * libc/sys.tex (Stubs): Likewise.
523 * libm/math/math.tex (Math): Likewise.
524 * libm/mathfp/mathfp.tex (Math): Likewise.
526 2005-10-11 Shaun Jackman <sjackman@gmail.com>
528 * libc/include/stdio.h (dprintf): New declaration.
530 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
532 * libc/stdio/Makefile.in: Regenerate.
533 * libc/stdio/dprintf.c: New file.
534 * libc/stdio/vdprintf.c: New file.
535 * libc/stdio/stdio.tex (dprintf): New entry.
537 2005-10-11 David Weatherford <weath@tensilica.com>
539 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
540 Print "inf" and "nan" in lowercase for e/f/g formats and in
541 uppercase for E/F/G formats.
543 2005-10-07 Bob Wilson <bob.wilson@acm.org>
545 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
546 to ENOMEM on failure.
548 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
550 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
552 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
554 * libc/include/stdint.h: Move magic to set __have_long* to the
555 beginning. Use #if __have* instead of #if defined(__have*).
558 2005-10-04 James E Wilson <wilson@specifix.com>
560 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
563 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
565 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
566 incorporate Ralf's change below.
568 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
570 * libc/include/stdint.h:
571 Use __INTMAX_TYPE__ to derive intmax_t.
572 Use __UINTMAX_TYPE__ to derive uintmax_t.
575 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
577 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
580 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
582 * libc/sys/linux/include/stdint.h: Update to match functionality
583 of generic newlib stdint.h.
585 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
587 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
588 and do not #undef the macro after it is used. Fix typos.
589 Also change 64-bit constants to use the __have_long64 and
590 __have_longlong64 flags to determine if long or long long
591 constants should be used.
592 * libc/include/inttypes.h: Include stddef.h to get wchar_t
595 2005-09-20 Shaun Jackman <sjackman@gmail.com>
597 * libc/include/stdint.h: Fix typo in names of
600 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
602 * libc/sys/rtems/include/inttypes.h: Moved to...
603 * libc/include/inttypes.h: ...here.
605 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
607 * libc/sys/rtems/include/stdint.h: Moved to...
608 * libc/include/stdint.h: ...here.
610 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
612 * Makefile.am: Add include files under bits sub-directory.
613 * Makefile.in: Regenerated.
614 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
615 actual value of 1 to be compatible with newer glibc headers.
616 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
618 * libc/sys/linux/sys/dirent.h: Ditto.
619 * libc/sys/linux/argp/argp-xinl.c: Ditto.
620 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
621 profile_fixup routines are marked used so they won't be
623 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
624 to mark functions as weak.
625 * libc/sys/linux/dl/dl-open.c: Ditto.
626 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
628 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
629 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
630 weak_extern macro to mark functions as weak. Instead always
632 * iconvdata/jis0208.h: Fix to work with gcc4.
633 * libc/sys/linux/dl/dl-load.c: Ditto.
634 * libc/sys/linux/dl/dl-reloc.c: Ditto.
635 * libc/sys/linux/dl/do-rel.h: Ditto.
636 * libc/sys/linux/dl/dynamic-link.h: Ditto.
637 * libc/sys/linux/include/ltdl.h: Ditto.
638 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
639 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
640 * libc/sys/linux/net/ns_ntoa.c: Ditto.
641 * libc/sys/linux/bits/initspin.h: New file.
642 * libc/sys/linux/bits/libc-lock.h: Ditto.
643 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
644 * libc/sys/linux/bits/typesizes.h: Ditto.
646 2005-09-08 Eric Blake <ebb9@byu.net>
648 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
651 2005-09-08 Brian Dessent <brian@dessent.net>
653 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
657 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
659 * libc/include/stdio.h: Add prototype for viprintf.
661 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
663 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
664 any positive power results in 0.
665 * libm/mathfp/sf_pow.c (powf): Ditto.
667 2005-08-31 Paul Brook <paul@codesourcery.com>
669 * configure.host: Set have_crt0 to no for Arm targts when not
670 providing syscalls. Set sys_dir=arm unconditionally.
671 Default have_crt0 based on sys_dir.
672 * configure.in: Use have_crt0.
673 * libc/configure.in: Ditto.
674 * libc/sys/configure.in: Ditto.
675 * configure: Regenerate.
676 * libc/configure: Regenerate.
677 * libc/sys/configure: Regenerate.
678 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
679 Only build other files when providing syscalls.
680 * libc/sys/arm/Makefile.in: Regenerate.
681 * libc/sys/arm/aeabi_atexit.c: New file.
683 2005-08-26 Christopher Faylor <cgf@timesys.com>
685 * libc/include/string.h: Revert previous change.
687 2005-08-25 Christopher Faylor <cgf@timesys.com>
689 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
691 2005-08-22 Shaun Jackman <sjackman@gmail.com>
693 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
694 define _opendir as opendir, _readdir as readdir, and
695 _closedir as closedir so that the implementations in
696 libc/posix will be used.
698 2005-08-10 DJ Delorie <dj@redhat.com>
700 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
702 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
704 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
705 * libm/common/s_max.c: Ditto.
706 * libm/common/sf_fmin.c: Ditto.
707 * libm/common/s_min.c: Ditto.
709 2005-08-10 DJ Delorie <dj@redhat.com>
711 * configure.host: Add m32c support.
712 * libc/include/machine/ieeefp.h: Likewise.
713 * libc/include/machine/setjmp.h: Likewise.
714 * libc/include/sys/config.h: Likewise.
715 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
716 * libc/machine/m32c/aclocal.m4: New file.
717 * libc/machine/m32c/configure: Ditto.
718 * libc/machine/m32c/configure.in: Ditto.
719 * libc/machine/m32c/Makefile.am: Ditto.
720 * libc/machine/m32c/Makefile.in: Ditto.
721 * libc/machine/m32c/setjmp.S: Ditto.
723 2005-08-02 Bob Wilson <bob.wilson@acm.org>
725 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
726 to the value for 2^126.
728 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
730 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
733 2005-07-20 Bob Wilson <bob.wilson@acm.org>
734 Darin Petkov <darin@tensilica.com>
736 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
738 2005-07-19 Paul Brook <paul@codesourcery.com>
740 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
742 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
744 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
745 names after PASS and FAIL which do not depend on source directory
746 name or on whether test passed or failed.
747 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
749 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
751 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
753 2005-07-07 Shaun Jackman <sjackman@gmail.com>
755 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
756 twice for the same directory. _closedir calls free, and freeing
757 the same pointer twice may cause a crash.
759 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
761 * configure.host: Added entry for ms1*.
762 * libc/include/machine/ieeefp.h: Handle ms1.
763 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
764 * libc/machine/ms1/aclocal.m4: New.
765 * libc/machine/ms1/configure: New.
766 * libc/machine/ms1/configure.in: New.
767 * libc/machine/ms1/Makefile.am: New.
768 * libc/machine/ms1/Makefile.in: New.
769 * libc/machine/ms1/setjmp.S: New.
771 2005-07-04 Mark Mitchell <mark@codesourcery.com>
773 * Makefile.am (site.exp): Set tmpdir.
774 * Makefile.in: Regenerated.
775 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
776 executables in $tmpdir.
777 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
778 libgloss version if not running in the build directory.
779 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
781 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
784 2005-06-28 Dave Korn <dave.korn@artimi.com>
786 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
787 and miscalculation caused by fp representation of zero.
788 * libm/common/sf_lrint.c (lrintf): Likewise.
790 2005-06-16 Christopher Faylor <cgf@timesys.com>
792 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
793 determine characteristics of long double. Use a union instead.
794 * ldtoa.c (_ldtoa_r): Ditto.
797 (union uconv): New union.
799 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
801 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
804 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
806 * configure.host (mn10300-*): Add long long I/O support by default.
808 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
810 * libc/sys/linux/getpwuid.c: Removed.
811 * libc/sys/linux/getpwnam.c: Removed.
812 * libc/sys/linux/getpwent.c: New file containing logic
813 from files removed above. This allows overriding of file
815 * libc/sys/linux/Makefile.am: Support changes above.
816 * libc/sys/linux/Makefile.in: Regenerated.
818 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
820 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
821 when checking for multiple flags.
823 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
825 * configure.host <cris-*-* | crisv32-*-*>: Set
826 default_newlib_io_long_long="yes".
828 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
830 * libc/include/libgen.h: New file.
832 2005-04-08 Shaun Jackman <sjackman@gmail.com>
834 * libc/unix/Makefile.am: Add support for basename and dirname.
835 * libc/unix/Makefile.in: Regenerated.
836 * libc/unix/basename.c: New file.
837 * libc/unix/dirname.c: New file.
839 2005-04-07 Shaun Jackman <sjackman@gmail.com>
841 * libc/sys/linux/inode.c (lchown): New function.
843 2005-04-07 Shaun Jackman <sjackman@gmail.com>
845 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
846 ELIX level is defined.
847 * libc/unix/Makefile.in: Regenerated.
849 2005-04-05 Dave Korn <dave.korn@artimi.com>
851 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
852 something that looks like a "NaN", put back the characters processed.
854 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
856 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
858 2005-03-23 Christopher Faylor <cgf@timesys.com>
860 * configure.host: For cygwin, redefine CC with cygwin include directory
861 first to mimic the behavior of the top-level configury. Move include
862 directory out of newlib_cflags.
864 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
866 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
867 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
870 2005-03-22 Christopher Faylor <cgf@timesys.com>
872 * libc/include/machine/_types.h: Make trivial change to comment to
873 avoid a spurious warning from gcc.
875 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
877 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
878 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
881 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
882 Corinna Vinschen <corinna@vinschen.de>
884 * libc/include/ctype.h: Remove invalid +1 offset from
885 ctype macro references to __ctype_ptr.
886 (_ctype_): Move declaration outside #ifndef __cplusplus.
888 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
890 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
891 evaluate first parameter only once.
894 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
896 * configure.in: Add new check to see if compiler supports
897 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
898 * configure: Regenerated.
899 * Makefile.in: Ditto.
900 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
901 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
902 aliasing the _ctype_ array to _ctype_b.
903 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
904 _ctype_ as deprecated.
906 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
908 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
911 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
913 * libc/sys/rtems/include/inttypes.h: New file.
914 * libc/sys/rtems/include/stdint.h: Ditto.
916 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
918 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
920 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
922 * libc/include/machine/_types.h: New file.
923 * libc/include/sys/types.h: Do not check for __rtems__
924 when including <machine/_types.h>. Remove some redundant
925 declarations now that <machine/_types.h> is included.
926 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
929 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
931 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
932 L qualifier for these long constants.
934 2005-02-25 Eric Blake <ebb9@byu.net>
936 * libc/include/time.h (__tzrule_struct): Make offset long, since
937 a 16-bit int overflows on a 12-hour offset.
938 * libc/sys/linux/include/time.h: Ditto.
939 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
940 * libc/time/mktm_r.c: Ditto.
941 * libc/time/gettzinfo.c: Ditto.
942 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
943 years. Fix '%z' to use long, not int.
945 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
947 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
948 manipulate float values in integer form.
949 * libm/common/sf_round.c: Ditto.
951 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
953 * libc/include/sys/types.h [__rtems__]: Include new
954 header file machine/_types.h.
955 * libc/include/machine/types.h: Ditto.
956 * libc/sys/rtems/machine/_types.h: New file.
958 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
960 * libc/include/time.h (_timezone): Change to long also for Cygwin.
961 (timezone): Drop cast from definition.
963 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
965 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
966 (__tzrule_type, __tzinfo_type): New types.
967 (__gettzinfo): New function.
968 * libc/sys/linux/include/time.h: Ditto.
969 * libc/time/Makefile.am: Add gettzinfo.c.
970 * libc/time/Makefile.in: Regenerated.
971 * libc/time/local.h: Moved __tzrule_type to time.h.
972 * libc/time/mktime.c: Call __gettzinfo to reference
973 __tznorth, __tzyear, and __tzrule array.
974 * libc/time/mktm_r.c: Ditto.
975 * libc/time/strftime.c: Ditto.
976 * libc/time/tzset_r.c: Ditto. Also remove definition
977 of __tzrule which is now in gettzinfo.c. Change _timezone
978 references to not cast to time_t.
979 * libc/time/gettzinfo.c: New file.
981 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
983 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
985 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
987 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
989 2005-02-16 Eric Blake <ebb9@byu.net>
991 * libc/time/time.tex: Improve the documentation.
992 * libc/time/strftime.c: Improve the documentation.
993 (iso_year_adjust): New helper function.
994 (strftime): Simplify '%E' and '%O'. Change '%c' to use
995 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
996 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
997 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
998 Avoid core dumps on valid inputs (maxsize == 0, or
999 tim_p->tm_isdst > 1).
1001 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
1003 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
1004 members to uid_t and gid_t according to SUSv3.
1005 * libc/include/sys/time.h (utimes): Change second parameter
1006 to const according to SUSv3.
1008 2005-02-07 Antony King <antony.king@st.com>
1010 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
1011 called before _flockfile to prevent lock object use before
1012 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
1013 take a struct _reent * instead of a FILE *.
1014 * libc/stdio/fclose.c (_fclose_r): Ditto.
1015 * libc/stdio/feof.c (feof): Ditto.
1016 * libc/stdio/ferror.c (ferror): Ditto.
1017 * libc/stdio/fflush.c (fflush): Ditto.
1018 * libc/stdio/fgetc.c (fgetc): Ditto.
1019 * libc/stdio/fgets.c (fgets): Ditto.
1020 * libc/stdio/fileno.c (fileno): Ditto.
1021 * libc/stdio/fputc.c (fputc): Ditto.
1022 * libc/stdio/fputs.c (fputs): Ditto.
1023 * libc/stdio/fread.c (fread): Ditto.
1024 * libc/stdio/freopen.c (_freopen_r): Ditto.
1025 * libc/stdio/fseek.c (_fseek_r): Ditto.
1026 * libc/stdio/ftell.c (_ftell_r): Ditto.
1027 * libc/stdio/fwrite.c (fwrite): Ditto.
1028 * libc/stdio/getc.c (getc): Ditto.
1029 * libc/stdio/getdelim.c (__getdelim): Ditto.
1030 * libc/stdio/putc.c (putc): Ditto.
1031 * libc/stdio/setvbuf.c (setvbuf): Ditto.
1032 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
1033 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1034 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1035 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1036 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
1037 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
1038 _reent * instead of a FILE * and so replace incorrect use of
1039 _REENT with argument.
1040 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
1041 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
1042 CHECK_INIT() take a struct _reent * instead of a FILE *.
1043 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
1044 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
1045 * libc/stdio/perror.c (perror): Ditto.
1046 * libc/stdio/printf.c (printf, _printf_r): Ditto.
1047 * libc/stdio/putchar.c (putchar): Ditto.
1048 * libc/stdio/puts.c (puts): Ditto.
1049 * libc/stdio/refill.c (__srefill): Ditto.
1050 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
1051 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
1052 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
1053 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
1054 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
1055 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
1056 * libc/stdio/wbuf.c (__swbuf): Ditto.
1057 * libc/stdio/wsetup.c (__swsetup): Ditto.
1058 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
1059 * libc/stdlib/mstats.c (_mstats_r): Ditto.
1060 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
1061 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
1062 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
1063 to _flockfile and _funlockfile; rely on locking in _ftell_r.
1064 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
1065 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
1066 initialision of _data field in FILE structure.
1067 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
1069 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1071 * libc/stdio/findfp.c (__sinit): Protect with new lock.
1072 (__sinit_lock): New lock.
1073 (__sinit_lock_acquire, __sinit_lock_release): New functions.
1074 * libc/stdio/local.h: Add reference to new __sinit locking
1077 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
1079 * libc/include/math.h (isfinite, isnormal, isunordered): Change
1080 input variable names to avoid mixups with nesting macros.
1082 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1084 * configure.host: Add support for cris-*-* and crisv32-*-*.
1085 * libc/include/machine/ieeefp.h: Ditto.
1086 * libc/include/machine/setjmp.h: Ditto.
1087 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
1088 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
1089 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
1090 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
1091 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
1092 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
1093 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
1096 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1098 * testsuite/newlib.string/memmove1.c: New test.
1100 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1102 * testsuite/include/check.h: Include stdlib.h.
1104 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
1106 * Makefile.am (stmp-targ-include): Support include header files
1107 from machine directories.
1108 (install-data-local): Ditto.
1109 * Makefile.in: Regenerate.
1111 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
1113 * libc/include/string.h: Remove Linux-specific declaration of
1114 strsignal and add #include <sys/string.h>.
1115 * libc/include/sys/string.h: New file.
1116 * libc/include/sys/linux/sys/string.h: New file with strsignal
1117 declaration deleted above.
1119 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
1121 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
1122 to POSIX standard for "C" locale. Allow %E and %O modifiers
1123 to be ignored as long as they precede valid specifiers according
1126 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1128 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1129 environment variable is set.
1131 2005-01-19 Shaun Jackman <sjackman@gmail.com>
1133 * tzset_r.c (_tzname): Add a comma.
1135 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
1137 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
1140 2005-01-07 Paul Brook <paul@codesourcery.com>
1142 * configure.in: Add test for .init_array.
1143 * configure: Regenerate.
1144 * newlib.hin: Add HAVE_INITFINI_ARRAY.
1145 * libc/misc/Makefile.am: Add init.c
1146 * libc/misc/Makefile.in: Regenerate.
1147 * libc/misc/init.c: New file.
1148 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
1149 _init/_fini if they exist.
1151 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
1153 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
1155 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
1156 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
1157 functions for use by strtod and strtof.
1158 * Makefile.in: Regenerated.
1160 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1162 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
1163 bit-test in combination with NULL test.
1165 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
1167 * README: Fix typo of LGPL. Change "license" to "copyright".
1169 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
1171 * NEWS: Update with 1.13.0 info.
1173 * acinclude.m4: Change version number to 1.13.0.
1174 * aclocal.m4: Regenerated.
1176 * doc/aclocal.m4: Ditto.
1177 * doc/configure: Ditto.
1178 * libc/*/aclocal.m4: Ditto.
1179 * libc/*/configure: Ditto.
1180 * libc/libc.texinfo: Ditto.
1181 * libm/*/aclocal.m4: Ditto.
1182 * libm/*/configure: Ditto.
1183 * libm/libm.texinfo: Ditto.
1184 * libc/sys/linux/shared.ld: Add VERS_1.13.
1186 2004-12-17 Christian Groessler <chris@groessler.org>
1188 * libc/machine/z8k/memcmp.S: New file.
1189 * libc/machine/z8k/memcpy.S: Ditto.
1190 * libc/machine/z8k/memmove.S: Ditto.
1191 * libc/machine/z8k/memset.S: Ditto.
1192 * libc/machine/z8k/Makefile.am: Add new files.
1193 * libc/machine/z8k/Makefile.in: Regenerated.
1194 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
1195 part. Implement Z8002 stdcall version.
1197 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
1199 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
1200 a low-level read if we don't get the full amount of bytes so
1201 EOF or error flags will be set.
1203 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
1205 * libc/time/tzset_r (_tzset_r): Properly skip over
1206 '/' when it is detected.
1208 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1210 * libc/time/tzset_r (_tzset_r): Fix loop.
1212 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
1214 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
1216 (__tzcalc_limits): Fix reference to month array to be zero-based.
1218 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
1220 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
1223 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
1225 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
1226 libgcc dependencies.
1227 (libm_la_LDFLAGS): Ditto.
1228 * Makefile.in: Regenerated.
1230 2004-12-03 Shaun Jackman <sjackman@gmail.com>
1232 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
1233 our link to use readlink so as to preserve any relative link created
1234 by install-toollibLIBRARIES.
1235 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
1237 2004-12-02 Shaun Jackman <sjackman@gmail.com>
1239 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
1240 time_t before including sys/stat.h, which uses it.
1241 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
1242 <linux/time.h> just prior to definition of __KERNEL__ so as to
1243 allow building on Debian Linux where otherwise, mktime would
1246 2004-11-26 Paul Brook <paul@codesourcery.com>
1248 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
1250 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1252 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
1253 const for value string parameter to match Single Unix and glibc.
1254 * libc/stdlib/putenv.c: Ditto.
1255 * libc/stdlib/putenv_r.c: Ditto.
1257 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
1259 * libc/stdio/Makefile.am: Fix missing vfscanf.
1260 * libc/stdio/Makefile.in: Regenerated.
1262 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
1264 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
1266 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
1267 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
1269 * libc/stdio/Makefile.in: Regenerated.
1270 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
1271 * libc/stdio/iprintf.c: Ditto.
1272 * libc/stdio/local.h (__svfiscanf_r): New prototype.
1273 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
1274 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
1275 * libc/stdio/stdio.tex: Add new functions.
1276 * libc/stdio/vfscanf.c: Split out __sccl function to separate
1277 file and add special name defines so this file can be used
1278 to build vfiscanf.o.
1279 * libc/stdio/asiprintf.c: New file.
1280 * libc/stdio/fiscanf.c: Ditto.
1281 * libc/stdio/iscanf.c: Ditto.
1282 * libc/stdio/sccl.c: Ditto.
1283 * libc/stdio/siscanf.c: Ditto.
1284 * libc/stdio/vasiprintf.c: Ditto.
1285 * libc/stdio/viprintf.c: Ditto.
1286 * libc/stdio/viscanf.c: Ditto.
1287 * libc/stdio/vsiprintf.c: Ditto.
1288 * libc/stdio/vsiscanf.c: Ditto.
1289 * libc/stdio/vsniprintf.c: Ditto.
1291 2004-11-19 Shaun Jackman <sjackman@gmail.com>
1293 * libc/include/stdio.h: Add sniprintf.
1294 * libc/stdio/Makefile.am: Add sniprintf.c.
1295 * libc/stdio/Makefile.in: Regenerated.
1296 * libc/stdio/sniprintf.c: New file.
1297 * libc/stdio/stdio.tex: Add sniprintf.
1299 2004-11-17 Christopher Faylor <cgf@timesys.com>
1301 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
1302 EOF flag if successful.
1304 2004-10-28 Christopher Faylor <cgf@timesys.com>
1306 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
1307 so that all relevant definitions have been performed for use in the
1310 2004-10-26 Jason Tishler <jason@tishler.net>
1312 * libc/stdio/fread.c (fread): Fix return value for unbuffered
1315 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1317 * libc/include/machine/setjmp.h: Add AVR support.
1318 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
1320 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
1322 * libc/include/sys/signal.h: If <signal.h> didn't include
1323 this header file, include <signal.h> to account for
1324 applications that take advantage that the two header
1325 files are the same in glibc.
1327 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
1329 * configure.host: Add support for crx.
1330 * libc/include/machine/ieeefp.h: Ditto.
1331 * libc/include/machine/setjmp.h: Ditto.
1332 * libc/machine/crx/Makefile.am: New file.
1333 * libc/machine/crx/configure.in: Ditto.
1334 * libc/machine/crx/setjmp.S: Ditto.
1335 * libc/machine/crx/getenv.c: Ditto.
1336 * libc/machine/crx/aclocal.m4: Generate.
1337 * libc/machine/crx/configure: Ditto.
1338 * libc/machine/crx/Makefile.in: Ditto.
1339 * libc/machine/crx/sys/asm.h: New file.
1340 * libc/machine/crx/sys/libh.h: Ditto.
1341 * libc/machine/crx/sys/syscall.h: Ditto.
1343 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
1345 * Makefile.am (stmp-targ-include): Support sys header files
1346 from machine directories.
1347 * Makefile.in: Regenerated.
1349 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
1351 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
1352 count skipped zero characters as part of the nread count for %n.
1353 * libc/machine/powerpc/vfscanf.c: Ditto.
1355 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
1357 * libc/stdio/local.h: Include <stdlib.h>.
1359 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
1361 * libc/stdio/fread.c (fread): Include <malloc.h>.
1363 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
1365 * libc/stdio/fread.c (fread): For non-space-optimized case,
1366 add special code for unbuffered files to use user buffer and
1367 only require one low-level system read.
1369 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
1371 * libc/machine/xscale/setjmp.S: New file, copied from
1372 libc/machine/arm/setjmp.S.
1373 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
1374 * libc/machine/xscale/Makefile.in: Regenerate.
1376 2004-09-16 Antony King <antony.king@st.com>
1378 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
1380 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
1381 check for__SSTR in _flags and if set, skip lock request.
1382 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1383 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
1385 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
1386 initialisation of _file to -1 in local FILE.
1387 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
1388 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
1389 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1390 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1391 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
1392 _flags in local FILE to prevent locking.
1393 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
1395 2004-09-16 Antony King <antony.king@st.com>
1397 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
1398 and only walk the reentrancy parameter.
1399 (_fwalk_reent): Ditto.
1400 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
1402 2004-09-16 Antony King <antony.king@st.com>
1404 * libc/stdio64/freopen64.c: Remove casting of fp lock to
1407 2004-09-16 Antony King <antony.king@st.com>
1409 * libc/time/tzlock.c: Add default stubs that use generic
1412 2004-09-16 Antony King <antony.king@st.com>
1414 * libc/ctype/ctype.tex: Added missing documentation.
1415 * libc/stdio/stdio.tex Ditto.
1416 * libc/stdlib/stdlib.tex Ditto.
1417 * libc/string/strings.tex Ditto.
1418 * libc/time/time.tex: Ditto.
1419 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
1421 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
1423 * libc/reent/impure.c (reent_data): Define as alias to impure_data
1424 when building for Cygwin.
1425 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
1428 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
1430 * configure.host: Reverting 2004-09-14 change as fix has occurred on
1432 * configure.in: Ditto.
1433 * libc/configure.in: Ditto.
1434 * libc/sys/configure.in: Ditto.
1436 * libc/configure: Ditto.
1437 * libc/sys/configure: Ditto.
1438 * libc/include/sys/reent.h: Ditto.
1439 * libc/stdlib/__atexit.c: Ditto.
1440 * libc/stdlib/__call_atexit.c: Ditto.
1441 * libc/stdlib/cxa_atexit.c: Ditto.
1442 * libc/stdlib/cxa_finalize.c: Ditto.
1443 * libc/sys/cygwin/Makefile.am: Removed again.
1444 * libc/sys/cygwin/Makefile.in: Ditto.
1445 * libc/sys/cygwin/aclocal.m4: Ditto.
1446 * libc/sys/cygwin/configure: Ditto.
1447 * libc/sys/cygwin/configure.in: Ditto.
1448 * libc/sys/cygwin/dummy.c: Ditto.
1449 * libc/sys/cygwin/sys/reent.h: Ditto.
1451 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
1453 * configure.host: Add Cygwin sys directory.
1454 * configure.in: Do not set CRT0 for cygwin.
1455 * libc/configure.in: Ditto.
1456 * libc/sys/configure.in: Ditto.
1457 * configure: Regenerated.
1458 * libc/configure: Ditto.
1459 * libc/sys/configure: Ditto.
1460 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
1461 * libc/stdlib/__atexit.c: Keep cxa support protected by new
1462 __REENT_HAS_CXA_SUPPORT flag.
1463 * libc/stdlib/__call_atexit.c: Ditto.
1464 * libc/stdlib/cxa_atexit.c: Ditto.
1465 * libc/stdlib/cxa_finalize.c: Ditto.
1466 * libc/sys/cygwin/Makefile.am: New file.
1467 * libc/sys/cygwin/Makefile.in: Ditto.
1468 * libc/sys/cygwin/aclocal.m4: Ditto.
1469 * libc/sys/cygwin/configure: Ditto.
1470 * libc/sys/cygwin/configure.in: Ditto.
1471 * libc/sys/cygwin/dummy.c: Ditto.
1472 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
1475 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1477 * libc/iconv/iconv.tex: Updated with new content.
1478 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
1479 instead of NLS_DEFAULT_NLSPATH.
1480 * libc/iconv/lib/iconvnls.h: Fix typo.
1481 * libc/include/sys/iconvnls.h: New file.
1483 2004-09-09 Paul Brook <paul@codesourcery.com>
1485 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
1487 (struct _atexit): Add _next when _REENT_SMALL.
1488 (struct _reent): Add _atexit0 when _REENT_SMALL.
1489 (_REENT_INIT_PTR): Adjust.
1490 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
1492 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
1493 * libc/stdlib/Makefile.in: Regenerate.
1494 * libc/stdlib/__atexit.c: New file.
1495 * libc/stdlib/__call_atexit.c: New file.
1496 * libc/stdlib/atexit.h: Remove old definitions. Add new.
1497 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
1498 * libc/stdlib/cxa_atexit.c: New file.
1499 * libc/stdlib/cxa_finalize.c: New file.
1500 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
1501 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
1502 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
1503 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
1506 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
1508 * libc/include/sys/unistd.h (getpass): Change prototype to use
1509 const instead of __const.
1511 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
1513 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
1516 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
1518 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
1519 on linux systems with glibc 2.3.3 installed.
1520 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
1521 profile_fixup so newlib can build on fc3 system.
1523 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
1525 Introduce SH2a support.
1526 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
1527 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
1528 __SH2A_SINGLE_ONLY__, too.
1529 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
1530 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
1531 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
1532 2004-02-10 DJ Delorie <dj@redhat.com>
1533 * libc/sys/sh/crt0.S (start_l): Support sh2a.
1535 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
1537 * libc/time/strptime.c: Correct full-name of "March" typo.
1539 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
1541 * configure.host (h8300*-*-*): Default long long printing support.
1543 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
1545 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
1546 calls, if realloc fails, free up buffer as it is no longer
1549 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1551 * libc/iconv/iconv.tex: Updated to represent recent changes.
1552 * libc/iconv/lib/iconv.c: Documentation updated.
1554 2004-07-07 Nick Clifton <nickc@redhat.com>
1556 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
1559 2004-07-06 Chris Demetriou <cgd@broadcom.com>
1561 * configure.host (mips*-*-elf*): Default long long printing
1564 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
1566 * libc/Makefile.am (libc.dvi): Add target and specify
1567 same dependencies as libc.info.
1568 * libc/Makefile.in: Regenerated.
1569 * libm/Makefile.am (libm.dvi): Add target and specify
1570 same dependencies as libm.info.
1571 * libm/Makefile.in: Regenerated.
1573 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1575 * acinclude.m4: Move --enable-newlib-iconv option back here.
1576 * configure.in: Remove --enable-newlib-iconv option. Don't
1577 tie iconv support to --enable-newlib-mb.
1578 * aclocal.m4: Regenerated.
1580 * doc/aclocal.m4, doc/configure: Ditto.
1581 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
1582 * libm/*/aclocal.m4: Ditto.
1583 * libm/*/configure: Ditto.
1584 * libc/*/aclocal.m4: Ditto.
1585 * libc/*/configure: Ditto.
1587 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
1589 * acinclude.m4: Move iconv options into configure.in.
1590 * aclocal.m4: Regenerated.
1592 * configure.in: Add iconv options.
1593 * newlib.hin: Add new iconv encodings and remove deleted ones.
1594 * doc/aclocal.m4: Regenerated.
1595 * doc/configure: Ditto.
1596 * iconvdata/aclocal.m4: Ditto.
1597 * iconvdata/configure: Ditto.
1598 * libc/iconv: Design change. New size-optimized ccs format.
1599 * libc/iconv/AUTHORS: Removed.
1600 * libc/iconv/COPYING: Ditto.
1601 * libc/iconv/README.ORIGINAL: Ditto.
1602 * libc/iconv/README.TODO: Ditto.
1603 * libc/iconv/charset.aliases: Ditto.
1604 * libc/iconv/encoding.aliases: New file.
1605 * libc/iconv/Makefile.am: Updated.
1606 * libc/iconv/Makefile.in: Regenerated.
1607 * libc/iconv/iconv.tex: Updated.
1608 * libc/iconv/ccs/Makefile.am: Ditto.
1609 * libc/iconv/ccs/Makefile.in: Regenerated.
1610 * libc/iconv/ccs/big5.c: Updated.
1611 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
1612 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
1613 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
1614 * libc/iconv/ccs/cp775.c: Ditto.
1615 * libc/iconv/ccs/cp850.c: Ditto.
1616 * libc/iconv/ccs/cp852.c: Ditto.
1617 * libc/iconv/ccs/cp855.c: Ditto.
1618 * libc/iconv/ccs/cp866.c: Ditto.
1619 * libc/iconv/ccs/iso_8859_1.c: Ditto.
1620 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
1621 * libc/iconv/ccs/gb_2312_80.c: Ditto.
1622 * libc/iconv/ccs/iconv_mktbl: Ditto.
1623 * libc/iconv/ccs/jis_x0201.c: Ditto.
1624 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
1625 * libc/iconv/ccs/shift_jis.c: Ditto.
1626 * libc/iconv/ccs/us_ascii.c: Ditto.
1627 * libc/iconv/ccs/ccs.h: New file.
1628 * libc/iconv/ccs/ccsbi.c: Ditto.
1629 * libc/iconv/ccs/ccsbi.h: Ditto.
1630 * libc/iconv/ccs/ccsnames.h: Ditto.
1631 * libc/iconv/ccs/iso_8859_10.c: Ditto.
1632 * libc/iconv/ccs/iso_8859_11.c: Ditto.
1633 * libc/iconv/ccs/iso_8859_13.c: Ditto.
1634 * libc/iconv/ccs/iso_8859_14.c: Ditto.
1635 * libc/iconv/ccs/iso_8859_3.c: Ditto.
1636 * libc/iconv/ccs/iso_8859_6.c: Ditto.
1637 * libc/iconv/ccs/iso_8859_7.c: Ditto.
1638 * libc/iconv/ccs/iso_8859_8.c: Ditto.
1639 * libc/iconv/ccs/iso_8859_9.c: Ditto.
1640 * libc/iconv/ccs/iso_ir_111.c: Ditto.
1641 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
1642 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
1643 * libc/iconv/ccs/koi8_ru.c: Ditto.
1644 * libc/iconv/ccs/koi8_uni.c: Ditto.
1645 * libc/iconv/ccs/mktbl.pl: Ditto.
1646 * libc/iconv/ccs/win_1250.c: Ditto.
1647 * libc/iconv/ccs/win_1251.c: Ditto.
1648 * libc/iconv/ccs/win_1252.c: Ditto.
1649 * libc/iconv/ccs/win_1253.c: Ditto.
1650 * libc/iconv/ccs/win_1254.c: Ditto.
1651 * libc/iconv/ccs/win_1255.c: Ditto.
1652 * libc/iconv/ccs/win_1256.c: Ditto.
1653 * libc/iconv/ccs/win_1257.c: Ditto.
1654 * libc/iconv/ccs/win_1258.c: Ditto.
1655 * libc/iconv/ccs/iso_8859_15.c: Updated.
1656 * libc/iconv/ccs/iso_8859_2.c: Ditto.
1657 * libc/iconv/ccs/iso_8859_4.c: Ditto.
1658 * libc/iconv/ccs/iso_8859_5.c: Ditto.
1659 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
1660 * libc/iconv/ccs/koi8_r.c: Ditto.
1661 * libc/iconv/ccs/koi8_u.c: Ditto.
1662 * libc/iconv/ccs/ksx1001.c: Ditto.
1663 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
1664 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
1665 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
1666 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
1667 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
1668 * libc/iconv/ccs/binary/Makefile.am: Updated.
1669 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
1670 * libc/iconv/ccs/binary/big5.cct: Updated.
1671 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
1672 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
1673 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
1674 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
1675 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
1676 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
1677 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
1678 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
1679 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
1680 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
1681 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
1682 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
1683 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
1684 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
1685 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
1686 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
1687 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
1688 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
1689 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
1690 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
1691 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
1692 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
1693 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
1694 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
1695 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
1696 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
1697 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
1698 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
1699 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
1700 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
1701 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
1702 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
1703 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
1704 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
1705 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
1706 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
1707 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
1708 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
1709 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
1710 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
1711 * libc/iconv/ces/Makefile.am: Updated.
1712 * libc/iconv/ces/Makefile.in: Regenerated.
1713 * libc/iconv/ces/ucs-2-internal.c: Updated.
1714 * libc/iconv/ces/ucs-4-internal.c: Ditto.
1715 * libc/iconv/ces/utf-16.c: Ditto.
1716 * libc/iconv/ces/utf-8.c: Ditto.
1717 * libc/iconv/ces/cesbi.c: New file.
1718 * libc/iconv/ces/cesbi.h: Ditto.
1719 * libc/iconv/ces/cesdeps.h: Ditto.
1720 * libc/iconv/ces/euc.c: Ditto.
1721 * libc/iconv/ces/mkdeps.pl: Ditto.
1722 * libc/iconv/ces/table-pcs.c: Ditto.
1723 * libc/iconv/ces/table.c: Ditto.
1724 * libc/iconv/ces/ucs-2.c: Ditto.
1725 * libc/iconv/ces/ucs-4.c: Ditto.
1726 * libc/iconv/ces/us-ascii.c: Ditto.
1727 * libc/iconv/ces/euc-jp.c: Removed.
1728 * libc/iconv/ces/euc-kr.c: Ditto.
1729 * libc/iconv/ces/euc-tw.c: Ditto.
1730 * libc/iconv/ces/gb2312.c: Ditto.
1731 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
1732 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
1733 * libc/iconv/lib/Makefile.am: Updated.
1734 * libc/iconv/lib/Makefile.in: Regenerated.
1735 * libc/iconv/lib/endian.h: Updated.
1736 * libc/iconv/lib/iconv.c: Ditto.
1737 * libc/iconv/lib/local.h: Ditto.
1738 * libc/iconv/lib/aliases.c: Removed.
1739 * libc/iconv/lib/bialiasesi.c: Ditto.
1740 * libc/iconv/lib/biccs.c: Ditto.
1741 * libc/iconv/lib/bices.c: Ditto.
1742 * libc/iconv/lib/ccs.c: Ditto.
1743 * libc/iconv/lib/ces.c: Ditto.
1744 * libc/iconv/lib/ces_euc.c: Ditto.
1745 * libc/iconv/lib/ces_iso2022.c: Ditto.
1746 * libc/iconv/lib/ces_table.c: Ditto.
1747 * libc/iconv/lib/converter.c: Ditto.
1748 * libc/iconv/lib/deps.h: Ditto.
1749 * libc/iconv/lib/loaddata.c: Ditto.
1750 * libc/iconv/lib/aliasesbi.c: New file.
1751 * libc/iconv/lib/aliasesi.c: Ditto.
1752 * libc/iconv/lib/conv.h: Ditto.
1753 * libc/iconv/lib/encnames.h: Ditto.
1754 * libc/iconv/lib/encoding.deps: Ditto.
1755 * libc/iconv/lib/iconvnls.c: Ditto.
1756 * libc/iconv/lib/iconvnls.h: Ditto.
1757 * libc/iconv/lib/nullconv.c: Ditto.
1758 * libc/iconv/lib/ucsconv.c: Ditto.
1759 * libc/iconv/lib/ucsconv.h: Ditto.
1760 * libc/include/iconv.h: Update copyright.
1761 * libc/*/aclocal.m4: Regenerated.
1762 * libc/*/configure: Ditto.
1763 * libm/*/aclocal.m4: Ditto.
1764 * libm/*/configure: Ditto.
1766 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
1768 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
1769 instead of typedefing jmp_buf.
1771 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
1772 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
1773 * libc/machine/h8300/defines.h (LEN): New macro.
1774 * libc/machine/h8300/memcpy.S: Add h8sx version.
1775 * libc/machine/h8300/memset.S: Likewise.
1776 * libc/machine/h8300/strcmp.S: Likewise.
1777 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
1778 * libc/machine/h8300/h8sx_strcpy.S: New file.
1779 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
1780 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
1782 * libc/include/machine/setjmp.h: Likewise.
1783 * libc/include/sys/config.h: Likewise.
1784 * libc/machine/h8300/defines.h: Likewise.
1785 * libc/machine/h8300/setjmp.S: Likewise.
1786 * libc/machine/h8300/strcmp.S: Likewise.
1787 * libc/sys/h8300hms/close.S: Likewise.
1788 * libc/sys/h8300hms/fstat.S: Likewise.
1789 * libc/sys/h8300hms/lseek.S: Likewise.
1790 * libc/sys/h8300hms/read.S: Likewise.
1791 * libc/sys/h8300hms/write.S: Likewise.
1792 * libc/sys/h8300hms/crt0.S: Likewise.
1793 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
1794 __H8300SX__ is defined.
1795 * libc/sys/h8300hms/setarch.h: Likewise.
1797 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
1799 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
1800 out change which set _GLOBAL_REENT to _global_impure_ptr until
1801 we understand why Cygwin breaks because of it.
1803 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
1805 * libc/sys/linux/machine/i386/syscall.h: For now, set up
1806 __syscall_return macro for systems with vsyscall.
1808 2004-06-11 Antony King <antony.king@st.com>
1810 * libc/include/sys/_types.h: Include <sys/lock.h> and change
1811 _flock_t to be of type _LOCK_RECURSIVE_T.
1812 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
1813 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
1814 (_global_impure_ptr): New declaration.
1815 (_GLOBAL_REENT): Change to be _global_impure_ptr.
1816 * libc/include/sys/stdio.h: Include <sys/lock.h> and
1818 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
1819 (_funlockfile)[!SINGLE_THREAD]: Ditto.
1820 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
1821 * libc/stdio/fclose.c: Remove casting of fp lock to
1823 * libc/stdio/findfp.c: Ditto.
1824 * libc/stdio/fopen.c: Ditto.
1825 * libc/stdio/freopen.c: Ditto.
1826 * libc/stdio/vfprintf.c: Ditto.
1827 * libc/stdio64/fopen64.c: Ditto.
1828 * libc/stdlib/envlock.c: Add default stubs that use generic
1830 * libc/stdlib/mlock.c: Ditto.
1832 Jeff Johnston <jjohnstn@redhat.com>
1833 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
1834 (_flock_t): Change to be a struct containing a single member
1835 named mutex which is of type __flock_mutex_t.
1837 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
1839 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
1840 from /usr/include/asm/signal.h instead of kernel sources. Also
1841 default max to 32 if not found in header file.
1842 * libc/sys/linux/Makefile.in: Regenerated.
1843 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
1844 systems where __syscall_return is not defined.
1845 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
1846 systems to use syscall() function instead of assembler interrupt.
1848 2004-06-09 Toralf Lund <toralf@procaptura.com>
1850 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
1851 files from libc/sys/arm to libc/machine/arm.
1852 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
1853 library build support for files moved from libc/sys/arm.
1854 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
1855 references to access and setjmp.
1856 * configure.host: Add checks for newlib_may_supply_syscalls to
1857 determine whether or not to use sys/arm directory and use
1858 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
1860 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
1862 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
1863 reset digit flags appropriately after we have discovered "0x".
1864 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
1866 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
1868 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
1870 (_VFPRINTF_R): ... to here so all I/O printf routines
1873 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
1875 * libc/search/hash_buf.c: Protect MAX and MIN macros from
1877 * libc/search/hash.c: Ditto.
1879 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1881 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
1882 (_WANT_IO_LONG_LONG): Ditto.
1883 (_WANT_IO_LONG_DOUBLE): Ditto.
1884 * configure.in: Add new configuration options
1885 --enable-newlib-io-long-long and --enable-newlib-io-long-double
1886 which tie to new defines in newlib.hin.
1887 * configure: Regenerated.
1888 * configure.host: Add checks for new configuration options. Also
1889 fix up check for --enable-newlib-io-pos-args so configuration
1890 option will override any default for a given platform.
1891 Remove defining compiler flags for the _WANT_IO* options.
1892 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
1893 instead of looking for old compiler flags.
1894 * libc/stdio/vfscanf.c: Ditto.
1895 * libc/stdio/vfieeefp.h: Ditto.
1896 * libc/machine/powerpc/vfprintf.c: Ditto.
1897 * libc/machine/powerpc/vfscanf.c: Ditto.
1899 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
1901 * testsuite/include/check.h: Add include of <stdio.h>.
1903 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
1905 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
1907 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1909 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
1912 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1914 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
1915 list for reentrant pointer. Call _vfiprintf_r.
1916 * libc/stdio/siprintf.c (_siprintf_r): New function.
1917 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
1918 pointer argument. Change all callers. Call _VFPRINTF_R.
1919 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
1922 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
1924 * libc/include/sys/param.h: Remove endian info and include
1925 <machine/endian.h> instead.
1926 * libc/include/machine/endian.h: New file.
1927 * libc/include/machine/param.h: Ditto.
1928 * libc/machine/arm/machine/endian.h: Ditto.
1929 * libc/machine/arm/machine/param.h: Ditto.
1930 * libc/sys/arm/sys/param.h: Removed.
1931 * libc/sys/sysvi386/sys/param.h: Ditto.
1932 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
1934 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1936 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
1937 multibyte functions return failure for %C, %S, %lc, and %ls
1940 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1942 * testsuite/include/check.h (CHECK): Add flush of stdout.
1944 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1946 * libc/include/stdio.h (_ungetc_r): New prototype.
1947 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
1948 (__submore): Add reentrant struct pointer argument.
1949 (ungetc): Change to call _ungetc_r.
1951 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1953 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
1954 function pointer argument.
1955 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
1956 to specify function pointer arguments.
1957 (__fwalk, __fwalk_reent): Ditto.
1959 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
1961 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
1964 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
1966 * configure.in: Define _MB_CAPABLE if mb supported.
1967 * configure: Regenerated.
1968 * configure.host: Remove manual setting of MB_CAPABLE compiler
1970 * newlib.hin: Add _MB_CAPABLE flag.
1971 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
1972 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
1973 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
1974 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
1975 * libc/ctype/jp2uc.c: Ditto.
1976 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
1977 * libc/locale/locale.c: Ditto
1978 * libc/machine/powerpc/vfscanf.c: Ditto
1979 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
1980 * libc/stdlib/mblen.c: Ditto
1981 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
1982 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
1983 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
1984 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
1985 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
1986 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
1987 * libc/sys/linux/intl/explodename.c: Ditto
1988 * libc/sys/linux/intl/finddomain.c: Ditto
1989 * libc/sys/linux/intl/l10nflist.c: Ditto
1990 * libc/sys/linux/intl/loadmsgcat.c: Ditto
1991 * libc/sys/linux/intl/localealias.c: Ditto
1993 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
1995 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
1996 (__svfscanf_r): In integer conversions, leave out leading zeroes
1997 which are not part of a base prefix.
1998 Keep track of width truncation to fit into buf, not counting left-out
1999 zeroes against width till the truncation has been compensated for.
2000 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
2002 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
2004 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
2006 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2008 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
2009 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
2010 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
2011 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
2012 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
2013 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
2014 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
2015 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
2016 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
2017 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
2018 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
2019 libc/stdio/getchar.c libc/stdio/getchar_u.c,
2020 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
2021 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
2022 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
2023 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
2024 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
2025 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
2026 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
2027 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
2028 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
2029 libc/stdio/siprintf.c libc/stdio/snprintf.c,
2030 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
2031 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
2032 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
2033 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
2034 libc/stdio/vprintf.c libc/stdio/vscanf.c,
2035 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
2036 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
2037 libc/stdio/wsetup.c: Perform minor formatting changes. Move
2038 copyright notices to top of file, ensure that <_ansi.h> is
2039 included, be consistent with open parentheses, use _DEFUN macro,
2040 include "local.h" where needed, and remove various compiler
2043 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
2045 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
2046 (__svfscanf_r): In integer conversions, leave out leading zeroes
2047 which are not part of a base prefix.
2048 Keep track of width truncation to fit into buf, not counting left-out
2049 zeroes against width till the truncation has been compensated for.
2051 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2053 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
2055 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
2057 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
2059 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
2061 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
2064 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2066 * libc/stdio/fclose.c (_fclose_r): New function.
2067 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
2068 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
2069 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
2070 * libc/include/stdio.h (_fclose_r): New prototype.
2071 * libc/stdio/fopen.c: Fix typo in comment.
2073 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
2075 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
2076 to handle _r reentrant functions.
2078 2004-04-08 Eric Christopher <echristo@redhat.com>
2080 * libc/include/machine/setjmp.h: Fix endif locations.
2082 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2084 * libc/time/strptime.c: Add standard includes to avoid
2085 warning messages at compilation time.
2087 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
2089 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
2092 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
2094 * libc/machine/h8300/Makefile.am: Reformat slightly.
2095 * libc/machine/h8300/Makefile.in: Regenerate.
2097 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
2099 * libc/stdio/findfp.c (__fp_lock_all): Add call to
2101 (__fp_unlock_all): Add call to __sfp_lock_release.
2103 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
2105 * libc/stdio/fclose.c (fclose): Protect file pointer list when
2107 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
2109 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
2110 _flockfile/_funlockfile.
2111 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
2113 Change __lock_acquire/__lock_release calls for __sfp_lock to
2114 __sfp_lock_acquire/__sfp_lock_release throughout.
2115 (std): Make sure that file lock is only initialized once.
2116 (__sfp): Move _file initialization. Initialize file lock.
2117 (__sfp_lock_acquire): New function.
2118 (__sfp_lock_release): Ditto.
2119 (__fp_lock_all): Remove __sfp_lock_acquire call.
2120 (__fp_unlock_all): Remove __sfp_lock_release call.
2121 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
2122 Add calls to _flockfile/_funlockfile. Remove
2123 __lock_init_recursive call.
2124 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
2125 * libc/stdio/fwalk.c (__fwalk): New static function.
2126 (_fwalk): Protect file pointer list. Use __fwalk to walk through
2128 * libc/stdio/local.h: Add defines for
2129 __sfp_lock_acquire/__sfp_lock_release when
2130 single threaded. Add function prototypes otherwise.
2131 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
2132 _flockfile/_funlockfile.
2133 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
2134 Add calls to _flockfile/_funlockfile. Remove
2135 __lock_init_recursive call.
2136 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
2139 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
2141 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
2142 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
2143 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
2144 to be __LOCK_INIT_RECURSIVE.
2146 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
2148 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
2149 _exit.c with _exit.S.
2150 * libc/sys/h8300hms/Makefile.in: Regenerate.
2151 * libc/sys/h8300hms/_exit.c: Remove.
2152 * libc/sys/h8300hms/_exit.S: New.
2154 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
2156 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
2157 Change __sfp_lock to static global.
2158 (__fp_lock): New static function.
2159 (__fp_unlock): Ditto.
2160 (__fp_lock_all): New function.
2161 (__fp_unlock_all): Ditto.
2163 2004-02-10 Christopher Faylor <cgf@redhat.com>
2165 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
2166 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
2167 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
2168 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
2170 2004-02-09 Christopher Faylor <cgf@redhat.com>
2172 * libc/include/time.h (TIMER_RELTIME): New define.
2174 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
2176 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
2177 * libc/stdlib/Makefile.in: Regenerated.
2179 2004-02-08 Christopher Faylor <cgf@redhat.com>
2181 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
2182 * libc/include/sys/reent.h (__getreent): Protect against possibly being
2184 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
2186 2004-02-05 Paul Brook <paul@codesourcery.com>
2188 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
2189 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
2191 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
2193 * NEWS: Update with 1.12.0 info.
2195 * acinclude.m4: Change version number to 1.12.0.
2196 * aclocal.m4: Regenerated.
2198 * doc/aclocal.m4: Ditto.
2199 * doc/configure: Ditto.
2200 * libc/*/aclocal.m4: Ditto.
2201 * libc/*/configure: Ditto.
2202 * libc/libc.texinfo: Ditto.
2203 * libm/*/aclocal.m4: Ditto.
2204 * libm/*/configure: Ditto.
2205 * libm/libm.texinfo: Ditto.
2206 * libc/sys/linux/shared.ld: Add VERS_1.12.
2208 2004-02-02 Joel Sherrill <joel@oarcorp.com>
2210 * configure.host: Add support for tic4x.
2211 * libc/include/machine/ieeefp.h: Ditto.
2212 * libc/include/machine/setjmp.h: Ditto.
2213 * libc/machine/tic4x/Makefile.am: New file.
2214 * libc/machine/tic4x/configure.in: Ditto.
2215 * libc/machine/tic4x/setjmp.S: Ditto.
2216 * libc/machine/tic4x/aclocal.m4: Generated.
2217 * libc/machine/tic4x/configure: Ditto.
2218 * libc/machine/tic4x/Makefile.in: Ditto.
2220 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
2222 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
2223 file chain on the passed in reentrancy struct if it
2226 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2227 Jeff Johnston <jjohnstn@redhat.com>
2229 * libc/iconv/iconv.tex: Updated with more information.
2231 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
2232 Jeff Johnston <jjohnstn@redhat.com>
2234 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
2235 struct for std streams and traverse the global reeentrancy
2236 struct for all other streams.
2238 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
2240 * libc/stdlib/atexit.c: Protect global atexit list with a
2241 lock when newlib is multithreaded.
2243 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2245 * configure.in: Add support to generate iconv converter flags
2247 * newlib.hin: Add iconv converter flags.
2248 * configure: Regenerated.
2249 * libc/Makefile.in: Ditto.
2250 * libc/configure.in: Moved iconv converter parsing logic to
2251 top level newlib configure.in.
2252 * libc/configure: Regenerated.
2253 * libc/iconv/Makefile.in: Ditto.
2254 * libc/iconv/README.TODO
2255 * libc/iconv/charset.aliases: Remove wrong BE aliases for
2257 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
2258 newlib.h can be used.
2259 * libc/iconv/ces/Makefile.am: Ditto.
2260 * libc/iconv/lib/Makefile.am: Ditto.
2261 * libc/iconv/ccs/Makefile.in: Regenerated.
2262 * libc/iconv/ces/Makefile.in: Ditto.
2263 * libc/iconv/lib/Makefile.in: Ditto.
2264 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
2265 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
2266 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
2267 defined in newlib.h.
2268 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2269 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2270 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2271 * libc/iconv/ccs/cp775.c: Ditto.
2272 * libc/iconv/ccs/cp850.c: Ditto.
2273 * libc/iconv/ccs/cp852.c: Ditto.
2274 * libc/iconv/ccs/cp855.c: Ditto.
2275 * libc/iconv/ccs/cp866.c: Ditto.
2276 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2277 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2278 * libc/iconv/ccs/iso_8859_15.c: Ditto.
2279 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2280 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2281 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2282 * libc/iconv/ccs/jis_x0201.c: Ditto.
2283 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2284 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2285 * libc/iconv/ccs/koi8_r.c: Ditto.
2286 * libc/iconv/ccs/koi8_u.c: Ditto.
2287 * libc/iconv/ccs/ksx1001.c: Ditto.
2288 * libc/iconv/ccs/shift_jis.c: Ditto.
2289 * libc/iconv/ccs/us_ascii.c: Ditto.
2290 * libc/iconv/ccs/binary/big5.cct: Newly generated.
2291 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2292 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2293 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2294 * libc/iconv/ccs/binary/cp775.cct: Ditto.
2295 * libc/iconv/ccs/binary/cp850.cct: Ditto.
2296 * libc/iconv/ccs/binary/cp852.cct: Ditto.
2297 * libc/iconv/ccs/binary/cp855.cct: Ditto.
2298 * libc/iconv/ccs/binary/cp866.cct: Ditto.
2299 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
2300 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2301 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2302 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2303 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2304 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2305 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2306 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2307 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2308 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2309 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2310 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2311 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2312 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2313 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
2314 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
2315 * libc/iconv/ces/euc-kr.c: Ditto.
2316 * libc/iconv/ces/euc-tw.c: Ditto.
2317 * libc/iconv/ces/gb2312.c: Ditto.
2318 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
2319 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2320 * libc/iconv/ces/ucs-2-internal.c: Ditto.
2321 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2322 * libc/iconv/ces/utf-16.c: Ditto.
2323 * libc/iconv/ces/utf-8.c: Ditto.
2324 * libc/iconv/lib/aliases.c: Ditto.
2325 * libc/iconv/lib/biccs.c: Ditto.
2326 * libc/iconv/lib/bices.c: Ditto.
2327 * libc/iconv/lib/ccs.c: Ditto.
2328 * libc/iconv/lib/ces.c: Ditto.
2329 * libc/iconv/lib/ces_euc.c: Ditto.
2330 * libc/iconv/lib/ces_iso2022.c: Ditto.
2331 * libc/iconv/lib/ces_table.c: Ditto.
2332 * libc/iconv/lib/converter.c: Ditto.
2333 * libc/iconv/lib/deps.h: Ditto.
2334 * libc/iconv/lib/endian.h: Ditto.
2335 * libc/iconv/lib/iconv.c: Ditto.
2336 * libc/iconv/lib/loaddata.c: Ditto.
2337 * libc/iconv/lib/local.h: Include newlib.h.
2338 * libc/argz/Makefile.in: Regenerated.
2339 * libc/ctype/Makefile.in: Ditto.
2340 * libc/errno/Makefile.in: Ditto.
2341 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2342 * libc/locale/Makefile.in: Ditto.
2343 * libc/misc/Makefile.in: Ditto.
2344 * libc/posix/Makefile.in: Ditto.
2345 * libc/reent/Makefile.in: Ditto.
2346 * libc/search/Makefile.in: Ditto.
2347 * libc/signal/Makefile.in: Ditto.
2348 * libc/stdio/Makefile.in: Ditto.
2349 * libc/stdio64/Makefile.in: Ditto.
2350 * libc/stdlib/Makefile.in: Ditto.
2351 * libc/string/Makefile.in: Ditto.
2352 * libc/syscalls/Makefile.in: Ditto.
2353 * libc/time/Makefile.in: Ditto.
2354 * libc/unix/Makefile.in: Ditto.
2355 * testsuite/newlib.iconv/iconv.exp: New file.
2356 * testsuite/newlib.iconv/iconvjp.c: Ditto.
2357 * testsuite/newlib.iconv/iconvnm.c: Ditto.
2358 * testsuite/newlib.iconv/iconvru.c: Ditto.
2360 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2362 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
2363 (--enable-newlib-builtin-converters): Ditto.
2364 * configure.in: Add code to set _ICONV_ENABLED flag.
2365 Set _MB_LEN_MAX to 1 if not mb enabled.
2366 * configure: Regenerated.
2367 * aclocal.m4: Ditto.
2368 * Makefile.in: Ditto.
2369 * newlib.hin: Add _ICONV_ENABLED flag.
2370 * libc/Makefile.am: Add support for iconv.
2371 * libc/configure.in: Ditto.
2372 * libc/Makefile.in: Regenerated.
2373 * libc/aclocal.m4: Ditto.
2374 * libc/configure: Ditto.
2375 * libc/libc.texinfo: Add iconv documentation.
2376 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
2377 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
2378 libc/iconv/README.TODO, libc/iconv/charset.aliases,
2379 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
2380 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
2381 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
2382 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
2383 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
2384 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
2385 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
2386 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
2387 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
2388 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
2389 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
2390 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
2391 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
2392 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
2393 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
2394 libc/iconv/ccs/binary/big5.cct,
2395 libc/iconv/ccs/binary/cns11643_plane1.cct,
2396 libc/iconv/ccs/binary/cns11643_plane14.cct,
2397 libc/iconv/ccs/binary/cns11643_plane2.cct,
2398 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
2399 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
2400 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
2401 libc/iconv/ccs/binary/iso_8859_1.cct,
2402 libc/iconv/ccs/binary/iso_8859_15.cct,
2403 libc/iconv/ccs/binary/iso_8859_2.cct,
2404 libc/iconv/ccs/binary/iso_8859_4.cct,
2405 libc/iconv/ccs/binary/iso_8859_5.cct,
2406 libc/iconv/ccs/binary/jis_x0201.cct,
2407 libc/iconv/ccs/binary/jis_x0208_1983.cct,
2408 libc/iconv/ccs/binary/jis_x0212_1990.cct,
2409 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
2410 libc/iconv/ccs/binary/ksx1001.cct,
2411 libc/iconv/ccs/binary/shift_jis.cct,
2412 libc/iconv/ccs/binary/us_ascii.cct,
2413 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
2414 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
2415 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
2416 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
2417 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
2418 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
2419 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
2420 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
2421 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
2422 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
2423 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
2424 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
2425 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
2426 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
2427 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
2428 * libc/sys/linux/include/iconv.h: Ditto.
2429 * libc/include/sys/_types.h (_iconv_t): Added.
2430 * doc/aclocal.m4: Regenerated.
2431 * doc/configure: Ditto.
2432 * doc/Makefile.in: Ditto.
2433 * iconvdata/Makefile.in: Ditto.
2434 * iconvdata/aclocal.m4: Ditto.
2435 * iconvdata/configure: Ditto.
2436 * libc/*aclocal.m4: Ditto.
2437 * libc/*Makefile.in: Ditto.
2438 * libc/*configure: Ditto.
2439 * libm/*aclocal.m4: Ditto.
2440 * libm/*Makefile.in: Ditto.
2441 * libm/*configure: Ditto.
2443 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
2445 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
2446 by a lock when newlib is multithreaded.
2448 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
2450 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
2451 pointer to match C99 spec.
2452 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
2453 dst is NULL. Also fix to not alter src pointer when dst is NULL
2454 and call _mbrtowc_r instead of _mbtowc_r.
2455 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
2458 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
2460 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
2461 * libc/stdio/freopen.c (freopen): Ditto.
2463 2004-01-16 Christopher Faylor <cgf@redhat.com>
2465 * libc/stdio/vfprintf.c: Add sys/lock.h include.
2467 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
2469 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
2470 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
2471 Add calls to __lock_init_recursive and __lock_close_recursive
2474 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
2476 * libc/stdio/fclose.c: Include sys/lock.h.
2477 (fclose): Destroy lock when file is closed.
2478 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
2480 * libc/stdio/freopen.c: Include sys/lock.h.
2481 (_freopen_r): Destroy lock when file is closed.
2482 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
2485 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2487 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
2490 2004-01-08 Joel Sherrill <joel@oarcorp.com>
2492 * libc/sys/rtems/sys/queue.h: New file.
2493 * libc/include/sys/signal.h: Reflect renumbering of signals to
2494 fit into 32-bit mask.
2495 * libc/include/sys/unistd.h: Add fdatasync() prototype.
2496 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
2497 required. In particular, add the reentrant variants of libc calls.
2498 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
2500 2004-01-06 Mark Mitchell <mark@codesourcery.com>
2502 * libc/sys/arm/syscalls.c (unistd.h): Include it.
2503 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
2504 Similarly for stdout and stderr.
2506 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
2508 * libc/libc.texinfo: Correct escape character for @ sign
2509 so file will be processed by make info. Update copyright years.
2510 * libm/libm.texinfo: Ditto.
2512 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2514 * libc/include/sys/stat.h: No longer include stat-dj.h.
2515 * libc/include/sys/stat-dj.h: Removed.
2517 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
2519 * libc/include/wchar.h: Include <sys/reent.h>.
2521 2003-12-05 Christopher Faylor <cgf@redhat.com>
2523 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
2524 when defining _mbrtowc.
2525 * libc/stdlib/mbsinit.c: Ditto.
2526 * libc/stdlib/mbsrtowcs.c: Ditto.
2527 * libc/stdlib/wcrtomb.c: Ditto.
2528 * libc/stdlib/wcsrtombs.c: Ditto.
2529 * libc/stdlib/wctob.c: Ditto.
2531 2003-12-05 Christopher Faylor <cgf@redhat.com>
2533 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
2534 errors when defining _mbrtowc.
2535 * libc/stdlib/mbsinit.c: Ditto.
2536 * libc/stdlib/mbsrtowcs.c: Ditto.
2538 2003-12-05 Christopher Faylor <cgf@redhat.com>
2540 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
2541 errors when defining _mbrtowc.
2543 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2545 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
2546 of mb routines for %lc and %ls support.
2547 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
2548 %ls, and %S support. Remove CYGNUS_NEC markers and
2551 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
2553 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
2554 _wcrtomb_r, and _wcsrtombs_r.
2556 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
2558 * libc/include/sys/fcntl.h: Don't define struct flock when on
2559 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
2561 2003-11-28 Christopher Faylor <cgf@redhat.com>
2563 * libc/include/sys/signal.h: Use system specific signal file when
2566 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2568 * libc/include/stdlib.h (_atoi_r): New prototype.
2569 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
2571 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
2573 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
2574 * libc/stdlib/atol.c (_atol_r): New reentrant function.
2575 * libc/stdlib/atoll.c (_atoll_r): Ditto.
2577 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2578 Jeff Johnston <jjohnstn@redhat.com>
2580 * libc/include/stdlib.h (lldiv_t): New type.
2581 (atoll, llabs, lldiv): New prototypes.
2582 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
2583 * libc/stdlib/stdlib.tex: Ditto.
2584 * libc/stdlib/Makefile.in: Regenerated.
2585 * libc/stdlib/atoll.c: New file.
2586 * libc/stdlib/llabs.c: Ditto.
2587 * libc/stdlib/lldiv.c: Ditto.
2589 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
2591 * libc/include/fcntl.h: Declare syscalls only when building newlib.
2592 * libc/include/unistd.h: Ditto.
2593 * libc/include/stat.h: Ditto. Also declare struct stat64.
2595 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2597 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
2598 specifier to use ch instead of *fmt.
2600 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2602 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
2603 code within checks for MB_CAPABLE. For non-mb-capable platforms,
2604 use simple byte logic.
2606 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
2608 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
2609 _strtold routine for processing floats and doubles since it
2610 is not as fast as _strtod_r.
2612 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
2614 * libc/machine/h8300/defines.h : Correct pointer register defines
2616 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
2618 * libc/machine/h8300/reg_memcpy.S : Likewise.
2619 * libc/machine/h8300/reg_memset.S : Likewise.
2620 * libc/machine/h8300/strcmp.S : Likewise.
2622 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
2624 * configure.host: Enable positional arguments for printf
2626 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
2627 pointer reference for quad_ptr_t.
2629 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
2631 * libc/stdio/scanf.c: Don't include local.h more than once.
2633 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
2635 * libc/include/sys/fcntl.h: Declare _open64.
2636 * libc/include/sys/stat.h: Declare _fstat64.
2637 * libc/include/sys/unistd.h: Declare _lseek64.
2639 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
2641 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
2642 (setprogname): Ditto.
2644 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
2646 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
2647 to use (Ebits + 1) which accounts for the sign-bit.
2649 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2651 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
2653 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
2654 and set up default flags to pass to aclocal.
2655 * iconvdata/Makefile.in: Regenerated.
2656 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
2657 and getpwuid routines.
2658 * libc/sys/linux/Makefile.in: Regenerated.
2659 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
2660 applications to link with newlib's shared libc library.
2661 * libc/sys/linux/getpwnam.c: Ditto.
2662 * libc/sys/linux/getpwuid.c: Ditto.
2663 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
2664 that were formerly supplied by /usr/include/linux/types.h with
2666 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
2667 test _ELIX_LEVEL macro.
2669 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
2671 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
2672 referring to _NO_LONGLONG macro.
2674 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
2676 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
2677 in LOG() macro so this will compile on gcc 3.4 and up.
2678 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
2679 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
2680 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
2681 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
2682 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
2683 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
2684 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
2685 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
2686 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
2687 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
2688 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
2689 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
2690 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
2691 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
2692 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
2693 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
2694 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
2695 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
2696 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
2697 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
2698 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
2699 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
2700 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
2701 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
2702 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
2703 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
2704 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
2705 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
2706 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
2707 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
2708 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
2709 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
2710 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
2711 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
2712 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
2713 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
2715 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2716 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2718 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
2719 %ls, %S, %lc, and %C format specifiers.
2721 * libc/stdio/sprintf.c: Add documentation regarding new
2722 format specifiers added in vfprintf.c.
2724 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
2726 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
2727 to make code work as specified in standard.
2729 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
2731 * configure.in: Use absolute newlib basedir when forming
2732 CC_FOR_NEWLIB include options.
2733 * configure: Regenerated.
2735 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2737 * libc/string/wcsnlen.c: New file.
2738 * libc/include/wchar.h: Add wcsnlen prototype.
2739 * libc/string/Makefile.am: Add wcsnlen support.
2740 * libc/string/Makefile.in: Regenerated.
2741 * libc/string/wcstrings.tex: Add wcsnlen documentation.
2743 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
2745 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
2747 2003-10-20 Bob Wilson <bob.wilson@acm.org>
2749 * libc/locale/locale.c: Use double quotes in code.
2750 * libc/locale/locale.tex: Likewise.
2751 * libc/libc.texinfo: Hyphenate "floating-point".
2752 * libc/machine/necv70/necv70.tex: Likewise.
2753 * libc/stdio/sprintf.c: Likewise.
2754 * libc/stdio/sscanf.c: Likewise.
2755 * libc/stdlib/atof.c: Likewise.
2756 * libc/stdlib/ldtoa.c: Fix comment typo.
2757 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
2758 * libc/stdlib/ldiv.c: Likewise.
2759 * libm/common/s_expm1.c: Likewise.
2760 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
2761 * libm/common/s_infinity: Hyphenate "double- and single-precision".
2762 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
2763 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
2764 and "floating-point".
2765 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
2766 * libm/math/e_pow.c: Fix comment typo.
2767 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
2768 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
2769 * libm/math/s_atan.c: Likewise.
2770 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
2771 * libm/math/s_isnan.c: Hyphenate "single-precision" and
2772 "floating-point". Use "nonzero".
2773 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2774 * libm/math/w_acos.c: Likewise.
2775 * libm/math/w_acosh.c: Likewise.
2776 * libm/math/w_asin.c: Likewise.
2777 * libm/math/w_atan2.c: Likewise.
2778 * libm/math/w_atanh.c: Likewise.
2779 * libm/math/w_cosh.c: Likewise.
2780 * libm/math/w_exp.c: Likewise.
2781 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
2782 version of 2^x in the description.
2783 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
2784 * libm/math/w_gamma.c: Likewise.
2785 * libm/math/w_hypot.c: Likewise.
2786 * libm/math/w_j0.c: Likewise.
2787 * libm/math/w_sinh.c: Likewise.
2788 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
2789 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
2791 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
2792 * libm/mathfp/e_atanh.c: Likewise.
2793 * libm/mathfp/e_hypot.c: Likewise.
2794 * libm/mathfp/er_lgamma.c: Likewise.
2795 * libm/mathfp/s_acos.c: Likewise.
2796 * libm/mathfp/s_asine.c: Likewise.
2797 * libm/mathfp/s_asinh.c: Likewise.
2798 * libm/mathfp/s_atan.c: Likewise.
2799 * libm/mathfp/s_atan2.c: Likewise.
2800 * libm/mathfp/s_atangent.c: Likewise.
2801 * libm/mathfp/s_cosh.c: Likewise.
2802 * libm/mathfp/s_exp.c: Likewise.
2803 * libm/mathfp/s_fmod.c: Likewise.
2804 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
2805 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
2806 "floating-point". Use "nonzero".
2807 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
2808 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
2809 * libm/mathfp/s_sineh.c: Likewise.
2810 * libm/mathfp/w_jn.c: Likewise.
2812 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
2814 * Makefile.am: Add $(MAKE) comments to multido and multiclean
2815 lines, to enable parallel make.
2816 * Makefile.in: Rebuilt.
2818 2003-10-14 Christopher Faylor <cgf@redhat.com>
2820 * libc/time/clock.c: Clarify documentation of return value when no
2821 measurement is available.
2823 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
2825 * libm/configure.in: Check libm_machine_dir, not machine_dir.
2826 * libm/configure: Regenerate.
2827 * libm/Makefile.in: Ditto.
2829 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
2831 * libc/machine/sh/strncpy.S: New file.
2832 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
2833 * libc/machine/sh/Makefile.in: Regenerate.
2835 2003-09-11 James E Wilson <wilson@specifixinc.com>
2837 * MAINTAINERS: Update my e-mail address.
2839 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
2841 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
2843 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
2845 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
2847 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
2848 _simdldcheck(). Also add unsigned cast for index variable in
2849 for loop using sizeof operators.
2850 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
2851 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
2852 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
2853 plus fix shift calculation for determining if there is a
2856 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
2858 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
2859 setgroupent for Cygwin.
2861 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
2863 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
2864 is different for _REENT_SMALL than when using regular reent
2867 2003-09-05 Ben Elliston <bje@wasabisystems.com>
2869 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
2870 modern versions of GCC issue a warning.
2872 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
2873 after continuation characters that induces a warning from modern
2876 2003-09-04 Ben Elliston <bje@wasabisystems.com>
2878 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
2879 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
2881 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
2883 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
2884 * libc/stdlib/exit.c : Ditto.
2885 * libc/stdlib/on_exit.c: Ditto.
2887 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
2889 * libc/include/reent.h: Define stat64 as __stat64 when
2890 compiling newlib for Cygwin.
2892 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2894 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
2895 __stat64 when compiling newlib.
2897 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
2899 * libc/include/stdio.h: Allow the io64 function prototypes for
2900 Cygwin when compiling newlib.
2901 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
2902 to expose the Cygwin struct __stat64 type.
2903 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
2905 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
2907 2003-08-23 Christopher Faylor <cgf@redhat.com>
2909 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
2910 definition to fseeko64.
2912 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
2914 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
2915 * libc/stdio: Globally remove/replace all references to fp->_data.
2916 Replace with _REENT or _GLOBAL_REENT where appropriate.
2917 * libc/stdio/asprintf.c: Ditto.
2918 * libc/stdio/fclose.c: Ditto.
2919 * libc/stdio/fvwrite.c: Ditto.
2920 * libc/stdio/makebuf.c: Ditto.
2921 * libc/stdio/refill.c: Ditto.
2922 * libc/stdio/local.h: Ditto.
2923 * libc/stdio/setvbuf.c: Ditto.
2924 * libc/stdio/sscanf.c: Ditto.
2925 * libc/stdio/stdio.c: Ditto.
2926 * libc/stdio/ungetc.c: Ditto.
2927 * libc/stdio/vfscanf.c: Ditto.
2928 * libc/stdio/vsscanf.c: Ditto.
2929 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
2930 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
2931 * libc/stdio/vsnprintf.c: Ditto.
2932 * libc/stdio/vsprintf.c: Ditto.
2933 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
2934 instead of _REENT to walk file list.
2935 * libc/stdio/fflush.c: Ditto.
2936 * libc/stdio/fgetpos.c: Add reentrant version and have regular
2937 version call reentrant version with _REENT argument.
2938 * libc/stdio/fsetpos.c: Ditto.
2939 * libc/stdio/fseek.c: Ditto.
2940 * libc/stdio/fseeko.c: Ditto.
2941 * libc/stdio/ftell.c: Ditto.
2942 * libc/stdio/ftello.c: Ditto.
2943 * libc/stdio/freopen.c: Ditto.
2944 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
2945 new files to chain. Also use _GLOBAL_REENT pointer for
2947 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
2948 * libc/stdio/siprintf.c: Ditto.
2949 * libc/stdio/iprintf.c: Ditto.
2950 * libc/stdio/fprintf.c: Ditto.
2951 * libc/stdio/printf.c: Ditto.
2952 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
2953 * libc/stdio/sprintf.c: Ditto.
2954 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
2955 * libc/stdio/rewind.c: Call _fseek_r directly.
2956 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
2957 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
2959 (get_arg): Add extra struct _reent pointer argument.
2960 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
2962 * libc/stdio64/fopen64.c: Ditto.
2963 * libc/stdio64/freopen64.c: Ditto.
2964 * libc/stdio64/fsetpos64.c: Ditto.
2965 * libc/stdio64/ftello64.c: Ditto.
2966 * libc/stdio64/local64.h: Ditto.
2967 * libc/stdio64/stdio64.c: Ditto.
2968 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
2969 _fstat64_r for the meantime.
2971 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
2973 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
2976 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
2978 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
2981 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
2983 * libc/include/math.h: Add prototypes for __signbitf and
2986 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
2988 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
2989 correct type of conversion when dealing with EUCJP or SJIS.
2990 * libc/ctype/iswblank.c: Ditto.
2991 * libc/ctype/iswcntrl.c: Ditto.
2992 * libc/ctype/iswprint.c: Ditto.
2993 * libc/ctype/iswpunct.c: Ditto.
2994 * libc/ctype/iswspace.c: Ditto.
2995 * libc/ctype/towlower.c: Ditto.
2996 * libc/ctype/towupper.c: Ditto.
2998 2003-07-31 Nick Clifton <nickc@redhat.com>
3000 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
3001 before calling main, in case it saves its argument registers.
3002 Remove reference to deleted v850ea port.
3003 * configure.host: Remove reference to deleted v850ea port.
3004 Do not use -mv850 when building for v850e target. This
3005 prevents the ctbp system register from being initialised.
3007 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
3009 * libc/stdio/vfprintf.c: Set output size to 1 when
3010 we have %f format with precision 0 and # flag not specified.
3012 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
3014 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
3017 2003-07-25 Christopher Faylor <cgf@redhat.com>
3019 * libc/stdio64/fdopen64.c: Include sys/lock.h.
3021 2003-07-25 Christopher Faylor <cgf@redhat.com>
3023 * configure.host: Find cygwin include directory, when appropriate.
3025 2003-07-24 Christopher Faylor <cgf@redhat.com>
3027 * libc/stdio64/fdopen64.c: New file.
3028 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
3029 * libc/stdio64/Makefile.in: Regenerate.
3030 * libc/include/stdio.h (fdopen64): Define.
3031 * libc/include/stdio.h (_fdopen64_r): Ditto.
3033 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
3035 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
3036 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
3037 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
3038 restore callee-saved FP registers.
3040 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
3042 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
3044 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
3046 * libc/sys/sh/Makefile.in: Regenerate.
3047 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
3048 * libc/sys/sh/ftruncate.c: New file.
3049 * libc/sys/sh/truncate.c: Likewise.
3051 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
3053 * libc/include/math.h (nan, nanf): Update prototype to C99.
3054 * libm/common/s_nan.c (nan): Likewise.
3055 * libm/common/s_nanf.c (nanf, nan): Likewise.
3056 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
3058 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
3060 * libc/include/stdbool.h: Removed as this is defined by gcc.
3062 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
3064 * libc/include/stdbool.h: New header file defined by C99.
3066 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3068 * libc/include/sys/types.h (int8_t): Make signed.
3070 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
3072 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
3074 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
3076 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
3077 on if we actually created the shared memory file exclusively.
3079 2003-06-27 Joe Vornehm <joev@mitre.org>
3081 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
3082 comparisons to account for unsigned internal value w.
3084 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
3086 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
3087 wrbuf for a non-creating open.
3089 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
3091 * libc/machine/h8300/setarch.h: New.
3092 * libc/machine/h8300/memcpy.S: Use it.
3093 * libc/machine/h8300/memset.S: Likewise.
3094 * libc/machine/h8300/reg_memcpy.S: Likewise.
3095 * libc/machine/h8300/reg_memset.S: Likewise.
3096 * libc/machine/h8300/setjmp.S: Likewise.
3097 * libc/machine/h8300/strcmp.S: Likewise.
3099 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
3101 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
3104 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3106 * configure.host (iq2000): Add tabs.
3108 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
3110 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
3111 to handle latest on_exit change.
3112 * libc/sys/linux/Makefile.am: Remove special compilation
3113 for malloc.c and mcheck.c.
3114 * libc/sys/linux/Makefile.in: Regenerated.
3115 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
3116 after including <features.h>.
3117 * libc/sys/linux/mcheck.c: Ditto.
3118 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
3120 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
3121 add -DNOT_IN_libc to C flags.
3122 * libc/sys/linux/intl/Makefile.in: Regenerated.
3123 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
3124 * libc/sys/linux/linuxthreads/semaphore.h: Include
3125 <bits/pthreadtypes.h>.
3126 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
3127 including <features.h>.
3128 * libc/sys/linux/sys/lock.h: Ditto.
3130 2003-06-11 Nick Clifton <nickc@redhat.com>
3132 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
3135 2003-06-10 Stan Cox <scox@redhat.com>
3136 Anthony Green <green@redhat.com>
3138 * configure.host: Add iq2000 support.
3139 * newlib/libc/include/machine/ieeefp.h: Ditto.
3140 * newlib/libc/include/machine/setjmp.h: Ditto.
3141 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
3142 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
3143 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
3144 libc/machine/iq2000/Makefile.in: New files.
3146 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
3148 * libc/sys/h8300hms/setarch.h: New file.
3149 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
3150 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
3151 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
3152 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
3154 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
3156 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
3158 * libc/argz/argz_add_sep.c: Ditto.
3159 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
3160 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
3161 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
3162 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
3163 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
3164 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
3165 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
3166 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
3167 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
3168 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
3169 * libc/posix/execl.c libc/posix/execle.c: Ditto.
3170 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
3171 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
3172 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
3173 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
3174 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
3175 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
3176 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
3177 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
3178 * libc/search/twalk.c libc/signal/signal.c: Ditto.
3180 2003-06-05 Nick Clifton <nickc@redhat.com>
3182 * libc/include/sys/reent.h (struct _on_exit_args): New
3183 structure containing fields used by the on_exit() function.
3184 (struct _atexit): Include struct _on_exit_args. For
3185 _REENT_SMALL do his via a pointer that is initialised when
3187 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
3188 structure, if one has been allocated.
3189 * libc/stdlib/atexit.c (atexit): Update indirection to
3191 * libc/stdlib/on_exit.c (on_exit): Indirect via the
3192 _on_exit_args structure. For _REENT_SMALL, allocate a
3193 structure if one does not exist.
3194 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
3197 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
3199 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
3200 * libc/sys/linux/net/Makefile.in: Regenerated.
3202 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
3204 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
3205 * libc/reent/fcntlr.c: Ditto.
3206 * libc/reent/fstat64r.c: Ditto.
3207 * libc/reent/linkr.c: Ditto.
3208 * libc/reent/lseek64r.c: Ditto.
3209 * libc/reent/lseekr.c: Ditto.
3210 * libc/reent/openr.c: Ditto.
3211 * libc/reent/readr.c: Ditto.
3212 * libc/reent/reent.c: Ditto.
3213 * libc/reent/sbrkr.c: Ditto.
3214 * libc/reent/signalr.c: Ditto.
3215 * libc/reent/signgam.c: Ditto.
3216 * libc/reent/statr.c: Ditto.
3217 * libc/reent/timer.c: Ditto.
3218 * libc/reent/unlinkr.c: Ditto.
3219 * libc/reent/writer.c: Ditto.
3220 * libc/syscalls/sysclose.c: Ditto.
3221 * libc/syscalls/sysexecve.c: Ditto.
3222 * libc/syscalls/sysfcntl.c: Ditto.
3223 * libc/syscalls/sysfork.c: Ditto.
3224 * libc/syscalls/sysfstat.c: Ditto.
3225 * libc/syscalls/sysgetpid.c: Ditto.
3226 * libc/syscalls/sysgettod.c: Ditto.
3227 * libc/syscalls/syskill.c: Ditto.
3228 * libc/syscalls/syslink.c: Ditto.
3229 * libc/syscalls/syslseek.c: Ditto.
3230 * libc/syscalls/sysopen.c: Ditto.
3231 * libc/syscalls/sysread.c: Ditto.
3232 * libc/syscalls/syssbrk.c: Ditto.
3233 * libc/syscalls/sysstat.c: Ditto.
3234 * libc/syscalls/systimes.c: Ditto.
3235 * libc/syscalls/sysunlink.c: Ditto.
3236 * libc/syscalls/syswait.c: Ditto.
3237 * libc/syscalls/syswrite.c: Ditto.
3239 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
3241 * libc/time/tzset_r.c: Change local variables that are
3242 set via sscanf using the %h format specifier to be unsigned short
3245 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
3247 * configure.host: Allow i[34567]86 variant.
3248 * configure.in: Likewise.
3249 * README: Likewise to the docs.
3250 * configure: Regenerated.
3251 * Makefile.in: Ditto.
3253 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
3254 Tom Fitzsimmons <fitzsim@redhat.com>
3256 * configure.in: Add iconvdata support for x86 linux.
3257 * configure: Regenerated.
3258 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
3259 library, iconv, and linuxthreads support.
3260 * libc/sys/linux/configure.in: Ditto.
3261 * libc/sys/linux/Makefile.in: Regenerated.
3262 * libc/sys/linux/configure: Ditto.
3263 * iconvdata/EUC-JP.irreversible: New file.
3264 * iconvdata/Makefile.am: Ditto.
3265 * iconvdata/Makefile.in: Ditto.
3266 * iconvdata/SJIS.irreversible: Ditto.
3267 * iconvdata/aclocal.m4: Ditto.
3268 * iconvdata/configure: Ditto.
3269 * iconvdata/configure.in: Ditto.
3270 * iconvdata/dummy.c: Ditto.
3271 * iconvdata/euc-jp.c: Ditto.
3272 * iconvdata/gconv-modules: Ditto.
3273 * iconvdata/jis0201.c: Ditto.
3274 * iconvdata/jis0201.h: Ditto.
3275 * iconvdata/jis0208.c: Ditto.
3276 * iconvdata/jis0208.h: Ditto.
3277 * iconvdata/jis0212.c: Ditto.
3278 * iconvdata/jis0212.h: Ditto.
3279 * iconvdata/sjis.c: Ditto.
3280 * libc/include/errno.h: Protect definition of error_t.
3281 * libc/sys/linux/gethostid.c: New file.
3282 * libc/sys/linux/sethostid.c: Ditto.
3283 * libc/sys/linux/dl/Makefile.am: Ditto.
3284 * libc/sys/linux/dl/Makefile.in: Ditto.
3285 * libc/sys/linux/dl/abi-tag.h: Ditto.
3286 * libc/sys/linux/dl/atomicity.h: Ditto.
3287 * libc/sys/linux/dl/dl-addr.c: Ditto.
3288 * libc/sys/linux/dl/dl-cache.c: Ditto.
3289 * libc/sys/linux/dl/dl-cache.h: Ditto.
3290 * libc/sys/linux/dl/dl-close.c: Ditto.
3291 * libc/sys/linux/dl/dl-debug.c: Ditto.
3292 * libc/sys/linux/dl/dl-deps.c: Ditto.
3293 * libc/sys/linux/dl/dl-dst.h: Ditto.
3294 * libc/sys/linux/dl/dl-error.c: Ditto.
3295 * libc/sys/linux/dl/dl-fini.c: Ditto.
3296 * libc/sys/linux/dl/dl-init.c: Ditto.
3297 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
3298 * libc/sys/linux/dl/dl-libc.c: Ditto.
3299 * libc/sys/linux/dl/dl-librecon.h: Ditto.
3300 * libc/sys/linux/dl/dl-load.c: Ditto.
3301 * libc/sys/linux/dl/dl-lookup.c: Ditto.
3302 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
3303 * libc/sys/linux/dl/dl-minimal.c: Ditto.
3304 * libc/sys/linux/dl/dl-misc.c: Ditto.
3305 * libc/sys/linux/dl/dl-object.c: Ditto.
3306 * libc/sys/linux/dl/dl-open.c: Ditto.
3307 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
3308 * libc/sys/linux/dl/dl-profile.c: Ditto.
3309 * libc/sys/linux/dl/dl-profstub.c: Ditto.
3310 * libc/sys/linux/dl/dl-reloc.c: Ditto.
3311 * libc/sys/linux/dl/dl-runtime.c: Ditto.
3312 * libc/sys/linux/dl/dl-support.c: Ditto.
3313 * libc/sys/linux/dl/dl-sym.c: Ditto.
3314 * libc/sys/linux/dl/dl-version.c: Ditto.
3315 * libc/sys/linux/dl/dlfcn.h: Ditto.
3316 * libc/sys/linux/dl/do-lookup.h: Ditto.
3317 * libc/sys/linux/dl/do-rel.h: Ditto.
3318 * libc/sys/linux/dl/dynamic-link.h: Ditto.
3319 * libc/sys/linux/dl/kernel-features.h: Ditto.
3320 * libc/sys/linux/dl/ldsodefs.h: Ditto.
3321 * libc/sys/linux/dl/libintl.h: Ditto.
3322 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
3323 * libc/sys/linux/dl/unsecvars.h: Ditto.
3324 * libc/sys/linux/iconv/Makefile.am: Ditto.
3325 * libc/sys/linux/iconv/Makefile.in: Ditto.
3326 * libc/sys/linux/iconv/categories.def: Ditto.
3327 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
3328 * libc/sys/linux/iconv/gconv.c: Ditto.
3329 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
3330 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
3331 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
3332 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
3333 * libc/sys/linux/iconv/gconv_close.c: Ditto.
3334 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
3335 * libc/sys/linux/iconv/gconv_db.c: Ditto.
3336 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
3337 * libc/sys/linux/iconv/gconv_int.h: Ditto.
3338 * libc/sys/linux/iconv/gconv_open.c: Ditto.
3339 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
3340 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
3341 * libc/sys/linux/iconv/hash-string.h: Ditto.
3342 * libc/sys/linux/iconv/iconv.c: Ditto.
3343 * libc/sys/linux/iconv/iconv.h: Ditto.
3344 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
3345 * libc/sys/linux/iconv/iconv_close.c: Ditto.
3346 * libc/sys/linux/iconv/iconv_open.c: Ditto.
3347 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
3348 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
3349 * libc/sys/linux/iconv/loadinfo.h: Ditto.
3350 * libc/sys/linux/iconv/localeinfo.h: Ditto.
3351 * libc/sys/linux/iconv/loop.c: Ditto.
3352 * libc/sys/linux/iconv/skeleton.c: Ditto.
3353 * libc/sys/linux/iconv/strtab.c: Ditto.
3354 * libc/sys/linux/include/dl-hash.h: Ditto.
3355 * libc/sys/linux/include/dlfcn.h: Ditto.
3356 * libc/sys/linux/include/fnmatch.h: Ditto.
3357 * libc/sys/linux/include/gconv.h: Ditto.
3358 * libc/sys/linux/include/glob.h: Ditto.
3359 * libc/sys/linux/include/hesiod.h: Ditto.
3360 * libc/sys/linux/include/ifaddrs.h: Ditto.
3361 * libc/sys/linux/include/libc_private.h: Ditto.
3362 * libc/sys/linux/include/link.h: Ditto.
3363 * libc/sys/linux/include/namespace.h: Ditto.
3364 * libc/sys/linux/include/netconfig.h: Ditto.
3365 * libc/sys/linux/include/netdb.h: Ditto.
3366 * libc/sys/linux/include/nsswitch.h: Ditto.
3367 * libc/sys/linux/include/regex.h: Ditto.
3368 * libc/sys/linux/include/resolv.h: Ditto.
3369 * libc/sys/linux/include/rune.h: Ditto.
3370 * libc/sys/linux/include/runetype.h: Ditto.
3371 * libc/sys/linux/include/semaphore.h: Ditto.
3372 * libc/sys/linux/include/setlocale.h: Ditto.
3373 * libc/sys/linux/include/un-namespace.h: Ditto.
3374 * libc/sys/linux/include/wordexp.h: Ditto.
3375 * libc/sys/linux/include/arpa/ftp.h: Ditto.
3376 * libc/sys/linux/include/arpa/inet.h: Ditto.
3377 * libc/sys/linux/include/arpa/nameser.h: Ditto.
3378 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
3379 * libc/sys/linux/include/arpa/telnet.h: Ditto.
3380 * libc/sys/linux/include/arpa/tftp.h: Ditto.
3381 * libc/sys/linux/include/net/bpf.h: Ditto.
3382 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
3383 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
3384 * libc/sys/linux/include/net/bridge.h: Ditto.
3385 * libc/sys/linux/include/net/ethernet.h: Ditto.
3386 * libc/sys/linux/include/net/fddi.h: Ditto.
3387 * libc/sys/linux/include/net/if.h: Ditto.
3388 * libc/sys/linux/include/net/if_arc.h: Ditto.
3389 * libc/sys/linux/include/net/if_arp.h: Ditto.
3390 * libc/sys/linux/include/net/if_atm.h: Ditto.
3391 * libc/sys/linux/include/net/if_dl.h: Ditto.
3392 * libc/sys/linux/include/net/if_gif.h: Ditto.
3393 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
3394 * libc/sys/linux/include/net/if_llc.h: Ditto.
3395 * libc/sys/linux/include/net/if_media.h: Ditto.
3396 * libc/sys/linux/include/net/if_mib.h: Ditto.
3397 * libc/sys/linux/include/net/if_ppp.h: Ditto.
3398 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
3399 * libc/sys/linux/include/net/if_slvar.h: Ditto.
3400 * libc/sys/linux/include/net/if_sppp.h: Ditto.
3401 * libc/sys/linux/include/net/if_stf.h: Ditto.
3402 * libc/sys/linux/include/net/if_tap.h: Ditto.
3403 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
3404 * libc/sys/linux/include/net/if_tun.h: Ditto.
3405 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
3406 * libc/sys/linux/include/net/if_types.h: Ditto.
3407 * libc/sys/linux/include/net/if_var.h: Ditto.
3408 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
3409 * libc/sys/linux/include/net/intrq.h: Ditto.
3410 * libc/sys/linux/include/net/iso88025.h: Ditto.
3411 * libc/sys/linux/include/net/net_osdep.h: Ditto.
3412 * libc/sys/linux/include/net/netisr.h: Ditto.
3413 * libc/sys/linux/include/net/pfil.h: Ditto.
3414 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
3415 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
3416 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
3417 * libc/sys/linux/include/net/radix.h: Ditto.
3418 * libc/sys/linux/include/net/raw_cb.h: Ditto.
3419 * libc/sys/linux/include/net/route.h: Ditto.
3420 * libc/sys/linux/include/net/slcompress.h: Ditto.
3421 * libc/sys/linux/include/net/slip.h: Ditto.
3422 * libc/sys/linux/include/net/zlib.h: Ditto.
3423 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
3424 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
3425 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
3426 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
3427 * libc/sys/linux/include/netinet/igmp.h: Ditto.
3428 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
3429 * libc/sys/linux/include/netinet/in.h: Ditto.
3430 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
3431 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
3432 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
3433 * libc/sys/linux/include/netinet/in_var.h: Ditto.
3434 * libc/sys/linux/include/netinet/ip.h: Ditto.
3435 * libc/sys/linux/include/netinet/ip6.h: Ditto.
3436 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
3437 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
3438 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
3439 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
3440 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
3441 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
3442 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
3443 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
3444 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
3445 * libc/sys/linux/include/netinet/tcp.h: Ditto.
3446 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
3447 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
3448 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
3449 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
3450 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
3451 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
3452 * libc/sys/linux/include/netinet/udp.h: Ditto.
3453 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
3454 * libc/sys/linux/include/netinet6/ah.h: Ditto.
3455 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
3456 * libc/sys/linux/include/netinet6/esp.h: Ditto.
3457 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
3458 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
3459 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
3460 * libc/sys/linux/include/netinet6/in6.h: Ditto.
3461 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
3462 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
3463 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
3464 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
3465 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
3466 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
3467 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
3468 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
3469 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
3470 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
3471 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
3472 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
3473 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
3474 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
3475 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
3476 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
3477 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
3478 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
3479 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
3480 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
3481 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
3482 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
3483 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
3484 * libc/sys/linux/include/netns/idp.h: Ditto.
3485 * libc/sys/linux/include/netns/idp_var.h: Ditto.
3486 * libc/sys/linux/include/netns/ns.h: Ditto.
3487 * libc/sys/linux/include/netns/ns_error.h: Ditto.
3488 * libc/sys/linux/include/netns/ns_if.h: Ditto.
3489 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
3490 * libc/sys/linux/include/netns/sp.h: Ditto.
3491 * libc/sys/linux/include/netns/spidp.h: Ditto.
3492 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
3493 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
3494 * libc/sys/linux/include/netns/spp_var.h: Ditto.
3495 * libc/sys/linux/include/rpc/Makefile: Ditto.
3496 * libc/sys/linux/include/rpc/auth.h: Ditto.
3497 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
3498 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
3499 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
3500 * libc/sys/linux/include/rpc/clnt.h: Ditto.
3501 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
3502 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
3503 * libc/sys/linux/include/rpc/des.h: Ditto.
3504 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
3505 * libc/sys/linux/include/rpc/nettype.h: Ditto.
3506 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
3507 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
3508 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
3509 * libc/sys/linux/include/rpc/raw.h: Ditto.
3510 * libc/sys/linux/include/rpc/rpc.h: Ditto.
3511 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
3512 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
3513 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
3514 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
3515 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
3516 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
3517 * libc/sys/linux/include/rpc/svc.h: Ditto.
3518 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
3519 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
3520 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
3521 * libc/sys/linux/include/rpc/types.h: Ditto.
3522 * libc/sys/linux/include/rpc/xdr.h: Ditto.
3523 * libc/sys/linux/intl/Makefile.am: Ditto.
3524 * libc/sys/linux/intl/Makefile.in: Ditto.
3525 * libc/sys/linux/intl/bindtextdom.c: Ditto.
3526 * libc/sys/linux/intl/catgets.c: Ditto.
3527 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
3528 * libc/sys/linux/intl/config.h: Ditto.
3529 * libc/sys/linux/intl/dcgettext.c: Ditto.
3530 * libc/sys/linux/intl/dcigettext.c: Ditto.
3531 * libc/sys/linux/intl/dcngettext.c: Ditto.
3532 * libc/sys/linux/intl/dgettext.c: Ditto.
3533 * libc/sys/linux/intl/dngettext.c: Ditto.
3534 * libc/sys/linux/intl/explodename.c: Ditto.
3535 * libc/sys/linux/intl/finddomain.c: Ditto.
3536 * libc/sys/linux/intl/gettext.c: Ditto.
3537 * libc/sys/linux/intl/gettext.h: Ditto.
3538 * libc/sys/linux/intl/gettextP.h: Ditto.
3539 * libc/sys/linux/intl/hash-string.h: Ditto.
3540 * libc/sys/linux/intl/l10nflist.c: Ditto.
3541 * libc/sys/linux/intl/loadinfo.h: Ditto.
3542 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
3543 * libc/sys/linux/intl/locale.alias: Ditto.
3544 * libc/sys/linux/intl/localealias.c: Ditto.
3545 * libc/sys/linux/intl/ngettext.c: Ditto.
3546 * libc/sys/linux/intl/open_catalog.c: Ditto.
3547 * libc/sys/linux/intl/plural.c: Ditto.
3548 * libc/sys/linux/intl/plural.y: Ditto.
3549 * libc/sys/linux/intl/stpcpy.c: Ditto.
3550 * libc/sys/linux/intl/textdomain.c: Ditto.
3551 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
3552 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
3553 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
3554 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
3555 * libc/sys/linux/linuxthreads/attr.c: Ditto.
3556 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
3557 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
3558 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
3559 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
3560 * libc/sys/linux/linuxthreads/config.h: Ditto.
3561 * libc/sys/linux/linuxthreads/configure: Ditto.
3562 * libc/sys/linux/linuxthreads/configure.in: Ditto.
3563 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
3564 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
3565 * libc/sys/linux/linuxthreads/events.c: Ditto.
3566 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
3567 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
3568 * libc/sys/linux/linuxthreads/internals.h: Ditto.
3569 * libc/sys/linux/linuxthreads/join.c: Ditto.
3570 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3571 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
3572 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
3573 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
3574 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
3575 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
3576 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3577 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
3578 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
3579 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
3580 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
3581 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
3582 * libc/sys/linux/linuxthreads/prio.c: Ditto.
3583 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
3584 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
3585 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
3586 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
3587 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
3588 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
3589 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
3590 * libc/sys/linux/linuxthreads/queue.h: Ditto.
3591 * libc/sys/linux/linuxthreads/reent.c: Ditto.
3592 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
3593 * libc/sys/linux/linuxthreads/restart.h: Ditto.
3594 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
3595 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
3596 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
3597 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
3598 * libc/sys/linux/linuxthreads/signals.c: Ditto.
3599 * libc/sys/linux/linuxthreads/specific.c: Ditto.
3600 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
3601 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
3602 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
3603 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
3604 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3605 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
3606 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3607 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3608 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3609 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3610 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3611 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3612 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3613 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3614 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3615 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3616 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3617 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3618 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3619 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3620 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3621 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3622 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3623 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3624 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3625 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3626 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3627 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3628 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3629 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3630 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3631 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3632 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3633 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3634 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3635 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3636 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3637 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3638 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3639 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3640 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3641 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
3642 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
3643 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
3644 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
3645 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
3646 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
3647 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
3648 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
3649 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
3650 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
3651 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
3652 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
3653 * libc/sys/linux/linuxthreads/unload.c: Ditto.
3654 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
3655 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
3656 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
3657 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
3658 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
3659 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
3660 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
3661 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
3662 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
3663 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
3664 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
3665 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
3666 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
3667 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
3668 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
3669 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
3670 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
3671 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
3672 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
3673 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
3674 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
3675 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
3676 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
3677 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
3678 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
3679 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
3680 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
3681 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
3682 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
3683 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
3684 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
3685 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
3686 * libc/sys/linux/net/Makefile.am: Ditto.
3687 * libc/sys/linux/net/Makefile.in: Ditto.
3688 * libc/sys/linux/net/addr2ascii.3: Ditto.
3689 * libc/sys/linux/net/addr2ascii.c: Ditto.
3690 * libc/sys/linux/net/ascii2addr.c: Ditto.
3691 * libc/sys/linux/net/base64.c: Ditto.
3692 * libc/sys/linux/net/bindresvport.c: Ditto.
3693 * libc/sys/linux/net/byteorder.3: Ditto.
3694 * libc/sys/linux/net/ether_addr.c: Ditto.
3695 * libc/sys/linux/net/ethers.3: Ditto.
3696 * libc/sys/linux/net/getaddrinfo.3: Ditto.
3697 * libc/sys/linux/net/getaddrinfo.c: Ditto.
3698 * libc/sys/linux/net/gethostbydns.c: Ditto.
3699 * libc/sys/linux/net/gethostbyht.c: Ditto.
3700 * libc/sys/linux/net/gethostbyname.3: Ditto.
3701 * libc/sys/linux/net/gethostbynis.c: Ditto.
3702 * libc/sys/linux/net/gethostnamadr.c: Ditto.
3703 * libc/sys/linux/net/getifaddrs.3: Ditto.
3704 * libc/sys/linux/net/getifaddrs.c: Ditto.
3705 * libc/sys/linux/net/getipnodebyname.3: Ditto.
3706 * libc/sys/linux/net/getnameinfo.3: Ditto.
3707 * libc/sys/linux/net/getnameinfo.c: Ditto.
3708 * libc/sys/linux/net/getnetbydns.c: Ditto.
3709 * libc/sys/linux/net/getnetbyht.c: Ditto.
3710 * libc/sys/linux/net/getnetbynis.c: Ditto.
3711 * libc/sys/linux/net/getnetent.3: Ditto.
3712 * libc/sys/linux/net/getnetnamadr.c: Ditto.
3713 * libc/sys/linux/net/getproto.c: Ditto.
3714 * libc/sys/linux/net/getprotoent.3: Ditto.
3715 * libc/sys/linux/net/getprotoent.c: Ditto.
3716 * libc/sys/linux/net/getprotoname.c: Ditto.
3717 * libc/sys/linux/net/getservbyname.c: Ditto.
3718 * libc/sys/linux/net/getservbyport.c: Ditto.
3719 * libc/sys/linux/net/getservent.3: Ditto.
3720 * libc/sys/linux/net/getservent.c: Ditto.
3721 * libc/sys/linux/net/herror.c: Ditto.
3722 * libc/sys/linux/net/hesiod.3: Ditto.
3723 * libc/sys/linux/net/hesiod.c: Ditto.
3724 * libc/sys/linux/net/if_indextoname.3: Ditto.
3725 * libc/sys/linux/net/ifname.c: Ditto.
3726 * libc/sys/linux/net/inet.3: Ditto.
3727 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
3728 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
3729 * libc/sys/linux/net/inet_addr.c: Ditto.
3730 * libc/sys/linux/net/inet_lnaof.c: Ditto.
3731 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
3732 * libc/sys/linux/net/inet_net.3: Ditto.
3733 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
3734 * libc/sys/linux/net/inet_net_pton.c: Ditto.
3735 * libc/sys/linux/net/inet_neta.c: Ditto.
3736 * libc/sys/linux/net/inet_netof.c: Ditto.
3737 * libc/sys/linux/net/inet_network.c: Ditto.
3738 * libc/sys/linux/net/inet_ntoa.c: Ditto.
3739 * libc/sys/linux/net/inet_ntop.c: Ditto.
3740 * libc/sys/linux/net/inet_pton.c: Ditto.
3741 * libc/sys/linux/net/innetgr-stub.c: Ditto.
3742 * libc/sys/linux/net/ip6opt.c: Ditto.
3743 * libc/sys/linux/net/iso_addr.3: Ditto.
3744 * libc/sys/linux/net/iso_addr.c: Ditto.
3745 * libc/sys/linux/net/issetugid-stub.c: Ditto.
3746 * libc/sys/linux/net/linkaddr.3: Ditto.
3747 * libc/sys/linux/net/linkaddr.c: Ditto.
3748 * libc/sys/linux/net/map_v4v6.c: Ditto.
3749 * libc/sys/linux/net/name6.c: Ditto.
3750 * libc/sys/linux/net/namespace.h: Ditto.
3751 * libc/sys/linux/net/ns.3: Ditto.
3752 * libc/sys/linux/net/ns_addr.c: Ditto.
3753 * libc/sys/linux/net/ns_name.c: Ditto.
3754 * libc/sys/linux/net/ns_netint.c: Ditto.
3755 * libc/sys/linux/net/ns_ntoa.c: Ditto.
3756 * libc/sys/linux/net/ns_parse.c: Ditto.
3757 * libc/sys/linux/net/ns_print.c: Ditto.
3758 * libc/sys/linux/net/ns_ttl.c: Ditto.
3759 * libc/sys/linux/net/nsap_addr.c: Ditto.
3760 * libc/sys/linux/net/nsdispatch.3: Ditto.
3761 * libc/sys/linux/net/nsdispatch.c: Ditto.
3762 * libc/sys/linux/net/nslexer.c: Ditto.
3763 * libc/sys/linux/net/nslexer.l: Ditto.
3764 * libc/sys/linux/net/nsparser.c: Ditto.
3765 * libc/sys/linux/net/nsparser.h: Ditto.
3766 * libc/sys/linux/net/nsparser.y: Ditto.
3767 * libc/sys/linux/net/rcmd.3: Ditto.
3768 * libc/sys/linux/net/rcmd.c: Ditto.
3769 * libc/sys/linux/net/rcmdsh.3: Ditto.
3770 * libc/sys/linux/net/rcmdsh.c: Ditto.
3771 * libc/sys/linux/net/recv.c: Ditto.
3772 * libc/sys/linux/net/res_comp.c: Ditto.
3773 * libc/sys/linux/net/res_config.h: Ditto.
3774 * libc/sys/linux/net/res_data.c: Ditto.
3775 * libc/sys/linux/net/res_debug.c: Ditto.
3776 * libc/sys/linux/net/res_init.c: Ditto.
3777 * libc/sys/linux/net/res_mkquery.c: Ditto.
3778 * libc/sys/linux/net/res_mkupdate.c: Ditto.
3779 * libc/sys/linux/net/res_query.c: Ditto.
3780 * libc/sys/linux/net/res_send.c: Ditto.
3781 * libc/sys/linux/net/res_update.c: Ditto.
3782 * libc/sys/linux/net/resolver.3: Ditto.
3783 * libc/sys/linux/net/rthdr.c: Ditto.
3784 * libc/sys/linux/net/send.c: Ditto.
3785 * libc/sys/linux/net/un-namespace.h: Ditto.
3786 * libc/sys/linux/net/vars.c: Ditto.
3787 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
3788 * libc/sys/linux/stdlib/Makefile.am: Ditto.
3789 * libc/sys/linux/stdlib/Makefile.in: Ditto.
3790 * libc/sys/linux/stdlib/cclass.h: Ditto.
3791 * libc/sys/linux/stdlib/cname.h: Ditto.
3792 * libc/sys/linux/stdlib/collate.c: Ditto.
3793 * libc/sys/linux/stdlib/collate.h: Ditto.
3794 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3795 * libc/sys/linux/stdlib/engine.c: Ditto.
3796 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
3797 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3798 * libc/sys/linux/stdlib/glob.3: Ditto.
3799 * libc/sys/linux/stdlib/glob.c: Ditto.
3800 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3801 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3802 * libc/sys/linux/stdlib/regerror.c: Ditto.
3803 * libc/sys/linux/stdlib/regex.3: Ditto.
3804 * libc/sys/linux/stdlib/regex2.h: Ditto.
3805 * libc/sys/linux/stdlib/regexec.c: Ditto.
3806 * libc/sys/linux/stdlib/regfree.c: Ditto.
3807 * libc/sys/linux/stdlib/utils.h: Ditto.
3808 * libc/sys/linux/stdlib/wordexp.c: Ditto.
3809 * libc/sys/linux/stdlib/wordfree.c: Ditto.
3810 * libc/sys/linux/sys/dlfcn.h: Ditto.
3811 * libc/sys/linux/sys/elfclass.h: Ditto.
3812 * libc/sys/linux/sys/event.h: Ditto.
3813 * libc/sys/linux/sys/ioccom.h: Ditto.
3814 * libc/sys/linux/sys/libc-tsd.h: Ditto.
3815 * libc/sys/linux/sys/link.h: Ditto.
3816 * libc/sys/linux/sys/lock.h: Ditto.
3817 * libc/sys/linux/sys/param.h: Ditto.
3818 * libc/sys/linux/sys/socket.h: Ditto.
3819 * libc/sys/linux/sys/sockio.h: Ditto.
3821 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3823 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
3825 * newlib/libc/machine/h8300/memset.S: Likewise
3826 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
3827 * newlib/lib/machine/h8300/reg_memset.S: Likewise
3828 * newlib/lib/machine/h8300/setjmp.S: Likewise
3829 * newlib/lib/machine/h8300/strcmp.S: Likewise
3830 * newlib/lib/sys/h8300hms/crt0.S: Likewise
3832 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
3834 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
3835 * libc/include/stdio.h: Ditto.
3836 * libc/include/sys/config.h: Ditto.
3837 * libc/stdio/mktemp.c: Ditto.
3839 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
3841 * libc/locale/ldpart.c (__part_load_locale): Substitute
3842 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
3843 * libc/search/hash.c (__hash_open): Ditto.
3845 * libc/stdio/fseek.c (fseek): Ditto.
3846 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3847 * libc/stdio/mktemp.c (_gettemp): Ditto.
3849 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
3851 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
3853 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
3855 * configure.host: Accomodate removing the libc/sys/cygwin dir.
3856 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
3857 if __CYGWIN_USE_BIG_TYPES__ is set.
3858 * libc/search/hash.c (__hash_open): Ditto.
3860 * libc/stdio/fseek.c (fseek): Ditto.
3861 * libc/stdio/makebuf.c (__smakebuf): Ditto.
3862 * libc/stdio/mktemp.c (_gettemp): Ditto.
3863 * libc/sys/cygwin/Makefile.am: Remove.
3864 * libc/sys/cygwin/Makefile.in: Remove.
3865 * libc/sys/cygwin/aclocal.m4: Remove.
3866 * libc/sys/cygwin/configure: Remove.
3867 * libc/sys/cygwin/configure.in: Remove.
3868 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
3869 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
3871 * libc/sys/cygwin/sys/param.h: Ditto.
3872 * libc/sys/cygwin/sys/utime.h: Ditto.
3873 * libc/sys/cygwin/sys/utmp.h: Ditto.
3875 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
3877 * libc/include/sys/types.h: Don't define key_t for Cygwin.
3879 2003-05-10 Christopher Faylor <cgf@redhat.com>
3881 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
3884 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
3886 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
3887 Include cygwin/config.h instead.
3889 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
3891 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
3892 all code with #ifdef __SPE__ test.
3893 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
3895 2003-04-15 Chris January <chris@atomice.net>
3897 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
3900 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
3902 * libc/machine/sh/memset.S: Avoid clobbering volatile
3903 objects following a tiny to-be-set array in the same quadword.
3905 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
3907 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
3908 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
3909 * libc/string/Makefile.in: Regenerated.
3910 * libc/string/wcswidth.c: New file.
3911 * libc/string/wcwidth.c: New file.
3912 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
3914 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
3916 * libc/machine/sh/memset.S: Fix problem with alloco region
3917 exceeding destination region for length >= 88 bytes, start
3918 & 0x16 == 0, end & 0x1f == 18.
3920 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
3922 * libc/string/wcscoll.c: Fix comment.
3924 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
3926 * libc/include/wchar.h: Add definition for wcscoll.
3927 * libc/string/Makefile.am: Add wcscoll.c.
3928 * libc/string/Makefile.in: Regenerated.
3929 * libc/string/wcscoll.c: New file.
3930 * libc/string/wcstrings.tex: Add wcscoll.
3932 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
3934 * libc/stdio/sscanf.c: Update flags description.
3935 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
3937 (__svfscanf_r): Add 'hh' and 'll' handling.
3939 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
3941 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
3942 __d_position member to _off_t.
3944 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
3946 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
3947 count all characters used to create number against maximum width.
3948 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
3950 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
3952 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
3954 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
3955 flag to support simulator only extensions.
3957 2003-03-17 Bob Cassels <bcassels@abinitio.com>
3959 * libc/string/wcschr.c: (wcschr): Look for character first,
3960 then for end of string, so you can do wcschr(x, '\0').
3962 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
3964 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
3965 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
3966 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
3967 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
3968 * libc/stdio/fseeko.c (fseeko): Ditto.
3969 * libc/stdio/ftello.c (ftello): Ditto.
3970 * libc/stdio/stdio.c (__swrite): Ditto.
3972 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
3973 * libc/stdio/fseek.c (fseek): Ditto.
3974 * libc/stdio/fsetpos.c (fsetpos): Ditto.
3975 * libc/stdio/ftell.c (ftell): Ditto.
3976 * libc/stdio/local.h: Declare __sseek using _off_t.
3978 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
3980 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
3982 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
3984 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
3987 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
3989 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
3991 * libc/include/sys/stat.h: Ditto.
3992 * libc/include/sys/unistd.h: Ditto.
3993 * libc/sys/cygwin/sys/dirent.h: Ditto.
3995 2003-03-07 Christopher Faylor <cgf@redhat.com>
3997 * libc/include/sys/unistd.h: Guard getopt.h call to force only
3998 declaration of getopt and avoid getopt_long declaration.
3999 * libc/sys/cygwin/include/unistd.h: Remove.
4001 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
4003 * configure.host: Define stdio64_dir for Cygwin.
4004 * libc/include/stdio.h: Change definition of fpos_t to fulfill
4005 Cygwin 64bit file access requirements.
4006 Drop definition of f*64() functions when compiled for Cygwin.
4007 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
4008 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
4009 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
4011 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
4013 * libc/include/sys/reent.h: Remove extraneous _sig_func
4016 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
4018 * libc/sys/h8300hms/Makefile.am: Add support for new files.
4019 * libc/sys/h8300hms/Makefile.in: Regenerated.
4020 * libc/sys/h8300hms/close.S: New file.
4021 * libc/sys/h8300hms/fstat.S: Ditto.
4022 * libc/sys/h8300hms/lseek.S: Ditto.
4023 * libc/sys/h8300hms/open.S: Ditto.
4024 * libc/sys/h8300hms/stat.S: Ditto.
4025 * libc/sys/h8300hms/read.S: New file to replace read.c.
4026 * libc/sys/h8300hms/read.c: Removed.
4027 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
4028 _lseek, _close, _stat, _fstat.
4029 * libc/sys/h8300hms/write.S: New file to replace write.c.
4030 * libc/sys/h8300hms/write.c: Removed.
4032 2003-02-20 Nick Clifton <nickc@redhat.com>
4034 * Add support for Cirrus Maverick ARM co-processor:
4036 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
4038 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
4039 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
4041 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
4043 * configure.host: set sys_dir, syscall_dir, and
4044 newlib_cflags for ep9312 host.
4046 * configure.host: Restore alpha sorting of entries in case
4049 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
4051 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
4053 2003-02-18 Christian Groessler <chris@groessler.org>
4055 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
4056 support z8001 segmented mode.
4058 2003-02-18 Earnie Boyd <earnie@users.sf.net>
4060 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
4063 2003-02-10 Christopher Faylor <cgf@redhat.com>
4065 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
4066 Don't define some types under cygwin.
4068 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
4070 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
4071 option to allow disabling of syscalls being supplied in newlib.
4072 * aclocal.m4: Regenerated.
4074 * configure.host: Add support of new configuration option and add
4075 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
4076 * doc/aclocal.m4: Regenerated.
4077 * doc/configure: Ditto.
4078 * libc/*aclocal.m4: Ditto.
4079 * libc/*configure: Ditto.
4080 * libm/*aclocal.m4: Ditto.
4081 * libm/*configure: Ditto.
4082 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
4084 * libc/sys/arm/Makefile.in: Regenerated.
4086 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
4088 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
4089 -1 to be sure it cannot later match a valid file fd causing
4090 isatty() to return 1.
4091 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
4092 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
4093 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
4095 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
4097 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
4098 buffer based on the precision, after we have processed the input value
4099 in a local buffer and know its relative magnitude.
4101 2003-01-31 Michael Snyder <msnyder@redhat.com>
4103 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
4104 into registers r1 and r2, so that the simulator can distinguish
4105 this trap from a breakpoint trap. Copied from libgloss.
4107 2003-01-31 Michael Snyder <msnyder@redhat.com>
4109 * libc/sys/h8300hms/crt0.S (_start): Change local label
4110 from .loop to .Loop, so that ld and gdb will ignore it.
4112 2003-01-29 Jason Tishler <jason@tishler.net>
4114 * libc/include/time.h: Declare nanosleep() under Cygwin.
4116 2003-01-24 Nick Clifton <nickc@redhat.com>
4120 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
4122 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
4123 * libc/machine/sh/setjmp.S: Likewise.
4124 * libc/include/machine/ieeefp.h: Likewise.
4126 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
4128 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
4131 2003-01-21 Anita Kulkarni <anitak@kpit.com>
4133 * libc/time/difftime.c : Typecast the result to double.
4135 2003-01-20 Christopher Faylor <cgf@redhat.com>
4137 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
4139 2003-01-18 Nick Clifton <nickc@redhat.com>
4141 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
4142 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
4144 2003-01-16 Joel Sherrill <joel@OARcorp.com>
4146 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
4147 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
4148 constants are defined in each file in the shared versions in
4150 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
4151 autoconf can link programs.
4152 * libc/include/machine/types.h: Explicitly specify signed on
4153 intXX_t types to ensure they are signed.
4155 2003-01-14 Christopher Faylor <cgf@redhat.com>
4157 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
4160 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
4162 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
4164 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
4166 * libc/stdio/sprintf.c: fix typo
4167 * libc/stdio/vfprintf.c: fix typo
4169 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
4171 * configure.host: Support long double I/O for x86-linux.
4172 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
4173 large enough to hold formatted result.
4174 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
4176 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4178 * Makefile.am: Add vasprintf.
4179 * Makefile.in: Regenerated.
4181 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
4183 * asprintf.c (_asprintf_r): insure both declarations
4186 2002-12-28 Christopher Faylor <cgf@redhat.com>
4188 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
4189 than defining getopt directly.
4191 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4193 * NEWS: Update with 1.11.0 info.
4195 * acinclude.m4: Change version number to 1.11.0.
4196 * aclocal.m4: Regenerated.
4198 * doc/aclocal.m4: Ditto.
4199 * doc/configure: Ditto.
4200 * libc/*/aclocal.m4: Ditto.
4201 * libc/*/configure: Ditto.
4202 * libc/libc.texinfo: Ditto.
4203 * libm/*/aclocal.m4: Ditto.
4204 * libm/*/configure: Ditto.
4205 * libm/libm.texinfo: Ditto.
4206 * libc/sys/linux/shared.ld: Add VERS_1.11.
4208 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4210 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
4211 Solutions to Red Hat Inc.
4212 * libc/machine/i386/f_atan2f.S: Ditto.
4213 * libc/machine/i386/f_exp.c: Ditto.
4214 * libc/machine/i386/f_expf.c: Ditto.
4215 * libc/machine/i386/f_frexp.S: Ditto.
4216 * libc/machine/i386/f_frexpf.S: Ditto.
4217 * libc/machine/i386/f_ldexp.S: Ditto.
4218 * libc/machine/i386/f_ldexpf.S: Ditto.
4219 * libc/machine/i386/f_log.S: Ditto.
4220 * libc/machine/i386/f_log10.S: Ditto.
4221 * libc/machine/i386/f_log10f.S: Ditto.
4222 * libc/machine/i386/f_logf.S: Ditto.
4223 * libc/machine/i386/f_pow.c: Ditto.
4224 * libc/machine/i386/f_powf.c: Ditto.
4225 * libc/machine/i386/f_tan.S: Ditto.
4226 * libc/machine/i386/f_tanf.S: Ditto.
4227 * libc/machine/i386/memchr.S: Ditto.
4228 * libc/machine/i386/memcmp.S: Ditto.
4229 * libc/machine/i386/memcpy.S: Ditto.
4230 * libc/machine/i386/memmove.S: Ditto.
4231 * libc/machine/i386/memset.S: Ditto.
4232 * libc/machine/i386/strchr.S: Ditto.
4233 * libc/machine/i386/strlen.S: Ditto.
4234 * libm/machine/i386/f_atan2.S: Ditto.
4235 * libm/machine/i386/f_atan2f.S: Ditto.
4236 * libm/machine/i386/f_exp.c: Ditto.
4237 * libm/machine/i386/f_expf.c: Ditto.
4238 * libm/machine/i386/f_frexp.S: Ditto.
4239 * libm/machine/i386/f_frexpf.S: Ditto.
4240 * libm/machine/i386/f_ldexp.S: Ditto.
4241 * libm/machine/i386/f_ldexpf.S: Ditto.
4242 * libm/machine/i386/f_log.S: Ditto.
4243 * libm/machine/i386/f_log10.S: Ditto.
4244 * libm/machine/i386/f_log10f.S: Ditto.
4245 * libm/machine/i386/f_logf.S: Ditto.
4246 * libm/machine/i386/f_pow.c: Ditto.
4247 * libm/machine/i386/f_powf.c: Ditto.
4248 * libm/machine/i386/f_tan.S: Ditto.
4249 * libm/machine/i386/f_tanf.S: Ditto.
4251 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
4253 * libc/stdlib/environ.c: Update license to Red Hat.
4254 * libc/machine/hppa/setjmp.S: Ditto.
4255 * libm/test/Makefile.in: Ditto.
4257 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
4259 * configure.host: Remove references to go32.
4260 * libc/sys/go32/*: Removed.
4262 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
4264 * libc/include/sys/config.h: Change setting of INT_MAX
4265 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
4266 __H8300S__. Also consolidate flag settings for these
4269 2002-12-10 Joel Sherrill <joel@OARcorp.com>
4271 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
4272 for i386-rtems targets.
4274 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
4276 * libc/include/stdlib.h (strtof): New prototype (from C99).
4277 (strtodf): Changed from prototype to macro which redefines
4279 * libc/stdlib/atof.c: Change documentation to refer to strtof
4281 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
4283 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
4284 (strtof): New function.
4285 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
4288 2002-11-27 Christopher Faylor <cgf@redhat.com>
4290 * libc/string/memset.c (memset): Fix comment.
4292 2002-11-26 Christopher Faylor <cgf@redhat.com>
4294 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
4297 2002-11-25 Christopher Faylor <cgf@redhat.com>
4299 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
4300 variable, introduced below, everywhere.
4302 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
4304 * libc/string/memset.c (memset): Make it safe even if
4307 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
4309 * configure.in: Change check for libc/include in ${CC} to
4310 use an intermediate value so as to work with different shells.
4311 * configure: Regenerated.
4312 * Makefile.in: Ditto.
4314 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
4316 * libc/sys/h8300hms/read.c: Add support for normal mode
4319 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
4321 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
4322 code for __H8300H__ and __H8300S__. Also return 32-bit return code
4323 when -mint32 is used.
4325 2002-11-18 Nick Clifton <nickc@redhat.com>
4327 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
4329 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
4331 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
4332 only issue one pass/fail message for a compile/link/execute.
4333 * testsuite/newlib.elix/elix.exp: New file.
4334 * testsuite/newlib.elix/tmmap.c: Ditto.
4336 2002-11-06 Christopher Faylor <cgf@redhat.com>
4338 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
4339 * libc/stdlib/mlock.c: Ditto.
4340 * libc/stdlib/msize.c: Ditto.
4341 * libc/stdlib/msize.c: Ditto.
4342 * libc/stdlib/mtrim.c: Ditto.
4343 * libc/stdlib/valloc.c: Ditto.
4345 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
4347 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
4348 for inf/nan, make sure that the check ignores the sign bit.
4350 2002-11-07 Joel Sherrill <joel@OARcorp.com>
4352 * libc/sys/rtems/machine: New directory.
4353 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
4354 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
4355 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
4356 targets more BSD like when installed without requiring files to
4357 be overwritten at install point when RTEMS itself is installed.
4358 * Makefile.am: Pick up system dependent machine .h files such as
4359 might be found on a BSD-ish system.
4360 * Makefile.in: Regenerate.
4361 * libc/include/machine/types.h: When on an RTEMS target, define a
4362 few BSD flavor types.
4364 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
4366 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
4368 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4370 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
4371 * libc/include/wctype.h: Ditto.
4373 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
4375 * libc/include/wchar.h: Add extern "C" specifier if C++.
4376 * libc/include/wctype.h: Ditto.
4378 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4380 * testsuite/newlib.wctype/tiswctype.c: New test case.
4381 * testsuite/newlib.wctype/twctrans.c: Ditto.
4383 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4385 * libc/sys/linux/machine/i386/include/endian.h: New file.
4386 * libc/sys/linux/machine/i386/include/param.h: Ditto.
4388 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4390 * libm/machine/i386/aclocal.m4: Regenerated.
4391 * libm/machine/i386/configure: Ditto.
4393 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
4395 * testsuite/include/check.h: New header file to use with
4397 * testsuite/lib/newlib.exp: Add testsuite/include directory
4398 to list of header files to use.
4399 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
4400 * testsuite/newlib.wctype/wctype.exp: New file.
4402 2002-10-11 Graham Stott <graham.stott@btinternet.com>
4403 Richard Sandiford <rsandifo@redhat.com>
4405 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
4406 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
4407 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
4409 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4411 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
4414 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4416 * libc/include/pthread.h: Define PTHREAD_CANCELED.
4418 2002-10-07 Joel Sherrill <joel@OARcorp.com>
4420 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
4421 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
4422 compile with current GNU tools.
4424 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
4426 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
4428 * configure.in: Ditto.
4429 * Makefile.in: Regenerated.
4431 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
4432 for specifying configured libraries/directories.
4433 * libc/sys/linux/configure.in: Ditto.
4434 * libc/sys/linux/Makefile.in: Regenerated.
4435 * libc/sys/linux/configure: Ditto.
4437 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
4439 * libc/include/reent.h: Update documentation at start of file.
4441 2002-09-27 Jim Wilson <wilson@redhat.com>
4443 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
4446 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
4448 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
4449 Also convert to EUCJP before using arrays. For values not in
4450 the conversion arrays, return WEOF.
4451 * libc/ctype/jp2uc.h: Change from one array to a number of
4452 arrays to account for the fact that the originating table
4453 is not contiguous for the input values since some are invalid.
4455 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
4457 * libc/time/ctime.c: Fix prototype documentation.
4459 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
4461 * libc/include/sys/errno.h: Add EOVERFLOW.
4463 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4465 * libc/include/wctype.h: New file.
4467 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4469 * libc/ctype/Makefile.am: Add new files.
4470 * libc/ctype/Makefile.in: Regenerated.
4471 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
4472 and wctrans functions to documentation index.
4473 * libc/ctype/iswalnum.c: New file.
4474 * libc/ctype/iswalpha.c: Ditto.
4475 * libc/ctype/iswblank.c: Ditto.
4476 * libc/ctype/iswcntrl.c: Ditto.
4477 * libc/ctype/iswctype.c: Ditto.
4478 * libc/ctype/iswdigit.c: Ditto.
4479 * libc/ctype/iswgraph.c: Ditto.
4480 * libc/ctype/iswlower.c: Ditto.
4481 * libc/ctype/iswprint.c: Ditto.
4482 * libc/ctype/iswpunct.c: Ditto.
4483 * libc/ctype/iswspace.c: Ditto.
4484 * libc/ctype/iswupper.c: Ditto.
4485 * libc/ctype/iswxdigit.c: Ditto.
4486 * libc/ctype/jp2uc.c: Ditto.
4487 * libc/ctype/jp2uc.h: Ditto.
4488 * libc/ctype/local.h: Ditto.
4489 * libc/ctype/towctrans.c: Ditto.
4490 * libc/ctype/towlower.c: Ditto.
4491 * libc/ctype/towupper.c: Ditto.
4492 * libc/ctype/utf8alpha.h: Ditto.
4493 * libc/ctype/utf8print.h: Ditto.
4494 * libc/ctype/utf8punct.h: Ditto.
4495 * libc/ctype/wctrans.c: Ditto.
4496 * libc/ctype/wctype.c: Ditto.
4497 * libc/locale/locale.c (__lc_ctype): New external array to
4498 replace static lc_ctype array.
4499 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
4500 rather than reentrancy structure's _current_locale field.
4501 * libc/stdlib/wctomb_r.c: Ditto.
4503 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
4505 * configure.host: Minor comment and formatting changes.
4506 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
4507 * libc/Makefile.in: Regenerated.
4508 * libc/include/sys/config.h: Minor format change.
4510 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4512 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
4515 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
4517 * libc/posix/opendir.c (opendir): Change code to check
4518 for HAVE_FCNTL before calling fcntl.
4519 * libc/search/hash.c (hash_open): Ditto.
4520 * libc/search/hash_page.c (open_tmp): Ditto.
4521 * libc/reent/Makefile.am: Add fcntlr.c.
4522 * libc/reent/Makefile.in: Regenerated.
4523 * libc/reent/fcntlr.c: New file.
4524 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
4525 instead of _fcntl when HAVE_FCNTL flag is set.
4526 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
4527 to see if _fcntl or _fcntl_r should be called. If flag is not
4528 set, default to ENOSYS stub.
4530 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
4532 * libc/include/wchar.h (mbstate_t): Change protective flag to
4534 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
4535 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
4537 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
4539 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
4541 * acinclude.m4 (enable-newlib-mb): Change check to
4542 default newlib_mb variable to empty string rather than "no".
4543 * configure.host: Remove hard-coding of -DMB_CAPABLE for
4544 x86-linux and Cygwin. Add code to check for newlib_mb
4545 being unset in which case set to "yes" for x86-linux and
4546 Cygwin. Change check for newlib_mb being "yes" to allow
4547 for an empty string.
4548 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
4549 * newlib.hin (_MB_LEN_MAX): New define to configure.
4550 * aclocal.m4: Regenerated.
4552 * libc/include/limits.h: New file.
4553 * libc/sys/linux/include/limits.h: Ditto.
4554 * doc/aclocal.m4 doc/configure libc/aclocal.m4
4555 libc/configure libc/include/%redact libc/machine/aclocal.m4
4556 libc/machine/configure libc/machine/a29k/aclocal.m4
4557 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
4558 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
4559 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
4560 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
4561 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
4562 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
4563 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
4564 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
4565 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
4566 libc/machine/i386/configure libc/machine/i960/aclocal.m4
4567 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
4568 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
4569 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
4570 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
4571 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
4572 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
4573 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
4574 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
4575 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
4576 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
4577 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
4578 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
4579 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
4580 libc/machine/v850/configure libc/machine/w65/aclocal.m4
4581 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
4582 libc/machine/xscale/configure
4583 libc/machine/xstormy16/aclocal.m4
4584 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
4585 libc/machine/z8k/configure libc/sys/aclocal.m4
4586 libc/sys/configure libc/sys/a29khif/aclocal.m4
4587 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
4588 libc/sys/arc/configure libc/sys/arm/aclocal.m4
4589 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
4590 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
4591 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
4592 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
4593 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
4594 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
4595 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
4596 libc/sys/idt/configure libc/sys/linux/aclocal.m4
4597 libc/sys/linux/configure libc/sys/linux/include/%redact
4598 libc/sys/linux/machine/aclocal.m4
4599 libc/sys/linux/machine/configure
4600 libc/sys/linux/machine/i386/aclocal.m4
4601 libc/sys/linux/machine/i386/configure
4602 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
4603 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
4604 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
4605 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
4606 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
4607 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
4608 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
4609 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
4610 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
4611 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
4612 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
4613 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
4614 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
4615 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
4616 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
4617 libm/aclocal.m4 libm/configure: Regenerated.
4619 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4621 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
4622 code that clears the .bss section.
4624 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
4626 * libc/include/sys/_types.h (_mbstate_t): Changed to use
4627 unsigned char internally.
4628 * libc/sys/linux/sys/_types.h: Ditto.
4629 * libc/include/sys/reent.h
4630 * libc/stdlib/mblen.c (mblen): Use function-specific state
4631 value from default reentrancy structure.
4632 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
4633 _mbtowc_r is less than 0, reset state __count value and
4635 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
4636 is NULL, use the function-specific pointer provided in the
4637 default reentrancy structure.
4638 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
4639 If input state pointer is NULL, use function-specific area
4640 provided in reentrancy structure.
4641 * libc/stdlib/mbsrtowcs.c: Ditto.
4642 * libc/stdlib/wcrtomb.c: Ditto.
4643 * libc/stdlib/wcsrtombs.c: Ditto.
4644 * libc/stdlib/mbstowcs.c: Reformat.
4645 * libc/stdlib/wcstombs.c: Ditto.
4646 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
4647 reset the state's __count value and return -1.
4648 * libc/stdlib/mbtowc.c: Ditto.
4649 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
4650 If number of bytes is used up before completing a valid multibyte
4651 character, return -2 and save the state.
4652 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
4653 and change some __count references to __state for clarity.
4655 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
4657 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
4658 is defined by <limits.h>.
4660 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4662 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
4665 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4667 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
4668 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
4669 __WCHAR_MAX__ or 0x7fffffffu.
4670 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
4671 * libc/string/wcsncmp.c: Ditto.
4673 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4675 * libc/string/wcschr.c: Add include of <stddef.h>.
4676 * libc/string/wcspbrk.c: Ditto.
4677 * libc/string/wcsrchr.c: Ditto.
4678 * libc/string/wcsstr.c: Ditto.
4680 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
4682 * libc/include/sys/_types.h (_flock_t): Added.
4683 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
4684 (__lock_try_acquire_recursive): Ditto.
4685 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
4687 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
4689 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
4690 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
4691 * libc/sys/linux/include/time.h (struct timespec): Moved from
4692 <sys/types.h> and added check for __need_timespec flag so type
4693 can be defined by itself.
4694 * libc/sys/linux/sys/_types.h (_flock_t): New type.
4695 * libc/sys/linux/sys/types.h (struct timespec): Moved to
4698 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
4700 * libc/sys/linux/argp: New directory.
4701 * libc/sys/linux/getopt.c: New file.
4702 * libc/sys/linux/getopt1.c: New file.
4703 * libc/sys/linux/getoptlong.c: Remove file.
4704 * libc/sys/linux/include/argp.h: New file.
4705 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
4706 based on ELIX level.
4707 (SUBDIRS): Add argp_dir.
4708 (SUBLIBS): Add ARGP_LIB.
4709 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
4710 getopt_long.$(oext).
4711 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
4713 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4715 * libc/libc.texinfo: Add node reference to wide-character strings.
4716 * libc/string/wcstrings.tex: New file.
4717 * libc/string/strtok_r.c: Remove outdated advertising clause.
4718 * libc/string/Makefile.am (doc): Add wide-character string
4719 chapter to documentation.
4720 * libc/string/Makefile.in: Regenerated.
4722 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
4724 * libc/include/wchar.h: Define NULL. Define WEOF more general
4725 way. Declare functions in newlib manner.
4726 * libc/stdlib/Makefile.am: Delete wmem*.c
4727 * libc/stdlib/Makefile.in: Regenerated.
4728 * libc/stdlib/wmemchr.c: Delete.
4729 * libc/stdlib/wmemcmp.c: Ditto.
4730 * libc/stdlib/wmemcpy.c: Ditto.
4731 * libc/stdlib/wmemmove.c: Ditto.
4732 * libc/stdlib/wmemset.c: Ditto.
4733 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
4734 * libc/string/Makefile.in: Regenerated.
4735 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
4736 * libc/string/wcschr.c: Ditto.
4737 * libc/string/wcscmp.c: Ditto.
4738 * libc/string/wcscpy.c: Ditto.
4739 * libc/string/wcscspn.c: Ditto.
4740 * libc/string/wcslcat.c: Ditto.
4741 * libc/string/wcslcpy.c: Ditto.
4742 * libc/string/wcslen.c: Ditto.
4743 * libc/string/wcsncat.c: Ditto.
4744 * libc/string/wcsncmp.c: Ditto.
4745 * libc/string/wcsncpy.c: Ditto.
4746 * libc/string/wcspbrk.c: Ditto.
4747 * libc/string/wcsrchr.c: Ditto.
4748 * libc/string/wcsspn.c: Ditto.
4749 * libc/string/wcsstr.c: Ditto.
4750 * libc/string/wmemchr.c: Ditto.
4751 * libc/string/wmemcmp.c: Ditto.
4752 * libc/string/wmemcpy.c: Ditto.
4753 * libc/string/wmemmove.c: Ditto.
4754 * libc/string/wmemset.c: Ditto.
4756 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
4758 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
4759 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
4760 and is treated as if "C" was specified.
4762 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4764 * Makefile.am (install-data-local): Move install of build
4765 newlib.h after installing headers in libc/include so as to
4766 overwrite default newlib.h.
4767 * Makefile.in: Regenerated.
4769 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4771 * libc/include/newlib.h: New file for tools that use newlib
4772 headers but don't build newlib first (e.g. gcc).
4774 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
4776 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
4777 * libc/stdlib/wmemcmp.c: Ditto.
4778 * libc/stdlib/wmemcpy.c: Ditto.
4779 * libc/stdlib/wmemmove.c: Ditto.
4780 * libc/stdlib/wmemset.c: Ditto.
4782 2002-08-27 Egor Duda <deo@logos-m.ru>
4784 * libc/stdlib/wmemchr.c: New file.
4785 * libc/stdlib/wmemcmp.c: Ditto.
4786 * libc/stdlib/wmemcpy.c: Ditto.
4787 * libc/stdlib/wmemmove.c: Ditto.
4788 * libc/stdlib/wmemset.c: Ditto.
4789 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
4790 * configure.host: Default -DMB_CAPABLE for cygwin.
4791 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
4792 wmemmove() and wmemset(). Add include of <_ansi.h>.
4793 * libc/stdlib/Makefile.in: Regenerate.
4795 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
4797 * configure.host: Remove _ELIX_LEVEL flag setting.
4798 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
4799 (install-data-local): Install newlib.h.
4800 * Makefile.in: Regenerated.
4801 * aclocal.m4: Ditto.
4803 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
4804 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
4805 and _NEWLIB_VERSION to fill in newlib.h header file entries.
4806 In AC_OUTPUT statement, unset ac_file so multilib support does
4807 not use last ac_file temporary used in newlib.h configuration.
4808 * libc/include/_ansi.h: Include <newlib.h>.
4809 * newlib.hin: New template file for newlib.h.
4810 * stamp-h.in: New file.
4812 2002-08-26 Wu Yongwei <adah@netstd.com>
4814 * time.h (timezonevar): Change "#if" to "#ifdef".
4816 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
4818 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
4819 * Makefile.in: Regenerated.
4820 * acinclude.m4: Add support for --enable-newlib-elix-level option.
4821 * aclocal.m4: Regenerated.
4823 * configure.host: Add code to define _ELIX_LEVEL if
4824 --enable-newlib-elix-level option is used.
4826 * libc/aclocal.m4: Regenerated.
4827 * libc/configure: Ditto.
4828 * libc/argz/Makefile.am: Add EL/IX level checking.
4829 * libc/argz/Makefile.in: Regenerated.
4830 * libc/argz/dummy.c: New file.
4831 * libc/ctype/Makefile.am: Add EL/IX level checking.
4832 * libc/ctype/Makefile.in: Regenerated.
4833 * libc/locale/Makefile.am: Add EL/IX level checking.
4834 * libc/locale/Makefile.in: Regenerated.
4835 * libc/posix/Makefile.am: Add EL/IX level checking.
4836 * libc/posix/Makefile.in: Regenerated.
4837 * libc/posix/telldir.c: Add EL/IX level checking.
4838 * libc/reent/Makefile.am: Ditto.
4839 * libc/reent/fstat64r.c: Ditto.
4840 * libc/reent/lseek64r.c: Ditto.
4841 * libc/reent/open64r.c: Ditto.
4842 * libc/reent/Makefile.in: Regenerated.
4843 * libc/search/Makefile.am: Add EL/IX level checking.
4844 * libc/search/Makefile.in: Regenerated.
4845 * libc/stdio/Makefile.am: Add EL/IX level checking.
4846 * libc/stdio/Makefile.in: Regenerated.
4847 * libc/stdio64/Makefile.am: Add EL/IX level checking.
4848 * libc/stdio64/Makefile.in: Regenerated.
4849 * libc/stdio64/dummy.c: New file.
4850 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
4851 after first include.
4852 * libc/stdio64/fopen64.c: Ditto.
4853 * libc/stdio64/freopen64.c: Ditto.
4854 * libc/stdio64/fseeko64.c: Ditto.
4855 * libc/stdio64/fsetpos64.c: Ditto.
4856 * libc/stdio64/ftello64.c: Ditto.
4857 * libc/stdio64/tmpfile64.c: Ditto.
4858 * libc/stdlib/Makefile.am: Add EL/IX level checking.
4859 * libc/stdlib/Makefile.in: Regenerated.
4860 * libc/stdlib/mstats.c: Add EL/IX level checking.
4861 * libc/string/Makefile.am: Ditto.
4862 * libc/string/Makefile.in: Regenerated.
4863 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
4864 * libc/sys/linux/Makefile.in: Regenerated.
4865 * libc/sys/linux/aclocal.m4: Ditto.
4866 * libc/sys/linux/configure: Ditto.
4867 * libc/sys/linux/aio.c: Add EL/IX level checking.
4868 * libc/sys/linux/ftok.c: Ditto.
4869 * libc/sys/linux/getdate.c: Ditto.
4870 * libc/sys/linux/ids.c: Ditto.
4871 * libc/sys/linux/inode.c: Ditto.
4872 * libc/sys/linux/io.c: Ditto.
4873 * libc/sys/linux/process.c: Ditto.
4874 * libc/sys/linux/resource.c: Ditto.
4875 * libc/sys/linux/sched.c: Ditto.
4876 * libc/sys/linux/sig.c: Ditto.
4877 * libc/sys/linux/termios.c: Ditto.
4878 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
4879 __libc___waitpid weak aliases.
4880 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
4881 that generate the code for a syscall, but do not create a
4883 * libc/syscalls/Makefile.am: Add EL/IX level checking.
4884 * libc/syscalls/Makefile.in: Regenerated.
4885 * libc/time/tzset_r.c: Change to replace strdup with equivalent
4887 * libc/unix/Makefile.am: Add EL/IX level checking.
4888 * libc/unix/Makefile.in: Regenerated.
4890 2002-08-26 Christopher Faylor <cgf@redhat.com>
4892 * libc/include/malloc.h: On cygwin, define malloc _r functions as
4893 wrapper macros to standard malloc functions.
4894 * libc/include/stdlib.h: Ditto.
4895 * configure.host: Always define MALLOC_PROVIDED on cygwin.
4897 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
4899 * libc/include/langinfo.h: New file.
4900 * libc/include/wchar.h: Likewise.
4901 * libc/include/sys/syslimits.h: Likewise.
4902 * libc/locale/fix_grouping.c: Likewise.
4903 * libc/locale/ldpart.c: Likewise.
4904 * libc/locale/ldpart.h: Likewise.
4905 * libc/locale/lmessages.c: Likewise.
4906 * libc/locale/lmessages.h: Likewise.
4907 * libc/locale/lmonetary.c: Likewise.
4908 * libc/locale/lmonetary.h: Likewise.
4909 * libc/locale/lnumeric.c: Likewise.
4910 * libc/locale/lnumeric.h: Likewise.
4911 * libc/locale/nl_langinfo.3: Likewise.
4912 * libc/locale/nl_langinfo.c: Likewise.
4913 * libc/locale/timelocal.c: Likewise.
4914 * libc/locale/timelocal.h: Likewise.
4915 * libc/stdlib/btowc.c: Likewise.
4916 * libc/stdlib/mbrlen.c: Likewise.
4917 * libc/stdlib/mbrtowc.c: Likewise.
4918 * libc/stdlib/mbsinit.c: Likewise.
4919 * libc/stdlib/mbsrtowcs.c: Likewise.
4920 * libc/stdlib/wcrtomb.c: Likewise.
4921 * libc/stdlib/wcsrtombs.c: Likewise.
4922 * libc/stdlib/wctob.c: Likewise.
4923 * libc/sys/linux/prof-freq.c: Likewise.
4924 * libc/sys/linux/profile.c: Likewise.
4925 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
4926 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
4927 * libc/include/stdlib.h: Change re-entrant functions to take
4929 * libc/include/sys/_types.h: Define _mbstate_t.
4930 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
4931 * libc/include/sys/errno.h (EILSEQ): New error code.
4932 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
4933 structure to use mbstate_t.
4934 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
4935 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
4936 * libc/machine/powerpc/vfscanf.c: Likewise.
4937 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
4938 * libc/stdio/vfprintf.c: Likewise.
4939 * libc/stdio/vfscanf.c: Likewise.
4940 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
4941 * libc/stdlib/mblen.c: Use mbstate_t.
4942 * libc/stdlib/mblen_r.c: Likewise.
4943 * libc/stdlib/mbstowcs.c: Likewise.
4944 * libc/stdlib/mbstowcs_r.c: Likewise.
4945 * libc/stdlib/mbtowc.c: Likewise.
4946 * libc/stdlib/mbtowc_r.c: Likewise.
4947 * libc/stdlib/wcstombs.c: Likewise.
4948 * libc/stdlib/wcstombs_r.c: Likewise.
4949 * libc/stdlib/wctomb_r.c: Likewise.
4950 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
4952 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
4954 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
4955 * libc/sys/linux/sys/types.h (off_t): Define type.
4956 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
4958 * testsuite/newlib.locale/UTF-8.exp: Likewise.
4960 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
4962 * libc/stdlib/mallocr.c: #include windows.h on Win32.
4963 (AlignPage): Continue macro on next line.
4965 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4967 * libc/sys/linux/include/pthread.h: New file.
4969 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
4971 * libc/include/sys/types.h: Support __need_inttypes macro
4972 that only sets the __intxx and __uintxx types.
4973 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
4975 * libc/machine/powerpc/Makefile.in: Regenerated.
4976 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
4977 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
4978 redundant fixed-point conversion prototypes.
4979 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
4980 after setting __need_inttypes.
4982 2002-08-18 Christopher Faylor <cgf@redhat.com>
4984 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
4986 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4988 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
4989 _LONG_DOUBLE to double.
4991 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
4993 * configure.host: Add powerpc*-*-eabispe* configuration.
4994 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
4995 * libc/machine/powerpc/atosfix32.c: Ditto.
4996 * libc/machine/powerpc/atosfix64.c: Ditto.
4997 * libc/machine/powerpc/atoufix16.c: Ditto.
4998 * libc/machine/powerpc/atoufix32.c: Ditto.
4999 * libc/machine/powerpc/atoufix64.c: Ditto.
5000 * libc/machine/powerpc/fix64.h: Ditto.
5001 * libc/machine/powerpc/simdldtoa.c: Ditto.
5002 * libc/machine/powerpc/strtosfix16.c: Ditto.
5003 * libc/machine/powerpc/strtosfix32.c: Ditto.
5004 * libc/machine/powerpc/strtosfix64.c: Ditto.
5005 * libc/machine/powerpc/strtoufix16.c: Ditto.
5006 * libc/machine/powerpc/strtoufix32.c: Ditto.
5007 * libc/machine/powerpc/strtoufix64.c: Ditto.
5008 * libc/machine/powerpc/ufix64toa.c: Ditto.
5009 * libc/machine/powerpc/configure.in: Add check for
5010 powerpc*-eabispe and add fixed-point conversion functions.
5011 * libc/machine/powerpc/configure: Regenerated.
5012 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
5013 %r and %R format specifiers which handle fixed-point data.
5014 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
5015 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
5016 function prototypes.
5018 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
5020 * Makefile.am: Move cmath stuff into libc/sys/linux.
5021 * Makefile.in: Regenerated.
5022 * configure.host: Default -DMB_CAPABLE for x86-linux.
5023 * libc/include/reent.h: Define _sbrk to take signed int argument.
5024 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
5025 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
5026 make locale name checking more efficient. Also allow "C-ISO-8859-1"
5027 locale for LC_CTYPE and LC_MESSAGES.
5028 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
5029 * libc/sys/linux/brk.c: Change sbrk prototype.
5030 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
5031 include <sys/features.h>.
5032 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
5033 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
5034 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
5035 with a few local additions.
5036 * libc/sys/linux/sys/features.h: New file.
5037 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
5038 to take signed argument.
5039 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
5040 prototypes to take signed size argument.
5042 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
5044 * libc/sys/linux/cmath: New directory.
5045 * libc/sys/linux/include/cmathcalls.h: New file.
5046 * libc/sys/linux/include/complex.h: New file.
5047 * libc/sys/linux/machine/i386/huge_val.h: New file
5048 * libm/math/w_sincos.c: New file
5049 * libm/math/wf_sincos.c: New file
5050 * libm/mathfp/s_sincos.c: New file
5051 * libm/mathfp/sf_sincos.c: New file
5052 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
5053 * libc/include/math.h: Add sincos and sincosf declarations.
5054 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
5055 (SUBLIBS): Likewise.
5056 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
5057 * libm/math/Makefile.am (src): Add w_sincos.c.
5058 (fsrc): Add wf_sincos.c.
5059 * libm/mathfp/Makefile.am (src): Add s_sincos.c
5060 (fsrc): Add sf_sincos.c.
5062 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
5064 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
5065 Declare as extern chars and use the address operator to
5066 properly use values set in linker script.
5068 2002-08-09 Jason Tishler <jason@tishler.net>
5070 * libc/stdlib/mallocr.c: Include <limits.h>.
5071 (request2size): Change macro to do
5072 unsigned long comparisons and avoid signed overflow.
5073 (mALLOc): Add overflow check for the number of bytes to allocate.
5076 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
5078 * configure.host: Add check for --enable-newlib-io-pos-args
5079 and define WANT_IO_POS_ARGS flag if enabled. Define
5080 the flag by default for x86-linux configurations.
5081 * configure.in: Add support for --enable-newlib-io-pos-args.
5082 * libc/configure.in: Ditto.
5083 * configure: Regenerated.
5084 * libc/configure: Ditto.
5085 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
5086 vfprintf.c and vfiprintf.c.
5087 * libc/stdio/Makefile.in: Regenerated.
5088 * libc/stdio/vfprintf.c: Add positional argument support that
5089 is enabled by compiling with -DWANT_IO_POS_ARGS.
5091 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
5093 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
5094 based on __mips_soft_float rather than __mips64.
5095 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
5096 of both 32-bit and 64-bit code.
5098 2002-08-04 Christopher Faylor <cgf@redhat.com>
5100 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
5101 arguments for popen to match similar functionality in fopen.
5103 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
5105 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
5107 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
5109 * libc/sys/linux/Makefile.am: Add aio64.c.
5110 * libc/sys/linux/Makefile.in: Regenerated.
5111 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
5112 * libc/sys/linux/aio64.c: New file.
5114 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5116 * libc/include/sys/param.h (MAX, MIN): Added macros.
5117 * libc/sys/linux/Makefile.am: Add new files.
5118 * libc/sys/linux/Makefile.in: Regenerated.
5119 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5120 * libc/sys/linux/inode.c (fchdir): Added syscall.
5121 * libc/sys/linux/ftw.c: New file.
5122 * libc/sys/linux/ftw64.c: Ditto.
5123 * libc/sys/linux/getwd.c: Ditto.
5124 * libc/sys/linux/scandir64.c: Ditto.
5125 * libc/sys/linux/strverscmp.c: Ditto.
5126 * libc/sys/linux/versionsort.c: Ditto.
5127 * libc/sys/linux/versionsort64.c: Ditto.
5129 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
5131 * libc/string/strings.tex: Fix typo for memccpy.
5133 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5135 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
5136 * libc/sys/linux/sys/types.h (off64_t): Definition added.
5138 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5140 * libc/sys/linux/Makefile.am: Add fclean.c.
5141 * libc/sys/linux/Makefile.in: Regenerated.
5142 * libc/sys/linux/fclean.c: New file.
5144 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5146 * libc/sys/linux/Makefile.am: Add confstr.c.
5147 * libc/sys/linux/Makefile.in: Regenerated.
5148 * libc/sys/linux/confstr.c: New file.
5149 * libc/sys/linux/confstr.h: Ditto.
5150 * libc/sys/linux/sys/unistd.h: Include <features.h> and
5151 <bits/environments.h>.
5153 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
5155 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
5156 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
5157 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
5158 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
5159 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
5160 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
5162 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5164 * libc/sys/linux/Makefile.am: Add new files.
5165 * libc/sys/linux/Makefile.in: Regenerated.
5166 * libc/sys/linux/fstab.c: New file.
5167 * libc/sys/linux/fstatvfs.c: Ditto.
5168 * libc/sys/linux/fstatvfs64.c: Ditto.
5169 * libc/sys/linux/internal_statvfs.c: Ditto.
5170 * libc/sys/linux/mntent.c: Ditto.
5171 * libc/sys/linux/mntent_r.c: Ditto.
5172 * libc/sys/linux/statvfs.c: Ditto.
5173 * libc/sys/linux/statvfs64.c: Ditto.
5174 * libc/sys/linux/include/paths.h: Ditto.
5175 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
5176 with double-underscore weak-aliases.
5177 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
5179 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
5181 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
5182 to use _sig_func_ptr type casted constants.
5183 (_sig_func_ptr): Typedef moved to sys/signal.h.
5184 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
5185 For __rtems, use POSIX definition, otherwise default to ANSI.
5186 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
5188 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
5190 * configure.host: Recognize m6811-elf and m6812-elf targets.
5191 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
5192 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
5193 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
5194 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
5195 according to __INT_MAX__.
5196 (_POINTER_INT): Define to short.
5197 * libc/machine/m68hc11/Makefile.am: New file.
5198 * libc/machine/m68hc11/Makefile.in: New file.
5199 * libc/machine/m68hc11/configure.in: New file.
5200 * libc/machine/m68hc11/configure: New file.
5201 * libc/machine/m68hc11/aclocal.m4: New file.
5202 * libc/machine/m68hc11/setjmp.S: New file.
5204 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5206 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
5208 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
5209 * libc/stdlib/Makefile.in: Regenerated.
5210 * libc/stdlib/strdup.c: Removed.
5211 * libc/stdlib/strdup_r.c: Removed.
5212 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
5213 mempcpy.c, strndup.c, and strndup_r.c.
5214 * libc/string/Makefile.in: Regenerated.
5215 * libc/string/memccpy.c: New file.
5216 * libc/string/mempcpy.c: Ditto.
5217 * libc/string/strndup.c: Ditto.
5218 * libc/string/strndup_r.c: Ditto.
5219 * libc/string/strdup.c: New file moved from stdlib.
5220 * libc/string/strdup_r.c: Ditto.
5221 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
5223 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
5225 * libc/include/stdio.h: Move fcloseall prototype within
5226 #ifndef _REENT_ONLY section.
5227 * libc/sys/linux/Makefile.am: Add new files.
5228 * libc/sys/linux/Makefile.in: Regenerated.
5229 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
5230 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
5231 * libc/sys/linux/sys/types.h: Add ino64_t type.
5232 * libc/sys/linux/ctermid.c: New file.
5233 * libc/sys/linux/ttyname_r.c: Ditto.
5234 * libc/sys/linux/readdir64.c: Ditto.
5236 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5238 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
5239 * libc/stdio/Makefile.am: Added fcloseall.c support.
5240 * libc/stdio/Makefile.in: Regenerated.
5241 * libc/stdio/fcloseall.c: New file.
5242 * libc/stdio64/Makefile.am: Remove missing .def references.
5243 * libc/stdio64/Makefile.in: Regenerated.
5245 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
5247 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
5248 * libc/machine/powerpc/times.c: New file.
5249 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
5250 * libc/machine/powerpc/Makefile.in: Regenerated.
5252 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
5254 * libc/machine/powerpc/time.c: New file.
5255 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
5257 * libc/machine/powerpc/Makefile.in: Regenerated.
5259 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5261 * libc/libc.texinfo: Change copyright notices to Red Hat from
5263 * libm/libm.texinfo: Likewise.
5264 * README: Change docs URL to
5265 http://sources.redhat.com/newlib/docs.html.
5267 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5269 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
5270 * libc/sys/linux/Makefile.in: Regenerated.
5271 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
5272 * libc/sys/linux/io.c: Add ftruncate syscall.
5273 * libc/sys/linux/fpathconf.c: New file.
5274 * libc/sys/linux/pathconf.c: Ditto.
5275 * libc/sys/linux/linux_fsinfo.h: Ditto.
5276 * libc/sys/linux/sys/unistd.h: Ditto.
5278 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5280 * libc/stdio64/Makefile.am: Remove missing files.
5281 * libc/stdio64/Makefile.in: Regenerated.
5283 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
5285 * libc/include/sys/config.h[__i386__][__linux__]: Define
5286 _LARGE64FILE_SOURCE to 1.
5287 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
5288 * libc/sys/linux/Makefile.in: Regenerated.
5289 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
5290 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
5291 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
5292 of <linux/resource.h>.
5293 * libc/sys/linux/getrlimit64.c: New file.
5294 * libc/sys/linux/setrlimit64.c: Ditto.
5296 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
5298 * libc/argz/argz_replace.c: Include buf_findstr.h.
5299 * libc/argz/buf_findstr.c: Likewise.
5300 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
5302 * libc/argz/envz_get.c: Likewise.
5303 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
5304 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
5305 * libc/stdlib/getsubopt.3: New file.
5306 * libc/stdlib/getsubopt.c: New file.
5307 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
5310 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
5312 * configure.host(stdio64_dir): New setting that is used to
5313 enable building of new stdio64 directory.
5314 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
5316 (stmp-stdio64,stdio64.texi): New targets to optionally add in
5317 stdio64 info to info files.
5318 * libc/Makefile.in: Regenerated.
5319 * libc/configure: Ditto.
5320 * libc/configure.in: Add configuration variables that are set
5321 when stdio64 is selected as subdir in configure.host.
5322 * libc/libc.texinfo: Add optional menu item for Stdio64, based
5323 on whether STDIO64 flag is set or not.
5324 * libc/sys.tex: Add optional stdio64 syscalls based on whether
5325 STDIO64 flag is set or not.
5326 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
5328 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
5329 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
5330 (__SL64): New file flag indicating file is opened via fopen64.
5331 * libc/include/sys/_types.h(_off64_t): Added.
5332 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
5333 * libc/include/sys/reent.h(struct __sFILE64): New file structure
5334 for 64-bit offset large file support.
5335 (__FILE): New intermediate type either set to struct __sFILE64 or
5336 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
5337 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
5338 * libc/reent/Makefile.in: Regenerated.
5339 * libc/reent/fstat64r.c: New file.
5340 * libc/reent/lseek64r.c: Ditto.
5341 * libc/reent/open64r.c: Ditto.
5342 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
5343 based on whether STDIO64 flag is set.
5344 * libc/stdio/stdio.tex: Add blank line.
5345 * libc/stdio64/Makefile.am: New file.
5346 * libc/stdio64/Makefile.in: Ditto.
5347 * libc/stdio64/fgetpos64.c: Ditto.
5348 * libc/stdio64/fopen64.: Ditto.
5349 * libc/stdio64/freopen64.c: Ditto.
5350 * libc/stdio64/fseeko64.c: Ditto.
5351 * libc/stdio64/fsetpos64.c: Ditto.
5352 * libc/stdio64/ftello64.c: Ditto.
5353 * libc/stdio64/local64.h: Ditto.
5354 * libc/stdio64/stdio64.c: Ditto.
5355 * libc/stdio64/stdio64.tex: Ditto.
5356 * libc/stdio64/tmpfile64.c: Ditto.
5357 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
5360 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
5362 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
5363 if LIBC_EXTRA_LIB is present.
5364 * libc/Makefile.in: Regenerated.
5365 * libc/libc.texinfo: Add blank line.
5366 * libc/argz/Makefile.am: Add doc support.
5367 * libc/search/Makefile.am: Ditto.
5368 * libc/argz/Makefile.in: Regenerated.
5369 * libc/search/Makefile.in: Ditto.
5370 * libc/misc/misc.tex: Add ffs function.
5371 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
5373 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5375 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
5376 definition that was removed in error.
5378 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5380 * libc/include/machine/ieeefp.h: Change to only define
5381 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
5382 __IEEE_LITTLE_ENDIAN must be defined for each platform).
5383 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
5384 remove redundant floating point definitions.
5386 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5388 * libc/sys/linux/callocr.c: Fix so code references
5391 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
5393 * libc/sys/linux/Makefile.am: Add new files.
5394 * libc/sys/linux/Makefile.in: Regenerated.
5395 * libc/sys/linux/bp-sym.h: Moved to include directory.
5396 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
5397 * libc/sys/linux/inode.c: Set _LIBC to 1.
5398 * libc/sys/linux/mq_close.c: Ditto.
5399 * libc/sys/linux/mq_getattr.c: Ditto.
5400 * libc/sys/linux/mq_open.c: Ditto.
5401 * libc/sys/linux/mq_receive.c: Ditto.
5402 * libc/sys/linux/mq_send.c: Ditto.
5403 * libc/sys/linux/mq_setattr.c: Ditto.
5404 * libc/sys/linux/mq_unlink.c: Ditto.
5405 * libc/sys/linux/calloc.c: New file.
5406 * libc/sys/linux/callocr.c: Ditto.
5407 * libc/sys/linux/cfreer.c: Ditto.
5408 * libc/sys/linux/config.h: Ditto.
5409 * libc/sys/linux/free.c: Ditto.
5410 * libc/sys/linux/freer.c: Ditto.
5411 * libc/sys/linux/msize.c: Ditto.
5412 * libc/sys/linux/msizer.c: Ditto.
5413 * libc/sys/linux/mstats.c: Ditto.
5414 * libc/sys/linux/mtrim.c: Ditto.
5415 * libc/sys/linux/mtrimr.c: Ditto.
5416 * libc/sys/linux/pvallocr.c: Ditto.
5417 * libc/sys/linux/realloc.c: Ditto.
5418 * libc/sys/linux/reallocr.c: Ditto.
5419 * libc/sys/linux/thread-m.h: Ditto.
5420 * libc/sys/linux/vallocr.c: Ditto.
5421 * libc/sys/linux/bp-checks.h: Ditto.
5422 * libc/sys/linux/libc-symbols.h: Ditto.
5423 * libc/sys/linux/libc-tsd.h: Ditto.
5424 * libc/sys/linux/libintl.h: Ditto.
5425 * libc/sys/linux/malign.c: Ditto.
5426 * libc/sys/linux/malignr.c: Ditto.
5427 * libc/sys/linux/mallinfor.c: Ditto.
5428 * libc/sys/linux/malloc.c: Ditto.
5429 * libc/sys/linux/mallocr.c: Ditto.
5430 * libc/sys/linux/malloptr.c: Ditto.
5431 * libc/sys/linux/mallstatsr.c: Ditto.
5432 * libc/sys/linux/mcheck.c: Ditto.
5433 * libc/sys/linux/mhooks.h: Ditto.
5434 * libc/sys/linux/include/bp-sym.h: Ditto.
5435 * libc/sys/linux/include/malloc.h: Ditto.
5436 * libc/sys/linux/include/mcheck.h: Ditto.
5437 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
5439 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
5440 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
5441 * libc/sys/linux/machine/i386/getpagesize.c: New file.
5442 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
5443 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5444 * libc/sys/linux/machine/i386/sysdep.h: New file.
5445 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
5446 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
5447 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
5449 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
5451 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
5452 instead of <asm/siginfo.h>.
5453 * libc/sys/linux/sys/signal.h: Change to include various linux
5454 <bits/xxx.h> header files, rather than <linux/signal.h> so as
5455 to work with multiple releases of glibc header files.
5457 2002-07-11 Chris Demetriou <cgd@broadcom.com>
5459 * testsuite/newlib.search/hsearchtest.c: New file to test
5461 * testsuite/newlib.search/hsearchtest.exp: Likewise.
5463 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
5465 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
5467 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
5469 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
5471 * libc/include/math.h (MAXFLOAT): Added.
5473 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
5475 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
5476 Make strcmp.S unconditional.
5477 * libc/machine/sh/Makefile.in: Regenerate.
5478 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
5479 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
5482 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5484 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
5485 define before including <sys/lock.h>.
5487 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5489 * libc/include/utime.h: Add include of <_ansi.h>.
5490 * libc/sys/linux/Makefile.am: Add utimes.c.
5491 * libc/sys/linux/Makefile.in: Regenerated.
5492 * libc/sys/linux/inode.c(__umask): New static routine.
5493 (umask): Written to use __umask and attempt to thread lock.
5494 (getumask): New function written to use __umask and thread lock.
5495 * libc/sys/linux/utimes.c: New file.
5496 * libc/sys/linux/sys/time.h: Fix utimes prototype.
5497 * libc/sys/linux/sys/utime.h: New file.
5499 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
5501 * libtool.m4: New file.
5502 * libc/sys/linux/process.c: Implement vfork in terms of fork,
5503 rather than as a syscall.
5505 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5507 * libc/include/stdio.h: Add new prototypes.
5508 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
5509 * libc/stdio/Makefile.in: Regenerated.
5510 * libc/stdio/fseek.c: Add fseeko documentation.
5511 * libc/stdio/ftell.c: Add ftello documentation.
5512 * libc/stdio/fseeko.c: New file.
5513 * libc/stdio/ftello.c: New file.
5515 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
5517 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
5518 * libc/stdio/Makefile.in: Regenerated.
5519 * libc/stdio/asprintf.c: New file.
5520 * libc/stdio/vasprintf.c: Ditto.
5521 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
5522 the buffer for asprintf support.
5523 * libc/stdio/sprintf.c: Add asprintf documentation.
5524 * libc/stdio/vfprintf.c: Add vasprintf documentation.
5525 * libc/include/stdio.h: Add new prototypes.
5527 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
5529 * libc/search/hcreate.c: Remove advertising clause from license.
5530 * libc/search/hcreate_r.c: Likewise.
5532 2002-07-02 Chris Demetriou <cgd@broadcom.com>
5534 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
5535 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
5536 Check that one of them is defined and error out if not.
5537 Add any platforms defined in <machine/ieeefp.h> that are missing.
5538 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
5539 (DB_LITTLE_ENDIAN): New defines.
5540 * libc/search/hash.c: Replace all incorrect checks for
5541 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
5542 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
5543 * libc/search/hash_page.c: Likewise.
5545 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
5547 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
5549 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
5551 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
5552 * libc/include/time.h: Same.
5553 * libc/include/string.h: Same.
5554 * libc/include/stdlib.h: Same.
5555 * libc/include/signal.h: Same.
5556 * libc/include/setjmp.h: Same.
5557 * libc/include/math.h: Same.
5558 * libc/include/locale.h: Same.
5559 * libc/include/ctype.h: Same.
5560 * libc/include/machine/setjmp.h: Same.
5561 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
5564 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5566 * libc/include/sys/_types.h: Define _ssize_t as int if int is
5567 32-bits, otherwise define it as long.
5568 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
5569 and define ssize_t as _ssize_t.
5570 * libc/reent/readr.c: Change return type to _ssize_t.
5571 * libc/reent/writer.c: Ditto.
5572 * libc/sys/linux/Makefile.am: Add aio.c.
5573 * libc/sys/linux/Makefile.in: Regenerated.
5574 * libc/sys/linux/aio.c: New file.
5575 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
5576 * libm/common/fdlibm.h: Undef __P before defining it.
5578 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5580 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
5581 exponent_is_even_int variable. Handle case where x is
5582 negative, and y is an odd integer.
5583 * libm/mathfp/sf_pow.c (powf): Likewise.
5585 * libm/mathfp/er_lgamma.c: Remove __kernel references.
5586 * libm/mathfp/erf_lgamma.c: Likewise.
5587 * libm/mathfp/s_tgamma.c: Likewise.
5588 * libm/mathfp/sf_tgamma.c: Likewise.
5590 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
5592 * libc/sys/linux/Makefile.am: Add new clock routines.
5593 * libc/sys/linux/Makefile.in: Regenerated.
5594 * libc/sys/linux/clock_getres.c: New file.
5595 * libc/sys/linux/clock_gettime.c: Ditto.
5596 * libc/sys/linux/clock_settime.c: Ditto.
5597 * libc/sys/linux/hp-timing.h: Ditto.
5598 * libc/sys/linux/libc-internal.h: Ditto.
5599 * libc/sys/linux/sysconf.c: Fix typo.
5600 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
5601 * libc/sys/linux/machine/hp-timing.h: New file.
5602 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
5603 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5604 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
5605 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
5606 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
5607 * libc/sys/linux/sys/linux_time.h: New file.
5608 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
5609 replace with <sys/linux_time.h>.
5611 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
5613 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
5615 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5617 * libc/sys/linux/Makefile.am: Consolidate additional items under
5619 * libc/sys/linux/Makefile.in: Regenerated.
5621 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
5623 * libc/sys/linux/sethostname.c: New file.
5624 * libc/sys/linux/Makefile.am: Add sethostname.c support.
5625 * libc/sys/linux/Makefile.in: Regenerated.
5627 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5629 * libc/search/db_local.h: New file.
5630 * libc/include/db.h: Remove.
5631 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
5632 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
5634 * libc/search/hash_bigkey.c: Likewise.
5635 * libc/search/hash_buf.c: Likewise.
5636 * libc/search/hash_func.c: Likewise.
5637 * libc/search/hash_log2.c: Likewise.
5638 * libc/search/hash_page.c: Likewise.
5640 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
5642 * libc/machine/sh/strlen.S: New file.
5643 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
5644 * libc/machine/sh/Makefile.am: Regenerate.
5646 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5648 * libc/sys/linux/gethostname.c: Change name to __gethostname and
5649 add gethostname alias.
5651 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
5653 * libc/include/math.h: Remove <sys/types.h>.
5654 (__dmath): Use __ULong instead of __uint32_t.
5655 * libc/include/sys/reent.h: If long or int is not 32-bits,
5656 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
5657 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
5658 * libm/common/fdlibm.h: Ditto.
5660 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
5662 * libc/include/ndbm.h: Remove.
5663 * libc/search/ndbm.c: Remove.
5665 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
5667 * libc/stdio/fseek.c (fseek): Fix braces.
5669 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
5671 * libc/time/strftime.c (strftime): Add %e format specifier.
5673 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
5675 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
5678 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
5680 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
5681 (BYTE_ORDER): Define as appropriate for the target.
5683 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5685 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
5687 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
5689 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5691 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
5692 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
5693 [HAVE_GETDATE](getdate_err): New error code.
5694 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
5695 * libc/stdio/Makefile.in: Regenerated.
5696 * libc/stdio/getdelim.c: New file.
5697 * libc/stdio/getline.c: Ditto.
5698 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
5699 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
5700 * libc/sys/linux/Makefile.in: Regenerated.
5701 * libc/sys/linux/getdate.c: New file.
5702 * libc/sys/linux/getdate_err.c: Ditto.
5703 * libc/sys/linux/ntp_gettime.c: Ditto.
5704 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
5705 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
5707 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5709 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
5710 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
5711 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
5712 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
5713 * libc/include/sys/param.h: Remove i386 case which is handled
5715 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
5716 definitions in case they are already defined.
5717 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
5718 _IEEE_LITTLE_ENDIAN flags.
5719 * libc/include/sys/reent.h: Change __uint32_t references to
5721 (_REENT_GETDATE_REENT_P): New macro.
5722 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
5723 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
5724 * libc/search/hash.h: Add default setting of BYTE_ORDER,
5725 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
5726 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
5727 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
5728 pid_t, off_t, loff_t, caddr_t, and daddr_t type
5729 definitions which are done by subsequent glibc headers.
5730 Add macro definitions to prevent subsequent header files from
5731 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
5732 intptr_t to after glibc definitions of types they are based on.
5734 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
5736 * libc/include/errno.h: Protect from multiple inclusion.
5738 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
5740 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
5742 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
5744 * Makefile.am (LIB_OBJECTLISTS): Add
5745 libc/search/objectlist.awk.in.
5746 * libc/Makefile.am (SUBDIRS): Add search.
5747 (SUBLIBS): Add search/libsearch.la.
5748 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
5749 * libc/search: New directory.
5750 * libc/search/Makefile.am: New file.
5751 * libc/search/extern.h: New file.
5752 * libc/search/hash.c: New file.
5753 * libc/search/hash.h: New file.
5754 * libc/search/hash_bigkey.c: New file.
5755 * libc/search/hash_buf.c: New file.
5756 * libc/search/hash_func.c: New file.
5757 * libc/search/hash_log2.c: New file.
5758 * libc/search/hash_page.c: New file.
5759 * libc/search/hcreate.3: New file.
5760 * libc/search/hcreate.c: New file.
5761 * libc/search/hcreate_r.c: New file.
5762 * libc/search/ndbm.c: New file.
5763 * libc/search/page.h: New file.
5764 * libc/search/tdelete.c: New file.
5765 * libc/search/tdestroy.c: New file.
5766 * libc/search/tfind.c: New file.
5767 * libc/search/tsearch.3: New file.
5768 * libc/search/tsearch.c: New file.
5769 * libc/search/twalk.c: New file.
5770 * libc/include/db.h: New file.
5771 * libc/include/ndbm.h: New file.
5772 * libc/include/search.h: New file.
5773 * libc/include/sys/queue.h: New file.
5774 * libc/include/sys/cdefs.h: New file.
5775 * libc/include/sys/param.h
5776 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
5777 LITTLE_ENDIAN or BIG_ENDIAN.
5778 * libc/include/sys/errno.h (EFTYPE): New macro.
5779 * libc/search/bsearch.c: Move from libc/stdlib.
5780 * libc/search/qsort.c: Likewise.
5781 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
5783 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
5784 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
5786 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
5788 * libc/sys/linux/Makefile.am: Add support for message queue routines,
5789 ipc routines, and ftok.
5790 * libc/sys/linux/Makefile.in: Regenerated.
5791 * libc/sys/linux/ftok.c: New file.
5792 * libc/sys/linux/ipc.c: Ditto.
5793 * libc/sys/linux/mq_close.c: Ditto.
5794 * libc/sys/linux/mq_getattr.c: Ditto.
5795 * libc/sys/linux/mq_notify.c: Ditto.
5796 * libc/sys/linux/mq_open.c: Ditto.
5797 * libc/sys/linux/mq_receive.c: Ditto.
5798 * libc/sys/linux/mq_send.c: Ditto.
5799 * libc/sys/linux/mq_setattr.c: Ditto.
5800 * libc/sys/linux/mq_unlink.c: Ditto.
5801 * libc/sys/linux/mqlocal.h: Ditto.
5802 * libc/sys/linux/include/mqueue.h: Ditto.
5803 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
5806 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
5808 * libm/common/sf_lround.c (round): Change name to: (lround).
5809 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
5812 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5814 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
5816 (newlib_pass_fail): Change to compile and run only one file.
5817 * testsuite/newlib.locale/locale.exp: Use new
5818 newlib_pass_fail_all procedure.
5819 * testsuite/newlib.string/string.exp: Likewise.
5821 2002-06-18 Dave Brolley <brolley@redhat.com>
5823 From Catherine Moore, Michael Meissner, Richard Sandiford:
5824 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
5826 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
5827 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
5828 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
5829 * configure.host: Support frv-*-*.
5830 * libc/machine/frv/Makefile.am: New file.
5831 * libc/machine/frv/configure.in: New file.
5832 * libc/machine/frv/setjmp.S: New file.
5834 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
5836 * libc/include/ctype.h: Remove isblank macro.
5838 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
5839 * libc/ctype/isblank.c: New file.
5840 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
5841 declaration. Add isblank macro.
5843 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
5845 * testsuite/newlib.stdlib/atexit.c: New file.
5846 * testsuite/newlib.stdlib/atexit.exp: Ditto.
5847 * testsuite/newlib.string/tstring.c: Change default start size
5848 to something more reasonable for embedded platforms.
5850 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5852 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
5854 * libc/argz: New directory.
5855 * libc/argz/*: New files.
5856 * libc/argz/argz_add.c: New file.
5857 * libc/argz/argz_add_sep.c: New file.
5858 * libc/argz/argz_append.c: New file.
5859 * libc/argz/argz_count.c: New file.
5860 * libc/argz/argz_create.c: New file.
5861 * libc/argz/argz_create_sep.c: New file.
5862 * libc/argz/argz_delete.c: New file.
5863 * libc/argz/argz_extract.c: New file.
5864 * libc/argz/argz_insert.c: New file.
5865 * libc/argz/argz_next.c: New file.
5866 * libc/argz/argz_replace.c: New file.
5867 * libc/argz/argz_stringify.c: New file.
5868 * libc/argz/buf_findstr.c: New file.
5869 * libc/argz/envz_add.c: New file.
5870 * libc/argz/envz_entry.c: New file.
5871 * libc/argz/envz_get.c: New file.
5872 * libc/argz/envz_merge.c: New file.
5873 * libc/argz/envz_remove.c: New file.
5874 * libc/argz/envz_strip.c: New file.
5875 * libc/include/argz.h: New file.
5876 * libc/include/envz.h: New file.
5877 * Makefile.am (LIBC_OBJECTLISTS): Add
5878 libc/argz/objectlist.awk.in.
5879 * libc/Makefile.am (SUBDIRS): Add argz.
5880 (SUBLIBS): Add argz/libargz.la.
5881 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
5882 * libc/include/errno.h: Add error_t typedef.
5884 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
5886 * libc/include/stdlib.h: Add _Exit prototype.
5887 * libc/stdlib/Makefile.am: Add _Exit.c support.
5888 * libc/stdlib/Makefile.in: Ditto.
5889 * libc/stdlib/_Exit.c: New file.
5891 2002-06-13 Stephen L. Moshier <steve@moshier.net>
5893 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
5894 x is close to -1.0 and y is very large to use ax (absolute value)
5896 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
5898 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
5900 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
5901 Fix clobbering bytes before destination if src and dst have same
5902 non-zero misalignment.
5904 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
5905 Fixed bug in writing end of set region.
5907 2002-06-10 Christopher Faylor <cgf@redhat.com>
5909 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
5910 spawnve declaration.
5912 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
5914 * libm/common/s_fdim.c: New file.
5915 * libm/common/s_fma.c: Likewise.
5916 * libm/common/s_fmax.c: Likewise.
5917 * libm/common/s_fmin.c: Likewise.
5918 * libm/common/s_fpclassify.c: Likewise.
5919 * libm/common/s_lrint.c: Likewise.
5920 * libm/common/s_lround.c: Likewise.
5921 * libm/common/s_nearbyint.c: Likewise.
5922 * libm/common/s_remquo.c: Likewise.
5923 * libm/common/s_round.c: Likewise.
5924 * libm/common/s_scalbln.c: Likewise.
5925 * libm/common/s_signbit.c: Likewise.
5926 * libm/common/s_trunc.c: Likewise.
5927 * libm/common/sf_fdim.c: Likewise.
5928 * libm/common/sf_fma.c: Likewise.
5929 * libm/common/sf_fmax.c: Likewise.
5930 * libm/common/sf_fmin.c: Likewise.
5931 * libm/common/sf_lrint.c: Likewise.
5932 * libm/common/sf_lround.c: Likewise.
5933 * libm/common/sf_nearbyint.c: Likewise.
5934 * libm/common/sf_remquo.c: Likewise.
5935 * libm/common/sf_round.c: Likewise.
5936 * libm/common/sf_scalbln.c: Likewise.
5937 * libm/common/sf_trunc.c: Likewise.
5938 * libm/math/w_exp2.c: Likewise.
5939 * libm/math/w_tgamma.c: Likewise.
5940 * libm/math/wf_exp2.c: Likewise.
5941 * libm/math/wf_tgamma.c: Likewise.
5942 * libm/mathfp/s_exp2.c: Likewise.
5943 * libm/mathfp/s_tgamma.c: Likewise.
5944 * libm/mathfp/sf_exp2.c: Likewise.
5945 * libm/mathfp/sf_tgamma.c: Likewise.
5946 * libm/math/er_gamma.c: Fix return value.
5947 * libm/math/erf_gamma.c: Likewise.
5948 * libm/mathfp/er_gamma.c: Likewise.
5949 * libm/mathfp/erf_gamma.c: Likewise.
5950 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
5951 declarations and macros.
5952 Regenerated all Makefile.in, aclocal.m4 and configure files to
5953 use new libtool macros in top-level libtool.m4
5955 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
5957 * libc/include/string.h[__linux__]: Add strsignal prototype.
5958 * libc/include/sys/lock.h: New file with default locking support.
5959 * libc/include/sys/reent.h: Add signal buffer support for strsignal
5961 * libc/posix/Makefile.am: Add support for readdir_r.c.
5962 * libc/posix/Makefile.in: Regenerated.
5963 * libc/posix/closedir.c: Add locking support and hash table cleanup.
5964 * libc/posix/opendir.c: Add lock support.
5965 * libc/posix/readdir.c: Ditto.
5966 * libc/posix/rewinddir.c: Ditto.
5967 * libc/posix/scandir.c: Ditto.
5968 * libc/posix/seekdir.c: Ditto.
5969 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
5970 clean up leftover hash table entries.
5971 * libc/posix/readdir_r.c: New file.
5972 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
5973 * libc/sys/linux/Makefile.in: Regenerated.
5974 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
5975 * libc/sys/linux/sys/signal.h: Add psignal prototype.
5976 * libc/sys/linux/psignal.c: New file.
5977 * libc/sys/linux/strsignal.c: Ditto.
5979 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
5981 * libc/include/sys/types.h: Don't define dev_t when compiling for
5984 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
5986 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
5987 make siglist.inc dependent on sig.c instead of signal.c.
5988 * libc/sys/linux/Makefile.in: Regenerated.
5989 * libc/sys/linux/sig.c: Rename from signal.c and change code to
5990 use NSIG instead of _NSIG.
5991 * libc/sys/linux/sigaction.c: New file.
5992 * libc/sys/linux/signal.c: Changed to be linux signal() function
5993 so as to override regular newlib default signal.c.
5994 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
5995 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
5996 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
5997 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
5998 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
5999 default linux sigset_t typedef by defining it equal to __sigset_t.
6000 * libc/unix/sigset.c: Add check so code isn't compiled on systems
6001 with a sigset_t that isn't implemented with a single int.
6003 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
6005 * libc/sys/linux/Makefile.am: Add support for new files.
6006 * libc/sys/linux/Makefile.in: Regenerated.
6007 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
6008 * libc/sys/linux/signal.c: Change to use real-time syscalls for
6009 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
6010 it is in a separate file now.
6011 * libc/sys/linux/machine/i386/Makefile.am
6012 * libc/sys/linux/machine/i386/Makefile.in
6013 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
6014 * libc/sys/linux/sigaction.c: New file.
6015 * libc/sys/linux/sigqueue.c: Ditto.
6016 * libc/sys/linux/sigwait.c: Ditto.
6017 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
6018 * libc/sys/linux/kernel_sigaction.h: Ditto.
6020 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
6022 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
6024 * libc/sys/linux/Makefile.in: Regenerated.
6025 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
6026 tcgetpgrp(), and tcsetpgrp() functions.
6027 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
6028 to get __MAX_BAUD rate.
6029 * libc/sys/linux/machine/i386/include/termios.h: New file.
6030 * libc/include/machine/termios.h: Ditto.
6031 * libc/sys/linux/cfspeed.c: Ditto.
6032 * libc/sys/linux/tcsendbrk.c: Ditto.
6034 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
6036 * libc/include/string.h: Add strnlen and strerror_r prototypes.
6037 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
6038 * libc/string/Makefile.in: Regenerated.
6039 * libc/string/strerror_r.c: New file.
6040 * libc/string/strnlen.c: New file.
6041 * libc/sys/linux/Makefile.am: Add rename.c.
6042 * libc/sys/linux/Makefile.in: Regenerated.
6043 * libc/sys/linux/rename.c: New file to override default rename.
6045 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6047 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
6048 * libc/sys/linux/sys/time.h: Add conversion macros.
6049 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
6050 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
6051 * libc/sys/linux/gethostname.c: New file.
6052 * libc/sys/linux/seteuid.c: New file.
6053 * libc/sys/linux/sysctl.c: New file.
6055 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6057 * libc/string/Makefile.am: Add support for strsep.c.
6058 * libc/string/Makefile.in: Regenerated.
6059 * libc/string/strsep.c: New file.
6060 * libc/string/strtok.c: Change to call __strtok_r service routine.
6061 * libc/string/strtok_r.c: Add __strtok_r routine which takes
6062 additional flag parameter regarding whether to skip leading delimeters.
6063 Change strtok_r to call __strtok_r.
6065 2002-05-23 Gareth Pearce <tilps@hotmail.com>
6067 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
6068 * libc/stdio/Makefile.in: Regenerated.
6069 * libc/stdio/setbuffer.c: New file.
6070 * libc/stdio/setlinebuf.c: New file.
6072 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6074 * libc/sys/linux/Makefile.am: Add resource.c.
6075 * libc/sys/linux/Makefile.in: Regenerated.
6076 * libc/sys/linux/resource.c: New file.
6077 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
6078 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
6079 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6080 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
6081 are now found in libc/sys/linux/resource.c.
6083 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
6085 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
6086 to use void * pointers and comply with Single Unix spec.
6087 * libc/string/bcmp.c: Change to use void * instead of char *.
6088 * libc/string/bcopy.c: Ditto.
6089 * libc/string/bzero.c: Ditto.
6091 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6093 * libc/sys/linux/shm_open.c: New file.
6094 * libc/sys/linux/shm_unlink.c: Ditto.
6095 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
6097 * libc/sys/linux/Makefile.in: Regenerated.
6098 * libc/sys/linux/sys/types.h: Add some additional checks to see
6099 if clock_t or time_t is already defined.
6101 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
6103 * Makefile.am: Don't pass $toollibdir down directly in
6104 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
6105 Pass it under the name: top_toollibdir.
6106 * Makefile.in: Regenerated.
6108 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6110 * libc/include/sys/types.h: Revert previous patch.
6112 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
6114 * libc/include/sys/types.h: Include cygwin/types.h always under
6115 Cygwin, not only if _POSIX_THREADS is defined.
6117 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
6119 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
6121 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
6123 * Makefile.am: Copy and install headers from sys/machine/include
6124 directory. Also pass $toollibdir to lower-level directories.
6125 * Makefile.in: Regenerated.
6126 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
6127 stderr to use _REENT macro instead of _impure_ptr directly.
6128 * libc/include/sys/config.h[__i386__][__linux__]: Define
6130 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
6131 call to __getreent() function if !__SINGLE_THREAD__ and
6132 __DYNAMIC_REENT__ is set.
6133 * libc/reent/Makefile.am: Add support for getreent.c.
6134 * libc/reent/Makefile.in: Regenerated.
6135 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
6136 * libc/sys/linux/Makefile.am: Add support for new files.
6137 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
6138 * libc/sys/linux/Makefile.in: Regenerated.
6139 * libc/sys/linux/configure: Ditto.
6140 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
6141 __close, __read, __write, __poll, __open, __lseek, __fcntl from
6142 their __libc_ counterparts.
6143 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
6144 and weak-alias to regular names.
6145 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
6146 to pread64 and __pread64.
6147 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
6148 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
6149 weak-alias to pwrite64.
6150 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
6151 __libc_sched_getscheduler, __libc_sched_get_priority_max,
6152 __libc_sched_get_priority_min, and __libc_sched_setschedule to
6153 name with __ instead of __libc_.
6154 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
6155 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
6156 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
6157 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
6159 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
6160 __libc_send to __send.
6161 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
6163 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
6164 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
6165 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
6166 type and typedef __jmp_buf to jmp_buf.
6167 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
6169 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6170 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
6172 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
6173 prefix for function macros and then use weak_alias() to regular names.
6174 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6175 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
6176 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
6177 to be flockfile() and funlockfile() respectively.
6178 * libc/sys/linux/sys/types.h
6179 * libc/reent/getreent.c: New file.
6180 * libc/sys/linux/flockfile.c: Ditto.
6181 * libc/sys/linux/funlockfile.c: Ditto.
6182 * libc/sys/linux/getreent.c: Ditto.
6183 * libc/sys/linux/pread.c: Ditto.
6184 * libc/sys/linux/pwrite.c: Ditto.
6185 * libc/sys/linux/raise.c: Ditto.
6186 * libc/sys/linux/system.c: Ditto.
6187 * libc/sys/linux/tcdrain.c: Ditto.
6188 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
6189 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
6190 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
6191 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6192 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
6194 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
6196 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
6197 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
6198 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
6199 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
6201 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
6203 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6204 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
6207 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
6209 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
6210 options when testing natively on i[3456]86-*-linux.
6212 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
6213 only one pass or fail per test file. Trim \r's from output
6214 values received from test programs. Remove support for named
6216 * testsuite/newlib.locale/UTF-8.exp: Update to support new
6217 newlib_check_output behaviour.
6218 * testsuite/newlib.locale/UTF-8.c: Likewise.
6220 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
6222 * libc/include/stdlib.h: Add on_exit prototype.
6223 * libc/include/sys/reent.h (struct _atexit): Add argument array
6224 and bits to track type of exit routine to support both on_exit
6226 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
6227 by default and change the setting of the atexit structure.
6228 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
6229 * libc/stdlib/on_exit.c: New file.
6230 * libc/stdlib/Makefile.am: Add support for on_exit.
6231 * libc/stdlib/Makefile.in: Regenerated.
6232 * libc/stdlib/atexit.c: Change to initialize types field.
6233 * libc/stdlib/exit.c: Change to look at types field for each
6234 exit routine and either call an atexit-style or an on_exit-style
6235 routine accordingly.
6237 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6239 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
6240 allow v specifier with n or L specifiers. For vector c format,
6241 move tmp declaration to the top.
6243 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
6245 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
6246 the original format specifier when looping for vectors to compensate
6247 for any changes made in vector %g format processing.
6248 Also add syntax checking for various invalid scenarios
6249 involving vector format extensions.
6250 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
6251 return code setting for vector formats. Also treat vector
6252 separator mismatch as a match error instead of an input error.
6253 Perform some syntax checking for vector formats.
6255 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6257 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
6258 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
6259 * libc/string/strlcat.c: New file.
6260 * libc/string/strlcpy.c: New file.
6262 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
6264 * libc/string/strchr.c: Fix comment typo.
6266 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
6268 * acinclude.m4: Add support for --enable-newlib-multithread.
6269 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
6270 --enable-newlib-multithread=no.
6272 * libc/stdio/getc_u.c: New file.
6273 * libc/stdio/getchar_u.c: New file.
6274 * libc/stdio/putc_u.c: New file.
6275 * libc/stdio/putchar_u.c: New file.
6276 * libc/include/stdio.h: Add declarations for getc_unlocked,
6277 getchar_unlocked, putc_unlocked and putchar_unlocked.
6278 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
6279 (CHEWOUT_FILES): Add new files' .def's.
6280 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
6282 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
6284 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6285 Also handle as single quad word when destination ends at last
6286 byte of first quad word. Fix byte selection in single quad code.
6288 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6290 * libc/include/sys/stdio.h: New file.
6291 * libc/sys/linux/sys/stdio.h: New file.
6292 * libc/include/stdio.h: Add declarations for flockfile,
6293 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
6294 * libc/stdio/clearerr.c: Add file locking.
6295 * libc/stdio/fclose.c: Likewise.
6296 * libc/stdio/feof.c: Likewise.
6297 * libc/stdio/ferror.c: Likewise.
6298 * libc/stdio/fflush.c: Likewise.
6299 * libc/stdio/fgetc.c: Likewise.
6300 * libc/stdio/fgetpos.c: Likewise.
6301 * libc/stdio/fgets.c: Likewise.
6302 * libc/stdio/fileno.c: Likewise.
6303 * libc/stdio/fputc.c: Likewise.
6304 * libc/stdio/fputs.c: Likewise.
6305 * libc/stdio/fread.c: Likewise.
6306 * libc/stdio/freopen.c: Likewise.
6307 * libc/stdio/fseek.c: Likewise.
6308 * libc/stdio/ftell.c: Likewise.
6309 * libc/stdio/fwrite.c: Likewise.
6310 * libc/stdio/getc.c: Likewise.
6311 * libc/stdio/putc.c: Likewise.
6312 * libc/stdio/setvbuf.c: Likewise.
6313 * libc/stdio/ungetc.c: Likewise.
6314 * libc/stdio/vfprintf.c: Likewise.
6316 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6318 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
6319 support for 'p' format. Fix code to print bytes for vector
6320 integer formats that do not specify 'h' or 'l'.
6321 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
6322 for 'p' specifier. Fix code to scan 16 bytes for vector integer
6323 formats that do not specify 'h' or 'l'.
6325 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
6327 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
6329 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
6330 (_sbrk): Add cast of return value.
6332 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6334 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
6335 (_REENT_L64A_BUF): New macro for accessing area.
6336 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
6337 * libc/stdlib/Makefile.in: Regenerated.
6338 * libc/stdlib/a64l.c: New file.
6339 * libc/stdlib/l64a.c: New file.
6341 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
6343 * libc/unix/pread.c: Fix typo for _pread_r.
6344 * libc/unix/pwrite.c: Fix type for _pwrite_r.
6345 * libc/sys/linux/pread64.c: Fix typo for read syscall.
6346 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
6348 2002-05-03 Christopher Faylor <cgf@redhat.com>
6350 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
6352 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
6354 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
6356 2002-05-01 Christopher Faylor <cgf@redhat.com>
6358 * utmp.h: Define more UNIX constants.
6360 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
6362 * Makefile.am: Add support for checking multilibs.
6364 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
6365 (SUBDEFS): Add LIBC_EXTRA_DEF.
6366 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
6367 (LIBC_EXTRA_DEF): Likewise.
6368 (extra_dir): Likewise.
6369 * libc/machine/xscale/machine: New directory.
6370 * libc/machine/xscale/machine/profile.h: New file.
6372 * Makefile.am (site.exp): Remove newlib_cflags. Add
6374 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
6375 * testsuite/lib/flags.exp: New file.
6376 * testsuite/lib/newlib.exp: Load flags.exp.
6377 (newlib_target_compile): Remove libgloss directory references.
6378 (newlib_init): Remove newlib_cflags references.
6380 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6382 * testsuite/lib/newlib.exp (newlib_target_compile): Change
6383 method of finding libgloss_target_dir.
6385 * Makefile.am (site.exp): Change host_alias, host_triplet,
6386 target_alias, target_triplet to refer to gcc's host and target
6387 variables (newlib's build and host variables).
6388 * testsuite/lib/newlib.exp (newlib_init): Change build
6389 references to host references, host references to target
6390 references to reflect Makefile.am changes.
6391 (newlib_target_compile): Likewise.
6392 (newlib_finish): Likewise.
6394 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6396 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
6398 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
6400 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
6401 (_system): New function. Ditto.
6402 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
6403 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
6406 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
6408 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
6409 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
6410 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
6411 * libc/sys/linux/Makefile.in: Regenerated.
6412 * libc/unix/Makefile.in: Ditto.
6413 * libc/sys/linux/pread64.c: New file.
6414 * libc/sys/linux/pwrite64.c: Ditto.
6415 * libc/unix/pread.c: Ditto.
6416 * libc/unix/pwrite.c: Ditto.
6418 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6420 * libc/sys/linux/Makefile.am: Add io64.c.
6421 * libc/sys/linux/Makefile.in: Regenerated.
6422 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
6423 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
6424 * libc/sys/linux/io64.c: New file.
6426 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
6428 * configure.in (CC_FOR_NEWLIB): New variable that
6429 bases on $(CC) and adds targ-include and libc/include as
6430 -isystem directives if they are not already part of $(CC).
6431 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
6433 * configure: Regenerated.
6434 * Makefile.in: Ditto.
6436 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
6438 * libc/sys/linux/Makefile.am: Add support for sched.c.
6439 * libc/sys/linux/Makefile.in: Regenerated.
6440 * libc/sys/linux/sched.c: New file.
6441 * libc/sys/linux/sys/types.h: Add struct timespec.
6443 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
6445 * configure.in (CC_FOR_BUILD): Set to gcc whether
6446 cross-compiling or not.
6447 (CC): Add -isystem's for targ-include and libc/include when they
6448 do not already appear in CC.
6450 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6452 * Makefile.am (check-DEJAGNU): New target.
6453 (site.exp): Likewise.
6454 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
6455 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
6456 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
6457 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
6458 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
6459 * testsuite: New directory.
6460 * testsuite/config: Likewise.
6461 * testsuite/lib: Likewise.
6462 * testsuite/newlib.locale: Likewise.
6463 * testsuite/newlib.string: Likewise.
6464 * testsuite/config/default.exp: New file.
6465 * testsuite/lib/checkoutput.exp: New file.
6466 * testsuite/lib/newlib.exp: New file.
6467 * testsuite/lib/passfail.exp: New file.
6468 * testsuite/newlib.locale/UTF-8.c: New file.
6469 * testsuite/newlib.locale/UTF-8.exp: New file.
6470 * testsuite/newlib.locale/locale.exp: New file.
6471 * testsuite/newlib.string/string.exp: New file.
6472 * testsuite/newlib.string/tstring.c: New file.
6474 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
6476 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
6477 * libc/sys/linux/Makefile.am: Add support for mmap.c.
6478 * libc/sys/linux/Makefile.in: Regenerated.
6479 * libc/sys/linux/mmap.c: New file.
6480 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
6481 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
6483 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6485 * acinclude.m4 (newlib_cflags): Remove include directories that
6486 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
6488 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
6490 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
6491 * libc/machine/xscale/memcmp.c: Ditto.
6492 * libc/machine/xscale/memcpy.c: Ditto.
6493 * libc/machine/xscale/memmove.c: Ditto.
6494 * libc/machine/xscale/memset.c: Ditto.
6495 * libc/machine/xscale/strchr.c: Ditto.
6496 * libc/machine/xscale/strcmp.c: Ditto.
6497 * libc/machine/xscale/strcpy.c: Ditto.
6498 * libc/machine/xscale/strlen.c: Ditto.
6500 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
6502 * libc/include/sys/config.h: Remove include of <limits.h>.
6503 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
6504 define INT_MAX and LONG_MAX. Use them in tests.
6506 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
6508 * configure.host: Add support for powerpc-eabialtivec*.
6509 * libc/include/malloc.h: Add include of <machine/malloc.h>.
6510 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
6511 * libc/include/machine/malloc.h: New file.
6512 * libc/include/machine/stdlib.h: Ditto.
6513 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
6514 * libc/machine/powerpc/Makefile.am: Add conditional objects and
6515 sources based on configuration.
6516 * libc/machine/powerpc/Makefile.in: Regenerated.
6517 * libc/machine/powerpc/configure: Ditto.
6518 * libc/machine/powerpc/configure.in: Add check for
6519 powerpc-eabialtivec* in which case add in additional source files.
6520 * libc/machine/powerpc/setjmp.S: Add altivec support.
6521 * libc/machine/powerpc/vec_calloc.c: New file.
6522 * libc/machine/powerpc/vec_free.c: Ditto.
6523 * libc/machine/powerpc/vec_malloc.c: Ditto.
6524 * libc/machine/powerpc/vec_mallocr.c: Ditto.
6525 * libc/machine/powerpc/vec_realloc.c: Ditto.
6526 * libc/machine/powerpc/machine/malloc.h: Ditto.
6527 * libc/machine/powerpc/machine/stdlib.h: Ditto.
6528 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
6529 with added altivec format specifiers.
6530 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
6531 added altivec format specifiers.
6533 2002-04-19 Joel Sherrill <joel@OARcorp.com>
6535 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
6536 while autoconf is trying to link main(){}.
6538 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6540 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
6541 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
6543 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6545 * libc/time/time.tex: Add tzset info.
6547 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6549 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6550 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6551 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6552 (tzname): Defined for all platforms.
6553 (daylight, timezone): Defined only for CYGWIN.
6554 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6556 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6557 environment variable is set.
6558 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6560 * libc/time/Makefile.in: Regenerated.
6561 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6562 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6563 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6564 * libc/time/local.h: New local header file.
6565 * libc/time/mktime.c (mktime): Add timezone support.
6566 * libc/time/mktm_r.c: New file which is the common engine
6567 for gmtime_r and lcltime_r. This code has timezone support.
6568 * libc/time/strftime.c (strftime): Add %Z timezone support.
6569 * libc/time/tzlock.c: New file containing timezone lock stubs.
6570 * libc/time/tzset.c: New file containing tzset() routine.
6571 * libc/time/tzset_r.c: New file containing _tzset_r and
6572 internal routine for calculating timezone changes for specified year.
6574 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6576 * configure.in (CRT0_DIR): Set to libc/.
6577 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6578 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6579 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6580 $(CRT1_DIR)/$(CRT1).
6581 * libc/machine/xstormy16/Makefile.in: Regenerated.
6582 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6583 * libc/machine/xstormy16/configure: Regenerated.
6585 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6587 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6588 fails, don't bail out, and try to correct next time.
6590 * libc/include/sys/config.h: Include limits.h.
6592 2002-04-12 Eric Norum <eric.norum@usask.com>
6594 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6595 routine to allow autoconf to determine that building executables
6597 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6598 (rtems_gxx_mutex_once): Ditto.
6600 2002-04-09 Tom Rix <trix@redhat.com>
6602 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6604 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6606 * libc/include/time.h: Fix strptime declaration.
6607 * libc/time/Makefile.am: Add strptime.c.
6608 * libc/time/Makefile.in: Regenerated.
6609 * libc/time/strptime.c: New file.
6611 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6613 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6614 siglongjmp prototype, and sigsetjmp macro definition.
6615 * libc/sys/linux/siglongjmp.c: New file.
6616 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6617 * libc/sys/linux/Makefile.in: Regenerated.
6619 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6621 * Makefile.am: Add support for installing crt1.o if one exists.
6622 * configure.host: Specify crt1.o for linux.
6623 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6624 * Makefile.in: Regenerated.
6626 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6627 Added for non-Cygwin, non-RTEMS configurations.
6628 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6629 * libc/sys/linux/Makefile.in: Regenerated.
6630 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6631 by gcc. This fixes problem with reconfiguring linux newlib build.
6632 * libc/sys/linux/sysconf.c: New file.
6634 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6636 * configure.host: Add support for machine subdirectory of
6638 * configure.in: Add check for sys machine subdirectory.
6639 * Makefile.am: Ditto.
6640 * configure: Regenerated.
6641 * Makefile.in: Ditto.
6642 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6643 * libc/sys/linux/sys/syscall.h: Ditto.
6644 * libc/sys/linux/sleep.c: New file.
6645 * libc/sys/linux/socket.c: Ditto.
6646 * libc/sys/linux/sockops.h: Ditto.
6647 * libc/sys/linux/stack.c: Ditto.
6648 * libc/sys/linux/usleep.c: Ditto.
6649 * libc/sys/linux/machine/Makefile.am: Ditto.
6650 * libc/sys/linux/machine/Makefile.in: Ditto.
6651 * libc/sys/linux/machine/aclocal.m4: Ditto.
6652 * libc/sys/linux/machine/configure: Ditto.
6653 * libc/sys/linux/machine/configure.in: Ditto.
6654 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6655 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6656 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6657 * libc/sys/linux/machine/i386/configure: Ditto.
6658 * libc/sys/linux/machine/i386/configure.in: Ditto.
6659 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6660 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6661 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6662 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6663 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6664 * libc/sys/linux/sys/select.h: Ditto.
6665 * libc/sys/linux/configure.in: Add support for machine directory.
6666 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6667 * libc/sys/linux/Makefile.in: Regenerated.
6668 * libc/sys/linux/configure: Ditto.
6669 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6670 * libc/sys/linux/inode.c: Ditto.
6671 * libc/sys/linux/linux.c: Ditto.
6672 * libc/sys/linux/process.c: Ditto.
6673 * libc/sys/linux/systat.c: Ditto.
6674 * libc/sys/linux/time.c: Ditto.
6675 * libc/sys/linux/wait.c: Ditto.
6676 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6677 * libc/sys/linux/io.c: Change header plus add readv/writev.
6678 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6679 use __sigsuspend syscall.
6680 * libc/sys/linux/select.c: Change header plus change select to
6681 use _newselect syscall.
6682 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6683 used by glibc header files.
6684 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6687 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6689 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6690 initializing a struct _reent that has been dynamically allocated.
6691 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6692 _REENT_SMALL and does nothing otherwise.
6693 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6694 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6695 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6696 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6697 [_REENT_SMALL](struct _misc_reent): New structure containing
6698 miscellaneous reentrant areas needed by newlib.
6699 [_REENT_SMALL](struct _reent): Add _misc pointer.
6700 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6701 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6702 and _REENT_STRTOK_LAST macros.
6703 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6704 and _REENT_MBLEN_STATE macros.
6705 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6706 and _REENT_MBTOWC_STATE macros.
6707 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6708 and _REENT_WCTOMB_STATE macros.
6710 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6712 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6714 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6716 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6718 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6720 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6721 Store high part of leading bytes too.
6723 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6725 * libm/math/ef_hypot.c: Increase scale factor to 68.
6727 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
6729 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6732 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6734 * libc/sys/go32/access.c: Change license to relaxed license
6735 used in identical file throughout newlib/libgloss.
6737 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
6739 * libc/sys/arm/access.c: New file.
6740 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6741 * libc/sys/arm/Makefile.in: Regenerate.
6742 * libc/sys/arm/syscalls.c (_stat): New function.
6744 2002-03-11 Michael Meissner <meissner@redhat.com>
6746 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6747 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6748 * libc/machine/mips/Makefile.in: Regenerate.
6749 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6750 * libc/machine/mips/memset.c: Dito.
6751 * libc/machine/mips/strcmp.c: Dito.
6752 * libc/machine/mips/strlen.c: Dito.
6753 * libc/machine/mips/strncmp.c: Dito.
6755 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6757 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6758 object so it works for shared library or statici library.
6759 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
6761 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
6762 (strptime): Moved prototype to be within !__STRICT_ANSI__.
6763 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
6764 (tzname): Defined for all platforms.
6765 (daylight, timezone): Defined only for CYGWIN.
6766 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
6768 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
6769 environment variable is set.
6770 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
6772 * libc/time/Makefile.in: Regenerated.
6773 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
6774 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
6775 * libc/time/lcltime_r.c (lcltime_r): Ditto.
6776 * libc/time/local.h: New local header file.
6777 * libc/time/mktime.c (mktime): Add timezone support.
6778 * libc/time/mktm_r.c: New file which is the common engine
6779 for gmtime_r and lcltime_r. This code has timezone support.
6780 * libc/time/strftime.c (strftime): Add %Z timezone support.
6781 * libc/time/tzlock.c: New file containing timezone lock stubs.
6782 * libc/time/tzset.c: New file containing tzset() routine.
6783 * libc/time/tzset_r.c: New file containing _tzset_r and
6784 internal routine for calculating timezone changes for specified year.
6786 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6788 * configure.in (CRT0_DIR): Set to libc/.
6789 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
6790 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
6791 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
6792 $(CRT1_DIR)/$(CRT1).
6793 * libc/machine/xstormy16/Makefile.in: Regenerated.
6794 * libc/machine/xstormy16/aclocal.m4: Regenerated.
6795 * libc/machine/xstormy16/configure: Regenerated.
6797 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
6799 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
6800 fails, don't bail out, and try to correct next time.
6802 * libc/include/sys/config.h: Include limits.h.
6804 2002-04-12 Eric Norum <eric.norum@usask.com>
6806 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
6807 routine to allow autoconf to determine that building executables
6809 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
6810 (rtems_gxx_mutex_once): Ditto.
6812 2002-04-09 Tom Rix <trix@redhat.com>
6814 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
6816 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
6818 * libc/include/time.h: Fix strptime declaration.
6819 * libc/time/Makefile.am: Add strptime.c.
6820 * libc/time/Makefile.in: Regenerated.
6821 * libc/time/strptime.c: New file.
6823 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
6825 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
6826 siglongjmp prototype, and sigsetjmp macro definition.
6827 * libc/sys/linux/siglongjmp.c: New file.
6828 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
6829 * libc/sys/linux/Makefile.in: Regenerated.
6831 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
6833 * Makefile.am: Add support for installing crt1.o if one exists.
6834 * configure.host: Specify crt1.o for linux.
6835 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
6836 * Makefile.in: Regenerated.
6838 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
6839 Added for non-Cygwin, non-RTEMS configurations.
6840 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
6841 * libc/sys/linux/Makefile.in: Regenerated.
6842 * libc/sys/linux/crt1.c: New empty file to override one defaulted
6843 by gcc. This fixes problem with reconfiguring linux newlib build.
6844 * libc/sys/linux/sysconf.c: New file.
6846 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
6848 * configure.host: Add support for machine subdirectory of
6850 * configure.in: Add check for sys machine subdirectory.
6851 * Makefile.am: Ditto.
6852 * configure: Regenerated.
6853 * Makefile.in: Ditto.
6854 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
6855 * libc/sys/linux/sys/syscall.h: Ditto.
6856 * libc/sys/linux/sleep.c: New file.
6857 * libc/sys/linux/socket.c: Ditto.
6858 * libc/sys/linux/sockops.h: Ditto.
6859 * libc/sys/linux/stack.c: Ditto.
6860 * libc/sys/linux/usleep.c: Ditto.
6861 * libc/sys/linux/machine/Makefile.am: Ditto.
6862 * libc/sys/linux/machine/Makefile.in: Ditto.
6863 * libc/sys/linux/machine/aclocal.m4: Ditto.
6864 * libc/sys/linux/machine/configure: Ditto.
6865 * libc/sys/linux/machine/configure.in: Ditto.
6866 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6867 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
6868 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
6869 * libc/sys/linux/machine/i386/configure: Ditto.
6870 * libc/sys/linux/machine/i386/configure.in: Ditto.
6871 * libc/sys/linux/machine/i386/crt0.c: Ditto.
6872 * libc/sys/linux/machine/i386/sigset.c: Ditto.
6873 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
6874 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
6875 * libc/sys/linux/machine/i386/syscall.h: Ditto.
6876 * libc/sys/linux/sys/select.h: Ditto.
6877 * libc/sys/linux/configure.in: Add support for machine directory.
6878 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
6879 * libc/sys/linux/Makefile.in: Regenerated.
6880 * libc/sys/linux/configure: Ditto.
6881 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
6882 * libc/sys/linux/inode.c: Ditto.
6883 * libc/sys/linux/linux.c: Ditto.
6884 * libc/sys/linux/process.c: Ditto.
6885 * libc/sys/linux/systat.c: Ditto.
6886 * libc/sys/linux/time.c: Ditto.
6887 * libc/sys/linux/wait.c: Ditto.
6888 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
6889 * libc/sys/linux/io.c: Change header plus add readv/writev.
6890 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
6891 use __sigsuspend syscall.
6892 * libc/sys/linux/select.c: Change header plus change select to
6893 use _newselect syscall.
6894 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
6895 used by glibc header files.
6896 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
6899 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
6901 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
6902 initializing a struct _reent that has been dynamically allocated.
6903 (_REENT_CHECK_MISC): New macro that checks _misc struct for
6904 _REENT_SMALL and does nothing otherwise.
6905 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
6906 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
6907 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
6908 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
6909 [_REENT_SMALL](struct _misc_reent): New structure containing
6910 miscellaneous reentrant areas needed by newlib.
6911 [_REENT_SMALL](struct _reent): Add _misc pointer.
6912 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
6913 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
6914 and _REENT_STRTOK_LAST macros.
6915 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
6916 and _REENT_MBLEN_STATE macros.
6917 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
6918 and _REENT_MBTOWC_STATE macros.
6919 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
6920 and _REENT_WCTOMB_STATE macros.
6922 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
6924 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
6926 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
6928 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
6930 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
6932 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
6933 Store high part of leading bytes too.
6935 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
6937 * libm/math/ef_hypot.c: Increase scale factor to 68.
6939 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
6941 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6944 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
6946 * libc/sys/go32/access.c: Change license to relaxed license
6947 used in identical file throughout newlib/libgloss.
6949 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
6951 * libc/sys/arm/access.c: New file.
6952 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
6953 * libc/sys/arm/Makefile.in: Regenerate.
6954 * libc/sys/arm/syscalls.c (_stat): New function.
6956 2002-03-11 Michael Meissner <meissner@redhat.com>
6958 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
6959 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
6960 * libc/machine/mips/Makefile.in: Regenerate.
6961 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
6962 * libc/machine/mips/memset.c: Dito.
6963 * libc/machine/mips/strcmp.c: Dito.
6964 * libc/machine/mips/strlen.c: Dito.
6965 * libc/machine/mips/strncmp.c: Dito.
6967 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
6969 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
6970 object so it works for shared library or statici library.
6971 * libc/machine/i386/Makefile.in: Regenerated.
6973 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
6975 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
6976 Add memcpy.S, memset.S and strcpy.S.
6977 * libc/machine/sh/Makefile.in: Regenerate.
6978 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
6979 (SHHI, SHLO): Define.
6980 * libc/machine/sh/memset.S: Add code for SH5.
6981 * libc/machine/sh/memset.S: Likewise.
6982 * libc/machine/sh/strcpy.S: Likewise.
6984 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
6986 * configure.host: Add check for --disable-newlib-io-float
6987 configuration option and add -DNO_FLOATING_POINT to newlib cflags
6989 * acinclude.m4: Added --disable-newlib-io-float option.
6990 * aclocal.m4: Regenerated.
6992 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
6993 * libc/*/aclocal.m4 libc/*/configure
6994 * libm/*/aclocal.m4 libm/*/configure: Ditto.
6995 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
6996 if NO_FLOATING_POINT flag is not defined.
6998 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
7000 * libc/include/sys/config.h: Add __extension__ in front of
7001 long long references.
7003 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7005 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
7008 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
7010 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
7013 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
7015 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
7016 clobbered registers.
7018 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7020 * configure.host (newlib_cflags): When host is in m68* add
7023 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
7025 * libc/include/sys/config.h: Add definitions for
7026 __int16_t, __uint16_t, __int64_t, and __uint64_t.
7028 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
7030 * libc/sys/mmixware/link.c: New.
7031 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
7033 * libc/sys/mmixware/times.c (_times): Renamed from times.
7034 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
7035 properly by reading previous contents, not through BinaryReadWrite.
7036 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
7037 * libc/sys/mmixware/Makefile.in: Regenerate.
7039 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
7041 * libc/include/grp.h: Don't declare group functions when compiling
7044 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
7046 * libc/include/grp.h: Include Cygwin specific header.
7047 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
7048 when compiling for Cygwin.
7049 * libc/include/sys/types.h: Don't define off_t, uid_t
7050 and gid_t when compiling for Cygwin.
7052 2002-02-08 matthew green <mrg@redhat.com>
7054 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
7055 _REENT_EMERGENCY_SIZE, not sizeof(char *).
7057 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
7059 Contribute sh64-elf.
7060 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7061 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
7063 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
7064 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
7066 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
7067 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
7068 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
7069 * libc/machine/sh/configure.in: Rework conditionals.
7070 * libc/machine/sh/Makefile.am: Likewise.
7071 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
7072 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
7073 * configure.host: Match `sh*'.
7074 * libc/include/machine/setjmp.h: Define for SH5.
7075 * libc/machine/sh/configure.in: Detect SH5.
7076 * libc/machine/sh/configure: Rebuilt.
7077 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
7078 * libc/machine/sh/Makefile.in: Rebuilt.
7079 * libc/machine/sh/asm.h: Adjust for SH5.
7080 * libc/machine/sh/setjmp.S: Implement in SHmedia.
7081 * libc/sys/sh/crt0.S: Likewise.
7082 * libc/sys/sh/trap.S: Likewise.
7084 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
7086 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
7087 (mach_add_obj): Conditionally set to setjmp.o or nothing.
7088 (LIB_SOURCES): Remove $(mach_add_src).
7089 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
7090 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
7091 * libc/machine/i386/Makefile.in: Regenerate.
7093 2002-02-05 Manik Raina <manik@cisco.com>
7095 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
7096 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
7097 s, p, k, and outstr.
7098 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
7100 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
7102 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
7103 _REENT_CHECK_EMERGENCY macro.
7105 2002-02-03 matthew green <mrg@redhat.com>
7107 * libc/reent/signgam.c (__signgam): Fix error in previous.
7109 2002-02-02 matthew green <mrg@redhat.com>
7111 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
7113 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
7114 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
7115 * libc/include/sys/reent.h (struct _reent): Completely new version
7117 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
7118 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
7119 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
7120 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
7121 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
7122 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
7123 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
7124 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
7125 (_REENT_EMERGENCY): Likewise.
7127 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
7128 the start of the real __sFILE, used for stdin, stdout and stderr until
7129 they are setup properly.
7130 (struct __sFILE): Move location of _data in _REENT_SMALL case.
7131 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
7132 allocated stdin, stdout and stderr.
7133 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
7134 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
7135 * libc/stdio/perror.c (_perror_r): Likewise.
7136 * libc/stdio/printf.c (printf, _printf_r): Likewise.
7137 * libc/stdio/putchar.c (_putchar_r): Likewise.
7138 * libc/stdio/puts.c (_puts_r): Likewise.
7139 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
7140 * libc/stdio/vprintf.c (vprintf): Likewise.
7141 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
7143 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
7145 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
7146 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
7148 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
7149 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
7151 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
7153 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
7154 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
7155 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
7156 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
7157 * libc/stdlib/rand48.c (__dorand48): Likewise.
7158 * libc/stdlib/seed48.c (_seed48_r): Likewise.
7159 * libc/stdlib/srand48.c (_srand48_r): Likewise.
7160 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
7161 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
7162 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
7163 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
7164 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
7165 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
7166 * libc/stdlib/rand.c (rand): Likewise.
7168 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
7169 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
7171 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
7172 _REENT_MP_FREELIST() and _REENT_MP_P5S.
7173 * libc/include/sys/reent.h (struct _mprec): New structure.
7175 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
7176 _unused_strtok_last.
7177 * libc/string/strtok.c (strtok): Use a local static variable.
7179 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
7180 (_REENT_EMERGENCY_SIZE): Likewise.
7181 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
7182 _REENT_ASCTIME_BUF().
7183 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
7186 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
7187 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
7188 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
7189 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
7190 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
7191 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
7193 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
7195 * configure.host (xstormy16): Don't use the generic malloc.
7196 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
7197 * libc/machine/xstormy16/Makefile.in: Regenerate.
7198 * libc/machine/xstormy16/mallocr.c: New file.
7199 * libc/machine/xstormy16/tiny-malloc.c: New file.
7201 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7203 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
7204 when _CYGWIN_TYPES_H is not defined.
7206 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7208 * libc/include/sys/signal.h: Revert 2002-01-23 change.
7210 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7212 * libc/include/sys/signal.h: Remove pthread_kill declaration
7213 when __CYGWIN__ is defined.
7215 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7217 * libc/include/time.h: Add prototype for strptime for Cygwin.
7219 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
7221 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
7222 dst was not word aligned.
7224 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
7225 if too much memory is requested.
7227 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
7229 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
7230 reads blanks from the input file to break if EOF reached
7231 rather than end processing.
7233 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
7235 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
7237 2002-01-07 Alan Matsuoka <alanm@redhat.com>
7239 * libc/include/machine/ieeefp.h: Configure d10v doubles to
7240 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
7241 libc/include/sys/config.h: Ditto.
7243 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
7245 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
7247 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
7248 Catherine Moore <clm@redhat.com>
7249 Richard Henderson <rth@redhat.com>
7250 Corinna Vinschen <vinschen@redhat.com>
7252 * configure.host: Add support for xstormy16.
7253 * libc/include/machine/ieeefp.h: Add support for xstormy16.
7254 * libc/include/machine/setjmp.h: Add support for xstormy16.
7255 * libc/include/sys/config.h: Add support for xstormy16.
7256 * libc/machine/xstormy16/Makefile.am: New file.
7257 * libc/machine/xstormy16/Makefile.in: New file.
7258 * libc/machine/xstormy16/aclocal.m4: New file.
7259 * libc/machine/xstormy16/configure: New file.
7260 * libc/machine/xstormy16/configure.in: New file.
7261 * libc/machine/xstormy16/setjmp.S: New file.
7263 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7265 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
7266 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
7268 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
7270 * libm/machine/Makefile.am: Change rules to create correct lib.a.
7271 * libm/machine/Makefile.in: Regenerated through automake.
7273 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7275 * Makefile.am (DOCDIR): Force to empty string when doc
7276 directory is not present.
7278 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7280 * libc/machine/i386/f_*: Move to libm/machine/i386.
7282 2001-12-18 Joel Sherrill <joel@OARcorp.com>
7284 * libm/machine/Makefile.am: Add dummy doc stub so
7287 2001-12-17 Joel Sherrill <joel@OARcorp.com>
7289 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
7291 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7293 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
7294 $(COMPILE) rather than $(CC).
7295 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
7296 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
7297 $(LIB_COMPILE) change.
7298 (vfiprintf.$(oext)): Likewise.
7300 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
7302 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
7303 conditionalized including of getopt stuff.
7305 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
7307 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
7309 (vfiprintf.$(oext)): Likewise.
7311 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7313 * Makefile.shared: New file.
7314 * libc/sys/linux/shared.ld: New file.
7315 * libm/machine/*: New files.
7316 * libm/machine/i386/*: New files.
7317 * Makefile.am: Add libtool support. Change math and mathfp
7318 references to variables.
7319 * configure.host: Add variables for libtool support. Add
7320 libm_machine_dir variable.
7321 * configure.in: Add objectlist variables, for libtool
7322 support. Add CC_FOR_BUILD tests.
7323 * libc/Makefile.am: Add libtool support. Change crt0.o
7324 reference to be a variable reference.
7325 * libc/configure.in: Add libtool support. Change sublib
7326 names to be lib${subdir}.la when using libtool.
7327 * libc/ctype/Makefile.am: Add libtool support.
7328 * libc/errno/Makefile.am: Likewise.
7329 * libc/locale/Makefile.am: Likewise.
7330 * libc/machine/Makefile.am: Likewise.
7331 * libc/machine/configure.in: Likewise.
7332 * libc/machine/i386/Makefile.am: Likewise.
7333 * libc/machine/i386/configure.in: Likewise.
7334 * libc/misc/Makefile.am: Likewise.
7335 * libc/posix/Makefile.am: Likewise.
7336 * libc/reent/Makefile.am: Likewise.
7337 * libc/signal/Makefile.am: Likewise.
7338 * libc/stdio/Makefile.am: Likewise.
7339 * libc/stdlib/Makefile.am: Likewise.
7340 * libc/string/Makefile.am: Likewise.
7341 * libc/sys/Makefile.am: Likewise.
7342 * libc/sys/configure.in: Likewise.
7343 * libc/sys/linux/Makefile.am: Add libtool support. Change
7344 awk reference to a variable reference. Change signal.h
7345 reference to a variable reference.
7346 * libc/sys/linux/configure.in: Add libtool support.
7347 * libc/syscalls/Makefile.am: Likewise.
7348 * libc/time/Makefile.am: Likewise.
7349 * libc/unix/Makefile.am: Likewise.
7350 * libm/Makefile.am: Add libtool support. Change math and
7351 mathfp references to variables.
7352 * libm/configure.in: Add libtool support. Add
7353 LIBM_MACHINE_LIB variable.
7354 * libm/common/Makefile.am: Add libtool support.
7355 * libm/math/Makefile.am: Likewise.
7356 * libm/mathfp/Makefile.am: Likewise.
7357 Regenerate all Makefile.in, aclocal.m4, and configure.
7359 2001-12-13 Anita Kulkarni <anitak@kpit.com>
7361 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
7363 2001-12-06 John Peacock <jpeacock@rowman.com>
7365 * libc/include/sys/unistd.h: Correct ualarm declaration.
7367 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
7369 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
7370 vector before calling the initialisation functions.
7372 2001-11-29 Christopher Faylor <cgf@redhat.com>
7374 * libc/include/dirent.h: Protect against multiple inclusion.
7376 2001-11-27 Christopher Faylor <cgf@redhat.com>
7378 * libc/include/sys/types.h: Define useconds_t.
7379 * libc/include/sys/ulimit.h: Declare ualarm.
7381 2001-11-21 Christopher Faylor <cgf@redhat.com>
7383 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
7385 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
7387 * libc/sys/mmixware/*: Tweak license header in all source files.
7389 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
7391 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
7392 to here. Rearrange for general inclusion by stdlib.h.
7393 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
7395 * libc/sys/linux/include/alloca.h: Move to libc/include.
7397 2001-11-12 Anthony Green <green@redhat.com>
7399 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
7401 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
7403 * libc/sys/mmixware/*: Correct spacing in all source files.
7404 * libc/sys/mmixware/syscall.h: Move misplaced file...
7405 * libc/sys/mmixware/sys/syscall.h: ...here.
7407 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
7409 * libc/include/machine/ieeefp.h: Add support for mmix target.
7410 * libc/include/machine/setjmp.h: Ditto.
7411 * configure.host: Ditto.
7412 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
7413 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
7414 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
7415 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
7416 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
7417 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
7418 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
7419 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
7420 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
7421 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
7422 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
7423 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
7424 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
7425 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
7426 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
7427 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
7428 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
7429 libc/sys/mmixware/aclocal.m4: Generate.
7431 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
7433 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
7434 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
7435 when __CYGWIN__ is defined.
7436 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
7439 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
7441 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
7442 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
7443 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
7444 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
7446 2001-10-24 Christopher Faylor <cgf@redhat.com>
7448 * libc/stdio/fseek.c: Reset pointer to buffer base
7449 when forced to seek outside of current buffer contents.
7450 This prevents the code from erroneously thinking there is
7451 anything in the current buffer.
7453 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
7455 * libc/include/math.h: The C++ standard adds the single-precision
7456 versions of the elementary functions.
7458 2001-10-22 Christopher Faylor <cgf@redhat.com>
7460 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
7462 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
7463 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
7464 * system.c (_system_r): Ditto.
7466 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
7468 * libc/include/sys/unistd.h: Add prototype for fchdir() when
7469 __CYGWIN__ or __rtems__ is defined.
7471 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
7473 * libc/include/stdlib.h: add declarations for
7474 _strtoull_r, _strtoll_r, strtoull, and strtoll.
7475 * libc/stdio/local.h: remove declarations of
7476 __strtoull_r and __strtoll_r.
7477 * libc/stdio/vfscanf.c(__svfscanf_r): call
7478 _strtoull_r instead of __strtoull_r. Ditto
7479 _strtoll_r vs. __strtoll_r.
7480 * libc/stdlib/Makefile.am: add new files to
7481 .c list and .def list
7482 * libc/stdlib/Makefile.in: regenerate
7483 * libc/stdlib/strtoll_r.c: rename __strtoll_r
7485 * libc/stdlib/strtoull_r.c: rename __strtoull_r
7487 * libc/stdlib/strtoull.c: new file
7488 * libc/stdlib/strtoll.c: new file
7490 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
7492 * libc/include/process.h: Add getpid() declaration.
7494 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
7496 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
7497 for new style arm/elf ctor/dtor handling.
7498 Minor formatting tidy up.
7500 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
7502 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
7504 * libc/stdlib/Makefile.in: Regenerated.
7505 * libc/stdlib/strtoll_r.c: New file.
7506 * libc/stdlib/strtoull_r.c: New file.
7507 * libc/stdio/local.h: Add prototypes for long long string
7508 conversion routines.
7509 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
7510 tied to %L integer conversion specifier.
7512 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
7514 * strftime.c (strftime): Fix "%W" implementation to properly handle
7517 2001-09-07 Jeff Law <law@redhat.com>
7519 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
7520 __fini with "mov.l" instead of "mov.w".
7522 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
7524 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
7527 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
7529 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
7531 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7533 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
7535 (__DIRENT_VERSION): New define.
7537 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
7539 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
7540 Shrink __d_reserved accordingly to keep structure size.
7541 (dirfd): Declare external.
7543 2001-08-29 Joel Sherrill <joel@OARcorp.com>
7545 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
7547 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7549 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
7550 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
7551 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
7552 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
7553 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
7554 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
7555 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
7556 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
7557 Add conditional compilation to avoid HW FPU instructions
7558 when compiled for soft-float.
7560 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7562 * Makefile.am: Add check for ln failing when creating libg.a
7563 so that cp gets used as a backup.
7564 * Makefile.in: Regenerated.
7566 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
7568 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
7569 No longer include time.h. Add struct __tm to use for
7570 _localtime_buf in the reentrant structure. Add a
7571 _NULL definition to use in initializing the reentrant struct.
7572 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
7573 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
7575 * libc/include/sys/unistd.h: Include <sys/_types.h>.
7576 * libc/time/lcltime.c (localtime): Cast the reentrant struct
7577 _localtime_buf to be struct tm *.
7579 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
7581 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
7582 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
7584 * libc/sys/h8300hms/syscalls.c: Include errno.h.
7585 (_unlink): New stub function.
7587 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
7589 * libc/include/sys/errno.h: Add a cautionary comment.
7591 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
7593 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
7594 for SIZE_SZ so that alignment ends up a minimum of 8.
7596 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
7598 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
7601 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
7604 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
7606 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
7607 macro constants for mallopt options.
7608 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
7610 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
7612 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
7615 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
7617 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
7619 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
7621 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
7622 Define for little endian ARMs.
7624 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
7625 __IEEE_BYTES_LITTLE_ENDIAN is defined.
7627 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
7629 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
7631 2001-06-11 Egor Duda <deo@logos-m.ru>
7633 * libc/ctype/ctype_.c: When compiled with gcc on platforms
7634 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
7635 initialized memory region. Platform can define COMPACT_CTYPE
7636 to avoid allocation of the additional 128 bytes of data.
7637 Add pointer to _ctype_ array. Always initialize all _ctype_
7640 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
7642 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
7645 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
7647 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
7649 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
7651 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
7652 matching, non-word alignment, and the length is <= 4 but more than
7653 enough to move them over a word boundary.
7654 Add comments explaining what each instruction does.
7656 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
7658 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
7659 * libc/include/sys/unistd.h: Ditto.
7661 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
7663 * libc/string/strrchr.c: Use strchr for the speed improvements.
7665 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
7667 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
7668 real file systems, let __smakebuf() determine if line buffering
7669 should be used for stdout.
7671 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7673 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
7675 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
7677 * libc/include/stdlib.h: Add prototype for _strtod_r.
7679 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
7681 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
7682 * libc/stdio/vprintf.c (_vprintf_r): new function
7683 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
7684 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
7685 _DEFUN, and call _vfprintf_r, not vfprintf.
7686 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
7687 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
7688 _DEFUN, and call _vfprintf_r, not vfprintf.
7690 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
7692 * libc/include/sys/unistd.h [X_OK]: Use better protection against
7693 Cygwin X_OK definitions in sys/file.h.
7695 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
7697 * libc/include/sys/time.h: Define timercmp and other macros for
7700 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7702 * acinclude.m4: Added --enable-malloc-debugging configure flag.
7703 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
7704 --enable-malloc-debugging selected.
7705 * aclocal.m4 configure: Regenerated.
7706 libm/aclocal.m4 libm/configure: Ditto.
7707 * libc/aclocal.m4 libc/configure: Ditto.
7708 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
7709 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
7710 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
7711 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
7712 * doc/aclocal.m4 doc/configure: Ditto.
7714 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
7716 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
7718 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
7719 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
7720 function prototypes.
7721 (_fscanf_r, _sscanf_r): Ditto.
7722 * libc/include/stdlib.h: Added _strtod_r prototype.
7723 * libc/stdio/Makefile.am: Add new v*scanf functions.
7724 * libc/stdio/Makefile.in: Regenerate.
7725 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
7726 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
7727 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
7728 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
7729 (sscanf): Changed to call __svfscanf_r with _REENT argument.
7730 (_sscanf_r): New routine.
7731 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
7732 with __svfscanf_r prototype.
7733 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
7735 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
7736 structure as argument as calls reentrant versions of helper functions
7737 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
7738 to _strtol_r and _strtod_r respectively.
7739 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
7740 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
7742 * libc/stdio/vscanf.c: New file.
7743 * libc/stdio/vsscanf.c: Ditto.
7745 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
7747 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
7748 Define daylight to _daylight if it is not defined
7749 Prepare a variable export of timezone based on timezonevariable.
7750 (Cannot be used with the timezone() function.)
7752 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
7754 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
7755 Correct the numerical values.
7757 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
7759 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
7761 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
7763 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
7764 on case insensitve file systems.
7766 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
7768 * libc/include/sys/features.h: Add appropriate defines for Cygwin
7770 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
7771 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
7772 types. Include <cygwin/types.h> for the cygwin specific typedefs.
7774 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
7776 * libc/include/machine/ieeefp.h: Comment about new configuration
7777 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
7778 * libm/common/fdlib.h: Define new macros for testing floats.
7779 * libm/common/sf_*: Use them.
7780 * libm/math/ef_*: Likewise.
7781 * libm/math/sf_*: Likewise.
7783 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
7785 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
7786 prolog to by-pass possible assembler error.
7788 2001-03-21 Egor Duda <deo@logos-m.ru>
7790 Allow building internal stubs for non-reentrant syscalls
7791 if target provides its own malloc
7792 * libc/reent/reent.c (errno): Move definition here.
7793 * libc/reent/sbrkr.c: From here.
7795 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
7797 * libc/include/sys/types.h (BSD int typedefs): Guard with
7798 _BSDTYPES_DEFINED rather than _WINSOCK_H.
7799 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
7801 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
7802 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
7804 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
7806 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
7807 _PC_POSIX_SECURITY constants for Cygwin.
7809 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
7811 * libc/sys/cygwin/crt0.c: Add copyright hint.
7812 * libc/sys/cygwin/sys/dirent.h: Ditto.
7813 * libc/sys/cygwin/sys/param.h: Ditto.
7814 * libc/sys/cygwin/sys/utime.h: Ditto.
7815 * libc/sys/cygwin/sys/utmp.h: Ditto.
7817 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
7819 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
7820 equivalent to LONGINT.
7822 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
7824 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
7825 jmpbuf on MIPS64 targets.
7826 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
7828 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
7830 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
7833 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
7835 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
7836 For RTEMS, define to be ssize_t. Default to int if not defined.
7837 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
7838 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
7839 * libc/stdio/local.h (__sread, __swrite): Likewise.
7840 * libc/include/sys/reent.h (_read, _write): Likewise.
7841 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
7842 * libc/syscalls/sysread.c (read): Likewise.
7843 * libc/syscalls/syswrite.c (write): Likewise.
7845 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
7847 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
7849 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
7851 * libc/include/sys/stat.h: Use special defines for executable stat bits
7852 when compiling for Cygwin.
7853 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
7856 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7858 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
7859 of strtok_r is always defined.
7861 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
7863 * libc/include/machine/ansi.h: New dummy header file.
7865 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
7867 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
7868 changed the copyright information to allow free modification of the
7869 file with no reference to "copying.dj".
7870 * libc/include/sys/stat-dj.h: Ditto.
7871 * libc/machine/i386/setjmp.S: Ditto.
7872 * libc/sys/h8300hms/sys/file.h: Ditto.
7873 * libc/sys/sysmec/access.c: Ditto.
7874 * libc/sys/sysnecv850/access.c: Ditto.
7875 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
7876 * libc/stdlib/getenv_r.c: Ditto.
7877 * libc/stdlib/putenv_r.c: Ditto.
7878 * libc/stdlib/setenv_r.c: Ditto.
7879 * libc/stdlib/getenv.c: Removed DJ reference since any possible
7880 modifications will now be in the _r version of this file.
7881 * libc/stdlib/putenv.c: Ditto.
7882 * libc/stdlib/setenv.c: Ditto.
7883 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
7884 valid. Added a reference to DJ's web page that contains his address.
7885 * libc/sys/go32/*.s: Removed references to DJ's old address.
7886 * libc/sys/go32/*.c: Ditto.
7887 * libc/sys/go32/*.h: Ditto.
7888 * libc/sys/go32/*.S: Ditto.
7889 * libc/sys/go32/sys/*.h: Ditto.
7891 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
7893 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
7894 HAVE_FCNTL flag check.
7895 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
7896 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
7898 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
7900 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
7902 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7904 * libc/include/stdlib.h: Add declarations of rand48 functions and
7905 their reentrant versions.
7906 * libc/include/sys/reent.h: Move macros from rand48.h. Add
7907 struct _rand48 for shared parameters of rand48 functions.
7908 (struct _reent): Add a variable _r48 of struct _rand48.
7909 (_REENT_INIT): Add _r48 initialization.
7910 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
7911 (CHEWOUT_FILES): Add rand48.def.
7912 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
7913 * libc/stdlib/Makefile.in: Regenerated.
7914 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
7916 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
7917 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
7918 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
7919 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
7920 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
7921 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
7922 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
7923 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
7924 * libc/stdlib/rand48.c (__dorand48): Ditto.
7925 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
7926 parameters into macros referring them in the reentrant structure.
7928 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
7930 * libc/include/sys/stat.h: Add mknod for Cygwin now that
7931 Cygwin definition has correct prototype.
7933 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7935 * libc/include/sys/stat.h: Must revert change for mknod
7936 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
7939 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
7941 * libc/include/stdio.h: Revert putw prototype.
7943 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
7945 * libc/include/grp.h: add prototype for initgroups.
7946 * libc/include/stdio.h: fix prototype for putw.
7947 * libc/include/sys/signal.h: add prototype for killpg.
7948 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
7949 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
7950 vhangup and remove duplicate sysconf prototype.
7952 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
7954 * libc/sys/rtems/sys/types.h: Removed.
7956 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
7958 * libc/include/locale.h: add LC_MESSAGES definition
7960 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
7962 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
7964 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
7965 __setup_argv_and_call_main): New.
7967 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
7969 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
7971 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
7972 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
7973 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
7974 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
7976 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
7978 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
7979 compiling under Cygwin.
7981 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
7983 * libc/include/math.h (signgam): Change to errno-like solution
7984 using a function to return the address of the real signgam.
7985 * libc/reent/signgam.c: New file containing __signgam().
7986 * libc/reent/Makefile.am: Added signgam.c to list of files.
7987 * libc/reent/Makefile.in: Regenerated.
7989 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
7991 * libc/sys/sh/syscalls.c (_times): New.
7993 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
7994 * libc/sys/sh/syscalls.c (_gettimeofday): New.
7996 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
7998 * libc/include/math.h (signgam): Regress previous fix as
7999 it does not handle programs with extern int signgam in them.
8001 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8003 * libc/include/math.h (signgam): Changed to a macro refering to
8004 its location in the reentrant structure.
8006 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
8008 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
8009 that suppressed . for %.0f, 0.1. Check now looks if there
8010 are padding zeroes (expt) in addition to any digits (ndig) to
8013 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
8015 * libc/sys/arc/Makefile.am: New file.
8016 * libc/sys/arc/Makefile.in: Ditto.
8017 * libc/sys/arc/aclocal.m4: Ditto.
8018 * libc/sys/arc/configure: Ditto.
8019 * libc/sys/arc/configure.in: Ditto.
8020 * libc/sys/arc/crt0.S: Ditto.
8021 * libc/sys/arc/isatty.c: Ditto.
8022 * libc/sys/arc/mem-layout.c: Ditto.
8023 * libc/sys/arc/sbrk.c: Ditto.
8024 * libc/sys/arc/syscalls.c: Ditto.
8025 * libc/sys/arc/sys/syscall.h: Ditto.
8027 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
8029 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
8031 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
8033 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
8035 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
8037 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
8039 2001-01-09 Nick Clifton <nickc@redhat.com>
8041 * configure.host (v859): Remove unsupported compiler options.
8043 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
8045 * src/newlib/configure.host (*-*-rtems*): add printf long long
8048 2000-12-19 Graham Stott <grahams@redhat.com>
8050 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
8052 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8054 * configure.host: Turn on long double I/O for Cygwin.
8056 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
8058 * MAINTAINERS: Removed Ranjith.
8059 * NEWS: Updated for 1.9.0.
8061 * acinclude.m4: Updated to release 1.9.0.
8062 * aclocal.m4 configure
8063 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8064 libc/machine/aclocal.m4 libc/machine/configure
8065 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
8066 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
8067 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
8068 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
8069 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
8070 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
8071 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
8072 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
8073 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
8074 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
8075 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
8076 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
8077 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
8078 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
8079 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
8080 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
8081 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
8082 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
8083 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
8084 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
8085 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
8086 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
8087 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
8088 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
8089 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
8090 libc/sys/aclocal.m4 libc/sys/configure
8091 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8092 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8093 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8094 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8095 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8096 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8097 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8098 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8099 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
8100 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8101 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8102 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8103 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8104 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8105 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8106 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8107 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8108 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8109 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8110 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8111 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8112 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8113 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8114 libm/aclocal.m4 libm/configure: Regenerated.
8116 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8118 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
8119 when __CYGWIN__ is defined.
8121 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8123 * libc/stdlib/ldtoa.c (_ldcheck): New routine
8124 that categorizes a long double as NaN, Infinity, or other.
8125 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
8126 isinfl and isnanl static routines which were i386-specific. Changed
8127 calls to the two removed routines to a single _ldcheck call.
8128 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
8130 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
8132 * Makefile.am: Fixed install-data-local target to use
8133 $(mkinstalldirs) for the installed header files to ensure
8134 the directories exist before copying.
8135 * Makefile.in: Regenerated.
8137 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
8139 * libc/include/sys/unistd.h: Restored Cygwin _SC
8140 constants and moved new constants appropriately
8141 so Cygwin will build.
8143 2000-12-11 Joel Sherrill <joel@OARcorp.com>
8145 * Merge RTEMS specific .h files into main libc/include.
8146 * libc/sys/rtems/include/signal.h: Removed.
8147 * libc/sys/rtems/include/time.h: Removed.
8148 * libc/sys/rtems/sys/features.h: Removed.
8149 * libc/sys/rtems/sys/sched.h: Removed.
8150 * libc/sys/rtems/sys/siginfo.h: Removed.
8151 * libc/sys/rtems/sys/signal.h: Removed.
8152 * libc/sys/rtems/sys/time.h: Removed.
8153 * libc/sys/rtems/sys/times.h: Removed.
8154 definitions for time_t and clock_t since these are
8155 no longer in time.h.
8156 * libc/include/pthread.h: New file.
8157 * libc/include/sys/sched.h: New file.
8158 * libc/include/sys/features.h: New file.
8159 * libc/include/time.h: Removed duplicate definition of clock_t
8160 and time_t, get them from <sys/types.h> instead. Add prototypes
8161 for POSIX clock and timer functionality.
8162 * libc/sys/linux/sys/types.h: Changed to include
8163 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
8164 * libc/include/sys/signal.h: Add more complete set of POSIX
8165 signal functionality including real-time and threaded signals.
8166 * libc/include/sys/types.h: Add clock_t, time_t, struct
8167 timespec, and struct itimerspec. Centralizing these makes
8168 things cleaner. RTEMS uses 64-bit dev_t.
8169 Added numerous primitive definitions
8170 for pthreads including macros, pthread_attr_t,
8171 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
8172 pthread_once_t, and pthread_t.
8173 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
8174 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
8175 Feature flags removed and moved to new file <sys/features.h>.
8176 Full set of POSIX sysconf() constants
8178 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
8180 * configure.host: Added x86 linux target.
8181 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
8182 definitions provided if not already defined.
8183 * libc/sys/linux/crt0.c: New file.
8184 * libc/sys/linux/Makefile.am: Ditto.
8185 * libc/sys/linux/Makefile.in: Ditto.
8186 * libc/sys/linux/aclocal.m4: Ditto.
8187 * libc/sys/linux/brk.c: Ditto.
8188 * libc/sys/linux/configure: Ditto.
8189 * libc/sys/linux/configure.in: Ditto.
8190 * libc/sys/linux/getoptlong.c: Ditto.
8191 * libc/sys/linux/ids.c: Ditto.
8192 * libc/sys/linux/inode.c: Ditto.
8193 * libc/sys/linux/io.c: Ditto.
8194 * libc/sys/linux/linux.c: Ditto.
8195 * libc/sys/linux/process.c: Ditto.
8196 * libc/sys/linux/realpath.c: Ditto.
8197 * libc/sys/linux/select.c: Ditto.
8198 * libc/sys/linux/signal.c: Ditto.
8199 * libc/sys/linux/systat.c: Ditto.
8200 * libc/sys/linux/termios.c: Ditto.
8201 * libc/sys/linux/time.c: Ditto.
8202 * libc/sys/linux/wait.c: Ditto.
8203 * libc/sys/linux/include/alloca.h: Ditto.
8204 * libc/sys/linux/include/getopt.h: Ditto.
8205 * libc/sys/linux/include/stdint.h: Ditto.
8206 * libc/sys/linux/include/unistd.h: Ditto.
8207 * libc/sys/linux/sys/cdefs.h: Ditto.
8208 * libc/sys/linux/sys/dirent.h: Ditto.
8209 * libc/sys/linux/sys/errno.h: Ditto.
8210 * libc/sys/linux/sys/fcntl.h: Ditto.
8211 * libc/sys/linux/sys/file.h: Ditto.
8212 * libc/sys/linux/sys/ioctl.h: Ditto.
8213 * libc/sys/linux/sys/resource.h: Ditto.
8214 * libc/sys/linux/sys/signal.h: Ditto.
8215 * libc/sys/linux/sys/stat.h: Ditto.
8216 * libc/sys/linux/sys/syscall.h: Ditto.
8217 * libc/sys/linux/sys/termios.h: Ditto.
8218 * libc/sys/linux/sys/time.h: Ditto.
8219 * libc/sys/linux/sys/types.h: Ditto.
8220 * libc/sys/linux/sys/utmp.h: Ditto.
8221 * libc/sys/linux/sys/utsname.h: Ditto.
8222 * libc/sys/linux/sys/wait.h: Ditto.
8224 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8226 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
8227 can be a relative path to $(top_srcdir)/install.sh so ensure the
8228 autoconf detected settings are properly passed recursively.
8229 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
8230 properly to subdirectories.
8231 * Makefile.in: Regenerated.
8233 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
8235 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
8236 a floating point register unless really printing a floating
8239 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
8241 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
8243 (asctoeg): Replaced alloca call with stack array and malloc
8244 when storage exceeds reasonable limit.
8245 (e53toe): Fixed einfin calls missing ldp parameter.
8246 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
8248 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8251 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
8253 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
8255 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
8256 * libc/stdlib/Makefile.in: Regenerated.
8257 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
8258 * libc/stdio/vfieeefp.h: Added long double bit structures.
8259 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
8260 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
8261 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
8262 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
8263 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
8264 _strtold routines used for conversions between character
8267 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8269 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
8271 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8273 * libc/include/machine/time.h: RTEMS systems can configure clock
8274 tick rate so use sysconf() to ask.
8276 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8278 * libc/include/sys/times.h: Add reference to POSIX standard.
8280 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8282 * libc/include/sys/time.h: Added BSD timer manipulation macros
8285 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8287 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
8288 referenced by code generated by gcc 2.8.1.
8289 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
8292 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8294 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
8296 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8298 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
8300 2000-12-04 Joel Sherrill <joel@OARcorp.com>
8302 * configure.host (or16, or32): New entries for OpenCores
8304 (*-*-rtems*): Add -DNO_EXEC.
8306 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
8308 * libc/include/sys/errno.h: Added comments on many error numbers.
8309 * libc/string/strerror.c: Added some more strings.
8311 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
8313 * libc/sys/sh/syscalls.c (_link): New stub.
8315 2000-11-29 Nick Clifton <nickc@redhat.com>
8317 * configure.host: Add xscale target.
8318 * libc/machine/xscale: New directory.
8319 * libc/machine/xscale/Makefile.am: New file.
8320 * libc/machine/xscale/Makefile.in: New file.
8321 * libc/machine/xscale/aclocal.m4: New file.
8322 * libc/machine/xscale/configure: New file.
8323 * libc/machine/xscale/configure.in: New file.
8324 * libc/machine/xscale/memchr.S: New file.
8325 * libc/machine/xscale/memcmp.S: New file.
8326 * libc/machine/xscale/memcpy.S: New file.
8327 * libc/machine/xscale/memmove.S: New file.
8328 * libc/machine/xscale/memset.S: New file.
8329 * libc/machine/xscale/strchr.S: New file.
8330 * libc/machine/xscale/strcmp.S: New file.
8331 * libc/machine/xscale/strcpy.S: New file.
8332 * libc/machine/xscale/strlen.S: New file.
8334 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8336 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
8337 avoid compiler warnings.
8339 2000-11-22 Michael Meissner <meissner@redhat.com>
8341 * libc/posix/execl.c (execl): Don't reference environ directly,
8342 reference it only via a static pointer to avoid problems with some
8343 shared library systems and with different uses of small data where
8344 the user specifies his own version of environ.
8345 * libc/posix/execv.c (execv): Ditto.
8346 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
8347 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
8348 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
8350 * libc/stdlib/getenv.c (environ): Delete unused reference to
8353 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
8355 * libc/stdlib/system.c: Ditto.
8357 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
8359 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
8360 including windows headers.
8362 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
8364 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
8365 * libc/include/dirent.h: Added definition of MAXNAMLEN if
8366 not defined by sys/dirent.h.
8367 * libc/posix/execvp.c: Added include of dirent.h to get
8368 MAXNAMLEN value which used to be in unistd.h.
8370 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8372 * libc/include/sys/types.h: Change type of i to `size_t' in
8373 FD_ZERO macro to avoid compiler warnings.
8375 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
8377 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
8378 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
8380 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
8382 * libc/include/sys/unistd.h: Add defines for sysconf values
8383 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
8386 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
8388 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
8389 declarations for __CYGWIN__.
8391 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
8393 * libc/signal/signal.c (__sigtramp_r): ISO C requires
8394 case labels to be integral constant expressions, so
8395 use an if/else tree instead.
8396 (_raise_r): Likewise.
8398 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
8400 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
8401 clipping patch from e-mail reader.
8403 2000-09-13 Will Cohen <wcohen@redhat.com>
8405 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
8406 Added return value 0.
8407 (_longjmp): Allow longjmp to return value of second argument
8410 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
8412 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
8413 inline code to prevent having to include another header file.
8415 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
8417 * Makefile.am: Fix space vs. tab problem in install-data-local.
8418 * Makefile.in: Regenerate.
8420 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
8422 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
8423 (_EXPARM): New macro for defining a function parameter.
8424 * libc/include/stdlib.h: Use _EXPARM.
8425 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
8427 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
8429 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
8430 required, as documented in the gnu coding standards.
8431 * Makefile.in: Regenerate.
8433 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
8435 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
8436 make O_NDELAY and O_NONBLOCK have the same value.
8438 2000-08-30 Kazu Hirata <kazu@hxi.com>
8440 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
8442 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
8444 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
8445 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
8446 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
8449 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
8451 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
8452 * libc/include/string.h: Don't include <sys/types.h>,
8453 as it causes really bad namespace pollution. Don't declare
8454 swab(), it is properly declared in unistd.h.
8456 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
8458 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
8459 (broken) support for non-existent /etc/passwd field "comment".
8461 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8463 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
8464 only if _DIRENT_HAVE_D_NAMLEN is defined.
8465 (alphasort): aligned prototype with
8466 libc/sys/cygwin/sys/dirent.h and simplified function body.
8467 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
8468 long telldir (DIR *) as mentioned in annex B of POSIX.1
8470 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
8472 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
8473 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
8474 Added __CLI and __STI macros (controlled via
8475 _I386MACH_ALLOW_HW_INTERRUPTS macro).
8476 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
8477 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
8478 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
8479 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
8480 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
8481 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
8482 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
8483 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
8484 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
8485 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
8486 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
8487 for all global entry points.
8488 * libc/machine/i386/setjmp.S: removed code replicated in
8489 libc/machine/i386/i386mach.h and included i386mach.h instead;
8490 Use __CLI and __STI instead of cli and sti.
8492 2000-08-25 DJ Delorie <dj@redhat.com>
8494 * libc/include/sys/unistd.h (environ): this one isn't from the
8497 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
8499 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
8500 environ when compiling under cygwin since it is already declared in
8503 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8505 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
8506 like x << y-z to the equivalent x << (y-z).
8507 (d2b): changed if statements with assignment to perform the
8508 assignment prior to the if check.
8509 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
8510 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
8511 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
8512 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
8514 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
8515 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
8517 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
8519 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
8520 clarify && and || precendence (and to remove pascalism).
8521 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
8522 * libm/math/s_infconst.c: added another pair of braces to all
8523 initializers for __infinity (need three: for __infinity[1] array,
8524 for union __dmath, and for i[2]).
8526 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8528 * libc/stdlib/abort.c: changed description: uses "raise" instead of
8529 "getpid" and "kill"; added: uses "write" and "_exit".
8530 Also included unistd.h for "_exit" prototype.
8531 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
8532 reent.h for "_fork_r" and "_wait_r" prototypes.
8533 (do_system): changed extern char *environ[] to POSIX-friendly
8534 extern char **environ.
8535 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
8537 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
8538 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
8539 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
8540 * libc/reent/openr.c: included fcntl.h for "open" prototype.
8541 * libc/reent/signalr.c: included signal.h for "kill" prototype,
8542 unistd.h for "getpid" prototype.
8543 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
8544 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
8545 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
8546 prototype. Also included stdlib.h for "abort", string.h for
8547 "strdup" and "strncmp" prototypes.
8548 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
8549 "strncpy", unistd.h for "read" and "close" prototypes.
8550 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
8551 "strcat" prototypes.
8553 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
8555 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
8556 used later (ifdef __SCLE)
8557 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
8558 used later (ifdef MB_CAPABLE)
8559 * libc/string/memset.c (memset): removed unused variables "count"
8560 and "unaligned_addr"
8561 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
8562 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
8563 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
8566 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
8568 * libc/stdlib/envlock.c: changed documented "__env_lock" and
8569 "__env_unlock" prototype from "void *" or "char *" to
8570 "struct _reent *" to match real function. Also added include
8572 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
8573 "__malloc_unlock" prototype from "void *" or "char *" to
8574 "struct _reent *" to match real function.
8575 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
8576 prototypes (for getenv_r.c and setenv_r.c).
8578 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
8580 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
8581 and prototype in cygwin's utmp.h
8583 2000-08-16 Eric Fifer <efifer@sanwaint.com>
8585 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
8587 2000-08-09 Nick Clifton <nickc@cygnus.com>
8589 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
8590 epilogue and to allow the functions to be used in a Thumb based
8593 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
8595 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
8596 so size of 0 results in nothing being written to string.
8597 Also fixed code so that when size is non-zero, there is only
8598 a maximum of size - 1 characters written to the array and
8599 a nul terminator is appended at the end.
8600 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
8602 2000-08-01 DJ Delorie <dj@redhat.com>
8604 * libc/include/sys/config.h: define __IMPORT appropriately
8605 * libc/include/ctype.h (_ctype_): use __IMPORT
8606 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
8607 * libc/include/math.h (__mb_cur_max): ditto
8608 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
8609 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
8610 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
8611 * libc/include/unistd.h (environ): ditto
8613 2000-07-28 Michael Meissner <meissner@redhat.com>
8615 * libc/include/math.h (__infinity): Declare as an array without
8616 bounds to get around small data support. Rewrite Cygwin support
8618 * libm/math/s_infconst.c (__infinity): Ditto.
8619 * libm/mathfp/s_infconst.c (__infinity): Ditto.
8621 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
8623 * libc/include/math.h: Use appropriate dll import linkage for
8624 __infinity under Cygwin.
8626 2000-07-13 DJ Delorie <dj@cygnus.com>
8628 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
8630 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
8632 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
8633 to argument list for AngelSWI_Reason_GetCmdLine.
8635 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8637 * configure.host: Add support for AVR target.
8638 * libc/include/machine/ieeefp.h: Likewise.
8639 * libc/include/sys/config.h: Likewise.
8641 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8643 * README: Newlib 1.8.2 must be built in a separate directory
8646 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8648 * libc/include/sys/reent.h (_rand_next): Added __extension__
8649 qualifier as long long type is not strict ANSI.
8650 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
8651 to long long constant.
8653 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
8655 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
8656 `setegid' provided by Cygwin.
8658 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
8660 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
8663 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8665 * libc/include/sys/reent.h (_rand_next): Changed to
8666 unsigned long long and moved to end of _reent struct in _new union.
8667 (_REENT_INIT): Changed to move _rand_next initialization.
8668 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
8669 linear congruential algorithm that is used by DJGPP.
8671 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
8673 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
8674 * libc/include/sys/config.h: Define __RAND_MAX.
8676 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8678 * libc/stdlib/rand_r.c: New algorithm that meets minimal
8681 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
8683 * libc/include/string.h: Work around problem with strsignal and gdb.
8685 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
8687 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
8688 * libc/include/malloc.h: Ditto.
8689 * libc/include/process.h: Ditto.
8690 * libc/include/stdio.h: Ditto.
8691 * libc/include/stdlib.h: Ditto.
8692 * libc/include/time.h: Ditto.
8693 * libc/include/machine/setjmp.h: Ditto.
8694 * libc/include/sys/errno.h: Ditto.
8695 * libc/include/sys/signal.h: Ditto.
8696 * libc/include/sys/stat.h: Ditto.
8697 * libc/include/sys/time.h: Ditto.
8698 * libc/include/sys/unistd.h: Ditto.
8699 * libc/include/string.h: Ditto. strsignal should return a const char *.
8701 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
8703 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
8704 * libm/common/s_log1p.c (log1p): Likewise.
8705 * libm/common/s_scalbn.c (scalbn): Likewise.
8706 * libm/math/e_log.c: Likewise.
8707 * libm/math/e_asin.c: Likewise.
8708 * libm/math/ef_asin.c: Likewise.
8709 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
8710 * libm/math/e_j1.c (pone, qone): Likewise.
8711 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
8712 * libm/math/ef_j1.c (ponef, qonef): Likewise.
8713 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
8714 * libm/mathfp/e_j1.c (pone, qone): Likewise.
8715 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
8716 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
8718 2000-05-19 DJ Delorie <dj@cygnus.com>
8720 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
8721 (__sread): always read in binary mode
8722 (__swrite): always write in binary mode
8723 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
8724 compatibility issues with different dll versions
8725 * libc/stdio/fopen.c: use __stextmode
8726 * libc/stdio/fdopen.c: ditto
8727 * libc/stdio/freopen.c: ditto
8728 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
8729 * libc/stdio/local.h: declare __stextmode
8731 2000-05-18 DJ Delorie <dj@cygnus.com>
8733 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
8735 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8737 * libc/include/ctype.h: Changed tolower and toupper macros
8738 to use __extension__ to prevent pedantic warnings.
8740 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
8742 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
8745 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
8747 * libc/include/machine/ieeefp.h: Add ia64 support.
8748 * configure.host: Likewise.
8750 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
8752 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
8753 month is now padded with space, not zero. This now conforms to
8756 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
8758 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
8759 host or network path") used by cygwin. Add some comments.
8761 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
8763 * libc/include/stdio.h (FILE): define __SCLE for "convert line
8764 endings" for Cygwin.
8765 (__sgetc): convert line endings if needed
8767 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
8768 * libc/stdio/fopen.c (_fopen_r): ditto
8769 * libc/stdio/freopen.c (freopen): ditto
8770 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
8771 * libc/stdio/fvwrite.c (__sfvwrite): ditto
8773 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
8775 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
8776 post-increment when it is worth it, spacewise.
8778 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
8780 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
8781 * libc/stdio/findfp.c (std): Added declaration of flags and file.
8782 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
8784 * libc/stdio/putchar.c (putchar): Added return statement.
8785 * libc/stdio/refill.c (lflush): Added correct parentheses.
8786 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
8787 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
8788 prints long value to use l qualifier.
8789 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
8790 messages and initialized local values: ilim, ilim1, and spec_case.
8791 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
8792 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
8793 * libc/stdlib/mprec.c: Ditto.
8794 * libc/stdlib/setenv_r.c: Ditto.
8795 * libc/stdlib/strtod.c: Ditto.
8796 * libc/stdlib/strtol.c: Ditto.
8797 * libc/stdlib/strtoul.c: Ditto.
8798 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
8799 * libm/common/sf_log1p.c: Ditto.
8800 * libm/common/sf_scalbn.c: Ditto.
8801 * libm/math/ef_log.c: Ditto.
8803 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
8805 * libc/posix/execvp.c (execvp): Check path for
8808 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
8810 * libc/include/sys/unistd.h: Add prototypes for
8811 fchmod, fchown, lchown.
8813 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8815 * acinclude.m4: Changed release to 1.8.2.
8816 * aclocal.m4 configure doc/aclocal.m4 doc/configure
8817 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
8818 libc/machine/configure libc/machine/a29k/aclocal.m4
8819 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8820 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8821 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8822 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8823 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
8824 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8825 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8826 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8827 libc/machine/i386/configure libc/machine/i960/aclocal.m4
8828 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
8829 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
8830 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
8831 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
8832 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
8833 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
8834 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
8835 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
8836 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
8837 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
8838 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
8839 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
8840 libc/machine/v850/configure libc/machine/w65/aclocal.m4
8841 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
8842 libc/machine/z8k/configure libc/sys/aclocal.m4
8843 libc/sys/aclocal.m4 libc/sys/configure
8844 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
8845 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
8846 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
8847 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
8848 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
8849 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
8850 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
8851 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
8852 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
8853 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
8854 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
8855 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
8856 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
8857 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
8858 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
8859 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
8860 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
8861 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
8862 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
8863 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
8864 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
8865 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
8866 libm/aclocal.m4 libm/configure: Regenerated.
8868 2000-03-24 Nick Clifton <nickc@cygnus.com>
8870 * libc/sys/arm/syscalls.c: Fix compile time warnings.
8871 (do_AngelSWI): Add "cc" to list o registers clobbered.
8873 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8875 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
8876 information to be clobbered by an Angel C library support syscall.
8878 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8880 * libc/stdlib/envlock.c: Fixed comment typo.
8882 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8884 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
8885 code to update nread as each character is processed instead
8886 of using buffer contents which throw away leading zeroes.
8888 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
8890 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
8892 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
8894 * libc/include/string.h: Include <sys/types.h>.
8896 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8898 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
8899 with XSH5, not SVID.
8901 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8903 * libc/include/string.h: Changed last argument back to ssize_t
8904 to make it compatible with XPG4 definition which is
8905 defined in <unistd.h>. There is a conflict in the SVID 3
8906 and XPG4 definitions and newlib will settle with XPG4.
8907 * libc/string/swab.c: Ditto.
8909 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
8911 * libc/include/string.h: Changed last argument to size_t.
8912 * libc/string/swab.c: Changed last argument to size_t.
8914 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8916 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
8917 (CHEWOUT_FILES): Added unlinkr.def.
8918 * libc/reent/Makefile.in: Rebuilt.
8919 * libc/sys.tex: Include unlinkr.def.
8920 * libc/reent/linkr.c (_unlink_r): Moved to...
8921 * libc/reent/unlinkr.c: ... new file.
8923 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8925 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
8926 (CHEWOUT_FILES): Added swab.def.
8927 * libc/string/Makefile.in: Rebuilt.
8928 * libc/string/string.tex: Include swab.def.
8929 * libc/include/string.h (swab): Declare.
8930 * libc/string/swab.c: New file.
8932 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8934 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
8935 (CHEWOUT_FILES): Added getw.def and putw.def.
8936 * libc/stdio/Makefile.in: Rebuilt.
8937 * libc/stdio/stdio.tex: Include getw.def and putw.def.
8938 * libc/stdio/getw.c: New file.
8939 * libc/stdio/putw.c: New file.
8941 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8943 * libc/stdio/flags.c (__sflags): Added check that mode[1]
8944 is non-null before looking at mode[2].
8946 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8948 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
8949 * libm/mathfp/sf_atan.c: Ditto.
8951 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
8953 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
8955 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
8957 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
8960 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
8962 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
8963 call prior to calling _VFPRINTF_R so reentrant data area is set.
8964 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
8966 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8968 * libc/stdio/vfscanf.c (limits.h): #include.
8969 (MAX_LONG_LEN): #define.
8970 (__svfscanf): Handle floating point numbers with arbitrary amounts
8973 2000-02-15 Nick Clifton <nickc@cygnus.com>
8975 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
8976 zero. Set the blocksize to 1024/
8978 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
8980 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
8981 with line buffering.
8983 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
8985 * acinclude.m4: Changed include directory for winsup headers.
8986 * aclocal.m4 configure libc/aclocal.m4
8987 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
8988 libc/locale/Makefile.in libc/machine/aclocal.m4
8989 libc/machine/configure libc/machine/a29k/aclocal.m4
8990 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
8991 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
8992 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
8993 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
8994 libc/machine/fr30/configure
8995 libc/machine/h8300/aclocal.m4
8996 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
8997 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
8998 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
8999 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9000 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9001 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9002 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9003 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9004 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9005 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9006 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9007 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9008 libc/machine/powerpc/configure
9009 libc/machine/sh/aclocal.m4
9010 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9011 libc/machine/sparc/configure
9012 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9013 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9014 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9015 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9016 libc/misc/Makefile.in libc/posix/Makefile.in
9017 libc/reent/Makefile.in
9018 libc/signal/Makefile.in
9019 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
9020 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9021 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
9022 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
9023 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
9024 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9025 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9026 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9027 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9028 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9029 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9030 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9031 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9032 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
9033 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
9034 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
9035 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
9036 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
9037 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
9038 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
9039 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
9040 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
9041 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
9042 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
9043 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
9044 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
9045 libm/configure: Regenerated.
9047 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
9049 * libc/stdlib/putenv_r.c (_putenv_r): New file.
9050 * libc/stdlib/strdup_r.c (_strdup_r): New file.
9051 * libc/include/string.h: Added _strdup_r.
9052 * libc/stdlib/putenv.c: Added call to reentrant version.
9053 * libc/stdlib/strdup.c: Ditto.
9054 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
9055 * libc/include/stdlib.h: Ditto.
9056 * libc/stdlib/Makefile.in: Regenerated.
9057 * libc/string/Makefile.in: Regenerated.
9058 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
9059 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
9060 management calls to reentrant versions.
9061 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
9062 * libc/stdlib/wctomb.c: Ditto.
9063 * libc/stdlib/mblen.c: Ditto.
9064 * libc/stdlib/mbstowcs.c: Ditto.
9065 * libc/stdlib/mbtowc.c: Ditto.
9066 * libc/stdlib/getenv.c: Ditto.
9067 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
9070 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
9072 patch from Corinna Vinschen <corinna@vinschen.de>
9073 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
9075 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
9077 * libm/mathfp/s_atangent.c: Fix exponent calculation.
9078 * libm/mathfp/s_ldexp.c: Ditto.
9079 * libm/mathfp/sf_atangent.c: Ditto.
9080 * libm/mathfp/sf_ldexp.c: Ditto.
9082 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9084 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
9085 * libc/include/locale.h: define NULL to be 0.
9087 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
9089 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
9092 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
9094 * libc/machine/mn10300/setjmp.S: Handle am33.
9096 1999-11-26 Nick Clifton <nickc@cygnus.com>
9098 * libc/sys/arm/syscalls.c: Add function prototypes.
9099 (stack_ptr): Move declaration before function definitions.
9101 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9103 * NEWS: Updated version information.
9106 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
9108 * libc/machine/i386/strchr.S: Fixed alignment test.
9110 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
9112 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
9114 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
9116 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
9117 ensuring that there is space between the two.
9119 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
9121 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
9124 1999-10-08 Vadim Egorov <egorovv@1c.ru>
9126 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
9129 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9131 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
9132 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
9134 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
9135 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
9137 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
9140 1999-09-13 DJ Delorie <dj@cygnus.com>
9142 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
9145 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9147 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
9148 also note BUFSIZ as its size.
9150 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
9152 * configure.host: Corrected feature defines for RTEMS.
9153 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
9154 * libc/include/sys/stat.h: mkfifo() should take const path arg.
9155 * libc/include/sys/unistd.h: pathconf() should take const path arg.
9156 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
9157 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
9158 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
9159 _PC_PRIO_IO, and _PC_SYNC_IO.
9160 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
9161 * libc/machine/m68k/Makefile.in: Regenerated.
9162 * libc/machine/m68k/strcpy.c: New file.
9163 * libc/machine/m68k/strlen.c: New file.
9164 * libc/stdio/tmpnam.c: Always make the returned name usable.
9165 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
9166 * libc/sys/rtems/sys/dirent.h: New file.
9167 * libc/sys/rtems/sys/types.h: Added dev_t.
9169 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
9171 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
9173 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
9175 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
9178 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
9180 patch from Jeff Johnston <jjohnstn@cygnus.com>
9181 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
9182 buffer is not in a useful state.
9184 1999-09-01 Nick Clifton <nickc@cygnus.com>
9186 * libc/sys/arm/syscalls.c (_link): Add stub.
9188 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9190 * ftell.c (ftell): Use actual position within buffer for text mode.
9191 * findfp.c (std): Initialize ptr->_bf._size.
9193 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
9195 * libc/include/sys/unistd.h: Add nice() declaration.
9197 1999-08-09 Nick Clifton <nickc@cygnus.com>
9199 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
9200 declare as a thumb function so that the disassembler will see the
9203 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9205 * libc/reent/reent.tex: Updated list of reentrant functions.
9207 1999-07-09 Michael Meissner <meissner@cygnus.com>
9209 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
9211 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
9213 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
9215 * libc/stdio/snprintf.c: New file.
9216 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
9218 * libc/stdio/vsnprintf.c: New file.
9219 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
9220 * libc/stdio/Makefile.in: Regenerated.
9222 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
9224 Patch submitted by Egor Duda <deo@logos-m.ru>:
9225 * libc/include/stdio.h: Add declarations for *nprintf.
9226 * libc/stdio/sprintf.c (snprintf): New function.
9227 (_snprintf_r): New function.
9228 * libc/stdio/vsprintf.c (vsnprintf): New function.
9229 (_vnsprintf_r): New function.
9231 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9233 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
9234 * libm/Makefile.am (stmp-targetdep): Ditto.
9235 * libc/Makefile.in: Regenerated.
9236 * libm/Makefile.in: Ditto.
9238 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9240 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
9241 * libm/Makefile.am (stmp-targetdep): Ditto.
9242 * libc/Makefile.in: Regenerated.
9243 * libm/Makefile.in: Ditto.
9245 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
9247 * Makefile.am: Removed dependencies on all-recursive and added "."
9248 to the SUBDIRS list to prevent infinite recursion from occurring.
9249 Also removed any references to EXTRA_DATA.
9250 * libc/Makefile.am: Ditto.
9251 * libc/machine/Makefile.am: Ditto.
9252 * libc/machine/i386/Makefile.am: Ditto.
9253 * libm/Makefile.am: Ditto.
9254 * libc/sys/Makefile.am: Ditto.
9255 * Makefile.in: Regenerated.
9256 * aclocal.m4: Ditto.
9258 * doc/Makefile.in: Ditto.
9259 * doc/aclocal.m4: Ditto.
9260 * doc/configure: Ditto.
9261 * libc/Makefile.in: Ditto.
9262 * libc/aclocal.m4: Ditto.
9263 * libc/configure: Ditto.
9264 * libc/machine/Makefile.in: Ditto.
9265 * libc/machine/aclocal.m4: Ditto.
9266 * libc/machine/configure: Ditto.
9267 * libc/machine/mn10300/Makefile.in: Ditto.
9268 * libc/machine/mn10300/aclocal.m4: Ditto.
9269 * libc/machine/mn10300/configure: Ditto.
9270 * libc/sys/Makefile.in: Ditto.
9271 * libc/sys/aclocal.m4: Ditto.
9272 * libc/sys/configure: Ditto.
9273 * libm/Makefile.in: Ditto.
9274 * libm/aclocal.m4: Ditto.
9275 * libm/configure: Ditto.
9277 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9279 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
9281 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9283 * libc/include/stdlib.h: Add reentrant routines.
9284 * libc/stdlib/Makefile.am: Add reentrant routines.
9285 * libc/stdlib/Makefile.in: Ditto.
9286 * libc/stdlib/envlock.c: New file.
9287 * libc/stdlib/envlock.h: New file.
9288 * libc/stdlib/getenv.c: Modify to call reentrant routine.
9289 * libc/stdlib/getenv_r.c: New file.
9290 * libc/stdlib/mblen.c: Modify to call reentrant routine.
9291 * libc/stdlib/mblen_r.c: New file.
9292 * libc/stdlib/setenv.c: Modify to call reentrant routine.
9293 * libc/stdlib/setenv_r.c: New file.
9294 * libc/stdlib/stdlib.tex: Add reentrant routines.
9296 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
9298 * libc/include/sys/types.h: Define __MS_types__ whenever
9301 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
9303 * libc/include/machine/ieeefp.h: Always default to little
9304 endian if Windows, regardless of architecture.
9305 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
9306 regardless of architecture.
9308 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
9310 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
9311 _WIN32 isn't defined.
9313 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
9315 * libm/common/s_rint.c (rint): Add volatile qualifier for
9316 intermediate value w.
9317 * libm/common/sf_rint.c (rintf): Ditto.
9319 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
9321 * libc/sys/arm/syscalls.c (remap_handle): Added check to
9322 ensure that std streams are initialized before being referenced.
9324 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
9326 * README: Update reference to newlib@cygnus.com new
9327 newlib@sourceware.cygnus.com address.
9329 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
9331 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
9332 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
9333 defined, even if _WIN32 isn't defined.
9335 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
9337 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
9339 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9341 * libc/include/sys/reent.h: Change Long and ULong to __Long and
9343 * libc/stdlib/dtoa.c: Ditto.
9344 * libc/stdlib/mprec.c: Ditto.
9345 * libc/stdlib/mprec.h: Ditto.
9346 * libc/stdlib/strtod.c: Ditto.
9348 1999-04-21 Nick Clifton <nickc@cygnus.com>
9350 * configure.host (mcore): Remove mcore machine directory.
9352 1999-04-18 Nick Clifton <nickc@cygnus.com>
9354 * libc/include/machine/ieeefp.h: Add support for mcore target.
9355 * libc/include/machine/setjmp.h: Add support for mcore target.
9356 * configure.host: Add support for mcore target.
9358 1999-04-13 Mark Salter <msalter@cygnus.com>
9360 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
9361 * libc/sys/arm/syscalls.c: Added isatty.
9363 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9365 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
9366 insert zeroes after significant digits.
9368 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9370 * libc/stdio/vfprintf.c (cvt): Changed floating point
9371 cvt routine to use union used by dtoa to properly determine
9372 if the sign bit is on or not.
9373 * libc/stdio/vfieeefp.h: New file
9375 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9377 * aclocal.m4: Regenerated.
9378 * configure: Regenerated.
9380 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
9382 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
9384 * libc/machine/i386/Makefile.in: Regenerated.
9386 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
9388 * acinclude.m4: Changed to work with new automake.
9389 * configure: Regenerated.
9390 * libc/machine/i386/aclocal.m4: Regenerated.
9391 * libc/machine/i386/configure: Regenerated.
9393 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
9395 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
9396 for telldir() and seekdir(). Rename unused structure element
9397 for use with these two routines.
9399 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
9401 * libc/time/mktime.c (validate_structure): Multiple fixes to
9402 code to handle cases where input fields are outside valid ranges.
9403 * libc/stdlib/div.c (div): Modified invalid rounding check.
9404 * libc/stdlib/ldiv.c (ldiv): Ditto.
9406 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
9408 * libc/machine/i386/memcpy.S: Performance rewrite.
9409 * libc/machine/i386/memmove.S: Ditto.
9410 * libc/machine/i386/i386mach.h: Added more register definitions.
9411 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
9413 * libc/include/machine/fastmath.h: Add definitions for x86
9416 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9418 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
9420 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
9422 Adjust newlib headers for new Cygwin Win32 API header files:
9423 * libc/include/sys/time.h: Check _WINSOCK_H rather than
9424 _GNU_H_WINDOWS32_SOCKETS.
9425 * libc/include/sys/types.h: Ditto.
9427 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
9429 *include/sys/reent.h: Add checks for size of Bigint element Long.
9430 *libc/dtoa.c: Change routines to use generic Long type.
9431 *libc/mprec.c: Change routines to use generic Long type.
9432 *libc/mprec.h: Change routines to use generic Long type.
9434 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
9436 * libc/Makefile.am: Add .def files.
9437 * libc/Makefile.in: Regenerate.
9438 * libc/e_acosh.c: Documentation update.
9439 * libc/e_atanh.c: Documentation update.
9440 * libc/e_hypot.c: Documentation update.
9441 * libc/e_remainder.c: Documentation update.
9442 * libc/er_lgamma.c: Documentation update.
9443 * libc/mathfp.tex: Documentation update.
9444 * libc/s_acos.c: Documentation update.
9445 * libc/s_atan.c: Documentation update.
9446 * libc/s_atan2.c: Documentation update.
9447 * libc/s_cosh.c: Documentation update.
9448 * libc/s_fmod.c: Documentation update.
9449 * libc/s_isnan.c: Documentation update.
9450 * libc/s_log10.c: Documentation update.
9451 * libc/s_pow.c: Documentation update.
9452 * libc/w_jn.c: Documentation update.
9454 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
9456 * aclocal.m4: Regenerate.
9457 * configure: Regenerate.
9459 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
9461 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
9462 to return 1 if user specified return code is 0.
9463 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
9465 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
9467 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
9468 to save the return address. Fixed longjmp to return to the original
9469 calling address of setjmp and to return the user specified return code
9470 rather than default to 1.
9471 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
9473 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
9475 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
9477 1999-02-10 Nick Clifton <nickc@cygnus.com>
9479 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
9480 volatile so that its assignments will not be discarded.
9482 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
9484 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
9485 be __STRICT_ANSI__ which is generated by compiler.
9486 * libc/include/ctype.h: Ditto.
9487 * libc/include/math.h: Ditto.
9488 * libc/include/stdio.h: Ditto.
9489 * libc/include/stdlib.h: Ditto.
9490 * libc/include/string.h: Ditto.
9491 * libc/include/sys/signal.h: Ditto.
9493 1999-02-08 Nick Clifton <nickc@cygnus.com>
9495 * configure.host: Add support for StrongARM target.
9497 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
9499 * libc/string/strncpy.c (strncpy): Removed redundant code
9500 that was copying bytes if data unaligned.
9502 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
9504 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
9505 mbstowcs.def, and wcstombs.def.
9507 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
9509 * libc/include/sys/errno.h: Add Cygwin errno.
9510 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
9513 1999-01-29 Nick Clifton <nickc@cygnus.com>
9515 * libc/sys/arm/syscalls.c: Move C library functions into seperate
9518 * libc/sys/arm/libcfunc.c: New file containing C library functions
9521 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
9522 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
9525 1999-01-27 Michael Meissner <meissner@cygnus.com>
9527 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
9528 type, and cut size in half so that the jmp_buf array is guaranteed
9529 to be aligned on a 64-bit boundary.
9531 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
9533 * libc/string/strings.tex: Added information about
9534 strcasecmp and strncasecmp.
9535 * libc/stdlib/stdlib.tex: Added missing information
9536 about mblen, mbstowcs, and wcstombs.
9537 * libc/string/strchr.c: Changed how mask is built to use
9538 shift operators so register will be used instead of storage.
9540 1999-01-22 DJ Delorie <dj@cygnus.com>
9542 * libc/include/stdlib.h: don't use dllimport if we're building
9543 newlib, since it's inside cygwin.dll
9545 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
9547 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
9548 _ctype_ under cygwin.
9550 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
9552 * include/stdlib.h: Fix typo from previous checkin.
9554 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
9556 * include/ctype.h: Use __declspec(dllimport) method for exporting
9557 variable from cygwin DLL.
9558 * include/time.h: Ditto.
9559 * sys/errno.h: Ditto.
9560 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
9561 * libc/locale/locale.c: Use __declspec(dllexport) method for
9562 exporting variable from cygwin DLL.
9564 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
9566 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
9567 access of bogus pointer will result in SIGSEGV.
9569 1999-01-07 Nick Clifton <nickc@cygnus.com>
9571 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
9572 of an underscore prefix to function names.
9574 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
9576 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
9577 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
9579 1998-12-31 Michael Meissner <meissner@cygnus.com>
9581 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
9582 to `%' if not already defined.
9584 1998-12-30 Michael Meissner <meissner@cygnus.com>
9586 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
9587 arguments const char *, not char *.
9588 * libc/include/stdio.h (_tempnam_r): Ditto.
9590 * libc/include/sys/reent.h (struct _reent): The _sig_func type
9591 points to a function taking an integer, not void.
9593 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
9595 * configure.host: Add a define for Cygwin builds.
9596 * libc/include/ctype.h: Don't use dll imported variables in newlib.
9598 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
9600 * libc/include/ctype.h: Define _ctype_ as dll imported variable
9601 for use with Cygwin.
9602 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
9603 dll imported variables for use with Cygwin.
9604 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
9605 as a dll imported variable for Cygwin.
9607 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
9609 * libc/include/sys/unistd.h: Add proto for getpass.
9611 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
9613 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
9616 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
9618 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
9619 not posix_path_list_p.
9621 1998-12-15 Nick Clifton <nickc@cygnus.com>
9623 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
9626 1998-12-13 Nick Clifton <nickc@cygnus.com>
9628 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
9630 1998-12-12 Nick Clifton <nickc@cygnus.com>
9632 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
9633 <msalter@cygnus.com>
9634 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
9635 * libc/machine/fr30/Makefile.in: Regenerated.
9637 1998-12-11 Nick Clifton <nickc@cygnus.com>
9639 * configure.host: Remove use of libc/sys for FR30 port.
9640 * libc/sys/fr30: Remove directory (replaced by libgloss).
9642 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
9644 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
9645 * libc/string/strncat.c (ALIGNED): Ditto.
9647 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
9649 * libc/include/sys/time.h: include sys/types.h
9651 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
9653 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
9654 comparison found when checking word at a time.
9656 1998-12-04 Nick Clifton <nickc@cygnus.com>
9658 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
9660 1998-12-03 Nick Clifton <nickc@cygnus.com>
9662 * libc/sys/fr30/syscalls.c (_times): New function stub.
9664 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9666 * configure.host (mach_add_setjmp): Replaced mach_add_objs
9667 with mach_add_setjmp flag which indicates if setjmp should
9668 be added to the machine directory objects.
9669 * acinclude.m4: Removed reference to mach_add_objs.
9670 * aclocal.m4: Regenerated.
9671 * Makefile.in: Regenerated.
9672 * configure: Regenerated.
9673 * libc/aclocal.m4: Regenerated.
9674 * libc/Makefile.in: Regenerated.
9675 * libc/configure: Regenerated.
9676 * libc/machine/aclocal.m4: Regenerated.
9677 * libc/machine/Makefile.in: Regenerated.
9678 * libc/machine/configure: Regenerated.
9679 * libc/machine/i386/aclocal.m4: Regenerated.
9680 * libc/machine/i386/Makefile.am: Altered to selectively add
9681 setjmp.S to the src files list.
9682 * libc/machine/i386/Makefile.in: Regenerated.
9683 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
9684 * libc/machine/i386/configure: Regenerated.
9686 1998-12-02 Nick Clifton <nickc@cygnus.com>
9688 * libc/sys/fr30/crt0.s (_start): Fix function names.
9690 * libc/machine/fr30: New directory
9691 * libc/machine/fr30/Makefile.am: New file.
9692 * libc/machine/fr30/Makefile.in: New generated file.
9693 * libc/machine/fr30/configure.in: New file.
9694 * libc/machine/fr30/configure: New generated file.
9695 * libc/machine/fr30/aclocal.m4: New generated file.
9696 * libc/sys/fr30/Makefile.am: New file.
9697 * libc/sys/fr30/Makefile.in: New generated file.
9698 * libc/sys/fr30/configure.in: New file.
9699 * libc/sys/fr30/configure: New generated file.
9700 * libc/sys/fr30/syscalls.c: New file.
9702 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
9704 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
9706 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
9708 * libc/time/strftime.c (strftime): Also handle %y for years before
9711 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
9713 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
9714 UNIX convention. Perform tolower on characters before comparing
9715 them rather than use toupper.
9716 * libc/string/strncasecmp.c (strncasecmp): Ditto.
9718 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
9720 * configure.host: Added using i386 machine directory
9721 for all x86 cross-compiler and configuring
9722 which added object files to use via new "mach_add_objs" variable.
9723 * configure: Regenerated.
9724 * libc/configure: Regenerated.
9725 * libc/Makefile.in: Regenerated.
9726 * libc/aclocal.m4: Regenerated.
9727 * libc/ctype/Makefile.in: Regenerated.
9728 * libc/errno/Makefile.in: Regenerated.
9729 * libc/locale/Makefile.in: Regenerated.
9730 * libc/machine/Makefile.in: Regenerated.
9731 * libc/machine/aclocal.m4: Regenerated.
9732 * libc/machine/configure: Regenerated.
9733 * libc/posix/Makefile.in: Regenerated.
9734 * libc/reent/Makefile.in: Regenerated.
9735 * libc/signal/Makefile.in: Regenerated.
9736 * libc/stdio/Makefile.in: Regenerated.
9737 * libc/stdlib/Makefile.in: Regenerated.
9738 * libc/string/Makefile.in: Regenerated.
9739 * libc/string/memmove.c: Optimized code to use memcpy
9740 logic when performing a non-destructive copy.
9741 * libc/string/strncmp.c: Altered code to allow building
9742 optimized for size or speed.
9743 * libc/syscalls/Makefile.in: Regenerated.
9744 * libc/time/Makefile.in: Regenerated.
9745 * libc/unix/Makefile.in: Regenerated.
9746 * libc/machine/i386/Makefile.am: Added new files and reference
9747 to "mach_add_objs" to indicate optional object files.
9748 * libc/machine/i386/Makefile.in: Regenerated.
9749 * libc/machine/i386/aclocal.m4: Regenerated.
9750 * libc/machine/i386/configure: Regenerated.
9751 * libc/machine/i386/memchr.S: New file that implements
9752 function in Intel assembler.
9753 * libc/machine/i386/memcmp.S: ditto.
9754 * libc/machine/i386/memcpy.S: ditto.
9755 * libc/machine/i386/memmove.S: ditto.
9756 * libc/machine/i386/memset.S: ditto.
9757 * libc/machine/i386/strchr.S: ditto.
9758 * libc/machine/i386/strlen.S: ditto.
9759 * libc/machine/i386/f_atan2.S: New file that implements
9760 fast version of math function to be used by compiler when
9761 --ffast_math compile option is used.
9762 * libc/machine/i386/f_atan2f.S: ditto.
9763 * libc/machine/i386/f_exp.c: ditto.
9764 * libc/machine/i386/f_expf.c: ditto.
9765 * libc/machine/i386/f_frexp.S: ditto.
9766 * libc/machine/i386/f_frexpf.S: ditto.
9767 * libc/machine/i386/f_ldexp.S: ditto.
9768 * libc/machine/i386/f_ldexpf.S: ditto.
9769 * libc/machine/i386/f_log.S: ditto.
9770 * libc/machine/i386/f_logf.S: ditto.
9771 * libc/machine/i386/f_log10.S: ditto.
9772 * libc/machine/i386/f_log10f.S: ditto.
9773 * libc/machine/i386/f_math.h: New file.
9774 * libc/machine/i386/f_pow.c: ditto.
9775 * libc/machine/i386/f_powf.S: ditto.
9776 * libc/machine/i386/f_tan.S: ditto.
9777 * libc/machine/i386/f_tan.S: ditto.
9778 * libc/machine/i386/i386mach.h: New file.
9780 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
9782 patch from Mumit Khan <khan@xraylith.wisc.edu>
9783 * libc/include/stdio.h (tempnam): Add prototype.
9784 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
9785 (tempnam): Adhere to prototype.
9787 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
9789 * Makefile.am: Add default for AR_FLAGS.
9790 * Makefile.in: Regenerate.
9792 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
9794 * libc/include/time.h: move __cplusplus wrapper after includes
9795 * libc/include/sys/time.h: ditto. If Cygwin, include
9797 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
9799 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
9801 * libc/time/strftime.c (strftime): Handle %y after year 2000.
9803 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
9805 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
9806 abnormnal end-of-crt0 marker.
9808 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
9810 * libc/sys/fr30/crt0.s: New file/directory.
9811 * libc/include/machine/setjmp.h: Add FR30 target.
9812 * libc/include/machine/ieeefp.h: Add FR30 target.
9813 * configure.host: Add FR30 target.
9815 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9817 * libm/math: Files that are duplicated in common directory removed.
9818 * libm/math/fdlibm.h: Removed.
9819 * libm/math/s_cbrt.c: Removed.
9820 * libm/math/s_copysign.c: Removed.
9821 * libm/math/s_expm1.c: Removed.
9822 * libm/math/s_finite.c: Removed.
9823 * libm/math/s_ilogb.c: Removed.
9824 * libm/math/s_infinity.c: Removed.
9825 * libm/math/s_lib_ver.c: Removed.
9826 * libm/math/s_log1p.c: Removed.
9827 * libm/math/s_logb.c: Removed.
9828 * libm/math/s_matherr.c: Removed.
9829 * libm/math/s_modf.c: Removed.
9830 * libm/math/s_nan.c: Removed.
9831 * libm/math/s_nextafter.c: Removed.
9832 * libm/math/s_rint.c: Removed.
9833 * libm/math/s_scalbn.c: Removed.
9834 * libm/math/sf_cbrt.c: Removed.
9835 * libm/math/sf_copysign.c: Removed.
9836 * libm/math/sf_expm1.c: Removed.
9837 * libm/math/sf_finite.c: Removed.
9838 * libm/math/sf_ilogb.c: Removed.
9839 * libm/math/sf_infinity.c: Removed.
9840 * libm/math/sf_log1p.c: Removed.
9841 * libm/math/sf_logb.c: Removed.
9842 * libm/math/sf_modf.c: Removed.
9843 * libm/math/sf_nan.c: Removed.
9844 * libm/math/sf_nextafter.c: Removed.
9845 * libm/math/sf_rint.c: Removed.
9846 * libm/math/sf_scalbn.c: Removed.
9847 * libm/math/Makefile.am: Removed references to deleted files (above).
9848 * libm/math/Makefile.in: Regenerated.
9849 * libm/Makefile.am: Added common directory to math.
9850 * libm/Makefile.in: Regenerated.
9852 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
9854 * libm/mathfp: Add non-ANSI functions.
9855 * libm/mathfp/e_acosh.c acosh(): New file.
9856 * libm/mathfp/e_atanh.c atanh(): New file.
9857 * libm/mathfp/e_hypot.c hypot(): New file.
9858 * libm/mathfp/e_j0.c j0(): New file.
9859 * libm/mathfp/e_j1.c j1(): New file.
9860 * libm/mathfp/e_remainder.c remainder(): New file.
9861 * libm/mathfp/e_scalb.c scalb(): New file.
9862 * libm/mathfp/ef_acosh.c acoshf(): New file.
9863 * libm/mathfp/ef_atanh.c atanhf(): New file.
9864 * libm/mathfp/ef_hypot.c hypotf(): New file.
9865 * libm/mathfp/ef_j0.c j0f(): New file.
9866 * libm/mathfp/ef_j1.c j1f(): New file.
9867 * libm/mathfp/ef_remainder.c remainderf(): New file.
9868 * libm/mathfp/ef_scalb.c scalbf(): New file.
9869 * libm/mathfp/er_gamma.c gamma_r: New file.
9870 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
9871 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
9872 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
9873 * libm/mathfp/w_cabs.c cabs(): New file.
9874 * libm/mathfp/w_drem.c drem(): New file.
9875 * libm/mathfp/w_jn.c jn(): New file.
9876 * libm/mathfp/wf_cabs.c cabsf(): New file.
9877 * libm/mathfp/wf_drem.c dremf(): New file.
9878 * libm/mathfp/wf_jn.c jnf(): New file.
9880 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
9882 * libc/sys/cygwin32: remove directory and contents
9883 * libc/sys/cygwin: and add back, losing the "32".
9884 * configure.host: check for cygwin* instead of cygwin32.
9885 * acinclude.m4: ditto.
9886 * aclocal.m4: regenerate with aclocal
9887 * configure: regenerate with autoconf
9889 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
9891 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
9894 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9896 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
9897 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
9898 to make rand/srand, strtok, asctime, localtime, w_gamma,
9899 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
9900 time.h to bring in struct tm definition.
9901 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
9902 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
9903 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
9904 instead of static variable.
9905 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
9906 struct reent instead of static variable.
9907 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
9908 struct reent instead of static variable.
9909 * libm/math/Makefile.am: Removed s_signgam.o.
9910 * libm/math/Makefile.in: Regenerated.
9911 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
9912 struct reent instead of global variable 'signgam'.
9913 * libm/math/w_lgamma.c (lgamma): Likewise.
9914 * libm/math/wf_gamma.c (gammaf): Likewise.
9915 * libm/math/wf_lgamma.c (lgammaf): Likewise.
9916 * libm/math/s_signgam.c: Removed.
9917 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
9919 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
9921 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
9922 libc/include/reent.h.
9923 * libc/reent/Makefile.in: Regenerated.
9924 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
9926 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
9927 'JIS_action_table' to be const.
9928 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
9930 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
9932 * acinclude.m4: $with_target_subdir should default to '.'
9933 or confusion results when configuring in same directory as sources.
9934 * Regenerate all aclocal.m4 and configure files.
9936 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
9938 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
9939 can be set by defining MALLOC_ALIGNMENT=16. Also added support
9940 for platforms where sizeof(size_t) < sizeof(long) via
9941 SIZE_T_SMALLER_THAN_LONG macro.
9943 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
9945 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
9946 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
9947 which sets _CLOCKS_PER_SEC_ for selected machines.
9948 * libc/include/machine/time.h: New file.
9950 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9952 * libc/syscalls/sysexecve.c: New file.
9953 * libc/syscalls/sysgettod.c: New file.
9954 * libc/syscalls/systimes.c: New file.
9955 * libc/syscalls/Makefile.am: Added new objects.
9956 * libc/syscalls/Makefile.in: Regenerated.
9957 * libc/include/_syslist.h (_execve): Moved define in file.
9958 * libc/include/reent.h: Added _execve_r declaration.
9959 * libc/Makefile.in: Regenerated.
9960 * libc/ctype/Makefile.in: Regenerated.
9961 * libc/errno/Makefile.in: Regenerated.
9962 * libc/locale/Makefile.in: Regenerated.
9963 * libc/machine/Makefile.in: Regenerated.
9964 * libc/misc/Makefile.in: Regenerated.
9965 * libc/posix/Makefile.in: Regenerated.
9966 * libc/reent/Makefile.in: Regenerated.
9967 * libc/reent/execr.c (_execve_r): Added _execve_r function.
9968 * libc/signal/Makefile.in: Regenerated.
9969 * libc/stdio/Makefile.in: Regenerated.
9970 * libc/time/Makefile.in: Regenerated.
9971 * libc/unix/Makefile.in: Regenerated.
9972 * libm/mathfp/Makefile.in: Regenerated.
9974 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9976 * libc/string/Makefile.in: Regenerated.
9977 * libc/string/memchr.c (memchr): Moved code to reduce object size.
9978 * libc/string/memcpy.c (memcpy): Ditto.
9979 * libc/string/memcmp.c (memcmp): Ditto.
9980 * libc/string/memset.c (memset): Ditto.
9981 * libc/string/strchr.c (strchr): Ditto.
9982 * libc/string/strcmp.c (strcmp): Ditto.
9983 * libc/string/strcpy.c (strcpy): Ditto.
9984 * libc/string/strlen.c (strlen): Ditto.
9986 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
9988 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
9989 to generate aclocal.m4.
9990 * libm/Makefile.in: Regenerated.
9991 * libm/aclocal.m4: Regenerated.
9992 * libm/configure: Regenerated.
9993 * libm/math/Makefile.in: Regenerated.
9994 * libm/mathfp/Makefile.in: Regenerated.
9996 1998-09-25 Mark Salter <msalter@cygnus.com>
9998 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
9999 by adding leading and trailing underscores to symbol names.
10001 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
10003 * Makefile.in: Add default for AR_FLAGS.
10005 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
10007 patch from ian@airs.com (Ian Taylor):
10008 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
10009 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
10010 is needed for detecting the build machine. Required for
10011 cygwin native builds.
10013 * Regenerate all aclocal.m4 and configure files.
10015 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
10017 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
10018 used to start with LC.
10020 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10022 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
10023 (longjmp): Likewise.
10025 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10027 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
10028 the test for small number of bytes.
10030 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10032 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
10033 math library that uses floating point algorithms instead of the old
10035 * Makefile.in: Regenerate with automake version 1.3b.
10036 * configure: Rebuild.
10037 * libm/Makefile.in: Regenerate with automake version 1.3b.
10038 * libm/aclocal.m4: Regenerate.
10039 * libm/configure: Rebuild.
10040 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
10041 * libm/acinclude.m4: Define macros for configure.in.
10042 * libm/config.h.in: Generate.
10043 * libm/mathfp/Makefile.am: New file.
10044 * libm/mathfp/Makefile.in: Generate.
10045 * libm/mathfp/s_acos.c (acos): New file.
10046 * libm/mathfp/s_asin.c (asin): New file.
10047 * libm/mathfp/s_asine.c (asine): New file.
10048 * libm/mathfp/s_atan.c (atan): New file.
10049 * libm/mathfp/s_atan2.c (atan2): New file.
10050 * libm/mathfp/s_atangent.c (atangent): New file.
10051 * libm/mathfp/s_ceil.c (ceil): New file.
10052 * libm/mathfp/s_copysign.c (copysign): New file.
10053 * libm/mathfp/s_cos.c (cos): New file.
10054 * libm/mathfp/s_cosh.c (cosh): New file.
10055 * libm/mathfp/s_exp.c (exp): New file.
10056 * libm/mathfp/s_fabs.c (fabs): New file.
10057 * libm/mathfp/s_finite.c (finite): New file.
10058 * libm/mathfp/s_floor.c (floor): New file.
10059 * libm/mathfp/s_fmod.c (fmod): New file.
10060 * libm/mathfp/s_frexp.c (frexp): New file.
10061 * libm/mathfp/s_infconst.c: New file.
10062 * libm/mathfp/s_isinf (isinf).c: New file.
10063 * libm/mathfp/s_isnan.c (isnan): New file.
10064 * libm/mathfp/s_ispos.c (ispos): New file.
10065 * libm/mathfp/s_ldexp.c (ldexp): New file.
10066 * libm/mathfp/s_log.c (log): New file.
10067 * libm/mathfp/s_log10.c (log10): New file.
10068 * libm/mathfp/s_logarithm.c (logarithm): New file.
10069 * libm/mathfp/s_mathcnst.c: New file.
10070 * libm/mathfp/s_modf (modf).c: New file.
10071 * libm/mathfp/s_numtest.c (numtest): New file.
10072 * libm/mathfp/s_pow.c (pow): New file.
10073 * libm/mathfp/s_scalbn.c (scalbn): New file.
10074 * libm/mathfp/s_sin (sin).c: New file.
10075 * libm/mathfp/s_sine.c (sine): New file.
10076 * libm/mathfp/s_sineh.c (sineh): New file.
10077 * libm/mathfp/s_sinf.c (sinf): New file.
10078 * libm/mathfp/s_sinh.c (sinh): New file.
10079 * libm/mathfp/s_sqrt.c (sqrt): New file.
10080 * libm/mathfp/s_tan.c (tan): New file.
10081 * libm/mathfp/s_tanh.c (tanh): New file.
10082 * libm/mathfp/sf_acos.c (acosf): New file.
10083 * libm/mathfp/sf_asin.c (asinf): New file.
10084 * libm/mathfp/sf_asine.c (asinef): New file.
10085 * libm/mathfp/sf_atan.c (atanf): New file.
10086 * libm/mathfp/sf_atan2.c (atan2f): New file.
10087 * libm/mathfp/sf_atangent.c (atangent): New file.
10088 * libm/mathfp/sf_ceil.c (ceilf): New file.
10089 * libm/mathfp/sf_copysign.c (copysignf): New file.
10090 * libm/mathfp/sf_cos.c (cosf): New file.
10091 * libm/mathfp/sf_cosh.c (coshf): New file.
10092 * libm/mathfp/sf_exp.c (expf): New file.
10093 * libm/mathfp/sf_fabs.c (fabsf): New file.
10094 * libm/mathfp/sf_finite.c (finitef): New file.
10095 * libm/mathfp/sf_floor.c (floorf): New file.
10096 * libm/mathfp/sf_fmod.c (fmodf): New file.
10097 * libm/mathfp/sf_frexp.c (frexpf): New file.
10098 * libm/mathfp/sf_isinf.c (isinff): New file.
10099 * libm/mathfp/sf_isnan.c (isnanf): New file.
10100 * libm/mathfp/sf_ispos.c (isposf): New file.
10101 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
10102 * libm/mathfp/sf_log.c (logf): New file.
10103 * libm/mathfp/sf_log10.c (log10f): New file.
10104 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
10105 * libm/mathfp/sf_modf.c (modff): New file.
10106 * libm/mathfp/sf_numtest.c (numtestf): New file.
10107 * libm/mathfp/sf_pow.c (powf): New file.
10108 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
10109 * libm/mathfp/sf_sin.c (sinf): New file.
10110 * libm/mathfp/sf_sine.c (sinef): New file.
10111 * libm/mathfp/sf_sineh.c (sinehf): New file.
10112 * libm/mathfp/sf_sinh.c (sinhf): New file.
10113 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
10114 * libm/mathfp/sf_tan.c (tanf): New file.
10115 * libm/mathfp/sf_tanh.c (tanhf): New file.
10116 * libm/mathfp/zmath.h: New file.
10118 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10120 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
10121 exit if it has been overwritten by pre-fetching in delay slot.
10123 1998-09-01 Michael Meissner <meissner@cygnus.com>
10125 * Makefile.am (tooldir): Add in host_alias, so that multilib
10126 libraries are installed in the directory the compiler looks in.
10127 * Makefile.in: Regenerate.
10129 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
10131 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
10133 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
10134 ahead of test for number of bytes being moved.
10136 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
10138 * libc/include/sys/unistd.h: Nothing special needed for
10139 _exit under cygwin.
10141 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
10143 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
10144 conform to user label naming conventions.
10146 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
10148 * libc/sys/cygwin32/sys/utime.h: variable names in
10149 protos should start with two leading underscores
10150 * libc/include/string.h: ditto
10151 * libc/include/sys/signal.h: ditto
10152 * libc/include/sys/stat.h: ditto
10153 * libc/include/sys/time.h: ditto
10154 * libc/include/sys/unistd.h: ditto
10155 * libc/include/ctype.h: ditto
10156 * libc/include/stdlib.h: ditto
10157 * libc/include/sys/reent.h: struct _atexit function ptr takes a
10158 void, same with _sig_func.
10160 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
10162 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
10163 for MB_CAPABLE to reduce code size when newlib is not configured
10164 with --enable-newlib-mb.
10165 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
10166 mbtowc_r.o to minimize size.
10167 * libc/stdlib/Makefile.in: Rebuild.
10169 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
10171 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
10173 * libc/sys/sparc64/Makefile.in: Rebuild.
10175 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
10177 * Makefile.am (MAKEOVERRIDES): Define.
10178 * Makefile.in: Rebuild.
10180 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
10182 * libc/sys/sparc64/sys/stat.h (stat): Add const.
10184 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
10186 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
10187 newlib_cflags when looking for targ-include.
10188 * */aclocal.m4, */configure: Rebuild.
10190 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
10192 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
10195 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
10197 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
10198 on SPARCs with little-endian data.
10199 * libc/include/machine/ieeefp.h: Ditto.
10201 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
10203 * acinclude.m4: Handle a relative srcdir correctly when setting
10205 * */aclocal.m4, */configure: Rebuild.
10207 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
10209 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
10210 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
10211 * libm/math/wrf_gamma.c (gammaf_r): ditto
10212 * libm/math/wr_lgamma.c (lgamma_r): ditto
10213 * libm/math/wr_gamma.c (gamma_r): ditto
10214 * libm/math/wf_sqrt.c (sqrtf): ditto
10215 * libm/math/wf_sinh.c (sinhf): ditto
10216 * libm/math/wf_scalb.c (scalbf): ditto
10217 * libm/math/wf_remainder.c (remainderf): ditto
10218 * libm/math/wf_pow.c (powf): ditto
10219 * libm/math/wf_log10.c (log10f): ditto
10220 * libm/math/wf_log.c (logf): ditto
10221 * libm/math/wf_lgamma.c (lgammaf): ditto
10222 * libm/math/wf_jn.c (jnf, ynf): ditto
10223 * libm/math/wf_j1.c (j1f, y1f): ditto
10224 * libm/math/wf_j0.c (j0f, y0f): ditto
10225 * libm/math/wf_hypot.c (hypotf): ditto
10226 * libm/math/wf_gamma.c (gammaf): ditto
10227 * libm/math/wf_fmod.c (fmodf): ditto
10228 * libm/math/wf_exp.c (expf): ditto
10229 * libm/math/wf_cosh.c (coshf): ditto
10230 * libm/math/wf_atanh.c (atanhf): ditto
10231 * libm/math/wf_atan2f.c (atan2f): ditto
10232 * libm/math/wf_asin.c (asinf): ditto
10233 * libm/math/wf_acosh.c (acoshf): ditto
10234 * libm/math/wf_acos.c (acosf): ditto
10235 * libm/math/w_sqrt.c (sqrt): ditto
10236 * libm/math/w_sinh.c (sinh): ditto
10237 * libm/math/w_scalb.c (scalb): ditto
10238 * libm/math/w_remainder.c (remainder): ditto
10239 * libm/math/w_pow.c (pow): ditto
10240 * libm/math/w_log10.c (log10): ditto
10241 * libm/math/w_log.c (log): ditto
10242 * libm/math/w_lgamma.c (lgamma): ditto
10243 * libm/math/w_jn.c (jn, yn): ditto
10244 * libm/math/w_j1.c (j1, y1): ditto
10245 * libm/math/w_j0.c (j0, y0): ditto
10246 * libm/math/w_hypot.c (hypot): ditto
10247 * libm/math/w_gamma.c (gamma): ditto
10248 * libm/math/w_fmod.c (fmod): ditto
10249 * libm/math/w_exp.c (exp): ditto
10250 * libm/math/w_cosh.c (cosh): ditto
10251 * libm/math/w_atanh.c (atanh): ditto
10252 * libm/math/w_atan2f.c (atan2): ditto
10253 * libm/math/w_asin.c (asin): ditto
10254 * libm/math/w_acosh.c (acosh): ditto
10255 * libm/math/w_acos.c (acos): ditto
10257 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
10259 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
10260 (fsrc): Add wf_cabs.c and wf_drem.c.
10261 * libm/math/Makefile.in: Rebuild.
10263 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
10264 unused directory variables. Remove duplicate CFLAGS.
10265 * Makefile.in: Rebuild.
10267 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
10268 with $(CC_FOR_BUILD).
10269 (makedoc.o): Likewise.
10270 * doc/Makefile.in: Rebuild.
10272 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
10273 force a definition of COMPILE.
10274 (libfoo_a_SOURCES): Define.
10275 * libc/sys/cygwin32/Makefile.in: Rebuild.
10276 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
10277 force a definition of COMPILE.
10278 (libfoo_a_SOURCES): Define.
10279 * libc/sys/tic80/Makefile.in: Rebuild.
10281 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
10283 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
10286 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
10288 * Build using autoconf and automake. Added many Makefile.am and
10289 configure.in files, plus generated files. Old configure.in files
10290 and all old Makefile.in files completely replaced. Removed
10291 host/any. Added acinclude.m4 and configure.host.
10293 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
10295 * libc/stdio/vfprintf.c: enable long long support, sometimes.
10296 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
10298 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10300 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
10301 * libc/machine/sh/Makefile.in: Add rules for new files.
10303 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10305 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
10306 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
10307 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
10309 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
10311 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
10314 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
10316 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
10317 internal static buffer when s is NULL, as prescribed by ANSI.
10319 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
10321 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
10323 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
10324 libc/stdlib will be used for h8300hms.
10326 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10328 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
10329 version that can be built either for speed or size.
10330 * libc/machine/mn10300/memset.S (_memset): ditto
10331 * libc/machine/mn10300/memchr.S (_memchr): ditto
10332 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
10333 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
10334 * libc/machine/mn10300/strchr.S (_strchr): ditto
10335 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
10336 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
10337 * libc/machine/mn10300/Makefile.in: Added entries for
10338 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
10339 strcmp.o, strcpy.o, and strlen.o.
10341 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
10343 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
10344 been replaced with libgloss/mn10200.
10346 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
10348 * libc/string/strchr.c (strchr): Make s a constant pointer to
10351 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
10353 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
10354 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
10355 board SWIs instead of Demon board SWIs).
10357 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
10359 * libc/string/strncat.c (strncat): Make -Os act the same as
10360 PREFER_SIZE_OVER_SPEED being defined.
10362 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
10364 * libc/string/memchr.c (memchr): Make -Os act the same as
10365 PREFER_SIZE_OVER_SPEED being defined.
10366 * libc/string/memcmp.c (memcmp): Ditto.
10367 * libc/string/memcpy.c (memcpy): Ditto.
10368 * libc/string/memset.c (memset): Ditto.
10369 * libc/string/strcat.c (strcat): Ditto.
10370 * libc/string/strchr.c (strchr): Ditto.
10371 * libc/string/strcmp.c (strcmp): Ditto.
10372 * libc/string/strcpy.c (strcpy): Ditto.
10373 * libc/string/strlen.c (strlen): Ditto.
10374 * libc/string/strncat.c (strncat): Ditto.
10375 * libc/string/strncmp.c (strncmp): Ditto.
10376 * libc/string/strncpy.c (strncpy): Ditto.
10378 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
10380 * libc/include/sys/itimer.h: remove
10381 * libc/include/sys/time.h: itimer stuff should be here
10383 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
10385 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
10386 bit instead of comparing to 0 so -0.0 can be printed correctly.
10388 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10390 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
10392 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
10394 * libc/include/sys/unistd.h: fix sync() proto
10395 * libc/include/sys/fcntl.h: remove _close which is already
10396 defined in unistd.h.
10397 * libc/include/sys/time.h: add getitimer proto
10399 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
10401 * libc/string/strchr.c: convert arg to unsigned char
10402 * libc/include/stdlib.h: add protos for random, srandom
10403 * libc/include/sys/stat.h: add lstat proto
10404 * libc/include/sys/time.h: add setitimer proto
10405 * libc/include/sys/unistd.h: add readlink, symlink protos
10406 * libc/include/process.h: instead of including windows.h and using
10407 HANDLEs in sexec protos, just use void *s. Need to include
10410 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
10412 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
10414 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
10416 * libc/include/process.h: add secure exec protos
10418 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
10420 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
10421 which are accessed as both doubles and integers.
10422 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
10423 * libc/stdlib/strtod.c (_strtod_r): Likewise.
10424 * libc/stdlib/mprec.h: Add "union double_union" and change
10425 word0/word1 macros to use it.
10427 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
10429 * libc/include/sys/signal.h: add __cplusplus wrapper
10431 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
10433 * libc/include/sys/utime.h: new generic file that gets replaced by
10434 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
10436 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
10437 * libc/include/time.h: remove duplicate utime proto
10438 * libc/include/utime.h: add comment
10440 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
10442 * libc/include/sys/time.h: Add missing include to
10443 allow use of _EXFUN. Remove times function that is
10444 already defined in times.h.
10446 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
10448 * libc/include/time.h: Fix typo in tzset.
10450 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
10452 * libc/include/sys/time.h: add missing Cygwin32 function protos
10453 * libc/include/sys/unistd.h: ditto
10454 * libc/include/time.h: ditto
10456 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
10458 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
10460 * libc/include/sys/types.h: add a new __MS_types__ section
10461 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
10462 __BIT_TYPES_DEFINED__.
10464 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
10466 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
10467 since it overrides the one in libc/include/sys. Also, start
10470 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
10472 * libm/math/Makefile.in: add s_signgam.o to obj list
10474 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
10476 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
10478 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
10480 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
10481 so don't use defines.
10483 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
10485 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
10487 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
10489 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
10490 _current_locale as default locale.
10492 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
10494 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
10495 insufficient space in a chunk.
10497 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
10499 * configure.in (links): Added check for --enable-newlib-mb configure
10500 option which defines the MB_CAPABLE macro.
10501 * libc/locale/locale.c (_setlocale_r): Added support for setting
10502 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
10504 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
10505 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
10506 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
10507 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
10508 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
10509 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
10510 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
10511 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
10512 * libc/stdlib/Makefile.in: Added new multibyte
10513 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
10514 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
10515 _mbstowcs_r(), and _wcstombs_r().
10516 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
10517 for JIS, SJIS, and EUC-JP characters.
10518 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
10519 MB_CAPABLE defined.
10520 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
10521 MB_CAPABLE defined.
10522 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
10523 MB_CAPABLE defined.
10524 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
10525 if MB_CAPABLE defined.
10526 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
10527 if MB_CAPABLE defined.
10528 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
10529 to the format string processing when MB_CAPABLE.
10530 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
10533 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
10535 The following modifications are courtesy of Anthony Thompson,
10536 athompson@cambridge.arm.com:
10537 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
10538 boith RDI and RDP monitors.
10539 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
10540 RDI and RDP monitors.
10542 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
10544 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
10545 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
10546 (_swiopen): Fixed open flags to treat write with append as just append.
10547 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
10548 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
10550 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10552 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
10553 When needing to transfer an initial 2-byte-word, store as
10556 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10558 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
10560 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
10561 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
10563 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
10565 * configure.in (target_cflags): If --enable-target-optspace, use
10566 -Os to compile newlib rather than -O2. Default to using -Os for
10567 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
10570 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
10572 * libc/include/machine/setjmp.h: change sigsetjmp and
10573 siglongjmp definitions to use an array instead of a struct
10576 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
10578 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
10580 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
10582 * libc/string/strxfrm.c: fix to get correct return value
10584 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
10586 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
10587 builds. Make mode change labels global so that they will be seen
10590 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
10592 * configure.in (links): Do not use ARM debiugging protocols for PE
10595 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
10598 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10600 * libc/stdio/findfp.c (__sinit): Made stdout default to
10601 line buffered mode as defined by ANSI.
10603 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
10605 * libc/include/sys/itimer.h: New file.
10607 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
10609 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10611 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
10614 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
10616 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
10619 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
10621 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
10623 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
10625 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
10628 * libc/include/machine/setjmp.h: Add D30V support.
10630 * configure.in (d30v-*): Add d30v machine directory.
10632 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
10634 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
10635 been replaced with libgloss/mn10300.
10637 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
10639 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
10640 it is no longer needed.
10642 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10644 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
10646 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
10648 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
10649 the file when O_APPEND is set, wherever the EOF happens to be at
10652 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
10654 patch from cgf@bbc.com (Christopher Faylor):
10655 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
10656 convention of closing fp prior to attempting to open the file
10657 argument. This allows correct operation when reopening
10658 stdin/stdout/stderr. Replaces last freopen.c patch.
10660 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
10662 patch from cgf@bbc.com (Christopher Faylor):
10663 * libc/stdio/freopen.c: freopen was not preserving the fd
10664 of the stream being operated on. This confuses programs that
10665 expect that the handles for stdout and stderr will be 1 and 2.
10667 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
10669 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
10671 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
10673 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
10675 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
10677 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
10678 altered to not use a branch. Also added hint that last
10679 bclr in longjmp will likely result in branch.
10682 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
10684 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
10686 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
10688 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
10691 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
10693 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
10695 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
10696 that loads FR14 to specify offset of 8 rather than 4
10697 so it loads from offset 96 (where setjmp stored it).
10699 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10701 * libc/machine/sh/memcpy.S: (_memcpy): Update to
10702 latest version supplied by customer.
10703 * libc/machine/sh/memset.S (_memset): Ditto.
10705 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
10707 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
10710 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
10712 * libc/include/string.h: remove redefinition of ffs
10714 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
10716 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
10719 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
10721 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
10722 TI Libraries to link to libc.a
10724 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
10726 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
10727 * libc/include/sys/stat.h (_{,f}stat): Ditto.
10728 * libc/include/sys/wait.h (_wait): Ditto.
10729 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
10730 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
10732 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
10734 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
10735 minded stabs so function name shows up when running the simulator
10737 * libc/sys/d10v/{crt0,trap}.S: Ditto.
10739 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
10741 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
10742 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
10743 Use R5 where we used to use R3.
10745 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
10747 * libc/stdlib/getopt.c (getopt): replaced __progname
10748 with nargv[0] to improve portability to imbedded systems.
10750 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
10752 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
10753 patch supplied by Tont.Thompson@arm.com to fix the creation of the
10756 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
10758 * libc/stdio/tmpnam.c (worker): Generate a different file name
10761 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
10762 fails, try an execlp for sh.
10764 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
10765 option for the winsup include directory.
10767 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
10769 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
10770 debugging interface from Tony.Thompson@arm.com.
10772 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
10773 * libc/sys/arm/swi.h: ditto.
10775 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
10777 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
10778 DIR struct used for readdir hashes.
10780 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
10782 * libc/string/strchr.c: Use "unsigned chars" as necessary.
10784 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
10786 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
10789 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
10791 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
10792 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
10793 * libc/include/malloc.h: Add extern "C" if __cplusplus.
10794 (__malloc_copy): Declare.
10796 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
10798 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
10800 (POINTER_UINT): Define.
10801 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
10802 (MALLOC_ALIGNMENT): Don't define if already defined.
10803 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
10806 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
10808 * libc/string/memset.c (memset): Fiddle with code so that the long
10809 value being stored is not a stack value. Unroll storing longs 4
10812 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
10814 * Reduce code size for libm modules.
10815 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
10816 and simply move code into sqrt.
10817 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
10818 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
10819 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
10820 * libm/math/wr_gamma.c (gamma_r): Likewise.
10821 * libm/math/wf_sinh.c (sinfh): Likewise.
10822 * libm/math/w_sinh.c (sinh): Likewise.
10823 * libm/math/wf_scalb.c (scalbf): Likewise.
10824 * libm/math/w_scalb.c (scalb): Likewise.
10825 * libm/math/wf_remainder.c (remainderf): Likewise.
10826 * libm/math/w_remainder.c (remainder): Likewise.
10827 * libm/math/wf_pow.c (powf): Likewise.
10828 * libm/math/w_pow.c (pow): Likewise.
10829 * libm/math/wf_log10.c (log10f): Likewise.
10830 * libm/math/w_log10.c (log10): Likewise.
10831 * libm/math/wf_log.c (logf): Likewise.
10832 * libm/math/w_log.c (log): Likewise.
10833 * libm/math/w_lgamma.c (lgamma): Likewise.
10834 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10835 * libm/math/wf_jn.c (jnf): Likewise.
10836 * libm/math/w_jn.c (jn): Likewise.
10837 * libm/math/wf_j1.c (j1f): Likewise.
10838 * libm/math/w_j1.c (j1): Likewise.
10839 * libm/math/wf_j0.c (j0f): Likewise.
10840 * libm/math/w_j0.c (j0): Likewise.
10841 * libm/math/wf_hypot.c (hypotf): Likewise.
10842 * libm/math/w_hypot.c (hypot): Likewise.
10843 * libm/math/wf_gamma.c (gammaf): Likewise.
10844 * libm/math/w_gamma.c (gamma): Likewise.
10845 * libm/math/wf_fmod.c (fmodf): Likewise.
10846 * libm/math/w_fmod.c (fmod): Likewise.
10847 * libm/math/wf_exp.c (expf): Likewise.
10848 * libm/math/w_exp.c (exp): Likewise.
10849 * libm/math/wf_cosh.c (coshf): Likewise.
10850 * libm/math/w_cosh.c (cosh): Likewise.
10851 * libm/math/wf_atanh.c (atanhf): Likewise.
10852 * libm/math/w_atanh.c (atanh): Likewise.
10853 * libm/math/wf_atan2.c (atan2f): Likewise.
10854 * libm/math/w_atan2.c (atan2): Likewise.
10855 * libm/math/wf_asin.c (asinf): Likewise.
10856 * libm/math/w_asin.c (asin): Likewise.
10857 * libm/math/wf_acosh.c (acoshf): Likewise.
10858 * libm/math/w_acosh.c (acosh): Likewise.
10859 * libm/math/wf_acos.c (asocf): Likewise.
10860 * libm/math/w_acos.c (acos): Likewise.
10861 * libm/math/wf_sqrt.c (sqrtf): Likewise.
10862 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
10863 for embedded systems.
10865 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
10867 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
10868 Lea in case of a foreign sbrk.
10870 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
10872 Incorporate Doug Lea's malloc:
10873 * libc/stdlib/mallocr.c: Completely replaced.
10874 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
10876 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
10877 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
10879 (mallinfo, malloc_stats, mallopt): New functions.
10880 (_mstats_r): Just call _malloc_stats_r.
10881 * libc/stdlib/malign.c: New file.
10882 * libc/stdlib/mlock.c: New file.
10883 * libc/stdlib/msize.c: New file.
10884 * libc/stdlib/mtrim.c: New file.
10885 * libc/stdlib/realloc.c: New file.
10886 * libc/stdlib/valloc.c: New file.
10887 * libc/stdlib/malloc.h: Remove.
10888 * libc/stdlib/callocr.c: Remove.
10889 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
10890 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
10891 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
10892 reallocr.o, valloc.o, vallocr.o.
10893 (CHEWOUT_FILES): Add mlock.def, mstats.def.
10894 (MALLOC_CFLAGS): New variable.
10895 (mallocr.o): New target, build from mallocr.c.
10896 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
10897 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
10898 (msizer.o, malloptr.o): Likewise.
10899 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
10900 (valloc.o): New target.
10901 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
10902 * libc/include/malloc.h: Declare struct mallinfo, and new
10904 * libc/include/stdlib.h (cfree): Correct declaration.
10906 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
10908 * libc/include/machine/setjmp.h: Add support for Thumb target.
10910 * libc/include/machine/ieeefp.h: Add support for Thumb target.
10912 * configure.in (links): Add support for Thumb target.
10914 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
10916 * libc/sys/arm/setjmp.S: Updated with version from branch.
10918 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
10920 * libc/include/stdio.h: add POSIX-required define L_ctermid
10923 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
10925 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
10926 addition to MISSING_SYSCALL_NAMES.
10928 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10930 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
10932 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
10934 * libc/include/string.h: change strsignal proto to return
10935 a char *. This eliminates compile problems in gdb resulting
10936 from gdb's definition of strsignal in defs.h.
10938 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
10940 * libc/sys/cygwin32/sys/utime.h: new (moved here from
10941 winsup/include) so as not to conflict with the one in
10943 * libc/include/string.h: add protos for strsignal, strtosigno
10945 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
10947 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
10949 * configure.in (d30v-*-*): Add configuration.
10951 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
10953 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
10954 to select which kind of debug monitor is in use for an ARM target.
10956 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
10957 Angel and Demon debug monitors. Part of this code was supplied by
10958 Tony Thompson at ARM: athompso@arm.com.
10960 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
10962 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
10963 semantics when the count is greater than the length of the second
10966 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
10968 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
10969 * libc/include/sys/unistd.h: add protos for usleep, truncate,
10970 truncate and ftruncate take off_t, not size_t
10972 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
10974 * libc/string/strcat.c (strcat): Add missing comment end.
10975 * libc/string/strncat.c (strncat): Likewise.
10977 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
10979 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
10981 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
10982 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
10984 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
10985 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
10986 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
10988 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
10990 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
10991 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
10993 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
10995 * libc/machine/i386/setjmp.S: New file.
10996 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
10997 (OFILES): Add setjmp.o.
10998 (setjmp.o): Add rule for.
10999 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
11001 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
11002 Jeffrey A Law (law@cygnus.com)
11004 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
11005 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
11006 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
11007 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
11009 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
11011 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
11014 * libc/include/sys/config.h: Use __v850 to select v850
11017 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
11020 * libc/include/machine/ieeefp.h: Use __v850 to select v850
11023 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
11025 * libc/stdlib/setenv.c: change unsetenv definition to match
11026 style of setenv (with _DEFUN). The string should be a const.
11027 * libc/include/stdlib.h: unsetenv proto should return void.
11029 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
11031 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
11033 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
11035 * libc/stdio/glue.h: remove.
11036 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
11037 * libc/stdio/Makefile.in: remove glue.h dependencies
11039 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
11041 * libc/sys/sysnecv850/crt0.S: Created V850e version.
11043 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
11045 * configure.in (target_cpu): Add `arc'.
11047 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
11049 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
11050 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
11051 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
11052 * newlib/libc/reent/reent.c: Add _wrapup_reent.
11053 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
11055 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
11057 * libc/machine/mips/setjmp.S: Handle mips16 builds.
11059 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
11061 * libc/include/stdio.h (siprintf): Declare.
11063 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
11065 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
11066 TARGET_CFLAGS and NEWLIB_FLAGS.
11068 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11070 * configure.in (links): Add support for v850ea target.
11072 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
11074 * configure.in (links): Add support for v850e target.
11076 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
11078 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
11080 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
11082 * configure.in (arc-*-*): Add support for.
11083 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
11085 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11087 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
11089 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
11091 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
11092 comparison which accesses invalid memory when the key is
11093 larger than the last member of the array.
11094 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
11096 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
11098 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
11100 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
11103 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
11105 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
11106 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
11108 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
11110 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
11111 to load/store memory.
11113 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
11115 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
11116 underscores if _WIN32.
11118 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
11120 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
11121 support ifdef _USE_WRITE missed in last change.
11122 From Anders Blomdell <anders.blomdell@control.lth.se>.
11124 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
11126 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
11127 (_tmpnam_r, _tempnam_r): Update.
11129 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
11131 * libc/machine/sparc/setjmp.S: New file.
11132 * libc/machine/sparc/Makefile.in: Add setjmp.
11133 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
11135 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
11137 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
11139 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
11141 From Joel Sherrill <joel@oarcorp.com>.
11142 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
11144 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
11145 * configure.in: Recognize *-*-rtems*.
11146 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
11147 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
11148 time.h,times.h,types.h}: New files.
11149 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
11151 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
11153 patch from sos@prospect.com.ru (Sergey Okhapkin):
11154 * include/sys/wait.h: correct operator precidence bug
11157 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
11159 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
11160 with newlib's unsetenv function
11161 * libc/sys/cygwin32/sys: new directory for includes
11162 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
11163 here from winsup/include/sys
11165 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
11167 * libc/include/sys/unistd.h: _exit should only be
11168 labelled noreturn when not __CYGWIN32__
11169 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
11170 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
11173 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
11175 * libc/include/sys/time.h: Only define timeval and timezone if
11176 _GNU_H_WINDOWS32_SOCKETS is not defined.
11177 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
11179 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
11181 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
11182 * libc/machine/mn10300/setjmp.S: Likewise.
11184 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
11185 the mn10300 (more relaxing opportunities).
11187 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
11189 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
11190 Build libraries with -mstrict-align.
11192 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
11194 * libc/string/strlwr.c: New file.
11195 * libc/string/strupr.c: New file.
11196 * libc/include/string.h: Declare strlwr and strupr.
11197 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
11198 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
11199 (strlwr.o, strupr.o): New targets.
11200 * libc/string/strings.tex: Include strlwr and strupr docs.
11202 * libc/include/sys/types.h: Don't define u_char, et. al., if
11203 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
11204 et. al. Make FD_SETSIZE default 64 rather than 60. Define
11205 _types_fd_set rather than fd_set, and define fd_set as a macro.
11207 * libc/include/malloc.h: New file.
11209 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
11210 strnicmp if they are not already defined.
11212 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
11213 _timezone, _daylight, and _tzname.
11215 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
11217 * configure.in: Sort all configuration tables.
11219 From Joel Sherrill <joel@oarcorp.com>
11220 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
11222 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
11224 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
11225 use int when declaring kill.
11227 * libc/include/sys/timeb.h: New file.
11229 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
11231 * libc/include/sys/time.h: add itimer support for Cygwin32
11233 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
11235 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
11236 out a message that abort was called to stderr.
11238 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
11240 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
11241 so that libio doesn't freak.
11243 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
11246 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
11247 memory sizes, not int.
11249 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
11251 * libm/math/ef_hypot.c: Use long constants where
11253 * libm/math/ef_sqrt.c: Ditto.
11255 * libc/sys/sysmec/times.c(_times): Change to times.
11257 * libc/sys/sysmec/read.c(_read): The third argument is
11259 * libc/sys/sysmec/write.c (_write): Ditto.
11261 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
11262 (_lseek): It's off_t for the second argument.
11264 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
11266 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
11267 as well as machine/ieeefp.h.
11269 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
11271 * libc/include/sys/signal.h: add signal protos for winsup
11272 functions (when __CYGWIN32__), include types.h
11273 * libc/include/sys/types.h: Change __go32_types__ internal
11274 define to __MS_types__ since it's used for more than just
11275 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
11277 * libc/include/sys/unistd.h: add ftruncate proto for
11278 winsup functions (when __CYGWIN32__)
11280 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
11282 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
11284 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
11286 * libc/include/machine/setjmp.h: Add tic80 support.
11287 * libc/machine/tic80/setjmp.S: Likewise.
11289 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
11291 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
11292 link programs from libraries only (such as in the X11
11295 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
11297 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
11298 supplied elsewhere in newlib.
11300 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
11302 * Makefile.in (INSTALL): Change install.sh to install-sh.
11304 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
11306 * README: update WWW address for on-line documentation.
11308 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
11310 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
11313 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
11315 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
11317 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
11319 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
11321 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
11322 * libc/sys/d10v/syscalls.c: Likewise.
11323 * libc/sys/h8300hms/sbrk.c: Likewise.
11324 * libc/sys/h8500hms/syscalls.c: Likewise.
11325 * libc/sys/m88kbug/syscalls.c: Likewise.
11326 * libc/sys/sh/syscalls.c: Likewise.
11327 * libc/sys/sysmec/sbrk.c: Likewise.
11328 * libc/sys/sysnecv850/sbrk.c: Likewise.
11329 * libc/sys/w65/syscalls.c: Likewise.
11330 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
11332 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
11334 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
11335 emulated syscall instead of "trap".
11337 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
11339 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
11342 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
11344 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
11346 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
11348 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
11350 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
11352 * libc/sys/tic80/crt0.c: New file for TIc80.
11353 * libc/sys/tic80/Makefile.in: New file for TIc80.
11354 * libc/machine/tic80/Makefile.in: New file for TIc80.
11356 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
11358 * libc/machine/sh/memcpy.S: New file.
11359 * libc/machine/sh/memset.S: New file.
11360 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
11362 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
11364 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
11367 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
11369 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
11372 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
11374 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
11375 (patch from andrew@pogo.WV.TEK.COM).
11377 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
11379 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
11380 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
11382 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
11384 * configure.in: Add cases for "tic80" to set machine_dir,
11385 sys_dir, and syscall_dir.
11387 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
11389 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
11391 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
11393 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
11395 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
11397 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
11398 Use proper constant prefix.
11400 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
11402 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
11403 that loses on the mn10200 where ints and pointers are different
11406 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
11408 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
11409 target as signal is provided in winsup.
11411 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
11413 * libc/include/sys/process.h: Corrected const definitions
11414 in spawn functions. Added cwait.
11416 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
11418 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
11420 * libc/include/sys/config.h: Similarly.
11422 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11424 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
11426 (i[3456]86-*-sco*): Ditto.
11428 * libc/signal/Makefile.in (OFILES): Add signal.o.
11429 (CFILES): Add signal.c.
11431 * libc/signal/raise.c (_raise_r): Only compile code if
11432 SIGNAL_PROVIDED is defined.
11434 * libc/signal/signal.c: Redo whole file so that it works with
11435 current newlib. Use _kill_r if no signal handler provided.
11437 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
11439 * libc/sys/sysvnecv70/Makefile.in: Ditto.
11440 * libc/sys/sysnecv850/Makefile.in: Ditto.
11442 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
11443 * libc/sys/sysmec/{raise,signal}.c: Ditto.
11444 * libc/sys/sysvnecv70/signal.s: Ditto.
11445 * libc/sys/sysnecv850/raise.c: Ditto.
11447 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
11448 simulator and debugger can tell the difference between a signal
11449 being raised and an exit system call.
11451 * NEWS: Document software signals being provided.
11453 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11455 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
11456 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
11457 include/sys/config.h.
11458 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
11459 Change from 'inpure_data'.
11460 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
11461 &impure_data, not &inpure_data.
11463 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
11464 and and System V ABI, define so that _impure_ptr lives in the
11467 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11469 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
11470 nothing if not defined.
11471 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
11474 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
11476 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
11478 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
11479 * libc/sys/sysmec/trap.s: Handle mn10200 too.
11480 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
11482 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
11484 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
11486 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
11488 * libc/include/sys/errno.h: Added net errno's.
11490 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11492 * libc/misc/ffs.c: New file to support ffs function for GCC test
11493 gcc.c-torture/execute/960909-1.c.
11495 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
11497 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
11499 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
11500 * libc/sys/sysmec/trap.S: Likewise.
11502 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
11504 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
11505 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
11507 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
11509 * libc/sys/sysmec/signal.c: Dummy file.
11510 * libc/sys/sysmec/Makefile.in: Build it.
11512 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
11514 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
11517 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
11519 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
11520 c-startup and simulator traps.
11523 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
11524 * libc/sys/sysmec/trap0.S: Likewise.
11526 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11528 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
11529 round to double word alignment.
11530 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
11533 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
11535 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
11538 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
11540 * configure.in: Handle mn10200 and mn10300.
11541 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
11542 * libc/include/sys/config.h: Likewise.
11543 * libc/sys/sysmec: New directory for mec stuff.
11544 * libc/machine/mn10300: New directory for mn10300 stuff.
11545 * libc/machine/mn10200: Similarly for mn10200 stuff.
11547 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
11549 * libc/sys/arm/crt0.S: Use .text, not .section .text.
11550 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
11552 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
11553 (nlink_t): Change type from unsigned int to unsigned short.
11554 (mode_t): Ensure size is 32 bits even if int is 16.
11555 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
11556 (st_spare[123]): Change type from int to long.
11558 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11560 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
11563 * configure.in (d10v*): Define SMALL_MEMORY.
11565 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11567 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
11568 -mrelocatable-lib and -mno-eabi flags.
11570 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
11572 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
11573 Fix handling of mis-aligned source operand when both the
11574 destination & length are properly aligned.
11576 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
11578 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
11579 times.o, time.o and gettime.o
11580 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
11581 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
11584 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
11586 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
11587 * libc/sys/sysnecv850/access.c: New file.
11589 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
11591 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
11593 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
11596 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
11598 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
11600 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
11602 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
11603 * libc/include/sys/config.h: Add m32r support.
11605 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
11607 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
11610 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
11612 * libc/include/machine/setjmp.h: Add D10v support.
11614 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
11616 * configure.in: Configure the "libc/syscalls" directory for
11619 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
11620 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
11621 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
11622 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
11623 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
11625 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
11627 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
11628 stack for args for main and other routines. Zero out args for
11631 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
11634 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11636 * libc/stdio/findfp.c (std): Remove extraneous ';' after
11639 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
11641 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
11642 real system calls now.
11644 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
11645 before casting them to int.
11646 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
11648 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
11650 * libc/string/memset.c (memset): Ditto.
11652 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
11653 first convert ints to _POINTER_INT to eliminate GCC warning.
11655 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
11658 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
11659 from 65000 if ints are only 16 bits.
11661 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
11662 from 50000 if ints are only 16 bits.
11664 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
11665 int type that is the same size as a pointer.
11667 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
11669 (get_number): Explicitly cast number to long before shifting by 16
11670 or 24, in case ints are short.
11672 * libc/include/sys/config.h (_POINTER_INT): Define as short.
11674 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
11676 * libc/string.h: Added ffs, removed swab.
11677 * libc/sys/errno.h: Added EOPNOTSUPP.
11678 * libc/sys/unistd.h: Added swab.
11680 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
11682 * libc/include/sys/stat.h: Added fchmod.
11683 * libc/include/sys/unistd.h: Added fsync.
11685 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
11687 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
11688 and ECONNRESET (104) for cygwin32.
11690 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
11692 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
11693 do the static destructors.
11695 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
11697 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
11699 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
11701 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
11702 * configure.in: Recognize m32r-*-*.
11704 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
11706 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
11707 __rt_stkovf_split_small): Added default software stack overflow
11708 handlers, which just call SWI_Exit.
11709 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
11710 limit initialisation.
11712 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
11714 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
11716 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
11718 * libc/include/sys/types.h: Added ssize_t definition.
11720 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11722 * libc/machine/d10v/setjmp.S: Use ';' for comments.
11723 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
11725 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
11726 branch around a single ldi instruction.
11728 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
11729 Call exit, instead of just issuing a stop instruction.
11731 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11733 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
11735 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11737 * libc/stdlib/mprec.h: Explicitly declare all large constants as
11738 longs, and then cast them to __uint32_t.
11740 * libc/include/sys/config.h: Protect against multiple inclusions.
11742 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
11744 * configure.in (d10v*): Set syscall_dir.
11746 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
11748 * libc/sys/d10v/crt0.S: Set stack pointer.
11750 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
11752 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
11753 in assembly for efficiency. Change calling convention to allow
11754 long ints to be returned.
11756 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11758 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
11760 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
11762 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
11763 Handle empty entries in $PATH.
11765 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
11767 * libc/machine/d10v/setjmp.S: Make it really work.
11769 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
11771 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
11772 the .stack section.
11774 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
11776 * sys/sysnecv850/sys/file.h: Remove.
11777 * sys/sysnecv850/sys/syscall.h: New file.
11778 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
11779 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
11780 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
11781 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
11782 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
11783 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
11784 * sys/sysnec850/trap.S: New file.
11785 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
11787 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
11788 * sys/sysnec850/sbrk.c: New version.
11790 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
11792 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
11793 as long as r6 is less than r7.
11795 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
11797 * Makefile.in (mostlyclean): Separate from clean target. Don't
11798 remove *.a or targ-include.
11799 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
11801 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11803 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
11805 (__SMALL_BITFIELDS): Ditto.
11807 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
11809 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
11811 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
11814 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
11815 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
11816 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
11817 * libc/sys/sysnecv850/write.c (write): Likewise.
11819 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
11822 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11824 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
11825 appropriately for D10V, depending on -mint16/-mint32.
11827 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
11829 * configure.in: Add cases for D10V.
11831 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11833 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
11835 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
11837 * libc/include/machine/ieeefp.h: Fix typo.
11839 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
11841 * libc/sys/d10v: New directory for D10V stuff.
11842 * libc/include/machine/ieeefp.h: Add D10V defines.
11844 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
11846 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
11847 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
11848 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
11849 * libc/string/strerror.c (strerror): Add them.
11851 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
11853 * libc/sys/sysnecv850: New directory for v850 stuff.
11855 * libc/machine/v850: New directory for v850 stuff.
11856 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
11858 * configure.in: Add support for the v850.
11860 * libc/include/machine/ieeefp.h: Add v850 defines.
11861 * libc/include/machine/setjmp.h: Likewise.
11862 * libc/include/sys/config.h: Add v850 defines.
11864 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
11866 * libc/include/machine/ieeefp.h
11867 * libc/include/machine/setjmp.h
11868 * libc/include/sys/fcntl.h
11869 * libc/include/sys/signal.h
11870 * libc/include/sys/types.h
11871 * libc/stdlib/system.c:
11872 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
11873 API availability, __CYGWIN32__ for cygwin32 environment specific).
11875 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
11877 * libc/include/stdlib.h: add multibyte character functions. Add
11878 __eprintf for assert.
11880 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
11882 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
11883 arithmetic or __alignof__ to properly get the alignment, instead
11884 of hardwiring it to 4.
11886 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
11888 * libc/stdio/fseek.c: add fflush call to adjust seek offset
11889 on append stream (fix from NetBSD sources), adjust curoff offset
11890 for ungetc's benefit.
11891 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
11892 * libc/stdio/rewind.c: replace code with up to date NetBSD
11893 code to undo hacks made to work around above problem of not
11894 having fflush call mentioned above
11896 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11898 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
11899 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
11900 Partially revert last changes. The thread specific errno is set
11901 iff if the underlying syscall fails and the global errno is not
11904 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
11906 * libc/reent/filer.c: Removed files, all functions have split out
11907 into their own files.
11908 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
11909 New files containing functions formally in filer.c
11910 * libc/reent/Makefile.in: Updated for above change.
11912 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
11913 syscall fails, not if errno is changed.
11914 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
11915 _write_r): Likewise.
11916 * libc/reent/fstatr.c (_fstat_r): Likewise.
11917 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
11918 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
11919 * libc/reent/signalr.c (_kill_r): Likewise.
11920 * libc/reent/statr.c (_stat_r): Likewise.
11921 * libc/reent/timer.c (_gettimeofday_r): Likewise.
11923 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
11924 signalr.c, statr.c, timer.c} (errno): declare extern rather
11927 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
11928 instead of calling vfprintf so that i*printf will not require
11929 floating point support code.
11931 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
11933 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
11935 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
11936 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
11938 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
11940 * libc/include/signal.h: _sig_func_ptr function takes an int
11941 * libc/include/sys/signal.h: sa_handler function takes an int
11943 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
11945 * libc/include/machine/ieeefp.h: Simplify H8/S support.
11946 * libc/include/sys/config.h: Add missing H8/S conditional.
11948 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
11950 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
11952 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
11954 * libc/include/machine/setjmp.h: Handle H8/S.
11955 * libc/include/machine/ieeefp.h: Likewise.
11956 * libc/include/sys/config.h: Likewise.
11957 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
11958 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
11959 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
11960 * libc/sys/h8300hms/crt0.S: Likewise.
11962 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
11964 * Makefile.in (datadir): Set to $(prefix)/share.
11965 (oldincludedir, docdir): Removed.
11966 * doc/Makefile.in (datadir): Set to $(prefix)/share.
11967 (oldincludedir, docdir): Removed.
11968 * libc/Makefile.in (datadir): Set to $(prefix)/share.
11969 (oldincludedir, docdir): Removed.
11970 * libm/Makefile.in (datadir): Set to $(prefix)/share.
11971 (oldincludedir, docdir): Removed.
11973 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
11975 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
11978 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
11980 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
11981 fetch current path rules with sysconf and handler posix/win32
11984 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
11986 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
11987 (WAIT_CHILD): Always define.
11989 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
11991 * libc/stdlib/eprintf.c: New file.
11992 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
11993 (eprintf.o): New target.
11995 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
11997 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
11998 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
12000 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
12002 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
12003 NT in PowerPC endianess cases.
12005 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12007 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
12009 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12011 * libc/string/strtok.c: Fix doc typo.
12013 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12015 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
12016 _next, _scanpoint, _signgam fields.
12018 * libc/include/stdlib.h (rand_r): Added new declaration.
12019 (_rand_r, _srand_r): Removed declarations.
12020 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
12021 have been made obsolete by rand_r.
12022 * libc/stdlib/rand_r.c: New file, rand_r function as specified
12025 * libc/string/strtok.c: Update documentation to describe
12028 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
12030 * libc/include/sys/stat.h (stat structure): Use the expanded stat
12031 structure on Solaris, and PowerPC systems even though __svr4__ is
12034 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
12036 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
12038 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
12040 * host/any: Use ../.. rather than .. to get to the main build
12041 directory. This matches the current layout of the build
12044 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
12046 * libc/machine/h8300/__main.S: Delete. No longer needed.
12047 * libc/machine/h8300/Makefile.in: Corresponding changes.
12048 * libc/sys/h8300hms/crt1.c: New file.
12049 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
12050 * libc/sys/h8300hms/crt0.s: Call __main.
12052 * libc/sys/h8300hms/crt0.S: Use temporary label names
12053 for branch targets.
12055 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
12057 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
12059 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12061 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
12062 .sdata on the PowerPC so that we can link newlib with code
12063 compiled with -msdata.
12065 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
12067 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
12069 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
12071 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
12072 exception handler to __cygwin_exception_handler.
12074 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
12076 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
12078 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
12080 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
12082 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
12083 wcstombs.o): Likewise.
12085 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
12087 * libc/stdlib/environ.c (initial_env): New static local.
12088 (environ): Point to `initial_env'.
12090 * libc/include/machine/setjmp.h: Clean up.
12091 (__H8300H__,__PPC__): Define _JBTYPE.
12092 (__arm__): Provide entry for.
12093 (sigjmp_buf): Delete.
12094 (jmp_buf): Use _JBTYPE if defined, otherwise int.
12096 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
12098 * libc/machine/h8300/strcmp.S: Sign extend the result to
12099 32bits so we don't lose with -mint32.
12101 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
12103 * libc/sys/go32/sys/errno.h: New file.
12104 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
12105 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
12106 errno's address (make compatible with rest of newlib).
12107 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
12108 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
12110 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
12112 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
12113 * libc/machine/sparc/Makefile.in: Build them.
12114 * libc/machine/sparc/machine/sparclet.h: New file.
12116 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12118 * libc/machine/sh/asm.h: New file.
12119 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
12120 support for SH3e's FP registers. Use asm.h.
12122 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
12124 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
12125 as first argument. Call _dtoa_r and pass the reent structure
12126 instead of calling __dtoa.
12128 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
12130 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
12131 the h8300, h8500, and others. Add comments for some rather
12134 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
12136 * Makefile.in (check): Check that testsuite exists before cd.
12138 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12140 * libc/include/string.h (strsep): Correct prototype.
12142 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
12144 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
12145 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
12146 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
12148 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
12150 * libc/posix/{creat.c,isatty.c}: New files.
12151 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
12153 * libc/sys/sparc64/crt0.S (environ): Delete.
12154 (.LHaveBias): Renamed from HaveBias.
12156 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
12158 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
12159 (_morecore_r): Delete SBRK_IS_ALLOC support.
12161 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12163 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
12164 module rather than touch, so we don't get warning messages when
12165 all of the libraries are combined into libc.a.
12167 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
12169 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
12170 crt0.s replaced by version in libgloss.
12172 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12174 * libc/reent/Makefile.in (OFILES): Add impure.o.
12175 * libc/reent/impure.o: New file, define initial reentrancy struct.
12176 * libc/reent/reent.c: Remove above definition.
12178 * libm/math/sf_asinh.c: Fix typo.
12180 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
12183 * libm/libm.texinfo: Change documentation to reflect changes
12184 in reentrancy model.
12185 * libm/math/w_gamma.c: Likewise.
12187 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
12189 * configure.in (*-*-cygwin32): New.
12190 (*-*-win32): Deleted.
12191 * libc/sys/win32 renamed libc/sys/cygwin32.
12193 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12195 * libc/include/sys/file.h: New include file.
12197 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
12199 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
12201 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
12203 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
12205 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12207 * doc/makedoc.c (realloc): Declare at file scope.
12208 (catchar): Not here.
12210 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
12212 * Makefile.in (VERSION): Update to 1.7.0.
12213 * {libc,libm}/Makefile.in (VERSION): Likewise.
12214 * configure.in: Minor clean up of multilib stuff.
12216 From David Johnson <davidj@ICSI.Berkeley.EDU>
12217 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
12219 * libc/stdlib/environ.c: New file.
12220 * libc/stdlib/Makefile.in (OFILES): Build it.
12221 * libc/sys/h8500hms/crt0.c (environ): Deleted.
12222 * libc/sys/m88kbug/crt0.c (environ): Deleted.
12223 * libc/sys/z8ksim/crt0.c (environ): Deleted.
12224 * libc/sys/netware/environ.c: Deleted.
12226 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
12228 * configure.in (links): set sys_dir, posix_dir, syscall_dir
12230 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12232 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
12233 declaration out to external scope and declare it PTR, not char *.
12235 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
12237 * libc/include/sys/unistd.h (getpagesize): New declaration.
12238 (_SC_PAGESIZE): New definition.
12239 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
12240 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
12242 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
12244 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
12245 addressing. System call returns size, not (last address + 1).
12247 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12249 * libm/math/*.c: Removed _foo_r() reentrancy API.
12250 * libc/include/math.h: Removed _foo_r prototypes and macros.
12252 * libm/math/*.c: On systems with IEEE single precision "doubles"
12253 move foo() -> foof() wrapper code from the files that implement
12254 the standard IEEE double precision functions to the files that
12255 implement IEEE single precision functions. (ie. On those systems
12256 sin is moved from s_sin.c to sf_sin.c). There should eventually
12257 be use of a C extension (like gcc's alias attribute) so that the
12258 wrappers are not needed at all.
12260 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
12261 strict NEC V810 compiler.
12262 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
12265 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12267 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
12268 from NetBSD C library.
12269 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
12271 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
12272 and adapted from implementation I wrote for NetBSD C library.
12273 The difference is __assert doesn't take a format argument,
12274 so that there won't be multiple copies of the same string
12275 constant in the executable if assertions are enabled in
12276 more than one source module.
12277 * libc/include/assert.h (assert): Changed to call __assert.
12279 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12281 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
12282 word1 on systems with 32 bit doubles.
12283 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
12284 so that we can do arithmetic on them.
12285 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
12288 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
12290 * libc/sys/arm/crt0.S: Zero bss.
12292 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
12294 * libc/include/unctrl.h: New file.
12295 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
12296 * configure.in (subdirs): Add libc/misc.
12297 * libc/Makefile.in (SUBDIRS): Add misc.
12298 (SUBLIBS): Add misc/lib.a.
12300 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
12302 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
12304 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
12305 (_vfprintf_r): Call CHECK_INIT.
12307 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
12309 * Makefile.in (MULTITOP): Delete.
12310 (MULTISRCTOP, MULTIBUILDTOP): Add.
12311 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
12312 instead of cfg-ml-pos.in.
12314 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12316 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
12317 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
12320 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
12322 * libc/string/strtok.c: Include string.h to pick up strtok_r
12325 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12327 * libc/string/strtok.c: include <_ansi.h>.
12328 * libc/time/asctime_r.c: `reresult' -> `result'.
12330 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12332 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
12333 in #ifndef _REENT_ONLY ... #endif conditional.
12335 * libc/include/string.h (_strtok_r): Remove declaration.
12336 * libc/include/time.h (_asctime_r): Remove declaration.
12337 * libc/string/strtok.c (_strtok_r): Removed.
12338 * libc/time/asctime.c (_asctime_r): Removed.
12340 * libc/string/Makefile.in (OFILES): Add new object.
12341 * libc/string/strtok_r.c: New file. strtok_r function as
12342 specified by POSIX.1c, adapted from strtok implementation
12343 from NetBSD C library.
12344 * libc/string/strtok.c (strtok): Reimplemented in terms of
12347 * libc/time/Makefile.in (OFILES): Add new objects.
12348 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
12349 New files, reentrant time functions specified by POSIX.1c.
12350 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
12351 reentrant time functions re-written in terms of reentrant
12353 * libc/time/lcltime.c: Renamed from localtime.c
12355 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
12356 gmtime_r, and localtime_r.
12358 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
12360 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
12361 * libc/include/sys/unistd.h (getlogin): Revert change of
12363 * libc/include/sys/signal.h (sigprocmask): Change prototype
12364 so it compiles with c++.
12366 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
12368 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
12369 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
12370 to give some room in case we need to align the jmp_buf.
12372 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
12373 the new ppc-asm.h include file the compiler provides to specify
12374 function prologue/epilogue. Eliminate saves of the xer and ctr
12375 registers, which are volatile. Before starting to save registers,
12376 align to 8 byte boundary.
12378 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
12380 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
12381 referenced by standard libraries.
12383 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
12385 * libc/unix/Makefile.in, libc/string/Makefile.in,
12386 libc/stdio/Makefile.in, libc/reent/Makefile.in,
12387 libc/posix/Makefile.in:
12388 Remove tabs from otherwise empty line. Confuses some
12389 older non-GNU versions of "make".
12391 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
12393 * libc/sys/unistd.h (getlogin): Returns const char *.
12395 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
12397 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
12398 * libc/include/errno.h: Moved into and include...
12399 * libc/include/sys/errno.h: New file.
12400 * libc/include/sys/wait.h: New file.
12401 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
12402 * libc/sys/win32/*: Moved out.
12403 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
12404 * configure.in (i[345]86-*-win32): HAVE_RENAME
12406 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
12408 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
12409 avoid macro expansion for these two names.
12411 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
12413 * libc/machine/h8500/psi.S: r6 renamed to fp.
12415 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
12417 * configure.in (powerpc*): No longer need to define
12418 NO_LONGLONG_POINTERS to supress warnings.
12420 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12422 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
12423 through PTR instead of directly.
12425 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
12426 non-standard constructor support.
12428 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12430 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
12431 address of the Bigint instead of the address of its _x field,
12432 as the size the result buffer was calculated accordingly.
12433 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
12435 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
12436 from NetBSD C library. No longer special cases division by
12437 zero (which needs to be done by the application anyway), but
12438 it doesn't need to call abs() (or labs()) four times either.
12440 * libc/stdlib/qsort.c: Replaced with implementation from
12443 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12445 * libc/stdio/vfprintf.c: Replaced with implementation from
12446 NetBSD C library (which is derived from the 4.4BSD C library).
12447 * libc/stdio/cvt.c: Removed.
12448 * libc/stdio/Makefile: Updated.
12450 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
12452 * libc/sys/win32/syscalls.c (rename): New.
12453 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
12455 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
12457 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
12458 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
12460 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
12461 (setjmp.o): Delete rule to build setjmp.o.
12462 * libc/sys/sh/setjmp.S: Delete file.
12464 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12466 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
12467 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
12468 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
12469 pow5mult and s2b to identifiers with leading underscores.
12470 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
12471 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
12473 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
12475 * libc/sys/posix/popen.c (sys/types.h): Include.
12477 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
12479 * libc/sys/win32/syscalls.h (fhandler): New struct.
12480 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
12481 (__fhandler_normal): Declare.
12482 (hinfo): New member op_handlers.
12483 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
12484 (__write): Likewise.
12485 (_read, _write, _open, _close, _lseek): Validate fd here.
12486 Move file type specific stuff to foo_normal.
12487 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
12489 (__lookup_fhandler): New function.
12490 (__lookup_fhandler_hook, __fhandler_normal): New variables.
12492 From anders.blomdell@control.lth.se (Anders Blomdell)
12493 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
12494 Don't touch standard handles.
12495 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
12496 (_execve): Only create __FD_TABLE__ if necessary.
12497 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
12499 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
12501 * libc/sys/win32/sys/termios.h (FLUSHO): New.
12502 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
12503 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
12504 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
12505 without a handler is received.
12506 * libc/sys/win32/Makefile.in: Remove --nodelete.
12507 * libc/sys/win32/resouce.c (gettimeofday): New.
12508 * libc/sys/win32/syscalls.c (path_to_real_path): New.
12509 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
12511 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
12513 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
12514 Don't append "/*" to search pattern if trailing '/' already there,
12516 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
12517 like /'s, convert them to \'s. Handle //<drive>/ path names.
12518 Add space for quoted \'s in arg string. Print translated prog name
12519 and original prog name.
12520 (_execve): Handle parent doing exec a teensy bit better.
12521 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
12522 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
12523 path needs conversion, handle both cases. Delete `const' from result.
12524 (hash_path_name): New function.
12526 (_stat): Likewise. Fill in more fields for directories.
12527 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
12528 (wait_for_any): Fix trace message.
12529 (waitpid): Explicitly test for intpid == 0.
12531 From anders.blomdell@control.lth.se (Anders Blomdell)
12532 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
12533 so `next' is valid.
12535 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
12537 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
12540 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12542 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
12543 at all, not just == 1.
12544 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
12546 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12548 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
12549 * libc/sys/win32/include/wintypes.h: include <winnt.h>
12550 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
12553 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12555 * libc/sys/syscalls.c (getcwd): Fix off by one error.
12557 * libc/sys/signal.c (sleep): Fill it in.
12558 * libc/sys/termios.c (tcflush): Use PurgeComm
12559 (tcsetattr): Set some more of the bits.
12560 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
12562 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
12564 * libc/sys/arm/crt0.S (fp): Initialize to 0.
12565 Conditionally include .idata$3 stuff ifdef __pe__.
12567 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
12569 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
12570 * libc/sys/win32/pipe.c (pipe): Ditto.
12571 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
12572 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
12573 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
12574 (tcgetattr): Contents are new.
12575 * libc/sys/win32/include/winkernel.h (DCB): New.
12576 (GetCommState, SetCommState): New.
12578 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
12580 * libc/sys/arm/crt0.S (_start): Define.
12582 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
12584 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
12585 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
12587 * libc/sys/win32/sysconf.c: New
12588 * libc/sys/win32/sys/winadvapi.h: New
12589 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
12590 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
12591 * libc/sys/win32/pipe.c (pipe): Ditto.
12592 * libc/sys/win32/signal.c (_raise): New.
12593 (_kill): Moved from spawn.c
12594 * libc/sys/win32/spawn.c (kill): Moved to signal.c
12595 * libc/sys/win32/syscalls.c (__read): Use new fields.
12597 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
12598 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
12599 * libc/include/sys/unistd.h (rmdir): Takes const path.
12600 * libc/include/sys/stat.h (mkdir): Takes const path.
12601 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
12603 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
12605 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
12607 Add support for specifying paths as //<drive>/foo/bar.
12608 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
12609 (__path_to_real_path): Declare.
12610 (PATH_TO_REAL_PATH): New macro.
12611 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
12612 (__path_needs_conversion_p, __path_to_real_path): New functions.
12613 (_open): Fix test for error return from CreateFileA.
12614 Handle new path syntax.
12615 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
12616 * libc/sys/win32/dirsearch.c (opendir): Likewise.
12618 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
12620 * libc/sys/win32/include/*.h: Reorganized
12621 * libc/sys/win32/include/WINREADME: New.
12622 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
12623 * libc/sys/win32/*.c: Fix for new include scheme.
12624 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
12625 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
12626 * libc/sys/win32/passwd.c (*): Fix.
12627 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
12628 (_stat): Get directory owner and permissions right.
12629 * libc/sys/win32/syscalls.h (uinfo): New.
12630 * libc/sys/win32/version.def: Remove leading underscores.
12632 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12634 * libc/sys/win32/key.c: include "include/wincon.h".
12636 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
12638 * libc/sys/win32/{key, stubs}.c: New.
12639 * libc/sys/win32/Makefile: Adjust to cope.
12640 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
12641 (environ_init): Change env names to upper case.
12642 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
12643 * libc/sys/win32/passwd.c (*): Fill in the functions.
12644 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
12645 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
12646 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
12647 (_open): Initialze hmap->execable_p too.
12648 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
12649 (_fstat): Fill in permissions.
12650 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
12652 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
12654 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
12656 (cfg-ml-pos.in invocation): Likewise.
12658 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12660 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
12661 s_isnan.o and sf_isnan.o.
12663 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
12665 * All Makefile.in files: added maintainer-clean target as a
12666 synonym for realclean.
12668 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
12670 * libc/include/machine/setjmp.h: Add hppa support.
12671 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
12673 * libc/machine/hppa/Makefile.in: Related changes.
12675 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
12677 * configure.in (machine_dir): Don't set for v810-*-*.
12679 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12681 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
12682 conventions correctly.
12684 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
12686 * libc/stdio/puts.c: Update documentation of return value to match
12689 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
12691 Fix file descriptor inheritance.
12692 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
12693 (NOT_OPEN_FD): Fix.
12694 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
12695 close-on-exec flag not set. Initialize child's entire fd table.
12696 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
12698 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
12699 if CHILD_P. Initialize entire hmap entry.
12700 (dup): Only create new handle as inheritable if CHILD_P.
12701 (dup2): Likewise. Properly initialize hmap entry.
12703 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
12705 (_exit): Use CHILD_P.
12706 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
12709 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12711 * libc/sys/win32/crt0.c (passover): fix up the state table.
12712 * libc/posix/popen.c: Added.
12713 * libc/posix/Makefile.in: compile popen.c.
12715 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
12717 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
12718 h8/500 define _DOUBLE_IS_32BITS.
12720 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
12722 Get vfork/exec/spawn/cwait/wait working again.
12723 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
12724 (procinfo): New member vfork_level.
12725 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
12726 (vfork_init_first): Use GetCurrentProcessId to get pid.
12727 Initialize vfork_level.
12728 (vfork_init): Delete __PID__.
12729 (environ_init): New function. Undo patch of Aug 19, Posix says
12730 environment variables are case sensitive.
12731 (mainCRTStartup): Call it.
12732 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
12733 (my_longjump: Make static.
12734 (_spawn): New argument `h'. Delete setting of __PID__.
12735 Delete local `idx'. Look for chars that need quotes, rather than
12736 ones that don't. Set handle of created process in `h'.
12737 Result is process id if created task.
12738 (allocate_spawn_entry): New function.
12739 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
12740 (_execve): Set __FD_TABLE__ before spawning child.
12741 Scan our fd table when passing fds, not our parent's.
12742 Store handle and pid in procinfo entry.
12743 (vfork0): Ensure strace message always printed.
12744 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
12745 (vfork): Don't clobber result of vfork0.
12746 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
12747 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
12749 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
12751 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
12752 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
12753 adding vfork level to pseudo-pid.
12754 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
12755 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
12756 (_exit): If child, set exit code.
12757 (__vfork_record_death): Only close process handle if valid.
12758 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
12760 (wait_for_any): Likewise. Start scan after root entry.
12762 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12764 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
12765 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
12766 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
12767 of actual file length.
12769 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
12770 * libc/include/paths.h: _PATH_BSHELL added.
12771 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
12774 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12776 * libc/include/ar.h: Added.
12777 * libc/include/sys/types.h: ino_t goes back to 32-bits.
12778 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
12779 * libc/sys/win32/syscalls.c (_open): compute .namehash based
12781 (_fstat): use .namehash for inode number of the fd.
12783 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
12785 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
12786 Change hinfo to __this_procinfo.
12787 * libc/sys/win32/crt0.c: Remove procinfo_list.
12789 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12791 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
12794 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12796 * libc/sys/win32/include/grp.h: Removed.
12797 * libc/sys/include/grp.h: Added.
12798 * libc/sys/win32/grp.c: Include <grp.h>.
12800 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
12802 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
12803 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
12804 Defined for all but strict ANSI.
12805 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
12806 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
12807 * libc/signal/signal.c (_signal_r): Changed from using
12808 _MAX_SIGNALS to NSIG.
12809 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
12811 (__strace, __vfork_next_pid): New.
12812 (__exe_suffix): Default to 1.
12813 (passover, table): Understand quoted arguments.
12814 (vfork_init_first): New.
12815 (vfork_init): Initialize new process structure.
12816 (mainCRTStartup): Pass environ to main.
12817 * exceptions.c (__sig_mask): New
12818 (ehandler3): Ignore signals in mask.
12819 (really_exit): Remove CHILD_P test.
12820 * pipe.c (pipe, dup, dup2): Use new process and file structure.
12821 * resource.c (getrusage): Ditto.
12822 * signal.c (sigprocmask): New.
12823 * spawn.c (*): Rewritten.
12824 * syscalls.c (*): Use new process and file structure.
12825 (find_unused_handle): New.
12826 * syscalls.h (MAX_HANDLES): Deleted.
12827 (hinfo): Removed child_created_p.
12828 (MAX_CHILDREN): Deleted.
12829 (vfork_jmp_info, procinfo): New.
12830 * wait.c (*): Mostly new.
12831 * sys/strace.h (_STRACE_PARANOID): New.
12832 * sys/param.h: New file.
12834 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12836 * libc/include/sys/stat.h: add S_BLKSIZE.
12837 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
12838 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
12840 (mode_t): add a #else to avoid multiple definitons.
12842 * libc/sys/win32/Makefile.in: add grp.c.
12843 * libc/sys/win32/grp.c: include grp.h correctly.
12844 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
12845 of the st structure with real information.
12846 * libc/sys/win32 (dirent): d_ino is of type ino_t.
12848 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
12850 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
12851 and (maybe) sparc64.
12852 (nlink_t): Provide typedef.
12854 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12856 * libc/sys/win32/grp.c: New file.
12857 * libc/sys/win32/include/grp.h: New file.
12859 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12861 * libc/include/machine/ieeefp.h: Added whitespace to make this
12862 file easier to maintain.
12863 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
12864 depending on the value of __LITTLE_ENDIAN__.
12865 On the sh3e, define _DOUBLE_IS_32BITS.
12867 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
12869 * libc/sys/vr4300/syscalls.c: Added missing support
12870 routines. _raise() and getpid().
12872 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
12874 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
12876 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
12878 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
12879 and VR4300 processor.
12880 * libc/sys/vr4300: Add directory.
12881 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
12882 monitor run-time support.
12884 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12886 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
12887 * libc/stdlib/stdlib.tex: Don't include atol.def.
12889 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12891 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
12893 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
12895 * libc/ctype/Makefile.in: Fill in _to* dependencies.
12897 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
12899 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
12900 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
12901 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
12902 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
12903 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
12905 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12907 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
12909 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12911 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
12912 * libc/stdlib/atoff.c: New file.
12913 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
12914 * libc/stdlib/atoi.c (atol): Removed.
12915 * libc/stdlib/atol.c: Removed duplicate documentation.
12917 * libc/include/ctype.h (_tolower, _toupper): Moved inside
12918 #ifndef _STRICT_ANSI conditional.
12919 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
12920 * libc/ctype/_tolower.c: New file.
12921 * libc/ctype/_toupper.c: New file.
12922 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
12923 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
12924 * libc/ctype/toascii.c (_toascii): Removed.
12926 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
12928 * libc/sys/sparc64/sys/types.h: Deleted.
12930 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12932 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
12933 and recognize Windows_95 systems.
12935 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12937 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
12938 and passed fds should be opened in text mode.
12940 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
12942 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
12943 in __hmap, set to binary mode by default.
12945 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12947 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
12948 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
12951 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
12953 * Makefile.in (install): Install all libraries found in the
12954 top level. If there's a sys/<type>/include directory,
12955 install those headers into include.
12957 * libc/sys/win32/kernel.def351: Delete
12958 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
12959 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
12960 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
12961 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
12962 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
12963 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
12964 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
12965 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
12967 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
12968 * libc/sys/win32/crt0.c: Force all env names to upper case.
12969 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
12970 * libc/sys/win32/*.c: Headers have moved.
12971 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
12972 __vfork_child_idx is now __vfork_child_ptr.
12974 * posix/execvp (execvp): Don't crash if no PATH envname.
12976 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12978 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
12979 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
12980 through the _freelist instead of through the _reclaim list.
12981 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
12982 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
12985 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12987 * libc/machine/h8500/setjmp.S: New file.
12988 * libc/include/machine/setjmp.h: Updated for H8/500.
12990 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
12992 * libc/sys/win32/syscalls.c (_open): More stracing.
12993 (_stat): Open the file in O_BINARY.
12995 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
12997 * libc/machine/h8300/setjmp.S: New file.
12998 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
13000 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
13002 * libc/sys/win32/crt0.c (__exe_suffix): New global.
13003 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
13004 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
13005 __exe_suffix. Free fd_tab after setting env variable.
13006 (spawnv,_execve): Update.
13007 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
13008 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
13009 (__small_vfprintf): New function.
13010 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
13011 * libc/sys/win32/wait.c (cwait): Validate argument.
13013 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
13014 (process_deletion_queue): Likewise.
13016 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
13018 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
13020 * libc/sys/win32: Copyrights and gratuitous indenting.
13022 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
13024 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
13025 (process_deletion_queue): Likewise.
13026 (__close_all_files): New function.
13027 (_close): Only queue file deletion if really a file.
13028 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
13030 (_exit): Call __close_all_files.
13032 * libc/stdlib/system.c: #include <errno.h>.
13033 (_system_r): Fix results in -DNO_EXEC case.
13035 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
13036 Reorganize structure.
13037 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
13038 if argument is valid. Save directory name in DIR. malloc space
13039 for dirent struct separately.
13040 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
13042 * libc/include/errno.h (ENAMETOOLONG): Define.
13043 * libc/string/strerror.c (strerror): Reword ENFILE.
13044 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
13046 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
13048 * libc/sys/win32/crt0.c (__progname): New global.
13049 (mainCRTStartup): Support strace=bitmask,filename.
13050 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
13051 * libc/sys/win32/syscalls.c (_write): Print parent trace message
13053 (getcwd): Handle len too small. Convert '\\' to '/'.
13054 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
13055 Add prototypes for open, creat, fcntl.
13056 (O_APPEND): Change value to conform to Microsoft's value.
13057 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
13059 * libc/stdlib/getopt.c: New file.
13060 * libc/stdlib/Makefile.in: Build it.
13062 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
13064 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
13065 Fix scanning of $PATH.
13066 * libc/posix/exec*.c: Call _execve, not execve.
13067 * libc/posix/execve.c: New file.
13068 * libc/posix/Makefile.in (OFILES): Add execve.o.
13070 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
13071 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
13072 (_STRACE): If level==0, always print. Handle new bit mask scheme.
13073 * libc/sys/win32/crt0.c: Update _STRACE calls.
13074 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
13076 * libc/sys/win32/smallprint.c (rn): Fix digit list.
13078 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
13079 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
13080 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
13081 Print __seterrno trace message first.
13082 (_execve): Renamed from execve.
13083 (vfork): Update __strace usage.
13084 (__vfork_child_pid): Deleted.
13085 (__vfork_children, __vfork_child_idx): New globals.
13086 (_spawnvp): New function.
13087 (spawnvp, spawnv, _execve): Call _spawnvp.
13088 (init_child): Record child in __vfork_children.
13089 (__vfork_get_entry, __vfork_record_death): New functions.
13090 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
13091 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
13092 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
13093 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
13094 (children): New typedef.
13095 (__vfork_children,__vfork_child_idx): Declare.
13096 (__vfork_get_entry,__vfork_record_death): Declare.
13097 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
13098 (waitpid): Handle pid == -1.
13099 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
13100 * configure.in (i386-win32): Add -DNO_FORK.
13101 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
13102 * libc/reent/execr.c (_fork_r): Likewise.
13103 * libc/stdlib/system.c (do_system): New function.
13104 If WIN32, try to get shell path from $SH_PATH, use vfork.
13105 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
13106 otherwise return 0.
13108 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
13110 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
13111 * libc/sys/win32/fcntl.h: Don't include self.
13112 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
13113 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
13114 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
13115 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
13116 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
13117 Correct prototypes.
13118 * libc/sys/win32/strace.c: New file.
13119 * libc/sys/win32/smallprint.c: New file.
13120 * libc/sys/win32/crt0.c (func): Delete.
13121 (mainCRTStartup): Fix alloca usage. Set handles explictly.
13122 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
13123 * libc/sys/win32/exceptions.c: Lint.
13124 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
13125 Clean up handle usage.
13126 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
13127 (open.c): Default file type is text.
13128 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
13129 * libc/sys/win32/advapi32.def: New
13131 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
13133 * configure.in (posix_dir, libc_posix_lib): New variables.
13134 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
13135 (i[345]86-*-win32): Define posix_dir.
13136 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
13137 (if unix_dir): Fix typo.
13138 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
13139 scandir,seekdir,telldir}: New files.
13140 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
13142 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
13143 (SUBDIRS): Add posix.
13144 (SUBLIBS): Add $(LIBC_POSIX_LIB).
13146 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
13147 (NSIG): Increase to 21.
13148 * libc/include/sys/unistd.h (pid_t): Move from here,
13149 * libc/include/sys/types.h (pid_t): to here.
13151 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
13152 (__ptrace): Delete.
13153 (hinfo): New members close_exec_p, child_created_p.
13154 (struct exception_list): Define.
13155 (__hmap): Redefine as pointer to table.
13156 (__parent_hmap, __child_hmap): New globals.
13157 (__set_errno, __really_exit): Declare.
13158 (__vfork_child_pid): Declare.
13159 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
13160 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
13161 (__parent_hmap, __child_hmap): New globals.
13162 (__hmap): Redefine as pointer to active map.
13163 (__get_console): New function.
13164 (mainCRTStartup): Change leading '=' in environ vars to '!'.
13165 (env __FD_TABLE__): Watch for this and initialize our fd/handle
13166 mapping table from it if defined.
13167 (argv, envp): Dump if __strace >= 4.
13169 * libc/sys/win32/exceptions.c (myp): Redefine.
13170 (__syscalls_b): Delete.
13171 (__stack_trace): New function.
13172 (ehandler3): Update to use _STRACE. Print stack trace.
13173 Call __really_exit instead of exit.
13174 (init_exceptions): Delete args argc,argv. New arg mine.
13175 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
13176 FindFirstFileA, FindNextFileA, GetComputerNameA,
13177 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
13178 * libc/sys/win32/signal.c (signal): Validate arg.
13179 (alarm, sleep): Define as stubs for now.
13180 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
13181 (__syscalls_b, errno): Delete.
13182 (__vfork_child_pid, __vfork_jmp_buf): New globals.
13183 (__seterrno): Handle more errors.
13184 (__sys_printf): Renamed from _ptrace.
13185 (__really_exit): New function.
13186 (queue_file_deletion, process_deletion_queue): New functions.
13187 (__resume_parent): New function.
13188 (_unlink): Handle trying to delete open file.
13189 (__totime_t): Renamed from totime_t.
13190 (setsid, __read, __write): New functions.
13191 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
13192 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
13193 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
13194 * libc/sys/win32/console.c: Update to new definition of __hmap.
13195 * libc/sys/win32/Makefile.in: Build new files.
13196 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
13197 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
13198 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
13199 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
13201 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
13203 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
13205 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13207 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
13208 have been made to the master dtoa.c sources (from netlib.att.com)
13209 since they were integrated into newlib in early 1992. Fixes
13210 problems with storage leaks and handling of numbers with very
13211 negative exponents.
13213 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13215 * Makefile.in (all): set rootpre and srcrootpre before calling
13218 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
13220 * libc/sys/win32/crt0.c: Change __hmap usage.
13221 * libc/sys/win32/exceptions.c: Use _ptrace call.
13222 * libc/sys/win32/syscalls.c: Use _ptrace call.
13223 (read, write): Cope with DOS style CRLF when in TEXT mode.
13224 * libc/sys/win32/syscalls.h: Declare hinfo struct.
13225 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
13226 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
13227 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
13228 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
13230 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13232 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
13234 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
13235 wrappers for hypot() and remainder() for BSD libm compatibility.
13236 These are public domain implementations written by me for the
13237 NetBSD libm some time ago. Note cabs() is required by ucbtest.
13238 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
13239 (fobj): Added wf_cabs.o and wf_drem.o.
13241 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13243 * libc/sys/h8500hms/misc.c: New file.
13244 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
13246 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13248 * libc/time/localtime.c (localtime): Fix problem with leap year
13249 handling. Stole algorithm from Arthur David Olson's tz code.
13251 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
13253 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
13255 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
13256 (_exit): Use argument.
13258 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
13260 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
13262 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
13264 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
13266 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13268 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
13271 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
13273 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
13274 ptrace with case insensitivity
13275 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
13276 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
13279 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
13281 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13282 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
13283 (all, install, *clean): Use new multilib support.
13284 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
13286 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
13288 * libc/include/sys/signal.h (__WIN32__): New.
13290 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
13292 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
13293 (ulp, b2d): Handle 32 bit doubles.
13294 * libc/stdlib/mprec.h: Handle 32 bit doubles.
13295 * libc/stdlib/strtod.c (_strtod_r): Ditto.
13297 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
13299 from medp@primag.co.uk:
13300 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
13301 dynamically allocated buffers.
13303 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
13305 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
13306 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
13308 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13310 * configure.in (powerpc): Fix previous fix.
13312 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13314 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
13315 directories for this target.
13317 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
13319 * configure.in (hppa): Add machine_dir definition.
13320 * libc/machine/hppa: New directory with PA specific implementations
13321 of the basic memory/string functions.
13323 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13325 * configure.in: Update current PowerPC multilib directories.
13326 Split big and little endian configurations.
13328 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
13330 * configure.in: Add --enable-single-float option to configure to
13331 control use of MIPS single-float directories. Default to yes.
13333 * Makefile.in (all): Don't recurse into multilib directory if it
13336 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13338 * libc/sys/sh/syscalls.c: Fix typo.
13340 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
13342 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
13344 * libc/include/process.h: Define WAIT_CHILD.
13345 * libc/include/types.h: Get sizes right for win32.
13346 * configure.in (i386-*-pe): Becomes i386-win32.
13347 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13348 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
13349 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
13352 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
13354 * configure.in (i[345]86-*-pe): New target (NT).
13355 * host/any: DLLTOOL new.
13356 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
13357 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
13358 WIN32 (just enough to cross host the comp-tools).
13360 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
13362 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
13363 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
13365 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
13367 * libc/include/machine/ieeefp.h (arm): Change to always be
13368 __IEEE_BIG_ENDIAN (even on little endian ARM's).
13370 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
13372 * libc/sys/crt0.S: Initialze sp, and call exit after main.
13373 * libc/sys/syscalls.c (abort): New.
13374 * configure.in (arm): Define ABORT_PROVIDED.
13376 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13378 * configure.in (powerpc): Define multidirs.
13380 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
13382 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
13384 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
13386 * configure.in (sparclite): Delete target_cflags. Define multidirs.
13388 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
13390 * configure.in, libc/include/machine/ieeefp.h: Modified
13392 libc/machine/arm/*, libc/sys/arm/*: New
13394 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13396 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
13397 __powerpc__ when determining endianness.
13399 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13401 * configure.in (m68*): Add multidir for the m68332.
13403 * host/any (CC): Fix typo in last change.
13405 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
13407 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
13408 when determining endianness.
13409 * libc/include/machine/ieeefp.h: Ditto.
13410 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
13413 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
13415 * libc/include/errno.h (ENOTEMPTY): Define.
13417 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13419 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
13422 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
13425 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
13426 instead of only when open succeeds. ANSI requires that multiple
13427 calls to tmpnam() result in different files.
13429 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
13430 objects pulled in from /lib/libc.a that must be renamed before
13431 being pulled into newlib. /lib/libc.a's div.o conflicted with
13432 newlib's file with the same name.
13434 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
13436 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
13437 the build tree will only be used if the executables are present
13438 (instead of just the Makefiles).
13440 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
13442 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
13443 versions of these functions that I orignally wrote for the
13445 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
13446 versions I wrote for NetBSD.
13448 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
13450 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
13451 * libc/sys/sparclite/crt0.s: ditto.
13453 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
13455 * configure.in: Add soft-float for proelf.
13457 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
13459 * libc/stdlib/mprec.h (Bcopy): Copy the right number
13462 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
13464 * Makefile.in (all): Depend on `force'.
13465 * configure.in (syscall_dir): Renamed from fake_sys_dir.
13466 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
13467 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
13468 * libc/Makefile.in: Likewise.
13469 * libc/include/reent.h: Update syscall references.
13470 (_fcntl_r): Add prototype.
13471 * libc/syscalls/*.c #include <reent.h>.
13472 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
13474 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
13476 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
13477 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
13478 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
13479 (time.h, sys/types.h): Always include (even if MSDOS).
13480 (stat): Fix prototype.
13482 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
13484 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
13486 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13488 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
13490 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
13492 * libc/include/regdef.h: New file.
13493 * libc/machine/mips/machine/regdef.h: New file.
13495 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
13497 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
13499 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
13501 * libc/sys/sh/crt0.S: Pass main's return to exit.
13502 * libc/sys/sh/trap.S: Put errno in the right place.
13504 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13506 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
13507 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
13508 * libm/math/ef_rem_pio2.c: Likewise.
13509 * libm/math/e_log10.c: Remove unused static one.
13510 * libm/math/ef_log10.c: Likewise.
13511 * libm/math/s_frexp.c: Likewise.
13512 * libm/math/sf_frexp.c: Likewise.
13514 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
13516 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
13517 longjmp.S: Upgraded.
13518 * libc/sys/go32/sys/setjmp.h: Upgraded.
13519 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
13521 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13523 * configure.in: Add many entries to multidirs for mips targets.
13525 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13527 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
13528 5.2 which fixes bug where jn(-1,x) is three times larger than
13530 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
13532 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
13534 * libc/sys/w65/sys/syscalls.h: New file
13535 * libc/include/machine/ieeefp.h: W65 support.
13536 * libc/include/sys/config.h: Ditto.
13537 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
13538 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
13539 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
13541 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
13543 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
13545 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
13547 * Makefile.in, configure.in: Remove any references to the old
13550 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13552 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
13553 uses ... in prototype.
13556 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
13558 * libc/sys/a29khif/sys/libconfig.h: Remove.
13559 * libc/sys/go32/sys/libconfig.h: Remove.
13560 * libc/sys/sun4/sys/libconfig.h: Remove.
13561 * libc/sys/sysvi386/sys/libconfig.h: Remove.
13562 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
13563 * libc/sys/sparc64/sys/libconfig.h: Remove.
13565 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
13566 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
13567 * libc/include/math.h: Change all uses of _FLOAT_RET and
13568 _FLOAT_ARG to float.
13569 * libm/test/math.c: Likewise.
13570 * testsuite/libm.sac/math.c: Likewise.
13571 * testsuite/libm.sac/working/math.c: Likewise.
13573 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13575 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
13576 gcc calls gas with endian option.
13577 * configure.in (sh): Build little endian version too.
13579 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13581 * configure.in: Configure big and little endian versions for MIPS
13584 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
13586 * libc/include/limits.h: Deleted.
13587 * libc/include/machine/limits.h: Deleted.
13589 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
13591 * ChangeLog: Remove stub directory. This has all been rewritten
13592 and moved to devo/libgloss.
13594 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
13596 * Makefile.in (dvi): Add to info target, use $@ in sub make.
13597 (docs): Merge into info target.
13598 * libm/Makefile.in (dvi): Add $(srcdir).
13599 * libm/math/Makefile.in (chobjs): Remove underscores from file
13600 names. Texinfo doesn't like them.
13601 (wacos.def, ...): Add explicit targets for all .def files.
13602 * libm/math/math.tex: Remove underscores from @include file names.
13603 * doc/Makefile.in (dvi): Add dummy target.
13604 * testsuite/Makefile.in (dvi): Add dummy target.
13606 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
13608 * Makefile.in (VERSION): Define. For net newlib releases.
13610 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
13612 * README: New file.
13614 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13616 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
13618 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13620 * libc/stdlib/setenv.c (_findenv): Declare.
13622 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
13623 fcntl to not use _EXFUN, and change string parameters to open and
13624 creat to be ``const char *''.
13625 * libc/sys/sparc64/sys/fcntl.h: Likewise.
13626 * libc/sys/sparc64/creat.c (creat): Make PATH const.
13627 * libc/syscalls/sysopen.c: Include <fcntl.h>.
13628 (open) Make _FILE const.
13629 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
13630 (_creat): Make PATH const.
13631 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
13632 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
13633 * libc/sys/m88kbug/syscalls.c (open): Likewise.
13634 * libc/sys/sh/syscalls.c (_open): Likewise.
13635 * stub/shared/glue.c (open): Make BUF const.
13636 * stub/ex93x/syscalls.c (open): Make FILENAME const.
13638 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
13640 * libc/include/errno.h: Add ENMFILE
13641 * libc/include/sys/config.h: Support Z8000.
13642 * libc/include/sys/signal.h: New signals for go32.
13643 * libc/machine/h8500/psi.S (__addpsir0r0): New function
13644 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
13645 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
13646 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
13647 size is variable, depending upon CHUNK_POWER.
13648 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
13650 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
13652 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
13654 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13656 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
13658 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13660 * configure.in: Change i[34]86 to i[345]86.
13662 * libc/include/math.h: Don't define HUGE_VAL if it is already
13665 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13667 * testsuite/libm.sac/test_erfc.c: Correct some result values.
13668 * testsuite/libm.sac/test_gammaf.c: Likewise.
13669 * testsuite/libm.sac/test_sin.c: Likewise.
13670 * testsuite/libm.sac/test_tanh.c: Likewise.
13672 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13674 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
13675 already set. Define typedefs __int32_t and __uint32_t.
13676 * libc/include/math.h: Include <machine/ieeefp.h>.
13677 (union __dmath): Use __uint32_t.
13678 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
13679 instead of int and unsigned int.
13681 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13683 Replace the math library with the SunPRO fdlibm package.
13684 * libm/math: Completely changed all files.
13685 * libm/ieeefp: Remove contents and directory.
13686 * libm/Makefile.in (LIBM_FP_LIB): Remove.
13687 (SUBDIRS): Just set to math/lib.a.
13688 * libm/libm.texinfo: Updated for new library.
13689 * libc/include/math.h: Extensive changes for new math library.
13690 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
13691 from _FLOAT_ARG to float.
13692 (maxpowtwo, maxpowtwof): Don't declare.
13693 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
13694 (libm_fp_lib): Removed.
13695 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
13696 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
13697 argument to ${RUNTEST}.
13698 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
13700 (RUNTESTFLAGS): Set CC and CFLAGS.
13701 (TESTS): Remove test_log2 and test_log2f.
13702 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
13703 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
13704 _FLOAT_ARG, for single precision argument type.
13705 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
13706 expected failure. Close the input pipe.
13707 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
13708 Correct misspelling of inaccurate.
13709 (test_mok): Use ``inaccurate'', not ``wrong''.
13710 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
13711 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
13712 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
13713 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
13714 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
13715 test_yn.c): Correct many result values. Many are still wrong.
13717 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
13718 just copy the string.
13719 (_gcvt): Always return the buffer.
13721 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13723 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
13725 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
13727 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
13729 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
13730 (_reclaim_reent): declare new entry point.
13731 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
13734 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
13735 ever allocated, so that we can later reclaim them all.
13736 (pow5mult): make reentrant.
13738 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
13739 so that when given NULL as a buffer, return a pointer to static
13740 space in the rent structure. This is not documented behaviour;
13741 it's only to support ecvt and fcvt, which aren't ANSI anyway.
13742 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
13743 therefore become reentrant).
13745 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
13747 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13749 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
13751 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
13753 * Makefile.in: Make link to libg.a after libc.a; this is needed
13754 for the testsuites to build executables when everything comes
13757 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
13759 * libc/Makefile.in: Add a VERSION variable so we can keep track.
13760 * libm/Makefile.in: Add a VERSION variable so we can keep track.
13762 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
13764 * libc/include/stdio.h: Use __VALIST, not va_list.
13766 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
13768 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
13769 testsuite/libm.sac/execute.exp:
13770 Replace error proc calls with perror calls.
13772 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
13774 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
13775 * libc/include/time.h: #define NULL as 0L.
13777 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
13779 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
13782 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13784 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
13787 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
13789 * configure.in (TARGET_CFLAGS): Set -O2 as default.
13790 (z8k-*-*): Use syscalls fake sys dir.
13791 * libc/sys/z8k/glue.c: Rename syscalls.
13792 * libc/sys/go32/Makefile.in: Use new routines.
13793 * libc/machine/Makefile.in: Fix typo in ln stuff.
13795 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13797 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
13798 * libc/Makefile.in (crt0.o): Likewise.
13799 * libc/machine/Makefile.in (lib.a): Likewise.
13800 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
13802 All Makefile.in files: Added mostlyclean, realclean and distclean
13805 * Makefile.in: Don't bother to unexport XTRAFLAGS or
13806 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
13807 the top level Makefile.
13809 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
13811 * libc/sys/sparc64/sys/stat.h: New file.
13812 * libc/sys/sparc64/sys/time.h: New file.
13813 * libc/sys/sparc64/sys/types.h: New file.
13815 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
13817 * stub/ex93x/crt0.s (start): Add code to clear bss.
13819 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
13821 * libc/include/sys/types.h (time_t): Properly protect inside
13822 #ifndef __time_t_defined.
13824 * libc/stdio/fileno.c: New file.
13825 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
13826 (fileno.o): Add dependency.
13827 * libc/include/stdio.h (__sgetc): Rename never to _never.
13828 (fileno macro): Disable, needs to do CHECK_INIT first.
13830 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
13832 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
13835 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
13836 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
13838 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
13841 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
13843 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
13844 of the various constants.
13846 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
13848 * libc/include/math.h: #ifndef __math_68881 around things which
13849 conflict with the (gcc-provided) inline functions in
13850 gcc/ginclude/math-68881.h.
13852 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
13854 * libc/include/_syslist.h (_gettimeofday): Define.
13856 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
13857 (struct tms, timeval, timezone): Declare.
13858 (_gettimeofday_r, _times_r): Declare.
13859 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
13860 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13861 (time_t): Add multiple definition protection, __time_t_defined.
13862 * libc/include/sys/time.h: Don't #include <time.h>.
13863 Always define struct timezone (remove #ifndef _TIME_H_).
13864 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
13865 #ifdef _CLOCK_T_ surrounding definition of clock_t.
13866 * libc/reent/Makefile.in (OFILES): Add timer.o.
13867 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
13868 * libc/reent/timer.c: New file.
13869 * libc/time/clock.c: #include <reent.h>.
13870 (clock): Call _times_r instead of times.
13871 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
13872 HAVE_GET_TIME_OF_DAY.
13873 Add comment regarding supporting OS routine(s) required (for docs).
13874 #include <reent.h>.
13875 (time): Call _gettimeofday_r instead of gettimeofday.
13876 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
13877 * libc/time/ctime.c: Ditto.
13878 * libc/time/strftime.c: Ditto.
13879 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
13880 (TEMPLATE_SFILES_R): Define here. Also define times.
13881 Add times_r.o/times.S dependence.
13882 (time2.c, junk.c): Deleted.
13883 * libc/sys/sparc64/time2.c: Deleted.
13884 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
13886 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
13887 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
13888 * libc/sys/sparc64/junk.c: Deleted.
13890 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
13892 * libc/sys/sparc64/Makefile.in: Add times syscall.
13893 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
13894 be used with and without it. Add comment clarifying Medium/Anywhere
13895 model requirements.
13896 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
13897 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
13900 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
13902 * configure.in (target_cflags): Move init.
13903 (sparc64-*-*): Define HAVE_BLKSIZE.
13905 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
13907 * libc/include/sys/_types.h: New file.
13908 * libc/include/reent.h: #include it.
13909 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
13910 MISSING_SYSCALL_NAMES.
13912 * libc/include/_syslist.h: Remove _raise.
13913 * libc/reent/signalr.c: New file.
13914 * libc/reent/Makefile.in: Compile it.
13915 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
13916 Add doc for raise and _raise_r.
13917 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
13918 (raise): Call _raise_r.
13919 (_raise_r): Call _getpid_r and _kill_r.
13920 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
13921 (abort): Loop forever calling raise and _exit.
13923 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13925 * configure.in: Remove extraneous echo.
13927 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
13929 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
13930 collision with unistd.h, and fix for svr4.
13932 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
13934 * libc/stdio/local.h (_llicvt): Declare.
13935 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
13936 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
13938 (_sicvt): Fix function header (`value' is short).
13939 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
13940 Add printing of long long's support.
13941 Add printing of 8 byte pointer support.
13943 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
13945 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
13946 stat, chmod): New hooks.
13947 (sbrk): Abort if stack and heap collide.
13948 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
13949 shortcut when given small args.
13950 * libc/machine/sh/setjmp.s: Rewritten.
13951 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
13952 of cmp/str instruction.
13954 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
13956 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
13957 and machine_dir powerpc.
13958 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
13959 Add cases for __powerpc__.
13960 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
13963 * libc/include/stdio.h (_iprintf_r): Declare correctly.
13965 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
13967 * libc/stdlib/callocr.c: New file with _calloc_r in it.
13968 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
13970 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
13972 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
13973 (print_e): More comments to describe args, etc.
13974 "type" arg may now be 'g' or 'G' for %g/G format --> remove
13976 (_gcvt): Remove locals decpt, sign, end, p, done.
13977 More comments for print_e invocation.
13978 Pass "type" to print_e as is (g/G).
13980 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
13982 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
13985 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
13987 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
13988 works with any sized pointer, including ones bigger than ints and
13991 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
13993 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
13995 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
13997 * libc/include/stdlib.h (_calloc_r): Add prototype.
13998 * libc/machine/h8500/negsi2.c: New file.
13999 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
14000 large unsigned numbers.
14001 * libc/machine/h8500/cmpsi.c: Add cmppsi.
14002 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
14003 works when sizeof(size_t) != sizeof(char *).
14004 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
14006 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
14008 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
14010 * libc/include/assert.h (assert): Handle -traditional.
14012 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
14014 * Makefile.in: added ; after every "fi" and "done" that wasn't at
14015 the end of a line (ie. anything before a backslash continuation)
14016 so that bash handles them.
14018 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14020 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
14023 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
14025 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
14026 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
14027 libc/machine/sh/udivsi3.s: Use new calling convention.
14029 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
14031 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
14032 chmod, access, chdir, chown by making _path const. Also fix _amode
14035 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
14037 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
14038 _khif_tmpnam, because it doesn't comply with ANSI but may be
14039 useful anyway. Real tmpnam was already in libc/stdio, and was
14040 colliding with this one (pr 2176.)
14041 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
14042 the wrong idea anyhow.
14044 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
14046 * configure.in: Remove h8300h, we have multilib now.
14048 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
14050 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
14051 functions, to get preference over the ones in libiberty (since we
14052 provide correct declarations in <string.h>.
14053 * libc/string/Makefile.in: add support for strncasecmp,
14056 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
14058 * Change netware config not to look for cpu explicitly.
14060 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
14062 * libc/sys/sparc64/{creat.c,junk.c}: New files.
14063 * libc/sys/sparc64/Makefile.in: Add dependencies.
14065 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
14067 * configure.in: Clean up v9 a bit, new "os" aoutv8.
14069 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
14071 * libc/include/sys/reent.h: make structure smaller by allocating
14072 some stuff when needed.
14073 * libc/signal/signal.c: allocate as needed
14074 * libc/stdio/findfp.c,stdio/local.h: ditto
14075 * libc/stdlib/mprec.c: ditto
14077 * libc/time/localtime.c: don't return a dangling stack ptr.
14079 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
14081 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
14083 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14085 * libc/include/stdio.h (__sputc): comment out static inline which
14086 confuses coff toolchains.
14088 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
14090 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
14091 _write.s, getpid.c, kill.c, read.s}:
14092 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
14093 through the syscalls directory.
14095 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
14097 * configure.in: fixed double quote gotcha.
14099 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
14101 * stub/ex931: stub library for sparclite board.
14102 * stub/idp: Renamed from mc68ec. Added contructor table
14103 stuff to linker script.
14104 * stub/mvme135: Renamed from m68kmvme. Added contructor table
14105 stuff to linker script.
14107 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14109 * configure.in: Configure testsuites only if they exist.
14111 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14113 * configure.in: Don't set machine_dir for i386 until there is
14114 something in libc/machine/i386 to compile. For i[34]86-*-netware*
14115 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
14116 CLOCK_PROVIDED and MALLOC_PROVIDED.
14118 * libc/sys/netware: New directory. Contains simplistic and
14119 probably incorrect stubs for NetWare. Should be enough to load
14121 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
14122 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
14125 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
14126 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
14127 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
14128 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
14130 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
14132 * testsuite/Makefile.in: add "docs" dummy target for consistency
14133 with rest of newlib; turn "info" and "install-info" into dummy
14134 targets, since they wouldn't have worked. (Depended on
14135 nonexistent "doc" subdir.)
14137 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
14139 * configure.in: handle mips* instead of mips
14141 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
14143 * libc/include/sys/dirent.h: New file. If it is not overridden by
14144 a version of libc/sys/*/sys/dirent.h, it includes the next
14145 <dirent.h> file in case there is one lurking somewhere.
14147 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14149 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
14150 compliance, namely: Accept a minus sign. Consider a single 0 with
14151 a radix of 0 as being a conversion. Determine overflow correctly.
14152 If an overflow occurs, set *ptr to the end of the number, not the
14154 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
14156 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
14158 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
14160 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
14162 * Makefile.in (INSTALL): Use $srcrootpre.
14163 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
14165 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
14167 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
14168 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
14169 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
14170 * libm/math/Makefile.in (matherr.o): Ditto.
14172 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14174 * configure.in: Build multidirs for z8k.
14175 * libc/include/stdlib.h (_strtoul_r): add prototype.
14176 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
14177 * libc/include/machine/setjmp.h: Add for z8k.
14178 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
14179 * libc/sys/z8ksim/glue.c: tidy up.
14181 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
14183 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
14184 New files. Requires execve system call.
14185 * libc/unix/Makefile.in: Use them.
14186 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
14187 Deleted, moved to libc/unix.
14188 * libc/sys/sparc64/Makefile.in: Remove them.
14190 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
14192 * libc/sys/sparc64/{template.S template_r.S}: New files.
14193 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
14195 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
14196 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
14197 umask.S unlink.S wait4.S write.S}: Removed, now built from
14200 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
14202 * libc/time/time.c: #include <_ansi.h>.
14204 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
14206 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
14208 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14210 * configure.in: match m8* rather than m88k so that m88110 is
14211 recognized as well.
14213 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
14215 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
14216 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
14219 * configure.in: Add multilib support to h8300.
14221 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
14223 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
14224 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
14225 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
14227 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14229 * configure.in: Corrected multidirs for sparc target.
14231 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14233 Support for building newlib multiple times with different
14235 * configure.in: Only configure doc at top level. Set multidirs
14236 when appropriate for target, unless not at top level. If
14237 multidirs is set, independently configure each subdirectory.
14238 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
14239 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
14240 automagically set by configure.in.
14241 (all): If MULTIDIRS is set, build multiple copies of libraries.
14242 (install): If MULTIDIRS is set, install multiple copies of
14243 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
14244 MULTISUBDIR is set, don't bother to install header files.
14245 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
14247 * stub/configure.in: Set MULTISUBDIR appropriately.
14248 * stub/Makefile.in (install): Install in
14249 $(tooldir)/lib/$(MULTISUBDIR).
14250 * All Makefile.in files: Define SRCTOP as well as TOP.
14252 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
14254 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
14255 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
14257 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
14259 * libc/sys/h8300hms/exit.c (_exit): New function.
14261 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14263 * configure.in: recognize m88110.
14265 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14267 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
14268 prototype main and call with args.
14270 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
14272 First real try at system traps for m88k-bug.
14273 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
14274 to real trap calls.
14275 * libc/sys/m88kbug/sys/systraps.h: new file.
14277 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14279 Patches to fix info building when target does not use sys
14281 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
14282 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
14284 * libc/sys/Makefile.in (doc): do nothing.
14286 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14288 * libc/Makefile.in (CRT0): new macro.
14289 (all): depend on $(CRT0) rather than crt0.o.
14291 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
14292 do not default crt0, instead, set crt0 and crt0_dir based on
14293 sys_dir and stub_dir.
14295 * Makefile.in (CRT0_DIR): new macro.
14296 (all): depend on $(CRT0) rather than crt0.o which may not exist.
14297 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
14299 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
14301 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14303 * testsuite/lib/libm.exp:
14304 added code to support compiling and linking of tests for
14305 libm.sac (paranoia to be added next) and processing the
14306 pass or failure of the tests.
14308 * testsuite/config/unix-libm.exp:
14309 platform specific proc's for dealing with compiler, linker
14310 and the way we execute and process the test results.
14312 * testsuite/libm.sac/execute.exp:
14313 generic framework for the sac tests. the config and lib
14314 expect code for specific platforms tie it all together.
14316 * testsuite/libm.sac/test_is.c:
14317 changed the output of the test to be consistant with the
14318 other tests. parsing of pass nad fail messages is now fixed.
14320 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
14322 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
14323 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
14324 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
14325 #ifdef __cplusplus, surround by extern ""C { ... }.
14326 * libc/include/assert.h: Do *not* protect assert.h against
14327 multiple inclusion! Also, #undef it before #define, to allow
14329 * libc/include/stdio.h (getlogin, cuserid): Removed. These
14330 should be only in unistd.h.
14332 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
14333 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
14336 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
14338 * libc/machine/sparc/Makefile.in: Must create a library, even
14341 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14343 * configure.in: set machine_dir for m88k. edit crt0 definition
14346 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
14348 * libc/Makefile.in (all): also build crt0.o.
14350 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
14351 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
14354 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
14355 (all): reworked to build in place.
14356 (clean): remove lib.a
14357 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
14359 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
14360 (_start): key off edata rather than _start_bss.
14362 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
14364 * libc/include/sys/unistd.h, libc/include/reent.h,
14365 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
14367 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14369 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
14371 * Makefile.in (libc.a): break into two rules, one for libc.a and
14372 one for libc/libc.a. Force subdirs current before rebuilding
14374 (libm.a): break into two rules, one for libm.a and one for
14375 libm/libm.a. Force subdirs current before rebuilding library.
14377 * libc/Makefile.in (SUBLIBS): fix typo.
14379 * libc/sys/Makefile.in (all): force descent into subdirs, then
14380 rebuild library iff out of of date.
14382 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
14384 Rework so that library is built and then finished rather than
14385 being built on each invocation of make.
14387 * host/any (machine_dir, sys_dir, signal_dir): these are not
14388 shared and have been moved to their associated Makefile.in's.
14389 (AR_FLAGS): switch to qc which is faster.
14390 * configure.in: no longer assign machine_dir for m88k. set
14391 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
14392 stub_dir set, then add to configdirs. add comment about silly
14394 (configdirs): drop stub. It will be added only
14396 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
14397 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
14398 stub_lib, crt0): new variables for tailoring lower level
14399 makefiles. Assign accordingly and edit into makefiles.
14400 * libm/Makefile.in: updated copyright.
14401 (TARGETLIB): removed.
14402 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
14403 (SUBDIRS): removed TARGETDEP_DIRS.
14404 (LIBM_FP_LIB, SUBLIBS): new macros.
14406 (force): new target to force rebuilds.
14407 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14408 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
14409 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
14410 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
14411 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
14412 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
14413 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
14414 stub/m68kmvme/Makefile.in: updated copyright.
14415 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
14416 (all): reworked. made this the default rule.
14417 (clean): also remove lib.a.
14418 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14419 * stub/Makefile.in: updated copyright.
14420 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
14421 (stub_lib): new macro.
14422 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
14425 (clean, install): assume stub_dir exists.
14426 (Makefile): depend on configure.in. call $(SHELL) rather than
14427 sh. drop redundant ./
14428 * stub/configure.in (stublib): new macro, assign it, edit it into
14430 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
14433 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14434 * libc/Makefile.in (TARGETCRT0): removed.
14435 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
14437 (SUBDIRS): drop TARGETDEP_DIRS.
14438 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
14439 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
14440 (force): new target to force rebuilds.
14441 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
14442 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
14444 (clean): assume sys_dir always exists.
14445 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
14447 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
14448 libc/locale/Makefile.in, libc/machine/Makefile.in,
14449 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
14450 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
14451 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
14452 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
14453 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
14454 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
14455 libc/signal/Makefile.in, libc/stdio/Makefile.in,
14456 libc/stdlib/Makefile.in, libc/string/Makefile.in,
14457 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
14458 libc/time/Makefile.in, libc/unix/Makefile.in,
14459 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
14460 (TARGETLIB): removed.
14462 (clean): also remove lib.a.
14463 (Makefile): call $(SHELL) rather than sh. drop redundant ./
14464 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
14466 (SUBDIRS): moved to follow frag inclusion, change stub to
14468 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
14469 are now set in the libc Makefile.
14470 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
14471 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
14473 (force): new target to force rebuilds.
14474 * stub/configure.in: determine and set stub_lib for for Makefile.
14476 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
14478 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
14479 crt0.s renamed to crt0.S.
14480 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
14482 * libc/machine/h8300/Makefile.in: Make `all' the default target.
14483 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
14485 * libc/machine/h8300/defines.h: Add macros to handle pointers for
14486 h8300 (16 bits) and h8300h (32 bits).
14487 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
14488 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
14490 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
14492 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
14493 implementation of setjmp and longjmp for the m88k.
14494 * libc/include/machine/setjmp.h: Added __m88000__ case.
14496 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
14498 * configure.in: Recognize h8300h as variant of h8300.
14500 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14502 * libc/include/sys/unistd.h (read, write): get prototypes right.
14503 (sbrk): New prototype.
14504 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
14505 * libc/stdio/local.h: Include unistd.h.
14506 * libc/machine/h8300/syscalls.c: Names have changed.
14508 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
14510 * configure.in: add sys_dir assignment for m88k-bug.
14512 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
14514 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
14516 * libc/sys/sparc64: all *.S files: Use new macros.
14517 * libc/sys/sparc64/isatty.c: New file.
14518 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
14519 functions beyond what newlib provides.
14521 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
14523 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
14526 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
14528 * libc/include/machine/ieeefp.h: Add support for h8/300h.
14530 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
14532 * configure.in: add m88k.
14533 * libc/include/machine/ieeefp.h: add case for m88k. Also add
14534 sanity check so no one else need ever chase what I did to find
14537 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
14539 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
14541 * doc/makedoc.c: Include <ctype.h>.
14543 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
14545 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14546 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14547 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
14549 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
14551 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
14553 * libc/include/errno.h (ENOSYS): Added.
14555 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
14557 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
14559 * libc/stdio/fflush.c (fflush): Check for reent struct
14561 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
14563 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
14565 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
14566 out of dtoa.c so it doesn't pollute the namespace.
14567 * libc/include/_syslist.h: new file -- mappings from _function to
14568 function, for systems where we can't win (by default, all of them,
14569 until we start updating system calls.)
14570 * libc/syscalls: new directory -- stubs for exporting _function
14571 names as unmodified function names.
14572 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
14573 _syslist.h on all platforms by default, but put hooks in for
14574 fake_sys_dir so we can include it when we've renamed the system
14576 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
14577 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
14578 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
14579 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
14580 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
14581 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
14582 non ANSI functions to call _function.
14584 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
14586 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
14587 when base 16 is specified. Don't accept non-digits if radix > 10.
14589 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
14591 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
14593 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
14595 * libc/include/sys/stat.h: Surround text after #endif with
14598 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
14600 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
14601 _malloc_r, _realloc_r, and free_r call the corresponding
14602 non-reentrant functions.
14604 * libm/math/modf.c (modf): We now take the address of ipart, so
14605 don't make it a register variable.
14607 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
14609 * libm/math/*: Rename all xxx_r fns to _xxx_r.
14611 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
14613 * libc/libc.texinfo and embedded docn throughout: formatting
14614 improvements, minor rephrasing for clarity, and improved
14617 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14619 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
14621 * libc/stdio/cvt.c (_licvt): Print the right value on machines
14622 where sizeof(int) != sizeof(long).
14624 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
14626 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
14627 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
14628 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
14629 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
14630 libm/math/matherr.c: changes for better docn formatting (info).
14632 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
14633 libc/reent/reent.tex, libc/signal/signal.tex,
14634 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
14635 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
14636 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
14637 makeinfo node defaulting to get better Info file node structure.
14638 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
14639 Also include a few formerly missing sections (subroutines).
14641 * doc/doc.str: delete fossil expansion for "func"
14643 * default.menu, no-signal.menu: delete.
14645 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
14646 method used to adjust doc for missing "signals" chapter when
14647 signal_dir is empty.
14649 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14651 * configure.in: added testsuite/libm.sac
14653 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
14655 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
14658 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
14660 * libm/Makefile.in: Use $(MAKE) rather than make, and define
14661 MAKEOVERRIDES to be empty.
14663 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
14665 * configure.in: Don't build mips-*-* with -msoft-float, since that
14666 makes it incompatible with hard floating point.
14668 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14670 * Makefile.in: added recursive 'make check'
14672 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
14674 * configure.in: added ./testsuite ./testsuite/libm.paranoia
14675 * ./testsuite/Makefile.in: created
14676 * ./testsuite/libm.paranoia: paranoia tests added
14678 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
14680 * configure.in: For mips-*-* set machine_dir to mips.
14682 * libc/machine/mips: New directory.
14683 * libc/machine/mips/Makefile.in: New file.
14684 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
14685 setjmp and longjmp.
14686 * libc/include/machine/setjmp.h: Added __mips__ case.
14688 * libc/machine/lmips: Removed unused and useless directory.
14690 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
14692 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
14694 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
14696 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
14699 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
14701 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
14704 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
14706 * libm/test/convert.c: structure member errno -> errno_val.
14707 Must include <errno.h> to use errno, it's a macro now.
14708 * libm/test/math.c: Ditto.
14709 * libm/test/math2.c: Include errno.h.
14710 * libm/test/string.c: Ditto.
14711 * libm/test/test.h: structure member errno -> errno_val.
14712 Remove extern int errno decl.
14714 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
14716 * libc/stdio/Makefile.in: Added dependencies on local header
14718 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
14721 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
14723 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
14725 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
14727 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
14730 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
14731 * libc/stdio/local.h: Add prototype for _licvt.
14733 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
14734 instead of malloc,reealloc.
14736 * libc/stdlib/local.h: New file.
14737 * libc/stdlib/efgcvt.c: #include local.h.
14738 (gcvt): Fix call to _gcvt.
14739 * libc/stdlib/ecvtbuf.c: #include local.h.
14741 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
14742 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
14743 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
14745 * libc/stdlib/atexit.c: moved global data to struct _reent.
14746 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
14748 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
14750 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
14752 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
14753 here from ../reent.h.
14755 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
14757 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
14758 should be provided in both libc.a and libm.a.
14759 (libc.a): Depend on targ-include and libm.a. Copy
14760 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
14761 (libm.a): Depend on targ-include.
14762 * configure.in (subdirs): Removed libc/math.
14764 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
14766 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
14768 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
14770 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
14771 sys/reent.h instead of reent.h.
14772 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
14773 headers moved to sys/reent.h.
14774 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
14775 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
14776 __need__MAX_SIGNALS defined.
14777 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
14778 std{in,out,err} refer to new _std{in,out,err} members.
14780 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
14782 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
14785 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
14787 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
14788 rather than whatever macro seterrno() has.
14790 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
14792 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
14793 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14795 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
14798 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
14799 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
14800 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14802 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
14803 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
14805 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
14806 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
14807 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
14808 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
14809 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
14810 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
14811 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
14812 renamed to _xxx_r. struct reent_struct renamed to struct _reent
14813 for ANSI. structure members given leading "_" for ANSI. Use
14814 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14816 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
14817 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
14818 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
14819 reent_struct renamed to struct _reent for ANSI.
14820 Structure members given leading "_" for ANSI.
14821 _CONST --> const in prototypes.
14822 Use _HAVE_STDC instead of __STDC__.
14824 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
14826 struct reent_struct renamed to struct _reent for ANSI.
14827 Structure members given leading "_" for ANSI.
14829 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
14831 struct reent_struct renamed to struct _reent for ANSI.
14833 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
14834 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
14835 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
14836 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
14837 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
14839 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
14840 signal.h, stdio.h, stdlib.h, string.h, time.h}:
14841 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
14842 #ifndef _STRICT_ANSI non-ANSI routines.
14843 Reentrant routines renamed from _r_xxx to _xxx_r.
14844 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
14845 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
14846 Clean up namespace (structure members have leading "_").
14847 struct reent_struct renamed to struct _reent for ANSI compliance.
14848 _CONST --> const in function prototypes.
14850 * libc/include/string.h: Add NULL and size_t.
14852 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
14853 unlink, wait, wait4. Reentrant syscall routines close, fork,
14854 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
14856 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
14857 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
14858 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
14859 write.S}: Define reentrant versions.
14860 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
14861 reentrant syscalls.
14863 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
14865 * libc/include/stdlib.h (RAND_MAX): Fix value.
14867 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
14869 * libc/sys/a29khif/_main.c: Removed unnecessary file.
14870 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
14871 VPATH support targets after all: target.
14873 * stub/mvme135/mvme.S: Renamed exceptionhandler to
14874 exceptionHandler, which is what mvme135-stub.c expects.
14876 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
14878 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
14880 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
14881 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
14884 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
14886 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
14888 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
14890 libc/reent/fstatr.c (_r_fstat): Ditto.
14891 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
14892 libc/reent/sbrkr.c (_r_sbrk): Ditto.
14893 libc/reent/statr.c (_r_stat): Ditto.
14895 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
14896 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
14897 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
14898 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
14899 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
14900 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
14901 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
14902 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
14903 (__swrite): Ditto for _r_lseek, _r_write.
14904 (__sseek): Ditto for _r_lseek.
14905 (__close): Ditto for _r_close.
14906 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
14908 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
14909 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
14911 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
14912 to make reent_struct the first argument (and thus consistent with
14913 the rest of newlib).
14915 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
14916 reference to __STDC__.
14918 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
14920 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
14923 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
14925 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
14927 libc/stdio/fclose.c (fclose): Ditto.
14929 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
14931 * Run through indent and rename reentrant routines for ANSI.
14932 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
14933 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
14934 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
14935 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
14936 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
14937 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
14938 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
14939 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
14940 vsprintf.c wbuf.c wsetup.c local.h}
14942 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
14944 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
14945 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
14946 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
14947 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
14948 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
14949 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
14951 * Run through indent.
14952 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
14953 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
14954 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
14955 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
14958 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
14959 localtime.c mktime.c strftime.c time.c}:
14960 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
14962 * Reformatting + renaming (for ANSI, GNU style, consistency).
14963 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
14964 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
14965 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
14967 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
14969 * libc/include/stdio.h (stdin_r): Fix.
14971 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
14973 * Makefile.in: Unexport some variables to keep GNU make from
14974 putting them in the environment and using up needed ARG_MAX space
14975 (a hack is used to let this work with older makes as well).
14977 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
14979 * Makefile.in: Use $(MAKE) rather than make.
14980 (MAKEOVERRIDES): Define to be empty.
14981 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14982 (libc.a, libm.a): Depend on targ-include.
14983 * host/any (LD): Don't define.
14984 (INCLUDES): Use targ-include.
14985 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
14986 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
14987 * libc/Makefile.in: Use $(MAKE) rather than make.
14988 (MAKEOVERRIDES): Define to be empty.
14989 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14990 (all): Rewrote to be slightly smaller.
14991 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
14992 Define to be empty.
14993 (FLAGS_TO_PASS): Don't pass LD (it's not used).
14994 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
14996 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
14998 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
14999 with errno/errno.c.
15001 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
15003 * Changes for reentrancy.
15004 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
15005 Use ptr->_errno, not errno.
15006 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
15007 libc/stdio/remove.c (remove_r): New function.
15008 libc/stdio/rename.c (rename_r): New function.
15009 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15010 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
15011 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
15012 reentrant versions of system calls.
15013 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
15014 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
15015 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
15016 libc/stdio/findfp.c: Include <string.h>.
15017 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
15019 libc/stdio/wbuf.c: Include "fvwrite.h"
15021 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
15023 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
15024 (NULL): Don't define if already defined.
15025 libc/stdlib/system.c: Call reentrant versions of system calls.
15026 (system_r): New function.
15028 * Changes for reentrancy.
15029 libc/include/_ansi.h (_PARAMS): New macro.
15030 libc/include/errno.h: Define errno as a macro that calls __errno.
15031 (__errno_r): New macro for reentrant code.
15032 libc/include/math.h: Include reent.h. Declare many reentrant
15034 (signgam): Now a macro, not a variable.
15035 (struct exception): Added err field.
15036 libc/include/reent.h: Don't declare __sglue. Added function
15038 (struct reent_struct): Moved errno to beginning. Added _signgam.
15039 libc/include/stdio.h, libc/include/stdlib.h: Added function
15042 * More reentrancy hacking.
15043 libc/errno/errno.c (__errno): New function.
15044 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
15045 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
15048 * Added many new reentrant functions to libm/math/*.
15049 libm/math/error.c (__matherror): Added reent_struct pointer
15050 argument. Changed all callers.
15051 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
15052 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
15053 libm/math/tan.h: Removed obsolete unused header files.
15055 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
15057 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
15059 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15061 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
15064 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15066 * libc/libc.texinfo: comment out reentrancy chapter (duh)
15068 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15070 * libc/reent/reent.tex: New file. (text from
15071 newlib/libc/libc.texinfo)
15072 * libc/stdio/tmpnam.c: fixed doc typo
15073 * libc/stdlib/rand.c: fixed doc typo
15075 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
15077 * libc/reent/reent.tex: New file. (text from
15078 newlib/libc/libc.texinfo)
15080 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15082 support for reentrancy
15083 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
15085 * libc/errno/errno.c, libc/include/ieeefp.h,
15086 libc/include/locale.h, libc/include/reent.h,
15087 libc/include/signal.h, libc/include/stdio.h,
15088 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
15089 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
15090 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
15091 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
15092 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
15093 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
15094 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
15095 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
15096 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
15097 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
15098 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
15099 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
15100 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
15101 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
15102 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
15103 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
15104 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
15105 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
15106 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
15107 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
15108 libc/time/strftime.c: modify to provide reentracy.
15111 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
15112 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
15113 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
15114 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
15115 mstats_r, realloc_r, localeconv_r, setlocale_r
15117 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
15119 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
15120 libc/include/sys/config.h, libc/include/sys/signal.h,
15121 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
15122 provided macros (such as m68000), use the ansi version
15123 (__m68000__) so that the library can be used with code compiled
15124 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
15127 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15129 * configure.in (sparc*): Don't set -fsoft-float for sparc
15130 configurations. Do set -fsoft-float for sparclite configurations.
15132 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15134 * default.menu, no-signal.menu: alternate forms of libc main menu
15135 (in newlib rather than newlib/libc due to configuration restrictions)
15137 * configure.in: select one of the two menus above, link to
15140 * libc/libc.texinfo: include menu from separate file
15142 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
15144 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
15145 (info): Split long shell command in half.
15146 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
15147 sub-makes, just CHEW and TARGETDOC.
15148 (targetdep.tex): Removed now special handling of sys and machine
15149 subdirectories, made obsolete some time ago.
15150 * libc/machine/Makefile.in (doc): Don't pass everything to
15151 sub-make, just CHEW and TARGETDOC.
15152 (Makefile): New target.
15153 * libc/sys/Makefile.in (Makefile): New target.
15155 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
15157 * Makefile.in (here and most subdirectories): Only pass down CHEW
15158 and TARGETDOC when making info, not for other targets.
15160 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
15161 $(AR_FLAGS) rather than $(ARUPDATE).
15163 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
15165 * Try to reduce command line length:
15166 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
15167 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
15168 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
15169 (info): Pass CHEW to other subdirs.
15171 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
15173 * configure.in: add signal_dir, like unix_dir, but by default it
15174 is set to "signal" so that a29khif can turn it off (since a29khif
15175 has raise() as part of machine-specific signal.s.)
15177 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15179 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
15180 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
15182 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
15183 libc/stdio/vfprintf: type lint.
15184 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
15185 initialzation code.
15186 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
15188 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
15190 * stub/mvme135/mvme135-asm.S: new file.
15191 stub/mvme135mvme135-stub.c: moved all assembler routines into
15193 stub/mvme135/Makefile.in: build mvme135-stub.o.
15195 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
15197 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
15198 sub-Makefiles instead, to try to avoid line length limitations.
15200 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
15202 * libc/include/unistd.h (read, write): Use void* instead of
15205 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
15207 * stub/go32/resetpc: sample script to send a reset packet to the
15210 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
15211 DOS environment, which compiles with Turbo C.
15213 * stub/go32/DSER32.LNK: new file, linker commands for serial
15216 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
15217 start up message to identify version; call set_debug_traps.
15219 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
15220 keyboard interaction); call handle_exception() in go_til_stop,
15221 rather than return, so that the remote stub gets control.
15223 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
15224 rename, rather than mv), set flags that work with current Turbo C,
15225 including using the /3 flag; also, add commands to build dser32.
15227 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
15228 default Turbo C installation (\tc rather than \usr)
15230 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
15233 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15235 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
15237 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15239 * libc/stdio/cvt.c (licvt): new function to convert ints when
15240 sizeof(int) != sizeof(long).
15242 * libc/include/stdio.h: added prototype for iprintf.
15243 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
15245 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
15247 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
15248 __REGISTER_PREFIX__.
15250 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
15252 * libc/sys/m68kbare: moved into stub directory.
15254 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
15256 * configure.in, Makefile.in: created new directory stub, to hold
15257 sample code for specific targets.
15259 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
15261 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
15262 in the unified libc/include/sys/fcntl.h.
15264 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
15266 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
15267 printed .01, not 0.01.
15269 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
15271 * configure.in: compile with -m68000 for m68* targets.
15273 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
15275 * libm/math/remainder.c (remainder): document the svr4 and sunos
15276 references used to construct the function.
15278 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
15280 * libm/math/remainder.c (rint, remainder): fix old typos.
15281 * libm/math/Makefile.in: actually build remainder.c (functions
15282 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
15285 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
15287 * libc/string/bcopy.c: BSD version works on overlapping strings,
15288 so ours should too.
15290 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
15293 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
15295 * Makefile.in (docs): new target.
15297 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
15299 * libc/include/sys/times.h: define clock_t as required by POSIX.
15300 libc/include/time.h: protect clock_t from multiple definitions.
15302 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15304 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
15305 does not need more than the original three iterations to get
15306 within 1 ulp. (Paranoia tests for rounding to better than that,
15307 but further iterations *don't* help, only more subtle changes
15310 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
15312 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
15313 were doing nothing useful.
15315 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
15317 * configure.in: define MALLOC_PROVIDED for vxworks targets;
15318 removed sys_dir settings of vxworks68 and vxworks960.
15319 host/any: don't pass -nostdinc to gcc, since newlib no longer
15320 provides all required header files.
15322 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
15323 is not defined; this provides a hook for VxWorks.
15325 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15327 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
15328 buffer if buf is NULL, don't do it here -- it is already being
15329 done by makebuf elsewhere in stdio.
15331 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
15333 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
15334 that C programs can call functions without using initial
15337 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
15339 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
15341 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
15343 * configure.in: set TARGET_CFLAGS for certain CPU types to
15346 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15348 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
15350 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
15352 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
15353 m68k*-unknown-coff.
15355 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
15357 * libc/include/stdio.h: define __need___va_list before including
15358 <stdarg.h>, to avoid defining va_arg, et. al.
15360 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
15362 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
15363 (don't cd to the user's home directory).
15365 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
15366 In general this is the wrong thing to do, but I can't get around
15367 GNU make's insistence on passing command line arguments any other
15370 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
15372 * configure.in: always configure the libc/sys directory, since it
15373 now provides a required documentation file.
15375 * Makefile.in: replaced all instances of $(MAKE) with make. In
15376 general this is the wrong thing to do, but I can't get around GNU
15377 make's insistence on passing command line arguments any other way.
15379 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
15381 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
15384 * libc/stdio/local.h: include <stdarg.h> to define va_list.
15385 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
15387 * libc/include/float.h, libc/include/stdarg.h,
15388 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
15390 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
15391 <stdarg.h>, not from <machine/types.h>. Protect definition of
15393 libc/include/time.h: get size_t from stddef.h. Protect definition
15395 libc/include/machine/limits.h: override gcc <limits.h> by defining
15396 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
15397 get correct INT_MIN and LONG_LONG values.
15398 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
15399 size_t or va_list at all; they're now gotten from stddef.h
15401 libc/include/machine/varargs.h: removed; use gcc version instead.
15402 libc/include/sys/types.h: explicitly include <machine/types.h>.
15404 * libm/math/sqrt.h: using the fp-bit routines appears to require
15407 * Makefile.in, host/any: let system include files override machine
15410 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15412 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
15413 override _*_T_ definitions defaulted here.
15415 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
15417 * Makefile.in (install): install the include files in
15418 $(tooldir)/include, not $(exec_prefix)/include.
15420 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
15422 * Makefile.in (install): fixed typo, and changed install to not
15423 force rebuild of libc.a and libm.a.
15425 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
15427 * libc/sys/a29khif/*: Changed all .include's to include
15428 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
15429 that they will be installed for the user.
15431 * Makefile.in (all): create targ-include, a directory holding the
15432 machine and system specific header files during the build.
15433 (install): fixed installation of machine and system specific
15436 * Makefile.in: fixed comment.
15437 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
15438 we can pass $(INCLUDES) to it.
15440 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
15442 * libc/include/sys/param.h: new generic file, which may be
15443 overridden for specific systems.
15445 * libc/include/sys/signal.h: define all ANSI signal names, and
15446 NSIG (which is not ANSI) for a29k.
15448 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
15450 * Makefile.in: don't pass down arguments the lower level makes
15452 * libc/Makefile.in: recurse directly, rather than using subdir_do,
15453 in hopes of avoiding argument length limits.
15454 * libm/Makefile.in: recurse directly, rather using subdir_do, in
15455 hopes of avoiding argument length limits.
15457 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
15459 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
15462 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
15464 * Fixed make info and make install-info for newlib, changing most
15465 Makefile.in and several *.tex files. Moved doc directory from
15468 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
15469 Should be rewritten.
15471 * libc/string/strings.tex: renamed node index to node index
15472 function, so that it does not conflict with the top level index
15475 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
15477 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
15479 * Overhauled general configuration for newlib. Eliminated all
15480 target dependent Makefile fragments. Create libraries in newlib
15481 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
15482 than CROSS_CC, et. al. Broke make docs; will fix later.
15484 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
15485 Should be rewritten.
15487 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
15489 * libc/configure.in: cleaned up somewhat; switch on ${target}
15490 rather than ${target_alias}.
15491 * libm/configure.in: cleaned up somewhat; switch on ${target}
15492 rather than ${target_alias}.
15494 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
15495 * libc/include/ctype.h: marked _ctype_ as _CONST.
15497 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
15500 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
15501 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
15502 libc/stdio/gets.c (gets): removed non-ANSI warning message.
15503 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
15505 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
15506 bigtens, tinytens): marked arrays _CONST.
15507 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
15508 rather than a static variable.
15510 * libc/time/asctime.c (asctime), libc/time/localtime.c
15511 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
15512 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
15513 mname_len, mname): Marked static arrays _CONST.
15515 * libm/math/gamma.h: made local variables non-static.
15517 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
15518 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
15521 * libm/math/constants.c: removed file, because the constants it
15522 defined were never referenced.
15523 libm/math/Makefile.in: removed references to constants.c.
15524 libm/math/mathimpl.h: removed declarations of constants.
15526 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
15528 * libc/include/machine/varargs.h: only call __builtin_saveregs if
15529 it is sensibly defined in libgcc2. Checks preprocessor defines,
15530 which is not a good solution.
15532 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
15534 * libm/frexp.c: handle denormalized numbers as arguments.
15536 * libm/math/Makefile.in: added some dependencies for .c files
15537 which include local .h files.
15539 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
15541 * libc/configure.in: set target_alias for OSE*. Replace
15542 target_makefile_frag if it is blank.
15544 * libc/Makefile.in: make sure everything is passed to subsidiary
15545 makes; create all directories when installing.
15547 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
15548 CROSS_ARUPDATE instead of AR.
15550 * libm/configure.in: set target_alias for OSE*. Replace
15551 target_makefile_frag if it is blank.
15553 * libm/Makefile.in: make sure everything is passed to subsidiary
15554 makes; create all directories when installing.
15556 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
15558 * add following change from libc copy.
15560 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15562 * libc/libc.texinfo: make copyright disclaimers appear on back of
15563 title page; make format of same slightly less ugly; avoid using
15564 underbars in section headings (avoids nasty texinfo bug in table
15567 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
15568 comments only) avoid using underbars in section headings
15570 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15571 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
15572 changes in comments only): shorten headings ieeefp/infinity.c,
15573 ieeefp/isnan.c: (doc, comments only) more informative headings
15575 * libc/math/bessel.c: (doc, comments only) shorten heading
15577 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
15578 (doc, comments only) shorten headings
15580 * libc/time/localtime.c (doc, comments only): shorten headings
15582 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
15584 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
15585 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
15587 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
15588 only) more informative headings
15589 * libm/math/bessel.c: (doc, comments only) shorten heading
15591 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
15593 * .../Makefile.in: use CROSS_ARUPDATE consistently.
15594 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
15595 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
15596 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
15597 defined, the one from the .mt file will be correct.
15598 * libc/include/machine, libc/include/sys: created, and populated
15599 with common files from machine/*/machine. ifdefs were used for
15600 most, typically by handling exceptions first and then filling in
15601 defaults. Files with D.J. Delorie copyright #included rather than
15602 copied. Most files in include/sys really were the same in the
15604 * libc/include/...: cleaned up use of _EXFUN.
15605 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
15606 it with double quotes, not angles.
15608 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
15610 * libc/Makefile.in: always create installation directories.
15612 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
15614 * libc/configure.in: handle host properly (using canonical
15615 triples), better error message for the case of target not found
15617 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
15619 * libc/Makefile.in (insincdir): Ensure this directory exists
15620 before attempting installation.
15622 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15624 * libc/stdlib/assert.c: now calls abort like it should
15625 * libc/sys/a29khif: many many patches for 29khif work
15626 * libc/machine/i386: gnulib2 expanded there.
15628 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15630 Added accurate fp conversion routines to stdlib, moved dcvt from
15631 stdio to stdlib and called it ecvtbuf:
15632 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
15633 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
15635 * libc/libc.texinfo: Modifed to include the copyright info from
15637 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
15638 * libc/test/ : many vector which tested for the implementation
15639 defined returns of strange conversion requests have been updated
15640 to relflect the new implementation
15642 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15644 * libc/libc.texinfo: new chapter on variable arg lists
15645 (stdarg.h/varargs.h)
15646 * libc/libc.texinfo: new title
15647 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
15648 (doc only) shorter headings for better formatting.
15650 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15652 * libc/libc.texinfo: three more info menu entries
15653 * libc/locale/locale.tex: new chapter
15654 * libc/locale/locale.c: new doc for setlocale, localeconv
15655 * libc/locale/Makefile.in: use new locale doc
15656 * libc/signal/signal.tex: new chapter
15657 * libc/signal/raise.c, libc/signal/signal.c: new doc
15658 * libc/signal/Makefile.in: use new doc
15659 * libc/time/time.tex: new chapter
15660 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
15661 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
15662 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
15663 * libc/time/Makefile.in: use new doc
15665 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15667 * libm/math/log1p.c: split to use the new function way of float
15668 function definition. math/log1p.h deleted
15669 * libm/math/scalb.c: obsolete and deleted
15670 * libm/math/scalbn.c: created from part log1p.c
15671 * libm/math/Makefile.in: know about log1p and scalbn
15673 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15675 * libc/ctype/isupper.c: revise doc;
15676 libc/ctype/ctype.tex: use doc from isupper.c
15678 * libc/string/bzero.c: new doc
15680 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
15682 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
15684 * libc/stdlib/Makefile.in: extract new doc
15685 * libc/stdlib/stdlib.tex: use new doc
15687 * libc/string/strerror.c: expanded doc.
15689 * libc/stdio/Makefile.in: extract doc from more files
15690 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
15691 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
15692 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
15693 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
15694 libc/stdio/vsprintf.c: new doc
15695 * libc/stdio/stdio.tex: use new doc
15697 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15699 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
15700 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
15702 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
15705 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
15706 * libc/stdio/setbuf.c: added ansi style definition.
15707 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
15708 buffer if none provided.
15709 * libc/stdio/tmpfile.c: lint
15710 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
15711 rather than using static, also make sure file isn't already
15712 present. Uses P_tmpdir. (tempnam): rewritten to use new
15713 subroutine, and uses P_tmpdir.
15714 * libc/stdio/siprintf.c: created
15716 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
15718 Release 1.03 for NEC, major mods. Main differences from release
15721 More tests in test/:
15722 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
15723 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
15724 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
15725 get/set mask, get/set sticky and get/set roundtoi. Tests
15726 that setting the bits changes the way arithmetic is done.
15727 * string.c: added test to make sure memcmp does it with unsigned
15729 * test.c: cleaned up and removed lint.
15730 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
15731 dvec.c: tests for string to value conversions, sprintf, scanf,
15732 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
15733 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
15734 rounding in sprintf too.
15735 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
15736 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
15737 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
15739 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
15743 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
15744 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
15745 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
15746 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
15747 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
15749 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
15750 * Method of producting float versions of double functions has
15751 changed, functions will be modified gradually. So far:
15752 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
15753 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
15755 * libc/string/memcmp.c: now uses unsigned chars
15756 * libc/string/bcmp.c, libc/string/strcpy.c,
15757 libc/stsring/strxfrm.c: fixed doc
15758 * libc/sys/sysvnecv70.tex: fix example of sbrk code
15761 version-control: never