1 2009-09-27 Corinna Vinschen <corinna@vinschen.de>
3 * libc/locale/locale.c (lc_ctype_charset): Set to "UTF-8" on Cygwin.
4 (lc_message_charset): Ditto.
5 (loadlocale): Set charset of the "C" locale to "UTF-8" on Cygwin.
6 * libc/stdlib/mbtowc_r.c (__mbtowc): Default to __utf8_mbtowc on
8 * libc/stdlib/wctomb_r.c (__wctomb): Default to __utf8_wctomb on
11 2009-09-26 Eric Blake <ebb9@byu.net>
13 * libc/include/sys/unistd.h (execvpe, fexecve) [__CYGWIN__]:
16 2009-09-24 Eric Blake <ebb9@byu.net>
18 * libc/include/sys/unistd.h (eaccess, euidaccess) [__CYGWIN__]:
21 2009-09-23 Corinna Vinschen <corinna@vinschen.de>
23 * libc/locale/locale.c: Drop Cygwin-specific windows.h include.
24 (loadlocale): Call __set_charset_from_codepage with 0 codepage.
26 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
28 * libc/include/stdlib.h: Add posix_memalign.
30 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
32 * configure.host (*-rtems*): Remove -DMISSING_SYSCALL_NAMES.
33 Add -DHAVE_BLKSIZE, -D_NO_WORDEXP -D_NO_POPEN.
35 2009-09-22 Ralf Corsépius <ralf.corsepius@rtems.org>
37 * configure.host (m32c): Move setting -DABORT_PROVIDED to second
40 2009-09-18 Christopher Faylor <me+cygwin@cgf.cx>
42 * libc/include/sys/unistd.h: Declare getpagesize as returning
44 * libc/sys/linux/sys/unistd.h: Ditto.
46 2009-08-31 Takaki Makino <t@snowelm.com>
48 * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
50 * libm/maachine/i386/f_powf.c(_f_powf): Ditto.
52 2009-08-25 Andy Koppe <andy.koppe@gmail.com>
54 * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
56 * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
58 * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.
60 2009-08-24 Corinna Vinschen <corinna@vinschen.de>
62 * libc/locale/locale.c: Update documentation.
63 (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.
65 2009-08-24 Andy Koppe <andy.koppe@gmail.com>
67 * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
68 and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
69 * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.
71 2009-08-24 Andy Koppe <andy.koppe@gmail.com>
73 * libc/ctype/iswspace.c (iswspace): Include "non-breaking
75 * libc/ctype/iswblank.c (iswblank): Likewise.
77 2009-08-21 Corinna Vinschen <corinna@vinschen.de>
79 * libc/locale/locale.c (loadlocale): Throughout check charset string
80 case insensitive and store internal charset string uppercased. Allow
81 "UTF8" additionally to "UTF-8". Add this change to documentation.
83 2009-08-21 Eric Blake <ebb9@byu.net>
85 * libc/include/iconv.h (iconv): Match POSIX prototype.
86 * libc/iconv/lib/iconv.c (iconv): Likewise.
88 2009-08-21 Craig Howland <howland@LGSInnovations.com>
90 * libm/common/s_remquo.c (remquo): Fix sign of quotient when |x|==|y|.
91 * libc/stdio/mktemp.c: Add #include <stdlib.h> for function prototypes.
93 2009-08-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
95 * iconvdata/Makefile.am (all): Remove.
96 * libc/sys/a29khif/Makefile.am (all-am): Rename from ...
98 * libc/sys/arc/Makefile.am: Likewise.
99 * libc/sys/arm/Makefile.am: Likewise.
100 * libc/sys/d10v/Makefile.am: Likewise.
101 * libc/sys/decstation/Makefile.am: Likewise.
102 * libc/sys/h8300hms/Makefile.am: Likewise.
103 * libc/sys/h8500hms/Makefile.am: Likewise.
104 * libc/sys/linux/Makefile.am: Likewise.
105 * libc/sys/linux/machine/i386/Makefile.am: Likewise.
106 * libc/sys/m88kbug/Makefile.am: Likewise.
107 * libc/sys/mmixware/Makefile.am: Likewise.
108 * libc/sys/netware/Makefile.am: Likewise.
109 * libc/sys/rdos/Makefile.am: Likewise.
110 * libc/sys/rtems/Makefile.am: Likewise.
111 * libc/sys/sh/Makefile.am: Likewise.
112 * libc/sys/sparc64/Makefile.am: Likewise.
113 * libc/sys/sun4/Makefile.am: Likewise.
114 * libc/sys/sysmec/Makefile.am: Likewise.
115 * libc/sys/sysnec810/Makefile.am: Likewise.
116 * libc/sys/sysnecv850/Makefile.am: Likewise.
117 * libc/sys/sysvi386/Makefile.am: Likewise.
118 * libc/sys/sysvnecv70/Makefile.am: Likewise.
119 * libc/sys/tic80/Makefile.am: Likewise.
120 * libc/sys/w65/Makefile.am: Likewise.
121 * libc/sys/z8ksim/Makefile.am: Likewise.
122 * iconvdata/Makefile.in: Regenerate.
123 * libc/sys/a29khif/Makefile.in: Likewise.
124 * libc/sys/arc/Makefile.in: Likewise.
125 * libc/sys/arm/Makefile.in: Likewise.
126 * libc/sys/d10v/Makefile.in: Likewise.
127 * libc/sys/decstation/Makefile.in: Likewise.
128 * libc/sys/h8300hms/Makefile.in: Likewise.
129 * libc/sys/h8500hms/Makefile.in: Likewise.
130 * libc/sys/linux/Makefile.in: Likewise.
131 * libc/sys/linux/machine/i386/Makefile.in: Likewise.
132 * libc/sys/m88kbug/Makefile.in: Likewise.
133 * libc/sys/mmixware/Makefile.in: Likewise.
134 * libc/sys/netware/Makefile.in: Likewise.
135 * libc/sys/rdos/Makefile.in: Likewise.
136 * libc/sys/rtems/Makefile.in: Likewise.
137 * libc/sys/sh/Makefile.in: Likewise.
138 * libc/sys/sparc64/Makefile.in: Likewise.
139 * libc/sys/sun4/Makefile.in: Likewise.
140 * libc/sys/sysmec/Makefile.in: Likewise.
141 * libc/sys/sysnec810/Makefile.in: Likewise.
142 * libc/sys/sysnecv850/Makefile.in: Likewise.
143 * libc/sys/sysvi386/Makefile.in: Likewise.
144 * libc/sys/sysvnecv70/Makefile.in: Likewise.
145 * libc/sys/tic80/Makefile.in: Likewise.
146 * libc/sys/w65/Makefile.in: Likewise.
147 * libc/sys/z8ksim/Makefile.in: Likewise.
149 * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
150 from newlib_ldbl_eq_dbl.
151 * configure: Regenerate.
153 2009-08-19 Eric Blake <ebb9@byu.net>
155 * libc/Makefile.am (SUBDEFS): Correctly build popen docs.
156 * libc/libc.texinfo (Top): Add posix node to menu.
158 2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
160 * newlib.hin: Add comment regarding file being manually edited.
161 * Makefile.am: Add no-op rule for newlib.hin.
162 * Makefile.in: Regenerated.
164 2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
166 * acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.
168 2009-08-18 Eric Blake <ebb9@byu.net>
170 * libc/posix/popen.c (popen): Fix documented prototype.
172 Improve popen compatibility with glibc.
173 * libc/posix/popen.c (popen): The 2006-08-22 change to use
174 FD_CLOEXEC disagrees with other implementations; instead, use
175 pidlist to work even when fcntl is not available. Meanwhile,
176 support the 'e' modifier to set CLOEXEC, as in glibc. Drop
177 cygwin-specific code, now that cygwin has its own version.
178 * libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
179 * libc/posix/posix.tex: New file.
181 2009-08-17 Craig Howland <howland@LGSInnovations.com>
183 * libc/string/wcsncpy.c (wcsncpy): Re-write function based on small
184 version of strncpy() (fixing two bugs).
186 2009-08-13 Corinna Vinschen <corinna@vinschen.de>
188 * libc/stdio/mktemp.c (mkdtemp): Fix typo in function name.
190 2009-08-12 Jeff Johnston <jjohnstn@redhat.com>
192 * libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
193 HAVE_MKDIR is defined.
195 2009-08-12 Hans-Peter Nilsson <hp@axis.com>
197 * libc/include/reent.h: Add prototype and definition of _mkdir_r.
198 * libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c.
199 (CHEWOUT_FILES): Add mkdirr.def.
200 * libc/reent/Makefile.in: Regenerate.
201 * libc/reent/mkdirr.c: New file.
203 2009-08-10 Jeff Johnston <jjohnstn@redhat.com>
205 * libc/stdlib/wcstombs.c: Change documentation to specify size_t
206 return type instead of int.
208 2009-07-29 Jeff Johnston <jjohnstn@redhat.com>
210 * libc/stdlib/a64l.c: Fix to use 'a' instead of 'A' in calculation
211 when a lower-case character is detected.
213 2009-07-29 Corinna Vinschen <corinna@vinschen.de>
215 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Rework UTF-16 surrogate
216 pair handling to be more bullet-proof even with incomplete UTF-8
217 sequences. Add check for 4 byte sequences resulting in values
218 outside the valid Unicode range. Add a comment to clarify checking
219 for invalid CESU-8 sequences.
221 2009-07-28 Corinna Vinschen <corinna@vinschen.de>
223 * libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Fix incrementing n in case
224 of handling incomplete sequences.
226 2009-07-22 Eric Blake <ebb9@byu.net>
228 Avoid a fault from locking a closed standard file.
229 * libc/stdio/fflush.c (_fflush_r): Give up early if stream has
230 been previously closed.
232 2009-07-09 Craig Howland <howland@LGSInnovations.com>
234 * libm/math/ef_scalb.c: Replace isnanf() (pre-C99 function call) with
236 * libm/math/wf_log.c: Ditto.
237 * libm/math/wf_j0.c: Ditto.
238 * libm/math/wf_sqrt.c: Ditto.
239 * libm/math/wf_pow.c: Ditto.
240 * libm/math/wf_fmod.c: Ditto.
241 * libm/math/wf_remainder.c: Ditto.
242 * libm/math/wf_scalb.c: Ditto.
243 * libm/math/wf_atanh.c: Ditto.
244 * libm/math/wf_cosh.c: Ditto.
245 * libm/math/wf_acos.c: Ditto.
246 * libm/math/wf_acosh.c: Ditto.
247 * libm/math/wf_jn.c: Ditto.
248 * libm/math/wf_log10.c: Ditto.
249 * libm/math/wf_asin.c: Ditto.
250 * libm/math/wf_j1.c: Ditto.
251 * libm/common/sf_isnan.c: Add #include <ieeefp.h>, fix comment.
252 * libm/common/sf_isinf.c: Add #include <ieeefp.h>, adjust comment to
253 match that from s_isinf.c.
254 * libc/include/machine/ieeefp.h: Simplify isinf and isnan macros to
255 remove un-necessary extension use (in a similar manner to as was
256 recently done in math.h).
257 * libc/include/math.h: Remove isnanf and isinff prototypes (are in
259 * libm/machine/spu/sf_isinf.c: Fix comment (remove <math.h>).
261 2009-07-06 Joel Sherrill <joel.sherrill@oarcorp.com>
263 * libc/include/sys/features.h: Enable UNIX98 mutex attributes
266 2009-07-03 Eric Blake <ebb9@byu.net>
268 Add mkdtemp, mkstemps.
269 * libc/stdio/mktemp.c: Fix documentation.
270 (_gettemp): Add domkdir and length parameters. Check for
271 insufficient 'X' suffix. Drop cygwin-specific code.
272 (_mkstemp_r, _mktemp_r, mkstemp, mktemp): Adjust clients.
273 (_mkdtemp_r, _mkstemps_r, mkdtemp, mkstemps): New functions.
274 * libc/include/stdlib.h (_mkdtemp_r, _mkstemps_r, mkdtemp)
275 (mkstemps): Declare them.
278 * libc/stdio/fpurge.c (fpurge, _fpurge_r): New file.
279 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES, fpurge):
281 * libc/stdio/Makefile.in: Regenerated.
282 * libc/include/stdio.h (fpurge, _fpurge_r): New declarations.
283 * libc/stdio/stdio.tex: Build documentation.
285 2009-06-23 Jeff Johnston <jjohnstn@redhat.com>
287 * Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and
288 sf_fpclassify as these are now used for infinity testing.
289 * Makefile.in: Regenerated.
291 2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
293 * libc/sys/rtems/machine/param.h: Change ALIGNBYTES
294 so it can point to an aligned structure or double.
296 2009-06-18 Corinna Vinschen <corinna@vinschen.de>
298 * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"
299 modifier on _MB_CAPABLE targets. Add comment to explain. Improve
302 2009-06-17 Michael Eager <eager@eagercon.com>
304 * libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to
305 PTHREAD_MUTEX_NORMAL.
306 * libc/include/sys/features.h: Same.
307 * libc/include/sys/types.h: Same.
309 2009-06-16 Corinna Vinschen <corinna@vinschen.de>
311 * libc/include/locale.h (struct lconv): Add missing members required
313 * libc/locale/locale.c (lconv): Initialize new members to default
314 values in "C" locale.
316 2009-06-16 Corinna Vinschen <corinna@vinschen.de>
318 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length of
319 radix char instead of assuming length 1.
320 * libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE.
321 (gethex): Allow multibyte decimal point.
322 Fix compiler warnings due to different signedness of pointer types.
323 * libc/stdlib/strtod.c: Remove use of USE_LOCALE.
324 (_strtod_r): Allow multibyte decimal point.
325 * libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char
326 endptr position if the decimal point is a multibyte char.
328 2009-06-16 Craig Howland <howland@LGSInnovations.com>
330 * libc/ctype/local.h (__locale_charset): Add arguments to
332 * libc/stdlib/local.h (__locale_charset): Ditto.
334 2009-06-16 Craig Howland <howland@LGSInnovations.com>
336 * libc/include/math.h: Simplify fpclassify, isinf, isnan, and signbit
337 macros to remove un-necessary extension use. isinf and isnan also
338 changed to use fpclassify. isfinite macro modified to run faster by
339 only calling fpclassify once instead of possibly twice.
341 2009-06-09 Corinna Vinschen <corinna@vinschen.de>
343 * libc/ctype/tolower.c (tolower): Cast conversion result from
344 mbtowc/wctomb to unsigned char to avoid negative return values.
345 * libc/ctype/toupper.c (toupper): Ditto.
347 2009-06-03 IWAMURO Motonori <deenheart@gmail.com>
349 * libc/string/wcwidth.c: Optimize for speed.
351 2009-06-03 Corinna Vinschen <corinna@vinschen.de>
353 * libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
354 (loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
355 to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
356 (__locale_cjk_lang): New function.
357 * libc/string/local.h (__locale_cjk_lang): Declare.
358 * libc/string/wcwidth.c: Fix comments.
359 (__wcwidth): Handle CJK Ambiguous Width characters according
360 to setting returned by __locale_cjk_lang.
362 2009-06-02 Richard Earnshaw <rearnsha@arm.com>
364 * libc/include/sys/config.h: Remove specification of _REENT_SMALL for
367 2009-06-02 IWAMURO Motonori <deenheart@gmail.com>
369 * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
370 (__jp2uc): Change the scope to static function.
371 * libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
372 * libc/string/local.h (_jp2uc): Include ../ctype/local.h.
374 2009-05-27 Neal H. Walfield <neal@gnu.org>
376 * libc/include/machine/setjmp.h (sigjmp_buf): Size according to
377 _JBTYPE and the size of sigset_t.
379 2009-05-15 Craig Howland <howland@LGSInnovations.com>
381 * configure.in: Add configuration test for long double type existing
382 and set flag _HAVE_LONG_DOUBLE if true. Fix INIT_ARRAY (.init_array)
383 and _LDBL_EQ_DBL tests to not link so that will work with
385 * configure: Regenerated.
386 * Makefile.in: Ditto.
387 * newlib.hin: Add _HAVE_LONG_DOUBLE flag.
388 * libc/include/math.h: Change non-builtin defines for HUGE_VAL,
389 HUGE_VALF, and HUGE_VALL to be constant expressions. Add definitions
390 for the non-builtin case for INFINITY and NAN. Gate HUGE_VALL and
391 union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
392 *libm/common/s_infconst.c: Change definitions to use values from
393 float.h instead of non-so-portable integer forms. Mark as being
394 deprecated (because now removed from math.h, are not used anywhere
397 2009-05-15 Corinna Vinschen <corinna@vinschen.de>
399 * libc/string/local.h: New file.
400 * libc/string/wcswidth.c (wcswidth): Convert japanese wide
401 characters to Unicode here. Handle surrogate pairs for UTF-16
402 systems. Call __wcwidth rather than wcwidth.
403 * libc/string/wcwidth.c: New implementation using Markus Kuhn's
404 wcwidth implementation for Unicode.
405 (bisearch): New static function.
406 (__wcwidth): New function. Take wint_t rather than wchar_t as
407 parameter to allow full Unicode handling on UTF-16 systems.
408 Move old wcwidth implementation here for non-multibyte aware
410 (wcwidth): Convert japanese wide characters to Unicode here.
411 Call __wcwidth rather than using iswprint/iswcntrl.
413 2009-05-14 Corinna Vinschen <corinna@vinschen.de>
415 * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
417 (__jp2uc): Remove declaration.
419 * libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
420 (__jp2uc): Remove Cygwin special case.
421 (_jp2uc): New function. On Cygwin, just return c.
422 * libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
423 * libc/ctype/iswblank.c (iswblank): Ditto.
424 * libc/ctype/iswcntrl.c (iswcntrl): Ditto.
425 * libc/ctype/iswprint.c (iswprint): Ditto.
426 * libc/ctype/iswpunct.c (iswpunt): Ditto.
427 * libc/ctype/iswspace.c (iswspace): Ditto.
428 * libc/ctype/towlower.c (towlower): Ditto.
429 * libc/ctype/towupper.c (towupper): Ditto.
431 2009-05-13 Paul Brook <paul@codesourcery.com>
433 * libc/machine/arm/setjmp.S: Don't bother saving IP. Copy SP to
434 IP before saving. Likewise when restoring.
436 2009-05-13 Paul Brook <paul@codesourcery.com>
438 * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.
440 2009-05-13 Corinna Vinschen <corinna@vinschen.de>
442 * libc/locale/locale.c (setlocale): Don't build on Cygwin.
444 2009-05-11 Craig Howland <howland@LGSInnovations.com>
446 * libm/machine/i386/f_llrint.c: Remove llrint() definition.
447 * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.
449 2009-05-08 Nick Clifton <nickc@redhat.com>
451 * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
452 the write-after-approval list.
454 2009-04-30 Anthony Green <green@moxielogic.com>
456 * MAINTAINERS: Add myself as moxie maintainer and to the
457 write-after-approval list.
459 2009-04-30 Eric Blake <ebb9@byu.net>
461 Allow gcc warning for toupper even with extended charsets.
462 * libc/include/ctype.h (toupper, tolower)
463 [_MB_EXTENDED_CHARSETS_ISO]: Allow gcc warning when called with
464 'char' even when we must call the function for correct behavior.
465 [!_MB_EXTENDED_CHARSETS_ISO]: Fix regression in result type.
467 2009-04-24 Jeff johnston <jjohnstn@redhat.com>
469 * libc/stdio/fgetc.c: Make sure sfp lock is acquired before the
470 file lock and released before the file lock to avoid a deadlock
472 * libc/stdio/fgets.c: Ditto.
473 * libc/stdio/fgetwc.c: Ditto.
474 * libc/stdio/fgetws.c: Ditto.
475 * libc/stdio/fread.c: Ditto.
476 * libc/stdio/fseek.c: Ditto.
477 * libc/stdio/getc.c: Ditto.
478 * libc/stdio/getdelim.c: Ditto.
479 * libc/stdio/gets.c: Ditto.
481 2009-04-24 Jeff johnston <jjohnstn@redhat.com>
483 * configure.in: Add configuration test for long double equals dbl
484 and set flag _LDBL_EQ_DBL if true.
485 * configure: Regenerated.
486 * newlib.hin: Add _LDBL_EQ_DBL flag.
487 * libc/include/math.h: Use _LDBL_EQ_DBL flag instead of
489 * libc/include/stdlib.h: Use _LDBL_EQ_DBL flag instead of
491 * libc/common/local.h: Remove _LDBL_EQ_DBL flag setting.
492 * libc/stdlib/local.h: Ditto.
494 2009-04-24 Joseph Myers <joseph@codesourcery.com>
496 * libc/include/stdint.h (UINTPTR_MAX): Define to __UINTPTR_MAX__
497 if __UINTPTR_MAX__ defined.
499 2009-04-24 Eric Blake <ebb9@byu.net>
501 Be namespace clean in ctype.h.
502 * libc/include/ctype.h (_tolower, _toupper, isalpha, isupper)
503 (islower, isdigit, isxdigit, isspace, ispunct, isalnum)
504 (isprint, isgraph, iscntrl, isblank, toupper, tolower)
505 (isascii, toascii): Don't use 'c' as macro parameter name.
507 Trigger gcc warning if isFoo macros are called with plain char.
508 * libc/include/ctype.h (isalpha, isupper, islower, isdigit)
509 (isxdigit, isspace, ispunct, isalnum, isprint, isgraph)
510 (iscntrl, isblank, toupper, tolower): Rewrite to let 'gcc -Wall'
511 warn when user calls macro with a char argument.
513 2009-04-23 Mike Burgess <wizardsguild@earthlink.net>
515 * libc/string/strcasecmp.c: Optimized rewrite.
516 * libc/string/strncasecmp.c: Fix description.
517 * libc/string/strlwr.c: Avoid passing signed char to tolower.
518 * libc/string/strupr.c: Avoid passing signed char to tolower.
520 2009-04-23 Paul Brook <paul@codesourcery.com>
521 Kazu Hirata <kazu@codesourcery.com>
523 * libc/stdlib/__atexit.c (__register_exitproc): Use weak reference
524 to malloc. Allocate dynamically only if it is present.
525 * libc/stdlib/__call_atexit.c (__call_exitprocs): Use weak
526 reference to free. Call free only if it is present.
528 2009-04-22 Anthony Green <green@moxielogic.com>
530 * configure.host: Add moxie support.
531 * libc/machine/configure.in: Add moxie support.
532 * libc/machine/configure: Rebuilt.
533 * libc/machine/moxie/aclocal.m4: New file.
534 * libc/machine/moxie/configure: New file.
535 * libc/machine/moxie/configure.in: New file.
536 * libc/machine/moxie/Makefile.am: New file.
537 * libc/machine/moxie/Makefile.in: New file.
538 * libc/machine/moxie/setjmp.S: New file.
539 * libc/include/machine/setjmp.h (_JBLEN): Define for moxie.
540 * libc/include/machine/ieeefp.h: Add moxie support.
542 2009-04-22 Kazu Hirata <kazu@codesourcery.com>
544 * libc/stdio/local.h (__chclass, __state_table, __action_table):
545 Add extern to the declarations.
546 * libc/stdlib/local.h (__iso_8859_conv, __cp_conv): Likewise.
548 2009-04-21 Corinna Vinschen <corinna@vinschen.de>
550 * libc/ctype/ctype_.c (_CTYPE_DATA_128_255): Rename from
552 * libc/ctype/ctype_cp.h: Split off all character class values for
553 character 255 from the rest of the definitions.
554 (__ctype_cp): Use the new definitions. Make sure that the table
555 always contains 0 for EOF (-1).
556 * libc/ctype/ctype_iso.h: Ditto.
558 2009-04-21 Sandra Loosemore <sandra@codesourcery.com>
560 * libc/reent/impure.c (__sf_fake_stdin, __sf_fake_stdout)
561 (__sf_fake_stderr): Declare locally with weak attribute.
563 2009-04-21 Mark Mitchell <mark@codesourcery.com>
565 * libc/include/_ansi.h: Move C++ defines to top of file.
566 (_NOTHROW): New macro.
567 (_EXFUN_NOTHROW): Likewise.
568 * libc/include/stdlib.h (calloc): Declare with _EXFUN_NOTHROW.
572 (_malloc_r): Likewise.
573 (_callor_r): Likewise.
575 (_realloc_r): Likewise.
577 2009-04-20 Jeff johnston <jjohnstn@redhat.com>
579 * libc/include/math.h: Change _LDBL_EQ_DBL flag usage to
581 * libc/include/stdlib.h: Change _LDBL_EQ_DBL flag usage to
582 be _HAVE_LDBL_STDLIB.
584 2009-04-17 Jeff johnston <jjohnstn@redhat.com>
586 * libc/include/machine/ieeefp.h (_LDBL_EQ_DBL): Remove.
587 * libc/stdlib/local.h (_LDBL_EQ_DBL): Add.
588 * libc/stdlib/strtold.c: Include local.h.
589 * libc/stdlib/wcstold.c: Likewise.
590 * libm/common/atanl.c: Likewise.
591 * libm/common/cosl.c: Likewise.
592 * libm/common/sinl.c: Likewise.
593 * libm/common/modfl.c: Likewise.
594 * libm/common/frexpl.c: Likewise.
595 * libm/common/tanhl.c: Likewise.
596 * libm/common/tanl.c: Likewise.
597 * libm/common/expm1l.c: Likewise.
598 * libm/common/log1pl.c: Likewise.
599 * libm/common/ceill.c: Likewise.
600 * libm/common/fabsl.c: Likewise.
601 * libm/common/floorl.c: Likewise.
602 * libm/common/acosl.c: Likewise.
603 * libm/common/asinl.c: Likewise.
604 * libm/common/atan2l.c: Likewise.
605 * libm/common/coshl.c: Likewise.
606 * libm/common/expl.c: Likewise.
607 * libm/common/fmodl.c: Likewise.
608 * libm/common/hypotl.c: Likewise.
609 * libm/common/ldexpl.c: Likewise.
610 * libm/common/log10l.c: Likewise.
611 * libm/common/logl.c: Likewise.
612 * libm/common/powl.c: Likewise.
613 * libm/common/sqrtl.c: Likewise.
614 * libm/common/copysignl.c: Likewise.
615 * libm/common/ilogbl.c: Likewise.
616 * libm/common/nanl.c: Likewise.
617 * libm/common/cbrtl.c: Likewise.
618 * libm/common/asinhl.c: Likewise.
619 * libm/common/nextafterl.c: Likewise.
620 * libm/common/rintl.c: Likewise.
621 * libm/common/scalbnl.c: Likewise.
622 * libm/common/exp2l.c: Likewise.
623 * libm/common/fdiml.c: Likewise.
624 * libm/common/fmal.c: Likewise.
625 * libm/common/fmaxl.c: Likewise.
626 * libm/common/fminl.c: Likewise.
627 * libm/common/lrintl.c: Likewise.
628 * libm/common/lroundl.c: Likewise.
629 * libm/common/nearbyintl.c: Likewise.
630 * libm/common/remquol.c: Likewise.
631 * libm/common/roundl.c: Likewise.
632 * libm/common/scalblnl.c: Likewise.
633 * libm/common/truncl.c: Likewise.
634 * libm/common/acoshl.c: Likewise.
635 * libm/common/atanhl.c: Likewise.
636 * libm/common/erfcl.c: Likewise.
637 * libm/common/erfl.c: Likewise.
638 * libm/common/lgammal.c: Likewise.
639 * libm/common/remainderl.c: Likewise.
640 * libm/common/tgammal.c: Likewise.
641 * libm/common/sinhl.c: Likewise.
642 * libm/common/llroundl.c: Likewise.
643 * libm/common/llrintl.c: Likewise.
644 * libm/common/local.h: New file with _LDBL_EQ_DBL macro.
646 2009-04-17 Ken Werner <ken.werner@de.ibm.com>
648 * libc/include/machine/ieeefp.h: _LDBL_EQ_DBL check fixed.
649 * libc/include/math.h (llrintl): Declare.
650 * libm/common/llrintl.c: New File.
651 * libm/common/Makefile.am: New File added.
652 * libm/common/Makefile.in: Regenerate.
654 2009-04-17 Ken Werner <ken.werner@de.ibm.com>
656 * libc/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
657 avoid executable test.
658 * libc/configure: Regenerate.
660 2009-04-17 Jeff johnston <jjohnstn@redhat.com>
662 * configure.in: Remove _HAVE_ARRAY_ALIASING check.
663 * configure: Regenerated.
664 * Makefile.in: Regenerated.
665 * newlib.hin: Remove _HAVE_ARRAY_ALIASING flag.
666 * libc/ctype/ctype_.c: Do not check for _HAVE_ARRAY_ALIASING.
667 * libm/configure.in: Change AC_TRY_COMPILE to AC_TRY_COMMAND to
668 avoid executable test.
669 * libm/configure: Regenerated.
671 2009-04-16 Jeff johnston <jjohnstn@redhat.com>
673 * libc/misc/init.c (__libc_fini_array): Process fini_array in
674 reverse order as compliant with the ELF specification.
676 2009-04-16 Ken Werner <ken.werner@de.ibm.com>
678 * libc/machine/spu/Makefile.am: Add new File.
679 * libc/machine/spu/Makefile.in: Regenerate.
680 * libc/machine/spu/fdopen.c: New file.
682 2009-04-16 Hans-Peter Nilsson <hp@axis.com>
684 * libc/include/stdint.h (INTPTR_MIN, INTPTR_MAX, UINTPTR_MAX): Define.
686 2009-04-16 Ken Werner <ken.werner@de.ibm.com>
688 * libm/libm.texinfo: Add long double function support chapter.
689 * libc/include/machine/ieeefp.h: Add _LDBL_EQ_DBL define.
690 * libc/include/stdlib.h: Include <machine/ieeefp.h>.
691 (strtold, wcstold): Declare.
692 * libc/stdlib/strtold.c: New File.
693 * libc/stdlib/wcstold.c: Likewise.
694 * libc/configure.in: Add long double check.
695 * libc/configure: Regenerate.
696 * libc/stdlib/Makefile.am: Add strtold.c and wcstold.c.
697 * libc/stdlib/Makefile.in: Regenerate.
698 * libc/include/math.h (atanl, cosl, sinl, tanl, tanhl): Declare.
699 (frexpl, modfl, ceill, fabsl, floorl, log1pl, expm1l, acosl): Ditto.
700 (asinl, atan2l, coshl, sinhl, expl, ldexpl, logl, log10l, powl): Ditto.
701 (sqrtl, fmodl, hypotl, copysignl, nanl, ilogbl, asinhl, cbrt): Ditto.
702 (nextafterl, rintl, scalbnl, exp2l, scalblnl, tgammal): Ditto.
703 (nearbyintl, lrintl, llrintl, roundl, lroundl, llround): Ditto.
704 (llroundl, truncl, remquol, fdiml, fmaxl, fminl, fmal, acoshl): Ditto.
705 (atanhl, remainderl, lgammal, erfl, erfcl): Ditto.
706 * libm/common/atanl.c: New File.
707 * libm/common/cosl.c: Likewise.
708 * libm/common/sinl.c: Likewise.
709 * libm/common/modfl.c: Likewise.
710 * libm/common/frexpl.c: Likewise.
711 * libm/common/tanhl.c: Likewise.
712 * libm/common/tanl.c: Likewise.
713 * libm/common/expm1l.c: Likewise.
714 * libm/common/log1pl.c: Likewise.
715 * libm/common/ceill.c: Likewise.
716 * libm/common/fabsl.c: Likewise.
717 * libm/common/floorl.c: Likewise.
718 * libm/common/acosl.c: Likewise.
719 * libm/common/asinl.c: Likewise.
720 * libm/common/atan2l.c: Likewise.
721 * libm/common/coshl.c: Likewise.
722 * libm/common/expl.c: Likewise.
723 * libm/common/fmodl.c: Likewise.
724 * libm/common/hypotl.c: Likewise.
725 * libm/common/ldexpl.c: Likewise.
726 * libm/common/log10l.c: Likewise.
727 * libm/common/logl.c: Likewise.
728 * libm/common/powl.c: Likewise.
729 * libm/common/sqrtl.c: Likewise.
730 * libm/common/copysignl.c: Likewise.
731 * libm/common/ilogbl.c: Likewise.
732 * libm/common/nanl.c: Likewise.
733 * libm/common/cbrtl.c: Likewise.
734 * libm/common/asinhl.c: Likewise.
735 * libm/common/nextafterl.c: Likewise.
736 * libm/common/rintl.c: Likewise.
737 * libm/common/scalbnl.c: Likewise.
738 * libm/common/exp2l.c: Likewise.
739 * libm/common/fdiml.c: Likewise.
740 * libm/common/fmal.c: Likewise.
741 * libm/common/fmaxl.c: Likewise.
742 * libm/common/fminl.c: Likewise.
743 * libm/common/lrintl.c: Likewise.
744 * libm/common/lroundl.c: Likewise.
745 * libm/common/nearbyintl.c: Likewise.
746 * libm/common/remquol.c: Likewise.
747 * libm/common/roundl.c: Likewise.
748 * libm/common/scalblnl.c: Likewise.
749 * libm/common/truncl.c: Likewise.
750 * libm/common/acoshl.c: Likewise.
751 * libm/common/atanhl.c: Likewise.
752 * libm/common/erfcl.c: Likewise.
753 * libm/common/erfl.c: Likewise.
754 * libm/common/lgammal.c: Likewise.
755 * libm/common/remainderl.c: Likewise.
756 * libm/common/tgammal.c: Likewise.
757 * libm/common/sinhl.c: Likewise.
758 * libm/common/llroundl.c: Likewise.
759 * libm/configure.in: Add long double check.
760 * libm/configure: Regenerate.
761 * libm/common/Makefile.am: Add new files.
762 * libm/common/Makefile.in: Regenerate.
764 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
766 * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
767 * libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
768 720, 862, 874, 1255, and 1256 to _U|_L. Fix a couple of incorrect
770 * libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
771 6, 8, and 11 to _U|_L. Fix a couple of incorrect class mappings.
772 * libc/ctype/isblank.c (isblank): Special case TAB.
773 * libc/ctype/islower.c (islower): Check explicitely for _L flag only
775 * libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
776 * libc/include/ctype.h (islower): Same in macro.
778 (isblank): Special case TAB. Redefine macro for GCC only.
780 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
782 * libc/stdlib/local.h (__mbtowc): Declare extern.
785 2009-04-09 Corinna Vinschen <corinna@vinschen.de>
787 * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
788 recognizes 0x8e and 0x8f lead bytes.
789 (_iseucjp2): Rename from _iseucjp.
790 * libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
791 triplebyte sequences as well.
792 * libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
793 triplebyte sequences as well.
795 2009-04-08 Ken Werner <ken.werner@de.ibm.com>
797 * configure.in: Add square brackets for the array aliasing conftest.
798 * configure: Regenerate.
800 2009-04-06 Mike Burgess <wizardsguild@earthlink.net>
802 * libc/string/strncasecmp.c: Optimized rewrite.
804 2009-04-06 Ken Werner <ken.werner@de.ibm.com>
806 * libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
807 * libc/include/machine/time.h (nanosleep): Declare.
809 2009-04-06 Corinna Vinschen <corinna@vinschen.de>
811 * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
813 2009-04-04 Corinna Vinschen <corinna@vinschen.de>
815 * libc/stdlib/wcstombs.c: Fix datatypes in documentation.
817 2009-04-04 Corinna Vinschen <corinna@vinschen.de>
819 * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
820 * libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.
822 2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
824 * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
825 to avoid a warning with -Wmissing-prototypes.
827 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
829 * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.
831 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
833 * libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
834 (linux_getpid, linux_gettid): Declare.
836 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
838 * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
841 2009-04-03 Ken Werner <ken.werner@de.ibm.com>
843 * libc/include/math.h: Remove duplicate copysign prototype.
844 Fix __math_68881 define typo. Guard functions of the rint family.
846 2009-04-03 Craig Howland <howland@LGSInnovations.com>
848 * libm/common/s_llrint.c: New file, implementing llrint().
849 * libm/common/sf_llrint.c: New file, implementing llrintf().
850 * libm/common/Makefile.am: Add s_llrint.c (src); sf_llrint.c (fsrc).
851 * libm/common/Makefile.in: Regenerate.
853 2009-04-02 Corinna Vinschen <corinna@vinschen.de>
855 * libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
856 ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
857 (__ctype_ptr__): Constify in !_MB_CAPABLE case. Otherwise,
858 de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too. Add comment.
859 (__set_ctype): Set __ctype_ptr__ pointer according to definition
860 of ALLOW_NEGATIVE_CTYPE_INDEX.
861 * libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.
863 2009-03-31 Corinna Vinschen <corinna@vinschen.de>
865 * libc/ctype/Makefile.am: Remove _tolower.c and _toupper.c
866 source files. Add a dependency rule for ctype_o to note
867 changes in ctype_iso.h and ctype_cp.h.
868 * libc/ctype/Makefile.in: Regenerate.
869 * libc/ctype/_tolower.c: Remove file.
870 * libc/ctype/_toupper.c: Remove file.
871 * libc/ctype/ctype_.c: Make sure ALLOW_NEGATIVE_CTYPE_INDEX
872 is always defined on Cygwin.
873 (_ctype_b): Don't make `static const' on Cygwin.
874 (ctype_iso.h): Include if _MB_EXTENDED_CHARSETS_ISO is set.
875 (ctype_cp.h): Include if _MB_EXTENDED_CHARSETS_WINDOWS is set.
876 (__ctype_ptr): Drop definition.
877 (__ctype_ptr__): De-constify. Mark as __EXPORT symbol.
878 (_ctype_): Add Cygwin-specifc asm define.
879 (__set_ctype): New function to set __ctype_ptr__ according to
881 * libc/ctype/ctype_cp.h: New file containing Windows codepage
882 specific character class tables.
883 * libc/ctype/ctype_iso.h: New file containing ISO-8859-x
884 specific character class tables.
885 * libc/ctype/tolower.c (tolower): Reimplement to support any singlebyte
886 charset if one of the extended charsets is enabled.
887 * libc/ctype/toupper.c (toupper): Ditto.
888 * libc/include/ctype.h (_tolower): Define as macro per POSIX.
890 (__ctype_ptr__): De-constify.
891 (toupper): Disable macro on systems supporting extended charsets.
893 * libc/include/sys/config.h (__EXPORT): Define empty if not defined.
894 * libc/locale/locale.c (__mb_cur_max): Mark as __EXPORT symbol.
895 (__set_ctype): Declare unconditionally.
896 (loadlocale): Remove __CYGWIN__ guard around __set_ctype call.
898 2009-03-26 Corinna Vinschen <corinna@vinschen.de>
900 * libc/locale/locale.c (loadlocale): Revert to charset "GBK" instead
901 of "GB2312". Fix documentation accordingly.
903 2009-03-26 Corinna Vinschen <corinna@vinschen.de>
905 * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Mark TAB as blank character.
906 * libc/ctype/isblank.c: Replace hardcoded test with test for having _B
907 marker in ctype array.
908 * libc/include/ctype.h (isblank): Add macro.
910 2009-03-25 Craig Howland <howland@LGSInnovations.com>
912 * libc/include/math.h: (llround, llroundf): Declare.
913 * libm/common/s_llround.c: New file, implementing llround().
914 * libm/common/sf_llround.c: New file, implementing llroundf().
915 * libm/common/sf_lround.c: Remove spurious cast in _DOUBLE_IS_32BITS
917 * libm/common/sf_lrint.c: Ditto.
918 * libm/common/sf_logb.c: Corrected return for subnormal argument
919 by replacing existing function with a version created from sf_ilogb.c.
920 * libm/common/s_logb.c: Ditto, except starting point s_ilogb.c. Also
921 added documentation for logb() and logbf().
922 * libm/common/s_signbit.c: Add signbit() documentation.
923 * libm/common/s_log2.c: Update return values to match what w_log2.c has,
924 since log2 uses log(); add note about being derived instead of direct.
925 * libm/common/sf_fma.c: Add casts to attempt to get correct results,
926 as well as comments pointing out problems with the implementation.
927 * libm/common/s_fma.c: Add fma() and fmaf() documentation.
928 * libm/common/sf_remquo.c: Incorrect quotient returns for large values
929 corrected by discarding existing function and replacing with Sun
930 verion, with some enhancements.
931 * libm/common/s_remquo.c: Ditto. Add remquo() and remquof()
933 * libm/common/s_fmax.c: Add fmax() and fmaxf() documentation.
934 * libm/common/s_fmin.c: Add fmin() and fminf() documentation.
935 * libm/common/s_fdim.c: Return NAN for NAN arg, add fdim() and fdimf()
937 * libm/common/sf_fdim.c: Return NAN for NAN arg, HUGE_VALF for inf arg.
938 * libm/common/s_trunc.c: Add trunc() and truncf() documentation.
939 * libm/common/s_rint.c: Add rint() and rintf() documentation.
940 * libm/common/s_round.c: Add round() and roundf() documentation.
941 * libm/common/s_scalbn.c: Add scalbln() and scalblnf() documentation.
942 * libm/common/s_infinity.c: Add infinity() and infinityf()
944 * libm/common/s_lround.c: Add lround(), lroundf(), llround(), and
945 llroundf() documentation.
946 * libm/common/s_lrint.c: Add lrint(), lrintf(), llrint(), and llrintf()
948 * libm/common/isgreater.c: New file for documenting math.h function-like
949 macros isgreater(), isgreaterequal(), isless(), islessequal(),
950 islessgreater(), and isunordered().
951 * libm/common/s_isnan.c: Add documentation for function-like macros
952 fpclassify(), isfinite(), isinf(), isnan(), and isnormal().
953 * libm/common/s_nearbyint.c: Add nearbyint() and nearbyintf()
955 * libm/common/Makefile.am: Add s_llround.c (src); sf_llround.c (fsrc);
956 s_fdim.def, s_fma.def, s_fmax.def, s_fmin.def,
957 s_logb.def, s_lrint.def, s_lround.def, s_nearbyint.def, s_remquo.def,
958 s_rint.def, s_round.def, s_signbit.def, s_trunc.def, and
959 isgreater.def (chobj);
960 re-name all existing chew files (chobj) to match source file base
961 names (put in underscores), delete all special targets for chew files
962 (leaving all to be generated by rule).
963 * libm/common/Makefile.in: regenerate.
964 * libm/math/w_exp2.c: Add "base 2" to documentation description (and
965 delete TRAD_SYNOPSIS).
966 * libm/math/w_gamma.c: Add tgamma() and tgammaf() documentation, along
967 with some history behind the function names.
968 * libm/math/math.tex: Add includes for newly-added documentation (see
969 .def additions to common/Makefile.am and math/Makefile.am in this
970 ChangeLog list), adjusted existing .def file names to match source file
971 base names (added underscores); add mention of HUGE_VALF; rename
972 "Version of library" section to "Error Handling" and add some text
973 about floating-point exception; added section "Standards Compliance And
975 * libm/math/Makefile.am: Add w_exp2.def (chobj);
976 re-name all existing chew files (chobj) to match source file base
977 names, delete all special targets for chew files (leaving all to be
979 * libm/math/Makefile.in: regenerated
980 * doc/makedoc.c: Change silent ignoring of commands < 5 characters
981 to a failure when reading macro file for commands < 4 characters;
982 add -v (verbose) option for printing some debugging information;
983 get rid of spurious translation of "@*" to "*" (no source files used @*,
984 so no existing doc pages were affected); clean up some compiler
986 * doc/doc.str: add BUGS and SEEALSO sections (to match texi2pod.pl
987 which has them); Remove ITEM command (redundant with makedoc built-in
988 "o", not used in any present source file so nothing is lost, anyway).
989 * HOWTO: New file to hold information for maintainers regarding how
990 to do things. Initial sections on documentation and ELIX levels.
992 2009-03-25 Richard Earnshaw <rearnsha@arm.com>
994 * libc/machine/arm/strcmp.c (strcmp_unaligned): Correctly
995 detect the nul-byte in a big-endian string.
997 2009-03-25 Jeff Johnston <jjohnstn@redhat.com>
999 * libc/string/wcsdup.c: Fix documentation error.
1000 * libc/string/Makefile.am: Fix CHEWOUT files to contain
1001 wcsdup.def rather than wcsdup.
1002 * libc/string/Makefile.in: Regenerated.
1004 2009-03-25 Corinna Vinschen <corinna@vinschen.de>
1006 * libc/locale/locale.c (loadlocale): Only change __wctomb and __mbtowc
1007 pointers if category is LC_CTYPE.
1009 2009-03-25 Corinna Vinschen <corinna@vinschen.de>
1011 * libc/locale/locale.c (loadlocale): Rename charset "GBK" to
1012 "GB2312". Fix documentation accordingly.
1014 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
1016 * libc/locale/locale.c (loadlocale): Rename charset "CP949" to
1017 "eucKR". Fix documentation accordingly.
1019 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
1021 * libc/locale/locale.c (loadlocale): Allow charset starting with 'e'
1022 for "eucJP" charset support.
1024 2009-03-24 Jeff Johnston <jjohnstn@redhat.com>
1026 * libc/include/sys/errno.h: Move EFTYPE to general usage because
1027 it is used in libc/search.
1029 2009-03-24 Corinna Vinschen <corinna@vinschen.de>
1031 * libc/ctype/iswalpha.c: Handle all wchar_t as unicode on
1032 _MB_CAPABLE systems.
1033 * libc/ctype/iswblank.c: Ditto.
1034 * libc/ctype/iswcntrl.c: Ditto.
1035 * libc/ctype/iswprint.c: Ditto.
1036 * libc/ctype/iswpunct.c: Ditto.
1037 * libc/ctype/iswspace.c: Ditto.
1038 * libc/ctype/jp2uc.c (__jp2uc): On Cygwin, just return c.
1040 * libc/ctype/towlower.c: Ditto.
1041 * libc/ctype/towupper.c: Ditto.
1042 * libc/include/sys/config.h: Define _MB_EXTENDED_CHARSETS_ISO
1043 and _MB_EXTENDED_CHARSETS_WINDOWS if _MB_EXTENDED_CHARSETS_ALL is
1044 defined. Define _MB_EXTENDED_CHARSETS_ALL on Cygwin only for now.
1045 * libc/include/sys/reent.h (struct _reent): Mark _current_category
1046 and _current_locale as unused.
1047 * libc/locale/locale.c: Add new charset support to documentation.
1048 Include ../stdio/local.h from here.
1049 (lc_ctype_charset): Set to "ASCII" by default.
1050 (lc_message_charset): Ditto.
1051 (_setlocale_r): Don't set _current_category and _current_locale.
1052 (loadlocale): Add Cygwin codepage support. On _MB_CAPABLE
1053 systems, set __mbtowc and __wctomb function pointers to function
1054 corresponding with current charset. Don't allow non-existant
1055 ISO-8859-12 charset. Add support for Windows singlebyte codepages.
1056 On Cygwin, add support for GBK, CP949, and BIG5. On Cygwin,
1057 call __set_ctype() in case the catorgy is LC_CTYPE. Don't set
1058 _current_category and _current_locale.
1059 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add sb_charsets.c.
1060 * libc/stdlib/Makefile.in: Regenerate.
1061 * libc/stdlib/local.h: Add prototype for __locale_charset.
1062 Add prototypes for __mbtowc and __wctomb pointers.
1063 Add prototypes for charset-specific _wctomb_r and _mbtowc_r
1065 Declare tables and functions from sb_charsets.c.
1066 * libc/stdlib/mbtowc_r.c (__mbtowc): Define. Set to __ascii_mbtowc
1068 (_mbtowc_r): Just call __mbtowc from here.
1069 (__ascii_mbtowc): New function.
1070 (__iso_mbtowc): New function.
1071 (__cp_mbtowc): New function.
1072 (__utf8_mbtowc): New function.
1073 (__sjis_mbtowc): New function. Disable on Cygwin.
1074 (__eucjp_mbtowc): New function. Disable on Cygwin.
1075 (__jis_mbtowc): New function. Disable on Cygwin.
1076 * libc/stdlib/sb_charsets.c: New file, adding singlebyte to UTF
1077 conversion tables for all ISO and CP charsets.
1078 (__iso_8859_index): New function.
1079 (__cp_index): New function.
1080 * libc/stdlib/wctomb_r.c (__wctomb): Define. Set to __ascii_wctomb
1082 (_wctomb_r): Just call __wctomb from here.
1083 (__ascii_wctomb): New function.
1084 (__utf8_wctomb): New function.
1085 (__sjis_wctomb): New function. Disable on Cygwin.
1086 (__eucjp_wctomb): New function. Disable on Cygwin.
1087 (__jis_wctomb): New function. Disable on Cygwin.
1088 (__iso_wctomb): New function.
1089 (__cp_wctomb): New function.
1091 2009-03-23 Richard Earnshaw <rearnsha@arm.com>
1093 * libc/machine/arm/strcmp.c (strcmp): Treat char as unsigned.
1095 2009-03-23 Corinna Vinschen <corinna@vinschen.de>
1097 * libc/locale/locale.c (loadlocale): Fix typo in language and
1098 territory evaluation.
1100 2009-03-20 Jeff Johnston <jjohnstn@redhat.com>
1102 * libc/include/sys/errno.h: Protect various non-standard errnos
1103 with either __LINUX_ERRNO_EXTENSIONS__ or __CYGWIN__.
1104 * libc/include/sys/config.h[__CYGWIN__]: Define
1105 __LINUX_ERRNO_EXTENSIONS__.
1107 2009-03-19 Corinna Vinschen <corinna@vinschen.de>
1109 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Return EILSEQ in case of an
1110 invalid character sequence.
1112 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Fix compiler warning due to
1113 missing declaration of __locale_charset.
1114 * libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
1116 2009-03-18 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1118 * libm/common/s_log2.c: New file.
1119 * libm/common/sf_log2.c: Ditto.
1120 * libm/common/Makefile.am: Add s_log2.c and sf_log2.c.
1121 * libm/common/Makefile.in: Regenerated.
1122 * libc/include/math.h: Add log2 and log2f function prototypes.
1124 2009-03-17 Corinna Vinschen <corinna@vinschen.de>
1126 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): Handle NULL destination
1129 2009-03-16 Mark Mitchell <mark@codesourcery.com>
1131 * libc/machine/arm/strlen.c (strlen): Fix defect in Thumb-2 mode.
1133 2009-03-16 Richard Earnshaw <rearnsha@arm.com>
1135 * libc/machine/arm/strlen.c (strlen): Correctly detect
1137 * libc/machine/arm/strcpy.c (strcpy): Likewise.
1138 * libc/machine/arm/strcmp.c (strcmp, strcmp_unaligned): Likewise.
1140 2009-03-15 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
1142 * libc/include/sys/errno.h (ESTRPIPE): Define.
1143 * libc/string/strerror.c (strerror): Decode it.
1145 2009-03-15 Corinna Vinschen <corinna@vinschen.de>
1147 * libc/include/wchar.h (wcsdup, _wcsdup_r): Declare.
1148 * libc/string/Makefile.am: Add wcsdup.c.
1149 * libc/string/Makefile.in: Regenerate.
1150 * libc/string/strings.tex: Add wcsdup documentation reference.
1151 * libc/string/wcsdup.c: New file.
1153 2009-03-14 Corinna Vinschen <corinna@vinschen.de>
1155 * libc/include/stdlib.h (_mkstemp_r, _mktemp_r): Move out of
1156 !_REENT_ONLY section.
1158 2009-03-14 Corinna Vinschen <corinna@vinschen.de>
1160 * libc/include/stdio.h (_mkstemp_r, _mktemp_r): Move declarations
1162 * libc/include/stdlib.h (mktemp, _mktemp_r): Warn when using.
1163 * libc/stdio/mktemp.c: Explain the security risk when using
1166 2009-03-12 Craig Howland <howland@LGSInnovations.com>
1168 * libc/time/time.tex (wcsftime.def): Include.
1169 * libc/time/wcsftime.c: Clean up documentation a little.
1171 2009-03-12 Craig Howland <howland@LGSInnovations.com>
1173 * libc/stdio/swscanf.c: Some documentation corrections.
1175 2009-03-12 Craig Howland <howland@LGSInnovations.com>
1177 * libc/stdio/swprintf.c (_swprintf_r, swprintf):
1178 correct how terminating L'\0' is added;
1179 change return to match standard for when output does not fit;
1180 some corrections and enhancements to the docs.
1181 * libc/stdio/vswprintf.c (_vswprintf_r): ditto, except for docs.
1182 * libc/stdio/vfwprintf.c: some corrections to the docs and some
1183 enhancements to comments. (No code changes.)
1184 * libc/time/strftime.c: Correct some problems that made wcsftime()
1185 not work correctly: work properly with swprintf returns that are
1186 different from snprintf returns, correct test vector lengths for
1187 when sizeof(wchar_t) > 1.
1188 * libc/stdio/sprintf.c: Some documentation and comment corrections and
1189 enhancements to match those done to swprintf.c.
1191 2009-03-11 Corinna Vinschen <corinna@vinschen.de>
1193 * libc/include/wchar.h (wcscasecmp, wcsncasecmp): Declare.
1194 * libc/string/Makefile.am: Add wcscasecmp.c, wcsncasecmp.c
1195 * libc/stdio/Makefile.in: Regenerate.
1196 * libc/string/strings.tex: Add new documentation references.
1197 * libc/string/wcscasecmp.c: New file.
1198 * libc/string/wcsncasecmp.c: New file.
1200 2009-03-11 Corinna Vinschen <corinna@vinschen.de>
1202 * libc/include/wchar.h (fwscanf, swscanf, vfwscanf, vswscanf, vwscanf,
1204 (_fwscanf_r, _swscanf_r, _vfwscanf_r, _vswscanf_r, _vwscanf_r,
1205 _wscanf_r): Declare.
1206 * libc/stdio/Makefile.am: Add new wscanf files.
1207 * libc/stdio/Makefile.in: Regenerate.
1208 * libc/stdio/fwscanf.c: New file.
1209 * libc/stdio/local.h (__svfwscanf_r, __ssvfwscanf_r, __svfiwscanf_r,
1210 __ssvfiwscanf_r): Declare.
1211 * libc/stdio/stdio.tex: Add new documentation references.
1212 * libc/stdio/swscanf.c: New file.
1213 * libc/stdio/vfwscanf.c: New file.
1214 * libc/stdio/vswscanf.c: New file.
1215 * libc/stdio/vwscanf.c: New file.
1216 * libc/stdio/wscanf.c: New file.
1218 * libc/stdio/vfscanf.c (_sungetc_r): Make externaly available. Only
1219 define if INTEGER_ONLY is defined. Declare otherwise.
1220 (__ssrefill_r): Ditto.
1223 Remove static eofread/eofread1 functions and use __seofread
1224 function instead, throughout.
1225 * libc/stdio/local.h (__seofread): Declare.
1226 * libc/stdio/stdio.c (__seofread): Define.
1228 * libc/stdio/fgetwc.c (__fgetwc): Fix compiler warning.
1229 * libc/stdio/fgetws.c (_fgetws_r): Ditto.
1230 * libc/stdio/fread.c (_fread_r): Ditto.
1231 * libc/stdio/vfprintf.c: Ditto.
1232 * libc/stdio/vswprintf.c: Ditto.
1234 2009-03-09 Brooks Moses <brooks@codesourcery.com>
1236 * libc/machine/arm/arm_asm.h: Fix typo.
1238 2009-03-09 Craig Howland <howland@LGSInnovations.com>
1240 * libc/time/strftime.c: Adapt for dual-purpose use so not only
1241 defines strftime(), but can also define wcsftime(); add optional
1242 test package; speed up %Y handling.
1243 * libc/time/wcsftime.c: New file, defining wcsftime() (albeit
1244 indirectly by including strftime.c) and its documentation.
1245 * libc/time/time.tex: Enhance tm_isdst explanation, change strftime
1246 description to match modified description in strftime.c
1247 * libc/time/Makefile.am: Add wcsftime.c and wcsftime.def. Add a rule
1248 so that wcsftime.o gets rebuilt when strftime changes.
1249 * libc/time/Makefile.in: Regenerate.
1250 * libc/include/wchar.h (wcsftime): Declare.
1252 2009-03-06 Hans-Erik Floryd <hans-erik.floryd@rt-labs.com>,
1253 Corinna Vinschen <corinna@vinschen.de>
1255 * libc/reent/reent.c (_reclaim_reent): Make a block from MP-related
1256 statements in _REENT_SMALL case. Check if _atexit is not NULL before
1258 (_wrapup_reent): Check if _atexit is not NULL before dereferencing it.
1260 2009-03-06 Corinna Vinschen <corinna@vinschen.de>
1262 * libc/include/stdio.h (__VALIST): Guard against multiple definition.
1263 * libc/include/wchar.h: Include stdarg.h.
1264 (__VALIST): Define conditionally.
1265 (fwprintf, swprintf, vfwprintf, vswprintf, vwprintf, wprintf): Declare.
1266 (_fwprintf_r, _swprintf_r, _vfwprintf_r, _vswprintf_r, _vwprintf_r,
1267 _wprintf_r): Declare.
1268 * libc/stdio/Makefile.am: Add new files.
1269 * libc/stdio/Makefile.in: Regenerate.
1270 * libc/stdio/fwprintf.c: New file.
1271 * libc/stdio/local.h (_svfwprintf_r, _svfiwprintf_r): Declare.
1272 (__CH_CLASS, __STATE, __ACTION): Move definition from vfprintf.c here
1273 and move to the __ namespace.
1274 (__chclass, __state_table, __action_table): Declare.
1275 * libc/stdio/stdio.tex: Add new documentation references.
1276 * libc/stdio/swprintf.c: New file.
1277 * libc/stdio/vfprintf.c (__SPRINT): New macro to call the right
1278 __sprint_r function according to compilation unit. Use throughout.
1279 (__ssprint_r): Rename STRING_ONLY variant from __sprint_r.
1280 Make externaly available. Only define if INTEGER_ONLY is defined.
1281 (__sprint_r): Make externaly available. Only define if INTEGER_ONLY
1282 is defined. Handle stream orientation.
1283 (__sbprintf): Copy FILE's _flags2 member as well.
1284 (__chclass, __state_table, __action_table): Prepend __ to name and
1285 make externally available.
1286 * libc/stdio/vfwprintf.c: New file.
1287 * libc/stdio/vswprintf.c: New file.
1288 * libc/stdio/vwprintf.c: New file.
1289 * libc/stdio/wprintf.c: New file.
1291 2009-03-03 Corinna Vinschen <corinna@vinschen.de>
1293 * libc/locale/locale.c (_setlocale_r): New implementation based on
1294 FreeBSD's setlocale.
1295 (currentlocale): New helper function.
1296 (loadlocale): Ditto.
1297 (__locale_charset): New function.
1298 (__locale_msgcharset): Rename from __locale_charset.
1299 * libc/ctype/local.h (__lc_ctype): Remove declaration.
1300 (__locale_charset): Declare.
1301 * libc/ctype/iswalpha.c (iswalpha): Call __locale_charset instead of
1302 using __lc_ctype directly. Only compare against the charset alone.
1303 * libc/ctype/iswblank.c (iswblank): Ditto.
1304 * libc/ctype/iswcntrl.c (iswcntrl): Ditto.
1305 * libc/ctype/iswprint.c (iswprint): Ditto.
1306 * libc/ctype/iswpunct.c (iswpunct): Ditto.
1307 * libc/ctype/iswspace.c (iswspace): Ditto.
1308 * libc/ctype/towlower.c (towlower): Ditto.
1309 * libc/ctype/towupper.c (towupper): Ditto.
1310 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Ditto.
1311 * libc/stdlib/wctomb_r.c (_wctomb_r): Ditto.
1312 * libc/sys/linux/intl/loadmsgcat.c (_nl_init_domain_conv): Call
1313 __locale_msgcharset instead of __locale_charset.
1315 2009-03-02 Jeff Johnston <jjohnstn@redhat.com>
1317 * libc/stdlib/wctomb_r.c (_wctomb_r): When checking single-byte
1318 charset, cast wchar to size_t in case wchar_t is signed.
1319 * libc/stdlib/wctomb.c (wctomb): Add similar single-byte check.
1321 2009-03-02 Corinna Vinschen <corinna@vinschen.de>
1323 * libc/stdlib/wctomb_r.c (_wctomb_r): Return EILSEQ in case of an
1324 invalid wchar. Return -1 if wchar doesn't fit into singlebyte
1325 value in case of using a singlebyte charset.
1327 2009-02-26 Brooks Moses <brooks@codesourcery.com>
1329 * libc/machine/arm/strcpy.c: Add missing comma.
1331 2009-02-26 Ralf Corsepius <ralf.corsepius@rtems.org>
1333 * libc/machine/lm32/configure.in: Let
1334 AC_CONFIG_SRCDIR point to setjmp.S instead of setjmp.s
1335 * libs/machine/lm32/configure: Regenerate.
1337 2009-02-25 Brooks Moses <brooks@codesourcery.com>
1339 * libc/stdlib/Makefile.am (CHEWOUT_FILES): Add
1340 mbsnrtowcs.def, wcsnrtombs.def.
1341 * libc/stdlib/Makefile.in: Regenerate.
1342 * libc/stdlib/stdlib.tex (@menu): Use correct section
1343 names for mbsrtowcs, wcsrtombs.
1344 * libc/stdlib/wcstod.c: Remove stray character in
1347 2009-02-25 Corinna Vinschen <corinna@vinschen.de>
1349 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Remove conversion of 5 and 6
1350 byte UTF-8 sequences since they are invalid in the Unicode standard.
1351 Handle surrogate pairs in case of wchar_t == UTF-16.
1352 * libc/stdlib/wctomb_r.c (_wctomb_r): Don't convert invalid Unicode
1353 wchar_t values beyond 0x10ffff into UTF-8 chars. Handle surrogate
1354 pairs in case of wchar_t == UTF-16.
1356 2009-02-24 Kevin Buettner <kevinb@redhat.com>
1358 * libc/stdio/open_memstream.c (stdint.h): Include.
1360 2009-02-23 Craig Howland <howland@LGSInnovations.com>
1362 * libc/unix/ttyname.c: Remove ttyname_r() (to a new file to avoid
1363 coupling ttyname_r() and ttyname() due to the latter's large buffer).
1364 * libc/unix/ttyname_r.c: New file to hold ttyname_r(), previously in
1366 * libc/unix/ttyname.h: New file (common size definition for the 2
1367 ttyname*c files that are now split).
1368 * libc/unix/Makefile.am (ELIX_2_SOURCES): Add ttyname_r.c.
1369 * libc/unix/Makefile.in: Regenerate.
1371 2009-02-19 Corinna Vinschen <corinna@vinschen.de>
1373 * libc/include/wchar.h (mbsnrtowcs): Declare.
1374 (_mbsnrtowcs_r): Declare.
1375 (wcsnrtombs): Declare.
1376 (_wcsnrtombs_r): Declare.
1377 * libc/stdlib/Makefile.am (ELIX_2_SOURCES): Add mbsnrtowcs.c
1379 * libc/stdlib/Makefile.in: Regenerate.
1380 * libc/stdlib/mbsnrtowcs.c: New file, implementing _mbsnrtowcs_r
1381 and mbsnrtowcs. Document mbsnrtowcs and mbsrtowcs.
1382 * libc/stdlib/mbsrtowcs.c (_mbsrtowcs_r): Just call _mbsnrtowcs_r.
1384 * libc/stdlib/wcsnrtombs.c: New file, implementing _wcsnrtombs_r
1385 and wcsnrtombs. Document wcsrtombs and wcsnrtombs.
1386 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Just call _wcsnrtombs_r.
1388 * libc/stdlib/stdlib.tex: Accommodate new documentation.
1390 2009-02-18 Jeff Johnston <jjohnstn@redhat.com>
1392 * libc/stdio/open_memstream.c (internal_open_memstream_r): Fix max
1393 buffer size to be in wchar_t units if wide == 1 is passed in. In
1394 this case, also initialize the first character of the buffer to be
1396 (_open_wmemstream_r): Cast buf to be (char **) to avoid warning.
1397 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Change all occurences of
1398 incrementing the size_t value n to first check that n is not already
1399 size_t -1. Fix some compiler warnings.
1400 * libc/stdlib/wcstod.c: Add includes for <wctype.h> and <math.h>.
1402 2009-02-18 Corinna Vinschen <corinna@vinschen.de>
1404 * libc/stdio/open_memstream.c: Add open_wmemstream to doumentation.
1405 (struct memstream): Add wide element.
1406 Change saved to a union to take char and wchar_t values.
1407 (memwriter): Accommodate wide-oriented oeprations.
1409 (memseeker64): Ditto.
1411 (internal_open_memstream_r): New static function. Take functionality
1412 from former _open_memstream_r and handle additional "wide" parameter.
1413 (_open_memstream_r): Just call internal_open_memstream_r with wide==-1
1415 (_open_wmemstream_r): New function.
1416 (open_wmemstream): Ditto.
1417 * libc/include/wchar.h (open_wmemstream): Declare.
1418 (_open_wmemstream_r): Declare.
1420 2009-02-16 Corinna Vinschen <corinna@vinschen.de>
1422 * libc/stdio/fputwc.c: Fix typo in man page info.
1424 2009-02-12 Corinna Vinschen <corinna@vinschen.de>
1426 * libc/include/wchar.h (_wcstod_r): Declare.
1427 (_wcstof_r): Declare.
1430 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstod.c.
1431 (CHEWOUT_FILES): Add wcstod.def.
1432 * libc/stdlib/Makefile.in: Regenerate.
1433 * libc/stdlib/stdlib.tex: Add wcstod.
1434 * libc/stdlib/wcstod.c: New file.
1436 2009-02-05 Neal H. Walfield <neal@gnu.org>
1438 * libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
1440 2009-01-28 Jeff Johnston <jjohnstn@redhat.com>
1442 * libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
1443 inf and nan processing to not proceed if we have already collected
1446 2009-01-26 DJ Delorie <dj@redhat.com>
1448 * configure.host (m32c-*-*): Add long long I/O support by default.
1450 2009-01-21 Richard Earnshaw <rearnsha@arm.com>
1452 * libc/machine/arm/arm_asm.h: New file.
1453 * libc/machine/arm/strlen.c: New file.
1454 * libc/machine/arm/strcpy.c: New file.
1455 * libc/machine/arm/strcmp.c: New file.
1456 * libc/machine/arm/Makefile.am: Add new string routines.
1458 2009-01-19 Neal H. Walfield <neal@gnu.org>
1460 * libc/include/stdint.h (INT64_C, UINT64_C, INTMAX_C, UINTMAX_C)
1461 [__have_long64 && __have_longlong64]: Use L and UL, not LL and ULL.
1462 * libc/include/inttypes.h (__PRI64, __SCN64, __PRIMAX, __SCNMAX,
1463 __PRIPTR, __SCNPTR) [__have_long64 && __have_longlong64]: Use l,
1466 2009-01-12 Nathan Froyd <froydnj@codesourcery.com>
1468 * libc/machine/powerpc/vfscanf.c (__sccl): Remove declaration.
1470 2009-01-12 Jeff Johnston <jjohnstn@redhat.com>
1472 * libc/stdio/fwalk.c (__fwalk, __fwalk_reent): Remove locking of
1473 each fp. Let the function being called lock the fp, if necessary.
1475 2009-01-07 Kazu Hirata <kazu@codesourcery.com>
1477 * libc/include/sys/stdio.h (_flockfile, _funlockfile): Fix typos.
1479 2009-01-05 Craig Howland <howland@LGSInnovations.com>
1481 * libc/stdio/fwide.c: Correct typo in TRAD_SYNOPSIS for _fwide_r.
1483 2008-12-19 Jeff Johnston <jjohnstn@redhat.com>
1485 * NEWS: Update with 1.17.0 info.
1487 * acinclude.m4: Change version number to 1.17.0.
1488 * aclocal.m4: Regenerated.
1490 * doc/aclocal.m4: Ditto.
1491 * doc/configure: Ditto.
1492 * libc/*/aclocal.m4: Ditto.
1493 * libc/*/configure: Ditto.
1494 * libc/libc.texinfo: Ditto.
1495 * libm/*/aclocal.m4: Ditto.
1496 * libm/*/configure: Ditto.
1497 * libm/libm.texinfo: Ditto.
1498 * libc/sys/linux/shared.ld: Add VERS_1.17
1500 2008-12-17 Jon Beniston <jon@beniston.com>
1502 * configure.host: Set syscall_dir for lm32 target.
1504 2008-12-15 Jeff Johnston <jjohnstn@redhat.com>
1506 * libc/stdio/stdio.tex: Remove putwc and getwc references as they
1507 are included as part of fputwc and fgetwc, respectively.
1509 2008-12-12 Craig Howland <howland@LGSInnovations.com>
1511 * libc/include/wchar.h: Added wcstok() declaration.
1512 * libc/string/wcstok.c: New file, implementing wcstok.
1513 * libc/string/Makefile.am: Add wcstok support.
1514 * libc/string/wcstrings.tex: Ditto.
1515 * libc/string/Makefile.in: Regenerated.
1517 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
1519 * libc/stdio/fputws.c: Fix documentation.
1520 * libc/stdio/getwchar.c: Ditto.
1521 * libc/stdio/putwchar.c: Ditto.
1523 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
1525 * libc/include/sys/features.h: Set RTEMS's _POSIX_MONOTONIC_CLOCK to
1526 200112L (SUSv3 compliance).
1527 Comment out RTEMS's _POSIX_SHARED_MEMORY_OBJECTS (Unsupported).
1529 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
1531 * libc/sys/rtems/crt0.c: Add stubs for getdents(), nanosleep(),
1534 2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
1536 * configure.host: Let *rtems* default to c99-formats.
1538 2008-12-12 Craig Howland <howland@LGSInnovations.com>
1540 * libc/stdio/freopen.c: Add <string.h> for memset prototype.
1541 * libc/stdio/fseek.c: Ditto.
1542 * libc/stdio/fwide.c: Add <wchar.h> for fwide prototype.
1544 2008-12-11 Jeff Johnston <jjohnstn@redhat.com>
1546 * libc/include/sys/time.h (gettimeofday): Change prototype so
1547 2nd parameter is void *, matching SUSV2.
1548 * libc/syscalls/sysgettod.c (gettimeofday): Ditto.
1550 2008-12-11 Jukka Pietarinen <jukka.pietarinen@mrf.fi>
1552 * configure.host: Add lm32
1553 * libc/include/machine/ieeefp.h: Add __lm32__
1554 * libc/include/machine/setjmp.h: Add __lm32__
1555 * libc/machine/configure.in: Add lm32
1556 * libc/machine/configure: Regenerated.
1557 * libc/machine/lm32/aclocal.m4: New file.
1558 * libc/machine/lm32/configure.in: Ditto.
1559 * libc/machine/lm32/configure: Ditto.
1560 * libc/machine/lm32/Makefile.am: Ditto.
1561 * libc/machine/lm32/Makefile.in: Ditto.
1562 * libc/machine/lm32/setjmp.s: Ditto.
1564 2008-12-11 Craig Howland <howland@LGSInnovations.com>
1566 * libc/include/sys/lock.h: Add void cast to avoid "statement has no
1567 effect" warnings from gcc.
1568 * libc/include/sys/stdio.h: Ditto.
1569 * libc/include/sys/time.h: Correct gettimeofday() prototype.
1570 * libc/stdlib/__exp10.c: Add #include "std.h" for function prototype.
1571 * libc/stdlib/__ten_mu.c: Ditto.
1572 * libc/stdlib/std.h: Correct __exp10's ANSI prototype.
1573 * libc/stdlib/ldtoa.c: Change eiisinf definition to ANSI form. (Are
1574 already others in file without _ansi method, so did not bother.)
1575 * libc/stdlib/system.c: Use _ansi forms for function prototypes and
1577 * libc/time/mktime.c: Ditto.
1578 * libc/misc/__dprintf.c: Ditto.
1579 * libc/include/stdio.h: Add function prototypes for _fgetc_r,
1580 _fgetpos_r, _fsetpos_r, _freopen_r, _rewind_r, freopen64, _freopen64_r,
1581 _funopen_r, and _fopencookie_r.
1582 * libc/include/reent.h: Add function prototype for _stat64_r, align
1583 _execve_r prototype with POSIX definition for execve.
1584 * libc/reent/execr.c: Align function prototype with POSIX definition.
1585 * libc/stdio/asniprintf.c: Add #include "local.h".
1586 * libc/stdio/vasniprintf.c: Ditto.
1587 * libc/stdio/fread.c: Remove unused variable newcount.
1588 * libc/stdio/local.h: Add function prototype for __sccl.
1589 * libc/stdio/open_memstream.c: Remove unused variable flags.
1590 * libc/stdio/vfscanf.c: Proper prototyping for ccfn, remove prototype
1591 for __sccl since now in local.h.
1592 * libc/string/memcpy.c: Add #include <string.h> (for real and for
1593 traditional synopsis), remove extraneous stddef.h and limits.h.
1594 * libc/syscalls/sysclose.c: Add #include <unistd.h>.
1595 * libc/syscalls/sysfork.c: Ditto.
1596 * libc/syscalls/sysgetpid.c: Ditto.
1597 * libc/syscalls/sysexecve.c: Add #include <unistd.h>, align function
1598 prototype with POSIX definition.
1599 * libc/syscalls/sysfstat.c: Add #include <sys/stat.h>.
1600 * libc/syscalls/sysgettod.c: Correct sys/times.h to sys/time.h.
1601 * libc/syscalls/syskill.c: Add #include <signal.h>.
1602 * libc/syscalls/syslink.c: Add #include <unistd.h>, fix prototype.
1603 * libc/syscalls/sysunlink.c: Ditto.
1604 * libc/syscalls/sysstat.c: Add #include <sys/stat.h>, fix prototype.
1605 * libc/syscalls/syswait.c: Add #include <sys/wait.h>, fix prototype.
1607 2008-12-10 Corinna Vinschen <corinna@vinschen.de>
1609 Implement basic wide char stdio functionality, based on FreeBSD.
1610 * libc/include/stdio.h (__SORD): Define.
1612 * libc/include/wchar.h: Add declarations for new wide char functions.
1613 (getwc): Define as macro.
1617 * libc/include/sys/reent.h (struct __sFILE): Add _mbstate member.
1618 (struct __sFILE64): Ditto.
1619 * libc/stdio/Makefile.am (ELIX_4_SOURCES): Add fgetwc.c, fgetws.c,
1620 fputwc.c, fputws.c, fwide.c, getwc.c, getwchar.c, putwc.c, putwchar.c
1622 (CHEWOUT_FILES): Add fgetwc.def, fgetws.def, fputwc.def, fputws.def,
1623 fwide.def, getwc.def, getwchar.def, putwc.def, putwchar.def and
1625 Add header dependency rules for the new files.
1626 * libc/stdio/Makefile.in: Regenerate.
1627 * libc/stdio/fgetwc.c: New file, implementing fgetwc and _fgetwc_r.
1628 * libc/stdio/fgetws.c: New file, implementing fgetws and _fgetws_r.
1629 * libc/stdio/findfp.c (std): Initialize FILE's _mbstate member.
1630 (__sfmoreglue): Ditto.
1631 * libc/stdio/fputs.c (_fputs_r): Set stream orientation.
1632 * libc/stdio/fputwc.c: New file, implementing fputwc and _fputwc_r.
1633 * libc/stdio/fputws.c: New file, implementing fputws and _fputws_r.
1634 * libc/stdio/fread.c (_fread_r): Set stream orientation.
1635 * libc/stdio/freopen.c (_freopen_r): Reset stream orientation. Reset
1637 * libc/stdio/fseek.c (_fseek_r): Reset _mbstate.
1638 * libc/stdio/fwide.c: New file, implementing fwide and _fwide_r.
1639 * libc/stdio/fwrite.c (_fwrite_r): Set stream orientation.
1640 * libc/stdio/getwc.c: New file, implementing getwc and _getwc_r.
1641 * libc/stdio/getwchar.c: New file, implementing getwchar and
1643 * libc/stdio/local.h (ORIENT): New macro.
1644 * libc/stdio/puts.c (_puts_r): Set stream orientation.
1645 * libc/stdio/putwc.c: New file, implementing putwc and _putwc_r.
1646 * libc/stdio/putwchar.c: New file, implementing putwchar and
1648 * libc/stdio/refill.c (__srefill_r): Set stream orientation.
1649 * libc/stdio/stdio.tex: Add documentation for new functions.
1650 * libc/stdio/ungetc.c (_ungetc_r): Set stream orientation.
1651 * libc/stdio/ungetwc.c: New file, implementing ungetwc and _ungetwc_r.
1652 * libc/stdio/vfscanf.c (__SVFSCANF_R): Set stream orientation.
1653 * libc/stdio/wbuf.c (__swbuf_r): Ditto.
1655 2008-12-10 Joseph Myers <joseph@codesourcery.com>
1657 * libc/include/stdint.h (INT32_MIN, INT32_MAX, UINT32_MAX,
1658 INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX): Define to
1659 constants with "long" types where appropriate.
1660 (INT_FAST8_MIN, INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN,
1661 INT_FAST16_MAX, UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX,
1662 UINT_FAST32_MAX, INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX):
1663 Correct to match logic for defining corresponding types.
1664 (INTMAX_MAX, INTMAX_MIN, UINTMAX_MAX): Define.
1665 (SIZE_MAX): Define using __SIZE_MAX__ if available.
1666 (PTRDIFF_MAX): Define using __PTRDIFF_MAX__ if available.
1667 (PTRDIFF_MIN): Define in terms of PTRDIFF_MAX.
1668 (WCHAR_MAX, WCHAR_MIN, WINT_MAX, WINT_MIN): Define.
1669 (UINT8_C, UINT16_C): Define to give signed values if corresponding
1670 types would promote to int.
1672 2008-12-04 Corinna Vinschen <corinna@vinschen.de>
1674 * libc/include/sys/features.h (_POSIX_V6_ILP32_OFF32): Always define.
1675 (_POSIX_V6_LP64_OFF64): Ditto.
1676 (_POSIX_V6_LPBIG_OFFBIG): Ditto.
1678 2008-11-28 Jeff Johnston <jjohnstn@redhat.com>
1680 * libc/sys/linux/inode.c: Include <dirent.h> instead of
1682 * libc/sys/linux/io64.c: Add weak alias for _stat64.
1684 2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
1686 * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
1689 2008-11-27 Ken Werner <ken.werner@de.ibm.com>
1691 * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
1692 * libc/machine/spu/Makefile.in: Regenerated.
1693 * libc/machine/spu/spu-gmon.c: New file.
1694 * libc/machine/spu/spu-mcount.S: New file.
1696 2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
1698 * configure.host (*-rtems*): Turn on using portion of unix subdirectory.
1700 2008-11-27 Craig Howland <howland@LGSInnovations.com>
1702 * libc/argz/argz_add.c: Added #include <argz.h> to get function
1704 * libc/argz/argz_append.c: Ditto.
1705 * libc/argz/argz_count.c: Ditto.
1706 * libc/argz/argz_create.c: Ditto.
1707 * libc/argz/argz_create_sep.c: Ditto.
1708 * libc/argz/argz_delete.c: Ditto.
1709 * libc/argz/argz_next.c: Ditto.
1710 * libc/argz/argz_stringify.c: Ditto
1711 * libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
1713 * libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
1714 prototypes, corrected traditional usage comment.
1715 * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.
1717 2008-11-26 Ken Werner <ken.werner@de.ibm.com>
1719 * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
1720 * libm/machine/spu/headers/asind2.h: Likewise.
1721 * libm/machine/spu/headers/asinhf4.h: Likewise.
1722 * libm/machine/spu/headers/divd2.h: Likewise.
1723 * libm/machine/spu/headers/erf_utils.h: Likewise.
1724 * libm/machine/spu/headers/erfcd2.h: Likewise.
1725 * libm/machine/spu/headers/erfcf4.h: Likewise.
1726 * libm/machine/spu/headers/erfd2.h: Likewise.
1727 * libm/machine/spu/headers/recipd2.h: Likewise.
1729 2008-11-25 Corinna Vinschen <corinna@vinschen.de>
1731 * libc/stdio/gets.c (_gets_r): Lock stdin here and call
1732 __sgetc_r instead of _getchar_r.
1734 2008-11-24 Craig Howland <howland@LGSInnovations.com>
1736 * libc/stdlib/wcstoull_r.c: Add EINVAL return for bad base value,
1737 include wchar.h for prototype, remove extraneous includes, use
1738 C99/POSIX ULLONG_MAX (but allow for poor limits.h).
1739 * libc/stdlib/wcstoull.c: Fix usage comments (mistakes and to add
1740 base value check noted above), remove extraneous includes.
1741 * libc/stdio/asnprintf.c: Add #include "local.h" to get function
1742 prototype for _svfprintf_r().
1743 * libc/stdio/vasnprintf.c: Ditto.
1744 * libc/stdio/local.h: Add function prototype for __submore().
1745 * libc/include/stdio.h: Add function prototypes for _fseeko_r and
1747 * libc/posix/namespace.h: Commented out define for write to
1748 eliminate write() prototype being missing for collate.c (which is
1749 the only file that presently includes namespace.h).
1750 * libc/include/reent.h: Added _rename_r.
1751 * libc/reent/renamer.c: Corrected function prototypes in synopses.
1752 * libc/locale/ldpart.c: Use struct stat64 when calling fstat64.
1754 2008-11-24 Jeff Johnston <jjohnstn@redhat.com>
1756 * libc/search/hash_func.c: Comment out unused static hash functions.
1757 * libc/reent/stat64r.c: New file.
1758 * libc/reent/Makefile.am: Add stat64r.c support.
1759 * libc/reent/Makefile.in: Regenerated.
1761 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
1763 * libc/posix/scandir.c: Fix memory leaks.
1765 2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
1767 * libc/posix/Makefile.am: Compile readdir_r.c not readdir.c twice.
1768 * libc/posix/Makefile.in: Regenerated.
1770 2008-11-24 Corinna Vinschen <corinna@vinschen.de>
1772 * libc/include/stdio.h (__SMOD): Remove definition of unused flag.
1773 * libc/include/sys/reent.h (struct __sFILE): Add _flags2 member.
1774 * libc/stdio/findfp.c (std): Initialize _flags2.
1776 * libc/stdio/refill.c (__srefill_r): Drop resetting __SMOD flag.
1777 * libc/stdio/vfscanf.c (__ssrefill_r): Ditto.
1778 * libc/stdio/fseek.c (_fseek_r): Drop checking __SMOD flag.
1779 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
1781 2008-11-20 Ken Werner <ken.werner@de.ibm.com>
1783 * libc/machine/spu/sys/linux_syscalls.h: Additional syscall defines to
1784 be in sync with current kernels.
1786 2008-11-20 Ken Werner <ken.werner@de.ibm.com>
1787 Patrick Mansfield <patmans@us.ibm.com>
1788 Joel Schopp <jschopp@austin.ibm.com>
1790 * libc/machine/spu/configure.in: Add __ea detection.
1791 * libc/machine/spu/Makefile.am: Add new files.
1792 * libc/machine/spu/include/ea.h: New file.
1793 * libc/machine/spu/ea_internal.h: Likewise.
1794 * libc/machine/spu/sys/mman.h: Likewise.
1795 * libc/machine/spu/mmap_ea.c: Likewise.
1796 * libc/machine/spu/munmap_ea.c: Likewise.
1797 * libc/machine/spu/mremap_ea.c: Likewise.
1798 * libc/machine/spu/msync_ea.c: Likewise.
1799 * libc/machine/spu/memchr_ea.c: Likewise.
1800 * libc/machine/spu/memcmp_ea.c: Likewise.
1801 * libc/machine/spu/memcpy_ea.c: Likewise.
1802 * libc/machine/spu/memmove_ea.c: Likewise.
1803 * libc/machine/spu/memset_ea.c: Likewise.
1804 * libc/machine/spu/malloc_ea.c: Likewise.
1805 * libc/machine/spu/realloc_ea.c: Likewise.
1806 * libc/machine/spu/calloc_ea.c: Likewise.
1807 * libc/machine/spu/free_ea.c: Likewise.
1808 * libc/machine/spu/posix_memalign_ea.c: Likewise.
1809 * libc/machine/spu/strcat_ea.c: Likewise.
1810 * libc/machine/spu/strchr_ea.c: Likewise.
1811 * libc/machine/spu/strcmp_ea.c: Likewise.
1812 * libc/machine/spu/strcpy_ea.c: Likewise.
1813 * libc/machine/spu/strcspn_ea.c: Likewise.
1814 * libc/machine/spu/strlen_ea.c: Likewise.
1815 * libc/machine/spu/strncat_ea.c: Likewise.
1816 * libc/machine/spu/strncmp_ea.c: Likewise.
1817 * libc/machine/spu/strncpy_ea.c: Likewise.
1818 * libc/machine/spu/strpbrk_ea.c: Likewise.
1819 * libc/machine/spu/strrchr_ea.c: Likewise.
1820 * libc/machine/spu/strspn_ea.c: Likewise.
1821 * libc/machine/spu/strstr_ea.c: Likewise.
1822 * libc/machine/spu/read_ea.c: Likewise.
1823 * libc/machine/spu/pread_ea.c: Likewise.
1824 * libc/machine/spu/readv_ea.c: Likewise.
1825 * libc/machine/spu/write_ea.c: Likewise.
1826 * libc/machine/spu/pwrite_ea.c: Likewise.
1827 * libc/machine/spu/writev_ea.c: Likewise.
1829 2008-11-19 Joel Sherrill <joel.sherrill@oarcorp.com>
1831 * libc/include/sys/config.h[__mips__]: Don't bother
1832 setting __ATTRIBUTE_IMPURE_PTR__ here.
1833 [__rtems__][__mips__]: No need to undef the __ATTRIBUTE_IMPURE_PTR__
1836 2008-11-19 Jeff Johnston <jjohnstn@redhat.com>
1838 * libc/sys/linux/bits/dirent.h: New header file.
1839 * libc/sys/linux/sys/dirent.h: Include <bits/dirent.h> instead of
1841 * libc/posix/Makefile.am: Remove reallocf.
1842 * libc/posix/Makefile.in: Regenerated.
1843 * libc/posix/reallocf.c: Moved to...
1844 * libc/stdlib/reallocf.c: Here
1845 * libc/stdlib/malloc.c: Add reallocf documentation.
1846 * libc/include/stdlib.h: Add reallocf and _reallocf_r prototypes.
1847 * libc/stdlib/Makefile.am: Add reallocf.
1848 * libc/stdlib/Makefile.in: Regenerated.
1849 * libc/posix/_isatty.c: Set errno.
1851 2008-11-19 Craig Howland <howland@LGSInnovations.com>
1853 * libc/unix/collate.c (__collate_err): simplify to remove unnecessary
1854 strdup() and strlen() calls, also getting rid of a compiler warning.
1856 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
1858 * libc/include/sys/config.h: Don't put
1859 __ATTRIBUTE_IMPURE_PTR__ into .sdata section for mips-rtems.
1861 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
1863 * libc/posix/runetype.h: Add include of stddef.h and remove
1864 defining standard types: size_t and wchar_t.
1866 2008-11-19 Ralf Corsepius <ralf.corsepius@rtems.org>
1868 * libc/include/pthread.h: Remove prototypes for
1869 pthread_attr_getcputime and pthread_attr_setcputime which
1870 were proposed but never approved by the POSIX standard.
1872 2008-11-18 Joel Sherrill <joel.sherrill@oarcorp.com>
1874 * libc/unix/ttyname.c: Use isatty() instead of tcgetattr().
1876 2008-11-18 Jeff Johnston <jjohnstn@redhat.com>
1878 * libc/unix/basename.c: Add !_NO_BASENAME flag check so code can be
1879 ignored if desired by a platform.
1880 * libc/unix/dirname.c: Ditto except replace BASENAME with file name.
1881 * libc/unix/getcwd.c: Ditto.
1882 * libc/unix/getlogin.c: Ditto.
1883 * libc/unix/getpass.c: Ditto.
1884 * libc/unix/getpwent.c: Ditto.
1885 * libc/unix/getut.c: Ditto.
1886 * libc/unix/pread.c: Ditto.
1887 * libc/unix/pwrite.c: Ditto.
1888 * libc/unix/sigset.c: Ditto.
1890 2008-11-18 Craig Howland <howland@LGSInnovations.com>
1892 * libc/unix/ttyname.c: Add ttyname_r and change ttyname to use
1895 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
1897 * configure.host: RTEMS now uses posix subdirectory.
1899 2008-11-17 Joel Sherrill <joel.sherrill@oarcorp.com>
1901 * sys/rtems/include/limits.h: Add _POSIX2_RE_DUP_MAX.
1902 * sys/rtems/sys/param.h: sys/rtprio.h not needed.
1904 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
1906 * libc/stdio/diprintf.c: Modify documentation so eclipse newlib
1907 libhover docs generate properly.
1908 * libc/stdio/dprintf.c: Ditto.
1909 * libc/stdio/fflush.c: Ditto.
1910 * libc/stdio/fopencookie.c: Ditto.
1911 * libc/stdio/fread.c: Ditto.
1912 * libc/stdio/fsetpos.c: Ditto.
1913 * libc/stdio/getc_u.c: Ditto.
1914 * libc/stdio/getchar_u.c: Ditto.
1915 * libc/stdio/putc_u.c: Ditto.
1916 * libc/stdio/putchar_u.c: Ditto.
1917 * libc/stdio/remove.c: Ditto.
1918 * libc/stdio/siprintf.c: Ditto.
1919 * libc/stdio/siscanf.c: Ditto.
1920 * libc/stdio/sprintf.c: Ditto.
1921 * libc/stdio/sscanf.c: Ditto.
1922 * libc/stdio/vfprintf.c: Ditto.
1923 * libc/stdio/vfscanf.c: Ditto.
1924 * libc/stdio/viprintf.c: Ditto.
1925 * libc/stdio/viscanf.c: Ditto.
1926 * libc/stdlib/calloc.c: Ditto.
1927 * libc/stdlib/efgcvt.c: Ditto.
1928 * libc/stdlib/envlock.c: Ditto.
1929 * libc/time/asctime.c: Ditto.
1930 * libc/time/ctime.c: Ditto.
1931 * libc/time/gmtime.c: Ditto.
1932 * libc/time/lcltime.c: Ditto.
1933 * libc/time/tzset.c: Ditto.
1934 * libc/stdlib/envlock.h: Moved to libc/include.
1936 2008-10-31 Jeff Johnston <jjohnstn@redhat.com>
1938 * libc/include/limits.h: Add ARG_MAX, PATH_MAX, and _POSIX2_RE_DUP_MAX.
1939 * libc/include/envlock.h: New file.
1940 * libc/include/fnmatch.h: Ditto.
1941 * libc/include/glob.h: Ditto.
1942 * libc/include/regex.h: Ditto.
1943 * libc/include/wordexp.h: Ditto.
1944 * libc/posix/Makefile.am: Add new files moved from
1945 libc/sys/linux/stdlib.
1946 * libc/posix/Makefile.in: Regenerated.
1947 * libc/posix/COPYRIGHT: New file moved from libc/sys/linux/stdlib.
1948 * libc/posix/cclass.h: Ditto.
1949 * libc/posix/cname.h: Ditto.
1950 * libc/posix/collate.c: Ditto.
1951 * libc/posix/collate.h: Ditto.
1952 * libc/posix/collcmp.c: Ditto.
1953 * libc/posix/engine.c: Ditto.
1954 * libc/posix/fnmatch.3: Ditto.
1955 * libc/posix/glob.3: Ditto.
1956 * libc/posix/fnmatch.c: Ditto.
1957 * libc/posix/glob.c: Ditto.
1958 * libc/posix/namespace.h: Ditto.
1959 * libc/posix/reallocf.c: Ditto.
1960 * libc/posix/regcomp.c: Ditto.
1961 * libc/posix/regerror.c: Ditto.
1962 * libc/posix/regex.3: Ditto.
1963 * libc/posix/regex2.h: Ditto.
1964 * libc/posix/regexec.c: Ditto.
1965 * libc/posix/regfree.c: Ditto.
1966 * libc/posix/rune.h: Ditto.
1967 * libc/posix/runetype.h: Ditto.
1968 * libc/posix/scandir.c: Remove advertising clause which is not in
1970 * libc/posix/sysexits.h: Ditto.
1971 * libc/posix/un-namespace.h: Ditto.
1972 * libc/posix/utils.h: Ditto.
1973 * libc/posix/wordexp.c: Ditto.
1974 * libc/posix/wordfree.c: Ditto.
1975 * libc/posix/execl.c: Add !_NO_EXECVE flag check.
1976 * libc/posix/execle.c: Ditto.
1977 * libc/posix/execlp.c: Ditto.
1978 * libc/posix/execv.c: Ditto.
1979 * libc/posix/execve.c: Ditto.
1980 * libc/posix/execvp.c: Ditto.
1981 * libc/posix/popen.c: Add !_NO_POPEN flag check.
1982 * libc/sys/linux/configure: Regenerated.
1983 * libc/sys/linux/configure.in: Remove stdlib.
1984 * libc/sys/linux/include/limits.h: Add include of linux/limits.h.
1985 * libc/sys/linux/stdlib/Makefile.am: Removed.
1986 * libc/sys/linux/stdlib/Makefile.in: Ditto.
1987 * libc/sys/linux/stdlib/COPYRIGHT: Moved to libc/posix.
1988 * libc/sys/linux/stdlib/cclass.h: Ditto.
1989 * libc/sys/linux/stdlib/cname.h: Ditto.
1990 * libc/sys/linux/stdlib/collate.c: Ditto.
1991 * libc/sys/linux/stdlib/collate.h: Ditto.
1992 * libc/sys/linux/stdlib/collcmp.c: Ditto.
1993 * libc/sys/linux/stdlib/engine.c: Ditto.
1994 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
1995 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
1996 * libc/sys/linux/stdlib/glob.3: Ditto.
1997 * libc/sys/linux/stdlib/glob.c: Ditto.
1998 * libc/sys/linux/stdlib/reallocf.c: Ditto.
1999 * libc/sys/linux/stdlib/regcomp.c: Ditto.
2000 * libc/sys/linux/stdlib/regerror.c: Ditto.
2001 * libc/sys/linux/stdlib/regex.3: Ditto.
2002 * libc/sys/linux/stdlib/regex2.h: Ditto.
2003 * libc/sys/linux/stdlib/regexec.c: Ditto.
2004 * libc/sys/linux/stdlib/regfree.c: Ditto.
2005 * libc/sys/linux/stdlib/utils.h: Ditto.
2006 * libc/sys/linux/stdlib/wordexp.c: Ditto.
2007 * libc/sys/linux/stdlib/wordfree.c: Ditto.
2009 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
2011 * libc/include/sys/unistd.h: RTEMS follows standard for sync().
2013 2008-10-16 Joel Sherrill <joel.sherrill@oarcorp.com>
2015 * libc/include/time.h: Add CLOCK_MONOTONIC.
2016 * libc/include/sys/features.h: Define
2017 _POSIX_MONOTONIC_CLOCK for RTEMS.
2019 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
2021 * newlib.hin: Restore to previous 1.14 version which has no
2024 2008-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
2026 * libc/include/sys/unistd.h: Enable ttyname_r() for RTEMS.
2028 2008-10-15 Craig Howland <howland@LGSInnovations.com>
2030 * libc/include/ctype.h (isblank): isblank is C99.
2031 * libc/ctype/isblank.c (isblank comments): ditto. isblank does not
2032 have a macro version (as was claimed in the description).
2034 2008-10-15 Jeff Johnston <jjohnstn@redhat.com>
2036 * libc/stdio/vfscanf.c (__ssvfiscanf_r): Do not support %lc, %C, %ls or
2037 %S conversions when the EL/IX level is 1.
2039 2008-10-06 Eric Blake <ebb9@byu.net>
2041 * libc/stdlib/ldtoa.c (etoasc): Fix rounding to even when fraction
2044 2008-10-06 Craig Howland <howland@LGSInnovations.com>
2046 * libc/time/tzset_r.c (_tzset_r): Change US default start/end dates to
2047 2007 law revision of start in 2nd Sunday in March, end 1st Sun in Nov.
2049 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
2051 * libc/string/str-two-way.h (critical_factorization): Cast the index
2052 operation to ensure unsigned rollover occurs when adding to SIZE_MAX.
2054 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
2056 * libc/sys/linux/include/stdint.h (SIZE_MAX): Fix value which should
2057 be size of size_t, not int.
2059 * libc/sys/linux/sys/stdint.h: Ditto.
2061 2008-10-02 Jeff Johnston <jjohnstn@redhat.com>
2063 * libc/include/sys/reent.h[_REENT_SMALL](_REENT_INIT_RAND48): Add
2064 initialization of _rand_next to 1.
2066 2008-09-29 Peter O'Gorman <pogma@thewrittenword.com>
2067 Steve Ellcey <sje@cup.hp.com>
2069 * configure: Regenerate for new libtool.
2070 * aclocal.m4: Ditto.
2071 * Makefile.in: Ditto.
2072 * newlib.hin: Ditto.
2073 * doc/Makefile.in: Ditto.
2074 * doc/configure: Ditto.
2075 * iconvdata/Makefile.in: Ditto.
2076 * iconvdata/aclocal.m4: Ditto.
2077 * iconvdata/configure: Ditto.
2078 * libc/Makefile.in: Ditto.
2079 * libc/aclocal.m4: Ditto.
2080 * libc/configure: Ditto.
2081 * libc/argz/Makefile.in: Ditto.
2082 * libc/ctype/Makefile.in: Ditto.
2083 * libc/errno/Makefile.in: Ditto.
2084 * libc/iconv/Makefile.in: Ditto.
2085 * libc/iconv/ccs/Makefile.in: Ditto.
2086 * libc/iconv/ccs/binary/Makefile.in: Ditto.
2087 * libc/iconv/ces/Makefile.in: Ditto.
2088 * libc/iconv/lib/Makefile.in: Ditto.
2089 * libc/locale/Makefile.in: Ditto.
2090 * libc/machine/Makefile.in: Ditto.
2091 * libc/machine/aclocal.m4: Ditto.
2092 * libc/machine/configure: Ditto.
2093 * libc/machine/a29k/Makefile.in: Ditto.
2094 * libc/machine/a29k/configure: Ditto.
2095 * libc/machine/arm/Makefile.in: Ditto.
2096 * libc/machine/arm/configure: Ditto.
2097 * libc/machine/bfin/Makefile.in: Ditto.
2098 * libc/machine/bfin/configure: Ditto.
2099 * libc/machine/cris/Makefile.in: Ditto.
2100 * libc/machine/cris/configure: Ditto.
2101 * libc/machine/crx/Makefile.in: Ditto.
2102 * libc/machine/crx/configure: Ditto.
2103 * libc/machine/d10v/Makefile.in: Ditto.
2104 * libc/machine/d10v/configure: Ditto.
2105 * libc/machine/d30v/Makefile.in: Ditto.
2106 * libc/machine/d30v/configure: Ditto.
2107 * libc/machine/fr30/Makefile.in: Ditto.
2108 * libc/machine/fr30/configure: Ditto.
2109 * libc/machine/frv/Makefile.in: Ditto.
2110 * libc/machine/frv/configure: Ditto.
2111 * libc/machine/h8300/Makefile.in: Ditto.
2112 * libc/machine/h8300/configure: Ditto.
2113 * libc/machine/h8500/Makefile.in: Ditto.
2114 * libc/machine/h8500/configure: Ditto.
2115 * libc/machine/hppa/Makefile.in: Ditto.
2116 * libc/machine/hppa/configure: Ditto.
2117 * libc/machine/i386/Makefile.in: Ditto.
2118 * libc/machine/i386/aclocal.m4: Ditto.
2119 * libc/machine/i386/configure: Ditto.
2120 * libc/machine/i960/Makefile.in: Ditto.
2121 * libc/machine/i960/configure: Ditto.
2122 * libc/machine/iq2000/Makefile.in: Ditto.
2123 * libc/machine/iq2000/configure: Ditto.
2124 * libc/machine/m32c/Makefile.in: Ditto.
2125 * libc/machine/m32c/configure: Ditto.
2126 * libc/machine/m32r/Makefile.in: Ditto.
2127 * libc/machine/m32r/configure: Ditto.
2128 * libc/machine/m68hc11/Makefile.in: Ditto.
2129 * libc/machine/m68hc11/configure: Ditto.
2130 * libc/machine/m68k/Makefile.in: Ditto.
2131 * libc/machine/m68k/configure: Ditto.
2132 * libc/machine/m88k/Makefile.in: Ditto.
2133 * libc/machine/m88k/configure: Ditto.
2134 * libc/machine/mep/Makefile.in: Ditto.
2135 * libc/machine/mep/configure: Ditto.
2136 * libc/machine/mips/Makefile.in: Ditto.
2137 * libc/machine/mips/configure: Ditto.
2138 * libc/machine/mn10200/Makefile.in: Ditto.
2139 * libc/machine/mn10200/configure: Ditto.
2140 * libc/machine/mn10300/Makefile.in: Ditto.
2141 * libc/machine/mn10300/configure: Ditto.
2142 * libc/machine/mt/Makefile.in: Ditto.
2143 * libc/machine/mt/configure: Ditto.
2144 * libc/machine/necv70/Makefile.in: Ditto.
2145 * libc/machine/necv70/configure: Ditto.
2146 * libc/machine/powerpc/Makefile.in: Ditto.
2147 * libc/machine/powerpc/configure: Ditto.
2148 * libc/machine/sh/Makefile.in: Ditto.
2149 * libc/machine/sh/configure: Ditto.
2150 * libc/machine/sparc/Makefile.in: Ditto.
2151 * libc/machine/sparc/configure: Ditto.
2152 * libc/machine/spu/Makefile.in: Ditto.
2153 * libc/machine/spu/configure: Ditto.
2154 * libc/machine/tic4x/Makefile.in: Ditto.
2155 * libc/machine/tic4x/configure: Ditto.
2156 * libc/machine/tic80/Makefile.in: Ditto.
2157 * libc/machine/tic80/configure: Ditto.
2158 * libc/machine/v850/Makefile.in: Ditto.
2159 * libc/machine/v850/configure: Ditto.
2160 * libc/machine/w65/Makefile.in: Ditto.
2161 * libc/machine/w65/configure: Ditto.
2162 * libc/machine/x86_64/Makefile.in: Ditto.
2163 * libc/machine/x86_64/configure: Ditto.
2164 * libc/machine/xscale/Makefile.in: Ditto.
2165 * libc/machine/xscale/configure: Ditto.
2166 * libc/machine/xstormy16/Makefile.in: Ditto.
2167 * libc/machine/xstormy16/configure: Ditto.
2168 * libc/machine/z8k/Makefile.in: Ditto.
2169 * libc/machine/z8k/configure: Ditto.
2170 * libc/misc/Makefile.in: Ditto.
2171 * libc/posix/Makefile.in: Ditto.
2172 * libc/reent/Makefile.in: Ditto.
2173 * libc/search/Makefile.in: Ditto.
2174 * libc/signal/Makefile.in: Ditto.
2175 * libc/stdio/Makefile.in: Ditto.
2176 * libc/stdio64/Makefile.in: Ditto.
2177 * libc/stdlib/Makefile.in: Ditto.
2178 * libc/string/Makefile.in: Ditto.
2179 * libc/sys/Makefile.in: Ditto.
2180 * libc/sys/aclocal.m4: Ditto.
2181 * libc/sys/configure: Ditto.
2182 * libc/sys/a29khif/Makefile.in: Ditto.
2183 * libc/sys/a29khif/configure: Ditto.
2184 * libc/sys/arc/Makefile.in: Ditto.
2185 * libc/sys/arc/configure: Ditto.
2186 * libc/sys/arm/Makefile.in: Ditto.
2187 * libc/sys/arm/configure: Ditto.
2188 * libc/sys/d10v/Makefile.in: Ditto.
2189 * libc/sys/d10v/configure: Ditto.
2190 * libc/sys/decstation/Makefile.in: Ditto.
2191 * libc/sys/decstation/configure: Ditto.
2192 * libc/sys/h8300hms/Makefile.in: Ditto.
2193 * libc/sys/h8300hms/configure: Ditto.
2194 * libc/sys/h8500hms/Makefile.in: Ditto.
2195 * libc/sys/h8500hms/configure: Ditto.
2196 * libc/sys/linux/Makefile.in: Ditto.
2197 * libc/sys/linux/aclocal.m4: Ditto.
2198 * libc/sys/linux/configure: Ditto.
2199 * libc/sys/linux/argp/Makefile.in: Ditto.
2200 * libc/sys/linux/cmath/Makefile.in: Ditto.
2201 * libc/sys/linux/dl/Makefile.in: Ditto.
2202 * libc/sys/linux/iconv/Makefile.in: Ditto.
2203 * libc/sys/linux/intl/Makefile.in: Ditto.
2204 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
2205 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
2206 * libc/sys/linux/linuxthreads/configure: Ditto.
2207 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
2208 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
2209 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
2210 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
2211 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
2212 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
2213 * libc/sys/linux/machine/Makefile.in: Ditto.
2214 * libc/sys/linux/machine/aclocal.m4: Ditto.
2215 * libc/sys/linux/machine/configure: Ditto.
2216 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
2217 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
2218 * libc/sys/linux/machine/i386/configure: Ditto.
2219 * libc/sys/linux/net/Makefile.in: Ditto.
2220 * libc/sys/linux/stdlib/Makefile.in: Ditto.
2221 * libc/sys/m88kbug/Makefile.in: Ditto.
2222 * libc/sys/m88kbug/configure: Ditto.
2223 * libc/sys/mmixware/Makefile.in: Ditto.
2224 * libc/sys/mmixware/configure: Ditto.
2225 * libc/sys/netware/Makefile.in: Ditto.
2226 * libc/sys/netware/configure: Ditto.
2227 * libc/sys/rdos/Makefile.in: Ditto.
2228 * libc/sys/rdos/configure: Ditto.
2229 * libc/sys/rtems/Makefile.in: Ditto.
2230 * libc/sys/rtems/configure: Ditto.
2231 * libc/sys/sh/Makefile.in: Ditto.
2232 * libc/sys/sh/configure: Ditto.
2233 * libc/sys/sparc64/Makefile.in: Ditto.
2234 * libc/sys/sparc64/configure: Ditto.
2235 * libc/sys/sun4/Makefile.in: Ditto.
2236 * libc/sys/sun4/configure: Ditto.
2237 * libc/sys/sysmec/Makefile.in: Ditto.
2238 * libc/sys/sysmec/configure: Ditto.
2239 * libc/sys/sysnec810/Makefile.in: Ditto.
2240 * libc/sys/sysnec810/configure: Ditto.
2241 * libc/sys/sysnecv850/Makefile.in: Ditto.
2242 * libc/sys/sysnecv850/configure: Ditto.
2243 * libc/sys/sysvi386/Makefile.in: Ditto.
2244 * libc/sys/sysvi386/configure: Ditto.
2245 * libc/sys/sysvnecv70/Makefile.in: Ditto.
2246 * libc/sys/sysvnecv70/configure: Ditto.
2247 * libc/sys/tic80/Makefile.in: Ditto.
2248 * libc/sys/tic80/configure: Ditto.
2249 * libc/sys/w65/Makefile.in: Ditto.
2250 * libc/sys/w65/configure: Ditto.
2251 * libc/sys/z8ksim/Makefile.in: Ditto.
2252 * libc/sys/z8ksim/configure: Ditto.
2253 * libc/syscalls/Makefile.in: Ditto.
2254 * libc/time/Makefile.in: Ditto.
2255 * libc/unix/Makefile.in: Ditto.
2256 * libm/Makefile.in: Ditto.
2257 * libm/aclocal.m4: Ditto.
2258 * libm/configure: Ditto.
2259 * libm/common/Makefile.in: Ditto.
2260 * libm/machine/Makefile.in: Ditto.
2261 * libm/machine/aclocal.m4: Ditto.
2262 * libm/machine/configure: Ditto.
2263 * libm/machine/i386/Makefile.in: Ditto.
2264 * libm/machine/i386/aclocal.m4: Ditto.
2265 * libm/machine/i386/configure: Ditto.
2266 * libm/machine/spu/Makefile.in: Ditto.
2267 * libm/machine/spu/configure: Ditto.
2268 * libm/math/Makefile.in: Ditto.
2269 * libm/mathfp/Makefile.in: Ditto.
2271 2008-09-26 Craig Howland <howland@LGSInnovations.com>
2273 * libc/stdlib/getenv_r.c (_getenv_r): Modify to not match if name
2274 contains an equal sign.
2276 2008-09-25 Raphael Derossa Pereira <raphaelpereira@gmail.com>
2278 * libc/include/pthread.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
2279 new pthread_mutexattr_gettype and pthread_mutexattr_settype
2281 * libc/include/sys/types.h[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add
2282 new mutex type values.
2283 (pthread_mutexattr_t)[_UNIX98_THREAD_MUTEX_ATTRIBUTES]: Add type
2286 2008-09-24 Jeff Johnston <jjohnstn@redhat.com>
2288 * libc/stdlib/setenv_r.c (_unsetenv_r): Modify to return -1 only if
2289 name is NULL, empty, or contains equal sign.
2291 2008-09-24 Pawel Veselov <pawel.veselov@gmail.com>
2293 Fix setenv/getenv/unsetenv to be OpenGroup compliant:
2294 * libc/include/stdlib.h (unsetenv, _unsetenv_r): Redefine with integer
2296 * libc/stdlib/getenv_r.c (_findenv_r): Do no special processing with
2297 names that contain equal chars.
2298 * libc/stdlib/setenv.c: Redefine _unsetenv_r as returning int.
2299 * libc/stdlib/setenv_r.c (_setenv_r): Return -1 and set errno to
2300 EINVAL if name contains an equal sign. Do not remove any equal signs
2302 (_unsetenv_r): Modified to return int. Return -1 and set EINVAL
2303 if name contains equal sign. Return -1 if no variable(s) were found
2304 and return 0 otherwise.
2306 2008-09-19 Eric Blake <ebb9@byu.net>
2308 Supply missing POSIX errno values.
2309 * libc/include/sys/errno.h (ENOTRECOVERABLE, EOWNERDEAD): Define.
2310 * libc/string/strerror.c (strerror): Decode them, and ECANCELED.
2312 2008-09-10 Ken Werner <ken.werner@de.ibm.com>
2314 * libc/machine/spu/strcpy.h: Add missing header.
2315 * libc/machine/spu/spu_timer_slih.c: Remove unused Variable.
2316 * libm/machine/spu/headers/lgammaf4.h: Add type cast.
2318 2008-09-08 Jeff Johnston <jjohnstn@redhat.com>
2320 * libc/sys/linux/dl/atomicity.h (exchange_and_add): Fix asm
2321 statement to use "m" instead of "0".
2322 (atomic_add): Ditto.
2323 * libc/sys/linux/linuxthreads/spinlock.c (__pthread_release): Ditto.
2324 * libc/sys/linux/net/getaddrinfo.c: Add limit.h include.
2325 * libc/sys/linux/stdlib/glob.c: Ditto.
2327 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
2329 * libm/machine/spu/headers/acosd2.h: Duplicated preamble text removed.
2330 * libm/machine/spu/headers/acosf4.h: Likewise.
2331 * libm/machine/spu/headers/acoshd2.h: Likewise.
2332 * libm/machine/spu/headers/acoshf4.h: Likewise.
2333 * libm/machine/spu/headers/asind2.h: Likewise.
2334 * libm/machine/spu/headers/asinf4.h: Likewise.
2335 * libm/machine/spu/headers/asinhd2.h: Likewise.
2336 * libm/machine/spu/headers/asinhf4.h: Likewise.
2337 * libm/machine/spu/headers/atan2d2.h: Likewise.
2338 * libm/machine/spu/headers/atan2f4.h: Likewise.
2339 * libm/machine/spu/headers/atand2.h: Likewise.
2340 * libm/machine/spu/headers/atanf4.h: Likewise.
2341 * libm/machine/spu/headers/atanhd2.h: Likewise.
2342 * libm/machine/spu/headers/atanhf4.h: Likewise.
2343 * libm/machine/spu/headers/cos_sin.h: Likewise.
2344 * libm/machine/spu/headers/cosd2.h: Likewise.
2345 * libm/machine/spu/headers/cosf4.h: Likewise.
2346 * libm/machine/spu/headers/coshd2.h: Likewise.
2347 * libm/machine/spu/headers/coshf4.h: Likewise.
2348 * libm/machine/spu/headers/divd2.h: Likewise.
2349 * libm/machine/spu/headers/divf4.h: Likewise.
2350 * libm/machine/spu/headers/erf_utils.h: Likewise.
2351 * libm/machine/spu/headers/erfcd2.h: Likewise.
2352 * libm/machine/spu/headers/erfcf4.h: Likewise.
2353 * libm/machine/spu/headers/erfd2.h: Likewise.
2354 * libm/machine/spu/headers/erff4.h: Likewise.
2355 * libm/machine/spu/headers/exp2d2.h: Likewise.
2356 * libm/machine/spu/headers/exp2f4.h: Likewise.
2357 * libm/machine/spu/headers/expd2.h: Likewise.
2358 * libm/machine/spu/headers/expf4.h: Likewise.
2359 * libm/machine/spu/headers/expm1d2.h: Likewise.
2360 * libm/machine/spu/headers/expm1f4.h: Likewise.
2361 * libm/machine/spu/headers/floord2.h: Likewise.
2362 * libm/machine/spu/headers/floorf4.h: Likewise.
2363 * libm/machine/spu/headers/hypotd2.h: Likewise.
2364 * libm/machine/spu/headers/hypotf4.h: Likewise.
2365 * libm/machine/spu/headers/isnand2.h: Likewise.
2366 * libm/machine/spu/headers/isnanf4.h: Likewise.
2367 * libm/machine/spu/headers/ldexpd2.h: Likewise.
2368 * libm/machine/spu/headers/ldexpf4.h: Likewise.
2369 * libm/machine/spu/headers/lgammad2.h: Likewise.
2370 * libm/machine/spu/headers/lgammaf4.h: Likewise.
2371 * libm/machine/spu/headers/log10d2.h: Likewise.
2372 * libm/machine/spu/headers/log1pd2.h: Likewise.
2373 * libm/machine/spu/headers/log1pf4.h: Likewise.
2374 * libm/machine/spu/headers/log2d2.h: Likewise.
2375 * libm/machine/spu/headers/log2f4.h: Likewise.
2376 * libm/machine/spu/headers/logbf4.h: Likewise.
2377 * libm/machine/spu/headers/logd2.h: Likewise.
2378 * libm/machine/spu/headers/logf4.h: Likewise.
2379 * libm/machine/spu/headers/nearbyintf4.h: Likewise.
2380 * libm/machine/spu/headers/nextafterd2.h: Likewise.
2381 * libm/machine/spu/headers/nextafterf4.h: Likewise.
2382 * libm/machine/spu/headers/powd2.h: Likewise.
2383 * libm/machine/spu/headers/powf4.h: Likewise.
2384 * libm/machine/spu/headers/recipd2.h: Likewise.
2385 * libm/machine/spu/headers/recipf4.h: Likewise.
2386 * libm/machine/spu/headers/rintf4.h: Likewise.
2387 * libm/machine/spu/headers/scalbnf4.h: Likewise.
2388 * libm/machine/spu/headers/signbitd2.h: Likewise.
2389 * libm/machine/spu/headers/sincosd2.h: Likewise.
2390 * libm/machine/spu/headers/sincosf4.h: Likewise.
2391 * libm/machine/spu/headers/sind2.h: Likewise.
2392 * libm/machine/spu/headers/sinf4.h: Likewise.
2393 * libm/machine/spu/headers/sinhd2.h: Likewise.
2394 * libm/machine/spu/headers/sinhf4.h: Likewise.
2395 * libm/machine/spu/headers/sqrtd2.h: Likewise.
2396 * libm/machine/spu/headers/sqrtf4.h: Likewise.
2397 * libm/machine/spu/headers/tand2.h: Likewise.
2398 * libm/machine/spu/headers/tanf4.h: Likewise.
2399 * libm/machine/spu/headers/tanhd2.h: Likewise.
2400 * libm/machine/spu/headers/tanhf4.h: Likewise.
2401 * libm/machine/spu/headers/tgammad2.h: Likewise.
2402 * libm/machine/spu/headers/tgammaf4.h: Likewise.
2403 * libm/machine/spu/headers/truncd2.h: Likewise.
2404 * libm/machine/spu/headers/truncf4.h: Likewise.
2405 * libm/machine/spu/headers/simdmath.h: Likewise.
2407 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
2409 * libm/machine/spu/headers/acoshf4.h: Rebase against current simdmath.
2410 * libm/machine/spu/headers/asinhd2.h: Likewise.
2411 * libm/machine/spu/headers/atanhd2.h: Likewise.
2412 * libm/machine/spu/headers/atanhf4.h: Likewise.
2413 * libm/machine/spu/headers/erff4.h: Likewise.
2414 * libm/machine/spu/headers/expd2.h: Likewise.
2415 * libm/machine/spu/headers/ldexpd2.h: Likewise.
2416 * libm/machine/spu/headers/lgammaf4.h: Likewise.
2417 * libm/machine/spu/headers/logbf4.h: Likewise.
2418 * libm/machine/spu/headers/nextafterd2.h: Likewise.
2419 * libm/machine/spu/headers/nextafterf4.h: Likewise.
2420 * libm/machine/spu/headers/recipd2.h: Likewise.
2421 * libm/machine/spu/headers/simdmath.h: Likewise.
2422 * libm/machine/spu/headers/acoshd2.: Likewise.
2424 2008-09-04 Ken Werner <ken.werner@de.ibm.com>
2426 * libm/machine/spu/headers/cbrt.h: cbrt_factors[] declared.
2427 * libm/machine/spu/headers/cbrtf.h: Likewise.
2429 2008-09-01 Ken Werner <ken.werner@de.ibm.com>
2431 * libc/machine/spu/include/spu_timer.h: spu_timebase function added.
2432 * libc/machine/spu/spu_timebase.c: New file.
2433 * libc/machine/spu/Makefile.am: Add new file.
2434 * libc/machine/spu/Makefile.in: Regenerated.
2436 2008-08-28 Craig Howland <howland@LGSInnovations.com>
2438 * libc/time/mktime.c (mktime): Fix tm_isdst value usage (allowing
2439 any positive value from user (per std) rather than depending
2442 2008-08-28 Corinna Vinschen <corinna@vinschen.de>
2444 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Optimize condition
2445 for accepting a converted character.
2447 2008-08-27 Sandra Loosemore <sandra@codesourcery.com>
2449 * libc/libc.texinfo: Remove "LOCAL KLUGE" that prevents it
2451 * libm/libm.texinfo: Likewise.
2453 2008-08-27 Corinna Vinschen <corinna@vinschen.de>
2455 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Fix condition for
2456 accepting a converted character and continuing the loop.
2458 2008-07-24 Jeff Johnston <jjohnstn@redhat.com>
2460 * libc/include/ctype.h (_ctype_): Restore for C++ backward
2463 2008-07-21 Jeff Johnston <jjohnstn@redhat.com>
2465 * libc/ctype/ctype_.c: Add new pointer __ctype_ptr__ which is one
2466 less than the old __ctype_ptr.
2467 * libc/ctype/isalnum.c: Use __ctype_ptr__.
2468 * libc/ctype/isalpha.c: Ditto.
2469 * libc/ctype/iscntrl.c: Ditto.
2470 * libc/ctype/isdigit.c: Ditto.
2471 * libc/ctype/islower.c: Ditto.
2472 * libc/ctype/isprint.c: Ditto.
2473 * libc/ctype/ispunct.c: Ditto.
2474 * libc/ctype/isspace.c: Ditto.
2475 * libc/ctype/isupper.c: Ditto.
2476 * libc/ctype/isxdigit.c: Ditto.
2477 * libc/include/ctype.h: Change ctype macros to use new __ctype_ptr__
2478 and add declaration of __ctype_ptr__. Remove older ctype table pointers
2479 from here even though they can still work.
2481 2008-07-18 Ken Werner <ken.werner@de.ibm.com>
2483 * libc/machine/spu/strcpy.h: Fix error in previous patch.
2485 2008-07-17 Jeff Johnston <jjohnstn@redhat.com>
2487 * libc/include/assert.h (__ASSERT_FUNC): Define to __FUNCTION__ when
2488 __STDC_VERSION__ < 199901L and __GNUC__ >= 2.
2490 2008-07-17 Ken Werner <ken.werner@de.ibm.com>
2492 * libc/machine/spu/strcpy.h: Pad null bytes if necessary.
2494 2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>
2496 * libc/machine/mn10300/memset.S: Fix bug where return value is
2497 incorrectly set if number of bytes set is a multiple of 4.
2499 2008-07-07 Hans-Peter Nilsson <hp@axis.com>
2501 * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
2502 (strncpy): Cast src to uintptr_t before checking alignment with "&".
2504 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
2506 * libc/argz/argz_count.c: Include stddef.h to get size_t.
2507 * libc/argz/argz_extract.c: Ditto.
2508 * libc/argz/argz_stringify.c: Ditto.
2509 * libc/search/hash.h: Ditto.
2510 * libc/sys/linux/include/sched.h: Ditto.
2511 * libc/sys/linux/sys/types.h: Ditto.
2513 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
2515 * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
2516 source data is taken care of before loop unrolling.
2518 2008-06-25 Hans-Peter Nilsson <hp@axis.com>
2520 Fix strict-aliasing issues with _strtod_r and Storeinc.
2521 * libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
2522 rv, rv0 from double to type U. Use accessor macros dval, dword0
2523 and dword1 for all accesses except for the ULtod call, where rv.i
2524 replaces the pointer cast.
2525 * libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
2526 of access macros. Tweak comment.
2527 Remove #ifdef'd YES_ALIAS code.
2528 (dword0, dword1, dval): Define in terms of uncast union member
2529 access. Ditto for _DOUBLE_IS_32BITS variants.
2530 (Storeinc): Replace aliasing-flawed microoptimized definition with
2531 alternative suggested in comment. Remove now stale comment.
2533 2008-06-21 Corinna Vinschen <corinna@vinschen.de>
2535 * libc/include/machine/setjmp.h (_longjmp): Define as function on
2539 2008-06-18 Eric Blake <ebb9@byu.net>
2541 Per Posix, strsignal returns non-const char*.
2542 * libc/include/string.h (strsignal): Fix return type.
2544 2008-06-17 Ken Werner <ken.werner@de.ibm.com>
2546 * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
2549 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
2551 * libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
2552 * libc/machine/spu/sys/sched.h: Likewise.
2553 * libc/machine/spu/sys/syscall.h: Likewise.
2555 2008-06-16 Ken Werner <ken.werner@de.ibm.com>
2557 * libc/machine/spu/mk_syscalls: Provide .type and .size directives
2558 in generated assembler files.
2559 * libc/machine/spu/fprintf.S: Regenerate.
2560 * libc/machine/spu/fscanf.S: Regenerate.
2561 * libc/machine/spu/printf.S: Regenerate.
2562 * libc/machine/spu/scanf.S: Regenerate.
2563 * libc/machine/spu/snprintf.S: Regenerate.
2564 * libc/machine/spu/sprintf.S: Regenerate.
2565 * libc/machine/spu/sscanf.S: Regenerate.
2566 * libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
2567 and .size directives.
2568 * libc/machine/spu/setjmp.S (setjmp): Likewise.
2569 (longjmp): Likewise.
2571 2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
2573 * libc/include/machine/_default_types.h: Fix GNUC check to
2574 handle 4.0 and greater.
2576 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
2578 * libc/machine/spu/Makefile.am: Add new files.
2579 * libc/machine/spu/Makefile.in: Likewise.
2580 * libc/machine/spu/include/spu_timer.h: New file to add timer support
2582 * libc/machine/spu/spu_clock_stop.c: Likewise.
2583 * libc/machine/spu/spu_clock_svcs.c: Likewise.
2584 * libc/machine/spu/spu_timer_flih.S: Likewise.
2585 * libc/machine/spu/spu_timer_free.c: Likewise.
2586 * libc/machine/spu/spu_timer_internal.h: Likewise.
2587 * libc/machine/spu/spu_timer_slih.c: Likewise.
2588 * libc/machine/spu/spu_timer_slih_reg.c: Likewise.
2589 * libc/machine/spu/spu_timer_stop.c: Likewise.
2590 * libc/machine/spu/spu_timer_svcs.c: Likewise.
2592 2008-06-09 Ken Werner <ken.werner@de.ibm.com>
2594 * libc/machine/spu/strcat.c: Return value fixed.
2595 * libc/machine/spu/strncat.c: Likewise.
2597 2008-05-28 Eric Blake <ebb9@byu.net>
2599 Fix bug in previous patch.
2600 * libc/machine/i386/memset.S (memset): Mask second arg correctly.
2602 2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
2604 * libc/string/memset.c: Fix documented prototype to remove
2605 erroneous const attribute on first parameter.
2607 2008-05-26 Eric Blake <ebb9@byu.net>
2609 Optimize the generic and x86 memchr.
2610 * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
2611 Pre-align pointer so unaligned searches aren't penalized.
2612 * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
2613 operations are faster than repnz byte searches.
2615 2008-05-26 Eric Blake <ebb9@byu.net>
2617 Optimize the generic and x86 memset.
2618 * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
2619 Pre-align pointer so unaligned stores aren't penalized.
2620 * libc/machine/i386/memset.S (memset) [!__OPTIMIZE_SIZE__]:
2621 Pre-align pointer so unaligned stores aren't penalized. Prefer
2622 8-byte over 4-byte alignment. Reduce register pressure.
2624 2008-05-26 Eric Blake <ebb9@byu.net>
2626 Optimize the generic and x86 strlen.
2627 * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
2628 data so unaligned searches aren't penalized.
2629 * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
2630 Word operations are faster than repnz byte searches.
2632 2008-05-23 Corinna Vinschen <corinna@vinschen.de>
2634 * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
2636 2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
2638 * libc/include/sys/reent.h: Add _h_errno field.
2639 * libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
2640 now used in net directory.
2641 * libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
2642 * libc/sys/linux/include/hesiod.h: Add needed macros for new code
2644 * libc/sys/linux/include/netdb.h: Ditto.
2645 * libc/sys/linux/include/resolv.h: Ditto.
2646 * libc/sys/linux/include/stdint.h: Ditto.
2647 * libc/sys/linux/include/arpa/nameser.h: Ditto.
2648 * libc/sys/linux/include/net/ethernet.h: Ditto.
2649 * libc/sys/linux/include/net/if_ppp.h: Ditto.
2650 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
2651 * libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
2652 * libc/sys/linux/machine/i386/include/endian.h: Protect macros with
2653 flags to avoid duplicate definition.
2654 * libc/sys/linux/machine/i386/include/param.h: Ditto.
2655 * libc/sys/linux/net/Makefile.am: Modified to account for removed and
2657 * libc/sys/linux/net/Makefile.in: Regenerated.
2658 * libc/sys/linux/net/base64.c: Replaced with glibc version of code.
2659 * libc/sys/linux/net/getaddrinfo.c: Ditto.
2660 * libc/sys/linux/net/getnameinfo.c: Ditto.
2661 * libc/sys/linux/net/getproto.c: Ditto.
2662 * libc/sys/linux/net/getservent.c: Ditto.
2663 * libc/sys/linux/net/inet_netof.c: Ditto.
2664 * libc/sys/linux/net/inet_lnaof.c: Ditto.
2665 * libc/sys/linux/net/ns_name.c: Ditto.
2666 * libc/sys/linux/net/ns_netint.c: Ditto.
2667 * libc/sys/linux/net/inet_ntoa.c: Ditto.
2668 * libc/sys/linux/net/ns_parse.c: Ditto.
2669 * libc/sys/linux/net/ns_print.c: Ditto.
2670 * libc/sys/linux/net/ns_ttl.c: Ditto.
2671 * libc/sys/linux/net/nsap_addr.c: Ditto.
2672 * libc/sys/linux/net/rcmd.c: Ditto.
2673 * libc/sys/linux/net/res_comp.c: Ditto.
2674 * libc/sys/linux/net/res_data.c: Ditto.
2675 * libc/sys/linux/net/res_debug.c: Ditto.
2676 * libc/sys/linux/net/res_init.c: Ditto.
2677 * libc/sys/linux/net/res_mkquery.c: Ditto.
2678 * libc/sys/linux/net/res_query.c: Ditto.
2679 * libc/sys/linux/net/res_send.c: Ditto.
2680 * libc/sys/linux/net/send.c: Ditto.
2681 * libc/sys/linux/stdlib/collate.c: Ditto.
2682 * libc/sys/linux/sys/ioctl.h: Ditto.
2683 * libc/sys/linux/sys/socket.h: Ditto.
2684 * libc/sys/linux/sys/unistd.h: Ditto.
2685 * libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
2686 used or because licensing includes advertising clause that cannot be
2688 * libc/sys/linux/iconv/strtab.c: Ditto.
2689 * libc/sys/linux/include/libc_private.h: Ditto.
2690 * libc/sys/linux/include/nsswitch.h: Ditto.
2691 * libc/sys/linux/include/net/if_atm.h: Ditto.
2692 * libc/sys/linux/include/net/if_media.h: Ditto.
2693 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
2694 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
2695 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
2696 * libc/sys/linux/intl/locale.alias: Ditto.
2697 * libc/sys/linux/net/addr2ascii.3: Ditto.
2698 * libc/sys/linux/net/bindresvport.c: Ditto.
2699 * libc/sys/linux/net/byteorder.3: Ditto.
2700 * libc/sys/linux/net/res_config.h: Ditto.
2701 * libc/sys/linux/net/ether_addr.c: Ditto.
2702 * libc/sys/linux/net/ethers.3: Ditto.
2703 * libc/sys/linux/net/getaddrinfo.3: Ditto.
2704 * libc/sys/linux/net/gethostbydns.c: Ditto.
2705 * libc/sys/linux/net/gethostbyht.c: Ditto.
2706 * libc/sys/linux/net/gethostbyname.3: Ditto.
2707 * libc/sys/linux/net/gethostbynis.c: Ditto.
2708 * libc/sys/linux/net/gethostnamadr.c: Ditto.
2709 * libc/sys/linux/net/getifaddrs.3: Ditto.
2710 * libc/sys/linux/net/getifaddrs.c: Ditto.
2711 * libc/sys/linux/net/getipnodebyname.3: Ditto.
2712 * libc/sys/linux/net/getnameinfo.3: Ditto.
2713 * libc/sys/linux/net/getnetbydns.c: Ditto.
2714 * libc/sys/linux/net/getnetbyht.c: Ditto.
2715 * libc/sys/linux/net/getnetbynis.c: Ditto.
2716 * libc/sys/linux/net/getnetent.3: Ditto.
2717 * libc/sys/linux/net/getnetnamadr.c: Ditto.
2718 * libc/sys/linux/net/getprotoent.3: Ditto.
2719 * libc/sys/linux/net/getprotoent.c: Ditto.
2720 * libc/sys/linux/net/getprotoname.c: Ditto.
2721 * libc/sys/linux/net/getservbyname.c: Ditto.
2722 * libc/sys/linux/net/getservbyport.c: Ditto.
2723 * libc/sys/linux/net/getservent.3: Ditto.
2724 * libc/sys/linux/net/herror.c: Ditto.
2725 * libc/sys/linux/net/hesiod.3: Ditto.
2726 * libc/sys/linux/net/hesiod.c: Ditto.
2727 * libc/sys/linux/net/if_indextoname.3: Ditto.
2728 * libc/sys/linux/net/inet.3: Ditto.
2729 * libc/sys/linux/net/inet6_option_space.3: Ditto.
2730 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
2731 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
2732 * libc/sys/linux/net/inet_net.3: Ditto.
2733 * libc/sys/linux/net/inet_network.c: Ditto.
2734 * libc/sys/linux/net/innetgr-stub.c: Ditto.
2735 * libc/sys/linux/net/ip6opt.c: Ditto.
2736 * libc/sys/linux/net/iso_addr.3: Ditto.
2737 * libc/sys/linux/net/iso_addr.c: Ditto.
2738 * libc/sys/linux/net/linkaddr.3: Ditto.
2739 * libc/sys/linux/net/linkaddr.c: Ditto.
2740 * libc/sys/linux/net/map_v4v6.c: Ditto.
2741 * libc/sys/linux/net/name6.c: Ditto.
2742 * libc/sys/linux/net/namespace.h: Ditto.
2743 * libc/sys/linux/net/ns.3: Ditto.
2744 * libc/sys/linux/net/ns_addr.c: Ditto.
2745 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2746 * libc/sys/linux/net/nsdispatch.3: Ditto.
2747 * libc/sys/linux/net/nsdispatch.c: Ditto.
2748 * libc/sys/linux/net/nslexer.c: Ditto.
2749 * libc/sys/linux/net/nslexer.l: Ditto.
2750 * libc/sys/linux/net/nsparser.c: Ditto.
2751 * libc/sys/linux/net/nsparser.h: Ditto.
2752 * libc/sys/linux/net/nsparser.y: Ditto.
2753 * libc/sys/linux/net/rcmd.3: Ditto.
2754 * libc/sys/linux/net/rcmdsh.3: Ditto.
2755 * libc/sys/linux/net/res_mkupdate.c: Ditto.
2756 * libc/sys/linux/net/res_update.c: Ditto.
2757 * libc/sys/linux/net/resolver.3: Ditto.
2758 * libc/sys/linux/net/rthdr.c: Ditto.
2759 * libc/sys/linux/net/vars.c: Ditto.
2760 * libc/sys/linux/shlib-compat.h: New file.
2761 * libc/sys/linux/machine/i386/atomic.h: Ditto.
2762 * libc/sys/linux/net/XXX-lookup.c: Ditto.
2763 * libc/sys/linux/net/alias-lookup.c: Ditto.
2764 * libc/sys/linux/net/res_libc.c: Ditto.
2765 * libc/sys/linux/net/aliases.h: Ditto.
2766 * libc/sys/linux/net/check_pf.c: Ditto.
2767 * libc/sys/linux/net/databases.def: Ditto.
2768 * libc/sys/linux/net/digits_dots.c: Ditto.
2769 * libc/sys/linux/net/ether_aton.c: Ditto.
2770 * libc/sys/linux/net/ether_aton_r.c: Ditto.
2771 * libc/sys/linux/net/ether_hton.c: Ditto.
2772 * libc/sys/linux/net/ether_line.c: Ditto.
2773 * libc/sys/linux/net/ether_ntoa.c: Ditto.
2774 * libc/sys/linux/net/ether_ntoa_r.c: Ditto.
2775 * libc/sys/linux/net/ether_ntoh.c: Ditto.
2776 * libc/sys/linux/net/etherent.h: Ditto.
2777 * libc/sys/linux/net/ethers-lookup.c: Ditto.
2778 * libc/sys/linux/net/function.def: Ditto.
2779 * libc/sys/linux/net/getXXbyYY.c: Ditto.
2780 * libc/sys/linux/net/getXXbyYY_r.c: Ditto.
2781 * libc/sys/linux/net/getXXent.c: Ditto.
2782 * libc/sys/linux/net/getXXent_r.c: Ditto.
2783 * libc/sys/linux/net/getaliasent.c: Ditto.
2784 * libc/sys/linux/net/getaliasent_r.c: Ditto.
2785 * libc/sys/linux/net/getaliasname.c: Ditto.
2786 * libc/sys/linux/net/getaliasname_r.c: Ditto.
2787 * libc/sys/linux/net/gethstbyad.c: Ditto.
2788 * libc/sys/linux/net/gethstbyad_r.c: Ditto.
2789 * libc/sys/linux/net/gethstbynm.c: Ditto.
2790 * libc/sys/linux/net/gethstbynm2.c: Ditto.
2791 * libc/sys/linux/net/gethstbynm2_r.c: Ditto.
2792 * libc/sys/linux/net/gethstbynm_r.c: Ditto.
2793 * libc/sys/linux/net/gethstent.c: Ditto.
2794 * libc/sys/linux/net/gethstent_r.c: Ditto.
2795 * libc/sys/linux/net/getnetbyad.c: Ditto.
2796 * libc/sys/linux/net/getnetbyad_r.c: Ditto.
2797 * libc/sys/linux/net/getnetbynm.c: Ditto.
2798 * libc/sys/linux/net/getnetbynm_r.c: Ditto.
2799 * libc/sys/linux/net/getnetent.c: Ditto.
2800 * libc/sys/linux/net/getnetent_r.c: Ditto.
2801 * libc/sys/linux/net/getnetgrent.c: Ditto.
2802 * libc/sys/linux/net/getnetgrent_r.c: Ditto.
2803 * libc/sys/linux/net/getnssent.c: Ditto.
2804 * libc/sys/linux/net/getnssent_r.c: Ditto.
2805 * libc/sys/linux/net/getproto_r.c: Ditto.
2806 * libc/sys/linux/net/getprtent.c: Ditto.
2807 * libc/sys/linux/net/getprtent_r.c: Ditto.
2808 * libc/sys/linux/net/getprtname.c: Ditto.
2809 * libc/sys/linux/net/getprtname_r.c: Ditto.
2810 * libc/sys/linux/net/getrpcbyname.c: Ditto.
2811 * libc/sys/linux/net/getrpcbyname_r.c: Ditto.
2812 * libc/sys/linux/net/getrpcbynumber.c: Ditto.
2813 * libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
2814 * libc/sys/linux/net/getrpcent.c: Ditto.
2815 * libc/sys/linux/net/getrpcent_r.c: Ditto.
2816 * libc/sys/linux/net/getservent_r.c: Ditto.
2817 * libc/sys/linux/net/getsrvbynm.c: Ditto.
2818 * libc/sys/linux/net/getsrvbynm_r.c: Ditto.
2819 * libc/sys/linux/net/getsrvbypt.c: Ditto.
2820 * libc/sys/linux/net/getsrvbypt_r.c: Ditto.
2821 * libc/sys/linux/net/grp-lookup.c: Ditto.
2822 * libc/sys/linux/net/herrno.c: Ditto.
2823 * libc/sys/linux/net/hosts-lookup.c: Ditto.
2824 * libc/sys/linux/net/ifaddrs.h: Ditto.
2825 * libc/sys/linux/net/ifreq.c: Ditto.
2826 * libc/sys/linux/net/ifreq.h: Ditto.
2827 * libc/sys/linux/net/in6_addr.c: Ditto.
2828 * libc/sys/linux/net/inet6_option.c: Ditto.
2829 * libc/sys/linux/net/inet_mkadr.c: Ditto.
2830 * libc/sys/linux/net/inet_net.c: Ditto.
2831 * libc/sys/linux/net/key-lookup.c: Ditto.
2832 * libc/sys/linux/net/local.h: Ditto.
2833 * libc/sys/linux/net/netgroup.h: Ditto.
2834 * libc/sys/linux/net/netgrp-lookup.c: Ditto.
2835 * libc/sys/linux/net/network-lookup.c: Ditto.
2836 * libc/sys/linux/net/not-cancel.h: Ditto.
2837 * libc/sys/linux/net/ns_samedomain.c: Ditto.
2838 * libc/sys/linux/net/nscd-types.h: Ditto.
2839 * libc/sys/linux/net/nss.h: Ditto.
2840 * libc/sys/linux/net/nsswitch.c: Ditto.
2841 * libc/sys/linux/net/nsswitch.h: Ditto.
2842 * libc/sys/linux/net/opensock.c: Ditto.
2843 * libc/sys/linux/net/proto-lookup.c: Ditto.
2844 * libc/sys/linux/net/pwd-lookup.c: Ditto.
2845 * libc/sys/linux/net/res_debug.h: Ditto.
2846 * libc/sys/linux/net/res_hconf.c: Ditto.
2847 * libc/sys/linux/net/res_hconf.h: Ditto.
2848 * libc/sys/linux/net/rexec.c: Ditto.
2849 * libc/sys/linux/net/rpc-lookup.c: Ditto.
2850 * libc/sys/linux/net/ruserpass.c: Ditto.
2851 * libc/sys/linux/net/service-lookup.c: Ditto.
2852 * libc/sys/linux/net/spwd-lookup.c: Ditto.
2853 * libc/sys/linux/net/nscd/nscd-client.h: Ditto.
2854 * libc/sys/linux/net/nscd/nscd_proto.h: Ditto.
2856 2008-05-21 Eric Blake <ebb9@byu.net>
2858 Optimize the generic strchr.
2859 * libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
2860 data so unaligned searches aren't penalized. Special-case
2863 Optimize strchr for x86.
2864 * libc/machine/i386/strchr.S (strchr) [!__OPTIMIZE_SIZE__]:
2865 Pre-align data so unaligned searches aren't penalized.
2866 Special-case searching for 0.
2868 2008-05-20 Nick Clifton <nickc@redhat.com>
2870 * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
2872 2008-05-20 DJ Delorie <dj@redhat.com>
2874 * libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.
2876 2008-05-14 Jeff Johnston <jjohnstn@redhat.com>
2878 * libc/include/sys/reent.h: Change _REENT_INIT... macros to
2879 access macro parameter with parentheses around it.
2881 2008-04-26 Mark Mitchell <mark@codesourcery.com>
2883 * libc/include/stdint.h (SIZE_MIN): Remove.
2885 * testsuite/newlib.stdlib/stdlib.exp: New.
2886 * testsuite/newlib.stdlib/size_max.c: Likewise.
2888 2008-04-29 Eric Blake <ebb9@byu.net>
2890 Fix 2008-04-14 regression in asprintf(ptr,"").
2891 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): Avoid stdio
2893 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): Likewise.
2894 * libc/stdio/asiprintf.c (asiprintf, _asiprintf_r): Likewise.
2895 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
2896 * libc/stdio/vsnprintf.c (_vsnprintf_r): Likewise.
2897 * libc/stdio/vfprintf.c (_VFPRINTF_R) [STRING_ONLY]: Always malloc
2898 an initial buffer for asprintf.
2900 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
2902 * libc/include/sys/stat.h: Guard at-functions with !__INSIDE_CYGWIN__.
2903 (fstatat): Fix type of third parameter.
2905 2008-04-25 Nick Clifton <nickc@redhat.com>
2907 * libc/machine/arm/setjmp.S: Fix thumb2 support.
2909 2008-04-24 Nick Clifton <nickc@redhat.com>
2911 * libc/include/machine/ieeefp.h: Fix typo: _DOUBLE_IS_32_BITS
2912 should be _DOUBLE_IS_32BITS.
2914 2008-04-24 Corinna Vinschen <corinna@vinschen.de>
2916 * libc/include/sys/stat.h (UTIME_NOW): Define for Cygwin.
2917 (UTIME_OMIT): Ditto.
2918 (utimensat): Declare for Cygwin.
2921 2008-04-23 Ken Werner <ken.werner@de.ibm.com>
2923 * libc/include/_ansi.h: _LONG_LONG renamed to _LONG_LONG_TYPE.
2924 * libc/include/math.h: Likewise.
2926 2008-04-23 Corinna Vinschen <corinna@vinschen.de>
2928 * libc/include/stdio.h (renameat): Declare for Cygwin.
2930 * libc/include/sys/unistd.h (readlink): Align declaration to POSIX.
2931 (faccessat): Declare for Cygwin.
2934 (readlinkat): Ditto.
2935 * libc/include/sys/_default_fcntl.h (AT_FDCWD): Define for Cygwin.
2936 (AT_EACCESS): Ditto.
2937 (AT_SYMLINK_NOFOLLOW): Ditto.
2938 (AT_SYMLINK_FOLLOW): Ditto.
2939 (AT_REMOVEDIR): Ditto.
2940 (futimesat): Declare for Cygwin.
2943 * libc/include/sys/stat.h (fchmodat): Ditto.
2949 2008-04-22 Nick Clifton <nickc@redhat.com>
2951 * libc/machine/arm/setjmp.S: Add support for thumb2 multiple
2952 register load/store instructions.
2954 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
2956 * libc/machine/spu/sys/errno.h: Use _impure_data, not _reent_data.
2958 2008-04-16 Patrick Mansfield <patmans@us.ibm.com>
2960 * libc/machine/spu/impure.c: Add missing underscore to impure_data.
2962 2008-04-14 Patrick Mansfield <patmans@us.ibm.com>
2964 * libc/machine/spu/impure.c: New file, supply a non-static _impure_data.
2965 * libc/machine/spu/Makefile.am: Add new file impure.c.
2966 * libc/machine/spu/Makefile.in: Regenerate.
2967 * libc/machine/spu/sys/errno.h: Define errno to be _reent_data._errno.
2969 2008-04-14 Jeff Johnston <jjohnstn@redhat.com>
2971 * libc/stdio/Makefile.am: Build vfprintf.c and vfscanf.c with
2972 -DSTRING_ONLY defined with and without -DINTEGER_ONLY defined
2973 to build special versions for sprintf/sscanf family functions.
2974 * libc/stdio/Makefile.in: Regenerated.
2975 * libc/stdio/vfprintf.c[STRING_ONLY][INTEGER_ONLY](_VFPRINTF_R):
2976 Redefine to be _svfiprintf_r which is optimized to work with siprintf
2977 family of functions (i.e. no I/O) and does not support floating-point.
2978 [STRING_ONLY][!INTEGER_ONLY](_VFPRINTF_R): Redefine to be
2979 _svfprintf_r which is optimized to work with sprintf family of
2980 functions and not use I/O.
2981 [STRING_ONLY](__sprint_r): New string only version of static function.
2982 designed to work with sprintf family of functions.
2983 * libc/stdio/vfscanf.c[STRING_ONLY][INTEGER_ONLY](_SVFSCANF_R):
2984 Redefine to be _ssvfiscanf_r which is optimized to work with siscanf
2985 family of functions (i.e. no I/O) and no float-point support.
2986 [STRING_ONLY][!INTEGER_ONLY](_SVFSCANF_R): Redefine to be
2987 __ssvfscanf_r which is optimized to work with sscanf family of
2988 functions and does not require I/O functions.
2989 * libc/stdio/asprintf.c: Call _svfprintf_r instead of _vfprintf_r.
2990 * libc/stdio/snprintf.c: Ditto.
2991 * libc/stdio/sprintf.c: Ditto.
2992 * libc/stdio/vasnprintf.c: Ditto.
2993 * libc/stdio/vasprintf.c: Ditto.
2994 * libc/stdio/siprintf.c: Call _svfiprintf_r instead of _vfiprintf_r.
2995 * libc/stdio/sniprintf.c: Ditto.
2996 * libc/stdio/vasiprintf.c: Ditto.
2997 * libc/stdio/vsiprintf.c: Ditto.
2998 * libc/stdio/vsniprintf.c: Ditto.
2999 * libc/stdio/vsprintf.c: Ditto.
3000 * libc/stdio/local.h: Add prototypes for _svfprintf_r, _svfiprintf_r,
3001 _ssvfscanf_r, and _ssvfiscanf_r.
3002 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
3003 * libc/stdio/vsscanf.c: Ditto.
3004 * libc/stdio/siscanf.c: Call _ssvfiscanf_r instead of _svfiscanf_r.
3005 * libc/stdio/vsiscanf.c: Ditto.
3007 2008-04-04 DJ Delorie <dj@redhat.com>
3009 * libm/machine/spu/configure: Regenerate with autoconf 2.61.
3010 * libc/sys/configure: Regenerate with autoconf 2.61.
3011 * libc/machine/configure: Regenerate with autoconf 2.61.
3013 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
3015 * libc/machine/spu/memcmp.c: New file for SPU optimized memcmp.
3016 * libc/machine/spu/strncmp.h: New file supply _strncmp_internal.
3017 * libc/machine/spu/Makefile.am: Add memcmp.c.
3018 * libc/machine/spu/Makefile.in: Rebuild.
3019 * libc/machine/spu/strncmp.c: Use _strncmp_internal.
3021 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
3023 * configure.host: Build SPU with -DREENTRANT_SYSCALLS_PROVIDED and
3024 -DMISSING_SYSCALL_NAMES.
3026 2008-04-01 Patrick Mansfield <patmans@us.ibm.com>
3028 * libc/machine/spu/Makefile.am: Add assert.c.
3029 * libc/machine/spu/Makefile.in: Regenerate.
3030 * libc/machine/spu/assert.c: New file.
3032 2008-03-27 Patrick Mansfield <patmans@us.ibm.com>
3034 * libc/include/reent.h: Define _func_r functions in this file to
3035 func if REENTRANT_SYSCALLS_PROVIDED and MISSING_SYSCALL_NAMES are
3038 2008-03-27 Corinna Vinschen <corinna@vinschen.de>
3040 * libc/include/sys/unistd.h: Declare lockf(2) and define lockf
3041 constants when building for Cygwin.
3043 2008-03-11 Jeff Johnston <jjohnstn@redhat.com>
3045 * libc/stdio/rgetc.c (__srget_r): Invoke CHECK_INIT to ensure
3046 stdin gets resolved properly before refilling.
3048 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
3050 * libc/include/getopt.h: Hide newlib extensions under
3051 the __need_getopt_newlib flag.
3052 * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
3053 getopt.h. Put entire code under !HAVE_GETOPT to support platforms
3054 with their own getopt implementation.
3055 * configure.host: Specify HAVE_GETOPT for x86-linux.
3057 2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
3059 * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
3060 this macro completely instead of referring to CHECK_STD_INIT which
3061 is only found in libc/stdio/local.h.
3062 * libc/stdio/dprintf.c: Add include of local.h.
3063 * libc/stdio/vdprintf.c: Ditto.
3064 * libc/stdio/vdiprintf.c: Ditto.
3066 2008-03-04 Eric Blake <ebb9@byu.net>
3068 Fix strtod("nan()", ptr).
3069 * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
3070 n-char-sequence is omitted, still parse the ().
3072 2008-03-03 Eric Blake <ebb9@byu.net>
3074 Fix ftell bug after ungetc.
3075 * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
3077 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
3078 * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
3079 repositioning underlying fd offset.
3081 2008-03-02 Jeff Johnston <jjohnstn@redhat.com>
3083 * libc/include/getopt.h (no_argument): Added for glibc compatibility.
3084 (required_argument, optional_argument): Ditto.
3086 2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
3088 * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
3089 data area so as to support reentrant calls. Change all callers
3090 to fill in data area with global values and restore any changes
3091 to the global values after call.
3092 (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
3093 to support reentrancy that add a data area argument.
3094 * libc/include/getopt.h: Add new _r routines and provide macros
3095 so they can be called with using double-underscores.
3097 2008-02-21 Eric Blake <ebb9@byu.net>
3099 Fix strtod("-0x", NULL).
3100 * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
3103 2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
3105 * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
3106 for user specifying --disable-newlib-io-long-long on configure.
3107 Call _fflush_r instead of fflush. For _mbtowc_r, pass the
3108 reentrant pointer passed in rather than _REENT.
3110 2008-02-12 Peter Rosin <peda@lysator.liu.se>
3112 * libc/stdlib/getopt.c (getopt_internal): Handle optional
3113 arguments better for long options and short options not
3114 appearing as the first option in a sequence.
3116 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
3118 * libc/machine/spu/straddr.h: New file, supplies _straddr.
3119 * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
3120 * libc/machine/spu/strcpy.c: Use _strcpy.
3121 * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
3122 str[n]cpy and str[n]cat.
3123 * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
3124 * libc/machine/spu/strncpy.c: Use _strcpy.
3126 2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
3128 * libc/machine/spu/strlen.c: Remove the len variable and unneeded
3129 calculation of its value.
3131 2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
3133 * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
3136 2008-01-21 DJ Delorie <dj@redhat.com>
3138 * libc/sys/sh/syscalls.c (_isatty): New.
3140 2008-01-21 Neal H. Walfield <neal@gnu.org>
3142 * Makefile.am (crt1.o): Use correct source.
3143 * Makefile.in: Regenerated.
3145 2008-01-15 Eric Blake <ebb9@byu.net>
3147 * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
3148 * libc/string/Makefile: Regenerate.
3150 2008-01-15 Corinna Vinschen <corinna@vinschen.de>
3152 * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
3153 pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
3154 (sigsetjmp): Use __SIGMASK_FUNC.
3155 (siglongjmp): Ditto.
3156 (_setjmp): Define as macro.
3159 2008-01-11 Eric Blake <ebb9@byu.net>
3161 Make strstr and strcasestr O(n), not O(n^2); add memmem.
3162 * libc/string/str-two-way.h: New file.
3163 * libc/string/memmem.c (memmem): New file.
3164 * libc/include/string.h (memmem): Declare for all platforms.
3165 * libc/string/strstr.c (strstr): Provide O(n) implementation when
3166 not optimizing for space.
3167 * libc/string/strcasestr.c (strcasestr): Likewise.
3168 * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
3169 (ELIX_2_SOURCES): ...this.
3170 (ELIX_4_SOURCES): New category, for memmem.
3171 (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
3172 (CHEWOUT_FILES): Build documentation for memmem.
3173 * libc/string/strings.tex: Include new docs.
3175 2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
3177 * libc/machine/m68k/memcpy.S: Remove % from register references
3178 as this is already handled by m68kasm.h.
3179 * libc/machine/m68k/memset.S: Ditto.
3181 2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
3183 * libc/machine/m68k/m68kasm.h: New file.
3184 * libc/machine/m68k/setjmp.S: Remove common definitions and
3185 place in m68kasm.h. Include "m68kasm.h".
3186 * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
3187 SYM() macro when referencing function name.
3188 * libc/machine/m68k/memset.S: Ditto.
3190 2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
3192 Make isatty syscall handling consistent with other newlib syscalls.
3194 * libc/include/_syslist.h: Add _isatty.
3195 * libc/include/reent.h: Add _isatty_r.
3196 * libc/include/sys/unistd.h: Add _isatty.
3197 * libc/posix/Makefile.am: Add new _isatty.c file.
3198 * libc/posix/Makefile.in: Regenerated.
3199 * libc/posix/_isatty.c: New file.
3200 * libc/posix/isatty.c: Changed to call _isatty().
3201 * libc/reent/Makefile.am: Add new isattyr.c file.
3202 * libc/reent/Makefile.in: Regenerated.
3203 * libc/reent/isattyr.c: New file.
3204 * libc/stdio/freopen.c: Changed to call _isatty_r().
3205 * libc/stdio/makebuf.c: Ditto.
3206 * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
3207 * libc/sys/arc/isatty.c: Ditto.
3208 * libc/sys/arm/syscalls.c: Ditto.
3209 * libc/sys/d10v/syscalls.c: Ditto.
3210 * libc/sys/h8300hms/syscalls.c: Ditto.
3211 * libc/sys/h8500hms/syscalls.c: Ditto.
3212 * libc/sys/linux/Makefile.am: Add new isatty.c file.
3213 * libc/sys/linux/Makefile.in: Regenerated.
3214 * libc/sys/linux/isatty.c: New file.
3215 * libc/syscalls/Makefile.am: Add new sysisatty.c file.
3216 * libc/syscalls/Makefile.in: Regenerated.
3217 * libc/syscalls/sysisatty.c: New file.
3219 2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
3221 * libc/syscalls/sysclose.c: Always call reentrant version of the
3222 underlying syscall since one is guaranteed to exist in libc/reent.
3223 * libc/syscalls/sysexecve.c: Ditto.
3224 * libc/syscalls/sysfcntl.c: Ditto.
3225 * libc/syscalls/sysfork.c: Ditto.
3226 * libc/syscalls/sysfstat.c: Ditto.
3227 * libc/syscalls/sysgetpid.c: Ditto.
3228 * libc/syscalls/sysgettod.c: Ditto.
3229 * libc/syscalls/syskill.c: Ditto.
3230 * libc/syscalls/syslink.c: Ditto.
3231 * libc/syscalls/syslseek.c: Ditto.
3232 * libc/syscalls/sysopen.c: Ditto.
3233 * libc/syscalls/sysread.c: Ditto.
3234 * libc/syscalls/syssbrk.c: Ditto.
3235 * libc/syscalls/sysstat.c: Ditto.
3236 * libc/syscalls/systimes.c: Ditto.
3237 * libc/syscalls/sysunlink.c: Ditto.
3238 * libc/syscalls/syswait.c: Ditto.
3239 * libc/syscalls/syswrite.c: Ditto.
3241 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
3243 * NEWS: Update with 1.16.0 info.
3245 * acinclude.m4: Change version number to 1.16.0.
3246 * aclocal.m4: Regenerated.
3248 * doc/aclocal.m4: Ditto.
3249 * doc/configure: Ditto.
3250 * libc/*/aclocal.m4: Ditto.
3251 * libc/*/configure: Ditto.
3252 * libc/libc.texinfo: Ditto.
3253 * libm/*/aclocal.m4: Ditto.
3254 * libm/*/configure: Ditto.
3255 * libm/libm.texinfo: Ditto.
3256 * libc/sys/linux/shared.ld: Add VERS_1.16.
3258 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
3260 * libc/string/strcasestr.c: Remove id macro.
3261 * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
3262 field reference to be __sched_priority.
3263 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
3264 * libc/sys/linux/linuxthreads/manager.c: Ditto.
3265 * libc/sys/linux/stdlib/collate.c: Remove id macro.
3266 * libc/sys/linux/stdlib/collcmp.c: Ditto.
3267 * libc/sys/linux/stdlib/engine.c: Ditto.
3268 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
3269 * libc/sys/linux/stdlib/glob.c: Ditto.
3270 * libc/sys/linux/stdlib/reallocf.c: Ditto.
3271 * libc/sys/linux/stdlib/regcomp.c: Ditto.
3272 * libc/sys/linux/stdlib/regerror.c: Ditto.
3273 * libc/sys/linux/stdlib/regexec.c: Ditto.
3274 * libc/sys/linux/stdlib/regfree.c: Ditto.
3275 * libc/sys/linux/sys/cdefs.h: Replace with latest version.
3276 * libc/sys/linux/include/argp.h: Ditto.
3277 * libc/sys/linux/sys/libc-lock.h: New file.
3278 * libc/sys/linux/sys/stdint.h: Ditto.
3279 * libc/sys/linux/include/sched.h: New file.
3281 2007-12-19 Dave Korn <dave.korn@artimi.com>
3282 Jeff Johnston <jjohnstn@redhhat.com>
3284 * libc/include/_ansi.h: Add _LONG_LONG definition.
3285 * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
3287 * libc/machine/i386/machine/fastmath.h: Add support for new i386
3288 fast math versions of rint, lrint, and llrint family functions.
3289 * libm/machine/i386/Makefile.am: Add new files.
3290 * libm/machine/i386/Makefile.in: Regenerated.
3291 * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
3292 libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
3293 libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
3294 libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
3295 libm/machine/i386/f_rintl.c: New files with fast math implementations.
3297 2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
3299 * libc/include/sys/features.h: Add checks for C90 compilers using
3302 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
3304 * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
3305 * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
3307 (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
3308 * libc/string/Makefile.in: Regenerate.
3309 * libc/string/wcpcpy.c: New file.
3310 * libc/string/wcpncpy.c: New file.
3311 * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
3313 2007-12-19 Corinna Vinschen <corinna@vinschen.de>
3315 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
3318 2007-11-19 Nick Clifton <nickc@redhat.com>
3320 * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
3321 * libc/machine/mn10300/Makefile.in: Regenerate.
3322 * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
3323 .debug_frame section.
3324 * libc/machine/mn10300/memcmp.S: Likewise.
3325 * libc/machine/mn10300/memcpy.S: Likewise.
3326 * libc/machine/mn10300/memset.S: Likewise.
3327 * libc/machine/mn10300/strchr.S: Likewise.
3328 * libc/machine/mn10300/strcmp.S: Likewise.
3329 * libc/machine/mn10300/strcpy.S: Likewise.
3330 * libc/machine/mn10300/strlen.S: Likewise.
3332 2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
3334 * libc/include/sys/_default_fcntl.h: New header file that
3335 is the default version of sys/fcntl.h.
3336 * libc/include/sys/fcntl.h: Changed to simply include
3337 sys/_default_fcntl.h.
3338 * libc/sys/arm/sys/fcntl.h: New file that includes
3339 sys/_default_fcntl.h and defines O_BINARY.
3341 2007-11-08 Corinna Vinschen <corinna@vinschen.de>
3343 * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
3345 2007-11-07 Dave Brolley <brolley@redhat.com>
3347 * libc/machine/configure: Regenerated to pick up mep-elf changes.
3349 * Contribute mep-elf from Red Hat
3350 2006-10-27 DJ Delorie <dj@redhat.com>
3352 * libc/include/machine/setjmp.h: Add MeP support.
3354 2003-04-17 DJ Delorie <dj@redhat.com>
3356 * configure.host (mep-*-*): Support "long long" type.
3358 2001-06-06 DJ Delorie <dj@redhat.com>
3360 * libc/include/machine/ieeefp.h (mep): Support little endian too.
3362 2001-05-14 DJ Delorie <dj@redhat.com>
3364 * configure.host: Add mep's machine_dir.
3365 * libc/include/setjmp.h: Add mep support.
3366 * libc/machine/mep: New.
3367 * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
3369 2001-05-04 DJ Delorie <dj@redhat.com>
3371 * configure.host: Add mep.
3372 * libc/include/machine/ieeefp.h: Ditto.
3374 2007-10-31 DJ Delorie <dj@redhat.com>
3376 * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
3377 signal table, just use a default, in case initialization cause
3380 2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
3382 * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
3383 size if output buffer is NULL.
3385 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
3387 * libm/mathfp/s_logarithm.c: Fix error introduced by previous
3388 fix when handling negative input values. Make function
3389 consistent with math directory and glibc version such that
3390 inf and nan values return inf and nan respectively with no
3392 * libm/mathfp/sf_logarithm.c: Ditto.
3393 * libm/math/w_log.c: Set errno to ERANGE when input is 0.0.
3394 * libm/math/wf_log.c: Ditto.
3395 * libm/math/w_log10.c: Ditto.
3396 * libm/math/wf_log10.c: Ditto.
3398 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
3400 * libm/mathfp/s_logarithm.c: Fix case where input is 0 to
3402 * libm/mathfp/sf_logarithm.c: Ditto.
3404 2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
3406 * libc/machine/i386/machine/fastmath.h: New file.
3408 2007-10-13 Eric Blake <ebb9@byu.net>
3410 * libc/stdio/vfprintf.c (_VFPRINTF_R) [__OPTIMIZE_SIZE__]:
3411 Correctly nest else within conditionals.
3412 Reported by Artur Lipowski.
3414 2007-10-09 Nick Clifton <nickc@redhat.com>
3416 * libc/sys/linux/dl/do-lookup.h (FCT): Support symbols with
3417 the STT_COMMON type.
3419 2007-10-09 Ben Elliston <bje@au.ibm.com>
3421 * libm/machine/spu/headers/acosd2.h: Include spu_intrinsics.h
3422 before simdmath.h to get a definition for `vector'.
3423 * libm/machine/spu/headers/asind2.h: Likewise.
3425 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
3427 * libm/machine/spu/headers/dom_chkd_less_than.h: New file.
3428 * libm/machine/spu/headers/dom_chkd_negone_one.h: Ditto.
3429 * libm/machine/spu/headers/dom_chkf_less_than.h: Ditto.
3430 * libm/machine/spu/headers/dom_chkf_negone_one.h: Ditto.
3431 * libm/machine/spu/headers/acos.h: Add domain check.
3432 * libm/machine/spu/headers/acosf.h: Ditto.
3433 * libm/machine/spu/headers/acosh.h: Ditto.
3434 * libm/machine/spu/headers/acoshf.h: Ditto.
3435 * libm/machine/spu/headers/asin.h: Ditto.
3436 * libm/machine/spu/headers/asinf.h: Ditto.
3437 * libm/machine/spu/headers/atanh.h: Ditto.
3438 * libm/machine/spu/headers/atanhf.h: Ditto.
3439 * libm/machine/spu/headers/fmod.h: Ditto.
3440 * libm/machine/spu/headers/fmodf.h: Ditto.
3441 * libm/machine/spu/headers/log.h: Ditto.
3442 * libm/machine/spu/headers/log10.h: Ditto.
3443 * libm/machine/spu/headers/log1p.h: Ditto.
3444 * libm/machine/spu/headers/log1pf.h: Ditto.
3445 * libm/machine/spu/headers/log2.h: Ditto.
3446 * libm/machine/spu/headers/log2f.h: Ditto.
3447 * libm/machine/spu/headers/sqrt.h: Ditto.
3448 * libm/machine/spu/headers/sqrtf.h: Ditto.
3449 * libm/machine/spu/headers/tgamma.h: Ditto.
3450 * libm/machine/spu/headers/tgammaf.h: Ditto.
3452 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
3454 * libm/machine/spu/Makefile.am: Add new C files.
3455 * libm/machine/spu/Makefile.in: Regenerate.
3456 * libm/machine/spu/headers/acos.h: New file.
3457 * libm/machine/spu/headers/acosd2.h: Ditto.
3458 * libm/machine/spu/headers/acosf.h: Ditto.
3459 * libm/machine/spu/headers/acosf4.h: Ditto.
3460 * libm/machine/spu/headers/acosh.h: Ditto.
3461 * libm/machine/spu/headers/acoshd2.h: Ditto.
3462 * libm/machine/spu/headers/acoshf.h: Ditto.
3463 * libm/machine/spu/headers/acoshf4.h: Ditto.
3464 * libm/machine/spu/headers/asin.h: Ditto.
3465 * libm/machine/spu/headers/asind2.h: Ditto.
3466 * libm/machine/spu/headers/asinf.h: Ditto.
3467 * libm/machine/spu/headers/asinf4.h: Ditto.
3468 * libm/machine/spu/headers/asinh.h: Ditto.
3469 * libm/machine/spu/headers/asinhd2.h: Ditto.
3470 * libm/machine/spu/headers/asinhf.h: Ditto.
3471 * libm/machine/spu/headers/asinhf4.h: Ditto.
3472 * libm/machine/spu/headers/atan.h: Ditto.
3473 * libm/machine/spu/headers/atan2.h: Ditto.
3474 * libm/machine/spu/headers/atan2d2.h: Ditto.
3475 * libm/machine/spu/headers/atan2f.h: Ditto.
3476 * libm/machine/spu/headers/atan2f4.h: Ditto.
3477 * libm/machine/spu/headers/atand2.h: Ditto.
3478 * libm/machine/spu/headers/atanf4.h: Ditto.
3479 * libm/machine/spu/headers/atanh.h: Ditto.
3480 * libm/machine/spu/headers/atanhd2.h: Ditto.
3481 * libm/machine/spu/headers/atanhf.h: Ditto.
3482 * libm/machine/spu/headers/atanhf4.h: Ditto.
3483 * libm/machine/spu/headers/cos.h: Ditto.
3484 * libm/machine/spu/headers/cos_sin.h: Ditto.
3485 * libm/machine/spu/headers/cosd2.h: Ditto.
3486 * libm/machine/spu/headers/cosf.h: Ditto.
3487 * libm/machine/spu/headers/cosf4.h: Ditto.
3488 * libm/machine/spu/headers/cosh.h: Ditto.
3489 * libm/machine/spu/headers/coshd2.h: Ditto.
3490 * libm/machine/spu/headers/coshf.h: Ditto.
3491 * libm/machine/spu/headers/coshf4.h: Ditto.
3492 * libm/machine/spu/headers/divd2.h: Ditto.
3493 * libm/machine/spu/headers/divf4.h: Ditto.
3494 * libm/machine/spu/headers/erf.h: Ditto.
3495 * libm/machine/spu/headers/erf_utils.h: Ditto.
3496 * libm/machine/spu/headers/erfc.h: Ditto.
3497 * libm/machine/spu/headers/erfcd2.h: Ditto.
3498 * libm/machine/spu/headers/erfcf.h: Ditto.
3499 * libm/machine/spu/headers/erfcf4.h: Ditto.
3500 * libm/machine/spu/headers/erfd2.h: Ditto.
3501 * libm/machine/spu/headers/erff.h: Ditto.
3502 * libm/machine/spu/headers/erff4.h: Ditto.
3503 * libm/machine/spu/headers/exp.h: Ditto.
3504 * libm/machine/spu/headers/exp2.h: Ditto.
3505 * libm/machine/spu/headers/exp2d2.h: Ditto.
3506 * libm/machine/spu/headers/exp2f4.h: Ditto.
3507 * libm/machine/spu/headers/expd2.h: Ditto.
3508 * libm/machine/spu/headers/expf4.h: Ditto.
3509 * libm/machine/spu/headers/expm1.h: Ditto.
3510 * libm/machine/spu/headers/expm1d2.h: Ditto.
3511 * libm/machine/spu/headers/expm1f.h: Ditto.
3512 * libm/machine/spu/headers/expm1f4.h: Ditto.
3513 * libm/machine/spu/headers/floord2.h: Ditto.
3514 * libm/machine/spu/headers/floorf4.h: Ditto.
3515 * libm/machine/spu/headers/hypot.h: Ditto.
3516 * libm/machine/spu/headers/hypotd2.h: Ditto.
3517 * libm/machine/spu/headers/hypotf.h: Ditto.
3518 * libm/machine/spu/headers/hypotf4.h: Ditto.
3519 * libm/machine/spu/headers/isnan.h: Ditto.
3520 * libm/machine/spu/headers/isnand2.h: Ditto.
3521 * libm/machine/spu/headers/isnanf.h: Ditto.
3522 * libm/machine/spu/headers/isnanf4.h: Ditto.
3523 * libm/machine/spu/headers/ldexpd2.h: Ditto.
3524 * libm/machine/spu/headers/ldexpf4.h: Ditto.
3525 * libm/machine/spu/headers/lgamma.h: Ditto.
3526 * libm/machine/spu/headers/lgammad2.h: Ditto.
3527 * libm/machine/spu/headers/lgammaf.h: Ditto.
3528 * libm/machine/spu/headers/lgammaf4.h: Ditto.
3529 * libm/machine/spu/headers/log.h: Ditto.
3530 * libm/machine/spu/headers/log10.h: Ditto.
3531 * libm/machine/spu/headers/log10d2.h: Ditto.
3532 * libm/machine/spu/headers/log1p.h: Ditto.
3533 * libm/machine/spu/headers/log1pd2.h: Ditto.
3534 * libm/machine/spu/headers/log1pf.h: Ditto.
3535 * libm/machine/spu/headers/log1pf4.h: Ditto.
3536 * libm/machine/spu/headers/log2.h: Ditto.
3537 * libm/machine/spu/headers/log2d2.h: Ditto.
3538 * libm/machine/spu/headers/log2f4.h: Ditto.
3539 * libm/machine/spu/headers/logbf.h: Ditto.
3540 * libm/machine/spu/headers/logbf4.h: Ditto.
3541 * libm/machine/spu/headers/logd2.h: Ditto.
3542 * libm/machine/spu/headers/logf4.h: Ditto.
3543 * libm/machine/spu/headers/nearbyintf.h: Ditto.
3544 * libm/machine/spu/headers/nearbyintf4.h: Ditto.
3545 * libm/machine/spu/headers/nextafter.h: Ditto.
3546 * libm/machine/spu/headers/nextafterd2.h: Ditto.
3547 * libm/machine/spu/headers/nextafterf.h: Ditto.
3548 * libm/machine/spu/headers/nextafterf4.h: Ditto.
3549 * libm/machine/spu/headers/pow.h: Ditto.
3550 * libm/machine/spu/headers/powd2.h: Ditto.
3551 * libm/machine/spu/headers/powf.h: Ditto.
3552 * libm/machine/spu/headers/powf4.h: Ditto.
3553 * libm/machine/spu/headers/recipd2.h: Ditto.
3554 * libm/machine/spu/headers/recipf4.h: Ditto.
3555 * libm/machine/spu/headers/rintf.h: Ditto.
3556 * libm/machine/spu/headers/rintf4.h: Ditto.
3557 * libm/machine/spu/headers/scalbnf4.h: Ditto.
3558 * libm/machine/spu/headers/signbit.h: Ditto.
3559 * libm/machine/spu/headers/signbitd2.h: Ditto.
3560 * libm/machine/spu/headers/simdmath.h: Ditto.
3561 * libm/machine/spu/headers/sin.h: Ditto.
3562 * libm/machine/spu/headers/sincos.h: Ditto.
3563 * libm/machine/spu/headers/sincosd2.h: Ditto.
3564 * libm/machine/spu/headers/sincosf.h: Ditto.
3565 * libm/machine/spu/headers/sincosf4.h: Ditto.
3566 * libm/machine/spu/headers/sind2.h: Ditto.
3567 * libm/machine/spu/headers/sinf.h: Ditto.
3568 * libm/machine/spu/headers/sinf4.h: Ditto.
3569 * libm/machine/spu/headers/sinh.h: Ditto.
3570 * libm/machine/spu/headers/sinhd2.h: Ditto.
3571 * libm/machine/spu/headers/sinhf.h: Ditto.
3572 * libm/machine/spu/headers/sinhf4.h: Ditto.
3573 * libm/machine/spu/headers/sqrtd2.h: Ditto.
3574 * libm/machine/spu/headers/sqrtf.h: Ditto.
3575 * libm/machine/spu/headers/sqrtf4.h: Ditto.
3576 * libm/machine/spu/headers/tan.h: Ditto.
3577 * libm/machine/spu/headers/tand2.h: Ditto.
3578 * libm/machine/spu/headers/tanf.h: Ditto.
3579 * libm/machine/spu/headers/tanf4.h: Ditto.
3580 * libm/machine/spu/headers/tanh.h: Ditto.
3581 * libm/machine/spu/headers/tanhd2.h: Ditto.
3582 * libm/machine/spu/headers/tanhf.h: Ditto.
3583 * libm/machine/spu/headers/tanhf4.h: Ditto.
3584 * libm/machine/spu/headers/tgamma.h: Ditto.
3585 * libm/machine/spu/headers/tgammad2.h: Ditto.
3586 * libm/machine/spu/headers/tgammaf.h: Ditto.
3587 * libm/machine/spu/headers/tgammaf4.h: Ditto.
3588 * libm/machine/spu/headers/truncd2.h: Ditto.
3589 * libm/machine/spu/headers/truncf4.h: Ditto.
3590 * libm/machine/spu/log2.c: Ditto.
3591 * libm/machine/spu/s_asinh.c: Ditto.
3592 * libm/machine/spu/s_atan.c: Ditto.
3593 * libm/machine/spu/s_cos.c: Ditto.
3594 * libm/machine/spu/s_erf.c: Ditto.
3595 * libm/machine/spu/s_expm1.c: Ditto.
3596 * libm/machine/spu/s_isnan.c: Ditto.
3597 * libm/machine/spu/s_log1p.c: Ditto.
3598 * libm/machine/spu/s_nextafter.c: Ditto.
3599 * libm/machine/spu/s_sin.c: Ditto.
3600 * libm/machine/spu/s_tan.c: Ditto.
3601 * libm/machine/spu/s_tanh.c: Ditto.
3602 * libm/machine/spu/sf_asinh.c: Ditto.
3603 * libm/machine/spu/sf_cos.c: Ditto.
3604 * libm/machine/spu/sf_erf.c: Ditto.
3605 * libm/machine/spu/sf_expm1.c: Ditto.
3606 * libm/machine/spu/sf_log1p.c: Ditto.
3607 * libm/machine/spu/sf_logb.c: Ditto.
3608 * libm/machine/spu/sf_nearbyint.c: Ditto.
3609 * libm/machine/spu/sf_nextafter.c: Ditto.
3610 * libm/machine/spu/sf_rint.c: Ditto.
3611 * libm/machine/spu/sf_sin.c: Ditto.
3612 * libm/machine/spu/sf_tan.c: Ditto.
3613 * libm/machine/spu/sf_tanh.c: Ditto.
3614 * libm/machine/spu/w_acos.c: Ditto.
3615 * libm/machine/spu/w_acosh.c: Ditto.
3616 * libm/machine/spu/w_asin.c: Ditto.
3617 * libm/machine/spu/w_atan2.c: Ditto.
3618 * libm/machine/spu/w_atanh.c: Ditto.
3619 * libm/machine/spu/w_cosh.c: Ditto.
3620 * libm/machine/spu/w_exp.c: Ditto.
3621 * libm/machine/spu/w_exp2.c: Ditto.
3622 * libm/machine/spu/w_hypot.c: Ditto.
3623 * libm/machine/spu/w_lgamma.c: Ditto.
3624 * libm/machine/spu/w_log.c: Ditto.
3625 * libm/machine/spu/w_log10.c: Ditto.
3626 * libm/machine/spu/w_pow.c: Ditto.
3627 * libm/machine/spu/w_sincos.c: Ditto.
3628 * libm/machine/spu/w_sinh.c: Ditto.
3629 * libm/machine/spu/w_tgamma.c: Ditto.
3630 * libm/machine/spu/wf_acos.c: Ditto.
3631 * libm/machine/spu/wf_acosh.c: Ditto.
3632 * libm/machine/spu/wf_asin.c: Ditto.
3633 * libm/machine/spu/wf_atan2.c: Ditto.
3634 * libm/machine/spu/wf_atanh.c: Ditto.
3635 * libm/machine/spu/wf_cosh.c: Ditto.
3636 * libm/machine/spu/wf_hypot.c: Ditto.
3637 * libm/machine/spu/wf_lgamma.c: Ditto.
3638 * libm/machine/spu/wf_pow.c: Ditto.
3639 * libm/machine/spu/wf_sincos.c: Ditto.
3640 * libm/machine/spu/wf_sinh.c: Ditto.
3641 * libm/machine/spu/wf_sqrt.c: Ditto.
3642 * libm/machine/spu/wf_tgamma.c: Ditto.
3644 2007-09-28 Patrick Mansfield <patmans@us.ibm.com>
3646 * configure.host: Define _POSIX_MODE to match the existing vector
3647 math code, as we don't support the matherr callout.
3648 * libm/machine/spu/Makefile.am: New file.
3649 * libm/machine/spu/Makefile.in: Auto-generated.
3650 * libm/machine/spu/headers/atanf.h: New file.
3651 * libm/machine/spu/headers/cbrt.h: Ditto.
3652 * libm/machine/spu/headers/cbrtf.h: Ditto.
3653 * libm/machine/spu/headers/ceil.h: Ditto.
3654 * libm/machine/spu/headers/ceilf.h: Ditto.
3655 * libm/machine/spu/headers/copysign.h: Ditto.
3656 * libm/machine/spu/headers/copysignf.h: Ditto.
3657 * libm/machine/spu/headers/exp2f.h: Ditto.
3658 * libm/machine/spu/headers/expf.h: Ditto.
3659 * libm/machine/spu/headers/fabs.h: Ditto.
3660 * libm/machine/spu/headers/fabsf.h: Ditto.
3661 * libm/machine/spu/headers/fdim.h: Ditto.
3662 * libm/machine/spu/headers/fdimf.h: Ditto.
3663 * libm/machine/spu/headers/floor.h: Ditto.
3664 * libm/machine/spu/headers/floorf.h: Ditto.
3665 * libm/machine/spu/headers/fma.h: Ditto.
3666 * libm/machine/spu/headers/fmaf.h: Ditto.
3667 * libm/machine/spu/headers/fmax.h: Ditto.
3668 * libm/machine/spu/headers/fmaxf.h: Ditto.
3669 * libm/machine/spu/headers/fmin.h: Ditto.
3670 * libm/machine/spu/headers/fminf.h: Ditto.
3671 * libm/machine/spu/headers/fmod.h: Ditto.
3672 * libm/machine/spu/headers/fmodf.h: Ditto.
3673 * libm/machine/spu/headers/frexp.h: Ditto.
3674 * libm/machine/spu/headers/frexpf.h: Ditto.
3675 * libm/machine/spu/headers/ilogb.h: Ditto.
3676 * libm/machine/spu/headers/ilogbf.h: Ditto.
3677 * libm/machine/spu/headers/ldexp.h: Ditto.
3678 * libm/machine/spu/headers/ldexpf.h: Ditto.
3679 * libm/machine/spu/headers/llrint.h: Ditto.
3680 * libm/machine/spu/headers/llrintf.h: Ditto.
3681 * libm/machine/spu/headers/llround.h: Ditto.
3682 * libm/machine/spu/headers/llroundf.h: Ditto.
3683 * libm/machine/spu/headers/log10f.h: Ditto.
3684 * libm/machine/spu/headers/log2f.h: Ditto.
3685 * libm/machine/spu/headers/logf.h: Ditto.
3686 * libm/machine/spu/headers/lrint.h: Ditto.
3687 * libm/machine/spu/headers/lrintf.h: Ditto.
3688 * libm/machine/spu/headers/lround.h: Ditto.
3689 * libm/machine/spu/headers/lroundf.h: Ditto.
3690 * libm/machine/spu/headers/nearbyint.h: Ditto.
3691 * libm/machine/spu/headers/remainder.h: Ditto.
3692 * libm/machine/spu/headers/remainderf.h: Ditto.
3693 * libm/machine/spu/headers/remquo.h: Ditto.
3694 * libm/machine/spu/headers/remquof.h: Ditto.
3695 * libm/machine/spu/headers/rint.h: Ditto.
3696 * libm/machine/spu/headers/round.h: Ditto.
3697 * libm/machine/spu/headers/roundf.h: Ditto.
3698 * libm/machine/spu/headers/scalbn.h: Ditto.
3699 * libm/machine/spu/headers/scalbnf.h: Ditto.
3700 * libm/machine/spu/headers/sqrt.h: Ditto.
3701 * libm/machine/spu/headers/trunc.h: Ditto.
3702 * libm/machine/spu/headers/truncf.h: Ditto.
3703 * libm/machine/spu/headers/vec_literal.h: Ditto.
3704 * libm/machine/spu/llrint.c: Ditto.
3705 * libm/machine/spu/llrintf.c: Ditto.
3706 * libm/machine/spu/llround.c: Ditto.
3707 * libm/machine/spu/llroundf.c: Ditto.
3708 * libm/machine/spu/log2f.c: Ditto.
3709 * libm/machine/spu/s_cbrt.c: Ditto.
3710 * libm/machine/spu/s_ceil.c: Ditto.
3711 * libm/machine/spu/s_copysign.c: Ditto.
3712 * libm/machine/spu/s_fabs.c: Ditto.
3713 * libm/machine/spu/s_fdim.c: Ditto.
3714 * libm/machine/spu/s_floor.c: Ditto.
3715 * libm/machine/spu/s_fma.c: Ditto.
3716 * libm/machine/spu/s_fmax.c: Ditto.
3717 * libm/machine/spu/s_fmin.c: Ditto.
3718 * libm/machine/spu/s_frexp.c: Ditto.
3719 * libm/machine/spu/s_ilogb.c: Ditto.
3720 * libm/machine/spu/s_ldexp.c: Ditto.
3721 * libm/machine/spu/s_lrint.c: Ditto.
3722 * libm/machine/spu/s_lround.c: Ditto.
3723 * libm/machine/spu/s_nearbyint.c: Ditto.
3724 * libm/machine/spu/s_remquo.c: Ditto.
3725 * libm/machine/spu/s_rint.c: Ditto.
3726 * libm/machine/spu/s_round.c: Ditto.
3727 * libm/machine/spu/s_scalbn.c: Ditto.
3728 * libm/machine/spu/s_trunc.c: Ditto.
3729 * libm/machine/spu/sf_atan.c: Ditto.
3730 * libm/machine/spu/sf_cbrt.c: Ditto.
3731 * libm/machine/spu/sf_ceil.c: Ditto.
3732 * libm/machine/spu/sf_copysign.c: Ditto.
3733 * libm/machine/spu/sf_fabs.c: Ditto.
3734 * libm/machine/spu/sf_fdim.c: Ditto.
3735 * libm/machine/spu/sf_floor.c: Ditto.
3736 * libm/machine/spu/sf_fma.c: Ditto.
3737 * libm/machine/spu/sf_fmax.c: Ditto.
3738 * libm/machine/spu/sf_fmin.c: Ditto.
3739 * libm/machine/spu/sf_frexp.c: Ditto.
3740 * libm/machine/spu/sf_ilogb.c: Ditto.
3741 * libm/machine/spu/sf_ldexp.c: Ditto.
3742 * libm/machine/spu/sf_lrint.c: Ditto.
3743 * libm/machine/spu/sf_lround.c: Ditto.
3744 * libm/machine/spu/sf_remquo.c: Ditto.
3745 * libm/machine/spu/sf_round.c: Ditto.
3746 * libm/machine/spu/sf_scalbn.c: Ditto.
3747 * libm/machine/spu/sf_trunc.c: Ditto.
3748 * libm/machine/spu/w_fmod.c: Ditto.
3749 * libm/machine/spu/w_remainder.c: Ditto.
3750 * libm/machine/spu/w_sqrt.c: Ditto.
3751 * libm/machine/spu/wf_exp.c: Ditto.
3752 * libm/machine/spu/wf_exp2.c: Ditto.
3753 * libm/machine/spu/wf_fmod.c: Ditto.
3754 * libm/machine/spu/wf_log.c: Ditto.
3755 * libm/machine/spu/wf_log10.c: Ditto.
3756 * libm/machine/spu/wf_remainder.c: Ditto.
3758 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
3760 * libc/machine/spu/sys/uio.h: New file for readv and writev use.
3762 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
3764 * libc/include/sched.h: New file, just include sys/sched.h.
3765 * libc/machine/spu/sys/sched.h: New file, has just sched_yield
3767 * libc/machine/spu/sys/utime.h: New file, has utime prototype and
3768 struct utimbuf definition.
3770 2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
3772 * libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU
3773 specific struct and typedef.
3775 2007-09-18 Patrick Mansfield <patmans@us.ibm.com>
3777 * libc/include/sys/types.h: Use __dev_t, __uid_t, and __gid_t to
3778 typedef dev_t, gid_t, and uid_t.
3779 * libc/include/sys/_types.h: Move previous dev_t, uid_t and gid_t
3780 types.h code to here, but typedef __dev_t, __uid_t, and __gid_t instead.
3781 Change to lower case for all __foo_t_defined names.
3782 * libc/machine/spu/machine/_types.h: Add SPU specific __dev_t,
3783 __uid_t, and __gid_t making them all four bytes. Change to lower case
3784 for all __foo_t_defined names.
3786 2007-09-18 Jeff Johnston <jjohnstn@redhat.com>
3788 * libc/reent/renamer.c: New file.
3789 * libc/reent/Makefile.am: Add new file.
3790 * libc/reent/Makefile.in: Regenerated.
3791 * libc/stdio/rename.c: Break out _rename_r code into reent/renamer.c
3792 and add check for rename syscall.
3794 2007-09-17 Eric Blake <ebb9@byu.net>
3796 Obey POSIX on printf("%.s", (char*)NULL).
3797 * libc/stdio/vfprintf.c (_VFPRINTF_R): Take precision into account
3798 for %s on NULL. Skip NULL check when optimizing for size.
3800 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
3802 * libc/include/sys/_types.h: Protect all types with flag
3803 checks to allow definition in machine/_types.h.
3805 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
3807 * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
3808 definitions in light of the previous change.
3810 2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
3812 * libc/include/machine/_default_types.h: New file, contains what
3813 was previously in libc/include/machine/_types.h.
3814 * libc/include/machine/_types.h: Now only includes
3815 machine/_default_types.h.
3816 * libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
3817 * libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
3818 with conditional declarations.
3819 * libc/machine/spu/machine/_types.h: New file, add SPU specific
3820 typedefs for _fpos_t and _fpos64_t.
3822 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
3824 * libc/include/math.h (_M_LOG2E): Replace with..
3825 (_M_LOG2_E): New macro.
3826 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
3828 2007-09-06 Brian Dessent <brian@dessent.net>
3830 * libc/reent/getreent.c: Allow for case where __getreent is
3833 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
3835 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
3836 (log2): Use _M_LOG2E instead of M_LOG2E.
3838 (M_LOG2E): Define to be _M_LOG2E.
3840 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
3842 * libm/math/wf_tgamma.c: Add missing include.
3844 2007-08-31 Antony King <antony.king@st.com>
3846 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
3847 bits and redefine associated dword0 macro (rvalue issue).
3848 * libc/stdio/vfieeefp.h: Ditto.
3849 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
3850 to prevent setting dword1 which is an rvalue only.
3852 2007-08-28 Hans Kester <hans.kester@ellips.nl>
3854 * configure.host: Added support for x86_64.
3855 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
3856 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
3857 * libc/machine/x86_64/aclocal.m4: Generated.
3858 * libc/machine/x86_64/configure.in: New.
3859 * libc/machine/x86_64/configure: Generated.
3860 * libc/machine/x86_64/Makefile.am: New.
3861 * libc/machine/x86_64/Makefile.in: Generated.
3862 * libc/machine/x86_64/setjmp.S: New.
3863 * libc/machine/x86_64/memcpy.S: New.
3864 * libc/machine/x86_64/memset.S: New.
3865 * libc/machine/configure.in: Added support for x86_64.
3866 * libc/machine/configure: Regenerated.
3868 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
3870 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
3871 to int before comparing it to a signed int value.
3873 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
3875 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
3876 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
3879 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
3881 Reduce the memory consumption of variable argument functions
3883 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
3884 to assembler sources.
3885 * libc/machine/spu/Makefile.in: Regenerated.
3886 * libc/machine/spu/stdio.c: Add __check_init function wrapping
3887 CHECK_INIT macro to use from assembler routines.
3888 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
3889 * libc/machine/spu/fiprintf.S: New file.
3890 * libc/machine/spu/fiscanf.S: Ditto.
3891 * libc/machine/spu/fprintf.S: Ditto.
3892 * libc/machine/spu/fscanf.S: Ditto.
3893 * libc/machine/spu/iprintf.S: Ditto.
3894 * libc/machine/spu/iscanf.S: Ditto.
3895 * libc/machine/spu/printf.S: Ditto.
3896 * libc/machine/spu/scanf.S: Ditto.
3897 * libc/machine/spu/siprintf.S: Ditto.
3898 * libc/machine/spu/siscanf.S: Ditto.
3899 * libc/machine/spu/sniprintf.S: Ditto.
3900 * libc/machine/spu/snprintf.S: Ditto.
3901 * libc/machine/spu/sprintf.S: Ditto.
3902 * libc/machine/spu/sscanf.S: Ditto.
3903 * libc/machine/spu/stack_reg_va.S: Ditto.
3904 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
3905 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
3906 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
3907 * libc/machine/spu/fiscanf.c: Ditto.
3908 * libc/machine/spu/fprintf.c: Ditto.
3909 * libc/machine/spu/fscanf.c: Ditto.
3910 * libc/machine/spu/iprintf.c: Ditto.
3911 * libc/machine/spu/iscanf.c: Ditto.
3912 * libc/machine/spu/printf.c: Ditto.
3913 * libc/machine/spu/scanf.c: Ditto.
3914 * libc/machine/spu/siprintf.c: Ditto.
3915 * libc/machine/spu/siscanf.c: Ditto.
3916 * libc/machine/spu/sniprintf.c: Ditto.
3917 * libc/machine/spu/snprintf.c: Ditto.
3918 * libc/machine/spu/sprintf.c: Ditto.
3919 * libc/machine/spu/sscanf.c: Ditto.
3921 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
3923 * libc/include/tar.h: New.
3925 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
3927 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
3928 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
3929 * libc/sys/linux/intl/Makefile.in: Regenerated.
3930 * libc/sys/linux/intl/stpcpy.c: Renamed to...
3931 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
3933 2007-08-02 Eric Blake <ebb9@byu.net>
3935 Implement fmemopen and open_memstream.
3936 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
3937 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
3939 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
3940 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
3942 (fmemopen, open_memstream): Declare new functions.
3943 * libc/stdio/stdio.tex: Document them.
3944 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
3945 fmemopen and open_memstream.
3946 * libc/stdio/Makefile.in: Regenerate.
3948 2007-07-31 Eric Blake <ebb9@byu.net>
3950 More POSIX stream corner cases.
3951 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
3952 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
3954 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
3956 2007-07-18 Eric Blake <ebb9@byu.net>
3959 * libc/stdio/stdio.tex: Add missing include.
3960 * libc/stdio/vfprintf.c: Use expected node name.
3961 * libc/stdio/vfscanf.c: Likewise.
3962 * libc/stdio/sscanf.c: Likewise.
3963 * libc/stdio/sprintf.c: Likewise.
3964 * libc/stdio/siscanf.c: Likewise.
3965 * libc/stdio/siprintf.c: Likewise.
3966 * libc/stdio/fopencookie.c: Quote raw {}.
3967 Reported by DJ Delorie.
3969 2007-07-13 Eric Blake <ebb9@byu.net>
3972 * libc/stdio/fflush.c (_fflush_r): New function.
3973 (fflush): Fix reentrancy and large offset behavior.
3974 * libc/include/stdio.h (_fflush_r): Add prototype.
3975 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
3976 * libc/stdio/freopen.c (_freopen_r): Likewise.
3977 * libc/stdio/fseek.c (_fseek_r): Likewise.
3978 * libc/stdio/ftell.c (_ftell_r): Likewise.
3979 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
3980 * libc/stdio/refill.c (__srefill_r): Likewise.
3981 * libc/stdio/setvbuf.c (setvbuf): Likewise.
3982 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
3983 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
3984 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
3985 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
3986 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
3987 32-bit version if not large file.
3988 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
3989 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
3991 Documentation updates.
3992 * libc/stdio/ungetc.c: Document ungetc.
3993 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
3994 of files with documentation.
3995 * libc/stdio/Makefile.in: Regenerate.
3996 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
3998 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
4000 * libc/include/math.h: Fix so C99 functions/macros are accessible
4001 when -std=c99 is used when compiling and not when using C89.
4003 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
4005 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
4006 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
4007 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
4008 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
4010 (CHEWOUT_FILES): Add .def files accordingly.
4011 * libc/stdlib/Makefile.in: Regenerate.
4012 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
4013 * libc/stdlib/strtoll.c: Fix portability note.
4014 * libc/stdlib/strtoull.c: Ditto.
4015 * libc/stdlib/wcstol.c: New file.
4016 * libc/stdlib/wcstoll.c: New file.
4017 * libc/stdlib/wcstoll_r.c: New file.
4018 * libc/stdlib/wcstoul.c: New file.
4019 * libc/stdlib/wcstoull.c: New file.
4020 * libc/stdlib/wcstoull_r.c: New file.
4022 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
4024 * libc/include/sys/time.h (gettimeofday): Change to proper
4025 prototype where second parameter is void *.
4026 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
4028 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
4029 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
4030 * libc/sys/rdos/gettod.c: Ditto.
4031 * libc/sys/sh/syscalls.c: Ditto.
4032 * libc/time/time.c (time): Change call to _gettimeofday_r
4033 to pass NULL as 2nd argument.
4035 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
4037 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
4038 * libc/sys/linux/intl/l10nflist.c: Ditto.
4040 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
4042 * libc/include/wchar.h: Add prototype for wcsxfrm.
4043 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
4044 (CHEWOUT_FILES): Add wcsxfrm.def.
4045 * libc/string/Makefile.in: Regenerate.
4046 * libc/string/wcsxfrm.c: New file.
4047 * libc/string/wcstrings.tex: Add wcsxfrm.
4049 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
4051 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
4052 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
4054 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
4055 * libc/string/Makefile.in: Regenerate.
4056 * libc/string/stpcpy.c: New file.
4057 * libc/string/stpncpy.c: New file.
4058 * libc/string/strings.tex: Add stpcpy and stpncpy.
4060 2007-06-27 Eric Blake <ebb9@byu.net>
4062 Support __func__ in assert, as required by C99.
4063 * libc/stdlib/assert.c (__assert_func): New function.
4064 (__assert): Use __assert_func.
4065 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
4068 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
4070 * libc/machine/spu/perror.c: Pass errno as the second argument to
4073 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
4075 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
4076 defines; expose ftruncate, truncate and sync prototypes.
4078 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
4080 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
4081 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
4084 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
4086 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
4087 from a dropped patch.
4088 * libc/machine/spu/Makefile.in: Regenerate.
4090 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
4092 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
4093 it just calls open with appropriate arguments.
4094 * libc/machine/spu/Makefile.am: Add creat.c.
4095 * libc/machine/spu/Makefile.in: Regenerate.
4097 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
4099 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
4100 I accidentally dropped.
4101 * libc/machine/spu/Makefile.in: Regenerated.
4103 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
4105 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
4106 * libc/include/sys/unistd.h: Change usleep prototype to Posix
4107 form and move outside of OS flag checks.
4108 * libc/machine/spu/Makefile.am: Add sleep and usleep.
4109 * libc/machine/spu/Makefile.in: Regenerate.
4110 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
4111 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
4113 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
4115 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
4116 Define confstr constants for Cygwin. Add comment.
4118 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
4120 * libc/sys/mmixware/access.c (access): Do not try to use a magic
4121 file-handle and a direct syscall, just use _open.
4122 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
4125 * libc/sys/mmixware/_exit.c (_exit): Update comment about
4126 passing on the exit value.
4128 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
4130 * libc/string/strcasestr.c: New file.
4131 * libc/include/string.h: Add strcasestr.
4132 * libc/string/strings.tex: Add strcasestr.
4133 * libc/string/Makefile.am: Ditto.
4134 * libc/string/Makefile.in: Regenerated.
4136 2007-06-06 Christian Groessler <chris@groessler.org>
4138 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
4139 rnd is done after the last local variable declaration.
4141 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
4143 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
4145 2007-06-05 Christian Groessler <chris@groessler.org>
4147 * libc/argz/argz_insert.c (argz_insert): Move delta variable
4148 declaration to top of function in keeping with C89 standard.
4150 2007-06-04 Eric Blake <ebb9@byu.net>
4152 Implement funopen, fopencookie.
4153 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
4154 Switch to reentrant callbacks.
4155 * libc/include/stdio.h (funopen): Fix declaration.
4156 (fopencookie): Declare.
4157 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
4158 (__sseek64, __swrite64): Fix prototypes.
4159 [__SCLE]: Pull in setmode declaration.
4160 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
4162 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
4163 (__sseek64, __swrite64): Fix reentrancy.
4164 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
4166 * libc/stdio/ftell.c (_ftell_r): Likewise.
4167 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
4168 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
4169 * libc/stdio/freopen.c (_freopen_r): Likewise.
4170 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
4171 * libc/stdio/refill.c (__srefill_r): Likewise.
4172 * libc/stdio/siscanf.c (eofread): Likewise.
4173 * libc/stdio/sscanf.c (eofread): Likewise.
4174 * libc/stdio/vsiscanf.c (eofread1): Likewise.
4175 * libc/stdio/vsscanf.c (eofread1): Likewise.
4176 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
4177 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
4178 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
4179 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
4181 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
4182 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
4183 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
4185 * libc/stdio/Makefile.in: Regenerate.
4187 2007-05-29 Eric Blake <ebb9@byu.net>
4189 Avoid more compiler warnings.
4190 * libc/stdlib/btowc.c: Add missing header.
4191 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
4192 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
4193 * libc/stdlib/wctob.c: Add missing header.
4194 * libc/string/strcpy.c (strcpy): Avoid warnings.
4195 * libc/string/strrchr.c (strrchr): Likewise.
4197 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
4199 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
4201 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
4202 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
4203 on empty input strings.
4204 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
4205 looping through argz.
4206 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
4208 2007-05-27 Brian Dessent <brian@dessent.net>
4210 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
4213 2007-05-25 Eric Blake <ebb9@byu.net>
4215 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
4217 2007-05-24 Steve Ellcey <sje@cup.hp.com>
4218 Charles Wilson <libtool@cwilson.fastmail.fm>
4220 * libtool.m4: removed
4221 * configure.in: invoke _LD_DECL_SED before conditionally initializing
4222 libtool. Move AC_PROG_AWK outside conditional.
4223 * libc/sys/linux/configure.in: Ditto.
4224 * libc/sys/linux/linuxthreads/configure.in: Ditto.
4225 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4226 * libc/sys/linux/machine/i386/configure.in: Ditto.
4228 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
4229 initializing libtool.
4230 * libc/configure.in: Ditto.
4231 * libc/machine/configure.in: Ditto.
4232 * libc/machine/i386/configure.in: Ditto.
4233 * libc/sys/configure.in: Ditto.
4234 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4235 * libc/sys/linux/machine/configure.in: Ditto.
4236 * libm/configure.in: Ditto.
4237 * libm/machine/configure.in: Ditto.
4239 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
4240 * doc/Makefile.am: Ditto.
4241 * iconvdata/Makefile.am: Ditto.
4242 * libc/Makefile.am: Ditto.
4243 * libc/machine/Makefile.am: Ditto.
4244 * libc/machine/a29k/Makefile.am: Ditto.
4245 * libc/machine/arm/Makefile.am: Ditto.
4246 * libc/machine/bfin/Makefile.am: Ditto.
4247 * libc/machine/cris/Makefile.am: Ditto.
4248 * libc/machine/crx/Makefile.am: Ditto.
4249 * libc/machine/d10v/Makefile.am: Ditto.
4250 * libc/machine/d30v/Makefile.am: Ditto.
4251 * libc/machine/fr30/Makefile.am: Ditto.
4252 * libc/machine/frv/Makefile.am: Ditto.
4253 * libc/machine/h8300/Makefile.am: Ditto.
4254 * libc/machine/h8500/Makefile.am: Ditto.
4255 * libc/machine/hppa/Makefile.am: Ditto.
4256 * libc/machine/i386/Makefile.am: Ditto.
4257 * libc/machine/i960/Makefile.am: Ditto.
4258 * libc/machine/iq2000/Makefile.am: Ditto.
4259 * libc/machine/m32c/Makefile.am: Ditto.
4260 * libc/machine/m32r/Makefile.am: Ditto.
4261 * libc/machine/m68hc11/Makefile.am: Ditto.
4262 * libc/machine/m68k/Makefile.am: Ditto.
4263 * libc/machine/m88k/Makefile.am: Ditto.
4264 * libc/machine/mips/Makefile.am: Ditto.
4265 * libc/machine/mn10200/Makefile.am: Ditto.
4266 * libc/machine/mn10300/Makefile.am: Ditto.
4267 * libc/machine/mt/Makefile.am: Ditto.
4268 * libc/machine/necv70/Makefile.am: Ditto.
4269 * libc/machine/powerpc/Makefile.am: Ditto.
4270 * libc/machine/sh/Makefile.am: Ditto.
4271 * libc/machine/sparc/Makefile.am: Ditto.
4272 * libc/machine/spu/Makefile.am: Ditto.
4273 * libc/machine/tic4x/Makefile.am: Ditto.
4274 * libc/machine/tic80/Makefile.am: Ditto.
4275 * libc/machine/v850/Makefile.am: Ditto.
4276 * libc/machine/w65/Makefile.am: Ditto.
4277 * libc/machine/xscale/Makefile.am: Ditto.
4278 * libc/machine/xstormy16/Makefile.am: Ditto.
4279 * libc/machine/z8k/Makefile.am: Ditto.
4280 * libc/sys/Makefile.am: Ditto.
4281 * libc/sys/a29khif/Makefile.am: Ditto.
4282 * libc/sys/arc/Makefile.am: Ditto.
4283 * libc/sys/arm/Makefile.am: Ditto.
4284 * libc/sys/d10v/Makefile.am: Ditto.
4285 * libc/sys/decstation/Makefile.am: Ditto.
4286 * libc/sys/h8300hms/Makefile.am: Ditto.
4287 * libc/sys/h8500hms/Makefile.am: Ditto.
4288 * libc/sys/linux/Makefile.am: Ditto.
4289 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4290 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
4291 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4292 * libc/sys/linux/machine/Makefile.am: Ditto.
4293 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
4294 * libc/sys/m88kbug/Makefile.am: Ditto.
4295 * libc/sys/mmixware/Makefile.am: Ditto.
4296 * libc/sys/netware/Makefile.am: Ditto.
4297 * libc/sys/rdos/Makefile.am: Ditto.
4298 * libc/sys/rtems/Makefile.am: Ditto.
4299 * libc/sys/sh/Makefile.am: Ditto.
4300 * libc/sys/sparc64/Makefile.am: Ditto.
4301 * libc/sys/sun4/Makefile.am: Ditto.
4302 * libc/sys/sysmec/Makefile.am: Ditto.
4303 * libc/sys/sysnec810/Makefile.am: Ditto.
4304 * libc/sys/sysnecv850/Makefile.am: Ditto.
4305 * libc/sys/sysvi386/Makefile.am: Ditto.
4306 * libc/sys/sysvnecv70/Makefile.am: Ditto.
4307 * libc/sys/tic80/Makefile.am: Ditto.
4308 * libc/sys/w65/Makefile.am: Ditto.
4309 * libc/sys/z8ksim/Makefile.am: Ditto.
4310 * libm/Makefile.am: Ditto.
4311 * libm/machine/Makefile.am: Ditto.
4312 * libm/machine/i386/Makefile.am: Ditto.
4313 * libm/machine/spu/Makefile.am: Ditto.
4315 * aclocal.m4: Regenerate.
4316 * iconvdata/aclocal.m4: Regenerate.
4317 * libc/aclocal.m4: Regenerate.
4318 * libc/machine/aclocal.m4: Regenerate.
4319 * libc/machine/i386/aclocal.m4: Regenerate.
4320 * libc/sys/aclocal.m4: Regenerate.
4321 * libc/sys/linux/aclocal.m4: Regenerate.
4322 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
4323 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
4324 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
4325 * libc/sys/linux/machine/aclocal.m4: Regenerate.
4326 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
4327 * libm/aclocal.m4: Regenerate.
4328 * libm/machine/aclocal.m4: Regenerate.
4329 * libm/machine/i386/aclocal.m4: Regenerate.
4331 * Makefile.in: Regenerate.
4332 * doc/Makefile.in: Regenerate.
4333 * iconvdata/Makefile.in: Regenerate.
4334 * libc/Makefile.in: Regenerate.
4335 * libc/argz/Makefile.in: Regenerate.
4336 * libc/ctype/Makefile.in: Regenerate.
4337 * libc/errno/Makefile.in: Regenerate.
4338 * libc/iconv/Makefile.in: Regenerate.
4339 * libc/iconv/ccs/Makefile.in: Regenerate.
4340 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
4341 * libc/iconv/ces/Makefile.in: Regenerate.
4342 * libc/iconv/lib/Makefile.in: Regenerate.
4343 * libc/locale/Makefile.in: Regenerate.
4344 * libc/machine/Makefile.in: Regenerate.
4345 * libc/machine/a29k/Makefile.in: Regenerate.
4346 * libc/machine/arm/Makefile.in: Regenerate.
4347 * libc/machine/bfin/Makefile.in: Regenerate.
4348 * libc/machine/cris/Makefile.in: Regenerate.
4349 * libc/machine/crx/Makefile.in: Regenerate.
4350 * libc/machine/d10v/Makefile.in: Regenerate.
4351 * libc/machine/d30v/Makefile.in: Regenerate.
4352 * libc/machine/fr30/Makefile.in: Regenerate.
4353 * libc/machine/frv/Makefile.in: Regenerate.
4354 * libc/machine/h8300/Makefile.in: Regenerate.
4355 * libc/machine/h8500/Makefile.in: Regenerate.
4356 * libc/machine/hppa/Makefile.in: Regenerate.
4357 * libc/machine/i386/Makefile.in: Regenerate.
4358 * libc/machine/i960/Makefile.in: Regenerate.
4359 * libc/machine/iq2000/Makefile.in: Regenerate.
4360 * libc/machine/m32c/Makefile.in: Regenerate.
4361 * libc/machine/m32r/Makefile.in: Regenerate.
4362 * libc/machine/m68hc11/Makefile.in: Regenerate.
4363 * libc/machine/m68k/Makefile.in: Regenerate.
4364 * libc/machine/m88k/Makefile.in: Regenerate.
4365 * libc/machine/mips/Makefile.in: Regenerate.
4366 * libc/machine/mn10200/Makefile.in: Regenerate.
4367 * libc/machine/mn10300/Makefile.in: Regenerate.
4368 * libc/machine/mt/Makefile.in: Regenerate.
4369 * libc/machine/necv70/Makefile.in: Regenerate.
4370 * libc/machine/powerpc/Makefile.in: Regenerate.
4371 * libc/machine/sh/Makefile.in: Regenerate.
4372 * libc/machine/sparc/Makefile.in: Regenerate.
4373 * libc/machine/spu/Makefile.in: Regenerate.
4374 * libc/machine/tic4x/Makefile.in: Regenerate.
4375 * libc/machine/tic80/Makefile.in: Regenerate.
4376 * libc/machine/v850/Makefile.in: Regenerate.
4377 * libc/machine/w65/Makefile.in: Regenerate.
4378 * libc/machine/xscale/Makefile.in: Regenerate.
4379 * libc/machine/xstormy16/Makefile.in: Regenerate.
4380 * libc/machine/z8k/Makefile.in: Regenerate.
4381 * libc/misc/Makefile.in: Regenerate.
4382 * libc/posix/Makefile.in: Regenerate.
4383 * libc/reent/Makefile.in: Regenerate.
4384 * libc/search/Makefile.in: Regenerate.
4385 * libc/signal/Makefile.in: Regenerate.
4386 * libc/stdio/Makefile.in: Regenerate.
4387 * libc/stdio64/Makefile.in: Regenerate.
4388 * libc/stdlib/Makefile.in: Regenerate.
4389 * libc/string/Makefile.in: Regenerate.
4390 * libc/sys/Makefile.in: Regenerate.
4391 * libc/sys/a29khif/Makefile.in: Regenerate.
4392 * libc/sys/arc/Makefile.in: Regenerate.
4393 * libc/sys/arm/Makefile.in: Regenerate.
4394 * libc/sys/d10v/Makefile.in: Regenerate.
4395 * libc/sys/decstation/Makefile.in: Regenerate.
4396 * libc/sys/h8300hms/Makefile.in: Regenerate.
4397 * libc/sys/h8500hms/Makefile.in: Regenerate.
4398 * libc/sys/linux/Makefile.in: Regenerate.
4399 * libc/sys/linux/argp/Makefile.in: Regenerate.
4400 * libc/sys/linux/cmath/Makefile.in: Regenerate.
4401 * libc/sys/linux/dl/Makefile.in: Regenerate.
4402 * libc/sys/linux/iconv/Makefile.in: Regenerate.
4403 * libc/sys/linux/intl/Makefile.in: Regenerate.
4404 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
4405 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
4406 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
4407 * libc/sys/linux/machine/Makefile.in: Regenerate.
4408 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
4409 * libc/sys/linux/net/Makefile.in: Regenerate.
4410 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
4411 * libc/sys/m88kbug/Makefile.in: Regenerate.
4412 * libc/sys/mmixware/Makefile.in: Regenerate.
4413 * libc/sys/netware/Makefile.in: Regenerate.
4414 * libc/sys/rdos/Makefile.in: Regenerate.
4415 * libc/sys/rtems/Makefile.in: Regenerate.
4416 * libc/sys/sh/Makefile.in: Regenerate.
4417 * libc/sys/sparc64/Makefile.in: Regenerate.
4418 * libc/sys/sun4/Makefile.in: Regenerate.
4419 * libc/sys/sysmec/Makefile.in: Regenerate.
4420 * libc/sys/sysnec810/Makefile.in: Regenerate.
4421 * libc/sys/sysnecv850/Makefile.in: Regenerate.
4422 * libc/sys/sysvi386/Makefile.in: Regenerate.
4423 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
4424 * libc/sys/tic80/Makefile.in: Regenerate.
4425 * libc/sys/w65/Makefile.in: Regenerate.
4426 * libc/sys/z8ksim/Makefile.in: Regenerate.
4427 * libc/syscalls/Makefile.in: Regenerate.
4428 * libc/time/Makefile.in: Regenerate.
4429 * libc/unix/Makefile.in: Regenerate.
4430 * libm/Makefile.in: Regenerate.
4431 * libm/common/Makefile.in: Regenerate.
4432 * libm/machine/Makefile.in: Regenerate.
4433 * libm/machine/i386/Makefile.in: Regenerate.
4434 * libm/machine/spu/Makefile.in: Regenerate.
4435 * libm/math/Makefile.in: Regenerate.
4436 * libm/mathfp/Makefile.in: Regenerate.
4438 * configure: Regenerate.
4439 * iconvdata/configure: Regenerate.
4440 * libc/configure: Regenerate.
4441 * libc/machine/configure: Regenerate.
4442 * libc/machine/i386/configure: Regenerate.
4443 * libc/sys/configure: Regenerate.
4444 * libc/sys/linux/configure: Regenerate.
4445 * libc/sys/linux/linuxthreads/configure: Regenerate.
4446 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
4447 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
4448 * libc/sys/linux/machine/configure: Regenerate.
4449 * libc/sys/linux/machine/i386/configure: Regenerate.
4450 * libm/configure: Regenerate.
4451 * libm/machine/configure: Regenerate.
4452 * libm/machine/i386/configure: Regenerate.
4454 2007-05-23 Eric Blake <ebb9@byu.net>
4456 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
4457 sizeof(void*) is 8 but sizeof(long) is 4.
4458 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
4459 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
4460 to fix reentrancy and bug on encoding error in multibyte locales.
4461 Always return EOF on read error.
4463 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
4465 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
4467 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
4468 instead of the slot 0 value, remove any now unused variables, and
4469 for some cases, now store the result in an int vs int*.
4470 * libc/machine/spu/feof.c: Ditto.
4471 * libc/machine/spu/ferror.c: Ditto.
4472 * libc/machine/spu/fflush.c: Ditto.
4473 * libc/machine/spu/fgetc.c: Ditto.
4474 * libc/machine/spu/fgetpos.c: Ditto.
4475 * libc/machine/spu/fgets.c: Ditto.
4476 * libc/machine/spu/fileno.c: Ditto.
4477 * libc/machine/spu/fopen.c: Ditto.
4478 * libc/machine/spu/fprintf.c: Ditto.
4479 * libc/machine/spu/fputc.c: Ditto.
4480 * libc/machine/spu/fputs.c: Ditto.
4481 * libc/machine/spu/fread.c: Ditto.
4482 * libc/machine/spu/freopen.c: Ditto.
4483 * libc/machine/spu/fscanf.c: Ditto.
4484 * libc/machine/spu/fseek.c: Ditto.
4485 * libc/machine/spu/fsetpos.c: Ditto.
4486 * libc/machine/spu/ftell.c: Ditto.
4487 * libc/machine/spu/fwrite.c: Ditto.
4488 * libc/machine/spu/getc.c: Ditto.
4489 * libc/machine/spu/getchar.c: Ditto.
4490 * libc/machine/spu/gets.c: Ditto.
4491 * libc/machine/spu/printf.c: Ditto.
4492 * libc/machine/spu/putc.c: Ditto.
4493 * libc/machine/spu/putchar.c: Ditto.
4494 * libc/machine/spu/puts.c: Ditto.
4495 * libc/machine/spu/remove.c: Ditto.
4496 * libc/machine/spu/rename.c: Ditto.
4497 * libc/machine/spu/scanf.c: Ditto.
4498 * libc/machine/spu/setvbuf.c: Ditto.
4499 * libc/machine/spu/snprintf.c: Ditto.
4500 * libc/machine/spu/sprintf.c: Ditto.
4501 * libc/machine/spu/sscanf.c: Ditto.
4502 * libc/machine/spu/tmpfile.c: Ditto.
4503 * libc/machine/spu/tmpnam.c: Ditto.
4504 * libc/machine/spu/ungetc.c: Ditto.
4505 * libc/machine/spu/vfprintf.c: Ditto.
4506 * libc/machine/spu/vfscanf.c: Ditto.
4507 * libc/machine/spu/vprintf.c: Ditto.
4508 * libc/machine/spu/vscanf.c: Ditto.
4509 * libc/machine/spu/vsnprintf.c: Ditto.
4510 * libc/machine/spu/vsprintf.c: Ditto.
4511 * libc/machine/spu/vsscanf.c: Ditto.
4513 2007-05-23 Eric Blake <ebb9@byu.net>
4515 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
4516 Avoid warning when !FLOATING_POINT.
4517 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
4520 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
4522 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
4524 * libc/include/argz.h: Guard against multiple inclusion. Guard for
4527 2007-05-18 Eric Blake <ebb9@byu.net>
4529 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
4531 * libc/stdio/vfscanf.c: Likewise.
4533 2007-05-17 Cary R. <cygcary <at> yahoo.com>
4535 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
4536 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
4537 * libm/math/wf_atan2.c: Ditto.
4539 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
4541 * libm/common/Makefile.am: Add support for exp10, exp10f,
4542 pow10, and pow10f functions.
4543 * libm/common/Makefile.in: Regenerated.
4544 * libm/common/s_pow10.c: New file.
4545 * libm/common/sf_pow10.c: Ditto.
4546 * libm/common/s_exp10.c: Ditto.
4547 * libm/common/sf_exp10.c: Ditto.
4548 * libc/include/math.h [!pow10]: New pow10 prototype.
4549 [!pow10f]: New pow10f prototype.
4550 [!exp10]: New exp10 prototype.
4551 [!exp10f]: New exp10f prototype.
4553 2007-05-17 Charles Wilson <cygwin@...>
4555 * stdio/tmpfile.c: Include <sys/stat.h>.
4556 * stdio64/tmpfile64.c: Ditto.
4558 2007-05-16 Eric Blake <ebb9@byu.net>
4560 Close security hole in tmpfile.
4561 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
4562 generation and opening the fd.
4563 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
4565 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
4566 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
4568 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
4569 avoid clash with <math.h>.
4571 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
4572 * libc/search/hash.c (__hash_open): Likewise.
4574 2007-05-14 Eric Blake <ebb9@byu.net>
4576 Reduce stack size of *printf.
4577 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
4578 in %f. Avoid malloc when possible for %S.
4579 (BUF): Improve stack locality by using smaller size.
4580 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
4581 (exponent): Use smaller stack size.
4583 2007-05-11 Eric Blake <ebb9@byu.net>
4585 Minimize printf/scanf size on platforms that don't need C99.
4586 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
4587 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
4588 * configure.in (newlib-io-c99-formats): New configure option.
4589 (_WANT_IO_C99_FORMATS): Define appropriately.
4590 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
4591 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
4592 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
4593 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
4595 * configure: Regenerate.
4597 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
4598 (get_arg): Support '%a' and '%A'.
4600 2007-05-09 Eric Blake <ebb9@byu.net>
4602 Allow zero size with non-null buf in *asnprintf.
4603 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
4605 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
4606 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
4607 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
4609 2007-05-07 Charles Wilson <cygwin@...>
4611 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
4613 2007-05-03 Eric Blake <ebb9@byu.net>
4615 Add support for asnprintf, and improve *printf documentation.
4616 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
4617 (ELIX_2_SOURCES): ...to this.
4618 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
4619 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
4620 (CHEWOUT_FILES): Include diprintf in documentation.
4621 * libc/stdio/Makefile.in: Regenerate.
4622 * libc/stdio/diprintf.c: Improve documentation.
4623 * libc/stdio/dprintf.c: Likewise.
4624 * libc/stdio/siprintf.c: Likewise.
4625 * libc/stdio/sprintf.c: Likewise.
4626 * libc/stdio/vfprintf.c: Likewise.
4627 * libc/stdio/viprintf.c: Likewise.
4628 * libc/stdio/vsniprintf.c: Consolidate documentation.
4629 * libc/stdio/asiprintf.c: Refer to documentation.
4630 * libc/stdio/asprintf.c: Likewise.
4631 * libc/stdio/fiprintf.c: Likewise.
4632 * libc/stdio/fprintf.c: Likewise.
4633 * libc/stdio/iprintf.c: Likewise.
4634 * libc/stdio/printf.c: Likewise.
4635 * libc/stdio/sniprintf.c: Likewise.
4636 * libc/stdio/vdiprintf.c: Likewise.
4637 * libc/stdio/vdprintf.c: Likewise.
4638 * libc/stdio/vsiprintf.c: Likewise.
4639 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
4640 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
4641 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
4642 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
4644 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
4645 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
4647 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
4648 * libc/include/stdio.h: Add prototypes for new functions; sort
4651 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
4653 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
4655 * libc/machine/m68k/Makefile.in: Regenerate.
4656 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
4657 * libc/machine/m68k/memset.S: Likewise.
4659 2007-05-01 Eric Blake <ebb9@byu.net>
4661 * libc/stdio64/local64.h: Delete, move contents to...
4662 * libc/stdio/local.h: ...here.
4663 * libc/stdio64/fdopen64.c: Update includes.
4664 * libc/stdio64/fopen64.c: Likewise.
4665 * libc/stdio64/freopen64.c: Likewise.
4666 * libc/stdio64/fseeko64.c: Likewise.
4667 * libc/stdio64/ftello64.c: Likewise.
4668 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
4669 and stderr with 64-bit offset.
4670 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
4671 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
4672 * libc/stdio/mktemp.c (_gettemp): Likewise.
4674 2007-05-01 Cary R. <cygcary <at> yahoo.com>
4676 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
4677 to treatment of NaN and +-inf arguments.
4678 * libm/math/ef_pow.c: Ditto.
4679 * libm/math/w_pow.c: Ditto.
4680 * libm/math/wf_pow.c: Ditto.
4681 * libm/math/w_acos.c: Fix domain errors to return NaN.
4682 * libm/math/w_asin.c: Ditto.
4683 * libm/math/wf_acos.c: Ditto.
4684 * libm/math/wf_asin.c: Ditto.
4685 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
4686 * libm/math/wf_log.c: Ditto.
4687 * libm/math/wf_log10.c: Ditto.
4688 * libm/math/w_log10.c: Ditto.
4690 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
4692 * libc/machine/m68k/Makefile.am: Temporarily remove
4693 memcpy.S and memset.S until logic can be confirmed for
4694 !(__mcoldfile__) case.
4695 * libc/machine/m68k/Makefile.in: Regenerated.
4697 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
4699 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
4701 * libc/machine/m68k/Makefile.in: Regenerate.
4702 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
4704 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
4706 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
4707 overridden via machine/ieeefp.h.
4708 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
4709 macros for isnan and related macros.
4710 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
4711 overridden via machine/ieeefp.h.
4712 * libm/machine/spu/Makefile.am: Add new files.
4713 * libm/machine/spu/Makefile.in: Autogenerate with new files.
4714 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
4715 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
4716 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
4717 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
4718 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
4719 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
4720 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
4722 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
4724 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
4725 * libm/common/sf_fpclassify.c: ...here. New file.
4726 * libm/common/Makefile.am: Add sf_fpclassify.c.
4727 * libm/common/Makefile.in: Regenerated.
4729 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
4731 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
4732 ppu linux values. This file is a copy of the cris/sys/errno.h plus
4733 a few changes (see spu errno.h comments).
4735 2007-04-25 Eric Blake <ebb9@byu.net>
4737 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
4738 that promote to int.
4740 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
4742 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
4743 we clear the proper bits in the fpscr, and don't set some random ones.
4745 2007-04-24 Eric Blake <ebb9@byu.net>
4747 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
4750 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
4753 * libc/include/limits.h (NL_ARGMAX): Define a default value.
4754 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
4755 NL_ARGMAX, if present.
4757 2007-04-23 Brian Dessent <brian@dessent.net>
4759 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
4760 has been specified with types 'f', 'F', 'g', or 'G', ensure the
4761 trailing decimal is printed.
4763 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
4765 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
4766 file. Override Autoconf-2.59's version of these macros with
4767 fixed handling of multiple adjacent whitespace in arguments.
4768 * aclocal.m4: Regenerated forcefully.
4770 * Makefile.in: Ditto.
4771 * libc/*Makefile.in: Ditto.
4772 * libc/*aclocal.m4: Ditto.
4773 * libc/*configure: Ditto.
4774 * libm/*Makefile.in: Ditto.
4775 * libm/*aclocal.m4: Ditto.
4776 * libm/*configure: Ditto.
4778 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
4780 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
4781 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
4782 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
4783 * libc/sys/arc/Makefile.in: Regenerated.
4785 2007-04-17 Brian Dessent <brian@dessent.net>
4787 * libc/stdio/sscanf.c: Update documentation comments.
4788 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
4790 2007-04-12 Eric Blake <ebb9@byu.net>
4792 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
4793 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
4794 (get_arg): Handle %1$F, %1$n.
4796 2007-04-10 Eric Blake <ebb9@byu.net>
4798 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
4801 2007-04-09 Eric Blake <ebb9@byu.net>
4803 * libc/include/stdio.h: Add gcc format attributes to printf and
4806 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
4808 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
4809 even if the passed in length n is shorter than the source string.
4810 This matches both the non-spu specific and the glibc strxfrm
4813 2007-04-04 Mark Mitchell <mark@codesourcery.com>
4815 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
4816 functions registering additional atexit functions.
4818 * testsuite/lib/flags.exp (newlib_include_flags): Drop
4821 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
4823 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
4825 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
4826 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
4827 * libc/machine/spu/fclose.c: Ditto.
4828 * libc/machine/spu/feof.c: Ditto.
4829 * libc/machine/spu/ferror.c: Ditto.
4830 * libc/machine/spu/fflush.c: Ditto.
4831 * libc/machine/spu/fgetc.c: Ditto.
4832 * libc/machine/spu/fgetpos.c: Ditto.
4833 * libc/machine/spu/fgets.c: Ditto.
4834 * libc/machine/spu/fileno.c: Ditto.
4835 * libc/machine/spu/fopen.c: Ditto.
4836 * libc/machine/spu/fprintf.c: Ditto.
4837 * libc/machine/spu/fputc.c: Ditto.
4838 * libc/machine/spu/fputs.c: Ditto.
4839 * libc/machine/spu/fread.c: Ditto.
4840 * libc/machine/spu/freopen.c: Ditto.
4841 * libc/machine/spu/fscanf.c: Ditto.
4842 * libc/machine/spu/fseek.c: Ditto.
4843 * libc/machine/spu/fsetpos.c: Ditto.
4844 * libc/machine/spu/ftell.c: Ditto.
4845 * libc/machine/spu/fwrite.c: Ditto.
4846 * libc/machine/spu/getc.c: Ditto.
4847 * libc/machine/spu/getchar.c: Ditto.
4848 * libc/machine/spu/gets.c: Ditto.
4849 * libc/machine/spu/perror.c: Ditto.
4850 * libc/machine/spu/printf.c: Ditto.
4851 * libc/machine/spu/putc.c: Ditto.
4852 * libc/machine/spu/putchar.c: Ditto.
4853 * libc/machine/spu/puts.c: Ditto.
4854 * libc/machine/spu/remove.c: Ditto.
4855 * libc/machine/spu/rename.c: Ditto.
4856 * libc/machine/spu/rewind.c: Ditto.
4857 * libc/machine/spu/scanf.c: Ditto.
4858 * libc/machine/spu/setbuf.c: Ditto.
4859 * libc/machine/spu/setvbuf.c: Ditto.
4860 * libc/machine/spu/snprintf.c: Ditto.
4861 * libc/machine/spu/sprintf.c: Ditto.
4862 * libc/machine/spu/sscanf.c: Ditto.
4863 * libc/machine/spu/tmpfile.c: Ditto.
4864 * libc/machine/spu/tmpnam.c: Ditto.
4865 * libc/machine/spu/ungetc.c: Ditto.
4866 * libc/machine/spu/vfprintf.c: Ditto.
4867 * libc/machine/spu/vfscanf.c: Ditto.
4868 * libc/machine/spu/vprintf.c: Ditto.
4869 * libc/machine/spu/vscanf.c: Ditto.
4870 * libc/machine/spu/vsnprintf.c: Ditto.
4871 * libc/machine/spu/vsprintf.c: Ditto.
4872 * libc/machine/spu/vsscanf.c: Ditto.
4874 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
4876 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
4878 2007-04-04 Eric Blake <ebb9@byu.net>
4880 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
4881 (asiprintf): Avoid overhead.
4882 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
4883 (asprintf): Avoid overhead.
4884 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
4885 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
4886 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
4887 (fiprintf): Avoid overhead.
4888 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
4889 (fprintf): Avoid overhead.
4890 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
4891 (iprintf): Avoid overhead.
4892 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
4893 (printf): Avoid overhead.
4894 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
4895 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
4896 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
4897 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
4898 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
4899 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
4900 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
4901 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
4902 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
4904 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
4905 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
4907 2007-03-30 Dave Korn <dave.korn@artimi.com>
4909 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
4910 conflicting inline semantics between C99 and GNU89.
4911 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
4912 compatible with -fkeep-inline-functions usage.
4913 (__sputc_r): Likewise for consistency even though disabled.
4915 2007-03-29 Nick Clifton <nickc@redhat.com>
4917 Reflect changes made to generic vfprintf.c:
4918 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
4919 and add a "struct reent *" argument.
4920 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
4921 argument and call _VFPRINTF_R instead of VFPRINTF.
4922 (_VFPRINTF_R): Add data pointer to call to cantwrite().
4923 Fix uses of __sprint() and __sbprintf.
4925 2007-03-20 Nick Clifton <nickc@redhat.com>
4927 Reflect changes made to generic vfprintf.c:
4928 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
4929 and add a "struct reent *" argument.
4930 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
4931 argument and call _VFPRINTF_R instead of VFPRINTF.
4932 (_VFPRINTF_R): Add data pointer to call to cantwrite().
4933 Fix uses of __sprint() and __sbprintf.
4935 2007-03-16 Charles Wilson <cygwin@...>
4937 * libc/argz/argz_insert.c: "before" pointer is
4938 invalid after *argz realloc. Compute offset
4939 between "before" and *argz, and use it after
4940 reallocation instead.
4942 2007-03-16 Eric Blake <ebb9@byu.net>
4944 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
4945 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
4947 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
4949 * configure.in: Add new --enable-newlib-reent-small option.
4950 * configure: Regenerated.
4951 * acconfig.h: Add _WANT_REENT_SMALL.
4952 * newlib.hin: Regenerated minus PACKAGE macros to add
4953 _WANT_REENT_SMALL macro.
4954 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
4956 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
4958 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
4959 use reentrant pointer passed in when resetting the file
4960 pointer to one of the std streams.
4962 2007-03-15 Eric Blake <ebb9@byu.net>
4964 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
4965 (__smakebuf): Rename...
4966 (__smakebuf_r): to this.
4967 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
4968 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
4969 allocation, then rename...
4970 (__smakebuf_r): ...to this and fix reentrancy.
4971 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
4972 allocation, then rename...
4973 (__swsetup_r): ...to this and fix reentrancy.
4974 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
4975 * libc/stdio/refill.c (__srefill_r): Likewise.
4976 * libc/stdio/fclose.c (_fclose_r): Likewise.
4977 * libc/stdio/fread.c (_fread_r): Likewise.
4978 * libc/stdio/freopen.c (_freopen_r): Likewise.
4979 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
4980 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
4981 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
4982 failed asprintf allocation, and fix reentrancy.
4983 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
4984 as required by POSIX.
4985 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
4986 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
4987 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
4989 2007-03-12 Eric Blake <ebb9@byu.net>
4991 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
4992 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
4993 allocation to caller.
4994 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
4995 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
4996 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
4998 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
5000 * libm/math/w_pow.c: Fix typo in documentation comment.
5002 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
5004 * libc/reent/timer.c: Removed (split into two new files).
5005 * libc/reent/timesr.c: New file for _times_r.
5006 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
5007 * reent/Makefile.in: Remove timer.c, add timesr.c and
5009 * libc/reent/Makefile.am: Regenerate.
5011 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
5013 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
5015 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
5017 * libc/machine/spu/Makefile.am: Add new objects.
5018 * libc/machine/spu/Makefile.in: Regenerated.
5019 * libc/machine/spu/fiprintf.c: New file. Add implementation of
5020 integer-only version.
5021 * libc/machine/spu/fiscanf.c: Ditto.
5022 * libc/machine/spu/iprintf.c: Ditto.
5023 * libc/machine/spu/iscanf.c: Ditto.
5024 * libc/machine/spu/siprintf.c: Ditto.
5025 * libc/machine/spu/siscanf.c: Ditto.
5026 * libc/machine/spu/sniprintf.c: Ditto.
5027 * libc/machine/spu/vfiprintf.c: Ditto.
5028 * libc/machine/spu/vfiscanf.c: Ditto.
5029 * libc/machine/spu/viprintf.c: Ditto.
5030 * libc/machine/spu/viscanf.c: Ditto.
5031 * libc/machine/spu/vsiprintf.c: Ditto.
5032 * libc/machine/spu/vsiscanf.c: Ditto.
5033 * libc/machine/spu/vsniprintf.c: Ditto.
5034 * libc/machine/spu/fprintf.c: Add support for integer-only
5036 * libc/machine/spu/fscanf.c: Ditto.
5037 * libc/machine/spu/printf.c: Ditto.
5038 * libc/machine/spu/scanf.c: Ditto.
5039 * libc/machine/spu/snprintf.c: Ditto.
5040 * libc/machine/spu/sprintf.c: Ditto.
5041 * libc/machine/spu/sscanf.c: Ditto.
5042 * libc/machine/spu/vfprintf.c: Ditto.
5043 * libc/machine/spu/vfscanf.c: Ditto.
5044 * libc/machine/spu/vprintf.c: Ditto.
5045 * libc/machine/spu/vscanf.c: Ditto.
5046 * libc/machine/spu/vsnprintf.c: Ditto.
5047 * libc/machine/spu/vsprintf.c: Ditto.
5048 * libc/machine/spu/vsscanf.c: Ditto.
5050 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
5052 * libc/include/stdio.h: Add declaration for vsiprintf.
5054 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
5056 Add a floating point environment for SPU (cell):
5058 * configure.host: add libm_machine_dir=spu.
5059 * libm/machine/configure: Add spu.
5060 * libm/machine/configure.in: regenerated with spu added.
5061 * libc/machine/spu/include/fenv.h: New file.
5062 * libc/machine/spu/sys/fenv.h: Ditto.
5063 * libm/machine/spu/Makefile.am: Ditto.
5064 * libm/machine/spu/Makefile.in: Ditto.
5065 * libm/machine/spu/aclocal.m4: Ditto.
5066 * libm/machine/spu/configure: Ditto.
5067 * libm/machine/spu/configure.in: Ditto.
5068 * libm/machine/spu/fe_dfl_env.c: Ditto.
5069 * libm/machine/spu/feclearexcept.c: Ditto.
5070 * libm/machine/spu/fegetenv.c: Ditto.
5071 * libm/machine/spu/fegetexceptflag.c: Ditto.
5072 * libm/machine/spu/fegetround.c: Ditto.
5073 * libm/machine/spu/feholdexcept.c: Ditto.
5074 * libm/machine/spu/feraiseexcept.c: Ditto.
5075 * libm/machine/spu/fesetenv.c: Ditto.
5076 * libm/machine/spu/fesetexceptflag.c: Ditto.
5077 * libm/machine/spu/fesetround.c: Ditto.
5078 * libm/machine/spu/fetestexcept.c: Ditto.
5079 * libm/machine/spu/feupdateenv.c: Ditto.
5080 * libm/machine/spu/headers/feclearexcept.h: Ditto.
5081 * libm/machine/spu/headers/fefpscr.h: Ditto.
5082 * libm/machine/spu/headers/fegetenv.h: Ditto.
5083 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
5084 * libm/machine/spu/headers/fegetround.h: Ditto.
5085 * libm/machine/spu/headers/feholdexcept.h: Ditto.
5086 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
5087 * libm/machine/spu/headers/fesetenv.h: Ditto.
5088 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
5089 * libm/machine/spu/headers/fesetround.h: Ditto.
5090 * libm/machine/spu/headers/fetestexcept.h: Ditto.
5091 * libm/machine/spu/headers/feupdateenv.h: Ditto.
5093 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
5095 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
5098 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
5100 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
5101 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
5103 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
5105 * libc/include/sys/features.h: Add definition of all supported
5106 _POSIX_xxx values for Cygwin.
5107 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
5109 (pthread_rwlockattr_t): Ditto.
5110 * libc/include/sys/unistd.h: Define all _SC_xxx values as
5111 required by SUSv3. Unify formatting.
5113 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
5115 * libc/include/sys/errno.h: Add ECANCELED.
5117 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
5118 Kazunori Asayama <asayama@sm.sony.co.jp>
5120 * libc/machine/spu/Makefile.am: Add objects.
5121 * libc/machine/spu/Makefile.in: Regenerated.
5122 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
5124 * libc/machine/spu/snprintf.c: Ditto.
5125 * libc/machine/spu/sprintf.c: Ditto.
5126 * libc/machine/spu/sscanf.c: Ditto.
5127 * libc/machine/spu/remove.c: Ditto.
5128 * libc/machine/spu/rename.c: Ditto.
5129 * libc/machine/spu/tmpnam.c: Ditto.
5130 * libc/machine/spu/vsnprintf.c: Add initialization routine of
5132 * libc/machine/spu/vsprintf.c: Ditto.
5134 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
5135 Kazunori Asayama <asayama@sm.sony.co.jp>
5137 * configure.host: Enable SPU specific stdio directory.
5138 * libc/machine/spu/Makefile.am: Add objects.
5139 * libc/machine/spu/Makefile.in: Regenerated.
5140 * libc/machine/spu/c99ppe.h: Add macros and function
5141 declarations to initialize SPU specific stdio stuffs.
5142 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
5143 specific FILE structures.
5144 * libc/machine/spu/perror.c: Add initialization routine of
5146 * libc/machine/spu/printf.c: Ditto.
5147 * libc/machine/spu/putchar.c: Ditto.
5148 * libc/machine/spu/puts.c: Ditto.
5149 * libc/machine/spu/vprintf.c: Ditto.
5150 * libc/machine/spu/clearerr.c: New file. Add a stdio function
5152 * libc/machine/spu/feof.c: Ditto.
5153 * libc/machine/spu/ferror.c: Ditto.
5154 * libc/machine/spu/fileno.c: Ditto.
5155 * libc/machine/spu/fopen.c: Ditto.
5156 * libc/machine/spu/fclose.c: Ditto.
5157 * libc/machine/spu/freopen.c: Ditto.
5158 * libc/machine/spu/fflush.c: Ditto.
5159 * libc/machine/spu/fseek.c: Ditto.
5160 * libc/machine/spu/ftell.c: Ditto.
5161 * libc/machine/spu/rewind.c: Ditto.
5162 * libc/machine/spu/fgetpos.c: Ditto.
5163 * libc/machine/spu/fsetpos.c: Ditto.
5164 * libc/machine/spu/fread.c: Ditto.
5165 * libc/machine/spu/fwrite.c: Ditto.
5166 * libc/machine/spu/getc.c: Ditto.
5167 * libc/machine/spu/getchar.c: Ditto.
5168 * libc/machine/spu/gets.c: Ditto.
5169 * libc/machine/spu/fgetc.c: Ditto.
5170 * libc/machine/spu/fgets.c: Ditto.
5171 * libc/machine/spu/ungetc.c: Ditto.
5172 * libc/machine/spu/putc.c: Ditto.
5173 * libc/machine/spu/fputc.c: Ditto.
5174 * libc/machine/spu/fputs.c: Ditto.
5175 * libc/machine/spu/vfprintf.c: Ditto.
5176 * libc/machine/spu/vfscanf.c: Ditto.
5177 * libc/machine/spu/fprintf.c: Ditto.
5178 * libc/machine/spu/fscanf.c: Ditto.
5179 * libc/machine/spu/scanf.c: Ditto.
5180 * libc/machine/spu/vscanf.c: Ditto.
5181 * libc/machine/spu/setbuf.c: Ditto.
5182 * libc/machine/spu/setvbuf.c: Ditto.
5183 * libc/machine/spu/tmpfile.c: Ditto.
5185 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
5187 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
5188 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
5189 around stdio macros that manipulate fields in the normal file
5191 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
5192 <sys/custom_file.h> to define custom FILE structure.
5193 * libc/include/sys/custom_file.h: New default header file
5194 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
5195 * libc/machine/spu/sys/custom_file.h: New file.
5197 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
5199 * configure.host: Define stdio directory as a variable.
5200 * libc/Makefile.am: Define stdio related names
5202 * libc/configure.in: Add detection routine of stdio directory.
5203 * libc/Makefile.in: Regenerated.
5204 * libc/configure: Ditto.
5205 * libc/argz/Makefile.in: Ditto.
5206 * libc/ctype/Makefile.in: Ditto.
5207 * libc/errno/Makefile.in: Ditto.
5208 * libc/iconv/Makefile.in: Ditto.
5209 * libc/iconv/ccs/Makefile.in: Ditto.
5210 * libc/iconv/ccs/binary/Makefile.in: Ditto.
5211 * libc/iconv/ces/Makefile.in: Ditto.
5212 * libc/iconv/lib/Makefile.in: Ditto.
5213 * libc/locale/Makefile.in: Ditto.
5214 * libc/misc/Makefile.in: Ditto.
5215 * libc/posix/Makefile.in: Ditto.
5216 * libc/reent/Makefile.in: Ditto.
5217 * libc/search/Makefile.in: Ditto.
5218 * libc/signal/Makefile.in: Ditto.
5219 * libc/stdio/Makefile.in: Ditto.
5220 * libc/stdio64/Makefile.in: Ditto.
5221 * libc/stdlib/Makefile.in: Ditto.
5222 * libc/string/Makefile.in: Ditto.
5223 * libc/syscalls/Makefile.in: Ditto.
5224 * libc/time/Makefile.in: Ditto.
5225 * libc/unix/Makefile.in: Ditto.
5227 2007-01-30 Ben Elliston <bje@au.ibm.com>
5229 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
5231 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
5232 (printf): Pass fmt to va_start to suppress a warning.
5234 * libc/search/hash.c (init_hash): Make `info' parameter const.
5236 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
5238 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
5239 * libc/machine/spu/vec_literal.h: Ditto.
5240 * libc/machine/spu/strncmp.c: Ditto.
5242 2007-01-15 Joseph Myers <joseph@codesourcery.com>
5243 Kazu Hirata <kazu@codesourcery.com>
5245 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
5246 for E500V1 and E500V2.
5248 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
5250 * libm/configure.in: Always configure machine directory.
5251 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
5253 * libm/configure: Regenerated.
5254 * libm/Makefile.in: Ditto.
5255 * libm/*/Makefile.in: Ditto.
5257 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
5259 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
5261 2007-01-02 Ben Elliston <bje@au.ibm.com>
5263 * doc/makedoc.c: Include <stdlib.h>.
5264 (malloc, realloc): Remove extern declarations.
5266 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
5268 * NEWS: Update with 1.15.0 info.
5270 * acinclude.m4: Change version number to 1.15.0.
5271 * aclocal.m4: Regenerated.
5273 * doc/aclocal.m4: Ditto.
5274 * doc/configure: Ditto.
5275 * libc/*/aclocal.m4: Ditto.
5276 * libc/*/configure: Ditto.
5277 * libc/libc.texinfo: Ditto.
5278 * libm/*/aclocal.m4: Ditto.
5279 * libm/*/configure: Ditto.
5280 * libm/libm.texinfo: Ditto.
5281 * libc/sys/linux/shared.ld: Add VERS_1.15.
5283 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
5285 Merge from newlib-csl-20060320-branch:
5286 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
5287 Kazu Hirata <kazu@codesourcery.com>
5289 * configure.host: Recognize fido.
5291 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
5293 * libc/machine/spu/c99ppe.h: New file
5294 * libc/machine/spu/perror.c: New file to override libc/stdio version.
5295 * libc/machine/spu/printf.c: New file
5296 * libc/machine/spu/putchar.c: New file
5297 * libc/machine/spu/puts.c: New file
5298 * libc/machine/spu/vprintf.c: New file
5299 * libc/machine/spu/vsnprintf.c: New file
5300 * libc/machine/spu/vsprintf.c: New file
5301 * libc/machine/spu/Makefile.am: Add new targets.
5302 * libc/machine/spu/Makefile.in: Regenerated.
5304 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
5306 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
5307 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
5309 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
5311 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
5312 2.6.5 version of Doug Lea's malloc which is the basis of
5315 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
5317 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
5319 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
5320 Eric Blake <ebb9@byu.net>
5322 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
5323 read but unused data.
5324 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
5325 even read streams may have side effects that must happen.
5327 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
5329 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
5332 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
5334 * libc/include/alloca.h: Add undef alloca to work with xlc.
5336 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
5338 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
5341 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
5343 * libc/machine/spu/strncpy.c: Add padding.
5345 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
5347 * testsuite/newlib.string/tstring.c:
5349 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
5351 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
5352 * libc/machine/spu/strrchr.c: Ditto.
5354 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
5356 * libc/include/math.h: Allow C99 functions/macros to be
5357 defined for C++ even when __STRICT_ANSI__.
5359 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
5361 * libc/stdio/makebuf.c (__smakebuf): If dealing with
5362 an asprintf-family buffer, make the default initial size 64.
5364 2006-11-29 Eric Blake <ebb9@byu.net>
5366 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
5367 asprintf, as well as quadratic realloc behavior.
5369 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
5371 * libc/machine/spu/memset.c: Fix type of explicit cast.
5372 * libc/machine/spu/strncmp.c: Add explicit cast.
5373 * libc/machine/spu/strrchr.c: Ditto.
5374 * libc/machine/spu/strspn.c: Ditto.
5376 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
5378 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
5379 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
5380 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
5381 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
5382 * libc/machine/spu/strncat.c: Explicit cast.
5383 * libc/machine/spu/strncmp.c: Use spu_splats.
5384 * libc/machine/spu/strncpy.c: Explicit cast.
5385 * libc/machine/spu/strrchr.c: Use spu_splats.
5386 * libc/machine/spu/strspn.c: Use spu_splats.
5388 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
5390 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
5392 2006-11-14 Eric Blake <ebb9@byu.net>
5394 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
5395 (chclass): ' is a flag. j, t, and z are modifiers.
5397 2006-11-08 Jie Zhang <jie.zhang@analog.com>
5399 * configure.host: Add support for bfin.
5400 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
5401 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
5402 * libc/machine/bfin/aclocal.m4: Generate.
5403 * libc/machine/bfin/configure.in: New.
5404 * libc/machine/bfin/configure: Generate.
5405 * libc/machine/bfin/Makefile.am: New.
5406 * libc/machine/bfin/Makefile.in: Generate.
5407 * libc/machine/bfin/setjmp.S: New.
5408 * libc/machine/bfin/longjmp.S: New.
5409 * libc/machine/configure.in: Add bfin support.
5410 * libc/machine/configure: Generate.
5412 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
5414 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
5415 (_PC_FILESIZEBITS): Add definition.
5416 (_PC_2_SYMLINKS): Ditto.
5417 (_PC_SYMLINK_MAX): Ditto.
5419 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
5421 * libc/machine/spu/memcpy.c: Override generic function with vectorized
5422 version optimized for the cell spu.
5423 * libc/machine/spu/memmove.c: Ditto.
5424 * libc/machine/spu/memset.c: Ditto.
5425 * libc/machine/spu/strcat.c: Ditto.
5426 * libc/machine/spu/strchr.c: Ditto.
5427 * libc/machine/spu/strcmp.c: Ditto.
5428 * libc/machine/spu/strcpy.c: Ditto.
5429 * libc/machine/spu/strcspn.c: Ditto.
5430 * libc/machine/spu/strlen.c: Ditto.
5431 * libc/machine/spu/strncat.c: Ditto.
5432 * libc/machine/spu/strncmp.c: Ditto.
5433 * libc/machine/spu/strncpy.c: Ditto.
5434 * libc/machine/spu/strpbrk.c: Ditto.
5435 * libc/machine/spu/strrchr.c: Ditto.
5436 * libc/machine/spu/strspn.c: Ditto.
5437 * libc/machine/spu/strxfrm.c: Ditto.
5438 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
5439 removing altivec style initializers.
5440 * libc/machine/spu/Makefile.am: Add new files to list so they build
5441 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
5443 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
5445 * README: Add a brief section on how to regenerate
5446 configuration files in newlib.
5448 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
5450 * libc/include/math.h: (exception): Add a comment
5451 telling fixincludes that we handle C vs. C++ issue.
5453 2006-10-11 Yang Tse <yangsita@gmail.com>
5455 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
5458 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
5460 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
5462 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
5464 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
5465 for clearerr, feof, or fileno.
5466 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
5467 the dummy std stream scheme to use pointers to const external
5468 fake files, one for each standard stream.
5469 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
5470 argument. For _REENT_SMALL, reset the file pointer if it
5471 matches one of the fake std stream pointers.
5472 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
5474 * libc/stdio/fclose.c: Ditto.
5475 * libc/stdio/feof.c: Ditto.
5476 * libc/stdio/ferror.c: Ditto.
5477 * libc/stdio/fflush.c: Ditto.
5478 * libc/stdio/fgetc.c: Ditto.
5479 * libc/stdio/fgets.c: Ditto.
5480 * libc/stdio/fileno.c: Ditto.
5481 * libc/stdio/findfp.c: Ditto.
5482 * libc/stdio/fputc.c: Ditto.
5483 * libc/stdio/fputs.c: Ditto.
5484 * libc/stdio/fread.c: Ditto.
5485 * libc/stdio/freopen.c: Ditto.
5486 * libc/stdio/fseek.c: Ditto.
5487 * libc/stdio/ftell.c: Ditto.
5488 * libc/stdio/fwrite.c: Ditto.
5489 * libc/stdio/getc.c: Ditto.
5490 * libc/stdio/getdelim.c: Ditto.
5491 * libc/stdio/putc.c: Ditto.
5492 * libc/stdio/refill.c: Ditto.
5493 * libc/stdio/setvbuf.c: Ditto.
5494 * libc/stdio/ungetc.c: Ditto.
5495 * libc/stdio/vfprintf.c: Ditto.
5496 * libc/stdio/vfscanf.c: Ditto.
5497 * libc/stdio/wbuf.c: Ditto.: Ditto.
5498 * libc/stdio/wsetup.c: Ditto.
5499 * libc/stdio64/freopen64.c: Ditto.
5500 * libc/stdio64/fseeko64.c: Ditto.
5501 * libc/stdio64/ftello64.c: Ditto.
5502 * libc/machine/powerpc/vfprintf.c: Ditto.
5503 * libc/machine/powerpc/vfscanf.c: Ditto.
5505 2006-09-22 Paul Brook <paul@codesourcery.com>
5507 * libc/include/sys/reent.h: Define and use __reent_assert.
5509 2006-09-13 Joel Sherrill <joel@oarcorp.com>
5511 * libc/include/pthread.h: Add pthread barriers,
5512 rwlocks, and spinlocks. Change const to
5513 _CONST and prefix parameter names with
5515 * libc/include/sys/types.h: Add id and attribute
5516 types for barriers, wrlocks, and spinlocks.
5517 * libc/include/sys/features.h: Enable barriers,
5518 wrlocks, and spinlocks for RTEMS.
5520 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
5522 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
5523 supposed to be writable.
5524 * libm/common/s_lib_ver.c: Ditto.
5526 2006-09-12 Paul Brook <paul@codesourcery.com>
5528 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
5530 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
5533 * libc/machine/xstormy16/Makefile.am:
5534 Add $(lpfx) prefix to LIBADD objects.
5535 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
5536 * libc/machine/xstormy16/Makefile.in: Regenerated.
5538 2006-09-06 Eric Blake <ebb9@byu.net>
5540 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
5541 't', and 'z' modifiers.
5543 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
5545 Merge from newlib-csl-20060320-branch:
5546 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
5548 * configure.host: Tell it we have _rename and _system when
5549 building m68k-unknown-elf.
5551 2006-08-29 Paul Brook <paul@codesourcery.com>
5553 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
5555 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
5557 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
5558 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
5559 This is needed to build all AVR and H8300 RTEMS multilib variants.
5561 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
5563 * libc/machine/configure.in: Add configuration for SPU.
5564 * libc/machine/configure: Regenerated.
5565 * libc/machine/spu/memcpy.c: Include string.h.
5567 2006-08-22 Eric Blake <ebb9@byu.net>
5569 * libc/posix/popen.c (popen): Don't close output end of pipe in
5570 child if stdout was closed on entry.
5571 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
5573 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
5575 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
5578 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
5580 * libc/time/gmtime.c: Correct man page; clock is not a
5581 local time and no conversion occurs.
5583 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
5585 * configure.host (newlib_cflags) [spu]: Add special compiler
5586 options to reduce size.
5588 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
5590 * configure.host: Add spu support.
5591 * libc/include/stdint.h: Ditto.
5592 * libc/include/machine/ieeefp.h: Ditto.
5593 * libc/include/machine/setjmp.h: Ditto.
5594 * libc/include/sys/config.h: Ditto.
5595 * libc/include/sys/types.h: Ditto.
5596 * libc/machine/spu/Makefile.am: New file.
5597 * libc/machine/spu/Makefile.in: Ditto.
5598 * libc/machine/spu/aclocal.m4: Ditto.
5599 * libc/machine/spu/configure: Ditto.
5600 * libc/machine/spu/configure.in: Ditto.
5601 * libc/machine/spu/memcpy.c: Ditto.
5602 * libc/machine/spu/setjmp.S: Ditto.
5604 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
5606 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
5609 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
5611 * libc/Makefile.am: Add libc_TEXINFOS dependency on
5612 generated .texi files.
5613 * libm/Makefile.am: Add libm_TEXINFOS dependency on
5614 generated .texi files.
5615 * libc/Makefile.in: Regenerated.
5616 * libm/Makefile.in: Ditto.
5618 2006-08-01 Thiemo Seufer <ths@mips.com>
5619 Nigel Stephens <nigel@mips.com>
5621 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
5622 define this to force _impure_ptr to live in the .sdata section.
5624 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
5626 * acinclude.m4: Check for readelf tool.
5627 * configure.in: Use ${READELF} instead of hard-coding.
5628 * Regenerate all aclocal.m4, Makefile.in, and configure files.
5630 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
5632 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
5633 to avoid conflict with newer glibc's revision of mremap.
5635 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
5637 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
5638 floating-point format support. Also redefine
5639 dword0 and dword1 macros.
5640 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
5641 to prevent setting dword1 which is an rvalue only.
5643 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
5645 * libc/stdlib/Makefile.am: Add new gdtoa routines.
5646 * libc/stdlib/Makefile.in: Regenerated.
5647 * libc/stdlib/gd_qnan.h: New file.
5648 * libc/stdlib/gdtoa-gethex.c: Ditto.
5649 * libc/stdlib/gdtoa-hexnan.c: Ditto.
5650 * libc/stdlib/gdtoa.h: Ditto.
5651 * libc/stdlib/mprec.c: Add new helper routines needed by
5653 * libc/stdlib/mprec.h: Integrate some defines and prototypes
5654 used by gdtoa routines here.
5655 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
5656 which adds C99 support such as nan, inf, and hexadecimal input
5659 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
5661 * libc/include/stdio.h (__sgetc_r): Fix typo.
5662 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
5663 * libc/stdio/rget.c (__srbuf): Reinstantiate.
5664 * libc/stdio/wbuf.c (__swbuf): Ditto.
5666 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
5668 * libc/include/stdio.h: Add new reentrant I/O prototypes for
5669 read/write functions. Change getc/putc macros to have reentrant underlying
5670 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
5671 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
5672 new reentrant I/O functions/macros for reading/writing.
5673 * libc/stdio/fgets.c: Ditto.
5674 * libc/stdio/fputc.c: Ditto.
5675 * libc/stdio/fputs.c: Ditto.
5676 * libc/stdio/fread.c: Ditto.
5677 * libc/stdio/fseek.c: Ditto.
5678 * libc/stdio64/fseeko64.c: Ditto.
5679 * libc/stdio/fwrite.c: Ditto.
5680 * libc/stdio/getc.c: Ditto.
5681 * libc/stdio/getc_u.c: Ditto.
5682 * libc/stdio/getchar.c: Ditto.
5683 * libc/stdio/getchar_u.c: Ditto.
5684 * libc/stdio/putc.c: Ditto.
5685 * libc/stdio/putc_u.c: Ditto.
5686 * libc/stdio/putchar.c: Ditto.
5687 * libc/stdio/puts.c: Ditto.
5688 * libc/stdio/vfprintf.c: Ditto.
5689 * libc/stdio/vfscanf.c: Ditto.
5690 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
5691 Change all previous callers of __sfvwrite. Set errno to EBADF and
5692 set error flag on if attempt is made to write to file that does not
5694 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
5695 * libc/stdio/local.h: Ditto.
5696 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
5697 Set errno to EBADF and the error flag on if attempt is made to
5698 read unreadable file. Change all previous callers of __srefill.
5700 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
5701 all previous callers of __swbuf.
5702 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
5703 huge value macros are already defined correctly for i386 by <math.h>.
5705 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
5707 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
5708 Make them do something useful in the ARM_RDI_MONITOR case.
5710 2006-06-07 Fred Fish <fnf@specifix.com>
5712 * libc/search/hash_bigkey.c (MIN,MAX): Remove
5713 defines that are already supplied by <sys/param.h>.
5715 2006-06-07 Fred Fish <fnf@specifix.com>
5717 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
5719 2006-06-05 Shaun Jackman <sjackman@gmail.com>
5721 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
5723 * libc/posix/Makefile.in: Regenerate.
5724 * libc/posix/sleep.c: New file.
5725 * libc/posix/usleep.c: Ditto.
5727 2006-06-05 Shaun Jackman <sjackman@gmail.com>
5729 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
5730 -DABORT_PROVIDED flag.
5731 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
5732 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
5734 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
5736 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
5737 * Makefile.in: Regenerated.
5738 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
5739 extraneous CFLAGS reference now that CCASFLAGS are being extended
5740 properly via multilib.
5741 * libc/machine/sh/Makefile.in: Regenerated.
5743 2006-06-02 Shaun Jackman <sjackman@gmail.com>
5745 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
5748 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
5750 * libc/misc/dprintf.c: Removed.
5751 * libc/misc/__dprintf.c: Renamed from dprintf.c.
5752 * libc/misc/Makefile.am: Changed appropriately for rename.
5753 * libc/misc/Makefile.in: Regenerated.
5755 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
5757 * libc/include/stdio.h: Protect dprintf prototype
5758 with #ifndef dprintf so as to not interfere with
5759 historical code defining their own dprintf macro.
5761 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
5763 * libc/include/stdio.h: Add prototypes for fiscanf,
5764 iscanf, and siscanf.
5766 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
5768 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
5769 (DEF_NEWLIB_VERSION).
5770 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
5771 * configure: Regenerate.
5773 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
5775 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
5777 * libc/ctype/Makefile.in: Regenerated.
5779 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
5781 * libc/machine/arm/Makefile.am: Fix a typo.
5782 * libc/machine/arm/Makefile.in: Regenerated.
5784 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
5786 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
5787 * libc/machine/sh/Makefile.in: Regenerate.
5789 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
5791 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
5792 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
5794 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
5796 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
5798 * libc/sys/sysnec810/Makefile.in: Regenerated.
5799 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
5800 * libc/sys/sysnec810/io.S: Ditto.
5801 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
5802 * libc/sys/sysnec810/io.s: Ditto.
5804 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
5806 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
5807 be specified instead of object, do so.
5808 * libc/ctype/Makefile.am: Ditto.
5809 * libc/iconv/ccs/Makefile.am: Ditto.
5810 * libc/iconv/ces/Makefile.am: Ditto.
5811 * libc/iconv/lib/Makefile.am: Ditto.
5812 * libc/locale/Makefile.am: Ditto.
5813 * libc/posix/Makefile.am: Ditto.
5814 * libc/reent/Makefile.am: Ditto.
5815 * libc/search/Makefile.am: Ditto.
5816 * libc/stdio/Makefile.am: Ditto.
5817 * libc/stdio64/Makefile.am: Ditto.
5818 * libc/stdlib/Makefile.am: Ditto.
5819 * libc/string/Makefile.am: Ditto.
5820 * libc/syscalls/Makefile.am: Ditto.
5821 * libc/unix/Makefile.am: Ditto.
5822 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
5823 prefix added automatically. Any specified rules must use $(lpfx) for
5825 * libc/machine/arm/Makefile.am: Ditto.
5826 * libc/machine/cris/Makefile.am: Ditto.
5827 * libc/machine/crx/Makefile.am: Ditto.
5828 * libc/machine/d10v/Makefile.am: Ditto.
5829 * libc/machine/d30v/Makefile.am: Ditto.
5830 * libc/machine/fr30/Makefile.am: Ditto.
5831 * libc/machine/frv/Makefile.am: Ditto.
5832 * libc/machine/h8300/Makefile.am: Ditto.
5833 * libc/machine/h8500/Makefile.am: Ditto.
5834 * libc/machine/hppa/Makefile.am: Ditto.
5835 * libc/machine/i386/Makefile.am: Ditto.
5836 * libc/machine/i960/Makefile.am: Ditto.
5837 * libc/machine/iq2000/Makefile.am: Ditto.
5838 * libc/machine/m32c/Makefile.am: Ditto.
5839 * libc/machine/m32r/Makefile.am: Ditto.
5840 * libc/machine/m68hc11/Makefile.am: Ditto.
5841 * libc/machine/m68k/Makefile.am: Ditto.
5842 * libc/machine/m88k/Makefile.am: Ditto.
5843 * libc/machine/mips/Makefile.am: Ditto.
5844 * libc/machine/mn10200/Makefile.am: Ditto.
5845 * libc/machine/mn10300/Makefile.am: Ditto.
5846 * libc/machine/mt/Makefile.am: Ditto.
5847 * libc/machine/necv70/Makefile.am: Ditto.
5848 * libc/machine/powerpc/Makefile.am: Ditto.
5849 * libc/machine/sh/Makefile.am: Ditto.
5850 * libc/machine/sh/Makefile.in: Ditto.
5851 * libc/machine/sparc/Makefile.am: Ditto.
5852 * libc/machine/tic4x/Makefile.am: Ditto.
5853 * libc/machine/tic80/Makefile.am: Ditto.
5854 * libc/machine/v850/Makefile.am: Ditto.
5855 * libc/machine/w65/Makefile.am: Ditto.
5856 * libc/machine/xscale/Makefile.am: Ditto.
5857 * libc/machine/xstormy16/Makefile.am: Ditto.
5858 * libc/machine/z8k/Makefile.am: Ditto.
5859 * libc/sys/a29khif/Makefile.am: Ditto.
5860 * libc/sys/arm/Makefile.am: Ditto.
5861 * libc/sys/d10v/Makefile.am: Ditto.
5862 * libc/sys/h8300hms/Makefile.am: Ditto.
5863 * libc/sys/h8500hms/Makefile.am: Ditto.
5864 * libc/sys/linux/Makefile.am: Ditto.
5865 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5866 * libc/sys/linux/net/Makefile.am: Ditto.
5867 * libc/sys/linux/stdlib/Makefile.am: Ditto.
5868 * libc/sys/m88kbug/Makefile.am: Ditto.
5869 * libc/sys/mmixware/Makefile.am: Ditto.
5870 * libc/sys/rdos/Makefile.am: Ditto.
5871 * libc/sys/rtems/Makefile.am: Ditto.
5872 * libc/sys/sh/Makefile.am: Ditto.
5873 * libc/sys/sun4/Makefile.am: Ditto.
5874 * libc/sys/sysmec/Makefile.am: Ditto.
5875 * libc/sys/sysnec810/Makefile.am: Ditto.
5876 * libc/sys/sysnecv850/Makefile.am: Ditto.
5877 * libc/sys/sysvi386/Makefile.am: Ditto.
5878 * libc/sys/sysvnecv70/Makefile.am: Ditto.
5879 * libc/sys/tic80/Makefile.am: Ditto.
5880 * libc/sys/w65/Makefile.am: Ditto.
5881 * libc/sys/z8ksim/Makefile.am: Ditto.
5882 * libc/machine/necv70/fastmath.S: Renamed from .s file.
5883 * libc/machine/necv70/setjmp.S: Ditto.
5884 * libc/machine/necv70/fastmath.s: Removed.
5885 * libc/machine/necv70/setjmp.s: Ditto.
5886 * libc/machine/w65/*.S: New files renamed from .s files.
5887 * libc/machine/w65/*.s: Renamed and removed.
5888 * libc/sys/a29khif/*.S: New files renamed from .s files.
5889 * libc/sys/a29khif/*.s: Renamed and removed.
5890 * libc/sys/sysvi386/*.S: New files renamed from .s files.
5891 * libc/sys/sysvi386/*.s: Renamed and removed.
5892 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
5893 * libc/sys/sysvnecv70/*.s: Renamed and removed.
5894 * libc/*Makefile.in: Regenerated as appropriate.
5896 2006-04-24 DJ Delorie <dj@redhat.com>
5898 * libc/machine/sh/configure.in: Avoid link tests.
5899 * libc/machine/sh/configure: Regenerate.
5901 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
5903 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
5904 (sigaddset, sigemptyset): Add return code.
5906 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
5908 * acinclude.m4: New _NEWLIB_VERSION.
5909 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
5910 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
5911 Use new form of AC_INIT_AUTOMAKE.
5912 * configure.in: AC_PREREQ(2.59).
5913 Use autoconf-2.5.x version of AC_INIT.
5914 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
5915 autoconf-2.13's AC_OUTPUT.
5916 * libm/configure.in: Ditto.
5917 * libm/machine/configure.in: Ditto.
5918 * libm/machine/i386/configure.in: Ditto.
5919 * libc/configure.in: Ditto.
5920 * libc/machine/a29k/configure.in: Ditto.
5921 * libc/machine/arm/configure.in: Ditto.
5922 * libc/machine/configure.in: Ditto.
5923 * libc/machine/mn10300/configure.in: Ditto.
5924 * libc/machine/powerpc/configure.in: Ditto.
5925 * libc/machine/z8k/configure.in: Ditto.
5926 * libc/machine/h8300/configure.in: Ditto.
5927 * libc/machine/mips/configure.in: Ditto.
5928 * libc/machine/crx/configure.in: Ditto.
5929 * libc/machine/m68hc11/configure.in: Ditto.
5930 * libc/machine/h8500/configure.in: Ditto.
5931 * libc/machine/xscale/configure.in: Ditto.
5932 * libc/machine/d10v/configure.in: Ditto.
5933 * libc/machine/fr30/configure.in: Ditto.
5934 * libc/machine/sh/configure.in: Ditto.
5935 * libc/machine/tic80/configure.in: Ditto.
5936 * libc/machine/m32r/configure.in: Ditto.
5937 * libc/machine/xstormy16/configure.in: Ditto.
5938 * libc/machine/i386/configure.in: Ditto.
5939 * libc/machine/d30v/configure.in: Ditto.
5940 * libc/machine/mn10200/configure.in: Ditto.
5941 * libc/machine/frv/configure.in: Ditto.
5942 * libc/machine/mt/configure.in: Ditto.
5943 * libc/machine/i960/configure.in: Ditto.
5944 * libc/machine/v850/configure.in: Ditto.
5945 * libc/machine/necv70/configure.in: Ditto.
5946 * libc/machine/tic4x/configure.in: Ditto.
5947 * libc/machine/cris/configure.in: Ditto.
5948 * libc/machine/m68k/configure.in: Ditto.
5949 * libc/machine/m32c/configure.in: Ditto.
5950 * libc/machine/hppa/configure.in: Ditto.
5951 * libc/machine/w65/configure.in: Ditto.
5952 * libc/machine/iq2000/configure.in: Ditto.
5953 * libc/machine/sparc/configure.in: Ditto.
5954 * libc/machine/m88k/configure.in: Ditto.
5955 * libc/sys/linux/configure.in: Ditto.
5956 * libc/sys/linux/machine/configure.in: Ditto.
5957 * libc/sys/linux/machine/i386/configure.in: Ditto.
5958 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5959 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
5960 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
5961 * libc/sys/arm/configure.in: Ditto.
5962 * libc/sys/configure.in: Ditto.
5963 * libc/sys/decstation/configure.in: Ditto.
5964 * libc/sys/a29khif/configure.in: Ditto.
5965 * libc/sys/sysnecv850/configure.in: Ditto.
5966 * libc/sys/d10v/configure.in: Ditto.
5967 * libc/sys/netware/configure.in: Ditto.
5968 * libc/sys/mmixware/configure.in: Ditto.
5969 * libc/sys/h8500hms/configure.in: Ditto.
5970 * libc/sys/sh/configure.in: Ditto.
5971 * libc/sys/tic80/configure.in: Ditto.
5972 * libc/sys/rdos/configure.in: Ditto.
5973 * libc/sys/sysmec/configure.in: Ditto.
5974 * libc/sys/sysvi386/configure.in: Ditto.
5975 * libc/sys/h8300hms/configure.in: Ditto.
5976 * libc/sys/sparc64/configure.in: Ditto.
5977 * libc/sys/arc/configure.in: Ditto.
5978 * libc/sys/sysnec810/configure.in: Ditto.
5979 * libc/sys/m88kbug/configure.in: Ditto.
5980 * libc/sys/sysvnecv70/configure.in: Ditto.
5981 * libc/sys/z8ksim/configure.in: Ditto.
5982 * libc/sys/rtems/configure.in: Ditto.
5983 * libc/sys/w65/configure.in: Ditto.
5984 * libc/sys/sun4/configure.in: Ditto.
5985 * doc/configure.in: Ditto.
5986 * iconvdata/configure.in: Ditto.
5987 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
5989 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
5991 * acinclude.m4: Properly add square brackets for
5992 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
5993 macros no longer available. Add LIB_AM_PROG_AS to
5994 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
5995 macro. Substitute lpfx (library object prefix).
5996 * configure.host: Set lpfx depending on whether
5997 libtool is used or not.
5998 * configure.in: Individually specify libc and libm
5999 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
6001 * Makefile.am: Use $(lpfx) to get object names for
6002 math-library functions that should also be in libc.
6003 * libc/machine/configure.in: Use case statement to determine
6004 AC_CONFIG_SUBDIRS statement.
6005 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6006 * libc/sys/linux/machine/configure.in: Ditto.
6007 * libc/sys/configure.in: Ditto.
6008 * libm/machine/configure.in: Ditto.
6009 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
6010 * libm/configure.in: Add AM_CONDITIONAL statement
6011 for HAVE_LIBM_MACHINE_DIR.
6012 * libc/machine/a29k/Makefile.am: Modified to work with
6013 latest automake. Change includes setting AM_CCASFLAGS
6014 so building .S files will properly pick up flags used
6016 * libc/machine/arm/Makefile.am: Ditto.
6017 * libc/machine/crx/Makefile.am: Ditto.
6018 * libc/machine/d10v/Makefile.am: Ditto.
6019 * libc/machine/d30v/Makefile.am: Ditto.
6020 * libc/machine/fr30/Makefile.am: Ditto.
6021 * libc/machine/frv/Makefile.am: Ditto.
6022 * libc/machine/h8300/Makefile.am: Ditto.
6023 * libc/machine/h8500/Makefile.am: Ditto.
6024 * libc/machine/hppa/Makefile.am: Ditto.
6025 * libc/machine/i386/Makefile.am: Ditto.
6026 * libc/machine/iq2000/Makefile.am: Ditto.
6027 * libc/machine/m32c/Makefile.am: Ditto.
6028 * libc/machine/m32r/Makefile.am: Ditto.
6029 * libc/machine/m68hc11/Makefile.am: Ditto.
6030 * libc/machine/m68k/Makefile.am: Ditto.
6031 * libc/machine/m88k/Makefile.am: Ditto.
6032 * libc/machine/mips/Makefile.am: Ditto.
6033 * libc/machine/mn10200/Makefile.am: Ditto.
6034 * libc/machine/mn10300/Makefile.am: Ditto.
6035 * libc/machine/mt/Makefile.am: Ditto.
6036 * libc/machine/necv70/Makefile.am: Ditto.
6037 * libc/machine/powerpc/Makefile.am: Ditto.
6038 * libc/machine/sh/Makefile.am: Ditto.
6039 * libc/machine/sparc/Makefile.am: Ditto.
6040 * libc/machine/tic4x/Makefile.am: Ditto.
6041 * libc/machine/tic80/Makefile.am: Ditto.
6042 * libc/machine/v850/Makefile.am: Ditto.
6043 * libc/machine/w65/Makefile.am: Ditto.
6044 * libc/machine/xscale/Makefile.am: Ditto.
6045 * libc/machine/xstormy16/Makefile.am: Ditto.
6046 * libc/machine/z8k/Makefile.am: Ditto.
6047 * libc/sys/a29khif/Makefile.am: Ditto.
6048 * libc/sys/arc/Makefile.am: Ditto.
6049 * libc/sys/arm/Makefile.am: Ditto.
6050 * libc/sys/d10v/Makefile.am: Ditto.
6051 * libc/sys/decstation/Makefile.am: Ditto.
6052 * libc/sys/h8300hms/Makefile.am: Ditto.
6053 * libc/sys/h8500hms/Makefile.am: Ditto.
6054 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6055 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
6056 * libc/sys/m88kbug/Makefile.am: Ditto.
6057 * libc/sys/mmixware/Makefile.am: Ditto.
6058 * libc/sys/netware/Makefile.am: Ditto.
6059 * libc/sys/rdos/Makefile.am: Ditto.
6060 * libc/sys/rtems/Makefile.am: Ditto.
6061 * libc/sys/sh/Makefile.am: Ditto.
6062 * libc/sys/sparc64/Makefile.am: Ditto.
6063 * libc/sys/sysmec/Makefile.am: Ditto.
6064 * libc/sys/sysnec810/Makefile.am: Ditto.
6065 * libc/sys/sysnecv850/Makefile.am: Ditto.
6066 * libc/sys/sysvi386/Makefile.am: Ditto.
6067 * libc/sys/sysvnecv70/Makefile.am: Ditto.
6068 * libc/sys/tic80/Makefile.am: Ditto.
6069 * libc/sys/w65/Makefile.am: Ditto.
6070 * libc/sys/z8ksim/Makefile.am: Ditto.
6071 * libm/machine/i386/Makefile.am: Ditto.
6072 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
6073 trap.S so that automake will generate a .S.o suffix rule.
6074 * libc/argz/Makefile.am: Modified to work with
6075 latest automake. Change includes adding lib_a_CFLAGS
6076 so automake doesn't complain about libtool and non-libtool
6077 libraries sharing objects.
6078 * libc/ctype/Makefile.am: Ditto.
6079 * libc/errno/Makefile.am: Ditto.
6080 * libc/iconv/ccs/Makefile.am: Ditto.
6081 * libc/iconv/ces/Makefile.am: Ditto.
6082 * libc/iconv/lib/Makefile.am: Ditto.
6083 * libc/locale/Makefile.am: Ditto.
6084 * libc/misc/Makefile.am: Ditto.
6085 * libc/posix/Makefile.am: Ditto.
6086 * libc/reent/Makefile.am: Ditto.
6087 * libc/search/Makefile.am: Ditto.
6088 * libc/signal/Makefile.am: Ditto.
6089 * libc/stdio/Makefile.am: Ditto.
6090 * libc/stdio64/Makefile.am: Ditto.
6091 * libc/stdlib/Makefile.am: Ditto.
6092 * libc/string/Makefile.am: Ditto.
6093 * libc/sys/linux/Makefile.am: Ditto.
6094 * libc/sys/linux/argp/Makefile.am: Ditto.
6095 * libc/sys/linux/cmath/Makefile.am: Ditto.
6096 * libc/sys/linux/dl/Makefile.am: Ditto.
6097 * libc/sys/linux/iconv/Makefile.am: Ditto.
6098 * libc/sys/linux/intl/Makefile.am: Ditto.
6099 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
6100 * libc/sys/linux/net/Makefile.am: Ditto.
6101 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6102 * libc/syscalls/Makefile.am: Ditto.
6103 * libc/time/Makefile.am: Ditto.
6104 * libc/unix/Makefile.am: Ditto.
6105 * libm/Makefile.am: Ditto.
6106 * libm/common/Makefile.am: Ditto.
6107 * libm/math/Makefile.am: Ditto.
6108 * libm/mathfp/Makefile.am: Ditto.
6109 * Regenerate all aclocal.m4, Makefile.in, and configure files.
6111 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
6113 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
6114 anymore. Assume there is a gettimeofday syscall.
6116 2006-03-29 Shaun Jackman <sjackman@gmail.com>
6118 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
6119 for the declaration of n_long.
6121 2006-03-29 Shaun Jackman <sjackman@gmail.com>
6123 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
6125 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
6126 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
6127 (IFF_NOTRAILERS): New define.
6128 (struct ifreq): Add ifru_netmask.
6129 (ifr_netmask): New define.
6131 2006-03-29 Shaun Jackman <sjackman@gmail.com>
6133 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
6136 2006-03-29 Shaun Jackman <sjackman@gmail.com>
6138 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
6139 linux-newlib libc implementations.
6141 2006-03-29 Eric Blake <ebb9@byu.net>
6143 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
6144 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
6146 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
6148 * libc/sys/linux/io.c (__mknod): Fix declaration of
6149 syscall to pass a dev_t as third argument rather than
6152 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
6154 * libc/sys/linux/net/name6.c: Fix struct references.
6156 2006-03-22 Mark Mitchell <mark@codesourcery.com>
6158 * configure.host: Allow hosts to set the default
6159 newlib_atexit_dynamic_alloc value.
6160 * configure.in: Likewise.
6161 * configure: Regenerated.
6163 2006-03-20 Mark Mitchell <mark@codesourcery.com>
6165 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
6166 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
6168 * configure: Regenerated.
6169 * newlib.hin: Regenerated.
6170 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
6171 if _ATEXIT_DYNAMIC_ALLOC is undefined.
6172 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
6173 if _ATEXIT_DYNAMIC_ALLOC is undefined.
6175 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
6177 * libc/sys/linux/linuxthreads/config.h: Remove definition
6180 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
6182 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
6183 for a string I/O file that isn't using the asprintf family.
6185 2006-03-07 Eric Blake <ebb9@byu.net>
6187 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
6188 filename, allow read-only or write-only FILE atop O_RDWR file
6190 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
6192 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
6194 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
6195 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
6197 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
6199 * libm/math/math.tex: Fix reference to sisnan.def which
6200 is now in common subdirectory.
6201 * libm/mathfp/mathfp.tex: Ditto.
6203 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
6205 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
6206 s_isnand, and sf_isnanf object files.
6207 * Makefile.in: Regenerated.
6208 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
6209 conflict if <math.h> has previously been included.
6210 * libc/include/math.h
6211 * libc/include/math.h: Make isnan and isinf macros to
6213 (__isinfd, __isinff, __isnand, __isnanf): New functions.
6214 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
6215 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
6216 sf_isinf files which have been moved from math/mathfp directories.
6217 * libm/common/Makefile.in: Regenerated.
6218 * libm/common/s_isinfd.c: New file.
6219 * libm/common/s_isnand.c: Ditto.
6220 * libm/common/sf_isinff.c: Ditto.
6221 * libm/common/sf_isnanf.c: Ditto.
6222 * libm/common/s_isinf.c: Moved from libm/math directory.
6223 * libm/common/s_isnan.c: Ditto.
6224 * libm/common/sf_isinf.c: Ditto.
6225 * libm/common/sf_isnan.c: Ditto.
6226 * libm/math/Makefile.am: Remove isinf and isnan family functions
6227 which have been moved into common directory.
6228 * libm/mathfp/Makefile.am: Ditto.
6229 * libm/math/Makefile.in: Regenerated.
6230 * libm/mathfp/Makefile.in: Ditto.
6231 * libm/math/s_isinf.c: Removed.
6232 * libm/math/s_isnan.c: Ditto.
6233 * libm/math/sf_isinf.c: Ditto.
6234 * libm/math/sf_isnan.c: Ditto.
6235 * libm/mathfp/s_isinf.c: Ditto.
6236 * libm/mathfp/s_isnan.c: Ditto.
6237 * libm/mathfp/sf_isinf.c: Ditto.
6238 * libm/mathfp/sf_isnan.c: Ditto.
6240 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
6242 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
6243 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
6244 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
6245 seek, turn off the __SNPT no-optimization flag.
6247 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
6249 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
6251 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
6252 <features.h> to preset special flags.
6254 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
6256 * libc/include/sys/time.h (struct timeval): Change member types
6258 * libc/include/sys/types.h (useconds_t): Change to unsigned
6260 (suseconds_t): Define type.
6262 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
6263 David Carne <davidcarne@gmail.com>
6265 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
6266 instead of strlen to determine number of bytes to copy.
6267 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
6268 before looking at storage location.
6270 2006-02-07 Paul Brook <paul@codesourcery.com>
6272 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
6273 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
6274 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
6275 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
6276 * libc/sys/arm/trap.S: Disable for Thumb-2.
6278 2006-01-31 Leif Ekblad <leif@rdos.net>
6280 * configure.host: RDOS support added
6281 * libc/include/sys/config.h: Ditto.
6282 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
6283 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
6284 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
6285 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
6286 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
6287 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
6288 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
6289 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
6290 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
6291 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
6292 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
6293 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
6294 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
6295 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
6296 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
6297 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
6298 * libc/sys/rdos/write.c: Ditto.
6300 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
6302 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
6303 so as not to define PACKAGE and VERSION in newlib.h.
6304 * aclocal.m4: Regenerated.
6306 * newlib.hin: Ditto.
6308 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
6310 * acconfig.h: New file to generate newlib.hin from.
6311 * newlib.hin: Regenerated.
6312 * stamp-h.in: Regenerated.
6313 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
6314 called automatically.
6315 * Makefile.in: Regenerated.
6316 * acinclude.m4: Add proper comment for hack in previous change.
6317 * aclocal.m4 */aclocal.m4: Regenerated.
6318 * configure */configure: Regenerated.
6320 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
6322 * acinclude.m4: Add hack to prevent INSTALL in subdirs
6323 from being set to "../".
6324 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
6325 * aclocal.m4: Regenerated.
6327 * Makefile.in: Ditto.
6328 * doc/aclocal.m4: Ditto.
6329 * doc/configure: Ditto.
6330 * iconvdata/aclocal.m4: Ditto.
6331 * iconvdata/configure: Ditto.
6332 * libc/*/aclocal.m4: Ditto.
6333 * libc/*/configure: Ditto.
6334 * libc/libc.texinfo: Ditto.
6335 * libm/*/aclocal.m4: Ditto.
6336 * libm/*/configure: Ditto.
6338 2006-01-10 Eric Blake <ebb9@byu.net>
6340 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
6341 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
6343 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
6345 * libm/mathfp/s_frexp.c: Check for special values on
6346 the original input, not the manipulated output value.
6347 * libm/mathfp/sf_frexp.c: Ditto.
6348 * libm/mathfp/s_atangent.c: Don't use local value branch
6349 when checking for quadrant.
6350 * libm/mathfp/sf_atangent.c: Ditto.
6352 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
6354 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
6355 * libc/stdio64/freopen64.c: Ditto.
6357 2006-01-09 Eric Blake <ebb9@byu.net>
6359 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
6360 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
6362 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
6364 * libc/sys/linux/include/getopt.h: Add macros needed by
6365 new version of getopt.c in libc/stdlib.
6367 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
6369 * libc/stdlib/getopt.c: Replaced with version
6370 that adds getopt_long and getopt_long_only support.
6371 * libc/include/getopt.h: New file.
6373 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
6375 * NEWS: Update with 1.14.0 info.
6377 * acinclude.m4: Change version number to 1.14.0.
6378 * aclocal.m4: Regenerated.
6380 * doc/aclocal.m4: Ditto.
6381 * doc/configure: Ditto.
6382 * libc/*/aclocal.m4: Ditto.
6383 * libc/*/configure: Ditto.
6384 * libc/libc.texinfo: Ditto.
6385 * libm/*/aclocal.m4: Ditto.
6386 * libm/*/configure: Ditto.
6387 * libm/libm.texinfo: Ditto.
6388 * libc/sys/linux/shared.ld: Add VERS_1.14.
6390 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
6392 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
6393 take a pointer to struct stat64 rather than struct stat.
6395 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
6397 * libc/include/stdint.h: Prefer long over int for int32_t.
6398 Use __have_long32 to set up int32_t.
6399 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
6400 (Sync with stdint.h).
6402 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
6404 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
6405 typo in O_NDELAY comment.
6407 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
6409 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
6410 * libc/include/machine/setjmp.h (__mt__): Likewise.
6411 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
6412 * libc/machine/configure.in: Ditto.
6414 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
6416 * configure.host: Replace ms1 arch with mt arch.
6417 * libc/machine/mt: Renamed from ms1 dir.
6419 2005-12-08 Shaun Jackman <sjackman@gmail.com>
6421 * libc/include/sys/types.h: Remove the ifdef armour around
6422 standard POSIX types.
6424 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
6426 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
6427 rtems_gxx_key_delete, rtems_gxx_getspecific,
6428 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
6429 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
6430 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
6432 2005-12-05 Christopher Faylor <cgf@timesys.com>
6434 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
6435 file. Declare unsetenv and _unsetenv_r when not cygwin.
6437 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
6439 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
6440 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
6442 2005-11-18 Christopher Faylor <cgf@timesys.com>
6444 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
6446 2005-11-18 Christopher Faylor <cgf@timesys.com>
6448 * include/time.h: Remove more cygwin-specific stuff.
6450 2005-11-18 Christopher Faylor <cgf@timesys.com>
6452 * include/time.h: Move cygwin declarations to cygwin-specific header.
6453 * include/sys/time.h: Rename cygwin include to "sys_time.h".
6455 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
6457 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
6458 in libc/sys/linux/include.
6459 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
6460 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
6461 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
6462 in libc/sys/linux/dl.
6464 2005-11-11 Christopher Faylor <cgf@timesys.com>
6466 * libc/include/sys/time.h: For cygwin, use general header rather than
6467 specific "sys/select.h".
6469 2005-11-08 Tom Walsh <tom@openhardware.net>
6471 * libc/time/tzvars.c: New file.
6472 * libc/time/tzset_r.c: Moved globals into tzvars.c
6473 so other time functions needn't link in __tzset_r and its
6475 * libc/time/Makefile.am: Add the new file.
6476 * libc/time/Makefile.in: Regenerated.
6478 2005-11-08 Christopher Faylor <cgf@timesys.com>
6480 * libc/include/string.h: Add cygwin-specific function declaration.
6482 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
6484 * libc/include/ieeefp.h: Add C++ guards.
6486 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
6488 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
6489 * libc/unix/getlogin.c: Ditto.
6490 * libc/unix/getpass.c: Ditto.
6491 * libc/unix/getut.c: Ditto.
6492 * libc/unix/ttyname.c: Ditto.
6494 2005-11-03 Shaun Jackman <sjackman@gmail.com>
6496 * libc/include/sys/unistd.h (readlink, symlink): Provide these
6497 prototypes by default.
6498 * libc/sys/linux/include/unistd.h (readlink): Remove this
6500 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
6503 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
6505 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
6507 2005-10-31 Darin Johnson <darin@usa.net>
6509 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
6510 correct for constants.
6512 2005-10-28 Bob Wilson <bob.wilson@acm.org>
6514 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
6515 * libc/stdio/siscanf.c: Likewise.
6516 * libc/stdio/sprintf.c: Likewise.
6517 * libc/stdio/sscanf.c: Likewise.
6518 * libc/stdio/vfprintf.c: Likewise.
6519 * libc/stdio/vfscanf.c: Likewise.
6520 * libc/stdio/viprintf.c: Likewise.
6521 * libc/stdio/viscanf.c: Likewise.
6523 2005-10-28 Bob Wilson <bob.wilson@acm.org>
6525 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
6526 example to use "_end" symbol instead of "end". Change write example
6527 to use "outbyte" instead of "writechar".
6529 2005-10-28 Bob Wilson <bob.wilson@acm.org>
6531 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
6532 * libc/ctype/islower.c: Likewise.
6533 * libc/ctype/isupper.c: Likewise.
6534 * libc/ctype/iswalnum.c: Likewise.
6535 * libc/ctype/iswalpha.c: Likewise.
6536 * libc/ctype/iswblank.c: Likewise.
6537 * libc/ctype/iswcntrl.c: Likewise.
6538 * libc/ctype/iswdigit.c: Likewise.
6539 * libc/ctype/iswgraph.c: Likewise.
6540 * libc/ctype/iswlower.c: Likewise.
6541 * libc/ctype/iswprint.c: Likewise.
6542 * libc/ctype/iswpunct.c: Likewise.
6543 * libc/ctype/iswspace.c: Likewise.
6544 * libc/ctype/iswupper.c: Likewise.
6545 * libc/ctype/iswxdigit.c: Likewise.
6546 * libc/ctype/tolower.c: Likewise.
6547 * libc/ctype/toupper.c: Likewise.
6548 * libc/ctype/towctrans.c: Likewise.
6549 * libc/ctype/towlower.c: Likewise.
6550 * libc/ctype/towupper.c: Likewise.
6551 * libc/string/strcasecmp.c: Likewise.
6552 * libc/string/strcoll.c: Likewise.
6553 * libc/string/strings.tex: Likewise.
6554 * libc/string/strlwr.c: Likewise.
6555 * libc/string/strncasecmp.c: Likewise.
6556 * libc/string/strupr.c: Likewise.
6557 * libc/string/wcscoll.c: Likewise.
6558 * libc/string/wcslcat.c: Likewise.
6559 * libc/string/wcslcpy.c: Likewise.
6560 * libc/string/wcsnlen.c: Likewise.
6561 * libc/string/wcsstr.c: Likewise.
6562 * libc/string/wcstrings.tex: Likewise.
6563 * libc/string/wmemchr.c: Likewise.
6564 * libc/string/wmemcmp.c: Likewise.
6565 * libc/string/wmemcpy.c: Likewise.
6566 * libc/string/wmemmove.c: Likewise.
6567 * libc/string/wmemset.c: Likewise.
6569 2005-10-28 Bob Wilson <bob.wilson@acm.org>
6571 * libc/misc/unctrl.c: Replace FUNCTION description.
6572 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
6573 * libc/stdio/getdelim.c: Fix spelling errors.
6574 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
6575 * libc/stdio/putw.c: Likewise.
6576 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
6578 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
6579 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
6580 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
6581 * libc/stdlib/mlock.c: Likewise.
6582 * libc/stdlib/mstats.c: Likewise.
6583 * libc/time/tzlock.c: Likewise.
6584 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
6585 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
6586 and hyphenate "pseudo-random".
6587 * libc/string/bcmp.c: Remove extra blank lines in documentation.
6588 * libc/string/strncat.c: Likewise.
6589 * libc/string/memchr.c: Remove extra ">" character in documentation.
6590 * libc/string/strcspn.c: Use "characters" instead of "chars".
6591 * libc/string/strpbrk.c: Likewise.
6592 * libc/string/strerror_r.c: Capitalize "GNU".
6593 * libc/string/strnlen.c: Likewise.
6594 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
6595 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
6596 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
6597 * libc/string/wcschr.c: Likewise.
6598 * libc/string/wcscmp.c: Likewise.
6599 * libc/string/wcscpy.c: Likewise.
6600 * libc/string/wcscspn.c: Likewise.
6601 * libc/string/wcslen.c: Likewise.
6602 * libc/string/wcsncat.c: Likewise.
6603 * libc/string/wcsncmp.c: Likewise.
6604 * libc/string/wcsncpy.c: Likewise.
6605 * libc/string/wcsnlen.c: Likewise.
6606 * libc/string/wcspbrk.c: Likewise.
6607 * libc/string/wcsrchr.c: Likewise.
6608 * libc/string/wcsspn.c: Likewise.
6609 * libc/string/wmemchr.c: Likewise.
6610 * libc/string/wmemcmp.c: Likewise.
6611 * libc/string/wmemcpy.c: Likewise.
6612 * libc/string/wmemset.c: Likewise.
6613 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
6614 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
6615 * libc/string/wcwidth.c: Likewise.
6616 * libm/common/s_modf.c: Remove extra period from documentation.
6617 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
6619 * libm/mathfp/s_isnan.c: Likewise.
6620 * libm/math/s_ldexp.c: Fix punctuation.
6621 * libm/mathfp/s_ldexp.c: Likewise.
6622 * libm/math/w_log.c: Likewise.
6623 * libm/mathfp/s_logarithm.c: Likewise.
6624 * libm/math/w_j0.c: Add spaces to FUNCTION description.
6625 * libm/mathfp/w_jn.c: Likewise.
6627 2005-10-26 Shaun Jackman <sjackman@gmail.com>
6629 * libc/posix/scandir.c (scandir): Update the function
6630 prototype to match the header.
6631 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
6633 * libc/sys/linux/sys/lock.h: Do not include
6634 machine/weakalias.h, since it's not used by this file.
6636 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
6638 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
6639 directories can override properly.
6641 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
6643 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
6644 gcc is 3.3 or greater, use special gcc builtins.
6646 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
6648 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
6650 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
6652 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
6654 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
6656 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
6657 * libm/common/Makefile.am: Add s_infconst.c support.
6658 * libm/common/Makefile.in: Regenerated.
6659 * libm/common/s_infconst.c: New file with float and
6660 long double infinity support added.
6661 * libm/math/Makefile.am: Remove s_infconst.c support.
6662 * libm/math/Makefile.in: Regenerated.
6663 * libm/math/s_infconst.c: Moved to common directory.
6664 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
6665 * libm/mathfp/Makefile.in: Regenerated.
6666 * libm/mathfp/s_infconst.c: Moved to common directory.
6668 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
6670 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
6671 dbgprintf to prevent conflict with new dprintf function.
6673 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
6675 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
6676 "nan" processing for systems that have long double support.
6678 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
6680 * libc/sys/linux/sys/types.h (int8_t): Add type.
6682 2005-10-14 Bob Wilson <bob.wilson@acm.org>
6684 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
6685 * libm/common/Makefile.in: Regenerate.
6686 * libm/common/common.tex: Delete file.
6687 * libm/math/math.tex: Include .def files from common/.
6688 * libm/mathfp/mathfp.tex: Likewise.
6690 2005-10-14 Bob Wilson <bob.wilson@acm.org>
6692 * libc/libc.texinfo (Top): Surround this node with @ifnottex
6693 instead of @ifinfo. Update menu to add Introduction and match
6695 (Introduction): New section.
6697 2005-10-14 Bob Wilson <bob.wilson@acm.org>
6699 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
6700 with "Red Hat newlib C Library".
6701 * libc/sys.tex (Stubs): Likewise.
6702 * libm/math/math.tex (Math): Likewise.
6703 * libm/mathfp/mathfp.tex (Math): Likewise.
6705 2005-10-11 Shaun Jackman <sjackman@gmail.com>
6707 * libc/include/stdio.h (dprintf): New declaration.
6709 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
6711 * libc/stdio/Makefile.in: Regenerate.
6712 * libc/stdio/dprintf.c: New file.
6713 * libc/stdio/vdprintf.c: New file.
6714 * libc/stdio/stdio.tex (dprintf): New entry.
6716 2005-10-11 David Weatherford <weath@tensilica.com>
6718 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
6719 Print "inf" and "nan" in lowercase for e/f/g formats and in
6720 uppercase for E/F/G formats.
6722 2005-10-07 Bob Wilson <bob.wilson@acm.org>
6724 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
6725 to ENOMEM on failure.
6727 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
6729 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
6731 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
6733 * libc/include/stdint.h: Move magic to set __have_long* to the
6734 beginning. Use #if __have* instead of #if defined(__have*).
6737 2005-10-04 James E Wilson <wilson@specifix.com>
6739 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
6742 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
6744 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
6745 incorporate Ralf's change below.
6747 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
6749 * libc/include/stdint.h:
6750 Use __INTMAX_TYPE__ to derive intmax_t.
6751 Use __UINTMAX_TYPE__ to derive uintmax_t.
6754 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
6756 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
6759 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
6761 * libc/sys/linux/include/stdint.h: Update to match functionality
6762 of generic newlib stdint.h.
6764 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
6766 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
6767 and do not #undef the macro after it is used. Fix typos.
6768 Also change 64-bit constants to use the __have_long64 and
6769 __have_longlong64 flags to determine if long or long long
6770 constants should be used.
6771 * libc/include/inttypes.h: Include stddef.h to get wchar_t
6774 2005-09-20 Shaun Jackman <sjackman@gmail.com>
6776 * libc/include/stdint.h: Fix typo in names of
6779 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
6781 * libc/sys/rtems/include/inttypes.h: Moved to...
6782 * libc/include/inttypes.h: ...here.
6784 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
6786 * libc/sys/rtems/include/stdint.h: Moved to...
6787 * libc/include/stdint.h: ...here.
6789 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
6791 * Makefile.am: Add include files under bits sub-directory.
6792 * Makefile.in: Regenerated.
6793 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
6794 actual value of 1 to be compatible with newer glibc headers.
6795 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
6797 * libc/sys/linux/sys/dirent.h: Ditto.
6798 * libc/sys/linux/argp/argp-xinl.c: Ditto.
6799 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
6800 profile_fixup routines are marked used so they won't be
6802 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
6803 to mark functions as weak.
6804 * libc/sys/linux/dl/dl-open.c: Ditto.
6805 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
6806 rules about lvalues.
6807 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
6808 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
6809 weak_extern macro to mark functions as weak. Instead always
6811 * iconvdata/jis0208.h: Fix to work with gcc4.
6812 * libc/sys/linux/dl/dl-load.c: Ditto.
6813 * libc/sys/linux/dl/dl-reloc.c: Ditto.
6814 * libc/sys/linux/dl/do-rel.h: Ditto.
6815 * libc/sys/linux/dl/dynamic-link.h: Ditto.
6816 * libc/sys/linux/include/ltdl.h: Ditto.
6817 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6818 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
6819 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6820 * libc/sys/linux/bits/initspin.h: New file.
6821 * libc/sys/linux/bits/libc-lock.h: Ditto.
6822 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
6823 * libc/sys/linux/bits/typesizes.h: Ditto.
6825 2005-09-08 Eric Blake <ebb9@byu.net>
6827 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
6830 2005-09-08 Brian Dessent <brian@dessent.net>
6832 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
6836 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
6838 * libc/include/stdio.h: Add prototype for viprintf.
6840 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
6842 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
6843 any positive power results in 0.
6844 * libm/mathfp/sf_pow.c (powf): Ditto.
6846 2005-08-31 Paul Brook <paul@codesourcery.com>
6848 * configure.host: Set have_crt0 to no for Arm targts when not
6849 providing syscalls. Set sys_dir=arm unconditionally.
6850 Default have_crt0 based on sys_dir.
6851 * configure.in: Use have_crt0.
6852 * libc/configure.in: Ditto.
6853 * libc/sys/configure.in: Ditto.
6854 * configure: Regenerate.
6855 * libc/configure: Regenerate.
6856 * libc/sys/configure: Regenerate.
6857 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
6858 Only build other files when providing syscalls.
6859 * libc/sys/arm/Makefile.in: Regenerate.
6860 * libc/sys/arm/aeabi_atexit.c: New file.
6862 2005-08-26 Christopher Faylor <cgf@timesys.com>
6864 * libc/include/string.h: Revert previous change.
6866 2005-08-25 Christopher Faylor <cgf@timesys.com>
6868 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
6870 2005-08-22 Shaun Jackman <sjackman@gmail.com>
6872 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
6873 define _opendir as opendir, _readdir as readdir, and
6874 _closedir as closedir so that the implementations in
6875 libc/posix will be used.
6877 2005-08-10 DJ Delorie <dj@redhat.com>
6879 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
6881 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
6883 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
6884 * libm/common/s_max.c: Ditto.
6885 * libm/common/sf_fmin.c: Ditto.
6886 * libm/common/s_min.c: Ditto.
6888 2005-08-10 DJ Delorie <dj@redhat.com>
6890 * configure.host: Add m32c support.
6891 * libc/include/machine/ieeefp.h: Likewise.
6892 * libc/include/machine/setjmp.h: Likewise.
6893 * libc/include/sys/config.h: Likewise.
6894 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
6895 * libc/machine/m32c/aclocal.m4: New file.
6896 * libc/machine/m32c/configure: Ditto.
6897 * libc/machine/m32c/configure.in: Ditto.
6898 * libc/machine/m32c/Makefile.am: Ditto.
6899 * libc/machine/m32c/Makefile.in: Ditto.
6900 * libc/machine/m32c/setjmp.S: Ditto.
6902 2005-08-02 Bob Wilson <bob.wilson@acm.org>
6904 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
6905 to the value for 2^126.
6907 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
6909 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
6912 2005-07-20 Bob Wilson <bob.wilson@acm.org>
6913 Darin Petkov <darin@tensilica.com>
6915 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
6917 2005-07-19 Paul Brook <paul@codesourcery.com>
6919 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
6921 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
6923 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
6924 names after PASS and FAIL which do not depend on source directory
6925 name or on whether test passed or failed.
6926 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
6928 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
6930 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
6932 2005-07-07 Shaun Jackman <sjackman@gmail.com>
6934 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
6935 twice for the same directory. _closedir calls free, and freeing
6936 the same pointer twice may cause a crash.
6938 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
6940 * configure.host: Added entry for ms1*.
6941 * libc/include/machine/ieeefp.h: Handle ms1.
6942 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
6943 * libc/machine/ms1/aclocal.m4: New.
6944 * libc/machine/ms1/configure: New.
6945 * libc/machine/ms1/configure.in: New.
6946 * libc/machine/ms1/Makefile.am: New.
6947 * libc/machine/ms1/Makefile.in: New.
6948 * libc/machine/ms1/setjmp.S: New.
6950 2005-07-04 Mark Mitchell <mark@codesourcery.com>
6952 * Makefile.am (site.exp): Set tmpdir.
6953 * Makefile.in: Regenerated.
6954 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
6955 executables in $tmpdir.
6956 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
6957 libgloss version if not running in the build directory.
6958 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
6960 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
6963 2005-06-28 Dave Korn <dave.korn@artimi.com>
6965 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
6966 and miscalculation caused by fp representation of zero.
6967 * libm/common/sf_lrint.c (lrintf): Likewise.
6969 2005-06-16 Christopher Faylor <cgf@timesys.com>
6971 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
6972 determine characteristics of long double. Use a union instead.
6973 * ldtoa.c (_ldtoa_r): Ditto.
6976 (union uconv): New union.
6978 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
6980 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
6983 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
6985 * configure.host (mn10300-*): Add long long I/O support by default.
6987 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
6989 * libc/sys/linux/getpwuid.c: Removed.
6990 * libc/sys/linux/getpwnam.c: Removed.
6991 * libc/sys/linux/getpwent.c: New file containing logic
6992 from files removed above. This allows overriding of file
6994 * libc/sys/linux/Makefile.am: Support changes above.
6995 * libc/sys/linux/Makefile.in: Regenerated.
6997 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
6999 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
7000 when checking for multiple flags.
7002 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
7004 * configure.host <cris-*-* | crisv32-*-*>: Set
7005 default_newlib_io_long_long="yes".
7007 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
7009 * libc/include/libgen.h: New file.
7011 2005-04-08 Shaun Jackman <sjackman@gmail.com>
7013 * libc/unix/Makefile.am: Add support for basename and dirname.
7014 * libc/unix/Makefile.in: Regenerated.
7015 * libc/unix/basename.c: New file.
7016 * libc/unix/dirname.c: New file.
7018 2005-04-07 Shaun Jackman <sjackman@gmail.com>
7020 * libc/sys/linux/inode.c (lchown): New function.
7022 2005-04-07 Shaun Jackman <sjackman@gmail.com>
7024 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
7025 ELIX level is defined.
7026 * libc/unix/Makefile.in: Regenerated.
7028 2005-04-05 Dave Korn <dave.korn@artimi.com>
7030 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
7031 something that looks like a "NaN", put back the characters processed.
7033 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
7035 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
7037 2005-03-23 Christopher Faylor <cgf@timesys.com>
7039 * configure.host: For cygwin, redefine CC with cygwin include directory
7040 first to mimic the behavior of the top-level configury. Move include
7041 directory out of newlib_cflags.
7043 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
7045 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
7046 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
7049 2005-03-22 Christopher Faylor <cgf@timesys.com>
7051 * libc/include/machine/_types.h: Make trivial change to comment to
7052 avoid a spurious warning from gcc.
7054 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
7056 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
7057 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
7060 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
7061 Corinna Vinschen <corinna@vinschen.de>
7063 * libc/include/ctype.h: Remove invalid +1 offset from
7064 ctype macro references to __ctype_ptr.
7065 (_ctype_): Move declaration outside #ifndef __cplusplus.
7067 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
7069 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
7070 evaluate first parameter only once.
7071 (siglongjmp): Ditto.
7073 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
7075 * configure.in: Add new check to see if compiler supports
7076 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
7077 * configure: Regenerated.
7078 * Makefile.in: Ditto.
7079 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
7080 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
7081 aliasing the _ctype_ array to _ctype_b.
7082 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
7083 _ctype_ as deprecated.
7085 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
7087 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
7090 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
7092 * libc/sys/rtems/include/inttypes.h: New file.
7093 * libc/sys/rtems/include/stdint.h: Ditto.
7095 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
7097 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
7099 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
7101 * libc/include/machine/_types.h: New file.
7102 * libc/include/sys/types.h: Do not check for __rtems__
7103 when including <machine/_types.h>. Remove some redundant
7104 declarations now that <machine/_types.h> is included.
7105 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
7108 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
7110 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
7111 L qualifier for these long constants.
7113 2005-02-25 Eric Blake <ebb9@byu.net>
7115 * libc/include/time.h (__tzrule_struct): Make offset long, since
7116 a 16-bit int overflows on a 12-hour offset.
7117 * libc/sys/linux/include/time.h: Ditto.
7118 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
7119 * libc/time/mktm_r.c: Ditto.
7120 * libc/time/gettzinfo.c: Ditto.
7121 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
7122 years. Fix '%z' to use long, not int.
7124 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
7126 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
7127 manipulate float values in integer form.
7128 * libm/common/sf_round.c: Ditto.
7130 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
7132 * libc/include/sys/types.h [__rtems__]: Include new
7133 header file machine/_types.h.
7134 * libc/include/machine/types.h: Ditto.
7135 * libc/sys/rtems/machine/_types.h: New file.
7137 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
7139 * libc/include/time.h (_timezone): Change to long also for Cygwin.
7140 (timezone): Drop cast from definition.
7142 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
7144 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
7145 (__tzrule_type, __tzinfo_type): New types.
7146 (__gettzinfo): New function.
7147 * libc/sys/linux/include/time.h: Ditto.
7148 * libc/time/Makefile.am: Add gettzinfo.c.
7149 * libc/time/Makefile.in: Regenerated.
7150 * libc/time/local.h: Moved __tzrule_type to time.h.
7151 * libc/time/mktime.c: Call __gettzinfo to reference
7152 __tznorth, __tzyear, and __tzrule array.
7153 * libc/time/mktm_r.c: Ditto.
7154 * libc/time/strftime.c: Ditto.
7155 * libc/time/tzset_r.c: Ditto. Also remove definition
7156 of __tzrule which is now in gettzinfo.c. Change _timezone
7157 references to not cast to time_t.
7158 * libc/time/gettzinfo.c: New file.
7160 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
7162 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
7164 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
7166 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
7168 2005-02-16 Eric Blake <ebb9@byu.net>
7170 * libc/time/time.tex: Improve the documentation.
7171 * libc/time/strftime.c: Improve the documentation.
7172 (iso_year_adjust): New helper function.
7173 (strftime): Simplify '%E' and '%O'. Change '%c' to use
7174 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
7175 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
7176 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
7177 Avoid core dumps on valid inputs (maxsize == 0, or
7178 tim_p->tm_isdst > 1).
7180 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
7182 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
7183 members to uid_t and gid_t according to SUSv3.
7184 * libc/include/sys/time.h (utimes): Change second parameter
7185 to const according to SUSv3.
7187 2005-02-07 Antony King <antony.king@st.com>
7189 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
7190 called before _flockfile to prevent lock object use before
7191 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
7192 take a struct _reent * instead of a FILE *.
7193 * libc/stdio/fclose.c (_fclose_r): Ditto.
7194 * libc/stdio/feof.c (feof): Ditto.
7195 * libc/stdio/ferror.c (ferror): Ditto.
7196 * libc/stdio/fflush.c (fflush): Ditto.
7197 * libc/stdio/fgetc.c (fgetc): Ditto.
7198 * libc/stdio/fgets.c (fgets): Ditto.
7199 * libc/stdio/fileno.c (fileno): Ditto.
7200 * libc/stdio/fputc.c (fputc): Ditto.
7201 * libc/stdio/fputs.c (fputs): Ditto.
7202 * libc/stdio/fread.c (fread): Ditto.
7203 * libc/stdio/freopen.c (_freopen_r): Ditto.
7204 * libc/stdio/fseek.c (_fseek_r): Ditto.
7205 * libc/stdio/ftell.c (_ftell_r): Ditto.
7206 * libc/stdio/fwrite.c (fwrite): Ditto.
7207 * libc/stdio/getc.c (getc): Ditto.
7208 * libc/stdio/getdelim.c (__getdelim): Ditto.
7209 * libc/stdio/putc.c (putc): Ditto.
7210 * libc/stdio/setvbuf.c (setvbuf): Ditto.
7211 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
7212 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
7213 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
7214 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
7215 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
7216 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
7217 _reent * instead of a FILE * and so replace incorrect use of
7218 _REENT with argument.
7219 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
7220 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
7221 CHECK_INIT() take a struct _reent * instead of a FILE *.
7222 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
7223 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
7224 * libc/stdio/perror.c (perror): Ditto.
7225 * libc/stdio/printf.c (printf, _printf_r): Ditto.
7226 * libc/stdio/putchar.c (putchar): Ditto.
7227 * libc/stdio/puts.c (puts): Ditto.
7228 * libc/stdio/refill.c (__srefill): Ditto.
7229 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
7230 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
7231 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
7232 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
7233 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
7234 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
7235 * libc/stdio/wbuf.c (__swbuf): Ditto.
7236 * libc/stdio/wsetup.c (__swsetup): Ditto.
7237 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
7238 * libc/stdlib/mstats.c (_mstats_r): Ditto.
7239 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
7240 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
7241 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
7242 to _flockfile and _funlockfile; rely on locking in _ftell_r.
7243 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
7244 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
7245 initialision of _data field in FILE structure.
7246 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
7248 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
7250 * libc/stdio/findfp.c (__sinit): Protect with new lock.
7251 (__sinit_lock): New lock.
7252 (__sinit_lock_acquire, __sinit_lock_release): New functions.
7253 * libc/stdio/local.h: Add reference to new __sinit locking
7256 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
7258 * libc/include/math.h (isfinite, isnormal, isunordered): Change
7259 input variable names to avoid mixups with nesting macros.
7261 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
7263 * configure.host: Add support for cris-*-* and crisv32-*-*.
7264 * libc/include/machine/ieeefp.h: Ditto.
7265 * libc/include/machine/setjmp.h: Ditto.
7266 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
7267 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
7268 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
7269 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
7270 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
7271 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
7272 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
7275 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
7277 * testsuite/newlib.string/memmove1.c: New test.
7279 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
7281 * testsuite/include/check.h: Include stdlib.h.
7283 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
7285 * Makefile.am (stmp-targ-include): Support include header files
7286 from machine directories.
7287 (install-data-local): Ditto.
7288 * Makefile.in: Regenerate.
7290 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
7292 * libc/include/string.h: Remove Linux-specific declaration of
7293 strsignal and add #include <sys/string.h>.
7294 * libc/include/sys/string.h: New file.
7295 * libc/include/sys/linux/sys/string.h: New file with strsignal
7296 declaration deleted above.
7298 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
7300 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
7301 to POSIX standard for "C" locale. Allow %E and %O modifiers
7302 to be ignored as long as they precede valid specifiers according
7305 2005-01-19 Shaun Jackman <sjackman@gmail.com>
7307 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7308 environment variable is set.
7310 2005-01-19 Shaun Jackman <sjackman@gmail.com>
7312 * tzset_r.c (_tzname): Add a comma.
7314 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
7316 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
7319 2005-01-07 Paul Brook <paul@codesourcery.com>
7321 * configure.in: Add test for .init_array.
7322 * configure: Regenerate.
7323 * newlib.hin: Add HAVE_INITFINI_ARRAY.
7324 * libc/misc/Makefile.am: Add init.c
7325 * libc/misc/Makefile.in: Regenerate.
7326 * libc/misc/init.c: New file.
7327 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
7328 _init/_fini if they exist.
7330 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
7332 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
7334 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
7335 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
7336 functions for use by strtod and strtof.
7337 * Makefile.in: Regenerated.
7339 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
7341 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
7342 bit-test in combination with NULL test.
7344 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
7346 * README: Fix typo of LGPL. Change "license" to "copyright".
7348 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
7350 * NEWS: Update with 1.13.0 info.
7352 * acinclude.m4: Change version number to 1.13.0.
7353 * aclocal.m4: Regenerated.
7355 * doc/aclocal.m4: Ditto.
7356 * doc/configure: Ditto.
7357 * libc/*/aclocal.m4: Ditto.
7358 * libc/*/configure: Ditto.
7359 * libc/libc.texinfo: Ditto.
7360 * libm/*/aclocal.m4: Ditto.
7361 * libm/*/configure: Ditto.
7362 * libm/libm.texinfo: Ditto.
7363 * libc/sys/linux/shared.ld: Add VERS_1.13.
7365 2004-12-17 Christian Groessler <chris@groessler.org>
7367 * libc/machine/z8k/memcmp.S: New file.
7368 * libc/machine/z8k/memcpy.S: Ditto.
7369 * libc/machine/z8k/memmove.S: Ditto.
7370 * libc/machine/z8k/memset.S: Ditto.
7371 * libc/machine/z8k/Makefile.am: Add new files.
7372 * libc/machine/z8k/Makefile.in: Regenerated.
7373 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
7374 part. Implement Z8002 stdcall version.
7376 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
7378 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
7379 a low-level read if we don't get the full amount of bytes so
7380 EOF or error flags will be set.
7382 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
7384 * libc/time/tzset_r (_tzset_r): Properly skip over
7385 '/' when it is detected.
7387 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
7389 * libc/time/tzset_r (_tzset_r): Fix loop.
7391 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
7393 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
7395 (__tzcalc_limits): Fix reference to month array to be zero-based.
7397 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
7399 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
7402 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
7404 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
7405 libgcc dependencies.
7406 (libm_la_LDFLAGS): Ditto.
7407 * Makefile.in: Regenerated.
7409 2004-12-03 Shaun Jackman <sjackman@gmail.com>
7411 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
7412 our link to use readlink so as to preserve any relative link created
7413 by install-toollibLIBRARIES.
7414 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
7416 2004-12-02 Shaun Jackman <sjackman@gmail.com>
7418 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
7419 time_t before including sys/stat.h, which uses it.
7420 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
7421 <linux/time.h> just prior to definition of __KERNEL__ so as to
7422 allow building on Debian Linux where otherwise, mktime would
7425 2004-11-26 Paul Brook <paul@codesourcery.com>
7427 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
7429 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
7431 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
7432 const for value string parameter to match Single Unix and glibc.
7433 * libc/stdlib/putenv.c: Ditto.
7434 * libc/stdlib/putenv_r.c: Ditto.
7436 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
7438 * libc/stdio/Makefile.am: Fix missing vfscanf.
7439 * libc/stdio/Makefile.in: Regenerated.
7441 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
7443 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
7445 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
7446 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
7448 * libc/stdio/Makefile.in: Regenerated.
7449 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
7450 * libc/stdio/iprintf.c: Ditto.
7451 * libc/stdio/local.h (__svfiscanf_r): New prototype.
7452 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
7453 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
7454 * libc/stdio/stdio.tex: Add new functions.
7455 * libc/stdio/vfscanf.c: Split out __sccl function to separate
7456 file and add special name defines so this file can be used
7457 to build vfiscanf.o.
7458 * libc/stdio/asiprintf.c: New file.
7459 * libc/stdio/fiscanf.c: Ditto.
7460 * libc/stdio/iscanf.c: Ditto.
7461 * libc/stdio/sccl.c: Ditto.
7462 * libc/stdio/siscanf.c: Ditto.
7463 * libc/stdio/vasiprintf.c: Ditto.
7464 * libc/stdio/viprintf.c: Ditto.
7465 * libc/stdio/viscanf.c: Ditto.
7466 * libc/stdio/vsiprintf.c: Ditto.
7467 * libc/stdio/vsiscanf.c: Ditto.
7468 * libc/stdio/vsniprintf.c: Ditto.
7470 2004-11-19 Shaun Jackman <sjackman@gmail.com>
7472 * libc/include/stdio.h: Add sniprintf.
7473 * libc/stdio/Makefile.am: Add sniprintf.c.
7474 * libc/stdio/Makefile.in: Regenerated.
7475 * libc/stdio/sniprintf.c: New file.
7476 * libc/stdio/stdio.tex: Add sniprintf.
7478 2004-11-17 Christopher Faylor <cgf@timesys.com>
7480 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
7481 EOF flag if successful.
7483 2004-10-28 Christopher Faylor <cgf@timesys.com>
7485 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
7486 so that all relevant definitions have been performed for use in the
7489 2004-10-26 Jason Tishler <jason@tishler.net>
7491 * libc/stdio/fread.c (fread): Fix return value for unbuffered
7494 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
7496 * libc/include/machine/setjmp.h: Add AVR support.
7497 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
7499 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
7501 * libc/include/sys/signal.h: If <signal.h> didn't include
7502 this header file, include <signal.h> to account for
7503 applications that take advantage that the two header
7504 files are the same in glibc.
7506 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
7508 * configure.host: Add support for crx.
7509 * libc/include/machine/ieeefp.h: Ditto.
7510 * libc/include/machine/setjmp.h: Ditto.
7511 * libc/machine/crx/Makefile.am: New file.
7512 * libc/machine/crx/configure.in: Ditto.
7513 * libc/machine/crx/setjmp.S: Ditto.
7514 * libc/machine/crx/getenv.c: Ditto.
7515 * libc/machine/crx/aclocal.m4: Generate.
7516 * libc/machine/crx/configure: Ditto.
7517 * libc/machine/crx/Makefile.in: Ditto.
7518 * libc/machine/crx/sys/asm.h: New file.
7519 * libc/machine/crx/sys/libh.h: Ditto.
7520 * libc/machine/crx/sys/syscall.h: Ditto.
7522 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
7524 * Makefile.am (stmp-targ-include): Support sys header files
7525 from machine directories.
7526 * Makefile.in: Regenerated.
7528 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
7530 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
7531 count skipped zero characters as part of the nread count for %n.
7532 * libc/machine/powerpc/vfscanf.c: Ditto.
7534 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
7536 * libc/stdio/local.h: Include <stdlib.h>.
7538 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
7540 * libc/stdio/fread.c (fread): Include <malloc.h>.
7542 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
7544 * libc/stdio/fread.c (fread): For non-space-optimized case,
7545 add special code for unbuffered files to use user buffer and
7546 only require one low-level system read.
7548 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
7550 * libc/machine/xscale/setjmp.S: New file, copied from
7551 libc/machine/arm/setjmp.S.
7552 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
7553 * libc/machine/xscale/Makefile.in: Regenerate.
7555 2004-09-16 Antony King <antony.king@st.com>
7557 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
7559 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
7560 check for__SSTR in _flags and if set, skip lock request.
7561 (_funlockfile)[!SINGLE_THREAD]: Ditto.
7562 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
7564 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
7565 initialisation of _file to -1 in local FILE.
7566 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
7567 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
7568 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
7569 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
7570 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
7571 _flags in local FILE to prevent locking.
7572 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
7574 2004-09-16 Antony King <antony.king@st.com>
7576 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
7577 and only walk the reentrancy parameter.
7578 (_fwalk_reent): Ditto.
7579 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
7581 2004-09-16 Antony King <antony.king@st.com>
7583 * libc/stdio64/freopen64.c: Remove casting of fp lock to
7586 2004-09-16 Antony King <antony.king@st.com>
7588 * libc/time/tzlock.c: Add default stubs that use generic
7591 2004-09-16 Antony King <antony.king@st.com>
7593 * libc/ctype/ctype.tex: Added missing documentation.
7594 * libc/stdio/stdio.tex Ditto.
7595 * libc/stdlib/stdlib.tex Ditto.
7596 * libc/string/strings.tex Ditto.
7597 * libc/time/time.tex: Ditto.
7598 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
7600 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
7602 * libc/reent/impure.c (reent_data): Define as alias to impure_data
7603 when building for Cygwin.
7604 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
7607 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
7609 * configure.host: Reverting 2004-09-14 change as fix has occurred on
7611 * configure.in: Ditto.
7612 * libc/configure.in: Ditto.
7613 * libc/sys/configure.in: Ditto.
7615 * libc/configure: Ditto.
7616 * libc/sys/configure: Ditto.
7617 * libc/include/sys/reent.h: Ditto.
7618 * libc/stdlib/__atexit.c: Ditto.
7619 * libc/stdlib/__call_atexit.c: Ditto.
7620 * libc/stdlib/cxa_atexit.c: Ditto.
7621 * libc/stdlib/cxa_finalize.c: Ditto.
7622 * libc/sys/cygwin/Makefile.am: Removed again.
7623 * libc/sys/cygwin/Makefile.in: Ditto.
7624 * libc/sys/cygwin/aclocal.m4: Ditto.
7625 * libc/sys/cygwin/configure: Ditto.
7626 * libc/sys/cygwin/configure.in: Ditto.
7627 * libc/sys/cygwin/dummy.c: Ditto.
7628 * libc/sys/cygwin/sys/reent.h: Ditto.
7630 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
7632 * configure.host: Add Cygwin sys directory.
7633 * configure.in: Do not set CRT0 for cygwin.
7634 * libc/configure.in: Ditto.
7635 * libc/sys/configure.in: Ditto.
7636 * configure: Regenerated.
7637 * libc/configure: Ditto.
7638 * libc/sys/configure: Ditto.
7639 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
7640 * libc/stdlib/__atexit.c: Keep cxa support protected by new
7641 __REENT_HAS_CXA_SUPPORT flag.
7642 * libc/stdlib/__call_atexit.c: Ditto.
7643 * libc/stdlib/cxa_atexit.c: Ditto.
7644 * libc/stdlib/cxa_finalize.c: Ditto.
7645 * libc/sys/cygwin/Makefile.am: New file.
7646 * libc/sys/cygwin/Makefile.in: Ditto.
7647 * libc/sys/cygwin/aclocal.m4: Ditto.
7648 * libc/sys/cygwin/configure: Ditto.
7649 * libc/sys/cygwin/configure.in: Ditto.
7650 * libc/sys/cygwin/dummy.c: Ditto.
7651 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
7654 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
7656 * libc/iconv/iconv.tex: Updated with new content.
7657 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
7658 instead of NLS_DEFAULT_NLSPATH.
7659 * libc/iconv/lib/iconvnls.h: Fix typo.
7660 * libc/include/sys/iconvnls.h: New file.
7662 2004-09-09 Paul Brook <paul@codesourcery.com>
7664 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
7666 (struct _atexit): Add _next when _REENT_SMALL.
7667 (struct _reent): Add _atexit0 when _REENT_SMALL.
7668 (_REENT_INIT_PTR): Adjust.
7669 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
7671 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
7672 * libc/stdlib/Makefile.in: Regenerate.
7673 * libc/stdlib/__atexit.c: New file.
7674 * libc/stdlib/__call_atexit.c: New file.
7675 * libc/stdlib/atexit.h: Remove old definitions. Add new.
7676 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
7677 * libc/stdlib/cxa_atexit.c: New file.
7678 * libc/stdlib/cxa_finalize.c: New file.
7679 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
7680 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
7681 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
7682 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
7685 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
7687 * libc/include/sys/unistd.h (getpass): Change prototype to use
7688 const instead of __const.
7690 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
7692 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
7695 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
7697 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
7698 on linux systems with glibc 2.3.3 installed.
7699 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
7700 profile_fixup so newlib can build on fc3 system.
7702 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
7704 Introduce SH2a support.
7705 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
7706 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
7707 __SH2A_SINGLE_ONLY__, too.
7708 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
7709 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
7710 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
7711 2004-02-10 DJ Delorie <dj@redhat.com>
7712 * libc/sys/sh/crt0.S (start_l): Support sh2a.
7714 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
7716 * libc/time/strptime.c: Correct full-name of "March" typo.
7718 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
7720 * configure.host (h8300*-*-*): Default long long printing support.
7722 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
7724 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
7725 calls, if realloc fails, free up buffer as it is no longer
7728 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
7730 * libc/iconv/iconv.tex: Updated to represent recent changes.
7731 * libc/iconv/lib/iconv.c: Documentation updated.
7733 2004-07-07 Nick Clifton <nickc@redhat.com>
7735 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
7738 2004-07-06 Chris Demetriou <cgd@broadcom.com>
7740 * configure.host (mips*-*-elf*): Default long long printing
7743 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
7745 * libc/Makefile.am (libc.dvi): Add target and specify
7746 same dependencies as libc.info.
7747 * libc/Makefile.in: Regenerated.
7748 * libm/Makefile.am (libm.dvi): Add target and specify
7749 same dependencies as libm.info.
7750 * libm/Makefile.in: Regenerated.
7752 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
7754 * acinclude.m4: Move --enable-newlib-iconv option back here.
7755 * configure.in: Remove --enable-newlib-iconv option. Don't
7756 tie iconv support to --enable-newlib-mb.
7757 * aclocal.m4: Regenerated.
7759 * doc/aclocal.m4, doc/configure: Ditto.
7760 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
7761 * libm/*/aclocal.m4: Ditto.
7762 * libm/*/configure: Ditto.
7763 * libc/*/aclocal.m4: Ditto.
7764 * libc/*/configure: Ditto.
7766 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
7768 * acinclude.m4: Move iconv options into configure.in.
7769 * aclocal.m4: Regenerated.
7771 * configure.in: Add iconv options.
7772 * newlib.hin: Add new iconv encodings and remove deleted ones.
7773 * doc/aclocal.m4: Regenerated.
7774 * doc/configure: Ditto.
7775 * iconvdata/aclocal.m4: Ditto.
7776 * iconvdata/configure: Ditto.
7777 * libc/iconv: Design change. New size-optimized ccs format.
7778 * libc/iconv/AUTHORS: Removed.
7779 * libc/iconv/COPYING: Ditto.
7780 * libc/iconv/README.ORIGINAL: Ditto.
7781 * libc/iconv/README.TODO: Ditto.
7782 * libc/iconv/charset.aliases: Ditto.
7783 * libc/iconv/encoding.aliases: New file.
7784 * libc/iconv/Makefile.am: Updated.
7785 * libc/iconv/Makefile.in: Regenerated.
7786 * libc/iconv/iconv.tex: Updated.
7787 * libc/iconv/ccs/Makefile.am: Ditto.
7788 * libc/iconv/ccs/Makefile.in: Regenerated.
7789 * libc/iconv/ccs/big5.c: Updated.
7790 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
7791 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
7792 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
7793 * libc/iconv/ccs/cp775.c: Ditto.
7794 * libc/iconv/ccs/cp850.c: Ditto.
7795 * libc/iconv/ccs/cp852.c: Ditto.
7796 * libc/iconv/ccs/cp855.c: Ditto.
7797 * libc/iconv/ccs/cp866.c: Ditto.
7798 * libc/iconv/ccs/iso_8859_1.c: Ditto.
7799 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
7800 * libc/iconv/ccs/gb_2312_80.c: Ditto.
7801 * libc/iconv/ccs/iconv_mktbl: Ditto.
7802 * libc/iconv/ccs/jis_x0201.c: Ditto.
7803 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
7804 * libc/iconv/ccs/shift_jis.c: Ditto.
7805 * libc/iconv/ccs/us_ascii.c: Ditto.
7806 * libc/iconv/ccs/ccs.h: New file.
7807 * libc/iconv/ccs/ccsbi.c: Ditto.
7808 * libc/iconv/ccs/ccsbi.h: Ditto.
7809 * libc/iconv/ccs/ccsnames.h: Ditto.
7810 * libc/iconv/ccs/iso_8859_10.c: Ditto.
7811 * libc/iconv/ccs/iso_8859_11.c: Ditto.
7812 * libc/iconv/ccs/iso_8859_13.c: Ditto.
7813 * libc/iconv/ccs/iso_8859_14.c: Ditto.
7814 * libc/iconv/ccs/iso_8859_3.c: Ditto.
7815 * libc/iconv/ccs/iso_8859_6.c: Ditto.
7816 * libc/iconv/ccs/iso_8859_7.c: Ditto.
7817 * libc/iconv/ccs/iso_8859_8.c: Ditto.
7818 * libc/iconv/ccs/iso_8859_9.c: Ditto.
7819 * libc/iconv/ccs/iso_ir_111.c: Ditto.
7820 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
7821 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
7822 * libc/iconv/ccs/koi8_ru.c: Ditto.
7823 * libc/iconv/ccs/koi8_uni.c: Ditto.
7824 * libc/iconv/ccs/mktbl.pl: Ditto.
7825 * libc/iconv/ccs/win_1250.c: Ditto.
7826 * libc/iconv/ccs/win_1251.c: Ditto.
7827 * libc/iconv/ccs/win_1252.c: Ditto.
7828 * libc/iconv/ccs/win_1253.c: Ditto.
7829 * libc/iconv/ccs/win_1254.c: Ditto.
7830 * libc/iconv/ccs/win_1255.c: Ditto.
7831 * libc/iconv/ccs/win_1256.c: Ditto.
7832 * libc/iconv/ccs/win_1257.c: Ditto.
7833 * libc/iconv/ccs/win_1258.c: Ditto.
7834 * libc/iconv/ccs/iso_8859_15.c: Updated.
7835 * libc/iconv/ccs/iso_8859_2.c: Ditto.
7836 * libc/iconv/ccs/iso_8859_4.c: Ditto.
7837 * libc/iconv/ccs/iso_8859_5.c: Ditto.
7838 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
7839 * libc/iconv/ccs/koi8_r.c: Ditto.
7840 * libc/iconv/ccs/koi8_u.c: Ditto.
7841 * libc/iconv/ccs/ksx1001.c: Ditto.
7842 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
7843 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
7844 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
7845 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
7846 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
7847 * libc/iconv/ccs/binary/Makefile.am: Updated.
7848 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
7849 * libc/iconv/ccs/binary/big5.cct: Updated.
7850 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
7851 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
7852 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
7853 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
7854 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
7855 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
7856 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
7857 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
7858 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
7859 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
7860 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
7861 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
7862 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
7863 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
7864 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
7865 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
7866 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
7867 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
7868 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
7869 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
7870 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
7871 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
7872 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
7873 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
7874 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
7875 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
7876 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
7877 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
7878 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
7879 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
7880 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
7881 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
7882 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
7883 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
7884 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
7885 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
7886 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
7887 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
7888 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
7889 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
7890 * libc/iconv/ces/Makefile.am: Updated.
7891 * libc/iconv/ces/Makefile.in: Regenerated.
7892 * libc/iconv/ces/ucs-2-internal.c: Updated.
7893 * libc/iconv/ces/ucs-4-internal.c: Ditto.
7894 * libc/iconv/ces/utf-16.c: Ditto.
7895 * libc/iconv/ces/utf-8.c: Ditto.
7896 * libc/iconv/ces/cesbi.c: New file.
7897 * libc/iconv/ces/cesbi.h: Ditto.
7898 * libc/iconv/ces/cesdeps.h: Ditto.
7899 * libc/iconv/ces/euc.c: Ditto.
7900 * libc/iconv/ces/mkdeps.pl: Ditto.
7901 * libc/iconv/ces/table-pcs.c: Ditto.
7902 * libc/iconv/ces/table.c: Ditto.
7903 * libc/iconv/ces/ucs-2.c: Ditto.
7904 * libc/iconv/ces/ucs-4.c: Ditto.
7905 * libc/iconv/ces/us-ascii.c: Ditto.
7906 * libc/iconv/ces/euc-jp.c: Removed.
7907 * libc/iconv/ces/euc-kr.c: Ditto.
7908 * libc/iconv/ces/euc-tw.c: Ditto.
7909 * libc/iconv/ces/gb2312.c: Ditto.
7910 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
7911 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
7912 * libc/iconv/lib/Makefile.am: Updated.
7913 * libc/iconv/lib/Makefile.in: Regenerated.
7914 * libc/iconv/lib/endian.h: Updated.
7915 * libc/iconv/lib/iconv.c: Ditto.
7916 * libc/iconv/lib/local.h: Ditto.
7917 * libc/iconv/lib/aliases.c: Removed.
7918 * libc/iconv/lib/bialiasesi.c: Ditto.
7919 * libc/iconv/lib/biccs.c: Ditto.
7920 * libc/iconv/lib/bices.c: Ditto.
7921 * libc/iconv/lib/ccs.c: Ditto.
7922 * libc/iconv/lib/ces.c: Ditto.
7923 * libc/iconv/lib/ces_euc.c: Ditto.
7924 * libc/iconv/lib/ces_iso2022.c: Ditto.
7925 * libc/iconv/lib/ces_table.c: Ditto.
7926 * libc/iconv/lib/converter.c: Ditto.
7927 * libc/iconv/lib/deps.h: Ditto.
7928 * libc/iconv/lib/loaddata.c: Ditto.
7929 * libc/iconv/lib/aliasesbi.c: New file.
7930 * libc/iconv/lib/aliasesi.c: Ditto.
7931 * libc/iconv/lib/conv.h: Ditto.
7932 * libc/iconv/lib/encnames.h: Ditto.
7933 * libc/iconv/lib/encoding.deps: Ditto.
7934 * libc/iconv/lib/iconvnls.c: Ditto.
7935 * libc/iconv/lib/iconvnls.h: Ditto.
7936 * libc/iconv/lib/nullconv.c: Ditto.
7937 * libc/iconv/lib/ucsconv.c: Ditto.
7938 * libc/iconv/lib/ucsconv.h: Ditto.
7939 * libc/include/iconv.h: Update copyright.
7940 * libc/*/aclocal.m4: Regenerated.
7941 * libc/*/configure: Ditto.
7942 * libm/*/aclocal.m4: Ditto.
7943 * libm/*/configure: Ditto.
7945 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
7947 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
7948 instead of typedefing jmp_buf.
7950 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
7951 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
7952 * libc/machine/h8300/defines.h (LEN): New macro.
7953 * libc/machine/h8300/memcpy.S: Add h8sx version.
7954 * libc/machine/h8300/memset.S: Likewise.
7955 * libc/machine/h8300/strcmp.S: Likewise.
7956 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
7957 * libc/machine/h8300/h8sx_strcpy.S: New file.
7958 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
7959 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
7961 * libc/include/machine/setjmp.h: Likewise.
7962 * libc/include/sys/config.h: Likewise.
7963 * libc/machine/h8300/defines.h: Likewise.
7964 * libc/machine/h8300/setjmp.S: Likewise.
7965 * libc/machine/h8300/strcmp.S: Likewise.
7966 * libc/sys/h8300hms/close.S: Likewise.
7967 * libc/sys/h8300hms/fstat.S: Likewise.
7968 * libc/sys/h8300hms/lseek.S: Likewise.
7969 * libc/sys/h8300hms/read.S: Likewise.
7970 * libc/sys/h8300hms/write.S: Likewise.
7971 * libc/sys/h8300hms/crt0.S: Likewise.
7972 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
7973 __H8300SX__ is defined.
7974 * libc/sys/h8300hms/setarch.h: Likewise.
7976 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
7978 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
7979 out change which set _GLOBAL_REENT to _global_impure_ptr until
7980 we understand why Cygwin breaks because of it.
7982 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
7984 * libc/sys/linux/machine/i386/syscall.h: For now, set up
7985 __syscall_return macro for systems with vsyscall.
7987 2004-06-11 Antony King <antony.king@st.com>
7989 * libc/include/sys/_types.h: Include <sys/lock.h> and change
7990 _flock_t to be of type _LOCK_RECURSIVE_T.
7991 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
7992 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
7993 (_global_impure_ptr): New declaration.
7994 (_GLOBAL_REENT): Change to be _global_impure_ptr.
7995 * libc/include/sys/stdio.h: Include <sys/lock.h> and
7997 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
7998 (_funlockfile)[!SINGLE_THREAD]: Ditto.
7999 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
8000 * libc/stdio/fclose.c: Remove casting of fp lock to
8002 * libc/stdio/findfp.c: Ditto.
8003 * libc/stdio/fopen.c: Ditto.
8004 * libc/stdio/freopen.c: Ditto.
8005 * libc/stdio/vfprintf.c: Ditto.
8006 * libc/stdio64/fopen64.c: Ditto.
8007 * libc/stdlib/envlock.c: Add default stubs that use generic
8009 * libc/stdlib/mlock.c: Ditto.
8011 Jeff Johnston <jjohnstn@redhat.com>
8012 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
8013 (_flock_t): Change to be a struct containing a single member
8014 named mutex which is of type __flock_mutex_t.
8016 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
8018 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
8019 from /usr/include/asm/signal.h instead of kernel sources. Also
8020 default max to 32 if not found in header file.
8021 * libc/sys/linux/Makefile.in: Regenerated.
8022 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
8023 systems where __syscall_return is not defined.
8024 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
8025 systems to use syscall() function instead of assembler interrupt.
8027 2004-06-09 Toralf Lund <toralf@procaptura.com>
8029 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
8030 files from libc/sys/arm to libc/machine/arm.
8031 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
8032 library build support for files moved from libc/sys/arm.
8033 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
8034 references to access and setjmp.
8035 * configure.host: Add checks for newlib_may_supply_syscalls to
8036 determine whether or not to use sys/arm directory and use
8037 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
8039 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
8041 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
8042 reset digit flags appropriately after we have discovered "0x".
8043 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
8045 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
8047 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
8049 (_VFPRINTF_R): ... to here so all I/O printf routines
8052 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
8054 * libc/search/hash_buf.c: Protect MAX and MIN macros from
8056 * libc/search/hash.c: Ditto.
8058 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8060 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
8061 (_WANT_IO_LONG_LONG): Ditto.
8062 (_WANT_IO_LONG_DOUBLE): Ditto.
8063 * configure.in: Add new configuration options
8064 --enable-newlib-io-long-long and --enable-newlib-io-long-double
8065 which tie to new defines in newlib.hin.
8066 * configure: Regenerated.
8067 * configure.host: Add checks for new configuration options. Also
8068 fix up check for --enable-newlib-io-pos-args so configuration
8069 option will override any default for a given platform.
8070 Remove defining compiler flags for the _WANT_IO* options.
8071 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
8072 instead of looking for old compiler flags.
8073 * libc/stdio/vfscanf.c: Ditto.
8074 * libc/stdio/vfieeefp.h: Ditto.
8075 * libc/machine/powerpc/vfprintf.c: Ditto.
8076 * libc/machine/powerpc/vfscanf.c: Ditto.
8078 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
8080 * testsuite/include/check.h: Add include of <stdio.h>.
8082 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
8084 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
8086 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8088 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
8091 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8093 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
8094 list for reentrant pointer. Call _vfiprintf_r.
8095 * libc/stdio/siprintf.c (_siprintf_r): New function.
8096 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
8097 pointer argument. Change all callers. Call _VFPRINTF_R.
8098 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
8101 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
8103 * libc/include/sys/param.h: Remove endian info and include
8104 <machine/endian.h> instead.
8105 * libc/include/machine/endian.h: New file.
8106 * libc/include/machine/param.h: Ditto.
8107 * libc/machine/arm/machine/endian.h: Ditto.
8108 * libc/machine/arm/machine/param.h: Ditto.
8109 * libc/sys/arm/sys/param.h: Removed.
8110 * libc/sys/sysvi386/sys/param.h: Ditto.
8111 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
8113 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8115 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
8116 multibyte functions return failure for %C, %S, %lc, and %ls
8119 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8121 * testsuite/include/check.h (CHECK): Add flush of stdout.
8123 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8125 * libc/include/stdio.h (_ungetc_r): New prototype.
8126 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
8127 (__submore): Add reentrant struct pointer argument.
8128 (ungetc): Change to call _ungetc_r.
8130 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8132 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
8133 function pointer argument.
8134 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
8135 to specify function pointer arguments.
8136 (__fwalk, __fwalk_reent): Ditto.
8138 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
8140 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
8143 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8145 * configure.in: Define _MB_CAPABLE if mb supported.
8146 * configure: Regenerated.
8147 * configure.host: Remove manual setting of MB_CAPABLE compiler
8149 * newlib.hin: Add _MB_CAPABLE flag.
8150 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
8151 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
8152 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
8153 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
8154 * libc/ctype/jp2uc.c: Ditto.
8155 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
8156 * libc/locale/locale.c: Ditto
8157 * libc/machine/powerpc/vfscanf.c: Ditto
8158 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
8159 * libc/stdlib/mblen.c: Ditto
8160 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
8161 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
8162 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
8163 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
8164 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
8165 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
8166 * libc/sys/linux/intl/explodename.c: Ditto
8167 * libc/sys/linux/intl/finddomain.c: Ditto
8168 * libc/sys/linux/intl/l10nflist.c: Ditto
8169 * libc/sys/linux/intl/loadmsgcat.c: Ditto
8170 * libc/sys/linux/intl/localealias.c: Ditto
8172 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
8174 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
8175 (__svfscanf_r): In integer conversions, leave out leading zeroes
8176 which are not part of a base prefix.
8177 Keep track of width truncation to fit into buf, not counting left-out
8178 zeroes against width till the truncation has been compensated for.
8179 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
8181 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
8183 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
8185 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8187 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
8188 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
8189 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
8190 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
8191 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
8192 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
8193 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
8194 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
8195 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
8196 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
8197 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
8198 libc/stdio/getchar.c libc/stdio/getchar_u.c,
8199 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
8200 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
8201 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
8202 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
8203 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
8204 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
8205 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
8206 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
8207 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
8208 libc/stdio/siprintf.c libc/stdio/snprintf.c,
8209 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
8210 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
8211 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
8212 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
8213 libc/stdio/vprintf.c libc/stdio/vscanf.c,
8214 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
8215 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
8216 libc/stdio/wsetup.c: Perform minor formatting changes. Move
8217 copyright notices to top of file, ensure that <_ansi.h> is
8218 included, be consistent with open parentheses, use _DEFUN macro,
8219 include "local.h" where needed, and remove various compiler
8222 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
8224 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
8225 (__svfscanf_r): In integer conversions, leave out leading zeroes
8226 which are not part of a base prefix.
8227 Keep track of width truncation to fit into buf, not counting left-out
8228 zeroes against width till the truncation has been compensated for.
8230 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
8232 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
8234 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
8236 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
8238 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
8240 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
8243 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8245 * libc/stdio/fclose.c (_fclose_r): New function.
8246 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
8247 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
8248 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
8249 * libc/include/stdio.h (_fclose_r): New prototype.
8250 * libc/stdio/fopen.c: Fix typo in comment.
8252 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
8254 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
8255 to handle _r reentrant functions.
8257 2004-04-08 Eric Christopher <echristo@redhat.com>
8259 * libc/include/machine/setjmp.h: Fix endif locations.
8261 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8263 * libc/time/strptime.c: Add standard includes to avoid
8264 warning messages at compilation time.
8266 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
8268 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
8271 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
8273 * libc/machine/h8300/Makefile.am: Reformat slightly.
8274 * libc/machine/h8300/Makefile.in: Regenerate.
8276 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
8278 * libc/stdio/findfp.c (__fp_lock_all): Add call to
8280 (__fp_unlock_all): Add call to __sfp_lock_release.
8282 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
8284 * libc/stdio/fclose.c (fclose): Protect file pointer list when
8286 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
8288 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
8289 _flockfile/_funlockfile.
8290 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
8292 Change __lock_acquire/__lock_release calls for __sfp_lock to
8293 __sfp_lock_acquire/__sfp_lock_release throughout.
8294 (std): Make sure that file lock is only initialized once.
8295 (__sfp): Move _file initialization. Initialize file lock.
8296 (__sfp_lock_acquire): New function.
8297 (__sfp_lock_release): Ditto.
8298 (__fp_lock_all): Remove __sfp_lock_acquire call.
8299 (__fp_unlock_all): Remove __sfp_lock_release call.
8300 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
8301 Add calls to _flockfile/_funlockfile. Remove
8302 __lock_init_recursive call.
8303 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
8304 * libc/stdio/fwalk.c (__fwalk): New static function.
8305 (_fwalk): Protect file pointer list. Use __fwalk to walk through
8307 * libc/stdio/local.h: Add defines for
8308 __sfp_lock_acquire/__sfp_lock_release when
8309 single threaded. Add function prototypes otherwise.
8310 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
8311 _flockfile/_funlockfile.
8312 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
8313 Add calls to _flockfile/_funlockfile. Remove
8314 __lock_init_recursive call.
8315 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
8318 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
8320 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
8321 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
8322 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
8323 to be __LOCK_INIT_RECURSIVE.
8325 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
8327 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
8328 _exit.c with _exit.S.
8329 * libc/sys/h8300hms/Makefile.in: Regenerate.
8330 * libc/sys/h8300hms/_exit.c: Remove.
8331 * libc/sys/h8300hms/_exit.S: New.
8333 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
8335 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
8336 Change __sfp_lock to static global.
8337 (__fp_lock): New static function.
8338 (__fp_unlock): Ditto.
8339 (__fp_lock_all): New function.
8340 (__fp_unlock_all): Ditto.
8342 2004-02-10 Christopher Faylor <cgf@redhat.com>
8344 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
8345 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
8346 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
8347 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
8349 2004-02-09 Christopher Faylor <cgf@redhat.com>
8351 * libc/include/time.h (TIMER_RELTIME): New define.
8353 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
8355 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
8356 * libc/stdlib/Makefile.in: Regenerated.
8358 2004-02-08 Christopher Faylor <cgf@redhat.com>
8360 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
8361 * libc/include/sys/reent.h (__getreent): Protect against possibly being
8363 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
8365 2004-02-05 Paul Brook <paul@codesourcery.com>
8367 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
8368 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
8370 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
8372 * NEWS: Update with 1.12.0 info.
8374 * acinclude.m4: Change version number to 1.12.0.
8375 * aclocal.m4: Regenerated.
8377 * doc/aclocal.m4: Ditto.
8378 * doc/configure: Ditto.
8379 * libc/*/aclocal.m4: Ditto.
8380 * libc/*/configure: Ditto.
8381 * libc/libc.texinfo: Ditto.
8382 * libm/*/aclocal.m4: Ditto.
8383 * libm/*/configure: Ditto.
8384 * libm/libm.texinfo: Ditto.
8385 * libc/sys/linux/shared.ld: Add VERS_1.12.
8387 2004-02-02 Joel Sherrill <joel@oarcorp.com>
8389 * configure.host: Add support for tic4x.
8390 * libc/include/machine/ieeefp.h: Ditto.
8391 * libc/include/machine/setjmp.h: Ditto.
8392 * libc/machine/tic4x/Makefile.am: New file.
8393 * libc/machine/tic4x/configure.in: Ditto.
8394 * libc/machine/tic4x/setjmp.S: Ditto.
8395 * libc/machine/tic4x/aclocal.m4: Generated.
8396 * libc/machine/tic4x/configure: Ditto.
8397 * libc/machine/tic4x/Makefile.in: Ditto.
8399 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
8401 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
8402 file chain on the passed in reentrancy struct if it
8405 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8406 Jeff Johnston <jjohnstn@redhat.com>
8408 * libc/iconv/iconv.tex: Updated with more information.
8410 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
8411 Jeff Johnston <jjohnstn@redhat.com>
8413 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
8414 struct for std streams and traverse the global reeentrancy
8415 struct for all other streams.
8417 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
8419 * libc/stdlib/atexit.c: Protect global atexit list with a
8420 lock when newlib is multithreaded.
8422 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8424 * configure.in: Add support to generate iconv converter flags
8426 * newlib.hin: Add iconv converter flags.
8427 * configure: Regenerated.
8428 * libc/Makefile.in: Ditto.
8429 * libc/configure.in: Moved iconv converter parsing logic to
8430 top level newlib configure.in.
8431 * libc/configure: Regenerated.
8432 * libc/iconv/Makefile.in: Ditto.
8433 * libc/iconv/README.TODO
8434 * libc/iconv/charset.aliases: Remove wrong BE aliases for
8436 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
8437 newlib.h can be used.
8438 * libc/iconv/ces/Makefile.am: Ditto.
8439 * libc/iconv/lib/Makefile.am: Ditto.
8440 * libc/iconv/ccs/Makefile.in: Regenerated.
8441 * libc/iconv/ces/Makefile.in: Ditto.
8442 * libc/iconv/lib/Makefile.in: Ditto.
8443 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
8444 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
8445 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
8446 defined in newlib.h.
8447 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
8448 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
8449 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
8450 * libc/iconv/ccs/cp775.c: Ditto.
8451 * libc/iconv/ccs/cp850.c: Ditto.
8452 * libc/iconv/ccs/cp852.c: Ditto.
8453 * libc/iconv/ccs/cp855.c: Ditto.
8454 * libc/iconv/ccs/cp866.c: Ditto.
8455 * libc/iconv/ccs/gb_2312_80.c: Ditto.
8456 * libc/iconv/ccs/iso_8859_1.c: Ditto.
8457 * libc/iconv/ccs/iso_8859_15.c: Ditto.
8458 * libc/iconv/ccs/iso_8859_2.c: Ditto.
8459 * libc/iconv/ccs/iso_8859_4.c: Ditto.
8460 * libc/iconv/ccs/iso_8859_5.c: Ditto.
8461 * libc/iconv/ccs/jis_x0201.c: Ditto.
8462 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
8463 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
8464 * libc/iconv/ccs/koi8_r.c: Ditto.
8465 * libc/iconv/ccs/koi8_u.c: Ditto.
8466 * libc/iconv/ccs/ksx1001.c: Ditto.
8467 * libc/iconv/ccs/shift_jis.c: Ditto.
8468 * libc/iconv/ccs/us_ascii.c: Ditto.
8469 * libc/iconv/ccs/binary/big5.cct: Newly generated.
8470 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
8471 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
8472 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
8473 * libc/iconv/ccs/binary/cp775.cct: Ditto.
8474 * libc/iconv/ccs/binary/cp850.cct: Ditto.
8475 * libc/iconv/ccs/binary/cp852.cct: Ditto.
8476 * libc/iconv/ccs/binary/cp855.cct: Ditto.
8477 * libc/iconv/ccs/binary/cp866.cct: Ditto.
8478 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
8479 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
8480 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
8481 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
8482 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
8483 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
8484 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
8485 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
8486 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
8487 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
8488 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
8489 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
8490 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
8491 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
8492 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
8493 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
8494 * libc/iconv/ces/euc-kr.c: Ditto.
8495 * libc/iconv/ces/euc-tw.c: Ditto.
8496 * libc/iconv/ces/gb2312.c: Ditto.
8497 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
8498 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
8499 * libc/iconv/ces/ucs-2-internal.c: Ditto.
8500 * libc/iconv/ces/ucs-4-internal.c: Ditto.
8501 * libc/iconv/ces/utf-16.c: Ditto.
8502 * libc/iconv/ces/utf-8.c: Ditto.
8503 * libc/iconv/lib/aliases.c: Ditto.
8504 * libc/iconv/lib/biccs.c: Ditto.
8505 * libc/iconv/lib/bices.c: Ditto.
8506 * libc/iconv/lib/ccs.c: Ditto.
8507 * libc/iconv/lib/ces.c: Ditto.
8508 * libc/iconv/lib/ces_euc.c: Ditto.
8509 * libc/iconv/lib/ces_iso2022.c: Ditto.
8510 * libc/iconv/lib/ces_table.c: Ditto.
8511 * libc/iconv/lib/converter.c: Ditto.
8512 * libc/iconv/lib/deps.h: Ditto.
8513 * libc/iconv/lib/endian.h: Ditto.
8514 * libc/iconv/lib/iconv.c: Ditto.
8515 * libc/iconv/lib/loaddata.c: Ditto.
8516 * libc/iconv/lib/local.h: Include newlib.h.
8517 * libc/argz/Makefile.in: Regenerated.
8518 * libc/ctype/Makefile.in: Ditto.
8519 * libc/errno/Makefile.in: Ditto.
8520 * libc/iconv/ccs/binary/Makefile.in: Ditto.
8521 * libc/locale/Makefile.in: Ditto.
8522 * libc/misc/Makefile.in: Ditto.
8523 * libc/posix/Makefile.in: Ditto.
8524 * libc/reent/Makefile.in: Ditto.
8525 * libc/search/Makefile.in: Ditto.
8526 * libc/signal/Makefile.in: Ditto.
8527 * libc/stdio/Makefile.in: Ditto.
8528 * libc/stdio64/Makefile.in: Ditto.
8529 * libc/stdlib/Makefile.in: Ditto.
8530 * libc/string/Makefile.in: Ditto.
8531 * libc/syscalls/Makefile.in: Ditto.
8532 * libc/time/Makefile.in: Ditto.
8533 * libc/unix/Makefile.in: Ditto.
8534 * testsuite/newlib.iconv/iconv.exp: New file.
8535 * testsuite/newlib.iconv/iconvjp.c: Ditto.
8536 * testsuite/newlib.iconv/iconvnm.c: Ditto.
8537 * testsuite/newlib.iconv/iconvru.c: Ditto.
8539 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8541 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
8542 (--enable-newlib-builtin-converters): Ditto.
8543 * configure.in: Add code to set _ICONV_ENABLED flag.
8544 Set _MB_LEN_MAX to 1 if not mb enabled.
8545 * configure: Regenerated.
8546 * aclocal.m4: Ditto.
8547 * Makefile.in: Ditto.
8548 * newlib.hin: Add _ICONV_ENABLED flag.
8549 * libc/Makefile.am: Add support for iconv.
8550 * libc/configure.in: Ditto.
8551 * libc/Makefile.in: Regenerated.
8552 * libc/aclocal.m4: Ditto.
8553 * libc/configure: Ditto.
8554 * libc/libc.texinfo: Add iconv documentation.
8555 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
8556 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
8557 libc/iconv/README.TODO, libc/iconv/charset.aliases,
8558 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
8559 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
8560 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
8561 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
8562 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
8563 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
8564 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
8565 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
8566 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
8567 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
8568 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
8569 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
8570 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
8571 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
8572 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
8573 libc/iconv/ccs/binary/big5.cct,
8574 libc/iconv/ccs/binary/cns11643_plane1.cct,
8575 libc/iconv/ccs/binary/cns11643_plane14.cct,
8576 libc/iconv/ccs/binary/cns11643_plane2.cct,
8577 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
8578 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
8579 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
8580 libc/iconv/ccs/binary/iso_8859_1.cct,
8581 libc/iconv/ccs/binary/iso_8859_15.cct,
8582 libc/iconv/ccs/binary/iso_8859_2.cct,
8583 libc/iconv/ccs/binary/iso_8859_4.cct,
8584 libc/iconv/ccs/binary/iso_8859_5.cct,
8585 libc/iconv/ccs/binary/jis_x0201.cct,
8586 libc/iconv/ccs/binary/jis_x0208_1983.cct,
8587 libc/iconv/ccs/binary/jis_x0212_1990.cct,
8588 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
8589 libc/iconv/ccs/binary/ksx1001.cct,
8590 libc/iconv/ccs/binary/shift_jis.cct,
8591 libc/iconv/ccs/binary/us_ascii.cct,
8592 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
8593 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
8594 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
8595 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
8596 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
8597 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
8598 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
8599 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
8600 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
8601 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
8602 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
8603 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
8604 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
8605 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
8606 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
8607 * libc/sys/linux/include/iconv.h: Ditto.
8608 * libc/include/sys/_types.h (_iconv_t): Added.
8609 * doc/aclocal.m4: Regenerated.
8610 * doc/configure: Ditto.
8611 * doc/Makefile.in: Ditto.
8612 * iconvdata/Makefile.in: Ditto.
8613 * iconvdata/aclocal.m4: Ditto.
8614 * iconvdata/configure: Ditto.
8615 * libc/*aclocal.m4: Ditto.
8616 * libc/*Makefile.in: Ditto.
8617 * libc/*configure: Ditto.
8618 * libm/*aclocal.m4: Ditto.
8619 * libm/*Makefile.in: Ditto.
8620 * libm/*configure: Ditto.
8622 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
8624 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
8625 by a lock when newlib is multithreaded.
8627 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
8629 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
8630 pointer to match C99 spec.
8631 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
8632 dst is NULL. Also fix to not alter src pointer when dst is NULL
8633 and call _mbrtowc_r instead of _mbtowc_r.
8634 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
8637 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
8639 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
8640 * libc/stdio/freopen.c (freopen): Ditto.
8642 2004-01-16 Christopher Faylor <cgf@redhat.com>
8644 * libc/stdio/vfprintf.c: Add sys/lock.h include.
8646 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
8648 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
8649 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
8650 Add calls to __lock_init_recursive and __lock_close_recursive
8653 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
8655 * libc/stdio/fclose.c: Include sys/lock.h.
8656 (fclose): Destroy lock when file is closed.
8657 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
8659 * libc/stdio/freopen.c: Include sys/lock.h.
8660 (_freopen_r): Destroy lock when file is closed.
8661 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
8664 2004-01-08 Joel Sherrill <joel@oarcorp.com>
8666 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
8669 2004-01-08 Joel Sherrill <joel@oarcorp.com>
8671 * libc/sys/rtems/sys/queue.h: New file.
8672 * libc/include/sys/signal.h: Reflect renumbering of signals to
8673 fit into 32-bit mask.
8674 * libc/include/sys/unistd.h: Add fdatasync() prototype.
8675 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
8676 required. In particular, add the reentrant variants of libc calls.
8677 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
8679 2004-01-06 Mark Mitchell <mark@codesourcery.com>
8681 * libc/sys/arm/syscalls.c (unistd.h): Include it.
8682 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
8683 Similarly for stdout and stderr.
8685 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
8687 * libc/libc.texinfo: Correct escape character for @ sign
8688 so file will be processed by make info. Update copyright years.
8689 * libm/libm.texinfo: Ditto.
8691 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
8693 * libc/include/sys/stat.h: No longer include stat-dj.h.
8694 * libc/include/sys/stat-dj.h: Removed.
8696 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
8698 * libc/include/wchar.h: Include <sys/reent.h>.
8700 2003-12-05 Christopher Faylor <cgf@redhat.com>
8702 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
8703 when defining _mbrtowc.
8704 * libc/stdlib/mbsinit.c: Ditto.
8705 * libc/stdlib/mbsrtowcs.c: Ditto.
8706 * libc/stdlib/wcrtomb.c: Ditto.
8707 * libc/stdlib/wcsrtombs.c: Ditto.
8708 * libc/stdlib/wctob.c: Ditto.
8710 2003-12-05 Christopher Faylor <cgf@redhat.com>
8712 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
8713 errors when defining _mbrtowc.
8714 * libc/stdlib/mbsinit.c: Ditto.
8715 * libc/stdlib/mbsrtowcs.c: Ditto.
8717 2003-12-05 Christopher Faylor <cgf@redhat.com>
8719 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
8720 errors when defining _mbrtowc.
8722 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8724 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
8725 of mb routines for %lc and %ls support.
8726 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
8727 %ls, and %S support. Remove CYGNUS_NEC markers and
8730 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
8732 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
8733 _wcrtomb_r, and _wcsrtombs_r.
8735 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
8737 * libc/include/sys/fcntl.h: Don't define struct flock when on
8738 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
8740 2003-11-28 Christopher Faylor <cgf@redhat.com>
8742 * libc/include/sys/signal.h: Use system specific signal file when
8745 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
8747 * libc/include/stdlib.h (_atoi_r): New prototype.
8748 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
8750 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
8752 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
8753 * libc/stdlib/atol.c (_atol_r): New reentrant function.
8754 * libc/stdlib/atoll.c (_atoll_r): Ditto.
8756 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8757 Jeff Johnston <jjohnstn@redhat.com>
8759 * libc/include/stdlib.h (lldiv_t): New type.
8760 (atoll, llabs, lldiv): New prototypes.
8761 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
8762 * libc/stdlib/stdlib.tex: Ditto.
8763 * libc/stdlib/Makefile.in: Regenerated.
8764 * libc/stdlib/atoll.c: New file.
8765 * libc/stdlib/llabs.c: Ditto.
8766 * libc/stdlib/lldiv.c: Ditto.
8768 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
8770 * libc/include/fcntl.h: Declare syscalls only when building newlib.
8771 * libc/include/unistd.h: Ditto.
8772 * libc/include/stat.h: Ditto. Also declare struct stat64.
8774 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8776 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
8777 specifier to use ch instead of *fmt.
8779 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8781 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
8782 code within checks for MB_CAPABLE. For non-mb-capable platforms,
8783 use simple byte logic.
8785 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
8787 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
8788 _strtold routine for processing floats and doubles since it
8789 is not as fast as _strtod_r.
8791 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
8793 * libc/machine/h8300/defines.h : Correct pointer register defines
8795 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
8797 * libc/machine/h8300/reg_memcpy.S : Likewise.
8798 * libc/machine/h8300/reg_memset.S : Likewise.
8799 * libc/machine/h8300/strcmp.S : Likewise.
8801 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
8803 * configure.host: Enable positional arguments for printf
8805 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
8806 pointer reference for quad_ptr_t.
8808 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
8810 * libc/stdio/scanf.c: Don't include local.h more than once.
8812 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
8814 * libc/include/sys/fcntl.h: Declare _open64.
8815 * libc/include/sys/stat.h: Declare _fstat64.
8816 * libc/include/sys/unistd.h: Declare _lseek64.
8818 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
8820 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
8821 (setprogname): Ditto.
8823 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
8825 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
8826 to use (Ebits + 1) which accounts for the sign-bit.
8828 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
8830 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
8832 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
8833 and set up default flags to pass to aclocal.
8834 * iconvdata/Makefile.in: Regenerated.
8835 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
8836 and getpwuid routines.
8837 * libc/sys/linux/Makefile.in: Regenerated.
8838 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
8839 applications to link with newlib's shared libc library.
8840 * libc/sys/linux/getpwnam.c: Ditto.
8841 * libc/sys/linux/getpwuid.c: Ditto.
8842 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
8843 that were formerly supplied by /usr/include/linux/types.h with
8845 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
8846 test _ELIX_LEVEL macro.
8848 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
8850 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
8851 referring to _NO_LONGLONG macro.
8853 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
8855 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
8856 in LOG() macro so this will compile on gcc 3.4 and up.
8857 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
8858 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
8859 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
8860 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
8861 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
8862 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
8863 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
8864 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
8865 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
8866 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
8867 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
8868 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
8869 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
8870 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
8871 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
8872 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
8873 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
8874 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
8875 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
8876 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
8877 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
8878 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
8879 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
8880 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
8881 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
8882 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
8883 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
8884 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
8885 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
8886 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
8887 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
8888 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
8889 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
8890 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
8891 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
8892 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
8894 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
8895 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8897 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
8898 %ls, %S, %lc, and %C format specifiers.
8900 * libc/stdio/sprintf.c: Add documentation regarding new
8901 format specifiers added in vfprintf.c.
8903 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
8905 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
8906 to make code work as specified in standard.
8908 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
8910 * configure.in: Use absolute newlib basedir when forming
8911 CC_FOR_NEWLIB include options.
8912 * configure: Regenerated.
8914 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
8916 * libc/string/wcsnlen.c: New file.
8917 * libc/include/wchar.h: Add wcsnlen prototype.
8918 * libc/string/Makefile.am: Add wcsnlen support.
8919 * libc/string/Makefile.in: Regenerated.
8920 * libc/string/wcstrings.tex: Add wcsnlen documentation.
8922 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
8924 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
8926 2003-10-20 Bob Wilson <bob.wilson@acm.org>
8928 * libc/locale/locale.c: Use double quotes in code.
8929 * libc/locale/locale.tex: Likewise.
8930 * libc/libc.texinfo: Hyphenate "floating-point".
8931 * libc/machine/necv70/necv70.tex: Likewise.
8932 * libc/stdio/sprintf.c: Likewise.
8933 * libc/stdio/sscanf.c: Likewise.
8934 * libc/stdlib/atof.c: Likewise.
8935 * libc/stdlib/ldtoa.c: Fix comment typo.
8936 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
8937 * libc/stdlib/ldiv.c: Likewise.
8938 * libm/common/s_expm1.c: Likewise.
8939 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
8940 * libm/common/s_infinity: Hyphenate "double- and single-precision".
8941 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
8942 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
8943 and "floating-point".
8944 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
8945 * libm/math/e_pow.c: Fix comment typo.
8946 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
8947 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
8948 * libm/math/s_atan.c: Likewise.
8949 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
8950 * libm/math/s_isnan.c: Hyphenate "single-precision" and
8951 "floating-point". Use "nonzero".
8952 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
8953 * libm/math/w_acos.c: Likewise.
8954 * libm/math/w_acosh.c: Likewise.
8955 * libm/math/w_asin.c: Likewise.
8956 * libm/math/w_atan2.c: Likewise.
8957 * libm/math/w_atanh.c: Likewise.
8958 * libm/math/w_cosh.c: Likewise.
8959 * libm/math/w_exp.c: Likewise.
8960 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
8961 version of 2^x in the description.
8962 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
8963 * libm/math/w_gamma.c: Likewise.
8964 * libm/math/w_hypot.c: Likewise.
8965 * libm/math/w_j0.c: Likewise.
8966 * libm/math/w_sinh.c: Likewise.
8967 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
8968 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
8970 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
8971 * libm/mathfp/e_atanh.c: Likewise.
8972 * libm/mathfp/e_hypot.c: Likewise.
8973 * libm/mathfp/er_lgamma.c: Likewise.
8974 * libm/mathfp/s_acos.c: Likewise.
8975 * libm/mathfp/s_asine.c: Likewise.
8976 * libm/mathfp/s_asinh.c: Likewise.
8977 * libm/mathfp/s_atan.c: Likewise.
8978 * libm/mathfp/s_atan2.c: Likewise.
8979 * libm/mathfp/s_atangent.c: Likewise.
8980 * libm/mathfp/s_cosh.c: Likewise.
8981 * libm/mathfp/s_exp.c: Likewise.
8982 * libm/mathfp/s_fmod.c: Likewise.
8983 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
8984 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
8985 "floating-point". Use "nonzero".
8986 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
8987 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
8988 * libm/mathfp/s_sineh.c: Likewise.
8989 * libm/mathfp/w_jn.c: Likewise.
8991 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
8993 * Makefile.am: Add $(MAKE) comments to multido and multiclean
8994 lines, to enable parallel make.
8995 * Makefile.in: Rebuilt.
8997 2003-10-14 Christopher Faylor <cgf@redhat.com>
8999 * libc/time/clock.c: Clarify documentation of return value when no
9000 measurement is available.
9002 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
9004 * libm/configure.in: Check libm_machine_dir, not machine_dir.
9005 * libm/configure: Regenerate.
9006 * libm/Makefile.in: Ditto.
9008 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
9010 * libc/machine/sh/strncpy.S: New file.
9011 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
9012 * libc/machine/sh/Makefile.in: Regenerate.
9014 2003-09-11 James E Wilson <wilson@specifixinc.com>
9016 * MAINTAINERS: Update my e-mail address.
9018 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
9020 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
9022 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
9024 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
9026 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
9027 _simdldcheck(). Also add unsigned cast for index variable in
9028 for loop using sizeof operators.
9029 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
9030 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
9031 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
9032 plus fix shift calculation for determining if there is a
9035 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
9037 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
9038 setgroupent for Cygwin.
9040 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
9042 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
9043 is different for _REENT_SMALL than when using regular reent
9046 2003-09-05 Ben Elliston <bje@wasabisystems.com>
9048 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
9049 modern versions of GCC issue a warning.
9051 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
9052 after continuation characters that induces a warning from modern
9055 2003-09-04 Ben Elliston <bje@wasabisystems.com>
9057 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
9058 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
9060 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
9062 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
9063 * libc/stdlib/exit.c : Ditto.
9064 * libc/stdlib/on_exit.c: Ditto.
9066 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
9068 * libc/include/reent.h: Define stat64 as __stat64 when
9069 compiling newlib for Cygwin.
9071 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
9073 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
9074 __stat64 when compiling newlib.
9076 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
9078 * libc/include/stdio.h: Allow the io64 function prototypes for
9079 Cygwin when compiling newlib.
9080 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
9081 to expose the Cygwin struct __stat64 type.
9082 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
9084 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
9086 2003-08-23 Christopher Faylor <cgf@redhat.com>
9088 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
9089 definition to fseeko64.
9091 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
9093 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
9094 * libc/stdio: Globally remove/replace all references to fp->_data.
9095 Replace with _REENT or _GLOBAL_REENT where appropriate.
9096 * libc/stdio/asprintf.c: Ditto.
9097 * libc/stdio/fclose.c: Ditto.
9098 * libc/stdio/fvwrite.c: Ditto.
9099 * libc/stdio/makebuf.c: Ditto.
9100 * libc/stdio/refill.c: Ditto.
9101 * libc/stdio/local.h: Ditto.
9102 * libc/stdio/setvbuf.c: Ditto.
9103 * libc/stdio/sscanf.c: Ditto.
9104 * libc/stdio/stdio.c: Ditto.
9105 * libc/stdio/ungetc.c: Ditto.
9106 * libc/stdio/vfscanf.c: Ditto.
9107 * libc/stdio/vsscanf.c: Ditto.
9108 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
9109 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
9110 * libc/stdio/vsnprintf.c: Ditto.
9111 * libc/stdio/vsprintf.c: Ditto.
9112 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
9113 instead of _REENT to walk file list.
9114 * libc/stdio/fflush.c: Ditto.
9115 * libc/stdio/fgetpos.c: Add reentrant version and have regular
9116 version call reentrant version with _REENT argument.
9117 * libc/stdio/fsetpos.c: Ditto.
9118 * libc/stdio/fseek.c: Ditto.
9119 * libc/stdio/fseeko.c: Ditto.
9120 * libc/stdio/ftell.c: Ditto.
9121 * libc/stdio/ftello.c: Ditto.
9122 * libc/stdio/freopen.c: Ditto.
9123 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
9124 new files to chain. Also use _GLOBAL_REENT pointer for
9126 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
9127 * libc/stdio/siprintf.c: Ditto.
9128 * libc/stdio/iprintf.c: Ditto.
9129 * libc/stdio/fprintf.c: Ditto.
9130 * libc/stdio/printf.c: Ditto.
9131 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
9132 * libc/stdio/sprintf.c: Ditto.
9133 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
9134 * libc/stdio/rewind.c: Call _fseek_r directly.
9135 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
9136 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
9138 (get_arg): Add extra struct _reent pointer argument.
9139 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
9141 * libc/stdio64/fopen64.c: Ditto.
9142 * libc/stdio64/freopen64.c: Ditto.
9143 * libc/stdio64/fsetpos64.c: Ditto.
9144 * libc/stdio64/ftello64.c: Ditto.
9145 * libc/stdio64/local64.h: Ditto.
9146 * libc/stdio64/stdio64.c: Ditto.
9147 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
9148 _fstat64_r for the meantime.
9150 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
9152 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
9155 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
9157 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
9160 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
9162 * libc/include/math.h: Add prototypes for __signbitf and
9165 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
9167 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
9168 correct type of conversion when dealing with EUCJP or SJIS.
9169 * libc/ctype/iswblank.c: Ditto.
9170 * libc/ctype/iswcntrl.c: Ditto.
9171 * libc/ctype/iswprint.c: Ditto.
9172 * libc/ctype/iswpunct.c: Ditto.
9173 * libc/ctype/iswspace.c: Ditto.
9174 * libc/ctype/towlower.c: Ditto.
9175 * libc/ctype/towupper.c: Ditto.
9177 2003-07-31 Nick Clifton <nickc@redhat.com>
9179 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
9180 before calling main, in case it saves its argument registers.
9181 Remove reference to deleted v850ea port.
9182 * configure.host: Remove reference to deleted v850ea port.
9183 Do not use -mv850 when building for v850e target. This
9184 prevents the ctbp system register from being initialised.
9186 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
9188 * libc/stdio/vfprintf.c: Set output size to 1 when
9189 we have %f format with precision 0 and # flag not specified.
9191 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
9193 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
9196 2003-07-25 Christopher Faylor <cgf@redhat.com>
9198 * libc/stdio64/fdopen64.c: Include sys/lock.h.
9200 2003-07-25 Christopher Faylor <cgf@redhat.com>
9202 * configure.host: Find cygwin include directory, when appropriate.
9204 2003-07-24 Christopher Faylor <cgf@redhat.com>
9206 * libc/stdio64/fdopen64.c: New file.
9207 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
9208 * libc/stdio64/Makefile.in: Regenerate.
9209 * libc/include/stdio.h (fdopen64): Define.
9210 * libc/include/stdio.h (_fdopen64_r): Ditto.
9212 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
9214 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
9215 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
9216 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
9217 restore callee-saved FP registers.
9219 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
9221 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
9223 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
9225 * libc/sys/sh/Makefile.in: Regenerate.
9226 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
9227 * libc/sys/sh/ftruncate.c: New file.
9228 * libc/sys/sh/truncate.c: Likewise.
9230 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
9232 * libc/include/math.h (nan, nanf): Update prototype to C99.
9233 * libm/common/s_nan.c (nan): Likewise.
9234 * libm/common/s_nanf.c (nanf, nan): Likewise.
9235 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
9237 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
9239 * libc/include/stdbool.h: Removed as this is defined by gcc.
9241 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
9243 * libc/include/stdbool.h: New header file defined by C99.
9245 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
9247 * libc/include/sys/types.h (int8_t): Make signed.
9249 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
9251 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
9253 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
9255 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
9256 on if we actually created the shared memory file exclusively.
9258 2003-06-27 Joe Vornehm <joev@mitre.org>
9260 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
9261 comparisons to account for unsigned internal value w.
9263 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
9265 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
9266 wrbuf for a non-creating open.
9268 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
9270 * libc/machine/h8300/setarch.h: New.
9271 * libc/machine/h8300/memcpy.S: Use it.
9272 * libc/machine/h8300/memset.S: Likewise.
9273 * libc/machine/h8300/reg_memcpy.S: Likewise.
9274 * libc/machine/h8300/reg_memset.S: Likewise.
9275 * libc/machine/h8300/setjmp.S: Likewise.
9276 * libc/machine/h8300/strcmp.S: Likewise.
9278 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
9280 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
9283 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
9285 * configure.host (iq2000): Add tabs.
9287 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
9289 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
9290 to handle latest on_exit change.
9291 * libc/sys/linux/Makefile.am: Remove special compilation
9292 for malloc.c and mcheck.c.
9293 * libc/sys/linux/Makefile.in: Regenerated.
9294 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
9295 after including <features.h>.
9296 * libc/sys/linux/mcheck.c: Ditto.
9297 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
9299 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
9300 add -DNOT_IN_libc to C flags.
9301 * libc/sys/linux/intl/Makefile.in: Regenerated.
9302 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
9303 * libc/sys/linux/linuxthreads/semaphore.h: Include
9304 <bits/pthreadtypes.h>.
9305 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
9306 including <features.h>.
9307 * libc/sys/linux/sys/lock.h: Ditto.
9309 2003-06-11 Nick Clifton <nickc@redhat.com>
9311 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
9314 2003-06-10 Stan Cox <scox@redhat.com>
9315 Anthony Green <green@redhat.com>
9317 * configure.host: Add iq2000 support.
9318 * newlib/libc/include/machine/ieeefp.h: Ditto.
9319 * newlib/libc/include/machine/setjmp.h: Ditto.
9320 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
9321 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
9322 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
9323 libc/machine/iq2000/Makefile.in: New files.
9325 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
9327 * libc/sys/h8300hms/setarch.h: New file.
9328 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
9329 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
9330 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
9331 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
9333 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
9335 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
9337 * libc/argz/argz_add_sep.c: Ditto.
9338 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
9339 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
9340 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
9341 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
9342 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
9343 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
9344 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
9345 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
9346 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
9347 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
9348 * libc/posix/execl.c libc/posix/execle.c: Ditto.
9349 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
9350 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
9351 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
9352 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
9353 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
9354 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
9355 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
9356 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
9357 * libc/search/twalk.c libc/signal/signal.c: Ditto.
9359 2003-06-05 Nick Clifton <nickc@redhat.com>
9361 * libc/include/sys/reent.h (struct _on_exit_args): New
9362 structure containing fields used by the on_exit() function.
9363 (struct _atexit): Include struct _on_exit_args. For
9364 _REENT_SMALL do his via a pointer that is initialised when
9366 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
9367 structure, if one has been allocated.
9368 * libc/stdlib/atexit.c (atexit): Update indirection to
9370 * libc/stdlib/on_exit.c (on_exit): Indirect via the
9371 _on_exit_args structure. For _REENT_SMALL, allocate a
9372 structure if one does not exist.
9373 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
9376 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
9378 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
9379 * libc/sys/linux/net/Makefile.in: Regenerated.
9381 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
9383 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
9384 * libc/reent/fcntlr.c: Ditto.
9385 * libc/reent/fstat64r.c: Ditto.
9386 * libc/reent/linkr.c: Ditto.
9387 * libc/reent/lseek64r.c: Ditto.
9388 * libc/reent/lseekr.c: Ditto.
9389 * libc/reent/openr.c: Ditto.
9390 * libc/reent/readr.c: Ditto.
9391 * libc/reent/reent.c: Ditto.
9392 * libc/reent/sbrkr.c: Ditto.
9393 * libc/reent/signalr.c: Ditto.
9394 * libc/reent/signgam.c: Ditto.
9395 * libc/reent/statr.c: Ditto.
9396 * libc/reent/timer.c: Ditto.
9397 * libc/reent/unlinkr.c: Ditto.
9398 * libc/reent/writer.c: Ditto.
9399 * libc/syscalls/sysclose.c: Ditto.
9400 * libc/syscalls/sysexecve.c: Ditto.
9401 * libc/syscalls/sysfcntl.c: Ditto.
9402 * libc/syscalls/sysfork.c: Ditto.
9403 * libc/syscalls/sysfstat.c: Ditto.
9404 * libc/syscalls/sysgetpid.c: Ditto.
9405 * libc/syscalls/sysgettod.c: Ditto.
9406 * libc/syscalls/syskill.c: Ditto.
9407 * libc/syscalls/syslink.c: Ditto.
9408 * libc/syscalls/syslseek.c: Ditto.
9409 * libc/syscalls/sysopen.c: Ditto.
9410 * libc/syscalls/sysread.c: Ditto.
9411 * libc/syscalls/syssbrk.c: Ditto.
9412 * libc/syscalls/sysstat.c: Ditto.
9413 * libc/syscalls/systimes.c: Ditto.
9414 * libc/syscalls/sysunlink.c: Ditto.
9415 * libc/syscalls/syswait.c: Ditto.
9416 * libc/syscalls/syswrite.c: Ditto.
9418 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
9420 * libc/time/tzset_r.c: Change local variables that are
9421 set via sscanf using the %h format specifier to be unsigned short
9424 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
9426 * configure.host: Allow i[34567]86 variant.
9427 * configure.in: Likewise.
9428 * README: Likewise to the docs.
9429 * configure: Regenerated.
9430 * Makefile.in: Ditto.
9432 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
9433 Tom Fitzsimmons <fitzsim@redhat.com>
9435 * configure.in: Add iconvdata support for x86 linux.
9436 * configure: Regenerated.
9437 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
9438 library, iconv, and linuxthreads support.
9439 * libc/sys/linux/configure.in: Ditto.
9440 * libc/sys/linux/Makefile.in: Regenerated.
9441 * libc/sys/linux/configure: Ditto.
9442 * iconvdata/EUC-JP.irreversible: New file.
9443 * iconvdata/Makefile.am: Ditto.
9444 * iconvdata/Makefile.in: Ditto.
9445 * iconvdata/SJIS.irreversible: Ditto.
9446 * iconvdata/aclocal.m4: Ditto.
9447 * iconvdata/configure: Ditto.
9448 * iconvdata/configure.in: Ditto.
9449 * iconvdata/dummy.c: Ditto.
9450 * iconvdata/euc-jp.c: Ditto.
9451 * iconvdata/gconv-modules: Ditto.
9452 * iconvdata/jis0201.c: Ditto.
9453 * iconvdata/jis0201.h: Ditto.
9454 * iconvdata/jis0208.c: Ditto.
9455 * iconvdata/jis0208.h: Ditto.
9456 * iconvdata/jis0212.c: Ditto.
9457 * iconvdata/jis0212.h: Ditto.
9458 * iconvdata/sjis.c: Ditto.
9459 * libc/include/errno.h: Protect definition of error_t.
9460 * libc/sys/linux/gethostid.c: New file.
9461 * libc/sys/linux/sethostid.c: Ditto.
9462 * libc/sys/linux/dl/Makefile.am: Ditto.
9463 * libc/sys/linux/dl/Makefile.in: Ditto.
9464 * libc/sys/linux/dl/abi-tag.h: Ditto.
9465 * libc/sys/linux/dl/atomicity.h: Ditto.
9466 * libc/sys/linux/dl/dl-addr.c: Ditto.
9467 * libc/sys/linux/dl/dl-cache.c: Ditto.
9468 * libc/sys/linux/dl/dl-cache.h: Ditto.
9469 * libc/sys/linux/dl/dl-close.c: Ditto.
9470 * libc/sys/linux/dl/dl-debug.c: Ditto.
9471 * libc/sys/linux/dl/dl-deps.c: Ditto.
9472 * libc/sys/linux/dl/dl-dst.h: Ditto.
9473 * libc/sys/linux/dl/dl-error.c: Ditto.
9474 * libc/sys/linux/dl/dl-fini.c: Ditto.
9475 * libc/sys/linux/dl/dl-init.c: Ditto.
9476 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
9477 * libc/sys/linux/dl/dl-libc.c: Ditto.
9478 * libc/sys/linux/dl/dl-librecon.h: Ditto.
9479 * libc/sys/linux/dl/dl-load.c: Ditto.
9480 * libc/sys/linux/dl/dl-lookup.c: Ditto.
9481 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
9482 * libc/sys/linux/dl/dl-minimal.c: Ditto.
9483 * libc/sys/linux/dl/dl-misc.c: Ditto.
9484 * libc/sys/linux/dl/dl-object.c: Ditto.
9485 * libc/sys/linux/dl/dl-open.c: Ditto.
9486 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
9487 * libc/sys/linux/dl/dl-profile.c: Ditto.
9488 * libc/sys/linux/dl/dl-profstub.c: Ditto.
9489 * libc/sys/linux/dl/dl-reloc.c: Ditto.
9490 * libc/sys/linux/dl/dl-runtime.c: Ditto.
9491 * libc/sys/linux/dl/dl-support.c: Ditto.
9492 * libc/sys/linux/dl/dl-sym.c: Ditto.
9493 * libc/sys/linux/dl/dl-version.c: Ditto.
9494 * libc/sys/linux/dl/dlfcn.h: Ditto.
9495 * libc/sys/linux/dl/do-lookup.h: Ditto.
9496 * libc/sys/linux/dl/do-rel.h: Ditto.
9497 * libc/sys/linux/dl/dynamic-link.h: Ditto.
9498 * libc/sys/linux/dl/kernel-features.h: Ditto.
9499 * libc/sys/linux/dl/ldsodefs.h: Ditto.
9500 * libc/sys/linux/dl/libintl.h: Ditto.
9501 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
9502 * libc/sys/linux/dl/unsecvars.h: Ditto.
9503 * libc/sys/linux/iconv/Makefile.am: Ditto.
9504 * libc/sys/linux/iconv/Makefile.in: Ditto.
9505 * libc/sys/linux/iconv/categories.def: Ditto.
9506 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
9507 * libc/sys/linux/iconv/gconv.c: Ditto.
9508 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
9509 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
9510 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
9511 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
9512 * libc/sys/linux/iconv/gconv_close.c: Ditto.
9513 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
9514 * libc/sys/linux/iconv/gconv_db.c: Ditto.
9515 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
9516 * libc/sys/linux/iconv/gconv_int.h: Ditto.
9517 * libc/sys/linux/iconv/gconv_open.c: Ditto.
9518 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
9519 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
9520 * libc/sys/linux/iconv/hash-string.h: Ditto.
9521 * libc/sys/linux/iconv/iconv.c: Ditto.
9522 * libc/sys/linux/iconv/iconv.h: Ditto.
9523 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
9524 * libc/sys/linux/iconv/iconv_close.c: Ditto.
9525 * libc/sys/linux/iconv/iconv_open.c: Ditto.
9526 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
9527 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
9528 * libc/sys/linux/iconv/loadinfo.h: Ditto.
9529 * libc/sys/linux/iconv/localeinfo.h: Ditto.
9530 * libc/sys/linux/iconv/loop.c: Ditto.
9531 * libc/sys/linux/iconv/skeleton.c: Ditto.
9532 * libc/sys/linux/iconv/strtab.c: Ditto.
9533 * libc/sys/linux/include/dl-hash.h: Ditto.
9534 * libc/sys/linux/include/dlfcn.h: Ditto.
9535 * libc/sys/linux/include/fnmatch.h: Ditto.
9536 * libc/sys/linux/include/gconv.h: Ditto.
9537 * libc/sys/linux/include/glob.h: Ditto.
9538 * libc/sys/linux/include/hesiod.h: Ditto.
9539 * libc/sys/linux/include/ifaddrs.h: Ditto.
9540 * libc/sys/linux/include/libc_private.h: Ditto.
9541 * libc/sys/linux/include/link.h: Ditto.
9542 * libc/sys/linux/include/namespace.h: Ditto.
9543 * libc/sys/linux/include/netconfig.h: Ditto.
9544 * libc/sys/linux/include/netdb.h: Ditto.
9545 * libc/sys/linux/include/nsswitch.h: Ditto.
9546 * libc/sys/linux/include/regex.h: Ditto.
9547 * libc/sys/linux/include/resolv.h: Ditto.
9548 * libc/sys/linux/include/rune.h: Ditto.
9549 * libc/sys/linux/include/runetype.h: Ditto.
9550 * libc/sys/linux/include/semaphore.h: Ditto.
9551 * libc/sys/linux/include/setlocale.h: Ditto.
9552 * libc/sys/linux/include/un-namespace.h: Ditto.
9553 * libc/sys/linux/include/wordexp.h: Ditto.
9554 * libc/sys/linux/include/arpa/ftp.h: Ditto.
9555 * libc/sys/linux/include/arpa/inet.h: Ditto.
9556 * libc/sys/linux/include/arpa/nameser.h: Ditto.
9557 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
9558 * libc/sys/linux/include/arpa/telnet.h: Ditto.
9559 * libc/sys/linux/include/arpa/tftp.h: Ditto.
9560 * libc/sys/linux/include/net/bpf.h: Ditto.
9561 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
9562 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
9563 * libc/sys/linux/include/net/bridge.h: Ditto.
9564 * libc/sys/linux/include/net/ethernet.h: Ditto.
9565 * libc/sys/linux/include/net/fddi.h: Ditto.
9566 * libc/sys/linux/include/net/if.h: Ditto.
9567 * libc/sys/linux/include/net/if_arc.h: Ditto.
9568 * libc/sys/linux/include/net/if_arp.h: Ditto.
9569 * libc/sys/linux/include/net/if_atm.h: Ditto.
9570 * libc/sys/linux/include/net/if_dl.h: Ditto.
9571 * libc/sys/linux/include/net/if_gif.h: Ditto.
9572 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
9573 * libc/sys/linux/include/net/if_llc.h: Ditto.
9574 * libc/sys/linux/include/net/if_media.h: Ditto.
9575 * libc/sys/linux/include/net/if_mib.h: Ditto.
9576 * libc/sys/linux/include/net/if_ppp.h: Ditto.
9577 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
9578 * libc/sys/linux/include/net/if_slvar.h: Ditto.
9579 * libc/sys/linux/include/net/if_sppp.h: Ditto.
9580 * libc/sys/linux/include/net/if_stf.h: Ditto.
9581 * libc/sys/linux/include/net/if_tap.h: Ditto.
9582 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
9583 * libc/sys/linux/include/net/if_tun.h: Ditto.
9584 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
9585 * libc/sys/linux/include/net/if_types.h: Ditto.
9586 * libc/sys/linux/include/net/if_var.h: Ditto.
9587 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
9588 * libc/sys/linux/include/net/intrq.h: Ditto.
9589 * libc/sys/linux/include/net/iso88025.h: Ditto.
9590 * libc/sys/linux/include/net/net_osdep.h: Ditto.
9591 * libc/sys/linux/include/net/netisr.h: Ditto.
9592 * libc/sys/linux/include/net/pfil.h: Ditto.
9593 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
9594 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
9595 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
9596 * libc/sys/linux/include/net/radix.h: Ditto.
9597 * libc/sys/linux/include/net/raw_cb.h: Ditto.
9598 * libc/sys/linux/include/net/route.h: Ditto.
9599 * libc/sys/linux/include/net/slcompress.h: Ditto.
9600 * libc/sys/linux/include/net/slip.h: Ditto.
9601 * libc/sys/linux/include/net/zlib.h: Ditto.
9602 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
9603 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
9604 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
9605 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
9606 * libc/sys/linux/include/netinet/igmp.h: Ditto.
9607 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
9608 * libc/sys/linux/include/netinet/in.h: Ditto.
9609 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
9610 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
9611 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
9612 * libc/sys/linux/include/netinet/in_var.h: Ditto.
9613 * libc/sys/linux/include/netinet/ip.h: Ditto.
9614 * libc/sys/linux/include/netinet/ip6.h: Ditto.
9615 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
9616 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
9617 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
9618 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
9619 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
9620 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
9621 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
9622 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
9623 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
9624 * libc/sys/linux/include/netinet/tcp.h: Ditto.
9625 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
9626 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
9627 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
9628 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
9629 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
9630 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
9631 * libc/sys/linux/include/netinet/udp.h: Ditto.
9632 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
9633 * libc/sys/linux/include/netinet6/ah.h: Ditto.
9634 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
9635 * libc/sys/linux/include/netinet6/esp.h: Ditto.
9636 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
9637 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
9638 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
9639 * libc/sys/linux/include/netinet6/in6.h: Ditto.
9640 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
9641 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
9642 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
9643 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
9644 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
9645 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
9646 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
9647 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
9648 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
9649 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
9650 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
9651 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
9652 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
9653 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
9654 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
9655 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
9656 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
9657 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
9658 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
9659 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
9660 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
9661 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
9662 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
9663 * libc/sys/linux/include/netns/idp.h: Ditto.
9664 * libc/sys/linux/include/netns/idp_var.h: Ditto.
9665 * libc/sys/linux/include/netns/ns.h: Ditto.
9666 * libc/sys/linux/include/netns/ns_error.h: Ditto.
9667 * libc/sys/linux/include/netns/ns_if.h: Ditto.
9668 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
9669 * libc/sys/linux/include/netns/sp.h: Ditto.
9670 * libc/sys/linux/include/netns/spidp.h: Ditto.
9671 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
9672 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
9673 * libc/sys/linux/include/netns/spp_var.h: Ditto.
9674 * libc/sys/linux/include/rpc/Makefile: Ditto.
9675 * libc/sys/linux/include/rpc/auth.h: Ditto.
9676 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
9677 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
9678 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
9679 * libc/sys/linux/include/rpc/clnt.h: Ditto.
9680 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
9681 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
9682 * libc/sys/linux/include/rpc/des.h: Ditto.
9683 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
9684 * libc/sys/linux/include/rpc/nettype.h: Ditto.
9685 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
9686 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
9687 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
9688 * libc/sys/linux/include/rpc/raw.h: Ditto.
9689 * libc/sys/linux/include/rpc/rpc.h: Ditto.
9690 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
9691 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
9692 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
9693 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
9694 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
9695 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
9696 * libc/sys/linux/include/rpc/svc.h: Ditto.
9697 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
9698 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
9699 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
9700 * libc/sys/linux/include/rpc/types.h: Ditto.
9701 * libc/sys/linux/include/rpc/xdr.h: Ditto.
9702 * libc/sys/linux/intl/Makefile.am: Ditto.
9703 * libc/sys/linux/intl/Makefile.in: Ditto.
9704 * libc/sys/linux/intl/bindtextdom.c: Ditto.
9705 * libc/sys/linux/intl/catgets.c: Ditto.
9706 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
9707 * libc/sys/linux/intl/config.h: Ditto.
9708 * libc/sys/linux/intl/dcgettext.c: Ditto.
9709 * libc/sys/linux/intl/dcigettext.c: Ditto.
9710 * libc/sys/linux/intl/dcngettext.c: Ditto.
9711 * libc/sys/linux/intl/dgettext.c: Ditto.
9712 * libc/sys/linux/intl/dngettext.c: Ditto.
9713 * libc/sys/linux/intl/explodename.c: Ditto.
9714 * libc/sys/linux/intl/finddomain.c: Ditto.
9715 * libc/sys/linux/intl/gettext.c: Ditto.
9716 * libc/sys/linux/intl/gettext.h: Ditto.
9717 * libc/sys/linux/intl/gettextP.h: Ditto.
9718 * libc/sys/linux/intl/hash-string.h: Ditto.
9719 * libc/sys/linux/intl/l10nflist.c: Ditto.
9720 * libc/sys/linux/intl/loadinfo.h: Ditto.
9721 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
9722 * libc/sys/linux/intl/locale.alias: Ditto.
9723 * libc/sys/linux/intl/localealias.c: Ditto.
9724 * libc/sys/linux/intl/ngettext.c: Ditto.
9725 * libc/sys/linux/intl/open_catalog.c: Ditto.
9726 * libc/sys/linux/intl/plural.c: Ditto.
9727 * libc/sys/linux/intl/plural.y: Ditto.
9728 * libc/sys/linux/intl/stpcpy.c: Ditto.
9729 * libc/sys/linux/intl/textdomain.c: Ditto.
9730 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
9731 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
9732 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
9733 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
9734 * libc/sys/linux/linuxthreads/attr.c: Ditto.
9735 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
9736 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
9737 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
9738 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
9739 * libc/sys/linux/linuxthreads/config.h: Ditto.
9740 * libc/sys/linux/linuxthreads/configure: Ditto.
9741 * libc/sys/linux/linuxthreads/configure.in: Ditto.
9742 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
9743 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
9744 * libc/sys/linux/linuxthreads/events.c: Ditto.
9745 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
9746 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
9747 * libc/sys/linux/linuxthreads/internals.h: Ditto.
9748 * libc/sys/linux/linuxthreads/join.c: Ditto.
9749 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
9750 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
9751 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
9752 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
9753 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
9754 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
9755 * libc/sys/linux/linuxthreads/manager.c: Ditto.
9756 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
9757 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
9758 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
9759 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
9760 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
9761 * libc/sys/linux/linuxthreads/prio.c: Ditto.
9762 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
9763 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
9764 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
9765 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
9766 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
9767 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
9768 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
9769 * libc/sys/linux/linuxthreads/queue.h: Ditto.
9770 * libc/sys/linux/linuxthreads/reent.c: Ditto.
9771 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
9772 * libc/sys/linux/linuxthreads/restart.h: Ditto.
9773 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
9774 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
9775 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
9776 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
9777 * libc/sys/linux/linuxthreads/signals.c: Ditto.
9778 * libc/sys/linux/linuxthreads/specific.c: Ditto.
9779 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
9780 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
9781 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
9782 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
9783 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
9784 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
9785 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
9786 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
9787 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
9788 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
9789 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
9790 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
9791 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
9792 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
9793 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
9794 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
9795 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
9796 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
9797 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
9798 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
9799 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
9800 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
9801 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
9802 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
9803 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
9804 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
9805 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
9806 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
9807 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
9808 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
9809 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
9810 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
9811 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
9812 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
9813 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
9814 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
9815 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
9816 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
9817 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
9818 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
9819 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
9820 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
9821 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
9822 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
9823 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
9824 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
9825 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
9826 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
9827 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
9828 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
9829 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
9830 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
9831 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
9832 * libc/sys/linux/linuxthreads/unload.c: Ditto.
9833 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
9834 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
9835 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
9836 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
9837 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
9838 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
9839 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
9840 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
9841 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
9842 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
9843 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
9844 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
9845 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
9846 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
9847 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
9848 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
9849 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
9850 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
9851 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
9852 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
9853 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
9854 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
9855 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
9856 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
9857 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
9858 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
9859 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
9860 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
9861 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
9862 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
9863 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
9864 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
9865 * libc/sys/linux/net/Makefile.am: Ditto.
9866 * libc/sys/linux/net/Makefile.in: Ditto.
9867 * libc/sys/linux/net/addr2ascii.3: Ditto.
9868 * libc/sys/linux/net/addr2ascii.c: Ditto.
9869 * libc/sys/linux/net/ascii2addr.c: Ditto.
9870 * libc/sys/linux/net/base64.c: Ditto.
9871 * libc/sys/linux/net/bindresvport.c: Ditto.
9872 * libc/sys/linux/net/byteorder.3: Ditto.
9873 * libc/sys/linux/net/ether_addr.c: Ditto.
9874 * libc/sys/linux/net/ethers.3: Ditto.
9875 * libc/sys/linux/net/getaddrinfo.3: Ditto.
9876 * libc/sys/linux/net/getaddrinfo.c: Ditto.
9877 * libc/sys/linux/net/gethostbydns.c: Ditto.
9878 * libc/sys/linux/net/gethostbyht.c: Ditto.
9879 * libc/sys/linux/net/gethostbyname.3: Ditto.
9880 * libc/sys/linux/net/gethostbynis.c: Ditto.
9881 * libc/sys/linux/net/gethostnamadr.c: Ditto.
9882 * libc/sys/linux/net/getifaddrs.3: Ditto.
9883 * libc/sys/linux/net/getifaddrs.c: Ditto.
9884 * libc/sys/linux/net/getipnodebyname.3: Ditto.
9885 * libc/sys/linux/net/getnameinfo.3: Ditto.
9886 * libc/sys/linux/net/getnameinfo.c: Ditto.
9887 * libc/sys/linux/net/getnetbydns.c: Ditto.
9888 * libc/sys/linux/net/getnetbyht.c: Ditto.
9889 * libc/sys/linux/net/getnetbynis.c: Ditto.
9890 * libc/sys/linux/net/getnetent.3: Ditto.
9891 * libc/sys/linux/net/getnetnamadr.c: Ditto.
9892 * libc/sys/linux/net/getproto.c: Ditto.
9893 * libc/sys/linux/net/getprotoent.3: Ditto.
9894 * libc/sys/linux/net/getprotoent.c: Ditto.
9895 * libc/sys/linux/net/getprotoname.c: Ditto.
9896 * libc/sys/linux/net/getservbyname.c: Ditto.
9897 * libc/sys/linux/net/getservbyport.c: Ditto.
9898 * libc/sys/linux/net/getservent.3: Ditto.
9899 * libc/sys/linux/net/getservent.c: Ditto.
9900 * libc/sys/linux/net/herror.c: Ditto.
9901 * libc/sys/linux/net/hesiod.3: Ditto.
9902 * libc/sys/linux/net/hesiod.c: Ditto.
9903 * libc/sys/linux/net/if_indextoname.3: Ditto.
9904 * libc/sys/linux/net/ifname.c: Ditto.
9905 * libc/sys/linux/net/inet.3: Ditto.
9906 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
9907 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
9908 * libc/sys/linux/net/inet_addr.c: Ditto.
9909 * libc/sys/linux/net/inet_lnaof.c: Ditto.
9910 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
9911 * libc/sys/linux/net/inet_net.3: Ditto.
9912 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
9913 * libc/sys/linux/net/inet_net_pton.c: Ditto.
9914 * libc/sys/linux/net/inet_neta.c: Ditto.
9915 * libc/sys/linux/net/inet_netof.c: Ditto.
9916 * libc/sys/linux/net/inet_network.c: Ditto.
9917 * libc/sys/linux/net/inet_ntoa.c: Ditto.
9918 * libc/sys/linux/net/inet_ntop.c: Ditto.
9919 * libc/sys/linux/net/inet_pton.c: Ditto.
9920 * libc/sys/linux/net/innetgr-stub.c: Ditto.
9921 * libc/sys/linux/net/ip6opt.c: Ditto.
9922 * libc/sys/linux/net/iso_addr.3: Ditto.
9923 * libc/sys/linux/net/iso_addr.c: Ditto.
9924 * libc/sys/linux/net/issetugid-stub.c: Ditto.
9925 * libc/sys/linux/net/linkaddr.3: Ditto.
9926 * libc/sys/linux/net/linkaddr.c: Ditto.
9927 * libc/sys/linux/net/map_v4v6.c: Ditto.
9928 * libc/sys/linux/net/name6.c: Ditto.
9929 * libc/sys/linux/net/namespace.h: Ditto.
9930 * libc/sys/linux/net/ns.3: Ditto.
9931 * libc/sys/linux/net/ns_addr.c: Ditto.
9932 * libc/sys/linux/net/ns_name.c: Ditto.
9933 * libc/sys/linux/net/ns_netint.c: Ditto.
9934 * libc/sys/linux/net/ns_ntoa.c: Ditto.
9935 * libc/sys/linux/net/ns_parse.c: Ditto.
9936 * libc/sys/linux/net/ns_print.c: Ditto.
9937 * libc/sys/linux/net/ns_ttl.c: Ditto.
9938 * libc/sys/linux/net/nsap_addr.c: Ditto.
9939 * libc/sys/linux/net/nsdispatch.3: Ditto.
9940 * libc/sys/linux/net/nsdispatch.c: Ditto.
9941 * libc/sys/linux/net/nslexer.c: Ditto.
9942 * libc/sys/linux/net/nslexer.l: Ditto.
9943 * libc/sys/linux/net/nsparser.c: Ditto.
9944 * libc/sys/linux/net/nsparser.h: Ditto.
9945 * libc/sys/linux/net/nsparser.y: Ditto.
9946 * libc/sys/linux/net/rcmd.3: Ditto.
9947 * libc/sys/linux/net/rcmd.c: Ditto.
9948 * libc/sys/linux/net/rcmdsh.3: Ditto.
9949 * libc/sys/linux/net/rcmdsh.c: Ditto.
9950 * libc/sys/linux/net/recv.c: Ditto.
9951 * libc/sys/linux/net/res_comp.c: Ditto.
9952 * libc/sys/linux/net/res_config.h: Ditto.
9953 * libc/sys/linux/net/res_data.c: Ditto.
9954 * libc/sys/linux/net/res_debug.c: Ditto.
9955 * libc/sys/linux/net/res_init.c: Ditto.
9956 * libc/sys/linux/net/res_mkquery.c: Ditto.
9957 * libc/sys/linux/net/res_mkupdate.c: Ditto.
9958 * libc/sys/linux/net/res_query.c: Ditto.
9959 * libc/sys/linux/net/res_send.c: Ditto.
9960 * libc/sys/linux/net/res_update.c: Ditto.
9961 * libc/sys/linux/net/resolver.3: Ditto.
9962 * libc/sys/linux/net/rthdr.c: Ditto.
9963 * libc/sys/linux/net/send.c: Ditto.
9964 * libc/sys/linux/net/un-namespace.h: Ditto.
9965 * libc/sys/linux/net/vars.c: Ditto.
9966 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
9967 * libc/sys/linux/stdlib/Makefile.am: Ditto.
9968 * libc/sys/linux/stdlib/Makefile.in: Ditto.
9969 * libc/sys/linux/stdlib/cclass.h: Ditto.
9970 * libc/sys/linux/stdlib/cname.h: Ditto.
9971 * libc/sys/linux/stdlib/collate.c: Ditto.
9972 * libc/sys/linux/stdlib/collate.h: Ditto.
9973 * libc/sys/linux/stdlib/collcmp.c: Ditto.
9974 * libc/sys/linux/stdlib/engine.c: Ditto.
9975 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
9976 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
9977 * libc/sys/linux/stdlib/glob.3: Ditto.
9978 * libc/sys/linux/stdlib/glob.c: Ditto.
9979 * libc/sys/linux/stdlib/reallocf.c: Ditto.
9980 * libc/sys/linux/stdlib/regcomp.c: Ditto.
9981 * libc/sys/linux/stdlib/regerror.c: Ditto.
9982 * libc/sys/linux/stdlib/regex.3: Ditto.
9983 * libc/sys/linux/stdlib/regex2.h: Ditto.
9984 * libc/sys/linux/stdlib/regexec.c: Ditto.
9985 * libc/sys/linux/stdlib/regfree.c: Ditto.
9986 * libc/sys/linux/stdlib/utils.h: Ditto.
9987 * libc/sys/linux/stdlib/wordexp.c: Ditto.
9988 * libc/sys/linux/stdlib/wordfree.c: Ditto.
9989 * libc/sys/linux/sys/dlfcn.h: Ditto.
9990 * libc/sys/linux/sys/elfclass.h: Ditto.
9991 * libc/sys/linux/sys/event.h: Ditto.
9992 * libc/sys/linux/sys/ioccom.h: Ditto.
9993 * libc/sys/linux/sys/libc-tsd.h: Ditto.
9994 * libc/sys/linux/sys/link.h: Ditto.
9995 * libc/sys/linux/sys/lock.h: Ditto.
9996 * libc/sys/linux/sys/param.h: Ditto.
9997 * libc/sys/linux/sys/socket.h: Ditto.
9998 * libc/sys/linux/sys/sockio.h: Ditto.
10000 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
10002 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
10004 * newlib/libc/machine/h8300/memset.S: Likewise
10005 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
10006 * newlib/lib/machine/h8300/reg_memset.S: Likewise
10007 * newlib/lib/machine/h8300/setjmp.S: Likewise
10008 * newlib/lib/machine/h8300/strcmp.S: Likewise
10009 * newlib/lib/sys/h8300hms/crt0.S: Likewise
10011 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
10013 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
10014 * libc/include/stdio.h: Ditto.
10015 * libc/include/sys/config.h: Ditto.
10016 * libc/stdio/mktemp.c: Ditto.
10018 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
10020 * libc/locale/ldpart.c (__part_load_locale): Substitute
10021 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
10022 * libc/search/hash.c (__hash_open): Ditto.
10023 (init_hash): Ditto.
10024 * libc/stdio/fseek.c (fseek): Ditto.
10025 * libc/stdio/makebuf.c (__smakebuf): Ditto.
10026 * libc/stdio/mktemp.c (_gettemp): Ditto.
10028 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
10030 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
10032 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
10034 * configure.host: Accomodate removing the libc/sys/cygwin dir.
10035 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
10036 if __CYGWIN_USE_BIG_TYPES__ is set.
10037 * libc/search/hash.c (__hash_open): Ditto.
10038 (init_hash): Ditto.
10039 * libc/stdio/fseek.c (fseek): Ditto.
10040 * libc/stdio/makebuf.c (__smakebuf): Ditto.
10041 * libc/stdio/mktemp.c (_gettemp): Ditto.
10042 * libc/sys/cygwin/Makefile.am: Remove.
10043 * libc/sys/cygwin/Makefile.in: Remove.
10044 * libc/sys/cygwin/aclocal.m4: Remove.
10045 * libc/sys/cygwin/configure: Remove.
10046 * libc/sys/cygwin/configure.in: Remove.
10047 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
10048 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
10050 * libc/sys/cygwin/sys/param.h: Ditto.
10051 * libc/sys/cygwin/sys/utime.h: Ditto.
10052 * libc/sys/cygwin/sys/utmp.h: Ditto.
10054 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
10056 * libc/include/sys/types.h: Don't define key_t for Cygwin.
10058 2003-05-10 Christopher Faylor <cgf@redhat.com>
10060 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
10063 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
10065 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
10066 Include cygwin/config.h instead.
10068 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
10070 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
10071 all code with #ifdef __SPE__ test.
10072 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
10074 2003-04-15 Chris January <chris@atomice.net>
10076 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
10079 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
10081 * libc/machine/sh/memset.S: Avoid clobbering volatile
10082 objects following a tiny to-be-set array in the same quadword.
10084 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
10086 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
10087 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
10088 * libc/string/Makefile.in: Regenerated.
10089 * libc/string/wcswidth.c: New file.
10090 * libc/string/wcwidth.c: New file.
10091 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
10093 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
10095 * libc/machine/sh/memset.S: Fix problem with alloco region
10096 exceeding destination region for length >= 88 bytes, start
10097 & 0x16 == 0, end & 0x1f == 18.
10099 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
10101 * libc/string/wcscoll.c: Fix comment.
10103 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
10105 * libc/include/wchar.h: Add definition for wcscoll.
10106 * libc/string/Makefile.am: Add wcscoll.c.
10107 * libc/string/Makefile.in: Regenerated.
10108 * libc/string/wcscoll.c: New file.
10109 * libc/string/wcstrings.tex: Add wcscoll.
10111 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
10113 * libc/stdio/sscanf.c: Update flags description.
10114 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
10116 (__svfscanf_r): Add 'hh' and 'll' handling.
10118 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
10120 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
10121 __d_position member to _off_t.
10123 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
10125 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
10126 count all characters used to create number against maximum width.
10127 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
10129 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
10131 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
10133 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
10134 flag to support simulator only extensions.
10136 2003-03-17 Bob Cassels <bcassels@abinitio.com>
10138 * libc/string/wcschr.c: (wcschr): Look for character first,
10139 then for end of string, so you can do wcschr(x, '\0').
10141 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
10143 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
10144 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
10145 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
10146 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
10147 * libc/stdio/fseeko.c (fseeko): Ditto.
10148 * libc/stdio/ftello.c (ftello): Ditto.
10149 * libc/stdio/stdio.c (__swrite): Ditto.
10151 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
10152 * libc/stdio/fseek.c (fseek): Ditto.
10153 * libc/stdio/fsetpos.c (fsetpos): Ditto.
10154 * libc/stdio/ftell.c (ftell): Ditto.
10155 * libc/stdio/local.h: Declare __sseek using _off_t.
10157 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
10159 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
10161 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
10163 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
10166 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
10168 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
10170 * libc/include/sys/stat.h: Ditto.
10171 * libc/include/sys/unistd.h: Ditto.
10172 * libc/sys/cygwin/sys/dirent.h: Ditto.
10174 2003-03-07 Christopher Faylor <cgf@redhat.com>
10176 * libc/include/sys/unistd.h: Guard getopt.h call to force only
10177 declaration of getopt and avoid getopt_long declaration.
10178 * libc/sys/cygwin/include/unistd.h: Remove.
10180 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
10182 * configure.host: Define stdio64_dir for Cygwin.
10183 * libc/include/stdio.h: Change definition of fpos_t to fulfill
10184 Cygwin 64bit file access requirements.
10185 Drop definition of f*64() functions when compiled for Cygwin.
10186 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
10187 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
10188 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
10190 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
10192 * libc/include/sys/reent.h: Remove extraneous _sig_func
10195 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
10197 * libc/sys/h8300hms/Makefile.am: Add support for new files.
10198 * libc/sys/h8300hms/Makefile.in: Regenerated.
10199 * libc/sys/h8300hms/close.S: New file.
10200 * libc/sys/h8300hms/fstat.S: Ditto.
10201 * libc/sys/h8300hms/lseek.S: Ditto.
10202 * libc/sys/h8300hms/open.S: Ditto.
10203 * libc/sys/h8300hms/stat.S: Ditto.
10204 * libc/sys/h8300hms/read.S: New file to replace read.c.
10205 * libc/sys/h8300hms/read.c: Removed.
10206 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
10207 _lseek, _close, _stat, _fstat.
10208 * libc/sys/h8300hms/write.S: New file to replace write.c.
10209 * libc/sys/h8300hms/write.c: Removed.
10211 2003-02-20 Nick Clifton <nickc@redhat.com>
10213 * Add support for Cirrus Maverick ARM co-processor:
10215 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
10217 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
10218 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
10220 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
10222 * configure.host: set sys_dir, syscall_dir, and
10223 newlib_cflags for ep9312 host.
10225 * configure.host: Restore alpha sorting of entries in case
10228 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
10230 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
10232 2003-02-18 Christian Groessler <chris@groessler.org>
10234 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
10235 support z8001 segmented mode.
10237 2003-02-18 Earnie Boyd <earnie@users.sf.net>
10239 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
10242 2003-02-10 Christopher Faylor <cgf@redhat.com>
10244 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
10245 Don't define some types under cygwin.
10247 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
10249 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
10250 option to allow disabling of syscalls being supplied in newlib.
10251 * aclocal.m4: Regenerated.
10252 * configure: Ditto.
10253 * configure.host: Add support of new configuration option and add
10254 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
10255 * doc/aclocal.m4: Regenerated.
10256 * doc/configure: Ditto.
10257 * libc/*aclocal.m4: Ditto.
10258 * libc/*configure: Ditto.
10259 * libm/*aclocal.m4: Ditto.
10260 * libm/*configure: Ditto.
10261 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
10263 * libc/sys/arm/Makefile.in: Regenerated.
10265 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
10267 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
10268 -1 to be sure it cannot later match a valid file fd causing
10269 isatty() to return 1.
10270 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
10271 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
10272 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
10274 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
10276 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
10277 buffer based on the precision, after we have processed the input value
10278 in a local buffer and know its relative magnitude.
10280 2003-01-31 Michael Snyder <msnyder@redhat.com>
10282 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
10283 into registers r1 and r2, so that the simulator can distinguish
10284 this trap from a breakpoint trap. Copied from libgloss.
10286 2003-01-31 Michael Snyder <msnyder@redhat.com>
10288 * libc/sys/h8300hms/crt0.S (_start): Change local label
10289 from .loop to .Loop, so that ld and gdb will ignore it.
10291 2003-01-29 Jason Tishler <jason@tishler.net>
10293 * libc/include/time.h: Declare nanosleep() under Cygwin.
10295 2003-01-24 Nick Clifton <nickc@redhat.com>
10297 * Add sh2e support:
10299 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
10301 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
10302 * libc/machine/sh/setjmp.S: Likewise.
10303 * libc/include/machine/ieeefp.h: Likewise.
10305 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
10307 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
10310 2003-01-21 Anita Kulkarni <anitak@kpit.com>
10312 * libc/time/difftime.c : Typecast the result to double.
10314 2003-01-20 Christopher Faylor <cgf@redhat.com>
10316 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
10318 2003-01-18 Nick Clifton <nickc@redhat.com>
10320 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
10321 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
10323 2003-01-16 Joel Sherrill <joel@OARcorp.com>
10325 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
10326 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
10327 constants are defined in each file in the shared versions in
10329 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
10330 autoconf can link programs.
10331 * libc/include/machine/types.h: Explicitly specify signed on
10332 intXX_t types to ensure they are signed.
10334 2003-01-14 Christopher Faylor <cgf@redhat.com>
10336 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
10339 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
10341 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
10343 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
10345 * libc/stdio/sprintf.c: fix typo
10346 * libc/stdio/vfprintf.c: fix typo
10348 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
10350 * configure.host: Support long double I/O for x86-linux.
10351 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
10352 large enough to hold formatted result.
10353 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
10355 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
10357 * Makefile.am: Add vasprintf.
10358 * Makefile.in: Regenerated.
10360 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
10362 * asprintf.c (_asprintf_r): insure both declarations
10365 2002-12-28 Christopher Faylor <cgf@redhat.com>
10367 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
10368 than defining getopt directly.
10370 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
10372 * NEWS: Update with 1.11.0 info.
10374 * acinclude.m4: Change version number to 1.11.0.
10375 * aclocal.m4: Regenerated.
10376 * configure: Ditto.
10377 * doc/aclocal.m4: Ditto.
10378 * doc/configure: Ditto.
10379 * libc/*/aclocal.m4: Ditto.
10380 * libc/*/configure: Ditto.
10381 * libc/libc.texinfo: Ditto.
10382 * libm/*/aclocal.m4: Ditto.
10383 * libm/*/configure: Ditto.
10384 * libm/libm.texinfo: Ditto.
10385 * libc/sys/linux/shared.ld: Add VERS_1.11.
10387 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
10389 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
10390 Solutions to Red Hat Inc.
10391 * libc/machine/i386/f_atan2f.S: Ditto.
10392 * libc/machine/i386/f_exp.c: Ditto.
10393 * libc/machine/i386/f_expf.c: Ditto.
10394 * libc/machine/i386/f_frexp.S: Ditto.
10395 * libc/machine/i386/f_frexpf.S: Ditto.
10396 * libc/machine/i386/f_ldexp.S: Ditto.
10397 * libc/machine/i386/f_ldexpf.S: Ditto.
10398 * libc/machine/i386/f_log.S: Ditto.
10399 * libc/machine/i386/f_log10.S: Ditto.
10400 * libc/machine/i386/f_log10f.S: Ditto.
10401 * libc/machine/i386/f_logf.S: Ditto.
10402 * libc/machine/i386/f_pow.c: Ditto.
10403 * libc/machine/i386/f_powf.c: Ditto.
10404 * libc/machine/i386/f_tan.S: Ditto.
10405 * libc/machine/i386/f_tanf.S: Ditto.
10406 * libc/machine/i386/memchr.S: Ditto.
10407 * libc/machine/i386/memcmp.S: Ditto.
10408 * libc/machine/i386/memcpy.S: Ditto.
10409 * libc/machine/i386/memmove.S: Ditto.
10410 * libc/machine/i386/memset.S: Ditto.
10411 * libc/machine/i386/strchr.S: Ditto.
10412 * libc/machine/i386/strlen.S: Ditto.
10413 * libm/machine/i386/f_atan2.S: Ditto.
10414 * libm/machine/i386/f_atan2f.S: Ditto.
10415 * libm/machine/i386/f_exp.c: Ditto.
10416 * libm/machine/i386/f_expf.c: Ditto.
10417 * libm/machine/i386/f_frexp.S: Ditto.
10418 * libm/machine/i386/f_frexpf.S: Ditto.
10419 * libm/machine/i386/f_ldexp.S: Ditto.
10420 * libm/machine/i386/f_ldexpf.S: Ditto.
10421 * libm/machine/i386/f_log.S: Ditto.
10422 * libm/machine/i386/f_log10.S: Ditto.
10423 * libm/machine/i386/f_log10f.S: Ditto.
10424 * libm/machine/i386/f_logf.S: Ditto.
10425 * libm/machine/i386/f_pow.c: Ditto.
10426 * libm/machine/i386/f_powf.c: Ditto.
10427 * libm/machine/i386/f_tan.S: Ditto.
10428 * libm/machine/i386/f_tanf.S: Ditto.
10430 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
10432 * libc/stdlib/environ.c: Update license to Red Hat.
10433 * libc/machine/hppa/setjmp.S: Ditto.
10434 * libm/test/Makefile.in: Ditto.
10436 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
10438 * configure.host: Remove references to go32.
10439 * libc/sys/go32/*: Removed.
10441 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
10443 * libc/include/sys/config.h: Change setting of INT_MAX
10444 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
10445 __H8300S__. Also consolidate flag settings for these
10448 2002-12-10 Joel Sherrill <joel@OARcorp.com>
10450 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
10451 for i386-rtems targets.
10453 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
10455 * libc/include/stdlib.h (strtof): New prototype (from C99).
10456 (strtodf): Changed from prototype to macro which redefines
10458 * libc/stdlib/atof.c: Change documentation to refer to strtof
10459 instead of strtodf.
10460 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
10462 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
10463 (strtof): New function.
10464 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
10467 2002-11-27 Christopher Faylor <cgf@redhat.com>
10469 * libc/string/memset.c (memset): Fix comment.
10471 2002-11-26 Christopher Faylor <cgf@redhat.com>
10473 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
10476 2002-11-25 Christopher Faylor <cgf@redhat.com>
10478 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
10479 variable, introduced below, everywhere.
10481 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
10483 * libc/string/memset.c (memset): Make it safe even if
10486 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
10488 * configure.in: Change check for libc/include in ${CC} to
10489 use an intermediate value so as to work with different shells.
10490 * configure: Regenerated.
10491 * Makefile.in: Ditto.
10493 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
10495 * libc/sys/h8300hms/read.c: Add support for normal mode
10498 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
10500 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
10501 code for __H8300H__ and __H8300S__. Also return 32-bit return code
10502 when -mint32 is used.
10504 2002-11-18 Nick Clifton <nickc@redhat.com>
10506 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
10508 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
10510 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
10511 only issue one pass/fail message for a compile/link/execute.
10512 * testsuite/newlib.elix/elix.exp: New file.
10513 * testsuite/newlib.elix/tmmap.c: Ditto.
10515 2002-11-06 Christopher Faylor <cgf@redhat.com>
10517 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
10518 * libc/stdlib/mlock.c: Ditto.
10519 * libc/stdlib/msize.c: Ditto.
10520 * libc/stdlib/msize.c: Ditto.
10521 * libc/stdlib/mtrim.c: Ditto.
10522 * libc/stdlib/valloc.c: Ditto.
10524 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
10526 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
10527 for inf/nan, make sure that the check ignores the sign bit.
10529 2002-11-07 Joel Sherrill <joel@OARcorp.com>
10531 * libc/sys/rtems/machine: New directory.
10532 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
10533 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
10534 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
10535 targets more BSD like when installed without requiring files to
10536 be overwritten at install point when RTEMS itself is installed.
10537 * Makefile.am: Pick up system dependent machine .h files such as
10538 might be found on a BSD-ish system.
10539 * Makefile.in: Regenerate.
10540 * libc/include/machine/types.h: When on an RTEMS target, define a
10541 few BSD flavor types.
10543 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
10545 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
10547 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10549 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
10550 * libc/include/wctype.h: Ditto.
10552 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
10554 * libc/include/wchar.h: Add extern "C" specifier if C++.
10555 * libc/include/wctype.h: Ditto.
10557 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
10559 * testsuite/newlib.wctype/tiswctype.c: New test case.
10560 * testsuite/newlib.wctype/twctrans.c: Ditto.
10562 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
10564 * libc/sys/linux/machine/i386/include/endian.h: New file.
10565 * libc/sys/linux/machine/i386/include/param.h: Ditto.
10567 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
10569 * libm/machine/i386/aclocal.m4: Regenerated.
10570 * libm/machine/i386/configure: Ditto.
10572 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
10574 * testsuite/include/check.h: New header file to use with
10576 * testsuite/lib/newlib.exp: Add testsuite/include directory
10577 to list of header files to use.
10578 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
10579 * testsuite/newlib.wctype/wctype.exp: New file.
10581 2002-10-11 Graham Stott <graham.stott@btinternet.com>
10582 Richard Sandiford <rsandifo@redhat.com>
10584 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
10585 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
10586 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
10588 2002-10-07 Joel Sherrill <joel@OARcorp.com>
10590 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
10593 2002-10-07 Joel Sherrill <joel@OARcorp.com>
10595 * libc/include/pthread.h: Define PTHREAD_CANCELED.
10597 2002-10-07 Joel Sherrill <joel@OARcorp.com>
10599 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
10600 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
10601 compile with current GNU tools.
10603 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
10605 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
10607 * configure.in: Ditto.
10608 * Makefile.in: Regenerated.
10609 * configure: Ditto.
10610 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
10611 for specifying configured libraries/directories.
10612 * libc/sys/linux/configure.in: Ditto.
10613 * libc/sys/linux/Makefile.in: Regenerated.
10614 * libc/sys/linux/configure: Ditto.
10616 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
10618 * libc/include/reent.h: Update documentation at start of file.
10620 2002-09-27 Jim Wilson <wilson@redhat.com>
10622 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
10625 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
10627 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
10628 Also convert to EUCJP before using arrays. For values not in
10629 the conversion arrays, return WEOF.
10630 * libc/ctype/jp2uc.h: Change from one array to a number of
10631 arrays to account for the fact that the originating table
10632 is not contiguous for the input values since some are invalid.
10634 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
10636 * libc/time/ctime.c: Fix prototype documentation.
10638 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
10640 * libc/include/sys/errno.h: Add EOVERFLOW.
10642 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
10644 * libc/include/wctype.h: New file.
10646 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
10648 * libc/ctype/Makefile.am: Add new files.
10649 * libc/ctype/Makefile.in: Regenerated.
10650 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
10651 and wctrans functions to documentation index.
10652 * libc/ctype/iswalnum.c: New file.
10653 * libc/ctype/iswalpha.c: Ditto.
10654 * libc/ctype/iswblank.c: Ditto.
10655 * libc/ctype/iswcntrl.c: Ditto.
10656 * libc/ctype/iswctype.c: Ditto.
10657 * libc/ctype/iswdigit.c: Ditto.
10658 * libc/ctype/iswgraph.c: Ditto.
10659 * libc/ctype/iswlower.c: Ditto.
10660 * libc/ctype/iswprint.c: Ditto.
10661 * libc/ctype/iswpunct.c: Ditto.
10662 * libc/ctype/iswspace.c: Ditto.
10663 * libc/ctype/iswupper.c: Ditto.
10664 * libc/ctype/iswxdigit.c: Ditto.
10665 * libc/ctype/jp2uc.c: Ditto.
10666 * libc/ctype/jp2uc.h: Ditto.
10667 * libc/ctype/local.h: Ditto.
10668 * libc/ctype/towctrans.c: Ditto.
10669 * libc/ctype/towlower.c: Ditto.
10670 * libc/ctype/towupper.c: Ditto.
10671 * libc/ctype/utf8alpha.h: Ditto.
10672 * libc/ctype/utf8print.h: Ditto.
10673 * libc/ctype/utf8punct.h: Ditto.
10674 * libc/ctype/wctrans.c: Ditto.
10675 * libc/ctype/wctype.c: Ditto.
10676 * libc/locale/locale.c (__lc_ctype): New external array to
10677 replace static lc_ctype array.
10678 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
10679 rather than reentrancy structure's _current_locale field.
10680 * libc/stdlib/wctomb_r.c: Ditto.
10682 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
10684 * configure.host: Minor comment and formatting changes.
10685 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
10686 * libc/Makefile.in: Regenerated.
10687 * libc/include/sys/config.h: Minor format change.
10689 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
10691 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
10694 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
10696 * libc/posix/opendir.c (opendir): Change code to check
10697 for HAVE_FCNTL before calling fcntl.
10698 * libc/search/hash.c (hash_open): Ditto.
10699 * libc/search/hash_page.c (open_tmp): Ditto.
10700 * libc/reent/Makefile.am: Add fcntlr.c.
10701 * libc/reent/Makefile.in: Regenerated.
10702 * libc/reent/fcntlr.c: New file.
10703 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
10704 instead of _fcntl when HAVE_FCNTL flag is set.
10705 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
10706 to see if _fcntl or _fcntl_r should be called. If flag is not
10707 set, default to ENOSYS stub.
10709 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
10711 * libc/include/wchar.h (mbstate_t): Change protective flag to
10713 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
10714 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
10716 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
10718 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
10720 * acinclude.m4 (enable-newlib-mb): Change check to
10721 default newlib_mb variable to empty string rather than "no".
10722 * configure.host: Remove hard-coding of -DMB_CAPABLE for
10723 x86-linux and Cygwin. Add code to check for newlib_mb
10724 being unset in which case set to "yes" for x86-linux and
10725 Cygwin. Change check for newlib_mb being "yes" to allow
10726 for an empty string.
10727 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
10728 * newlib.hin (_MB_LEN_MAX): New define to configure.
10729 * aclocal.m4: Regenerated.
10730 * configure: Ditto.
10731 * libc/include/limits.h: New file.
10732 * libc/sys/linux/include/limits.h: Ditto.
10733 * doc/aclocal.m4 doc/configure libc/aclocal.m4
10734 libc/configure libc/machine/aclocal.m4
10735 libc/machine/configure libc/machine/a29k/aclocal.m4
10736 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10737 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10738 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10739 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10740 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
10741 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
10742 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10743 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10744 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10745 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10746 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10747 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
10748 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
10749 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10750 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10751 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10752 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10753 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10754 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10755 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
10756 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10757 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
10758 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
10759 libc/machine/v850/configure libc/machine/w65/aclocal.m4
10760 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
10761 libc/machine/xscale/configure
10762 libc/machine/xstormy16/aclocal.m4
10763 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
10764 libc/machine/z8k/configure libc/sys/aclocal.m4
10765 libc/sys/configure libc/sys/a29khif/aclocal.m4
10766 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
10767 libc/sys/arc/configure libc/sys/arm/aclocal.m4
10768 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
10769 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
10770 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
10771 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
10772 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
10773 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
10774 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
10775 libc/sys/idt/configure libc/sys/linux/aclocal.m4
10776 libc/sys/linux/configure
10777 libc/sys/linux/machine/aclocal.m4
10778 libc/sys/linux/machine/configure
10779 libc/sys/linux/machine/i386/aclocal.m4
10780 libc/sys/linux/machine/i386/configure
10781 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10782 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
10783 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10784 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10785 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10786 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10787 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10788 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10789 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10790 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10791 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10792 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10793 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10794 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10795 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10796 libm/aclocal.m4 libm/configure: Regenerated.
10798 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
10800 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
10801 code that clears the .bss section.
10803 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
10805 * libc/include/sys/_types.h (_mbstate_t): Changed to use
10806 unsigned char internally.
10807 * libc/sys/linux/sys/_types.h: Ditto.
10808 * libc/include/sys/reent.h
10809 * libc/stdlib/mblen.c (mblen): Use function-specific state
10810 value from default reentrancy structure.
10811 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
10812 _mbtowc_r is less than 0, reset state __count value and
10814 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
10815 is NULL, use the function-specific pointer provided in the
10816 default reentrancy structure.
10817 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
10818 If input state pointer is NULL, use function-specific area
10819 provided in reentrancy structure.
10820 * libc/stdlib/mbsrtowcs.c: Ditto.
10821 * libc/stdlib/wcrtomb.c: Ditto.
10822 * libc/stdlib/wcsrtombs.c: Ditto.
10823 * libc/stdlib/mbstowcs.c: Reformat.
10824 * libc/stdlib/wcstombs.c: Ditto.
10825 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
10826 reset the state's __count value and return -1.
10827 * libc/stdlib/mbtowc.c: Ditto.
10828 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
10829 If number of bytes is used up before completing a valid multibyte
10830 character, return -2 and save the state.
10831 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
10832 and change some __count references to __state for clarity.
10834 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
10836 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
10837 is defined by <limits.h>.
10839 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10841 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
10844 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10846 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
10847 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
10848 __WCHAR_MAX__ or 0x7fffffffu.
10849 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
10850 * libc/string/wcsncmp.c: Ditto.
10852 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
10854 * libc/string/wcschr.c: Add include of <stddef.h>.
10855 * libc/string/wcspbrk.c: Ditto.
10856 * libc/string/wcsrchr.c: Ditto.
10857 * libc/string/wcsstr.c: Ditto.
10859 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
10861 * libc/include/sys/_types.h (_flock_t): Added.
10862 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
10863 (__lock_try_acquire_recursive): Ditto.
10864 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
10866 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
10868 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
10869 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
10870 * libc/sys/linux/include/time.h (struct timespec): Moved from
10871 <sys/types.h> and added check for __need_timespec flag so type
10872 can be defined by itself.
10873 * libc/sys/linux/sys/_types.h (_flock_t): New type.
10874 * libc/sys/linux/sys/types.h (struct timespec): Moved to
10877 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
10879 * libc/sys/linux/argp: New directory.
10880 * libc/sys/linux/getopt.c: New file.
10881 * libc/sys/linux/getopt1.c: New file.
10882 * libc/sys/linux/getoptlong.c: Remove file.
10883 * libc/sys/linux/include/argp.h: New file.
10884 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
10885 based on ELIX level.
10886 (SUBDIRS): Add argp_dir.
10887 (SUBLIBS): Add ARGP_LIB.
10888 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
10889 getopt_long.$(oext).
10890 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
10892 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
10894 * libc/libc.texinfo: Add node reference to wide-character strings.
10895 * libc/string/wcstrings.tex: New file.
10896 * libc/string/strtok_r.c: Remove outdated advertising clause.
10897 * libc/string/Makefile.am (doc): Add wide-character string
10898 chapter to documentation.
10899 * libc/string/Makefile.in: Regenerated.
10901 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10903 * libc/include/wchar.h: Define NULL. Define WEOF more general
10904 way. Declare functions in newlib manner.
10905 * libc/stdlib/Makefile.am: Delete wmem*.c
10906 * libc/stdlib/Makefile.in: Regenerated.
10907 * libc/stdlib/wmemchr.c: Delete.
10908 * libc/stdlib/wmemcmp.c: Ditto.
10909 * libc/stdlib/wmemcpy.c: Ditto.
10910 * libc/stdlib/wmemmove.c: Ditto.
10911 * libc/stdlib/wmemset.c: Ditto.
10912 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
10913 * libc/string/Makefile.in: Regenerated.
10914 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
10915 * libc/string/wcschr.c: Ditto.
10916 * libc/string/wcscmp.c: Ditto.
10917 * libc/string/wcscpy.c: Ditto.
10918 * libc/string/wcscspn.c: Ditto.
10919 * libc/string/wcslcat.c: Ditto.
10920 * libc/string/wcslcpy.c: Ditto.
10921 * libc/string/wcslen.c: Ditto.
10922 * libc/string/wcsncat.c: Ditto.
10923 * libc/string/wcsncmp.c: Ditto.
10924 * libc/string/wcsncpy.c: Ditto.
10925 * libc/string/wcspbrk.c: Ditto.
10926 * libc/string/wcsrchr.c: Ditto.
10927 * libc/string/wcsspn.c: Ditto.
10928 * libc/string/wcsstr.c: Ditto.
10929 * libc/string/wmemchr.c: Ditto.
10930 * libc/string/wmemcmp.c: Ditto.
10931 * libc/string/wmemcpy.c: Ditto.
10932 * libc/string/wmemmove.c: Ditto.
10933 * libc/string/wmemset.c: Ditto.
10935 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
10937 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
10938 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
10939 and is treated as if "C" was specified.
10941 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
10943 * Makefile.am (install-data-local): Move install of build
10944 newlib.h after installing headers in libc/include so as to
10945 overwrite default newlib.h.
10946 * Makefile.in: Regenerated.
10948 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
10950 * libc/include/newlib.h: New file for tools that use newlib
10951 headers but don't build newlib first (e.g. gcc).
10953 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
10955 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
10956 * libc/stdlib/wmemcmp.c: Ditto.
10957 * libc/stdlib/wmemcpy.c: Ditto.
10958 * libc/stdlib/wmemmove.c: Ditto.
10959 * libc/stdlib/wmemset.c: Ditto.
10961 2002-08-27 Egor Duda <deo@logos-m.ru>
10963 * libc/stdlib/wmemchr.c: New file.
10964 * libc/stdlib/wmemcmp.c: Ditto.
10965 * libc/stdlib/wmemcpy.c: Ditto.
10966 * libc/stdlib/wmemmove.c: Ditto.
10967 * libc/stdlib/wmemset.c: Ditto.
10968 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
10969 * configure.host: Default -DMB_CAPABLE for cygwin.
10970 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
10971 wmemmove() and wmemset(). Add include of <_ansi.h>.
10972 * libc/stdlib/Makefile.in: Regenerate.
10974 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
10976 * configure.host: Remove _ELIX_LEVEL flag setting.
10977 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
10978 (install-data-local): Install newlib.h.
10979 * Makefile.in: Regenerated.
10980 * aclocal.m4: Ditto.
10981 * configure: Ditto.
10982 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
10983 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
10984 and _NEWLIB_VERSION to fill in newlib.h header file entries.
10985 In AC_OUTPUT statement, unset ac_file so multilib support does
10986 not use last ac_file temporary used in newlib.h configuration.
10987 * libc/include/_ansi.h: Include <newlib.h>.
10988 * newlib.hin: New template file for newlib.h.
10989 * stamp-h.in: New file.
10991 2002-08-26 Wu Yongwei <adah@netstd.com>
10993 * time.h (timezonevar): Change "#if" to "#ifdef".
10995 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
10997 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
10998 * Makefile.in: Regenerated.
10999 * acinclude.m4: Add support for --enable-newlib-elix-level option.
11000 * aclocal.m4: Regenerated.
11001 * configure: Ditto.
11002 * configure.host: Add code to define _ELIX_LEVEL if
11003 --enable-newlib-elix-level option is used.
11005 * libc/aclocal.m4: Regenerated.
11006 * libc/configure: Ditto.
11007 * libc/argz/Makefile.am: Add EL/IX level checking.
11008 * libc/argz/Makefile.in: Regenerated.
11009 * libc/argz/dummy.c: New file.
11010 * libc/ctype/Makefile.am: Add EL/IX level checking.
11011 * libc/ctype/Makefile.in: Regenerated.
11012 * libc/locale/Makefile.am: Add EL/IX level checking.
11013 * libc/locale/Makefile.in: Regenerated.
11014 * libc/posix/Makefile.am: Add EL/IX level checking.
11015 * libc/posix/Makefile.in: Regenerated.
11016 * libc/posix/telldir.c: Add EL/IX level checking.
11017 * libc/reent/Makefile.am: Ditto.
11018 * libc/reent/fstat64r.c: Ditto.
11019 * libc/reent/lseek64r.c: Ditto.
11020 * libc/reent/open64r.c: Ditto.
11021 * libc/reent/Makefile.in: Regenerated.
11022 * libc/search/Makefile.am: Add EL/IX level checking.
11023 * libc/search/Makefile.in: Regenerated.
11024 * libc/stdio/Makefile.am: Add EL/IX level checking.
11025 * libc/stdio/Makefile.in: Regenerated.
11026 * libc/stdio64/Makefile.am: Add EL/IX level checking.
11027 * libc/stdio64/Makefile.in: Regenerated.
11028 * libc/stdio64/dummy.c: New file.
11029 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
11030 after first include.
11031 * libc/stdio64/fopen64.c: Ditto.
11032 * libc/stdio64/freopen64.c: Ditto.
11033 * libc/stdio64/fseeko64.c: Ditto.
11034 * libc/stdio64/fsetpos64.c: Ditto.
11035 * libc/stdio64/ftello64.c: Ditto.
11036 * libc/stdio64/tmpfile64.c: Ditto.
11037 * libc/stdlib/Makefile.am: Add EL/IX level checking.
11038 * libc/stdlib/Makefile.in: Regenerated.
11039 * libc/stdlib/mstats.c: Add EL/IX level checking.
11040 * libc/string/Makefile.am: Ditto.
11041 * libc/string/Makefile.in: Regenerated.
11042 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
11043 * libc/sys/linux/Makefile.in: Regenerated.
11044 * libc/sys/linux/aclocal.m4: Ditto.
11045 * libc/sys/linux/configure: Ditto.
11046 * libc/sys/linux/aio.c: Add EL/IX level checking.
11047 * libc/sys/linux/ftok.c: Ditto.
11048 * libc/sys/linux/getdate.c: Ditto.
11049 * libc/sys/linux/ids.c: Ditto.
11050 * libc/sys/linux/inode.c: Ditto.
11051 * libc/sys/linux/io.c: Ditto.
11052 * libc/sys/linux/process.c: Ditto.
11053 * libc/sys/linux/resource.c: Ditto.
11054 * libc/sys/linux/sched.c: Ditto.
11055 * libc/sys/linux/sig.c: Ditto.
11056 * libc/sys/linux/termios.c: Ditto.
11057 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
11058 __libc___waitpid weak aliases.
11059 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
11060 that generate the code for a syscall, but do not create a
11062 * libc/syscalls/Makefile.am: Add EL/IX level checking.
11063 * libc/syscalls/Makefile.in: Regenerated.
11064 * libc/time/tzset_r.c: Change to replace strdup with equivalent
11066 * libc/unix/Makefile.am: Add EL/IX level checking.
11067 * libc/unix/Makefile.in: Regenerated.
11069 2002-08-26 Christopher Faylor <cgf@redhat.com>
11071 * libc/include/malloc.h: On cygwin, define malloc _r functions as
11072 wrapper macros to standard malloc functions.
11073 * libc/include/stdlib.h: Ditto.
11074 * configure.host: Always define MALLOC_PROVIDED on cygwin.
11076 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11078 * libc/include/langinfo.h: New file.
11079 * libc/include/wchar.h: Likewise.
11080 * libc/include/sys/syslimits.h: Likewise.
11081 * libc/locale/fix_grouping.c: Likewise.
11082 * libc/locale/ldpart.c: Likewise.
11083 * libc/locale/ldpart.h: Likewise.
11084 * libc/locale/lmessages.c: Likewise.
11085 * libc/locale/lmessages.h: Likewise.
11086 * libc/locale/lmonetary.c: Likewise.
11087 * libc/locale/lmonetary.h: Likewise.
11088 * libc/locale/lnumeric.c: Likewise.
11089 * libc/locale/lnumeric.h: Likewise.
11090 * libc/locale/nl_langinfo.3: Likewise.
11091 * libc/locale/nl_langinfo.c: Likewise.
11092 * libc/locale/timelocal.c: Likewise.
11093 * libc/locale/timelocal.h: Likewise.
11094 * libc/stdlib/btowc.c: Likewise.
11095 * libc/stdlib/mbrlen.c: Likewise.
11096 * libc/stdlib/mbrtowc.c: Likewise.
11097 * libc/stdlib/mbsinit.c: Likewise.
11098 * libc/stdlib/mbsrtowcs.c: Likewise.
11099 * libc/stdlib/wcrtomb.c: Likewise.
11100 * libc/stdlib/wcsrtombs.c: Likewise.
11101 * libc/stdlib/wctob.c: Likewise.
11102 * libc/sys/linux/prof-freq.c: Likewise.
11103 * libc/sys/linux/profile.c: Likewise.
11104 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
11105 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
11106 * libc/include/stdlib.h: Change re-entrant functions to take
11107 mbstate_t pointers.
11108 * libc/include/sys/_types.h: Define _mbstate_t.
11109 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
11110 * libc/include/sys/errno.h (EILSEQ): New error code.
11111 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
11112 structure to use mbstate_t.
11113 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
11114 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
11115 * libc/machine/powerpc/vfscanf.c: Likewise.
11116 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
11117 * libc/stdio/vfprintf.c: Likewise.
11118 * libc/stdio/vfscanf.c: Likewise.
11119 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
11120 * libc/stdlib/mblen.c: Use mbstate_t.
11121 * libc/stdlib/mblen_r.c: Likewise.
11122 * libc/stdlib/mbstowcs.c: Likewise.
11123 * libc/stdlib/mbstowcs_r.c: Likewise.
11124 * libc/stdlib/mbtowc.c: Likewise.
11125 * libc/stdlib/mbtowc_r.c: Likewise.
11126 * libc/stdlib/wcstombs.c: Likewise.
11127 * libc/stdlib/wcstombs_r.c: Likewise.
11128 * libc/stdlib/wctomb_r.c: Likewise.
11129 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
11131 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
11133 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
11134 * libc/sys/linux/sys/types.h (off_t): Define type.
11135 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
11137 * testsuite/newlib.locale/UTF-8.exp: Likewise.
11139 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
11141 * libc/stdlib/mallocr.c: #include windows.h on Win32.
11142 (AlignPage): Continue macro on next line.
11144 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
11146 * libc/sys/linux/include/pthread.h: New file.
11148 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
11150 * libc/include/sys/types.h: Support __need_inttypes macro
11151 that only sets the __intxx and __uintxx types.
11152 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
11154 * libc/machine/powerpc/Makefile.in: Regenerated.
11155 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
11156 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
11157 redundant fixed-point conversion prototypes.
11158 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
11159 after setting __need_inttypes.
11161 2002-08-18 Christopher Faylor <cgf@redhat.com>
11163 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
11165 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
11167 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
11168 _LONG_DOUBLE to double.
11170 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
11172 * configure.host: Add powerpc*-*-eabispe* configuration.
11173 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
11174 * libc/machine/powerpc/atosfix32.c: Ditto.
11175 * libc/machine/powerpc/atosfix64.c: Ditto.
11176 * libc/machine/powerpc/atoufix16.c: Ditto.
11177 * libc/machine/powerpc/atoufix32.c: Ditto.
11178 * libc/machine/powerpc/atoufix64.c: Ditto.
11179 * libc/machine/powerpc/fix64.h: Ditto.
11180 * libc/machine/powerpc/simdldtoa.c: Ditto.
11181 * libc/machine/powerpc/strtosfix16.c: Ditto.
11182 * libc/machine/powerpc/strtosfix32.c: Ditto.
11183 * libc/machine/powerpc/strtosfix64.c: Ditto.
11184 * libc/machine/powerpc/strtoufix16.c: Ditto.
11185 * libc/machine/powerpc/strtoufix32.c: Ditto.
11186 * libc/machine/powerpc/strtoufix64.c: Ditto.
11187 * libc/machine/powerpc/ufix64toa.c: Ditto.
11188 * libc/machine/powerpc/configure.in: Add check for
11189 powerpc*-eabispe and add fixed-point conversion functions.
11190 * libc/machine/powerpc/configure: Regenerated.
11191 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
11192 %r and %R format specifiers which handle fixed-point data.
11193 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
11194 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
11195 function prototypes.
11197 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
11199 * Makefile.am: Move cmath stuff into libc/sys/linux.
11200 * Makefile.in: Regenerated.
11201 * configure.host: Default -DMB_CAPABLE for x86-linux.
11202 * libc/include/reent.h: Define _sbrk to take signed int argument.
11203 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
11204 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
11205 make locale name checking more efficient. Also allow "C-ISO-8859-1"
11206 locale for LC_CTYPE and LC_MESSAGES.
11207 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
11208 * libc/sys/linux/brk.c: Change sbrk prototype.
11209 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
11210 include <sys/features.h>.
11211 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
11212 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
11213 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
11214 with a few local additions.
11215 * libc/sys/linux/sys/features.h: New file.
11216 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
11217 to take signed argument.
11218 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
11219 prototypes to take signed size argument.
11221 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11223 * libc/sys/linux/cmath: New directory.
11224 * libc/sys/linux/include/cmathcalls.h: New file.
11225 * libc/sys/linux/include/complex.h: New file.
11226 * libc/sys/linux/machine/i386/huge_val.h: New file
11227 * libm/math/w_sincos.c: New file
11228 * libm/math/wf_sincos.c: New file
11229 * libm/mathfp/s_sincos.c: New file
11230 * libm/mathfp/sf_sincos.c: New file
11231 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
11232 * libc/include/math.h: Add sincos and sincosf declarations.
11233 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
11234 (SUBLIBS): Likewise.
11235 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
11236 * libm/math/Makefile.am (src): Add w_sincos.c.
11237 (fsrc): Add wf_sincos.c.
11238 * libm/mathfp/Makefile.am (src): Add s_sincos.c
11239 (fsrc): Add sf_sincos.c.
11241 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
11243 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
11244 Declare as extern chars and use the address operator to
11245 properly use values set in linker script.
11247 2002-08-09 Jason Tishler <jason@tishler.net>
11249 * libc/stdlib/mallocr.c: Include <limits.h>.
11250 (request2size): Change macro to do
11251 unsigned long comparisons and avoid signed overflow.
11252 (mALLOc): Add overflow check for the number of bytes to allocate.
11255 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
11257 * configure.host: Add check for --enable-newlib-io-pos-args
11258 and define WANT_IO_POS_ARGS flag if enabled. Define
11259 the flag by default for x86-linux configurations.
11260 * configure.in: Add support for --enable-newlib-io-pos-args.
11261 * libc/configure.in: Ditto.
11262 * configure: Regenerated.
11263 * libc/configure: Ditto.
11264 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
11265 vfprintf.c and vfiprintf.c.
11266 * libc/stdio/Makefile.in: Regenerated.
11267 * libc/stdio/vfprintf.c: Add positional argument support that
11268 is enabled by compiling with -DWANT_IO_POS_ARGS.
11270 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
11272 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
11273 based on __mips_soft_float rather than __mips64.
11274 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
11275 of both 32-bit and 64-bit code.
11277 2002-08-04 Christopher Faylor <cgf@redhat.com>
11279 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
11280 arguments for popen to match similar functionality in fopen.
11282 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
11284 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
11286 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
11288 * libc/sys/linux/Makefile.am: Add aio64.c.
11289 * libc/sys/linux/Makefile.in: Regenerated.
11290 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
11291 * libc/sys/linux/aio64.c: New file.
11293 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
11295 * libc/include/sys/param.h (MAX, MIN): Added macros.
11296 * libc/sys/linux/Makefile.am: Add new files.
11297 * libc/sys/linux/Makefile.in: Regenerated.
11298 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
11299 * libc/sys/linux/inode.c (fchdir): Added syscall.
11300 * libc/sys/linux/ftw.c: New file.
11301 * libc/sys/linux/ftw64.c: Ditto.
11302 * libc/sys/linux/getwd.c: Ditto.
11303 * libc/sys/linux/scandir64.c: Ditto.
11304 * libc/sys/linux/strverscmp.c: Ditto.
11305 * libc/sys/linux/versionsort.c: Ditto.
11306 * libc/sys/linux/versionsort64.c: Ditto.
11308 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
11310 * libc/string/strings.tex: Fix typo for memccpy.
11312 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
11314 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
11315 * libc/sys/linux/sys/types.h (off64_t): Definition added.
11317 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
11319 * libc/sys/linux/Makefile.am: Add fclean.c.
11320 * libc/sys/linux/Makefile.in: Regenerated.
11321 * libc/sys/linux/fclean.c: New file.
11323 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
11325 * libc/sys/linux/Makefile.am: Add confstr.c.
11326 * libc/sys/linux/Makefile.in: Regenerated.
11327 * libc/sys/linux/confstr.c: New file.
11328 * libc/sys/linux/confstr.h: Ditto.
11329 * libc/sys/linux/sys/unistd.h: Include <features.h> and
11330 <bits/environments.h>.
11332 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
11334 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
11335 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
11336 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
11337 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
11338 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
11339 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
11341 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
11343 * libc/sys/linux/Makefile.am: Add new files.
11344 * libc/sys/linux/Makefile.in: Regenerated.
11345 * libc/sys/linux/fstab.c: New file.
11346 * libc/sys/linux/fstatvfs.c: Ditto.
11347 * libc/sys/linux/fstatvfs64.c: Ditto.
11348 * libc/sys/linux/internal_statvfs.c: Ditto.
11349 * libc/sys/linux/mntent.c: Ditto.
11350 * libc/sys/linux/mntent_r.c: Ditto.
11351 * libc/sys/linux/statvfs.c: Ditto.
11352 * libc/sys/linux/statvfs64.c: Ditto.
11353 * libc/sys/linux/include/paths.h: Ditto.
11354 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
11355 with double-underscore weak-aliases.
11356 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
11358 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
11360 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
11361 to use _sig_func_ptr type casted constants.
11362 (_sig_func_ptr): Typedef moved to sys/signal.h.
11363 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
11364 For __rtems, use POSIX definition, otherwise default to ANSI.
11365 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
11367 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
11369 * configure.host: Recognize m6811-elf and m6812-elf targets.
11370 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
11371 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
11372 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
11373 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
11374 according to __INT_MAX__.
11375 (_POINTER_INT): Define to short.
11376 * libc/machine/m68hc11/Makefile.am: New file.
11377 * libc/machine/m68hc11/Makefile.in: New file.
11378 * libc/machine/m68hc11/configure.in: New file.
11379 * libc/machine/m68hc11/configure: New file.
11380 * libc/machine/m68hc11/aclocal.m4: New file.
11381 * libc/machine/m68hc11/setjmp.S: New file.
11383 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
11385 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
11387 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
11388 * libc/stdlib/Makefile.in: Regenerated.
11389 * libc/stdlib/strdup.c: Removed.
11390 * libc/stdlib/strdup_r.c: Removed.
11391 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
11392 mempcpy.c, strndup.c, and strndup_r.c.
11393 * libc/string/Makefile.in: Regenerated.
11394 * libc/string/memccpy.c: New file.
11395 * libc/string/mempcpy.c: Ditto.
11396 * libc/string/strndup.c: Ditto.
11397 * libc/string/strndup_r.c: Ditto.
11398 * libc/string/strdup.c: New file moved from stdlib.
11399 * libc/string/strdup_r.c: Ditto.
11400 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
11402 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
11404 * libc/include/stdio.h: Move fcloseall prototype within
11405 #ifndef _REENT_ONLY section.
11406 * libc/sys/linux/Makefile.am: Add new files.
11407 * libc/sys/linux/Makefile.in: Regenerated.
11408 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
11409 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
11410 * libc/sys/linux/sys/types.h: Add ino64_t type.
11411 * libc/sys/linux/ctermid.c: New file.
11412 * libc/sys/linux/ttyname_r.c: Ditto.
11413 * libc/sys/linux/readdir64.c: Ditto.
11415 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
11417 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
11418 * libc/stdio/Makefile.am: Added fcloseall.c support.
11419 * libc/stdio/Makefile.in: Regenerated.
11420 * libc/stdio/fcloseall.c: New file.
11421 * libc/stdio64/Makefile.am: Remove missing .def references.
11422 * libc/stdio64/Makefile.in: Regenerated.
11424 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
11426 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
11427 * libc/machine/powerpc/times.c: New file.
11428 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
11429 * libc/machine/powerpc/Makefile.in: Regenerated.
11431 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
11433 * libc/machine/powerpc/time.c: New file.
11434 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
11436 * libc/machine/powerpc/Makefile.in: Regenerated.
11438 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11440 * libc/libc.texinfo: Change copyright notices to Red Hat from
11442 * libm/libm.texinfo: Likewise.
11443 * README: Change docs URL to
11444 http://sources.redhat.com/newlib/docs.html.
11446 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
11448 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
11449 * libc/sys/linux/Makefile.in: Regenerated.
11450 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
11451 * libc/sys/linux/io.c: Add ftruncate syscall.
11452 * libc/sys/linux/fpathconf.c: New file.
11453 * libc/sys/linux/pathconf.c: Ditto.
11454 * libc/sys/linux/linux_fsinfo.h: Ditto.
11455 * libc/sys/linux/sys/unistd.h: Ditto.
11457 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
11459 * libc/stdio64/Makefile.am: Remove missing files.
11460 * libc/stdio64/Makefile.in: Regenerated.
11462 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
11464 * libc/include/sys/config.h[__i386__][__linux__]: Define
11465 _LARGE64FILE_SOURCE to 1.
11466 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
11467 * libc/sys/linux/Makefile.in: Regenerated.
11468 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
11469 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
11470 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
11471 of <linux/resource.h>.
11472 * libc/sys/linux/getrlimit64.c: New file.
11473 * libc/sys/linux/setrlimit64.c: Ditto.
11475 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
11477 * libc/argz/argz_replace.c: Include buf_findstr.h.
11478 * libc/argz/buf_findstr.c: Likewise.
11479 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
11481 * libc/argz/envz_get.c: Likewise.
11482 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
11483 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
11484 * libc/stdlib/getsubopt.3: New file.
11485 * libc/stdlib/getsubopt.c: New file.
11486 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
11489 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
11491 * configure.host(stdio64_dir): New setting that is used to
11492 enable building of new stdio64 directory.
11493 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
11495 (stmp-stdio64,stdio64.texi): New targets to optionally add in
11496 stdio64 info to info files.
11497 * libc/Makefile.in: Regenerated.
11498 * libc/configure: Ditto.
11499 * libc/configure.in: Add configuration variables that are set
11500 when stdio64 is selected as subdir in configure.host.
11501 * libc/libc.texinfo: Add optional menu item for Stdio64, based
11502 on whether STDIO64 flag is set or not.
11503 * libc/sys.tex: Add optional stdio64 syscalls based on whether
11504 STDIO64 flag is set or not.
11505 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
11506 _r sycall routines.
11507 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
11508 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
11509 (__SL64): New file flag indicating file is opened via fopen64.
11510 * libc/include/sys/_types.h(_off64_t): Added.
11511 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
11512 * libc/include/sys/reent.h(struct __sFILE64): New file structure
11513 for 64-bit offset large file support.
11514 (__FILE): New intermediate type either set to struct __sFILE64 or
11515 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
11516 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
11517 * libc/reent/Makefile.in: Regenerated.
11518 * libc/reent/fstat64r.c: New file.
11519 * libc/reent/lseek64r.c: Ditto.
11520 * libc/reent/open64r.c: Ditto.
11521 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
11522 based on whether STDIO64 flag is set.
11523 * libc/stdio/stdio.tex: Add blank line.
11524 * libc/stdio64/Makefile.am: New file.
11525 * libc/stdio64/Makefile.in: Ditto.
11526 * libc/stdio64/fgetpos64.c: Ditto.
11527 * libc/stdio64/fopen64.: Ditto.
11528 * libc/stdio64/freopen64.c: Ditto.
11529 * libc/stdio64/fseeko64.c: Ditto.
11530 * libc/stdio64/fsetpos64.c: Ditto.
11531 * libc/stdio64/ftello64.c: Ditto.
11532 * libc/stdio64/local64.h: Ditto.
11533 * libc/stdio64/stdio64.c: Ditto.
11534 * libc/stdio64/stdio64.tex: Ditto.
11535 * libc/stdio64/tmpfile64.c: Ditto.
11536 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
11539 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
11541 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
11542 if LIBC_EXTRA_LIB is present.
11543 * libc/Makefile.in: Regenerated.
11544 * libc/libc.texinfo: Add blank line.
11545 * libc/argz/Makefile.am: Add doc support.
11546 * libc/search/Makefile.am: Ditto.
11547 * libc/argz/Makefile.in: Regenerated.
11548 * libc/search/Makefile.in: Ditto.
11549 * libc/misc/misc.tex: Add ffs function.
11550 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
11552 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
11554 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
11555 definition that was removed in error.
11557 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
11559 * libc/include/machine/ieeefp.h: Change to only define
11560 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
11561 __IEEE_LITTLE_ENDIAN must be defined for each platform).
11562 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
11563 remove redundant floating point definitions.
11565 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
11567 * libc/sys/linux/callocr.c: Fix so code references
11570 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
11572 * libc/sys/linux/Makefile.am: Add new files.
11573 * libc/sys/linux/Makefile.in: Regenerated.
11574 * libc/sys/linux/bp-sym.h: Moved to include directory.
11575 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
11576 * libc/sys/linux/inode.c: Set _LIBC to 1.
11577 * libc/sys/linux/mq_close.c: Ditto.
11578 * libc/sys/linux/mq_getattr.c: Ditto.
11579 * libc/sys/linux/mq_open.c: Ditto.
11580 * libc/sys/linux/mq_receive.c: Ditto.
11581 * libc/sys/linux/mq_send.c: Ditto.
11582 * libc/sys/linux/mq_setattr.c: Ditto.
11583 * libc/sys/linux/mq_unlink.c: Ditto.
11584 * libc/sys/linux/calloc.c: New file.
11585 * libc/sys/linux/callocr.c: Ditto.
11586 * libc/sys/linux/cfreer.c: Ditto.
11587 * libc/sys/linux/config.h: Ditto.
11588 * libc/sys/linux/free.c: Ditto.
11589 * libc/sys/linux/freer.c: Ditto.
11590 * libc/sys/linux/msize.c: Ditto.
11591 * libc/sys/linux/msizer.c: Ditto.
11592 * libc/sys/linux/mstats.c: Ditto.
11593 * libc/sys/linux/mtrim.c: Ditto.
11594 * libc/sys/linux/mtrimr.c: Ditto.
11595 * libc/sys/linux/pvallocr.c: Ditto.
11596 * libc/sys/linux/realloc.c: Ditto.
11597 * libc/sys/linux/reallocr.c: Ditto.
11598 * libc/sys/linux/thread-m.h: Ditto.
11599 * libc/sys/linux/vallocr.c: Ditto.
11600 * libc/sys/linux/bp-checks.h: Ditto.
11601 * libc/sys/linux/libc-symbols.h: Ditto.
11602 * libc/sys/linux/libc-tsd.h: Ditto.
11603 * libc/sys/linux/libintl.h: Ditto.
11604 * libc/sys/linux/malign.c: Ditto.
11605 * libc/sys/linux/malignr.c: Ditto.
11606 * libc/sys/linux/mallinfor.c: Ditto.
11607 * libc/sys/linux/malloc.c: Ditto.
11608 * libc/sys/linux/mallocr.c: Ditto.
11609 * libc/sys/linux/malloptr.c: Ditto.
11610 * libc/sys/linux/mallstatsr.c: Ditto.
11611 * libc/sys/linux/mcheck.c: Ditto.
11612 * libc/sys/linux/mhooks.h: Ditto.
11613 * libc/sys/linux/include/bp-sym.h: Ditto.
11614 * libc/sys/linux/include/malloc.h: Ditto.
11615 * libc/sys/linux/include/mcheck.h: Ditto.
11616 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
11618 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
11619 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
11620 * libc/sys/linux/machine/i386/getpagesize.c: New file.
11621 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
11622 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
11623 * libc/sys/linux/machine/i386/sysdep.h: New file.
11624 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
11625 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
11626 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
11628 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
11630 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
11631 instead of <asm/siginfo.h>.
11632 * libc/sys/linux/sys/signal.h: Change to include various linux
11633 <bits/xxx.h> header files, rather than <linux/signal.h> so as
11634 to work with multiple releases of glibc header files.
11636 2002-07-11 Chris Demetriou <cgd@broadcom.com>
11638 * testsuite/newlib.search/hsearchtest.c: New file to test
11639 newlib/libc/search.
11640 * testsuite/newlib.search/hsearchtest.exp: Likewise.
11642 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
11644 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
11646 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
11648 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
11650 * libc/include/math.h (MAXFLOAT): Added.
11652 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
11654 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
11655 Make strcmp.S unconditional.
11656 * libc/machine/sh/Makefile.in: Regenerate.
11657 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
11658 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
11661 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
11663 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
11664 define before including <sys/lock.h>.
11666 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
11668 * libc/include/utime.h: Add include of <_ansi.h>.
11669 * libc/sys/linux/Makefile.am: Add utimes.c.
11670 * libc/sys/linux/Makefile.in: Regenerated.
11671 * libc/sys/linux/inode.c(__umask): New static routine.
11672 (umask): Written to use __umask and attempt to thread lock.
11673 (getumask): New function written to use __umask and thread lock.
11674 * libc/sys/linux/utimes.c: New file.
11675 * libc/sys/linux/sys/time.h: Fix utimes prototype.
11676 * libc/sys/linux/sys/utime.h: New file.
11678 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
11680 * libtool.m4: New file.
11681 * libc/sys/linux/process.c: Implement vfork in terms of fork,
11682 rather than as a syscall.
11684 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
11686 * libc/include/stdio.h: Add new prototypes.
11687 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
11688 * libc/stdio/Makefile.in: Regenerated.
11689 * libc/stdio/fseek.c: Add fseeko documentation.
11690 * libc/stdio/ftell.c: Add ftello documentation.
11691 * libc/stdio/fseeko.c: New file.
11692 * libc/stdio/ftello.c: New file.
11694 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
11696 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
11697 * libc/stdio/Makefile.in: Regenerated.
11698 * libc/stdio/asprintf.c: New file.
11699 * libc/stdio/vasprintf.c: Ditto.
11700 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
11701 the buffer for asprintf support.
11702 * libc/stdio/sprintf.c: Add asprintf documentation.
11703 * libc/stdio/vfprintf.c: Add vasprintf documentation.
11704 * libc/include/stdio.h: Add new prototypes.
11706 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
11708 * libc/search/hcreate.c: Remove advertising clause from license.
11709 * libc/search/hcreate_r.c: Likewise.
11711 2002-07-02 Chris Demetriou <cgd@broadcom.com>
11713 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
11714 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
11715 Check that one of them is defined and error out if not.
11716 Add any platforms defined in <machine/ieeefp.h> that are missing.
11717 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
11718 (DB_LITTLE_ENDIAN): New defines.
11719 * libc/search/hash.c: Replace all incorrect checks for
11720 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
11721 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
11722 * libc/search/hash_page.c: Likewise.
11724 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
11726 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
11728 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
11730 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
11731 * libc/include/time.h: Same.
11732 * libc/include/string.h: Same.
11733 * libc/include/stdlib.h: Same.
11734 * libc/include/signal.h: Same.
11735 * libc/include/setjmp.h: Same.
11736 * libc/include/math.h: Same.
11737 * libc/include/locale.h: Same.
11738 * libc/include/ctype.h: Same.
11739 * libc/include/machine/setjmp.h: Same.
11740 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
11743 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
11745 * libc/include/sys/_types.h: Define _ssize_t as int if int is
11746 32-bits, otherwise define it as long.
11747 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
11748 and define ssize_t as _ssize_t.
11749 * libc/reent/readr.c: Change return type to _ssize_t.
11750 * libc/reent/writer.c: Ditto.
11751 * libc/sys/linux/Makefile.am: Add aio.c.
11752 * libc/sys/linux/Makefile.in: Regenerated.
11753 * libc/sys/linux/aio.c: New file.
11754 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
11755 * libm/common/fdlibm.h: Undef __P before defining it.
11757 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
11759 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
11760 exponent_is_even_int variable. Handle case where x is
11761 negative, and y is an odd integer.
11762 * libm/mathfp/sf_pow.c (powf): Likewise.
11764 * libm/mathfp/er_lgamma.c: Remove __kernel references.
11765 * libm/mathfp/erf_lgamma.c: Likewise.
11766 * libm/mathfp/s_tgamma.c: Likewise.
11767 * libm/mathfp/sf_tgamma.c: Likewise.
11769 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
11771 * libc/sys/linux/Makefile.am: Add new clock routines.
11772 * libc/sys/linux/Makefile.in: Regenerated.
11773 * libc/sys/linux/clock_getres.c: New file.
11774 * libc/sys/linux/clock_gettime.c: Ditto.
11775 * libc/sys/linux/clock_settime.c: Ditto.
11776 * libc/sys/linux/hp-timing.h: Ditto.
11777 * libc/sys/linux/libc-internal.h: Ditto.
11778 * libc/sys/linux/sysconf.c: Fix typo.
11779 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
11780 * libc/sys/linux/machine/hp-timing.h: New file.
11781 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
11782 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
11783 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
11784 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
11785 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
11786 * libc/sys/linux/sys/linux_time.h: New file.
11787 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
11788 replace with <sys/linux_time.h>.
11790 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
11792 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
11794 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
11796 * libc/sys/linux/Makefile.am: Consolidate additional items under
11798 * libc/sys/linux/Makefile.in: Regenerated.
11800 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
11802 * libc/sys/linux/sethostname.c: New file.
11803 * libc/sys/linux/Makefile.am: Add sethostname.c support.
11804 * libc/sys/linux/Makefile.in: Regenerated.
11806 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
11808 * libc/search/db_local.h: New file.
11809 * libc/include/db.h: Remove.
11810 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
11811 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
11813 * libc/search/hash_bigkey.c: Likewise.
11814 * libc/search/hash_buf.c: Likewise.
11815 * libc/search/hash_func.c: Likewise.
11816 * libc/search/hash_log2.c: Likewise.
11817 * libc/search/hash_page.c: Likewise.
11819 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
11821 * libc/machine/sh/strlen.S: New file.
11822 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
11823 * libc/machine/sh/Makefile.am: Regenerate.
11825 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
11827 * libc/sys/linux/gethostname.c: Change name to __gethostname and
11828 add gethostname alias.
11830 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
11832 * libc/include/math.h: Remove <sys/types.h>.
11833 (__dmath): Use __ULong instead of __uint32_t.
11834 * libc/include/sys/reent.h: If long or int is not 32-bits,
11835 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
11836 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
11837 * libm/common/fdlibm.h: Ditto.
11839 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
11841 * libc/include/ndbm.h: Remove.
11842 * libc/search/ndbm.c: Remove.
11844 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
11846 * libc/stdio/fseek.c (fseek): Fix braces.
11848 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
11850 * libc/time/strftime.c (strftime): Add %e format specifier.
11852 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11854 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
11855 previously defined.
11857 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
11859 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
11860 (BYTE_ORDER): Define as appropriate for the target.
11862 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
11864 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
11866 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
11868 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
11870 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
11871 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
11872 [HAVE_GETDATE](getdate_err): New error code.
11873 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
11874 * libc/stdio/Makefile.in: Regenerated.
11875 * libc/stdio/getdelim.c: New file.
11876 * libc/stdio/getline.c: Ditto.
11877 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
11878 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
11879 * libc/sys/linux/Makefile.in: Regenerated.
11880 * libc/sys/linux/getdate.c: New file.
11881 * libc/sys/linux/getdate_err.c: Ditto.
11882 * libc/sys/linux/ntp_gettime.c: Ditto.
11883 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
11884 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
11886 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
11888 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
11889 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
11890 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
11891 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
11892 * libc/include/sys/param.h: Remove i386 case which is handled
11894 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
11895 definitions in case they are already defined.
11896 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
11897 _IEEE_LITTLE_ENDIAN flags.
11898 * libc/include/sys/reent.h: Change __uint32_t references to
11899 use _ULong instead.
11900 (_REENT_GETDATE_REENT_P): New macro.
11901 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
11902 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
11903 * libc/search/hash.h: Add default setting of BYTE_ORDER,
11904 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
11905 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
11906 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
11907 pid_t, off_t, loff_t, caddr_t, and daddr_t type
11908 definitions which are done by subsequent glibc headers.
11909 Add macro definitions to prevent subsequent header files from
11910 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
11911 intptr_t to after glibc definitions of types they are based on.
11913 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
11915 * libc/include/errno.h: Protect from multiple inclusion.
11917 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
11919 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
11921 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11923 * Makefile.am (LIB_OBJECTLISTS): Add
11924 libc/search/objectlist.awk.in.
11925 * libc/Makefile.am (SUBDIRS): Add search.
11926 (SUBLIBS): Add search/libsearch.la.
11927 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
11928 * libc/search: New directory.
11929 * libc/search/Makefile.am: New file.
11930 * libc/search/extern.h: New file.
11931 * libc/search/hash.c: New file.
11932 * libc/search/hash.h: New file.
11933 * libc/search/hash_bigkey.c: New file.
11934 * libc/search/hash_buf.c: New file.
11935 * libc/search/hash_func.c: New file.
11936 * libc/search/hash_log2.c: New file.
11937 * libc/search/hash_page.c: New file.
11938 * libc/search/hcreate.3: New file.
11939 * libc/search/hcreate.c: New file.
11940 * libc/search/hcreate_r.c: New file.
11941 * libc/search/ndbm.c: New file.
11942 * libc/search/page.h: New file.
11943 * libc/search/tdelete.c: New file.
11944 * libc/search/tdestroy.c: New file.
11945 * libc/search/tfind.c: New file.
11946 * libc/search/tsearch.3: New file.
11947 * libc/search/tsearch.c: New file.
11948 * libc/search/twalk.c: New file.
11949 * libc/include/db.h: New file.
11950 * libc/include/ndbm.h: New file.
11951 * libc/include/search.h: New file.
11952 * libc/include/sys/queue.h: New file.
11953 * libc/include/sys/cdefs.h: New file.
11954 * libc/include/sys/param.h
11955 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
11956 LITTLE_ENDIAN or BIG_ENDIAN.
11957 * libc/include/sys/errno.h (EFTYPE): New macro.
11958 * libc/search/bsearch.c: Move from libc/stdlib.
11959 * libc/search/qsort.c: Likewise.
11960 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
11962 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
11963 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
11965 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
11967 * libc/sys/linux/Makefile.am: Add support for message queue routines,
11968 ipc routines, and ftok.
11969 * libc/sys/linux/Makefile.in: Regenerated.
11970 * libc/sys/linux/ftok.c: New file.
11971 * libc/sys/linux/ipc.c: Ditto.
11972 * libc/sys/linux/mq_close.c: Ditto.
11973 * libc/sys/linux/mq_getattr.c: Ditto.
11974 * libc/sys/linux/mq_notify.c: Ditto.
11975 * libc/sys/linux/mq_open.c: Ditto.
11976 * libc/sys/linux/mq_receive.c: Ditto.
11977 * libc/sys/linux/mq_send.c: Ditto.
11978 * libc/sys/linux/mq_setattr.c: Ditto.
11979 * libc/sys/linux/mq_unlink.c: Ditto.
11980 * libc/sys/linux/mqlocal.h: Ditto.
11981 * libc/sys/linux/include/mqueue.h: Ditto.
11982 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
11985 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
11987 * libm/common/sf_lround.c (round): Change name to: (lround).
11988 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
11991 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
11993 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
11995 (newlib_pass_fail): Change to compile and run only one file.
11996 * testsuite/newlib.locale/locale.exp: Use new
11997 newlib_pass_fail_all procedure.
11998 * testsuite/newlib.string/string.exp: Likewise.
12000 2002-06-18 Dave Brolley <brolley@redhat.com>
12002 From Catherine Moore, Michael Meissner, Richard Sandiford:
12003 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
12005 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
12006 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
12007 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
12008 * configure.host: Support frv-*-*.
12009 * libc/machine/frv/Makefile.am: New file.
12010 * libc/machine/frv/configure.in: New file.
12011 * libc/machine/frv/setjmp.S: New file.
12013 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
12015 * libc/include/ctype.h: Remove isblank macro.
12017 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
12018 * libc/ctype/isblank.c: New file.
12019 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
12020 declaration. Add isblank macro.
12022 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
12024 * testsuite/newlib.stdlib/atexit.c: New file.
12025 * testsuite/newlib.stdlib/atexit.exp: Ditto.
12026 * testsuite/newlib.string/tstring.c: Change default start size
12027 to something more reasonable for embedded platforms.
12029 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
12031 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
12033 * libc/argz: New directory.
12034 * libc/argz/*: New files.
12035 * libc/argz/argz_add.c: New file.
12036 * libc/argz/argz_add_sep.c: New file.
12037 * libc/argz/argz_append.c: New file.
12038 * libc/argz/argz_count.c: New file.
12039 * libc/argz/argz_create.c: New file.
12040 * libc/argz/argz_create_sep.c: New file.
12041 * libc/argz/argz_delete.c: New file.
12042 * libc/argz/argz_extract.c: New file.
12043 * libc/argz/argz_insert.c: New file.
12044 * libc/argz/argz_next.c: New file.
12045 * libc/argz/argz_replace.c: New file.
12046 * libc/argz/argz_stringify.c: New file.
12047 * libc/argz/buf_findstr.c: New file.
12048 * libc/argz/envz_add.c: New file.
12049 * libc/argz/envz_entry.c: New file.
12050 * libc/argz/envz_get.c: New file.
12051 * libc/argz/envz_merge.c: New file.
12052 * libc/argz/envz_remove.c: New file.
12053 * libc/argz/envz_strip.c: New file.
12054 * libc/include/argz.h: New file.
12055 * libc/include/envz.h: New file.
12056 * Makefile.am (LIBC_OBJECTLISTS): Add
12057 libc/argz/objectlist.awk.in.
12058 * libc/Makefile.am (SUBDIRS): Add argz.
12059 (SUBLIBS): Add argz/libargz.la.
12060 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
12061 * libc/include/errno.h: Add error_t typedef.
12063 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
12065 * libc/include/stdlib.h: Add _Exit prototype.
12066 * libc/stdlib/Makefile.am: Add _Exit.c support.
12067 * libc/stdlib/Makefile.in: Ditto.
12068 * libc/stdlib/_Exit.c: New file.
12070 2002-06-13 Stephen L. Moshier <steve@moshier.net>
12072 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
12073 x is close to -1.0 and y is very large to use ax (absolute value)
12075 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
12077 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
12079 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
12080 Fix clobbering bytes before destination if src and dst have same
12081 non-zero misalignment.
12083 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
12084 Fixed bug in writing end of set region.
12086 2002-06-10 Christopher Faylor <cgf@redhat.com>
12088 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
12089 spawnve declaration.
12091 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
12093 * libm/common/s_fdim.c: New file.
12094 * libm/common/s_fma.c: Likewise.
12095 * libm/common/s_fmax.c: Likewise.
12096 * libm/common/s_fmin.c: Likewise.
12097 * libm/common/s_fpclassify.c: Likewise.
12098 * libm/common/s_lrint.c: Likewise.
12099 * libm/common/s_lround.c: Likewise.
12100 * libm/common/s_nearbyint.c: Likewise.
12101 * libm/common/s_remquo.c: Likewise.
12102 * libm/common/s_round.c: Likewise.
12103 * libm/common/s_scalbln.c: Likewise.
12104 * libm/common/s_signbit.c: Likewise.
12105 * libm/common/s_trunc.c: Likewise.
12106 * libm/common/sf_fdim.c: Likewise.
12107 * libm/common/sf_fma.c: Likewise.
12108 * libm/common/sf_fmax.c: Likewise.
12109 * libm/common/sf_fmin.c: Likewise.
12110 * libm/common/sf_lrint.c: Likewise.
12111 * libm/common/sf_lround.c: Likewise.
12112 * libm/common/sf_nearbyint.c: Likewise.
12113 * libm/common/sf_remquo.c: Likewise.
12114 * libm/common/sf_round.c: Likewise.
12115 * libm/common/sf_scalbln.c: Likewise.
12116 * libm/common/sf_trunc.c: Likewise.
12117 * libm/math/w_exp2.c: Likewise.
12118 * libm/math/w_tgamma.c: Likewise.
12119 * libm/math/wf_exp2.c: Likewise.
12120 * libm/math/wf_tgamma.c: Likewise.
12121 * libm/mathfp/s_exp2.c: Likewise.
12122 * libm/mathfp/s_tgamma.c: Likewise.
12123 * libm/mathfp/sf_exp2.c: Likewise.
12124 * libm/mathfp/sf_tgamma.c: Likewise.
12125 * libm/math/er_gamma.c: Fix return value.
12126 * libm/math/erf_gamma.c: Likewise.
12127 * libm/mathfp/er_gamma.c: Likewise.
12128 * libm/mathfp/erf_gamma.c: Likewise.
12129 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
12130 declarations and macros.
12131 Regenerated all Makefile.in, aclocal.m4 and configure files to
12132 use new libtool macros in top-level libtool.m4
12134 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
12136 * libc/include/string.h[__linux__]: Add strsignal prototype.
12137 * libc/include/sys/lock.h: New file with default locking support.
12138 * libc/include/sys/reent.h: Add signal buffer support for strsignal
12140 * libc/posix/Makefile.am: Add support for readdir_r.c.
12141 * libc/posix/Makefile.in: Regenerated.
12142 * libc/posix/closedir.c: Add locking support and hash table cleanup.
12143 * libc/posix/opendir.c: Add lock support.
12144 * libc/posix/readdir.c: Ditto.
12145 * libc/posix/rewinddir.c: Ditto.
12146 * libc/posix/scandir.c: Ditto.
12147 * libc/posix/seekdir.c: Ditto.
12148 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
12149 clean up leftover hash table entries.
12150 * libc/posix/readdir_r.c: New file.
12151 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
12152 * libc/sys/linux/Makefile.in: Regenerated.
12153 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
12154 * libc/sys/linux/sys/signal.h: Add psignal prototype.
12155 * libc/sys/linux/psignal.c: New file.
12156 * libc/sys/linux/strsignal.c: Ditto.
12158 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
12160 * libc/include/sys/types.h: Don't define dev_t when compiling for
12163 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
12165 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
12166 make siglist.inc dependent on sig.c instead of signal.c.
12167 * libc/sys/linux/Makefile.in: Regenerated.
12168 * libc/sys/linux/sig.c: Rename from signal.c and change code to
12169 use NSIG instead of _NSIG.
12170 * libc/sys/linux/sigaction.c: New file.
12171 * libc/sys/linux/signal.c: Changed to be linux signal() function
12172 so as to override regular newlib default signal.c.
12173 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
12174 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12175 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
12176 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
12177 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
12178 default linux sigset_t typedef by defining it equal to __sigset_t.
12179 * libc/unix/sigset.c: Add check so code isn't compiled on systems
12180 with a sigset_t that isn't implemented with a single int.
12182 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
12184 * libc/sys/linux/Makefile.am: Add support for new files.
12185 * libc/sys/linux/Makefile.in: Regenerated.
12186 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
12187 * libc/sys/linux/signal.c: Change to use real-time syscalls for
12188 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
12189 it is in a separate file now.
12190 * libc/sys/linux/machine/i386/Makefile.am
12191 * libc/sys/linux/machine/i386/Makefile.in
12192 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
12193 * libc/sys/linux/sigaction.c: New file.
12194 * libc/sys/linux/sigqueue.c: Ditto.
12195 * libc/sys/linux/sigwait.c: Ditto.
12196 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
12197 * libc/sys/linux/kernel_sigaction.h: Ditto.
12199 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
12201 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
12203 * libc/sys/linux/Makefile.in: Regenerated.
12204 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
12205 tcgetpgrp(), and tcsetpgrp() functions.
12206 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
12207 to get __MAX_BAUD rate.
12208 * libc/sys/linux/machine/i386/include/termios.h: New file.
12209 * libc/include/machine/termios.h: Ditto.
12210 * libc/sys/linux/cfspeed.c: Ditto.
12211 * libc/sys/linux/tcsendbrk.c: Ditto.
12213 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
12215 * libc/include/string.h: Add strnlen and strerror_r prototypes.
12216 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
12217 * libc/string/Makefile.in: Regenerated.
12218 * libc/string/strerror_r.c: New file.
12219 * libc/string/strnlen.c: New file.
12220 * libc/sys/linux/Makefile.am: Add rename.c.
12221 * libc/sys/linux/Makefile.in: Regenerated.
12222 * libc/sys/linux/rename.c: New file to override default rename.
12224 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
12226 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
12227 * libc/sys/linux/sys/time.h: Add conversion macros.
12228 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
12229 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
12230 * libc/sys/linux/gethostname.c: New file.
12231 * libc/sys/linux/seteuid.c: New file.
12232 * libc/sys/linux/sysctl.c: New file.
12234 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
12236 * libc/string/Makefile.am: Add support for strsep.c.
12237 * libc/string/Makefile.in: Regenerated.
12238 * libc/string/strsep.c: New file.
12239 * libc/string/strtok.c: Change to call __strtok_r service routine.
12240 * libc/string/strtok_r.c: Add __strtok_r routine which takes
12241 additional flag parameter regarding whether to skip leading delimeters.
12242 Change strtok_r to call __strtok_r.
12244 2002-05-23 Gareth Pearce <tilps@hotmail.com>
12246 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
12247 * libc/stdio/Makefile.in: Regenerated.
12248 * libc/stdio/setbuffer.c: New file.
12249 * libc/stdio/setlinebuf.c: New file.
12251 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
12253 * libc/sys/linux/Makefile.am: Add resource.c.
12254 * libc/sys/linux/Makefile.in: Regenerated.
12255 * libc/sys/linux/resource.c: New file.
12256 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
12257 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
12258 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12259 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
12260 are now found in libc/sys/linux/resource.c.
12262 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
12264 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
12265 to use void * pointers and comply with Single Unix spec.
12266 * libc/string/bcmp.c: Change to use void * instead of char *.
12267 * libc/string/bcopy.c: Ditto.
12268 * libc/string/bzero.c: Ditto.
12270 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
12272 * libc/sys/linux/shm_open.c: New file.
12273 * libc/sys/linux/shm_unlink.c: Ditto.
12274 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
12276 * libc/sys/linux/Makefile.in: Regenerated.
12277 * libc/sys/linux/sys/types.h: Add some additional checks to see
12278 if clock_t or time_t is already defined.
12280 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
12282 * Makefile.am: Don't pass $toollibdir down directly in
12283 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
12284 Pass it under the name: top_toollibdir.
12285 * Makefile.in: Regenerated.
12287 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
12289 * libc/include/sys/types.h: Revert previous patch.
12291 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
12293 * libc/include/sys/types.h: Include cygwin/types.h always under
12294 Cygwin, not only if _POSIX_THREADS is defined.
12296 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
12298 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
12300 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
12302 * Makefile.am: Copy and install headers from sys/machine/include
12303 directory. Also pass $toollibdir to lower-level directories.
12304 * Makefile.in: Regenerated.
12305 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
12306 stderr to use _REENT macro instead of _impure_ptr directly.
12307 * libc/include/sys/config.h[__i386__][__linux__]: Define
12309 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
12310 call to __getreent() function if !__SINGLE_THREAD__ and
12311 __DYNAMIC_REENT__ is set.
12312 * libc/reent/Makefile.am: Add support for getreent.c.
12313 * libc/reent/Makefile.in: Regenerated.
12314 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
12315 * libc/sys/linux/Makefile.am: Add support for new files.
12316 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
12317 * libc/sys/linux/Makefile.in: Regenerated.
12318 * libc/sys/linux/configure: Ditto.
12319 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
12320 __close, __read, __write, __poll, __open, __lseek, __fcntl from
12321 their __libc_ counterparts.
12322 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
12323 and weak-alias to regular names.
12324 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
12325 to pread64 and __pread64.
12326 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
12327 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
12328 weak-alias to pwrite64.
12329 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
12330 __libc_sched_getscheduler, __libc_sched_get_priority_max,
12331 __libc_sched_get_priority_min, and __libc_sched_setschedule to
12332 name with __ instead of __libc_.
12333 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
12334 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
12335 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
12336 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
12338 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
12339 __libc_send to __send.
12340 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
12342 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
12343 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
12344 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
12345 type and typedef __jmp_buf to jmp_buf.
12346 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
12348 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
12349 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
12351 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
12352 prefix for function macros and then use weak_alias() to regular names.
12353 * libc/sys/linux/machine/i386/syscall.h: Ditto.
12354 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
12355 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
12356 to be flockfile() and funlockfile() respectively.
12357 * libc/sys/linux/sys/types.h
12358 * libc/reent/getreent.c: New file.
12359 * libc/sys/linux/flockfile.c: Ditto.
12360 * libc/sys/linux/funlockfile.c: Ditto.
12361 * libc/sys/linux/getreent.c: Ditto.
12362 * libc/sys/linux/pread.c: Ditto.
12363 * libc/sys/linux/pwrite.c: Ditto.
12364 * libc/sys/linux/raise.c: Ditto.
12365 * libc/sys/linux/system.c: Ditto.
12366 * libc/sys/linux/tcdrain.c: Ditto.
12367 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
12368 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
12369 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
12370 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
12371 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
12373 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
12375 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
12376 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
12377 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
12378 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
12380 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
12382 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
12383 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
12386 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
12388 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
12389 options when testing natively on i[3456]86-*-linux.
12391 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
12392 only one pass or fail per test file. Trim \r's from output
12393 values received from test programs. Remove support for named
12395 * testsuite/newlib.locale/UTF-8.exp: Update to support new
12396 newlib_check_output behaviour.
12397 * testsuite/newlib.locale/UTF-8.c: Likewise.
12399 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
12401 * libc/include/stdlib.h: Add on_exit prototype.
12402 * libc/include/sys/reent.h (struct _atexit): Add argument array
12403 and bits to track type of exit routine to support both on_exit
12405 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
12406 by default and change the setting of the atexit structure.
12407 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
12408 * libc/stdlib/on_exit.c: New file.
12409 * libc/stdlib/Makefile.am: Add support for on_exit.
12410 * libc/stdlib/Makefile.in: Regenerated.
12411 * libc/stdlib/atexit.c: Change to initialize types field.
12412 * libc/stdlib/exit.c: Change to look at types field for each
12413 exit routine and either call an atexit-style or an on_exit-style
12414 routine accordingly.
12416 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
12418 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
12419 allow v specifier with n or L specifiers. For vector c format,
12420 move tmp declaration to the top.
12422 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
12424 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
12425 the original format specifier when looping for vectors to compensate
12426 for any changes made in vector %g format processing.
12427 Also add syntax checking for various invalid scenarios
12428 involving vector format extensions.
12429 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
12430 return code setting for vector formats. Also treat vector
12431 separator mismatch as a match error instead of an input error.
12432 Perform some syntax checking for vector formats.
12434 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
12436 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
12437 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
12438 * libc/string/strlcat.c: New file.
12439 * libc/string/strlcpy.c: New file.
12441 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
12443 * libc/string/strchr.c: Fix comment typo.
12445 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
12447 * acinclude.m4: Add support for --enable-newlib-multithread.
12448 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
12449 --enable-newlib-multithread=no.
12451 * libc/stdio/getc_u.c: New file.
12452 * libc/stdio/getchar_u.c: New file.
12453 * libc/stdio/putc_u.c: New file.
12454 * libc/stdio/putchar_u.c: New file.
12455 * libc/include/stdio.h: Add declarations for getc_unlocked,
12456 getchar_unlocked, putc_unlocked and putchar_unlocked.
12457 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
12458 (CHEWOUT_FILES): Add new files' .def's.
12459 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
12461 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
12463 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
12464 Also handle as single quad word when destination ends at last
12465 byte of first quad word. Fix byte selection in single quad code.
12467 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
12469 * libc/include/sys/stdio.h: New file.
12470 * libc/sys/linux/sys/stdio.h: New file.
12471 * libc/include/stdio.h: Add declarations for flockfile,
12472 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
12473 * libc/stdio/clearerr.c: Add file locking.
12474 * libc/stdio/fclose.c: Likewise.
12475 * libc/stdio/feof.c: Likewise.
12476 * libc/stdio/ferror.c: Likewise.
12477 * libc/stdio/fflush.c: Likewise.
12478 * libc/stdio/fgetc.c: Likewise.
12479 * libc/stdio/fgetpos.c: Likewise.
12480 * libc/stdio/fgets.c: Likewise.
12481 * libc/stdio/fileno.c: Likewise.
12482 * libc/stdio/fputc.c: Likewise.
12483 * libc/stdio/fputs.c: Likewise.
12484 * libc/stdio/fread.c: Likewise.
12485 * libc/stdio/freopen.c: Likewise.
12486 * libc/stdio/fseek.c: Likewise.
12487 * libc/stdio/ftell.c: Likewise.
12488 * libc/stdio/fwrite.c: Likewise.
12489 * libc/stdio/getc.c: Likewise.
12490 * libc/stdio/putc.c: Likewise.
12491 * libc/stdio/setvbuf.c: Likewise.
12492 * libc/stdio/ungetc.c: Likewise.
12493 * libc/stdio/vfprintf.c: Likewise.
12495 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
12497 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
12498 support for 'p' format. Fix code to print bytes for vector
12499 integer formats that do not specify 'h' or 'l'.
12500 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
12501 for 'p' specifier. Fix code to scan 16 bytes for vector integer
12502 formats that do not specify 'h' or 'l'.
12504 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
12506 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
12508 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
12509 (_sbrk): Add cast of return value.
12511 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
12513 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
12514 (_REENT_L64A_BUF): New macro for accessing area.
12515 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
12516 * libc/stdlib/Makefile.in: Regenerated.
12517 * libc/stdlib/a64l.c: New file.
12518 * libc/stdlib/l64a.c: New file.
12520 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
12522 * libc/unix/pread.c: Fix typo for _pread_r.
12523 * libc/unix/pwrite.c: Fix type for _pwrite_r.
12524 * libc/sys/linux/pread64.c: Fix typo for read syscall.
12525 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
12527 2002-05-03 Christopher Faylor <cgf@redhat.com>
12529 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
12531 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
12533 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
12535 2002-05-01 Christopher Faylor <cgf@redhat.com>
12537 * utmp.h: Define more UNIX constants.
12539 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
12541 * Makefile.am: Add support for checking multilibs.
12543 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
12544 (SUBDEFS): Add LIBC_EXTRA_DEF.
12545 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
12546 (LIBC_EXTRA_DEF): Likewise.
12547 (extra_dir): Likewise.
12548 * libc/machine/xscale/machine: New directory.
12549 * libc/machine/xscale/machine/profile.h: New file.
12551 * Makefile.am (site.exp): Remove newlib_cflags. Add
12553 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
12554 * testsuite/lib/flags.exp: New file.
12555 * testsuite/lib/newlib.exp: Load flags.exp.
12556 (newlib_target_compile): Remove libgloss directory references.
12557 (newlib_init): Remove newlib_cflags references.
12559 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
12561 * testsuite/lib/newlib.exp (newlib_target_compile): Change
12562 method of finding libgloss_target_dir.
12564 * Makefile.am (site.exp): Change host_alias, host_triplet,
12565 target_alias, target_triplet to refer to gcc's host and target
12566 variables (newlib's build and host variables).
12567 * testsuite/lib/newlib.exp (newlib_init): Change build
12568 references to host references, host references to target
12569 references to reflect Makefile.am changes.
12570 (newlib_target_compile): Likewise.
12571 (newlib_finish): Likewise.
12573 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
12575 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
12577 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
12579 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
12580 (_system): New function. Ditto.
12581 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
12582 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
12585 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
12587 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
12588 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
12589 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
12590 * libc/sys/linux/Makefile.in: Regenerated.
12591 * libc/unix/Makefile.in: Ditto.
12592 * libc/sys/linux/pread64.c: New file.
12593 * libc/sys/linux/pwrite64.c: Ditto.
12594 * libc/unix/pread.c: Ditto.
12595 * libc/unix/pwrite.c: Ditto.
12597 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
12599 * libc/sys/linux/Makefile.am: Add io64.c.
12600 * libc/sys/linux/Makefile.in: Regenerated.
12601 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
12602 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
12603 * libc/sys/linux/io64.c: New file.
12605 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
12607 * configure.in (CC_FOR_NEWLIB): New variable that
12608 bases on $(CC) and adds targ-include and libc/include as
12609 -isystem directives if they are not already part of $(CC).
12610 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
12612 * configure: Regenerated.
12613 * Makefile.in: Ditto.
12615 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
12617 * libc/sys/linux/Makefile.am: Add support for sched.c.
12618 * libc/sys/linux/Makefile.in: Regenerated.
12619 * libc/sys/linux/sched.c: New file.
12620 * libc/sys/linux/sys/types.h: Add struct timespec.
12622 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
12624 * configure.in (CC_FOR_BUILD): Set to gcc whether
12625 cross-compiling or not.
12626 (CC): Add -isystem's for targ-include and libc/include when they
12627 do not already appear in CC.
12629 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
12631 * Makefile.am (check-DEJAGNU): New target.
12632 (site.exp): Likewise.
12633 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
12634 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
12635 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
12636 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
12637 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
12638 * testsuite: New directory.
12639 * testsuite/config: Likewise.
12640 * testsuite/lib: Likewise.
12641 * testsuite/newlib.locale: Likewise.
12642 * testsuite/newlib.string: Likewise.
12643 * testsuite/config/default.exp: New file.
12644 * testsuite/lib/checkoutput.exp: New file.
12645 * testsuite/lib/newlib.exp: New file.
12646 * testsuite/lib/passfail.exp: New file.
12647 * testsuite/newlib.locale/UTF-8.c: New file.
12648 * testsuite/newlib.locale/UTF-8.exp: New file.
12649 * testsuite/newlib.locale/locale.exp: New file.
12650 * testsuite/newlib.string/string.exp: New file.
12651 * testsuite/newlib.string/tstring.c: New file.
12653 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
12655 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
12656 * libc/sys/linux/Makefile.am: Add support for mmap.c.
12657 * libc/sys/linux/Makefile.in: Regenerated.
12658 * libc/sys/linux/mmap.c: New file.
12659 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
12660 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
12662 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
12664 * acinclude.m4 (newlib_cflags): Remove include directories that
12665 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
12667 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
12669 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
12670 * libc/machine/xscale/memcmp.c: Ditto.
12671 * libc/machine/xscale/memcpy.c: Ditto.
12672 * libc/machine/xscale/memmove.c: Ditto.
12673 * libc/machine/xscale/memset.c: Ditto.
12674 * libc/machine/xscale/strchr.c: Ditto.
12675 * libc/machine/xscale/strcmp.c: Ditto.
12676 * libc/machine/xscale/strcpy.c: Ditto.
12677 * libc/machine/xscale/strlen.c: Ditto.
12679 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
12681 * libc/include/sys/config.h: Remove include of <limits.h>.
12682 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
12683 define INT_MAX and LONG_MAX. Use them in tests.
12685 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
12687 * configure.host: Add support for powerpc-eabialtivec*.
12688 * libc/include/malloc.h: Add include of <machine/malloc.h>.
12689 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
12690 * libc/include/machine/malloc.h: New file.
12691 * libc/include/machine/stdlib.h: Ditto.
12692 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
12693 * libc/machine/powerpc/Makefile.am: Add conditional objects and
12694 sources based on configuration.
12695 * libc/machine/powerpc/Makefile.in: Regenerated.
12696 * libc/machine/powerpc/configure: Ditto.
12697 * libc/machine/powerpc/configure.in: Add check for
12698 powerpc-eabialtivec* in which case add in additional source files.
12699 * libc/machine/powerpc/setjmp.S: Add altivec support.
12700 * libc/machine/powerpc/vec_calloc.c: New file.
12701 * libc/machine/powerpc/vec_free.c: Ditto.
12702 * libc/machine/powerpc/vec_malloc.c: Ditto.
12703 * libc/machine/powerpc/vec_mallocr.c: Ditto.
12704 * libc/machine/powerpc/vec_realloc.c: Ditto.
12705 * libc/machine/powerpc/machine/malloc.h: Ditto.
12706 * libc/machine/powerpc/machine/stdlib.h: Ditto.
12707 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
12708 with added altivec format specifiers.
12709 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
12710 added altivec format specifiers.
12712 2002-04-19 Joel Sherrill <joel@OARcorp.com>
12714 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
12715 while autoconf is trying to link main(){}.
12717 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
12719 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
12720 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
12722 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
12724 * libc/time/time.tex: Add tzset info.
12726 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
12728 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
12729 (strptime): Moved prototype to be within !__STRICT_ANSI__.
12730 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
12731 (tzname): Defined for all platforms.
12732 (daylight, timezone): Defined only for CYGWIN.
12733 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
12734 environment set up.
12735 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
12736 environment variable is set.
12737 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
12739 * libc/time/Makefile.in: Regenerated.
12740 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
12741 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
12742 * libc/time/lcltime_r.c (lcltime_r): Ditto.
12743 * libc/time/local.h: New local header file.
12744 * libc/time/mktime.c (mktime): Add timezone support.
12745 * libc/time/mktm_r.c: New file which is the common engine
12746 for gmtime_r and lcltime_r. This code has timezone support.
12747 * libc/time/strftime.c (strftime): Add %Z timezone support.
12748 * libc/time/tzlock.c: New file containing timezone lock stubs.
12749 * libc/time/tzset.c: New file containing tzset() routine.
12750 * libc/time/tzset_r.c: New file containing _tzset_r and
12751 internal routine for calculating timezone changes for specified year.
12753 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
12755 * configure.in (CRT0_DIR): Set to libc/.
12756 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
12757 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
12758 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
12759 $(CRT1_DIR)/$(CRT1).
12760 * libc/machine/xstormy16/Makefile.in: Regenerated.
12761 * libc/machine/xstormy16/aclocal.m4: Regenerated.
12762 * libc/machine/xstormy16/configure: Regenerated.
12764 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
12766 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
12767 fails, don't bail out, and try to correct next time.
12769 * libc/include/sys/config.h: Include limits.h.
12771 2002-04-12 Eric Norum <eric.norum@usask.com>
12773 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
12774 routine to allow autoconf to determine that building executables
12776 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
12777 (rtems_gxx_mutex_once): Ditto.
12779 2002-04-09 Tom Rix <trix@redhat.com>
12781 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
12783 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
12785 * libc/include/time.h: Fix strptime declaration.
12786 * libc/time/Makefile.am: Add strptime.c.
12787 * libc/time/Makefile.in: Regenerated.
12788 * libc/time/strptime.c: New file.
12790 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
12792 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
12793 siglongjmp prototype, and sigsetjmp macro definition.
12794 * libc/sys/linux/siglongjmp.c: New file.
12795 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
12796 * libc/sys/linux/Makefile.in: Regenerated.
12798 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
12800 * Makefile.am: Add support for installing crt1.o if one exists.
12801 * configure.host: Specify crt1.o for linux.
12802 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
12803 * Makefile.in: Regenerated.
12804 * configure: Ditto.
12805 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
12806 Added for non-Cygwin, non-RTEMS configurations.
12807 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
12808 * libc/sys/linux/Makefile.in: Regenerated.
12809 * libc/sys/linux/crt1.c: New empty file to override one defaulted
12810 by gcc. This fixes problem with reconfiguring linux newlib build.
12811 * libc/sys/linux/sysconf.c: New file.
12813 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
12815 * configure.host: Add support for machine subdirectory of
12817 * configure.in: Add check for sys machine subdirectory.
12818 * Makefile.am: Ditto.
12819 * configure: Regenerated.
12820 * Makefile.in: Ditto.
12821 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
12822 * libc/sys/linux/sys/syscall.h: Ditto.
12823 * libc/sys/linux/sleep.c: New file.
12824 * libc/sys/linux/socket.c: Ditto.
12825 * libc/sys/linux/sockops.h: Ditto.
12826 * libc/sys/linux/stack.c: Ditto.
12827 * libc/sys/linux/usleep.c: Ditto.
12828 * libc/sys/linux/machine/Makefile.am: Ditto.
12829 * libc/sys/linux/machine/Makefile.in: Ditto.
12830 * libc/sys/linux/machine/aclocal.m4: Ditto.
12831 * libc/sys/linux/machine/configure: Ditto.
12832 * libc/sys/linux/machine/configure.in: Ditto.
12833 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
12834 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
12835 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
12836 * libc/sys/linux/machine/i386/configure: Ditto.
12837 * libc/sys/linux/machine/i386/configure.in: Ditto.
12838 * libc/sys/linux/machine/i386/crt0.c: Ditto.
12839 * libc/sys/linux/machine/i386/sigset.c: Ditto.
12840 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
12841 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
12842 * libc/sys/linux/machine/i386/syscall.h: Ditto.
12843 * libc/sys/linux/sys/select.h: Ditto.
12844 * libc/sys/linux/configure.in: Add support for machine directory.
12845 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
12846 * libc/sys/linux/Makefile.in: Regenerated.
12847 * libc/sys/linux/configure: Ditto.
12848 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
12849 * libc/sys/linux/inode.c: Ditto.
12850 * libc/sys/linux/linux.c: Ditto.
12851 * libc/sys/linux/process.c: Ditto.
12852 * libc/sys/linux/systat.c: Ditto.
12853 * libc/sys/linux/time.c: Ditto.
12854 * libc/sys/linux/wait.c: Ditto.
12855 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
12856 * libc/sys/linux/io.c: Change header plus add readv/writev.
12857 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
12858 use __sigsuspend syscall.
12859 * libc/sys/linux/select.c: Change header plus change select to
12860 use _newselect syscall.
12861 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
12862 used by glibc header files.
12863 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
12866 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
12868 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
12869 initializing a struct _reent that has been dynamically allocated.
12870 (_REENT_CHECK_MISC): New macro that checks _misc struct for
12871 _REENT_SMALL and does nothing otherwise.
12872 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
12873 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
12874 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
12875 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
12876 [_REENT_SMALL](struct _misc_reent): New structure containing
12877 miscellaneous reentrant areas needed by newlib.
12878 [_REENT_SMALL](struct _reent): Add _misc pointer.
12879 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
12880 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
12881 and _REENT_STRTOK_LAST macros.
12882 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
12883 and _REENT_MBLEN_STATE macros.
12884 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
12885 and _REENT_MBTOWC_STATE macros.
12886 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
12887 and _REENT_WCTOMB_STATE macros.
12889 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
12891 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
12893 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
12895 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
12897 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
12899 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
12900 Store high part of leading bytes too.
12902 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
12904 * libm/math/ef_hypot.c: Increase scale factor to 68.
12906 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
12908 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
12911 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
12913 * libc/sys/go32/access.c: Change license to relaxed license
12914 used in identical file throughout newlib/libgloss.
12916 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
12918 * libc/sys/arm/access.c: New file.
12919 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
12920 * libc/sys/arm/Makefile.in: Regenerate.
12921 * libc/sys/arm/syscalls.c (_stat): New function.
12923 2002-03-11 Michael Meissner <meissner@redhat.com>
12925 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
12926 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
12927 * libc/machine/mips/Makefile.in: Regenerate.
12928 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
12929 * libc/machine/mips/memset.c: Dito.
12930 * libc/machine/mips/strcmp.c: Dito.
12931 * libc/machine/mips/strlen.c: Dito.
12932 * libc/machine/mips/strncmp.c: Dito.
12934 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
12936 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
12937 object so it works for shared library or statici library.
12938 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
12940 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
12941 (strptime): Moved prototype to be within !__STRICT_ANSI__.
12942 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
12943 (tzname): Defined for all platforms.
12944 (daylight, timezone): Defined only for CYGWIN.
12945 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
12946 environment set up.
12947 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
12948 environment variable is set.
12949 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
12951 * libc/time/Makefile.in: Regenerated.
12952 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
12953 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
12954 * libc/time/lcltime_r.c (lcltime_r): Ditto.
12955 * libc/time/local.h: New local header file.
12956 * libc/time/mktime.c (mktime): Add timezone support.
12957 * libc/time/mktm_r.c: New file which is the common engine
12958 for gmtime_r and lcltime_r. This code has timezone support.
12959 * libc/time/strftime.c (strftime): Add %Z timezone support.
12960 * libc/time/tzlock.c: New file containing timezone lock stubs.
12961 * libc/time/tzset.c: New file containing tzset() routine.
12962 * libc/time/tzset_r.c: New file containing _tzset_r and
12963 internal routine for calculating timezone changes for specified year.
12965 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
12967 * configure.in (CRT0_DIR): Set to libc/.
12968 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
12969 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
12970 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
12971 $(CRT1_DIR)/$(CRT1).
12972 * libc/machine/xstormy16/Makefile.in: Regenerated.
12973 * libc/machine/xstormy16/aclocal.m4: Regenerated.
12974 * libc/machine/xstormy16/configure: Regenerated.
12976 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
12978 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
12979 fails, don't bail out, and try to correct next time.
12981 * libc/include/sys/config.h: Include limits.h.
12983 2002-04-12 Eric Norum <eric.norum@usask.com>
12985 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
12986 routine to allow autoconf to determine that building executables
12988 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
12989 (rtems_gxx_mutex_once): Ditto.
12991 2002-04-09 Tom Rix <trix@redhat.com>
12993 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
12995 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
12997 * libc/include/time.h: Fix strptime declaration.
12998 * libc/time/Makefile.am: Add strptime.c.
12999 * libc/time/Makefile.in: Regenerated.
13000 * libc/time/strptime.c: New file.
13002 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
13004 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
13005 siglongjmp prototype, and sigsetjmp macro definition.
13006 * libc/sys/linux/siglongjmp.c: New file.
13007 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
13008 * libc/sys/linux/Makefile.in: Regenerated.
13010 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
13012 * Makefile.am: Add support for installing crt1.o if one exists.
13013 * configure.host: Specify crt1.o for linux.
13014 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
13015 * Makefile.in: Regenerated.
13016 * configure: Ditto.
13017 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
13018 Added for non-Cygwin, non-RTEMS configurations.
13019 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
13020 * libc/sys/linux/Makefile.in: Regenerated.
13021 * libc/sys/linux/crt1.c: New empty file to override one defaulted
13022 by gcc. This fixes problem with reconfiguring linux newlib build.
13023 * libc/sys/linux/sysconf.c: New file.
13025 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
13027 * configure.host: Add support for machine subdirectory of
13029 * configure.in: Add check for sys machine subdirectory.
13030 * Makefile.am: Ditto.
13031 * configure: Regenerated.
13032 * Makefile.in: Ditto.
13033 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
13034 * libc/sys/linux/sys/syscall.h: Ditto.
13035 * libc/sys/linux/sleep.c: New file.
13036 * libc/sys/linux/socket.c: Ditto.
13037 * libc/sys/linux/sockops.h: Ditto.
13038 * libc/sys/linux/stack.c: Ditto.
13039 * libc/sys/linux/usleep.c: Ditto.
13040 * libc/sys/linux/machine/Makefile.am: Ditto.
13041 * libc/sys/linux/machine/Makefile.in: Ditto.
13042 * libc/sys/linux/machine/aclocal.m4: Ditto.
13043 * libc/sys/linux/machine/configure: Ditto.
13044 * libc/sys/linux/machine/configure.in: Ditto.
13045 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
13046 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
13047 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
13048 * libc/sys/linux/machine/i386/configure: Ditto.
13049 * libc/sys/linux/machine/i386/configure.in: Ditto.
13050 * libc/sys/linux/machine/i386/crt0.c: Ditto.
13051 * libc/sys/linux/machine/i386/sigset.c: Ditto.
13052 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
13053 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
13054 * libc/sys/linux/machine/i386/syscall.h: Ditto.
13055 * libc/sys/linux/sys/select.h: Ditto.
13056 * libc/sys/linux/configure.in: Add support for machine directory.
13057 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
13058 * libc/sys/linux/Makefile.in: Regenerated.
13059 * libc/sys/linux/configure: Ditto.
13060 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
13061 * libc/sys/linux/inode.c: Ditto.
13062 * libc/sys/linux/linux.c: Ditto.
13063 * libc/sys/linux/process.c: Ditto.
13064 * libc/sys/linux/systat.c: Ditto.
13065 * libc/sys/linux/time.c: Ditto.
13066 * libc/sys/linux/wait.c: Ditto.
13067 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
13068 * libc/sys/linux/io.c: Change header plus add readv/writev.
13069 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
13070 use __sigsuspend syscall.
13071 * libc/sys/linux/select.c: Change header plus change select to
13072 use _newselect syscall.
13073 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
13074 used by glibc header files.
13075 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
13078 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
13080 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
13081 initializing a struct _reent that has been dynamically allocated.
13082 (_REENT_CHECK_MISC): New macro that checks _misc struct for
13083 _REENT_SMALL and does nothing otherwise.
13084 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
13085 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
13086 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
13087 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
13088 [_REENT_SMALL](struct _misc_reent): New structure containing
13089 miscellaneous reentrant areas needed by newlib.
13090 [_REENT_SMALL](struct _reent): Add _misc pointer.
13091 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
13092 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
13093 and _REENT_STRTOK_LAST macros.
13094 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
13095 and _REENT_MBLEN_STATE macros.
13096 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
13097 and _REENT_MBTOWC_STATE macros.
13098 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
13099 and _REENT_WCTOMB_STATE macros.
13101 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
13103 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
13105 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
13107 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
13109 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
13111 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
13112 Store high part of leading bytes too.
13114 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
13116 * libm/math/ef_hypot.c: Increase scale factor to 68.
13118 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
13120 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
13123 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
13125 * libc/sys/go32/access.c: Change license to relaxed license
13126 used in identical file throughout newlib/libgloss.
13128 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
13130 * libc/sys/arm/access.c: New file.
13131 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
13132 * libc/sys/arm/Makefile.in: Regenerate.
13133 * libc/sys/arm/syscalls.c (_stat): New function.
13135 2002-03-11 Michael Meissner <meissner@redhat.com>
13137 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
13138 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
13139 * libc/machine/mips/Makefile.in: Regenerate.
13140 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
13141 * libc/machine/mips/memset.c: Dito.
13142 * libc/machine/mips/strcmp.c: Dito.
13143 * libc/machine/mips/strlen.c: Dito.
13144 * libc/machine/mips/strncmp.c: Dito.
13146 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
13148 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
13149 object so it works for shared library or statici library.
13150 * libc/machine/i386/Makefile.in: Regenerated.
13152 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
13154 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
13155 Add memcpy.S, memset.S and strcpy.S.
13156 * libc/machine/sh/Makefile.in: Regenerate.
13157 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
13158 (SHHI, SHLO): Define.
13159 * libc/machine/sh/memset.S: Add code for SH5.
13160 * libc/machine/sh/memset.S: Likewise.
13161 * libc/machine/sh/strcpy.S: Likewise.
13163 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
13165 * configure.host: Add check for --disable-newlib-io-float
13166 configuration option and add -DNO_FLOATING_POINT to newlib cflags
13168 * acinclude.m4: Added --disable-newlib-io-float option.
13169 * aclocal.m4: Regenerated.
13170 * configure: Ditto.
13171 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
13172 * libc/*/aclocal.m4 libc/*/configure
13173 * libm/*/aclocal.m4 libm/*/configure: Ditto.
13174 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
13175 if NO_FLOATING_POINT flag is not defined.
13177 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
13179 * libc/include/sys/config.h: Add __extension__ in front of
13180 long long references.
13182 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
13184 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
13187 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
13189 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
13192 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
13194 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
13195 clobbered registers.
13197 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
13199 * configure.host (newlib_cflags): When host is in m68* add
13202 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
13204 * libc/include/sys/config.h: Add definitions for
13205 __int16_t, __uint16_t, __int64_t, and __uint64_t.
13207 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
13209 * libc/sys/mmixware/link.c: New.
13210 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
13212 * libc/sys/mmixware/times.c (_times): Renamed from times.
13213 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
13214 properly by reading previous contents, not through BinaryReadWrite.
13215 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
13216 * libc/sys/mmixware/Makefile.in: Regenerate.
13218 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
13220 * libc/include/grp.h: Don't declare group functions when compiling
13223 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
13225 * libc/include/grp.h: Include Cygwin specific header.
13226 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
13227 when compiling for Cygwin.
13228 * libc/include/sys/types.h: Don't define off_t, uid_t
13229 and gid_t when compiling for Cygwin.
13231 2002-02-08 matthew green <mrg@redhat.com>
13233 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
13234 _REENT_EMERGENCY_SIZE, not sizeof(char *).
13236 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
13238 Contribute sh64-elf.
13239 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
13240 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
13242 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
13243 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
13245 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
13246 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
13247 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
13248 * libc/machine/sh/configure.in: Rework conditionals.
13249 * libc/machine/sh/Makefile.am: Likewise.
13250 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
13251 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
13252 * configure.host: Match `sh*'.
13253 * libc/include/machine/setjmp.h: Define for SH5.
13254 * libc/machine/sh/configure.in: Detect SH5.
13255 * libc/machine/sh/configure: Rebuilt.
13256 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
13257 * libc/machine/sh/Makefile.in: Rebuilt.
13258 * libc/machine/sh/asm.h: Adjust for SH5.
13259 * libc/machine/sh/setjmp.S: Implement in SHmedia.
13260 * libc/sys/sh/crt0.S: Likewise.
13261 * libc/sys/sh/trap.S: Likewise.
13263 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
13265 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
13266 (mach_add_obj): Conditionally set to setjmp.o or nothing.
13267 (LIB_SOURCES): Remove $(mach_add_src).
13268 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
13269 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
13270 * libc/machine/i386/Makefile.in: Regenerate.
13272 2002-02-05 Manik Raina <manik@cisco.com>
13274 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
13275 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
13276 s, p, k, and outstr.
13277 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
13279 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
13281 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
13282 _REENT_CHECK_EMERGENCY macro.
13284 2002-02-03 matthew green <mrg@redhat.com>
13286 * libc/reent/signgam.c (__signgam): Fix error in previous.
13288 2002-02-02 matthew green <mrg@redhat.com>
13290 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
13292 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
13293 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
13294 * libc/include/sys/reent.h (struct _reent): Completely new version
13296 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
13297 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
13298 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
13299 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
13300 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
13301 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
13302 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
13303 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
13304 (_REENT_EMERGENCY): Likewise.
13306 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
13307 the start of the real __sFILE, used for stdin, stdout and stderr until
13308 they are setup properly.
13309 (struct __sFILE): Move location of _data in _REENT_SMALL case.
13310 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
13311 allocated stdin, stdout and stderr.
13312 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
13313 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
13314 * libc/stdio/perror.c (_perror_r): Likewise.
13315 * libc/stdio/printf.c (printf, _printf_r): Likewise.
13316 * libc/stdio/putchar.c (_putchar_r): Likewise.
13317 * libc/stdio/puts.c (_puts_r): Likewise.
13318 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
13319 * libc/stdio/vprintf.c (vprintf): Likewise.
13320 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
13322 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
13324 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
13325 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
13327 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
13328 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
13330 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
13332 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
13333 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
13334 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
13335 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
13336 * libc/stdlib/rand48.c (__dorand48): Likewise.
13337 * libc/stdlib/seed48.c (_seed48_r): Likewise.
13338 * libc/stdlib/srand48.c (_srand48_r): Likewise.
13339 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
13340 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
13341 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
13342 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
13343 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
13344 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
13345 * libc/stdlib/rand.c (rand): Likewise.
13347 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
13348 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
13350 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
13351 _REENT_MP_FREELIST() and _REENT_MP_P5S.
13352 * libc/include/sys/reent.h (struct _mprec): New structure.
13354 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
13355 _unused_strtok_last.
13356 * libc/string/strtok.c (strtok): Use a local static variable.
13358 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
13359 (_REENT_EMERGENCY_SIZE): Likewise.
13360 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
13361 _REENT_ASCTIME_BUF().
13362 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
13365 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
13366 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
13367 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
13368 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
13369 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
13370 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
13372 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
13374 * configure.host (xstormy16): Don't use the generic malloc.
13375 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
13376 * libc/machine/xstormy16/Makefile.in: Regenerate.
13377 * libc/machine/xstormy16/mallocr.c: New file.
13378 * libc/machine/xstormy16/tiny-malloc.c: New file.
13380 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
13382 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
13383 when _CYGWIN_TYPES_H is not defined.
13385 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
13387 * libc/include/sys/signal.h: Revert 2002-01-23 change.
13389 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
13391 * libc/include/sys/signal.h: Remove pthread_kill declaration
13392 when __CYGWIN__ is defined.
13394 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
13396 * libc/include/time.h: Add prototype for strptime for Cygwin.
13398 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
13400 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
13401 dst was not word aligned.
13403 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
13404 if too much memory is requested.
13406 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
13408 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
13409 reads blanks from the input file to break if EOF reached
13410 rather than end processing.
13412 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
13414 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
13416 2002-01-07 Alan Matsuoka <alanm@redhat.com>
13418 * libc/include/machine/ieeefp.h: Configure d10v doubles to
13419 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
13420 libc/include/sys/config.h: Ditto.
13422 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
13424 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
13426 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
13427 Catherine Moore <clm@redhat.com>
13428 Richard Henderson <rth@redhat.com>
13429 Corinna Vinschen <vinschen@redhat.com>
13431 * configure.host: Add support for xstormy16.
13432 * libc/include/machine/ieeefp.h: Add support for xstormy16.
13433 * libc/include/machine/setjmp.h: Add support for xstormy16.
13434 * libc/include/sys/config.h: Add support for xstormy16.
13435 * libc/machine/xstormy16/Makefile.am: New file.
13436 * libc/machine/xstormy16/Makefile.in: New file.
13437 * libc/machine/xstormy16/aclocal.m4: New file.
13438 * libc/machine/xstormy16/configure: New file.
13439 * libc/machine/xstormy16/configure.in: New file.
13440 * libc/machine/xstormy16/setjmp.S: New file.
13442 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
13444 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
13445 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
13447 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
13449 * libm/machine/Makefile.am: Change rules to create correct lib.a.
13450 * libm/machine/Makefile.in: Regenerated through automake.
13452 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
13454 * Makefile.am (DOCDIR): Force to empty string when doc
13455 directory is not present.
13457 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
13459 * libc/machine/i386/f_*: Move to libm/machine/i386.
13461 2001-12-18 Joel Sherrill <joel@OARcorp.com>
13463 * libm/machine/Makefile.am: Add dummy doc stub so
13466 2001-12-17 Joel Sherrill <joel@OARcorp.com>
13468 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
13470 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
13472 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
13473 $(COMPILE) rather than $(CC).
13474 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
13475 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
13476 $(LIB_COMPILE) change.
13477 (vfiprintf.$(oext)): Likewise.
13479 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
13481 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
13482 conditionalized including of getopt stuff.
13484 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
13486 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
13488 (vfiprintf.$(oext)): Likewise.
13490 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
13492 * Makefile.shared: New file.
13493 * libc/sys/linux/shared.ld: New file.
13494 * libm/machine/*: New files.
13495 * libm/machine/i386/*: New files.
13496 * Makefile.am: Add libtool support. Change math and mathfp
13497 references to variables.
13498 * configure.host: Add variables for libtool support. Add
13499 libm_machine_dir variable.
13500 * configure.in: Add objectlist variables, for libtool
13501 support. Add CC_FOR_BUILD tests.
13502 * libc/Makefile.am: Add libtool support. Change crt0.o
13503 reference to be a variable reference.
13504 * libc/configure.in: Add libtool support. Change sublib
13505 names to be lib${subdir}.la when using libtool.
13506 * libc/ctype/Makefile.am: Add libtool support.
13507 * libc/errno/Makefile.am: Likewise.
13508 * libc/locale/Makefile.am: Likewise.
13509 * libc/machine/Makefile.am: Likewise.
13510 * libc/machine/configure.in: Likewise.
13511 * libc/machine/i386/Makefile.am: Likewise.
13512 * libc/machine/i386/configure.in: Likewise.
13513 * libc/misc/Makefile.am: Likewise.
13514 * libc/posix/Makefile.am: Likewise.
13515 * libc/reent/Makefile.am: Likewise.
13516 * libc/signal/Makefile.am: Likewise.
13517 * libc/stdio/Makefile.am: Likewise.
13518 * libc/stdlib/Makefile.am: Likewise.
13519 * libc/string/Makefile.am: Likewise.
13520 * libc/sys/Makefile.am: Likewise.
13521 * libc/sys/configure.in: Likewise.
13522 * libc/sys/linux/Makefile.am: Add libtool support. Change
13523 awk reference to a variable reference. Change signal.h
13524 reference to a variable reference.
13525 * libc/sys/linux/configure.in: Add libtool support.
13526 * libc/syscalls/Makefile.am: Likewise.
13527 * libc/time/Makefile.am: Likewise.
13528 * libc/unix/Makefile.am: Likewise.
13529 * libm/Makefile.am: Add libtool support. Change math and
13530 mathfp references to variables.
13531 * libm/configure.in: Add libtool support. Add
13532 LIBM_MACHINE_LIB variable.
13533 * libm/common/Makefile.am: Add libtool support.
13534 * libm/math/Makefile.am: Likewise.
13535 * libm/mathfp/Makefile.am: Likewise.
13536 Regenerate all Makefile.in, aclocal.m4, and configure.
13538 2001-12-13 Anita Kulkarni <anitak@kpit.com>
13540 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
13542 2001-12-06 John Peacock <jpeacock@rowman.com>
13544 * libc/include/sys/unistd.h: Correct ualarm declaration.
13546 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
13548 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
13549 vector before calling the initialisation functions.
13551 2001-11-29 Christopher Faylor <cgf@redhat.com>
13553 * libc/include/dirent.h: Protect against multiple inclusion.
13555 2001-11-27 Christopher Faylor <cgf@redhat.com>
13557 * libc/include/sys/types.h: Define useconds_t.
13558 * libc/include/sys/ulimit.h: Declare ualarm.
13560 2001-11-21 Christopher Faylor <cgf@redhat.com>
13562 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
13564 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
13566 * libc/sys/mmixware/*: Tweak license header in all source files.
13568 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
13570 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
13571 to here. Rearrange for general inclusion by stdlib.h.
13572 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
13574 * libc/sys/linux/include/alloca.h: Move to libc/include.
13576 2001-11-12 Anthony Green <green@redhat.com>
13578 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
13580 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
13582 * libc/sys/mmixware/*: Correct spacing in all source files.
13583 * libc/sys/mmixware/syscall.h: Move misplaced file...
13584 * libc/sys/mmixware/sys/syscall.h: ...here.
13586 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
13588 * libc/include/machine/ieeefp.h: Add support for mmix target.
13589 * libc/include/machine/setjmp.h: Ditto.
13590 * configure.host: Ditto.
13591 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
13592 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
13593 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
13594 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
13595 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
13596 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
13597 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
13598 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
13599 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
13600 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
13601 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
13602 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
13603 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
13604 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
13605 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
13606 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
13607 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
13608 libc/sys/mmixware/aclocal.m4: Generate.
13610 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
13612 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
13613 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
13614 when __CYGWIN__ is defined.
13615 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
13618 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
13620 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
13621 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
13622 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
13623 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
13625 2001-10-24 Christopher Faylor <cgf@redhat.com>
13627 * libc/stdio/fseek.c: Reset pointer to buffer base
13628 when forced to seek outside of current buffer contents.
13629 This prevents the code from erroneously thinking there is
13630 anything in the current buffer.
13632 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
13634 * libc/include/math.h: The C++ standard adds the single-precision
13635 versions of the elementary functions.
13637 2001-10-22 Christopher Faylor <cgf@redhat.com>
13639 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
13641 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
13642 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
13643 * system.c (_system_r): Ditto.
13645 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
13647 * libc/include/sys/unistd.h: Add prototype for fchdir() when
13648 __CYGWIN__ or __rtems__ is defined.
13650 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
13652 * libc/include/stdlib.h: add declarations for
13653 _strtoull_r, _strtoll_r, strtoull, and strtoll.
13654 * libc/stdio/local.h: remove declarations of
13655 __strtoull_r and __strtoll_r.
13656 * libc/stdio/vfscanf.c(__svfscanf_r): call
13657 _strtoull_r instead of __strtoull_r. Ditto
13658 _strtoll_r vs. __strtoll_r.
13659 * libc/stdlib/Makefile.am: add new files to
13660 .c list and .def list
13661 * libc/stdlib/Makefile.in: regenerate
13662 * libc/stdlib/strtoll_r.c: rename __strtoll_r
13664 * libc/stdlib/strtoull_r.c: rename __strtoull_r
13666 * libc/stdlib/strtoull.c: new file
13667 * libc/stdlib/strtoll.c: new file
13669 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
13671 * libc/include/process.h: Add getpid() declaration.
13673 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
13675 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
13676 for new style arm/elf ctor/dtor handling.
13677 Minor formatting tidy up.
13679 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
13681 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
13683 * libc/stdlib/Makefile.in: Regenerated.
13684 * libc/stdlib/strtoll_r.c: New file.
13685 * libc/stdlib/strtoull_r.c: New file.
13686 * libc/stdio/local.h: Add prototypes for long long string
13687 conversion routines.
13688 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
13689 tied to %L integer conversion specifier.
13691 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
13693 * strftime.c (strftime): Fix "%W" implementation to properly handle
13696 2001-09-07 Jeff Law <law@redhat.com>
13698 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
13699 __fini with "mov.l" instead of "mov.w".
13701 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
13703 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
13706 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
13708 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
13710 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
13712 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
13714 (__DIRENT_VERSION): New define.
13716 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
13718 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
13719 Shrink __d_reserved accordingly to keep structure size.
13720 (dirfd): Declare external.
13722 2001-08-29 Joel Sherrill <joel@OARcorp.com>
13724 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
13726 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
13728 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
13729 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
13730 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
13731 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
13732 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
13733 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
13734 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
13735 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
13736 Add conditional compilation to avoid HW FPU instructions
13737 when compiled for soft-float.
13739 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
13741 * Makefile.am: Add check for ln failing when creating libg.a
13742 so that cp gets used as a backup.
13743 * Makefile.in: Regenerated.
13745 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
13747 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
13748 No longer include time.h. Add struct __tm to use for
13749 _localtime_buf in the reentrant structure. Add a
13750 _NULL definition to use in initializing the reentrant struct.
13751 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
13752 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
13754 * libc/include/sys/unistd.h: Include <sys/_types.h>.
13755 * libc/time/lcltime.c (localtime): Cast the reentrant struct
13756 _localtime_buf to be struct tm *.
13758 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
13760 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
13761 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
13763 * libc/sys/h8300hms/syscalls.c: Include errno.h.
13764 (_unlink): New stub function.
13766 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
13768 * libc/include/sys/errno.h: Add a cautionary comment.
13770 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
13772 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
13773 for SIZE_SZ so that alignment ends up a minimum of 8.
13775 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
13777 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
13780 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
13783 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
13785 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
13786 macro constants for mallopt options.
13787 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
13789 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
13791 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
13794 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
13796 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
13798 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
13800 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
13801 Define for little endian ARMs.
13803 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
13804 __IEEE_BYTES_LITTLE_ENDIAN is defined.
13806 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
13808 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
13810 2001-06-11 Egor Duda <deo@logos-m.ru>
13812 * libc/ctype/ctype_.c: When compiled with gcc on platforms
13813 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
13814 initialized memory region. Platform can define COMPACT_CTYPE
13815 to avoid allocation of the additional 128 bytes of data.
13816 Add pointer to _ctype_ array. Always initialize all _ctype_
13819 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
13821 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
13824 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
13826 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
13828 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
13830 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
13831 matching, non-word alignment, and the length is <= 4 but more than
13832 enough to move them over a word boundary.
13833 Add comments explaining what each instruction does.
13835 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
13837 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
13838 * libc/include/sys/unistd.h: Ditto.
13840 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
13842 * libc/string/strrchr.c: Use strchr for the speed improvements.
13844 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
13846 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
13847 real file systems, let __smakebuf() determine if line buffering
13848 should be used for stdout.
13850 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
13852 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
13854 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
13856 * libc/include/stdlib.h: Add prototype for _strtod_r.
13858 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
13860 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
13861 * libc/stdio/vprintf.c (_vprintf_r): new function
13862 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
13863 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
13864 _DEFUN, and call _vfprintf_r, not vfprintf.
13865 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
13866 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
13867 _DEFUN, and call _vfprintf_r, not vfprintf.
13869 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
13871 * libc/include/sys/unistd.h [X_OK]: Use better protection against
13872 Cygwin X_OK definitions in sys/file.h.
13874 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
13876 * libc/include/sys/time.h: Define timercmp and other macros for
13879 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
13881 * acinclude.m4: Added --enable-malloc-debugging configure flag.
13882 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
13883 --enable-malloc-debugging selected.
13884 * aclocal.m4 configure: Regenerated.
13885 libm/aclocal.m4 libm/configure: Ditto.
13886 * libc/aclocal.m4 libc/configure: Ditto.
13887 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
13888 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
13889 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
13890 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
13891 * doc/aclocal.m4 doc/configure: Ditto.
13893 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
13895 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
13897 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
13898 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
13899 function prototypes.
13900 (_fscanf_r, _sscanf_r): Ditto.
13901 * libc/include/stdlib.h: Added _strtod_r prototype.
13902 * libc/stdio/Makefile.am: Add new v*scanf functions.
13903 * libc/stdio/Makefile.in: Regenerate.
13904 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
13905 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
13906 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
13907 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
13908 (sscanf): Changed to call __svfscanf_r with _REENT argument.
13909 (_sscanf_r): New routine.
13910 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
13911 with __svfscanf_r prototype.
13912 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
13914 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
13915 structure as argument as calls reentrant versions of helper functions
13916 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
13917 to _strtol_r and _strtod_r respectively.
13918 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
13919 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
13921 * libc/stdio/vscanf.c: New file.
13922 * libc/stdio/vsscanf.c: Ditto.
13924 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
13926 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
13927 Define daylight to _daylight if it is not defined
13928 Prepare a variable export of timezone based on timezonevariable.
13929 (Cannot be used with the timezone() function.)
13931 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
13933 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
13934 Correct the numerical values.
13936 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
13938 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
13940 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
13942 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
13943 on case insensitve file systems.
13945 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
13947 * libc/include/sys/features.h: Add appropriate defines for Cygwin
13949 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
13950 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
13951 types. Include <cygwin/types.h> for the cygwin specific typedefs.
13953 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
13955 * libc/include/machine/ieeefp.h: Comment about new configuration
13956 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
13957 * libm/common/fdlib.h: Define new macros for testing floats.
13958 * libm/common/sf_*: Use them.
13959 * libm/math/ef_*: Likewise.
13960 * libm/math/sf_*: Likewise.
13962 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
13964 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
13965 prolog to by-pass possible assembler error.
13967 2001-03-21 Egor Duda <deo@logos-m.ru>
13969 Allow building internal stubs for non-reentrant syscalls
13970 if target provides its own malloc
13971 * libc/reent/reent.c (errno): Move definition here.
13972 * libc/reent/sbrkr.c: From here.
13974 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
13976 * libc/include/sys/types.h (BSD int typedefs): Guard with
13977 _BSDTYPES_DEFINED rather than _WINSOCK_H.
13978 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
13980 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
13981 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
13983 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
13985 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
13986 _PC_POSIX_SECURITY constants for Cygwin.
13988 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
13990 * libc/sys/cygwin/crt0.c: Add copyright hint.
13991 * libc/sys/cygwin/sys/dirent.h: Ditto.
13992 * libc/sys/cygwin/sys/param.h: Ditto.
13993 * libc/sys/cygwin/sys/utime.h: Ditto.
13994 * libc/sys/cygwin/sys/utmp.h: Ditto.
13996 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
13998 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
13999 equivalent to LONGINT.
14001 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
14003 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
14004 jmpbuf on MIPS64 targets.
14005 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
14007 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
14009 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
14012 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
14014 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
14015 For RTEMS, define to be ssize_t. Default to int if not defined.
14016 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
14017 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
14018 * libc/stdio/local.h (__sread, __swrite): Likewise.
14019 * libc/include/sys/reent.h (_read, _write): Likewise.
14020 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
14021 * libc/syscalls/sysread.c (read): Likewise.
14022 * libc/syscalls/syswrite.c (write): Likewise.
14024 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
14026 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
14028 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
14030 * libc/include/sys/stat.h: Use special defines for executable stat bits
14031 when compiling for Cygwin.
14032 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
14035 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
14037 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
14038 of strtok_r is always defined.
14040 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
14042 * libc/include/machine/ansi.h: New dummy header file.
14044 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
14046 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
14047 changed the copyright information to allow free modification of the
14048 file with no reference to "copying.dj".
14049 * libc/include/sys/stat-dj.h: Ditto.
14050 * libc/machine/i386/setjmp.S: Ditto.
14051 * libc/sys/h8300hms/sys/file.h: Ditto.
14052 * libc/sys/sysmec/access.c: Ditto.
14053 * libc/sys/sysnecv850/access.c: Ditto.
14054 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
14055 * libc/stdlib/getenv_r.c: Ditto.
14056 * libc/stdlib/putenv_r.c: Ditto.
14057 * libc/stdlib/setenv_r.c: Ditto.
14058 * libc/stdlib/getenv.c: Removed DJ reference since any possible
14059 modifications will now be in the _r version of this file.
14060 * libc/stdlib/putenv.c: Ditto.
14061 * libc/stdlib/setenv.c: Ditto.
14062 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
14063 valid. Added a reference to DJ's web page that contains his address.
14064 * libc/sys/go32/*.s: Removed references to DJ's old address.
14065 * libc/sys/go32/*.c: Ditto.
14066 * libc/sys/go32/*.h: Ditto.
14067 * libc/sys/go32/*.S: Ditto.
14068 * libc/sys/go32/sys/*.h: Ditto.
14070 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
14072 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
14073 HAVE_FCNTL flag check.
14074 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
14075 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
14077 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
14079 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
14081 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
14083 * libc/include/stdlib.h: Add declarations of rand48 functions and
14084 their reentrant versions.
14085 * libc/include/sys/reent.h: Move macros from rand48.h. Add
14086 struct _rand48 for shared parameters of rand48 functions.
14087 (struct _reent): Add a variable _r48 of struct _rand48.
14088 (_REENT_INIT): Add _r48 initialization.
14089 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
14090 (CHEWOUT_FILES): Add rand48.def.
14091 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
14092 * libc/stdlib/Makefile.in: Regenerated.
14093 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
14095 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
14096 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
14097 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
14098 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
14099 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
14100 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
14101 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
14102 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
14103 * libc/stdlib/rand48.c (__dorand48): Ditto.
14104 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
14105 parameters into macros referring them in the reentrant structure.
14107 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
14109 * libc/include/sys/stat.h: Add mknod for Cygwin now that
14110 Cygwin definition has correct prototype.
14112 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
14114 * libc/include/sys/stat.h: Must revert change for mknod
14115 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
14118 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
14120 * libc/include/stdio.h: Revert putw prototype.
14122 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
14124 * libc/include/grp.h: add prototype for initgroups.
14125 * libc/include/stdio.h: fix prototype for putw.
14126 * libc/include/sys/signal.h: add prototype for killpg.
14127 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
14128 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
14129 vhangup and remove duplicate sysconf prototype.
14131 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
14133 * libc/sys/rtems/sys/types.h: Removed.
14135 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
14137 * libc/include/locale.h: add LC_MESSAGES definition
14139 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
14141 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
14143 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
14144 __setup_argv_and_call_main): New.
14146 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
14148 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
14150 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
14151 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
14152 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
14153 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
14155 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
14157 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
14158 compiling under Cygwin.
14160 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
14162 * libc/include/math.h (signgam): Change to errno-like solution
14163 using a function to return the address of the real signgam.
14164 * libc/reent/signgam.c: New file containing __signgam().
14165 * libc/reent/Makefile.am: Added signgam.c to list of files.
14166 * libc/reent/Makefile.in: Regenerated.
14168 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
14170 * libc/sys/sh/syscalls.c (_times): New.
14172 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
14173 * libc/sys/sh/syscalls.c (_gettimeofday): New.
14175 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
14177 * libc/include/math.h (signgam): Regress previous fix as
14178 it does not handle programs with extern int signgam in them.
14180 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
14182 * libc/include/math.h (signgam): Changed to a macro refering to
14183 its location in the reentrant structure.
14185 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
14187 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
14188 that suppressed . for %.0f, 0.1. Check now looks if there
14189 are padding zeroes (expt) in addition to any digits (ndig) to
14192 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
14194 * libc/sys/arc/Makefile.am: New file.
14195 * libc/sys/arc/Makefile.in: Ditto.
14196 * libc/sys/arc/aclocal.m4: Ditto.
14197 * libc/sys/arc/configure: Ditto.
14198 * libc/sys/arc/configure.in: Ditto.
14199 * libc/sys/arc/crt0.S: Ditto.
14200 * libc/sys/arc/isatty.c: Ditto.
14201 * libc/sys/arc/mem-layout.c: Ditto.
14202 * libc/sys/arc/sbrk.c: Ditto.
14203 * libc/sys/arc/syscalls.c: Ditto.
14204 * libc/sys/arc/sys/syscall.h: Ditto.
14206 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
14208 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
14210 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
14212 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
14214 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
14216 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
14218 2001-01-09 Nick Clifton <nickc@redhat.com>
14220 * configure.host (v859): Remove unsupported compiler options.
14222 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
14224 * src/newlib/configure.host (*-*-rtems*): add printf long long
14227 2000-12-19 Graham Stott <grahams@redhat.com>
14229 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
14231 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
14233 * configure.host: Turn on long double I/O for Cygwin.
14235 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
14237 * MAINTAINERS: Removed Ranjith.
14238 * NEWS: Updated for 1.9.0.
14240 * acinclude.m4: Updated to release 1.9.0.
14241 * aclocal.m4 configure
14242 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
14243 libc/machine/aclocal.m4 libc/machine/configure
14244 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
14245 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
14246 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
14247 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
14248 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
14249 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
14250 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
14251 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
14252 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
14253 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
14254 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
14255 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
14256 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
14257 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
14258 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
14259 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
14260 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
14261 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
14262 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
14263 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
14264 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
14265 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
14266 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
14267 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
14268 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
14269 libc/sys/aclocal.m4 libc/sys/configure
14270 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
14271 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
14272 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
14273 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
14274 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
14275 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
14276 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
14277 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
14278 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
14279 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
14280 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
14281 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
14282 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
14283 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
14284 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
14285 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
14286 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
14287 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
14288 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
14289 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
14290 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
14291 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
14292 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
14293 libm/aclocal.m4 libm/configure: Regenerated.
14295 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
14297 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
14298 when __CYGWIN__ is defined.
14300 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
14302 * libc/stdlib/ldtoa.c (_ldcheck): New routine
14303 that categorizes a long double as NaN, Infinity, or other.
14304 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
14305 isinfl and isnanl static routines which were i386-specific. Changed
14306 calls to the two removed routines to a single _ldcheck call.
14307 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
14309 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
14311 * Makefile.am: Fixed install-data-local target to use
14312 $(mkinstalldirs) for the installed header files to ensure
14313 the directories exist before copying.
14314 * Makefile.in: Regenerated.
14316 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
14318 * libc/include/sys/unistd.h: Restored Cygwin _SC
14319 constants and moved new constants appropriately
14320 so Cygwin will build.
14322 2000-12-11 Joel Sherrill <joel@OARcorp.com>
14324 * Merge RTEMS specific .h files into main libc/include.
14325 * libc/sys/rtems/include/signal.h: Removed.
14326 * libc/sys/rtems/include/time.h: Removed.
14327 * libc/sys/rtems/sys/features.h: Removed.
14328 * libc/sys/rtems/sys/sched.h: Removed.
14329 * libc/sys/rtems/sys/siginfo.h: Removed.
14330 * libc/sys/rtems/sys/signal.h: Removed.
14331 * libc/sys/rtems/sys/time.h: Removed.
14332 * libc/sys/rtems/sys/times.h: Removed.
14333 definitions for time_t and clock_t since these are
14334 no longer in time.h.
14335 * libc/include/pthread.h: New file.
14336 * libc/include/sys/sched.h: New file.
14337 * libc/include/sys/features.h: New file.
14338 * libc/include/time.h: Removed duplicate definition of clock_t
14339 and time_t, get them from <sys/types.h> instead. Add prototypes
14340 for POSIX clock and timer functionality.
14341 * libc/sys/linux/sys/types.h: Changed to include
14342 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
14343 * libc/include/sys/signal.h: Add more complete set of POSIX
14344 signal functionality including real-time and threaded signals.
14345 * libc/include/sys/types.h: Add clock_t, time_t, struct
14346 timespec, and struct itimerspec. Centralizing these makes
14347 things cleaner. RTEMS uses 64-bit dev_t.
14348 Added numerous primitive definitions
14349 for pthreads including macros, pthread_attr_t,
14350 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
14351 pthread_once_t, and pthread_t.
14352 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
14353 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
14354 Feature flags removed and moved to new file <sys/features.h>.
14355 Full set of POSIX sysconf() constants
14357 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
14359 * configure.host: Added x86 linux target.
14360 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
14361 definitions provided if not already defined.
14362 * libc/sys/linux/crt0.c: New file.
14363 * libc/sys/linux/Makefile.am: Ditto.
14364 * libc/sys/linux/Makefile.in: Ditto.
14365 * libc/sys/linux/aclocal.m4: Ditto.
14366 * libc/sys/linux/brk.c: Ditto.
14367 * libc/sys/linux/configure: Ditto.
14368 * libc/sys/linux/configure.in: Ditto.
14369 * libc/sys/linux/getoptlong.c: Ditto.
14370 * libc/sys/linux/ids.c: Ditto.
14371 * libc/sys/linux/inode.c: Ditto.
14372 * libc/sys/linux/io.c: Ditto.
14373 * libc/sys/linux/linux.c: Ditto.
14374 * libc/sys/linux/process.c: Ditto.
14375 * libc/sys/linux/realpath.c: Ditto.
14376 * libc/sys/linux/select.c: Ditto.
14377 * libc/sys/linux/signal.c: Ditto.
14378 * libc/sys/linux/systat.c: Ditto.
14379 * libc/sys/linux/termios.c: Ditto.
14380 * libc/sys/linux/time.c: Ditto.
14381 * libc/sys/linux/wait.c: Ditto.
14382 * libc/sys/linux/include/alloca.h: Ditto.
14383 * libc/sys/linux/include/getopt.h: Ditto.
14384 * libc/sys/linux/include/stdint.h: Ditto.
14385 * libc/sys/linux/include/unistd.h: Ditto.
14386 * libc/sys/linux/sys/cdefs.h: Ditto.
14387 * libc/sys/linux/sys/dirent.h: Ditto.
14388 * libc/sys/linux/sys/errno.h: Ditto.
14389 * libc/sys/linux/sys/fcntl.h: Ditto.
14390 * libc/sys/linux/sys/file.h: Ditto.
14391 * libc/sys/linux/sys/ioctl.h: Ditto.
14392 * libc/sys/linux/sys/resource.h: Ditto.
14393 * libc/sys/linux/sys/signal.h: Ditto.
14394 * libc/sys/linux/sys/stat.h: Ditto.
14395 * libc/sys/linux/sys/syscall.h: Ditto.
14396 * libc/sys/linux/sys/termios.h: Ditto.
14397 * libc/sys/linux/sys/time.h: Ditto.
14398 * libc/sys/linux/sys/types.h: Ditto.
14399 * libc/sys/linux/sys/utmp.h: Ditto.
14400 * libc/sys/linux/sys/utsname.h: Ditto.
14401 * libc/sys/linux/sys/wait.h: Ditto.
14403 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
14405 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
14406 can be a relative path to $(top_srcdir)/install.sh so ensure the
14407 autoconf detected settings are properly passed recursively.
14408 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
14409 properly to subdirectories.
14410 * Makefile.in: Regenerated.
14412 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
14414 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
14415 a floating point register unless really printing a floating
14418 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
14420 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
14422 (asctoeg): Replaced alloca call with stack array and malloc
14423 when storage exceeds reasonable limit.
14424 (e53toe): Fixed einfin calls missing ldp parameter.
14425 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
14427 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
14430 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
14432 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
14434 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
14435 * libc/stdlib/Makefile.in: Regenerated.
14436 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
14437 * libc/stdio/vfieeefp.h: Added long double bit structures.
14438 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
14439 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
14440 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
14441 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
14442 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
14443 _strtold routines used for conversions between character
14446 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
14448 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
14450 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14452 * libc/include/machine/time.h: RTEMS systems can configure clock
14453 tick rate so use sysconf() to ask.
14455 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14457 * libc/include/sys/times.h: Add reference to POSIX standard.
14459 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14461 * libc/include/sys/time.h: Added BSD timer manipulation macros
14462 used by RTEMS code.
14464 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14466 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
14467 referenced by code generated by gcc 2.8.1.
14468 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
14471 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14473 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
14475 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14477 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
14479 2000-12-04 Joel Sherrill <joel@OARcorp.com>
14481 * configure.host (or16, or32): New entries for OpenCores
14483 (*-*-rtems*): Add -DNO_EXEC.
14485 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
14487 * libc/include/sys/errno.h: Added comments on many error numbers.
14488 * libc/string/strerror.c: Added some more strings.
14490 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
14492 * libc/sys/sh/syscalls.c (_link): New stub.
14494 2000-11-29 Nick Clifton <nickc@redhat.com>
14496 * configure.host: Add xscale target.
14497 * libc/machine/xscale: New directory.
14498 * libc/machine/xscale/Makefile.am: New file.
14499 * libc/machine/xscale/Makefile.in: New file.
14500 * libc/machine/xscale/aclocal.m4: New file.
14501 * libc/machine/xscale/configure: New file.
14502 * libc/machine/xscale/configure.in: New file.
14503 * libc/machine/xscale/memchr.S: New file.
14504 * libc/machine/xscale/memcmp.S: New file.
14505 * libc/machine/xscale/memcpy.S: New file.
14506 * libc/machine/xscale/memmove.S: New file.
14507 * libc/machine/xscale/memset.S: New file.
14508 * libc/machine/xscale/strchr.S: New file.
14509 * libc/machine/xscale/strcmp.S: New file.
14510 * libc/machine/xscale/strcpy.S: New file.
14511 * libc/machine/xscale/strlen.S: New file.
14513 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
14515 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
14516 avoid compiler warnings.
14518 2000-11-22 Michael Meissner <meissner@redhat.com>
14520 * libc/posix/execl.c (execl): Don't reference environ directly,
14521 reference it only via a static pointer to avoid problems with some
14522 shared library systems and with different uses of small data where
14523 the user specifies his own version of environ.
14524 * libc/posix/execv.c (execv): Ditto.
14525 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
14526 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
14527 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
14529 * libc/stdlib/getenv.c (environ): Delete unused reference to
14532 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
14534 * libc/stdlib/system.c: Ditto.
14536 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
14538 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
14539 including windows headers.
14541 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
14543 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
14544 * libc/include/dirent.h: Added definition of MAXNAMLEN if
14545 not defined by sys/dirent.h.
14546 * libc/posix/execvp.c: Added include of dirent.h to get
14547 MAXNAMLEN value which used to be in unistd.h.
14549 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
14551 * libc/include/sys/types.h: Change type of i to `size_t' in
14552 FD_ZERO macro to avoid compiler warnings.
14554 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
14556 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
14557 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
14559 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
14561 * libc/include/sys/unistd.h: Add defines for sysconf values
14562 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
14565 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
14567 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
14568 declarations for __CYGWIN__.
14570 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
14572 * libc/signal/signal.c (__sigtramp_r): ISO C requires
14573 case labels to be integral constant expressions, so
14574 use an if/else tree instead.
14575 (_raise_r): Likewise.
14577 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
14579 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
14580 clipping patch from e-mail reader.
14582 2000-09-13 Will Cohen <wcohen@redhat.com>
14584 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
14585 Added return value 0.
14586 (_longjmp): Allow longjmp to return value of second argument
14589 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
14591 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
14592 inline code to prevent having to include another header file.
14594 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
14596 * Makefile.am: Fix space vs. tab problem in install-data-local.
14597 * Makefile.in: Regenerate.
14599 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
14601 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
14602 (_EXPARM): New macro for defining a function parameter.
14603 * libc/include/stdlib.h: Use _EXPARM.
14604 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
14606 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
14608 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
14609 required, as documented in the gnu coding standards.
14610 * Makefile.in: Regenerate.
14612 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
14614 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
14615 make O_NDELAY and O_NONBLOCK have the same value.
14617 2000-08-30 Kazu Hirata <kazu@hxi.com>
14619 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
14621 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
14623 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
14624 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
14625 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
14628 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
14630 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
14631 * libc/include/string.h: Don't include <sys/types.h>,
14632 as it causes really bad namespace pollution. Don't declare
14633 swab(), it is properly declared in unistd.h.
14635 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
14637 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
14638 (broken) support for non-existent /etc/passwd field "comment".
14640 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
14642 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
14643 only if _DIRENT_HAVE_D_NAMLEN is defined.
14644 (alphasort): aligned prototype with
14645 libc/sys/cygwin/sys/dirent.h and simplified function body.
14646 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
14647 long telldir (DIR *) as mentioned in annex B of POSIX.1
14649 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
14651 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
14652 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
14653 Added __CLI and __STI macros (controlled via
14654 _I386MACH_ALLOW_HW_INTERRUPTS macro).
14655 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
14656 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
14657 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
14658 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
14659 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
14660 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
14661 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
14662 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
14663 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
14664 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
14665 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
14666 for all global entry points.
14667 * libc/machine/i386/setjmp.S: removed code replicated in
14668 libc/machine/i386/i386mach.h and included i386mach.h instead;
14669 Use __CLI and __STI instead of cli and sti.
14671 2000-08-25 DJ Delorie <dj@redhat.com>
14673 * libc/include/sys/unistd.h (environ): this one isn't from the
14676 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
14678 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
14679 environ when compiling under cygwin since it is already declared in
14682 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
14684 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
14685 like x << y-z to the equivalent x << (y-z).
14686 (d2b): changed if statements with assignment to perform the
14687 assignment prior to the if check.
14688 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
14689 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
14690 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
14691 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
14693 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
14694 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
14696 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
14698 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
14699 clarify && and || precendence (and to remove pascalism).
14700 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
14701 * libm/math/s_infconst.c: added another pair of braces to all
14702 initializers for __infinity (need three: for __infinity[1] array,
14703 for union __dmath, and for i[2]).
14705 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
14707 * libc/stdlib/abort.c: changed description: uses "raise" instead of
14708 "getpid" and "kill"; added: uses "write" and "_exit".
14709 Also included unistd.h for "_exit" prototype.
14710 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
14711 reent.h for "_fork_r" and "_wait_r" prototypes.
14712 (do_system): changed extern char *environ[] to POSIX-friendly
14713 extern char **environ.
14714 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
14716 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
14717 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
14718 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
14719 * libc/reent/openr.c: included fcntl.h for "open" prototype.
14720 * libc/reent/signalr.c: included signal.h for "kill" prototype,
14721 unistd.h for "getpid" prototype.
14722 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
14723 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
14724 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
14725 prototype. Also included stdlib.h for "abort", string.h for
14726 "strdup" and "strncmp" prototypes.
14727 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
14728 "strncpy", unistd.h for "read" and "close" prototypes.
14729 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
14730 "strcat" prototypes.
14732 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
14734 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
14735 used later (ifdef __SCLE)
14736 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
14737 used later (ifdef MB_CAPABLE)
14738 * libc/string/memset.c (memset): removed unused variables "count"
14739 and "unaligned_addr"
14740 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
14741 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
14742 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
14745 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
14747 * libc/stdlib/envlock.c: changed documented "__env_lock" and
14748 "__env_unlock" prototype from "void *" or "char *" to
14749 "struct _reent *" to match real function. Also added include
14751 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
14752 "__malloc_unlock" prototype from "void *" or "char *" to
14753 "struct _reent *" to match real function.
14754 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
14755 prototypes (for getenv_r.c and setenv_r.c).
14757 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
14759 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
14760 and prototype in cygwin's utmp.h
14762 2000-08-16 Eric Fifer <efifer@sanwaint.com>
14764 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
14766 2000-08-09 Nick Clifton <nickc@cygnus.com>
14768 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
14769 epilogue and to allow the functions to be used in a Thumb based
14772 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
14774 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
14775 so size of 0 results in nothing being written to string.
14776 Also fixed code so that when size is non-zero, there is only
14777 a maximum of size - 1 characters written to the array and
14778 a nul terminator is appended at the end.
14779 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
14781 2000-08-01 DJ Delorie <dj@redhat.com>
14783 * libc/include/sys/config.h: define __IMPORT appropriately
14784 * libc/include/ctype.h (_ctype_): use __IMPORT
14785 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
14786 * libc/include/math.h (__mb_cur_max): ditto
14787 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
14788 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
14789 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
14790 * libc/include/unistd.h (environ): ditto
14792 2000-07-28 Michael Meissner <meissner@redhat.com>
14794 * libc/include/math.h (__infinity): Declare as an array without
14795 bounds to get around small data support. Rewrite Cygwin support
14796 to be more general.
14797 * libm/math/s_infconst.c (__infinity): Ditto.
14798 * libm/mathfp/s_infconst.c (__infinity): Ditto.
14800 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
14802 * libc/include/math.h: Use appropriate dll import linkage for
14803 __infinity under Cygwin.
14805 2000-07-13 DJ Delorie <dj@cygnus.com>
14807 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
14809 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
14811 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
14812 to argument list for AngelSWI_Reason_GetCmdLine.
14814 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
14816 * configure.host: Add support for AVR target.
14817 * libc/include/machine/ieeefp.h: Likewise.
14818 * libc/include/sys/config.h: Likewise.
14820 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
14822 * README: Newlib 1.8.2 must be built in a separate directory
14825 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
14827 * libc/include/sys/reent.h (_rand_next): Added __extension__
14828 qualifier as long long type is not strict ANSI.
14829 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
14830 to long long constant.
14832 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
14834 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
14835 `setegid' provided by Cygwin.
14837 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
14839 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
14840 account for Cygwin.
14842 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
14844 * libc/include/sys/reent.h (_rand_next): Changed to
14845 unsigned long long and moved to end of _reent struct in _new union.
14846 (_REENT_INIT): Changed to move _rand_next initialization.
14847 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
14848 linear congruential algorithm that is used by DJGPP.
14850 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
14852 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
14853 * libc/include/sys/config.h: Define __RAND_MAX.
14855 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
14857 * libc/stdlib/rand_r.c: New algorithm that meets minimal
14860 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
14862 * libc/include/string.h: Work around problem with strsignal and gdb.
14864 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
14866 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
14867 * libc/include/malloc.h: Ditto.
14868 * libc/include/process.h: Ditto.
14869 * libc/include/stdio.h: Ditto.
14870 * libc/include/stdlib.h: Ditto.
14871 * libc/include/time.h: Ditto.
14872 * libc/include/machine/setjmp.h: Ditto.
14873 * libc/include/sys/errno.h: Ditto.
14874 * libc/include/sys/signal.h: Ditto.
14875 * libc/include/sys/stat.h: Ditto.
14876 * libc/include/sys/time.h: Ditto.
14877 * libc/include/sys/unistd.h: Ditto.
14878 * libc/include/string.h: Ditto. strsignal should return a const char *.
14880 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
14882 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
14883 * libm/common/s_log1p.c (log1p): Likewise.
14884 * libm/common/s_scalbn.c (scalbn): Likewise.
14885 * libm/math/e_log.c: Likewise.
14886 * libm/math/e_asin.c: Likewise.
14887 * libm/math/ef_asin.c: Likewise.
14888 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
14889 * libm/math/e_j1.c (pone, qone): Likewise.
14890 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
14891 * libm/math/ef_j1.c (ponef, qonef): Likewise.
14892 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
14893 * libm/mathfp/e_j1.c (pone, qone): Likewise.
14894 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
14895 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
14897 2000-05-19 DJ Delorie <dj@cygnus.com>
14899 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
14900 (__sread): always read in binary mode
14901 (__swrite): always write in binary mode
14902 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
14903 compatibility issues with different dll versions
14904 * libc/stdio/fopen.c: use __stextmode
14905 * libc/stdio/fdopen.c: ditto
14906 * libc/stdio/freopen.c: ditto
14907 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
14908 * libc/stdio/local.h: declare __stextmode
14910 2000-05-18 DJ Delorie <dj@cygnus.com>
14912 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
14914 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
14916 * libc/include/ctype.h: Changed tolower and toupper macros
14917 to use __extension__ to prevent pedantic warnings.
14919 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
14921 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
14924 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
14926 * libc/include/machine/ieeefp.h: Add ia64 support.
14927 * configure.host: Likewise.
14929 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
14931 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
14932 month is now padded with space, not zero. This now conforms to
14935 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
14937 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
14938 host or network path") used by cygwin. Add some comments.
14940 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
14942 * libc/include/stdio.h (FILE): define __SCLE for "convert line
14943 endings" for Cygwin.
14944 (__sgetc): convert line endings if needed
14946 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
14947 * libc/stdio/fopen.c (_fopen_r): ditto
14948 * libc/stdio/freopen.c (freopen): ditto
14949 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
14950 * libc/stdio/fvwrite.c (__sfvwrite): ditto
14952 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
14954 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
14955 post-increment when it is worth it, spacewise.
14957 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
14959 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
14960 * libc/stdio/findfp.c (std): Added declaration of flags and file.
14961 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
14963 * libc/stdio/putchar.c (putchar): Added return statement.
14964 * libc/stdio/refill.c (lflush): Added correct parentheses.
14965 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
14966 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
14967 prints long value to use l qualifier.
14968 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
14969 messages and initialized local values: ilim, ilim1, and spec_case.
14970 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
14971 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
14972 * libc/stdlib/mprec.c: Ditto.
14973 * libc/stdlib/setenv_r.c: Ditto.
14974 * libc/stdlib/strtod.c: Ditto.
14975 * libc/stdlib/strtol.c: Ditto.
14976 * libc/stdlib/strtoul.c: Ditto.
14977 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
14978 * libm/common/sf_log1p.c: Ditto.
14979 * libm/common/sf_scalbn.c: Ditto.
14980 * libm/math/ef_log.c: Ditto.
14982 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
14984 * libc/posix/execvp.c (execvp): Check path for
14987 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
14989 * libc/include/sys/unistd.h: Add prototypes for
14990 fchmod, fchown, lchown.
14992 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
14994 * acinclude.m4: Changed release to 1.8.2.
14995 * aclocal.m4 configure doc/aclocal.m4 doc/configure
14996 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
14997 libc/machine/configure libc/machine/a29k/aclocal.m4
14998 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
14999 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
15000 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
15001 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
15002 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
15003 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
15004 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
15005 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
15006 libc/machine/i386/configure libc/machine/i960/aclocal.m4
15007 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
15008 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
15009 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
15010 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
15011 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
15012 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
15013 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
15014 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
15015 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
15016 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
15017 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
15018 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
15019 libc/machine/v850/configure libc/machine/w65/aclocal.m4
15020 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
15021 libc/machine/z8k/configure libc/sys/aclocal.m4
15022 libc/sys/aclocal.m4 libc/sys/configure
15023 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
15024 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
15025 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
15026 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
15027 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
15028 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
15029 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
15030 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
15031 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
15032 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
15033 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
15034 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
15035 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
15036 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
15037 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
15038 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
15039 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
15040 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
15041 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
15042 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
15043 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
15044 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
15045 libm/aclocal.m4 libm/configure: Regenerated.
15047 2000-03-24 Nick Clifton <nickc@cygnus.com>
15049 * libc/sys/arm/syscalls.c: Fix compile time warnings.
15050 (do_AngelSWI): Add "cc" to list o registers clobbered.
15052 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
15054 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
15055 information to be clobbered by an Angel C library support syscall.
15057 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
15059 * libc/stdlib/envlock.c: Fixed comment typo.
15061 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
15063 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
15064 code to update nread as each character is processed instead
15065 of using buffer contents which throw away leading zeroes.
15067 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
15069 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
15071 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
15073 * libc/include/string.h: Include <sys/types.h>.
15075 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15077 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
15078 with XSH5, not SVID.
15080 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
15082 * libc/include/string.h: Changed last argument back to ssize_t
15083 to make it compatible with XPG4 definition which is
15084 defined in <unistd.h>. There is a conflict in the SVID 3
15085 and XPG4 definitions and newlib will settle with XPG4.
15086 * libc/string/swab.c: Ditto.
15088 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
15090 * libc/include/string.h: Changed last argument to size_t.
15091 * libc/string/swab.c: Changed last argument to size_t.
15093 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15095 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
15096 (CHEWOUT_FILES): Added unlinkr.def.
15097 * libc/reent/Makefile.in: Rebuilt.
15098 * libc/sys.tex: Include unlinkr.def.
15099 * libc/reent/linkr.c (_unlink_r): Moved to...
15100 * libc/reent/unlinkr.c: ... new file.
15102 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15104 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
15105 (CHEWOUT_FILES): Added swab.def.
15106 * libc/string/Makefile.in: Rebuilt.
15107 * libc/string/string.tex: Include swab.def.
15108 * libc/include/string.h (swab): Declare.
15109 * libc/string/swab.c: New file.
15111 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15113 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
15114 (CHEWOUT_FILES): Added getw.def and putw.def.
15115 * libc/stdio/Makefile.in: Rebuilt.
15116 * libc/stdio/stdio.tex: Include getw.def and putw.def.
15117 * libc/stdio/getw.c: New file.
15118 * libc/stdio/putw.c: New file.
15120 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
15122 * libc/stdio/flags.c (__sflags): Added check that mode[1]
15123 is non-null before looking at mode[2].
15125 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
15127 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
15128 * libm/mathfp/sf_atan.c: Ditto.
15130 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
15132 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
15134 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
15136 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
15139 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
15141 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
15142 call prior to calling _VFPRINTF_R so reentrant data area is set.
15143 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
15145 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
15147 * libc/stdio/vfscanf.c (limits.h): #include.
15148 (MAX_LONG_LEN): #define.
15149 (__svfscanf): Handle floating point numbers with arbitrary amounts
15152 2000-02-15 Nick Clifton <nickc@cygnus.com>
15154 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
15155 zero. Set the blocksize to 1024/
15157 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
15159 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
15160 with line buffering.
15162 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
15164 * acinclude.m4: Changed include directory for winsup headers.
15165 * aclocal.m4 configure libc/aclocal.m4
15166 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
15167 libc/locale/Makefile.in libc/machine/aclocal.m4
15168 libc/machine/configure libc/machine/a29k/aclocal.m4
15169 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
15170 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
15171 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
15172 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
15173 libc/machine/fr30/configure
15174 libc/machine/h8300/aclocal.m4
15175 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
15176 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
15177 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
15178 libc/machine/i386/configure libc/machine/i960/aclocal.m4
15179 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
15180 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
15181 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
15182 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
15183 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
15184 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
15185 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
15186 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
15187 libc/machine/powerpc/configure
15188 libc/machine/sh/aclocal.m4
15189 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
15190 libc/machine/sparc/configure
15191 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
15192 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
15193 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
15194 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
15195 libc/misc/Makefile.in libc/posix/Makefile.in
15196 libc/reent/Makefile.in
15197 libc/signal/Makefile.in
15198 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
15199 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
15200 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
15201 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
15202 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
15203 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
15204 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
15205 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
15206 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
15207 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
15208 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
15209 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
15210 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
15211 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
15212 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
15213 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
15214 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
15215 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
15216 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
15217 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
15218 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
15219 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
15220 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
15221 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
15222 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
15223 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
15224 libm/configure: Regenerated.
15226 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
15228 * libc/stdlib/putenv_r.c (_putenv_r): New file.
15229 * libc/stdlib/strdup_r.c (_strdup_r): New file.
15230 * libc/include/string.h: Added _strdup_r.
15231 * libc/stdlib/putenv.c: Added call to reentrant version.
15232 * libc/stdlib/strdup.c: Ditto.
15233 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
15234 * libc/include/stdlib.h: Ditto.
15235 * libc/stdlib/Makefile.in: Regenerated.
15236 * libc/string/Makefile.in: Regenerated.
15237 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
15238 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
15239 management calls to reentrant versions.
15240 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
15241 * libc/stdlib/wctomb.c: Ditto.
15242 * libc/stdlib/mblen.c: Ditto.
15243 * libc/stdlib/mbstowcs.c: Ditto.
15244 * libc/stdlib/mbtowc.c: Ditto.
15245 * libc/stdlib/getenv.c: Ditto.
15246 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
15249 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
15251 patch from Corinna Vinschen <corinna@vinschen.de>
15252 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
15254 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
15256 * libm/mathfp/s_atangent.c: Fix exponent calculation.
15257 * libm/mathfp/s_ldexp.c: Ditto.
15258 * libm/mathfp/sf_atangent.c: Ditto.
15259 * libm/mathfp/sf_ldexp.c: Ditto.
15261 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15263 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
15264 * libc/include/locale.h: define NULL to be 0.
15266 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
15268 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
15271 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
15273 * libc/machine/mn10300/setjmp.S: Handle am33.
15275 1999-11-26 Nick Clifton <nickc@cygnus.com>
15277 * libc/sys/arm/syscalls.c: Add function prototypes.
15278 (stack_ptr): Move declaration before function definitions.
15280 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15282 * NEWS: Updated version information.
15285 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
15287 * libc/machine/i386/strchr.S: Fixed alignment test.
15289 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
15291 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
15293 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
15295 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
15296 ensuring that there is space between the two.
15298 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
15300 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
15303 1999-10-08 Vadim Egorov <egorovv@1c.ru>
15305 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
15308 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
15310 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
15311 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
15313 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
15314 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
15316 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
15319 1999-09-13 DJ Delorie <dj@cygnus.com>
15321 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
15324 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
15326 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
15327 also note BUFSIZ as its size.
15329 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
15331 * configure.host: Corrected feature defines for RTEMS.
15332 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
15333 * libc/include/sys/stat.h: mkfifo() should take const path arg.
15334 * libc/include/sys/unistd.h: pathconf() should take const path arg.
15335 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
15336 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
15337 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
15338 _PC_PRIO_IO, and _PC_SYNC_IO.
15339 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
15340 * libc/machine/m68k/Makefile.in: Regenerated.
15341 * libc/machine/m68k/strcpy.c: New file.
15342 * libc/machine/m68k/strlen.c: New file.
15343 * libc/stdio/tmpnam.c: Always make the returned name usable.
15344 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
15345 * libc/sys/rtems/sys/dirent.h: New file.
15346 * libc/sys/rtems/sys/types.h: Added dev_t.
15348 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
15350 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
15352 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
15354 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
15357 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
15359 patch from Jeff Johnston <jjohnstn@cygnus.com>
15360 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
15361 buffer is not in a useful state.
15363 1999-09-01 Nick Clifton <nickc@cygnus.com>
15365 * libc/sys/arm/syscalls.c (_link): Add stub.
15367 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15369 * ftell.c (ftell): Use actual position within buffer for text mode.
15370 * findfp.c (std): Initialize ptr->_bf._size.
15372 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
15374 * libc/include/sys/unistd.h: Add nice() declaration.
15376 1999-08-09 Nick Clifton <nickc@cygnus.com>
15378 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
15379 declare as a thumb function so that the disassembler will see the
15382 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15384 * libc/reent/reent.tex: Updated list of reentrant functions.
15386 1999-07-09 Michael Meissner <meissner@cygnus.com>
15388 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
15390 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
15392 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
15394 * libc/stdio/snprintf.c: New file.
15395 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
15397 * libc/stdio/vsnprintf.c: New file.
15398 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
15399 * libc/stdio/Makefile.in: Regenerated.
15401 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
15403 Patch submitted by Egor Duda <deo@logos-m.ru>:
15404 * libc/include/stdio.h: Add declarations for *nprintf.
15405 * libc/stdio/sprintf.c (snprintf): New function.
15406 (_snprintf_r): New function.
15407 * libc/stdio/vsprintf.c (vsnprintf): New function.
15408 (_vnsprintf_r): New function.
15410 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
15412 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
15413 * libm/Makefile.am (stmp-targetdep): Ditto.
15414 * libc/Makefile.in: Regenerated.
15415 * libm/Makefile.in: Ditto.
15417 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
15419 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
15420 * libm/Makefile.am (stmp-targetdep): Ditto.
15421 * libc/Makefile.in: Regenerated.
15422 * libm/Makefile.in: Ditto.
15424 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
15426 * Makefile.am: Removed dependencies on all-recursive and added "."
15427 to the SUBDIRS list to prevent infinite recursion from occurring.
15428 Also removed any references to EXTRA_DATA.
15429 * libc/Makefile.am: Ditto.
15430 * libc/machine/Makefile.am: Ditto.
15431 * libc/machine/i386/Makefile.am: Ditto.
15432 * libm/Makefile.am: Ditto.
15433 * libc/sys/Makefile.am: Ditto.
15434 * Makefile.in: Regenerated.
15435 * aclocal.m4: Ditto.
15436 * configure: Ditto.
15437 * doc/Makefile.in: Ditto.
15438 * doc/aclocal.m4: Ditto.
15439 * doc/configure: Ditto.
15440 * libc/Makefile.in: Ditto.
15441 * libc/aclocal.m4: Ditto.
15442 * libc/configure: Ditto.
15443 * libc/machine/Makefile.in: Ditto.
15444 * libc/machine/aclocal.m4: Ditto.
15445 * libc/machine/configure: Ditto.
15446 * libc/machine/mn10300/Makefile.in: Ditto.
15447 * libc/machine/mn10300/aclocal.m4: Ditto.
15448 * libc/machine/mn10300/configure: Ditto.
15449 * libc/sys/Makefile.in: Ditto.
15450 * libc/sys/aclocal.m4: Ditto.
15451 * libc/sys/configure: Ditto.
15452 * libm/Makefile.in: Ditto.
15453 * libm/aclocal.m4: Ditto.
15454 * libm/configure: Ditto.
15456 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15458 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
15460 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15462 * libc/include/stdlib.h: Add reentrant routines.
15463 * libc/stdlib/Makefile.am: Add reentrant routines.
15464 * libc/stdlib/Makefile.in: Ditto.
15465 * libc/stdlib/envlock.c: New file.
15466 * libc/stdlib/envlock.h: New file.
15467 * libc/stdlib/getenv.c: Modify to call reentrant routine.
15468 * libc/stdlib/getenv_r.c: New file.
15469 * libc/stdlib/mblen.c: Modify to call reentrant routine.
15470 * libc/stdlib/mblen_r.c: New file.
15471 * libc/stdlib/setenv.c: Modify to call reentrant routine.
15472 * libc/stdlib/setenv_r.c: New file.
15473 * libc/stdlib/stdlib.tex: Add reentrant routines.
15475 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
15477 * libc/include/sys/types.h: Define __MS_types__ whenever
15480 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
15482 * libc/include/machine/ieeefp.h: Always default to little
15483 endian if Windows, regardless of architecture.
15484 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
15485 regardless of architecture.
15487 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
15489 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
15490 _WIN32 isn't defined.
15492 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
15494 * libm/common/s_rint.c (rint): Add volatile qualifier for
15495 intermediate value w.
15496 * libm/common/sf_rint.c (rintf): Ditto.
15498 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
15500 * libc/sys/arm/syscalls.c (remap_handle): Added check to
15501 ensure that std streams are initialized before being referenced.
15503 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
15505 * README: Update reference to newlib@cygnus.com new
15506 newlib@sourceware.cygnus.com address.
15508 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
15510 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
15511 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
15512 defined, even if _WIN32 isn't defined.
15514 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
15516 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
15518 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15520 * libc/include/sys/reent.h: Change Long and ULong to __Long and
15522 * libc/stdlib/dtoa.c: Ditto.
15523 * libc/stdlib/mprec.c: Ditto.
15524 * libc/stdlib/mprec.h: Ditto.
15525 * libc/stdlib/strtod.c: Ditto.
15527 1999-04-21 Nick Clifton <nickc@cygnus.com>
15529 * configure.host (mcore): Remove mcore machine directory.
15531 1999-04-18 Nick Clifton <nickc@cygnus.com>
15533 * libc/include/machine/ieeefp.h: Add support for mcore target.
15534 * libc/include/machine/setjmp.h: Add support for mcore target.
15535 * configure.host: Add support for mcore target.
15537 1999-04-13 Mark Salter <msalter@cygnus.com>
15539 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
15540 * libc/sys/arm/syscalls.c: Added isatty.
15542 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
15544 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
15545 insert zeroes after significant digits.
15547 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
15549 * libc/stdio/vfprintf.c (cvt): Changed floating point
15550 cvt routine to use union used by dtoa to properly determine
15551 if the sign bit is on or not.
15552 * libc/stdio/vfieeefp.h: New file
15554 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
15556 * aclocal.m4: Regenerated.
15557 * configure: Regenerated.
15559 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
15561 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
15563 * libc/machine/i386/Makefile.in: Regenerated.
15565 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
15567 * acinclude.m4: Changed to work with new automake.
15568 * configure: Regenerated.
15569 * libc/machine/i386/aclocal.m4: Regenerated.
15570 * libc/machine/i386/configure: Regenerated.
15572 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
15574 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
15575 for telldir() and seekdir(). Rename unused structure element
15576 for use with these two routines.
15578 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
15580 * libc/time/mktime.c (validate_structure): Multiple fixes to
15581 code to handle cases where input fields are outside valid ranges.
15582 * libc/stdlib/div.c (div): Modified invalid rounding check.
15583 * libc/stdlib/ldiv.c (ldiv): Ditto.
15585 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
15587 * libc/machine/i386/memcpy.S: Performance rewrite.
15588 * libc/machine/i386/memmove.S: Ditto.
15589 * libc/machine/i386/i386mach.h: Added more register definitions.
15590 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
15592 * libc/include/machine/fastmath.h: Add definitions for x86
15593 fast-math routines.
15595 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15597 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
15599 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
15601 Adjust newlib headers for new Cygwin Win32 API header files:
15602 * libc/include/sys/time.h: Check _WINSOCK_H rather than
15603 _GNU_H_WINDOWS32_SOCKETS.
15604 * libc/include/sys/types.h: Ditto.
15606 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
15608 *include/sys/reent.h: Add checks for size of Bigint element Long.
15609 *libc/dtoa.c: Change routines to use generic Long type.
15610 *libc/mprec.c: Change routines to use generic Long type.
15611 *libc/mprec.h: Change routines to use generic Long type.
15613 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
15615 * libc/Makefile.am: Add .def files.
15616 * libc/Makefile.in: Regenerate.
15617 * libc/e_acosh.c: Documentation update.
15618 * libc/e_atanh.c: Documentation update.
15619 * libc/e_hypot.c: Documentation update.
15620 * libc/e_remainder.c: Documentation update.
15621 * libc/er_lgamma.c: Documentation update.
15622 * libc/mathfp.tex: Documentation update.
15623 * libc/s_acos.c: Documentation update.
15624 * libc/s_atan.c: Documentation update.
15625 * libc/s_atan2.c: Documentation update.
15626 * libc/s_cosh.c: Documentation update.
15627 * libc/s_fmod.c: Documentation update.
15628 * libc/s_isnan.c: Documentation update.
15629 * libc/s_log10.c: Documentation update.
15630 * libc/s_pow.c: Documentation update.
15631 * libc/w_jn.c: Documentation update.
15633 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
15635 * aclocal.m4: Regenerate.
15636 * configure: Regenerate.
15638 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
15640 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
15641 to return 1 if user specified return code is 0.
15642 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
15644 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
15646 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
15647 to save the return address. Fixed longjmp to return to the original
15648 calling address of setjmp and to return the user specified return code
15649 rather than default to 1.
15650 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
15652 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
15654 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
15656 1999-02-10 Nick Clifton <nickc@cygnus.com>
15658 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
15659 volatile so that its assignments will not be discarded.
15661 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
15663 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
15664 be __STRICT_ANSI__ which is generated by compiler.
15665 * libc/include/ctype.h: Ditto.
15666 * libc/include/math.h: Ditto.
15667 * libc/include/stdio.h: Ditto.
15668 * libc/include/stdlib.h: Ditto.
15669 * libc/include/string.h: Ditto.
15670 * libc/include/sys/signal.h: Ditto.
15672 1999-02-08 Nick Clifton <nickc@cygnus.com>
15674 * configure.host: Add support for StrongARM target.
15676 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
15678 * libc/string/strncpy.c (strncpy): Removed redundant code
15679 that was copying bytes if data unaligned.
15681 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
15683 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
15684 mbstowcs.def, and wcstombs.def.
15686 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
15688 * libc/include/sys/errno.h: Add Cygwin errno.
15689 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
15692 1999-01-29 Nick Clifton <nickc@cygnus.com>
15694 * libc/sys/arm/syscalls.c: Move C library functions into seperate
15697 * libc/sys/arm/libcfunc.c: New file containing C library functions
15700 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
15701 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
15704 1999-01-27 Michael Meissner <meissner@cygnus.com>
15706 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
15707 type, and cut size in half so that the jmp_buf array is guaranteed
15708 to be aligned on a 64-bit boundary.
15710 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
15712 * libc/string/strings.tex: Added information about
15713 strcasecmp and strncasecmp.
15714 * libc/stdlib/stdlib.tex: Added missing information
15715 about mblen, mbstowcs, and wcstombs.
15716 * libc/string/strchr.c: Changed how mask is built to use
15717 shift operators so register will be used instead of storage.
15719 1999-01-22 DJ Delorie <dj@cygnus.com>
15721 * libc/include/stdlib.h: don't use dllimport if we're building
15722 newlib, since it's inside cygwin.dll
15724 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
15726 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
15727 _ctype_ under cygwin.
15729 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
15731 * include/stdlib.h: Fix typo from previous checkin.
15733 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
15735 * include/ctype.h: Use __declspec(dllimport) method for exporting
15736 variable from cygwin DLL.
15737 * include/time.h: Ditto.
15738 * sys/errno.h: Ditto.
15739 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
15740 * libc/locale/locale.c: Use __declspec(dllexport) method for
15741 exporting variable from cygwin DLL.
15743 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
15745 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
15746 access of bogus pointer will result in SIGSEGV.
15748 1999-01-07 Nick Clifton <nickc@cygnus.com>
15750 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
15751 of an underscore prefix to function names.
15753 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
15755 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
15756 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
15758 1998-12-31 Michael Meissner <meissner@cygnus.com>
15760 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
15761 to `%' if not already defined.
15763 1998-12-30 Michael Meissner <meissner@cygnus.com>
15765 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
15766 arguments const char *, not char *.
15767 * libc/include/stdio.h (_tempnam_r): Ditto.
15769 * libc/include/sys/reent.h (struct _reent): The _sig_func type
15770 points to a function taking an integer, not void.
15772 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
15774 * configure.host: Add a define for Cygwin builds.
15775 * libc/include/ctype.h: Don't use dll imported variables in newlib.
15777 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
15779 * libc/include/ctype.h: Define _ctype_ as dll imported variable
15780 for use with Cygwin.
15781 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
15782 dll imported variables for use with Cygwin.
15783 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
15784 as a dll imported variable for Cygwin.
15786 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
15788 * libc/include/sys/unistd.h: Add proto for getpass.
15790 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
15792 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
15795 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
15797 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
15798 not posix_path_list_p.
15800 1998-12-15 Nick Clifton <nickc@cygnus.com>
15802 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
15805 1998-12-13 Nick Clifton <nickc@cygnus.com>
15807 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
15809 1998-12-12 Nick Clifton <nickc@cygnus.com>
15811 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
15812 <msalter@cygnus.com>
15813 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
15814 * libc/machine/fr30/Makefile.in: Regenerated.
15816 1998-12-11 Nick Clifton <nickc@cygnus.com>
15818 * configure.host: Remove use of libc/sys for FR30 port.
15819 * libc/sys/fr30: Remove directory (replaced by libgloss).
15821 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
15823 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
15824 * libc/string/strncat.c (ALIGNED): Ditto.
15826 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
15828 * libc/include/sys/time.h: include sys/types.h
15830 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
15832 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
15833 comparison found when checking word at a time.
15835 1998-12-04 Nick Clifton <nickc@cygnus.com>
15837 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
15839 1998-12-03 Nick Clifton <nickc@cygnus.com>
15841 * libc/sys/fr30/syscalls.c (_times): New function stub.
15843 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
15845 * configure.host (mach_add_setjmp): Replaced mach_add_objs
15846 with mach_add_setjmp flag which indicates if setjmp should
15847 be added to the machine directory objects.
15848 * acinclude.m4: Removed reference to mach_add_objs.
15849 * aclocal.m4: Regenerated.
15850 * Makefile.in: Regenerated.
15851 * configure: Regenerated.
15852 * libc/aclocal.m4: Regenerated.
15853 * libc/Makefile.in: Regenerated.
15854 * libc/configure: Regenerated.
15855 * libc/machine/aclocal.m4: Regenerated.
15856 * libc/machine/Makefile.in: Regenerated.
15857 * libc/machine/configure: Regenerated.
15858 * libc/machine/i386/aclocal.m4: Regenerated.
15859 * libc/machine/i386/Makefile.am: Altered to selectively add
15860 setjmp.S to the src files list.
15861 * libc/machine/i386/Makefile.in: Regenerated.
15862 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
15863 * libc/machine/i386/configure: Regenerated.
15865 1998-12-02 Nick Clifton <nickc@cygnus.com>
15867 * libc/sys/fr30/crt0.s (_start): Fix function names.
15869 * libc/machine/fr30: New directory
15870 * libc/machine/fr30/Makefile.am: New file.
15871 * libc/machine/fr30/Makefile.in: New generated file.
15872 * libc/machine/fr30/configure.in: New file.
15873 * libc/machine/fr30/configure: New generated file.
15874 * libc/machine/fr30/aclocal.m4: New generated file.
15875 * libc/sys/fr30/Makefile.am: New file.
15876 * libc/sys/fr30/Makefile.in: New generated file.
15877 * libc/sys/fr30/configure.in: New file.
15878 * libc/sys/fr30/configure: New generated file.
15879 * libc/sys/fr30/syscalls.c: New file.
15881 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
15883 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
15885 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
15887 * libc/time/strftime.c (strftime): Also handle %y for years before
15890 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
15892 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
15893 UNIX convention. Perform tolower on characters before comparing
15894 them rather than use toupper.
15895 * libc/string/strncasecmp.c (strncasecmp): Ditto.
15897 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
15899 * configure.host: Added using i386 machine directory
15900 for all x86 cross-compiler and configuring
15901 which added object files to use via new "mach_add_objs" variable.
15902 * configure: Regenerated.
15903 * libc/configure: Regenerated.
15904 * libc/Makefile.in: Regenerated.
15905 * libc/aclocal.m4: Regenerated.
15906 * libc/ctype/Makefile.in: Regenerated.
15907 * libc/errno/Makefile.in: Regenerated.
15908 * libc/locale/Makefile.in: Regenerated.
15909 * libc/machine/Makefile.in: Regenerated.
15910 * libc/machine/aclocal.m4: Regenerated.
15911 * libc/machine/configure: Regenerated.
15912 * libc/posix/Makefile.in: Regenerated.
15913 * libc/reent/Makefile.in: Regenerated.
15914 * libc/signal/Makefile.in: Regenerated.
15915 * libc/stdio/Makefile.in: Regenerated.
15916 * libc/stdlib/Makefile.in: Regenerated.
15917 * libc/string/Makefile.in: Regenerated.
15918 * libc/string/memmove.c: Optimized code to use memcpy
15919 logic when performing a non-destructive copy.
15920 * libc/string/strncmp.c: Altered code to allow building
15921 optimized for size or speed.
15922 * libc/syscalls/Makefile.in: Regenerated.
15923 * libc/time/Makefile.in: Regenerated.
15924 * libc/unix/Makefile.in: Regenerated.
15925 * libc/machine/i386/Makefile.am: Added new files and reference
15926 to "mach_add_objs" to indicate optional object files.
15927 * libc/machine/i386/Makefile.in: Regenerated.
15928 * libc/machine/i386/aclocal.m4: Regenerated.
15929 * libc/machine/i386/configure: Regenerated.
15930 * libc/machine/i386/memchr.S: New file that implements
15931 function in Intel assembler.
15932 * libc/machine/i386/memcmp.S: ditto.
15933 * libc/machine/i386/memcpy.S: ditto.
15934 * libc/machine/i386/memmove.S: ditto.
15935 * libc/machine/i386/memset.S: ditto.
15936 * libc/machine/i386/strchr.S: ditto.
15937 * libc/machine/i386/strlen.S: ditto.
15938 * libc/machine/i386/f_atan2.S: New file that implements
15939 fast version of math function to be used by compiler when
15940 --ffast_math compile option is used.
15941 * libc/machine/i386/f_atan2f.S: ditto.
15942 * libc/machine/i386/f_exp.c: ditto.
15943 * libc/machine/i386/f_expf.c: ditto.
15944 * libc/machine/i386/f_frexp.S: ditto.
15945 * libc/machine/i386/f_frexpf.S: ditto.
15946 * libc/machine/i386/f_ldexp.S: ditto.
15947 * libc/machine/i386/f_ldexpf.S: ditto.
15948 * libc/machine/i386/f_log.S: ditto.
15949 * libc/machine/i386/f_logf.S: ditto.
15950 * libc/machine/i386/f_log10.S: ditto.
15951 * libc/machine/i386/f_log10f.S: ditto.
15952 * libc/machine/i386/f_math.h: New file.
15953 * libc/machine/i386/f_pow.c: ditto.
15954 * libc/machine/i386/f_powf.S: ditto.
15955 * libc/machine/i386/f_tan.S: ditto.
15956 * libc/machine/i386/f_tan.S: ditto.
15957 * libc/machine/i386/i386mach.h: New file.
15959 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
15961 patch from Mumit Khan <khan@xraylith.wisc.edu>
15962 * libc/include/stdio.h (tempnam): Add prototype.
15963 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
15964 (tempnam): Adhere to prototype.
15966 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
15968 * Makefile.am: Add default for AR_FLAGS.
15969 * Makefile.in: Regenerate.
15971 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
15973 * libc/include/time.h: move __cplusplus wrapper after includes
15974 * libc/include/sys/time.h: ditto. If Cygwin, include
15976 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
15978 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
15980 * libc/time/strftime.c (strftime): Handle %y after year 2000.
15982 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
15984 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
15985 abnormnal end-of-crt0 marker.
15987 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
15989 * libc/sys/fr30/crt0.s: New file/directory.
15990 * libc/include/machine/setjmp.h: Add FR30 target.
15991 * libc/include/machine/ieeefp.h: Add FR30 target.
15992 * configure.host: Add FR30 target.
15994 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
15996 * libm/math: Files that are duplicated in common directory removed.
15997 * libm/math/fdlibm.h: Removed.
15998 * libm/math/s_cbrt.c: Removed.
15999 * libm/math/s_copysign.c: Removed.
16000 * libm/math/s_expm1.c: Removed.
16001 * libm/math/s_finite.c: Removed.
16002 * libm/math/s_ilogb.c: Removed.
16003 * libm/math/s_infinity.c: Removed.
16004 * libm/math/s_lib_ver.c: Removed.
16005 * libm/math/s_log1p.c: Removed.
16006 * libm/math/s_logb.c: Removed.
16007 * libm/math/s_matherr.c: Removed.
16008 * libm/math/s_modf.c: Removed.
16009 * libm/math/s_nan.c: Removed.
16010 * libm/math/s_nextafter.c: Removed.
16011 * libm/math/s_rint.c: Removed.
16012 * libm/math/s_scalbn.c: Removed.
16013 * libm/math/sf_cbrt.c: Removed.
16014 * libm/math/sf_copysign.c: Removed.
16015 * libm/math/sf_expm1.c: Removed.
16016 * libm/math/sf_finite.c: Removed.
16017 * libm/math/sf_ilogb.c: Removed.
16018 * libm/math/sf_infinity.c: Removed.
16019 * libm/math/sf_log1p.c: Removed.
16020 * libm/math/sf_logb.c: Removed.
16021 * libm/math/sf_modf.c: Removed.
16022 * libm/math/sf_nan.c: Removed.
16023 * libm/math/sf_nextafter.c: Removed.
16024 * libm/math/sf_rint.c: Removed.
16025 * libm/math/sf_scalbn.c: Removed.
16026 * libm/math/Makefile.am: Removed references to deleted files (above).
16027 * libm/math/Makefile.in: Regenerated.
16028 * libm/Makefile.am: Added common directory to math.
16029 * libm/Makefile.in: Regenerated.
16031 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
16033 * libm/mathfp: Add non-ANSI functions.
16034 * libm/mathfp/e_acosh.c acosh(): New file.
16035 * libm/mathfp/e_atanh.c atanh(): New file.
16036 * libm/mathfp/e_hypot.c hypot(): New file.
16037 * libm/mathfp/e_j0.c j0(): New file.
16038 * libm/mathfp/e_j1.c j1(): New file.
16039 * libm/mathfp/e_remainder.c remainder(): New file.
16040 * libm/mathfp/e_scalb.c scalb(): New file.
16041 * libm/mathfp/ef_acosh.c acoshf(): New file.
16042 * libm/mathfp/ef_atanh.c atanhf(): New file.
16043 * libm/mathfp/ef_hypot.c hypotf(): New file.
16044 * libm/mathfp/ef_j0.c j0f(): New file.
16045 * libm/mathfp/ef_j1.c j1f(): New file.
16046 * libm/mathfp/ef_remainder.c remainderf(): New file.
16047 * libm/mathfp/ef_scalb.c scalbf(): New file.
16048 * libm/mathfp/er_gamma.c gamma_r: New file.
16049 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
16050 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
16051 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
16052 * libm/mathfp/w_cabs.c cabs(): New file.
16053 * libm/mathfp/w_drem.c drem(): New file.
16054 * libm/mathfp/w_jn.c jn(): New file.
16055 * libm/mathfp/wf_cabs.c cabsf(): New file.
16056 * libm/mathfp/wf_drem.c dremf(): New file.
16057 * libm/mathfp/wf_jn.c jnf(): New file.
16059 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
16061 * libc/sys/cygwin32: remove directory and contents
16062 * libc/sys/cygwin: and add back, losing the "32".
16063 * configure.host: check for cygwin* instead of cygwin32.
16064 * acinclude.m4: ditto.
16065 * aclocal.m4: regenerate with aclocal
16066 * configure: regenerate with autoconf
16068 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
16070 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
16073 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
16075 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
16076 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
16077 to make rand/srand, strtok, asctime, localtime, w_gamma,
16078 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
16079 time.h to bring in struct tm definition.
16080 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
16081 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
16082 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
16083 instead of static variable.
16084 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
16085 struct reent instead of static variable.
16086 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
16087 struct reent instead of static variable.
16088 * libm/math/Makefile.am: Removed s_signgam.o.
16089 * libm/math/Makefile.in: Regenerated.
16090 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
16091 struct reent instead of global variable 'signgam'.
16092 * libm/math/w_lgamma.c (lgamma): Likewise.
16093 * libm/math/wf_gamma.c (gammaf): Likewise.
16094 * libm/math/wf_lgamma.c (lgammaf): Likewise.
16095 * libm/math/s_signgam.c: Removed.
16096 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
16098 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
16100 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
16101 libc/include/reent.h.
16102 * libc/reent/Makefile.in: Regenerated.
16103 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
16105 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
16106 'JIS_action_table' to be const.
16107 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
16109 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
16111 * acinclude.m4: $with_target_subdir should default to '.'
16112 or confusion results when configuring in same directory as sources.
16113 * Regenerate all aclocal.m4 and configure files.
16115 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
16117 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
16118 can be set by defining MALLOC_ALIGNMENT=16. Also added support
16119 for platforms where sizeof(size_t) < sizeof(long) via
16120 SIZE_T_SMALLER_THAN_LONG macro.
16122 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
16124 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
16125 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
16126 which sets _CLOCKS_PER_SEC_ for selected machines.
16127 * libc/include/machine/time.h: New file.
16129 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
16131 * libc/syscalls/sysexecve.c: New file.
16132 * libc/syscalls/sysgettod.c: New file.
16133 * libc/syscalls/systimes.c: New file.
16134 * libc/syscalls/Makefile.am: Added new objects.
16135 * libc/syscalls/Makefile.in: Regenerated.
16136 * libc/include/_syslist.h (_execve): Moved define in file.
16137 * libc/include/reent.h: Added _execve_r declaration.
16138 * libc/Makefile.in: Regenerated.
16139 * libc/ctype/Makefile.in: Regenerated.
16140 * libc/errno/Makefile.in: Regenerated.
16141 * libc/locale/Makefile.in: Regenerated.
16142 * libc/machine/Makefile.in: Regenerated.
16143 * libc/misc/Makefile.in: Regenerated.
16144 * libc/posix/Makefile.in: Regenerated.
16145 * libc/reent/Makefile.in: Regenerated.
16146 * libc/reent/execr.c (_execve_r): Added _execve_r function.
16147 * libc/signal/Makefile.in: Regenerated.
16148 * libc/stdio/Makefile.in: Regenerated.
16149 * libc/time/Makefile.in: Regenerated.
16150 * libc/unix/Makefile.in: Regenerated.
16151 * libm/mathfp/Makefile.in: Regenerated.
16153 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
16155 * libc/string/Makefile.in: Regenerated.
16156 * libc/string/memchr.c (memchr): Moved code to reduce object size.
16157 * libc/string/memcpy.c (memcpy): Ditto.
16158 * libc/string/memcmp.c (memcmp): Ditto.
16159 * libc/string/memset.c (memset): Ditto.
16160 * libc/string/strchr.c (strchr): Ditto.
16161 * libc/string/strcmp.c (strcmp): Ditto.
16162 * libc/string/strcpy.c (strcpy): Ditto.
16163 * libc/string/strlen.c (strlen): Ditto.
16165 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
16167 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
16168 to generate aclocal.m4.
16169 * libm/Makefile.in: Regenerated.
16170 * libm/aclocal.m4: Regenerated.
16171 * libm/configure: Regenerated.
16172 * libm/math/Makefile.in: Regenerated.
16173 * libm/mathfp/Makefile.in: Regenerated.
16175 1998-09-25 Mark Salter <msalter@cygnus.com>
16177 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
16178 by adding leading and trailing underscores to symbol names.
16180 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
16182 * Makefile.in: Add default for AR_FLAGS.
16184 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
16186 patch from ian@airs.com (Ian Taylor):
16187 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
16188 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
16189 is needed for detecting the build machine. Required for
16190 cygwin native builds.
16192 * Regenerate all aclocal.m4 and configure files.
16194 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
16196 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
16197 used to start with LC.
16199 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16201 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
16202 (longjmp): Likewise.
16204 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16206 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
16207 the test for small number of bytes.
16209 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
16211 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
16212 math library that uses floating point algorithms instead of the old
16214 * Makefile.in: Regenerate with automake version 1.3b.
16215 * configure: Rebuild.
16216 * libm/Makefile.in: Regenerate with automake version 1.3b.
16217 * libm/aclocal.m4: Regenerate.
16218 * libm/configure: Rebuild.
16219 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
16220 * libm/acinclude.m4: Define macros for configure.in.
16221 * libm/config.h.in: Generate.
16222 * libm/mathfp/Makefile.am: New file.
16223 * libm/mathfp/Makefile.in: Generate.
16224 * libm/mathfp/s_acos.c (acos): New file.
16225 * libm/mathfp/s_asin.c (asin): New file.
16226 * libm/mathfp/s_asine.c (asine): New file.
16227 * libm/mathfp/s_atan.c (atan): New file.
16228 * libm/mathfp/s_atan2.c (atan2): New file.
16229 * libm/mathfp/s_atangent.c (atangent): New file.
16230 * libm/mathfp/s_ceil.c (ceil): New file.
16231 * libm/mathfp/s_copysign.c (copysign): New file.
16232 * libm/mathfp/s_cos.c (cos): New file.
16233 * libm/mathfp/s_cosh.c (cosh): New file.
16234 * libm/mathfp/s_exp.c (exp): New file.
16235 * libm/mathfp/s_fabs.c (fabs): New file.
16236 * libm/mathfp/s_finite.c (finite): New file.
16237 * libm/mathfp/s_floor.c (floor): New file.
16238 * libm/mathfp/s_fmod.c (fmod): New file.
16239 * libm/mathfp/s_frexp.c (frexp): New file.
16240 * libm/mathfp/s_infconst.c: New file.
16241 * libm/mathfp/s_isinf (isinf).c: New file.
16242 * libm/mathfp/s_isnan.c (isnan): New file.
16243 * libm/mathfp/s_ispos.c (ispos): New file.
16244 * libm/mathfp/s_ldexp.c (ldexp): New file.
16245 * libm/mathfp/s_log.c (log): New file.
16246 * libm/mathfp/s_log10.c (log10): New file.
16247 * libm/mathfp/s_logarithm.c (logarithm): New file.
16248 * libm/mathfp/s_mathcnst.c: New file.
16249 * libm/mathfp/s_modf (modf).c: New file.
16250 * libm/mathfp/s_numtest.c (numtest): New file.
16251 * libm/mathfp/s_pow.c (pow): New file.
16252 * libm/mathfp/s_scalbn.c (scalbn): New file.
16253 * libm/mathfp/s_sin (sin).c: New file.
16254 * libm/mathfp/s_sine.c (sine): New file.
16255 * libm/mathfp/s_sineh.c (sineh): New file.
16256 * libm/mathfp/s_sinf.c (sinf): New file.
16257 * libm/mathfp/s_sinh.c (sinh): New file.
16258 * libm/mathfp/s_sqrt.c (sqrt): New file.
16259 * libm/mathfp/s_tan.c (tan): New file.
16260 * libm/mathfp/s_tanh.c (tanh): New file.
16261 * libm/mathfp/sf_acos.c (acosf): New file.
16262 * libm/mathfp/sf_asin.c (asinf): New file.
16263 * libm/mathfp/sf_asine.c (asinef): New file.
16264 * libm/mathfp/sf_atan.c (atanf): New file.
16265 * libm/mathfp/sf_atan2.c (atan2f): New file.
16266 * libm/mathfp/sf_atangent.c (atangent): New file.
16267 * libm/mathfp/sf_ceil.c (ceilf): New file.
16268 * libm/mathfp/sf_copysign.c (copysignf): New file.
16269 * libm/mathfp/sf_cos.c (cosf): New file.
16270 * libm/mathfp/sf_cosh.c (coshf): New file.
16271 * libm/mathfp/sf_exp.c (expf): New file.
16272 * libm/mathfp/sf_fabs.c (fabsf): New file.
16273 * libm/mathfp/sf_finite.c (finitef): New file.
16274 * libm/mathfp/sf_floor.c (floorf): New file.
16275 * libm/mathfp/sf_fmod.c (fmodf): New file.
16276 * libm/mathfp/sf_frexp.c (frexpf): New file.
16277 * libm/mathfp/sf_isinf.c (isinff): New file.
16278 * libm/mathfp/sf_isnan.c (isnanf): New file.
16279 * libm/mathfp/sf_ispos.c (isposf): New file.
16280 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
16281 * libm/mathfp/sf_log.c (logf): New file.
16282 * libm/mathfp/sf_log10.c (log10f): New file.
16283 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
16284 * libm/mathfp/sf_modf.c (modff): New file.
16285 * libm/mathfp/sf_numtest.c (numtestf): New file.
16286 * libm/mathfp/sf_pow.c (powf): New file.
16287 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
16288 * libm/mathfp/sf_sin.c (sinf): New file.
16289 * libm/mathfp/sf_sine.c (sinef): New file.
16290 * libm/mathfp/sf_sineh.c (sinehf): New file.
16291 * libm/mathfp/sf_sinh.c (sinhf): New file.
16292 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
16293 * libm/mathfp/sf_tan.c (tanf): New file.
16294 * libm/mathfp/sf_tanh.c (tanhf): New file.
16295 * libm/mathfp/zmath.h: New file.
16297 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16299 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
16300 exit if it has been overwritten by pre-fetching in delay slot.
16302 1998-09-01 Michael Meissner <meissner@cygnus.com>
16304 * Makefile.am (tooldir): Add in host_alias, so that multilib
16305 libraries are installed in the directory the compiler looks in.
16306 * Makefile.in: Regenerate.
16308 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
16310 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
16312 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
16313 ahead of test for number of bytes being moved.
16315 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
16317 * libc/include/sys/unistd.h: Nothing special needed for
16318 _exit under cygwin.
16320 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
16322 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
16323 conform to user label naming conventions.
16325 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
16327 * libc/sys/cygwin32/sys/utime.h: variable names in
16328 protos should start with two leading underscores
16329 * libc/include/string.h: ditto
16330 * libc/include/sys/signal.h: ditto
16331 * libc/include/sys/stat.h: ditto
16332 * libc/include/sys/time.h: ditto
16333 * libc/include/sys/unistd.h: ditto
16334 * libc/include/ctype.h: ditto
16335 * libc/include/stdlib.h: ditto
16336 * libc/include/sys/reent.h: struct _atexit function ptr takes a
16337 void, same with _sig_func.
16339 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
16341 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
16342 for MB_CAPABLE to reduce code size when newlib is not configured
16343 with --enable-newlib-mb.
16344 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
16345 mbtowc_r.o to minimize size.
16346 * libc/stdlib/Makefile.in: Rebuild.
16348 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
16350 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
16352 * libc/sys/sparc64/Makefile.in: Rebuild.
16354 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
16356 * Makefile.am (MAKEOVERRIDES): Define.
16357 * Makefile.in: Rebuild.
16359 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
16361 * libc/sys/sparc64/sys/stat.h (stat): Add const.
16363 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
16365 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
16366 newlib_cflags when looking for targ-include.
16367 * */aclocal.m4, */configure: Rebuild.
16369 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
16371 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
16374 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
16376 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
16377 on SPARCs with little-endian data.
16378 * libc/include/machine/ieeefp.h: Ditto.
16380 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
16382 * acinclude.m4: Handle a relative srcdir correctly when setting
16384 * */aclocal.m4, */configure: Rebuild.
16386 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
16388 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
16389 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
16390 * libm/math/wrf_gamma.c (gammaf_r): ditto
16391 * libm/math/wr_lgamma.c (lgamma_r): ditto
16392 * libm/math/wr_gamma.c (gamma_r): ditto
16393 * libm/math/wf_sqrt.c (sqrtf): ditto
16394 * libm/math/wf_sinh.c (sinhf): ditto
16395 * libm/math/wf_scalb.c (scalbf): ditto
16396 * libm/math/wf_remainder.c (remainderf): ditto
16397 * libm/math/wf_pow.c (powf): ditto
16398 * libm/math/wf_log10.c (log10f): ditto
16399 * libm/math/wf_log.c (logf): ditto
16400 * libm/math/wf_lgamma.c (lgammaf): ditto
16401 * libm/math/wf_jn.c (jnf, ynf): ditto
16402 * libm/math/wf_j1.c (j1f, y1f): ditto
16403 * libm/math/wf_j0.c (j0f, y0f): ditto
16404 * libm/math/wf_hypot.c (hypotf): ditto
16405 * libm/math/wf_gamma.c (gammaf): ditto
16406 * libm/math/wf_fmod.c (fmodf): ditto
16407 * libm/math/wf_exp.c (expf): ditto
16408 * libm/math/wf_cosh.c (coshf): ditto
16409 * libm/math/wf_atanh.c (atanhf): ditto
16410 * libm/math/wf_atan2f.c (atan2f): ditto
16411 * libm/math/wf_asin.c (asinf): ditto
16412 * libm/math/wf_acosh.c (acoshf): ditto
16413 * libm/math/wf_acos.c (acosf): ditto
16414 * libm/math/w_sqrt.c (sqrt): ditto
16415 * libm/math/w_sinh.c (sinh): ditto
16416 * libm/math/w_scalb.c (scalb): ditto
16417 * libm/math/w_remainder.c (remainder): ditto
16418 * libm/math/w_pow.c (pow): ditto
16419 * libm/math/w_log10.c (log10): ditto
16420 * libm/math/w_log.c (log): ditto
16421 * libm/math/w_lgamma.c (lgamma): ditto
16422 * libm/math/w_jn.c (jn, yn): ditto
16423 * libm/math/w_j1.c (j1, y1): ditto
16424 * libm/math/w_j0.c (j0, y0): ditto
16425 * libm/math/w_hypot.c (hypot): ditto
16426 * libm/math/w_gamma.c (gamma): ditto
16427 * libm/math/w_fmod.c (fmod): ditto
16428 * libm/math/w_exp.c (exp): ditto
16429 * libm/math/w_cosh.c (cosh): ditto
16430 * libm/math/w_atanh.c (atanh): ditto
16431 * libm/math/w_atan2f.c (atan2): ditto
16432 * libm/math/w_asin.c (asin): ditto
16433 * libm/math/w_acosh.c (acosh): ditto
16434 * libm/math/w_acos.c (acos): ditto
16436 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
16438 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
16439 (fsrc): Add wf_cabs.c and wf_drem.c.
16440 * libm/math/Makefile.in: Rebuild.
16442 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
16443 unused directory variables. Remove duplicate CFLAGS.
16444 * Makefile.in: Rebuild.
16446 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
16447 with $(CC_FOR_BUILD).
16448 (makedoc.o): Likewise.
16449 * doc/Makefile.in: Rebuild.
16451 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
16452 force a definition of COMPILE.
16453 (libfoo_a_SOURCES): Define.
16454 * libc/sys/cygwin32/Makefile.in: Rebuild.
16455 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
16456 force a definition of COMPILE.
16457 (libfoo_a_SOURCES): Define.
16458 * libc/sys/tic80/Makefile.in: Rebuild.
16460 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
16462 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
16465 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
16467 * Build using autoconf and automake. Added many Makefile.am and
16468 configure.in files, plus generated files. Old configure.in files
16469 and all old Makefile.in files completely replaced. Removed
16470 host/any. Added acinclude.m4 and configure.host.
16472 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
16474 * libc/stdio/vfprintf.c: enable long long support, sometimes.
16475 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
16477 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16479 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
16480 * libc/machine/sh/Makefile.in: Add rules for new files.
16482 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16484 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
16485 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
16486 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
16488 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
16490 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
16493 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
16495 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
16496 internal static buffer when s is NULL, as prescribed by ANSI.
16498 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
16500 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
16502 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
16503 libc/stdlib will be used for h8300hms.
16505 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
16507 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
16508 version that can be built either for speed or size.
16509 * libc/machine/mn10300/memset.S (_memset): ditto
16510 * libc/machine/mn10300/memchr.S (_memchr): ditto
16511 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
16512 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
16513 * libc/machine/mn10300/strchr.S (_strchr): ditto
16514 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
16515 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
16516 * libc/machine/mn10300/Makefile.in: Added entries for
16517 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
16518 strcmp.o, strcpy.o, and strlen.o.
16520 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
16522 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
16523 been replaced with libgloss/mn10200.
16525 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
16527 * libc/string/strchr.c (strchr): Make s a constant pointer to
16530 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
16532 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
16533 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
16534 board SWIs instead of Demon board SWIs).
16536 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
16538 * libc/string/strncat.c (strncat): Make -Os act the same as
16539 PREFER_SIZE_OVER_SPEED being defined.
16541 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
16543 * libc/string/memchr.c (memchr): Make -Os act the same as
16544 PREFER_SIZE_OVER_SPEED being defined.
16545 * libc/string/memcmp.c (memcmp): Ditto.
16546 * libc/string/memcpy.c (memcpy): Ditto.
16547 * libc/string/memset.c (memset): Ditto.
16548 * libc/string/strcat.c (strcat): Ditto.
16549 * libc/string/strchr.c (strchr): Ditto.
16550 * libc/string/strcmp.c (strcmp): Ditto.
16551 * libc/string/strcpy.c (strcpy): Ditto.
16552 * libc/string/strlen.c (strlen): Ditto.
16553 * libc/string/strncat.c (strncat): Ditto.
16554 * libc/string/strncmp.c (strncmp): Ditto.
16555 * libc/string/strncpy.c (strncpy): Ditto.
16557 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
16559 * libc/include/sys/itimer.h: remove
16560 * libc/include/sys/time.h: itimer stuff should be here
16562 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
16564 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
16565 bit instead of comparing to 0 so -0.0 can be printed correctly.
16567 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16569 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
16571 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
16573 * libc/include/sys/unistd.h: fix sync() proto
16574 * libc/include/sys/fcntl.h: remove _close which is already
16575 defined in unistd.h.
16576 * libc/include/sys/time.h: add getitimer proto
16578 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
16580 * libc/string/strchr.c: convert arg to unsigned char
16581 * libc/include/stdlib.h: add protos for random, srandom
16582 * libc/include/sys/stat.h: add lstat proto
16583 * libc/include/sys/time.h: add setitimer proto
16584 * libc/include/sys/unistd.h: add readlink, symlink protos
16585 * libc/include/process.h: instead of including windows.h and using
16586 HANDLEs in sexec protos, just use void *s. Need to include
16589 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
16591 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
16593 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
16595 * libc/include/process.h: add secure exec protos
16597 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
16599 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
16600 which are accessed as both doubles and integers.
16601 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
16602 * libc/stdlib/strtod.c (_strtod_r): Likewise.
16603 * libc/stdlib/mprec.h: Add "union double_union" and change
16604 word0/word1 macros to use it.
16606 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
16608 * libc/include/sys/signal.h: add __cplusplus wrapper
16610 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
16612 * libc/include/sys/utime.h: new generic file that gets replaced by
16613 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
16615 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
16616 * libc/include/time.h: remove duplicate utime proto
16617 * libc/include/utime.h: add comment
16619 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
16621 * libc/include/sys/time.h: Add missing include to
16622 allow use of _EXFUN. Remove times function that is
16623 already defined in times.h.
16625 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
16627 * libc/include/time.h: Fix typo in tzset.
16629 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
16631 * libc/include/sys/time.h: add missing Cygwin32 function protos
16632 * libc/include/sys/unistd.h: ditto
16633 * libc/include/time.h: ditto
16635 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
16637 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
16639 * libc/include/sys/types.h: add a new __MS_types__ section
16640 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
16641 __BIT_TYPES_DEFINED__.
16643 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
16645 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
16646 since it overrides the one in libc/include/sys. Also, start
16649 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
16651 * libm/math/Makefile.in: add s_signgam.o to obj list
16653 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
16655 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
16657 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
16659 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
16660 so don't use defines.
16662 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
16664 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
16666 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
16668 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
16669 _current_locale as default locale.
16671 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
16673 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
16674 insufficient space in a chunk.
16676 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
16678 * configure.in (links): Added check for --enable-newlib-mb configure
16679 option which defines the MB_CAPABLE macro.
16680 * libc/locale/locale.c (_setlocale_r): Added support for setting
16681 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
16683 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
16684 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
16685 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
16686 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
16687 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
16688 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
16689 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
16690 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
16691 * libc/stdlib/Makefile.in: Added new multibyte
16692 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
16693 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
16694 _mbstowcs_r(), and _wcstombs_r().
16695 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
16696 for JIS, SJIS, and EUC-JP characters.
16697 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
16698 MB_CAPABLE defined.
16699 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
16700 MB_CAPABLE defined.
16701 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
16702 MB_CAPABLE defined.
16703 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
16704 if MB_CAPABLE defined.
16705 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
16706 if MB_CAPABLE defined.
16707 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
16708 to the format string processing when MB_CAPABLE.
16709 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
16712 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
16714 The following modifications are courtesy of Anthony Thompson,
16715 athompson@cambridge.arm.com:
16716 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
16717 boith RDI and RDP monitors.
16718 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
16719 RDI and RDP monitors.
16721 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
16723 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
16724 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
16725 (_swiopen): Fixed open flags to treat write with append as just append.
16726 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
16727 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
16729 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16731 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
16732 When needing to transfer an initial 2-byte-word, store as
16735 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16737 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
16739 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
16740 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
16742 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
16744 * configure.in (target_cflags): If --enable-target-optspace, use
16745 -Os to compile newlib rather than -O2. Default to using -Os for
16746 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
16749 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
16751 * libc/include/machine/setjmp.h: change sigsetjmp and
16752 siglongjmp definitions to use an array instead of a struct
16755 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
16757 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
16759 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
16761 * libc/string/strxfrm.c: fix to get correct return value
16763 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
16765 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
16766 builds. Make mode change labels global so that they will be seen
16769 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
16771 * configure.in (links): Do not use ARM debiugging protocols for PE
16774 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
16777 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
16779 * libc/stdio/findfp.c (__sinit): Made stdout default to
16780 line buffered mode as defined by ANSI.
16782 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
16784 * libc/include/sys/itimer.h: New file.
16786 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
16788 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
16790 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
16793 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
16795 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
16798 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
16800 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
16802 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
16804 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
16807 * libc/include/machine/setjmp.h: Add D30V support.
16809 * configure.in (d30v-*): Add d30v machine directory.
16811 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
16813 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
16814 been replaced with libgloss/mn10300.
16816 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
16818 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
16819 it is no longer needed.
16821 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
16823 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
16825 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
16827 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
16828 the file when O_APPEND is set, wherever the EOF happens to be at
16831 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
16833 patch from cgf@bbc.com (Christopher Faylor):
16834 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
16835 convention of closing fp prior to attempting to open the file
16836 argument. This allows correct operation when reopening
16837 stdin/stdout/stderr. Replaces last freopen.c patch.
16839 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
16841 patch from cgf@bbc.com (Christopher Faylor):
16842 * libc/stdio/freopen.c: freopen was not preserving the fd
16843 of the stream being operated on. This confuses programs that
16844 expect that the handles for stdout and stderr will be 1 and 2.
16846 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
16848 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
16850 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
16852 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
16854 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
16856 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
16857 altered to not use a branch. Also added hint that last
16858 bclr in longjmp will likely result in branch.
16861 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
16863 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
16865 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
16867 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
16870 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
16872 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
16874 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
16875 that loads FR14 to specify offset of 8 rather than 4
16876 so it loads from offset 96 (where setjmp stored it).
16878 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
16880 * libc/machine/sh/memcpy.S: (_memcpy): Update to
16881 latest version supplied by customer.
16882 * libc/machine/sh/memset.S (_memset): Ditto.
16884 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
16886 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
16889 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
16891 * libc/include/string.h: remove redefinition of ffs
16893 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
16895 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
16898 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
16900 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
16901 TI Libraries to link to libc.a
16903 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
16905 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
16906 * libc/include/sys/stat.h (_{,f}stat): Ditto.
16907 * libc/include/sys/wait.h (_wait): Ditto.
16908 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
16909 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
16911 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
16913 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
16914 minded stabs so function name shows up when running the simulator
16916 * libc/sys/d10v/{crt0,trap}.S: Ditto.
16918 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
16920 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
16921 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
16922 Use R5 where we used to use R3.
16924 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
16926 * libc/stdlib/getopt.c (getopt): replaced __progname
16927 with nargv[0] to improve portability to imbedded systems.
16929 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
16931 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
16932 patch supplied by Tont.Thompson@arm.com to fix the creation of the
16935 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
16937 * libc/stdio/tmpnam.c (worker): Generate a different file name
16940 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
16941 fails, try an execlp for sh.
16943 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
16944 option for the winsup include directory.
16946 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
16948 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
16949 debugging interface from Tony.Thompson@arm.com.
16951 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
16952 * libc/sys/arm/swi.h: ditto.
16954 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
16956 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
16957 DIR struct used for readdir hashes.
16959 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
16961 * libc/string/strchr.c: Use "unsigned chars" as necessary.
16963 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
16965 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
16968 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
16970 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
16971 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
16972 * libc/include/malloc.h: Add extern "C" if __cplusplus.
16973 (__malloc_copy): Declare.
16975 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
16977 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
16979 (POINTER_UINT): Define.
16980 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
16981 (MALLOC_ALIGNMENT): Don't define if already defined.
16982 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
16985 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
16987 * libc/string/memset.c (memset): Fiddle with code so that the long
16988 value being stored is not a stack value. Unroll storing longs 4
16991 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
16993 * Reduce code size for libm modules.
16994 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
16995 and simply move code into sqrt.
16996 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
16997 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
16998 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
16999 * libm/math/wr_gamma.c (gamma_r): Likewise.
17000 * libm/math/wf_sinh.c (sinfh): Likewise.
17001 * libm/math/w_sinh.c (sinh): Likewise.
17002 * libm/math/wf_scalb.c (scalbf): Likewise.
17003 * libm/math/w_scalb.c (scalb): Likewise.
17004 * libm/math/wf_remainder.c (remainderf): Likewise.
17005 * libm/math/w_remainder.c (remainder): Likewise.
17006 * libm/math/wf_pow.c (powf): Likewise.
17007 * libm/math/w_pow.c (pow): Likewise.
17008 * libm/math/wf_log10.c (log10f): Likewise.
17009 * libm/math/w_log10.c (log10): Likewise.
17010 * libm/math/wf_log.c (logf): Likewise.
17011 * libm/math/w_log.c (log): Likewise.
17012 * libm/math/w_lgamma.c (lgamma): Likewise.
17013 * libm/math/wf_lgamma.c (lgammaf): Likewise.
17014 * libm/math/wf_jn.c (jnf): Likewise.
17015 * libm/math/w_jn.c (jn): Likewise.
17016 * libm/math/wf_j1.c (j1f): Likewise.
17017 * libm/math/w_j1.c (j1): Likewise.
17018 * libm/math/wf_j0.c (j0f): Likewise.
17019 * libm/math/w_j0.c (j0): Likewise.
17020 * libm/math/wf_hypot.c (hypotf): Likewise.
17021 * libm/math/w_hypot.c (hypot): Likewise.
17022 * libm/math/wf_gamma.c (gammaf): Likewise.
17023 * libm/math/w_gamma.c (gamma): Likewise.
17024 * libm/math/wf_fmod.c (fmodf): Likewise.
17025 * libm/math/w_fmod.c (fmod): Likewise.
17026 * libm/math/wf_exp.c (expf): Likewise.
17027 * libm/math/w_exp.c (exp): Likewise.
17028 * libm/math/wf_cosh.c (coshf): Likewise.
17029 * libm/math/w_cosh.c (cosh): Likewise.
17030 * libm/math/wf_atanh.c (atanhf): Likewise.
17031 * libm/math/w_atanh.c (atanh): Likewise.
17032 * libm/math/wf_atan2.c (atan2f): Likewise.
17033 * libm/math/w_atan2.c (atan2): Likewise.
17034 * libm/math/wf_asin.c (asinf): Likewise.
17035 * libm/math/w_asin.c (asin): Likewise.
17036 * libm/math/wf_acosh.c (acoshf): Likewise.
17037 * libm/math/w_acosh.c (acosh): Likewise.
17038 * libm/math/wf_acos.c (asocf): Likewise.
17039 * libm/math/w_acos.c (acos): Likewise.
17040 * libm/math/wf_sqrt.c (sqrtf): Likewise.
17041 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
17042 for embedded systems.
17044 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
17046 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
17047 Lea in case of a foreign sbrk.
17049 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
17051 Incorporate Doug Lea's malloc:
17052 * libc/stdlib/mallocr.c: Completely replaced.
17053 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
17055 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
17056 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
17058 (mallinfo, malloc_stats, mallopt): New functions.
17059 (_mstats_r): Just call _malloc_stats_r.
17060 * libc/stdlib/malign.c: New file.
17061 * libc/stdlib/mlock.c: New file.
17062 * libc/stdlib/msize.c: New file.
17063 * libc/stdlib/mtrim.c: New file.
17064 * libc/stdlib/realloc.c: New file.
17065 * libc/stdlib/valloc.c: New file.
17066 * libc/stdlib/malloc.h: Remove.
17067 * libc/stdlib/callocr.c: Remove.
17068 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
17069 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
17070 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
17071 reallocr.o, valloc.o, vallocr.o.
17072 (CHEWOUT_FILES): Add mlock.def, mstats.def.
17073 (MALLOC_CFLAGS): New variable.
17074 (mallocr.o): New target, build from mallocr.c.
17075 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
17076 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
17077 (msizer.o, malloptr.o): Likewise.
17078 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
17079 (valloc.o): New target.
17080 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
17081 * libc/include/malloc.h: Declare struct mallinfo, and new
17083 * libc/include/stdlib.h (cfree): Correct declaration.
17085 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
17087 * libc/include/machine/setjmp.h: Add support for Thumb target.
17089 * libc/include/machine/ieeefp.h: Add support for Thumb target.
17091 * configure.in (links): Add support for Thumb target.
17093 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
17095 * libc/sys/arm/setjmp.S: Updated with version from branch.
17097 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
17099 * libc/include/stdio.h: add POSIX-required define L_ctermid
17102 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
17104 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
17105 addition to MISSING_SYSCALL_NAMES.
17107 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
17109 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
17111 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
17113 * libc/include/string.h: change strsignal proto to return
17114 a char *. This eliminates compile problems in gdb resulting
17115 from gdb's definition of strsignal in defs.h.
17117 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
17119 * libc/sys/cygwin32/sys/utime.h: new (moved here from
17120 winsup/include) so as not to conflict with the one in
17122 * libc/include/string.h: add protos for strsignal, strtosigno
17124 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
17126 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
17128 * configure.in (d30v-*-*): Add configuration.
17130 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
17132 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
17133 to select which kind of debug monitor is in use for an ARM target.
17135 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
17136 Angel and Demon debug monitors. Part of this code was supplied by
17137 Tony Thompson at ARM: athompso@arm.com.
17139 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
17141 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
17142 semantics when the count is greater than the length of the second
17145 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
17147 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
17148 * libc/include/sys/unistd.h: add protos for usleep, truncate,
17149 truncate and ftruncate take off_t, not size_t
17151 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
17153 * libc/string/strcat.c (strcat): Add missing comment end.
17154 * libc/string/strncat.c (strncat): Likewise.
17156 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
17158 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
17160 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
17161 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
17163 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
17164 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
17165 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
17167 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
17169 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
17170 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
17172 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
17174 * libc/machine/i386/setjmp.S: New file.
17175 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
17176 (OFILES): Add setjmp.o.
17177 (setjmp.o): Add rule for.
17178 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
17180 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
17181 Jeffrey A Law (law@cygnus.com)
17183 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
17184 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
17185 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
17186 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
17188 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
17190 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
17193 * libc/include/sys/config.h: Use __v850 to select v850
17196 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
17199 * libc/include/machine/ieeefp.h: Use __v850 to select v850
17202 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
17204 * libc/stdlib/setenv.c: change unsetenv definition to match
17205 style of setenv (with _DEFUN). The string should be a const.
17206 * libc/include/stdlib.h: unsetenv proto should return void.
17208 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
17210 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
17212 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
17214 * libc/stdio/glue.h: remove.
17215 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
17216 * libc/stdio/Makefile.in: remove glue.h dependencies
17218 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
17220 * libc/sys/sysnecv850/crt0.S: Created V850e version.
17222 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
17224 * configure.in (target_cpu): Add `arc'.
17226 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
17228 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
17229 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
17230 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
17231 * newlib/libc/reent/reent.c: Add _wrapup_reent.
17232 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
17234 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
17236 * libc/machine/mips/setjmp.S: Handle mips16 builds.
17238 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
17240 * libc/include/stdio.h (siprintf): Declare.
17242 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
17244 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
17245 TARGET_CFLAGS and NEWLIB_FLAGS.
17247 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
17249 * configure.in (links): Add support for v850ea target.
17251 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
17253 * configure.in (links): Add support for v850e target.
17255 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
17257 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
17259 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
17261 * configure.in (arc-*-*): Add support for.
17262 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
17264 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
17266 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
17268 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
17270 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
17271 comparison which accesses invalid memory when the key is
17272 larger than the last member of the array.
17273 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
17275 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
17277 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
17279 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
17282 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
17284 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
17285 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
17287 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
17289 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
17290 to load/store memory.
17292 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
17294 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
17295 underscores if _WIN32.
17297 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
17299 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
17300 support ifdef _USE_WRITE missed in last change.
17301 From Anders Blomdell <anders.blomdell@control.lth.se>.
17303 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
17305 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
17306 (_tmpnam_r, _tempnam_r): Update.
17308 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
17310 * libc/machine/sparc/setjmp.S: New file.
17311 * libc/machine/sparc/Makefile.in: Add setjmp.
17312 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
17314 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
17316 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
17318 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
17320 From Joel Sherrill <joel@oarcorp.com>.
17321 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
17323 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
17324 * configure.in: Recognize *-*-rtems*.
17325 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
17326 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
17327 time.h,times.h,types.h}: New files.
17328 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
17330 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
17332 patch from sos@prospect.com.ru (Sergey Okhapkin):
17333 * include/sys/wait.h: correct operator precidence bug
17336 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
17338 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
17339 with newlib's unsetenv function
17340 * libc/sys/cygwin32/sys: new directory for includes
17341 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
17342 here from winsup/include/sys
17344 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
17346 * libc/include/sys/unistd.h: _exit should only be
17347 labelled noreturn when not __CYGWIN32__
17348 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
17349 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
17352 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
17354 * libc/include/sys/time.h: Only define timeval and timezone if
17355 _GNU_H_WINDOWS32_SOCKETS is not defined.
17356 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
17358 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
17360 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
17361 * libc/machine/mn10300/setjmp.S: Likewise.
17363 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
17364 the mn10300 (more relaxing opportunities).
17366 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
17368 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
17369 Build libraries with -mstrict-align.
17371 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
17373 * libc/string/strlwr.c: New file.
17374 * libc/string/strupr.c: New file.
17375 * libc/include/string.h: Declare strlwr and strupr.
17376 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
17377 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
17378 (strlwr.o, strupr.o): New targets.
17379 * libc/string/strings.tex: Include strlwr and strupr docs.
17381 * libc/include/sys/types.h: Don't define u_char, et. al., if
17382 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
17383 et. al. Make FD_SETSIZE default 64 rather than 60. Define
17384 _types_fd_set rather than fd_set, and define fd_set as a macro.
17386 * libc/include/malloc.h: New file.
17388 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
17389 strnicmp if they are not already defined.
17391 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
17392 _timezone, _daylight, and _tzname.
17394 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
17396 * configure.in: Sort all configuration tables.
17398 From Joel Sherrill <joel@oarcorp.com>
17399 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
17401 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
17403 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
17404 use int when declaring kill.
17406 * libc/include/sys/timeb.h: New file.
17408 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
17410 * libc/include/sys/time.h: add itimer support for Cygwin32
17412 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
17414 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
17415 out a message that abort was called to stderr.
17417 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
17419 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
17420 so that libio doesn't freak.
17422 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
17425 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
17426 memory sizes, not int.
17428 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
17430 * libm/math/ef_hypot.c: Use long constants where
17432 * libm/math/ef_sqrt.c: Ditto.
17434 * libc/sys/sysmec/times.c(_times): Change to times.
17436 * libc/sys/sysmec/read.c(_read): The third argument is
17438 * libc/sys/sysmec/write.c (_write): Ditto.
17440 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
17441 (_lseek): It's off_t for the second argument.
17443 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
17445 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
17446 as well as machine/ieeefp.h.
17448 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
17450 * libc/include/sys/signal.h: add signal protos for winsup
17451 functions (when __CYGWIN32__), include types.h
17452 * libc/include/sys/types.h: Change __go32_types__ internal
17453 define to __MS_types__ since it's used for more than just
17454 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
17456 * libc/include/sys/unistd.h: add ftruncate proto for
17457 winsup functions (when __CYGWIN32__)
17459 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
17461 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
17463 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
17465 * libc/include/machine/setjmp.h: Add tic80 support.
17466 * libc/machine/tic80/setjmp.S: Likewise.
17468 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
17470 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
17471 link programs from libraries only (such as in the X11
17474 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
17476 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
17477 supplied elsewhere in newlib.
17479 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
17481 * Makefile.in (INSTALL): Change install.sh to install-sh.
17483 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
17485 * README: update WWW address for on-line documentation.
17487 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
17489 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
17492 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
17494 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
17496 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
17498 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
17500 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
17501 * libc/sys/d10v/syscalls.c: Likewise.
17502 * libc/sys/h8300hms/sbrk.c: Likewise.
17503 * libc/sys/h8500hms/syscalls.c: Likewise.
17504 * libc/sys/m88kbug/syscalls.c: Likewise.
17505 * libc/sys/sh/syscalls.c: Likewise.
17506 * libc/sys/sysmec/sbrk.c: Likewise.
17507 * libc/sys/sysnecv850/sbrk.c: Likewise.
17508 * libc/sys/w65/syscalls.c: Likewise.
17509 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
17511 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
17513 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
17514 emulated syscall instead of "trap".
17516 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
17518 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
17521 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
17523 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
17525 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
17527 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
17529 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
17531 * libc/sys/tic80/crt0.c: New file for TIc80.
17532 * libc/sys/tic80/Makefile.in: New file for TIc80.
17533 * libc/machine/tic80/Makefile.in: New file for TIc80.
17535 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
17537 * libc/machine/sh/memcpy.S: New file.
17538 * libc/machine/sh/memset.S: New file.
17539 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
17541 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
17543 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
17546 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
17548 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
17551 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
17553 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
17554 (patch from andrew@pogo.WV.TEK.COM).
17556 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
17558 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
17559 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
17561 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
17563 * configure.in: Add cases for "tic80" to set machine_dir,
17564 sys_dir, and syscall_dir.
17566 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
17568 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
17570 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
17572 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
17574 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
17576 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
17577 Use proper constant prefix.
17579 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
17581 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
17582 that loses on the mn10200 where ints and pointers are different
17585 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
17587 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
17588 target as signal is provided in winsup.
17590 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
17592 * libc/include/sys/process.h: Corrected const definitions
17593 in spawn functions. Added cwait.
17595 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
17597 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
17599 * libc/include/sys/config.h: Similarly.
17601 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17603 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
17605 (i[3456]86-*-sco*): Ditto.
17607 * libc/signal/Makefile.in (OFILES): Add signal.o.
17608 (CFILES): Add signal.c.
17610 * libc/signal/raise.c (_raise_r): Only compile code if
17611 SIGNAL_PROVIDED is defined.
17613 * libc/signal/signal.c: Redo whole file so that it works with
17614 current newlib. Use _kill_r if no signal handler provided.
17616 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
17618 * libc/sys/sysvnecv70/Makefile.in: Ditto.
17619 * libc/sys/sysnecv850/Makefile.in: Ditto.
17621 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
17622 * libc/sys/sysmec/{raise,signal}.c: Ditto.
17623 * libc/sys/sysvnecv70/signal.s: Ditto.
17624 * libc/sys/sysnecv850/raise.c: Ditto.
17626 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
17627 simulator and debugger can tell the difference between a signal
17628 being raised and an exit system call.
17630 * NEWS: Document software signals being provided.
17632 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17634 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
17635 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
17636 include/sys/config.h.
17637 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
17638 Change from 'inpure_data'.
17639 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
17640 &impure_data, not &inpure_data.
17642 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
17643 and and System V ABI, define so that _impure_ptr lives in the
17646 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17648 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
17649 nothing if not defined.
17650 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
17653 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
17655 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
17657 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
17658 * libc/sys/sysmec/trap.s: Handle mn10200 too.
17659 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
17661 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
17663 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
17665 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
17667 * libc/include/sys/errno.h: Added net errno's.
17669 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17671 * libc/misc/ffs.c: New file to support ffs function for GCC test
17672 gcc.c-torture/execute/960909-1.c.
17674 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
17676 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
17678 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
17679 * libc/sys/sysmec/trap.S: Likewise.
17681 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
17683 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
17684 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
17686 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
17688 * libc/sys/sysmec/signal.c: Dummy file.
17689 * libc/sys/sysmec/Makefile.in: Build it.
17691 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
17693 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
17696 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
17698 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
17699 c-startup and simulator traps.
17702 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
17703 * libc/sys/sysmec/trap0.S: Likewise.
17705 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17707 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
17708 round to double word alignment.
17709 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
17712 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
17714 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
17717 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
17719 * configure.in: Handle mn10200 and mn10300.
17720 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
17721 * libc/include/sys/config.h: Likewise.
17722 * libc/sys/sysmec: New directory for mec stuff.
17723 * libc/machine/mn10300: New directory for mn10300 stuff.
17724 * libc/machine/mn10200: Similarly for mn10200 stuff.
17726 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
17728 * libc/sys/arm/crt0.S: Use .text, not .section .text.
17729 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
17731 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
17732 (nlink_t): Change type from unsigned int to unsigned short.
17733 (mode_t): Ensure size is 32 bits even if int is 16.
17734 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
17735 (st_spare[123]): Change type from int to long.
17737 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17739 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
17742 * configure.in (d10v*): Define SMALL_MEMORY.
17744 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17746 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
17747 -mrelocatable-lib and -mno-eabi flags.
17749 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
17751 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
17752 Fix handling of mis-aligned source operand when both the
17753 destination & length are properly aligned.
17755 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
17757 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
17758 times.o, time.o and gettime.o
17759 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
17760 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
17763 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
17765 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
17766 * libc/sys/sysnecv850/access.c: New file.
17768 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
17770 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
17772 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
17775 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
17777 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
17779 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
17781 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
17782 * libc/include/sys/config.h: Add m32r support.
17784 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
17786 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
17789 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
17791 * libc/include/machine/setjmp.h: Add D10v support.
17793 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
17795 * configure.in: Configure the "libc/syscalls" directory for
17798 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
17799 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
17800 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
17801 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
17802 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
17804 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
17806 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
17807 stack for args for main and other routines. Zero out args for
17810 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
17813 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17815 * libc/stdio/findfp.c (std): Remove extraneous ';' after
17818 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
17820 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
17821 real system calls now.
17823 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
17824 before casting them to int.
17825 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
17827 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
17829 * libc/string/memset.c (memset): Ditto.
17831 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
17832 first convert ints to _POINTER_INT to eliminate GCC warning.
17834 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
17837 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
17838 from 65000 if ints are only 16 bits.
17840 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
17841 from 50000 if ints are only 16 bits.
17843 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
17844 int type that is the same size as a pointer.
17846 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
17848 (get_number): Explicitly cast number to long before shifting by 16
17849 or 24, in case ints are short.
17851 * libc/include/sys/config.h (_POINTER_INT): Define as short.
17853 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
17855 * libc/string.h: Added ffs, removed swab.
17856 * libc/sys/errno.h: Added EOPNOTSUPP.
17857 * libc/sys/unistd.h: Added swab.
17859 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
17861 * libc/include/sys/stat.h: Added fchmod.
17862 * libc/include/sys/unistd.h: Added fsync.
17864 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
17866 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
17867 and ECONNRESET (104) for cygwin32.
17869 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
17871 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
17872 do the static destructors.
17874 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
17876 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
17878 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
17880 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
17881 * configure.in: Recognize m32r-*-*.
17883 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
17885 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
17886 __rt_stkovf_split_small): Added default software stack overflow
17887 handlers, which just call SWI_Exit.
17888 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
17889 limit initialisation.
17891 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
17893 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
17895 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
17897 * libc/include/sys/types.h: Added ssize_t definition.
17899 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17901 * libc/machine/d10v/setjmp.S: Use ';' for comments.
17902 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
17904 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
17905 branch around a single ldi instruction.
17907 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
17908 Call exit, instead of just issuing a stop instruction.
17910 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17912 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
17914 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17916 * libc/stdlib/mprec.h: Explicitly declare all large constants as
17917 longs, and then cast them to __uint32_t.
17919 * libc/include/sys/config.h: Protect against multiple inclusions.
17921 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
17923 * configure.in (d10v*): Set syscall_dir.
17925 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
17927 * libc/sys/d10v/crt0.S: Set stack pointer.
17929 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
17931 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
17932 in assembly for efficiency. Change calling convention to allow
17933 long ints to be returned.
17935 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17937 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
17939 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
17941 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
17942 Handle empty entries in $PATH.
17944 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
17946 * libc/machine/d10v/setjmp.S: Make it really work.
17948 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
17950 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
17951 the .stack section.
17953 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
17955 * sys/sysnecv850/sys/file.h: Remove.
17956 * sys/sysnecv850/sys/syscall.h: New file.
17957 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
17958 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
17959 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
17960 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
17961 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
17962 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
17963 * sys/sysnec850/trap.S: New file.
17964 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
17966 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
17967 * sys/sysnec850/sbrk.c: New version.
17969 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
17971 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
17972 as long as r6 is less than r7.
17974 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
17976 * Makefile.in (mostlyclean): Separate from clean target. Don't
17977 remove *.a or targ-include.
17978 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
17980 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
17982 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
17984 (__SMALL_BITFIELDS): Ditto.
17986 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
17988 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
17990 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
17993 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
17994 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
17995 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
17996 * libc/sys/sysnecv850/write.c (write): Likewise.
17998 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
18001 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18003 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
18004 appropriately for D10V, depending on -mint16/-mint32.
18006 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
18008 * configure.in: Add cases for D10V.
18010 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18012 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
18014 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
18016 * libc/include/machine/ieeefp.h: Fix typo.
18018 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
18020 * libc/sys/d10v: New directory for D10V stuff.
18021 * libc/include/machine/ieeefp.h: Add D10V defines.
18023 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
18025 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
18026 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
18027 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
18028 * libc/string/strerror.c (strerror): Add them.
18030 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
18032 * libc/sys/sysnecv850: New directory for v850 stuff.
18034 * libc/machine/v850: New directory for v850 stuff.
18035 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
18037 * configure.in: Add support for the v850.
18039 * libc/include/machine/ieeefp.h: Add v850 defines.
18040 * libc/include/machine/setjmp.h: Likewise.
18041 * libc/include/sys/config.h: Add v850 defines.
18043 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
18045 * libc/include/machine/ieeefp.h
18046 * libc/include/machine/setjmp.h
18047 * libc/include/sys/fcntl.h
18048 * libc/include/sys/signal.h
18049 * libc/include/sys/types.h
18050 * libc/stdlib/system.c:
18051 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
18052 API availability, __CYGWIN32__ for cygwin32 environment specific).
18054 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
18056 * libc/include/stdlib.h: add multibyte character functions. Add
18057 __eprintf for assert.
18059 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18061 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
18062 arithmetic or __alignof__ to properly get the alignment, instead
18063 of hardwiring it to 4.
18065 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
18067 * libc/stdio/fseek.c: add fflush call to adjust seek offset
18068 on append stream (fix from NetBSD sources), adjust curoff offset
18069 for ungetc's benefit.
18070 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
18071 * libc/stdio/rewind.c: replace code with up to date NetBSD
18072 code to undo hacks made to work around above problem of not
18073 having fflush call mentioned above
18075 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
18077 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
18078 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
18079 Partially revert last changes. The thread specific errno is set
18080 iff if the underlying syscall fails and the global errno is not
18083 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
18085 * libc/reent/filer.c: Removed files, all functions have split out
18086 into their own files.
18087 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
18088 New files containing functions formally in filer.c
18089 * libc/reent/Makefile.in: Updated for above change.
18091 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
18092 syscall fails, not if errno is changed.
18093 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
18094 _write_r): Likewise.
18095 * libc/reent/fstatr.c (_fstat_r): Likewise.
18096 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
18097 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
18098 * libc/reent/signalr.c (_kill_r): Likewise.
18099 * libc/reent/statr.c (_stat_r): Likewise.
18100 * libc/reent/timer.c (_gettimeofday_r): Likewise.
18102 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
18103 signalr.c, statr.c, timer.c} (errno): declare extern rather
18106 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
18107 instead of calling vfprintf so that i*printf will not require
18108 floating point support code.
18110 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
18112 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
18114 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
18115 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
18117 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
18119 * libc/include/signal.h: _sig_func_ptr function takes an int
18120 * libc/include/sys/signal.h: sa_handler function takes an int
18122 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
18124 * libc/include/machine/ieeefp.h: Simplify H8/S support.
18125 * libc/include/sys/config.h: Add missing H8/S conditional.
18127 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
18129 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
18131 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
18133 * libc/include/machine/setjmp.h: Handle H8/S.
18134 * libc/include/machine/ieeefp.h: Likewise.
18135 * libc/include/sys/config.h: Likewise.
18136 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
18137 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
18138 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
18139 * libc/sys/h8300hms/crt0.S: Likewise.
18141 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
18143 * Makefile.in (datadir): Set to $(prefix)/share.
18144 (oldincludedir, docdir): Removed.
18145 * doc/Makefile.in (datadir): Set to $(prefix)/share.
18146 (oldincludedir, docdir): Removed.
18147 * libc/Makefile.in (datadir): Set to $(prefix)/share.
18148 (oldincludedir, docdir): Removed.
18149 * libm/Makefile.in (datadir): Set to $(prefix)/share.
18150 (oldincludedir, docdir): Removed.
18152 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
18154 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
18157 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
18159 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
18160 fetch current path rules with sysconf and handler posix/win32
18163 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
18165 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
18166 (WAIT_CHILD): Always define.
18168 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
18170 * libc/stdlib/eprintf.c: New file.
18171 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
18172 (eprintf.o): New target.
18174 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
18176 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
18177 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
18179 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
18181 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
18182 NT in PowerPC endianess cases.
18184 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18186 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
18188 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18190 * libc/string/strtok.c: Fix doc typo.
18192 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
18194 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
18195 _next, _scanpoint, _signgam fields.
18197 * libc/include/stdlib.h (rand_r): Added new declaration.
18198 (_rand_r, _srand_r): Removed declarations.
18199 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
18200 have been made obsolete by rand_r.
18201 * libc/stdlib/rand_r.c: New file, rand_r function as specified
18204 * libc/string/strtok.c: Update documentation to describe
18207 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
18209 * libc/include/sys/stat.h (stat structure): Use the expanded stat
18210 structure on Solaris, and PowerPC systems even though __svr4__ is
18213 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
18215 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
18217 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
18219 * host/any: Use ../.. rather than .. to get to the main build
18220 directory. This matches the current layout of the build
18223 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
18225 * libc/machine/h8300/__main.S: Delete. No longer needed.
18226 * libc/machine/h8300/Makefile.in: Corresponding changes.
18227 * libc/sys/h8300hms/crt1.c: New file.
18228 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
18229 * libc/sys/h8300hms/crt0.s: Call __main.
18231 * libc/sys/h8300hms/crt0.S: Use temporary label names
18232 for branch targets.
18234 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
18236 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
18238 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18240 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
18241 .sdata on the PowerPC so that we can link newlib with code
18242 compiled with -msdata.
18244 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
18246 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
18248 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
18250 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
18251 exception handler to __cygwin_exception_handler.
18253 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
18255 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
18257 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
18259 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
18261 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
18262 wcstombs.o): Likewise.
18264 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
18266 * libc/stdlib/environ.c (initial_env): New static local.
18267 (environ): Point to `initial_env'.
18269 * libc/include/machine/setjmp.h: Clean up.
18270 (__H8300H__,__PPC__): Define _JBTYPE.
18271 (__arm__): Provide entry for.
18272 (sigjmp_buf): Delete.
18273 (jmp_buf): Use _JBTYPE if defined, otherwise int.
18275 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
18277 * libc/machine/h8300/strcmp.S: Sign extend the result to
18278 32bits so we don't lose with -mint32.
18280 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
18282 * libc/sys/go32/sys/errno.h: New file.
18283 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
18284 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
18285 errno's address (make compatible with rest of newlib).
18286 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
18287 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
18289 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
18291 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
18292 * libc/machine/sparc/Makefile.in: Build them.
18293 * libc/machine/sparc/machine/sparclet.h: New file.
18295 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
18297 * libc/machine/sh/asm.h: New file.
18298 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
18299 support for SH3e's FP registers. Use asm.h.
18301 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
18303 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
18304 as first argument. Call _dtoa_r and pass the reent structure
18305 instead of calling __dtoa.
18307 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
18309 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
18310 the h8300, h8500, and others. Add comments for some rather
18313 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
18315 * Makefile.in (check): Check that testsuite exists before cd.
18317 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18319 * libc/include/string.h (strsep): Correct prototype.
18321 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
18323 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
18324 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
18325 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
18327 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
18329 * libc/posix/{creat.c,isatty.c}: New files.
18330 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
18332 * libc/sys/sparc64/crt0.S (environ): Delete.
18333 (.LHaveBias): Renamed from HaveBias.
18335 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
18337 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
18338 (_morecore_r): Delete SBRK_IS_ALLOC support.
18340 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18342 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
18343 module rather than touch, so we don't get warning messages when
18344 all of the libraries are combined into libc.a.
18346 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
18348 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
18349 crt0.s replaced by version in libgloss.
18351 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
18353 * libc/reent/Makefile.in (OFILES): Add impure.o.
18354 * libc/reent/impure.o: New file, define initial reentrancy struct.
18355 * libc/reent/reent.c: Remove above definition.
18357 * libm/math/sf_asinh.c: Fix typo.
18359 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
18362 * libm/libm.texinfo: Change documentation to reflect changes
18363 in reentrancy model.
18364 * libm/math/w_gamma.c: Likewise.
18366 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
18368 * configure.in (*-*-cygwin32): New.
18369 (*-*-win32): Deleted.
18370 * libc/sys/win32 renamed libc/sys/cygwin32.
18372 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18374 * libc/include/sys/file.h: New include file.
18376 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
18378 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
18380 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
18382 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
18384 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
18386 * doc/makedoc.c (realloc): Declare at file scope.
18387 (catchar): Not here.
18389 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
18391 * Makefile.in (VERSION): Update to 1.7.0.
18392 * {libc,libm}/Makefile.in (VERSION): Likewise.
18393 * configure.in: Minor clean up of multilib stuff.
18395 From David Johnson <davidj@ICSI.Berkeley.EDU>
18396 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
18398 * libc/stdlib/environ.c: New file.
18399 * libc/stdlib/Makefile.in (OFILES): Build it.
18400 * libc/sys/h8500hms/crt0.c (environ): Deleted.
18401 * libc/sys/m88kbug/crt0.c (environ): Deleted.
18402 * libc/sys/z8ksim/crt0.c (environ): Deleted.
18403 * libc/sys/netware/environ.c: Deleted.
18405 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
18407 * configure.in (links): set sys_dir, posix_dir, syscall_dir
18409 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
18411 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
18412 declaration out to external scope and declare it PTR, not char *.
18414 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
18416 * libc/include/sys/unistd.h (getpagesize): New declaration.
18417 (_SC_PAGESIZE): New definition.
18418 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
18419 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
18421 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
18423 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
18424 addressing. System call returns size, not (last address + 1).
18426 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18428 * libm/math/*.c: Removed _foo_r() reentrancy API.
18429 * libc/include/math.h: Removed _foo_r prototypes and macros.
18431 * libm/math/*.c: On systems with IEEE single precision "doubles"
18432 move foo() -> foof() wrapper code from the files that implement
18433 the standard IEEE double precision functions to the files that
18434 implement IEEE single precision functions. (ie. On those systems
18435 sin is moved from s_sin.c to sf_sin.c). There should eventually
18436 be use of a C extension (like gcc's alias attribute) so that the
18437 wrappers are not needed at all.
18439 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
18440 strict NEC V810 compiler.
18441 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
18444 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18446 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
18447 from NetBSD C library.
18448 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
18450 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
18451 and adapted from implementation I wrote for NetBSD C library.
18452 The difference is __assert doesn't take a format argument,
18453 so that there won't be multiple copies of the same string
18454 constant in the executable if assertions are enabled in
18455 more than one source module.
18456 * libc/include/assert.h (assert): Changed to call __assert.
18458 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18460 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
18461 word1 on systems with 32 bit doubles.
18462 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
18463 so that we can do arithmetic on them.
18464 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
18467 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
18469 * libc/sys/arm/crt0.S: Zero bss.
18471 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
18473 * libc/include/unctrl.h: New file.
18474 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
18475 * configure.in (subdirs): Add libc/misc.
18476 * libc/Makefile.in (SUBDIRS): Add misc.
18477 (SUBLIBS): Add misc/lib.a.
18479 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
18481 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
18483 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
18484 (_vfprintf_r): Call CHECK_INIT.
18486 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
18488 * Makefile.in (MULTITOP): Delete.
18489 (MULTISRCTOP, MULTIBUILDTOP): Add.
18490 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
18491 instead of cfg-ml-pos.in.
18493 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
18495 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
18496 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
18499 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
18501 * libc/string/strtok.c: Include string.h to pick up strtok_r
18504 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18506 * libc/string/strtok.c: include <_ansi.h>.
18507 * libc/time/asctime_r.c: `reresult' -> `result'.
18509 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18511 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
18512 in #ifndef _REENT_ONLY ... #endif conditional.
18514 * libc/include/string.h (_strtok_r): Remove declaration.
18515 * libc/include/time.h (_asctime_r): Remove declaration.
18516 * libc/string/strtok.c (_strtok_r): Removed.
18517 * libc/time/asctime.c (_asctime_r): Removed.
18519 * libc/string/Makefile.in (OFILES): Add new object.
18520 * libc/string/strtok_r.c: New file. strtok_r function as
18521 specified by POSIX.1c, adapted from strtok implementation
18522 from NetBSD C library.
18523 * libc/string/strtok.c (strtok): Reimplemented in terms of
18526 * libc/time/Makefile.in (OFILES): Add new objects.
18527 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
18528 New files, reentrant time functions specified by POSIX.1c.
18529 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
18530 reentrant time functions re-written in terms of reentrant
18532 * libc/time/lcltime.c: Renamed from localtime.c
18534 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
18535 gmtime_r, and localtime_r.
18537 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
18539 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
18540 * libc/include/sys/unistd.h (getlogin): Revert change of
18542 * libc/include/sys/signal.h (sigprocmask): Change prototype
18543 so it compiles with c++.
18545 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
18547 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
18548 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
18549 to give some room in case we need to align the jmp_buf.
18551 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
18552 the new ppc-asm.h include file the compiler provides to specify
18553 function prologue/epilogue. Eliminate saves of the xer and ctr
18554 registers, which are volatile. Before starting to save registers,
18555 align to 8 byte boundary.
18557 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
18559 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
18560 referenced by standard libraries.
18562 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
18564 * libc/unix/Makefile.in, libc/string/Makefile.in,
18565 libc/stdio/Makefile.in, libc/reent/Makefile.in,
18566 libc/posix/Makefile.in:
18567 Remove tabs from otherwise empty line. Confuses some
18568 older non-GNU versions of "make".
18570 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
18572 * libc/sys/unistd.h (getlogin): Returns const char *.
18574 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
18576 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
18577 * libc/include/errno.h: Moved into and include...
18578 * libc/include/sys/errno.h: New file.
18579 * libc/include/sys/wait.h: New file.
18580 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
18581 * libc/sys/win32/*: Moved out.
18582 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
18583 * configure.in (i[345]86-*-win32): HAVE_RENAME
18585 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
18587 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
18588 avoid macro expansion for these two names.
18590 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
18592 * libc/machine/h8500/psi.S: r6 renamed to fp.
18594 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
18596 * configure.in (powerpc*): No longer need to define
18597 NO_LONGLONG_POINTERS to supress warnings.
18599 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
18601 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
18602 through PTR instead of directly.
18604 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
18605 non-standard constructor support.
18607 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18609 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
18610 address of the Bigint instead of the address of its _x field,
18611 as the size the result buffer was calculated accordingly.
18612 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
18614 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
18615 from NetBSD C library. No longer special cases division by
18616 zero (which needs to be done by the application anyway), but
18617 it doesn't need to call abs() (or labs()) four times either.
18619 * libc/stdlib/qsort.c: Replaced with implementation from
18622 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18624 * libc/stdio/vfprintf.c: Replaced with implementation from
18625 NetBSD C library (which is derived from the 4.4BSD C library).
18626 * libc/stdio/cvt.c: Removed.
18627 * libc/stdio/Makefile: Updated.
18629 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
18631 * libc/sys/win32/syscalls.c (rename): New.
18632 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
18634 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
18636 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
18637 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
18639 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
18640 (setjmp.o): Delete rule to build setjmp.o.
18641 * libc/sys/sh/setjmp.S: Delete file.
18643 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18645 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
18646 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
18647 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
18648 pow5mult and s2b to identifiers with leading underscores.
18649 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
18650 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
18652 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
18654 * libc/sys/posix/popen.c (sys/types.h): Include.
18656 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
18658 * libc/sys/win32/syscalls.h (fhandler): New struct.
18659 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
18660 (__fhandler_normal): Declare.
18661 (hinfo): New member op_handlers.
18662 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
18663 (__write): Likewise.
18664 (_read, _write, _open, _close, _lseek): Validate fd here.
18665 Move file type specific stuff to foo_normal.
18666 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
18668 (__lookup_fhandler): New function.
18669 (__lookup_fhandler_hook, __fhandler_normal): New variables.
18671 From anders.blomdell@control.lth.se (Anders Blomdell)
18672 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
18673 Don't touch standard handles.
18674 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
18675 (_execve): Only create __FD_TABLE__ if necessary.
18676 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
18678 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
18680 * libc/sys/win32/sys/termios.h (FLUSHO): New.
18681 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
18682 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
18683 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
18684 without a handler is received.
18685 * libc/sys/win32/Makefile.in: Remove --nodelete.
18686 * libc/sys/win32/resouce.c (gettimeofday): New.
18687 * libc/sys/win32/syscalls.c (path_to_real_path): New.
18688 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
18690 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
18692 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
18693 Don't append "/*" to search pattern if trailing '/' already there,
18695 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
18696 like /'s, convert them to \'s. Handle //<drive>/ path names.
18697 Add space for quoted \'s in arg string. Print translated prog name
18698 and original prog name.
18699 (_execve): Handle parent doing exec a teensy bit better.
18700 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
18701 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
18702 path needs conversion, handle both cases. Delete `const' from result.
18703 (hash_path_name): New function.
18705 (_stat): Likewise. Fill in more fields for directories.
18706 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
18707 (wait_for_any): Fix trace message.
18708 (waitpid): Explicitly test for intpid == 0.
18710 From anders.blomdell@control.lth.se (Anders Blomdell)
18711 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
18712 so `next' is valid.
18714 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
18716 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
18719 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18721 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
18722 at all, not just == 1.
18723 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
18725 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18727 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
18728 * libc/sys/win32/include/wintypes.h: include <winnt.h>
18729 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
18732 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
18734 * libc/sys/syscalls.c (getcwd): Fix off by one error.
18736 * libc/sys/signal.c (sleep): Fill it in.
18737 * libc/sys/termios.c (tcflush): Use PurgeComm
18738 (tcsetattr): Set some more of the bits.
18739 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
18741 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
18743 * libc/sys/arm/crt0.S (fp): Initialize to 0.
18744 Conditionally include .idata$3 stuff ifdef __pe__.
18746 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
18748 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
18749 * libc/sys/win32/pipe.c (pipe): Ditto.
18750 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
18751 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
18752 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
18753 (tcgetattr): Contents are new.
18754 * libc/sys/win32/include/winkernel.h (DCB): New.
18755 (GetCommState, SetCommState): New.
18757 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
18759 * libc/sys/arm/crt0.S (_start): Define.
18761 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
18763 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
18764 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
18766 * libc/sys/win32/sysconf.c: New
18767 * libc/sys/win32/sys/winadvapi.h: New
18768 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
18769 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
18770 * libc/sys/win32/pipe.c (pipe): Ditto.
18771 * libc/sys/win32/signal.c (_raise): New.
18772 (_kill): Moved from spawn.c
18773 * libc/sys/win32/spawn.c (kill): Moved to signal.c
18774 * libc/sys/win32/syscalls.c (__read): Use new fields.
18776 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
18777 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
18778 * libc/include/sys/unistd.h (rmdir): Takes const path.
18779 * libc/include/sys/stat.h (mkdir): Takes const path.
18780 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
18782 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
18784 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
18786 Add support for specifying paths as //<drive>/foo/bar.
18787 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
18788 (__path_to_real_path): Declare.
18789 (PATH_TO_REAL_PATH): New macro.
18790 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
18791 (__path_needs_conversion_p, __path_to_real_path): New functions.
18792 (_open): Fix test for error return from CreateFileA.
18793 Handle new path syntax.
18794 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
18795 * libc/sys/win32/dirsearch.c (opendir): Likewise.
18797 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
18799 * libc/sys/win32/include/*.h: Reorganized
18800 * libc/sys/win32/include/WINREADME: New.
18801 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
18802 * libc/sys/win32/*.c: Fix for new include scheme.
18803 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
18804 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
18805 * libc/sys/win32/passwd.c (*): Fix.
18806 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
18807 (_stat): Get directory owner and permissions right.
18808 * libc/sys/win32/syscalls.h (uinfo): New.
18809 * libc/sys/win32/version.def: Remove leading underscores.
18811 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18813 * libc/sys/win32/key.c: include "include/wincon.h".
18815 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
18817 * libc/sys/win32/{key, stubs}.c: New.
18818 * libc/sys/win32/Makefile: Adjust to cope.
18819 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
18820 (environ_init): Change env names to upper case.
18821 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
18822 * libc/sys/win32/passwd.c (*): Fill in the functions.
18823 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
18824 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
18825 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
18826 (_open): Initialze hmap->execable_p too.
18827 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
18828 (_fstat): Fill in permissions.
18829 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
18831 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
18833 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
18835 (cfg-ml-pos.in invocation): Likewise.
18837 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
18839 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
18840 s_isnan.o and sf_isnan.o.
18842 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
18844 * All Makefile.in files: added maintainer-clean target as a
18845 synonym for realclean.
18847 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
18849 * libc/include/machine/setjmp.h: Add hppa support.
18850 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
18852 * libc/machine/hppa/Makefile.in: Related changes.
18854 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
18856 * configure.in (machine_dir): Don't set for v810-*-*.
18858 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18860 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
18861 conventions correctly.
18863 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
18865 * libc/stdio/puts.c: Update documentation of return value to match
18868 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
18870 Fix file descriptor inheritance.
18871 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
18872 (NOT_OPEN_FD): Fix.
18873 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
18874 close-on-exec flag not set. Initialize child's entire fd table.
18875 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
18877 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
18878 if CHILD_P. Initialize entire hmap entry.
18879 (dup): Only create new handle as inheritable if CHILD_P.
18880 (dup2): Likewise. Properly initialize hmap entry.
18882 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
18884 (_exit): Use CHILD_P.
18885 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
18888 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18890 * libc/sys/win32/crt0.c (passover): fix up the state table.
18891 * libc/posix/popen.c: Added.
18892 * libc/posix/Makefile.in: compile popen.c.
18894 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
18896 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
18897 h8/500 define _DOUBLE_IS_32BITS.
18899 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
18901 Get vfork/exec/spawn/cwait/wait working again.
18902 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
18903 (procinfo): New member vfork_level.
18904 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
18905 (vfork_init_first): Use GetCurrentProcessId to get pid.
18906 Initialize vfork_level.
18907 (vfork_init): Delete __PID__.
18908 (environ_init): New function. Undo patch of Aug 19, Posix says
18909 environment variables are case sensitive.
18910 (mainCRTStartup): Call it.
18911 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
18912 (my_longjump: Make static.
18913 (_spawn): New argument `h'. Delete setting of __PID__.
18914 Delete local `idx'. Look for chars that need quotes, rather than
18915 ones that don't. Set handle of created process in `h'.
18916 Result is process id if created task.
18917 (allocate_spawn_entry): New function.
18918 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
18919 (_execve): Set __FD_TABLE__ before spawning child.
18920 Scan our fd table when passing fds, not our parent's.
18921 Store handle and pid in procinfo entry.
18922 (vfork0): Ensure strace message always printed.
18923 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
18924 (vfork): Don't clobber result of vfork0.
18925 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
18926 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
18928 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
18930 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
18931 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
18932 adding vfork level to pseudo-pid.
18933 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
18934 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
18935 (_exit): If child, set exit code.
18936 (__vfork_record_death): Only close process handle if valid.
18937 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
18939 (wait_for_any): Likewise. Start scan after root entry.
18941 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18943 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
18944 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
18945 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
18946 of actual file length.
18948 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
18949 * libc/include/paths.h: _PATH_BSHELL added.
18950 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
18953 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18955 * libc/include/ar.h: Added.
18956 * libc/include/sys/types.h: ino_t goes back to 32-bits.
18957 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
18958 * libc/sys/win32/syscalls.c (_open): compute .namehash based
18960 (_fstat): use .namehash for inode number of the fd.
18962 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
18964 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
18965 Change hinfo to __this_procinfo.
18966 * libc/sys/win32/crt0.c: Remove procinfo_list.
18968 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18970 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
18973 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
18975 * libc/sys/win32/include/grp.h: Removed.
18976 * libc/sys/include/grp.h: Added.
18977 * libc/sys/win32/grp.c: Include <grp.h>.
18979 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
18981 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
18982 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
18983 Defined for all but strict ANSI.
18984 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
18985 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
18986 * libc/signal/signal.c (_signal_r): Changed from using
18987 _MAX_SIGNALS to NSIG.
18988 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
18990 (__strace, __vfork_next_pid): New.
18991 (__exe_suffix): Default to 1.
18992 (passover, table): Understand quoted arguments.
18993 (vfork_init_first): New.
18994 (vfork_init): Initialize new process structure.
18995 (mainCRTStartup): Pass environ to main.
18996 * exceptions.c (__sig_mask): New
18997 (ehandler3): Ignore signals in mask.
18998 (really_exit): Remove CHILD_P test.
18999 * pipe.c (pipe, dup, dup2): Use new process and file structure.
19000 * resource.c (getrusage): Ditto.
19001 * signal.c (sigprocmask): New.
19002 * spawn.c (*): Rewritten.
19003 * syscalls.c (*): Use new process and file structure.
19004 (find_unused_handle): New.
19005 * syscalls.h (MAX_HANDLES): Deleted.
19006 (hinfo): Removed child_created_p.
19007 (MAX_CHILDREN): Deleted.
19008 (vfork_jmp_info, procinfo): New.
19009 * wait.c (*): Mostly new.
19010 * sys/strace.h (_STRACE_PARANOID): New.
19011 * sys/param.h: New file.
19013 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19015 * libc/include/sys/stat.h: add S_BLKSIZE.
19016 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
19017 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
19019 (mode_t): add a #else to avoid multiple definitons.
19021 * libc/sys/win32/Makefile.in: add grp.c.
19022 * libc/sys/win32/grp.c: include grp.h correctly.
19023 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
19024 of the st structure with real information.
19025 * libc/sys/win32 (dirent): d_ino is of type ino_t.
19027 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
19029 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
19030 and (maybe) sparc64.
19031 (nlink_t): Provide typedef.
19033 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19035 * libc/sys/win32/grp.c: New file.
19036 * libc/sys/win32/include/grp.h: New file.
19038 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19040 * libc/include/machine/ieeefp.h: Added whitespace to make this
19041 file easier to maintain.
19042 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
19043 depending on the value of __LITTLE_ENDIAN__.
19044 On the sh3e, define _DOUBLE_IS_32BITS.
19046 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
19048 * libc/sys/vr4300/syscalls.c: Added missing support
19049 routines. _raise() and getpid().
19051 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
19053 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
19055 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
19057 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
19058 and VR4300 processor.
19059 * libc/sys/vr4300: Add directory.
19060 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
19061 monitor run-time support.
19063 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19065 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
19066 * libc/stdlib/stdlib.tex: Don't include atol.def.
19068 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19070 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
19072 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
19074 * libc/ctype/Makefile.in: Fill in _to* dependencies.
19076 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
19078 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
19079 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
19080 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
19081 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
19082 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
19084 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19086 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
19088 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19090 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
19091 * libc/stdlib/atoff.c: New file.
19092 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
19093 * libc/stdlib/atoi.c (atol): Removed.
19094 * libc/stdlib/atol.c: Removed duplicate documentation.
19096 * libc/include/ctype.h (_tolower, _toupper): Moved inside
19097 #ifndef _STRICT_ANSI conditional.
19098 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
19099 * libc/ctype/_tolower.c: New file.
19100 * libc/ctype/_toupper.c: New file.
19101 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
19102 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
19103 * libc/ctype/toascii.c (_toascii): Removed.
19105 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
19107 * libc/sys/sparc64/sys/types.h: Deleted.
19109 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19111 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
19112 and recognize Windows_95 systems.
19114 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19116 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
19117 and passed fds should be opened in text mode.
19119 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
19121 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
19122 in __hmap, set to binary mode by default.
19124 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19126 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
19127 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
19130 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
19132 * Makefile.in (install): Install all libraries found in the
19133 top level. If there's a sys/<type>/include directory,
19134 install those headers into include.
19136 * libc/sys/win32/kernel.def351: Delete
19137 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
19138 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
19139 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
19140 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
19141 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
19142 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
19143 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
19144 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
19146 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
19147 * libc/sys/win32/crt0.c: Force all env names to upper case.
19148 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
19149 * libc/sys/win32/*.c: Headers have moved.
19150 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
19151 __vfork_child_idx is now __vfork_child_ptr.
19153 * posix/execvp (execvp): Don't crash if no PATH envname.
19155 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19157 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
19158 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
19159 through the _freelist instead of through the _reclaim list.
19160 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
19161 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
19164 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19166 * libc/machine/h8500/setjmp.S: New file.
19167 * libc/include/machine/setjmp.h: Updated for H8/500.
19169 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
19171 * libc/sys/win32/syscalls.c (_open): More stracing.
19172 (_stat): Open the file in O_BINARY.
19174 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19176 * libc/machine/h8300/setjmp.S: New file.
19177 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
19179 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
19181 * libc/sys/win32/crt0.c (__exe_suffix): New global.
19182 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
19183 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
19184 __exe_suffix. Free fd_tab after setting env variable.
19185 (spawnv,_execve): Update.
19186 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
19187 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
19188 (__small_vfprintf): New function.
19189 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
19190 * libc/sys/win32/wait.c (cwait): Validate argument.
19192 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
19193 (process_deletion_queue): Likewise.
19195 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
19197 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
19199 * libc/sys/win32: Copyrights and gratuitous indenting.
19201 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
19203 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
19204 (process_deletion_queue): Likewise.
19205 (__close_all_files): New function.
19206 (_close): Only queue file deletion if really a file.
19207 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
19209 (_exit): Call __close_all_files.
19211 * libc/stdlib/system.c: #include <errno.h>.
19212 (_system_r): Fix results in -DNO_EXEC case.
19214 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
19215 Reorganize structure.
19216 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
19217 if argument is valid. Save directory name in DIR. malloc space
19218 for dirent struct separately.
19219 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
19221 * libc/include/errno.h (ENAMETOOLONG): Define.
19222 * libc/string/strerror.c (strerror): Reword ENFILE.
19223 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
19225 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
19227 * libc/sys/win32/crt0.c (__progname): New global.
19228 (mainCRTStartup): Support strace=bitmask,filename.
19229 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
19230 * libc/sys/win32/syscalls.c (_write): Print parent trace message
19232 (getcwd): Handle len too small. Convert '\\' to '/'.
19233 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
19234 Add prototypes for open, creat, fcntl.
19235 (O_APPEND): Change value to conform to Microsoft's value.
19236 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
19238 * libc/stdlib/getopt.c: New file.
19239 * libc/stdlib/Makefile.in: Build it.
19241 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
19243 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
19244 Fix scanning of $PATH.
19245 * libc/posix/exec*.c: Call _execve, not execve.
19246 * libc/posix/execve.c: New file.
19247 * libc/posix/Makefile.in (OFILES): Add execve.o.
19249 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
19250 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
19251 (_STRACE): If level==0, always print. Handle new bit mask scheme.
19252 * libc/sys/win32/crt0.c: Update _STRACE calls.
19253 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
19255 * libc/sys/win32/smallprint.c (rn): Fix digit list.
19257 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
19258 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
19259 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
19260 Print __seterrno trace message first.
19261 (_execve): Renamed from execve.
19262 (vfork): Update __strace usage.
19263 (__vfork_child_pid): Deleted.
19264 (__vfork_children, __vfork_child_idx): New globals.
19265 (_spawnvp): New function.
19266 (spawnvp, spawnv, _execve): Call _spawnvp.
19267 (init_child): Record child in __vfork_children.
19268 (__vfork_get_entry, __vfork_record_death): New functions.
19269 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
19270 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
19271 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
19272 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
19273 (children): New typedef.
19274 (__vfork_children,__vfork_child_idx): Declare.
19275 (__vfork_get_entry,__vfork_record_death): Declare.
19276 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
19277 (waitpid): Handle pid == -1.
19278 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
19279 * configure.in (i386-win32): Add -DNO_FORK.
19280 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
19281 * libc/reent/execr.c (_fork_r): Likewise.
19282 * libc/stdlib/system.c (do_system): New function.
19283 If WIN32, try to get shell path from $SH_PATH, use vfork.
19284 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
19285 otherwise return 0.
19287 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
19289 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
19290 * libc/sys/win32/fcntl.h: Don't include self.
19291 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
19292 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
19293 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
19294 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
19295 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
19296 Correct prototypes.
19297 * libc/sys/win32/strace.c: New file.
19298 * libc/sys/win32/smallprint.c: New file.
19299 * libc/sys/win32/crt0.c (func): Delete.
19300 (mainCRTStartup): Fix alloca usage. Set handles explictly.
19301 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
19302 * libc/sys/win32/exceptions.c: Lint.
19303 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
19304 Clean up handle usage.
19305 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
19306 (open.c): Default file type is text.
19307 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
19308 * libc/sys/win32/advapi32.def: New
19310 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
19312 * configure.in (posix_dir, libc_posix_lib): New variables.
19313 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
19314 (i[345]86-*-win32): Define posix_dir.
19315 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
19316 (if unix_dir): Fix typo.
19317 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
19318 scandir,seekdir,telldir}: New files.
19319 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
19321 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
19322 (SUBDIRS): Add posix.
19323 (SUBLIBS): Add $(LIBC_POSIX_LIB).
19325 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
19326 (NSIG): Increase to 21.
19327 * libc/include/sys/unistd.h (pid_t): Move from here,
19328 * libc/include/sys/types.h (pid_t): to here.
19330 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
19331 (__ptrace): Delete.
19332 (hinfo): New members close_exec_p, child_created_p.
19333 (struct exception_list): Define.
19334 (__hmap): Redefine as pointer to table.
19335 (__parent_hmap, __child_hmap): New globals.
19336 (__set_errno, __really_exit): Declare.
19337 (__vfork_child_pid): Declare.
19338 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
19339 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
19340 (__parent_hmap, __child_hmap): New globals.
19341 (__hmap): Redefine as pointer to active map.
19342 (__get_console): New function.
19343 (mainCRTStartup): Change leading '=' in environ vars to '!'.
19344 (env __FD_TABLE__): Watch for this and initialize our fd/handle
19345 mapping table from it if defined.
19346 (argv, envp): Dump if __strace >= 4.
19348 * libc/sys/win32/exceptions.c (myp): Redefine.
19349 (__syscalls_b): Delete.
19350 (__stack_trace): New function.
19351 (ehandler3): Update to use _STRACE. Print stack trace.
19352 Call __really_exit instead of exit.
19353 (init_exceptions): Delete args argc,argv. New arg mine.
19354 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
19355 FindFirstFileA, FindNextFileA, GetComputerNameA,
19356 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
19357 * libc/sys/win32/signal.c (signal): Validate arg.
19358 (alarm, sleep): Define as stubs for now.
19359 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
19360 (__syscalls_b, errno): Delete.
19361 (__vfork_child_pid, __vfork_jmp_buf): New globals.
19362 (__seterrno): Handle more errors.
19363 (__sys_printf): Renamed from _ptrace.
19364 (__really_exit): New function.
19365 (queue_file_deletion, process_deletion_queue): New functions.
19366 (__resume_parent): New function.
19367 (_unlink): Handle trying to delete open file.
19368 (__totime_t): Renamed from totime_t.
19369 (setsid, __read, __write): New functions.
19370 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
19371 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
19372 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
19373 * libc/sys/win32/console.c: Update to new definition of __hmap.
19374 * libc/sys/win32/Makefile.in: Build new files.
19375 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
19376 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
19377 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
19378 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
19380 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
19382 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
19384 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19386 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
19387 have been made to the master dtoa.c sources (from netlib.att.com)
19388 since they were integrated into newlib in early 1992. Fixes
19389 problems with storage leaks and handling of numbers with very
19390 negative exponents.
19392 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19394 * Makefile.in (all): set rootpre and srcrootpre before calling
19397 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
19399 * libc/sys/win32/crt0.c: Change __hmap usage.
19400 * libc/sys/win32/exceptions.c: Use _ptrace call.
19401 * libc/sys/win32/syscalls.c: Use _ptrace call.
19402 (read, write): Cope with DOS style CRLF when in TEXT mode.
19403 * libc/sys/win32/syscalls.h: Declare hinfo struct.
19404 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
19405 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
19406 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
19407 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
19409 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19411 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
19413 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
19414 wrappers for hypot() and remainder() for BSD libm compatibility.
19415 These are public domain implementations written by me for the
19416 NetBSD libm some time ago. Note cabs() is required by ucbtest.
19417 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
19418 (fobj): Added wf_cabs.o and wf_drem.o.
19420 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19422 * libc/sys/h8500hms/misc.c: New file.
19423 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
19425 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19427 * libc/time/localtime.c (localtime): Fix problem with leap year
19428 handling. Stole algorithm from Arthur David Olson's tz code.
19430 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
19432 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
19434 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
19435 (_exit): Use argument.
19437 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
19439 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
19441 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
19443 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
19445 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19447 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
19450 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
19452 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
19453 ptrace with case insensitivity
19454 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
19455 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
19458 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
19460 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
19461 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
19462 (all, install, *clean): Use new multilib support.
19463 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
19465 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
19467 * libc/include/sys/signal.h (__WIN32__): New.
19469 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
19471 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
19472 (ulp, b2d): Handle 32 bit doubles.
19473 * libc/stdlib/mprec.h: Handle 32 bit doubles.
19474 * libc/stdlib/strtod.c (_strtod_r): Ditto.
19476 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
19478 from medp@primag.co.uk:
19479 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
19480 dynamically allocated buffers.
19482 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
19484 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
19485 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
19487 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
19489 * configure.in (powerpc): Fix previous fix.
19491 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
19493 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
19494 directories for this target.
19496 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
19498 * configure.in (hppa): Add machine_dir definition.
19499 * libc/machine/hppa: New directory with PA specific implementations
19500 of the basic memory/string functions.
19502 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
19504 * configure.in: Update current PowerPC multilib directories.
19505 Split big and little endian configurations.
19507 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
19509 * configure.in: Add --enable-single-float option to configure to
19510 control use of MIPS single-float directories. Default to yes.
19512 * Makefile.in (all): Don't recurse into multilib directory if it
19515 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19517 * libc/sys/sh/syscalls.c: Fix typo.
19519 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
19521 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
19523 * libc/include/process.h: Define WAIT_CHILD.
19524 * libc/include/types.h: Get sizes right for win32.
19525 * configure.in (i386-*-pe): Becomes i386-win32.
19526 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
19527 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
19528 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
19531 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
19533 * configure.in (i[345]86-*-pe): New target (NT).
19534 * host/any: DLLTOOL new.
19535 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
19536 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
19537 WIN32 (just enough to cross host the comp-tools).
19539 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
19541 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
19542 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
19544 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
19546 * libc/include/machine/ieeefp.h (arm): Change to always be
19547 __IEEE_BIG_ENDIAN (even on little endian ARM's).
19549 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
19551 * libc/sys/crt0.S: Initialze sp, and call exit after main.
19552 * libc/sys/syscalls.c (abort): New.
19553 * configure.in (arm): Define ABORT_PROVIDED.
19555 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19557 * configure.in (powerpc): Define multidirs.
19559 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
19561 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
19563 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
19565 * configure.in (sparclite): Delete target_cflags. Define multidirs.
19567 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
19569 * configure.in, libc/include/machine/ieeefp.h: Modified
19571 libc/machine/arm/*, libc/sys/arm/*: New
19573 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19575 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
19576 __powerpc__ when determining endianness.
19578 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19580 * configure.in (m68*): Add multidir for the m68332.
19582 * host/any (CC): Fix typo in last change.
19584 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
19586 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
19587 when determining endianness.
19588 * libc/include/machine/ieeefp.h: Ditto.
19589 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
19592 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
19594 * libc/include/errno.h (ENOTEMPTY): Define.
19596 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19598 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
19601 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
19604 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
19605 instead of only when open succeeds. ANSI requires that multiple
19606 calls to tmpnam() result in different files.
19608 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
19609 objects pulled in from /lib/libc.a that must be renamed before
19610 being pulled into newlib. /lib/libc.a's div.o conflicted with
19611 newlib's file with the same name.
19613 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
19615 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
19616 the build tree will only be used if the executables are present
19617 (instead of just the Makefiles).
19619 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
19621 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
19622 versions of these functions that I orignally wrote for the
19624 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
19625 versions I wrote for NetBSD.
19627 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
19629 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
19630 * libc/sys/sparclite/crt0.s: ditto.
19632 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
19634 * configure.in: Add soft-float for proelf.
19636 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
19638 * libc/stdlib/mprec.h (Bcopy): Copy the right number
19641 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
19643 * Makefile.in (all): Depend on `force'.
19644 * configure.in (syscall_dir): Renamed from fake_sys_dir.
19645 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
19646 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
19647 * libc/Makefile.in: Likewise.
19648 * libc/include/reent.h: Update syscall references.
19649 (_fcntl_r): Add prototype.
19650 * libc/syscalls/*.c #include <reent.h>.
19651 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
19653 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
19655 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
19656 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
19657 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
19658 (time.h, sys/types.h): Always include (even if MSDOS).
19659 (stat): Fix prototype.
19661 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
19663 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
19665 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
19667 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
19669 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
19671 * libc/include/regdef.h: New file.
19672 * libc/machine/mips/machine/regdef.h: New file.
19674 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
19676 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
19678 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
19680 * libc/sys/sh/crt0.S: Pass main's return to exit.
19681 * libc/sys/sh/trap.S: Put errno in the right place.
19683 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
19685 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
19686 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
19687 * libm/math/ef_rem_pio2.c: Likewise.
19688 * libm/math/e_log10.c: Remove unused static one.
19689 * libm/math/ef_log10.c: Likewise.
19690 * libm/math/s_frexp.c: Likewise.
19691 * libm/math/sf_frexp.c: Likewise.
19693 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
19695 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
19696 longjmp.S: Upgraded.
19697 * libc/sys/go32/sys/setjmp.h: Upgraded.
19698 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
19700 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
19702 * configure.in: Add many entries to multidirs for mips targets.
19704 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
19706 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
19707 5.2 which fixes bug where jn(-1,x) is three times larger than
19709 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
19711 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
19713 * libc/sys/w65/sys/syscalls.h: New file
19714 * libc/include/machine/ieeefp.h: W65 support.
19715 * libc/include/sys/config.h: Ditto.
19716 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
19717 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
19718 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
19720 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
19722 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
19724 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
19726 * Makefile.in, configure.in: Remove any references to the old
19729 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
19731 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
19732 uses ... in prototype.
19735 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
19737 * libc/sys/a29khif/sys/libconfig.h: Remove.
19738 * libc/sys/go32/sys/libconfig.h: Remove.
19739 * libc/sys/sun4/sys/libconfig.h: Remove.
19740 * libc/sys/sysvi386/sys/libconfig.h: Remove.
19741 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
19742 * libc/sys/sparc64/sys/libconfig.h: Remove.
19744 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
19745 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
19746 * libc/include/math.h: Change all uses of _FLOAT_RET and
19747 _FLOAT_ARG to float.
19748 * libm/test/math.c: Likewise.
19749 * testsuite/libm.sac/math.c: Likewise.
19750 * testsuite/libm.sac/working/math.c: Likewise.
19752 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
19754 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
19755 gcc calls gas with endian option.
19756 * configure.in (sh): Build little endian version too.
19758 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
19760 * configure.in: Configure big and little endian versions for MIPS
19763 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
19765 * libc/include/limits.h: Deleted.
19766 * libc/include/machine/limits.h: Deleted.
19768 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
19770 * ChangeLog: Remove stub directory. This has all been rewritten
19771 and moved to devo/libgloss.
19773 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
19775 * Makefile.in (dvi): Add to info target, use $@ in sub make.
19776 (docs): Merge into info target.
19777 * libm/Makefile.in (dvi): Add $(srcdir).
19778 * libm/math/Makefile.in (chobjs): Remove underscores from file
19779 names. Texinfo doesn't like them.
19780 (wacos.def, ...): Add explicit targets for all .def files.
19781 * libm/math/math.tex: Remove underscores from @include file names.
19782 * doc/Makefile.in (dvi): Add dummy target.
19783 * testsuite/Makefile.in (dvi): Add dummy target.
19785 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
19787 * Makefile.in (VERSION): Define. For net newlib releases.
19789 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
19791 * README: New file.
19793 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
19795 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
19797 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19799 * libc/stdlib/setenv.c (_findenv): Declare.
19801 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
19802 fcntl to not use _EXFUN, and change string parameters to open and
19803 creat to be ``const char *''.
19804 * libc/sys/sparc64/sys/fcntl.h: Likewise.
19805 * libc/sys/sparc64/creat.c (creat): Make PATH const.
19806 * libc/syscalls/sysopen.c: Include <fcntl.h>.
19807 (open) Make _FILE const.
19808 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
19809 (_creat): Make PATH const.
19810 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
19811 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
19812 * libc/sys/m88kbug/syscalls.c (open): Likewise.
19813 * libc/sys/sh/syscalls.c (_open): Likewise.
19814 * stub/shared/glue.c (open): Make BUF const.
19815 * stub/ex93x/syscalls.c (open): Make FILENAME const.
19817 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
19819 * libc/include/errno.h: Add ENMFILE
19820 * libc/include/sys/config.h: Support Z8000.
19821 * libc/include/sys/signal.h: New signals for go32.
19822 * libc/machine/h8500/psi.S (__addpsir0r0): New function
19823 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
19824 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
19825 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
19826 size is variable, depending upon CHUNK_POWER.
19827 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
19829 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
19831 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
19833 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19835 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
19837 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19839 * configure.in: Change i[34]86 to i[345]86.
19841 * libc/include/math.h: Don't define HUGE_VAL if it is already
19844 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19846 * testsuite/libm.sac/test_erfc.c: Correct some result values.
19847 * testsuite/libm.sac/test_gammaf.c: Likewise.
19848 * testsuite/libm.sac/test_sin.c: Likewise.
19849 * testsuite/libm.sac/test_tanh.c: Likewise.
19851 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19853 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
19854 already set. Define typedefs __int32_t and __uint32_t.
19855 * libc/include/math.h: Include <machine/ieeefp.h>.
19856 (union __dmath): Use __uint32_t.
19857 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
19858 instead of int and unsigned int.
19860 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19862 Replace the math library with the SunPRO fdlibm package.
19863 * libm/math: Completely changed all files.
19864 * libm/ieeefp: Remove contents and directory.
19865 * libm/Makefile.in (LIBM_FP_LIB): Remove.
19866 (SUBDIRS): Just set to math/lib.a.
19867 * libm/libm.texinfo: Updated for new library.
19868 * libc/include/math.h: Extensive changes for new math library.
19869 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
19870 from _FLOAT_ARG to float.
19871 (maxpowtwo, maxpowtwof): Don't declare.
19872 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
19873 (libm_fp_lib): Removed.
19874 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
19875 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
19876 argument to ${RUNTEST}.
19877 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
19879 (RUNTESTFLAGS): Set CC and CFLAGS.
19880 (TESTS): Remove test_log2 and test_log2f.
19881 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
19882 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
19883 _FLOAT_ARG, for single precision argument type.
19884 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
19885 expected failure. Close the input pipe.
19886 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
19887 Correct misspelling of inaccurate.
19888 (test_mok): Use ``inaccurate'', not ``wrong''.
19889 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
19890 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
19891 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
19892 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
19893 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
19894 test_yn.c): Correct many result values. Many are still wrong.
19896 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
19897 just copy the string.
19898 (_gcvt): Always return the buffer.
19900 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19902 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
19904 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
19906 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
19908 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
19909 (_reclaim_reent): declare new entry point.
19910 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
19913 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
19914 ever allocated, so that we can later reclaim them all.
19915 (pow5mult): make reentrant.
19917 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
19918 so that when given NULL as a buffer, return a pointer to static
19919 space in the rent structure. This is not documented behaviour;
19920 it's only to support ecvt and fcvt, which aren't ANSI anyway.
19921 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
19922 therefore become reentrant).
19924 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
19926 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19928 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
19930 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
19932 * Makefile.in: Make link to libg.a after libc.a; this is needed
19933 for the testsuites to build executables when everything comes
19936 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
19938 * libc/Makefile.in: Add a VERSION variable so we can keep track.
19939 * libm/Makefile.in: Add a VERSION variable so we can keep track.
19941 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
19943 * libc/include/stdio.h: Use __VALIST, not va_list.
19945 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
19947 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
19948 testsuite/libm.sac/execute.exp:
19949 Replace error proc calls with perror calls.
19951 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
19953 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
19954 * libc/include/time.h: #define NULL as 0L.
19956 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
19958 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
19961 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
19963 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
19966 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
19968 * configure.in (TARGET_CFLAGS): Set -O2 as default.
19969 (z8k-*-*): Use syscalls fake sys dir.
19970 * libc/sys/z8k/glue.c: Rename syscalls.
19971 * libc/sys/go32/Makefile.in: Use new routines.
19972 * libc/machine/Makefile.in: Fix typo in ln stuff.
19974 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
19976 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
19977 * libc/Makefile.in (crt0.o): Likewise.
19978 * libc/machine/Makefile.in (lib.a): Likewise.
19979 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
19981 All Makefile.in files: Added mostlyclean, realclean and distclean
19984 * Makefile.in: Don't bother to unexport XTRAFLAGS or
19985 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
19986 the top level Makefile.
19988 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
19990 * libc/sys/sparc64/sys/stat.h: New file.
19991 * libc/sys/sparc64/sys/time.h: New file.
19992 * libc/sys/sparc64/sys/types.h: New file.
19994 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
19996 * stub/ex93x/crt0.s (start): Add code to clear bss.
19998 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
20000 * libc/include/sys/types.h (time_t): Properly protect inside
20001 #ifndef __time_t_defined.
20003 * libc/stdio/fileno.c: New file.
20004 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
20005 (fileno.o): Add dependency.
20006 * libc/include/stdio.h (__sgetc): Rename never to _never.
20007 (fileno macro): Disable, needs to do CHECK_INIT first.
20009 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
20011 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
20014 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
20015 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
20017 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
20020 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
20022 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
20023 of the various constants.
20025 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
20027 * libc/include/math.h: #ifndef __math_68881 around things which
20028 conflict with the (gcc-provided) inline functions in
20029 gcc/ginclude/math-68881.h.
20031 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
20033 * libc/include/_syslist.h (_gettimeofday): Define.
20035 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
20036 (struct tms, timeval, timezone): Declare.
20037 (_gettimeofday_r, _times_r): Declare.
20038 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
20039 #ifdef _CLOCK_T_ surrounding definition of clock_t.
20040 (time_t): Add multiple definition protection, __time_t_defined.
20041 * libc/include/sys/time.h: Don't #include <time.h>.
20042 Always define struct timezone (remove #ifndef _TIME_H_).
20043 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
20044 #ifdef _CLOCK_T_ surrounding definition of clock_t.
20045 * libc/reent/Makefile.in (OFILES): Add timer.o.
20046 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
20047 * libc/reent/timer.c: New file.
20048 * libc/time/clock.c: #include <reent.h>.
20049 (clock): Call _times_r instead of times.
20050 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
20051 HAVE_GET_TIME_OF_DAY.
20052 Add comment regarding supporting OS routine(s) required (for docs).
20053 #include <reent.h>.
20054 (time): Call _gettimeofday_r instead of gettimeofday.
20055 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
20056 * libc/time/ctime.c: Ditto.
20057 * libc/time/strftime.c: Ditto.
20058 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
20059 (TEMPLATE_SFILES_R): Define here. Also define times.
20060 Add times_r.o/times.S dependence.
20061 (time2.c, junk.c): Deleted.
20062 * libc/sys/sparc64/time2.c: Deleted.
20063 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
20065 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
20066 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
20067 * libc/sys/sparc64/junk.c: Deleted.
20069 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
20071 * libc/sys/sparc64/Makefile.in: Add times syscall.
20072 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
20073 be used with and without it. Add comment clarifying Medium/Anywhere
20074 model requirements.
20075 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
20076 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
20079 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
20081 * configure.in (target_cflags): Move init.
20082 (sparc64-*-*): Define HAVE_BLKSIZE.
20084 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
20086 * libc/include/sys/_types.h: New file.
20087 * libc/include/reent.h: #include it.
20088 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
20089 MISSING_SYSCALL_NAMES.
20091 * libc/include/_syslist.h: Remove _raise.
20092 * libc/reent/signalr.c: New file.
20093 * libc/reent/Makefile.in: Compile it.
20094 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
20095 Add doc for raise and _raise_r.
20096 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
20097 (raise): Call _raise_r.
20098 (_raise_r): Call _getpid_r and _kill_r.
20099 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
20100 (abort): Loop forever calling raise and _exit.
20102 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20104 * configure.in: Remove extraneous echo.
20106 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
20108 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
20109 collision with unistd.h, and fix for svr4.
20111 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
20113 * libc/stdio/local.h (_llicvt): Declare.
20114 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
20115 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
20117 (_sicvt): Fix function header (`value' is short).
20118 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
20119 Add printing of long long's support.
20120 Add printing of 8 byte pointer support.
20122 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
20124 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
20125 stat, chmod): New hooks.
20126 (sbrk): Abort if stack and heap collide.
20127 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
20128 shortcut when given small args.
20129 * libc/machine/sh/setjmp.s: Rewritten.
20130 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
20131 of cmp/str instruction.
20133 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20135 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
20136 and machine_dir powerpc.
20137 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
20138 Add cases for __powerpc__.
20139 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
20142 * libc/include/stdio.h (_iprintf_r): Declare correctly.
20144 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
20146 * libc/stdlib/callocr.c: New file with _calloc_r in it.
20147 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
20149 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
20151 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
20152 (print_e): More comments to describe args, etc.
20153 "type" arg may now be 'g' or 'G' for %g/G format --> remove
20155 (_gcvt): Remove locals decpt, sign, end, p, done.
20156 More comments for print_e invocation.
20157 Pass "type" to print_e as is (g/G).
20159 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
20161 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
20164 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
20166 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
20167 works with any sized pointer, including ones bigger than ints and
20170 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
20172 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
20174 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
20176 * libc/include/stdlib.h (_calloc_r): Add prototype.
20177 * libc/machine/h8500/negsi2.c: New file.
20178 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
20179 large unsigned numbers.
20180 * libc/machine/h8500/cmpsi.c: Add cmppsi.
20181 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
20182 works when sizeof(size_t) != sizeof(char *).
20183 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
20185 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
20187 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
20189 * libc/include/assert.h (assert): Handle -traditional.
20191 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
20193 * Makefile.in: added ; after every "fi" and "done" that wasn't at
20194 the end of a line (ie. anything before a backslash continuation)
20195 so that bash handles them.
20197 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
20199 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
20202 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
20204 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
20205 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
20206 libc/machine/sh/udivsi3.s: Use new calling convention.
20208 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
20210 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
20211 chmod, access, chdir, chown by making _path const. Also fix _amode
20214 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
20216 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
20217 _khif_tmpnam, because it doesn't comply with ANSI but may be
20218 useful anyway. Real tmpnam was already in libc/stdio, and was
20219 colliding with this one (pr 2176.)
20220 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
20221 the wrong idea anyhow.
20223 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
20225 * configure.in: Remove h8300h, we have multilib now.
20227 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
20229 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
20230 functions, to get preference over the ones in libiberty (since we
20231 provide correct declarations in <string.h>.
20232 * libc/string/Makefile.in: add support for strncasecmp,
20235 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
20237 * Change netware config not to look for cpu explicitly.
20239 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
20241 * libc/sys/sparc64/{creat.c,junk.c}: New files.
20242 * libc/sys/sparc64/Makefile.in: Add dependencies.
20244 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
20246 * configure.in: Clean up v9 a bit, new "os" aoutv8.
20248 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
20250 * libc/include/sys/reent.h: make structure smaller by allocating
20251 some stuff when needed.
20252 * libc/signal/signal.c: allocate as needed
20253 * libc/stdio/findfp.c,stdio/local.h: ditto
20254 * libc/stdlib/mprec.c: ditto
20256 * libc/time/localtime.c: don't return a dangling stack ptr.
20258 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
20260 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
20262 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20264 * libc/include/stdio.h (__sputc): comment out static inline which
20265 confuses coff toolchains.
20267 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
20269 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
20270 _write.s, getpid.c, kill.c, read.s}:
20271 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
20272 through the syscalls directory.
20274 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
20276 * configure.in: fixed double quote gotcha.
20278 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
20280 * stub/ex931: stub library for sparclite board.
20281 * stub/idp: Renamed from mc68ec. Added contructor table
20282 stuff to linker script.
20283 * stub/mvme135: Renamed from m68kmvme. Added contructor table
20284 stuff to linker script.
20286 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20288 * configure.in: Configure testsuites only if they exist.
20290 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20292 * configure.in: Don't set machine_dir for i386 until there is
20293 something in libc/machine/i386 to compile. For i[34]86-*-netware*
20294 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
20295 CLOCK_PROVIDED and MALLOC_PROVIDED.
20297 * libc/sys/netware: New directory. Contains simplistic and
20298 probably incorrect stubs for NetWare. Should be enough to load
20300 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
20301 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
20304 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
20305 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
20306 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
20307 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
20309 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
20311 * testsuite/Makefile.in: add "docs" dummy target for consistency
20312 with rest of newlib; turn "info" and "install-info" into dummy
20313 targets, since they wouldn't have worked. (Depended on
20314 nonexistent "doc" subdir.)
20316 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
20318 * configure.in: handle mips* instead of mips
20320 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
20322 * libc/include/sys/dirent.h: New file. If it is not overridden by
20323 a version of libc/sys/*/sys/dirent.h, it includes the next
20324 <dirent.h> file in case there is one lurking somewhere.
20326 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20328 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
20329 compliance, namely: Accept a minus sign. Consider a single 0 with
20330 a radix of 0 as being a conversion. Determine overflow correctly.
20331 If an overflow occurs, set *ptr to the end of the number, not the
20333 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
20335 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
20337 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
20339 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
20341 * Makefile.in (INSTALL): Use $srcrootpre.
20342 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
20344 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
20346 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
20347 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
20348 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
20349 * libm/math/Makefile.in (matherr.o): Ditto.
20351 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
20353 * configure.in: Build multidirs for z8k.
20354 * libc/include/stdlib.h (_strtoul_r): add prototype.
20355 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
20356 * libc/include/machine/setjmp.h: Add for z8k.
20357 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
20358 * libc/sys/z8ksim/glue.c: tidy up.
20360 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
20362 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
20363 New files. Requires execve system call.
20364 * libc/unix/Makefile.in: Use them.
20365 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
20366 Deleted, moved to libc/unix.
20367 * libc/sys/sparc64/Makefile.in: Remove them.
20369 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
20371 * libc/sys/sparc64/{template.S template_r.S}: New files.
20372 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
20374 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
20375 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
20376 umask.S unlink.S wait4.S write.S}: Removed, now built from
20379 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
20381 * libc/time/time.c: #include <_ansi.h>.
20383 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
20385 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
20387 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20389 * configure.in: match m8* rather than m88k so that m88110 is
20390 recognized as well.
20392 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
20394 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
20395 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
20398 * configure.in: Add multilib support to h8300.
20400 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
20402 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
20403 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
20404 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
20406 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20408 * configure.in: Corrected multidirs for sparc target.
20410 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
20412 Support for building newlib multiple times with different
20414 * configure.in: Only configure doc at top level. Set multidirs
20415 when appropriate for target, unless not at top level. If
20416 multidirs is set, independently configure each subdirectory.
20417 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
20418 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
20419 automagically set by configure.in.
20420 (all): If MULTIDIRS is set, build multiple copies of libraries.
20421 (install): If MULTIDIRS is set, install multiple copies of
20422 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
20423 MULTISUBDIR is set, don't bother to install header files.
20424 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
20426 * stub/configure.in: Set MULTISUBDIR appropriately.
20427 * stub/Makefile.in (install): Install in
20428 $(tooldir)/lib/$(MULTISUBDIR).
20429 * All Makefile.in files: Define SRCTOP as well as TOP.
20431 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
20433 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
20434 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
20436 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
20438 * libc/sys/h8300hms/exit.c (_exit): New function.
20440 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20442 * configure.in: recognize m88110.
20444 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20446 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
20447 prototype main and call with args.
20449 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
20451 First real try at system traps for m88k-bug.
20452 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
20453 to real trap calls.
20454 * libc/sys/m88kbug/sys/systraps.h: new file.
20456 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20458 Patches to fix info building when target does not use sys
20460 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
20461 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
20463 * libc/sys/Makefile.in (doc): do nothing.
20465 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20467 * libc/Makefile.in (CRT0): new macro.
20468 (all): depend on $(CRT0) rather than crt0.o.
20470 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
20471 do not default crt0, instead, set crt0 and crt0_dir based on
20472 sys_dir and stub_dir.
20474 * Makefile.in (CRT0_DIR): new macro.
20475 (all): depend on $(CRT0) rather than crt0.o which may not exist.
20476 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
20478 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
20480 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
20482 * testsuite/lib/libm.exp:
20483 added code to support compiling and linking of tests for
20484 libm.sac (paranoia to be added next) and processing the
20485 pass or failure of the tests.
20487 * testsuite/config/unix-libm.exp:
20488 platform specific proc's for dealing with compiler, linker
20489 and the way we execute and process the test results.
20491 * testsuite/libm.sac/execute.exp:
20492 generic framework for the sac tests. the config and lib
20493 expect code for specific platforms tie it all together.
20495 * testsuite/libm.sac/test_is.c:
20496 changed the output of the test to be consistant with the
20497 other tests. parsing of pass nad fail messages is now fixed.
20499 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
20501 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
20502 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
20503 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
20504 #ifdef __cplusplus, surround by extern ""C { ... }.
20505 * libc/include/assert.h: Do *not* protect assert.h against
20506 multiple inclusion! Also, #undef it before #define, to allow
20508 * libc/include/stdio.h (getlogin, cuserid): Removed. These
20509 should be only in unistd.h.
20511 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
20512 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
20515 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
20517 * libc/machine/sparc/Makefile.in: Must create a library, even
20520 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20522 * configure.in: set machine_dir for m88k. edit crt0 definition
20525 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
20527 * libc/Makefile.in (all): also build crt0.o.
20529 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
20530 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
20533 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
20534 (all): reworked to build in place.
20535 (clean): remove lib.a
20536 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
20538 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
20539 (_start): key off edata rather than _start_bss.
20541 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
20543 * libc/include/sys/unistd.h, libc/include/reent.h,
20544 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
20546 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20548 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
20550 * Makefile.in (libc.a): break into two rules, one for libc.a and
20551 one for libc/libc.a. Force subdirs current before rebuilding
20553 (libm.a): break into two rules, one for libm.a and one for
20554 libm/libm.a. Force subdirs current before rebuilding library.
20556 * libc/Makefile.in (SUBLIBS): fix typo.
20558 * libc/sys/Makefile.in (all): force descent into subdirs, then
20559 rebuild library iff out of of date.
20561 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
20563 Rework so that library is built and then finished rather than
20564 being built on each invocation of make.
20566 * host/any (machine_dir, sys_dir, signal_dir): these are not
20567 shared and have been moved to their associated Makefile.in's.
20568 (AR_FLAGS): switch to qc which is faster.
20569 * configure.in: no longer assign machine_dir for m88k. set
20570 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
20571 stub_dir set, then add to configdirs. add comment about silly
20573 (configdirs): drop stub. It will be added only
20575 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
20576 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
20577 stub_lib, crt0): new variables for tailoring lower level
20578 makefiles. Assign accordingly and edit into makefiles.
20579 * libm/Makefile.in: updated copyright.
20580 (TARGETLIB): removed.
20581 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
20582 (SUBDIRS): removed TARGETDEP_DIRS.
20583 (LIBM_FP_LIB, SUBLIBS): new macros.
20585 (force): new target to force rebuilds.
20586 (Makefile): call $(SHELL) rather than sh. drop redundant ./
20587 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
20588 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
20589 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
20590 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
20591 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
20592 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
20593 stub/m68kmvme/Makefile.in: updated copyright.
20594 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
20595 (all): reworked. made this the default rule.
20596 (clean): also remove lib.a.
20597 (Makefile): call $(SHELL) rather than sh. drop redundant ./
20598 * stub/Makefile.in: updated copyright.
20599 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
20600 (stub_lib): new macro.
20601 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
20604 (clean, install): assume stub_dir exists.
20605 (Makefile): depend on configure.in. call $(SHELL) rather than
20606 sh. drop redundant ./
20607 * stub/configure.in (stublib): new macro, assign it, edit it into
20609 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
20612 (Makefile): call $(SHELL) rather than sh. drop redundant ./
20613 * libc/Makefile.in (TARGETCRT0): removed.
20614 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
20616 (SUBDIRS): drop TARGETDEP_DIRS.
20617 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
20618 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
20619 (force): new target to force rebuilds.
20620 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
20621 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
20623 (clean): assume sys_dir always exists.
20624 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
20626 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
20627 libc/locale/Makefile.in, libc/machine/Makefile.in,
20628 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
20629 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
20630 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
20631 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
20632 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
20633 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
20634 libc/signal/Makefile.in, libc/stdio/Makefile.in,
20635 libc/stdlib/Makefile.in, libc/string/Makefile.in,
20636 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
20637 libc/time/Makefile.in, libc/unix/Makefile.in,
20638 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
20639 (TARGETLIB): removed.
20641 (clean): also remove lib.a.
20642 (Makefile): call $(SHELL) rather than sh. drop redundant ./
20643 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
20645 (SUBDIRS): moved to follow frag inclusion, change stub to
20647 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
20648 are now set in the libc Makefile.
20649 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
20650 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
20652 (force): new target to force rebuilds.
20653 * stub/configure.in: determine and set stub_lib for for Makefile.
20655 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
20657 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
20658 crt0.s renamed to crt0.S.
20659 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
20661 * libc/machine/h8300/Makefile.in: Make `all' the default target.
20662 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
20664 * libc/machine/h8300/defines.h: Add macros to handle pointers for
20665 h8300 (16 bits) and h8300h (32 bits).
20666 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
20667 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
20669 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
20671 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
20672 implementation of setjmp and longjmp for the m88k.
20673 * libc/include/machine/setjmp.h: Added __m88000__ case.
20675 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
20677 * configure.in: Recognize h8300h as variant of h8300.
20679 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
20681 * libc/include/sys/unistd.h (read, write): get prototypes right.
20682 (sbrk): New prototype.
20683 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
20684 * libc/stdio/local.h: Include unistd.h.
20685 * libc/machine/h8300/syscalls.c: Names have changed.
20687 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
20689 * configure.in: add sys_dir assignment for m88k-bug.
20691 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
20693 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
20695 * libc/sys/sparc64: all *.S files: Use new macros.
20696 * libc/sys/sparc64/isatty.c: New file.
20697 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
20698 functions beyond what newlib provides.
20700 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
20702 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
20705 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
20707 * libc/include/machine/ieeefp.h: Add support for h8/300h.
20709 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
20711 * configure.in: add m88k.
20712 * libc/include/machine/ieeefp.h: add case for m88k. Also add
20713 sanity check so no one else need ever chase what I did to find
20716 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
20718 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
20720 * doc/makedoc.c: Include <ctype.h>.
20722 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
20724 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
20725 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
20726 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
20728 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
20730 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
20732 * libc/include/errno.h (ENOSYS): Added.
20734 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
20736 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
20738 * libc/stdio/fflush.c (fflush): Check for reent struct
20740 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
20742 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
20744 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
20745 out of dtoa.c so it doesn't pollute the namespace.
20746 * libc/include/_syslist.h: new file -- mappings from _function to
20747 function, for systems where we can't win (by default, all of them,
20748 until we start updating system calls.)
20749 * libc/syscalls: new directory -- stubs for exporting _function
20750 names as unmodified function names.
20751 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
20752 _syslist.h on all platforms by default, but put hooks in for
20753 fake_sys_dir so we can include it when we've renamed the system
20755 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
20756 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
20757 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
20758 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
20759 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
20760 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
20761 non ANSI functions to call _function.
20763 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
20765 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
20766 when base 16 is specified. Don't accept non-digits if radix > 10.
20768 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
20770 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
20772 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
20774 * libc/include/sys/stat.h: Surround text after #endif with
20777 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
20779 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
20780 _malloc_r, _realloc_r, and free_r call the corresponding
20781 non-reentrant functions.
20783 * libm/math/modf.c (modf): We now take the address of ipart, so
20784 don't make it a register variable.
20786 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
20788 * libm/math/*: Rename all xxx_r fns to _xxx_r.
20790 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
20792 * libc/libc.texinfo and embedded docn throughout: formatting
20793 improvements, minor rephrasing for clarity, and improved
20796 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
20798 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
20800 * libc/stdio/cvt.c (_licvt): Print the right value on machines
20801 where sizeof(int) != sizeof(long).
20803 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
20805 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
20806 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
20807 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
20808 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
20809 libm/math/matherr.c: changes for better docn formatting (info).
20811 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
20812 libc/reent/reent.tex, libc/signal/signal.tex,
20813 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
20814 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
20815 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
20816 makeinfo node defaulting to get better Info file node structure.
20817 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
20818 Also include a few formerly missing sections (subroutines).
20820 * doc/doc.str: delete fossil expansion for "func"
20822 * default.menu, no-signal.menu: delete.
20824 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
20825 method used to adjust doc for missing "signals" chapter when
20826 signal_dir is empty.
20828 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
20830 * configure.in: added testsuite/libm.sac
20832 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
20834 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
20837 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
20839 * libm/Makefile.in: Use $(MAKE) rather than make, and define
20840 MAKEOVERRIDES to be empty.
20842 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
20844 * configure.in: Don't build mips-*-* with -msoft-float, since that
20845 makes it incompatible with hard floating point.
20847 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
20849 * Makefile.in: added recursive 'make check'
20851 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
20853 * configure.in: added ./testsuite ./testsuite/libm.paranoia
20854 * ./testsuite/Makefile.in: created
20855 * ./testsuite/libm.paranoia: paranoia tests added
20857 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
20859 * configure.in: For mips-*-* set machine_dir to mips.
20861 * libc/machine/mips: New directory.
20862 * libc/machine/mips/Makefile.in: New file.
20863 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
20864 setjmp and longjmp.
20865 * libc/include/machine/setjmp.h: Added __mips__ case.
20867 * libc/machine/lmips: Removed unused and useless directory.
20869 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
20871 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
20873 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
20875 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
20878 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
20880 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
20883 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
20885 * libm/test/convert.c: structure member errno -> errno_val.
20886 Must include <errno.h> to use errno, it's a macro now.
20887 * libm/test/math.c: Ditto.
20888 * libm/test/math2.c: Include errno.h.
20889 * libm/test/string.c: Ditto.
20890 * libm/test/test.h: structure member errno -> errno_val.
20891 Remove extern int errno decl.
20893 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
20895 * libc/stdio/Makefile.in: Added dependencies on local header
20897 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
20900 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
20902 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
20904 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
20906 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
20909 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
20910 * libc/stdio/local.h: Add prototype for _licvt.
20912 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
20913 instead of malloc,reealloc.
20915 * libc/stdlib/local.h: New file.
20916 * libc/stdlib/efgcvt.c: #include local.h.
20917 (gcvt): Fix call to _gcvt.
20918 * libc/stdlib/ecvtbuf.c: #include local.h.
20920 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
20921 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
20922 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
20924 * libc/stdlib/atexit.c: moved global data to struct _reent.
20925 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
20927 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
20929 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
20931 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
20932 here from ../reent.h.
20934 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
20936 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
20937 should be provided in both libc.a and libm.a.
20938 (libc.a): Depend on targ-include and libm.a. Copy
20939 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
20940 (libm.a): Depend on targ-include.
20941 * configure.in (subdirs): Removed libc/math.
20943 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
20945 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
20947 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
20949 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
20950 sys/reent.h instead of reent.h.
20951 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
20952 headers moved to sys/reent.h.
20953 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
20954 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
20955 __need__MAX_SIGNALS defined.
20956 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
20957 std{in,out,err} refer to new _std{in,out,err} members.
20959 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
20961 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
20964 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
20966 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
20967 rather than whatever macro seterrno() has.
20969 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
20971 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
20972 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
20974 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
20977 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
20978 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
20979 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
20981 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
20982 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
20984 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
20985 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
20986 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
20987 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
20988 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
20989 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
20990 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
20991 renamed to _xxx_r. struct reent_struct renamed to struct _reent
20992 for ANSI. structure members given leading "_" for ANSI. Use
20993 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
20995 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
20996 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
20997 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
20998 reent_struct renamed to struct _reent for ANSI.
20999 Structure members given leading "_" for ANSI.
21000 _CONST --> const in prototypes.
21001 Use _HAVE_STDC instead of __STDC__.
21003 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
21005 struct reent_struct renamed to struct _reent for ANSI.
21006 Structure members given leading "_" for ANSI.
21008 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
21010 struct reent_struct renamed to struct _reent for ANSI.
21012 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
21013 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
21014 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
21015 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
21016 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
21018 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
21019 signal.h, stdio.h, stdlib.h, string.h, time.h}:
21020 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
21021 #ifndef _STRICT_ANSI non-ANSI routines.
21022 Reentrant routines renamed from _r_xxx to _xxx_r.
21023 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
21024 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
21025 Clean up namespace (structure members have leading "_").
21026 struct reent_struct renamed to struct _reent for ANSI compliance.
21027 _CONST --> const in function prototypes.
21029 * libc/include/string.h: Add NULL and size_t.
21031 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
21032 unlink, wait, wait4. Reentrant syscall routines close, fork,
21033 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
21035 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
21036 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
21037 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
21038 write.S}: Define reentrant versions.
21039 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
21040 reentrant syscalls.
21042 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
21044 * libc/include/stdlib.h (RAND_MAX): Fix value.
21046 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
21048 * libc/sys/a29khif/_main.c: Removed unnecessary file.
21049 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
21050 VPATH support targets after all: target.
21052 * stub/mvme135/mvme.S: Renamed exceptionhandler to
21053 exceptionHandler, which is what mvme135-stub.c expects.
21055 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
21057 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
21059 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
21060 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
21063 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
21065 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
21067 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
21069 libc/reent/fstatr.c (_r_fstat): Ditto.
21070 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
21071 libc/reent/sbrkr.c (_r_sbrk): Ditto.
21072 libc/reent/statr.c (_r_stat): Ditto.
21074 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
21075 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
21076 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
21077 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
21078 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
21079 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
21080 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
21081 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
21082 (__swrite): Ditto for _r_lseek, _r_write.
21083 (__sseek): Ditto for _r_lseek.
21084 (__close): Ditto for _r_close.
21085 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
21087 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
21088 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
21090 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
21091 to make reent_struct the first argument (and thus consistent with
21092 the rest of newlib).
21094 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
21095 reference to __STDC__.
21097 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
21099 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
21102 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
21104 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
21106 libc/stdio/fclose.c (fclose): Ditto.
21108 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
21110 * Run through indent and rename reentrant routines for ANSI.
21111 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
21112 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
21113 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
21114 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
21115 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
21116 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
21117 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
21118 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
21119 vsprintf.c wbuf.c wsetup.c local.h}
21121 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
21123 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
21124 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
21125 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
21126 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
21127 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
21128 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
21130 * Run through indent.
21131 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
21132 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
21133 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
21134 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
21137 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
21138 localtime.c mktime.c strftime.c time.c}:
21139 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
21141 * Reformatting + renaming (for ANSI, GNU style, consistency).
21142 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
21143 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
21144 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
21146 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
21148 * libc/include/stdio.h (stdin_r): Fix.
21150 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
21152 * Makefile.in: Unexport some variables to keep GNU make from
21153 putting them in the environment and using up needed ARG_MAX space
21154 (a hack is used to let this work with older makes as well).
21156 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
21158 * Makefile.in: Use $(MAKE) rather than make.
21159 (MAKEOVERRIDES): Define to be empty.
21160 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
21161 (libc.a, libm.a): Depend on targ-include.
21162 * host/any (LD): Don't define.
21163 (INCLUDES): Use targ-include.
21164 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
21165 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
21166 * libc/Makefile.in: Use $(MAKE) rather than make.
21167 (MAKEOVERRIDES): Define to be empty.
21168 (FLAGS_TO_PASS): Don't pass LD (it's not used).
21169 (all): Rewrote to be slightly smaller.
21170 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
21171 Define to be empty.
21172 (FLAGS_TO_PASS): Don't pass LD (it's not used).
21173 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
21175 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
21177 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
21178 with errno/errno.c.
21180 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
21182 * Changes for reentrancy.
21183 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
21184 Use ptr->_errno, not errno.
21185 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
21186 libc/stdio/remove.c (remove_r): New function.
21187 libc/stdio/rename.c (rename_r): New function.
21188 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
21189 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
21190 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
21191 reentrant versions of system calls.
21192 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
21193 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
21194 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
21195 libc/stdio/findfp.c: Include <string.h>.
21196 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
21198 libc/stdio/wbuf.c: Include "fvwrite.h"
21200 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
21202 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
21203 (NULL): Don't define if already defined.
21204 libc/stdlib/system.c: Call reentrant versions of system calls.
21205 (system_r): New function.
21207 * Changes for reentrancy.
21208 libc/include/_ansi.h (_PARAMS): New macro.
21209 libc/include/errno.h: Define errno as a macro that calls __errno.
21210 (__errno_r): New macro for reentrant code.
21211 libc/include/math.h: Include reent.h. Declare many reentrant
21213 (signgam): Now a macro, not a variable.
21214 (struct exception): Added err field.
21215 libc/include/reent.h: Don't declare __sglue. Added function
21217 (struct reent_struct): Moved errno to beginning. Added _signgam.
21218 libc/include/stdio.h, libc/include/stdlib.h: Added function
21221 * More reentrancy hacking.
21222 libc/errno/errno.c (__errno): New function.
21223 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
21224 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
21227 * Added many new reentrant functions to libm/math/*.
21228 libm/math/error.c (__matherror): Added reent_struct pointer
21229 argument. Changed all callers.
21230 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
21231 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
21232 libm/math/tan.h: Removed obsolete unused header files.
21234 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
21236 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
21238 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
21240 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
21243 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
21245 * libc/libc.texinfo: comment out reentrancy chapter (duh)
21247 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
21249 * libc/reent/reent.tex: New file. (text from
21250 newlib/libc/libc.texinfo)
21251 * libc/stdio/tmpnam.c: fixed doc typo
21252 * libc/stdlib/rand.c: fixed doc typo
21254 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
21256 * libc/reent/reent.tex: New file. (text from
21257 newlib/libc/libc.texinfo)
21259 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
21261 support for reentrancy
21262 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
21264 * libc/errno/errno.c, libc/include/ieeefp.h,
21265 libc/include/locale.h, libc/include/reent.h,
21266 libc/include/signal.h, libc/include/stdio.h,
21267 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
21268 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
21269 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
21270 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
21271 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
21272 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
21273 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
21274 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
21275 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
21276 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
21277 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
21278 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
21279 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
21280 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
21281 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
21282 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
21283 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
21284 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
21285 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
21286 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
21287 libc/time/strftime.c: modify to provide reentracy.
21290 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
21291 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
21292 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
21293 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
21294 mstats_r, realloc_r, localeconv_r, setlocale_r
21296 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
21298 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
21299 libc/include/sys/config.h, libc/include/sys/signal.h,
21300 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
21301 provided macros (such as m68000), use the ansi version
21302 (__m68000__) so that the library can be used with code compiled
21303 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
21306 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
21308 * configure.in (sparc*): Don't set -fsoft-float for sparc
21309 configurations. Do set -fsoft-float for sparclite configurations.
21311 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
21313 * default.menu, no-signal.menu: alternate forms of libc main menu
21314 (in newlib rather than newlib/libc due to configuration restrictions)
21316 * configure.in: select one of the two menus above, link to
21319 * libc/libc.texinfo: include menu from separate file
21321 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
21323 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
21324 (info): Split long shell command in half.
21325 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
21326 sub-makes, just CHEW and TARGETDOC.
21327 (targetdep.tex): Removed now special handling of sys and machine
21328 subdirectories, made obsolete some time ago.
21329 * libc/machine/Makefile.in (doc): Don't pass everything to
21330 sub-make, just CHEW and TARGETDOC.
21331 (Makefile): New target.
21332 * libc/sys/Makefile.in (Makefile): New target.
21334 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
21336 * Makefile.in (here and most subdirectories): Only pass down CHEW
21337 and TARGETDOC when making info, not for other targets.
21339 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
21340 $(AR_FLAGS) rather than $(ARUPDATE).
21342 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
21344 * Try to reduce command line length:
21345 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
21346 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
21347 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
21348 (info): Pass CHEW to other subdirs.
21350 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
21352 * configure.in: add signal_dir, like unix_dir, but by default it
21353 is set to "signal" so that a29khif can turn it off (since a29khif
21354 has raise() as part of machine-specific signal.s.)
21356 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
21358 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
21359 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
21361 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
21362 libc/stdio/vfprintf: type lint.
21363 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
21364 initialzation code.
21365 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
21367 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
21369 * stub/mvme135/mvme135-asm.S: new file.
21370 stub/mvme135mvme135-stub.c: moved all assembler routines into
21372 stub/mvme135/Makefile.in: build mvme135-stub.o.
21374 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
21376 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
21377 sub-Makefiles instead, to try to avoid line length limitations.
21379 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
21381 * libc/include/unistd.h (read, write): Use void* instead of
21384 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
21386 * stub/go32/resetpc: sample script to send a reset packet to the
21389 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
21390 DOS environment, which compiles with Turbo C.
21392 * stub/go32/DSER32.LNK: new file, linker commands for serial
21395 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
21396 start up message to identify version; call set_debug_traps.
21398 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
21399 keyboard interaction); call handle_exception() in go_til_stop,
21400 rather than return, so that the remote stub gets control.
21402 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
21403 rename, rather than mv), set flags that work with current Turbo C,
21404 including using the /3 flag; also, add commands to build dser32.
21406 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
21407 default Turbo C installation (\tc rather than \usr)
21409 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
21412 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21414 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
21416 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21418 * libc/stdio/cvt.c (licvt): new function to convert ints when
21419 sizeof(int) != sizeof(long).
21421 * libc/include/stdio.h: added prototype for iprintf.
21422 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
21424 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
21426 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
21427 __REGISTER_PREFIX__.
21429 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
21431 * libc/sys/m68kbare: moved into stub directory.
21433 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
21435 * configure.in, Makefile.in: created new directory stub, to hold
21436 sample code for specific targets.
21438 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
21440 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
21441 in the unified libc/include/sys/fcntl.h.
21443 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
21445 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
21446 printed .01, not 0.01.
21448 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
21450 * configure.in: compile with -m68000 for m68* targets.
21452 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
21454 * libm/math/remainder.c (remainder): document the svr4 and sunos
21455 references used to construct the function.
21457 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
21459 * libm/math/remainder.c (rint, remainder): fix old typos.
21460 * libm/math/Makefile.in: actually build remainder.c (functions
21461 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
21464 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
21466 * libc/string/bcopy.c: BSD version works on overlapping strings,
21467 so ours should too.
21469 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
21472 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
21474 * Makefile.in (docs): new target.
21476 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
21478 * libc/include/sys/times.h: define clock_t as required by POSIX.
21479 libc/include/time.h: protect clock_t from multiple definitions.
21481 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
21483 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
21484 does not need more than the original three iterations to get
21485 within 1 ulp. (Paranoia tests for rounding to better than that,
21486 but further iterations *don't* help, only more subtle changes
21489 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
21491 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
21492 were doing nothing useful.
21494 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
21496 * configure.in: define MALLOC_PROVIDED for vxworks targets;
21497 removed sys_dir settings of vxworks68 and vxworks960.
21498 host/any: don't pass -nostdinc to gcc, since newlib no longer
21499 provides all required header files.
21501 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
21502 is not defined; this provides a hook for VxWorks.
21504 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
21506 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
21507 buffer if buf is NULL, don't do it here -- it is already being
21508 done by makebuf elsewhere in stdio.
21510 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
21512 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
21513 that C programs can call functions without using initial
21516 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
21518 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
21520 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
21522 * configure.in: set TARGET_CFLAGS for certain CPU types to
21525 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21527 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
21529 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
21531 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
21532 m68k*-unknown-coff.
21534 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
21536 * libc/include/stdio.h: define __need___va_list before including
21537 <stdarg.h>, to avoid defining va_arg, et. al.
21539 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
21541 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
21542 (don't cd to the user's home directory).
21544 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
21545 In general this is the wrong thing to do, but I can't get around
21546 GNU make's insistence on passing command line arguments any other
21549 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
21551 * configure.in: always configure the libc/sys directory, since it
21552 now provides a required documentation file.
21554 * Makefile.in: replaced all instances of $(MAKE) with make. In
21555 general this is the wrong thing to do, but I can't get around GNU
21556 make's insistence on passing command line arguments any other way.
21558 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
21560 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
21563 * libc/stdio/local.h: include <stdarg.h> to define va_list.
21564 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
21566 * libc/include/float.h, libc/include/stdarg.h,
21567 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
21569 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
21570 <stdarg.h>, not from <machine/types.h>. Protect definition of
21572 libc/include/time.h: get size_t from stddef.h. Protect definition
21574 libc/include/machine/limits.h: override gcc <limits.h> by defining
21575 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
21576 get correct INT_MIN and LONG_LONG values.
21577 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
21578 size_t or va_list at all; they're now gotten from stddef.h
21580 libc/include/machine/varargs.h: removed; use gcc version instead.
21581 libc/include/sys/types.h: explicitly include <machine/types.h>.
21583 * libm/math/sqrt.h: using the fp-bit routines appears to require
21586 * Makefile.in, host/any: let system include files override machine
21589 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
21591 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
21592 override _*_T_ definitions defaulted here.
21594 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
21596 * Makefile.in (install): install the include files in
21597 $(tooldir)/include, not $(exec_prefix)/include.
21599 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
21601 * Makefile.in (install): fixed typo, and changed install to not
21602 force rebuild of libc.a and libm.a.
21604 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
21606 * libc/sys/a29khif/*: Changed all .include's to include
21607 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
21608 that they will be installed for the user.
21610 * Makefile.in (all): create targ-include, a directory holding the
21611 machine and system specific header files during the build.
21612 (install): fixed installation of machine and system specific
21615 * Makefile.in: fixed comment.
21616 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
21617 we can pass $(INCLUDES) to it.
21619 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
21621 * libc/include/sys/param.h: new generic file, which may be
21622 overridden for specific systems.
21624 * libc/include/sys/signal.h: define all ANSI signal names, and
21625 NSIG (which is not ANSI) for a29k.
21627 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
21629 * Makefile.in: don't pass down arguments the lower level makes
21631 * libc/Makefile.in: recurse directly, rather than using subdir_do,
21632 in hopes of avoiding argument length limits.
21633 * libm/Makefile.in: recurse directly, rather using subdir_do, in
21634 hopes of avoiding argument length limits.
21636 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
21638 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
21641 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
21643 * Fixed make info and make install-info for newlib, changing most
21644 Makefile.in and several *.tex files. Moved doc directory from
21647 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
21648 Should be rewritten.
21650 * libc/string/strings.tex: renamed node index to node index
21651 function, so that it does not conflict with the top level index
21654 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
21656 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
21658 * Overhauled general configuration for newlib. Eliminated all
21659 target dependent Makefile fragments. Create libraries in newlib
21660 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
21661 than CROSS_CC, et. al. Broke make docs; will fix later.
21663 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
21664 Should be rewritten.
21666 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
21668 * libc/configure.in: cleaned up somewhat; switch on ${target}
21669 rather than ${target_alias}.
21670 * libm/configure.in: cleaned up somewhat; switch on ${target}
21671 rather than ${target_alias}.
21673 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
21674 * libc/include/ctype.h: marked _ctype_ as _CONST.
21676 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
21679 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
21680 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
21681 libc/stdio/gets.c (gets): removed non-ANSI warning message.
21682 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
21684 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
21685 bigtens, tinytens): marked arrays _CONST.
21686 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
21687 rather than a static variable.
21689 * libc/time/asctime.c (asctime), libc/time/localtime.c
21690 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
21691 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
21692 mname_len, mname): Marked static arrays _CONST.
21694 * libm/math/gamma.h: made local variables non-static.
21696 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
21697 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
21700 * libm/math/constants.c: removed file, because the constants it
21701 defined were never referenced.
21702 libm/math/Makefile.in: removed references to constants.c.
21703 libm/math/mathimpl.h: removed declarations of constants.
21705 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
21707 * libc/include/machine/varargs.h: only call __builtin_saveregs if
21708 it is sensibly defined in libgcc2. Checks preprocessor defines,
21709 which is not a good solution.
21711 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
21713 * libm/frexp.c: handle denormalized numbers as arguments.
21715 * libm/math/Makefile.in: added some dependencies for .c files
21716 which include local .h files.
21718 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
21720 * libc/configure.in: set target_alias for OSE*. Replace
21721 target_makefile_frag if it is blank.
21723 * libc/Makefile.in: make sure everything is passed to subsidiary
21724 makes; create all directories when installing.
21726 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
21727 CROSS_ARUPDATE instead of AR.
21729 * libm/configure.in: set target_alias for OSE*. Replace
21730 target_makefile_frag if it is blank.
21732 * libm/Makefile.in: make sure everything is passed to subsidiary
21733 makes; create all directories when installing.
21735 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
21737 * add following change from libc copy.
21739 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
21741 * libc/libc.texinfo: make copyright disclaimers appear on back of
21742 title page; make format of same slightly less ugly; avoid using
21743 underbars in section headings (avoids nasty texinfo bug in table
21746 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
21747 comments only) avoid using underbars in section headings
21749 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
21750 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
21751 changes in comments only): shorten headings ieeefp/infinity.c,
21752 ieeefp/isnan.c: (doc, comments only) more informative headings
21754 * libc/math/bessel.c: (doc, comments only) shorten heading
21756 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
21757 (doc, comments only) shorten headings
21759 * libc/time/localtime.c (doc, comments only): shorten headings
21761 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
21763 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
21764 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
21766 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
21767 only) more informative headings
21768 * libm/math/bessel.c: (doc, comments only) shorten heading
21770 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
21772 * .../Makefile.in: use CROSS_ARUPDATE consistently.
21773 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
21774 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
21775 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
21776 defined, the one from the .mt file will be correct.
21777 * libc/include/machine, libc/include/sys: created, and populated
21778 with common files from machine/*/machine. ifdefs were used for
21779 most, typically by handling exceptions first and then filling in
21780 defaults. Files with D.J. Delorie copyright #included rather than
21781 copied. Most files in include/sys really were the same in the
21783 * libc/include/...: cleaned up use of _EXFUN.
21784 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
21785 it with double quotes, not angles.
21787 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
21789 * libc/Makefile.in: always create installation directories.
21791 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
21793 * libc/configure.in: handle host properly (using canonical
21794 triples), better error message for the case of target not found
21796 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
21798 * libc/Makefile.in (insincdir): Ensure this directory exists
21799 before attempting installation.
21801 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21803 * libc/stdlib/assert.c: now calls abort like it should
21804 * libc/sys/a29khif: many many patches for 29khif work
21805 * libc/machine/i386: gnulib2 expanded there.
21807 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21809 Added accurate fp conversion routines to stdlib, moved dcvt from
21810 stdio to stdlib and called it ecvtbuf:
21811 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
21812 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
21814 * libc/libc.texinfo: Modifed to include the copyright info from
21816 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
21817 * libc/test/ : many vector which tested for the implementation
21818 defined returns of strange conversion requests have been updated
21819 to relflect the new implementation
21821 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
21823 * libc/libc.texinfo: new chapter on variable arg lists
21824 (stdarg.h/varargs.h)
21825 * libc/libc.texinfo: new title
21826 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
21827 (doc only) shorter headings for better formatting.
21829 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
21831 * libc/libc.texinfo: three more info menu entries
21832 * libc/locale/locale.tex: new chapter
21833 * libc/locale/locale.c: new doc for setlocale, localeconv
21834 * libc/locale/Makefile.in: use new locale doc
21835 * libc/signal/signal.tex: new chapter
21836 * libc/signal/raise.c, libc/signal/signal.c: new doc
21837 * libc/signal/Makefile.in: use new doc
21838 * libc/time/time.tex: new chapter
21839 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
21840 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
21841 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
21842 * libc/time/Makefile.in: use new doc
21844 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21846 * libm/math/log1p.c: split to use the new function way of float
21847 function definition. math/log1p.h deleted
21848 * libm/math/scalb.c: obsolete and deleted
21849 * libm/math/scalbn.c: created from part log1p.c
21850 * libm/math/Makefile.in: know about log1p and scalbn
21852 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
21854 * libc/ctype/isupper.c: revise doc;
21855 libc/ctype/ctype.tex: use doc from isupper.c
21857 * libc/string/bzero.c: new doc
21859 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
21861 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
21863 * libc/stdlib/Makefile.in: extract new doc
21864 * libc/stdlib/stdlib.tex: use new doc
21866 * libc/string/strerror.c: expanded doc.
21868 * libc/stdio/Makefile.in: extract doc from more files
21869 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
21870 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
21871 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
21872 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
21873 libc/stdio/vsprintf.c: new doc
21874 * libc/stdio/stdio.tex: use new doc
21876 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21878 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
21879 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
21881 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
21884 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
21885 * libc/stdio/setbuf.c: added ansi style definition.
21886 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
21887 buffer if none provided.
21888 * libc/stdio/tmpfile.c: lint
21889 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
21890 rather than using static, also make sure file isn't already
21891 present. Uses P_tmpdir. (tempnam): rewritten to use new
21892 subroutine, and uses P_tmpdir.
21893 * libc/stdio/siprintf.c: created
21895 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
21897 Release 1.03 for NEC, major mods. Main differences from release
21900 More tests in test/:
21901 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
21902 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
21903 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
21904 get/set mask, get/set sticky and get/set roundtoi. Tests
21905 that setting the bits changes the way arithmetic is done.
21906 * string.c: added test to make sure memcmp does it with unsigned
21908 * test.c: cleaned up and removed lint.
21909 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
21910 dvec.c: tests for string to value conversions, sprintf, scanf,
21911 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
21912 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
21913 rounding in sprintf too.
21914 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
21915 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
21916 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
21918 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
21922 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
21923 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
21924 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
21925 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
21926 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
21928 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
21929 * Method of producting float versions of double functions has
21930 changed, functions will be modified gradually. So far:
21931 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
21932 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
21934 * libc/string/memcmp.c: now uses unsigned chars
21935 * libc/string/bcmp.c, libc/string/strcpy.c,
21936 libc/stsring/strxfrm.c: fixed doc
21937 * libc/sys/sysvnecv70.tex: fix example of sbrk code
21940 version-control: never