1 2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/include/math.h (_M_LOG2E): Replace with..
4 (_M_LOG2_E): New macro.
5 (log2, log2f, M_LOG2_E): Use _M_LOG2_E.
7 2007-09-06 Brian Dessent <brian@dessent.net>
9 * libc/reent/getreent.c: Allow for case where __getreent is
12 2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
14 * libc/include/math.h (_M_LOG2E): New log2 of e macro.
15 (log2): Use _M_LOG2E instead of M_LOG2E.
17 (M_LOG2E): Define to be _M_LOG2E.
19 2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
21 * libm/math/wf_tgamma.c: Add missing include.
23 2007-08-31 Antony King <antony.king@st.com>
25 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
26 bits and redefine associated dword0 macro (rvalue issue).
27 * libc/stdio/vfieeefp.h: Ditto.
28 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
29 to prevent setting dword1 which is an rvalue only.
31 2007-08-28 Hans Kester <hans.kester@ellips.nl>
33 * configure.host: Added support for x86_64.
34 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
35 * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
36 * libc/machine/x86_64/aclocal.m4: Generated.
37 * libc/machine/x86_64/configure.in: New.
38 * libc/machine/x86_64/configure: Generated.
39 * libc/machine/x86_64/Makefile.am: New.
40 * libc/machine/x86_64/Makefile.in: Generated.
41 * libc/machine/x86_64/setjmp.S: New.
42 * libc/machine/x86_64/memcpy.S: New.
43 * libc/machine/x86_64/memset.S: New.
44 * libc/machine/configure.in: Added support for x86_64.
45 * libc/machine/configure: Regenerated.
47 2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
49 * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
50 to int before comparing it to a signed int value.
52 2007-08-24 Hans-Peter Nilsson <hp@axis.com>
54 * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
55 (EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
58 2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
60 Reduce the memory consumption of variable argument functions
62 * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
64 * libc/machine/spu/Makefile.in: Regenerated.
65 * libc/machine/spu/stdio.c: Add __check_init function wrapping
66 CHECK_INIT macro to use from assembler routines.
67 * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
68 * libc/machine/spu/fiprintf.S: New file.
69 * libc/machine/spu/fiscanf.S: Ditto.
70 * libc/machine/spu/fprintf.S: Ditto.
71 * libc/machine/spu/fscanf.S: Ditto.
72 * libc/machine/spu/iprintf.S: Ditto.
73 * libc/machine/spu/iscanf.S: Ditto.
74 * libc/machine/spu/printf.S: Ditto.
75 * libc/machine/spu/scanf.S: Ditto.
76 * libc/machine/spu/siprintf.S: Ditto.
77 * libc/machine/spu/siscanf.S: Ditto.
78 * libc/machine/spu/sniprintf.S: Ditto.
79 * libc/machine/spu/snprintf.S: Ditto.
80 * libc/machine/spu/sprintf.S: Ditto.
81 * libc/machine/spu/sscanf.S: Ditto.
82 * libc/machine/spu/stack_reg_va.S: Ditto.
83 * libc/machine/spu/syscall.def: Ditto. (for maintenance)
84 * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
85 * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
86 * libc/machine/spu/fiscanf.c: Ditto.
87 * libc/machine/spu/fprintf.c: Ditto.
88 * libc/machine/spu/fscanf.c: Ditto.
89 * libc/machine/spu/iprintf.c: Ditto.
90 * libc/machine/spu/iscanf.c: Ditto.
91 * libc/machine/spu/printf.c: Ditto.
92 * libc/machine/spu/scanf.c: Ditto.
93 * libc/machine/spu/siprintf.c: Ditto.
94 * libc/machine/spu/siscanf.c: Ditto.
95 * libc/machine/spu/sniprintf.c: Ditto.
96 * libc/machine/spu/snprintf.c: Ditto.
97 * libc/machine/spu/sprintf.c: Ditto.
98 * libc/machine/spu/sscanf.c: Ditto.
100 2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
102 * libc/include/tar.h: New.
104 2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
106 * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
107 lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
108 * libc/sys/linux/intl/Makefile.in: Regenerated.
109 * libc/sys/linux/intl/stpcpy.c: Renamed to...
110 * libc/sys/linux/intl/lcl_stpcpy.c: ..this.
112 2007-08-02 Eric Blake <ebb9@byu.net>
114 Implement fmemopen and open_memstream.
115 * libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
116 * libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
118 * libc/stdio/fopencookie.c (fcwriter): Minor optimization.
119 * libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
121 (fmemopen, open_memstream): Declare new functions.
122 * libc/stdio/stdio.tex: Document them.
123 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
124 fmemopen and open_memstream.
125 * libc/stdio/Makefile.in: Regenerate.
127 2007-07-31 Eric Blake <ebb9@byu.net>
129 More POSIX stream corner cases.
130 * libc/stdio/findfp.c (__sinit): Open stderr read/write.
131 * libc/stdio/fdopen.c (_fdopen_r): Set O_APPEND on fd when
133 * libc/stdio64/fdopen64.c (_fdopen64_r): Likewise.
135 2007-07-18 Eric Blake <ebb9@byu.net>
138 * libc/stdio/stdio.tex: Add missing include.
139 * libc/stdio/vfprintf.c: Use expected node name.
140 * libc/stdio/vfscanf.c: Likewise.
141 * libc/stdio/sscanf.c: Likewise.
142 * libc/stdio/sprintf.c: Likewise.
143 * libc/stdio/siscanf.c: Likewise.
144 * libc/stdio/siprintf.c: Likewise.
145 * libc/stdio/fopencookie.c: Quote raw {}.
146 Reported by DJ Delorie.
148 2007-07-13 Eric Blake <ebb9@byu.net>
151 * libc/stdio/fflush.c (_fflush_r): New function.
152 (fflush): Fix reentrancy and large offset behavior.
153 * libc/include/stdio.h (_fflush_r): Add prototype.
154 * libc/stdio/fclose.c (_fclose_r): All fflush callers changed.
155 * libc/stdio/freopen.c (_freopen_r): Likewise.
156 * libc/stdio/fseek.c (_fseek_r): Likewise.
157 * libc/stdio/ftell.c (_ftell_r): Likewise.
158 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
159 * libc/stdio/refill.c (__srefill_r): Likewise.
160 * libc/stdio/setvbuf.c (setvbuf): Likewise.
161 * libc/stdio/ungetc.c (_ungetc_r): Likewise.
162 * libc/stdio/vfprintf.c (__sbprintf): Likewise.
163 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
164 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
165 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise. Defer to
166 32-bit version if not large file.
167 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
168 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Avoid compile warning.
170 Documentation updates.
171 * libc/stdio/ungetc.c: Document ungetc.
172 * libc/stdio/Makefile.am (CHEWOUT_FILES): Sort, match current list
173 of files with documentation.
174 * libc/stdio/Makefile.in: Regenerate.
175 * libc/stdio/stdio.tex: Sort and update stdio documentation index.
177 2007-07-11 Jeff Johnston <jjohnstn@redhat.com>
179 * libc/include/math.h: Fix so C99 functions/macros are accessible
180 when -std=c99 is used when compiling and not when using C89.
182 2007-07-06 Corinna Vinschen <corinna@vinschen.de>
184 * libc/include/wchar.h: Declare wcstol, wcstoll, wcstoul,
185 wcstoull, _wcstol_r, _wcstoll_r, _wcstoul_r and _wcstoull_r.
186 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add wcstol.c and wcstoul.c.
187 (EXTENDED_SOURCES): Add wcstoll.c, wcstoll_r.c, wcstoull.c and
189 (CHEWOUT_FILES): Add .def files accordingly.
190 * libc/stdlib/Makefile.in: Regenerate.
191 * libc/stdlib/stdlib.tex: Add documentation links for above functions.
192 * libc/stdlib/strtoll.c: Fix portability note.
193 * libc/stdlib/strtoull.c: Ditto.
194 * libc/stdlib/wcstol.c: New file.
195 * libc/stdlib/wcstoll.c: New file.
196 * libc/stdlib/wcstoll_r.c: New file.
197 * libc/stdlib/wcstoul.c: New file.
198 * libc/stdlib/wcstoull.c: New file.
199 * libc/stdlib/wcstoull_r.c: New file.
201 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
203 * libc/include/sys/time.h (gettimeofday): Change to proper
204 prototype where second parameter is void *.
205 * libc/reent/gettimeofdayr.c (_gettimeofday_r): Change prototype
207 * libc/include/reent.h: Fix prototype for _gettimeofday_r.
208 * libc/sys/arm/syscalls.c: Fix gettimeofday function signature.
209 * libc/sys/rdos/gettod.c: Ditto.
210 * libc/sys/sh/syscalls.c: Ditto.
211 * libc/time/time.c (time): Change call to _gettimeofday_r
212 to pass NULL as 2nd argument.
214 2007-07-06 Jeff Johnston <jjohnstn@redhat.com>
216 * libc/sys/linux/intl/dcigettext.c: Define HAVE_STPCPY.
217 * libc/sys/linux/intl/l10nflist.c: Ditto.
219 2007-07-04 Corinna Vinschen <corinna@vinschen.de>
221 * libc/include/wchar.h: Add prototype for wcsxfrm.
222 * libc/string/Makefile.am (GENERAL_SOURCES): Add wcsxfrm.c.
223 (CHEWOUT_FILES): Add wcsxfrm.def.
224 * libc/string/Makefile.in: Regenerate.
225 * libc/string/wcsxfrm.c: New file.
226 * libc/string/wcstrings.tex: Add wcsxfrm.
228 2007-06-28 Corinna Vinschen <corinna@vinschen.de>
230 * libc/include/string.h: Add prototypes for stpcpy and stpncpy.
231 * libc/string/Makefile.am (ELIX_SOURCES): Add stpcpy.c and
233 (CHEWOUT_FILES): Add stpcpy.def and stpncpy.def.
234 * libc/string/Makefile.in: Regenerate.
235 * libc/string/stpcpy.c: New file.
236 * libc/string/stpncpy.c: New file.
237 * libc/string/strings.tex: Add stpcpy and stpncpy.
239 2007-06-27 Eric Blake <ebb9@byu.net>
241 Support __func__ in assert, as required by C99.
242 * libc/stdlib/assert.c (__assert_func): New function.
243 (__assert): Use __assert_func.
244 * libc/include/assert.h (assert) [!NDEBUG]: Use __assert_func when
247 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
249 * libc/machine/spu/perror.c: Pass errno as the second argument to
252 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
254 * libc/include/sys/unistd.h[__SPU__]: Add lockf prototype and related
255 defines; expose ftruncate, truncate and sync prototypes.
257 2007-06-20 Patrick Mansfield <patmans@us.ibm.com>
259 * libc/include/sys/unistd.h[__SPU__]: Make fchdir prototype visible.
260 * libc/include/sys/stat.h[__SPU__]: Make mknod and lstat prototypes
263 2007-06-15 Patrick Mansfield <patmans@us.ibm.com>
265 * libc/machine/spu/Makefile.am: Remove mktemp.c, it was left in
266 from a dropped patch.
267 * libc/machine/spu/Makefile.in: Regenerate.
269 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
271 * libc/machine/spu/creat.c: New file copied from libc/posix/creat.c,
272 it just calls open with appropriate arguments.
273 * libc/machine/spu/Makefile.am: Add creat.c.
274 * libc/machine/spu/Makefile.in: Regenerate.
276 2007-06-13 Jeff Johnston <jjohnstn@redhat.com>
278 * libc/machine/spu/Makefile.am: Re-add back setjmp.S which
279 I accidentally dropped.
280 * libc/machine/spu/Makefile.in: Regenerated.
282 2007-06-13 Patrick Mansfield <patmans@us.ibm.com>
284 * libc/include/sys/features.h: Define _POSIX_TIMERS for spu.
285 * libc/include/sys/unistd.h: Change usleep prototype to Posix
286 form and move outside of OS flag checks.
287 * libc/machine/spu/Makefile.am: Add sleep and usleep.
288 * libc/machine/spu/Makefile.in: Regenerate.
289 * libc/machine/spu/sleep.c: Copy libc/posix/sleep.c.
290 * libc/machine/spu/usleep.c: Copy libc/posix/usleep.c.
292 2007-06-11 Corinna Vinschen <corinna@vinschen.de>
294 * libc/include/sys/unistd.h: Declare confstr for Cygwin.
295 Define confstr constants for Cygwin. Add comment.
297 2007-06-10 Hans-Peter Nilsson <hp@bitrange.com>
299 * libc/sys/mmixware/access.c (access): Do not try to use a magic
300 file-handle and a direct syscall, just use _open.
301 * libc/sys/mmixware/sys/syscall.h (TMPFNO): Remove this magic
304 * libc/sys/mmixware/_exit.c (_exit): Update comment about
305 passing on the exit value.
307 2007-06-08 Jeff Johnston <jjohnstn@redhat.com>
309 * libc/string/strcasestr.c: New file.
310 * libc/include/string.h: Add strcasestr.
311 * libc/string/strings.tex: Add strcasestr.
312 * libc/string/Makefile.am: Ditto.
313 * libc/string/Makefile.in: Regenerated.
315 2007-06-06 Christian Groessler <chris@groessler.org>
317 * libc/stdlib/ldtoa (_ldcheck): Make sure the setting of
318 rnd is done after the last local variable declaration.
320 2007-06-06 Jeff Johnston <jjohnstn@redhat.com>
322 * libc/stdlib/mprec.h[Just_16]: Make sure that Pack_16 is defined.
324 2007-06-05 Christian Groessler <chris@groessler.org>
326 * libc/argz/argz_insert.c (argz_insert): Move delta variable
327 declaration to top of function in keeping with C89 standard.
329 2007-06-04 Eric Blake <ebb9@byu.net>
331 Implement funopen, fopencookie.
332 * libc/include/sys/reent.h (struct __sFILE, struct __sFILE64):
333 Switch to reentrant callbacks.
334 * libc/include/stdio.h (funopen): Fix declaration.
335 (fopencookie): Declare.
336 * libc/stdio/local.h (__sread, __swrite, __sseek, __sclose)
337 (__sseek64, __swrite64): Fix prototypes.
338 [__SCLE]: Pull in setmode declaration.
339 * libc/stdio/stdio.c (__sread, __swrite, __sseek, __sclose): Fix
341 * libc/stdio64/stdio64.c (__sseek64_r, __swrite64_r): Delete.
342 (__sseek64, __swrite64): Fix reentrancy.
343 * libc/stdio/fseek.c (_fseek_r): Account for overflow, and fix
345 * libc/stdio/ftell.c (_ftell_r): Likewise.
346 * libc/stdio/flags.c (__sflags): Don't lose __SAPP on "a+".
347 * libc/stdio/fclose.c (_fclose_r): Fix reentrancy.
348 * libc/stdio/freopen.c (_freopen_r): Likewise.
349 * libc/stdio/fvwrite.c (__sfvwrite_r): Likewise.
350 * libc/stdio/refill.c (__srefill_r): Likewise.
351 * libc/stdio/siscanf.c (eofread): Likewise.
352 * libc/stdio/sscanf.c (eofread): Likewise.
353 * libc/stdio/vsiscanf.c (eofread1): Likewise.
354 * libc/stdio/vsscanf.c (eofread1): Likewise.
355 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
356 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
357 * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
358 * libc/stdio/fflush.c (fflush): Improve reentrancy, although more
360 * libc/stdio/fopencookie.c (_fopencookie_r, fopencookie): New file.
361 * libc/stdio/funopen.c (_funopen_r, funopen): New file.
362 * libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Build
364 * libc/stdio/Makefile.in: Regenerate.
366 2007-05-29 Eric Blake <ebb9@byu.net>
368 Avoid more compiler warnings.
369 * libc/stdlib/btowc.c: Add missing header.
370 * libc/stdlib/getopt.c (getopt_internal): Initialize variable.
371 * libc/stdlib/system.c (do_system) [__CYGWIN__]: Add declaration.
372 * libc/stdlib/wctob.c: Add missing header.
373 * libc/string/strcpy.c (strcpy): Avoid warnings.
374 * libc/string/strrchr.c (strrchr): Likewise.
376 2007-05-29 Corinna Vinschen <corinna@vinschen.de>
378 * libc/argz/argz_add_sep.c (argz_add_sep): Handle empty string
380 * libc/argz/argz_append.c (argz_append): Handle empty buf argument.
381 * libc/argz/argz_create_sep.c (argz_create_sep): Return (NULL, 0)
382 on empty input strings.
383 * libc/argz/argz_extract.c (argz_extract): Check argz_len before
384 looping through argz.
385 * libc/argz/argz_stringify.c (argz_stringify): Ditto.
387 2007-05-27 Brian Dessent <brian@dessent.net>
389 * libc/stdio/vfprintf.c (_VFPRINTF_R): Populate 'ox' when
392 2007-05-25 Eric Blake <ebb9@byu.net>
394 * libc/stdio/rewind.c (rewind): Fix regression of 2003-08-22.
396 2007-05-24 Steve Ellcey <sje@cup.hp.com>
397 Charles Wilson <libtool@cwilson.fastmail.fm>
399 * libtool.m4: removed
400 * configure.in: invoke _LD_DECL_SED before conditionally initializing
401 libtool. Move AC_PROG_AWK outside conditional.
402 * libc/sys/linux/configure.in: Ditto.
403 * libc/sys/linux/linuxthreads/configure.in: Ditto.
404 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
405 * libc/sys/linux/machine/i386/configure.in: Ditto.
407 * iconvdata/configure.in: invoke _LD_DECL_SED before conditionally
408 initializing libtool.
409 * libc/configure.in: Ditto.
410 * libc/machine/configure.in: Ditto.
411 * libc/machine/i386/configure.in: Ditto.
412 * libc/sys/configure.in: Ditto.
413 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
414 * libc/sys/linux/machine/configure.in: Ditto.
415 * libm/configure.in: Ditto.
416 * libm/machine/configure.in: Ditto.
418 * Makefile.am: Ensure toplevel is included in ACLOCAL_AMFLAGS.
419 * doc/Makefile.am: Ditto.
420 * iconvdata/Makefile.am: Ditto.
421 * libc/Makefile.am: Ditto.
422 * libc/machine/Makefile.am: Ditto.
423 * libc/machine/a29k/Makefile.am: Ditto.
424 * libc/machine/arm/Makefile.am: Ditto.
425 * libc/machine/bfin/Makefile.am: Ditto.
426 * libc/machine/cris/Makefile.am: Ditto.
427 * libc/machine/crx/Makefile.am: Ditto.
428 * libc/machine/d10v/Makefile.am: Ditto.
429 * libc/machine/d30v/Makefile.am: Ditto.
430 * libc/machine/fr30/Makefile.am: Ditto.
431 * libc/machine/frv/Makefile.am: Ditto.
432 * libc/machine/h8300/Makefile.am: Ditto.
433 * libc/machine/h8500/Makefile.am: Ditto.
434 * libc/machine/hppa/Makefile.am: Ditto.
435 * libc/machine/i386/Makefile.am: Ditto.
436 * libc/machine/i960/Makefile.am: Ditto.
437 * libc/machine/iq2000/Makefile.am: Ditto.
438 * libc/machine/m32c/Makefile.am: Ditto.
439 * libc/machine/m32r/Makefile.am: Ditto.
440 * libc/machine/m68hc11/Makefile.am: Ditto.
441 * libc/machine/m68k/Makefile.am: Ditto.
442 * libc/machine/m88k/Makefile.am: Ditto.
443 * libc/machine/mips/Makefile.am: Ditto.
444 * libc/machine/mn10200/Makefile.am: Ditto.
445 * libc/machine/mn10300/Makefile.am: Ditto.
446 * libc/machine/mt/Makefile.am: Ditto.
447 * libc/machine/necv70/Makefile.am: Ditto.
448 * libc/machine/powerpc/Makefile.am: Ditto.
449 * libc/machine/sh/Makefile.am: Ditto.
450 * libc/machine/sparc/Makefile.am: Ditto.
451 * libc/machine/spu/Makefile.am: Ditto.
452 * libc/machine/tic4x/Makefile.am: Ditto.
453 * libc/machine/tic80/Makefile.am: Ditto.
454 * libc/machine/v850/Makefile.am: Ditto.
455 * libc/machine/w65/Makefile.am: Ditto.
456 * libc/machine/xscale/Makefile.am: Ditto.
457 * libc/machine/xstormy16/Makefile.am: Ditto.
458 * libc/machine/z8k/Makefile.am: Ditto.
459 * libc/sys/Makefile.am: Ditto.
460 * libc/sys/a29khif/Makefile.am: Ditto.
461 * libc/sys/arc/Makefile.am: Ditto.
462 * libc/sys/arm/Makefile.am: Ditto.
463 * libc/sys/d10v/Makefile.am: Ditto.
464 * libc/sys/decstation/Makefile.am: Ditto.
465 * libc/sys/h8300hms/Makefile.am: Ditto.
466 * libc/sys/h8500hms/Makefile.am: Ditto.
467 * libc/sys/linux/Makefile.am: Ditto.
468 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
469 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
470 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
471 * libc/sys/linux/machine/Makefile.am: Ditto.
472 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
473 * libc/sys/m88kbug/Makefile.am: Ditto.
474 * libc/sys/mmixware/Makefile.am: Ditto.
475 * libc/sys/netware/Makefile.am: Ditto.
476 * libc/sys/rdos/Makefile.am: Ditto.
477 * libc/sys/rtems/Makefile.am: Ditto.
478 * libc/sys/sh/Makefile.am: Ditto.
479 * libc/sys/sparc64/Makefile.am: Ditto.
480 * libc/sys/sun4/Makefile.am: Ditto.
481 * libc/sys/sysmec/Makefile.am: Ditto.
482 * libc/sys/sysnec810/Makefile.am: Ditto.
483 * libc/sys/sysnecv850/Makefile.am: Ditto.
484 * libc/sys/sysvi386/Makefile.am: Ditto.
485 * libc/sys/sysvnecv70/Makefile.am: Ditto.
486 * libc/sys/tic80/Makefile.am: Ditto.
487 * libc/sys/w65/Makefile.am: Ditto.
488 * libc/sys/z8ksim/Makefile.am: Ditto.
489 * libm/Makefile.am: Ditto.
490 * libm/machine/Makefile.am: Ditto.
491 * libm/machine/i386/Makefile.am: Ditto.
492 * libm/machine/spu/Makefile.am: Ditto.
494 * aclocal.m4: Regenerate.
495 * iconvdata/aclocal.m4: Regenerate.
496 * libc/aclocal.m4: Regenerate.
497 * libc/machine/aclocal.m4: Regenerate.
498 * libc/machine/i386/aclocal.m4: Regenerate.
499 * libc/sys/aclocal.m4: Regenerate.
500 * libc/sys/linux/aclocal.m4: Regenerate.
501 * libc/sys/linux/linuxthreads/aclocal.m4: Regenerate.
502 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Regenerate.
503 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Regenerate.
504 * libc/sys/linux/machine/aclocal.m4: Regenerate.
505 * libc/sys/linux/machine/i386/aclocal.m4: Regenerate.
506 * libm/aclocal.m4: Regenerate.
507 * libm/machine/aclocal.m4: Regenerate.
508 * libm/machine/i386/aclocal.m4: Regenerate.
510 * Makefile.in: Regenerate.
511 * doc/Makefile.in: Regenerate.
512 * iconvdata/Makefile.in: Regenerate.
513 * libc/Makefile.in: Regenerate.
514 * libc/argz/Makefile.in: Regenerate.
515 * libc/ctype/Makefile.in: Regenerate.
516 * libc/errno/Makefile.in: Regenerate.
517 * libc/iconv/Makefile.in: Regenerate.
518 * libc/iconv/ccs/Makefile.in: Regenerate.
519 * libc/iconv/ccs/binary/Makefile.in: Regenerate.
520 * libc/iconv/ces/Makefile.in: Regenerate.
521 * libc/iconv/lib/Makefile.in: Regenerate.
522 * libc/locale/Makefile.in: Regenerate.
523 * libc/machine/Makefile.in: Regenerate.
524 * libc/machine/a29k/Makefile.in: Regenerate.
525 * libc/machine/arm/Makefile.in: Regenerate.
526 * libc/machine/bfin/Makefile.in: Regenerate.
527 * libc/machine/cris/Makefile.in: Regenerate.
528 * libc/machine/crx/Makefile.in: Regenerate.
529 * libc/machine/d10v/Makefile.in: Regenerate.
530 * libc/machine/d30v/Makefile.in: Regenerate.
531 * libc/machine/fr30/Makefile.in: Regenerate.
532 * libc/machine/frv/Makefile.in: Regenerate.
533 * libc/machine/h8300/Makefile.in: Regenerate.
534 * libc/machine/h8500/Makefile.in: Regenerate.
535 * libc/machine/hppa/Makefile.in: Regenerate.
536 * libc/machine/i386/Makefile.in: Regenerate.
537 * libc/machine/i960/Makefile.in: Regenerate.
538 * libc/machine/iq2000/Makefile.in: Regenerate.
539 * libc/machine/m32c/Makefile.in: Regenerate.
540 * libc/machine/m32r/Makefile.in: Regenerate.
541 * libc/machine/m68hc11/Makefile.in: Regenerate.
542 * libc/machine/m68k/Makefile.in: Regenerate.
543 * libc/machine/m88k/Makefile.in: Regenerate.
544 * libc/machine/mips/Makefile.in: Regenerate.
545 * libc/machine/mn10200/Makefile.in: Regenerate.
546 * libc/machine/mn10300/Makefile.in: Regenerate.
547 * libc/machine/mt/Makefile.in: Regenerate.
548 * libc/machine/necv70/Makefile.in: Regenerate.
549 * libc/machine/powerpc/Makefile.in: Regenerate.
550 * libc/machine/sh/Makefile.in: Regenerate.
551 * libc/machine/sparc/Makefile.in: Regenerate.
552 * libc/machine/spu/Makefile.in: Regenerate.
553 * libc/machine/tic4x/Makefile.in: Regenerate.
554 * libc/machine/tic80/Makefile.in: Regenerate.
555 * libc/machine/v850/Makefile.in: Regenerate.
556 * libc/machine/w65/Makefile.in: Regenerate.
557 * libc/machine/xscale/Makefile.in: Regenerate.
558 * libc/machine/xstormy16/Makefile.in: Regenerate.
559 * libc/machine/z8k/Makefile.in: Regenerate.
560 * libc/misc/Makefile.in: Regenerate.
561 * libc/posix/Makefile.in: Regenerate.
562 * libc/reent/Makefile.in: Regenerate.
563 * libc/search/Makefile.in: Regenerate.
564 * libc/signal/Makefile.in: Regenerate.
565 * libc/stdio/Makefile.in: Regenerate.
566 * libc/stdio64/Makefile.in: Regenerate.
567 * libc/stdlib/Makefile.in: Regenerate.
568 * libc/string/Makefile.in: Regenerate.
569 * libc/sys/Makefile.in: Regenerate.
570 * libc/sys/a29khif/Makefile.in: Regenerate.
571 * libc/sys/arc/Makefile.in: Regenerate.
572 * libc/sys/arm/Makefile.in: Regenerate.
573 * libc/sys/d10v/Makefile.in: Regenerate.
574 * libc/sys/decstation/Makefile.in: Regenerate.
575 * libc/sys/h8300hms/Makefile.in: Regenerate.
576 * libc/sys/h8500hms/Makefile.in: Regenerate.
577 * libc/sys/linux/Makefile.in: Regenerate.
578 * libc/sys/linux/argp/Makefile.in: Regenerate.
579 * libc/sys/linux/cmath/Makefile.in: Regenerate.
580 * libc/sys/linux/dl/Makefile.in: Regenerate.
581 * libc/sys/linux/iconv/Makefile.in: Regenerate.
582 * libc/sys/linux/intl/Makefile.in: Regenerate.
583 * libc/sys/linux/linuxthreads/Makefile.in: Regenerate.
584 * libc/sys/linux/linuxthreads/machine/Makefile.in: Regenerate.
585 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerate.
586 * libc/sys/linux/machine/Makefile.in: Regenerate.
587 * libc/sys/linux/machine/i386/Makefile.in: Regenerate.
588 * libc/sys/linux/net/Makefile.in: Regenerate.
589 * libc/sys/linux/stdlib/Makefile.in: Regenerate.
590 * libc/sys/m88kbug/Makefile.in: Regenerate.
591 * libc/sys/mmixware/Makefile.in: Regenerate.
592 * libc/sys/netware/Makefile.in: Regenerate.
593 * libc/sys/rdos/Makefile.in: Regenerate.
594 * libc/sys/rtems/Makefile.in: Regenerate.
595 * libc/sys/sh/Makefile.in: Regenerate.
596 * libc/sys/sparc64/Makefile.in: Regenerate.
597 * libc/sys/sun4/Makefile.in: Regenerate.
598 * libc/sys/sysmec/Makefile.in: Regenerate.
599 * libc/sys/sysnec810/Makefile.in: Regenerate.
600 * libc/sys/sysnecv850/Makefile.in: Regenerate.
601 * libc/sys/sysvi386/Makefile.in: Regenerate.
602 * libc/sys/sysvnecv70/Makefile.in: Regenerate.
603 * libc/sys/tic80/Makefile.in: Regenerate.
604 * libc/sys/w65/Makefile.in: Regenerate.
605 * libc/sys/z8ksim/Makefile.in: Regenerate.
606 * libc/syscalls/Makefile.in: Regenerate.
607 * libc/time/Makefile.in: Regenerate.
608 * libc/unix/Makefile.in: Regenerate.
609 * libm/Makefile.in: Regenerate.
610 * libm/common/Makefile.in: Regenerate.
611 * libm/machine/Makefile.in: Regenerate.
612 * libm/machine/i386/Makefile.in: Regenerate.
613 * libm/machine/spu/Makefile.in: Regenerate.
614 * libm/math/Makefile.in: Regenerate.
615 * libm/mathfp/Makefile.in: Regenerate.
617 * configure: Regenerate.
618 * iconvdata/configure: Regenerate.
619 * libc/configure: Regenerate.
620 * libc/machine/configure: Regenerate.
621 * libc/machine/i386/configure: Regenerate.
622 * libc/sys/configure: Regenerate.
623 * libc/sys/linux/configure: Regenerate.
624 * libc/sys/linux/linuxthreads/configure: Regenerate.
625 * libc/sys/linux/linuxthreads/machine/configure: Regenerate.
626 * libc/sys/linux/linuxthreads/machine/i386/configure: Regenerate.
627 * libc/sys/linux/machine/configure: Regenerate.
628 * libc/sys/linux/machine/i386/configure: Regenerate.
629 * libm/configure: Regenerate.
630 * libm/machine/configure: Regenerate.
631 * libm/machine/i386/configure: Regenerate.
633 2007-05-23 Eric Blake <ebb9@byu.net>
635 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't truncate %p when
636 sizeof(void*) is 8 but sizeof(long) is 4.
637 * libc/stdio/vfscanf.c (__SVFSCANF_R): Likewise. Fix %i scanning
638 of "-0x". Support "-nan" and "inf" for %e. Audit usage of ungetc
639 to fix reentrancy and bug on encoding error in multibyte locales.
640 Always return EOF on read error.
642 2007-05-23 Patrick Mansfield <patmans@us.ibm.com>
644 * libc/machine/spu/sys/syscall.h: Update the __send_to_ppe
646 * libc/machine/spu/fclose.c: Use the __send_to_ppe return value
647 instead of the slot 0 value, remove any now unused variables, and
648 for some cases, now store the result in an int vs int*.
649 * libc/machine/spu/feof.c: Ditto.
650 * libc/machine/spu/ferror.c: Ditto.
651 * libc/machine/spu/fflush.c: Ditto.
652 * libc/machine/spu/fgetc.c: Ditto.
653 * libc/machine/spu/fgetpos.c: Ditto.
654 * libc/machine/spu/fgets.c: Ditto.
655 * libc/machine/spu/fileno.c: Ditto.
656 * libc/machine/spu/fopen.c: Ditto.
657 * libc/machine/spu/fprintf.c: Ditto.
658 * libc/machine/spu/fputc.c: Ditto.
659 * libc/machine/spu/fputs.c: Ditto.
660 * libc/machine/spu/fread.c: Ditto.
661 * libc/machine/spu/freopen.c: Ditto.
662 * libc/machine/spu/fscanf.c: Ditto.
663 * libc/machine/spu/fseek.c: Ditto.
664 * libc/machine/spu/fsetpos.c: Ditto.
665 * libc/machine/spu/ftell.c: Ditto.
666 * libc/machine/spu/fwrite.c: Ditto.
667 * libc/machine/spu/getc.c: Ditto.
668 * libc/machine/spu/getchar.c: Ditto.
669 * libc/machine/spu/gets.c: Ditto.
670 * libc/machine/spu/printf.c: Ditto.
671 * libc/machine/spu/putc.c: Ditto.
672 * libc/machine/spu/putchar.c: Ditto.
673 * libc/machine/spu/puts.c: Ditto.
674 * libc/machine/spu/remove.c: Ditto.
675 * libc/machine/spu/rename.c: Ditto.
676 * libc/machine/spu/scanf.c: Ditto.
677 * libc/machine/spu/setvbuf.c: Ditto.
678 * libc/machine/spu/snprintf.c: Ditto.
679 * libc/machine/spu/sprintf.c: Ditto.
680 * libc/machine/spu/sscanf.c: Ditto.
681 * libc/machine/spu/tmpfile.c: Ditto.
682 * libc/machine/spu/tmpnam.c: Ditto.
683 * libc/machine/spu/ungetc.c: Ditto.
684 * libc/machine/spu/vfprintf.c: Ditto.
685 * libc/machine/spu/vfscanf.c: Ditto.
686 * libc/machine/spu/vprintf.c: Ditto.
687 * libc/machine/spu/vscanf.c: Ditto.
688 * libc/machine/spu/vsnprintf.c: Ditto.
689 * libc/machine/spu/vsprintf.c: Ditto.
690 * libc/machine/spu/vsscanf.c: Ditto.
692 2007-05-23 Eric Blake <ebb9@byu.net>
694 * libc/stdio/vfscanf.c (__SVFSCANF_R): Support scanf(%1$s).
695 Avoid warning when !FLOATING_POINT.
696 * libc/stdio/vfprintf.c (_VFPRINTF_R): Simplify _NO_POS_ARGS
699 2007-05-23 Corinna Vinschen <vinschen@redhat.com>
701 * libc/argz/argz_create_sep.c (argz_create_sep): Initialize *argz_len
703 * libc/include/argz.h: Guard against multiple inclusion. Guard for
706 2007-05-18 Eric Blake <ebb9@byu.net>
708 * libc/stdio/vfprintf.c [_WANT_IO_LONG_LONG]: Allow non-gcc
710 * libc/stdio/vfscanf.c: Likewise.
712 2007-05-17 Cary R. <cygcary <at> yahoo.com>
714 * libm/math/w_atan2.c: Fix atan2 to be consistent with glibc
715 (atan2(+0,-0), atan2(-0,-0) and atan(-0,+0))
716 * libm/math/wf_atan2.c: Ditto.
718 2007-05-17 Yaakov Selkowitz <yselkowitz <at> users.sourceforge.net>
720 * libm/common/Makefile.am: Add support for exp10, exp10f,
721 pow10, and pow10f functions.
722 * libm/common/Makefile.in: Regenerated.
723 * libm/common/s_pow10.c: New file.
724 * libm/common/sf_pow10.c: Ditto.
725 * libm/common/s_exp10.c: Ditto.
726 * libm/common/sf_exp10.c: Ditto.
727 * libc/include/math.h [!pow10]: New pow10 prototype.
728 [!pow10f]: New pow10f prototype.
729 [!exp10]: New exp10 prototype.
730 [!exp10f]: New exp10f prototype.
732 2007-05-17 Charles Wilson <cygwin@...>
734 * stdio/tmpfile.c: Include <sys/stat.h>.
735 * stdio64/tmpfile64.c: Ditto.
737 2007-05-16 Eric Blake <ebb9@byu.net>
739 Close security hole in tmpfile.
740 * libc/stdio/tmpfile.c (_tmpfile_r): Avoid window between filename
741 generation and opening the fd.
742 * libc/stdio64/tmpfile64.c (_tmpfile64_r): Likewise.
744 * libc/include/math.h (INFINITY, NAN, FP_ILOGB0, FP_ILOGBNAN)
745 (MATH_ERRNO, MATH_ERREXCEPT, math_errhandling): Add macros
747 * libc/stdlib/ldtoa.c (USE_INFINITY): Rename from INFINITY, to
748 avoid clash with <math.h>.
750 * libc/stdlib/wctomb_r.c (_wctomb_r): Avoid gcc warnings on cygwin.
751 * libc/search/hash.c (__hash_open): Likewise.
753 2007-05-14 Eric Blake <ebb9@byu.net>
755 Reduce stack size of *printf.
756 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix use of decimal point
757 in %f. Avoid malloc when possible for %S.
758 (BUF): Improve stack locality by using smaller size.
759 (MAXEXPLEN, _PRINTF_FLOAT_TYPE): Define.
760 (exponent): Use smaller stack size.
762 2007-05-11 Eric Blake <ebb9@byu.net>
764 Minimize printf/scanf size on platforms that don't need C99.
765 * acconfig.h (_WANT_IO_C99_FORMATS): New macro.
766 * newlib.hin (_WANT_IO_C99_FORMATS): Likewise.
767 * configure.in (newlib-io-c99-formats): New configure option.
768 (_WANT_IO_C99_FORMATS): Define appropriately.
769 * configure.host (*-linux*, cygwin): Default c99-formats to yes.
770 * libc/stdio/vfprintf.c (_VFPRINTF_R) [!_WANT_IO_C99_FORMATS]:
771 Cripple ' flag; hh, z, j, t sizes; a, A, F, C, S specifiers.
772 * libc/stdio/vfscanf.c (_VFSCANF_R) [!_WANT_IO_C99_FORMATS]:
774 * configure: Regenerate.
776 * libc/stdio/vfprintf.c (_VFPRINTF_R, cvt, exponent, chclass)
777 (get_arg): Support '%a' and '%A'.
779 2007-05-09 Eric Blake <ebb9@byu.net>
781 Allow zero size with non-null buf in *asnprintf.
782 * libc/stdio/asnprintf.c (_asnprintf_r, asnprintf): Avoid free'ing
784 * libc/stdio/asniprintf.c (_asniprintf_r, asniprintf): Likewise.
785 * libc/stdio/vasniprintf.c (_vasniprintf_r): Likewise.
786 * libc/stdio/vasnprintf.c (_vasnprintf_r): Likewise.
788 2007-05-07 Charles Wilson <cygwin@...>
790 * libc/stdio/vfprintf.c: Fix typo in comments that breaks docs.
792 2007-05-03 Eric Blake <ebb9@byu.net>
794 Add support for asnprintf, and improve *printf documentation.
795 * libc/stdio/Makefile.am (ELIX_SOURCES): Rename...
796 (ELIX_2_SOURCES): ...to this.
797 (ELIX_4_SOURCES): Add new variable. Build asnprintf.
798 (GENERAL_SOURCES): Move dprintf to ELIX_4_SOURCES.
799 (CHEWOUT_FILES): Include diprintf in documentation.
800 * libc/stdio/Makefile.in: Regenerate.
801 * libc/stdio/diprintf.c: Improve documentation.
802 * libc/stdio/dprintf.c: Likewise.
803 * libc/stdio/siprintf.c: Likewise.
804 * libc/stdio/sprintf.c: Likewise.
805 * libc/stdio/vfprintf.c: Likewise.
806 * libc/stdio/viprintf.c: Likewise.
807 * libc/stdio/vsniprintf.c: Consolidate documentation.
808 * libc/stdio/asiprintf.c: Refer to documentation.
809 * libc/stdio/asprintf.c: Likewise.
810 * libc/stdio/fiprintf.c: Likewise.
811 * libc/stdio/fprintf.c: Likewise.
812 * libc/stdio/iprintf.c: Likewise.
813 * libc/stdio/printf.c: Likewise.
814 * libc/stdio/sniprintf.c: Likewise.
815 * libc/stdio/vdiprintf.c: Likewise.
816 * libc/stdio/vdprintf.c: Likewise.
817 * libc/stdio/vsiprintf.c: Likewise.
818 * libc/stdio/fvwrite.c (__sfvwrite_r): Handle asnprintf.
819 * libc/stdio/asniprintf.c (asniprintf, _asniprintf_r): New file.
820 * libc/stdio/asnprintf.c (asnprintf, _asnprintf_r): New file.
821 * libc/stdio/vasniprintf.c (vasniprintf, _vasniprintf_r): New
823 * libc/stdio/vasnprintf.c (vasnprintf, _vasnprintf_r): New file.
824 * libc/stdio/vdprintf.c (_vdprintf_r): Rewrite to avoid malloc in
826 * libc/stdio/vdiprintf.c (_vdiprintf_r): Likewise.
827 * libc/include/stdio.h: Add prototypes for new functions; sort
830 2007-05-03 Kazu Hirata <kazu@codesourcery.com>
832 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
834 * libc/machine/m68k/Makefile.in: Regenerate.
835 * libc/machine/m68k/memcpy.S: Use sub.l followed by dbra.
836 * libc/machine/m68k/memset.S: Likewise.
838 2007-05-01 Eric Blake <ebb9@byu.net>
840 * libc/stdio64/local64.h: Delete, move contents to...
841 * libc/stdio/local.h: ...here.
842 * libc/stdio64/fdopen64.c: Update includes.
843 * libc/stdio64/fopen64.c: Likewise.
844 * libc/stdio64/freopen64.c: Likewise.
845 * libc/stdio64/fseeko64.c: Likewise.
846 * libc/stdio64/ftello64.c: Likewise.
847 * libc/stdio/findfp.c (std) [__LARGE64_FILES]: Open stdin, stdout,
848 and stderr with 64-bit offset.
849 * libc/stdio/fseek.c (_fseek_r): Avoid compile warning.
850 * libc/stdio/makebuf.c (__smakebuf_r): Likewise.
851 * libc/stdio/mktemp.c (_gettemp): Likewise.
853 2007-05-01 Cary R. <cygcary <at> yahoo.com>
855 * libm/math/e_pow.c: Fix to be consistent with glibc with regards
856 to treatment of NaN and +-inf arguments.
857 * libm/math/ef_pow.c: Ditto.
858 * libm/math/w_pow.c: Ditto.
859 * libm/math/wf_pow.c: Ditto.
860 * libm/math/w_acos.c: Fix domain errors to return NaN.
861 * libm/math/w_asin.c: Ditto.
862 * libm/math/wf_acos.c: Ditto.
863 * libm/math/wf_asin.c: Ditto.
864 * libm/math/w_log.c: Fix to return NaN for negative number inputs.
865 * libm/math/wf_log.c: Ditto.
866 * libm/math/wf_log10.c: Ditto.
867 * libm/math/w_log10.c: Ditto.
869 2007-04-27 Jeff Johnston <jjohnstn@redhat.com>
871 * libc/machine/m68k/Makefile.am: Temporarily remove
872 memcpy.S and memset.S until logic can be confirmed for
873 !(__mcoldfile__) case.
874 * libc/machine/m68k/Makefile.in: Regenerated.
876 2007-04-27 Kazu Hirata <kazu@codesourcery.com>
878 * libc/machine/m68k/Makefile.am (lib_a_SOURCES): Add memcpy.S
880 * libc/machine/m68k/Makefile.in: Regenerate.
881 * libc/machine/m68k/memcpy.S, libc/machine/m68k/memset.S: New.
883 2007-04-26 Patrick Mansfield <patmans@us.ibm.com>
885 * libc/include/ieeefp.h: use prefixed __ieeefp_ macros that can be
886 overridden via machine/ieeefp.h.
887 * libc/include/machine/ieeefp.h: Add SPU specific C99 and ieeefp
888 macros for isnan and related macros.
889 * libc/include/math.h: Allow C99 isfinite, isinf, and isnan to be
890 overridden via machine/ieeefp.h.
891 * libm/machine/spu/Makefile.am: Add new files.
892 * libm/machine/spu/Makefile.in: Autogenerate with new files.
893 * libm/machine/spu/sf_fpclassify.c: Add SPU specific __fpclassifyf.
894 * libm/machine/spu/sf_finite.c: Add SPU specific finitef.
895 * libm/machine/spu/sf_isinf.c: Add SPU specific isinff.
896 * libm/machine/spu/sf_isinff.c: Add SPU specific __isinff.
897 * libm/machine/spu/sf_isnan.c: Add SPU specific isnanf.
898 * libm/machine/spu/sf_isnanf.c: Add SPU specific __isnanf.
899 * libm/machine/spu/sf_nan.c: Add SPU specific nanf.
901 2007-04-25 Jeff Johnston <jjohnstn@redhat.com>
903 * libm/common/s_fpclassify.c (__fpclassifyf): Move this to...
904 * libm/common/sf_fpclassify.c: ...here. New file.
905 * libm/common/Makefile.am: Add sf_fpclassify.c.
906 * libm/common/Makefile.in: Regenerated.
908 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
910 * libc/machine/spu/sys/errno.h: New file, so spu errno values match
911 ppu linux values. This file is a copy of the cris/sys/errno.h plus
912 a few changes (see spu errno.h comments).
914 2007-04-25 Eric Blake <ebb9@byu.net>
916 * libc/stdio/vfprintf.c (get_arg): Support %1$lc. Simplify types
919 2007-04-25 Patrick Mansfield <patmans@us.ibm.com>
921 * libm/machine/spu/headers/feholdexcept.h: Use *envp not env so
922 we clear the proper bits in the fpscr, and don't set some random ones.
924 2007-04-24 Eric Blake <ebb9@byu.net>
926 * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't zero pad on infinity
929 * libc/stdio/vfprintf.c (_VFPRINTF_R): Avoid multibyte when not
932 * libc/include/limits.h (NL_ARGMAX): Define a default value.
933 * libc/stdio/vfprintf.c (MAX_POS_ARGS): Define in terms of
934 NL_ARGMAX, if present.
936 2007-04-23 Brian Dessent <brian@dessent.net>
938 * libc/stdio/vfprintf.c (_vfprintf_r): When the alternate-form flag
939 has been specified with types 'f', 'F', 'g', or 'G', ensure the
940 trailing decimal is printed.
942 2007-04-23 Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>
944 * confsubdir.m4 (AC_CONFIG_SUBDIRS, _AC_OUTPUT_SUBDIRS): New
945 file. Override Autoconf-2.59's version of these macros with
946 fixed handling of multiple adjacent whitespace in arguments.
947 * aclocal.m4: Regenerated forcefully.
949 * Makefile.in: Ditto.
950 * libc/*Makefile.in: Ditto.
951 * libc/*aclocal.m4: Ditto.
952 * libc/*configure: Ditto.
953 * libm/*Makefile.in: Ditto.
954 * libm/*aclocal.m4: Ditto.
955 * libm/*configure: Ditto.
957 2007-04-23 Jeff Johnston <jjohnstn@redhat.com>
959 * libc/sys/arc/dummy.S: Dummy file to force .S.o suffix rule.
960 * libc/sys/arc/Makefile.am: Add dummy.S to EXTRA_lib_a_SOURCES
961 and set lib_a_CCASFLAGS so crto.o will use .S.o default suffix rule.
962 * libc/sys/arc/Makefile.in: Regenerated.
964 2007-04-17 Brian Dessent <brian@dessent.net>
966 * libc/stdio/sscanf.c: Update documentation comments.
967 * libc/stdio/vfscanf.c (__SVFSCANF_R): Handle j, t, and z modifiers.
969 2007-04-12 Eric Blake <ebb9@byu.net>
971 * libc/stdio/vfprintf.c (_VFPRINTF_F, cvt): Don't confuse %F with %e.
972 (chclass): Recognize 'F', 'X', 'n', and not 'W'.
973 (get_arg): Handle %1$F, %1$n.
975 2007-04-10 Eric Blake <ebb9@byu.net>
977 * libc/include/stdio.h (_ELIDABLE_INLINE): Work even when using
980 2007-04-09 Eric Blake <ebb9@byu.net>
982 * libc/include/stdio.h: Add gcc format attributes to printf and
985 2007-04-09 Joel Schopp <jschopp@austin.ibm.com>
987 * libc/machine/spu/strxfrm.c: Fix strxfrm so we still copy data
988 even if the passed in length n is shorter than the source string.
989 This matches both the non-spu specific and the glibc strxfrm
992 2007-04-04 Mark Mitchell <mark@codesourcery.com>
994 * libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
995 functions registering additional atexit functions.
997 * testsuite/lib/flags.exp (newlib_include_flags): Drop
1000 2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
1002 * libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
1004 * libc/machine/spu/c99ppe.h: Remove static version of send_to_ppe.
1005 * libc/machine/spu/clearerr.c: Call __send_to_ppe vs send_to_ppe.
1006 * libc/machine/spu/fclose.c: Ditto.
1007 * libc/machine/spu/feof.c: Ditto.
1008 * libc/machine/spu/ferror.c: Ditto.
1009 * libc/machine/spu/fflush.c: Ditto.
1010 * libc/machine/spu/fgetc.c: Ditto.
1011 * libc/machine/spu/fgetpos.c: Ditto.
1012 * libc/machine/spu/fgets.c: Ditto.
1013 * libc/machine/spu/fileno.c: Ditto.
1014 * libc/machine/spu/fopen.c: Ditto.
1015 * libc/machine/spu/fprintf.c: Ditto.
1016 * libc/machine/spu/fputc.c: Ditto.
1017 * libc/machine/spu/fputs.c: Ditto.
1018 * libc/machine/spu/fread.c: Ditto.
1019 * libc/machine/spu/freopen.c: Ditto.
1020 * libc/machine/spu/fscanf.c: Ditto.
1021 * libc/machine/spu/fseek.c: Ditto.
1022 * libc/machine/spu/fsetpos.c: Ditto.
1023 * libc/machine/spu/ftell.c: Ditto.
1024 * libc/machine/spu/fwrite.c: Ditto.
1025 * libc/machine/spu/getc.c: Ditto.
1026 * libc/machine/spu/getchar.c: Ditto.
1027 * libc/machine/spu/gets.c: Ditto.
1028 * libc/machine/spu/perror.c: Ditto.
1029 * libc/machine/spu/printf.c: Ditto.
1030 * libc/machine/spu/putc.c: Ditto.
1031 * libc/machine/spu/putchar.c: Ditto.
1032 * libc/machine/spu/puts.c: Ditto.
1033 * libc/machine/spu/remove.c: Ditto.
1034 * libc/machine/spu/rename.c: Ditto.
1035 * libc/machine/spu/rewind.c: Ditto.
1036 * libc/machine/spu/scanf.c: Ditto.
1037 * libc/machine/spu/setbuf.c: Ditto.
1038 * libc/machine/spu/setvbuf.c: Ditto.
1039 * libc/machine/spu/snprintf.c: Ditto.
1040 * libc/machine/spu/sprintf.c: Ditto.
1041 * libc/machine/spu/sscanf.c: Ditto.
1042 * libc/machine/spu/tmpfile.c: Ditto.
1043 * libc/machine/spu/tmpnam.c: Ditto.
1044 * libc/machine/spu/ungetc.c: Ditto.
1045 * libc/machine/spu/vfprintf.c: Ditto.
1046 * libc/machine/spu/vfscanf.c: Ditto.
1047 * libc/machine/spu/vprintf.c: Ditto.
1048 * libc/machine/spu/vscanf.c: Ditto.
1049 * libc/machine/spu/vsnprintf.c: Ditto.
1050 * libc/machine/spu/vsprintf.c: Ditto.
1051 * libc/machine/spu/vsscanf.c: Ditto.
1053 2007-04-04 Jeff Johnston <jjohnstn@redhat.com>
1055 * libc/argz/argz_insert.c: Add stddef.h to get ptrdiff_t type.
1057 2007-04-04 Eric Blake <ebb9@byu.net>
1059 * libc/stdio/asiprintf.c (_asiprintf_r): Fix reentrancy.
1060 (asiprintf): Avoid overhead.
1061 * libc/stdio/asprintf.c (_asprintf_r): Fix reentrancy.
1062 (asprintf): Avoid overhead.
1063 * libc/stdio/diprintf.c (_diprintf_r, diprintf): New file.
1064 * libc/stdio/dprintf.c (_dprintf_r, dprintf): Use _DEFUN.
1065 * libc/stdio/fiprintf.c (_fiprintf_r): Add reentrant version.
1066 (fiprintf): Avoid overhead.
1067 * libc/stdio/fprintf.c (_fprintf_r): Add reentrant version.
1068 (fprintf): Avoid overhead.
1069 * libc/stdio/iprintf.c (_iprintf_r): Use _DEFUN.
1070 (iprintf): Avoid overhead.
1071 * libc/stdio/printf.c (_printf_r): Use _DEFUN.
1072 (printf): Avoid overhead.
1073 * libc/stdio/vasiprintf.c (vasiprintf): Reduce binary size.
1074 * libc/stdio/vasprintf.c (vasprintf): Reduce binary size.
1075 * libc/stdio/vdiprintf.c (_vdiprintf_r, vdiprintf): New file.
1076 * libc/stdio/vdprintf.c (vdprintf): Avoid overhead.
1077 * libc/stdio/vsiprintf.c (vsiprintf): Reduce binary size.
1078 * libc/stdio/vsniprintf.c (vsniprintf): Reduce binary size.
1079 * libc/stdio/vsnprintf.c (vsnprintf): Reduce binary size.
1080 * libc/stdio/vsprintf.c (vsprintf): Reduce binary size.
1081 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add diprintf.c,
1083 * libc/include/stdio.h (diprintf, _diprintf_r, vdiprintf)
1084 (_vdiprintf_r, _fiprintf_r, _vfiprintf_r): Add prototypes.
1086 2007-03-30 Dave Korn <dave.korn@artimi.com>
1088 * libc/include/stdio.h (_ELIDABLE_INLINE): New macro to conceal
1089 conflicting inline semantics between C99 and GNU89.
1090 (__sgetc_r): Replace static inline with _ELIDABLE_INLINE to be
1091 compatible with -fkeep-inline-functions usage.
1092 (__sputc_r): Likewise for consistency even though disabled.
1094 2007-03-29 Nick Clifton <nickc@redhat.com>
1096 Reflect changes made to generic vfprintf.c:
1097 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1098 and add a "struct reent *" argument.
1099 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1100 argument and call _VFPRINTF_R instead of VFPRINTF.
1101 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1102 Fix uses of __sprint() and __sbprintf.
1104 2007-03-20 Nick Clifton <nickc@redhat.com>
1106 Reflect changes made to generic vfprintf.c:
1107 * libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r
1108 and add a "struct reent *" argument.
1109 (__sbprintf): Rename to __sbprintf_r, add a "struct reent *"
1110 argument and call _VFPRINTF_R instead of VFPRINTF.
1111 (_VFPRINTF_R): Add data pointer to call to cantwrite().
1112 Fix uses of __sprint() and __sbprintf.
1114 2007-03-16 Charles Wilson <cygwin@...>
1116 * libc/argz/argz_insert.c: "before" pointer is
1117 invalid after *argz realloc. Compute offset
1118 between "before" and *argz, and use it after
1119 reallocation instead.
1121 2007-03-16 Eric Blake <ebb9@byu.net>
1123 * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
1124 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
1126 2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
1128 * configure.in: Add new --enable-newlib-reent-small option.
1129 * configure: Regenerated.
1130 * acconfig.h: Add _WANT_REENT_SMALL.
1131 * newlib.hin: Regenerated minus PACKAGE macros to add
1132 _WANT_REENT_SMALL macro.
1133 * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
1135 * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
1137 * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
1138 use reentrant pointer passed in when resetting the file
1139 pointer to one of the std streams.
1141 2007-03-15 Eric Blake <ebb9@byu.net>
1143 * libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
1144 (__smakebuf): Rename...
1145 (__smakebuf_r): to this.
1146 * libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
1147 * libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
1148 allocation, then rename...
1149 (__smakebuf_r): ...to this and fix reentrancy.
1150 * libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
1151 allocation, then rename...
1152 (__swsetup_r): ...to this and fix reentrancy.
1153 * libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
1154 * libc/stdio/refill.c (__srefill_r): Likewise.
1155 * libc/stdio/fclose.c (_fclose_r): Likewise.
1156 * libc/stdio/fread.c (_fread_r): Likewise.
1157 * libc/stdio/freopen.c (_freopen_r): Likewise.
1158 * libc/stdio/wbuf.c (__swbuf_r): Likewise.
1159 * libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
1160 * libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
1161 failed asprintf allocation, and fix reentrancy.
1162 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
1163 as required by POSIX.
1164 * libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
1165 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
1166 * libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
1168 2007-03-12 Eric Blake <ebb9@byu.net>
1170 * libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
1171 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
1172 allocation to caller.
1173 * libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
1174 * libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
1175 * libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
1177 2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
1179 * libm/math/w_pow.c: Fix typo in documentation comment.
1181 2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
1183 * libc/reent/timer.c: Removed (split into two new files).
1184 * libc/reent/timesr.c: New file for _times_r.
1185 * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
1186 * reent/Makefile.in: Remove timer.c, add timesr.c and
1188 * libc/reent/Makefile.am: Regenerate.
1190 2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
1192 * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".
1194 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1196 * libc/machine/spu/Makefile.am: Add new objects.
1197 * libc/machine/spu/Makefile.in: Regenerated.
1198 * libc/machine/spu/fiprintf.c: New file. Add implementation of
1199 integer-only version.
1200 * libc/machine/spu/fiscanf.c: Ditto.
1201 * libc/machine/spu/iprintf.c: Ditto.
1202 * libc/machine/spu/iscanf.c: Ditto.
1203 * libc/machine/spu/siprintf.c: Ditto.
1204 * libc/machine/spu/siscanf.c: Ditto.
1205 * libc/machine/spu/sniprintf.c: Ditto.
1206 * libc/machine/spu/vfiprintf.c: Ditto.
1207 * libc/machine/spu/vfiscanf.c: Ditto.
1208 * libc/machine/spu/viprintf.c: Ditto.
1209 * libc/machine/spu/viscanf.c: Ditto.
1210 * libc/machine/spu/vsiprintf.c: Ditto.
1211 * libc/machine/spu/vsiscanf.c: Ditto.
1212 * libc/machine/spu/vsniprintf.c: Ditto.
1213 * libc/machine/spu/fprintf.c: Add support for integer-only
1215 * libc/machine/spu/fscanf.c: Ditto.
1216 * libc/machine/spu/printf.c: Ditto.
1217 * libc/machine/spu/scanf.c: Ditto.
1218 * libc/machine/spu/snprintf.c: Ditto.
1219 * libc/machine/spu/sprintf.c: Ditto.
1220 * libc/machine/spu/sscanf.c: Ditto.
1221 * libc/machine/spu/vfprintf.c: Ditto.
1222 * libc/machine/spu/vfscanf.c: Ditto.
1223 * libc/machine/spu/vprintf.c: Ditto.
1224 * libc/machine/spu/vscanf.c: Ditto.
1225 * libc/machine/spu/vsnprintf.c: Ditto.
1226 * libc/machine/spu/vsprintf.c: Ditto.
1227 * libc/machine/spu/vsscanf.c: Ditto.
1229 2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
1231 * libc/include/stdio.h: Add declaration for vsiprintf.
1233 2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
1235 Add a floating point environment for SPU (cell):
1237 * configure.host: add libm_machine_dir=spu.
1238 * libm/machine/configure: Add spu.
1239 * libm/machine/configure.in: regenerated with spu added.
1240 * libc/machine/spu/include/fenv.h: New file.
1241 * libc/machine/spu/sys/fenv.h: Ditto.
1242 * libm/machine/spu/Makefile.am: Ditto.
1243 * libm/machine/spu/Makefile.in: Ditto.
1244 * libm/machine/spu/aclocal.m4: Ditto.
1245 * libm/machine/spu/configure: Ditto.
1246 * libm/machine/spu/configure.in: Ditto.
1247 * libm/machine/spu/fe_dfl_env.c: Ditto.
1248 * libm/machine/spu/feclearexcept.c: Ditto.
1249 * libm/machine/spu/fegetenv.c: Ditto.
1250 * libm/machine/spu/fegetexceptflag.c: Ditto.
1251 * libm/machine/spu/fegetround.c: Ditto.
1252 * libm/machine/spu/feholdexcept.c: Ditto.
1253 * libm/machine/spu/feraiseexcept.c: Ditto.
1254 * libm/machine/spu/fesetenv.c: Ditto.
1255 * libm/machine/spu/fesetexceptflag.c: Ditto.
1256 * libm/machine/spu/fesetround.c: Ditto.
1257 * libm/machine/spu/fetestexcept.c: Ditto.
1258 * libm/machine/spu/feupdateenv.c: Ditto.
1259 * libm/machine/spu/headers/feclearexcept.h: Ditto.
1260 * libm/machine/spu/headers/fefpscr.h: Ditto.
1261 * libm/machine/spu/headers/fegetenv.h: Ditto.
1262 * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
1263 * libm/machine/spu/headers/fegetround.h: Ditto.
1264 * libm/machine/spu/headers/feholdexcept.h: Ditto.
1265 * libm/machine/spu/headers/feraiseexcept.h: Ditto.
1266 * libm/machine/spu/headers/fesetenv.h: Ditto.
1267 * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
1268 * libm/machine/spu/headers/fesetround.h: Ditto.
1269 * libm/machine/spu/headers/fetestexcept.h: Ditto.
1270 * libm/machine/spu/headers/feupdateenv.h: Ditto.
1272 2007-02-14 Corinna Vinschen <corinna@vinschen.de>
1274 * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
1277 2007-02-08 Corinna Vinschen <corinna@vinschen.de>
1279 * libc/include/sys/features.h: Add _POSIX_SHARED_MEMORY_OBJECTS for
1280 Cygwin. Fix value of _POSIX_SEMAPHORES. Fix formatting.
1282 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
1284 * libc/include/sys/features.h: Add definition of all supported
1285 _POSIX_xxx values for Cygwin.
1286 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
1288 (pthread_rwlockattr_t): Ditto.
1289 * libc/include/sys/unistd.h: Define all _SC_xxx values as
1290 required by SUSv3. Unify formatting.
1292 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
1294 * libc/include/sys/errno.h: Add ECANCELED.
1296 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1297 Kazunori Asayama <asayama@sm.sony.co.jp>
1299 * libc/machine/spu/Makefile.am: Add objects.
1300 * libc/machine/spu/Makefile.in: Regenerated.
1301 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
1303 * libc/machine/spu/snprintf.c: Ditto.
1304 * libc/machine/spu/sprintf.c: Ditto.
1305 * libc/machine/spu/sscanf.c: Ditto.
1306 * libc/machine/spu/remove.c: Ditto.
1307 * libc/machine/spu/rename.c: Ditto.
1308 * libc/machine/spu/tmpnam.c: Ditto.
1309 * libc/machine/spu/vsnprintf.c: Add initialization routine of
1311 * libc/machine/spu/vsprintf.c: Ditto.
1313 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
1314 Kazunori Asayama <asayama@sm.sony.co.jp>
1316 * configure.host: Enable SPU specific stdio directory.
1317 * libc/machine/spu/Makefile.am: Add objects.
1318 * libc/machine/spu/Makefile.in: Regenerated.
1319 * libc/machine/spu/c99ppe.h: Add macros and function
1320 declarations to initialize SPU specific stdio stuffs.
1321 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
1322 specific FILE structures.
1323 * libc/machine/spu/perror.c: Add initialization routine of
1325 * libc/machine/spu/printf.c: Ditto.
1326 * libc/machine/spu/putchar.c: Ditto.
1327 * libc/machine/spu/puts.c: Ditto.
1328 * libc/machine/spu/vprintf.c: Ditto.
1329 * libc/machine/spu/clearerr.c: New file. Add a stdio function
1331 * libc/machine/spu/feof.c: Ditto.
1332 * libc/machine/spu/ferror.c: Ditto.
1333 * libc/machine/spu/fileno.c: Ditto.
1334 * libc/machine/spu/fopen.c: Ditto.
1335 * libc/machine/spu/fclose.c: Ditto.
1336 * libc/machine/spu/freopen.c: Ditto.
1337 * libc/machine/spu/fflush.c: Ditto.
1338 * libc/machine/spu/fseek.c: Ditto.
1339 * libc/machine/spu/ftell.c: Ditto.
1340 * libc/machine/spu/rewind.c: Ditto.
1341 * libc/machine/spu/fgetpos.c: Ditto.
1342 * libc/machine/spu/fsetpos.c: Ditto.
1343 * libc/machine/spu/fread.c: Ditto.
1344 * libc/machine/spu/fwrite.c: Ditto.
1345 * libc/machine/spu/getc.c: Ditto.
1346 * libc/machine/spu/getchar.c: Ditto.
1347 * libc/machine/spu/gets.c: Ditto.
1348 * libc/machine/spu/fgetc.c: Ditto.
1349 * libc/machine/spu/fgets.c: Ditto.
1350 * libc/machine/spu/ungetc.c: Ditto.
1351 * libc/machine/spu/putc.c: Ditto.
1352 * libc/machine/spu/fputc.c: Ditto.
1353 * libc/machine/spu/fputs.c: Ditto.
1354 * libc/machine/spu/vfprintf.c: Ditto.
1355 * libc/machine/spu/vfscanf.c: Ditto.
1356 * libc/machine/spu/fprintf.c: Ditto.
1357 * libc/machine/spu/fscanf.c: Ditto.
1358 * libc/machine/spu/scanf.c: Ditto.
1359 * libc/machine/spu/vscanf.c: Ditto.
1360 * libc/machine/spu/setbuf.c: Ditto.
1361 * libc/machine/spu/setvbuf.c: Ditto.
1362 * libc/machine/spu/tmpfile.c: Ditto.
1364 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
1366 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
1367 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
1368 around stdio macros that manipulate fields in the normal file
1370 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
1371 <sys/custom_file.h> to define custom FILE structure.
1372 * libc/include/sys/custom_file.h: New default header file
1373 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
1374 * libc/machine/spu/sys/custom_file.h: New file.
1376 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
1378 * configure.host: Define stdio directory as a variable.
1379 * libc/Makefile.am: Define stdio related names
1381 * libc/configure.in: Add detection routine of stdio directory.
1382 * libc/Makefile.in: Regenerated.
1383 * libc/configure: Ditto.
1384 * libc/argz/Makefile.in: Ditto.
1385 * libc/ctype/Makefile.in: Ditto.
1386 * libc/errno/Makefile.in: Ditto.
1387 * libc/iconv/Makefile.in: Ditto.
1388 * libc/iconv/ccs/Makefile.in: Ditto.
1389 * libc/iconv/ccs/binary/Makefile.in: Ditto.
1390 * libc/iconv/ces/Makefile.in: Ditto.
1391 * libc/iconv/lib/Makefile.in: Ditto.
1392 * libc/locale/Makefile.in: Ditto.
1393 * libc/misc/Makefile.in: Ditto.
1394 * libc/posix/Makefile.in: Ditto.
1395 * libc/reent/Makefile.in: Ditto.
1396 * libc/search/Makefile.in: Ditto.
1397 * libc/signal/Makefile.in: Ditto.
1398 * libc/stdio/Makefile.in: Ditto.
1399 * libc/stdio64/Makefile.in: Ditto.
1400 * libc/stdlib/Makefile.in: Ditto.
1401 * libc/string/Makefile.in: Ditto.
1402 * libc/syscalls/Makefile.in: Ditto.
1403 * libc/time/Makefile.in: Ditto.
1404 * libc/unix/Makefile.in: Ditto.
1406 2007-01-30 Ben Elliston <bje@au.ibm.com>
1408 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
1410 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
1411 (printf): Pass fmt to va_start to suppress a warning.
1413 * libc/search/hash.c (init_hash): Make `info' parameter const.
1415 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
1417 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
1418 * libc/machine/spu/vec_literal.h: Ditto.
1419 * libc/machine/spu/strncmp.c: Ditto.
1421 2007-01-15 Joseph Myers <joseph@codesourcery.com>
1422 Kazu Hirata <kazu@codesourcery.com>
1424 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
1425 for E500V1 and E500V2.
1427 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
1429 * libm/configure.in: Always configure machine directory.
1430 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
1432 * libm/configure: Regenerated.
1433 * libm/Makefile.in: Ditto.
1434 * libm/*/Makefile.in: Ditto.
1436 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
1438 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
1440 2007-01-02 Ben Elliston <bje@au.ibm.com>
1442 * doc/makedoc.c: Include <stdlib.h>.
1443 (malloc, realloc): Remove extern declarations.
1445 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1447 * NEWS: Update with 1.15.0 info.
1449 * acinclude.m4: Change version number to 1.15.0.
1450 * aclocal.m4: Regenerated.
1452 * doc/aclocal.m4: Ditto.
1453 * doc/configure: Ditto.
1454 * libc/*/aclocal.m4: Ditto.
1455 * libc/*/configure: Ditto.
1456 * libc/libc.texinfo: Ditto.
1457 * libm/*/aclocal.m4: Ditto.
1458 * libm/*/configure: Ditto.
1459 * libm/libm.texinfo: Ditto.
1460 * libc/sys/linux/shared.ld: Add VERS_1.15.
1462 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
1464 Merge from newlib-csl-20060320-branch:
1465 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
1466 Kazu Hirata <kazu@codesourcery.com>
1468 * configure.host: Recognize fido.
1470 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
1472 * libc/machine/spu/c99ppe.h: New file
1473 * libc/machine/spu/perror.c: New file to override libc/stdio version.
1474 * libc/machine/spu/printf.c: New file
1475 * libc/machine/spu/putchar.c: New file
1476 * libc/machine/spu/puts.c: New file
1477 * libc/machine/spu/vprintf.c: New file
1478 * libc/machine/spu/vsnprintf.c: New file
1479 * libc/machine/spu/vsprintf.c: New file
1480 * libc/machine/spu/Makefile.am: Add new targets.
1481 * libc/machine/spu/Makefile.in: Regenerated.
1483 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1485 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
1486 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
1488 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
1490 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
1491 2.6.5 version of Doug Lea's malloc which is the basis of
1494 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
1496 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
1498 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
1499 Eric Blake <ebb9@byu.net>
1501 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
1502 read but unused data.
1503 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
1504 even read streams may have side effects that must happen.
1506 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1508 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
1511 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
1513 * libc/include/alloca.h: Add undef alloca to work with xlc.
1515 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
1517 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
1520 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1522 * libc/machine/spu/strncpy.c: Add padding.
1524 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
1526 * testsuite/newlib.string/tstring.c:
1528 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
1530 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
1531 * libc/machine/spu/strrchr.c: Ditto.
1533 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
1535 * libc/include/math.h: Allow C99 functions/macros to be
1536 defined for C++ even when __STRICT_ANSI__.
1538 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
1540 * libc/stdio/makebuf.c (__smakebuf): If dealing with
1541 an asprintf-family buffer, make the default initial size 64.
1543 2006-11-29 Eric Blake <ebb9@byu.net>
1545 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
1546 asprintf, as well as quadratic realloc behavior.
1548 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
1550 * libc/machine/spu/memset.c: Fix type of explicit cast.
1551 * libc/machine/spu/strncmp.c: Add explicit cast.
1552 * libc/machine/spu/strrchr.c: Ditto.
1553 * libc/machine/spu/strspn.c: Ditto.
1555 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
1557 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
1558 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
1559 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
1560 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
1561 * libc/machine/spu/strncat.c: Explicit cast.
1562 * libc/machine/spu/strncmp.c: Use spu_splats.
1563 * libc/machine/spu/strncpy.c: Explicit cast.
1564 * libc/machine/spu/strrchr.c: Use spu_splats.
1565 * libc/machine/spu/strspn.c: Use spu_splats.
1567 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
1569 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
1571 2006-11-14 Eric Blake <ebb9@byu.net>
1573 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
1574 (chclass): ' is a flag. j, t, and z are modifiers.
1576 2006-11-08 Jie Zhang <jie.zhang@analog.com>
1578 * configure.host: Add support for bfin.
1579 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
1580 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
1581 * libc/machine/bfin/aclocal.m4: Generate.
1582 * libc/machine/bfin/configure.in: New.
1583 * libc/machine/bfin/configure: Generate.
1584 * libc/machine/bfin/Makefile.am: New.
1585 * libc/machine/bfin/Makefile.in: Generate.
1586 * libc/machine/bfin/setjmp.S: New.
1587 * libc/machine/bfin/longjmp.S: New.
1588 * libc/machine/configure.in: Add bfin support.
1589 * libc/machine/configure: Generate.
1591 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
1593 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
1594 (_PC_FILESIZEBITS): Add definition.
1595 (_PC_2_SYMLINKS): Ditto.
1596 (_PC_SYMLINK_MAX): Ditto.
1598 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
1600 * libc/machine/spu/memcpy.c: Override generic function with vectorized
1601 version optimized for the cell spu.
1602 * libc/machine/spu/memmove.c: Ditto.
1603 * libc/machine/spu/memset.c: Ditto.
1604 * libc/machine/spu/strcat.c: Ditto.
1605 * libc/machine/spu/strchr.c: Ditto.
1606 * libc/machine/spu/strcmp.c: Ditto.
1607 * libc/machine/spu/strcpy.c: Ditto.
1608 * libc/machine/spu/strcspn.c: Ditto.
1609 * libc/machine/spu/strlen.c: Ditto.
1610 * libc/machine/spu/strncat.c: Ditto.
1611 * libc/machine/spu/strncmp.c: Ditto.
1612 * libc/machine/spu/strncpy.c: Ditto.
1613 * libc/machine/spu/strpbrk.c: Ditto.
1614 * libc/machine/spu/strrchr.c: Ditto.
1615 * libc/machine/spu/strspn.c: Ditto.
1616 * libc/machine/spu/strxfrm.c: Ditto.
1617 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
1618 removing altivec style initializers.
1619 * libc/machine/spu/Makefile.am: Add new files to list so they build
1620 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
1622 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
1624 * README: Add a brief section on how to regenerate
1625 configuration files in newlib.
1627 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
1629 * libc/include/math.h: (exception): Add a comment
1630 telling fixincludes that we handle C vs. C++ issue.
1632 2006-10-11 Yang Tse <yangsita@gmail.com>
1634 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
1637 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
1639 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
1641 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
1643 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
1644 for clearerr, feof, or fileno.
1645 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
1646 the dummy std stream scheme to use pointers to const external
1647 fake files, one for each standard stream.
1648 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
1649 argument. For _REENT_SMALL, reset the file pointer if it
1650 matches one of the fake std stream pointers.
1651 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
1653 * libc/stdio/fclose.c: Ditto.
1654 * libc/stdio/feof.c: Ditto.
1655 * libc/stdio/ferror.c: Ditto.
1656 * libc/stdio/fflush.c: Ditto.
1657 * libc/stdio/fgetc.c: Ditto.
1658 * libc/stdio/fgets.c: Ditto.
1659 * libc/stdio/fileno.c: Ditto.
1660 * libc/stdio/findfp.c: Ditto.
1661 * libc/stdio/fputc.c: Ditto.
1662 * libc/stdio/fputs.c: Ditto.
1663 * libc/stdio/fread.c: Ditto.
1664 * libc/stdio/freopen.c: Ditto.
1665 * libc/stdio/fseek.c: Ditto.
1666 * libc/stdio/ftell.c: Ditto.
1667 * libc/stdio/fwrite.c: Ditto.
1668 * libc/stdio/getc.c: Ditto.
1669 * libc/stdio/getdelim.c: Ditto.
1670 * libc/stdio/putc.c: Ditto.
1671 * libc/stdio/refill.c: Ditto.
1672 * libc/stdio/setvbuf.c: Ditto.
1673 * libc/stdio/ungetc.c: Ditto.
1674 * libc/stdio/vfprintf.c: Ditto.
1675 * libc/stdio/vfscanf.c: Ditto.
1676 * libc/stdio/wbuf.c: Ditto.: Ditto.
1677 * libc/stdio/wsetup.c: Ditto.
1678 * libc/stdio64/freopen64.c: Ditto.
1679 * libc/stdio64/fseeko64.c: Ditto.
1680 * libc/stdio64/ftello64.c: Ditto.
1681 * libc/machine/powerpc/vfprintf.c: Ditto.
1682 * libc/machine/powerpc/vfscanf.c: Ditto.
1684 2006-09-22 Paul Brook <paul@codesourcery.com>
1686 * libc/include/sys/reent.h: Define and use __reent_assert.
1688 2006-09-13 Joel Sherrill <joel@oarcorp.com>
1690 * libc/include/pthread.h: Add pthread barriers,
1691 rwlocks, and spinlocks. Change const to
1692 _CONST and prefix parameter names with
1694 * libc/include/sys/types.h: Add id and attribute
1695 types for barriers, wrlocks, and spinlocks.
1696 * libc/include/sys/features.h: Enable barriers,
1697 wrlocks, and spinlocks for RTEMS.
1699 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
1701 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
1702 supposed to be writable.
1703 * libm/common/s_lib_ver.c: Ditto.
1705 2006-09-12 Paul Brook <paul@codesourcery.com>
1707 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
1709 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
1712 * libc/machine/xstormy16/Makefile.am:
1713 Add $(lpfx) prefix to LIBADD objects.
1714 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
1715 * libc/machine/xstormy16/Makefile.in: Regenerated.
1717 2006-09-06 Eric Blake <ebb9@byu.net>
1719 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
1720 't', and 'z' modifiers.
1722 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
1724 Merge from newlib-csl-20060320-branch:
1725 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
1727 * configure.host: Tell it we have _rename and _system when
1728 building m68k-unknown-elf.
1730 2006-08-29 Paul Brook <paul@codesourcery.com>
1732 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
1734 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
1736 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
1737 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
1738 This is needed to build all AVR and H8300 RTEMS multilib variants.
1740 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
1742 * libc/machine/configure.in: Add configuration for SPU.
1743 * libc/machine/configure: Regenerated.
1744 * libc/machine/spu/memcpy.c: Include string.h.
1746 2006-08-22 Eric Blake <ebb9@byu.net>
1748 * libc/posix/popen.c (popen): Don't close output end of pipe in
1749 child if stdout was closed on entry.
1750 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
1752 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
1754 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
1757 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
1759 * libc/time/gmtime.c: Correct man page; clock is not a
1760 local time and no conversion occurs.
1762 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1764 * configure.host (newlib_cflags) [spu]: Add special compiler
1765 options to reduce size.
1767 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
1769 * configure.host: Add spu support.
1770 * libc/include/stdint.h: Ditto.
1771 * libc/include/machine/ieeefp.h: Ditto.
1772 * libc/include/machine/setjmp.h: Ditto.
1773 * libc/include/sys/config.h: Ditto.
1774 * libc/include/sys/types.h: Ditto.
1775 * libc/machine/spu/Makefile.am: New file.
1776 * libc/machine/spu/Makefile.in: Ditto.
1777 * libc/machine/spu/aclocal.m4: Ditto.
1778 * libc/machine/spu/configure: Ditto.
1779 * libc/machine/spu/configure.in: Ditto.
1780 * libc/machine/spu/memcpy.c: Ditto.
1781 * libc/machine/spu/setjmp.S: Ditto.
1783 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
1785 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
1788 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
1790 * libc/Makefile.am: Add libc_TEXINFOS dependency on
1791 generated .texi files.
1792 * libm/Makefile.am: Add libm_TEXINFOS dependency on
1793 generated .texi files.
1794 * libc/Makefile.in: Regenerated.
1795 * libm/Makefile.in: Ditto.
1797 2006-08-01 Thiemo Seufer <ths@mips.com>
1798 Nigel Stephens <nigel@mips.com>
1800 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
1801 define this to force _impure_ptr to live in the .sdata section.
1803 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1805 * acinclude.m4: Check for readelf tool.
1806 * configure.in: Use ${READELF} instead of hard-coding.
1807 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1809 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
1811 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
1812 to avoid conflict with newer glibc's revision of mremap.
1814 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
1816 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
1817 floating-point format support. Also redefine
1818 dword0 and dword1 macros.
1819 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
1820 to prevent setting dword1 which is an rvalue only.
1822 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
1824 * libc/stdlib/Makefile.am: Add new gdtoa routines.
1825 * libc/stdlib/Makefile.in: Regenerated.
1826 * libc/stdlib/gd_qnan.h: New file.
1827 * libc/stdlib/gdtoa-gethex.c: Ditto.
1828 * libc/stdlib/gdtoa-hexnan.c: Ditto.
1829 * libc/stdlib/gdtoa.h: Ditto.
1830 * libc/stdlib/mprec.c: Add new helper routines needed by
1832 * libc/stdlib/mprec.h: Integrate some defines and prototypes
1833 used by gdtoa routines here.
1834 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
1835 which adds C99 support such as nan, inf, and hexadecimal input
1838 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
1840 * libc/include/stdio.h (__sgetc_r): Fix typo.
1841 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
1842 * libc/stdio/rget.c (__srbuf): Reinstantiate.
1843 * libc/stdio/wbuf.c (__swbuf): Ditto.
1845 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
1847 * libc/include/stdio.h: Add new reentrant I/O prototypes for
1848 read/write functions. Change getc/putc macros to have reentrant underlying
1849 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
1850 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
1851 new reentrant I/O functions/macros for reading/writing.
1852 * libc/stdio/fgets.c: Ditto.
1853 * libc/stdio/fputc.c: Ditto.
1854 * libc/stdio/fputs.c: Ditto.
1855 * libc/stdio/fread.c: Ditto.
1856 * libc/stdio/fseek.c: Ditto.
1857 * libc/stdio64/fseeko64.c: Ditto.
1858 * libc/stdio/fwrite.c: Ditto.
1859 * libc/stdio/getc.c: Ditto.
1860 * libc/stdio/getc_u.c: Ditto.
1861 * libc/stdio/getchar.c: Ditto.
1862 * libc/stdio/getchar_u.c: Ditto.
1863 * libc/stdio/putc.c: Ditto.
1864 * libc/stdio/putc_u.c: Ditto.
1865 * libc/stdio/putchar.c: Ditto.
1866 * libc/stdio/puts.c: Ditto.
1867 * libc/stdio/vfprintf.c: Ditto.
1868 * libc/stdio/vfscanf.c: Ditto.
1869 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
1870 Change all previous callers of __sfvwrite. Set errno to EBADF and
1871 set error flag on if attempt is made to write to file that does not
1873 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
1874 * libc/stdio/local.h: Ditto.
1875 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
1876 Set errno to EBADF and the error flag on if attempt is made to
1877 read unreadable file. Change all previous callers of __srefill.
1879 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
1880 all previous callers of __swbuf.
1881 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
1882 huge value macros are already defined correctly for i386 by <math.h>.
1884 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
1886 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
1887 Make them do something useful in the ARM_RDI_MONITOR case.
1889 2006-06-07 Fred Fish <fnf@specifix.com>
1891 * libc/search/hash_bigkey.c (MIN,MAX): Remove
1892 defines that are already supplied by <sys/param.h>.
1894 2006-06-07 Fred Fish <fnf@specifix.com>
1896 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
1898 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1900 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
1902 * libc/posix/Makefile.in: Regenerate.
1903 * libc/posix/sleep.c: New file.
1904 * libc/posix/usleep.c: Ditto.
1906 2006-06-05 Shaun Jackman <sjackman@gmail.com>
1908 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
1909 -DABORT_PROVIDED flag.
1910 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
1911 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
1913 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
1915 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
1916 * Makefile.in: Regenerated.
1917 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
1918 extraneous CFLAGS reference now that CCASFLAGS are being extended
1919 properly via multilib.
1920 * libc/machine/sh/Makefile.in: Regenerated.
1922 2006-06-02 Shaun Jackman <sjackman@gmail.com>
1924 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
1927 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1929 * libc/misc/dprintf.c: Removed.
1930 * libc/misc/__dprintf.c: Renamed from dprintf.c.
1931 * libc/misc/Makefile.am: Changed appropriately for rename.
1932 * libc/misc/Makefile.in: Regenerated.
1934 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
1936 * libc/include/stdio.h: Protect dprintf prototype
1937 with #ifndef dprintf so as to not interfere with
1938 historical code defining their own dprintf macro.
1940 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
1942 * libc/include/stdio.h: Add prototypes for fiscanf,
1943 iscanf, and siscanf.
1945 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
1947 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
1948 (DEF_NEWLIB_VERSION).
1949 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
1950 * configure: Regenerate.
1952 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
1954 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
1956 * libc/ctype/Makefile.in: Regenerated.
1958 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
1960 * libc/machine/arm/Makefile.am: Fix a typo.
1961 * libc/machine/arm/Makefile.in: Regenerated.
1963 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
1965 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1966 * libc/machine/sh/Makefile.in: Regenerate.
1968 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
1970 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
1971 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
1973 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
1975 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
1977 * libc/sys/sysnec810/Makefile.in: Regenerated.
1978 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
1979 * libc/sys/sysnec810/io.S: Ditto.
1980 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
1981 * libc/sys/sysnec810/io.s: Ditto.
1983 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
1985 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
1986 be specified instead of object, do so.
1987 * libc/ctype/Makefile.am: Ditto.
1988 * libc/iconv/ccs/Makefile.am: Ditto.
1989 * libc/iconv/ces/Makefile.am: Ditto.
1990 * libc/iconv/lib/Makefile.am: Ditto.
1991 * libc/locale/Makefile.am: Ditto.
1992 * libc/posix/Makefile.am: Ditto.
1993 * libc/reent/Makefile.am: Ditto.
1994 * libc/search/Makefile.am: Ditto.
1995 * libc/stdio/Makefile.am: Ditto.
1996 * libc/stdio64/Makefile.am: Ditto.
1997 * libc/stdlib/Makefile.am: Ditto.
1998 * libc/string/Makefile.am: Ditto.
1999 * libc/syscalls/Makefile.am: Ditto.
2000 * libc/unix/Makefile.am: Ditto.
2001 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
2002 prefix added automatically. Any specified rules must use $(lpfx) for
2004 * libc/machine/arm/Makefile.am: Ditto.
2005 * libc/machine/cris/Makefile.am: Ditto.
2006 * libc/machine/crx/Makefile.am: Ditto.
2007 * libc/machine/d10v/Makefile.am: Ditto.
2008 * libc/machine/d30v/Makefile.am: Ditto.
2009 * libc/machine/fr30/Makefile.am: Ditto.
2010 * libc/machine/frv/Makefile.am: Ditto.
2011 * libc/machine/h8300/Makefile.am: Ditto.
2012 * libc/machine/h8500/Makefile.am: Ditto.
2013 * libc/machine/hppa/Makefile.am: Ditto.
2014 * libc/machine/i386/Makefile.am: Ditto.
2015 * libc/machine/i960/Makefile.am: Ditto.
2016 * libc/machine/iq2000/Makefile.am: Ditto.
2017 * libc/machine/m32c/Makefile.am: Ditto.
2018 * libc/machine/m32r/Makefile.am: Ditto.
2019 * libc/machine/m68hc11/Makefile.am: Ditto.
2020 * libc/machine/m68k/Makefile.am: Ditto.
2021 * libc/machine/m88k/Makefile.am: Ditto.
2022 * libc/machine/mips/Makefile.am: Ditto.
2023 * libc/machine/mn10200/Makefile.am: Ditto.
2024 * libc/machine/mn10300/Makefile.am: Ditto.
2025 * libc/machine/mt/Makefile.am: Ditto.
2026 * libc/machine/necv70/Makefile.am: Ditto.
2027 * libc/machine/powerpc/Makefile.am: Ditto.
2028 * libc/machine/sh/Makefile.am: Ditto.
2029 * libc/machine/sh/Makefile.in: Ditto.
2030 * libc/machine/sparc/Makefile.am: Ditto.
2031 * libc/machine/tic4x/Makefile.am: Ditto.
2032 * libc/machine/tic80/Makefile.am: Ditto.
2033 * libc/machine/v850/Makefile.am: Ditto.
2034 * libc/machine/w65/Makefile.am: Ditto.
2035 * libc/machine/xscale/Makefile.am: Ditto.
2036 * libc/machine/xstormy16/Makefile.am: Ditto.
2037 * libc/machine/z8k/Makefile.am: Ditto.
2038 * libc/sys/a29khif/Makefile.am: Ditto.
2039 * libc/sys/arm/Makefile.am: Ditto.
2040 * libc/sys/d10v/Makefile.am: Ditto.
2041 * libc/sys/h8300hms/Makefile.am: Ditto.
2042 * libc/sys/h8500hms/Makefile.am: Ditto.
2043 * libc/sys/linux/Makefile.am: Ditto.
2044 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2045 * libc/sys/linux/net/Makefile.am: Ditto.
2046 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2047 * libc/sys/m88kbug/Makefile.am: Ditto.
2048 * libc/sys/mmixware/Makefile.am: Ditto.
2049 * libc/sys/rdos/Makefile.am: Ditto.
2050 * libc/sys/rtems/Makefile.am: Ditto.
2051 * libc/sys/sh/Makefile.am: Ditto.
2052 * libc/sys/sun4/Makefile.am: Ditto.
2053 * libc/sys/sysmec/Makefile.am: Ditto.
2054 * libc/sys/sysnec810/Makefile.am: Ditto.
2055 * libc/sys/sysnecv850/Makefile.am: Ditto.
2056 * libc/sys/sysvi386/Makefile.am: Ditto.
2057 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2058 * libc/sys/tic80/Makefile.am: Ditto.
2059 * libc/sys/w65/Makefile.am: Ditto.
2060 * libc/sys/z8ksim/Makefile.am: Ditto.
2061 * libc/machine/necv70/fastmath.S: Renamed from .s file.
2062 * libc/machine/necv70/setjmp.S: Ditto.
2063 * libc/machine/necv70/fastmath.s: Removed.
2064 * libc/machine/necv70/setjmp.s: Ditto.
2065 * libc/machine/w65/*.S: New files renamed from .s files.
2066 * libc/machine/w65/*.s: Renamed and removed.
2067 * libc/sys/a29khif/*.S: New files renamed from .s files.
2068 * libc/sys/a29khif/*.s: Renamed and removed.
2069 * libc/sys/sysvi386/*.S: New files renamed from .s files.
2070 * libc/sys/sysvi386/*.s: Renamed and removed.
2071 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
2072 * libc/sys/sysvnecv70/*.s: Renamed and removed.
2073 * libc/*Makefile.in: Regenerated as appropriate.
2075 2006-04-24 DJ Delorie <dj@redhat.com>
2077 * libc/machine/sh/configure.in: Avoid link tests.
2078 * libc/machine/sh/configure: Regenerate.
2080 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
2082 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
2083 (sigaddset, sigemptyset): Add return code.
2085 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
2087 * acinclude.m4: New _NEWLIB_VERSION.
2088 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
2089 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
2090 Use new form of AC_INIT_AUTOMAKE.
2091 * configure.in: AC_PREREQ(2.59).
2092 Use autoconf-2.5.x version of AC_INIT.
2093 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
2094 autoconf-2.13's AC_OUTPUT.
2095 * libm/configure.in: Ditto.
2096 * libm/machine/configure.in: Ditto.
2097 * libm/machine/i386/configure.in: Ditto.
2098 * libc/configure.in: Ditto.
2099 * libc/machine/a29k/configure.in: Ditto.
2100 * libc/machine/arm/configure.in: Ditto.
2101 * libc/machine/configure.in: Ditto.
2102 * libc/machine/mn10300/configure.in: Ditto.
2103 * libc/machine/powerpc/configure.in: Ditto.
2104 * libc/machine/z8k/configure.in: Ditto.
2105 * libc/machine/h8300/configure.in: Ditto.
2106 * libc/machine/mips/configure.in: Ditto.
2107 * libc/machine/crx/configure.in: Ditto.
2108 * libc/machine/m68hc11/configure.in: Ditto.
2109 * libc/machine/h8500/configure.in: Ditto.
2110 * libc/machine/xscale/configure.in: Ditto.
2111 * libc/machine/d10v/configure.in: Ditto.
2112 * libc/machine/fr30/configure.in: Ditto.
2113 * libc/machine/sh/configure.in: Ditto.
2114 * libc/machine/tic80/configure.in: Ditto.
2115 * libc/machine/m32r/configure.in: Ditto.
2116 * libc/machine/xstormy16/configure.in: Ditto.
2117 * libc/machine/i386/configure.in: Ditto.
2118 * libc/machine/d30v/configure.in: Ditto.
2119 * libc/machine/mn10200/configure.in: Ditto.
2120 * libc/machine/frv/configure.in: Ditto.
2121 * libc/machine/mt/configure.in: Ditto.
2122 * libc/machine/i960/configure.in: Ditto.
2123 * libc/machine/v850/configure.in: Ditto.
2124 * libc/machine/necv70/configure.in: Ditto.
2125 * libc/machine/tic4x/configure.in: Ditto.
2126 * libc/machine/cris/configure.in: Ditto.
2127 * libc/machine/m68k/configure.in: Ditto.
2128 * libc/machine/m32c/configure.in: Ditto.
2129 * libc/machine/hppa/configure.in: Ditto.
2130 * libc/machine/w65/configure.in: Ditto.
2131 * libc/machine/iq2000/configure.in: Ditto.
2132 * libc/machine/sparc/configure.in: Ditto.
2133 * libc/machine/m88k/configure.in: Ditto.
2134 * libc/sys/linux/configure.in: Ditto.
2135 * libc/sys/linux/machine/configure.in: Ditto.
2136 * libc/sys/linux/machine/i386/configure.in: Ditto.
2137 * libc/sys/linux/linuxthreads/configure.in: Ditto.
2138 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2139 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
2140 * libc/sys/arm/configure.in: Ditto.
2141 * libc/sys/configure.in: Ditto.
2142 * libc/sys/decstation/configure.in: Ditto.
2143 * libc/sys/a29khif/configure.in: Ditto.
2144 * libc/sys/sysnecv850/configure.in: Ditto.
2145 * libc/sys/d10v/configure.in: Ditto.
2146 * libc/sys/netware/configure.in: Ditto.
2147 * libc/sys/mmixware/configure.in: Ditto.
2148 * libc/sys/h8500hms/configure.in: Ditto.
2149 * libc/sys/sh/configure.in: Ditto.
2150 * libc/sys/tic80/configure.in: Ditto.
2151 * libc/sys/rdos/configure.in: Ditto.
2152 * libc/sys/sysmec/configure.in: Ditto.
2153 * libc/sys/sysvi386/configure.in: Ditto.
2154 * libc/sys/h8300hms/configure.in: Ditto.
2155 * libc/sys/sparc64/configure.in: Ditto.
2156 * libc/sys/arc/configure.in: Ditto.
2157 * libc/sys/sysnec810/configure.in: Ditto.
2158 * libc/sys/m88kbug/configure.in: Ditto.
2159 * libc/sys/sysvnecv70/configure.in: Ditto.
2160 * libc/sys/z8ksim/configure.in: Ditto.
2161 * libc/sys/rtems/configure.in: Ditto.
2162 * libc/sys/w65/configure.in: Ditto.
2163 * libc/sys/sun4/configure.in: Ditto.
2164 * doc/configure.in: Ditto.
2165 * iconvdata/configure.in: Ditto.
2166 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
2168 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
2170 * acinclude.m4: Properly add square brackets for
2171 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
2172 macros no longer available. Add LIB_AM_PROG_AS to
2173 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
2174 macro. Substitute lpfx (library object prefix).
2175 * configure.host: Set lpfx depending on whether
2176 libtool is used or not.
2177 * configure.in: Individually specify libc and libm
2178 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
2180 * Makefile.am: Use $(lpfx) to get object names for
2181 math-library functions that should also be in libc.
2182 * libc/machine/configure.in: Use case statement to determine
2183 AC_CONFIG_SUBDIRS statement.
2184 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
2185 * libc/sys/linux/machine/configure.in: Ditto.
2186 * libc/sys/configure.in: Ditto.
2187 * libm/machine/configure.in: Ditto.
2188 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
2189 * libm/configure.in: Add AM_CONDITIONAL statement
2190 for HAVE_LIBM_MACHINE_DIR.
2191 * libc/machine/a29k/Makefile.am: Modified to work with
2192 latest automake. Change includes setting AM_CCASFLAGS
2193 so building .S files will properly pick up flags used
2195 * libc/machine/arm/Makefile.am: Ditto.
2196 * libc/machine/crx/Makefile.am: Ditto.
2197 * libc/machine/d10v/Makefile.am: Ditto.
2198 * libc/machine/d30v/Makefile.am: Ditto.
2199 * libc/machine/fr30/Makefile.am: Ditto.
2200 * libc/machine/frv/Makefile.am: Ditto.
2201 * libc/machine/h8300/Makefile.am: Ditto.
2202 * libc/machine/h8500/Makefile.am: Ditto.
2203 * libc/machine/hppa/Makefile.am: Ditto.
2204 * libc/machine/i386/Makefile.am: Ditto.
2205 * libc/machine/iq2000/Makefile.am: Ditto.
2206 * libc/machine/m32c/Makefile.am: Ditto.
2207 * libc/machine/m32r/Makefile.am: Ditto.
2208 * libc/machine/m68hc11/Makefile.am: Ditto.
2209 * libc/machine/m68k/Makefile.am: Ditto.
2210 * libc/machine/m88k/Makefile.am: Ditto.
2211 * libc/machine/mips/Makefile.am: Ditto.
2212 * libc/machine/mn10200/Makefile.am: Ditto.
2213 * libc/machine/mn10300/Makefile.am: Ditto.
2214 * libc/machine/mt/Makefile.am: Ditto.
2215 * libc/machine/necv70/Makefile.am: Ditto.
2216 * libc/machine/powerpc/Makefile.am: Ditto.
2217 * libc/machine/sh/Makefile.am: Ditto.
2218 * libc/machine/sparc/Makefile.am: Ditto.
2219 * libc/machine/tic4x/Makefile.am: Ditto.
2220 * libc/machine/tic80/Makefile.am: Ditto.
2221 * libc/machine/v850/Makefile.am: Ditto.
2222 * libc/machine/w65/Makefile.am: Ditto.
2223 * libc/machine/xscale/Makefile.am: Ditto.
2224 * libc/machine/xstormy16/Makefile.am: Ditto.
2225 * libc/machine/z8k/Makefile.am: Ditto.
2226 * libc/sys/a29khif/Makefile.am: Ditto.
2227 * libc/sys/arc/Makefile.am: Ditto.
2228 * libc/sys/arm/Makefile.am: Ditto.
2229 * libc/sys/d10v/Makefile.am: Ditto.
2230 * libc/sys/decstation/Makefile.am: Ditto.
2231 * libc/sys/h8300hms/Makefile.am: Ditto.
2232 * libc/sys/h8500hms/Makefile.am: Ditto.
2233 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
2234 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
2235 * libc/sys/m88kbug/Makefile.am: Ditto.
2236 * libc/sys/mmixware/Makefile.am: Ditto.
2237 * libc/sys/netware/Makefile.am: Ditto.
2238 * libc/sys/rdos/Makefile.am: Ditto.
2239 * libc/sys/rtems/Makefile.am: Ditto.
2240 * libc/sys/sh/Makefile.am: Ditto.
2241 * libc/sys/sparc64/Makefile.am: Ditto.
2242 * libc/sys/sysmec/Makefile.am: Ditto.
2243 * libc/sys/sysnec810/Makefile.am: Ditto.
2244 * libc/sys/sysnecv850/Makefile.am: Ditto.
2245 * libc/sys/sysvi386/Makefile.am: Ditto.
2246 * libc/sys/sysvnecv70/Makefile.am: Ditto.
2247 * libc/sys/tic80/Makefile.am: Ditto.
2248 * libc/sys/w65/Makefile.am: Ditto.
2249 * libc/sys/z8ksim/Makefile.am: Ditto.
2250 * libm/machine/i386/Makefile.am: Ditto.
2251 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
2252 trap.S so that automake will generate a .S.o suffix rule.
2253 * libc/argz/Makefile.am: Modified to work with
2254 latest automake. Change includes adding lib_a_CFLAGS
2255 so automake doesn't complain about libtool and non-libtool
2256 libraries sharing objects.
2257 * libc/ctype/Makefile.am: Ditto.
2258 * libc/errno/Makefile.am: Ditto.
2259 * libc/iconv/ccs/Makefile.am: Ditto.
2260 * libc/iconv/ces/Makefile.am: Ditto.
2261 * libc/iconv/lib/Makefile.am: Ditto.
2262 * libc/locale/Makefile.am: Ditto.
2263 * libc/misc/Makefile.am: Ditto.
2264 * libc/posix/Makefile.am: Ditto.
2265 * libc/reent/Makefile.am: Ditto.
2266 * libc/search/Makefile.am: Ditto.
2267 * libc/signal/Makefile.am: Ditto.
2268 * libc/stdio/Makefile.am: Ditto.
2269 * libc/stdio64/Makefile.am: Ditto.
2270 * libc/stdlib/Makefile.am: Ditto.
2271 * libc/string/Makefile.am: Ditto.
2272 * libc/sys/linux/Makefile.am: Ditto.
2273 * libc/sys/linux/argp/Makefile.am: Ditto.
2274 * libc/sys/linux/cmath/Makefile.am: Ditto.
2275 * libc/sys/linux/dl/Makefile.am: Ditto.
2276 * libc/sys/linux/iconv/Makefile.am: Ditto.
2277 * libc/sys/linux/intl/Makefile.am: Ditto.
2278 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
2279 * libc/sys/linux/net/Makefile.am: Ditto.
2280 * libc/sys/linux/stdlib/Makefile.am: Ditto.
2281 * libc/syscalls/Makefile.am: Ditto.
2282 * libc/time/Makefile.am: Ditto.
2283 * libc/unix/Makefile.am: Ditto.
2284 * libm/Makefile.am: Ditto.
2285 * libm/common/Makefile.am: Ditto.
2286 * libm/math/Makefile.am: Ditto.
2287 * libm/mathfp/Makefile.am: Ditto.
2288 * Regenerate all aclocal.m4, Makefile.in, and configure files.
2290 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
2292 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
2293 anymore. Assume there is a gettimeofday syscall.
2295 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2297 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
2298 for the declaration of n_long.
2300 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2302 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
2304 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
2305 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
2306 (IFF_NOTRAILERS): New define.
2307 (struct ifreq): Add ifru_netmask.
2308 (ifr_netmask): New define.
2310 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2312 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
2315 2006-03-29 Shaun Jackman <sjackman@gmail.com>
2317 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
2318 linux-newlib libc implementations.
2320 2006-03-29 Eric Blake <ebb9@byu.net>
2322 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
2323 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
2325 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2327 * libc/sys/linux/io.c (__mknod): Fix declaration of
2328 syscall to pass a dev_t as third argument rather than
2331 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
2333 * libc/sys/linux/net/name6.c: Fix struct references.
2335 2006-03-22 Mark Mitchell <mark@codesourcery.com>
2337 * configure.host: Allow hosts to set the default
2338 newlib_atexit_dynamic_alloc value.
2339 * configure.in: Likewise.
2340 * configure: Regenerated.
2342 2006-03-20 Mark Mitchell <mark@codesourcery.com>
2344 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
2345 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
2347 * configure: Regenerated.
2348 * newlib.hin: Regenerated.
2349 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
2350 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2351 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
2352 if _ATEXIT_DYNAMIC_ALLOC is undefined.
2354 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
2356 * libc/sys/linux/linuxthreads/config.h: Remove definition
2359 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
2361 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
2362 for a string I/O file that isn't using the asprintf family.
2364 2006-03-07 Eric Blake <ebb9@byu.net>
2366 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
2367 filename, allow read-only or write-only FILE atop O_RDWR file
2369 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
2371 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
2373 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
2374 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
2376 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
2378 * libm/math/math.tex: Fix reference to sisnan.def which
2379 is now in common subdirectory.
2380 * libm/mathfp/mathfp.tex: Ditto.
2382 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
2384 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
2385 s_isnand, and sf_isnanf object files.
2386 * Makefile.in: Regenerated.
2387 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
2388 conflict if <math.h> has previously been included.
2389 * libc/include/math.h
2390 * libc/include/math.h: Make isnan and isinf macros to
2392 (__isinfd, __isinff, __isnand, __isnanf): New functions.
2393 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
2394 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
2395 sf_isinf files which have been moved from math/mathfp directories.
2396 * libm/common/Makefile.in: Regenerated.
2397 * libm/common/s_isinfd.c: New file.
2398 * libm/common/s_isnand.c: Ditto.
2399 * libm/common/sf_isinff.c: Ditto.
2400 * libm/common/sf_isnanf.c: Ditto.
2401 * libm/common/s_isinf.c: Moved from libm/math directory.
2402 * libm/common/s_isnan.c: Ditto.
2403 * libm/common/sf_isinf.c: Ditto.
2404 * libm/common/sf_isnan.c: Ditto.
2405 * libm/math/Makefile.am: Remove isinf and isnan family functions
2406 which have been moved into common directory.
2407 * libm/mathfp/Makefile.am: Ditto.
2408 * libm/math/Makefile.in: Regenerated.
2409 * libm/mathfp/Makefile.in: Ditto.
2410 * libm/math/s_isinf.c: Removed.
2411 * libm/math/s_isnan.c: Ditto.
2412 * libm/math/sf_isinf.c: Ditto.
2413 * libm/math/sf_isnan.c: Ditto.
2414 * libm/mathfp/s_isinf.c: Ditto.
2415 * libm/mathfp/s_isnan.c: Ditto.
2416 * libm/mathfp/sf_isinf.c: Ditto.
2417 * libm/mathfp/sf_isnan.c: Ditto.
2419 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
2421 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
2422 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
2423 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
2424 seek, turn off the __SNPT no-optimization flag.
2426 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
2428 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
2430 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
2431 <features.h> to preset special flags.
2433 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
2435 * libc/include/sys/time.h (struct timeval): Change member types
2437 * libc/include/sys/types.h (useconds_t): Change to unsigned
2439 (suseconds_t): Define type.
2441 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
2442 David Carne <davidcarne@gmail.com>
2444 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
2445 instead of strlen to determine number of bytes to copy.
2446 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
2447 before looking at storage location.
2449 2006-02-07 Paul Brook <paul@codesourcery.com>
2451 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
2452 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
2453 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
2454 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
2455 * libc/sys/arm/trap.S: Disable for Thumb-2.
2457 2006-01-31 Leif Ekblad <leif@rdos.net>
2459 * configure.host: RDOS support added
2460 * libc/include/sys/config.h: Ditto.
2461 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
2462 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
2463 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
2464 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
2465 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
2466 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
2467 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
2468 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
2469 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
2470 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
2471 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
2472 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
2473 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
2474 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
2475 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
2476 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
2477 * libc/sys/rdos/write.c: Ditto.
2479 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
2481 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
2482 so as not to define PACKAGE and VERSION in newlib.h.
2483 * aclocal.m4: Regenerated.
2485 * newlib.hin: Ditto.
2487 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
2489 * acconfig.h: New file to generate newlib.hin from.
2490 * newlib.hin: Regenerated.
2491 * stamp-h.in: Regenerated.
2492 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
2493 called automatically.
2494 * Makefile.in: Regenerated.
2495 * acinclude.m4: Add proper comment for hack in previous change.
2496 * aclocal.m4 */aclocal.m4: Regenerated.
2497 * configure */configure: Regenerated.
2499 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
2501 * acinclude.m4: Add hack to prevent INSTALL in subdirs
2502 from being set to "../".
2503 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
2504 * aclocal.m4: Regenerated.
2506 * Makefile.in: Ditto.
2507 * doc/aclocal.m4: Ditto.
2508 * doc/configure: Ditto.
2509 * iconvdata/aclocal.m4: Ditto.
2510 * iconvdata/configure: Ditto.
2511 * libc/*/aclocal.m4: Ditto.
2512 * libc/*/configure: Ditto.
2513 * libc/libc.texinfo: Ditto.
2514 * libm/*/aclocal.m4: Ditto.
2515 * libm/*/configure: Ditto.
2517 2006-01-10 Eric Blake <ebb9@byu.net>
2519 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
2520 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2522 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
2524 * libm/mathfp/s_frexp.c: Check for special values on
2525 the original input, not the manipulated output value.
2526 * libm/mathfp/sf_frexp.c: Ditto.
2527 * libm/mathfp/s_atangent.c: Don't use local value branch
2528 when checking for quadrant.
2529 * libm/mathfp/sf_atangent.c: Ditto.
2531 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
2533 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
2534 * libc/stdio64/freopen64.c: Ditto.
2536 2006-01-09 Eric Blake <ebb9@byu.net>
2538 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
2539 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
2541 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
2543 * libc/sys/linux/include/getopt.h: Add macros needed by
2544 new version of getopt.c in libc/stdlib.
2546 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
2548 * libc/stdlib/getopt.c: Replaced with version
2549 that adds getopt_long and getopt_long_only support.
2550 * libc/include/getopt.h: New file.
2552 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2554 * NEWS: Update with 1.14.0 info.
2556 * acinclude.m4: Change version number to 1.14.0.
2557 * aclocal.m4: Regenerated.
2559 * doc/aclocal.m4: Ditto.
2560 * doc/configure: Ditto.
2561 * libc/*/aclocal.m4: Ditto.
2562 * libc/*/configure: Ditto.
2563 * libc/libc.texinfo: Ditto.
2564 * libm/*/aclocal.m4: Ditto.
2565 * libm/*/configure: Ditto.
2566 * libm/libm.texinfo: Ditto.
2567 * libc/sys/linux/shared.ld: Add VERS_1.14.
2569 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
2571 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
2572 take a pointer to struct stat64 rather than struct stat.
2574 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
2576 * libc/include/stdint.h: Prefer long over int for int32_t.
2577 Use __have_long32 to set up int32_t.
2578 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
2579 (Sync with stdint.h).
2581 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
2583 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
2584 typo in O_NDELAY comment.
2586 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
2588 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
2589 * libc/include/machine/setjmp.h (__mt__): Likewise.
2590 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
2591 * libc/machine/configure.in: Ditto.
2593 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
2595 * configure.host: Replace ms1 arch with mt arch.
2596 * libc/machine/mt: Renamed from ms1 dir.
2598 2005-12-08 Shaun Jackman <sjackman@gmail.com>
2600 * libc/include/sys/types.h: Remove the ifdef armour around
2601 standard POSIX types.
2603 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2605 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
2606 rtems_gxx_key_delete, rtems_gxx_getspecific,
2607 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
2608 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
2609 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
2611 2005-12-05 Christopher Faylor <cgf@timesys.com>
2613 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
2614 file. Declare unsetenv and _unsetenv_r when not cygwin.
2616 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
2618 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
2619 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
2621 2005-11-18 Christopher Faylor <cgf@timesys.com>
2623 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
2625 2005-11-18 Christopher Faylor <cgf@timesys.com>
2627 * include/time.h: Remove more cygwin-specific stuff.
2629 2005-11-18 Christopher Faylor <cgf@timesys.com>
2631 * include/time.h: Move cygwin declarations to cygwin-specific header.
2632 * include/sys/time.h: Rename cygwin include to "sys_time.h".
2634 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
2636 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
2637 in libc/sys/linux/include.
2638 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
2639 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
2640 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
2641 in libc/sys/linux/dl.
2643 2005-11-11 Christopher Faylor <cgf@timesys.com>
2645 * libc/include/sys/time.h: For cygwin, use general header rather than
2646 specific "sys/select.h".
2648 2005-11-08 Tom Walsh <tom@openhardware.net>
2650 * libc/time/tzvars.c: New file.
2651 * libc/time/tzset_r.c: Moved globals into tzvars.c
2652 so other time functions needn't link in __tzset_r and its
2654 * libc/time/Makefile.am: Add the new file.
2655 * libc/time/Makefile.in: Regenerated.
2657 2005-11-08 Christopher Faylor <cgf@timesys.com>
2659 * libc/include/string.h: Add cygwin-specific function declaration.
2661 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
2663 * libc/include/ieeefp.h: Add C++ guards.
2665 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
2667 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
2668 * libc/unix/getlogin.c: Ditto.
2669 * libc/unix/getpass.c: Ditto.
2670 * libc/unix/getut.c: Ditto.
2671 * libc/unix/ttyname.c: Ditto.
2673 2005-11-03 Shaun Jackman <sjackman@gmail.com>
2675 * libc/include/sys/unistd.h (readlink, symlink): Provide these
2676 prototypes by default.
2677 * libc/sys/linux/include/unistd.h (readlink): Remove this
2679 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
2682 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
2684 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
2686 2005-10-31 Darin Johnson <darin@usa.net>
2688 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
2689 correct for constants.
2691 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2693 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
2694 * libc/stdio/siscanf.c: Likewise.
2695 * libc/stdio/sprintf.c: Likewise.
2696 * libc/stdio/sscanf.c: Likewise.
2697 * libc/stdio/vfprintf.c: Likewise.
2698 * libc/stdio/vfscanf.c: Likewise.
2699 * libc/stdio/viprintf.c: Likewise.
2700 * libc/stdio/viscanf.c: Likewise.
2702 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2704 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
2705 example to use "_end" symbol instead of "end". Change write example
2706 to use "outbyte" instead of "writechar".
2708 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2710 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
2711 * libc/ctype/islower.c: Likewise.
2712 * libc/ctype/isupper.c: Likewise.
2713 * libc/ctype/iswalnum.c: Likewise.
2714 * libc/ctype/iswalpha.c: Likewise.
2715 * libc/ctype/iswblank.c: Likewise.
2716 * libc/ctype/iswcntrl.c: Likewise.
2717 * libc/ctype/iswdigit.c: Likewise.
2718 * libc/ctype/iswgraph.c: Likewise.
2719 * libc/ctype/iswlower.c: Likewise.
2720 * libc/ctype/iswprint.c: Likewise.
2721 * libc/ctype/iswpunct.c: Likewise.
2722 * libc/ctype/iswspace.c: Likewise.
2723 * libc/ctype/iswupper.c: Likewise.
2724 * libc/ctype/iswxdigit.c: Likewise.
2725 * libc/ctype/tolower.c: Likewise.
2726 * libc/ctype/toupper.c: Likewise.
2727 * libc/ctype/towctrans.c: Likewise.
2728 * libc/ctype/towlower.c: Likewise.
2729 * libc/ctype/towupper.c: Likewise.
2730 * libc/string/strcasecmp.c: Likewise.
2731 * libc/string/strcoll.c: Likewise.
2732 * libc/string/strings.tex: Likewise.
2733 * libc/string/strlwr.c: Likewise.
2734 * libc/string/strncasecmp.c: Likewise.
2735 * libc/string/strupr.c: Likewise.
2736 * libc/string/wcscoll.c: Likewise.
2737 * libc/string/wcslcat.c: Likewise.
2738 * libc/string/wcslcpy.c: Likewise.
2739 * libc/string/wcsnlen.c: Likewise.
2740 * libc/string/wcsstr.c: Likewise.
2741 * libc/string/wcstrings.tex: Likewise.
2742 * libc/string/wmemchr.c: Likewise.
2743 * libc/string/wmemcmp.c: Likewise.
2744 * libc/string/wmemcpy.c: Likewise.
2745 * libc/string/wmemmove.c: Likewise.
2746 * libc/string/wmemset.c: Likewise.
2748 2005-10-28 Bob Wilson <bob.wilson@acm.org>
2750 * libc/misc/unctrl.c: Replace FUNCTION description.
2751 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
2752 * libc/stdio/getdelim.c: Fix spelling errors.
2753 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
2754 * libc/stdio/putw.c: Likewise.
2755 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
2757 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
2758 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
2759 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
2760 * libc/stdlib/mlock.c: Likewise.
2761 * libc/stdlib/mstats.c: Likewise.
2762 * libc/time/tzlock.c: Likewise.
2763 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
2764 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
2765 and hyphenate "pseudo-random".
2766 * libc/string/bcmp.c: Remove extra blank lines in documentation.
2767 * libc/string/strncat.c: Likewise.
2768 * libc/string/memchr.c: Remove extra ">" character in documentation.
2769 * libc/string/strcspn.c: Use "characters" instead of "chars".
2770 * libc/string/strpbrk.c: Likewise.
2771 * libc/string/strerror_r.c: Capitalize "GNU".
2772 * libc/string/strnlen.c: Likewise.
2773 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
2774 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
2775 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
2776 * libc/string/wcschr.c: Likewise.
2777 * libc/string/wcscmp.c: Likewise.
2778 * libc/string/wcscpy.c: Likewise.
2779 * libc/string/wcscspn.c: Likewise.
2780 * libc/string/wcslen.c: Likewise.
2781 * libc/string/wcsncat.c: Likewise.
2782 * libc/string/wcsncmp.c: Likewise.
2783 * libc/string/wcsncpy.c: Likewise.
2784 * libc/string/wcsnlen.c: Likewise.
2785 * libc/string/wcspbrk.c: Likewise.
2786 * libc/string/wcsrchr.c: Likewise.
2787 * libc/string/wcsspn.c: Likewise.
2788 * libc/string/wmemchr.c: Likewise.
2789 * libc/string/wmemcmp.c: Likewise.
2790 * libc/string/wmemcpy.c: Likewise.
2791 * libc/string/wmemset.c: Likewise.
2792 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
2793 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
2794 * libc/string/wcwidth.c: Likewise.
2795 * libm/common/s_modf.c: Remove extra period from documentation.
2796 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
2798 * libm/mathfp/s_isnan.c: Likewise.
2799 * libm/math/s_ldexp.c: Fix punctuation.
2800 * libm/mathfp/s_ldexp.c: Likewise.
2801 * libm/math/w_log.c: Likewise.
2802 * libm/mathfp/s_logarithm.c: Likewise.
2803 * libm/math/w_j0.c: Add spaces to FUNCTION description.
2804 * libm/mathfp/w_jn.c: Likewise.
2806 2005-10-26 Shaun Jackman <sjackman@gmail.com>
2808 * libc/posix/scandir.c (scandir): Update the function
2809 prototype to match the header.
2810 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
2812 * libc/sys/linux/sys/lock.h: Do not include
2813 machine/weakalias.h, since it's not used by this file.
2815 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
2817 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
2818 directories can override properly.
2820 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
2822 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
2823 gcc is 3.3 or greater, use special gcc builtins.
2825 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
2827 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
2829 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
2831 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
2833 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2835 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
2836 * libm/common/Makefile.am: Add s_infconst.c support.
2837 * libm/common/Makefile.in: Regenerated.
2838 * libm/common/s_infconst.c: New file with float and
2839 long double infinity support added.
2840 * libm/math/Makefile.am: Remove s_infconst.c support.
2841 * libm/math/Makefile.in: Regenerated.
2842 * libm/math/s_infconst.c: Moved to common directory.
2843 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
2844 * libm/mathfp/Makefile.in: Regenerated.
2845 * libm/mathfp/s_infconst.c: Moved to common directory.
2847 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2849 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
2850 dbgprintf to prevent conflict with new dprintf function.
2852 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2854 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
2855 "nan" processing for systems that have long double support.
2857 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
2859 * libc/sys/linux/sys/types.h (int8_t): Add type.
2861 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2863 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
2864 * libm/common/Makefile.in: Regenerate.
2865 * libm/common/common.tex: Delete file.
2866 * libm/math/math.tex: Include .def files from common/.
2867 * libm/mathfp/mathfp.tex: Likewise.
2869 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2871 * libc/libc.texinfo (Top): Surround this node with @ifnottex
2872 instead of @ifinfo. Update menu to add Introduction and match
2874 (Introduction): New section.
2876 2005-10-14 Bob Wilson <bob.wilson@acm.org>
2878 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
2879 with "Red Hat newlib C Library".
2880 * libc/sys.tex (Stubs): Likewise.
2881 * libm/math/math.tex (Math): Likewise.
2882 * libm/mathfp/mathfp.tex (Math): Likewise.
2884 2005-10-11 Shaun Jackman <sjackman@gmail.com>
2886 * libc/include/stdio.h (dprintf): New declaration.
2888 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
2890 * libc/stdio/Makefile.in: Regenerate.
2891 * libc/stdio/dprintf.c: New file.
2892 * libc/stdio/vdprintf.c: New file.
2893 * libc/stdio/stdio.tex (dprintf): New entry.
2895 2005-10-11 David Weatherford <weath@tensilica.com>
2897 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
2898 Print "inf" and "nan" in lowercase for e/f/g formats and in
2899 uppercase for E/F/G formats.
2901 2005-10-07 Bob Wilson <bob.wilson@acm.org>
2903 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
2904 to ENOMEM on failure.
2906 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
2908 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
2910 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
2912 * libc/include/stdint.h: Move magic to set __have_long* to the
2913 beginning. Use #if __have* instead of #if defined(__have*).
2916 2005-10-04 James E Wilson <wilson@specifix.com>
2918 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
2921 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
2923 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
2924 incorporate Ralf's change below.
2926 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
2928 * libc/include/stdint.h:
2929 Use __INTMAX_TYPE__ to derive intmax_t.
2930 Use __UINTMAX_TYPE__ to derive uintmax_t.
2933 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
2935 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
2938 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2940 * libc/sys/linux/include/stdint.h: Update to match functionality
2941 of generic newlib stdint.h.
2943 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2945 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
2946 and do not #undef the macro after it is used. Fix typos.
2947 Also change 64-bit constants to use the __have_long64 and
2948 __have_longlong64 flags to determine if long or long long
2949 constants should be used.
2950 * libc/include/inttypes.h: Include stddef.h to get wchar_t
2953 2005-09-20 Shaun Jackman <sjackman@gmail.com>
2955 * libc/include/stdint.h: Fix typo in names of
2958 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
2960 * libc/sys/rtems/include/inttypes.h: Moved to...
2961 * libc/include/inttypes.h: ...here.
2963 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
2965 * libc/sys/rtems/include/stdint.h: Moved to...
2966 * libc/include/stdint.h: ...here.
2968 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
2970 * Makefile.am: Add include files under bits sub-directory.
2971 * Makefile.in: Regenerated.
2972 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
2973 actual value of 1 to be compatible with newer glibc headers.
2974 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
2976 * libc/sys/linux/sys/dirent.h: Ditto.
2977 * libc/sys/linux/argp/argp-xinl.c: Ditto.
2978 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
2979 profile_fixup routines are marked used so they won't be
2981 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
2982 to mark functions as weak.
2983 * libc/sys/linux/dl/dl-open.c: Ditto.
2984 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
2985 rules about lvalues.
2986 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
2987 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
2988 weak_extern macro to mark functions as weak. Instead always
2990 * iconvdata/jis0208.h: Fix to work with gcc4.
2991 * libc/sys/linux/dl/dl-load.c: Ditto.
2992 * libc/sys/linux/dl/dl-reloc.c: Ditto.
2993 * libc/sys/linux/dl/do-rel.h: Ditto.
2994 * libc/sys/linux/dl/dynamic-link.h: Ditto.
2995 * libc/sys/linux/include/ltdl.h: Ditto.
2996 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
2997 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
2998 * libc/sys/linux/net/ns_ntoa.c: Ditto.
2999 * libc/sys/linux/bits/initspin.h: New file.
3000 * libc/sys/linux/bits/libc-lock.h: Ditto.
3001 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
3002 * libc/sys/linux/bits/typesizes.h: Ditto.
3004 2005-09-08 Eric Blake <ebb9@byu.net>
3006 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
3009 2005-09-08 Brian Dessent <brian@dessent.net>
3011 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
3015 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
3017 * libc/include/stdio.h: Add prototype for viprintf.
3019 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
3021 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
3022 any positive power results in 0.
3023 * libm/mathfp/sf_pow.c (powf): Ditto.
3025 2005-08-31 Paul Brook <paul@codesourcery.com>
3027 * configure.host: Set have_crt0 to no for Arm targts when not
3028 providing syscalls. Set sys_dir=arm unconditionally.
3029 Default have_crt0 based on sys_dir.
3030 * configure.in: Use have_crt0.
3031 * libc/configure.in: Ditto.
3032 * libc/sys/configure.in: Ditto.
3033 * configure: Regenerate.
3034 * libc/configure: Regenerate.
3035 * libc/sys/configure: Regenerate.
3036 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
3037 Only build other files when providing syscalls.
3038 * libc/sys/arm/Makefile.in: Regenerate.
3039 * libc/sys/arm/aeabi_atexit.c: New file.
3041 2005-08-26 Christopher Faylor <cgf@timesys.com>
3043 * libc/include/string.h: Revert previous change.
3045 2005-08-25 Christopher Faylor <cgf@timesys.com>
3047 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
3049 2005-08-22 Shaun Jackman <sjackman@gmail.com>
3051 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
3052 define _opendir as opendir, _readdir as readdir, and
3053 _closedir as closedir so that the implementations in
3054 libc/posix will be used.
3056 2005-08-10 DJ Delorie <dj@redhat.com>
3058 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
3060 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
3062 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
3063 * libm/common/s_max.c: Ditto.
3064 * libm/common/sf_fmin.c: Ditto.
3065 * libm/common/s_min.c: Ditto.
3067 2005-08-10 DJ Delorie <dj@redhat.com>
3069 * configure.host: Add m32c support.
3070 * libc/include/machine/ieeefp.h: Likewise.
3071 * libc/include/machine/setjmp.h: Likewise.
3072 * libc/include/sys/config.h: Likewise.
3073 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
3074 * libc/machine/m32c/aclocal.m4: New file.
3075 * libc/machine/m32c/configure: Ditto.
3076 * libc/machine/m32c/configure.in: Ditto.
3077 * libc/machine/m32c/Makefile.am: Ditto.
3078 * libc/machine/m32c/Makefile.in: Ditto.
3079 * libc/machine/m32c/setjmp.S: Ditto.
3081 2005-08-02 Bob Wilson <bob.wilson@acm.org>
3083 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
3084 to the value for 2^126.
3086 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
3088 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
3091 2005-07-20 Bob Wilson <bob.wilson@acm.org>
3092 Darin Petkov <darin@tensilica.com>
3094 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
3096 2005-07-19 Paul Brook <paul@codesourcery.com>
3098 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
3100 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
3102 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
3103 names after PASS and FAIL which do not depend on source directory
3104 name or on whether test passed or failed.
3105 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
3107 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
3109 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
3111 2005-07-07 Shaun Jackman <sjackman@gmail.com>
3113 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
3114 twice for the same directory. _closedir calls free, and freeing
3115 the same pointer twice may cause a crash.
3117 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
3119 * configure.host: Added entry for ms1*.
3120 * libc/include/machine/ieeefp.h: Handle ms1.
3121 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
3122 * libc/machine/ms1/aclocal.m4: New.
3123 * libc/machine/ms1/configure: New.
3124 * libc/machine/ms1/configure.in: New.
3125 * libc/machine/ms1/Makefile.am: New.
3126 * libc/machine/ms1/Makefile.in: New.
3127 * libc/machine/ms1/setjmp.S: New.
3129 2005-07-04 Mark Mitchell <mark@codesourcery.com>
3131 * Makefile.am (site.exp): Set tmpdir.
3132 * Makefile.in: Regenerated.
3133 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
3134 executables in $tmpdir.
3135 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
3136 libgloss version if not running in the build directory.
3137 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
3139 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
3142 2005-06-28 Dave Korn <dave.korn@artimi.com>
3144 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
3145 and miscalculation caused by fp representation of zero.
3146 * libm/common/sf_lrint.c (lrintf): Likewise.
3148 2005-06-16 Christopher Faylor <cgf@timesys.com>
3150 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
3151 determine characteristics of long double. Use a union instead.
3152 * ldtoa.c (_ldtoa_r): Ditto.
3155 (union uconv): New union.
3157 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
3159 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
3162 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3164 * configure.host (mn10300-*): Add long long I/O support by default.
3166 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
3168 * libc/sys/linux/getpwuid.c: Removed.
3169 * libc/sys/linux/getpwnam.c: Removed.
3170 * libc/sys/linux/getpwent.c: New file containing logic
3171 from files removed above. This allows overriding of file
3173 * libc/sys/linux/Makefile.am: Support changes above.
3174 * libc/sys/linux/Makefile.in: Regenerated.
3176 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
3178 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
3179 when checking for multiple flags.
3181 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
3183 * configure.host <cris-*-* | crisv32-*-*>: Set
3184 default_newlib_io_long_long="yes".
3186 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
3188 * libc/include/libgen.h: New file.
3190 2005-04-08 Shaun Jackman <sjackman@gmail.com>
3192 * libc/unix/Makefile.am: Add support for basename and dirname.
3193 * libc/unix/Makefile.in: Regenerated.
3194 * libc/unix/basename.c: New file.
3195 * libc/unix/dirname.c: New file.
3197 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3199 * libc/sys/linux/inode.c (lchown): New function.
3201 2005-04-07 Shaun Jackman <sjackman@gmail.com>
3203 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
3204 ELIX level is defined.
3205 * libc/unix/Makefile.in: Regenerated.
3207 2005-04-05 Dave Korn <dave.korn@artimi.com>
3209 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
3210 something that looks like a "NaN", put back the characters processed.
3212 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
3214 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
3216 2005-03-23 Christopher Faylor <cgf@timesys.com>
3218 * configure.host: For cygwin, redefine CC with cygwin include directory
3219 first to mimic the behavior of the top-level configury. Move include
3220 directory out of newlib_cflags.
3222 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
3224 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
3225 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
3228 2005-03-22 Christopher Faylor <cgf@timesys.com>
3230 * libc/include/machine/_types.h: Make trivial change to comment to
3231 avoid a spurious warning from gcc.
3233 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
3235 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
3236 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
3239 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
3240 Corinna Vinschen <corinna@vinschen.de>
3242 * libc/include/ctype.h: Remove invalid +1 offset from
3243 ctype macro references to __ctype_ptr.
3244 (_ctype_): Move declaration outside #ifndef __cplusplus.
3246 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
3248 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
3249 evaluate first parameter only once.
3250 (siglongjmp): Ditto.
3252 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
3254 * configure.in: Add new check to see if compiler supports
3255 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
3256 * configure: Regenerated.
3257 * Makefile.in: Ditto.
3258 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
3259 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
3260 aliasing the _ctype_ array to _ctype_b.
3261 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
3262 _ctype_ as deprecated.
3264 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
3266 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
3269 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3271 * libc/sys/rtems/include/inttypes.h: New file.
3272 * libc/sys/rtems/include/stdint.h: Ditto.
3274 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3276 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
3278 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
3280 * libc/include/machine/_types.h: New file.
3281 * libc/include/sys/types.h: Do not check for __rtems__
3282 when including <machine/_types.h>. Remove some redundant
3283 declarations now that <machine/_types.h> is included.
3284 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
3287 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
3289 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
3290 L qualifier for these long constants.
3292 2005-02-25 Eric Blake <ebb9@byu.net>
3294 * libc/include/time.h (__tzrule_struct): Make offset long, since
3295 a 16-bit int overflows on a 12-hour offset.
3296 * libc/sys/linux/include/time.h: Ditto.
3297 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
3298 * libc/time/mktm_r.c: Ditto.
3299 * libc/time/gettzinfo.c: Ditto.
3300 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
3301 years. Fix '%z' to use long, not int.
3303 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3305 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
3306 manipulate float values in integer form.
3307 * libm/common/sf_round.c: Ditto.
3309 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
3311 * libc/include/sys/types.h [__rtems__]: Include new
3312 header file machine/_types.h.
3313 * libc/include/machine/types.h: Ditto.
3314 * libc/sys/rtems/machine/_types.h: New file.
3316 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3318 * libc/include/time.h (_timezone): Change to long also for Cygwin.
3319 (timezone): Drop cast from definition.
3321 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
3323 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
3324 (__tzrule_type, __tzinfo_type): New types.
3325 (__gettzinfo): New function.
3326 * libc/sys/linux/include/time.h: Ditto.
3327 * libc/time/Makefile.am: Add gettzinfo.c.
3328 * libc/time/Makefile.in: Regenerated.
3329 * libc/time/local.h: Moved __tzrule_type to time.h.
3330 * libc/time/mktime.c: Call __gettzinfo to reference
3331 __tznorth, __tzyear, and __tzrule array.
3332 * libc/time/mktm_r.c: Ditto.
3333 * libc/time/strftime.c: Ditto.
3334 * libc/time/tzset_r.c: Ditto. Also remove definition
3335 of __tzrule which is now in gettzinfo.c. Change _timezone
3336 references to not cast to time_t.
3337 * libc/time/gettzinfo.c: New file.
3339 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
3341 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
3343 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
3345 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
3347 2005-02-16 Eric Blake <ebb9@byu.net>
3349 * libc/time/time.tex: Improve the documentation.
3350 * libc/time/strftime.c: Improve the documentation.
3351 (iso_year_adjust): New helper function.
3352 (strftime): Simplify '%E' and '%O'. Change '%c' to use
3353 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
3354 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
3355 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
3356 Avoid core dumps on valid inputs (maxsize == 0, or
3357 tim_p->tm_isdst > 1).
3359 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
3361 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
3362 members to uid_t and gid_t according to SUSv3.
3363 * libc/include/sys/time.h (utimes): Change second parameter
3364 to const according to SUSv3.
3366 2005-02-07 Antony King <antony.king@st.com>
3368 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
3369 called before _flockfile to prevent lock object use before
3370 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
3371 take a struct _reent * instead of a FILE *.
3372 * libc/stdio/fclose.c (_fclose_r): Ditto.
3373 * libc/stdio/feof.c (feof): Ditto.
3374 * libc/stdio/ferror.c (ferror): Ditto.
3375 * libc/stdio/fflush.c (fflush): Ditto.
3376 * libc/stdio/fgetc.c (fgetc): Ditto.
3377 * libc/stdio/fgets.c (fgets): Ditto.
3378 * libc/stdio/fileno.c (fileno): Ditto.
3379 * libc/stdio/fputc.c (fputc): Ditto.
3380 * libc/stdio/fputs.c (fputs): Ditto.
3381 * libc/stdio/fread.c (fread): Ditto.
3382 * libc/stdio/freopen.c (_freopen_r): Ditto.
3383 * libc/stdio/fseek.c (_fseek_r): Ditto.
3384 * libc/stdio/ftell.c (_ftell_r): Ditto.
3385 * libc/stdio/fwrite.c (fwrite): Ditto.
3386 * libc/stdio/getc.c (getc): Ditto.
3387 * libc/stdio/getdelim.c (__getdelim): Ditto.
3388 * libc/stdio/putc.c (putc): Ditto.
3389 * libc/stdio/setvbuf.c (setvbuf): Ditto.
3390 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
3391 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3392 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
3393 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
3394 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
3395 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
3396 _reent * instead of a FILE * and so replace incorrect use of
3397 _REENT with argument.
3398 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
3399 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
3400 CHECK_INIT() take a struct _reent * instead of a FILE *.
3401 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
3402 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
3403 * libc/stdio/perror.c (perror): Ditto.
3404 * libc/stdio/printf.c (printf, _printf_r): Ditto.
3405 * libc/stdio/putchar.c (putchar): Ditto.
3406 * libc/stdio/puts.c (puts): Ditto.
3407 * libc/stdio/refill.c (__srefill): Ditto.
3408 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
3409 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
3410 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
3411 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
3412 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
3413 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
3414 * libc/stdio/wbuf.c (__swbuf): Ditto.
3415 * libc/stdio/wsetup.c (__swsetup): Ditto.
3416 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
3417 * libc/stdlib/mstats.c (_mstats_r): Ditto.
3418 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
3419 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
3420 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
3421 to _flockfile and _funlockfile; rely on locking in _ftell_r.
3422 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
3423 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
3424 initialision of _data field in FILE structure.
3425 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
3427 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3429 * libc/stdio/findfp.c (__sinit): Protect with new lock.
3430 (__sinit_lock): New lock.
3431 (__sinit_lock_acquire, __sinit_lock_release): New functions.
3432 * libc/stdio/local.h: Add reference to new __sinit locking
3435 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
3437 * libc/include/math.h (isfinite, isnormal, isunordered): Change
3438 input variable names to avoid mixups with nesting macros.
3440 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3442 * configure.host: Add support for cris-*-* and crisv32-*-*.
3443 * libc/include/machine/ieeefp.h: Ditto.
3444 * libc/include/machine/setjmp.h: Ditto.
3445 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
3446 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
3447 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
3448 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
3449 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
3450 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
3451 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
3454 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3456 * testsuite/newlib.string/memmove1.c: New test.
3458 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3460 * testsuite/include/check.h: Include stdlib.h.
3462 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
3464 * Makefile.am (stmp-targ-include): Support include header files
3465 from machine directories.
3466 (install-data-local): Ditto.
3467 * Makefile.in: Regenerate.
3469 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
3471 * libc/include/string.h: Remove Linux-specific declaration of
3472 strsignal and add #include <sys/string.h>.
3473 * libc/include/sys/string.h: New file.
3474 * libc/include/sys/linux/sys/string.h: New file with strsignal
3475 declaration deleted above.
3477 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
3479 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
3480 to POSIX standard for "C" locale. Allow %E and %O modifiers
3481 to be ignored as long as they precede valid specifiers according
3484 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3486 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
3487 environment variable is set.
3489 2005-01-19 Shaun Jackman <sjackman@gmail.com>
3491 * tzset_r.c (_tzname): Add a comma.
3493 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
3495 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
3498 2005-01-07 Paul Brook <paul@codesourcery.com>
3500 * configure.in: Add test for .init_array.
3501 * configure: Regenerate.
3502 * newlib.hin: Add HAVE_INITFINI_ARRAY.
3503 * libc/misc/Makefile.am: Add init.c
3504 * libc/misc/Makefile.in: Regenerate.
3505 * libc/misc/init.c: New file.
3506 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
3507 _init/_fini if they exist.
3509 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
3511 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
3513 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
3514 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
3515 functions for use by strtod and strtof.
3516 * Makefile.in: Regenerated.
3518 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3520 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
3521 bit-test in combination with NULL test.
3523 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
3525 * README: Fix typo of LGPL. Change "license" to "copyright".
3527 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
3529 * NEWS: Update with 1.13.0 info.
3531 * acinclude.m4: Change version number to 1.13.0.
3532 * aclocal.m4: Regenerated.
3534 * doc/aclocal.m4: Ditto.
3535 * doc/configure: Ditto.
3536 * libc/*/aclocal.m4: Ditto.
3537 * libc/*/configure: Ditto.
3538 * libc/libc.texinfo: Ditto.
3539 * libm/*/aclocal.m4: Ditto.
3540 * libm/*/configure: Ditto.
3541 * libm/libm.texinfo: Ditto.
3542 * libc/sys/linux/shared.ld: Add VERS_1.13.
3544 2004-12-17 Christian Groessler <chris@groessler.org>
3546 * libc/machine/z8k/memcmp.S: New file.
3547 * libc/machine/z8k/memcpy.S: Ditto.
3548 * libc/machine/z8k/memmove.S: Ditto.
3549 * libc/machine/z8k/memset.S: Ditto.
3550 * libc/machine/z8k/Makefile.am: Add new files.
3551 * libc/machine/z8k/Makefile.in: Regenerated.
3552 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
3553 part. Implement Z8002 stdcall version.
3555 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
3557 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
3558 a low-level read if we don't get the full amount of bytes so
3559 EOF or error flags will be set.
3561 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
3563 * libc/time/tzset_r (_tzset_r): Properly skip over
3564 '/' when it is detected.
3566 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3568 * libc/time/tzset_r (_tzset_r): Fix loop.
3570 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
3572 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
3574 (__tzcalc_limits): Fix reference to month array to be zero-based.
3576 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
3578 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
3581 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
3583 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
3584 libgcc dependencies.
3585 (libm_la_LDFLAGS): Ditto.
3586 * Makefile.in: Regenerated.
3588 2004-12-03 Shaun Jackman <sjackman@gmail.com>
3590 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
3591 our link to use readlink so as to preserve any relative link created
3592 by install-toollibLIBRARIES.
3593 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
3595 2004-12-02 Shaun Jackman <sjackman@gmail.com>
3597 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
3598 time_t before including sys/stat.h, which uses it.
3599 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
3600 <linux/time.h> just prior to definition of __KERNEL__ so as to
3601 allow building on Debian Linux where otherwise, mktime would
3604 2004-11-26 Paul Brook <paul@codesourcery.com>
3606 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
3608 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3610 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
3611 const for value string parameter to match Single Unix and glibc.
3612 * libc/stdlib/putenv.c: Ditto.
3613 * libc/stdlib/putenv_r.c: Ditto.
3615 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
3617 * libc/stdio/Makefile.am: Fix missing vfscanf.
3618 * libc/stdio/Makefile.in: Regenerated.
3620 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
3622 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
3624 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
3625 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
3627 * libc/stdio/Makefile.in: Regenerated.
3628 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
3629 * libc/stdio/iprintf.c: Ditto.
3630 * libc/stdio/local.h (__svfiscanf_r): New prototype.
3631 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
3632 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
3633 * libc/stdio/stdio.tex: Add new functions.
3634 * libc/stdio/vfscanf.c: Split out __sccl function to separate
3635 file and add special name defines so this file can be used
3636 to build vfiscanf.o.
3637 * libc/stdio/asiprintf.c: New file.
3638 * libc/stdio/fiscanf.c: Ditto.
3639 * libc/stdio/iscanf.c: Ditto.
3640 * libc/stdio/sccl.c: Ditto.
3641 * libc/stdio/siscanf.c: Ditto.
3642 * libc/stdio/vasiprintf.c: Ditto.
3643 * libc/stdio/viprintf.c: Ditto.
3644 * libc/stdio/viscanf.c: Ditto.
3645 * libc/stdio/vsiprintf.c: Ditto.
3646 * libc/stdio/vsiscanf.c: Ditto.
3647 * libc/stdio/vsniprintf.c: Ditto.
3649 2004-11-19 Shaun Jackman <sjackman@gmail.com>
3651 * libc/include/stdio.h: Add sniprintf.
3652 * libc/stdio/Makefile.am: Add sniprintf.c.
3653 * libc/stdio/Makefile.in: Regenerated.
3654 * libc/stdio/sniprintf.c: New file.
3655 * libc/stdio/stdio.tex: Add sniprintf.
3657 2004-11-17 Christopher Faylor <cgf@timesys.com>
3659 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
3660 EOF flag if successful.
3662 2004-10-28 Christopher Faylor <cgf@timesys.com>
3664 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
3665 so that all relevant definitions have been performed for use in the
3668 2004-10-26 Jason Tishler <jason@tishler.net>
3670 * libc/stdio/fread.c (fread): Fix return value for unbuffered
3673 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3675 * libc/include/machine/setjmp.h: Add AVR support.
3676 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
3678 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
3680 * libc/include/sys/signal.h: If <signal.h> didn't include
3681 this header file, include <signal.h> to account for
3682 applications that take advantage that the two header
3683 files are the same in glibc.
3685 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
3687 * configure.host: Add support for crx.
3688 * libc/include/machine/ieeefp.h: Ditto.
3689 * libc/include/machine/setjmp.h: Ditto.
3690 * libc/machine/crx/Makefile.am: New file.
3691 * libc/machine/crx/configure.in: Ditto.
3692 * libc/machine/crx/setjmp.S: Ditto.
3693 * libc/machine/crx/getenv.c: Ditto.
3694 * libc/machine/crx/aclocal.m4: Generate.
3695 * libc/machine/crx/configure: Ditto.
3696 * libc/machine/crx/Makefile.in: Ditto.
3697 * libc/machine/crx/sys/asm.h: New file.
3698 * libc/machine/crx/sys/libh.h: Ditto.
3699 * libc/machine/crx/sys/syscall.h: Ditto.
3701 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
3703 * Makefile.am (stmp-targ-include): Support sys header files
3704 from machine directories.
3705 * Makefile.in: Regenerated.
3707 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
3709 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
3710 count skipped zero characters as part of the nread count for %n.
3711 * libc/machine/powerpc/vfscanf.c: Ditto.
3713 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
3715 * libc/stdio/local.h: Include <stdlib.h>.
3717 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
3719 * libc/stdio/fread.c (fread): Include <malloc.h>.
3721 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
3723 * libc/stdio/fread.c (fread): For non-space-optimized case,
3724 add special code for unbuffered files to use user buffer and
3725 only require one low-level system read.
3727 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
3729 * libc/machine/xscale/setjmp.S: New file, copied from
3730 libc/machine/arm/setjmp.S.
3731 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
3732 * libc/machine/xscale/Makefile.in: Regenerate.
3734 2004-09-16 Antony King <antony.king@st.com>
3736 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
3738 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
3739 check for__SSTR in _flags and if set, skip lock request.
3740 (_funlockfile)[!SINGLE_THREAD]: Ditto.
3741 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
3743 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
3744 initialisation of _file to -1 in local FILE.
3745 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
3746 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
3747 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
3748 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3749 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
3750 _flags in local FILE to prevent locking.
3751 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
3753 2004-09-16 Antony King <antony.king@st.com>
3755 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
3756 and only walk the reentrancy parameter.
3757 (_fwalk_reent): Ditto.
3758 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
3760 2004-09-16 Antony King <antony.king@st.com>
3762 * libc/stdio64/freopen64.c: Remove casting of fp lock to
3765 2004-09-16 Antony King <antony.king@st.com>
3767 * libc/time/tzlock.c: Add default stubs that use generic
3770 2004-09-16 Antony King <antony.king@st.com>
3772 * libc/ctype/ctype.tex: Added missing documentation.
3773 * libc/stdio/stdio.tex Ditto.
3774 * libc/stdlib/stdlib.tex Ditto.
3775 * libc/string/strings.tex Ditto.
3776 * libc/time/time.tex: Ditto.
3777 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
3779 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
3781 * libc/reent/impure.c (reent_data): Define as alias to impure_data
3782 when building for Cygwin.
3783 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
3786 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
3788 * configure.host: Reverting 2004-09-14 change as fix has occurred on
3790 * configure.in: Ditto.
3791 * libc/configure.in: Ditto.
3792 * libc/sys/configure.in: Ditto.
3794 * libc/configure: Ditto.
3795 * libc/sys/configure: Ditto.
3796 * libc/include/sys/reent.h: Ditto.
3797 * libc/stdlib/__atexit.c: Ditto.
3798 * libc/stdlib/__call_atexit.c: Ditto.
3799 * libc/stdlib/cxa_atexit.c: Ditto.
3800 * libc/stdlib/cxa_finalize.c: Ditto.
3801 * libc/sys/cygwin/Makefile.am: Removed again.
3802 * libc/sys/cygwin/Makefile.in: Ditto.
3803 * libc/sys/cygwin/aclocal.m4: Ditto.
3804 * libc/sys/cygwin/configure: Ditto.
3805 * libc/sys/cygwin/configure.in: Ditto.
3806 * libc/sys/cygwin/dummy.c: Ditto.
3807 * libc/sys/cygwin/sys/reent.h: Ditto.
3809 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
3811 * configure.host: Add Cygwin sys directory.
3812 * configure.in: Do not set CRT0 for cygwin.
3813 * libc/configure.in: Ditto.
3814 * libc/sys/configure.in: Ditto.
3815 * configure: Regenerated.
3816 * libc/configure: Ditto.
3817 * libc/sys/configure: Ditto.
3818 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
3819 * libc/stdlib/__atexit.c: Keep cxa support protected by new
3820 __REENT_HAS_CXA_SUPPORT flag.
3821 * libc/stdlib/__call_atexit.c: Ditto.
3822 * libc/stdlib/cxa_atexit.c: Ditto.
3823 * libc/stdlib/cxa_finalize.c: Ditto.
3824 * libc/sys/cygwin/Makefile.am: New file.
3825 * libc/sys/cygwin/Makefile.in: Ditto.
3826 * libc/sys/cygwin/aclocal.m4: Ditto.
3827 * libc/sys/cygwin/configure: Ditto.
3828 * libc/sys/cygwin/configure.in: Ditto.
3829 * libc/sys/cygwin/dummy.c: Ditto.
3830 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
3833 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3835 * libc/iconv/iconv.tex: Updated with new content.
3836 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
3837 instead of NLS_DEFAULT_NLSPATH.
3838 * libc/iconv/lib/iconvnls.h: Fix typo.
3839 * libc/include/sys/iconvnls.h: New file.
3841 2004-09-09 Paul Brook <paul@codesourcery.com>
3843 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
3845 (struct _atexit): Add _next when _REENT_SMALL.
3846 (struct _reent): Add _atexit0 when _REENT_SMALL.
3847 (_REENT_INIT_PTR): Adjust.
3848 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
3850 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
3851 * libc/stdlib/Makefile.in: Regenerate.
3852 * libc/stdlib/__atexit.c: New file.
3853 * libc/stdlib/__call_atexit.c: New file.
3854 * libc/stdlib/atexit.h: Remove old definitions. Add new.
3855 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
3856 * libc/stdlib/cxa_atexit.c: New file.
3857 * libc/stdlib/cxa_finalize.c: New file.
3858 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
3859 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
3860 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
3861 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
3864 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
3866 * libc/include/sys/unistd.h (getpass): Change prototype to use
3867 const instead of __const.
3869 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
3871 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
3874 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
3876 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
3877 on linux systems with glibc 2.3.3 installed.
3878 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
3879 profile_fixup so newlib can build on fc3 system.
3881 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
3883 Introduce SH2a support.
3884 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
3885 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
3886 __SH2A_SINGLE_ONLY__, too.
3887 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
3888 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
3889 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
3890 2004-02-10 DJ Delorie <dj@redhat.com>
3891 * libc/sys/sh/crt0.S (start_l): Support sh2a.
3893 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
3895 * libc/time/strptime.c: Correct full-name of "March" typo.
3897 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
3899 * configure.host (h8300*-*-*): Default long long printing support.
3901 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
3903 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
3904 calls, if realloc fails, free up buffer as it is no longer
3907 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3909 * libc/iconv/iconv.tex: Updated to represent recent changes.
3910 * libc/iconv/lib/iconv.c: Documentation updated.
3912 2004-07-07 Nick Clifton <nickc@redhat.com>
3914 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
3917 2004-07-06 Chris Demetriou <cgd@broadcom.com>
3919 * configure.host (mips*-*-elf*): Default long long printing
3922 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
3924 * libc/Makefile.am (libc.dvi): Add target and specify
3925 same dependencies as libc.info.
3926 * libc/Makefile.in: Regenerated.
3927 * libm/Makefile.am (libm.dvi): Add target and specify
3928 same dependencies as libm.info.
3929 * libm/Makefile.in: Regenerated.
3931 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3933 * acinclude.m4: Move --enable-newlib-iconv option back here.
3934 * configure.in: Remove --enable-newlib-iconv option. Don't
3935 tie iconv support to --enable-newlib-mb.
3936 * aclocal.m4: Regenerated.
3938 * doc/aclocal.m4, doc/configure: Ditto.
3939 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
3940 * libm/*/aclocal.m4: Ditto.
3941 * libm/*/configure: Ditto.
3942 * libc/*/aclocal.m4: Ditto.
3943 * libc/*/configure: Ditto.
3945 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
3947 * acinclude.m4: Move iconv options into configure.in.
3948 * aclocal.m4: Regenerated.
3950 * configure.in: Add iconv options.
3951 * newlib.hin: Add new iconv encodings and remove deleted ones.
3952 * doc/aclocal.m4: Regenerated.
3953 * doc/configure: Ditto.
3954 * iconvdata/aclocal.m4: Ditto.
3955 * iconvdata/configure: Ditto.
3956 * libc/iconv: Design change. New size-optimized ccs format.
3957 * libc/iconv/AUTHORS: Removed.
3958 * libc/iconv/COPYING: Ditto.
3959 * libc/iconv/README.ORIGINAL: Ditto.
3960 * libc/iconv/README.TODO: Ditto.
3961 * libc/iconv/charset.aliases: Ditto.
3962 * libc/iconv/encoding.aliases: New file.
3963 * libc/iconv/Makefile.am: Updated.
3964 * libc/iconv/Makefile.in: Regenerated.
3965 * libc/iconv/iconv.tex: Updated.
3966 * libc/iconv/ccs/Makefile.am: Ditto.
3967 * libc/iconv/ccs/Makefile.in: Regenerated.
3968 * libc/iconv/ccs/big5.c: Updated.
3969 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3970 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3971 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3972 * libc/iconv/ccs/cp775.c: Ditto.
3973 * libc/iconv/ccs/cp850.c: Ditto.
3974 * libc/iconv/ccs/cp852.c: Ditto.
3975 * libc/iconv/ccs/cp855.c: Ditto.
3976 * libc/iconv/ccs/cp866.c: Ditto.
3977 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3978 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
3979 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3980 * libc/iconv/ccs/iconv_mktbl: Ditto.
3981 * libc/iconv/ccs/jis_x0201.c: Ditto.
3982 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3983 * libc/iconv/ccs/shift_jis.c: Ditto.
3984 * libc/iconv/ccs/us_ascii.c: Ditto.
3985 * libc/iconv/ccs/ccs.h: New file.
3986 * libc/iconv/ccs/ccsbi.c: Ditto.
3987 * libc/iconv/ccs/ccsbi.h: Ditto.
3988 * libc/iconv/ccs/ccsnames.h: Ditto.
3989 * libc/iconv/ccs/iso_8859_10.c: Ditto.
3990 * libc/iconv/ccs/iso_8859_11.c: Ditto.
3991 * libc/iconv/ccs/iso_8859_13.c: Ditto.
3992 * libc/iconv/ccs/iso_8859_14.c: Ditto.
3993 * libc/iconv/ccs/iso_8859_3.c: Ditto.
3994 * libc/iconv/ccs/iso_8859_6.c: Ditto.
3995 * libc/iconv/ccs/iso_8859_7.c: Ditto.
3996 * libc/iconv/ccs/iso_8859_8.c: Ditto.
3997 * libc/iconv/ccs/iso_8859_9.c: Ditto.
3998 * libc/iconv/ccs/iso_ir_111.c: Ditto.
3999 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
4000 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
4001 * libc/iconv/ccs/koi8_ru.c: Ditto.
4002 * libc/iconv/ccs/koi8_uni.c: Ditto.
4003 * libc/iconv/ccs/mktbl.pl: Ditto.
4004 * libc/iconv/ccs/win_1250.c: Ditto.
4005 * libc/iconv/ccs/win_1251.c: Ditto.
4006 * libc/iconv/ccs/win_1252.c: Ditto.
4007 * libc/iconv/ccs/win_1253.c: Ditto.
4008 * libc/iconv/ccs/win_1254.c: Ditto.
4009 * libc/iconv/ccs/win_1255.c: Ditto.
4010 * libc/iconv/ccs/win_1256.c: Ditto.
4011 * libc/iconv/ccs/win_1257.c: Ditto.
4012 * libc/iconv/ccs/win_1258.c: Ditto.
4013 * libc/iconv/ccs/iso_8859_15.c: Updated.
4014 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4015 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4016 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4017 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4018 * libc/iconv/ccs/koi8_r.c: Ditto.
4019 * libc/iconv/ccs/koi8_u.c: Ditto.
4020 * libc/iconv/ccs/ksx1001.c: Ditto.
4021 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
4022 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4023 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4024 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4025 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4026 * libc/iconv/ccs/binary/Makefile.am: Updated.
4027 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
4028 * libc/iconv/ccs/binary/big5.cct: Updated.
4029 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4030 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4031 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4032 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
4033 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
4034 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
4035 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
4036 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
4037 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4038 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4039 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4040 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4041 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4042 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4043 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4044 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4045 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4046 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
4047 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
4048 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
4049 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
4050 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
4051 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
4052 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
4053 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
4054 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
4055 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
4056 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
4057 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
4058 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
4059 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
4060 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
4061 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
4062 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
4063 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
4064 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
4065 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
4066 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
4067 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
4068 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
4069 * libc/iconv/ces/Makefile.am: Updated.
4070 * libc/iconv/ces/Makefile.in: Regenerated.
4071 * libc/iconv/ces/ucs-2-internal.c: Updated.
4072 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4073 * libc/iconv/ces/utf-16.c: Ditto.
4074 * libc/iconv/ces/utf-8.c: Ditto.
4075 * libc/iconv/ces/cesbi.c: New file.
4076 * libc/iconv/ces/cesbi.h: Ditto.
4077 * libc/iconv/ces/cesdeps.h: Ditto.
4078 * libc/iconv/ces/euc.c: Ditto.
4079 * libc/iconv/ces/mkdeps.pl: Ditto.
4080 * libc/iconv/ces/table-pcs.c: Ditto.
4081 * libc/iconv/ces/table.c: Ditto.
4082 * libc/iconv/ces/ucs-2.c: Ditto.
4083 * libc/iconv/ces/ucs-4.c: Ditto.
4084 * libc/iconv/ces/us-ascii.c: Ditto.
4085 * libc/iconv/ces/euc-jp.c: Removed.
4086 * libc/iconv/ces/euc-kr.c: Ditto.
4087 * libc/iconv/ces/euc-tw.c: Ditto.
4088 * libc/iconv/ces/gb2312.c: Ditto.
4089 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
4090 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4091 * libc/iconv/lib/Makefile.am: Updated.
4092 * libc/iconv/lib/Makefile.in: Regenerated.
4093 * libc/iconv/lib/endian.h: Updated.
4094 * libc/iconv/lib/iconv.c: Ditto.
4095 * libc/iconv/lib/local.h: Ditto.
4096 * libc/iconv/lib/aliases.c: Removed.
4097 * libc/iconv/lib/bialiasesi.c: Ditto.
4098 * libc/iconv/lib/biccs.c: Ditto.
4099 * libc/iconv/lib/bices.c: Ditto.
4100 * libc/iconv/lib/ccs.c: Ditto.
4101 * libc/iconv/lib/ces.c: Ditto.
4102 * libc/iconv/lib/ces_euc.c: Ditto.
4103 * libc/iconv/lib/ces_iso2022.c: Ditto.
4104 * libc/iconv/lib/ces_table.c: Ditto.
4105 * libc/iconv/lib/converter.c: Ditto.
4106 * libc/iconv/lib/deps.h: Ditto.
4107 * libc/iconv/lib/loaddata.c: Ditto.
4108 * libc/iconv/lib/aliasesbi.c: New file.
4109 * libc/iconv/lib/aliasesi.c: Ditto.
4110 * libc/iconv/lib/conv.h: Ditto.
4111 * libc/iconv/lib/encnames.h: Ditto.
4112 * libc/iconv/lib/encoding.deps: Ditto.
4113 * libc/iconv/lib/iconvnls.c: Ditto.
4114 * libc/iconv/lib/iconvnls.h: Ditto.
4115 * libc/iconv/lib/nullconv.c: Ditto.
4116 * libc/iconv/lib/ucsconv.c: Ditto.
4117 * libc/iconv/lib/ucsconv.h: Ditto.
4118 * libc/include/iconv.h: Update copyright.
4119 * libc/*/aclocal.m4: Regenerated.
4120 * libc/*/configure: Ditto.
4121 * libm/*/aclocal.m4: Ditto.
4122 * libm/*/configure: Ditto.
4124 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
4126 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
4127 instead of typedefing jmp_buf.
4129 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
4130 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
4131 * libc/machine/h8300/defines.h (LEN): New macro.
4132 * libc/machine/h8300/memcpy.S: Add h8sx version.
4133 * libc/machine/h8300/memset.S: Likewise.
4134 * libc/machine/h8300/strcmp.S: Likewise.
4135 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
4136 * libc/machine/h8300/h8sx_strcpy.S: New file.
4137 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
4138 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
4140 * libc/include/machine/setjmp.h: Likewise.
4141 * libc/include/sys/config.h: Likewise.
4142 * libc/machine/h8300/defines.h: Likewise.
4143 * libc/machine/h8300/setjmp.S: Likewise.
4144 * libc/machine/h8300/strcmp.S: Likewise.
4145 * libc/sys/h8300hms/close.S: Likewise.
4146 * libc/sys/h8300hms/fstat.S: Likewise.
4147 * libc/sys/h8300hms/lseek.S: Likewise.
4148 * libc/sys/h8300hms/read.S: Likewise.
4149 * libc/sys/h8300hms/write.S: Likewise.
4150 * libc/sys/h8300hms/crt0.S: Likewise.
4151 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
4152 __H8300SX__ is defined.
4153 * libc/sys/h8300hms/setarch.h: Likewise.
4155 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
4157 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
4158 out change which set _GLOBAL_REENT to _global_impure_ptr until
4159 we understand why Cygwin breaks because of it.
4161 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
4163 * libc/sys/linux/machine/i386/syscall.h: For now, set up
4164 __syscall_return macro for systems with vsyscall.
4166 2004-06-11 Antony King <antony.king@st.com>
4168 * libc/include/sys/_types.h: Include <sys/lock.h> and change
4169 _flock_t to be of type _LOCK_RECURSIVE_T.
4170 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
4171 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
4172 (_global_impure_ptr): New declaration.
4173 (_GLOBAL_REENT): Change to be _global_impure_ptr.
4174 * libc/include/sys/stdio.h: Include <sys/lock.h> and
4176 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
4177 (_funlockfile)[!SINGLE_THREAD]: Ditto.
4178 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
4179 * libc/stdio/fclose.c: Remove casting of fp lock to
4181 * libc/stdio/findfp.c: Ditto.
4182 * libc/stdio/fopen.c: Ditto.
4183 * libc/stdio/freopen.c: Ditto.
4184 * libc/stdio/vfprintf.c: Ditto.
4185 * libc/stdio64/fopen64.c: Ditto.
4186 * libc/stdlib/envlock.c: Add default stubs that use generic
4188 * libc/stdlib/mlock.c: Ditto.
4190 Jeff Johnston <jjohnstn@redhat.com>
4191 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
4192 (_flock_t): Change to be a struct containing a single member
4193 named mutex which is of type __flock_mutex_t.
4195 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
4197 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
4198 from /usr/include/asm/signal.h instead of kernel sources. Also
4199 default max to 32 if not found in header file.
4200 * libc/sys/linux/Makefile.in: Regenerated.
4201 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
4202 systems where __syscall_return is not defined.
4203 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
4204 systems to use syscall() function instead of assembler interrupt.
4206 2004-06-09 Toralf Lund <toralf@procaptura.com>
4208 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
4209 files from libc/sys/arm to libc/machine/arm.
4210 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
4211 library build support for files moved from libc/sys/arm.
4212 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
4213 references to access and setjmp.
4214 * configure.host: Add checks for newlib_may_supply_syscalls to
4215 determine whether or not to use sys/arm directory and use
4216 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
4218 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
4220 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
4221 reset digit flags appropriately after we have discovered "0x".
4222 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
4224 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
4226 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
4228 (_VFPRINTF_R): ... to here so all I/O printf routines
4231 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
4233 * libc/search/hash_buf.c: Protect MAX and MIN macros from
4235 * libc/search/hash.c: Ditto.
4237 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4239 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
4240 (_WANT_IO_LONG_LONG): Ditto.
4241 (_WANT_IO_LONG_DOUBLE): Ditto.
4242 * configure.in: Add new configuration options
4243 --enable-newlib-io-long-long and --enable-newlib-io-long-double
4244 which tie to new defines in newlib.hin.
4245 * configure: Regenerated.
4246 * configure.host: Add checks for new configuration options. Also
4247 fix up check for --enable-newlib-io-pos-args so configuration
4248 option will override any default for a given platform.
4249 Remove defining compiler flags for the _WANT_IO* options.
4250 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
4251 instead of looking for old compiler flags.
4252 * libc/stdio/vfscanf.c: Ditto.
4253 * libc/stdio/vfieeefp.h: Ditto.
4254 * libc/machine/powerpc/vfprintf.c: Ditto.
4255 * libc/machine/powerpc/vfscanf.c: Ditto.
4257 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
4259 * testsuite/include/check.h: Add include of <stdio.h>.
4261 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
4263 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
4265 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4267 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
4270 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4272 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
4273 list for reentrant pointer. Call _vfiprintf_r.
4274 * libc/stdio/siprintf.c (_siprintf_r): New function.
4275 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
4276 pointer argument. Change all callers. Call _VFPRINTF_R.
4277 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
4280 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
4282 * libc/include/sys/param.h: Remove endian info and include
4283 <machine/endian.h> instead.
4284 * libc/include/machine/endian.h: New file.
4285 * libc/include/machine/param.h: Ditto.
4286 * libc/machine/arm/machine/endian.h: Ditto.
4287 * libc/machine/arm/machine/param.h: Ditto.
4288 * libc/sys/arm/sys/param.h: Removed.
4289 * libc/sys/sysvi386/sys/param.h: Ditto.
4290 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
4292 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4294 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
4295 multibyte functions return failure for %C, %S, %lc, and %ls
4298 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4300 * testsuite/include/check.h (CHECK): Add flush of stdout.
4302 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4304 * libc/include/stdio.h (_ungetc_r): New prototype.
4305 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
4306 (__submore): Add reentrant struct pointer argument.
4307 (ungetc): Change to call _ungetc_r.
4309 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4311 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
4312 function pointer argument.
4313 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
4314 to specify function pointer arguments.
4315 (__fwalk, __fwalk_reent): Ditto.
4317 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
4319 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
4322 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4324 * configure.in: Define _MB_CAPABLE if mb supported.
4325 * configure: Regenerated.
4326 * configure.host: Remove manual setting of MB_CAPABLE compiler
4328 * newlib.hin: Add _MB_CAPABLE flag.
4329 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
4330 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
4331 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
4332 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
4333 * libc/ctype/jp2uc.c: Ditto.
4334 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
4335 * libc/locale/locale.c: Ditto
4336 * libc/machine/powerpc/vfscanf.c: Ditto
4337 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
4338 * libc/stdlib/mblen.c: Ditto
4339 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
4340 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
4341 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
4342 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
4343 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
4344 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
4345 * libc/sys/linux/intl/explodename.c: Ditto
4346 * libc/sys/linux/intl/finddomain.c: Ditto
4347 * libc/sys/linux/intl/l10nflist.c: Ditto
4348 * libc/sys/linux/intl/loadmsgcat.c: Ditto
4349 * libc/sys/linux/intl/localealias.c: Ditto
4351 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4353 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
4354 (__svfscanf_r): In integer conversions, leave out leading zeroes
4355 which are not part of a base prefix.
4356 Keep track of width truncation to fit into buf, not counting left-out
4357 zeroes against width till the truncation has been compensated for.
4358 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
4360 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
4362 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
4364 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4366 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
4367 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
4368 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
4369 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
4370 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
4371 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
4372 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
4373 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
4374 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
4375 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
4376 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
4377 libc/stdio/getchar.c libc/stdio/getchar_u.c,
4378 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
4379 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
4380 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
4381 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
4382 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
4383 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
4384 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
4385 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
4386 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
4387 libc/stdio/siprintf.c libc/stdio/snprintf.c,
4388 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
4389 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
4390 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
4391 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
4392 libc/stdio/vprintf.c libc/stdio/vscanf.c,
4393 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
4394 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
4395 libc/stdio/wsetup.c: Perform minor formatting changes. Move
4396 copyright notices to top of file, ensure that <_ansi.h> is
4397 included, be consistent with open parentheses, use _DEFUN macro,
4398 include "local.h" where needed, and remove various compiler
4401 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
4403 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
4404 (__svfscanf_r): In integer conversions, leave out leading zeroes
4405 which are not part of a base prefix.
4406 Keep track of width truncation to fit into buf, not counting left-out
4407 zeroes against width till the truncation has been compensated for.
4409 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4411 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
4413 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
4415 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
4417 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
4419 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
4422 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4424 * libc/stdio/fclose.c (_fclose_r): New function.
4425 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
4426 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
4427 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
4428 * libc/include/stdio.h (_fclose_r): New prototype.
4429 * libc/stdio/fopen.c: Fix typo in comment.
4431 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
4433 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
4434 to handle _r reentrant functions.
4436 2004-04-08 Eric Christopher <echristo@redhat.com>
4438 * libc/include/machine/setjmp.h: Fix endif locations.
4440 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4442 * libc/time/strptime.c: Add standard includes to avoid
4443 warning messages at compilation time.
4445 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
4447 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
4450 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
4452 * libc/machine/h8300/Makefile.am: Reformat slightly.
4453 * libc/machine/h8300/Makefile.in: Regenerate.
4455 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
4457 * libc/stdio/findfp.c (__fp_lock_all): Add call to
4459 (__fp_unlock_all): Add call to __sfp_lock_release.
4461 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
4463 * libc/stdio/fclose.c (fclose): Protect file pointer list when
4465 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
4467 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
4468 _flockfile/_funlockfile.
4469 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
4471 Change __lock_acquire/__lock_release calls for __sfp_lock to
4472 __sfp_lock_acquire/__sfp_lock_release throughout.
4473 (std): Make sure that file lock is only initialized once.
4474 (__sfp): Move _file initialization. Initialize file lock.
4475 (__sfp_lock_acquire): New function.
4476 (__sfp_lock_release): Ditto.
4477 (__fp_lock_all): Remove __sfp_lock_acquire call.
4478 (__fp_unlock_all): Remove __sfp_lock_release call.
4479 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
4480 Add calls to _flockfile/_funlockfile. Remove
4481 __lock_init_recursive call.
4482 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
4483 * libc/stdio/fwalk.c (__fwalk): New static function.
4484 (_fwalk): Protect file pointer list. Use __fwalk to walk through
4486 * libc/stdio/local.h: Add defines for
4487 __sfp_lock_acquire/__sfp_lock_release when
4488 single threaded. Add function prototypes otherwise.
4489 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
4490 _flockfile/_funlockfile.
4491 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
4492 Add calls to _flockfile/_funlockfile. Remove
4493 __lock_init_recursive call.
4494 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
4497 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
4499 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
4500 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
4501 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
4502 to be __LOCK_INIT_RECURSIVE.
4504 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
4506 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
4507 _exit.c with _exit.S.
4508 * libc/sys/h8300hms/Makefile.in: Regenerate.
4509 * libc/sys/h8300hms/_exit.c: Remove.
4510 * libc/sys/h8300hms/_exit.S: New.
4512 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
4514 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
4515 Change __sfp_lock to static global.
4516 (__fp_lock): New static function.
4517 (__fp_unlock): Ditto.
4518 (__fp_lock_all): New function.
4519 (__fp_unlock_all): Ditto.
4521 2004-02-10 Christopher Faylor <cgf@redhat.com>
4523 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
4524 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
4525 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
4526 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
4528 2004-02-09 Christopher Faylor <cgf@redhat.com>
4530 * libc/include/time.h (TIMER_RELTIME): New define.
4532 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
4534 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
4535 * libc/stdlib/Makefile.in: Regenerated.
4537 2004-02-08 Christopher Faylor <cgf@redhat.com>
4539 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
4540 * libc/include/sys/reent.h (__getreent): Protect against possibly being
4542 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
4544 2004-02-05 Paul Brook <paul@codesourcery.com>
4546 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
4547 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
4549 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
4551 * NEWS: Update with 1.12.0 info.
4553 * acinclude.m4: Change version number to 1.12.0.
4554 * aclocal.m4: Regenerated.
4556 * doc/aclocal.m4: Ditto.
4557 * doc/configure: Ditto.
4558 * libc/*/aclocal.m4: Ditto.
4559 * libc/*/configure: Ditto.
4560 * libc/libc.texinfo: Ditto.
4561 * libm/*/aclocal.m4: Ditto.
4562 * libm/*/configure: Ditto.
4563 * libm/libm.texinfo: Ditto.
4564 * libc/sys/linux/shared.ld: Add VERS_1.12.
4566 2004-02-02 Joel Sherrill <joel@oarcorp.com>
4568 * configure.host: Add support for tic4x.
4569 * libc/include/machine/ieeefp.h: Ditto.
4570 * libc/include/machine/setjmp.h: Ditto.
4571 * libc/machine/tic4x/Makefile.am: New file.
4572 * libc/machine/tic4x/configure.in: Ditto.
4573 * libc/machine/tic4x/setjmp.S: Ditto.
4574 * libc/machine/tic4x/aclocal.m4: Generated.
4575 * libc/machine/tic4x/configure: Ditto.
4576 * libc/machine/tic4x/Makefile.in: Ditto.
4578 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
4580 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
4581 file chain on the passed in reentrancy struct if it
4584 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4585 Jeff Johnston <jjohnstn@redhat.com>
4587 * libc/iconv/iconv.tex: Updated with more information.
4589 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
4590 Jeff Johnston <jjohnstn@redhat.com>
4592 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
4593 struct for std streams and traverse the global reeentrancy
4594 struct for all other streams.
4596 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
4598 * libc/stdlib/atexit.c: Protect global atexit list with a
4599 lock when newlib is multithreaded.
4601 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4603 * configure.in: Add support to generate iconv converter flags
4605 * newlib.hin: Add iconv converter flags.
4606 * configure: Regenerated.
4607 * libc/Makefile.in: Ditto.
4608 * libc/configure.in: Moved iconv converter parsing logic to
4609 top level newlib configure.in.
4610 * libc/configure: Regenerated.
4611 * libc/iconv/Makefile.in: Ditto.
4612 * libc/iconv/README.TODO
4613 * libc/iconv/charset.aliases: Remove wrong BE aliases for
4615 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
4616 newlib.h can be used.
4617 * libc/iconv/ces/Makefile.am: Ditto.
4618 * libc/iconv/lib/Makefile.am: Ditto.
4619 * libc/iconv/ccs/Makefile.in: Regenerated.
4620 * libc/iconv/ces/Makefile.in: Ditto.
4621 * libc/iconv/lib/Makefile.in: Ditto.
4622 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
4623 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
4624 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
4625 defined in newlib.h.
4626 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
4627 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
4628 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
4629 * libc/iconv/ccs/cp775.c: Ditto.
4630 * libc/iconv/ccs/cp850.c: Ditto.
4631 * libc/iconv/ccs/cp852.c: Ditto.
4632 * libc/iconv/ccs/cp855.c: Ditto.
4633 * libc/iconv/ccs/cp866.c: Ditto.
4634 * libc/iconv/ccs/gb_2312_80.c: Ditto.
4635 * libc/iconv/ccs/iso_8859_1.c: Ditto.
4636 * libc/iconv/ccs/iso_8859_15.c: Ditto.
4637 * libc/iconv/ccs/iso_8859_2.c: Ditto.
4638 * libc/iconv/ccs/iso_8859_4.c: Ditto.
4639 * libc/iconv/ccs/iso_8859_5.c: Ditto.
4640 * libc/iconv/ccs/jis_x0201.c: Ditto.
4641 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
4642 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
4643 * libc/iconv/ccs/koi8_r.c: Ditto.
4644 * libc/iconv/ccs/koi8_u.c: Ditto.
4645 * libc/iconv/ccs/ksx1001.c: Ditto.
4646 * libc/iconv/ccs/shift_jis.c: Ditto.
4647 * libc/iconv/ccs/us_ascii.c: Ditto.
4648 * libc/iconv/ccs/binary/big5.cct: Newly generated.
4649 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
4650 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
4651 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
4652 * libc/iconv/ccs/binary/cp775.cct: Ditto.
4653 * libc/iconv/ccs/binary/cp850.cct: Ditto.
4654 * libc/iconv/ccs/binary/cp852.cct: Ditto.
4655 * libc/iconv/ccs/binary/cp855.cct: Ditto.
4656 * libc/iconv/ccs/binary/cp866.cct: Ditto.
4657 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
4658 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
4659 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
4660 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
4661 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
4662 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
4663 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
4664 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
4665 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
4666 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
4667 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
4668 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
4669 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
4670 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
4671 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
4672 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
4673 * libc/iconv/ces/euc-kr.c: Ditto.
4674 * libc/iconv/ces/euc-tw.c: Ditto.
4675 * libc/iconv/ces/gb2312.c: Ditto.
4676 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
4677 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
4678 * libc/iconv/ces/ucs-2-internal.c: Ditto.
4679 * libc/iconv/ces/ucs-4-internal.c: Ditto.
4680 * libc/iconv/ces/utf-16.c: Ditto.
4681 * libc/iconv/ces/utf-8.c: Ditto.
4682 * libc/iconv/lib/aliases.c: Ditto.
4683 * libc/iconv/lib/biccs.c: Ditto.
4684 * libc/iconv/lib/bices.c: Ditto.
4685 * libc/iconv/lib/ccs.c: Ditto.
4686 * libc/iconv/lib/ces.c: Ditto.
4687 * libc/iconv/lib/ces_euc.c: Ditto.
4688 * libc/iconv/lib/ces_iso2022.c: Ditto.
4689 * libc/iconv/lib/ces_table.c: Ditto.
4690 * libc/iconv/lib/converter.c: Ditto.
4691 * libc/iconv/lib/deps.h: Ditto.
4692 * libc/iconv/lib/endian.h: Ditto.
4693 * libc/iconv/lib/iconv.c: Ditto.
4694 * libc/iconv/lib/loaddata.c: Ditto.
4695 * libc/iconv/lib/local.h: Include newlib.h.
4696 * libc/argz/Makefile.in: Regenerated.
4697 * libc/ctype/Makefile.in: Ditto.
4698 * libc/errno/Makefile.in: Ditto.
4699 * libc/iconv/ccs/binary/Makefile.in: Ditto.
4700 * libc/locale/Makefile.in: Ditto.
4701 * libc/misc/Makefile.in: Ditto.
4702 * libc/posix/Makefile.in: Ditto.
4703 * libc/reent/Makefile.in: Ditto.
4704 * libc/search/Makefile.in: Ditto.
4705 * libc/signal/Makefile.in: Ditto.
4706 * libc/stdio/Makefile.in: Ditto.
4707 * libc/stdio64/Makefile.in: Ditto.
4708 * libc/stdlib/Makefile.in: Ditto.
4709 * libc/string/Makefile.in: Ditto.
4710 * libc/syscalls/Makefile.in: Ditto.
4711 * libc/time/Makefile.in: Ditto.
4712 * libc/unix/Makefile.in: Ditto.
4713 * testsuite/newlib.iconv/iconv.exp: New file.
4714 * testsuite/newlib.iconv/iconvjp.c: Ditto.
4715 * testsuite/newlib.iconv/iconvnm.c: Ditto.
4716 * testsuite/newlib.iconv/iconvru.c: Ditto.
4718 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4720 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
4721 (--enable-newlib-builtin-converters): Ditto.
4722 * configure.in: Add code to set _ICONV_ENABLED flag.
4723 Set _MB_LEN_MAX to 1 if not mb enabled.
4724 * configure: Regenerated.
4725 * aclocal.m4: Ditto.
4726 * Makefile.in: Ditto.
4727 * newlib.hin: Add _ICONV_ENABLED flag.
4728 * libc/Makefile.am: Add support for iconv.
4729 * libc/configure.in: Ditto.
4730 * libc/Makefile.in: Regenerated.
4731 * libc/aclocal.m4: Ditto.
4732 * libc/configure: Ditto.
4733 * libc/libc.texinfo: Add iconv documentation.
4734 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
4735 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
4736 libc/iconv/README.TODO, libc/iconv/charset.aliases,
4737 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
4738 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
4739 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
4740 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
4741 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
4742 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
4743 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
4744 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
4745 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
4746 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
4747 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
4748 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
4749 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
4750 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
4751 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
4752 libc/iconv/ccs/binary/big5.cct,
4753 libc/iconv/ccs/binary/cns11643_plane1.cct,
4754 libc/iconv/ccs/binary/cns11643_plane14.cct,
4755 libc/iconv/ccs/binary/cns11643_plane2.cct,
4756 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
4757 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
4758 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
4759 libc/iconv/ccs/binary/iso_8859_1.cct,
4760 libc/iconv/ccs/binary/iso_8859_15.cct,
4761 libc/iconv/ccs/binary/iso_8859_2.cct,
4762 libc/iconv/ccs/binary/iso_8859_4.cct,
4763 libc/iconv/ccs/binary/iso_8859_5.cct,
4764 libc/iconv/ccs/binary/jis_x0201.cct,
4765 libc/iconv/ccs/binary/jis_x0208_1983.cct,
4766 libc/iconv/ccs/binary/jis_x0212_1990.cct,
4767 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
4768 libc/iconv/ccs/binary/ksx1001.cct,
4769 libc/iconv/ccs/binary/shift_jis.cct,
4770 libc/iconv/ccs/binary/us_ascii.cct,
4771 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
4772 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
4773 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
4774 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
4775 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
4776 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
4777 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
4778 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
4779 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
4780 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
4781 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
4782 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
4783 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
4784 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
4785 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
4786 * libc/sys/linux/include/iconv.h: Ditto.
4787 * libc/include/sys/_types.h (_iconv_t): Added.
4788 * doc/aclocal.m4: Regenerated.
4789 * doc/configure: Ditto.
4790 * doc/Makefile.in: Ditto.
4791 * iconvdata/Makefile.in: Ditto.
4792 * iconvdata/aclocal.m4: Ditto.
4793 * iconvdata/configure: Ditto.
4794 * libc/*aclocal.m4: Ditto.
4795 * libc/*Makefile.in: Ditto.
4796 * libc/*configure: Ditto.
4797 * libm/*aclocal.m4: Ditto.
4798 * libm/*Makefile.in: Ditto.
4799 * libm/*configure: Ditto.
4801 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
4803 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
4804 by a lock when newlib is multithreaded.
4806 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
4808 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
4809 pointer to match C99 spec.
4810 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
4811 dst is NULL. Also fix to not alter src pointer when dst is NULL
4812 and call _mbrtowc_r instead of _mbtowc_r.
4813 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
4816 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
4818 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
4819 * libc/stdio/freopen.c (freopen): Ditto.
4821 2004-01-16 Christopher Faylor <cgf@redhat.com>
4823 * libc/stdio/vfprintf.c: Add sys/lock.h include.
4825 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
4827 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
4828 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
4829 Add calls to __lock_init_recursive and __lock_close_recursive
4832 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
4834 * libc/stdio/fclose.c: Include sys/lock.h.
4835 (fclose): Destroy lock when file is closed.
4836 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
4838 * libc/stdio/freopen.c: Include sys/lock.h.
4839 (_freopen_r): Destroy lock when file is closed.
4840 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
4843 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4845 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
4848 2004-01-08 Joel Sherrill <joel@oarcorp.com>
4850 * libc/sys/rtems/sys/queue.h: New file.
4851 * libc/include/sys/signal.h: Reflect renumbering of signals to
4852 fit into 32-bit mask.
4853 * libc/include/sys/unistd.h: Add fdatasync() prototype.
4854 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
4855 required. In particular, add the reentrant variants of libc calls.
4856 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
4858 2004-01-06 Mark Mitchell <mark@codesourcery.com>
4860 * libc/sys/arm/syscalls.c (unistd.h): Include it.
4861 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
4862 Similarly for stdout and stderr.
4864 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
4866 * libc/libc.texinfo: Correct escape character for @ sign
4867 so file will be processed by make info. Update copyright years.
4868 * libm/libm.texinfo: Ditto.
4870 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4872 * libc/include/sys/stat.h: No longer include stat-dj.h.
4873 * libc/include/sys/stat-dj.h: Removed.
4875 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
4877 * libc/include/wchar.h: Include <sys/reent.h>.
4879 2003-12-05 Christopher Faylor <cgf@redhat.com>
4881 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
4882 when defining _mbrtowc.
4883 * libc/stdlib/mbsinit.c: Ditto.
4884 * libc/stdlib/mbsrtowcs.c: Ditto.
4885 * libc/stdlib/wcrtomb.c: Ditto.
4886 * libc/stdlib/wcsrtombs.c: Ditto.
4887 * libc/stdlib/wctob.c: Ditto.
4889 2003-12-05 Christopher Faylor <cgf@redhat.com>
4891 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
4892 errors when defining _mbrtowc.
4893 * libc/stdlib/mbsinit.c: Ditto.
4894 * libc/stdlib/mbsrtowcs.c: Ditto.
4896 2003-12-05 Christopher Faylor <cgf@redhat.com>
4898 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
4899 errors when defining _mbrtowc.
4901 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4903 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
4904 of mb routines for %lc and %ls support.
4905 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
4906 %ls, and %S support. Remove CYGNUS_NEC markers and
4909 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
4911 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
4912 _wcrtomb_r, and _wcsrtombs_r.
4914 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
4916 * libc/include/sys/fcntl.h: Don't define struct flock when on
4917 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
4919 2003-11-28 Christopher Faylor <cgf@redhat.com>
4921 * libc/include/sys/signal.h: Use system specific signal file when
4924 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4926 * libc/include/stdlib.h (_atoi_r): New prototype.
4927 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
4929 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
4931 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
4932 * libc/stdlib/atol.c (_atol_r): New reentrant function.
4933 * libc/stdlib/atoll.c (_atoll_r): Ditto.
4935 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4936 Jeff Johnston <jjohnstn@redhat.com>
4938 * libc/include/stdlib.h (lldiv_t): New type.
4939 (atoll, llabs, lldiv): New prototypes.
4940 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
4941 * libc/stdlib/stdlib.tex: Ditto.
4942 * libc/stdlib/Makefile.in: Regenerated.
4943 * libc/stdlib/atoll.c: New file.
4944 * libc/stdlib/llabs.c: Ditto.
4945 * libc/stdlib/lldiv.c: Ditto.
4947 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
4949 * libc/include/fcntl.h: Declare syscalls only when building newlib.
4950 * libc/include/unistd.h: Ditto.
4951 * libc/include/stat.h: Ditto. Also declare struct stat64.
4953 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4955 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
4956 specifier to use ch instead of *fmt.
4958 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
4960 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
4961 code within checks for MB_CAPABLE. For non-mb-capable platforms,
4962 use simple byte logic.
4964 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
4966 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
4967 _strtold routine for processing floats and doubles since it
4968 is not as fast as _strtod_r.
4970 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4972 * libc/machine/h8300/defines.h : Correct pointer register defines
4974 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
4976 * libc/machine/h8300/reg_memcpy.S : Likewise.
4977 * libc/machine/h8300/reg_memset.S : Likewise.
4978 * libc/machine/h8300/strcmp.S : Likewise.
4980 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
4982 * configure.host: Enable positional arguments for printf
4984 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
4985 pointer reference for quad_ptr_t.
4987 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
4989 * libc/stdio/scanf.c: Don't include local.h more than once.
4991 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
4993 * libc/include/sys/fcntl.h: Declare _open64.
4994 * libc/include/sys/stat.h: Declare _fstat64.
4995 * libc/include/sys/unistd.h: Declare _lseek64.
4997 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
4999 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
5000 (setprogname): Ditto.
5002 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
5004 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
5005 to use (Ebits + 1) which accounts for the sign-bit.
5007 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5009 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
5011 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
5012 and set up default flags to pass to aclocal.
5013 * iconvdata/Makefile.in: Regenerated.
5014 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
5015 and getpwuid routines.
5016 * libc/sys/linux/Makefile.in: Regenerated.
5017 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
5018 applications to link with newlib's shared libc library.
5019 * libc/sys/linux/getpwnam.c: Ditto.
5020 * libc/sys/linux/getpwuid.c: Ditto.
5021 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
5022 that were formerly supplied by /usr/include/linux/types.h with
5024 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
5025 test _ELIX_LEVEL macro.
5027 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
5029 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
5030 referring to _NO_LONGLONG macro.
5032 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
5034 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
5035 in LOG() macro so this will compile on gcc 3.4 and up.
5036 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5037 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5038 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5039 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5040 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5041 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5042 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5043 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5044 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5045 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5046 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5047 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5048 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5049 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5050 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5051 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5052 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5053 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5054 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5055 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5056 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5057 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5058 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5059 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5060 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5061 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5062 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5063 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5064 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5065 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5066 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5067 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5068 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5069 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5070 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5071 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5073 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5074 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5076 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
5077 %ls, %S, %lc, and %C format specifiers.
5079 * libc/stdio/sprintf.c: Add documentation regarding new
5080 format specifiers added in vfprintf.c.
5082 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
5084 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
5085 to make code work as specified in standard.
5087 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
5089 * configure.in: Use absolute newlib basedir when forming
5090 CC_FOR_NEWLIB include options.
5091 * configure: Regenerated.
5093 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
5095 * libc/string/wcsnlen.c: New file.
5096 * libc/include/wchar.h: Add wcsnlen prototype.
5097 * libc/string/Makefile.am: Add wcsnlen support.
5098 * libc/string/Makefile.in: Regenerated.
5099 * libc/string/wcstrings.tex: Add wcsnlen documentation.
5101 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
5103 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
5105 2003-10-20 Bob Wilson <bob.wilson@acm.org>
5107 * libc/locale/locale.c: Use double quotes in code.
5108 * libc/locale/locale.tex: Likewise.
5109 * libc/libc.texinfo: Hyphenate "floating-point".
5110 * libc/machine/necv70/necv70.tex: Likewise.
5111 * libc/stdio/sprintf.c: Likewise.
5112 * libc/stdio/sscanf.c: Likewise.
5113 * libc/stdlib/atof.c: Likewise.
5114 * libc/stdlib/ldtoa.c: Fix comment typo.
5115 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
5116 * libc/stdlib/ldiv.c: Likewise.
5117 * libm/common/s_expm1.c: Likewise.
5118 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
5119 * libm/common/s_infinity: Hyphenate "double- and single-precision".
5120 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
5121 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
5122 and "floating-point".
5123 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
5124 * libm/math/e_pow.c: Fix comment typo.
5125 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
5126 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
5127 * libm/math/s_atan.c: Likewise.
5128 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
5129 * libm/math/s_isnan.c: Hyphenate "single-precision" and
5130 "floating-point". Use "nonzero".
5131 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5132 * libm/math/w_acos.c: Likewise.
5133 * libm/math/w_acosh.c: Likewise.
5134 * libm/math/w_asin.c: Likewise.
5135 * libm/math/w_atan2.c: Likewise.
5136 * libm/math/w_atanh.c: Likewise.
5137 * libm/math/w_cosh.c: Likewise.
5138 * libm/math/w_exp.c: Likewise.
5139 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
5140 version of 2^x in the description.
5141 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
5142 * libm/math/w_gamma.c: Likewise.
5143 * libm/math/w_hypot.c: Likewise.
5144 * libm/math/w_j0.c: Likewise.
5145 * libm/math/w_sinh.c: Likewise.
5146 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
5147 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
5149 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
5150 * libm/mathfp/e_atanh.c: Likewise.
5151 * libm/mathfp/e_hypot.c: Likewise.
5152 * libm/mathfp/er_lgamma.c: Likewise.
5153 * libm/mathfp/s_acos.c: Likewise.
5154 * libm/mathfp/s_asine.c: Likewise.
5155 * libm/mathfp/s_asinh.c: Likewise.
5156 * libm/mathfp/s_atan.c: Likewise.
5157 * libm/mathfp/s_atan2.c: Likewise.
5158 * libm/mathfp/s_atangent.c: Likewise.
5159 * libm/mathfp/s_cosh.c: Likewise.
5160 * libm/mathfp/s_exp.c: Likewise.
5161 * libm/mathfp/s_fmod.c: Likewise.
5162 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
5163 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
5164 "floating-point". Use "nonzero".
5165 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
5166 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
5167 * libm/mathfp/s_sineh.c: Likewise.
5168 * libm/mathfp/w_jn.c: Likewise.
5170 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
5172 * Makefile.am: Add $(MAKE) comments to multido and multiclean
5173 lines, to enable parallel make.
5174 * Makefile.in: Rebuilt.
5176 2003-10-14 Christopher Faylor <cgf@redhat.com>
5178 * libc/time/clock.c: Clarify documentation of return value when no
5179 measurement is available.
5181 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
5183 * libm/configure.in: Check libm_machine_dir, not machine_dir.
5184 * libm/configure: Regenerate.
5185 * libm/Makefile.in: Ditto.
5187 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
5189 * libc/machine/sh/strncpy.S: New file.
5190 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
5191 * libc/machine/sh/Makefile.in: Regenerate.
5193 2003-09-11 James E Wilson <wilson@specifixinc.com>
5195 * MAINTAINERS: Update my e-mail address.
5197 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
5199 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
5201 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
5203 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
5205 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
5206 _simdldcheck(). Also add unsigned cast for index variable in
5207 for loop using sizeof operators.
5208 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
5209 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
5210 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
5211 plus fix shift calculation for determining if there is a
5214 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
5216 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
5217 setgroupent for Cygwin.
5219 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
5221 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
5222 is different for _REENT_SMALL than when using regular reent
5225 2003-09-05 Ben Elliston <bje@wasabisystems.com>
5227 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
5228 modern versions of GCC issue a warning.
5230 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
5231 after continuation characters that induces a warning from modern
5234 2003-09-04 Ben Elliston <bje@wasabisystems.com>
5236 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
5237 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
5239 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
5241 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
5242 * libc/stdlib/exit.c : Ditto.
5243 * libc/stdlib/on_exit.c: Ditto.
5245 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
5247 * libc/include/reent.h: Define stat64 as __stat64 when
5248 compiling newlib for Cygwin.
5250 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5252 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
5253 __stat64 when compiling newlib.
5255 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
5257 * libc/include/stdio.h: Allow the io64 function prototypes for
5258 Cygwin when compiling newlib.
5259 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
5260 to expose the Cygwin struct __stat64 type.
5261 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
5263 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
5265 2003-08-23 Christopher Faylor <cgf@redhat.com>
5267 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
5268 definition to fseeko64.
5270 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
5272 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
5273 * libc/stdio: Globally remove/replace all references to fp->_data.
5274 Replace with _REENT or _GLOBAL_REENT where appropriate.
5275 * libc/stdio/asprintf.c: Ditto.
5276 * libc/stdio/fclose.c: Ditto.
5277 * libc/stdio/fvwrite.c: Ditto.
5278 * libc/stdio/makebuf.c: Ditto.
5279 * libc/stdio/refill.c: Ditto.
5280 * libc/stdio/local.h: Ditto.
5281 * libc/stdio/setvbuf.c: Ditto.
5282 * libc/stdio/sscanf.c: Ditto.
5283 * libc/stdio/stdio.c: Ditto.
5284 * libc/stdio/ungetc.c: Ditto.
5285 * libc/stdio/vfscanf.c: Ditto.
5286 * libc/stdio/vsscanf.c: Ditto.
5287 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
5288 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
5289 * libc/stdio/vsnprintf.c: Ditto.
5290 * libc/stdio/vsprintf.c: Ditto.
5291 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
5292 instead of _REENT to walk file list.
5293 * libc/stdio/fflush.c: Ditto.
5294 * libc/stdio/fgetpos.c: Add reentrant version and have regular
5295 version call reentrant version with _REENT argument.
5296 * libc/stdio/fsetpos.c: Ditto.
5297 * libc/stdio/fseek.c: Ditto.
5298 * libc/stdio/fseeko.c: Ditto.
5299 * libc/stdio/ftell.c: Ditto.
5300 * libc/stdio/ftello.c: Ditto.
5301 * libc/stdio/freopen.c: Ditto.
5302 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
5303 new files to chain. Also use _GLOBAL_REENT pointer for
5305 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
5306 * libc/stdio/siprintf.c: Ditto.
5307 * libc/stdio/iprintf.c: Ditto.
5308 * libc/stdio/fprintf.c: Ditto.
5309 * libc/stdio/printf.c: Ditto.
5310 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
5311 * libc/stdio/sprintf.c: Ditto.
5312 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
5313 * libc/stdio/rewind.c: Call _fseek_r directly.
5314 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
5315 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
5317 (get_arg): Add extra struct _reent pointer argument.
5318 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
5320 * libc/stdio64/fopen64.c: Ditto.
5321 * libc/stdio64/freopen64.c: Ditto.
5322 * libc/stdio64/fsetpos64.c: Ditto.
5323 * libc/stdio64/ftello64.c: Ditto.
5324 * libc/stdio64/local64.h: Ditto.
5325 * libc/stdio64/stdio64.c: Ditto.
5326 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
5327 _fstat64_r for the meantime.
5329 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
5331 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
5334 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
5336 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
5339 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
5341 * libc/include/math.h: Add prototypes for __signbitf and
5344 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
5346 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
5347 correct type of conversion when dealing with EUCJP or SJIS.
5348 * libc/ctype/iswblank.c: Ditto.
5349 * libc/ctype/iswcntrl.c: Ditto.
5350 * libc/ctype/iswprint.c: Ditto.
5351 * libc/ctype/iswpunct.c: Ditto.
5352 * libc/ctype/iswspace.c: Ditto.
5353 * libc/ctype/towlower.c: Ditto.
5354 * libc/ctype/towupper.c: Ditto.
5356 2003-07-31 Nick Clifton <nickc@redhat.com>
5358 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
5359 before calling main, in case it saves its argument registers.
5360 Remove reference to deleted v850ea port.
5361 * configure.host: Remove reference to deleted v850ea port.
5362 Do not use -mv850 when building for v850e target. This
5363 prevents the ctbp system register from being initialised.
5365 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
5367 * libc/stdio/vfprintf.c: Set output size to 1 when
5368 we have %f format with precision 0 and # flag not specified.
5370 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
5372 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
5375 2003-07-25 Christopher Faylor <cgf@redhat.com>
5377 * libc/stdio64/fdopen64.c: Include sys/lock.h.
5379 2003-07-25 Christopher Faylor <cgf@redhat.com>
5381 * configure.host: Find cygwin include directory, when appropriate.
5383 2003-07-24 Christopher Faylor <cgf@redhat.com>
5385 * libc/stdio64/fdopen64.c: New file.
5386 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
5387 * libc/stdio64/Makefile.in: Regenerate.
5388 * libc/include/stdio.h (fdopen64): Define.
5389 * libc/include/stdio.h (_fdopen64_r): Ditto.
5391 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
5393 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
5394 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
5395 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
5396 restore callee-saved FP registers.
5398 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
5400 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
5402 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
5404 * libc/sys/sh/Makefile.in: Regenerate.
5405 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
5406 * libc/sys/sh/ftruncate.c: New file.
5407 * libc/sys/sh/truncate.c: Likewise.
5409 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
5411 * libc/include/math.h (nan, nanf): Update prototype to C99.
5412 * libm/common/s_nan.c (nan): Likewise.
5413 * libm/common/s_nanf.c (nanf, nan): Likewise.
5414 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
5416 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
5418 * libc/include/stdbool.h: Removed as this is defined by gcc.
5420 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
5422 * libc/include/stdbool.h: New header file defined by C99.
5424 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5426 * libc/include/sys/types.h (int8_t): Make signed.
5428 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
5430 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
5432 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
5434 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
5435 on if we actually created the shared memory file exclusively.
5437 2003-06-27 Joe Vornehm <joev@mitre.org>
5439 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
5440 comparisons to account for unsigned internal value w.
5442 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
5444 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
5445 wrbuf for a non-creating open.
5447 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
5449 * libc/machine/h8300/setarch.h: New.
5450 * libc/machine/h8300/memcpy.S: Use it.
5451 * libc/machine/h8300/memset.S: Likewise.
5452 * libc/machine/h8300/reg_memcpy.S: Likewise.
5453 * libc/machine/h8300/reg_memset.S: Likewise.
5454 * libc/machine/h8300/setjmp.S: Likewise.
5455 * libc/machine/h8300/strcmp.S: Likewise.
5457 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
5459 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
5462 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5464 * configure.host (iq2000): Add tabs.
5466 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
5468 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
5469 to handle latest on_exit change.
5470 * libc/sys/linux/Makefile.am: Remove special compilation
5471 for malloc.c and mcheck.c.
5472 * libc/sys/linux/Makefile.in: Regenerated.
5473 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
5474 after including <features.h>.
5475 * libc/sys/linux/mcheck.c: Ditto.
5476 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
5478 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
5479 add -DNOT_IN_libc to C flags.
5480 * libc/sys/linux/intl/Makefile.in: Regenerated.
5481 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
5482 * libc/sys/linux/linuxthreads/semaphore.h: Include
5483 <bits/pthreadtypes.h>.
5484 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
5485 including <features.h>.
5486 * libc/sys/linux/sys/lock.h: Ditto.
5488 2003-06-11 Nick Clifton <nickc@redhat.com>
5490 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
5493 2003-06-10 Stan Cox <scox@redhat.com>
5494 Anthony Green <green@redhat.com>
5496 * configure.host: Add iq2000 support.
5497 * newlib/libc/include/machine/ieeefp.h: Ditto.
5498 * newlib/libc/include/machine/setjmp.h: Ditto.
5499 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
5500 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
5501 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
5502 libc/machine/iq2000/Makefile.in: New files.
5504 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
5506 * libc/sys/h8300hms/setarch.h: New file.
5507 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
5508 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
5509 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
5510 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
5512 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
5514 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
5516 * libc/argz/argz_add_sep.c: Ditto.
5517 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
5518 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
5519 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
5520 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
5521 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
5522 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
5523 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
5524 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
5525 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
5526 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
5527 * libc/posix/execl.c libc/posix/execle.c: Ditto.
5528 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
5529 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
5530 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
5531 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
5532 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
5533 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
5534 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
5535 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
5536 * libc/search/twalk.c libc/signal/signal.c: Ditto.
5538 2003-06-05 Nick Clifton <nickc@redhat.com>
5540 * libc/include/sys/reent.h (struct _on_exit_args): New
5541 structure containing fields used by the on_exit() function.
5542 (struct _atexit): Include struct _on_exit_args. For
5543 _REENT_SMALL do his via a pointer that is initialised when
5545 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
5546 structure, if one has been allocated.
5547 * libc/stdlib/atexit.c (atexit): Update indirection to
5549 * libc/stdlib/on_exit.c (on_exit): Indirect via the
5550 _on_exit_args structure. For _REENT_SMALL, allocate a
5551 structure if one does not exist.
5552 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
5555 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
5557 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
5558 * libc/sys/linux/net/Makefile.in: Regenerated.
5560 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
5562 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
5563 * libc/reent/fcntlr.c: Ditto.
5564 * libc/reent/fstat64r.c: Ditto.
5565 * libc/reent/linkr.c: Ditto.
5566 * libc/reent/lseek64r.c: Ditto.
5567 * libc/reent/lseekr.c: Ditto.
5568 * libc/reent/openr.c: Ditto.
5569 * libc/reent/readr.c: Ditto.
5570 * libc/reent/reent.c: Ditto.
5571 * libc/reent/sbrkr.c: Ditto.
5572 * libc/reent/signalr.c: Ditto.
5573 * libc/reent/signgam.c: Ditto.
5574 * libc/reent/statr.c: Ditto.
5575 * libc/reent/timer.c: Ditto.
5576 * libc/reent/unlinkr.c: Ditto.
5577 * libc/reent/writer.c: Ditto.
5578 * libc/syscalls/sysclose.c: Ditto.
5579 * libc/syscalls/sysexecve.c: Ditto.
5580 * libc/syscalls/sysfcntl.c: Ditto.
5581 * libc/syscalls/sysfork.c: Ditto.
5582 * libc/syscalls/sysfstat.c: Ditto.
5583 * libc/syscalls/sysgetpid.c: Ditto.
5584 * libc/syscalls/sysgettod.c: Ditto.
5585 * libc/syscalls/syskill.c: Ditto.
5586 * libc/syscalls/syslink.c: Ditto.
5587 * libc/syscalls/syslseek.c: Ditto.
5588 * libc/syscalls/sysopen.c: Ditto.
5589 * libc/syscalls/sysread.c: Ditto.
5590 * libc/syscalls/syssbrk.c: Ditto.
5591 * libc/syscalls/sysstat.c: Ditto.
5592 * libc/syscalls/systimes.c: Ditto.
5593 * libc/syscalls/sysunlink.c: Ditto.
5594 * libc/syscalls/syswait.c: Ditto.
5595 * libc/syscalls/syswrite.c: Ditto.
5597 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
5599 * libc/time/tzset_r.c: Change local variables that are
5600 set via sscanf using the %h format specifier to be unsigned short
5603 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
5605 * configure.host: Allow i[34567]86 variant.
5606 * configure.in: Likewise.
5607 * README: Likewise to the docs.
5608 * configure: Regenerated.
5609 * Makefile.in: Ditto.
5611 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
5612 Tom Fitzsimmons <fitzsim@redhat.com>
5614 * configure.in: Add iconvdata support for x86 linux.
5615 * configure: Regenerated.
5616 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
5617 library, iconv, and linuxthreads support.
5618 * libc/sys/linux/configure.in: Ditto.
5619 * libc/sys/linux/Makefile.in: Regenerated.
5620 * libc/sys/linux/configure: Ditto.
5621 * iconvdata/EUC-JP.irreversible: New file.
5622 * iconvdata/Makefile.am: Ditto.
5623 * iconvdata/Makefile.in: Ditto.
5624 * iconvdata/SJIS.irreversible: Ditto.
5625 * iconvdata/aclocal.m4: Ditto.
5626 * iconvdata/configure: Ditto.
5627 * iconvdata/configure.in: Ditto.
5628 * iconvdata/dummy.c: Ditto.
5629 * iconvdata/euc-jp.c: Ditto.
5630 * iconvdata/gconv-modules: Ditto.
5631 * iconvdata/jis0201.c: Ditto.
5632 * iconvdata/jis0201.h: Ditto.
5633 * iconvdata/jis0208.c: Ditto.
5634 * iconvdata/jis0208.h: Ditto.
5635 * iconvdata/jis0212.c: Ditto.
5636 * iconvdata/jis0212.h: Ditto.
5637 * iconvdata/sjis.c: Ditto.
5638 * libc/include/errno.h: Protect definition of error_t.
5639 * libc/sys/linux/gethostid.c: New file.
5640 * libc/sys/linux/sethostid.c: Ditto.
5641 * libc/sys/linux/dl/Makefile.am: Ditto.
5642 * libc/sys/linux/dl/Makefile.in: Ditto.
5643 * libc/sys/linux/dl/abi-tag.h: Ditto.
5644 * libc/sys/linux/dl/atomicity.h: Ditto.
5645 * libc/sys/linux/dl/dl-addr.c: Ditto.
5646 * libc/sys/linux/dl/dl-cache.c: Ditto.
5647 * libc/sys/linux/dl/dl-cache.h: Ditto.
5648 * libc/sys/linux/dl/dl-close.c: Ditto.
5649 * libc/sys/linux/dl/dl-debug.c: Ditto.
5650 * libc/sys/linux/dl/dl-deps.c: Ditto.
5651 * libc/sys/linux/dl/dl-dst.h: Ditto.
5652 * libc/sys/linux/dl/dl-error.c: Ditto.
5653 * libc/sys/linux/dl/dl-fini.c: Ditto.
5654 * libc/sys/linux/dl/dl-init.c: Ditto.
5655 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
5656 * libc/sys/linux/dl/dl-libc.c: Ditto.
5657 * libc/sys/linux/dl/dl-librecon.h: Ditto.
5658 * libc/sys/linux/dl/dl-load.c: Ditto.
5659 * libc/sys/linux/dl/dl-lookup.c: Ditto.
5660 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
5661 * libc/sys/linux/dl/dl-minimal.c: Ditto.
5662 * libc/sys/linux/dl/dl-misc.c: Ditto.
5663 * libc/sys/linux/dl/dl-object.c: Ditto.
5664 * libc/sys/linux/dl/dl-open.c: Ditto.
5665 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
5666 * libc/sys/linux/dl/dl-profile.c: Ditto.
5667 * libc/sys/linux/dl/dl-profstub.c: Ditto.
5668 * libc/sys/linux/dl/dl-reloc.c: Ditto.
5669 * libc/sys/linux/dl/dl-runtime.c: Ditto.
5670 * libc/sys/linux/dl/dl-support.c: Ditto.
5671 * libc/sys/linux/dl/dl-sym.c: Ditto.
5672 * libc/sys/linux/dl/dl-version.c: Ditto.
5673 * libc/sys/linux/dl/dlfcn.h: Ditto.
5674 * libc/sys/linux/dl/do-lookup.h: Ditto.
5675 * libc/sys/linux/dl/do-rel.h: Ditto.
5676 * libc/sys/linux/dl/dynamic-link.h: Ditto.
5677 * libc/sys/linux/dl/kernel-features.h: Ditto.
5678 * libc/sys/linux/dl/ldsodefs.h: Ditto.
5679 * libc/sys/linux/dl/libintl.h: Ditto.
5680 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
5681 * libc/sys/linux/dl/unsecvars.h: Ditto.
5682 * libc/sys/linux/iconv/Makefile.am: Ditto.
5683 * libc/sys/linux/iconv/Makefile.in: Ditto.
5684 * libc/sys/linux/iconv/categories.def: Ditto.
5685 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
5686 * libc/sys/linux/iconv/gconv.c: Ditto.
5687 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
5688 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
5689 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
5690 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
5691 * libc/sys/linux/iconv/gconv_close.c: Ditto.
5692 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
5693 * libc/sys/linux/iconv/gconv_db.c: Ditto.
5694 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
5695 * libc/sys/linux/iconv/gconv_int.h: Ditto.
5696 * libc/sys/linux/iconv/gconv_open.c: Ditto.
5697 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
5698 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
5699 * libc/sys/linux/iconv/hash-string.h: Ditto.
5700 * libc/sys/linux/iconv/iconv.c: Ditto.
5701 * libc/sys/linux/iconv/iconv.h: Ditto.
5702 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
5703 * libc/sys/linux/iconv/iconv_close.c: Ditto.
5704 * libc/sys/linux/iconv/iconv_open.c: Ditto.
5705 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
5706 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
5707 * libc/sys/linux/iconv/loadinfo.h: Ditto.
5708 * libc/sys/linux/iconv/localeinfo.h: Ditto.
5709 * libc/sys/linux/iconv/loop.c: Ditto.
5710 * libc/sys/linux/iconv/skeleton.c: Ditto.
5711 * libc/sys/linux/iconv/strtab.c: Ditto.
5712 * libc/sys/linux/include/dl-hash.h: Ditto.
5713 * libc/sys/linux/include/dlfcn.h: Ditto.
5714 * libc/sys/linux/include/fnmatch.h: Ditto.
5715 * libc/sys/linux/include/gconv.h: Ditto.
5716 * libc/sys/linux/include/glob.h: Ditto.
5717 * libc/sys/linux/include/hesiod.h: Ditto.
5718 * libc/sys/linux/include/ifaddrs.h: Ditto.
5719 * libc/sys/linux/include/libc_private.h: Ditto.
5720 * libc/sys/linux/include/link.h: Ditto.
5721 * libc/sys/linux/include/namespace.h: Ditto.
5722 * libc/sys/linux/include/netconfig.h: Ditto.
5723 * libc/sys/linux/include/netdb.h: Ditto.
5724 * libc/sys/linux/include/nsswitch.h: Ditto.
5725 * libc/sys/linux/include/regex.h: Ditto.
5726 * libc/sys/linux/include/resolv.h: Ditto.
5727 * libc/sys/linux/include/rune.h: Ditto.
5728 * libc/sys/linux/include/runetype.h: Ditto.
5729 * libc/sys/linux/include/semaphore.h: Ditto.
5730 * libc/sys/linux/include/setlocale.h: Ditto.
5731 * libc/sys/linux/include/un-namespace.h: Ditto.
5732 * libc/sys/linux/include/wordexp.h: Ditto.
5733 * libc/sys/linux/include/arpa/ftp.h: Ditto.
5734 * libc/sys/linux/include/arpa/inet.h: Ditto.
5735 * libc/sys/linux/include/arpa/nameser.h: Ditto.
5736 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
5737 * libc/sys/linux/include/arpa/telnet.h: Ditto.
5738 * libc/sys/linux/include/arpa/tftp.h: Ditto.
5739 * libc/sys/linux/include/net/bpf.h: Ditto.
5740 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
5741 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
5742 * libc/sys/linux/include/net/bridge.h: Ditto.
5743 * libc/sys/linux/include/net/ethernet.h: Ditto.
5744 * libc/sys/linux/include/net/fddi.h: Ditto.
5745 * libc/sys/linux/include/net/if.h: Ditto.
5746 * libc/sys/linux/include/net/if_arc.h: Ditto.
5747 * libc/sys/linux/include/net/if_arp.h: Ditto.
5748 * libc/sys/linux/include/net/if_atm.h: Ditto.
5749 * libc/sys/linux/include/net/if_dl.h: Ditto.
5750 * libc/sys/linux/include/net/if_gif.h: Ditto.
5751 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
5752 * libc/sys/linux/include/net/if_llc.h: Ditto.
5753 * libc/sys/linux/include/net/if_media.h: Ditto.
5754 * libc/sys/linux/include/net/if_mib.h: Ditto.
5755 * libc/sys/linux/include/net/if_ppp.h: Ditto.
5756 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
5757 * libc/sys/linux/include/net/if_slvar.h: Ditto.
5758 * libc/sys/linux/include/net/if_sppp.h: Ditto.
5759 * libc/sys/linux/include/net/if_stf.h: Ditto.
5760 * libc/sys/linux/include/net/if_tap.h: Ditto.
5761 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
5762 * libc/sys/linux/include/net/if_tun.h: Ditto.
5763 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
5764 * libc/sys/linux/include/net/if_types.h: Ditto.
5765 * libc/sys/linux/include/net/if_var.h: Ditto.
5766 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
5767 * libc/sys/linux/include/net/intrq.h: Ditto.
5768 * libc/sys/linux/include/net/iso88025.h: Ditto.
5769 * libc/sys/linux/include/net/net_osdep.h: Ditto.
5770 * libc/sys/linux/include/net/netisr.h: Ditto.
5771 * libc/sys/linux/include/net/pfil.h: Ditto.
5772 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
5773 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
5774 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
5775 * libc/sys/linux/include/net/radix.h: Ditto.
5776 * libc/sys/linux/include/net/raw_cb.h: Ditto.
5777 * libc/sys/linux/include/net/route.h: Ditto.
5778 * libc/sys/linux/include/net/slcompress.h: Ditto.
5779 * libc/sys/linux/include/net/slip.h: Ditto.
5780 * libc/sys/linux/include/net/zlib.h: Ditto.
5781 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
5782 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
5783 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
5784 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
5785 * libc/sys/linux/include/netinet/igmp.h: Ditto.
5786 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
5787 * libc/sys/linux/include/netinet/in.h: Ditto.
5788 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
5789 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
5790 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
5791 * libc/sys/linux/include/netinet/in_var.h: Ditto.
5792 * libc/sys/linux/include/netinet/ip.h: Ditto.
5793 * libc/sys/linux/include/netinet/ip6.h: Ditto.
5794 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
5795 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
5796 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
5797 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
5798 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
5799 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
5800 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
5801 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
5802 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
5803 * libc/sys/linux/include/netinet/tcp.h: Ditto.
5804 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
5805 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
5806 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
5807 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
5808 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
5809 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
5810 * libc/sys/linux/include/netinet/udp.h: Ditto.
5811 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
5812 * libc/sys/linux/include/netinet6/ah.h: Ditto.
5813 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
5814 * libc/sys/linux/include/netinet6/esp.h: Ditto.
5815 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
5816 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
5817 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
5818 * libc/sys/linux/include/netinet6/in6.h: Ditto.
5819 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
5820 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
5821 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
5822 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
5823 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
5824 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
5825 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
5826 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
5827 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
5828 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
5829 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
5830 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
5831 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
5832 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
5833 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
5834 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
5835 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
5836 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
5837 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
5838 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
5839 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
5840 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
5841 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
5842 * libc/sys/linux/include/netns/idp.h: Ditto.
5843 * libc/sys/linux/include/netns/idp_var.h: Ditto.
5844 * libc/sys/linux/include/netns/ns.h: Ditto.
5845 * libc/sys/linux/include/netns/ns_error.h: Ditto.
5846 * libc/sys/linux/include/netns/ns_if.h: Ditto.
5847 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
5848 * libc/sys/linux/include/netns/sp.h: Ditto.
5849 * libc/sys/linux/include/netns/spidp.h: Ditto.
5850 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
5851 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
5852 * libc/sys/linux/include/netns/spp_var.h: Ditto.
5853 * libc/sys/linux/include/rpc/Makefile: Ditto.
5854 * libc/sys/linux/include/rpc/auth.h: Ditto.
5855 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
5856 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
5857 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
5858 * libc/sys/linux/include/rpc/clnt.h: Ditto.
5859 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
5860 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
5861 * libc/sys/linux/include/rpc/des.h: Ditto.
5862 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
5863 * libc/sys/linux/include/rpc/nettype.h: Ditto.
5864 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
5865 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
5866 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
5867 * libc/sys/linux/include/rpc/raw.h: Ditto.
5868 * libc/sys/linux/include/rpc/rpc.h: Ditto.
5869 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
5870 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
5871 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
5872 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
5873 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
5874 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
5875 * libc/sys/linux/include/rpc/svc.h: Ditto.
5876 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
5877 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
5878 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
5879 * libc/sys/linux/include/rpc/types.h: Ditto.
5880 * libc/sys/linux/include/rpc/xdr.h: Ditto.
5881 * libc/sys/linux/intl/Makefile.am: Ditto.
5882 * libc/sys/linux/intl/Makefile.in: Ditto.
5883 * libc/sys/linux/intl/bindtextdom.c: Ditto.
5884 * libc/sys/linux/intl/catgets.c: Ditto.
5885 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
5886 * libc/sys/linux/intl/config.h: Ditto.
5887 * libc/sys/linux/intl/dcgettext.c: Ditto.
5888 * libc/sys/linux/intl/dcigettext.c: Ditto.
5889 * libc/sys/linux/intl/dcngettext.c: Ditto.
5890 * libc/sys/linux/intl/dgettext.c: Ditto.
5891 * libc/sys/linux/intl/dngettext.c: Ditto.
5892 * libc/sys/linux/intl/explodename.c: Ditto.
5893 * libc/sys/linux/intl/finddomain.c: Ditto.
5894 * libc/sys/linux/intl/gettext.c: Ditto.
5895 * libc/sys/linux/intl/gettext.h: Ditto.
5896 * libc/sys/linux/intl/gettextP.h: Ditto.
5897 * libc/sys/linux/intl/hash-string.h: Ditto.
5898 * libc/sys/linux/intl/l10nflist.c: Ditto.
5899 * libc/sys/linux/intl/loadinfo.h: Ditto.
5900 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
5901 * libc/sys/linux/intl/locale.alias: Ditto.
5902 * libc/sys/linux/intl/localealias.c: Ditto.
5903 * libc/sys/linux/intl/ngettext.c: Ditto.
5904 * libc/sys/linux/intl/open_catalog.c: Ditto.
5905 * libc/sys/linux/intl/plural.c: Ditto.
5906 * libc/sys/linux/intl/plural.y: Ditto.
5907 * libc/sys/linux/intl/stpcpy.c: Ditto.
5908 * libc/sys/linux/intl/textdomain.c: Ditto.
5909 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
5910 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
5911 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
5912 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
5913 * libc/sys/linux/linuxthreads/attr.c: Ditto.
5914 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
5915 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
5916 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
5917 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
5918 * libc/sys/linux/linuxthreads/config.h: Ditto.
5919 * libc/sys/linux/linuxthreads/configure: Ditto.
5920 * libc/sys/linux/linuxthreads/configure.in: Ditto.
5921 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
5922 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
5923 * libc/sys/linux/linuxthreads/events.c: Ditto.
5924 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
5925 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
5926 * libc/sys/linux/linuxthreads/internals.h: Ditto.
5927 * libc/sys/linux/linuxthreads/join.c: Ditto.
5928 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
5929 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
5930 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
5931 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
5932 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
5933 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
5934 * libc/sys/linux/linuxthreads/manager.c: Ditto.
5935 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
5936 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
5937 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
5938 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
5939 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
5940 * libc/sys/linux/linuxthreads/prio.c: Ditto.
5941 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
5942 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
5943 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
5944 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
5945 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
5946 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
5947 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
5948 * libc/sys/linux/linuxthreads/queue.h: Ditto.
5949 * libc/sys/linux/linuxthreads/reent.c: Ditto.
5950 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
5951 * libc/sys/linux/linuxthreads/restart.h: Ditto.
5952 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
5953 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
5954 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
5955 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
5956 * libc/sys/linux/linuxthreads/signals.c: Ditto.
5957 * libc/sys/linux/linuxthreads/specific.c: Ditto.
5958 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
5959 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
5960 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
5961 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
5962 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
5963 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
5964 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
5965 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
5966 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
5967 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
5968 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
5969 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
5970 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
5971 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
5972 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
5973 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
5974 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
5975 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
5976 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
5977 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
5978 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
5979 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
5980 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
5981 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
5982 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
5983 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
5984 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
5985 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
5986 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
5987 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
5988 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
5989 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
5990 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
5991 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
5992 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
5993 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
5994 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
5995 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
5996 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
5997 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
5998 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
5999 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
6000 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
6001 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
6002 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
6003 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
6004 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
6005 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
6006 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
6007 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
6008 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
6009 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
6010 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
6011 * libc/sys/linux/linuxthreads/unload.c: Ditto.
6012 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
6013 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
6014 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
6015 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
6016 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
6017 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
6018 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
6019 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
6020 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
6021 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
6022 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
6023 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
6024 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
6025 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
6026 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
6027 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
6028 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
6029 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
6030 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
6031 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
6032 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
6033 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
6034 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
6035 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
6036 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
6037 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
6038 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
6039 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
6040 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
6041 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
6042 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
6043 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
6044 * libc/sys/linux/net/Makefile.am: Ditto.
6045 * libc/sys/linux/net/Makefile.in: Ditto.
6046 * libc/sys/linux/net/addr2ascii.3: Ditto.
6047 * libc/sys/linux/net/addr2ascii.c: Ditto.
6048 * libc/sys/linux/net/ascii2addr.c: Ditto.
6049 * libc/sys/linux/net/base64.c: Ditto.
6050 * libc/sys/linux/net/bindresvport.c: Ditto.
6051 * libc/sys/linux/net/byteorder.3: Ditto.
6052 * libc/sys/linux/net/ether_addr.c: Ditto.
6053 * libc/sys/linux/net/ethers.3: Ditto.
6054 * libc/sys/linux/net/getaddrinfo.3: Ditto.
6055 * libc/sys/linux/net/getaddrinfo.c: Ditto.
6056 * libc/sys/linux/net/gethostbydns.c: Ditto.
6057 * libc/sys/linux/net/gethostbyht.c: Ditto.
6058 * libc/sys/linux/net/gethostbyname.3: Ditto.
6059 * libc/sys/linux/net/gethostbynis.c: Ditto.
6060 * libc/sys/linux/net/gethostnamadr.c: Ditto.
6061 * libc/sys/linux/net/getifaddrs.3: Ditto.
6062 * libc/sys/linux/net/getifaddrs.c: Ditto.
6063 * libc/sys/linux/net/getipnodebyname.3: Ditto.
6064 * libc/sys/linux/net/getnameinfo.3: Ditto.
6065 * libc/sys/linux/net/getnameinfo.c: Ditto.
6066 * libc/sys/linux/net/getnetbydns.c: Ditto.
6067 * libc/sys/linux/net/getnetbyht.c: Ditto.
6068 * libc/sys/linux/net/getnetbynis.c: Ditto.
6069 * libc/sys/linux/net/getnetent.3: Ditto.
6070 * libc/sys/linux/net/getnetnamadr.c: Ditto.
6071 * libc/sys/linux/net/getproto.c: Ditto.
6072 * libc/sys/linux/net/getprotoent.3: Ditto.
6073 * libc/sys/linux/net/getprotoent.c: Ditto.
6074 * libc/sys/linux/net/getprotoname.c: Ditto.
6075 * libc/sys/linux/net/getservbyname.c: Ditto.
6076 * libc/sys/linux/net/getservbyport.c: Ditto.
6077 * libc/sys/linux/net/getservent.3: Ditto.
6078 * libc/sys/linux/net/getservent.c: Ditto.
6079 * libc/sys/linux/net/herror.c: Ditto.
6080 * libc/sys/linux/net/hesiod.3: Ditto.
6081 * libc/sys/linux/net/hesiod.c: Ditto.
6082 * libc/sys/linux/net/if_indextoname.3: Ditto.
6083 * libc/sys/linux/net/ifname.c: Ditto.
6084 * libc/sys/linux/net/inet.3: Ditto.
6085 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
6086 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
6087 * libc/sys/linux/net/inet_addr.c: Ditto.
6088 * libc/sys/linux/net/inet_lnaof.c: Ditto.
6089 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
6090 * libc/sys/linux/net/inet_net.3: Ditto.
6091 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
6092 * libc/sys/linux/net/inet_net_pton.c: Ditto.
6093 * libc/sys/linux/net/inet_neta.c: Ditto.
6094 * libc/sys/linux/net/inet_netof.c: Ditto.
6095 * libc/sys/linux/net/inet_network.c: Ditto.
6096 * libc/sys/linux/net/inet_ntoa.c: Ditto.
6097 * libc/sys/linux/net/inet_ntop.c: Ditto.
6098 * libc/sys/linux/net/inet_pton.c: Ditto.
6099 * libc/sys/linux/net/innetgr-stub.c: Ditto.
6100 * libc/sys/linux/net/ip6opt.c: Ditto.
6101 * libc/sys/linux/net/iso_addr.3: Ditto.
6102 * libc/sys/linux/net/iso_addr.c: Ditto.
6103 * libc/sys/linux/net/issetugid-stub.c: Ditto.
6104 * libc/sys/linux/net/linkaddr.3: Ditto.
6105 * libc/sys/linux/net/linkaddr.c: Ditto.
6106 * libc/sys/linux/net/map_v4v6.c: Ditto.
6107 * libc/sys/linux/net/name6.c: Ditto.
6108 * libc/sys/linux/net/namespace.h: Ditto.
6109 * libc/sys/linux/net/ns.3: Ditto.
6110 * libc/sys/linux/net/ns_addr.c: Ditto.
6111 * libc/sys/linux/net/ns_name.c: Ditto.
6112 * libc/sys/linux/net/ns_netint.c: Ditto.
6113 * libc/sys/linux/net/ns_ntoa.c: Ditto.
6114 * libc/sys/linux/net/ns_parse.c: Ditto.
6115 * libc/sys/linux/net/ns_print.c: Ditto.
6116 * libc/sys/linux/net/ns_ttl.c: Ditto.
6117 * libc/sys/linux/net/nsap_addr.c: Ditto.
6118 * libc/sys/linux/net/nsdispatch.3: Ditto.
6119 * libc/sys/linux/net/nsdispatch.c: Ditto.
6120 * libc/sys/linux/net/nslexer.c: Ditto.
6121 * libc/sys/linux/net/nslexer.l: Ditto.
6122 * libc/sys/linux/net/nsparser.c: Ditto.
6123 * libc/sys/linux/net/nsparser.h: Ditto.
6124 * libc/sys/linux/net/nsparser.y: Ditto.
6125 * libc/sys/linux/net/rcmd.3: Ditto.
6126 * libc/sys/linux/net/rcmd.c: Ditto.
6127 * libc/sys/linux/net/rcmdsh.3: Ditto.
6128 * libc/sys/linux/net/rcmdsh.c: Ditto.
6129 * libc/sys/linux/net/recv.c: Ditto.
6130 * libc/sys/linux/net/res_comp.c: Ditto.
6131 * libc/sys/linux/net/res_config.h: Ditto.
6132 * libc/sys/linux/net/res_data.c: Ditto.
6133 * libc/sys/linux/net/res_debug.c: Ditto.
6134 * libc/sys/linux/net/res_init.c: Ditto.
6135 * libc/sys/linux/net/res_mkquery.c: Ditto.
6136 * libc/sys/linux/net/res_mkupdate.c: Ditto.
6137 * libc/sys/linux/net/res_query.c: Ditto.
6138 * libc/sys/linux/net/res_send.c: Ditto.
6139 * libc/sys/linux/net/res_update.c: Ditto.
6140 * libc/sys/linux/net/resolver.3: Ditto.
6141 * libc/sys/linux/net/rthdr.c: Ditto.
6142 * libc/sys/linux/net/send.c: Ditto.
6143 * libc/sys/linux/net/un-namespace.h: Ditto.
6144 * libc/sys/linux/net/vars.c: Ditto.
6145 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
6146 * libc/sys/linux/stdlib/Makefile.am: Ditto.
6147 * libc/sys/linux/stdlib/Makefile.in: Ditto.
6148 * libc/sys/linux/stdlib/cclass.h: Ditto.
6149 * libc/sys/linux/stdlib/cname.h: Ditto.
6150 * libc/sys/linux/stdlib/collate.c: Ditto.
6151 * libc/sys/linux/stdlib/collate.h: Ditto.
6152 * libc/sys/linux/stdlib/collcmp.c: Ditto.
6153 * libc/sys/linux/stdlib/engine.c: Ditto.
6154 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
6155 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
6156 * libc/sys/linux/stdlib/glob.3: Ditto.
6157 * libc/sys/linux/stdlib/glob.c: Ditto.
6158 * libc/sys/linux/stdlib/reallocf.c: Ditto.
6159 * libc/sys/linux/stdlib/regcomp.c: Ditto.
6160 * libc/sys/linux/stdlib/regerror.c: Ditto.
6161 * libc/sys/linux/stdlib/regex.3: Ditto.
6162 * libc/sys/linux/stdlib/regex2.h: Ditto.
6163 * libc/sys/linux/stdlib/regexec.c: Ditto.
6164 * libc/sys/linux/stdlib/regfree.c: Ditto.
6165 * libc/sys/linux/stdlib/utils.h: Ditto.
6166 * libc/sys/linux/stdlib/wordexp.c: Ditto.
6167 * libc/sys/linux/stdlib/wordfree.c: Ditto.
6168 * libc/sys/linux/sys/dlfcn.h: Ditto.
6169 * libc/sys/linux/sys/elfclass.h: Ditto.
6170 * libc/sys/linux/sys/event.h: Ditto.
6171 * libc/sys/linux/sys/ioccom.h: Ditto.
6172 * libc/sys/linux/sys/libc-tsd.h: Ditto.
6173 * libc/sys/linux/sys/link.h: Ditto.
6174 * libc/sys/linux/sys/lock.h: Ditto.
6175 * libc/sys/linux/sys/param.h: Ditto.
6176 * libc/sys/linux/sys/socket.h: Ditto.
6177 * libc/sys/linux/sys/sockio.h: Ditto.
6179 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
6181 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
6183 * newlib/libc/machine/h8300/memset.S: Likewise
6184 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
6185 * newlib/lib/machine/h8300/reg_memset.S: Likewise
6186 * newlib/lib/machine/h8300/setjmp.S: Likewise
6187 * newlib/lib/machine/h8300/strcmp.S: Likewise
6188 * newlib/lib/sys/h8300hms/crt0.S: Likewise
6190 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6192 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
6193 * libc/include/stdio.h: Ditto.
6194 * libc/include/sys/config.h: Ditto.
6195 * libc/stdio/mktemp.c: Ditto.
6197 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
6199 * libc/locale/ldpart.c (__part_load_locale): Substitute
6200 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
6201 * libc/search/hash.c (__hash_open): Ditto.
6203 * libc/stdio/fseek.c (fseek): Ditto.
6204 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6205 * libc/stdio/mktemp.c (_gettemp): Ditto.
6207 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6209 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
6211 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
6213 * configure.host: Accomodate removing the libc/sys/cygwin dir.
6214 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
6215 if __CYGWIN_USE_BIG_TYPES__ is set.
6216 * libc/search/hash.c (__hash_open): Ditto.
6218 * libc/stdio/fseek.c (fseek): Ditto.
6219 * libc/stdio/makebuf.c (__smakebuf): Ditto.
6220 * libc/stdio/mktemp.c (_gettemp): Ditto.
6221 * libc/sys/cygwin/Makefile.am: Remove.
6222 * libc/sys/cygwin/Makefile.in: Remove.
6223 * libc/sys/cygwin/aclocal.m4: Remove.
6224 * libc/sys/cygwin/configure: Remove.
6225 * libc/sys/cygwin/configure.in: Remove.
6226 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
6227 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
6229 * libc/sys/cygwin/sys/param.h: Ditto.
6230 * libc/sys/cygwin/sys/utime.h: Ditto.
6231 * libc/sys/cygwin/sys/utmp.h: Ditto.
6233 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
6235 * libc/include/sys/types.h: Don't define key_t for Cygwin.
6237 2003-05-10 Christopher Faylor <cgf@redhat.com>
6239 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
6242 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
6244 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
6245 Include cygwin/config.h instead.
6247 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
6249 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
6250 all code with #ifdef __SPE__ test.
6251 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
6253 2003-04-15 Chris January <chris@atomice.net>
6255 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
6258 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
6260 * libc/machine/sh/memset.S: Avoid clobbering volatile
6261 objects following a tiny to-be-set array in the same quadword.
6263 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
6265 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
6266 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
6267 * libc/string/Makefile.in: Regenerated.
6268 * libc/string/wcswidth.c: New file.
6269 * libc/string/wcwidth.c: New file.
6270 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
6272 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
6274 * libc/machine/sh/memset.S: Fix problem with alloco region
6275 exceeding destination region for length >= 88 bytes, start
6276 & 0x16 == 0, end & 0x1f == 18.
6278 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
6280 * libc/string/wcscoll.c: Fix comment.
6282 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
6284 * libc/include/wchar.h: Add definition for wcscoll.
6285 * libc/string/Makefile.am: Add wcscoll.c.
6286 * libc/string/Makefile.in: Regenerated.
6287 * libc/string/wcscoll.c: New file.
6288 * libc/string/wcstrings.tex: Add wcscoll.
6290 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6292 * libc/stdio/sscanf.c: Update flags description.
6293 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
6295 (__svfscanf_r): Add 'hh' and 'll' handling.
6297 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
6299 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
6300 __d_position member to _off_t.
6302 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
6304 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
6305 count all characters used to create number against maximum width.
6306 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
6308 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6310 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
6312 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
6313 flag to support simulator only extensions.
6315 2003-03-17 Bob Cassels <bcassels@abinitio.com>
6317 * libc/string/wcschr.c: (wcschr): Look for character first,
6318 then for end of string, so you can do wcschr(x, '\0').
6320 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
6322 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
6323 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
6324 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
6325 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
6326 * libc/stdio/fseeko.c (fseeko): Ditto.
6327 * libc/stdio/ftello.c (ftello): Ditto.
6328 * libc/stdio/stdio.c (__swrite): Ditto.
6330 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
6331 * libc/stdio/fseek.c (fseek): Ditto.
6332 * libc/stdio/fsetpos.c (fsetpos): Ditto.
6333 * libc/stdio/ftell.c (ftell): Ditto.
6334 * libc/stdio/local.h: Declare __sseek using _off_t.
6336 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6338 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
6340 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6342 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
6345 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
6347 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
6349 * libc/include/sys/stat.h: Ditto.
6350 * libc/include/sys/unistd.h: Ditto.
6351 * libc/sys/cygwin/sys/dirent.h: Ditto.
6353 2003-03-07 Christopher Faylor <cgf@redhat.com>
6355 * libc/include/sys/unistd.h: Guard getopt.h call to force only
6356 declaration of getopt and avoid getopt_long declaration.
6357 * libc/sys/cygwin/include/unistd.h: Remove.
6359 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
6361 * configure.host: Define stdio64_dir for Cygwin.
6362 * libc/include/stdio.h: Change definition of fpos_t to fulfill
6363 Cygwin 64bit file access requirements.
6364 Drop definition of f*64() functions when compiled for Cygwin.
6365 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
6366 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
6367 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
6369 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
6371 * libc/include/sys/reent.h: Remove extraneous _sig_func
6374 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
6376 * libc/sys/h8300hms/Makefile.am: Add support for new files.
6377 * libc/sys/h8300hms/Makefile.in: Regenerated.
6378 * libc/sys/h8300hms/close.S: New file.
6379 * libc/sys/h8300hms/fstat.S: Ditto.
6380 * libc/sys/h8300hms/lseek.S: Ditto.
6381 * libc/sys/h8300hms/open.S: Ditto.
6382 * libc/sys/h8300hms/stat.S: Ditto.
6383 * libc/sys/h8300hms/read.S: New file to replace read.c.
6384 * libc/sys/h8300hms/read.c: Removed.
6385 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
6386 _lseek, _close, _stat, _fstat.
6387 * libc/sys/h8300hms/write.S: New file to replace write.c.
6388 * libc/sys/h8300hms/write.c: Removed.
6390 2003-02-20 Nick Clifton <nickc@redhat.com>
6392 * Add support for Cirrus Maverick ARM co-processor:
6394 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
6396 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
6397 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
6399 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
6401 * configure.host: set sys_dir, syscall_dir, and
6402 newlib_cflags for ep9312 host.
6404 * configure.host: Restore alpha sorting of entries in case
6407 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
6409 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
6411 2003-02-18 Christian Groessler <chris@groessler.org>
6413 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
6414 support z8001 segmented mode.
6416 2003-02-18 Earnie Boyd <earnie@users.sf.net>
6418 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
6421 2003-02-10 Christopher Faylor <cgf@redhat.com>
6423 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
6424 Don't define some types under cygwin.
6426 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
6428 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
6429 option to allow disabling of syscalls being supplied in newlib.
6430 * aclocal.m4: Regenerated.
6432 * configure.host: Add support of new configuration option and add
6433 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
6434 * doc/aclocal.m4: Regenerated.
6435 * doc/configure: Ditto.
6436 * libc/*aclocal.m4: Ditto.
6437 * libc/*configure: Ditto.
6438 * libm/*aclocal.m4: Ditto.
6439 * libm/*configure: Ditto.
6440 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
6442 * libc/sys/arm/Makefile.in: Regenerated.
6444 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
6446 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
6447 -1 to be sure it cannot later match a valid file fd causing
6448 isatty() to return 1.
6449 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
6450 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
6451 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
6453 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
6455 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
6456 buffer based on the precision, after we have processed the input value
6457 in a local buffer and know its relative magnitude.
6459 2003-01-31 Michael Snyder <msnyder@redhat.com>
6461 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
6462 into registers r1 and r2, so that the simulator can distinguish
6463 this trap from a breakpoint trap. Copied from libgloss.
6465 2003-01-31 Michael Snyder <msnyder@redhat.com>
6467 * libc/sys/h8300hms/crt0.S (_start): Change local label
6468 from .loop to .Loop, so that ld and gdb will ignore it.
6470 2003-01-29 Jason Tishler <jason@tishler.net>
6472 * libc/include/time.h: Declare nanosleep() under Cygwin.
6474 2003-01-24 Nick Clifton <nickc@redhat.com>
6478 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
6480 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
6481 * libc/machine/sh/setjmp.S: Likewise.
6482 * libc/include/machine/ieeefp.h: Likewise.
6484 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
6486 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
6489 2003-01-21 Anita Kulkarni <anitak@kpit.com>
6491 * libc/time/difftime.c : Typecast the result to double.
6493 2003-01-20 Christopher Faylor <cgf@redhat.com>
6495 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
6497 2003-01-18 Nick Clifton <nickc@redhat.com>
6499 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
6500 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
6502 2003-01-16 Joel Sherrill <joel@OARcorp.com>
6504 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
6505 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
6506 constants are defined in each file in the shared versions in
6508 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
6509 autoconf can link programs.
6510 * libc/include/machine/types.h: Explicitly specify signed on
6511 intXX_t types to ensure they are signed.
6513 2003-01-14 Christopher Faylor <cgf@redhat.com>
6515 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
6518 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
6520 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
6522 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
6524 * libc/stdio/sprintf.c: fix typo
6525 * libc/stdio/vfprintf.c: fix typo
6527 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
6529 * configure.host: Support long double I/O for x86-linux.
6530 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
6531 large enough to hold formatted result.
6532 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
6534 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6536 * Makefile.am: Add vasprintf.
6537 * Makefile.in: Regenerated.
6539 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
6541 * asprintf.c (_asprintf_r): insure both declarations
6544 2002-12-28 Christopher Faylor <cgf@redhat.com>
6546 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
6547 than defining getopt directly.
6549 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6551 * NEWS: Update with 1.11.0 info.
6553 * acinclude.m4: Change version number to 1.11.0.
6554 * aclocal.m4: Regenerated.
6556 * doc/aclocal.m4: Ditto.
6557 * doc/configure: Ditto.
6558 * libc/*/aclocal.m4: Ditto.
6559 * libc/*/configure: Ditto.
6560 * libc/libc.texinfo: Ditto.
6561 * libm/*/aclocal.m4: Ditto.
6562 * libm/*/configure: Ditto.
6563 * libm/libm.texinfo: Ditto.
6564 * libc/sys/linux/shared.ld: Add VERS_1.11.
6566 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6568 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
6569 Solutions to Red Hat Inc.
6570 * libc/machine/i386/f_atan2f.S: Ditto.
6571 * libc/machine/i386/f_exp.c: Ditto.
6572 * libc/machine/i386/f_expf.c: Ditto.
6573 * libc/machine/i386/f_frexp.S: Ditto.
6574 * libc/machine/i386/f_frexpf.S: Ditto.
6575 * libc/machine/i386/f_ldexp.S: Ditto.
6576 * libc/machine/i386/f_ldexpf.S: Ditto.
6577 * libc/machine/i386/f_log.S: Ditto.
6578 * libc/machine/i386/f_log10.S: Ditto.
6579 * libc/machine/i386/f_log10f.S: Ditto.
6580 * libc/machine/i386/f_logf.S: Ditto.
6581 * libc/machine/i386/f_pow.c: Ditto.
6582 * libc/machine/i386/f_powf.c: Ditto.
6583 * libc/machine/i386/f_tan.S: Ditto.
6584 * libc/machine/i386/f_tanf.S: Ditto.
6585 * libc/machine/i386/memchr.S: Ditto.
6586 * libc/machine/i386/memcmp.S: Ditto.
6587 * libc/machine/i386/memcpy.S: Ditto.
6588 * libc/machine/i386/memmove.S: Ditto.
6589 * libc/machine/i386/memset.S: Ditto.
6590 * libc/machine/i386/strchr.S: Ditto.
6591 * libc/machine/i386/strlen.S: Ditto.
6592 * libm/machine/i386/f_atan2.S: Ditto.
6593 * libm/machine/i386/f_atan2f.S: Ditto.
6594 * libm/machine/i386/f_exp.c: Ditto.
6595 * libm/machine/i386/f_expf.c: Ditto.
6596 * libm/machine/i386/f_frexp.S: Ditto.
6597 * libm/machine/i386/f_frexpf.S: Ditto.
6598 * libm/machine/i386/f_ldexp.S: Ditto.
6599 * libm/machine/i386/f_ldexpf.S: Ditto.
6600 * libm/machine/i386/f_log.S: Ditto.
6601 * libm/machine/i386/f_log10.S: Ditto.
6602 * libm/machine/i386/f_log10f.S: Ditto.
6603 * libm/machine/i386/f_logf.S: Ditto.
6604 * libm/machine/i386/f_pow.c: Ditto.
6605 * libm/machine/i386/f_powf.c: Ditto.
6606 * libm/machine/i386/f_tan.S: Ditto.
6607 * libm/machine/i386/f_tanf.S: Ditto.
6609 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
6611 * libc/stdlib/environ.c: Update license to Red Hat.
6612 * libc/machine/hppa/setjmp.S: Ditto.
6613 * libm/test/Makefile.in: Ditto.
6615 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
6617 * configure.host: Remove references to go32.
6618 * libc/sys/go32/*: Removed.
6620 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
6622 * libc/include/sys/config.h: Change setting of INT_MAX
6623 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
6624 __H8300S__. Also consolidate flag settings for these
6627 2002-12-10 Joel Sherrill <joel@OARcorp.com>
6629 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
6630 for i386-rtems targets.
6632 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
6634 * libc/include/stdlib.h (strtof): New prototype (from C99).
6635 (strtodf): Changed from prototype to macro which redefines
6637 * libc/stdlib/atof.c: Change documentation to refer to strtof
6639 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
6641 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
6642 (strtof): New function.
6643 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
6646 2002-11-27 Christopher Faylor <cgf@redhat.com>
6648 * libc/string/memset.c (memset): Fix comment.
6650 2002-11-26 Christopher Faylor <cgf@redhat.com>
6652 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
6655 2002-11-25 Christopher Faylor <cgf@redhat.com>
6657 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
6658 variable, introduced below, everywhere.
6660 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
6662 * libc/string/memset.c (memset): Make it safe even if
6665 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
6667 * configure.in: Change check for libc/include in ${CC} to
6668 use an intermediate value so as to work with different shells.
6669 * configure: Regenerated.
6670 * Makefile.in: Ditto.
6672 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
6674 * libc/sys/h8300hms/read.c: Add support for normal mode
6677 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
6679 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
6680 code for __H8300H__ and __H8300S__. Also return 32-bit return code
6681 when -mint32 is used.
6683 2002-11-18 Nick Clifton <nickc@redhat.com>
6685 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
6687 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
6689 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
6690 only issue one pass/fail message for a compile/link/execute.
6691 * testsuite/newlib.elix/elix.exp: New file.
6692 * testsuite/newlib.elix/tmmap.c: Ditto.
6694 2002-11-06 Christopher Faylor <cgf@redhat.com>
6696 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
6697 * libc/stdlib/mlock.c: Ditto.
6698 * libc/stdlib/msize.c: Ditto.
6699 * libc/stdlib/msize.c: Ditto.
6700 * libc/stdlib/mtrim.c: Ditto.
6701 * libc/stdlib/valloc.c: Ditto.
6703 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
6705 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
6706 for inf/nan, make sure that the check ignores the sign bit.
6708 2002-11-07 Joel Sherrill <joel@OARcorp.com>
6710 * libc/sys/rtems/machine: New directory.
6711 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
6712 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
6713 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
6714 targets more BSD like when installed without requiring files to
6715 be overwritten at install point when RTEMS itself is installed.
6716 * Makefile.am: Pick up system dependent machine .h files such as
6717 might be found on a BSD-ish system.
6718 * Makefile.in: Regenerate.
6719 * libc/include/machine/types.h: When on an RTEMS target, define a
6720 few BSD flavor types.
6722 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
6724 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
6726 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
6728 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
6729 * libc/include/wctype.h: Ditto.
6731 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
6733 * libc/include/wchar.h: Add extern "C" specifier if C++.
6734 * libc/include/wctype.h: Ditto.
6736 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6738 * testsuite/newlib.wctype/tiswctype.c: New test case.
6739 * testsuite/newlib.wctype/twctrans.c: Ditto.
6741 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6743 * libc/sys/linux/machine/i386/include/endian.h: New file.
6744 * libc/sys/linux/machine/i386/include/param.h: Ditto.
6746 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6748 * libm/machine/i386/aclocal.m4: Regenerated.
6749 * libm/machine/i386/configure: Ditto.
6751 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
6753 * testsuite/include/check.h: New header file to use with
6755 * testsuite/lib/newlib.exp: Add testsuite/include directory
6756 to list of header files to use.
6757 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
6758 * testsuite/newlib.wctype/wctype.exp: New file.
6760 2002-10-11 Graham Stott <graham.stott@btinternet.com>
6761 Richard Sandiford <rsandifo@redhat.com>
6763 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
6764 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
6765 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
6767 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6769 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
6772 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6774 * libc/include/pthread.h: Define PTHREAD_CANCELED.
6776 2002-10-07 Joel Sherrill <joel@OARcorp.com>
6778 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
6779 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
6780 compile with current GNU tools.
6782 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
6784 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
6786 * configure.in: Ditto.
6787 * Makefile.in: Regenerated.
6789 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
6790 for specifying configured libraries/directories.
6791 * libc/sys/linux/configure.in: Ditto.
6792 * libc/sys/linux/Makefile.in: Regenerated.
6793 * libc/sys/linux/configure: Ditto.
6795 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
6797 * libc/include/reent.h: Update documentation at start of file.
6799 2002-09-27 Jim Wilson <wilson@redhat.com>
6801 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
6804 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
6806 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
6807 Also convert to EUCJP before using arrays. For values not in
6808 the conversion arrays, return WEOF.
6809 * libc/ctype/jp2uc.h: Change from one array to a number of
6810 arrays to account for the fact that the originating table
6811 is not contiguous for the input values since some are invalid.
6813 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
6815 * libc/time/ctime.c: Fix prototype documentation.
6817 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
6819 * libc/include/sys/errno.h: Add EOVERFLOW.
6821 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6823 * libc/include/wctype.h: New file.
6825 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6827 * libc/ctype/Makefile.am: Add new files.
6828 * libc/ctype/Makefile.in: Regenerated.
6829 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
6830 and wctrans functions to documentation index.
6831 * libc/ctype/iswalnum.c: New file.
6832 * libc/ctype/iswalpha.c: Ditto.
6833 * libc/ctype/iswblank.c: Ditto.
6834 * libc/ctype/iswcntrl.c: Ditto.
6835 * libc/ctype/iswctype.c: Ditto.
6836 * libc/ctype/iswdigit.c: Ditto.
6837 * libc/ctype/iswgraph.c: Ditto.
6838 * libc/ctype/iswlower.c: Ditto.
6839 * libc/ctype/iswprint.c: Ditto.
6840 * libc/ctype/iswpunct.c: Ditto.
6841 * libc/ctype/iswspace.c: Ditto.
6842 * libc/ctype/iswupper.c: Ditto.
6843 * libc/ctype/iswxdigit.c: Ditto.
6844 * libc/ctype/jp2uc.c: Ditto.
6845 * libc/ctype/jp2uc.h: Ditto.
6846 * libc/ctype/local.h: Ditto.
6847 * libc/ctype/towctrans.c: Ditto.
6848 * libc/ctype/towlower.c: Ditto.
6849 * libc/ctype/towupper.c: Ditto.
6850 * libc/ctype/utf8alpha.h: Ditto.
6851 * libc/ctype/utf8print.h: Ditto.
6852 * libc/ctype/utf8punct.h: Ditto.
6853 * libc/ctype/wctrans.c: Ditto.
6854 * libc/ctype/wctype.c: Ditto.
6855 * libc/locale/locale.c (__lc_ctype): New external array to
6856 replace static lc_ctype array.
6857 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
6858 rather than reentrancy structure's _current_locale field.
6859 * libc/stdlib/wctomb_r.c: Ditto.
6861 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
6863 * configure.host: Minor comment and formatting changes.
6864 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
6865 * libc/Makefile.in: Regenerated.
6866 * libc/include/sys/config.h: Minor format change.
6868 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6870 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
6873 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
6875 * libc/posix/opendir.c (opendir): Change code to check
6876 for HAVE_FCNTL before calling fcntl.
6877 * libc/search/hash.c (hash_open): Ditto.
6878 * libc/search/hash_page.c (open_tmp): Ditto.
6879 * libc/reent/Makefile.am: Add fcntlr.c.
6880 * libc/reent/Makefile.in: Regenerated.
6881 * libc/reent/fcntlr.c: New file.
6882 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
6883 instead of _fcntl when HAVE_FCNTL flag is set.
6884 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
6885 to see if _fcntl or _fcntl_r should be called. If flag is not
6886 set, default to ENOSYS stub.
6888 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
6890 * libc/include/wchar.h (mbstate_t): Change protective flag to
6892 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
6893 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
6895 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
6897 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
6899 * acinclude.m4 (enable-newlib-mb): Change check to
6900 default newlib_mb variable to empty string rather than "no".
6901 * configure.host: Remove hard-coding of -DMB_CAPABLE for
6902 x86-linux and Cygwin. Add code to check for newlib_mb
6903 being unset in which case set to "yes" for x86-linux and
6904 Cygwin. Change check for newlib_mb being "yes" to allow
6905 for an empty string.
6906 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
6907 * newlib.hin (_MB_LEN_MAX): New define to configure.
6908 * aclocal.m4: Regenerated.
6910 * libc/include/limits.h: New file.
6911 * libc/sys/linux/include/limits.h: Ditto.
6912 * doc/aclocal.m4 doc/configure libc/aclocal.m4
6913 libc/configure libc/machine/aclocal.m4
6914 libc/machine/configure libc/machine/a29k/aclocal.m4
6915 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
6916 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
6917 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
6918 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
6919 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
6920 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
6921 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
6922 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
6923 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
6924 libc/machine/i386/configure libc/machine/i960/aclocal.m4
6925 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
6926 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
6927 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
6928 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
6929 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
6930 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
6931 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
6932 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
6933 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
6934 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
6935 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
6936 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
6937 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
6938 libc/machine/v850/configure libc/machine/w65/aclocal.m4
6939 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
6940 libc/machine/xscale/configure
6941 libc/machine/xstormy16/aclocal.m4
6942 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
6943 libc/machine/z8k/configure libc/sys/aclocal.m4
6944 libc/sys/configure libc/sys/a29khif/aclocal.m4
6945 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
6946 libc/sys/arc/configure libc/sys/arm/aclocal.m4
6947 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
6948 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
6949 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
6950 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
6951 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
6952 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
6953 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
6954 libc/sys/idt/configure libc/sys/linux/aclocal.m4
6955 libc/sys/linux/configure
6956 libc/sys/linux/machine/aclocal.m4
6957 libc/sys/linux/machine/configure
6958 libc/sys/linux/machine/i386/aclocal.m4
6959 libc/sys/linux/machine/i386/configure
6960 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
6961 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
6962 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
6963 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
6964 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
6965 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
6966 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
6967 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
6968 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
6969 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
6970 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
6971 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
6972 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
6973 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
6974 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
6975 libm/aclocal.m4 libm/configure: Regenerated.
6977 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6979 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
6980 code that clears the .bss section.
6982 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
6984 * libc/include/sys/_types.h (_mbstate_t): Changed to use
6985 unsigned char internally.
6986 * libc/sys/linux/sys/_types.h: Ditto.
6987 * libc/include/sys/reent.h
6988 * libc/stdlib/mblen.c (mblen): Use function-specific state
6989 value from default reentrancy structure.
6990 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
6991 _mbtowc_r is less than 0, reset state __count value and
6993 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
6994 is NULL, use the function-specific pointer provided in the
6995 default reentrancy structure.
6996 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
6997 If input state pointer is NULL, use function-specific area
6998 provided in reentrancy structure.
6999 * libc/stdlib/mbsrtowcs.c: Ditto.
7000 * libc/stdlib/wcrtomb.c: Ditto.
7001 * libc/stdlib/wcsrtombs.c: Ditto.
7002 * libc/stdlib/mbstowcs.c: Reformat.
7003 * libc/stdlib/wcstombs.c: Ditto.
7004 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
7005 reset the state's __count value and return -1.
7006 * libc/stdlib/mbtowc.c: Ditto.
7007 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
7008 If number of bytes is used up before completing a valid multibyte
7009 character, return -2 and save the state.
7010 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
7011 and change some __count references to __state for clarity.
7013 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
7015 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
7016 is defined by <limits.h>.
7018 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7020 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
7023 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7025 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
7026 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
7027 __WCHAR_MAX__ or 0x7fffffffu.
7028 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
7029 * libc/string/wcsncmp.c: Ditto.
7031 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7033 * libc/string/wcschr.c: Add include of <stddef.h>.
7034 * libc/string/wcspbrk.c: Ditto.
7035 * libc/string/wcsrchr.c: Ditto.
7036 * libc/string/wcsstr.c: Ditto.
7038 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
7040 * libc/include/sys/_types.h (_flock_t): Added.
7041 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
7042 (__lock_try_acquire_recursive): Ditto.
7043 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
7045 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
7047 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
7048 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
7049 * libc/sys/linux/include/time.h (struct timespec): Moved from
7050 <sys/types.h> and added check for __need_timespec flag so type
7051 can be defined by itself.
7052 * libc/sys/linux/sys/_types.h (_flock_t): New type.
7053 * libc/sys/linux/sys/types.h (struct timespec): Moved to
7056 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7058 * libc/sys/linux/argp: New directory.
7059 * libc/sys/linux/getopt.c: New file.
7060 * libc/sys/linux/getopt1.c: New file.
7061 * libc/sys/linux/getoptlong.c: Remove file.
7062 * libc/sys/linux/include/argp.h: New file.
7063 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
7064 based on ELIX level.
7065 (SUBDIRS): Add argp_dir.
7066 (SUBLIBS): Add ARGP_LIB.
7067 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
7068 getopt_long.$(oext).
7069 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
7071 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7073 * libc/libc.texinfo: Add node reference to wide-character strings.
7074 * libc/string/wcstrings.tex: New file.
7075 * libc/string/strtok_r.c: Remove outdated advertising clause.
7076 * libc/string/Makefile.am (doc): Add wide-character string
7077 chapter to documentation.
7078 * libc/string/Makefile.in: Regenerated.
7080 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
7082 * libc/include/wchar.h: Define NULL. Define WEOF more general
7083 way. Declare functions in newlib manner.
7084 * libc/stdlib/Makefile.am: Delete wmem*.c
7085 * libc/stdlib/Makefile.in: Regenerated.
7086 * libc/stdlib/wmemchr.c: Delete.
7087 * libc/stdlib/wmemcmp.c: Ditto.
7088 * libc/stdlib/wmemcpy.c: Ditto.
7089 * libc/stdlib/wmemmove.c: Ditto.
7090 * libc/stdlib/wmemset.c: Ditto.
7091 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
7092 * libc/string/Makefile.in: Regenerated.
7093 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
7094 * libc/string/wcschr.c: Ditto.
7095 * libc/string/wcscmp.c: Ditto.
7096 * libc/string/wcscpy.c: Ditto.
7097 * libc/string/wcscspn.c: Ditto.
7098 * libc/string/wcslcat.c: Ditto.
7099 * libc/string/wcslcpy.c: Ditto.
7100 * libc/string/wcslen.c: Ditto.
7101 * libc/string/wcsncat.c: Ditto.
7102 * libc/string/wcsncmp.c: Ditto.
7103 * libc/string/wcsncpy.c: Ditto.
7104 * libc/string/wcspbrk.c: Ditto.
7105 * libc/string/wcsrchr.c: Ditto.
7106 * libc/string/wcsspn.c: Ditto.
7107 * libc/string/wcsstr.c: Ditto.
7108 * libc/string/wmemchr.c: Ditto.
7109 * libc/string/wmemcmp.c: Ditto.
7110 * libc/string/wmemcpy.c: Ditto.
7111 * libc/string/wmemmove.c: Ditto.
7112 * libc/string/wmemset.c: Ditto.
7114 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
7116 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
7117 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
7118 and is treated as if "C" was specified.
7120 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7122 * Makefile.am (install-data-local): Move install of build
7123 newlib.h after installing headers in libc/include so as to
7124 overwrite default newlib.h.
7125 * Makefile.in: Regenerated.
7127 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7129 * libc/include/newlib.h: New file for tools that use newlib
7130 headers but don't build newlib first (e.g. gcc).
7132 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
7134 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
7135 * libc/stdlib/wmemcmp.c: Ditto.
7136 * libc/stdlib/wmemcpy.c: Ditto.
7137 * libc/stdlib/wmemmove.c: Ditto.
7138 * libc/stdlib/wmemset.c: Ditto.
7140 2002-08-27 Egor Duda <deo@logos-m.ru>
7142 * libc/stdlib/wmemchr.c: New file.
7143 * libc/stdlib/wmemcmp.c: Ditto.
7144 * libc/stdlib/wmemcpy.c: Ditto.
7145 * libc/stdlib/wmemmove.c: Ditto.
7146 * libc/stdlib/wmemset.c: Ditto.
7147 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
7148 * configure.host: Default -DMB_CAPABLE for cygwin.
7149 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
7150 wmemmove() and wmemset(). Add include of <_ansi.h>.
7151 * libc/stdlib/Makefile.in: Regenerate.
7153 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
7155 * configure.host: Remove _ELIX_LEVEL flag setting.
7156 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
7157 (install-data-local): Install newlib.h.
7158 * Makefile.in: Regenerated.
7159 * aclocal.m4: Ditto.
7161 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
7162 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
7163 and _NEWLIB_VERSION to fill in newlib.h header file entries.
7164 In AC_OUTPUT statement, unset ac_file so multilib support does
7165 not use last ac_file temporary used in newlib.h configuration.
7166 * libc/include/_ansi.h: Include <newlib.h>.
7167 * newlib.hin: New template file for newlib.h.
7168 * stamp-h.in: New file.
7170 2002-08-26 Wu Yongwei <adah@netstd.com>
7172 * time.h (timezonevar): Change "#if" to "#ifdef".
7174 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
7176 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
7177 * Makefile.in: Regenerated.
7178 * acinclude.m4: Add support for --enable-newlib-elix-level option.
7179 * aclocal.m4: Regenerated.
7181 * configure.host: Add code to define _ELIX_LEVEL if
7182 --enable-newlib-elix-level option is used.
7184 * libc/aclocal.m4: Regenerated.
7185 * libc/configure: Ditto.
7186 * libc/argz/Makefile.am: Add EL/IX level checking.
7187 * libc/argz/Makefile.in: Regenerated.
7188 * libc/argz/dummy.c: New file.
7189 * libc/ctype/Makefile.am: Add EL/IX level checking.
7190 * libc/ctype/Makefile.in: Regenerated.
7191 * libc/locale/Makefile.am: Add EL/IX level checking.
7192 * libc/locale/Makefile.in: Regenerated.
7193 * libc/posix/Makefile.am: Add EL/IX level checking.
7194 * libc/posix/Makefile.in: Regenerated.
7195 * libc/posix/telldir.c: Add EL/IX level checking.
7196 * libc/reent/Makefile.am: Ditto.
7197 * libc/reent/fstat64r.c: Ditto.
7198 * libc/reent/lseek64r.c: Ditto.
7199 * libc/reent/open64r.c: Ditto.
7200 * libc/reent/Makefile.in: Regenerated.
7201 * libc/search/Makefile.am: Add EL/IX level checking.
7202 * libc/search/Makefile.in: Regenerated.
7203 * libc/stdio/Makefile.am: Add EL/IX level checking.
7204 * libc/stdio/Makefile.in: Regenerated.
7205 * libc/stdio64/Makefile.am: Add EL/IX level checking.
7206 * libc/stdio64/Makefile.in: Regenerated.
7207 * libc/stdio64/dummy.c: New file.
7208 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
7209 after first include.
7210 * libc/stdio64/fopen64.c: Ditto.
7211 * libc/stdio64/freopen64.c: Ditto.
7212 * libc/stdio64/fseeko64.c: Ditto.
7213 * libc/stdio64/fsetpos64.c: Ditto.
7214 * libc/stdio64/ftello64.c: Ditto.
7215 * libc/stdio64/tmpfile64.c: Ditto.
7216 * libc/stdlib/Makefile.am: Add EL/IX level checking.
7217 * libc/stdlib/Makefile.in: Regenerated.
7218 * libc/stdlib/mstats.c: Add EL/IX level checking.
7219 * libc/string/Makefile.am: Ditto.
7220 * libc/string/Makefile.in: Regenerated.
7221 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
7222 * libc/sys/linux/Makefile.in: Regenerated.
7223 * libc/sys/linux/aclocal.m4: Ditto.
7224 * libc/sys/linux/configure: Ditto.
7225 * libc/sys/linux/aio.c: Add EL/IX level checking.
7226 * libc/sys/linux/ftok.c: Ditto.
7227 * libc/sys/linux/getdate.c: Ditto.
7228 * libc/sys/linux/ids.c: Ditto.
7229 * libc/sys/linux/inode.c: Ditto.
7230 * libc/sys/linux/io.c: Ditto.
7231 * libc/sys/linux/process.c: Ditto.
7232 * libc/sys/linux/resource.c: Ditto.
7233 * libc/sys/linux/sched.c: Ditto.
7234 * libc/sys/linux/sig.c: Ditto.
7235 * libc/sys/linux/termios.c: Ditto.
7236 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
7237 __libc___waitpid weak aliases.
7238 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
7239 that generate the code for a syscall, but do not create a
7241 * libc/syscalls/Makefile.am: Add EL/IX level checking.
7242 * libc/syscalls/Makefile.in: Regenerated.
7243 * libc/time/tzset_r.c: Change to replace strdup with equivalent
7245 * libc/unix/Makefile.am: Add EL/IX level checking.
7246 * libc/unix/Makefile.in: Regenerated.
7248 2002-08-26 Christopher Faylor <cgf@redhat.com>
7250 * libc/include/malloc.h: On cygwin, define malloc _r functions as
7251 wrapper macros to standard malloc functions.
7252 * libc/include/stdlib.h: Ditto.
7253 * configure.host: Always define MALLOC_PROVIDED on cygwin.
7255 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7257 * libc/include/langinfo.h: New file.
7258 * libc/include/wchar.h: Likewise.
7259 * libc/include/sys/syslimits.h: Likewise.
7260 * libc/locale/fix_grouping.c: Likewise.
7261 * libc/locale/ldpart.c: Likewise.
7262 * libc/locale/ldpart.h: Likewise.
7263 * libc/locale/lmessages.c: Likewise.
7264 * libc/locale/lmessages.h: Likewise.
7265 * libc/locale/lmonetary.c: Likewise.
7266 * libc/locale/lmonetary.h: Likewise.
7267 * libc/locale/lnumeric.c: Likewise.
7268 * libc/locale/lnumeric.h: Likewise.
7269 * libc/locale/nl_langinfo.3: Likewise.
7270 * libc/locale/nl_langinfo.c: Likewise.
7271 * libc/locale/timelocal.c: Likewise.
7272 * libc/locale/timelocal.h: Likewise.
7273 * libc/stdlib/btowc.c: Likewise.
7274 * libc/stdlib/mbrlen.c: Likewise.
7275 * libc/stdlib/mbrtowc.c: Likewise.
7276 * libc/stdlib/mbsinit.c: Likewise.
7277 * libc/stdlib/mbsrtowcs.c: Likewise.
7278 * libc/stdlib/wcrtomb.c: Likewise.
7279 * libc/stdlib/wcsrtombs.c: Likewise.
7280 * libc/stdlib/wctob.c: Likewise.
7281 * libc/sys/linux/prof-freq.c: Likewise.
7282 * libc/sys/linux/profile.c: Likewise.
7283 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
7284 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
7285 * libc/include/stdlib.h: Change re-entrant functions to take
7287 * libc/include/sys/_types.h: Define _mbstate_t.
7288 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
7289 * libc/include/sys/errno.h (EILSEQ): New error code.
7290 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
7291 structure to use mbstate_t.
7292 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
7293 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
7294 * libc/machine/powerpc/vfscanf.c: Likewise.
7295 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
7296 * libc/stdio/vfprintf.c: Likewise.
7297 * libc/stdio/vfscanf.c: Likewise.
7298 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
7299 * libc/stdlib/mblen.c: Use mbstate_t.
7300 * libc/stdlib/mblen_r.c: Likewise.
7301 * libc/stdlib/mbstowcs.c: Likewise.
7302 * libc/stdlib/mbstowcs_r.c: Likewise.
7303 * libc/stdlib/mbtowc.c: Likewise.
7304 * libc/stdlib/mbtowc_r.c: Likewise.
7305 * libc/stdlib/wcstombs.c: Likewise.
7306 * libc/stdlib/wcstombs_r.c: Likewise.
7307 * libc/stdlib/wctomb_r.c: Likewise.
7308 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
7310 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
7312 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
7313 * libc/sys/linux/sys/types.h (off_t): Define type.
7314 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
7316 * testsuite/newlib.locale/UTF-8.exp: Likewise.
7318 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
7320 * libc/stdlib/mallocr.c: #include windows.h on Win32.
7321 (AlignPage): Continue macro on next line.
7323 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7325 * libc/sys/linux/include/pthread.h: New file.
7327 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
7329 * libc/include/sys/types.h: Support __need_inttypes macro
7330 that only sets the __intxx and __uintxx types.
7331 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
7333 * libc/machine/powerpc/Makefile.in: Regenerated.
7334 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
7335 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
7336 redundant fixed-point conversion prototypes.
7337 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
7338 after setting __need_inttypes.
7340 2002-08-18 Christopher Faylor <cgf@redhat.com>
7342 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
7344 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7346 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
7347 _LONG_DOUBLE to double.
7349 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7351 * configure.host: Add powerpc*-*-eabispe* configuration.
7352 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
7353 * libc/machine/powerpc/atosfix32.c: Ditto.
7354 * libc/machine/powerpc/atosfix64.c: Ditto.
7355 * libc/machine/powerpc/atoufix16.c: Ditto.
7356 * libc/machine/powerpc/atoufix32.c: Ditto.
7357 * libc/machine/powerpc/atoufix64.c: Ditto.
7358 * libc/machine/powerpc/fix64.h: Ditto.
7359 * libc/machine/powerpc/simdldtoa.c: Ditto.
7360 * libc/machine/powerpc/strtosfix16.c: Ditto.
7361 * libc/machine/powerpc/strtosfix32.c: Ditto.
7362 * libc/machine/powerpc/strtosfix64.c: Ditto.
7363 * libc/machine/powerpc/strtoufix16.c: Ditto.
7364 * libc/machine/powerpc/strtoufix32.c: Ditto.
7365 * libc/machine/powerpc/strtoufix64.c: Ditto.
7366 * libc/machine/powerpc/ufix64toa.c: Ditto.
7367 * libc/machine/powerpc/configure.in: Add check for
7368 powerpc*-eabispe and add fixed-point conversion functions.
7369 * libc/machine/powerpc/configure: Regenerated.
7370 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
7371 %r and %R format specifiers which handle fixed-point data.
7372 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
7373 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
7374 function prototypes.
7376 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
7378 * Makefile.am: Move cmath stuff into libc/sys/linux.
7379 * Makefile.in: Regenerated.
7380 * configure.host: Default -DMB_CAPABLE for x86-linux.
7381 * libc/include/reent.h: Define _sbrk to take signed int argument.
7382 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
7383 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
7384 make locale name checking more efficient. Also allow "C-ISO-8859-1"
7385 locale for LC_CTYPE and LC_MESSAGES.
7386 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
7387 * libc/sys/linux/brk.c: Change sbrk prototype.
7388 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
7389 include <sys/features.h>.
7390 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
7391 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
7392 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
7393 with a few local additions.
7394 * libc/sys/linux/sys/features.h: New file.
7395 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
7396 to take signed argument.
7397 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
7398 prototypes to take signed size argument.
7400 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
7402 * libc/sys/linux/cmath: New directory.
7403 * libc/sys/linux/include/cmathcalls.h: New file.
7404 * libc/sys/linux/include/complex.h: New file.
7405 * libc/sys/linux/machine/i386/huge_val.h: New file
7406 * libm/math/w_sincos.c: New file
7407 * libm/math/wf_sincos.c: New file
7408 * libm/mathfp/s_sincos.c: New file
7409 * libm/mathfp/sf_sincos.c: New file
7410 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
7411 * libc/include/math.h: Add sincos and sincosf declarations.
7412 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
7413 (SUBLIBS): Likewise.
7414 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
7415 * libm/math/Makefile.am (src): Add w_sincos.c.
7416 (fsrc): Add wf_sincos.c.
7417 * libm/mathfp/Makefile.am (src): Add s_sincos.c
7418 (fsrc): Add sf_sincos.c.
7420 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
7422 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
7423 Declare as extern chars and use the address operator to
7424 properly use values set in linker script.
7426 2002-08-09 Jason Tishler <jason@tishler.net>
7428 * libc/stdlib/mallocr.c: Include <limits.h>.
7429 (request2size): Change macro to do
7430 unsigned long comparisons and avoid signed overflow.
7431 (mALLOc): Add overflow check for the number of bytes to allocate.
7434 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
7436 * configure.host: Add check for --enable-newlib-io-pos-args
7437 and define WANT_IO_POS_ARGS flag if enabled. Define
7438 the flag by default for x86-linux configurations.
7439 * configure.in: Add support for --enable-newlib-io-pos-args.
7440 * libc/configure.in: Ditto.
7441 * configure: Regenerated.
7442 * libc/configure: Ditto.
7443 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
7444 vfprintf.c and vfiprintf.c.
7445 * libc/stdio/Makefile.in: Regenerated.
7446 * libc/stdio/vfprintf.c: Add positional argument support that
7447 is enabled by compiling with -DWANT_IO_POS_ARGS.
7449 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
7451 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
7452 based on __mips_soft_float rather than __mips64.
7453 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
7454 of both 32-bit and 64-bit code.
7456 2002-08-04 Christopher Faylor <cgf@redhat.com>
7458 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
7459 arguments for popen to match similar functionality in fopen.
7461 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
7463 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
7465 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
7467 * libc/sys/linux/Makefile.am: Add aio64.c.
7468 * libc/sys/linux/Makefile.in: Regenerated.
7469 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
7470 * libc/sys/linux/aio64.c: New file.
7472 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7474 * libc/include/sys/param.h (MAX, MIN): Added macros.
7475 * libc/sys/linux/Makefile.am: Add new files.
7476 * libc/sys/linux/Makefile.in: Regenerated.
7477 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7478 * libc/sys/linux/inode.c (fchdir): Added syscall.
7479 * libc/sys/linux/ftw.c: New file.
7480 * libc/sys/linux/ftw64.c: Ditto.
7481 * libc/sys/linux/getwd.c: Ditto.
7482 * libc/sys/linux/scandir64.c: Ditto.
7483 * libc/sys/linux/strverscmp.c: Ditto.
7484 * libc/sys/linux/versionsort.c: Ditto.
7485 * libc/sys/linux/versionsort64.c: Ditto.
7487 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
7489 * libc/string/strings.tex: Fix typo for memccpy.
7491 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7493 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
7494 * libc/sys/linux/sys/types.h (off64_t): Definition added.
7496 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7498 * libc/sys/linux/Makefile.am: Add fclean.c.
7499 * libc/sys/linux/Makefile.in: Regenerated.
7500 * libc/sys/linux/fclean.c: New file.
7502 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7504 * libc/sys/linux/Makefile.am: Add confstr.c.
7505 * libc/sys/linux/Makefile.in: Regenerated.
7506 * libc/sys/linux/confstr.c: New file.
7507 * libc/sys/linux/confstr.h: Ditto.
7508 * libc/sys/linux/sys/unistd.h: Include <features.h> and
7509 <bits/environments.h>.
7511 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
7513 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
7514 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
7515 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
7516 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
7517 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
7518 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
7520 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7522 * libc/sys/linux/Makefile.am: Add new files.
7523 * libc/sys/linux/Makefile.in: Regenerated.
7524 * libc/sys/linux/fstab.c: New file.
7525 * libc/sys/linux/fstatvfs.c: Ditto.
7526 * libc/sys/linux/fstatvfs64.c: Ditto.
7527 * libc/sys/linux/internal_statvfs.c: Ditto.
7528 * libc/sys/linux/mntent.c: Ditto.
7529 * libc/sys/linux/mntent_r.c: Ditto.
7530 * libc/sys/linux/statvfs.c: Ditto.
7531 * libc/sys/linux/statvfs64.c: Ditto.
7532 * libc/sys/linux/include/paths.h: Ditto.
7533 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
7534 with double-underscore weak-aliases.
7535 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
7537 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
7539 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
7540 to use _sig_func_ptr type casted constants.
7541 (_sig_func_ptr): Typedef moved to sys/signal.h.
7542 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
7543 For __rtems, use POSIX definition, otherwise default to ANSI.
7544 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
7546 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
7548 * configure.host: Recognize m6811-elf and m6812-elf targets.
7549 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
7550 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
7551 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
7552 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
7553 according to __INT_MAX__.
7554 (_POINTER_INT): Define to short.
7555 * libc/machine/m68hc11/Makefile.am: New file.
7556 * libc/machine/m68hc11/Makefile.in: New file.
7557 * libc/machine/m68hc11/configure.in: New file.
7558 * libc/machine/m68hc11/configure: New file.
7559 * libc/machine/m68hc11/aclocal.m4: New file.
7560 * libc/machine/m68hc11/setjmp.S: New file.
7562 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7564 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
7566 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
7567 * libc/stdlib/Makefile.in: Regenerated.
7568 * libc/stdlib/strdup.c: Removed.
7569 * libc/stdlib/strdup_r.c: Removed.
7570 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
7571 mempcpy.c, strndup.c, and strndup_r.c.
7572 * libc/string/Makefile.in: Regenerated.
7573 * libc/string/memccpy.c: New file.
7574 * libc/string/mempcpy.c: Ditto.
7575 * libc/string/strndup.c: Ditto.
7576 * libc/string/strndup_r.c: Ditto.
7577 * libc/string/strdup.c: New file moved from stdlib.
7578 * libc/string/strdup_r.c: Ditto.
7579 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
7581 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
7583 * libc/include/stdio.h: Move fcloseall prototype within
7584 #ifndef _REENT_ONLY section.
7585 * libc/sys/linux/Makefile.am: Add new files.
7586 * libc/sys/linux/Makefile.in: Regenerated.
7587 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
7588 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
7589 * libc/sys/linux/sys/types.h: Add ino64_t type.
7590 * libc/sys/linux/ctermid.c: New file.
7591 * libc/sys/linux/ttyname_r.c: Ditto.
7592 * libc/sys/linux/readdir64.c: Ditto.
7594 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7596 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
7597 * libc/stdio/Makefile.am: Added fcloseall.c support.
7598 * libc/stdio/Makefile.in: Regenerated.
7599 * libc/stdio/fcloseall.c: New file.
7600 * libc/stdio64/Makefile.am: Remove missing .def references.
7601 * libc/stdio64/Makefile.in: Regenerated.
7603 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
7605 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
7606 * libc/machine/powerpc/times.c: New file.
7607 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
7608 * libc/machine/powerpc/Makefile.in: Regenerated.
7610 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
7612 * libc/machine/powerpc/time.c: New file.
7613 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
7615 * libc/machine/powerpc/Makefile.in: Regenerated.
7617 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7619 * libc/libc.texinfo: Change copyright notices to Red Hat from
7621 * libm/libm.texinfo: Likewise.
7622 * README: Change docs URL to
7623 http://sources.redhat.com/newlib/docs.html.
7625 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7627 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
7628 * libc/sys/linux/Makefile.in: Regenerated.
7629 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
7630 * libc/sys/linux/io.c: Add ftruncate syscall.
7631 * libc/sys/linux/fpathconf.c: New file.
7632 * libc/sys/linux/pathconf.c: Ditto.
7633 * libc/sys/linux/linux_fsinfo.h: Ditto.
7634 * libc/sys/linux/sys/unistd.h: Ditto.
7636 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7638 * libc/stdio64/Makefile.am: Remove missing files.
7639 * libc/stdio64/Makefile.in: Regenerated.
7641 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
7643 * libc/include/sys/config.h[__i386__][__linux__]: Define
7644 _LARGE64FILE_SOURCE to 1.
7645 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
7646 * libc/sys/linux/Makefile.in: Regenerated.
7647 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
7648 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
7649 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
7650 of <linux/resource.h>.
7651 * libc/sys/linux/getrlimit64.c: New file.
7652 * libc/sys/linux/setrlimit64.c: Ditto.
7654 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
7656 * libc/argz/argz_replace.c: Include buf_findstr.h.
7657 * libc/argz/buf_findstr.c: Likewise.
7658 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
7660 * libc/argz/envz_get.c: Likewise.
7661 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
7662 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
7663 * libc/stdlib/getsubopt.3: New file.
7664 * libc/stdlib/getsubopt.c: New file.
7665 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
7668 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
7670 * configure.host(stdio64_dir): New setting that is used to
7671 enable building of new stdio64 directory.
7672 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
7674 (stmp-stdio64,stdio64.texi): New targets to optionally add in
7675 stdio64 info to info files.
7676 * libc/Makefile.in: Regenerated.
7677 * libc/configure: Ditto.
7678 * libc/configure.in: Add configuration variables that are set
7679 when stdio64 is selected as subdir in configure.host.
7680 * libc/libc.texinfo: Add optional menu item for Stdio64, based
7681 on whether STDIO64 flag is set or not.
7682 * libc/sys.tex: Add optional stdio64 syscalls based on whether
7683 STDIO64 flag is set or not.
7684 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
7686 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
7687 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
7688 (__SL64): New file flag indicating file is opened via fopen64.
7689 * libc/include/sys/_types.h(_off64_t): Added.
7690 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
7691 * libc/include/sys/reent.h(struct __sFILE64): New file structure
7692 for 64-bit offset large file support.
7693 (__FILE): New intermediate type either set to struct __sFILE64 or
7694 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
7695 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
7696 * libc/reent/Makefile.in: Regenerated.
7697 * libc/reent/fstat64r.c: New file.
7698 * libc/reent/lseek64r.c: Ditto.
7699 * libc/reent/open64r.c: Ditto.
7700 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
7701 based on whether STDIO64 flag is set.
7702 * libc/stdio/stdio.tex: Add blank line.
7703 * libc/stdio64/Makefile.am: New file.
7704 * libc/stdio64/Makefile.in: Ditto.
7705 * libc/stdio64/fgetpos64.c: Ditto.
7706 * libc/stdio64/fopen64.: Ditto.
7707 * libc/stdio64/freopen64.c: Ditto.
7708 * libc/stdio64/fseeko64.c: Ditto.
7709 * libc/stdio64/fsetpos64.c: Ditto.
7710 * libc/stdio64/ftello64.c: Ditto.
7711 * libc/stdio64/local64.h: Ditto.
7712 * libc/stdio64/stdio64.c: Ditto.
7713 * libc/stdio64/stdio64.tex: Ditto.
7714 * libc/stdio64/tmpfile64.c: Ditto.
7715 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
7718 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
7720 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
7721 if LIBC_EXTRA_LIB is present.
7722 * libc/Makefile.in: Regenerated.
7723 * libc/libc.texinfo: Add blank line.
7724 * libc/argz/Makefile.am: Add doc support.
7725 * libc/search/Makefile.am: Ditto.
7726 * libc/argz/Makefile.in: Regenerated.
7727 * libc/search/Makefile.in: Ditto.
7728 * libc/misc/misc.tex: Add ffs function.
7729 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
7731 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7733 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
7734 definition that was removed in error.
7736 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7738 * libc/include/machine/ieeefp.h: Change to only define
7739 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
7740 __IEEE_LITTLE_ENDIAN must be defined for each platform).
7741 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
7742 remove redundant floating point definitions.
7744 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7746 * libc/sys/linux/callocr.c: Fix so code references
7749 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
7751 * libc/sys/linux/Makefile.am: Add new files.
7752 * libc/sys/linux/Makefile.in: Regenerated.
7753 * libc/sys/linux/bp-sym.h: Moved to include directory.
7754 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
7755 * libc/sys/linux/inode.c: Set _LIBC to 1.
7756 * libc/sys/linux/mq_close.c: Ditto.
7757 * libc/sys/linux/mq_getattr.c: Ditto.
7758 * libc/sys/linux/mq_open.c: Ditto.
7759 * libc/sys/linux/mq_receive.c: Ditto.
7760 * libc/sys/linux/mq_send.c: Ditto.
7761 * libc/sys/linux/mq_setattr.c: Ditto.
7762 * libc/sys/linux/mq_unlink.c: Ditto.
7763 * libc/sys/linux/calloc.c: New file.
7764 * libc/sys/linux/callocr.c: Ditto.
7765 * libc/sys/linux/cfreer.c: Ditto.
7766 * libc/sys/linux/config.h: Ditto.
7767 * libc/sys/linux/free.c: Ditto.
7768 * libc/sys/linux/freer.c: Ditto.
7769 * libc/sys/linux/msize.c: Ditto.
7770 * libc/sys/linux/msizer.c: Ditto.
7771 * libc/sys/linux/mstats.c: Ditto.
7772 * libc/sys/linux/mtrim.c: Ditto.
7773 * libc/sys/linux/mtrimr.c: Ditto.
7774 * libc/sys/linux/pvallocr.c: Ditto.
7775 * libc/sys/linux/realloc.c: Ditto.
7776 * libc/sys/linux/reallocr.c: Ditto.
7777 * libc/sys/linux/thread-m.h: Ditto.
7778 * libc/sys/linux/vallocr.c: Ditto.
7779 * libc/sys/linux/bp-checks.h: Ditto.
7780 * libc/sys/linux/libc-symbols.h: Ditto.
7781 * libc/sys/linux/libc-tsd.h: Ditto.
7782 * libc/sys/linux/libintl.h: Ditto.
7783 * libc/sys/linux/malign.c: Ditto.
7784 * libc/sys/linux/malignr.c: Ditto.
7785 * libc/sys/linux/mallinfor.c: Ditto.
7786 * libc/sys/linux/malloc.c: Ditto.
7787 * libc/sys/linux/mallocr.c: Ditto.
7788 * libc/sys/linux/malloptr.c: Ditto.
7789 * libc/sys/linux/mallstatsr.c: Ditto.
7790 * libc/sys/linux/mcheck.c: Ditto.
7791 * libc/sys/linux/mhooks.h: Ditto.
7792 * libc/sys/linux/include/bp-sym.h: Ditto.
7793 * libc/sys/linux/include/malloc.h: Ditto.
7794 * libc/sys/linux/include/mcheck.h: Ditto.
7795 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
7797 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
7798 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
7799 * libc/sys/linux/machine/i386/getpagesize.c: New file.
7800 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
7801 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7802 * libc/sys/linux/machine/i386/sysdep.h: New file.
7803 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
7804 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
7805 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
7807 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
7809 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
7810 instead of <asm/siginfo.h>.
7811 * libc/sys/linux/sys/signal.h: Change to include various linux
7812 <bits/xxx.h> header files, rather than <linux/signal.h> so as
7813 to work with multiple releases of glibc header files.
7815 2002-07-11 Chris Demetriou <cgd@broadcom.com>
7817 * testsuite/newlib.search/hsearchtest.c: New file to test
7819 * testsuite/newlib.search/hsearchtest.exp: Likewise.
7821 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
7823 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
7825 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
7827 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
7829 * libc/include/math.h (MAXFLOAT): Added.
7831 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
7833 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
7834 Make strcmp.S unconditional.
7835 * libc/machine/sh/Makefile.in: Regenerate.
7836 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
7837 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
7840 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7842 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
7843 define before including <sys/lock.h>.
7845 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7847 * libc/include/utime.h: Add include of <_ansi.h>.
7848 * libc/sys/linux/Makefile.am: Add utimes.c.
7849 * libc/sys/linux/Makefile.in: Regenerated.
7850 * libc/sys/linux/inode.c(__umask): New static routine.
7851 (umask): Written to use __umask and attempt to thread lock.
7852 (getumask): New function written to use __umask and thread lock.
7853 * libc/sys/linux/utimes.c: New file.
7854 * libc/sys/linux/sys/time.h: Fix utimes prototype.
7855 * libc/sys/linux/sys/utime.h: New file.
7857 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
7859 * libtool.m4: New file.
7860 * libc/sys/linux/process.c: Implement vfork in terms of fork,
7861 rather than as a syscall.
7863 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7865 * libc/include/stdio.h: Add new prototypes.
7866 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
7867 * libc/stdio/Makefile.in: Regenerated.
7868 * libc/stdio/fseek.c: Add fseeko documentation.
7869 * libc/stdio/ftell.c: Add ftello documentation.
7870 * libc/stdio/fseeko.c: New file.
7871 * libc/stdio/ftello.c: New file.
7873 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
7875 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
7876 * libc/stdio/Makefile.in: Regenerated.
7877 * libc/stdio/asprintf.c: New file.
7878 * libc/stdio/vasprintf.c: Ditto.
7879 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
7880 the buffer for asprintf support.
7881 * libc/stdio/sprintf.c: Add asprintf documentation.
7882 * libc/stdio/vfprintf.c: Add vasprintf documentation.
7883 * libc/include/stdio.h: Add new prototypes.
7885 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
7887 * libc/search/hcreate.c: Remove advertising clause from license.
7888 * libc/search/hcreate_r.c: Likewise.
7890 2002-07-02 Chris Demetriou <cgd@broadcom.com>
7892 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
7893 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
7894 Check that one of them is defined and error out if not.
7895 Add any platforms defined in <machine/ieeefp.h> that are missing.
7896 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
7897 (DB_LITTLE_ENDIAN): New defines.
7898 * libc/search/hash.c: Replace all incorrect checks for
7899 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
7900 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
7901 * libc/search/hash_page.c: Likewise.
7903 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
7905 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
7907 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
7909 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
7910 * libc/include/time.h: Same.
7911 * libc/include/string.h: Same.
7912 * libc/include/stdlib.h: Same.
7913 * libc/include/signal.h: Same.
7914 * libc/include/setjmp.h: Same.
7915 * libc/include/math.h: Same.
7916 * libc/include/locale.h: Same.
7917 * libc/include/ctype.h: Same.
7918 * libc/include/machine/setjmp.h: Same.
7919 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
7922 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7924 * libc/include/sys/_types.h: Define _ssize_t as int if int is
7925 32-bits, otherwise define it as long.
7926 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
7927 and define ssize_t as _ssize_t.
7928 * libc/reent/readr.c: Change return type to _ssize_t.
7929 * libc/reent/writer.c: Ditto.
7930 * libc/sys/linux/Makefile.am: Add aio.c.
7931 * libc/sys/linux/Makefile.in: Regenerated.
7932 * libc/sys/linux/aio.c: New file.
7933 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
7934 * libm/common/fdlibm.h: Undef __P before defining it.
7936 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
7938 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
7939 exponent_is_even_int variable. Handle case where x is
7940 negative, and y is an odd integer.
7941 * libm/mathfp/sf_pow.c (powf): Likewise.
7943 * libm/mathfp/er_lgamma.c: Remove __kernel references.
7944 * libm/mathfp/erf_lgamma.c: Likewise.
7945 * libm/mathfp/s_tgamma.c: Likewise.
7946 * libm/mathfp/sf_tgamma.c: Likewise.
7948 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
7950 * libc/sys/linux/Makefile.am: Add new clock routines.
7951 * libc/sys/linux/Makefile.in: Regenerated.
7952 * libc/sys/linux/clock_getres.c: New file.
7953 * libc/sys/linux/clock_gettime.c: Ditto.
7954 * libc/sys/linux/clock_settime.c: Ditto.
7955 * libc/sys/linux/hp-timing.h: Ditto.
7956 * libc/sys/linux/libc-internal.h: Ditto.
7957 * libc/sys/linux/sysconf.c: Fix typo.
7958 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
7959 * libc/sys/linux/machine/hp-timing.h: New file.
7960 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
7961 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7962 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
7963 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
7964 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
7965 * libc/sys/linux/sys/linux_time.h: New file.
7966 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
7967 replace with <sys/linux_time.h>.
7969 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
7971 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
7973 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7975 * libc/sys/linux/Makefile.am: Consolidate additional items under
7977 * libc/sys/linux/Makefile.in: Regenerated.
7979 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
7981 * libc/sys/linux/sethostname.c: New file.
7982 * libc/sys/linux/Makefile.am: Add sethostname.c support.
7983 * libc/sys/linux/Makefile.in: Regenerated.
7985 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7987 * libc/search/db_local.h: New file.
7988 * libc/include/db.h: Remove.
7989 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
7990 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
7992 * libc/search/hash_bigkey.c: Likewise.
7993 * libc/search/hash_buf.c: Likewise.
7994 * libc/search/hash_func.c: Likewise.
7995 * libc/search/hash_log2.c: Likewise.
7996 * libc/search/hash_page.c: Likewise.
7998 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
8000 * libc/machine/sh/strlen.S: New file.
8001 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
8002 * libc/machine/sh/Makefile.am: Regenerate.
8004 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8006 * libc/sys/linux/gethostname.c: Change name to __gethostname and
8007 add gethostname alias.
8009 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
8011 * libc/include/math.h: Remove <sys/types.h>.
8012 (__dmath): Use __ULong instead of __uint32_t.
8013 * libc/include/sys/reent.h: If long or int is not 32-bits,
8014 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
8015 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
8016 * libm/common/fdlibm.h: Ditto.
8018 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8020 * libc/include/ndbm.h: Remove.
8021 * libc/search/ndbm.c: Remove.
8023 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
8025 * libc/stdio/fseek.c (fseek): Fix braces.
8027 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
8029 * libc/time/strftime.c (strftime): Add %e format specifier.
8031 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
8033 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
8036 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
8038 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
8039 (BYTE_ORDER): Define as appropriate for the target.
8041 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8043 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
8045 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
8047 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8049 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
8050 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
8051 [HAVE_GETDATE](getdate_err): New error code.
8052 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
8053 * libc/stdio/Makefile.in: Regenerated.
8054 * libc/stdio/getdelim.c: New file.
8055 * libc/stdio/getline.c: Ditto.
8056 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
8057 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
8058 * libc/sys/linux/Makefile.in: Regenerated.
8059 * libc/sys/linux/getdate.c: New file.
8060 * libc/sys/linux/getdate_err.c: Ditto.
8061 * libc/sys/linux/ntp_gettime.c: Ditto.
8062 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
8063 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
8065 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8067 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
8068 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
8069 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
8070 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
8071 * libc/include/sys/param.h: Remove i386 case which is handled
8073 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
8074 definitions in case they are already defined.
8075 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
8076 _IEEE_LITTLE_ENDIAN flags.
8077 * libc/include/sys/reent.h: Change __uint32_t references to
8079 (_REENT_GETDATE_REENT_P): New macro.
8080 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
8081 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
8082 * libc/search/hash.h: Add default setting of BYTE_ORDER,
8083 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
8084 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
8085 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
8086 pid_t, off_t, loff_t, caddr_t, and daddr_t type
8087 definitions which are done by subsequent glibc headers.
8088 Add macro definitions to prevent subsequent header files from
8089 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
8090 intptr_t to after glibc definitions of types they are based on.
8092 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
8094 * libc/include/errno.h: Protect from multiple inclusion.
8096 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
8098 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8100 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
8102 * Makefile.am (LIB_OBJECTLISTS): Add
8103 libc/search/objectlist.awk.in.
8104 * libc/Makefile.am (SUBDIRS): Add search.
8105 (SUBLIBS): Add search/libsearch.la.
8106 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
8107 * libc/search: New directory.
8108 * libc/search/Makefile.am: New file.
8109 * libc/search/extern.h: New file.
8110 * libc/search/hash.c: New file.
8111 * libc/search/hash.h: New file.
8112 * libc/search/hash_bigkey.c: New file.
8113 * libc/search/hash_buf.c: New file.
8114 * libc/search/hash_func.c: New file.
8115 * libc/search/hash_log2.c: New file.
8116 * libc/search/hash_page.c: New file.
8117 * libc/search/hcreate.3: New file.
8118 * libc/search/hcreate.c: New file.
8119 * libc/search/hcreate_r.c: New file.
8120 * libc/search/ndbm.c: New file.
8121 * libc/search/page.h: New file.
8122 * libc/search/tdelete.c: New file.
8123 * libc/search/tdestroy.c: New file.
8124 * libc/search/tfind.c: New file.
8125 * libc/search/tsearch.3: New file.
8126 * libc/search/tsearch.c: New file.
8127 * libc/search/twalk.c: New file.
8128 * libc/include/db.h: New file.
8129 * libc/include/ndbm.h: New file.
8130 * libc/include/search.h: New file.
8131 * libc/include/sys/queue.h: New file.
8132 * libc/include/sys/cdefs.h: New file.
8133 * libc/include/sys/param.h
8134 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
8135 LITTLE_ENDIAN or BIG_ENDIAN.
8136 * libc/include/sys/errno.h (EFTYPE): New macro.
8137 * libc/search/bsearch.c: Move from libc/stdlib.
8138 * libc/search/qsort.c: Likewise.
8139 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
8141 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
8142 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
8144 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
8146 * libc/sys/linux/Makefile.am: Add support for message queue routines,
8147 ipc routines, and ftok.
8148 * libc/sys/linux/Makefile.in: Regenerated.
8149 * libc/sys/linux/ftok.c: New file.
8150 * libc/sys/linux/ipc.c: Ditto.
8151 * libc/sys/linux/mq_close.c: Ditto.
8152 * libc/sys/linux/mq_getattr.c: Ditto.
8153 * libc/sys/linux/mq_notify.c: Ditto.
8154 * libc/sys/linux/mq_open.c: Ditto.
8155 * libc/sys/linux/mq_receive.c: Ditto.
8156 * libc/sys/linux/mq_send.c: Ditto.
8157 * libc/sys/linux/mq_setattr.c: Ditto.
8158 * libc/sys/linux/mq_unlink.c: Ditto.
8159 * libc/sys/linux/mqlocal.h: Ditto.
8160 * libc/sys/linux/include/mqueue.h: Ditto.
8161 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
8164 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
8166 * libm/common/sf_lround.c (round): Change name to: (lround).
8167 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
8170 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8172 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
8174 (newlib_pass_fail): Change to compile and run only one file.
8175 * testsuite/newlib.locale/locale.exp: Use new
8176 newlib_pass_fail_all procedure.
8177 * testsuite/newlib.string/string.exp: Likewise.
8179 2002-06-18 Dave Brolley <brolley@redhat.com>
8181 From Catherine Moore, Michael Meissner, Richard Sandiford:
8182 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
8184 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
8185 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
8186 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
8187 * configure.host: Support frv-*-*.
8188 * libc/machine/frv/Makefile.am: New file.
8189 * libc/machine/frv/configure.in: New file.
8190 * libc/machine/frv/setjmp.S: New file.
8192 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8194 * libc/include/ctype.h: Remove isblank macro.
8196 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
8197 * libc/ctype/isblank.c: New file.
8198 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
8199 declaration. Add isblank macro.
8201 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
8203 * testsuite/newlib.stdlib/atexit.c: New file.
8204 * testsuite/newlib.stdlib/atexit.exp: Ditto.
8205 * testsuite/newlib.string/tstring.c: Change default start size
8206 to something more reasonable for embedded platforms.
8208 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8210 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
8212 * libc/argz: New directory.
8213 * libc/argz/*: New files.
8214 * libc/argz/argz_add.c: New file.
8215 * libc/argz/argz_add_sep.c: New file.
8216 * libc/argz/argz_append.c: New file.
8217 * libc/argz/argz_count.c: New file.
8218 * libc/argz/argz_create.c: New file.
8219 * libc/argz/argz_create_sep.c: New file.
8220 * libc/argz/argz_delete.c: New file.
8221 * libc/argz/argz_extract.c: New file.
8222 * libc/argz/argz_insert.c: New file.
8223 * libc/argz/argz_next.c: New file.
8224 * libc/argz/argz_replace.c: New file.
8225 * libc/argz/argz_stringify.c: New file.
8226 * libc/argz/buf_findstr.c: New file.
8227 * libc/argz/envz_add.c: New file.
8228 * libc/argz/envz_entry.c: New file.
8229 * libc/argz/envz_get.c: New file.
8230 * libc/argz/envz_merge.c: New file.
8231 * libc/argz/envz_remove.c: New file.
8232 * libc/argz/envz_strip.c: New file.
8233 * libc/include/argz.h: New file.
8234 * libc/include/envz.h: New file.
8235 * Makefile.am (LIBC_OBJECTLISTS): Add
8236 libc/argz/objectlist.awk.in.
8237 * libc/Makefile.am (SUBDIRS): Add argz.
8238 (SUBLIBS): Add argz/libargz.la.
8239 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
8240 * libc/include/errno.h: Add error_t typedef.
8242 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
8244 * libc/include/stdlib.h: Add _Exit prototype.
8245 * libc/stdlib/Makefile.am: Add _Exit.c support.
8246 * libc/stdlib/Makefile.in: Ditto.
8247 * libc/stdlib/_Exit.c: New file.
8249 2002-06-13 Stephen L. Moshier <steve@moshier.net>
8251 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
8252 x is close to -1.0 and y is very large to use ax (absolute value)
8254 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
8256 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
8258 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
8259 Fix clobbering bytes before destination if src and dst have same
8260 non-zero misalignment.
8262 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8263 Fixed bug in writing end of set region.
8265 2002-06-10 Christopher Faylor <cgf@redhat.com>
8267 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
8268 spawnve declaration.
8270 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
8272 * libm/common/s_fdim.c: New file.
8273 * libm/common/s_fma.c: Likewise.
8274 * libm/common/s_fmax.c: Likewise.
8275 * libm/common/s_fmin.c: Likewise.
8276 * libm/common/s_fpclassify.c: Likewise.
8277 * libm/common/s_lrint.c: Likewise.
8278 * libm/common/s_lround.c: Likewise.
8279 * libm/common/s_nearbyint.c: Likewise.
8280 * libm/common/s_remquo.c: Likewise.
8281 * libm/common/s_round.c: Likewise.
8282 * libm/common/s_scalbln.c: Likewise.
8283 * libm/common/s_signbit.c: Likewise.
8284 * libm/common/s_trunc.c: Likewise.
8285 * libm/common/sf_fdim.c: Likewise.
8286 * libm/common/sf_fma.c: Likewise.
8287 * libm/common/sf_fmax.c: Likewise.
8288 * libm/common/sf_fmin.c: Likewise.
8289 * libm/common/sf_lrint.c: Likewise.
8290 * libm/common/sf_lround.c: Likewise.
8291 * libm/common/sf_nearbyint.c: Likewise.
8292 * libm/common/sf_remquo.c: Likewise.
8293 * libm/common/sf_round.c: Likewise.
8294 * libm/common/sf_scalbln.c: Likewise.
8295 * libm/common/sf_trunc.c: Likewise.
8296 * libm/math/w_exp2.c: Likewise.
8297 * libm/math/w_tgamma.c: Likewise.
8298 * libm/math/wf_exp2.c: Likewise.
8299 * libm/math/wf_tgamma.c: Likewise.
8300 * libm/mathfp/s_exp2.c: Likewise.
8301 * libm/mathfp/s_tgamma.c: Likewise.
8302 * libm/mathfp/sf_exp2.c: Likewise.
8303 * libm/mathfp/sf_tgamma.c: Likewise.
8304 * libm/math/er_gamma.c: Fix return value.
8305 * libm/math/erf_gamma.c: Likewise.
8306 * libm/mathfp/er_gamma.c: Likewise.
8307 * libm/mathfp/erf_gamma.c: Likewise.
8308 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
8309 declarations and macros.
8310 Regenerated all Makefile.in, aclocal.m4 and configure files to
8311 use new libtool macros in top-level libtool.m4
8313 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
8315 * libc/include/string.h[__linux__]: Add strsignal prototype.
8316 * libc/include/sys/lock.h: New file with default locking support.
8317 * libc/include/sys/reent.h: Add signal buffer support for strsignal
8319 * libc/posix/Makefile.am: Add support for readdir_r.c.
8320 * libc/posix/Makefile.in: Regenerated.
8321 * libc/posix/closedir.c: Add locking support and hash table cleanup.
8322 * libc/posix/opendir.c: Add lock support.
8323 * libc/posix/readdir.c: Ditto.
8324 * libc/posix/rewinddir.c: Ditto.
8325 * libc/posix/scandir.c: Ditto.
8326 * libc/posix/seekdir.c: Ditto.
8327 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
8328 clean up leftover hash table entries.
8329 * libc/posix/readdir_r.c: New file.
8330 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
8331 * libc/sys/linux/Makefile.in: Regenerated.
8332 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
8333 * libc/sys/linux/sys/signal.h: Add psignal prototype.
8334 * libc/sys/linux/psignal.c: New file.
8335 * libc/sys/linux/strsignal.c: Ditto.
8337 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
8339 * libc/include/sys/types.h: Don't define dev_t when compiling for
8342 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
8344 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
8345 make siglist.inc dependent on sig.c instead of signal.c.
8346 * libc/sys/linux/Makefile.in: Regenerated.
8347 * libc/sys/linux/sig.c: Rename from signal.c and change code to
8348 use NSIG instead of _NSIG.
8349 * libc/sys/linux/sigaction.c: New file.
8350 * libc/sys/linux/signal.c: Changed to be linux signal() function
8351 so as to override regular newlib default signal.c.
8352 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
8353 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8354 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
8355 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
8356 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
8357 default linux sigset_t typedef by defining it equal to __sigset_t.
8358 * libc/unix/sigset.c: Add check so code isn't compiled on systems
8359 with a sigset_t that isn't implemented with a single int.
8361 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
8363 * libc/sys/linux/Makefile.am: Add support for new files.
8364 * libc/sys/linux/Makefile.in: Regenerated.
8365 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
8366 * libc/sys/linux/signal.c: Change to use real-time syscalls for
8367 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
8368 it is in a separate file now.
8369 * libc/sys/linux/machine/i386/Makefile.am
8370 * libc/sys/linux/machine/i386/Makefile.in
8371 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
8372 * libc/sys/linux/sigaction.c: New file.
8373 * libc/sys/linux/sigqueue.c: Ditto.
8374 * libc/sys/linux/sigwait.c: Ditto.
8375 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
8376 * libc/sys/linux/kernel_sigaction.h: Ditto.
8378 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
8380 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
8382 * libc/sys/linux/Makefile.in: Regenerated.
8383 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
8384 tcgetpgrp(), and tcsetpgrp() functions.
8385 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
8386 to get __MAX_BAUD rate.
8387 * libc/sys/linux/machine/i386/include/termios.h: New file.
8388 * libc/include/machine/termios.h: Ditto.
8389 * libc/sys/linux/cfspeed.c: Ditto.
8390 * libc/sys/linux/tcsendbrk.c: Ditto.
8392 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
8394 * libc/include/string.h: Add strnlen and strerror_r prototypes.
8395 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
8396 * libc/string/Makefile.in: Regenerated.
8397 * libc/string/strerror_r.c: New file.
8398 * libc/string/strnlen.c: New file.
8399 * libc/sys/linux/Makefile.am: Add rename.c.
8400 * libc/sys/linux/Makefile.in: Regenerated.
8401 * libc/sys/linux/rename.c: New file to override default rename.
8403 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8405 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
8406 * libc/sys/linux/sys/time.h: Add conversion macros.
8407 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
8408 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
8409 * libc/sys/linux/gethostname.c: New file.
8410 * libc/sys/linux/seteuid.c: New file.
8411 * libc/sys/linux/sysctl.c: New file.
8413 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8415 * libc/string/Makefile.am: Add support for strsep.c.
8416 * libc/string/Makefile.in: Regenerated.
8417 * libc/string/strsep.c: New file.
8418 * libc/string/strtok.c: Change to call __strtok_r service routine.
8419 * libc/string/strtok_r.c: Add __strtok_r routine which takes
8420 additional flag parameter regarding whether to skip leading delimeters.
8421 Change strtok_r to call __strtok_r.
8423 2002-05-23 Gareth Pearce <tilps@hotmail.com>
8425 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
8426 * libc/stdio/Makefile.in: Regenerated.
8427 * libc/stdio/setbuffer.c: New file.
8428 * libc/stdio/setlinebuf.c: New file.
8430 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8432 * libc/sys/linux/Makefile.am: Add resource.c.
8433 * libc/sys/linux/Makefile.in: Regenerated.
8434 * libc/sys/linux/resource.c: New file.
8435 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
8436 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
8437 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8438 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
8439 are now found in libc/sys/linux/resource.c.
8441 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
8443 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
8444 to use void * pointers and comply with Single Unix spec.
8445 * libc/string/bcmp.c: Change to use void * instead of char *.
8446 * libc/string/bcopy.c: Ditto.
8447 * libc/string/bzero.c: Ditto.
8449 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8451 * libc/sys/linux/shm_open.c: New file.
8452 * libc/sys/linux/shm_unlink.c: Ditto.
8453 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
8455 * libc/sys/linux/Makefile.in: Regenerated.
8456 * libc/sys/linux/sys/types.h: Add some additional checks to see
8457 if clock_t or time_t is already defined.
8459 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
8461 * Makefile.am: Don't pass $toollibdir down directly in
8462 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
8463 Pass it under the name: top_toollibdir.
8464 * Makefile.in: Regenerated.
8466 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8468 * libc/include/sys/types.h: Revert previous patch.
8470 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
8472 * libc/include/sys/types.h: Include cygwin/types.h always under
8473 Cygwin, not only if _POSIX_THREADS is defined.
8475 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
8477 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
8479 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
8481 * Makefile.am: Copy and install headers from sys/machine/include
8482 directory. Also pass $toollibdir to lower-level directories.
8483 * Makefile.in: Regenerated.
8484 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
8485 stderr to use _REENT macro instead of _impure_ptr directly.
8486 * libc/include/sys/config.h[__i386__][__linux__]: Define
8488 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
8489 call to __getreent() function if !__SINGLE_THREAD__ and
8490 __DYNAMIC_REENT__ is set.
8491 * libc/reent/Makefile.am: Add support for getreent.c.
8492 * libc/reent/Makefile.in: Regenerated.
8493 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
8494 * libc/sys/linux/Makefile.am: Add support for new files.
8495 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
8496 * libc/sys/linux/Makefile.in: Regenerated.
8497 * libc/sys/linux/configure: Ditto.
8498 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
8499 __close, __read, __write, __poll, __open, __lseek, __fcntl from
8500 their __libc_ counterparts.
8501 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
8502 and weak-alias to regular names.
8503 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
8504 to pread64 and __pread64.
8505 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
8506 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
8507 weak-alias to pwrite64.
8508 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
8509 __libc_sched_getscheduler, __libc_sched_get_priority_max,
8510 __libc_sched_get_priority_min, and __libc_sched_setschedule to
8511 name with __ instead of __libc_.
8512 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
8513 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
8514 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
8515 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
8517 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
8518 __libc_send to __send.
8519 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
8521 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
8522 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
8523 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
8524 type and typedef __jmp_buf to jmp_buf.
8525 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
8527 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
8528 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
8530 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
8531 prefix for function macros and then use weak_alias() to regular names.
8532 * libc/sys/linux/machine/i386/syscall.h: Ditto.
8533 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
8534 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
8535 to be flockfile() and funlockfile() respectively.
8536 * libc/sys/linux/sys/types.h
8537 * libc/reent/getreent.c: New file.
8538 * libc/sys/linux/flockfile.c: Ditto.
8539 * libc/sys/linux/funlockfile.c: Ditto.
8540 * libc/sys/linux/getreent.c: Ditto.
8541 * libc/sys/linux/pread.c: Ditto.
8542 * libc/sys/linux/pwrite.c: Ditto.
8543 * libc/sys/linux/raise.c: Ditto.
8544 * libc/sys/linux/system.c: Ditto.
8545 * libc/sys/linux/tcdrain.c: Ditto.
8546 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
8547 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
8548 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
8549 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
8550 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
8552 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
8554 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
8555 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
8556 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
8557 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
8559 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
8561 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
8562 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
8565 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8567 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
8568 options when testing natively on i[3456]86-*-linux.
8570 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
8571 only one pass or fail per test file. Trim \r's from output
8572 values received from test programs. Remove support for named
8574 * testsuite/newlib.locale/UTF-8.exp: Update to support new
8575 newlib_check_output behaviour.
8576 * testsuite/newlib.locale/UTF-8.c: Likewise.
8578 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
8580 * libc/include/stdlib.h: Add on_exit prototype.
8581 * libc/include/sys/reent.h (struct _atexit): Add argument array
8582 and bits to track type of exit routine to support both on_exit
8584 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
8585 by default and change the setting of the atexit structure.
8586 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
8587 * libc/stdlib/on_exit.c: New file.
8588 * libc/stdlib/Makefile.am: Add support for on_exit.
8589 * libc/stdlib/Makefile.in: Regenerated.
8590 * libc/stdlib/atexit.c: Change to initialize types field.
8591 * libc/stdlib/exit.c: Change to look at types field for each
8592 exit routine and either call an atexit-style or an on_exit-style
8593 routine accordingly.
8595 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8597 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
8598 allow v specifier with n or L specifiers. For vector c format,
8599 move tmp declaration to the top.
8601 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
8603 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
8604 the original format specifier when looping for vectors to compensate
8605 for any changes made in vector %g format processing.
8606 Also add syntax checking for various invalid scenarios
8607 involving vector format extensions.
8608 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
8609 return code setting for vector formats. Also treat vector
8610 separator mismatch as a match error instead of an input error.
8611 Perform some syntax checking for vector formats.
8613 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8615 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
8616 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
8617 * libc/string/strlcat.c: New file.
8618 * libc/string/strlcpy.c: New file.
8620 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
8622 * libc/string/strchr.c: Fix comment typo.
8624 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
8626 * acinclude.m4: Add support for --enable-newlib-multithread.
8627 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
8628 --enable-newlib-multithread=no.
8630 * libc/stdio/getc_u.c: New file.
8631 * libc/stdio/getchar_u.c: New file.
8632 * libc/stdio/putc_u.c: New file.
8633 * libc/stdio/putchar_u.c: New file.
8634 * libc/include/stdio.h: Add declarations for getc_unlocked,
8635 getchar_unlocked, putc_unlocked and putchar_unlocked.
8636 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
8637 (CHEWOUT_FILES): Add new files' .def's.
8638 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
8640 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
8642 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
8643 Also handle as single quad word when destination ends at last
8644 byte of first quad word. Fix byte selection in single quad code.
8646 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
8648 * libc/include/sys/stdio.h: New file.
8649 * libc/sys/linux/sys/stdio.h: New file.
8650 * libc/include/stdio.h: Add declarations for flockfile,
8651 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
8652 * libc/stdio/clearerr.c: Add file locking.
8653 * libc/stdio/fclose.c: Likewise.
8654 * libc/stdio/feof.c: Likewise.
8655 * libc/stdio/ferror.c: Likewise.
8656 * libc/stdio/fflush.c: Likewise.
8657 * libc/stdio/fgetc.c: Likewise.
8658 * libc/stdio/fgetpos.c: Likewise.
8659 * libc/stdio/fgets.c: Likewise.
8660 * libc/stdio/fileno.c: Likewise.
8661 * libc/stdio/fputc.c: Likewise.
8662 * libc/stdio/fputs.c: Likewise.
8663 * libc/stdio/fread.c: Likewise.
8664 * libc/stdio/freopen.c: Likewise.
8665 * libc/stdio/fseek.c: Likewise.
8666 * libc/stdio/ftell.c: Likewise.
8667 * libc/stdio/fwrite.c: Likewise.
8668 * libc/stdio/getc.c: Likewise.
8669 * libc/stdio/putc.c: Likewise.
8670 * libc/stdio/setvbuf.c: Likewise.
8671 * libc/stdio/ungetc.c: Likewise.
8672 * libc/stdio/vfprintf.c: Likewise.
8674 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8676 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
8677 support for 'p' format. Fix code to print bytes for vector
8678 integer formats that do not specify 'h' or 'l'.
8679 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
8680 for 'p' specifier. Fix code to scan 16 bytes for vector integer
8681 formats that do not specify 'h' or 'l'.
8683 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
8685 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
8687 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
8688 (_sbrk): Add cast of return value.
8690 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8692 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
8693 (_REENT_L64A_BUF): New macro for accessing area.
8694 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
8695 * libc/stdlib/Makefile.in: Regenerated.
8696 * libc/stdlib/a64l.c: New file.
8697 * libc/stdlib/l64a.c: New file.
8699 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
8701 * libc/unix/pread.c: Fix typo for _pread_r.
8702 * libc/unix/pwrite.c: Fix type for _pwrite_r.
8703 * libc/sys/linux/pread64.c: Fix typo for read syscall.
8704 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
8706 2002-05-03 Christopher Faylor <cgf@redhat.com>
8708 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
8710 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
8712 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
8714 2002-05-01 Christopher Faylor <cgf@redhat.com>
8716 * utmp.h: Define more UNIX constants.
8718 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
8720 * Makefile.am: Add support for checking multilibs.
8722 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
8723 (SUBDEFS): Add LIBC_EXTRA_DEF.
8724 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
8725 (LIBC_EXTRA_DEF): Likewise.
8726 (extra_dir): Likewise.
8727 * libc/machine/xscale/machine: New directory.
8728 * libc/machine/xscale/machine/profile.h: New file.
8730 * Makefile.am (site.exp): Remove newlib_cflags. Add
8732 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
8733 * testsuite/lib/flags.exp: New file.
8734 * testsuite/lib/newlib.exp: Load flags.exp.
8735 (newlib_target_compile): Remove libgloss directory references.
8736 (newlib_init): Remove newlib_cflags references.
8738 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
8740 * testsuite/lib/newlib.exp (newlib_target_compile): Change
8741 method of finding libgloss_target_dir.
8743 * Makefile.am (site.exp): Change host_alias, host_triplet,
8744 target_alias, target_triplet to refer to gcc's host and target
8745 variables (newlib's build and host variables).
8746 * testsuite/lib/newlib.exp (newlib_init): Change build
8747 references to host references, host references to target
8748 references to reflect Makefile.am changes.
8749 (newlib_target_compile): Likewise.
8750 (newlib_finish): Likewise.
8752 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8754 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
8756 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
8758 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
8759 (_system): New function. Ditto.
8760 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
8761 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
8764 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
8766 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
8767 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
8768 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
8769 * libc/sys/linux/Makefile.in: Regenerated.
8770 * libc/unix/Makefile.in: Ditto.
8771 * libc/sys/linux/pread64.c: New file.
8772 * libc/sys/linux/pwrite64.c: Ditto.
8773 * libc/unix/pread.c: Ditto.
8774 * libc/unix/pwrite.c: Ditto.
8776 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8778 * libc/sys/linux/Makefile.am: Add io64.c.
8779 * libc/sys/linux/Makefile.in: Regenerated.
8780 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
8781 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
8782 * libc/sys/linux/io64.c: New file.
8784 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
8786 * configure.in (CC_FOR_NEWLIB): New variable that
8787 bases on $(CC) and adds targ-include and libc/include as
8788 -isystem directives if they are not already part of $(CC).
8789 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
8791 * configure: Regenerated.
8792 * Makefile.in: Ditto.
8794 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
8796 * libc/sys/linux/Makefile.am: Add support for sched.c.
8797 * libc/sys/linux/Makefile.in: Regenerated.
8798 * libc/sys/linux/sched.c: New file.
8799 * libc/sys/linux/sys/types.h: Add struct timespec.
8801 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
8803 * configure.in (CC_FOR_BUILD): Set to gcc whether
8804 cross-compiling or not.
8805 (CC): Add -isystem's for targ-include and libc/include when they
8806 do not already appear in CC.
8808 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8810 * Makefile.am (check-DEJAGNU): New target.
8811 (site.exp): Likewise.
8812 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
8813 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
8814 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
8815 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
8816 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
8817 * testsuite: New directory.
8818 * testsuite/config: Likewise.
8819 * testsuite/lib: Likewise.
8820 * testsuite/newlib.locale: Likewise.
8821 * testsuite/newlib.string: Likewise.
8822 * testsuite/config/default.exp: New file.
8823 * testsuite/lib/checkoutput.exp: New file.
8824 * testsuite/lib/newlib.exp: New file.
8825 * testsuite/lib/passfail.exp: New file.
8826 * testsuite/newlib.locale/UTF-8.c: New file.
8827 * testsuite/newlib.locale/UTF-8.exp: New file.
8828 * testsuite/newlib.locale/locale.exp: New file.
8829 * testsuite/newlib.string/string.exp: New file.
8830 * testsuite/newlib.string/tstring.c: New file.
8832 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
8834 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
8835 * libc/sys/linux/Makefile.am: Add support for mmap.c.
8836 * libc/sys/linux/Makefile.in: Regenerated.
8837 * libc/sys/linux/mmap.c: New file.
8838 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
8839 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
8841 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
8843 * acinclude.m4 (newlib_cflags): Remove include directories that
8844 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
8846 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
8848 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
8849 * libc/machine/xscale/memcmp.c: Ditto.
8850 * libc/machine/xscale/memcpy.c: Ditto.
8851 * libc/machine/xscale/memmove.c: Ditto.
8852 * libc/machine/xscale/memset.c: Ditto.
8853 * libc/machine/xscale/strchr.c: Ditto.
8854 * libc/machine/xscale/strcmp.c: Ditto.
8855 * libc/machine/xscale/strcpy.c: Ditto.
8856 * libc/machine/xscale/strlen.c: Ditto.
8858 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
8860 * libc/include/sys/config.h: Remove include of <limits.h>.
8861 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
8862 define INT_MAX and LONG_MAX. Use them in tests.
8864 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
8866 * configure.host: Add support for powerpc-eabialtivec*.
8867 * libc/include/malloc.h: Add include of <machine/malloc.h>.
8868 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
8869 * libc/include/machine/malloc.h: New file.
8870 * libc/include/machine/stdlib.h: Ditto.
8871 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
8872 * libc/machine/powerpc/Makefile.am: Add conditional objects and
8873 sources based on configuration.
8874 * libc/machine/powerpc/Makefile.in: Regenerated.
8875 * libc/machine/powerpc/configure: Ditto.
8876 * libc/machine/powerpc/configure.in: Add check for
8877 powerpc-eabialtivec* in which case add in additional source files.
8878 * libc/machine/powerpc/setjmp.S: Add altivec support.
8879 * libc/machine/powerpc/vec_calloc.c: New file.
8880 * libc/machine/powerpc/vec_free.c: Ditto.
8881 * libc/machine/powerpc/vec_malloc.c: Ditto.
8882 * libc/machine/powerpc/vec_mallocr.c: Ditto.
8883 * libc/machine/powerpc/vec_realloc.c: Ditto.
8884 * libc/machine/powerpc/machine/malloc.h: Ditto.
8885 * libc/machine/powerpc/machine/stdlib.h: Ditto.
8886 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
8887 with added altivec format specifiers.
8888 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
8889 added altivec format specifiers.
8891 2002-04-19 Joel Sherrill <joel@OARcorp.com>
8893 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
8894 while autoconf is trying to link main(){}.
8896 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8898 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
8899 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
8901 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8903 * libc/time/time.tex: Add tzset info.
8905 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
8907 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
8908 (strptime): Moved prototype to be within !__STRICT_ANSI__.
8909 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
8910 (tzname): Defined for all platforms.
8911 (daylight, timezone): Defined only for CYGWIN.
8912 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
8914 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
8915 environment variable is set.
8916 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
8918 * libc/time/Makefile.in: Regenerated.
8919 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
8920 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
8921 * libc/time/lcltime_r.c (lcltime_r): Ditto.
8922 * libc/time/local.h: New local header file.
8923 * libc/time/mktime.c (mktime): Add timezone support.
8924 * libc/time/mktm_r.c: New file which is the common engine
8925 for gmtime_r and lcltime_r. This code has timezone support.
8926 * libc/time/strftime.c (strftime): Add %Z timezone support.
8927 * libc/time/tzlock.c: New file containing timezone lock stubs.
8928 * libc/time/tzset.c: New file containing tzset() routine.
8929 * libc/time/tzset_r.c: New file containing _tzset_r and
8930 internal routine for calculating timezone changes for specified year.
8932 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8934 * configure.in (CRT0_DIR): Set to libc/.
8935 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
8936 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
8937 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
8938 $(CRT1_DIR)/$(CRT1).
8939 * libc/machine/xstormy16/Makefile.in: Regenerated.
8940 * libc/machine/xstormy16/aclocal.m4: Regenerated.
8941 * libc/machine/xstormy16/configure: Regenerated.
8943 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
8945 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
8946 fails, don't bail out, and try to correct next time.
8948 * libc/include/sys/config.h: Include limits.h.
8950 2002-04-12 Eric Norum <eric.norum@usask.com>
8952 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
8953 routine to allow autoconf to determine that building executables
8955 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
8956 (rtems_gxx_mutex_once): Ditto.
8958 2002-04-09 Tom Rix <trix@redhat.com>
8960 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
8962 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8964 * libc/include/time.h: Fix strptime declaration.
8965 * libc/time/Makefile.am: Add strptime.c.
8966 * libc/time/Makefile.in: Regenerated.
8967 * libc/time/strptime.c: New file.
8969 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
8971 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
8972 siglongjmp prototype, and sigsetjmp macro definition.
8973 * libc/sys/linux/siglongjmp.c: New file.
8974 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
8975 * libc/sys/linux/Makefile.in: Regenerated.
8977 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
8979 * Makefile.am: Add support for installing crt1.o if one exists.
8980 * configure.host: Specify crt1.o for linux.
8981 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
8982 * Makefile.in: Regenerated.
8984 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
8985 Added for non-Cygwin, non-RTEMS configurations.
8986 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
8987 * libc/sys/linux/Makefile.in: Regenerated.
8988 * libc/sys/linux/crt1.c: New empty file to override one defaulted
8989 by gcc. This fixes problem with reconfiguring linux newlib build.
8990 * libc/sys/linux/sysconf.c: New file.
8992 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
8994 * configure.host: Add support for machine subdirectory of
8996 * configure.in: Add check for sys machine subdirectory.
8997 * Makefile.am: Ditto.
8998 * configure: Regenerated.
8999 * Makefile.in: Ditto.
9000 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9001 * libc/sys/linux/sys/syscall.h: Ditto.
9002 * libc/sys/linux/sleep.c: New file.
9003 * libc/sys/linux/socket.c: Ditto.
9004 * libc/sys/linux/sockops.h: Ditto.
9005 * libc/sys/linux/stack.c: Ditto.
9006 * libc/sys/linux/usleep.c: Ditto.
9007 * libc/sys/linux/machine/Makefile.am: Ditto.
9008 * libc/sys/linux/machine/Makefile.in: Ditto.
9009 * libc/sys/linux/machine/aclocal.m4: Ditto.
9010 * libc/sys/linux/machine/configure: Ditto.
9011 * libc/sys/linux/machine/configure.in: Ditto.
9012 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9013 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9014 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9015 * libc/sys/linux/machine/i386/configure: Ditto.
9016 * libc/sys/linux/machine/i386/configure.in: Ditto.
9017 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9018 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9019 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9020 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9021 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9022 * libc/sys/linux/sys/select.h: Ditto.
9023 * libc/sys/linux/configure.in: Add support for machine directory.
9024 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9025 * libc/sys/linux/Makefile.in: Regenerated.
9026 * libc/sys/linux/configure: Ditto.
9027 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9028 * libc/sys/linux/inode.c: Ditto.
9029 * libc/sys/linux/linux.c: Ditto.
9030 * libc/sys/linux/process.c: Ditto.
9031 * libc/sys/linux/systat.c: Ditto.
9032 * libc/sys/linux/time.c: Ditto.
9033 * libc/sys/linux/wait.c: Ditto.
9034 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9035 * libc/sys/linux/io.c: Change header plus add readv/writev.
9036 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9037 use __sigsuspend syscall.
9038 * libc/sys/linux/select.c: Change header plus change select to
9039 use _newselect syscall.
9040 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9041 used by glibc header files.
9042 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9045 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9047 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9048 initializing a struct _reent that has been dynamically allocated.
9049 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9050 _REENT_SMALL and does nothing otherwise.
9051 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9052 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9053 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9054 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9055 [_REENT_SMALL](struct _misc_reent): New structure containing
9056 miscellaneous reentrant areas needed by newlib.
9057 [_REENT_SMALL](struct _reent): Add _misc pointer.
9058 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9059 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9060 and _REENT_STRTOK_LAST macros.
9061 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9062 and _REENT_MBLEN_STATE macros.
9063 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9064 and _REENT_MBTOWC_STATE macros.
9065 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9066 and _REENT_WCTOMB_STATE macros.
9068 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9070 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9072 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9074 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9076 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9078 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9079 Store high part of leading bytes too.
9081 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9083 * libm/math/ef_hypot.c: Increase scale factor to 68.
9085 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9087 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9090 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9092 * libc/sys/go32/access.c: Change license to relaxed license
9093 used in identical file throughout newlib/libgloss.
9095 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9097 * libc/sys/arm/access.c: New file.
9098 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9099 * libc/sys/arm/Makefile.in: Regenerate.
9100 * libc/sys/arm/syscalls.c (_stat): New function.
9102 2002-03-11 Michael Meissner <meissner@redhat.com>
9104 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9105 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9106 * libc/machine/mips/Makefile.in: Regenerate.
9107 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9108 * libc/machine/mips/memset.c: Dito.
9109 * libc/machine/mips/strcmp.c: Dito.
9110 * libc/machine/mips/strlen.c: Dito.
9111 * libc/machine/mips/strncmp.c: Dito.
9113 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9115 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9116 object so it works for shared library or statici library.
9117 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
9119 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
9120 (strptime): Moved prototype to be within !__STRICT_ANSI__.
9121 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
9122 (tzname): Defined for all platforms.
9123 (daylight, timezone): Defined only for CYGWIN.
9124 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
9126 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
9127 environment variable is set.
9128 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
9130 * libc/time/Makefile.in: Regenerated.
9131 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
9132 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
9133 * libc/time/lcltime_r.c (lcltime_r): Ditto.
9134 * libc/time/local.h: New local header file.
9135 * libc/time/mktime.c (mktime): Add timezone support.
9136 * libc/time/mktm_r.c: New file which is the common engine
9137 for gmtime_r and lcltime_r. This code has timezone support.
9138 * libc/time/strftime.c (strftime): Add %Z timezone support.
9139 * libc/time/tzlock.c: New file containing timezone lock stubs.
9140 * libc/time/tzset.c: New file containing tzset() routine.
9141 * libc/time/tzset_r.c: New file containing _tzset_r and
9142 internal routine for calculating timezone changes for specified year.
9144 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9146 * configure.in (CRT0_DIR): Set to libc/.
9147 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
9148 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
9149 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
9150 $(CRT1_DIR)/$(CRT1).
9151 * libc/machine/xstormy16/Makefile.in: Regenerated.
9152 * libc/machine/xstormy16/aclocal.m4: Regenerated.
9153 * libc/machine/xstormy16/configure: Regenerated.
9155 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
9157 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
9158 fails, don't bail out, and try to correct next time.
9160 * libc/include/sys/config.h: Include limits.h.
9162 2002-04-12 Eric Norum <eric.norum@usask.com>
9164 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
9165 routine to allow autoconf to determine that building executables
9167 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
9168 (rtems_gxx_mutex_once): Ditto.
9170 2002-04-09 Tom Rix <trix@redhat.com>
9172 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
9174 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9176 * libc/include/time.h: Fix strptime declaration.
9177 * libc/time/Makefile.am: Add strptime.c.
9178 * libc/time/Makefile.in: Regenerated.
9179 * libc/time/strptime.c: New file.
9181 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
9183 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
9184 siglongjmp prototype, and sigsetjmp macro definition.
9185 * libc/sys/linux/siglongjmp.c: New file.
9186 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
9187 * libc/sys/linux/Makefile.in: Regenerated.
9189 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
9191 * Makefile.am: Add support for installing crt1.o if one exists.
9192 * configure.host: Specify crt1.o for linux.
9193 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
9194 * Makefile.in: Regenerated.
9196 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
9197 Added for non-Cygwin, non-RTEMS configurations.
9198 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
9199 * libc/sys/linux/Makefile.in: Regenerated.
9200 * libc/sys/linux/crt1.c: New empty file to override one defaulted
9201 by gcc. This fixes problem with reconfiguring linux newlib build.
9202 * libc/sys/linux/sysconf.c: New file.
9204 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
9206 * configure.host: Add support for machine subdirectory of
9208 * configure.in: Add check for sys machine subdirectory.
9209 * Makefile.am: Ditto.
9210 * configure: Regenerated.
9211 * Makefile.in: Ditto.
9212 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
9213 * libc/sys/linux/sys/syscall.h: Ditto.
9214 * libc/sys/linux/sleep.c: New file.
9215 * libc/sys/linux/socket.c: Ditto.
9216 * libc/sys/linux/sockops.h: Ditto.
9217 * libc/sys/linux/stack.c: Ditto.
9218 * libc/sys/linux/usleep.c: Ditto.
9219 * libc/sys/linux/machine/Makefile.am: Ditto.
9220 * libc/sys/linux/machine/Makefile.in: Ditto.
9221 * libc/sys/linux/machine/aclocal.m4: Ditto.
9222 * libc/sys/linux/machine/configure: Ditto.
9223 * libc/sys/linux/machine/configure.in: Ditto.
9224 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
9225 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
9226 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
9227 * libc/sys/linux/machine/i386/configure: Ditto.
9228 * libc/sys/linux/machine/i386/configure.in: Ditto.
9229 * libc/sys/linux/machine/i386/crt0.c: Ditto.
9230 * libc/sys/linux/machine/i386/sigset.c: Ditto.
9231 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
9232 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
9233 * libc/sys/linux/machine/i386/syscall.h: Ditto.
9234 * libc/sys/linux/sys/select.h: Ditto.
9235 * libc/sys/linux/configure.in: Add support for machine directory.
9236 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
9237 * libc/sys/linux/Makefile.in: Regenerated.
9238 * libc/sys/linux/configure: Ditto.
9239 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
9240 * libc/sys/linux/inode.c: Ditto.
9241 * libc/sys/linux/linux.c: Ditto.
9242 * libc/sys/linux/process.c: Ditto.
9243 * libc/sys/linux/systat.c: Ditto.
9244 * libc/sys/linux/time.c: Ditto.
9245 * libc/sys/linux/wait.c: Ditto.
9246 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
9247 * libc/sys/linux/io.c: Change header plus add readv/writev.
9248 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
9249 use __sigsuspend syscall.
9250 * libc/sys/linux/select.c: Change header plus change select to
9251 use _newselect syscall.
9252 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
9253 used by glibc header files.
9254 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
9257 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
9259 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
9260 initializing a struct _reent that has been dynamically allocated.
9261 (_REENT_CHECK_MISC): New macro that checks _misc struct for
9262 _REENT_SMALL and does nothing otherwise.
9263 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
9264 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
9265 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
9266 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
9267 [_REENT_SMALL](struct _misc_reent): New structure containing
9268 miscellaneous reentrant areas needed by newlib.
9269 [_REENT_SMALL](struct _reent): Add _misc pointer.
9270 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
9271 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
9272 and _REENT_STRTOK_LAST macros.
9273 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
9274 and _REENT_MBLEN_STATE macros.
9275 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
9276 and _REENT_MBTOWC_STATE macros.
9277 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
9278 and _REENT_WCTOMB_STATE macros.
9280 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
9282 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
9284 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
9286 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
9288 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
9290 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
9291 Store high part of leading bytes too.
9293 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
9295 * libm/math/ef_hypot.c: Increase scale factor to 68.
9297 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
9299 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
9302 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
9304 * libc/sys/go32/access.c: Change license to relaxed license
9305 used in identical file throughout newlib/libgloss.
9307 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
9309 * libc/sys/arm/access.c: New file.
9310 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
9311 * libc/sys/arm/Makefile.in: Regenerate.
9312 * libc/sys/arm/syscalls.c (_stat): New function.
9314 2002-03-11 Michael Meissner <meissner@redhat.com>
9316 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
9317 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
9318 * libc/machine/mips/Makefile.in: Regenerate.
9319 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
9320 * libc/machine/mips/memset.c: Dito.
9321 * libc/machine/mips/strcmp.c: Dito.
9322 * libc/machine/mips/strlen.c: Dito.
9323 * libc/machine/mips/strncmp.c: Dito.
9325 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
9327 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
9328 object so it works for shared library or statici library.
9329 * libc/machine/i386/Makefile.in: Regenerated.
9331 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
9333 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
9334 Add memcpy.S, memset.S and strcpy.S.
9335 * libc/machine/sh/Makefile.in: Regenerate.
9336 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
9337 (SHHI, SHLO): Define.
9338 * libc/machine/sh/memset.S: Add code for SH5.
9339 * libc/machine/sh/memset.S: Likewise.
9340 * libc/machine/sh/strcpy.S: Likewise.
9342 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
9344 * configure.host: Add check for --disable-newlib-io-float
9345 configuration option and add -DNO_FLOATING_POINT to newlib cflags
9347 * acinclude.m4: Added --disable-newlib-io-float option.
9348 * aclocal.m4: Regenerated.
9350 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9351 * libc/*/aclocal.m4 libc/*/configure
9352 * libm/*/aclocal.m4 libm/*/configure: Ditto.
9353 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
9354 if NO_FLOATING_POINT flag is not defined.
9356 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
9358 * libc/include/sys/config.h: Add __extension__ in front of
9359 long long references.
9361 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9363 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
9366 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
9368 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
9371 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
9373 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
9374 clobbered registers.
9376 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9378 * configure.host (newlib_cflags): When host is in m68* add
9381 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
9383 * libc/include/sys/config.h: Add definitions for
9384 __int16_t, __uint16_t, __int64_t, and __uint64_t.
9386 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
9388 * libc/sys/mmixware/link.c: New.
9389 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
9391 * libc/sys/mmixware/times.c (_times): Renamed from times.
9392 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
9393 properly by reading previous contents, not through BinaryReadWrite.
9394 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
9395 * libc/sys/mmixware/Makefile.in: Regenerate.
9397 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
9399 * libc/include/grp.h: Don't declare group functions when compiling
9402 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
9404 * libc/include/grp.h: Include Cygwin specific header.
9405 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
9406 when compiling for Cygwin.
9407 * libc/include/sys/types.h: Don't define off_t, uid_t
9408 and gid_t when compiling for Cygwin.
9410 2002-02-08 matthew green <mrg@redhat.com>
9412 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
9413 _REENT_EMERGENCY_SIZE, not sizeof(char *).
9415 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
9417 Contribute sh64-elf.
9418 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
9419 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
9421 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
9422 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
9424 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
9425 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
9426 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
9427 * libc/machine/sh/configure.in: Rework conditionals.
9428 * libc/machine/sh/Makefile.am: Likewise.
9429 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
9430 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
9431 * configure.host: Match `sh*'.
9432 * libc/include/machine/setjmp.h: Define for SH5.
9433 * libc/machine/sh/configure.in: Detect SH5.
9434 * libc/machine/sh/configure: Rebuilt.
9435 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
9436 * libc/machine/sh/Makefile.in: Rebuilt.
9437 * libc/machine/sh/asm.h: Adjust for SH5.
9438 * libc/machine/sh/setjmp.S: Implement in SHmedia.
9439 * libc/sys/sh/crt0.S: Likewise.
9440 * libc/sys/sh/trap.S: Likewise.
9442 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
9444 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
9445 (mach_add_obj): Conditionally set to setjmp.o or nothing.
9446 (LIB_SOURCES): Remove $(mach_add_src).
9447 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
9448 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
9449 * libc/machine/i386/Makefile.in: Regenerate.
9451 2002-02-05 Manik Raina <manik@cisco.com>
9453 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
9454 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
9455 s, p, k, and outstr.
9456 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
9458 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
9460 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
9461 _REENT_CHECK_EMERGENCY macro.
9463 2002-02-03 matthew green <mrg@redhat.com>
9465 * libc/reent/signgam.c (__signgam): Fix error in previous.
9467 2002-02-02 matthew green <mrg@redhat.com>
9469 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
9471 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
9472 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
9473 * libc/include/sys/reent.h (struct _reent): Completely new version
9475 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
9476 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
9477 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
9478 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
9479 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
9480 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
9481 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
9482 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
9483 (_REENT_EMERGENCY): Likewise.
9485 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
9486 the start of the real __sFILE, used for stdin, stdout and stderr until
9487 they are setup properly.
9488 (struct __sFILE): Move location of _data in _REENT_SMALL case.
9489 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
9490 allocated stdin, stdout and stderr.
9491 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
9492 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
9493 * libc/stdio/perror.c (_perror_r): Likewise.
9494 * libc/stdio/printf.c (printf, _printf_r): Likewise.
9495 * libc/stdio/putchar.c (_putchar_r): Likewise.
9496 * libc/stdio/puts.c (_puts_r): Likewise.
9497 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
9498 * libc/stdio/vprintf.c (vprintf): Likewise.
9499 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
9501 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
9503 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
9504 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
9506 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
9507 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
9509 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
9511 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
9512 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
9513 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
9514 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
9515 * libc/stdlib/rand48.c (__dorand48): Likewise.
9516 * libc/stdlib/seed48.c (_seed48_r): Likewise.
9517 * libc/stdlib/srand48.c (_srand48_r): Likewise.
9518 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
9519 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
9520 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
9521 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
9522 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
9523 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
9524 * libc/stdlib/rand.c (rand): Likewise.
9526 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
9527 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
9529 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
9530 _REENT_MP_FREELIST() and _REENT_MP_P5S.
9531 * libc/include/sys/reent.h (struct _mprec): New structure.
9533 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
9534 _unused_strtok_last.
9535 * libc/string/strtok.c (strtok): Use a local static variable.
9537 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
9538 (_REENT_EMERGENCY_SIZE): Likewise.
9539 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
9540 _REENT_ASCTIME_BUF().
9541 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
9544 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
9545 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
9546 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
9547 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
9548 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
9549 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
9551 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
9553 * configure.host (xstormy16): Don't use the generic malloc.
9554 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
9555 * libc/machine/xstormy16/Makefile.in: Regenerate.
9556 * libc/machine/xstormy16/mallocr.c: New file.
9557 * libc/machine/xstormy16/tiny-malloc.c: New file.
9559 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
9561 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
9562 when _CYGWIN_TYPES_H is not defined.
9564 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
9566 * libc/include/sys/signal.h: Revert 2002-01-23 change.
9568 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
9570 * libc/include/sys/signal.h: Remove pthread_kill declaration
9571 when __CYGWIN__ is defined.
9573 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
9575 * libc/include/time.h: Add prototype for strptime for Cygwin.
9577 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
9579 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
9580 dst was not word aligned.
9582 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
9583 if too much memory is requested.
9585 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
9587 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
9588 reads blanks from the input file to break if EOF reached
9589 rather than end processing.
9591 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
9593 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
9595 2002-01-07 Alan Matsuoka <alanm@redhat.com>
9597 * libc/include/machine/ieeefp.h: Configure d10v doubles to
9598 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
9599 libc/include/sys/config.h: Ditto.
9601 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
9603 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
9605 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
9606 Catherine Moore <clm@redhat.com>
9607 Richard Henderson <rth@redhat.com>
9608 Corinna Vinschen <vinschen@redhat.com>
9610 * configure.host: Add support for xstormy16.
9611 * libc/include/machine/ieeefp.h: Add support for xstormy16.
9612 * libc/include/machine/setjmp.h: Add support for xstormy16.
9613 * libc/include/sys/config.h: Add support for xstormy16.
9614 * libc/machine/xstormy16/Makefile.am: New file.
9615 * libc/machine/xstormy16/Makefile.in: New file.
9616 * libc/machine/xstormy16/aclocal.m4: New file.
9617 * libc/machine/xstormy16/configure: New file.
9618 * libc/machine/xstormy16/configure.in: New file.
9619 * libc/machine/xstormy16/setjmp.S: New file.
9621 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
9623 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
9624 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
9626 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
9628 * libm/machine/Makefile.am: Change rules to create correct lib.a.
9629 * libm/machine/Makefile.in: Regenerated through automake.
9631 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9633 * Makefile.am (DOCDIR): Force to empty string when doc
9634 directory is not present.
9636 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
9638 * libc/machine/i386/f_*: Move to libm/machine/i386.
9640 2001-12-18 Joel Sherrill <joel@OARcorp.com>
9642 * libm/machine/Makefile.am: Add dummy doc stub so
9645 2001-12-17 Joel Sherrill <joel@OARcorp.com>
9647 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
9649 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
9651 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
9652 $(COMPILE) rather than $(CC).
9653 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
9654 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
9655 $(LIB_COMPILE) change.
9656 (vfiprintf.$(oext)): Likewise.
9658 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
9660 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
9661 conditionalized including of getopt stuff.
9663 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9665 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
9667 (vfiprintf.$(oext)): Likewise.
9669 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9671 * Makefile.shared: New file.
9672 * libc/sys/linux/shared.ld: New file.
9673 * libm/machine/*: New files.
9674 * libm/machine/i386/*: New files.
9675 * Makefile.am: Add libtool support. Change math and mathfp
9676 references to variables.
9677 * configure.host: Add variables for libtool support. Add
9678 libm_machine_dir variable.
9679 * configure.in: Add objectlist variables, for libtool
9680 support. Add CC_FOR_BUILD tests.
9681 * libc/Makefile.am: Add libtool support. Change crt0.o
9682 reference to be a variable reference.
9683 * libc/configure.in: Add libtool support. Change sublib
9684 names to be lib${subdir}.la when using libtool.
9685 * libc/ctype/Makefile.am: Add libtool support.
9686 * libc/errno/Makefile.am: Likewise.
9687 * libc/locale/Makefile.am: Likewise.
9688 * libc/machine/Makefile.am: Likewise.
9689 * libc/machine/configure.in: Likewise.
9690 * libc/machine/i386/Makefile.am: Likewise.
9691 * libc/machine/i386/configure.in: Likewise.
9692 * libc/misc/Makefile.am: Likewise.
9693 * libc/posix/Makefile.am: Likewise.
9694 * libc/reent/Makefile.am: Likewise.
9695 * libc/signal/Makefile.am: Likewise.
9696 * libc/stdio/Makefile.am: Likewise.
9697 * libc/stdlib/Makefile.am: Likewise.
9698 * libc/string/Makefile.am: Likewise.
9699 * libc/sys/Makefile.am: Likewise.
9700 * libc/sys/configure.in: Likewise.
9701 * libc/sys/linux/Makefile.am: Add libtool support. Change
9702 awk reference to a variable reference. Change signal.h
9703 reference to a variable reference.
9704 * libc/sys/linux/configure.in: Add libtool support.
9705 * libc/syscalls/Makefile.am: Likewise.
9706 * libc/time/Makefile.am: Likewise.
9707 * libc/unix/Makefile.am: Likewise.
9708 * libm/Makefile.am: Add libtool support. Change math and
9709 mathfp references to variables.
9710 * libm/configure.in: Add libtool support. Add
9711 LIBM_MACHINE_LIB variable.
9712 * libm/common/Makefile.am: Add libtool support.
9713 * libm/math/Makefile.am: Likewise.
9714 * libm/mathfp/Makefile.am: Likewise.
9715 Regenerate all Makefile.in, aclocal.m4, and configure.
9717 2001-12-13 Anita Kulkarni <anitak@kpit.com>
9719 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
9721 2001-12-06 John Peacock <jpeacock@rowman.com>
9723 * libc/include/sys/unistd.h: Correct ualarm declaration.
9725 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
9727 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
9728 vector before calling the initialisation functions.
9730 2001-11-29 Christopher Faylor <cgf@redhat.com>
9732 * libc/include/dirent.h: Protect against multiple inclusion.
9734 2001-11-27 Christopher Faylor <cgf@redhat.com>
9736 * libc/include/sys/types.h: Define useconds_t.
9737 * libc/include/sys/ulimit.h: Declare ualarm.
9739 2001-11-21 Christopher Faylor <cgf@redhat.com>
9741 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
9743 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
9745 * libc/sys/mmixware/*: Tweak license header in all source files.
9747 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
9749 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
9750 to here. Rearrange for general inclusion by stdlib.h.
9751 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
9753 * libc/sys/linux/include/alloca.h: Move to libc/include.
9755 2001-11-12 Anthony Green <green@redhat.com>
9757 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
9759 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
9761 * libc/sys/mmixware/*: Correct spacing in all source files.
9762 * libc/sys/mmixware/syscall.h: Move misplaced file...
9763 * libc/sys/mmixware/sys/syscall.h: ...here.
9765 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
9767 * libc/include/machine/ieeefp.h: Add support for mmix target.
9768 * libc/include/machine/setjmp.h: Ditto.
9769 * configure.host: Ditto.
9770 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
9771 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
9772 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
9773 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
9774 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
9775 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
9776 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
9777 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
9778 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
9779 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
9780 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
9781 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
9782 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
9783 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
9784 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
9785 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
9786 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
9787 libc/sys/mmixware/aclocal.m4: Generate.
9789 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
9791 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
9792 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
9793 when __CYGWIN__ is defined.
9794 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
9797 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
9799 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
9800 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
9801 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
9802 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
9804 2001-10-24 Christopher Faylor <cgf@redhat.com>
9806 * libc/stdio/fseek.c: Reset pointer to buffer base
9807 when forced to seek outside of current buffer contents.
9808 This prevents the code from erroneously thinking there is
9809 anything in the current buffer.
9811 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
9813 * libc/include/math.h: The C++ standard adds the single-precision
9814 versions of the elementary functions.
9816 2001-10-22 Christopher Faylor <cgf@redhat.com>
9818 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
9820 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
9821 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
9822 * system.c (_system_r): Ditto.
9824 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
9826 * libc/include/sys/unistd.h: Add prototype for fchdir() when
9827 __CYGWIN__ or __rtems__ is defined.
9829 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
9831 * libc/include/stdlib.h: add declarations for
9832 _strtoull_r, _strtoll_r, strtoull, and strtoll.
9833 * libc/stdio/local.h: remove declarations of
9834 __strtoull_r and __strtoll_r.
9835 * libc/stdio/vfscanf.c(__svfscanf_r): call
9836 _strtoull_r instead of __strtoull_r. Ditto
9837 _strtoll_r vs. __strtoll_r.
9838 * libc/stdlib/Makefile.am: add new files to
9839 .c list and .def list
9840 * libc/stdlib/Makefile.in: regenerate
9841 * libc/stdlib/strtoll_r.c: rename __strtoll_r
9843 * libc/stdlib/strtoull_r.c: rename __strtoull_r
9845 * libc/stdlib/strtoull.c: new file
9846 * libc/stdlib/strtoll.c: new file
9848 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
9850 * libc/include/process.h: Add getpid() declaration.
9852 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
9854 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
9855 for new style arm/elf ctor/dtor handling.
9856 Minor formatting tidy up.
9858 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
9860 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
9862 * libc/stdlib/Makefile.in: Regenerated.
9863 * libc/stdlib/strtoll_r.c: New file.
9864 * libc/stdlib/strtoull_r.c: New file.
9865 * libc/stdio/local.h: Add prototypes for long long string
9866 conversion routines.
9867 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
9868 tied to %L integer conversion specifier.
9870 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
9872 * strftime.c (strftime): Fix "%W" implementation to properly handle
9875 2001-09-07 Jeff Law <law@redhat.com>
9877 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
9878 __fini with "mov.l" instead of "mov.w".
9880 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
9882 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
9885 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
9887 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
9889 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9891 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
9893 (__DIRENT_VERSION): New define.
9895 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
9897 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
9898 Shrink __d_reserved accordingly to keep structure size.
9899 (dirfd): Declare external.
9901 2001-08-29 Joel Sherrill <joel@OARcorp.com>
9903 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
9905 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9907 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
9908 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
9909 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
9910 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
9911 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
9912 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
9913 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
9914 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
9915 Add conditional compilation to avoid HW FPU instructions
9916 when compiled for soft-float.
9918 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9920 * Makefile.am: Add check for ln failing when creating libg.a
9921 so that cp gets used as a backup.
9922 * Makefile.in: Regenerated.
9924 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
9926 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
9927 No longer include time.h. Add struct __tm to use for
9928 _localtime_buf in the reentrant structure. Add a
9929 _NULL definition to use in initializing the reentrant struct.
9930 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
9931 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
9933 * libc/include/sys/unistd.h: Include <sys/_types.h>.
9934 * libc/time/lcltime.c (localtime): Cast the reentrant struct
9935 _localtime_buf to be struct tm *.
9937 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
9939 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
9940 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
9942 * libc/sys/h8300hms/syscalls.c: Include errno.h.
9943 (_unlink): New stub function.
9945 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
9947 * libc/include/sys/errno.h: Add a cautionary comment.
9949 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
9951 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
9952 for SIZE_SZ so that alignment ends up a minimum of 8.
9954 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
9956 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
9959 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
9962 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
9964 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
9965 macro constants for mallopt options.
9966 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
9968 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
9970 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
9973 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
9975 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
9977 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
9979 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
9980 Define for little endian ARMs.
9982 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
9983 __IEEE_BYTES_LITTLE_ENDIAN is defined.
9985 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
9987 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
9989 2001-06-11 Egor Duda <deo@logos-m.ru>
9991 * libc/ctype/ctype_.c: When compiled with gcc on platforms
9992 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
9993 initialized memory region. Platform can define COMPACT_CTYPE
9994 to avoid allocation of the additional 128 bytes of data.
9995 Add pointer to _ctype_ array. Always initialize all _ctype_
9998 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
10000 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
10003 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
10005 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
10007 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
10009 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
10010 matching, non-word alignment, and the length is <= 4 but more than
10011 enough to move them over a word boundary.
10012 Add comments explaining what each instruction does.
10014 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
10016 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
10017 * libc/include/sys/unistd.h: Ditto.
10019 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
10021 * libc/string/strrchr.c: Use strchr for the speed improvements.
10023 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
10025 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
10026 real file systems, let __smakebuf() determine if line buffering
10027 should be used for stdout.
10029 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10031 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
10033 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
10035 * libc/include/stdlib.h: Add prototype for _strtod_r.
10037 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
10039 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
10040 * libc/stdio/vprintf.c (_vprintf_r): new function
10041 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
10042 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
10043 _DEFUN, and call _vfprintf_r, not vfprintf.
10044 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
10045 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
10046 _DEFUN, and call _vfprintf_r, not vfprintf.
10048 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
10050 * libc/include/sys/unistd.h [X_OK]: Use better protection against
10051 Cygwin X_OK definitions in sys/file.h.
10053 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
10055 * libc/include/sys/time.h: Define timercmp and other macros for
10058 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10060 * acinclude.m4: Added --enable-malloc-debugging configure flag.
10061 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
10062 --enable-malloc-debugging selected.
10063 * aclocal.m4 configure: Regenerated.
10064 libm/aclocal.m4 libm/configure: Ditto.
10065 * libc/aclocal.m4 libc/configure: Ditto.
10066 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
10067 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
10068 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
10069 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
10070 * doc/aclocal.m4 doc/configure: Ditto.
10072 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
10074 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
10076 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
10077 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
10078 function prototypes.
10079 (_fscanf_r, _sscanf_r): Ditto.
10080 * libc/include/stdlib.h: Added _strtod_r prototype.
10081 * libc/stdio/Makefile.am: Add new v*scanf functions.
10082 * libc/stdio/Makefile.in: Regenerate.
10083 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
10084 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
10085 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
10086 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
10087 (sscanf): Changed to call __svfscanf_r with _REENT argument.
10088 (_sscanf_r): New routine.
10089 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
10090 with __svfscanf_r prototype.
10091 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
10093 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
10094 structure as argument as calls reentrant versions of helper functions
10095 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
10096 to _strtol_r and _strtod_r respectively.
10097 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
10098 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
10100 * libc/stdio/vscanf.c: New file.
10101 * libc/stdio/vsscanf.c: Ditto.
10103 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
10105 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
10106 Define daylight to _daylight if it is not defined
10107 Prepare a variable export of timezone based on timezonevariable.
10108 (Cannot be used with the timezone() function.)
10110 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
10112 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
10113 Correct the numerical values.
10115 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
10117 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
10119 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
10121 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
10122 on case insensitve file systems.
10124 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
10126 * libc/include/sys/features.h: Add appropriate defines for Cygwin
10128 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
10129 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
10130 types. Include <cygwin/types.h> for the cygwin specific typedefs.
10132 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
10134 * libc/include/machine/ieeefp.h: Comment about new configuration
10135 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
10136 * libm/common/fdlib.h: Define new macros for testing floats.
10137 * libm/common/sf_*: Use them.
10138 * libm/math/ef_*: Likewise.
10139 * libm/math/sf_*: Likewise.
10141 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
10143 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
10144 prolog to by-pass possible assembler error.
10146 2001-03-21 Egor Duda <deo@logos-m.ru>
10148 Allow building internal stubs for non-reentrant syscalls
10149 if target provides its own malloc
10150 * libc/reent/reent.c (errno): Move definition here.
10151 * libc/reent/sbrkr.c: From here.
10153 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
10155 * libc/include/sys/types.h (BSD int typedefs): Guard with
10156 _BSDTYPES_DEFINED rather than _WINSOCK_H.
10157 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
10159 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
10160 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
10162 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
10164 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
10165 _PC_POSIX_SECURITY constants for Cygwin.
10167 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
10169 * libc/sys/cygwin/crt0.c: Add copyright hint.
10170 * libc/sys/cygwin/sys/dirent.h: Ditto.
10171 * libc/sys/cygwin/sys/param.h: Ditto.
10172 * libc/sys/cygwin/sys/utime.h: Ditto.
10173 * libc/sys/cygwin/sys/utmp.h: Ditto.
10175 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
10177 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
10178 equivalent to LONGINT.
10180 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
10182 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
10183 jmpbuf on MIPS64 targets.
10184 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
10186 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
10188 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
10191 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
10193 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
10194 For RTEMS, define to be ssize_t. Default to int if not defined.
10195 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
10196 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
10197 * libc/stdio/local.h (__sread, __swrite): Likewise.
10198 * libc/include/sys/reent.h (_read, _write): Likewise.
10199 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
10200 * libc/syscalls/sysread.c (read): Likewise.
10201 * libc/syscalls/syswrite.c (write): Likewise.
10203 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
10205 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
10207 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
10209 * libc/include/sys/stat.h: Use special defines for executable stat bits
10210 when compiling for Cygwin.
10211 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
10214 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10216 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
10217 of strtok_r is always defined.
10219 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
10221 * libc/include/machine/ansi.h: New dummy header file.
10223 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
10225 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
10226 changed the copyright information to allow free modification of the
10227 file with no reference to "copying.dj".
10228 * libc/include/sys/stat-dj.h: Ditto.
10229 * libc/machine/i386/setjmp.S: Ditto.
10230 * libc/sys/h8300hms/sys/file.h: Ditto.
10231 * libc/sys/sysmec/access.c: Ditto.
10232 * libc/sys/sysnecv850/access.c: Ditto.
10233 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
10234 * libc/stdlib/getenv_r.c: Ditto.
10235 * libc/stdlib/putenv_r.c: Ditto.
10236 * libc/stdlib/setenv_r.c: Ditto.
10237 * libc/stdlib/getenv.c: Removed DJ reference since any possible
10238 modifications will now be in the _r version of this file.
10239 * libc/stdlib/putenv.c: Ditto.
10240 * libc/stdlib/setenv.c: Ditto.
10241 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
10242 valid. Added a reference to DJ's web page that contains his address.
10243 * libc/sys/go32/*.s: Removed references to DJ's old address.
10244 * libc/sys/go32/*.c: Ditto.
10245 * libc/sys/go32/*.h: Ditto.
10246 * libc/sys/go32/*.S: Ditto.
10247 * libc/sys/go32/sys/*.h: Ditto.
10249 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
10251 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
10252 HAVE_FCNTL flag check.
10253 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
10254 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
10256 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
10258 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
10260 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
10262 * libc/include/stdlib.h: Add declarations of rand48 functions and
10263 their reentrant versions.
10264 * libc/include/sys/reent.h: Move macros from rand48.h. Add
10265 struct _rand48 for shared parameters of rand48 functions.
10266 (struct _reent): Add a variable _r48 of struct _rand48.
10267 (_REENT_INIT): Add _r48 initialization.
10268 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
10269 (CHEWOUT_FILES): Add rand48.def.
10270 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
10271 * libc/stdlib/Makefile.in: Regenerated.
10272 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
10274 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
10275 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
10276 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
10277 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
10278 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
10279 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
10280 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
10281 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
10282 * libc/stdlib/rand48.c (__dorand48): Ditto.
10283 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
10284 parameters into macros referring them in the reentrant structure.
10286 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
10288 * libc/include/sys/stat.h: Add mknod for Cygwin now that
10289 Cygwin definition has correct prototype.
10291 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10293 * libc/include/sys/stat.h: Must revert change for mknod
10294 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
10297 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
10299 * libc/include/stdio.h: Revert putw prototype.
10301 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
10303 * libc/include/grp.h: add prototype for initgroups.
10304 * libc/include/stdio.h: fix prototype for putw.
10305 * libc/include/sys/signal.h: add prototype for killpg.
10306 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
10307 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
10308 vhangup and remove duplicate sysconf prototype.
10310 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
10312 * libc/sys/rtems/sys/types.h: Removed.
10314 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
10316 * libc/include/locale.h: add LC_MESSAGES definition
10318 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
10320 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
10322 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
10323 __setup_argv_and_call_main): New.
10325 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
10327 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
10329 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
10330 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
10331 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
10332 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
10334 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
10336 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
10337 compiling under Cygwin.
10339 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
10341 * libc/include/math.h (signgam): Change to errno-like solution
10342 using a function to return the address of the real signgam.
10343 * libc/reent/signgam.c: New file containing __signgam().
10344 * libc/reent/Makefile.am: Added signgam.c to list of files.
10345 * libc/reent/Makefile.in: Regenerated.
10347 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
10349 * libc/sys/sh/syscalls.c (_times): New.
10351 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
10352 * libc/sys/sh/syscalls.c (_gettimeofday): New.
10354 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10356 * libc/include/math.h (signgam): Regress previous fix as
10357 it does not handle programs with extern int signgam in them.
10359 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10361 * libc/include/math.h (signgam): Changed to a macro refering to
10362 its location in the reentrant structure.
10364 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
10366 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
10367 that suppressed . for %.0f, 0.1. Check now looks if there
10368 are padding zeroes (expt) in addition to any digits (ndig) to
10371 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
10373 * libc/sys/arc/Makefile.am: New file.
10374 * libc/sys/arc/Makefile.in: Ditto.
10375 * libc/sys/arc/aclocal.m4: Ditto.
10376 * libc/sys/arc/configure: Ditto.
10377 * libc/sys/arc/configure.in: Ditto.
10378 * libc/sys/arc/crt0.S: Ditto.
10379 * libc/sys/arc/isatty.c: Ditto.
10380 * libc/sys/arc/mem-layout.c: Ditto.
10381 * libc/sys/arc/sbrk.c: Ditto.
10382 * libc/sys/arc/syscalls.c: Ditto.
10383 * libc/sys/arc/sys/syscall.h: Ditto.
10385 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
10387 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
10389 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
10391 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
10393 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
10395 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
10397 2001-01-09 Nick Clifton <nickc@redhat.com>
10399 * configure.host (v859): Remove unsupported compiler options.
10401 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
10403 * src/newlib/configure.host (*-*-rtems*): add printf long long
10406 2000-12-19 Graham Stott <grahams@redhat.com>
10408 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
10410 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10412 * configure.host: Turn on long double I/O for Cygwin.
10414 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
10416 * MAINTAINERS: Removed Ranjith.
10417 * NEWS: Updated for 1.9.0.
10419 * acinclude.m4: Updated to release 1.9.0.
10420 * aclocal.m4 configure
10421 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
10422 libc/machine/aclocal.m4 libc/machine/configure
10423 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
10424 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
10425 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
10426 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
10427 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
10428 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
10429 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
10430 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
10431 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
10432 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
10433 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
10434 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
10435 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
10436 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
10437 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
10438 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
10439 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
10440 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
10441 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
10442 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
10443 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10444 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10445 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10446 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
10447 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10448 libc/sys/aclocal.m4 libc/sys/configure
10449 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10450 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
10451 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
10452 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10453 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10454 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10455 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10456 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10457 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
10458 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10459 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10460 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10461 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
10462 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
10463 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
10464 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
10465 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
10466 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
10467 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
10468 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
10469 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
10470 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
10471 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
10472 libm/aclocal.m4 libm/configure: Regenerated.
10474 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10476 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
10477 when __CYGWIN__ is defined.
10479 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10481 * libc/stdlib/ldtoa.c (_ldcheck): New routine
10482 that categorizes a long double as NaN, Infinity, or other.
10483 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
10484 isinfl and isnanl static routines which were i386-specific. Changed
10485 calls to the two removed routines to a single _ldcheck call.
10486 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
10488 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
10490 * Makefile.am: Fixed install-data-local target to use
10491 $(mkinstalldirs) for the installed header files to ensure
10492 the directories exist before copying.
10493 * Makefile.in: Regenerated.
10495 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
10497 * libc/include/sys/unistd.h: Restored Cygwin _SC
10498 constants and moved new constants appropriately
10499 so Cygwin will build.
10501 2000-12-11 Joel Sherrill <joel@OARcorp.com>
10503 * Merge RTEMS specific .h files into main libc/include.
10504 * libc/sys/rtems/include/signal.h: Removed.
10505 * libc/sys/rtems/include/time.h: Removed.
10506 * libc/sys/rtems/sys/features.h: Removed.
10507 * libc/sys/rtems/sys/sched.h: Removed.
10508 * libc/sys/rtems/sys/siginfo.h: Removed.
10509 * libc/sys/rtems/sys/signal.h: Removed.
10510 * libc/sys/rtems/sys/time.h: Removed.
10511 * libc/sys/rtems/sys/times.h: Removed.
10512 definitions for time_t and clock_t since these are
10513 no longer in time.h.
10514 * libc/include/pthread.h: New file.
10515 * libc/include/sys/sched.h: New file.
10516 * libc/include/sys/features.h: New file.
10517 * libc/include/time.h: Removed duplicate definition of clock_t
10518 and time_t, get them from <sys/types.h> instead. Add prototypes
10519 for POSIX clock and timer functionality.
10520 * libc/sys/linux/sys/types.h: Changed to include
10521 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
10522 * libc/include/sys/signal.h: Add more complete set of POSIX
10523 signal functionality including real-time and threaded signals.
10524 * libc/include/sys/types.h: Add clock_t, time_t, struct
10525 timespec, and struct itimerspec. Centralizing these makes
10526 things cleaner. RTEMS uses 64-bit dev_t.
10527 Added numerous primitive definitions
10528 for pthreads including macros, pthread_attr_t,
10529 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
10530 pthread_once_t, and pthread_t.
10531 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
10532 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
10533 Feature flags removed and moved to new file <sys/features.h>.
10534 Full set of POSIX sysconf() constants
10536 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
10538 * configure.host: Added x86 linux target.
10539 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
10540 definitions provided if not already defined.
10541 * libc/sys/linux/crt0.c: New file.
10542 * libc/sys/linux/Makefile.am: Ditto.
10543 * libc/sys/linux/Makefile.in: Ditto.
10544 * libc/sys/linux/aclocal.m4: Ditto.
10545 * libc/sys/linux/brk.c: Ditto.
10546 * libc/sys/linux/configure: Ditto.
10547 * libc/sys/linux/configure.in: Ditto.
10548 * libc/sys/linux/getoptlong.c: Ditto.
10549 * libc/sys/linux/ids.c: Ditto.
10550 * libc/sys/linux/inode.c: Ditto.
10551 * libc/sys/linux/io.c: Ditto.
10552 * libc/sys/linux/linux.c: Ditto.
10553 * libc/sys/linux/process.c: Ditto.
10554 * libc/sys/linux/realpath.c: Ditto.
10555 * libc/sys/linux/select.c: Ditto.
10556 * libc/sys/linux/signal.c: Ditto.
10557 * libc/sys/linux/systat.c: Ditto.
10558 * libc/sys/linux/termios.c: Ditto.
10559 * libc/sys/linux/time.c: Ditto.
10560 * libc/sys/linux/wait.c: Ditto.
10561 * libc/sys/linux/include/alloca.h: Ditto.
10562 * libc/sys/linux/include/getopt.h: Ditto.
10563 * libc/sys/linux/include/stdint.h: Ditto.
10564 * libc/sys/linux/include/unistd.h: Ditto.
10565 * libc/sys/linux/sys/cdefs.h: Ditto.
10566 * libc/sys/linux/sys/dirent.h: Ditto.
10567 * libc/sys/linux/sys/errno.h: Ditto.
10568 * libc/sys/linux/sys/fcntl.h: Ditto.
10569 * libc/sys/linux/sys/file.h: Ditto.
10570 * libc/sys/linux/sys/ioctl.h: Ditto.
10571 * libc/sys/linux/sys/resource.h: Ditto.
10572 * libc/sys/linux/sys/signal.h: Ditto.
10573 * libc/sys/linux/sys/stat.h: Ditto.
10574 * libc/sys/linux/sys/syscall.h: Ditto.
10575 * libc/sys/linux/sys/termios.h: Ditto.
10576 * libc/sys/linux/sys/time.h: Ditto.
10577 * libc/sys/linux/sys/types.h: Ditto.
10578 * libc/sys/linux/sys/utmp.h: Ditto.
10579 * libc/sys/linux/sys/utsname.h: Ditto.
10580 * libc/sys/linux/sys/wait.h: Ditto.
10582 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10584 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
10585 can be a relative path to $(top_srcdir)/install.sh so ensure the
10586 autoconf detected settings are properly passed recursively.
10587 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
10588 properly to subdirectories.
10589 * Makefile.in: Regenerated.
10591 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
10593 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
10594 a floating point register unless really printing a floating
10597 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
10599 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
10601 (asctoeg): Replaced alloca call with stack array and malloc
10602 when storage exceeds reasonable limit.
10603 (e53toe): Fixed einfin calls missing ldp parameter.
10604 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
10606 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10609 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
10611 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
10613 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
10614 * libc/stdlib/Makefile.in: Regenerated.
10615 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
10616 * libc/stdio/vfieeefp.h: Added long double bit structures.
10617 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
10618 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
10619 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
10620 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
10621 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
10622 _strtold routines used for conversions between character
10625 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10627 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
10629 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10631 * libc/include/machine/time.h: RTEMS systems can configure clock
10632 tick rate so use sysconf() to ask.
10634 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10636 * libc/include/sys/times.h: Add reference to POSIX standard.
10638 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10640 * libc/include/sys/time.h: Added BSD timer manipulation macros
10641 used by RTEMS code.
10643 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10645 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
10646 referenced by code generated by gcc 2.8.1.
10647 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
10650 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10652 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
10654 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10656 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
10658 2000-12-04 Joel Sherrill <joel@OARcorp.com>
10660 * configure.host (or16, or32): New entries for OpenCores
10662 (*-*-rtems*): Add -DNO_EXEC.
10664 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
10666 * libc/include/sys/errno.h: Added comments on many error numbers.
10667 * libc/string/strerror.c: Added some more strings.
10669 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
10671 * libc/sys/sh/syscalls.c (_link): New stub.
10673 2000-11-29 Nick Clifton <nickc@redhat.com>
10675 * configure.host: Add xscale target.
10676 * libc/machine/xscale: New directory.
10677 * libc/machine/xscale/Makefile.am: New file.
10678 * libc/machine/xscale/Makefile.in: New file.
10679 * libc/machine/xscale/aclocal.m4: New file.
10680 * libc/machine/xscale/configure: New file.
10681 * libc/machine/xscale/configure.in: New file.
10682 * libc/machine/xscale/memchr.S: New file.
10683 * libc/machine/xscale/memcmp.S: New file.
10684 * libc/machine/xscale/memcpy.S: New file.
10685 * libc/machine/xscale/memmove.S: New file.
10686 * libc/machine/xscale/memset.S: New file.
10687 * libc/machine/xscale/strchr.S: New file.
10688 * libc/machine/xscale/strcmp.S: New file.
10689 * libc/machine/xscale/strcpy.S: New file.
10690 * libc/machine/xscale/strlen.S: New file.
10692 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10694 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
10695 avoid compiler warnings.
10697 2000-11-22 Michael Meissner <meissner@redhat.com>
10699 * libc/posix/execl.c (execl): Don't reference environ directly,
10700 reference it only via a static pointer to avoid problems with some
10701 shared library systems and with different uses of small data where
10702 the user specifies his own version of environ.
10703 * libc/posix/execv.c (execv): Ditto.
10704 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
10705 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
10706 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
10708 * libc/stdlib/getenv.c (environ): Delete unused reference to
10711 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
10713 * libc/stdlib/system.c: Ditto.
10715 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
10717 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
10718 including windows headers.
10720 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
10722 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
10723 * libc/include/dirent.h: Added definition of MAXNAMLEN if
10724 not defined by sys/dirent.h.
10725 * libc/posix/execvp.c: Added include of dirent.h to get
10726 MAXNAMLEN value which used to be in unistd.h.
10728 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10730 * libc/include/sys/types.h: Change type of i to `size_t' in
10731 FD_ZERO macro to avoid compiler warnings.
10733 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
10735 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
10736 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
10738 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
10740 * libc/include/sys/unistd.h: Add defines for sysconf values
10741 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
10744 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
10746 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
10747 declarations for __CYGWIN__.
10749 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
10751 * libc/signal/signal.c (__sigtramp_r): ISO C requires
10752 case labels to be integral constant expressions, so
10753 use an if/else tree instead.
10754 (_raise_r): Likewise.
10756 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
10758 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
10759 clipping patch from e-mail reader.
10761 2000-09-13 Will Cohen <wcohen@redhat.com>
10763 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
10764 Added return value 0.
10765 (_longjmp): Allow longjmp to return value of second argument
10768 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
10770 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
10771 inline code to prevent having to include another header file.
10773 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
10775 * Makefile.am: Fix space vs. tab problem in install-data-local.
10776 * Makefile.in: Regenerate.
10778 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
10780 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
10781 (_EXPARM): New macro for defining a function parameter.
10782 * libc/include/stdlib.h: Use _EXPARM.
10783 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
10785 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
10787 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
10788 required, as documented in the gnu coding standards.
10789 * Makefile.in: Regenerate.
10791 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
10793 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
10794 make O_NDELAY and O_NONBLOCK have the same value.
10796 2000-08-30 Kazu Hirata <kazu@hxi.com>
10798 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
10800 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
10802 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
10803 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
10804 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
10807 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
10809 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
10810 * libc/include/string.h: Don't include <sys/types.h>,
10811 as it causes really bad namespace pollution. Don't declare
10812 swab(), it is properly declared in unistd.h.
10814 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
10816 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
10817 (broken) support for non-existent /etc/passwd field "comment".
10819 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10821 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
10822 only if _DIRENT_HAVE_D_NAMLEN is defined.
10823 (alphasort): aligned prototype with
10824 libc/sys/cygwin/sys/dirent.h and simplified function body.
10825 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
10826 long telldir (DIR *) as mentioned in annex B of POSIX.1
10828 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
10830 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
10831 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
10832 Added __CLI and __STI macros (controlled via
10833 _I386MACH_ALLOW_HW_INTERRUPTS macro).
10834 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
10835 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
10836 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
10837 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
10838 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
10839 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
10840 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
10841 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
10842 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
10843 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
10844 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
10845 for all global entry points.
10846 * libc/machine/i386/setjmp.S: removed code replicated in
10847 libc/machine/i386/i386mach.h and included i386mach.h instead;
10848 Use __CLI and __STI instead of cli and sti.
10850 2000-08-25 DJ Delorie <dj@redhat.com>
10852 * libc/include/sys/unistd.h (environ): this one isn't from the
10855 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
10857 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
10858 environ when compiling under cygwin since it is already declared in
10861 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10863 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
10864 like x << y-z to the equivalent x << (y-z).
10865 (d2b): changed if statements with assignment to perform the
10866 assignment prior to the if check.
10867 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
10868 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
10869 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
10870 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
10872 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
10873 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
10875 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
10877 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
10878 clarify && and || precendence (and to remove pascalism).
10879 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
10880 * libm/math/s_infconst.c: added another pair of braces to all
10881 initializers for __infinity (need three: for __infinity[1] array,
10882 for union __dmath, and for i[2]).
10884 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10886 * libc/stdlib/abort.c: changed description: uses "raise" instead of
10887 "getpid" and "kill"; added: uses "write" and "_exit".
10888 Also included unistd.h for "_exit" prototype.
10889 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
10890 reent.h for "_fork_r" and "_wait_r" prototypes.
10891 (do_system): changed extern char *environ[] to POSIX-friendly
10892 extern char **environ.
10893 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
10895 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
10896 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
10897 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
10898 * libc/reent/openr.c: included fcntl.h for "open" prototype.
10899 * libc/reent/signalr.c: included signal.h for "kill" prototype,
10900 unistd.h for "getpid" prototype.
10901 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
10902 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
10903 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
10904 prototype. Also included stdlib.h for "abort", string.h for
10905 "strdup" and "strncmp" prototypes.
10906 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
10907 "strncpy", unistd.h for "read" and "close" prototypes.
10908 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
10909 "strcat" prototypes.
10911 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
10913 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
10914 used later (ifdef __SCLE)
10915 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
10916 used later (ifdef MB_CAPABLE)
10917 * libc/string/memset.c (memset): removed unused variables "count"
10918 and "unaligned_addr"
10919 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
10920 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
10921 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
10924 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
10926 * libc/stdlib/envlock.c: changed documented "__env_lock" and
10927 "__env_unlock" prototype from "void *" or "char *" to
10928 "struct _reent *" to match real function. Also added include
10930 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
10931 "__malloc_unlock" prototype from "void *" or "char *" to
10932 "struct _reent *" to match real function.
10933 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
10934 prototypes (for getenv_r.c and setenv_r.c).
10936 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
10938 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
10939 and prototype in cygwin's utmp.h
10941 2000-08-16 Eric Fifer <efifer@sanwaint.com>
10943 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
10945 2000-08-09 Nick Clifton <nickc@cygnus.com>
10947 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
10948 epilogue and to allow the functions to be used in a Thumb based
10951 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
10953 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
10954 so size of 0 results in nothing being written to string.
10955 Also fixed code so that when size is non-zero, there is only
10956 a maximum of size - 1 characters written to the array and
10957 a nul terminator is appended at the end.
10958 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
10960 2000-08-01 DJ Delorie <dj@redhat.com>
10962 * libc/include/sys/config.h: define __IMPORT appropriately
10963 * libc/include/ctype.h (_ctype_): use __IMPORT
10964 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
10965 * libc/include/math.h (__mb_cur_max): ditto
10966 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
10967 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
10968 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
10969 * libc/include/unistd.h (environ): ditto
10971 2000-07-28 Michael Meissner <meissner@redhat.com>
10973 * libc/include/math.h (__infinity): Declare as an array without
10974 bounds to get around small data support. Rewrite Cygwin support
10975 to be more general.
10976 * libm/math/s_infconst.c (__infinity): Ditto.
10977 * libm/mathfp/s_infconst.c (__infinity): Ditto.
10979 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
10981 * libc/include/math.h: Use appropriate dll import linkage for
10982 __infinity under Cygwin.
10984 2000-07-13 DJ Delorie <dj@cygnus.com>
10986 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
10988 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
10990 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
10991 to argument list for AngelSWI_Reason_GetCmdLine.
10993 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
10995 * configure.host: Add support for AVR target.
10996 * libc/include/machine/ieeefp.h: Likewise.
10997 * libc/include/sys/config.h: Likewise.
10999 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11001 * README: Newlib 1.8.2 must be built in a separate directory
11004 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11006 * libc/include/sys/reent.h (_rand_next): Added __extension__
11007 qualifier as long long type is not strict ANSI.
11008 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
11009 to long long constant.
11011 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
11013 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
11014 `setegid' provided by Cygwin.
11016 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
11018 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
11019 account for Cygwin.
11021 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11023 * libc/include/sys/reent.h (_rand_next): Changed to
11024 unsigned long long and moved to end of _reent struct in _new union.
11025 (_REENT_INIT): Changed to move _rand_next initialization.
11026 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
11027 linear congruential algorithm that is used by DJGPP.
11029 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
11031 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
11032 * libc/include/sys/config.h: Define __RAND_MAX.
11034 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11036 * libc/stdlib/rand_r.c: New algorithm that meets minimal
11039 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
11041 * libc/include/string.h: Work around problem with strsignal and gdb.
11043 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
11045 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
11046 * libc/include/malloc.h: Ditto.
11047 * libc/include/process.h: Ditto.
11048 * libc/include/stdio.h: Ditto.
11049 * libc/include/stdlib.h: Ditto.
11050 * libc/include/time.h: Ditto.
11051 * libc/include/machine/setjmp.h: Ditto.
11052 * libc/include/sys/errno.h: Ditto.
11053 * libc/include/sys/signal.h: Ditto.
11054 * libc/include/sys/stat.h: Ditto.
11055 * libc/include/sys/time.h: Ditto.
11056 * libc/include/sys/unistd.h: Ditto.
11057 * libc/include/string.h: Ditto. strsignal should return a const char *.
11059 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
11061 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
11062 * libm/common/s_log1p.c (log1p): Likewise.
11063 * libm/common/s_scalbn.c (scalbn): Likewise.
11064 * libm/math/e_log.c: Likewise.
11065 * libm/math/e_asin.c: Likewise.
11066 * libm/math/ef_asin.c: Likewise.
11067 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
11068 * libm/math/e_j1.c (pone, qone): Likewise.
11069 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
11070 * libm/math/ef_j1.c (ponef, qonef): Likewise.
11071 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
11072 * libm/mathfp/e_j1.c (pone, qone): Likewise.
11073 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
11074 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
11076 2000-05-19 DJ Delorie <dj@cygnus.com>
11078 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
11079 (__sread): always read in binary mode
11080 (__swrite): always write in binary mode
11081 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
11082 compatibility issues with different dll versions
11083 * libc/stdio/fopen.c: use __stextmode
11084 * libc/stdio/fdopen.c: ditto
11085 * libc/stdio/freopen.c: ditto
11086 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
11087 * libc/stdio/local.h: declare __stextmode
11089 2000-05-18 DJ Delorie <dj@cygnus.com>
11091 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
11093 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11095 * libc/include/ctype.h: Changed tolower and toupper macros
11096 to use __extension__ to prevent pedantic warnings.
11098 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
11100 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
11103 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
11105 * libc/include/machine/ieeefp.h: Add ia64 support.
11106 * configure.host: Likewise.
11108 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
11110 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
11111 month is now padded with space, not zero. This now conforms to
11114 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
11116 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
11117 host or network path") used by cygwin. Add some comments.
11119 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
11121 * libc/include/stdio.h (FILE): define __SCLE for "convert line
11122 endings" for Cygwin.
11123 (__sgetc): convert line endings if needed
11125 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
11126 * libc/stdio/fopen.c (_fopen_r): ditto
11127 * libc/stdio/freopen.c (freopen): ditto
11128 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
11129 * libc/stdio/fvwrite.c (__sfvwrite): ditto
11131 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
11133 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
11134 post-increment when it is worth it, spacewise.
11136 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
11138 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
11139 * libc/stdio/findfp.c (std): Added declaration of flags and file.
11140 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
11142 * libc/stdio/putchar.c (putchar): Added return statement.
11143 * libc/stdio/refill.c (lflush): Added correct parentheses.
11144 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
11145 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
11146 prints long value to use l qualifier.
11147 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
11148 messages and initialized local values: ilim, ilim1, and spec_case.
11149 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
11150 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
11151 * libc/stdlib/mprec.c: Ditto.
11152 * libc/stdlib/setenv_r.c: Ditto.
11153 * libc/stdlib/strtod.c: Ditto.
11154 * libc/stdlib/strtol.c: Ditto.
11155 * libc/stdlib/strtoul.c: Ditto.
11156 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
11157 * libm/common/sf_log1p.c: Ditto.
11158 * libm/common/sf_scalbn.c: Ditto.
11159 * libm/math/ef_log.c: Ditto.
11161 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
11163 * libc/posix/execvp.c (execvp): Check path for
11166 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
11168 * libc/include/sys/unistd.h: Add prototypes for
11169 fchmod, fchown, lchown.
11171 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11173 * acinclude.m4: Changed release to 1.8.2.
11174 * aclocal.m4 configure doc/aclocal.m4 doc/configure
11175 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
11176 libc/machine/configure libc/machine/a29k/aclocal.m4
11177 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11178 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11179 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11180 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11181 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
11182 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11183 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11184 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11185 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11186 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11187 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11188 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11189 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11190 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11191 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11192 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11193 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11194 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
11195 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11196 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
11197 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
11198 libc/machine/v850/configure libc/machine/w65/aclocal.m4
11199 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
11200 libc/machine/z8k/configure libc/sys/aclocal.m4
11201 libc/sys/aclocal.m4 libc/sys/configure
11202 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11203 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
11204 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
11205 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11206 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11207 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11208 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11209 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11210 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11211 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11212 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11213 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
11214 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
11215 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
11216 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
11217 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
11218 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
11219 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
11220 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
11221 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
11222 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
11223 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
11224 libm/aclocal.m4 libm/configure: Regenerated.
11226 2000-03-24 Nick Clifton <nickc@cygnus.com>
11228 * libc/sys/arm/syscalls.c: Fix compile time warnings.
11229 (do_AngelSWI): Add "cc" to list o registers clobbered.
11231 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11233 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
11234 information to be clobbered by an Angel C library support syscall.
11236 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11238 * libc/stdlib/envlock.c: Fixed comment typo.
11240 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11242 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
11243 code to update nread as each character is processed instead
11244 of using buffer contents which throw away leading zeroes.
11246 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
11248 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
11250 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
11252 * libc/include/string.h: Include <sys/types.h>.
11254 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11256 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
11257 with XSH5, not SVID.
11259 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11261 * libc/include/string.h: Changed last argument back to ssize_t
11262 to make it compatible with XPG4 definition which is
11263 defined in <unistd.h>. There is a conflict in the SVID 3
11264 and XPG4 definitions and newlib will settle with XPG4.
11265 * libc/string/swab.c: Ditto.
11267 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
11269 * libc/include/string.h: Changed last argument to size_t.
11270 * libc/string/swab.c: Changed last argument to size_t.
11272 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11274 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
11275 (CHEWOUT_FILES): Added unlinkr.def.
11276 * libc/reent/Makefile.in: Rebuilt.
11277 * libc/sys.tex: Include unlinkr.def.
11278 * libc/reent/linkr.c (_unlink_r): Moved to...
11279 * libc/reent/unlinkr.c: ... new file.
11281 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11283 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
11284 (CHEWOUT_FILES): Added swab.def.
11285 * libc/string/Makefile.in: Rebuilt.
11286 * libc/string/string.tex: Include swab.def.
11287 * libc/include/string.h (swab): Declare.
11288 * libc/string/swab.c: New file.
11290 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11292 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
11293 (CHEWOUT_FILES): Added getw.def and putw.def.
11294 * libc/stdio/Makefile.in: Rebuilt.
11295 * libc/stdio/stdio.tex: Include getw.def and putw.def.
11296 * libc/stdio/getw.c: New file.
11297 * libc/stdio/putw.c: New file.
11299 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11301 * libc/stdio/flags.c (__sflags): Added check that mode[1]
11302 is non-null before looking at mode[2].
11304 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11306 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
11307 * libm/mathfp/sf_atan.c: Ditto.
11309 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
11311 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
11313 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
11315 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
11318 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
11320 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
11321 call prior to calling _VFPRINTF_R so reentrant data area is set.
11322 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
11324 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11326 * libc/stdio/vfscanf.c (limits.h): #include.
11327 (MAX_LONG_LEN): #define.
11328 (__svfscanf): Handle floating point numbers with arbitrary amounts
11331 2000-02-15 Nick Clifton <nickc@cygnus.com>
11333 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
11334 zero. Set the blocksize to 1024/
11336 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
11338 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
11339 with line buffering.
11341 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
11343 * acinclude.m4: Changed include directory for winsup headers.
11344 * aclocal.m4 configure libc/aclocal.m4
11345 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
11346 libc/locale/Makefile.in libc/machine/aclocal.m4
11347 libc/machine/configure libc/machine/a29k/aclocal.m4
11348 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
11349 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
11350 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
11351 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
11352 libc/machine/fr30/configure
11353 libc/machine/h8300/aclocal.m4
11354 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
11355 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
11356 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
11357 libc/machine/i386/configure libc/machine/i960/aclocal.m4
11358 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
11359 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
11360 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
11361 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
11362 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
11363 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
11364 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
11365 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
11366 libc/machine/powerpc/configure
11367 libc/machine/sh/aclocal.m4
11368 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
11369 libc/machine/sparc/configure
11370 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
11371 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
11372 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
11373 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
11374 libc/misc/Makefile.in libc/posix/Makefile.in
11375 libc/reent/Makefile.in
11376 libc/signal/Makefile.in
11377 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
11378 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
11379 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
11380 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
11381 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
11382 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
11383 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
11384 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
11385 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
11386 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
11387 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
11388 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
11389 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
11390 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
11391 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
11392 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
11393 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
11394 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
11395 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
11396 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
11397 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
11398 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
11399 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
11400 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
11401 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
11402 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
11403 libm/configure: Regenerated.
11405 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
11407 * libc/stdlib/putenv_r.c (_putenv_r): New file.
11408 * libc/stdlib/strdup_r.c (_strdup_r): New file.
11409 * libc/include/string.h: Added _strdup_r.
11410 * libc/stdlib/putenv.c: Added call to reentrant version.
11411 * libc/stdlib/strdup.c: Ditto.
11412 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
11413 * libc/include/stdlib.h: Ditto.
11414 * libc/stdlib/Makefile.in: Regenerated.
11415 * libc/string/Makefile.in: Regenerated.
11416 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
11417 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
11418 management calls to reentrant versions.
11419 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
11420 * libc/stdlib/wctomb.c: Ditto.
11421 * libc/stdlib/mblen.c: Ditto.
11422 * libc/stdlib/mbstowcs.c: Ditto.
11423 * libc/stdlib/mbtowc.c: Ditto.
11424 * libc/stdlib/getenv.c: Ditto.
11425 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
11428 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
11430 patch from Corinna Vinschen <corinna@vinschen.de>
11431 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
11433 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
11435 * libm/mathfp/s_atangent.c: Fix exponent calculation.
11436 * libm/mathfp/s_ldexp.c: Ditto.
11437 * libm/mathfp/sf_atangent.c: Ditto.
11438 * libm/mathfp/sf_ldexp.c: Ditto.
11440 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11442 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
11443 * libc/include/locale.h: define NULL to be 0.
11445 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
11447 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
11450 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
11452 * libc/machine/mn10300/setjmp.S: Handle am33.
11454 1999-11-26 Nick Clifton <nickc@cygnus.com>
11456 * libc/sys/arm/syscalls.c: Add function prototypes.
11457 (stack_ptr): Move declaration before function definitions.
11459 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11461 * NEWS: Updated version information.
11464 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
11466 * libc/machine/i386/strchr.S: Fixed alignment test.
11468 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
11470 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
11472 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
11474 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
11475 ensuring that there is space between the two.
11477 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
11479 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
11482 1999-10-08 Vadim Egorov <egorovv@1c.ru>
11484 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
11487 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
11489 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
11490 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
11492 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
11493 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
11495 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
11498 1999-09-13 DJ Delorie <dj@cygnus.com>
11500 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
11503 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11505 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
11506 also note BUFSIZ as its size.
11508 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
11510 * configure.host: Corrected feature defines for RTEMS.
11511 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
11512 * libc/include/sys/stat.h: mkfifo() should take const path arg.
11513 * libc/include/sys/unistd.h: pathconf() should take const path arg.
11514 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
11515 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
11516 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
11517 _PC_PRIO_IO, and _PC_SYNC_IO.
11518 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
11519 * libc/machine/m68k/Makefile.in: Regenerated.
11520 * libc/machine/m68k/strcpy.c: New file.
11521 * libc/machine/m68k/strlen.c: New file.
11522 * libc/stdio/tmpnam.c: Always make the returned name usable.
11523 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
11524 * libc/sys/rtems/sys/dirent.h: New file.
11525 * libc/sys/rtems/sys/types.h: Added dev_t.
11527 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
11529 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
11531 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
11533 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
11536 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
11538 patch from Jeff Johnston <jjohnstn@cygnus.com>
11539 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
11540 buffer is not in a useful state.
11542 1999-09-01 Nick Clifton <nickc@cygnus.com>
11544 * libc/sys/arm/syscalls.c (_link): Add stub.
11546 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11548 * ftell.c (ftell): Use actual position within buffer for text mode.
11549 * findfp.c (std): Initialize ptr->_bf._size.
11551 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
11553 * libc/include/sys/unistd.h: Add nice() declaration.
11555 1999-08-09 Nick Clifton <nickc@cygnus.com>
11557 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
11558 declare as a thumb function so that the disassembler will see the
11561 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11563 * libc/reent/reent.tex: Updated list of reentrant functions.
11565 1999-07-09 Michael Meissner <meissner@cygnus.com>
11567 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
11569 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
11571 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
11573 * libc/stdio/snprintf.c: New file.
11574 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
11576 * libc/stdio/vsnprintf.c: New file.
11577 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
11578 * libc/stdio/Makefile.in: Regenerated.
11580 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
11582 Patch submitted by Egor Duda <deo@logos-m.ru>:
11583 * libc/include/stdio.h: Add declarations for *nprintf.
11584 * libc/stdio/sprintf.c (snprintf): New function.
11585 (_snprintf_r): New function.
11586 * libc/stdio/vsprintf.c (vsnprintf): New function.
11587 (_vnsprintf_r): New function.
11589 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11591 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
11592 * libm/Makefile.am (stmp-targetdep): Ditto.
11593 * libc/Makefile.in: Regenerated.
11594 * libm/Makefile.in: Ditto.
11596 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11598 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
11599 * libm/Makefile.am (stmp-targetdep): Ditto.
11600 * libc/Makefile.in: Regenerated.
11601 * libm/Makefile.in: Ditto.
11603 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
11605 * Makefile.am: Removed dependencies on all-recursive and added "."
11606 to the SUBDIRS list to prevent infinite recursion from occurring.
11607 Also removed any references to EXTRA_DATA.
11608 * libc/Makefile.am: Ditto.
11609 * libc/machine/Makefile.am: Ditto.
11610 * libc/machine/i386/Makefile.am: Ditto.
11611 * libm/Makefile.am: Ditto.
11612 * libc/sys/Makefile.am: Ditto.
11613 * Makefile.in: Regenerated.
11614 * aclocal.m4: Ditto.
11615 * configure: Ditto.
11616 * doc/Makefile.in: Ditto.
11617 * doc/aclocal.m4: Ditto.
11618 * doc/configure: Ditto.
11619 * libc/Makefile.in: Ditto.
11620 * libc/aclocal.m4: Ditto.
11621 * libc/configure: Ditto.
11622 * libc/machine/Makefile.in: Ditto.
11623 * libc/machine/aclocal.m4: Ditto.
11624 * libc/machine/configure: Ditto.
11625 * libc/machine/mn10300/Makefile.in: Ditto.
11626 * libc/machine/mn10300/aclocal.m4: Ditto.
11627 * libc/machine/mn10300/configure: Ditto.
11628 * libc/sys/Makefile.in: Ditto.
11629 * libc/sys/aclocal.m4: Ditto.
11630 * libc/sys/configure: Ditto.
11631 * libm/Makefile.in: Ditto.
11632 * libm/aclocal.m4: Ditto.
11633 * libm/configure: Ditto.
11635 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11637 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
11639 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11641 * libc/include/stdlib.h: Add reentrant routines.
11642 * libc/stdlib/Makefile.am: Add reentrant routines.
11643 * libc/stdlib/Makefile.in: Ditto.
11644 * libc/stdlib/envlock.c: New file.
11645 * libc/stdlib/envlock.h: New file.
11646 * libc/stdlib/getenv.c: Modify to call reentrant routine.
11647 * libc/stdlib/getenv_r.c: New file.
11648 * libc/stdlib/mblen.c: Modify to call reentrant routine.
11649 * libc/stdlib/mblen_r.c: New file.
11650 * libc/stdlib/setenv.c: Modify to call reentrant routine.
11651 * libc/stdlib/setenv_r.c: New file.
11652 * libc/stdlib/stdlib.tex: Add reentrant routines.
11654 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
11656 * libc/include/sys/types.h: Define __MS_types__ whenever
11659 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
11661 * libc/include/machine/ieeefp.h: Always default to little
11662 endian if Windows, regardless of architecture.
11663 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
11664 regardless of architecture.
11666 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
11668 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
11669 _WIN32 isn't defined.
11671 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
11673 * libm/common/s_rint.c (rint): Add volatile qualifier for
11674 intermediate value w.
11675 * libm/common/sf_rint.c (rintf): Ditto.
11677 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
11679 * libc/sys/arm/syscalls.c (remap_handle): Added check to
11680 ensure that std streams are initialized before being referenced.
11682 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
11684 * README: Update reference to newlib@cygnus.com new
11685 newlib@sourceware.cygnus.com address.
11687 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
11689 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
11690 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
11691 defined, even if _WIN32 isn't defined.
11693 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
11695 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
11697 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11699 * libc/include/sys/reent.h: Change Long and ULong to __Long and
11701 * libc/stdlib/dtoa.c: Ditto.
11702 * libc/stdlib/mprec.c: Ditto.
11703 * libc/stdlib/mprec.h: Ditto.
11704 * libc/stdlib/strtod.c: Ditto.
11706 1999-04-21 Nick Clifton <nickc@cygnus.com>
11708 * configure.host (mcore): Remove mcore machine directory.
11710 1999-04-18 Nick Clifton <nickc@cygnus.com>
11712 * libc/include/machine/ieeefp.h: Add support for mcore target.
11713 * libc/include/machine/setjmp.h: Add support for mcore target.
11714 * configure.host: Add support for mcore target.
11716 1999-04-13 Mark Salter <msalter@cygnus.com>
11718 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
11719 * libc/sys/arm/syscalls.c: Added isatty.
11721 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11723 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
11724 insert zeroes after significant digits.
11726 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11728 * libc/stdio/vfprintf.c (cvt): Changed floating point
11729 cvt routine to use union used by dtoa to properly determine
11730 if the sign bit is on or not.
11731 * libc/stdio/vfieeefp.h: New file
11733 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11735 * aclocal.m4: Regenerated.
11736 * configure: Regenerated.
11738 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
11740 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
11742 * libc/machine/i386/Makefile.in: Regenerated.
11744 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
11746 * acinclude.m4: Changed to work with new automake.
11747 * configure: Regenerated.
11748 * libc/machine/i386/aclocal.m4: Regenerated.
11749 * libc/machine/i386/configure: Regenerated.
11751 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
11753 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
11754 for telldir() and seekdir(). Rename unused structure element
11755 for use with these two routines.
11757 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
11759 * libc/time/mktime.c (validate_structure): Multiple fixes to
11760 code to handle cases where input fields are outside valid ranges.
11761 * libc/stdlib/div.c (div): Modified invalid rounding check.
11762 * libc/stdlib/ldiv.c (ldiv): Ditto.
11764 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
11766 * libc/machine/i386/memcpy.S: Performance rewrite.
11767 * libc/machine/i386/memmove.S: Ditto.
11768 * libc/machine/i386/i386mach.h: Added more register definitions.
11769 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
11771 * libc/include/machine/fastmath.h: Add definitions for x86
11772 fast-math routines.
11774 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11776 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
11778 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
11780 Adjust newlib headers for new Cygwin Win32 API header files:
11781 * libc/include/sys/time.h: Check _WINSOCK_H rather than
11782 _GNU_H_WINDOWS32_SOCKETS.
11783 * libc/include/sys/types.h: Ditto.
11785 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
11787 *include/sys/reent.h: Add checks for size of Bigint element Long.
11788 *libc/dtoa.c: Change routines to use generic Long type.
11789 *libc/mprec.c: Change routines to use generic Long type.
11790 *libc/mprec.h: Change routines to use generic Long type.
11792 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
11794 * libc/Makefile.am: Add .def files.
11795 * libc/Makefile.in: Regenerate.
11796 * libc/e_acosh.c: Documentation update.
11797 * libc/e_atanh.c: Documentation update.
11798 * libc/e_hypot.c: Documentation update.
11799 * libc/e_remainder.c: Documentation update.
11800 * libc/er_lgamma.c: Documentation update.
11801 * libc/mathfp.tex: Documentation update.
11802 * libc/s_acos.c: Documentation update.
11803 * libc/s_atan.c: Documentation update.
11804 * libc/s_atan2.c: Documentation update.
11805 * libc/s_cosh.c: Documentation update.
11806 * libc/s_fmod.c: Documentation update.
11807 * libc/s_isnan.c: Documentation update.
11808 * libc/s_log10.c: Documentation update.
11809 * libc/s_pow.c: Documentation update.
11810 * libc/w_jn.c: Documentation update.
11812 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
11814 * aclocal.m4: Regenerate.
11815 * configure: Regenerate.
11817 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
11819 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
11820 to return 1 if user specified return code is 0.
11821 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
11823 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
11825 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
11826 to save the return address. Fixed longjmp to return to the original
11827 calling address of setjmp and to return the user specified return code
11828 rather than default to 1.
11829 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
11831 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
11833 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
11835 1999-02-10 Nick Clifton <nickc@cygnus.com>
11837 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
11838 volatile so that its assignments will not be discarded.
11840 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
11842 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
11843 be __STRICT_ANSI__ which is generated by compiler.
11844 * libc/include/ctype.h: Ditto.
11845 * libc/include/math.h: Ditto.
11846 * libc/include/stdio.h: Ditto.
11847 * libc/include/stdlib.h: Ditto.
11848 * libc/include/string.h: Ditto.
11849 * libc/include/sys/signal.h: Ditto.
11851 1999-02-08 Nick Clifton <nickc@cygnus.com>
11853 * configure.host: Add support for StrongARM target.
11855 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
11857 * libc/string/strncpy.c (strncpy): Removed redundant code
11858 that was copying bytes if data unaligned.
11860 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
11862 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
11863 mbstowcs.def, and wcstombs.def.
11865 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
11867 * libc/include/sys/errno.h: Add Cygwin errno.
11868 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
11871 1999-01-29 Nick Clifton <nickc@cygnus.com>
11873 * libc/sys/arm/syscalls.c: Move C library functions into seperate
11876 * libc/sys/arm/libcfunc.c: New file containing C library functions
11879 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
11880 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
11883 1999-01-27 Michael Meissner <meissner@cygnus.com>
11885 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
11886 type, and cut size in half so that the jmp_buf array is guaranteed
11887 to be aligned on a 64-bit boundary.
11889 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
11891 * libc/string/strings.tex: Added information about
11892 strcasecmp and strncasecmp.
11893 * libc/stdlib/stdlib.tex: Added missing information
11894 about mblen, mbstowcs, and wcstombs.
11895 * libc/string/strchr.c: Changed how mask is built to use
11896 shift operators so register will be used instead of storage.
11898 1999-01-22 DJ Delorie <dj@cygnus.com>
11900 * libc/include/stdlib.h: don't use dllimport if we're building
11901 newlib, since it's inside cygwin.dll
11903 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
11905 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
11906 _ctype_ under cygwin.
11908 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
11910 * include/stdlib.h: Fix typo from previous checkin.
11912 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
11914 * include/ctype.h: Use __declspec(dllimport) method for exporting
11915 variable from cygwin DLL.
11916 * include/time.h: Ditto.
11917 * sys/errno.h: Ditto.
11918 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
11919 * libc/locale/locale.c: Use __declspec(dllexport) method for
11920 exporting variable from cygwin DLL.
11922 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
11924 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
11925 access of bogus pointer will result in SIGSEGV.
11927 1999-01-07 Nick Clifton <nickc@cygnus.com>
11929 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
11930 of an underscore prefix to function names.
11932 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
11934 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
11935 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
11937 1998-12-31 Michael Meissner <meissner@cygnus.com>
11939 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
11940 to `%' if not already defined.
11942 1998-12-30 Michael Meissner <meissner@cygnus.com>
11944 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
11945 arguments const char *, not char *.
11946 * libc/include/stdio.h (_tempnam_r): Ditto.
11948 * libc/include/sys/reent.h (struct _reent): The _sig_func type
11949 points to a function taking an integer, not void.
11951 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
11953 * configure.host: Add a define for Cygwin builds.
11954 * libc/include/ctype.h: Don't use dll imported variables in newlib.
11956 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
11958 * libc/include/ctype.h: Define _ctype_ as dll imported variable
11959 for use with Cygwin.
11960 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
11961 dll imported variables for use with Cygwin.
11962 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
11963 as a dll imported variable for Cygwin.
11965 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
11967 * libc/include/sys/unistd.h: Add proto for getpass.
11969 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
11971 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
11974 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
11976 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
11977 not posix_path_list_p.
11979 1998-12-15 Nick Clifton <nickc@cygnus.com>
11981 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
11984 1998-12-13 Nick Clifton <nickc@cygnus.com>
11986 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
11988 1998-12-12 Nick Clifton <nickc@cygnus.com>
11990 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
11991 <msalter@cygnus.com>
11992 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
11993 * libc/machine/fr30/Makefile.in: Regenerated.
11995 1998-12-11 Nick Clifton <nickc@cygnus.com>
11997 * configure.host: Remove use of libc/sys for FR30 port.
11998 * libc/sys/fr30: Remove directory (replaced by libgloss).
12000 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
12002 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
12003 * libc/string/strncat.c (ALIGNED): Ditto.
12005 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
12007 * libc/include/sys/time.h: include sys/types.h
12009 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
12011 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
12012 comparison found when checking word at a time.
12014 1998-12-04 Nick Clifton <nickc@cygnus.com>
12016 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
12018 1998-12-03 Nick Clifton <nickc@cygnus.com>
12020 * libc/sys/fr30/syscalls.c (_times): New function stub.
12022 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12024 * configure.host (mach_add_setjmp): Replaced mach_add_objs
12025 with mach_add_setjmp flag which indicates if setjmp should
12026 be added to the machine directory objects.
12027 * acinclude.m4: Removed reference to mach_add_objs.
12028 * aclocal.m4: Regenerated.
12029 * Makefile.in: Regenerated.
12030 * configure: Regenerated.
12031 * libc/aclocal.m4: Regenerated.
12032 * libc/Makefile.in: Regenerated.
12033 * libc/configure: Regenerated.
12034 * libc/machine/aclocal.m4: Regenerated.
12035 * libc/machine/Makefile.in: Regenerated.
12036 * libc/machine/configure: Regenerated.
12037 * libc/machine/i386/aclocal.m4: Regenerated.
12038 * libc/machine/i386/Makefile.am: Altered to selectively add
12039 setjmp.S to the src files list.
12040 * libc/machine/i386/Makefile.in: Regenerated.
12041 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
12042 * libc/machine/i386/configure: Regenerated.
12044 1998-12-02 Nick Clifton <nickc@cygnus.com>
12046 * libc/sys/fr30/crt0.s (_start): Fix function names.
12048 * libc/machine/fr30: New directory
12049 * libc/machine/fr30/Makefile.am: New file.
12050 * libc/machine/fr30/Makefile.in: New generated file.
12051 * libc/machine/fr30/configure.in: New file.
12052 * libc/machine/fr30/configure: New generated file.
12053 * libc/machine/fr30/aclocal.m4: New generated file.
12054 * libc/sys/fr30/Makefile.am: New file.
12055 * libc/sys/fr30/Makefile.in: New generated file.
12056 * libc/sys/fr30/configure.in: New file.
12057 * libc/sys/fr30/configure: New generated file.
12058 * libc/sys/fr30/syscalls.c: New file.
12060 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
12062 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
12064 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
12066 * libc/time/strftime.c (strftime): Also handle %y for years before
12069 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
12071 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
12072 UNIX convention. Perform tolower on characters before comparing
12073 them rather than use toupper.
12074 * libc/string/strncasecmp.c (strncasecmp): Ditto.
12076 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
12078 * configure.host: Added using i386 machine directory
12079 for all x86 cross-compiler and configuring
12080 which added object files to use via new "mach_add_objs" variable.
12081 * configure: Regenerated.
12082 * libc/configure: Regenerated.
12083 * libc/Makefile.in: Regenerated.
12084 * libc/aclocal.m4: Regenerated.
12085 * libc/ctype/Makefile.in: Regenerated.
12086 * libc/errno/Makefile.in: Regenerated.
12087 * libc/locale/Makefile.in: Regenerated.
12088 * libc/machine/Makefile.in: Regenerated.
12089 * libc/machine/aclocal.m4: Regenerated.
12090 * libc/machine/configure: Regenerated.
12091 * libc/posix/Makefile.in: Regenerated.
12092 * libc/reent/Makefile.in: Regenerated.
12093 * libc/signal/Makefile.in: Regenerated.
12094 * libc/stdio/Makefile.in: Regenerated.
12095 * libc/stdlib/Makefile.in: Regenerated.
12096 * libc/string/Makefile.in: Regenerated.
12097 * libc/string/memmove.c: Optimized code to use memcpy
12098 logic when performing a non-destructive copy.
12099 * libc/string/strncmp.c: Altered code to allow building
12100 optimized for size or speed.
12101 * libc/syscalls/Makefile.in: Regenerated.
12102 * libc/time/Makefile.in: Regenerated.
12103 * libc/unix/Makefile.in: Regenerated.
12104 * libc/machine/i386/Makefile.am: Added new files and reference
12105 to "mach_add_objs" to indicate optional object files.
12106 * libc/machine/i386/Makefile.in: Regenerated.
12107 * libc/machine/i386/aclocal.m4: Regenerated.
12108 * libc/machine/i386/configure: Regenerated.
12109 * libc/machine/i386/memchr.S: New file that implements
12110 function in Intel assembler.
12111 * libc/machine/i386/memcmp.S: ditto.
12112 * libc/machine/i386/memcpy.S: ditto.
12113 * libc/machine/i386/memmove.S: ditto.
12114 * libc/machine/i386/memset.S: ditto.
12115 * libc/machine/i386/strchr.S: ditto.
12116 * libc/machine/i386/strlen.S: ditto.
12117 * libc/machine/i386/f_atan2.S: New file that implements
12118 fast version of math function to be used by compiler when
12119 --ffast_math compile option is used.
12120 * libc/machine/i386/f_atan2f.S: ditto.
12121 * libc/machine/i386/f_exp.c: ditto.
12122 * libc/machine/i386/f_expf.c: ditto.
12123 * libc/machine/i386/f_frexp.S: ditto.
12124 * libc/machine/i386/f_frexpf.S: ditto.
12125 * libc/machine/i386/f_ldexp.S: ditto.
12126 * libc/machine/i386/f_ldexpf.S: ditto.
12127 * libc/machine/i386/f_log.S: ditto.
12128 * libc/machine/i386/f_logf.S: ditto.
12129 * libc/machine/i386/f_log10.S: ditto.
12130 * libc/machine/i386/f_log10f.S: ditto.
12131 * libc/machine/i386/f_math.h: New file.
12132 * libc/machine/i386/f_pow.c: ditto.
12133 * libc/machine/i386/f_powf.S: ditto.
12134 * libc/machine/i386/f_tan.S: ditto.
12135 * libc/machine/i386/f_tan.S: ditto.
12136 * libc/machine/i386/i386mach.h: New file.
12138 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
12140 patch from Mumit Khan <khan@xraylith.wisc.edu>
12141 * libc/include/stdio.h (tempnam): Add prototype.
12142 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
12143 (tempnam): Adhere to prototype.
12145 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
12147 * Makefile.am: Add default for AR_FLAGS.
12148 * Makefile.in: Regenerate.
12150 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
12152 * libc/include/time.h: move __cplusplus wrapper after includes
12153 * libc/include/sys/time.h: ditto. If Cygwin, include
12155 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
12157 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
12159 * libc/time/strftime.c (strftime): Handle %y after year 2000.
12161 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
12163 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
12164 abnormnal end-of-crt0 marker.
12166 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
12168 * libc/sys/fr30/crt0.s: New file/directory.
12169 * libc/include/machine/setjmp.h: Add FR30 target.
12170 * libc/include/machine/ieeefp.h: Add FR30 target.
12171 * configure.host: Add FR30 target.
12173 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12175 * libm/math: Files that are duplicated in common directory removed.
12176 * libm/math/fdlibm.h: Removed.
12177 * libm/math/s_cbrt.c: Removed.
12178 * libm/math/s_copysign.c: Removed.
12179 * libm/math/s_expm1.c: Removed.
12180 * libm/math/s_finite.c: Removed.
12181 * libm/math/s_ilogb.c: Removed.
12182 * libm/math/s_infinity.c: Removed.
12183 * libm/math/s_lib_ver.c: Removed.
12184 * libm/math/s_log1p.c: Removed.
12185 * libm/math/s_logb.c: Removed.
12186 * libm/math/s_matherr.c: Removed.
12187 * libm/math/s_modf.c: Removed.
12188 * libm/math/s_nan.c: Removed.
12189 * libm/math/s_nextafter.c: Removed.
12190 * libm/math/s_rint.c: Removed.
12191 * libm/math/s_scalbn.c: Removed.
12192 * libm/math/sf_cbrt.c: Removed.
12193 * libm/math/sf_copysign.c: Removed.
12194 * libm/math/sf_expm1.c: Removed.
12195 * libm/math/sf_finite.c: Removed.
12196 * libm/math/sf_ilogb.c: Removed.
12197 * libm/math/sf_infinity.c: Removed.
12198 * libm/math/sf_log1p.c: Removed.
12199 * libm/math/sf_logb.c: Removed.
12200 * libm/math/sf_modf.c: Removed.
12201 * libm/math/sf_nan.c: Removed.
12202 * libm/math/sf_nextafter.c: Removed.
12203 * libm/math/sf_rint.c: Removed.
12204 * libm/math/sf_scalbn.c: Removed.
12205 * libm/math/Makefile.am: Removed references to deleted files (above).
12206 * libm/math/Makefile.in: Regenerated.
12207 * libm/Makefile.am: Added common directory to math.
12208 * libm/Makefile.in: Regenerated.
12210 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12212 * libm/mathfp: Add non-ANSI functions.
12213 * libm/mathfp/e_acosh.c acosh(): New file.
12214 * libm/mathfp/e_atanh.c atanh(): New file.
12215 * libm/mathfp/e_hypot.c hypot(): New file.
12216 * libm/mathfp/e_j0.c j0(): New file.
12217 * libm/mathfp/e_j1.c j1(): New file.
12218 * libm/mathfp/e_remainder.c remainder(): New file.
12219 * libm/mathfp/e_scalb.c scalb(): New file.
12220 * libm/mathfp/ef_acosh.c acoshf(): New file.
12221 * libm/mathfp/ef_atanh.c atanhf(): New file.
12222 * libm/mathfp/ef_hypot.c hypotf(): New file.
12223 * libm/mathfp/ef_j0.c j0f(): New file.
12224 * libm/mathfp/ef_j1.c j1f(): New file.
12225 * libm/mathfp/ef_remainder.c remainderf(): New file.
12226 * libm/mathfp/ef_scalb.c scalbf(): New file.
12227 * libm/mathfp/er_gamma.c gamma_r: New file.
12228 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
12229 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
12230 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
12231 * libm/mathfp/w_cabs.c cabs(): New file.
12232 * libm/mathfp/w_drem.c drem(): New file.
12233 * libm/mathfp/w_jn.c jn(): New file.
12234 * libm/mathfp/wf_cabs.c cabsf(): New file.
12235 * libm/mathfp/wf_drem.c dremf(): New file.
12236 * libm/mathfp/wf_jn.c jnf(): New file.
12238 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
12240 * libc/sys/cygwin32: remove directory and contents
12241 * libc/sys/cygwin: and add back, losing the "32".
12242 * configure.host: check for cygwin* instead of cygwin32.
12243 * acinclude.m4: ditto.
12244 * aclocal.m4: regenerate with aclocal
12245 * configure: regenerate with autoconf
12247 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
12249 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
12252 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12254 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
12255 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
12256 to make rand/srand, strtok, asctime, localtime, w_gamma,
12257 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
12258 time.h to bring in struct tm definition.
12259 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
12260 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
12261 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
12262 instead of static variable.
12263 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
12264 struct reent instead of static variable.
12265 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
12266 struct reent instead of static variable.
12267 * libm/math/Makefile.am: Removed s_signgam.o.
12268 * libm/math/Makefile.in: Regenerated.
12269 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
12270 struct reent instead of global variable 'signgam'.
12271 * libm/math/w_lgamma.c (lgamma): Likewise.
12272 * libm/math/wf_gamma.c (gammaf): Likewise.
12273 * libm/math/wf_lgamma.c (lgammaf): Likewise.
12274 * libm/math/s_signgam.c: Removed.
12275 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
12277 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
12279 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
12280 libc/include/reent.h.
12281 * libc/reent/Makefile.in: Regenerated.
12282 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
12284 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
12285 'JIS_action_table' to be const.
12286 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
12288 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
12290 * acinclude.m4: $with_target_subdir should default to '.'
12291 or confusion results when configuring in same directory as sources.
12292 * Regenerate all aclocal.m4 and configure files.
12294 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
12296 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
12297 can be set by defining MALLOC_ALIGNMENT=16. Also added support
12298 for platforms where sizeof(size_t) < sizeof(long) via
12299 SIZE_T_SMALLER_THAN_LONG macro.
12301 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
12303 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
12304 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
12305 which sets _CLOCKS_PER_SEC_ for selected machines.
12306 * libc/include/machine/time.h: New file.
12308 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12310 * libc/syscalls/sysexecve.c: New file.
12311 * libc/syscalls/sysgettod.c: New file.
12312 * libc/syscalls/systimes.c: New file.
12313 * libc/syscalls/Makefile.am: Added new objects.
12314 * libc/syscalls/Makefile.in: Regenerated.
12315 * libc/include/_syslist.h (_execve): Moved define in file.
12316 * libc/include/reent.h: Added _execve_r declaration.
12317 * libc/Makefile.in: Regenerated.
12318 * libc/ctype/Makefile.in: Regenerated.
12319 * libc/errno/Makefile.in: Regenerated.
12320 * libc/locale/Makefile.in: Regenerated.
12321 * libc/machine/Makefile.in: Regenerated.
12322 * libc/misc/Makefile.in: Regenerated.
12323 * libc/posix/Makefile.in: Regenerated.
12324 * libc/reent/Makefile.in: Regenerated.
12325 * libc/reent/execr.c (_execve_r): Added _execve_r function.
12326 * libc/signal/Makefile.in: Regenerated.
12327 * libc/stdio/Makefile.in: Regenerated.
12328 * libc/time/Makefile.in: Regenerated.
12329 * libc/unix/Makefile.in: Regenerated.
12330 * libm/mathfp/Makefile.in: Regenerated.
12332 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12334 * libc/string/Makefile.in: Regenerated.
12335 * libc/string/memchr.c (memchr): Moved code to reduce object size.
12336 * libc/string/memcpy.c (memcpy): Ditto.
12337 * libc/string/memcmp.c (memcmp): Ditto.
12338 * libc/string/memset.c (memset): Ditto.
12339 * libc/string/strchr.c (strchr): Ditto.
12340 * libc/string/strcmp.c (strcmp): Ditto.
12341 * libc/string/strcpy.c (strcpy): Ditto.
12342 * libc/string/strlen.c (strlen): Ditto.
12344 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12346 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
12347 to generate aclocal.m4.
12348 * libm/Makefile.in: Regenerated.
12349 * libm/aclocal.m4: Regenerated.
12350 * libm/configure: Regenerated.
12351 * libm/math/Makefile.in: Regenerated.
12352 * libm/mathfp/Makefile.in: Regenerated.
12354 1998-09-25 Mark Salter <msalter@cygnus.com>
12356 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
12357 by adding leading and trailing underscores to symbol names.
12359 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
12361 * Makefile.in: Add default for AR_FLAGS.
12363 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
12365 patch from ian@airs.com (Ian Taylor):
12366 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
12367 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
12368 is needed for detecting the build machine. Required for
12369 cygwin native builds.
12371 * Regenerate all aclocal.m4 and configure files.
12373 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
12375 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
12376 used to start with LC.
12378 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12380 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
12381 (longjmp): Likewise.
12383 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12385 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
12386 the test for small number of bytes.
12388 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
12390 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
12391 math library that uses floating point algorithms instead of the old
12393 * Makefile.in: Regenerate with automake version 1.3b.
12394 * configure: Rebuild.
12395 * libm/Makefile.in: Regenerate with automake version 1.3b.
12396 * libm/aclocal.m4: Regenerate.
12397 * libm/configure: Rebuild.
12398 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
12399 * libm/acinclude.m4: Define macros for configure.in.
12400 * libm/config.h.in: Generate.
12401 * libm/mathfp/Makefile.am: New file.
12402 * libm/mathfp/Makefile.in: Generate.
12403 * libm/mathfp/s_acos.c (acos): New file.
12404 * libm/mathfp/s_asin.c (asin): New file.
12405 * libm/mathfp/s_asine.c (asine): New file.
12406 * libm/mathfp/s_atan.c (atan): New file.
12407 * libm/mathfp/s_atan2.c (atan2): New file.
12408 * libm/mathfp/s_atangent.c (atangent): New file.
12409 * libm/mathfp/s_ceil.c (ceil): New file.
12410 * libm/mathfp/s_copysign.c (copysign): New file.
12411 * libm/mathfp/s_cos.c (cos): New file.
12412 * libm/mathfp/s_cosh.c (cosh): New file.
12413 * libm/mathfp/s_exp.c (exp): New file.
12414 * libm/mathfp/s_fabs.c (fabs): New file.
12415 * libm/mathfp/s_finite.c (finite): New file.
12416 * libm/mathfp/s_floor.c (floor): New file.
12417 * libm/mathfp/s_fmod.c (fmod): New file.
12418 * libm/mathfp/s_frexp.c (frexp): New file.
12419 * libm/mathfp/s_infconst.c: New file.
12420 * libm/mathfp/s_isinf (isinf).c: New file.
12421 * libm/mathfp/s_isnan.c (isnan): New file.
12422 * libm/mathfp/s_ispos.c (ispos): New file.
12423 * libm/mathfp/s_ldexp.c (ldexp): New file.
12424 * libm/mathfp/s_log.c (log): New file.
12425 * libm/mathfp/s_log10.c (log10): New file.
12426 * libm/mathfp/s_logarithm.c (logarithm): New file.
12427 * libm/mathfp/s_mathcnst.c: New file.
12428 * libm/mathfp/s_modf (modf).c: New file.
12429 * libm/mathfp/s_numtest.c (numtest): New file.
12430 * libm/mathfp/s_pow.c (pow): New file.
12431 * libm/mathfp/s_scalbn.c (scalbn): New file.
12432 * libm/mathfp/s_sin (sin).c: New file.
12433 * libm/mathfp/s_sine.c (sine): New file.
12434 * libm/mathfp/s_sineh.c (sineh): New file.
12435 * libm/mathfp/s_sinf.c (sinf): New file.
12436 * libm/mathfp/s_sinh.c (sinh): New file.
12437 * libm/mathfp/s_sqrt.c (sqrt): New file.
12438 * libm/mathfp/s_tan.c (tan): New file.
12439 * libm/mathfp/s_tanh.c (tanh): New file.
12440 * libm/mathfp/sf_acos.c (acosf): New file.
12441 * libm/mathfp/sf_asin.c (asinf): New file.
12442 * libm/mathfp/sf_asine.c (asinef): New file.
12443 * libm/mathfp/sf_atan.c (atanf): New file.
12444 * libm/mathfp/sf_atan2.c (atan2f): New file.
12445 * libm/mathfp/sf_atangent.c (atangent): New file.
12446 * libm/mathfp/sf_ceil.c (ceilf): New file.
12447 * libm/mathfp/sf_copysign.c (copysignf): New file.
12448 * libm/mathfp/sf_cos.c (cosf): New file.
12449 * libm/mathfp/sf_cosh.c (coshf): New file.
12450 * libm/mathfp/sf_exp.c (expf): New file.
12451 * libm/mathfp/sf_fabs.c (fabsf): New file.
12452 * libm/mathfp/sf_finite.c (finitef): New file.
12453 * libm/mathfp/sf_floor.c (floorf): New file.
12454 * libm/mathfp/sf_fmod.c (fmodf): New file.
12455 * libm/mathfp/sf_frexp.c (frexpf): New file.
12456 * libm/mathfp/sf_isinf.c (isinff): New file.
12457 * libm/mathfp/sf_isnan.c (isnanf): New file.
12458 * libm/mathfp/sf_ispos.c (isposf): New file.
12459 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
12460 * libm/mathfp/sf_log.c (logf): New file.
12461 * libm/mathfp/sf_log10.c (log10f): New file.
12462 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
12463 * libm/mathfp/sf_modf.c (modff): New file.
12464 * libm/mathfp/sf_numtest.c (numtestf): New file.
12465 * libm/mathfp/sf_pow.c (powf): New file.
12466 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
12467 * libm/mathfp/sf_sin.c (sinf): New file.
12468 * libm/mathfp/sf_sine.c (sinef): New file.
12469 * libm/mathfp/sf_sineh.c (sinehf): New file.
12470 * libm/mathfp/sf_sinh.c (sinhf): New file.
12471 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
12472 * libm/mathfp/sf_tan.c (tanf): New file.
12473 * libm/mathfp/sf_tanh.c (tanhf): New file.
12474 * libm/mathfp/zmath.h: New file.
12476 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12478 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
12479 exit if it has been overwritten by pre-fetching in delay slot.
12481 1998-09-01 Michael Meissner <meissner@cygnus.com>
12483 * Makefile.am (tooldir): Add in host_alias, so that multilib
12484 libraries are installed in the directory the compiler looks in.
12485 * Makefile.in: Regenerate.
12487 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
12489 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
12491 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
12492 ahead of test for number of bytes being moved.
12494 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
12496 * libc/include/sys/unistd.h: Nothing special needed for
12497 _exit under cygwin.
12499 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
12501 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
12502 conform to user label naming conventions.
12504 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
12506 * libc/sys/cygwin32/sys/utime.h: variable names in
12507 protos should start with two leading underscores
12508 * libc/include/string.h: ditto
12509 * libc/include/sys/signal.h: ditto
12510 * libc/include/sys/stat.h: ditto
12511 * libc/include/sys/time.h: ditto
12512 * libc/include/sys/unistd.h: ditto
12513 * libc/include/ctype.h: ditto
12514 * libc/include/stdlib.h: ditto
12515 * libc/include/sys/reent.h: struct _atexit function ptr takes a
12516 void, same with _sig_func.
12518 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
12520 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
12521 for MB_CAPABLE to reduce code size when newlib is not configured
12522 with --enable-newlib-mb.
12523 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
12524 mbtowc_r.o to minimize size.
12525 * libc/stdlib/Makefile.in: Rebuild.
12527 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
12529 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
12531 * libc/sys/sparc64/Makefile.in: Rebuild.
12533 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
12535 * Makefile.am (MAKEOVERRIDES): Define.
12536 * Makefile.in: Rebuild.
12538 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
12540 * libc/sys/sparc64/sys/stat.h (stat): Add const.
12542 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
12544 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
12545 newlib_cflags when looking for targ-include.
12546 * */aclocal.m4, */configure: Rebuild.
12548 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
12550 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
12553 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
12555 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
12556 on SPARCs with little-endian data.
12557 * libc/include/machine/ieeefp.h: Ditto.
12559 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
12561 * acinclude.m4: Handle a relative srcdir correctly when setting
12563 * */aclocal.m4, */configure: Rebuild.
12565 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
12567 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
12568 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
12569 * libm/math/wrf_gamma.c (gammaf_r): ditto
12570 * libm/math/wr_lgamma.c (lgamma_r): ditto
12571 * libm/math/wr_gamma.c (gamma_r): ditto
12572 * libm/math/wf_sqrt.c (sqrtf): ditto
12573 * libm/math/wf_sinh.c (sinhf): ditto
12574 * libm/math/wf_scalb.c (scalbf): ditto
12575 * libm/math/wf_remainder.c (remainderf): ditto
12576 * libm/math/wf_pow.c (powf): ditto
12577 * libm/math/wf_log10.c (log10f): ditto
12578 * libm/math/wf_log.c (logf): ditto
12579 * libm/math/wf_lgamma.c (lgammaf): ditto
12580 * libm/math/wf_jn.c (jnf, ynf): ditto
12581 * libm/math/wf_j1.c (j1f, y1f): ditto
12582 * libm/math/wf_j0.c (j0f, y0f): ditto
12583 * libm/math/wf_hypot.c (hypotf): ditto
12584 * libm/math/wf_gamma.c (gammaf): ditto
12585 * libm/math/wf_fmod.c (fmodf): ditto
12586 * libm/math/wf_exp.c (expf): ditto
12587 * libm/math/wf_cosh.c (coshf): ditto
12588 * libm/math/wf_atanh.c (atanhf): ditto
12589 * libm/math/wf_atan2f.c (atan2f): ditto
12590 * libm/math/wf_asin.c (asinf): ditto
12591 * libm/math/wf_acosh.c (acoshf): ditto
12592 * libm/math/wf_acos.c (acosf): ditto
12593 * libm/math/w_sqrt.c (sqrt): ditto
12594 * libm/math/w_sinh.c (sinh): ditto
12595 * libm/math/w_scalb.c (scalb): ditto
12596 * libm/math/w_remainder.c (remainder): ditto
12597 * libm/math/w_pow.c (pow): ditto
12598 * libm/math/w_log10.c (log10): ditto
12599 * libm/math/w_log.c (log): ditto
12600 * libm/math/w_lgamma.c (lgamma): ditto
12601 * libm/math/w_jn.c (jn, yn): ditto
12602 * libm/math/w_j1.c (j1, y1): ditto
12603 * libm/math/w_j0.c (j0, y0): ditto
12604 * libm/math/w_hypot.c (hypot): ditto
12605 * libm/math/w_gamma.c (gamma): ditto
12606 * libm/math/w_fmod.c (fmod): ditto
12607 * libm/math/w_exp.c (exp): ditto
12608 * libm/math/w_cosh.c (cosh): ditto
12609 * libm/math/w_atanh.c (atanh): ditto
12610 * libm/math/w_atan2f.c (atan2): ditto
12611 * libm/math/w_asin.c (asin): ditto
12612 * libm/math/w_acosh.c (acosh): ditto
12613 * libm/math/w_acos.c (acos): ditto
12615 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
12617 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
12618 (fsrc): Add wf_cabs.c and wf_drem.c.
12619 * libm/math/Makefile.in: Rebuild.
12621 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
12622 unused directory variables. Remove duplicate CFLAGS.
12623 * Makefile.in: Rebuild.
12625 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
12626 with $(CC_FOR_BUILD).
12627 (makedoc.o): Likewise.
12628 * doc/Makefile.in: Rebuild.
12630 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
12631 force a definition of COMPILE.
12632 (libfoo_a_SOURCES): Define.
12633 * libc/sys/cygwin32/Makefile.in: Rebuild.
12634 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
12635 force a definition of COMPILE.
12636 (libfoo_a_SOURCES): Define.
12637 * libc/sys/tic80/Makefile.in: Rebuild.
12639 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
12641 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
12644 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
12646 * Build using autoconf and automake. Added many Makefile.am and
12647 configure.in files, plus generated files. Old configure.in files
12648 and all old Makefile.in files completely replaced. Removed
12649 host/any. Added acinclude.m4 and configure.host.
12651 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
12653 * libc/stdio/vfprintf.c: enable long long support, sometimes.
12654 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
12656 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12658 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
12659 * libc/machine/sh/Makefile.in: Add rules for new files.
12661 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12663 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
12664 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
12665 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
12667 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
12669 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
12672 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
12674 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
12675 internal static buffer when s is NULL, as prescribed by ANSI.
12677 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
12679 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
12681 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
12682 libc/stdlib will be used for h8300hms.
12684 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
12686 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
12687 version that can be built either for speed or size.
12688 * libc/machine/mn10300/memset.S (_memset): ditto
12689 * libc/machine/mn10300/memchr.S (_memchr): ditto
12690 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
12691 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
12692 * libc/machine/mn10300/strchr.S (_strchr): ditto
12693 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
12694 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
12695 * libc/machine/mn10300/Makefile.in: Added entries for
12696 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
12697 strcmp.o, strcpy.o, and strlen.o.
12699 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
12701 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
12702 been replaced with libgloss/mn10200.
12704 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
12706 * libc/string/strchr.c (strchr): Make s a constant pointer to
12709 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
12711 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
12712 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
12713 board SWIs instead of Demon board SWIs).
12715 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
12717 * libc/string/strncat.c (strncat): Make -Os act the same as
12718 PREFER_SIZE_OVER_SPEED being defined.
12720 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
12722 * libc/string/memchr.c (memchr): Make -Os act the same as
12723 PREFER_SIZE_OVER_SPEED being defined.
12724 * libc/string/memcmp.c (memcmp): Ditto.
12725 * libc/string/memcpy.c (memcpy): Ditto.
12726 * libc/string/memset.c (memset): Ditto.
12727 * libc/string/strcat.c (strcat): Ditto.
12728 * libc/string/strchr.c (strchr): Ditto.
12729 * libc/string/strcmp.c (strcmp): Ditto.
12730 * libc/string/strcpy.c (strcpy): Ditto.
12731 * libc/string/strlen.c (strlen): Ditto.
12732 * libc/string/strncat.c (strncat): Ditto.
12733 * libc/string/strncmp.c (strncmp): Ditto.
12734 * libc/string/strncpy.c (strncpy): Ditto.
12736 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
12738 * libc/include/sys/itimer.h: remove
12739 * libc/include/sys/time.h: itimer stuff should be here
12741 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
12743 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
12744 bit instead of comparing to 0 so -0.0 can be printed correctly.
12746 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12748 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
12750 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
12752 * libc/include/sys/unistd.h: fix sync() proto
12753 * libc/include/sys/fcntl.h: remove _close which is already
12754 defined in unistd.h.
12755 * libc/include/sys/time.h: add getitimer proto
12757 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
12759 * libc/string/strchr.c: convert arg to unsigned char
12760 * libc/include/stdlib.h: add protos for random, srandom
12761 * libc/include/sys/stat.h: add lstat proto
12762 * libc/include/sys/time.h: add setitimer proto
12763 * libc/include/sys/unistd.h: add readlink, symlink protos
12764 * libc/include/process.h: instead of including windows.h and using
12765 HANDLEs in sexec protos, just use void *s. Need to include
12768 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
12770 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
12772 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
12774 * libc/include/process.h: add secure exec protos
12776 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
12778 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
12779 which are accessed as both doubles and integers.
12780 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
12781 * libc/stdlib/strtod.c (_strtod_r): Likewise.
12782 * libc/stdlib/mprec.h: Add "union double_union" and change
12783 word0/word1 macros to use it.
12785 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
12787 * libc/include/sys/signal.h: add __cplusplus wrapper
12789 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
12791 * libc/include/sys/utime.h: new generic file that gets replaced by
12792 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
12794 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
12795 * libc/include/time.h: remove duplicate utime proto
12796 * libc/include/utime.h: add comment
12798 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
12800 * libc/include/sys/time.h: Add missing include to
12801 allow use of _EXFUN. Remove times function that is
12802 already defined in times.h.
12804 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
12806 * libc/include/time.h: Fix typo in tzset.
12808 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
12810 * libc/include/sys/time.h: add missing Cygwin32 function protos
12811 * libc/include/sys/unistd.h: ditto
12812 * libc/include/time.h: ditto
12814 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
12816 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
12818 * libc/include/sys/types.h: add a new __MS_types__ section
12819 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
12820 __BIT_TYPES_DEFINED__.
12822 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
12824 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
12825 since it overrides the one in libc/include/sys. Also, start
12828 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
12830 * libm/math/Makefile.in: add s_signgam.o to obj list
12832 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
12834 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
12836 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
12838 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
12839 so don't use defines.
12841 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
12843 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
12845 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
12847 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
12848 _current_locale as default locale.
12850 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
12852 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
12853 insufficient space in a chunk.
12855 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
12857 * configure.in (links): Added check for --enable-newlib-mb configure
12858 option which defines the MB_CAPABLE macro.
12859 * libc/locale/locale.c (_setlocale_r): Added support for setting
12860 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
12862 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
12863 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
12864 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
12865 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
12866 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
12867 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
12868 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
12869 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
12870 * libc/stdlib/Makefile.in: Added new multibyte
12871 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
12872 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
12873 _mbstowcs_r(), and _wcstombs_r().
12874 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
12875 for JIS, SJIS, and EUC-JP characters.
12876 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
12877 MB_CAPABLE defined.
12878 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
12879 MB_CAPABLE defined.
12880 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
12881 MB_CAPABLE defined.
12882 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
12883 if MB_CAPABLE defined.
12884 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
12885 if MB_CAPABLE defined.
12886 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
12887 to the format string processing when MB_CAPABLE.
12888 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
12891 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
12893 The following modifications are courtesy of Anthony Thompson,
12894 athompson@cambridge.arm.com:
12895 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
12896 boith RDI and RDP monitors.
12897 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
12898 RDI and RDP monitors.
12900 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
12902 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
12903 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
12904 (_swiopen): Fixed open flags to treat write with append as just append.
12905 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
12906 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
12908 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12910 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
12911 When needing to transfer an initial 2-byte-word, store as
12914 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12916 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
12918 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
12919 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
12921 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
12923 * configure.in (target_cflags): If --enable-target-optspace, use
12924 -Os to compile newlib rather than -O2. Default to using -Os for
12925 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
12928 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
12930 * libc/include/machine/setjmp.h: change sigsetjmp and
12931 siglongjmp definitions to use an array instead of a struct
12934 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
12936 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
12938 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
12940 * libc/string/strxfrm.c: fix to get correct return value
12942 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
12944 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
12945 builds. Make mode change labels global so that they will be seen
12948 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
12950 * configure.in (links): Do not use ARM debiugging protocols for PE
12953 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
12956 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
12958 * libc/stdio/findfp.c (__sinit): Made stdout default to
12959 line buffered mode as defined by ANSI.
12961 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
12963 * libc/include/sys/itimer.h: New file.
12965 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
12967 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12969 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
12972 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
12974 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
12977 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
12979 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
12981 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
12983 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
12986 * libc/include/machine/setjmp.h: Add D30V support.
12988 * configure.in (d30v-*): Add d30v machine directory.
12990 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
12992 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
12993 been replaced with libgloss/mn10300.
12995 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
12997 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
12998 it is no longer needed.
13000 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13002 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
13004 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
13006 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
13007 the file when O_APPEND is set, wherever the EOF happens to be at
13010 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
13012 patch from cgf@bbc.com (Christopher Faylor):
13013 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
13014 convention of closing fp prior to attempting to open the file
13015 argument. This allows correct operation when reopening
13016 stdin/stdout/stderr. Replaces last freopen.c patch.
13018 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
13020 patch from cgf@bbc.com (Christopher Faylor):
13021 * libc/stdio/freopen.c: freopen was not preserving the fd
13022 of the stream being operated on. This confuses programs that
13023 expect that the handles for stdout and stderr will be 1 and 2.
13025 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
13027 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
13029 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
13031 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
13033 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
13035 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
13036 altered to not use a branch. Also added hint that last
13037 bclr in longjmp will likely result in branch.
13040 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
13042 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
13044 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
13046 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
13049 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
13051 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
13053 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
13054 that loads FR14 to specify offset of 8 rather than 4
13055 so it loads from offset 96 (where setjmp stored it).
13057 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13059 * libc/machine/sh/memcpy.S: (_memcpy): Update to
13060 latest version supplied by customer.
13061 * libc/machine/sh/memset.S (_memset): Ditto.
13063 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
13065 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
13068 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
13070 * libc/include/string.h: remove redefinition of ffs
13072 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
13074 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
13077 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
13079 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
13080 TI Libraries to link to libc.a
13082 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
13084 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
13085 * libc/include/sys/stat.h (_{,f}stat): Ditto.
13086 * libc/include/sys/wait.h (_wait): Ditto.
13087 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
13088 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
13090 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
13092 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
13093 minded stabs so function name shows up when running the simulator
13095 * libc/sys/d10v/{crt0,trap}.S: Ditto.
13097 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
13099 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
13100 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
13101 Use R5 where we used to use R3.
13103 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
13105 * libc/stdlib/getopt.c (getopt): replaced __progname
13106 with nargv[0] to improve portability to imbedded systems.
13108 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
13110 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
13111 patch supplied by Tont.Thompson@arm.com to fix the creation of the
13114 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
13116 * libc/stdio/tmpnam.c (worker): Generate a different file name
13119 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
13120 fails, try an execlp for sh.
13122 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
13123 option for the winsup include directory.
13125 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
13127 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
13128 debugging interface from Tony.Thompson@arm.com.
13130 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
13131 * libc/sys/arm/swi.h: ditto.
13133 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
13135 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
13136 DIR struct used for readdir hashes.
13138 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
13140 * libc/string/strchr.c: Use "unsigned chars" as necessary.
13142 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
13144 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
13147 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
13149 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
13150 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
13151 * libc/include/malloc.h: Add extern "C" if __cplusplus.
13152 (__malloc_copy): Declare.
13154 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
13156 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
13158 (POINTER_UINT): Define.
13159 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
13160 (MALLOC_ALIGNMENT): Don't define if already defined.
13161 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
13164 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
13166 * libc/string/memset.c (memset): Fiddle with code so that the long
13167 value being stored is not a stack value. Unroll storing longs 4
13170 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
13172 * Reduce code size for libm modules.
13173 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
13174 and simply move code into sqrt.
13175 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
13176 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
13177 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
13178 * libm/math/wr_gamma.c (gamma_r): Likewise.
13179 * libm/math/wf_sinh.c (sinfh): Likewise.
13180 * libm/math/w_sinh.c (sinh): Likewise.
13181 * libm/math/wf_scalb.c (scalbf): Likewise.
13182 * libm/math/w_scalb.c (scalb): Likewise.
13183 * libm/math/wf_remainder.c (remainderf): Likewise.
13184 * libm/math/w_remainder.c (remainder): Likewise.
13185 * libm/math/wf_pow.c (powf): Likewise.
13186 * libm/math/w_pow.c (pow): Likewise.
13187 * libm/math/wf_log10.c (log10f): Likewise.
13188 * libm/math/w_log10.c (log10): Likewise.
13189 * libm/math/wf_log.c (logf): Likewise.
13190 * libm/math/w_log.c (log): Likewise.
13191 * libm/math/w_lgamma.c (lgamma): Likewise.
13192 * libm/math/wf_lgamma.c (lgammaf): Likewise.
13193 * libm/math/wf_jn.c (jnf): Likewise.
13194 * libm/math/w_jn.c (jn): Likewise.
13195 * libm/math/wf_j1.c (j1f): Likewise.
13196 * libm/math/w_j1.c (j1): Likewise.
13197 * libm/math/wf_j0.c (j0f): Likewise.
13198 * libm/math/w_j0.c (j0): Likewise.
13199 * libm/math/wf_hypot.c (hypotf): Likewise.
13200 * libm/math/w_hypot.c (hypot): Likewise.
13201 * libm/math/wf_gamma.c (gammaf): Likewise.
13202 * libm/math/w_gamma.c (gamma): Likewise.
13203 * libm/math/wf_fmod.c (fmodf): Likewise.
13204 * libm/math/w_fmod.c (fmod): Likewise.
13205 * libm/math/wf_exp.c (expf): Likewise.
13206 * libm/math/w_exp.c (exp): Likewise.
13207 * libm/math/wf_cosh.c (coshf): Likewise.
13208 * libm/math/w_cosh.c (cosh): Likewise.
13209 * libm/math/wf_atanh.c (atanhf): Likewise.
13210 * libm/math/w_atanh.c (atanh): Likewise.
13211 * libm/math/wf_atan2.c (atan2f): Likewise.
13212 * libm/math/w_atan2.c (atan2): Likewise.
13213 * libm/math/wf_asin.c (asinf): Likewise.
13214 * libm/math/w_asin.c (asin): Likewise.
13215 * libm/math/wf_acosh.c (acoshf): Likewise.
13216 * libm/math/w_acosh.c (acosh): Likewise.
13217 * libm/math/wf_acos.c (asocf): Likewise.
13218 * libm/math/w_acos.c (acos): Likewise.
13219 * libm/math/wf_sqrt.c (sqrtf): Likewise.
13220 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
13221 for embedded systems.
13223 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
13225 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
13226 Lea in case of a foreign sbrk.
13228 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
13230 Incorporate Doug Lea's malloc:
13231 * libc/stdlib/mallocr.c: Completely replaced.
13232 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
13234 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
13235 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
13237 (mallinfo, malloc_stats, mallopt): New functions.
13238 (_mstats_r): Just call _malloc_stats_r.
13239 * libc/stdlib/malign.c: New file.
13240 * libc/stdlib/mlock.c: New file.
13241 * libc/stdlib/msize.c: New file.
13242 * libc/stdlib/mtrim.c: New file.
13243 * libc/stdlib/realloc.c: New file.
13244 * libc/stdlib/valloc.c: New file.
13245 * libc/stdlib/malloc.h: Remove.
13246 * libc/stdlib/callocr.c: Remove.
13247 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
13248 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
13249 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
13250 reallocr.o, valloc.o, vallocr.o.
13251 (CHEWOUT_FILES): Add mlock.def, mstats.def.
13252 (MALLOC_CFLAGS): New variable.
13253 (mallocr.o): New target, build from mallocr.c.
13254 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
13255 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
13256 (msizer.o, malloptr.o): Likewise.
13257 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
13258 (valloc.o): New target.
13259 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
13260 * libc/include/malloc.h: Declare struct mallinfo, and new
13262 * libc/include/stdlib.h (cfree): Correct declaration.
13264 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
13266 * libc/include/machine/setjmp.h: Add support for Thumb target.
13268 * libc/include/machine/ieeefp.h: Add support for Thumb target.
13270 * configure.in (links): Add support for Thumb target.
13272 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
13274 * libc/sys/arm/setjmp.S: Updated with version from branch.
13276 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
13278 * libc/include/stdio.h: add POSIX-required define L_ctermid
13281 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
13283 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
13284 addition to MISSING_SYSCALL_NAMES.
13286 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13288 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
13290 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
13292 * libc/include/string.h: change strsignal proto to return
13293 a char *. This eliminates compile problems in gdb resulting
13294 from gdb's definition of strsignal in defs.h.
13296 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
13298 * libc/sys/cygwin32/sys/utime.h: new (moved here from
13299 winsup/include) so as not to conflict with the one in
13301 * libc/include/string.h: add protos for strsignal, strtosigno
13303 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
13305 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
13307 * configure.in (d30v-*-*): Add configuration.
13309 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
13311 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
13312 to select which kind of debug monitor is in use for an ARM target.
13314 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
13315 Angel and Demon debug monitors. Part of this code was supplied by
13316 Tony Thompson at ARM: athompso@arm.com.
13318 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
13320 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
13321 semantics when the count is greater than the length of the second
13324 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
13326 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
13327 * libc/include/sys/unistd.h: add protos for usleep, truncate,
13328 truncate and ftruncate take off_t, not size_t
13330 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
13332 * libc/string/strcat.c (strcat): Add missing comment end.
13333 * libc/string/strncat.c (strncat): Likewise.
13335 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
13337 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
13339 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
13340 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
13342 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13343 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13344 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13346 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
13348 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
13349 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
13351 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
13353 * libc/machine/i386/setjmp.S: New file.
13354 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
13355 (OFILES): Add setjmp.o.
13356 (setjmp.o): Add rule for.
13357 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
13359 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
13360 Jeffrey A Law (law@cygnus.com)
13362 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
13363 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
13364 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
13365 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
13367 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
13369 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
13372 * libc/include/sys/config.h: Use __v850 to select v850
13375 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
13378 * libc/include/machine/ieeefp.h: Use __v850 to select v850
13381 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
13383 * libc/stdlib/setenv.c: change unsetenv definition to match
13384 style of setenv (with _DEFUN). The string should be a const.
13385 * libc/include/stdlib.h: unsetenv proto should return void.
13387 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
13389 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
13391 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
13393 * libc/stdio/glue.h: remove.
13394 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
13395 * libc/stdio/Makefile.in: remove glue.h dependencies
13397 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
13399 * libc/sys/sysnecv850/crt0.S: Created V850e version.
13401 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
13403 * configure.in (target_cpu): Add `arc'.
13405 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
13407 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
13408 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
13409 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
13410 * newlib/libc/reent/reent.c: Add _wrapup_reent.
13411 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
13413 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
13415 * libc/machine/mips/setjmp.S: Handle mips16 builds.
13417 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
13419 * libc/include/stdio.h (siprintf): Declare.
13421 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
13423 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
13424 TARGET_CFLAGS and NEWLIB_FLAGS.
13426 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13428 * configure.in (links): Add support for v850ea target.
13430 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
13432 * configure.in (links): Add support for v850e target.
13434 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
13436 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
13438 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
13440 * configure.in (arc-*-*): Add support for.
13441 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
13443 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
13445 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
13447 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
13449 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
13450 comparison which accesses invalid memory when the key is
13451 larger than the last member of the array.
13452 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
13454 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
13456 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
13458 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
13461 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
13463 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
13464 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
13466 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
13468 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
13469 to load/store memory.
13471 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
13473 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
13474 underscores if _WIN32.
13476 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
13478 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
13479 support ifdef _USE_WRITE missed in last change.
13480 From Anders Blomdell <anders.blomdell@control.lth.se>.
13482 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
13484 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
13485 (_tmpnam_r, _tempnam_r): Update.
13487 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
13489 * libc/machine/sparc/setjmp.S: New file.
13490 * libc/machine/sparc/Makefile.in: Add setjmp.
13491 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
13493 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
13495 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
13497 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
13499 From Joel Sherrill <joel@oarcorp.com>.
13500 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
13502 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
13503 * configure.in: Recognize *-*-rtems*.
13504 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
13505 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
13506 time.h,times.h,types.h}: New files.
13507 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
13509 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
13511 patch from sos@prospect.com.ru (Sergey Okhapkin):
13512 * include/sys/wait.h: correct operator precidence bug
13515 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
13517 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
13518 with newlib's unsetenv function
13519 * libc/sys/cygwin32/sys: new directory for includes
13520 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
13521 here from winsup/include/sys
13523 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
13525 * libc/include/sys/unistd.h: _exit should only be
13526 labelled noreturn when not __CYGWIN32__
13527 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
13528 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
13531 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
13533 * libc/include/sys/time.h: Only define timeval and timezone if
13534 _GNU_H_WINDOWS32_SOCKETS is not defined.
13535 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
13537 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
13539 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
13540 * libc/machine/mn10300/setjmp.S: Likewise.
13542 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
13543 the mn10300 (more relaxing opportunities).
13545 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
13547 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
13548 Build libraries with -mstrict-align.
13550 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
13552 * libc/string/strlwr.c: New file.
13553 * libc/string/strupr.c: New file.
13554 * libc/include/string.h: Declare strlwr and strupr.
13555 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
13556 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
13557 (strlwr.o, strupr.o): New targets.
13558 * libc/string/strings.tex: Include strlwr and strupr docs.
13560 * libc/include/sys/types.h: Don't define u_char, et. al., if
13561 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
13562 et. al. Make FD_SETSIZE default 64 rather than 60. Define
13563 _types_fd_set rather than fd_set, and define fd_set as a macro.
13565 * libc/include/malloc.h: New file.
13567 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
13568 strnicmp if they are not already defined.
13570 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
13571 _timezone, _daylight, and _tzname.
13573 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
13575 * configure.in: Sort all configuration tables.
13577 From Joel Sherrill <joel@oarcorp.com>
13578 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
13580 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
13582 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
13583 use int when declaring kill.
13585 * libc/include/sys/timeb.h: New file.
13587 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
13589 * libc/include/sys/time.h: add itimer support for Cygwin32
13591 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
13593 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
13594 out a message that abort was called to stderr.
13596 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
13598 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
13599 so that libio doesn't freak.
13601 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
13604 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
13605 memory sizes, not int.
13607 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
13609 * libm/math/ef_hypot.c: Use long constants where
13611 * libm/math/ef_sqrt.c: Ditto.
13613 * libc/sys/sysmec/times.c(_times): Change to times.
13615 * libc/sys/sysmec/read.c(_read): The third argument is
13617 * libc/sys/sysmec/write.c (_write): Ditto.
13619 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
13620 (_lseek): It's off_t for the second argument.
13622 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
13624 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
13625 as well as machine/ieeefp.h.
13627 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
13629 * libc/include/sys/signal.h: add signal protos for winsup
13630 functions (when __CYGWIN32__), include types.h
13631 * libc/include/sys/types.h: Change __go32_types__ internal
13632 define to __MS_types__ since it's used for more than just
13633 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
13635 * libc/include/sys/unistd.h: add ftruncate proto for
13636 winsup functions (when __CYGWIN32__)
13638 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
13640 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
13642 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
13644 * libc/include/machine/setjmp.h: Add tic80 support.
13645 * libc/machine/tic80/setjmp.S: Likewise.
13647 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
13649 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
13650 link programs from libraries only (such as in the X11
13653 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
13655 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
13656 supplied elsewhere in newlib.
13658 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
13660 * Makefile.in (INSTALL): Change install.sh to install-sh.
13662 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
13664 * README: update WWW address for on-line documentation.
13666 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
13668 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
13671 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
13673 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
13675 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
13677 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
13679 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
13680 * libc/sys/d10v/syscalls.c: Likewise.
13681 * libc/sys/h8300hms/sbrk.c: Likewise.
13682 * libc/sys/h8500hms/syscalls.c: Likewise.
13683 * libc/sys/m88kbug/syscalls.c: Likewise.
13684 * libc/sys/sh/syscalls.c: Likewise.
13685 * libc/sys/sysmec/sbrk.c: Likewise.
13686 * libc/sys/sysnecv850/sbrk.c: Likewise.
13687 * libc/sys/w65/syscalls.c: Likewise.
13688 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
13690 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
13692 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
13693 emulated syscall instead of "trap".
13695 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
13697 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
13700 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
13702 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
13704 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
13706 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
13708 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
13710 * libc/sys/tic80/crt0.c: New file for TIc80.
13711 * libc/sys/tic80/Makefile.in: New file for TIc80.
13712 * libc/machine/tic80/Makefile.in: New file for TIc80.
13714 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
13716 * libc/machine/sh/memcpy.S: New file.
13717 * libc/machine/sh/memset.S: New file.
13718 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
13720 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
13722 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
13725 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
13727 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
13730 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
13732 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
13733 (patch from andrew@pogo.WV.TEK.COM).
13735 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
13737 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
13738 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
13740 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
13742 * configure.in: Add cases for "tic80" to set machine_dir,
13743 sys_dir, and syscall_dir.
13745 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
13747 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
13749 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
13751 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
13753 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
13755 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
13756 Use proper constant prefix.
13758 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
13760 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
13761 that loses on the mn10200 where ints and pointers are different
13764 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
13766 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
13767 target as signal is provided in winsup.
13769 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
13771 * libc/include/sys/process.h: Corrected const definitions
13772 in spawn functions. Added cwait.
13774 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
13776 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
13778 * libc/include/sys/config.h: Similarly.
13780 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13782 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
13784 (i[3456]86-*-sco*): Ditto.
13786 * libc/signal/Makefile.in (OFILES): Add signal.o.
13787 (CFILES): Add signal.c.
13789 * libc/signal/raise.c (_raise_r): Only compile code if
13790 SIGNAL_PROVIDED is defined.
13792 * libc/signal/signal.c: Redo whole file so that it works with
13793 current newlib. Use _kill_r if no signal handler provided.
13795 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
13797 * libc/sys/sysvnecv70/Makefile.in: Ditto.
13798 * libc/sys/sysnecv850/Makefile.in: Ditto.
13800 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
13801 * libc/sys/sysmec/{raise,signal}.c: Ditto.
13802 * libc/sys/sysvnecv70/signal.s: Ditto.
13803 * libc/sys/sysnecv850/raise.c: Ditto.
13805 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
13806 simulator and debugger can tell the difference between a signal
13807 being raised and an exit system call.
13809 * NEWS: Document software signals being provided.
13811 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13813 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
13814 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
13815 include/sys/config.h.
13816 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
13817 Change from 'inpure_data'.
13818 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
13819 &impure_data, not &inpure_data.
13821 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
13822 and and System V ABI, define so that _impure_ptr lives in the
13825 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13827 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
13828 nothing if not defined.
13829 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
13832 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
13834 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
13836 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
13837 * libc/sys/sysmec/trap.s: Handle mn10200 too.
13838 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
13840 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
13842 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
13844 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
13846 * libc/include/sys/errno.h: Added net errno's.
13848 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13850 * libc/misc/ffs.c: New file to support ffs function for GCC test
13851 gcc.c-torture/execute/960909-1.c.
13853 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
13855 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
13857 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
13858 * libc/sys/sysmec/trap.S: Likewise.
13860 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
13862 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
13863 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
13865 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
13867 * libc/sys/sysmec/signal.c: Dummy file.
13868 * libc/sys/sysmec/Makefile.in: Build it.
13870 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
13872 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
13875 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
13877 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
13878 c-startup and simulator traps.
13881 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
13882 * libc/sys/sysmec/trap0.S: Likewise.
13884 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13886 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
13887 round to double word alignment.
13888 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
13891 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
13893 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
13896 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
13898 * configure.in: Handle mn10200 and mn10300.
13899 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
13900 * libc/include/sys/config.h: Likewise.
13901 * libc/sys/sysmec: New directory for mec stuff.
13902 * libc/machine/mn10300: New directory for mn10300 stuff.
13903 * libc/machine/mn10200: Similarly for mn10200 stuff.
13905 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
13907 * libc/sys/arm/crt0.S: Use .text, not .section .text.
13908 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
13910 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
13911 (nlink_t): Change type from unsigned int to unsigned short.
13912 (mode_t): Ensure size is 32 bits even if int is 16.
13913 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
13914 (st_spare[123]): Change type from int to long.
13916 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13918 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
13921 * configure.in (d10v*): Define SMALL_MEMORY.
13923 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13925 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
13926 -mrelocatable-lib and -mno-eabi flags.
13928 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
13930 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
13931 Fix handling of mis-aligned source operand when both the
13932 destination & length are properly aligned.
13934 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
13936 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
13937 times.o, time.o and gettime.o
13938 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
13939 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
13942 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
13944 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
13945 * libc/sys/sysnecv850/access.c: New file.
13947 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
13949 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
13951 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
13954 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
13956 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
13958 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
13960 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
13961 * libc/include/sys/config.h: Add m32r support.
13963 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
13965 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
13968 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
13970 * libc/include/machine/setjmp.h: Add D10v support.
13972 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
13974 * configure.in: Configure the "libc/syscalls" directory for
13977 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
13978 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
13979 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
13980 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
13981 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
13983 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
13985 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
13986 stack for args for main and other routines. Zero out args for
13989 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
13992 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13994 * libc/stdio/findfp.c (std): Remove extraneous ';' after
13997 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
13999 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
14000 real system calls now.
14002 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
14003 before casting them to int.
14004 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
14006 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
14008 * libc/string/memset.c (memset): Ditto.
14010 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
14011 first convert ints to _POINTER_INT to eliminate GCC warning.
14013 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
14016 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
14017 from 65000 if ints are only 16 bits.
14019 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
14020 from 50000 if ints are only 16 bits.
14022 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
14023 int type that is the same size as a pointer.
14025 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
14027 (get_number): Explicitly cast number to long before shifting by 16
14028 or 24, in case ints are short.
14030 * libc/include/sys/config.h (_POINTER_INT): Define as short.
14032 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
14034 * libc/string.h: Added ffs, removed swab.
14035 * libc/sys/errno.h: Added EOPNOTSUPP.
14036 * libc/sys/unistd.h: Added swab.
14038 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
14040 * libc/include/sys/stat.h: Added fchmod.
14041 * libc/include/sys/unistd.h: Added fsync.
14043 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
14045 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
14046 and ECONNRESET (104) for cygwin32.
14048 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
14050 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
14051 do the static destructors.
14053 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
14055 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
14057 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
14059 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
14060 * configure.in: Recognize m32r-*-*.
14062 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
14064 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
14065 __rt_stkovf_split_small): Added default software stack overflow
14066 handlers, which just call SWI_Exit.
14067 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
14068 limit initialisation.
14070 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
14072 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
14074 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
14076 * libc/include/sys/types.h: Added ssize_t definition.
14078 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14080 * libc/machine/d10v/setjmp.S: Use ';' for comments.
14081 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
14083 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
14084 branch around a single ldi instruction.
14086 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
14087 Call exit, instead of just issuing a stop instruction.
14089 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14091 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
14093 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14095 * libc/stdlib/mprec.h: Explicitly declare all large constants as
14096 longs, and then cast them to __uint32_t.
14098 * libc/include/sys/config.h: Protect against multiple inclusions.
14100 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
14102 * configure.in (d10v*): Set syscall_dir.
14104 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
14106 * libc/sys/d10v/crt0.S: Set stack pointer.
14108 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
14110 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
14111 in assembly for efficiency. Change calling convention to allow
14112 long ints to be returned.
14114 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14116 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
14118 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
14120 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
14121 Handle empty entries in $PATH.
14123 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
14125 * libc/machine/d10v/setjmp.S: Make it really work.
14127 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
14129 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
14130 the .stack section.
14132 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
14134 * sys/sysnecv850/sys/file.h: Remove.
14135 * sys/sysnecv850/sys/syscall.h: New file.
14136 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
14137 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
14138 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
14139 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
14140 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
14141 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
14142 * sys/sysnec850/trap.S: New file.
14143 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
14145 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
14146 * sys/sysnec850/sbrk.c: New version.
14148 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
14150 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
14151 as long as r6 is less than r7.
14153 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
14155 * Makefile.in (mostlyclean): Separate from clean target. Don't
14156 remove *.a or targ-include.
14157 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
14159 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14161 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
14163 (__SMALL_BITFIELDS): Ditto.
14165 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
14167 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
14169 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
14172 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
14173 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
14174 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
14175 * libc/sys/sysnecv850/write.c (write): Likewise.
14177 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
14180 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14182 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
14183 appropriately for D10V, depending on -mint16/-mint32.
14185 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
14187 * configure.in: Add cases for D10V.
14189 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14191 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
14193 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
14195 * libc/include/machine/ieeefp.h: Fix typo.
14197 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
14199 * libc/sys/d10v: New directory for D10V stuff.
14200 * libc/include/machine/ieeefp.h: Add D10V defines.
14202 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
14204 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
14205 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
14206 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
14207 * libc/string/strerror.c (strerror): Add them.
14209 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
14211 * libc/sys/sysnecv850: New directory for v850 stuff.
14213 * libc/machine/v850: New directory for v850 stuff.
14214 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
14216 * configure.in: Add support for the v850.
14218 * libc/include/machine/ieeefp.h: Add v850 defines.
14219 * libc/include/machine/setjmp.h: Likewise.
14220 * libc/include/sys/config.h: Add v850 defines.
14222 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
14224 * libc/include/machine/ieeefp.h
14225 * libc/include/machine/setjmp.h
14226 * libc/include/sys/fcntl.h
14227 * libc/include/sys/signal.h
14228 * libc/include/sys/types.h
14229 * libc/stdlib/system.c:
14230 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
14231 API availability, __CYGWIN32__ for cygwin32 environment specific).
14233 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
14235 * libc/include/stdlib.h: add multibyte character functions. Add
14236 __eprintf for assert.
14238 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14240 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
14241 arithmetic or __alignof__ to properly get the alignment, instead
14242 of hardwiring it to 4.
14244 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
14246 * libc/stdio/fseek.c: add fflush call to adjust seek offset
14247 on append stream (fix from NetBSD sources), adjust curoff offset
14248 for ungetc's benefit.
14249 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
14250 * libc/stdio/rewind.c: replace code with up to date NetBSD
14251 code to undo hacks made to work around above problem of not
14252 having fflush call mentioned above
14254 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14256 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
14257 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
14258 Partially revert last changes. The thread specific errno is set
14259 iff if the underlying syscall fails and the global errno is not
14262 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14264 * libc/reent/filer.c: Removed files, all functions have split out
14265 into their own files.
14266 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
14267 New files containing functions formally in filer.c
14268 * libc/reent/Makefile.in: Updated for above change.
14270 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
14271 syscall fails, not if errno is changed.
14272 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
14273 _write_r): Likewise.
14274 * libc/reent/fstatr.c (_fstat_r): Likewise.
14275 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
14276 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
14277 * libc/reent/signalr.c (_kill_r): Likewise.
14278 * libc/reent/statr.c (_stat_r): Likewise.
14279 * libc/reent/timer.c (_gettimeofday_r): Likewise.
14281 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
14282 signalr.c, statr.c, timer.c} (errno): declare extern rather
14285 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
14286 instead of calling vfprintf so that i*printf will not require
14287 floating point support code.
14289 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
14291 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
14293 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
14294 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
14296 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
14298 * libc/include/signal.h: _sig_func_ptr function takes an int
14299 * libc/include/sys/signal.h: sa_handler function takes an int
14301 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
14303 * libc/include/machine/ieeefp.h: Simplify H8/S support.
14304 * libc/include/sys/config.h: Add missing H8/S conditional.
14306 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
14308 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
14310 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
14312 * libc/include/machine/setjmp.h: Handle H8/S.
14313 * libc/include/machine/ieeefp.h: Likewise.
14314 * libc/include/sys/config.h: Likewise.
14315 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
14316 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
14317 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
14318 * libc/sys/h8300hms/crt0.S: Likewise.
14320 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
14322 * Makefile.in (datadir): Set to $(prefix)/share.
14323 (oldincludedir, docdir): Removed.
14324 * doc/Makefile.in (datadir): Set to $(prefix)/share.
14325 (oldincludedir, docdir): Removed.
14326 * libc/Makefile.in (datadir): Set to $(prefix)/share.
14327 (oldincludedir, docdir): Removed.
14328 * libm/Makefile.in (datadir): Set to $(prefix)/share.
14329 (oldincludedir, docdir): Removed.
14331 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
14333 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
14336 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
14338 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
14339 fetch current path rules with sysconf and handler posix/win32
14342 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
14344 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
14345 (WAIT_CHILD): Always define.
14347 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
14349 * libc/stdlib/eprintf.c: New file.
14350 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
14351 (eprintf.o): New target.
14353 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
14355 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
14356 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
14358 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
14360 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
14361 NT in PowerPC endianess cases.
14363 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14365 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
14367 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14369 * libc/string/strtok.c: Fix doc typo.
14371 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14373 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
14374 _next, _scanpoint, _signgam fields.
14376 * libc/include/stdlib.h (rand_r): Added new declaration.
14377 (_rand_r, _srand_r): Removed declarations.
14378 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
14379 have been made obsolete by rand_r.
14380 * libc/stdlib/rand_r.c: New file, rand_r function as specified
14383 * libc/string/strtok.c: Update documentation to describe
14386 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
14388 * libc/include/sys/stat.h (stat structure): Use the expanded stat
14389 structure on Solaris, and PowerPC systems even though __svr4__ is
14392 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
14394 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
14396 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
14398 * host/any: Use ../.. rather than .. to get to the main build
14399 directory. This matches the current layout of the build
14402 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
14404 * libc/machine/h8300/__main.S: Delete. No longer needed.
14405 * libc/machine/h8300/Makefile.in: Corresponding changes.
14406 * libc/sys/h8300hms/crt1.c: New file.
14407 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
14408 * libc/sys/h8300hms/crt0.s: Call __main.
14410 * libc/sys/h8300hms/crt0.S: Use temporary label names
14411 for branch targets.
14413 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
14415 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
14417 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14419 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
14420 .sdata on the PowerPC so that we can link newlib with code
14421 compiled with -msdata.
14423 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
14425 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
14427 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
14429 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
14430 exception handler to __cygwin_exception_handler.
14432 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
14434 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
14436 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
14438 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
14440 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
14441 wcstombs.o): Likewise.
14443 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
14445 * libc/stdlib/environ.c (initial_env): New static local.
14446 (environ): Point to `initial_env'.
14448 * libc/include/machine/setjmp.h: Clean up.
14449 (__H8300H__,__PPC__): Define _JBTYPE.
14450 (__arm__): Provide entry for.
14451 (sigjmp_buf): Delete.
14452 (jmp_buf): Use _JBTYPE if defined, otherwise int.
14454 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
14456 * libc/machine/h8300/strcmp.S: Sign extend the result to
14457 32bits so we don't lose with -mint32.
14459 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
14461 * libc/sys/go32/sys/errno.h: New file.
14462 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
14463 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
14464 errno's address (make compatible with rest of newlib).
14465 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
14466 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
14468 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
14470 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
14471 * libc/machine/sparc/Makefile.in: Build them.
14472 * libc/machine/sparc/machine/sparclet.h: New file.
14474 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14476 * libc/machine/sh/asm.h: New file.
14477 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
14478 support for SH3e's FP registers. Use asm.h.
14480 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
14482 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
14483 as first argument. Call _dtoa_r and pass the reent structure
14484 instead of calling __dtoa.
14486 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
14488 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
14489 the h8300, h8500, and others. Add comments for some rather
14492 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
14494 * Makefile.in (check): Check that testsuite exists before cd.
14496 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14498 * libc/include/string.h (strsep): Correct prototype.
14500 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
14502 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
14503 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
14504 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
14506 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
14508 * libc/posix/{creat.c,isatty.c}: New files.
14509 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
14511 * libc/sys/sparc64/crt0.S (environ): Delete.
14512 (.LHaveBias): Renamed from HaveBias.
14514 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
14516 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
14517 (_morecore_r): Delete SBRK_IS_ALLOC support.
14519 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14521 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
14522 module rather than touch, so we don't get warning messages when
14523 all of the libraries are combined into libc.a.
14525 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
14527 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
14528 crt0.s replaced by version in libgloss.
14530 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
14532 * libc/reent/Makefile.in (OFILES): Add impure.o.
14533 * libc/reent/impure.o: New file, define initial reentrancy struct.
14534 * libc/reent/reent.c: Remove above definition.
14536 * libm/math/sf_asinh.c: Fix typo.
14538 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
14541 * libm/libm.texinfo: Change documentation to reflect changes
14542 in reentrancy model.
14543 * libm/math/w_gamma.c: Likewise.
14545 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
14547 * configure.in (*-*-cygwin32): New.
14548 (*-*-win32): Deleted.
14549 * libc/sys/win32 renamed libc/sys/cygwin32.
14551 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14553 * libc/include/sys/file.h: New include file.
14555 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
14557 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
14559 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
14561 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
14563 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
14565 * doc/makedoc.c (realloc): Declare at file scope.
14566 (catchar): Not here.
14568 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
14570 * Makefile.in (VERSION): Update to 1.7.0.
14571 * {libc,libm}/Makefile.in (VERSION): Likewise.
14572 * configure.in: Minor clean up of multilib stuff.
14574 From David Johnson <davidj@ICSI.Berkeley.EDU>
14575 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
14577 * libc/stdlib/environ.c: New file.
14578 * libc/stdlib/Makefile.in (OFILES): Build it.
14579 * libc/sys/h8500hms/crt0.c (environ): Deleted.
14580 * libc/sys/m88kbug/crt0.c (environ): Deleted.
14581 * libc/sys/z8ksim/crt0.c (environ): Deleted.
14582 * libc/sys/netware/environ.c: Deleted.
14584 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
14586 * configure.in (links): set sys_dir, posix_dir, syscall_dir
14588 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14590 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
14591 declaration out to external scope and declare it PTR, not char *.
14593 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
14595 * libc/include/sys/unistd.h (getpagesize): New declaration.
14596 (_SC_PAGESIZE): New definition.
14597 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
14598 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
14600 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
14602 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
14603 addressing. System call returns size, not (last address + 1).
14605 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14607 * libm/math/*.c: Removed _foo_r() reentrancy API.
14608 * libc/include/math.h: Removed _foo_r prototypes and macros.
14610 * libm/math/*.c: On systems with IEEE single precision "doubles"
14611 move foo() -> foof() wrapper code from the files that implement
14612 the standard IEEE double precision functions to the files that
14613 implement IEEE single precision functions. (ie. On those systems
14614 sin is moved from s_sin.c to sf_sin.c). There should eventually
14615 be use of a C extension (like gcc's alias attribute) so that the
14616 wrappers are not needed at all.
14618 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
14619 strict NEC V810 compiler.
14620 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
14623 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14625 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
14626 from NetBSD C library.
14627 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
14629 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
14630 and adapted from implementation I wrote for NetBSD C library.
14631 The difference is __assert doesn't take a format argument,
14632 so that there won't be multiple copies of the same string
14633 constant in the executable if assertions are enabled in
14634 more than one source module.
14635 * libc/include/assert.h (assert): Changed to call __assert.
14637 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14639 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
14640 word1 on systems with 32 bit doubles.
14641 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
14642 so that we can do arithmetic on them.
14643 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
14646 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
14648 * libc/sys/arm/crt0.S: Zero bss.
14650 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
14652 * libc/include/unctrl.h: New file.
14653 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
14654 * configure.in (subdirs): Add libc/misc.
14655 * libc/Makefile.in (SUBDIRS): Add misc.
14656 (SUBLIBS): Add misc/lib.a.
14658 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
14660 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
14662 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
14663 (_vfprintf_r): Call CHECK_INIT.
14665 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
14667 * Makefile.in (MULTITOP): Delete.
14668 (MULTISRCTOP, MULTIBUILDTOP): Add.
14669 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
14670 instead of cfg-ml-pos.in.
14672 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14674 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
14675 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
14678 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14680 * libc/string/strtok.c: Include string.h to pick up strtok_r
14683 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14685 * libc/string/strtok.c: include <_ansi.h>.
14686 * libc/time/asctime_r.c: `reresult' -> `result'.
14688 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14690 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
14691 in #ifndef _REENT_ONLY ... #endif conditional.
14693 * libc/include/string.h (_strtok_r): Remove declaration.
14694 * libc/include/time.h (_asctime_r): Remove declaration.
14695 * libc/string/strtok.c (_strtok_r): Removed.
14696 * libc/time/asctime.c (_asctime_r): Removed.
14698 * libc/string/Makefile.in (OFILES): Add new object.
14699 * libc/string/strtok_r.c: New file. strtok_r function as
14700 specified by POSIX.1c, adapted from strtok implementation
14701 from NetBSD C library.
14702 * libc/string/strtok.c (strtok): Reimplemented in terms of
14705 * libc/time/Makefile.in (OFILES): Add new objects.
14706 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
14707 New files, reentrant time functions specified by POSIX.1c.
14708 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
14709 reentrant time functions re-written in terms of reentrant
14711 * libc/time/lcltime.c: Renamed from localtime.c
14713 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
14714 gmtime_r, and localtime_r.
14716 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
14718 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
14719 * libc/include/sys/unistd.h (getlogin): Revert change of
14721 * libc/include/sys/signal.h (sigprocmask): Change prototype
14722 so it compiles with c++.
14724 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
14726 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
14727 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
14728 to give some room in case we need to align the jmp_buf.
14730 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
14731 the new ppc-asm.h include file the compiler provides to specify
14732 function prologue/epilogue. Eliminate saves of the xer and ctr
14733 registers, which are volatile. Before starting to save registers,
14734 align to 8 byte boundary.
14736 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
14738 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
14739 referenced by standard libraries.
14741 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
14743 * libc/unix/Makefile.in, libc/string/Makefile.in,
14744 libc/stdio/Makefile.in, libc/reent/Makefile.in,
14745 libc/posix/Makefile.in:
14746 Remove tabs from otherwise empty line. Confuses some
14747 older non-GNU versions of "make".
14749 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
14751 * libc/sys/unistd.h (getlogin): Returns const char *.
14753 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
14755 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
14756 * libc/include/errno.h: Moved into and include...
14757 * libc/include/sys/errno.h: New file.
14758 * libc/include/sys/wait.h: New file.
14759 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
14760 * libc/sys/win32/*: Moved out.
14761 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
14762 * configure.in (i[345]86-*-win32): HAVE_RENAME
14764 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
14766 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
14767 avoid macro expansion for these two names.
14769 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
14771 * libc/machine/h8500/psi.S: r6 renamed to fp.
14773 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
14775 * configure.in (powerpc*): No longer need to define
14776 NO_LONGLONG_POINTERS to supress warnings.
14778 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14780 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
14781 through PTR instead of directly.
14783 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
14784 non-standard constructor support.
14786 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14788 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
14789 address of the Bigint instead of the address of its _x field,
14790 as the size the result buffer was calculated accordingly.
14791 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
14793 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
14794 from NetBSD C library. No longer special cases division by
14795 zero (which needs to be done by the application anyway), but
14796 it doesn't need to call abs() (or labs()) four times either.
14798 * libc/stdlib/qsort.c: Replaced with implementation from
14801 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14803 * libc/stdio/vfprintf.c: Replaced with implementation from
14804 NetBSD C library (which is derived from the 4.4BSD C library).
14805 * libc/stdio/cvt.c: Removed.
14806 * libc/stdio/Makefile: Updated.
14808 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
14810 * libc/sys/win32/syscalls.c (rename): New.
14811 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
14813 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14815 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
14816 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
14818 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
14819 (setjmp.o): Delete rule to build setjmp.o.
14820 * libc/sys/sh/setjmp.S: Delete file.
14822 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14824 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
14825 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
14826 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
14827 pow5mult and s2b to identifiers with leading underscores.
14828 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
14829 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
14831 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
14833 * libc/sys/posix/popen.c (sys/types.h): Include.
14835 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
14837 * libc/sys/win32/syscalls.h (fhandler): New struct.
14838 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
14839 (__fhandler_normal): Declare.
14840 (hinfo): New member op_handlers.
14841 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
14842 (__write): Likewise.
14843 (_read, _write, _open, _close, _lseek): Validate fd here.
14844 Move file type specific stuff to foo_normal.
14845 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
14847 (__lookup_fhandler): New function.
14848 (__lookup_fhandler_hook, __fhandler_normal): New variables.
14850 From anders.blomdell@control.lth.se (Anders Blomdell)
14851 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
14852 Don't touch standard handles.
14853 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
14854 (_execve): Only create __FD_TABLE__ if necessary.
14855 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
14857 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
14859 * libc/sys/win32/sys/termios.h (FLUSHO): New.
14860 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
14861 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
14862 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
14863 without a handler is received.
14864 * libc/sys/win32/Makefile.in: Remove --nodelete.
14865 * libc/sys/win32/resouce.c (gettimeofday): New.
14866 * libc/sys/win32/syscalls.c (path_to_real_path): New.
14867 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
14869 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
14871 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
14872 Don't append "/*" to search pattern if trailing '/' already there,
14874 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
14875 like /'s, convert them to \'s. Handle //<drive>/ path names.
14876 Add space for quoted \'s in arg string. Print translated prog name
14877 and original prog name.
14878 (_execve): Handle parent doing exec a teensy bit better.
14879 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
14880 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
14881 path needs conversion, handle both cases. Delete `const' from result.
14882 (hash_path_name): New function.
14884 (_stat): Likewise. Fill in more fields for directories.
14885 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
14886 (wait_for_any): Fix trace message.
14887 (waitpid): Explicitly test for intpid == 0.
14889 From anders.blomdell@control.lth.se (Anders Blomdell)
14890 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
14891 so `next' is valid.
14893 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
14895 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
14898 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14900 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
14901 at all, not just == 1.
14902 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
14904 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14906 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
14907 * libc/sys/win32/include/wintypes.h: include <winnt.h>
14908 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
14911 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14913 * libc/sys/syscalls.c (getcwd): Fix off by one error.
14915 * libc/sys/signal.c (sleep): Fill it in.
14916 * libc/sys/termios.c (tcflush): Use PurgeComm
14917 (tcsetattr): Set some more of the bits.
14918 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
14920 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
14922 * libc/sys/arm/crt0.S (fp): Initialize to 0.
14923 Conditionally include .idata$3 stuff ifdef __pe__.
14925 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
14927 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
14928 * libc/sys/win32/pipe.c (pipe): Ditto.
14929 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
14930 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
14931 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
14932 (tcgetattr): Contents are new.
14933 * libc/sys/win32/include/winkernel.h (DCB): New.
14934 (GetCommState, SetCommState): New.
14936 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
14938 * libc/sys/arm/crt0.S (_start): Define.
14940 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
14942 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
14943 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
14945 * libc/sys/win32/sysconf.c: New
14946 * libc/sys/win32/sys/winadvapi.h: New
14947 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
14948 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
14949 * libc/sys/win32/pipe.c (pipe): Ditto.
14950 * libc/sys/win32/signal.c (_raise): New.
14951 (_kill): Moved from spawn.c
14952 * libc/sys/win32/spawn.c (kill): Moved to signal.c
14953 * libc/sys/win32/syscalls.c (__read): Use new fields.
14955 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
14956 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
14957 * libc/include/sys/unistd.h (rmdir): Takes const path.
14958 * libc/include/sys/stat.h (mkdir): Takes const path.
14959 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
14961 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
14963 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
14965 Add support for specifying paths as //<drive>/foo/bar.
14966 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
14967 (__path_to_real_path): Declare.
14968 (PATH_TO_REAL_PATH): New macro.
14969 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
14970 (__path_needs_conversion_p, __path_to_real_path): New functions.
14971 (_open): Fix test for error return from CreateFileA.
14972 Handle new path syntax.
14973 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
14974 * libc/sys/win32/dirsearch.c (opendir): Likewise.
14976 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
14978 * libc/sys/win32/include/*.h: Reorganized
14979 * libc/sys/win32/include/WINREADME: New.
14980 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
14981 * libc/sys/win32/*.c: Fix for new include scheme.
14982 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
14983 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
14984 * libc/sys/win32/passwd.c (*): Fix.
14985 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
14986 (_stat): Get directory owner and permissions right.
14987 * libc/sys/win32/syscalls.h (uinfo): New.
14988 * libc/sys/win32/version.def: Remove leading underscores.
14990 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14992 * libc/sys/win32/key.c: include "include/wincon.h".
14994 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
14996 * libc/sys/win32/{key, stubs}.c: New.
14997 * libc/sys/win32/Makefile: Adjust to cope.
14998 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
14999 (environ_init): Change env names to upper case.
15000 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
15001 * libc/sys/win32/passwd.c (*): Fill in the functions.
15002 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
15003 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
15004 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
15005 (_open): Initialze hmap->execable_p too.
15006 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
15007 (_fstat): Fill in permissions.
15008 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
15010 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
15012 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
15014 (cfg-ml-pos.in invocation): Likewise.
15016 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15018 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
15019 s_isnan.o and sf_isnan.o.
15021 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
15023 * All Makefile.in files: added maintainer-clean target as a
15024 synonym for realclean.
15026 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
15028 * libc/include/machine/setjmp.h: Add hppa support.
15029 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
15031 * libc/machine/hppa/Makefile.in: Related changes.
15033 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
15035 * configure.in (machine_dir): Don't set for v810-*-*.
15037 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15039 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
15040 conventions correctly.
15042 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
15044 * libc/stdio/puts.c: Update documentation of return value to match
15047 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
15049 Fix file descriptor inheritance.
15050 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
15051 (NOT_OPEN_FD): Fix.
15052 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
15053 close-on-exec flag not set. Initialize child's entire fd table.
15054 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
15056 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
15057 if CHILD_P. Initialize entire hmap entry.
15058 (dup): Only create new handle as inheritable if CHILD_P.
15059 (dup2): Likewise. Properly initialize hmap entry.
15061 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
15063 (_exit): Use CHILD_P.
15064 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
15067 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15069 * libc/sys/win32/crt0.c (passover): fix up the state table.
15070 * libc/posix/popen.c: Added.
15071 * libc/posix/Makefile.in: compile popen.c.
15073 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
15075 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
15076 h8/500 define _DOUBLE_IS_32BITS.
15078 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
15080 Get vfork/exec/spawn/cwait/wait working again.
15081 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
15082 (procinfo): New member vfork_level.
15083 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
15084 (vfork_init_first): Use GetCurrentProcessId to get pid.
15085 Initialize vfork_level.
15086 (vfork_init): Delete __PID__.
15087 (environ_init): New function. Undo patch of Aug 19, Posix says
15088 environment variables are case sensitive.
15089 (mainCRTStartup): Call it.
15090 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
15091 (my_longjump: Make static.
15092 (_spawn): New argument `h'. Delete setting of __PID__.
15093 Delete local `idx'. Look for chars that need quotes, rather than
15094 ones that don't. Set handle of created process in `h'.
15095 Result is process id if created task.
15096 (allocate_spawn_entry): New function.
15097 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
15098 (_execve): Set __FD_TABLE__ before spawning child.
15099 Scan our fd table when passing fds, not our parent's.
15100 Store handle and pid in procinfo entry.
15101 (vfork0): Ensure strace message always printed.
15102 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
15103 (vfork): Don't clobber result of vfork0.
15104 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
15105 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
15107 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
15109 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
15110 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
15111 adding vfork level to pseudo-pid.
15112 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
15113 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
15114 (_exit): If child, set exit code.
15115 (__vfork_record_death): Only close process handle if valid.
15116 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
15118 (wait_for_any): Likewise. Start scan after root entry.
15120 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15122 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
15123 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
15124 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
15125 of actual file length.
15127 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
15128 * libc/include/paths.h: _PATH_BSHELL added.
15129 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
15132 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15134 * libc/include/ar.h: Added.
15135 * libc/include/sys/types.h: ino_t goes back to 32-bits.
15136 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
15137 * libc/sys/win32/syscalls.c (_open): compute .namehash based
15139 (_fstat): use .namehash for inode number of the fd.
15141 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
15143 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
15144 Change hinfo to __this_procinfo.
15145 * libc/sys/win32/crt0.c: Remove procinfo_list.
15147 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15149 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
15152 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15154 * libc/sys/win32/include/grp.h: Removed.
15155 * libc/sys/include/grp.h: Added.
15156 * libc/sys/win32/grp.c: Include <grp.h>.
15158 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
15160 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
15161 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
15162 Defined for all but strict ANSI.
15163 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
15164 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
15165 * libc/signal/signal.c (_signal_r): Changed from using
15166 _MAX_SIGNALS to NSIG.
15167 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
15169 (__strace, __vfork_next_pid): New.
15170 (__exe_suffix): Default to 1.
15171 (passover, table): Understand quoted arguments.
15172 (vfork_init_first): New.
15173 (vfork_init): Initialize new process structure.
15174 (mainCRTStartup): Pass environ to main.
15175 * exceptions.c (__sig_mask): New
15176 (ehandler3): Ignore signals in mask.
15177 (really_exit): Remove CHILD_P test.
15178 * pipe.c (pipe, dup, dup2): Use new process and file structure.
15179 * resource.c (getrusage): Ditto.
15180 * signal.c (sigprocmask): New.
15181 * spawn.c (*): Rewritten.
15182 * syscalls.c (*): Use new process and file structure.
15183 (find_unused_handle): New.
15184 * syscalls.h (MAX_HANDLES): Deleted.
15185 (hinfo): Removed child_created_p.
15186 (MAX_CHILDREN): Deleted.
15187 (vfork_jmp_info, procinfo): New.
15188 * wait.c (*): Mostly new.
15189 * sys/strace.h (_STRACE_PARANOID): New.
15190 * sys/param.h: New file.
15192 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15194 * libc/include/sys/stat.h: add S_BLKSIZE.
15195 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
15196 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
15198 (mode_t): add a #else to avoid multiple definitons.
15200 * libc/sys/win32/Makefile.in: add grp.c.
15201 * libc/sys/win32/grp.c: include grp.h correctly.
15202 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
15203 of the st structure with real information.
15204 * libc/sys/win32 (dirent): d_ino is of type ino_t.
15206 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
15208 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
15209 and (maybe) sparc64.
15210 (nlink_t): Provide typedef.
15212 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15214 * libc/sys/win32/grp.c: New file.
15215 * libc/sys/win32/include/grp.h: New file.
15217 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15219 * libc/include/machine/ieeefp.h: Added whitespace to make this
15220 file easier to maintain.
15221 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
15222 depending on the value of __LITTLE_ENDIAN__.
15223 On the sh3e, define _DOUBLE_IS_32BITS.
15225 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
15227 * libc/sys/vr4300/syscalls.c: Added missing support
15228 routines. _raise() and getpid().
15230 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
15232 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
15234 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
15236 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
15237 and VR4300 processor.
15238 * libc/sys/vr4300: Add directory.
15239 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
15240 monitor run-time support.
15242 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15244 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
15245 * libc/stdlib/stdlib.tex: Don't include atol.def.
15247 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15249 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
15251 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
15253 * libc/ctype/Makefile.in: Fill in _to* dependencies.
15255 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
15257 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
15258 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
15259 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
15260 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
15261 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
15263 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15265 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
15267 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15269 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
15270 * libc/stdlib/atoff.c: New file.
15271 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
15272 * libc/stdlib/atoi.c (atol): Removed.
15273 * libc/stdlib/atol.c: Removed duplicate documentation.
15275 * libc/include/ctype.h (_tolower, _toupper): Moved inside
15276 #ifndef _STRICT_ANSI conditional.
15277 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
15278 * libc/ctype/_tolower.c: New file.
15279 * libc/ctype/_toupper.c: New file.
15280 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
15281 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
15282 * libc/ctype/toascii.c (_toascii): Removed.
15284 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
15286 * libc/sys/sparc64/sys/types.h: Deleted.
15288 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15290 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
15291 and recognize Windows_95 systems.
15293 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15295 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
15296 and passed fds should be opened in text mode.
15298 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
15300 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
15301 in __hmap, set to binary mode by default.
15303 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15305 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
15306 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
15309 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
15311 * Makefile.in (install): Install all libraries found in the
15312 top level. If there's a sys/<type>/include directory,
15313 install those headers into include.
15315 * libc/sys/win32/kernel.def351: Delete
15316 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
15317 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
15318 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
15319 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
15320 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
15321 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
15322 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
15323 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
15325 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
15326 * libc/sys/win32/crt0.c: Force all env names to upper case.
15327 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
15328 * libc/sys/win32/*.c: Headers have moved.
15329 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
15330 __vfork_child_idx is now __vfork_child_ptr.
15332 * posix/execvp (execvp): Don't crash if no PATH envname.
15334 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15336 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
15337 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
15338 through the _freelist instead of through the _reclaim list.
15339 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
15340 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
15343 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15345 * libc/machine/h8500/setjmp.S: New file.
15346 * libc/include/machine/setjmp.h: Updated for H8/500.
15348 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
15350 * libc/sys/win32/syscalls.c (_open): More stracing.
15351 (_stat): Open the file in O_BINARY.
15353 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15355 * libc/machine/h8300/setjmp.S: New file.
15356 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
15358 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
15360 * libc/sys/win32/crt0.c (__exe_suffix): New global.
15361 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
15362 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
15363 __exe_suffix. Free fd_tab after setting env variable.
15364 (spawnv,_execve): Update.
15365 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
15366 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
15367 (__small_vfprintf): New function.
15368 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
15369 * libc/sys/win32/wait.c (cwait): Validate argument.
15371 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
15372 (process_deletion_queue): Likewise.
15374 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
15376 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
15378 * libc/sys/win32: Copyrights and gratuitous indenting.
15380 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
15382 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
15383 (process_deletion_queue): Likewise.
15384 (__close_all_files): New function.
15385 (_close): Only queue file deletion if really a file.
15386 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
15388 (_exit): Call __close_all_files.
15390 * libc/stdlib/system.c: #include <errno.h>.
15391 (_system_r): Fix results in -DNO_EXEC case.
15393 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
15394 Reorganize structure.
15395 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
15396 if argument is valid. Save directory name in DIR. malloc space
15397 for dirent struct separately.
15398 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
15400 * libc/include/errno.h (ENAMETOOLONG): Define.
15401 * libc/string/strerror.c (strerror): Reword ENFILE.
15402 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
15404 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
15406 * libc/sys/win32/crt0.c (__progname): New global.
15407 (mainCRTStartup): Support strace=bitmask,filename.
15408 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
15409 * libc/sys/win32/syscalls.c (_write): Print parent trace message
15411 (getcwd): Handle len too small. Convert '\\' to '/'.
15412 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
15413 Add prototypes for open, creat, fcntl.
15414 (O_APPEND): Change value to conform to Microsoft's value.
15415 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
15417 * libc/stdlib/getopt.c: New file.
15418 * libc/stdlib/Makefile.in: Build it.
15420 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
15422 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
15423 Fix scanning of $PATH.
15424 * libc/posix/exec*.c: Call _execve, not execve.
15425 * libc/posix/execve.c: New file.
15426 * libc/posix/Makefile.in (OFILES): Add execve.o.
15428 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
15429 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
15430 (_STRACE): If level==0, always print. Handle new bit mask scheme.
15431 * libc/sys/win32/crt0.c: Update _STRACE calls.
15432 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
15434 * libc/sys/win32/smallprint.c (rn): Fix digit list.
15436 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
15437 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
15438 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
15439 Print __seterrno trace message first.
15440 (_execve): Renamed from execve.
15441 (vfork): Update __strace usage.
15442 (__vfork_child_pid): Deleted.
15443 (__vfork_children, __vfork_child_idx): New globals.
15444 (_spawnvp): New function.
15445 (spawnvp, spawnv, _execve): Call _spawnvp.
15446 (init_child): Record child in __vfork_children.
15447 (__vfork_get_entry, __vfork_record_death): New functions.
15448 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
15449 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
15450 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
15451 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
15452 (children): New typedef.
15453 (__vfork_children,__vfork_child_idx): Declare.
15454 (__vfork_get_entry,__vfork_record_death): Declare.
15455 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
15456 (waitpid): Handle pid == -1.
15457 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
15458 * configure.in (i386-win32): Add -DNO_FORK.
15459 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
15460 * libc/reent/execr.c (_fork_r): Likewise.
15461 * libc/stdlib/system.c (do_system): New function.
15462 If WIN32, try to get shell path from $SH_PATH, use vfork.
15463 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
15464 otherwise return 0.
15466 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
15468 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
15469 * libc/sys/win32/fcntl.h: Don't include self.
15470 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
15471 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
15472 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
15473 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
15474 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
15475 Correct prototypes.
15476 * libc/sys/win32/strace.c: New file.
15477 * libc/sys/win32/smallprint.c: New file.
15478 * libc/sys/win32/crt0.c (func): Delete.
15479 (mainCRTStartup): Fix alloca usage. Set handles explictly.
15480 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
15481 * libc/sys/win32/exceptions.c: Lint.
15482 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
15483 Clean up handle usage.
15484 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
15485 (open.c): Default file type is text.
15486 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
15487 * libc/sys/win32/advapi32.def: New
15489 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
15491 * configure.in (posix_dir, libc_posix_lib): New variables.
15492 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
15493 (i[345]86-*-win32): Define posix_dir.
15494 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
15495 (if unix_dir): Fix typo.
15496 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
15497 scandir,seekdir,telldir}: New files.
15498 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
15500 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
15501 (SUBDIRS): Add posix.
15502 (SUBLIBS): Add $(LIBC_POSIX_LIB).
15504 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
15505 (NSIG): Increase to 21.
15506 * libc/include/sys/unistd.h (pid_t): Move from here,
15507 * libc/include/sys/types.h (pid_t): to here.
15509 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
15510 (__ptrace): Delete.
15511 (hinfo): New members close_exec_p, child_created_p.
15512 (struct exception_list): Define.
15513 (__hmap): Redefine as pointer to table.
15514 (__parent_hmap, __child_hmap): New globals.
15515 (__set_errno, __really_exit): Declare.
15516 (__vfork_child_pid): Declare.
15517 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
15518 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
15519 (__parent_hmap, __child_hmap): New globals.
15520 (__hmap): Redefine as pointer to active map.
15521 (__get_console): New function.
15522 (mainCRTStartup): Change leading '=' in environ vars to '!'.
15523 (env __FD_TABLE__): Watch for this and initialize our fd/handle
15524 mapping table from it if defined.
15525 (argv, envp): Dump if __strace >= 4.
15527 * libc/sys/win32/exceptions.c (myp): Redefine.
15528 (__syscalls_b): Delete.
15529 (__stack_trace): New function.
15530 (ehandler3): Update to use _STRACE. Print stack trace.
15531 Call __really_exit instead of exit.
15532 (init_exceptions): Delete args argc,argv. New arg mine.
15533 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
15534 FindFirstFileA, FindNextFileA, GetComputerNameA,
15535 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
15536 * libc/sys/win32/signal.c (signal): Validate arg.
15537 (alarm, sleep): Define as stubs for now.
15538 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
15539 (__syscalls_b, errno): Delete.
15540 (__vfork_child_pid, __vfork_jmp_buf): New globals.
15541 (__seterrno): Handle more errors.
15542 (__sys_printf): Renamed from _ptrace.
15543 (__really_exit): New function.
15544 (queue_file_deletion, process_deletion_queue): New functions.
15545 (__resume_parent): New function.
15546 (_unlink): Handle trying to delete open file.
15547 (__totime_t): Renamed from totime_t.
15548 (setsid, __read, __write): New functions.
15549 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
15550 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
15551 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
15552 * libc/sys/win32/console.c: Update to new definition of __hmap.
15553 * libc/sys/win32/Makefile.in: Build new files.
15554 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
15555 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
15556 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
15557 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
15559 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
15561 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
15563 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15565 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
15566 have been made to the master dtoa.c sources (from netlib.att.com)
15567 since they were integrated into newlib in early 1992. Fixes
15568 problems with storage leaks and handling of numbers with very
15569 negative exponents.
15571 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15573 * Makefile.in (all): set rootpre and srcrootpre before calling
15576 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
15578 * libc/sys/win32/crt0.c: Change __hmap usage.
15579 * libc/sys/win32/exceptions.c: Use _ptrace call.
15580 * libc/sys/win32/syscalls.c: Use _ptrace call.
15581 (read, write): Cope with DOS style CRLF when in TEXT mode.
15582 * libc/sys/win32/syscalls.h: Declare hinfo struct.
15583 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
15584 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
15585 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
15586 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
15588 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15590 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
15592 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
15593 wrappers for hypot() and remainder() for BSD libm compatibility.
15594 These are public domain implementations written by me for the
15595 NetBSD libm some time ago. Note cabs() is required by ucbtest.
15596 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
15597 (fobj): Added wf_cabs.o and wf_drem.o.
15599 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15601 * libc/sys/h8500hms/misc.c: New file.
15602 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
15604 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15606 * libc/time/localtime.c (localtime): Fix problem with leap year
15607 handling. Stole algorithm from Arthur David Olson's tz code.
15609 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
15611 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
15613 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
15614 (_exit): Use argument.
15616 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
15618 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
15620 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
15622 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
15624 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15626 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
15629 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
15631 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
15632 ptrace with case insensitivity
15633 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
15634 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
15637 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
15639 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15640 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
15641 (all, install, *clean): Use new multilib support.
15642 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
15644 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
15646 * libc/include/sys/signal.h (__WIN32__): New.
15648 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
15650 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
15651 (ulp, b2d): Handle 32 bit doubles.
15652 * libc/stdlib/mprec.h: Handle 32 bit doubles.
15653 * libc/stdlib/strtod.c (_strtod_r): Ditto.
15655 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
15657 from medp@primag.co.uk:
15658 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
15659 dynamically allocated buffers.
15661 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
15663 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
15664 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
15666 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15668 * configure.in (powerpc): Fix previous fix.
15670 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15672 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
15673 directories for this target.
15675 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
15677 * configure.in (hppa): Add machine_dir definition.
15678 * libc/machine/hppa: New directory with PA specific implementations
15679 of the basic memory/string functions.
15681 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
15683 * configure.in: Update current PowerPC multilib directories.
15684 Split big and little endian configurations.
15686 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
15688 * configure.in: Add --enable-single-float option to configure to
15689 control use of MIPS single-float directories. Default to yes.
15691 * Makefile.in (all): Don't recurse into multilib directory if it
15694 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15696 * libc/sys/sh/syscalls.c: Fix typo.
15698 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
15700 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
15702 * libc/include/process.h: Define WAIT_CHILD.
15703 * libc/include/types.h: Get sizes right for win32.
15704 * configure.in (i386-*-pe): Becomes i386-win32.
15705 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15706 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
15707 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
15710 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
15712 * configure.in (i[345]86-*-pe): New target (NT).
15713 * host/any: DLLTOOL new.
15714 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
15715 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
15716 WIN32 (just enough to cross host the comp-tools).
15718 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
15720 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
15721 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
15723 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
15725 * libc/include/machine/ieeefp.h (arm): Change to always be
15726 __IEEE_BIG_ENDIAN (even on little endian ARM's).
15728 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
15730 * libc/sys/crt0.S: Initialze sp, and call exit after main.
15731 * libc/sys/syscalls.c (abort): New.
15732 * configure.in (arm): Define ABORT_PROVIDED.
15734 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15736 * configure.in (powerpc): Define multidirs.
15738 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
15740 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
15742 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
15744 * configure.in (sparclite): Delete target_cflags. Define multidirs.
15746 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
15748 * configure.in, libc/include/machine/ieeefp.h: Modified
15750 libc/machine/arm/*, libc/sys/arm/*: New
15752 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15754 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
15755 __powerpc__ when determining endianness.
15757 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15759 * configure.in (m68*): Add multidir for the m68332.
15761 * host/any (CC): Fix typo in last change.
15763 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
15765 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
15766 when determining endianness.
15767 * libc/include/machine/ieeefp.h: Ditto.
15768 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
15771 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
15773 * libc/include/errno.h (ENOTEMPTY): Define.
15775 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15777 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
15780 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
15783 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
15784 instead of only when open succeeds. ANSI requires that multiple
15785 calls to tmpnam() result in different files.
15787 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
15788 objects pulled in from /lib/libc.a that must be renamed before
15789 being pulled into newlib. /lib/libc.a's div.o conflicted with
15790 newlib's file with the same name.
15792 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
15794 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
15795 the build tree will only be used if the executables are present
15796 (instead of just the Makefiles).
15798 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
15800 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
15801 versions of these functions that I orignally wrote for the
15803 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
15804 versions I wrote for NetBSD.
15806 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
15808 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
15809 * libc/sys/sparclite/crt0.s: ditto.
15811 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
15813 * configure.in: Add soft-float for proelf.
15815 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
15817 * libc/stdlib/mprec.h (Bcopy): Copy the right number
15820 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
15822 * Makefile.in (all): Depend on `force'.
15823 * configure.in (syscall_dir): Renamed from fake_sys_dir.
15824 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
15825 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
15826 * libc/Makefile.in: Likewise.
15827 * libc/include/reent.h: Update syscall references.
15828 (_fcntl_r): Add prototype.
15829 * libc/syscalls/*.c #include <reent.h>.
15830 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
15832 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
15834 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
15835 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
15836 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
15837 (time.h, sys/types.h): Always include (even if MSDOS).
15838 (stat): Fix prototype.
15840 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
15842 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
15844 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
15846 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
15848 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
15850 * libc/include/regdef.h: New file.
15851 * libc/machine/mips/machine/regdef.h: New file.
15853 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
15855 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
15857 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
15859 * libc/sys/sh/crt0.S: Pass main's return to exit.
15860 * libc/sys/sh/trap.S: Put errno in the right place.
15862 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15864 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
15865 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
15866 * libm/math/ef_rem_pio2.c: Likewise.
15867 * libm/math/e_log10.c: Remove unused static one.
15868 * libm/math/ef_log10.c: Likewise.
15869 * libm/math/s_frexp.c: Likewise.
15870 * libm/math/sf_frexp.c: Likewise.
15872 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
15874 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
15875 longjmp.S: Upgraded.
15876 * libc/sys/go32/sys/setjmp.h: Upgraded.
15877 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
15879 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15881 * configure.in: Add many entries to multidirs for mips targets.
15883 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
15885 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
15886 5.2 which fixes bug where jn(-1,x) is three times larger than
15888 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
15890 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
15892 * libc/sys/w65/sys/syscalls.h: New file
15893 * libc/include/machine/ieeefp.h: W65 support.
15894 * libc/include/sys/config.h: Ditto.
15895 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
15896 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
15897 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
15899 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
15901 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
15903 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
15905 * Makefile.in, configure.in: Remove any references to the old
15908 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15910 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
15911 uses ... in prototype.
15914 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
15916 * libc/sys/a29khif/sys/libconfig.h: Remove.
15917 * libc/sys/go32/sys/libconfig.h: Remove.
15918 * libc/sys/sun4/sys/libconfig.h: Remove.
15919 * libc/sys/sysvi386/sys/libconfig.h: Remove.
15920 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
15921 * libc/sys/sparc64/sys/libconfig.h: Remove.
15923 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
15924 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
15925 * libc/include/math.h: Change all uses of _FLOAT_RET and
15926 _FLOAT_ARG to float.
15927 * libm/test/math.c: Likewise.
15928 * testsuite/libm.sac/math.c: Likewise.
15929 * testsuite/libm.sac/working/math.c: Likewise.
15931 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15933 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
15934 gcc calls gas with endian option.
15935 * configure.in (sh): Build little endian version too.
15937 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15939 * configure.in: Configure big and little endian versions for MIPS
15942 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
15944 * libc/include/limits.h: Deleted.
15945 * libc/include/machine/limits.h: Deleted.
15947 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
15949 * ChangeLog: Remove stub directory. This has all been rewritten
15950 and moved to devo/libgloss.
15952 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
15954 * Makefile.in (dvi): Add to info target, use $@ in sub make.
15955 (docs): Merge into info target.
15956 * libm/Makefile.in (dvi): Add $(srcdir).
15957 * libm/math/Makefile.in (chobjs): Remove underscores from file
15958 names. Texinfo doesn't like them.
15959 (wacos.def, ...): Add explicit targets for all .def files.
15960 * libm/math/math.tex: Remove underscores from @include file names.
15961 * doc/Makefile.in (dvi): Add dummy target.
15962 * testsuite/Makefile.in (dvi): Add dummy target.
15964 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
15966 * Makefile.in (VERSION): Define. For net newlib releases.
15968 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
15970 * README: New file.
15972 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
15974 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
15976 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
15978 * libc/stdlib/setenv.c (_findenv): Declare.
15980 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
15981 fcntl to not use _EXFUN, and change string parameters to open and
15982 creat to be ``const char *''.
15983 * libc/sys/sparc64/sys/fcntl.h: Likewise.
15984 * libc/sys/sparc64/creat.c (creat): Make PATH const.
15985 * libc/syscalls/sysopen.c: Include <fcntl.h>.
15986 (open) Make _FILE const.
15987 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
15988 (_creat): Make PATH const.
15989 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
15990 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
15991 * libc/sys/m88kbug/syscalls.c (open): Likewise.
15992 * libc/sys/sh/syscalls.c (_open): Likewise.
15993 * stub/shared/glue.c (open): Make BUF const.
15994 * stub/ex93x/syscalls.c (open): Make FILENAME const.
15996 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
15998 * libc/include/errno.h: Add ENMFILE
15999 * libc/include/sys/config.h: Support Z8000.
16000 * libc/include/sys/signal.h: New signals for go32.
16001 * libc/machine/h8500/psi.S (__addpsir0r0): New function
16002 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
16003 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
16004 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
16005 size is variable, depending upon CHUNK_POWER.
16006 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
16008 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
16010 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
16012 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16014 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
16016 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16018 * configure.in: Change i[34]86 to i[345]86.
16020 * libc/include/math.h: Don't define HUGE_VAL if it is already
16023 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16025 * testsuite/libm.sac/test_erfc.c: Correct some result values.
16026 * testsuite/libm.sac/test_gammaf.c: Likewise.
16027 * testsuite/libm.sac/test_sin.c: Likewise.
16028 * testsuite/libm.sac/test_tanh.c: Likewise.
16030 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16032 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
16033 already set. Define typedefs __int32_t and __uint32_t.
16034 * libc/include/math.h: Include <machine/ieeefp.h>.
16035 (union __dmath): Use __uint32_t.
16036 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
16037 instead of int and unsigned int.
16039 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16041 Replace the math library with the SunPRO fdlibm package.
16042 * libm/math: Completely changed all files.
16043 * libm/ieeefp: Remove contents and directory.
16044 * libm/Makefile.in (LIBM_FP_LIB): Remove.
16045 (SUBDIRS): Just set to math/lib.a.
16046 * libm/libm.texinfo: Updated for new library.
16047 * libc/include/math.h: Extensive changes for new math library.
16048 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
16049 from _FLOAT_ARG to float.
16050 (maxpowtwo, maxpowtwof): Don't declare.
16051 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
16052 (libm_fp_lib): Removed.
16053 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
16054 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
16055 argument to ${RUNTEST}.
16056 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
16058 (RUNTESTFLAGS): Set CC and CFLAGS.
16059 (TESTS): Remove test_log2 and test_log2f.
16060 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
16061 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
16062 _FLOAT_ARG, for single precision argument type.
16063 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
16064 expected failure. Close the input pipe.
16065 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
16066 Correct misspelling of inaccurate.
16067 (test_mok): Use ``inaccurate'', not ``wrong''.
16068 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
16069 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
16070 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
16071 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
16072 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
16073 test_yn.c): Correct many result values. Many are still wrong.
16075 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
16076 just copy the string.
16077 (_gcvt): Always return the buffer.
16079 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16081 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
16083 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
16085 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
16087 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
16088 (_reclaim_reent): declare new entry point.
16089 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
16092 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
16093 ever allocated, so that we can later reclaim them all.
16094 (pow5mult): make reentrant.
16096 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
16097 so that when given NULL as a buffer, return a pointer to static
16098 space in the rent structure. This is not documented behaviour;
16099 it's only to support ecvt and fcvt, which aren't ANSI anyway.
16100 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
16101 therefore become reentrant).
16103 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
16105 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16107 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
16109 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
16111 * Makefile.in: Make link to libg.a after libc.a; this is needed
16112 for the testsuites to build executables when everything comes
16115 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
16117 * libc/Makefile.in: Add a VERSION variable so we can keep track.
16118 * libm/Makefile.in: Add a VERSION variable so we can keep track.
16120 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
16122 * libc/include/stdio.h: Use __VALIST, not va_list.
16124 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
16126 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
16127 testsuite/libm.sac/execute.exp:
16128 Replace error proc calls with perror calls.
16130 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
16132 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
16133 * libc/include/time.h: #define NULL as 0L.
16135 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
16137 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
16140 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16142 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
16145 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
16147 * configure.in (TARGET_CFLAGS): Set -O2 as default.
16148 (z8k-*-*): Use syscalls fake sys dir.
16149 * libc/sys/z8k/glue.c: Rename syscalls.
16150 * libc/sys/go32/Makefile.in: Use new routines.
16151 * libc/machine/Makefile.in: Fix typo in ln stuff.
16153 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16155 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
16156 * libc/Makefile.in (crt0.o): Likewise.
16157 * libc/machine/Makefile.in (lib.a): Likewise.
16158 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
16160 All Makefile.in files: Added mostlyclean, realclean and distclean
16163 * Makefile.in: Don't bother to unexport XTRAFLAGS or
16164 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
16165 the top level Makefile.
16167 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
16169 * libc/sys/sparc64/sys/stat.h: New file.
16170 * libc/sys/sparc64/sys/time.h: New file.
16171 * libc/sys/sparc64/sys/types.h: New file.
16173 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
16175 * stub/ex93x/crt0.s (start): Add code to clear bss.
16177 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
16179 * libc/include/sys/types.h (time_t): Properly protect inside
16180 #ifndef __time_t_defined.
16182 * libc/stdio/fileno.c: New file.
16183 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
16184 (fileno.o): Add dependency.
16185 * libc/include/stdio.h (__sgetc): Rename never to _never.
16186 (fileno macro): Disable, needs to do CHECK_INIT first.
16188 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
16190 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
16193 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
16194 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
16196 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
16199 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
16201 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
16202 of the various constants.
16204 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
16206 * libc/include/math.h: #ifndef __math_68881 around things which
16207 conflict with the (gcc-provided) inline functions in
16208 gcc/ginclude/math-68881.h.
16210 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
16212 * libc/include/_syslist.h (_gettimeofday): Define.
16214 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
16215 (struct tms, timeval, timezone): Declare.
16216 (_gettimeofday_r, _times_r): Declare.
16217 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
16218 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16219 (time_t): Add multiple definition protection, __time_t_defined.
16220 * libc/include/sys/time.h: Don't #include <time.h>.
16221 Always define struct timezone (remove #ifndef _TIME_H_).
16222 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
16223 #ifdef _CLOCK_T_ surrounding definition of clock_t.
16224 * libc/reent/Makefile.in (OFILES): Add timer.o.
16225 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
16226 * libc/reent/timer.c: New file.
16227 * libc/time/clock.c: #include <reent.h>.
16228 (clock): Call _times_r instead of times.
16229 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
16230 HAVE_GET_TIME_OF_DAY.
16231 Add comment regarding supporting OS routine(s) required (for docs).
16232 #include <reent.h>.
16233 (time): Call _gettimeofday_r instead of gettimeofday.
16234 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
16235 * libc/time/ctime.c: Ditto.
16236 * libc/time/strftime.c: Ditto.
16237 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
16238 (TEMPLATE_SFILES_R): Define here. Also define times.
16239 Add times_r.o/times.S dependence.
16240 (time2.c, junk.c): Deleted.
16241 * libc/sys/sparc64/time2.c: Deleted.
16242 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
16244 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
16245 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
16246 * libc/sys/sparc64/junk.c: Deleted.
16248 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
16250 * libc/sys/sparc64/Makefile.in: Add times syscall.
16251 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
16252 be used with and without it. Add comment clarifying Medium/Anywhere
16253 model requirements.
16254 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
16255 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
16258 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
16260 * configure.in (target_cflags): Move init.
16261 (sparc64-*-*): Define HAVE_BLKSIZE.
16263 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
16265 * libc/include/sys/_types.h: New file.
16266 * libc/include/reent.h: #include it.
16267 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
16268 MISSING_SYSCALL_NAMES.
16270 * libc/include/_syslist.h: Remove _raise.
16271 * libc/reent/signalr.c: New file.
16272 * libc/reent/Makefile.in: Compile it.
16273 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
16274 Add doc for raise and _raise_r.
16275 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
16276 (raise): Call _raise_r.
16277 (_raise_r): Call _getpid_r and _kill_r.
16278 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
16279 (abort): Loop forever calling raise and _exit.
16281 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16283 * configure.in: Remove extraneous echo.
16285 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
16287 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
16288 collision with unistd.h, and fix for svr4.
16290 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
16292 * libc/stdio/local.h (_llicvt): Declare.
16293 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
16294 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
16296 (_sicvt): Fix function header (`value' is short).
16297 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
16298 Add printing of long long's support.
16299 Add printing of 8 byte pointer support.
16301 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
16303 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
16304 stat, chmod): New hooks.
16305 (sbrk): Abort if stack and heap collide.
16306 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
16307 shortcut when given small args.
16308 * libc/machine/sh/setjmp.s: Rewritten.
16309 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
16310 of cmp/str instruction.
16312 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16314 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
16315 and machine_dir powerpc.
16316 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
16317 Add cases for __powerpc__.
16318 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
16321 * libc/include/stdio.h (_iprintf_r): Declare correctly.
16323 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
16325 * libc/stdlib/callocr.c: New file with _calloc_r in it.
16326 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
16328 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
16330 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
16331 (print_e): More comments to describe args, etc.
16332 "type" arg may now be 'g' or 'G' for %g/G format --> remove
16334 (_gcvt): Remove locals decpt, sign, end, p, done.
16335 More comments for print_e invocation.
16336 Pass "type" to print_e as is (g/G).
16338 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
16340 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
16343 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
16345 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
16346 works with any sized pointer, including ones bigger than ints and
16349 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
16351 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
16353 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16355 * libc/include/stdlib.h (_calloc_r): Add prototype.
16356 * libc/machine/h8500/negsi2.c: New file.
16357 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
16358 large unsigned numbers.
16359 * libc/machine/h8500/cmpsi.c: Add cmppsi.
16360 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
16361 works when sizeof(size_t) != sizeof(char *).
16362 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
16364 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
16366 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
16368 * libc/include/assert.h (assert): Handle -traditional.
16370 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
16372 * Makefile.in: added ; after every "fi" and "done" that wasn't at
16373 the end of a line (ie. anything before a backslash continuation)
16374 so that bash handles them.
16376 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16378 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
16381 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
16383 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
16384 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
16385 libc/machine/sh/udivsi3.s: Use new calling convention.
16387 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
16389 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
16390 chmod, access, chdir, chown by making _path const. Also fix _amode
16393 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
16395 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
16396 _khif_tmpnam, because it doesn't comply with ANSI but may be
16397 useful anyway. Real tmpnam was already in libc/stdio, and was
16398 colliding with this one (pr 2176.)
16399 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
16400 the wrong idea anyhow.
16402 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
16404 * configure.in: Remove h8300h, we have multilib now.
16406 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
16408 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
16409 functions, to get preference over the ones in libiberty (since we
16410 provide correct declarations in <string.h>.
16411 * libc/string/Makefile.in: add support for strncasecmp,
16414 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
16416 * Change netware config not to look for cpu explicitly.
16418 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
16420 * libc/sys/sparc64/{creat.c,junk.c}: New files.
16421 * libc/sys/sparc64/Makefile.in: Add dependencies.
16423 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
16425 * configure.in: Clean up v9 a bit, new "os" aoutv8.
16427 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
16429 * libc/include/sys/reent.h: make structure smaller by allocating
16430 some stuff when needed.
16431 * libc/signal/signal.c: allocate as needed
16432 * libc/stdio/findfp.c,stdio/local.h: ditto
16433 * libc/stdlib/mprec.c: ditto
16435 * libc/time/localtime.c: don't return a dangling stack ptr.
16437 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
16439 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
16441 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16443 * libc/include/stdio.h (__sputc): comment out static inline which
16444 confuses coff toolchains.
16446 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
16448 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
16449 _write.s, getpid.c, kill.c, read.s}:
16450 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
16451 through the syscalls directory.
16453 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
16455 * configure.in: fixed double quote gotcha.
16457 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
16459 * stub/ex931: stub library for sparclite board.
16460 * stub/idp: Renamed from mc68ec. Added contructor table
16461 stuff to linker script.
16462 * stub/mvme135: Renamed from m68kmvme. Added contructor table
16463 stuff to linker script.
16465 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16467 * configure.in: Configure testsuites only if they exist.
16469 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16471 * configure.in: Don't set machine_dir for i386 until there is
16472 something in libc/machine/i386 to compile. For i[34]86-*-netware*
16473 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
16474 CLOCK_PROVIDED and MALLOC_PROVIDED.
16476 * libc/sys/netware: New directory. Contains simplistic and
16477 probably incorrect stubs for NetWare. Should be enough to load
16479 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
16480 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
16483 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
16484 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
16485 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
16486 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
16488 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
16490 * testsuite/Makefile.in: add "docs" dummy target for consistency
16491 with rest of newlib; turn "info" and "install-info" into dummy
16492 targets, since they wouldn't have worked. (Depended on
16493 nonexistent "doc" subdir.)
16495 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
16497 * configure.in: handle mips* instead of mips
16499 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
16501 * libc/include/sys/dirent.h: New file. If it is not overridden by
16502 a version of libc/sys/*/sys/dirent.h, it includes the next
16503 <dirent.h> file in case there is one lurking somewhere.
16505 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16507 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
16508 compliance, namely: Accept a minus sign. Consider a single 0 with
16509 a radix of 0 as being a conversion. Determine overflow correctly.
16510 If an overflow occurs, set *ptr to the end of the number, not the
16512 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
16514 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
16516 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
16518 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
16520 * Makefile.in (INSTALL): Use $srcrootpre.
16521 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
16523 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
16525 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
16526 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
16527 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
16528 * libm/math/Makefile.in (matherr.o): Ditto.
16530 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16532 * configure.in: Build multidirs for z8k.
16533 * libc/include/stdlib.h (_strtoul_r): add prototype.
16534 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
16535 * libc/include/machine/setjmp.h: Add for z8k.
16536 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
16537 * libc/sys/z8ksim/glue.c: tidy up.
16539 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
16541 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
16542 New files. Requires execve system call.
16543 * libc/unix/Makefile.in: Use them.
16544 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
16545 Deleted, moved to libc/unix.
16546 * libc/sys/sparc64/Makefile.in: Remove them.
16548 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
16550 * libc/sys/sparc64/{template.S template_r.S}: New files.
16551 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
16553 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
16554 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
16555 umask.S unlink.S wait4.S write.S}: Removed, now built from
16558 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
16560 * libc/time/time.c: #include <_ansi.h>.
16562 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
16564 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
16566 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16568 * configure.in: match m8* rather than m88k so that m88110 is
16569 recognized as well.
16571 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
16573 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
16574 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
16577 * configure.in: Add multilib support to h8300.
16579 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
16581 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
16582 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
16583 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
16585 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16587 * configure.in: Corrected multidirs for sparc target.
16589 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
16591 Support for building newlib multiple times with different
16593 * configure.in: Only configure doc at top level. Set multidirs
16594 when appropriate for target, unless not at top level. If
16595 multidirs is set, independently configure each subdirectory.
16596 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
16597 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
16598 automagically set by configure.in.
16599 (all): If MULTIDIRS is set, build multiple copies of libraries.
16600 (install): If MULTIDIRS is set, install multiple copies of
16601 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
16602 MULTISUBDIR is set, don't bother to install header files.
16603 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
16605 * stub/configure.in: Set MULTISUBDIR appropriately.
16606 * stub/Makefile.in (install): Install in
16607 $(tooldir)/lib/$(MULTISUBDIR).
16608 * All Makefile.in files: Define SRCTOP as well as TOP.
16610 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
16612 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
16613 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
16615 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
16617 * libc/sys/h8300hms/exit.c (_exit): New function.
16619 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16621 * configure.in: recognize m88110.
16623 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16625 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
16626 prototype main and call with args.
16628 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
16630 First real try at system traps for m88k-bug.
16631 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
16632 to real trap calls.
16633 * libc/sys/m88kbug/sys/systraps.h: new file.
16635 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16637 Patches to fix info building when target does not use sys
16639 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
16640 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
16642 * libc/sys/Makefile.in (doc): do nothing.
16644 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16646 * libc/Makefile.in (CRT0): new macro.
16647 (all): depend on $(CRT0) rather than crt0.o.
16649 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
16650 do not default crt0, instead, set crt0 and crt0_dir based on
16651 sys_dir and stub_dir.
16653 * Makefile.in (CRT0_DIR): new macro.
16654 (all): depend on $(CRT0) rather than crt0.o which may not exist.
16655 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
16657 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
16659 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
16661 * testsuite/lib/libm.exp:
16662 added code to support compiling and linking of tests for
16663 libm.sac (paranoia to be added next) and processing the
16664 pass or failure of the tests.
16666 * testsuite/config/unix-libm.exp:
16667 platform specific proc's for dealing with compiler, linker
16668 and the way we execute and process the test results.
16670 * testsuite/libm.sac/execute.exp:
16671 generic framework for the sac tests. the config and lib
16672 expect code for specific platforms tie it all together.
16674 * testsuite/libm.sac/test_is.c:
16675 changed the output of the test to be consistant with the
16676 other tests. parsing of pass nad fail messages is now fixed.
16678 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
16680 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
16681 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
16682 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
16683 #ifdef __cplusplus, surround by extern ""C { ... }.
16684 * libc/include/assert.h: Do *not* protect assert.h against
16685 multiple inclusion! Also, #undef it before #define, to allow
16687 * libc/include/stdio.h (getlogin, cuserid): Removed. These
16688 should be only in unistd.h.
16690 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
16691 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
16694 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
16696 * libc/machine/sparc/Makefile.in: Must create a library, even
16699 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16701 * configure.in: set machine_dir for m88k. edit crt0 definition
16704 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
16706 * libc/Makefile.in (all): also build crt0.o.
16708 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
16709 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
16712 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
16713 (all): reworked to build in place.
16714 (clean): remove lib.a
16715 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
16717 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
16718 (_start): key off edata rather than _start_bss.
16720 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
16722 * libc/include/sys/unistd.h, libc/include/reent.h,
16723 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
16725 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16727 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
16729 * Makefile.in (libc.a): break into two rules, one for libc.a and
16730 one for libc/libc.a. Force subdirs current before rebuilding
16732 (libm.a): break into two rules, one for libm.a and one for
16733 libm/libm.a. Force subdirs current before rebuilding library.
16735 * libc/Makefile.in (SUBLIBS): fix typo.
16737 * libc/sys/Makefile.in (all): force descent into subdirs, then
16738 rebuild library iff out of of date.
16740 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
16742 Rework so that library is built and then finished rather than
16743 being built on each invocation of make.
16745 * host/any (machine_dir, sys_dir, signal_dir): these are not
16746 shared and have been moved to their associated Makefile.in's.
16747 (AR_FLAGS): switch to qc which is faster.
16748 * configure.in: no longer assign machine_dir for m88k. set
16749 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
16750 stub_dir set, then add to configdirs. add comment about silly
16752 (configdirs): drop stub. It will be added only
16754 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
16755 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
16756 stub_lib, crt0): new variables for tailoring lower level
16757 makefiles. Assign accordingly and edit into makefiles.
16758 * libm/Makefile.in: updated copyright.
16759 (TARGETLIB): removed.
16760 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
16761 (SUBDIRS): removed TARGETDEP_DIRS.
16762 (LIBM_FP_LIB, SUBLIBS): new macros.
16764 (force): new target to force rebuilds.
16765 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16766 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
16767 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
16768 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
16769 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
16770 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
16771 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
16772 stub/m68kmvme/Makefile.in: updated copyright.
16773 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
16774 (all): reworked. made this the default rule.
16775 (clean): also remove lib.a.
16776 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16777 * stub/Makefile.in: updated copyright.
16778 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
16779 (stub_lib): new macro.
16780 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
16783 (clean, install): assume stub_dir exists.
16784 (Makefile): depend on configure.in. call $(SHELL) rather than
16785 sh. drop redundant ./
16786 * stub/configure.in (stublib): new macro, assign it, edit it into
16788 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
16791 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16792 * libc/Makefile.in (TARGETCRT0): removed.
16793 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
16795 (SUBDIRS): drop TARGETDEP_DIRS.
16796 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
16797 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
16798 (force): new target to force rebuilds.
16799 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
16800 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
16802 (clean): assume sys_dir always exists.
16803 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
16805 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
16806 libc/locale/Makefile.in, libc/machine/Makefile.in,
16807 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
16808 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
16809 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
16810 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
16811 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
16812 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
16813 libc/signal/Makefile.in, libc/stdio/Makefile.in,
16814 libc/stdlib/Makefile.in, libc/string/Makefile.in,
16815 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
16816 libc/time/Makefile.in, libc/unix/Makefile.in,
16817 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
16818 (TARGETLIB): removed.
16820 (clean): also remove lib.a.
16821 (Makefile): call $(SHELL) rather than sh. drop redundant ./
16822 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
16824 (SUBDIRS): moved to follow frag inclusion, change stub to
16826 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
16827 are now set in the libc Makefile.
16828 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
16829 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
16831 (force): new target to force rebuilds.
16832 * stub/configure.in: determine and set stub_lib for for Makefile.
16834 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
16836 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
16837 crt0.s renamed to crt0.S.
16838 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
16840 * libc/machine/h8300/Makefile.in: Make `all' the default target.
16841 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
16843 * libc/machine/h8300/defines.h: Add macros to handle pointers for
16844 h8300 (16 bits) and h8300h (32 bits).
16845 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
16846 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
16848 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
16850 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
16851 implementation of setjmp and longjmp for the m88k.
16852 * libc/include/machine/setjmp.h: Added __m88000__ case.
16854 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
16856 * configure.in: Recognize h8300h as variant of h8300.
16858 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16860 * libc/include/sys/unistd.h (read, write): get prototypes right.
16861 (sbrk): New prototype.
16862 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
16863 * libc/stdio/local.h: Include unistd.h.
16864 * libc/machine/h8300/syscalls.c: Names have changed.
16866 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
16868 * configure.in: add sys_dir assignment for m88k-bug.
16870 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
16872 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
16874 * libc/sys/sparc64: all *.S files: Use new macros.
16875 * libc/sys/sparc64/isatty.c: New file.
16876 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
16877 functions beyond what newlib provides.
16879 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
16881 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
16884 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
16886 * libc/include/machine/ieeefp.h: Add support for h8/300h.
16888 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
16890 * configure.in: add m88k.
16891 * libc/include/machine/ieeefp.h: add case for m88k. Also add
16892 sanity check so no one else need ever chase what I did to find
16895 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
16897 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
16899 * doc/makedoc.c: Include <ctype.h>.
16901 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
16903 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16904 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16905 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
16907 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
16909 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
16911 * libc/include/errno.h (ENOSYS): Added.
16913 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
16915 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
16917 * libc/stdio/fflush.c (fflush): Check for reent struct
16919 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
16921 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
16923 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
16924 out of dtoa.c so it doesn't pollute the namespace.
16925 * libc/include/_syslist.h: new file -- mappings from _function to
16926 function, for systems where we can't win (by default, all of them,
16927 until we start updating system calls.)
16928 * libc/syscalls: new directory -- stubs for exporting _function
16929 names as unmodified function names.
16930 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
16931 _syslist.h on all platforms by default, but put hooks in for
16932 fake_sys_dir so we can include it when we've renamed the system
16934 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
16935 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
16936 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
16937 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
16938 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
16939 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
16940 non ANSI functions to call _function.
16942 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
16944 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
16945 when base 16 is specified. Don't accept non-digits if radix > 10.
16947 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
16949 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
16951 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16953 * libc/include/sys/stat.h: Surround text after #endif with
16956 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
16958 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
16959 _malloc_r, _realloc_r, and free_r call the corresponding
16960 non-reentrant functions.
16962 * libm/math/modf.c (modf): We now take the address of ipart, so
16963 don't make it a register variable.
16965 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
16967 * libm/math/*: Rename all xxx_r fns to _xxx_r.
16969 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
16971 * libc/libc.texinfo and embedded docn throughout: formatting
16972 improvements, minor rephrasing for clarity, and improved
16975 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16977 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
16979 * libc/stdio/cvt.c (_licvt): Print the right value on machines
16980 where sizeof(int) != sizeof(long).
16982 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16984 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
16985 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
16986 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
16987 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
16988 libm/math/matherr.c: changes for better docn formatting (info).
16990 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
16991 libc/reent/reent.tex, libc/signal/signal.tex,
16992 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
16993 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
16994 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
16995 makeinfo node defaulting to get better Info file node structure.
16996 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
16997 Also include a few formerly missing sections (subroutines).
16999 * doc/doc.str: delete fossil expansion for "func"
17001 * default.menu, no-signal.menu: delete.
17003 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
17004 method used to adjust doc for missing "signals" chapter when
17005 signal_dir is empty.
17007 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17009 * configure.in: added testsuite/libm.sac
17011 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
17013 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
17016 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
17018 * libm/Makefile.in: Use $(MAKE) rather than make, and define
17019 MAKEOVERRIDES to be empty.
17021 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
17023 * configure.in: Don't build mips-*-* with -msoft-float, since that
17024 makes it incompatible with hard floating point.
17026 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17028 * Makefile.in: added recursive 'make check'
17030 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
17032 * configure.in: added ./testsuite ./testsuite/libm.paranoia
17033 * ./testsuite/Makefile.in: created
17034 * ./testsuite/libm.paranoia: paranoia tests added
17036 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
17038 * configure.in: For mips-*-* set machine_dir to mips.
17040 * libc/machine/mips: New directory.
17041 * libc/machine/mips/Makefile.in: New file.
17042 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
17043 setjmp and longjmp.
17044 * libc/include/machine/setjmp.h: Added __mips__ case.
17046 * libc/machine/lmips: Removed unused and useless directory.
17048 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
17050 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
17052 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
17054 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
17057 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
17059 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
17062 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
17064 * libm/test/convert.c: structure member errno -> errno_val.
17065 Must include <errno.h> to use errno, it's a macro now.
17066 * libm/test/math.c: Ditto.
17067 * libm/test/math2.c: Include errno.h.
17068 * libm/test/string.c: Ditto.
17069 * libm/test/test.h: structure member errno -> errno_val.
17070 Remove extern int errno decl.
17072 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
17074 * libc/stdio/Makefile.in: Added dependencies on local header
17076 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
17079 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
17081 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
17083 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
17085 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
17088 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
17089 * libc/stdio/local.h: Add prototype for _licvt.
17091 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
17092 instead of malloc,reealloc.
17094 * libc/stdlib/local.h: New file.
17095 * libc/stdlib/efgcvt.c: #include local.h.
17096 (gcvt): Fix call to _gcvt.
17097 * libc/stdlib/ecvtbuf.c: #include local.h.
17099 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
17100 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
17101 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
17103 * libc/stdlib/atexit.c: moved global data to struct _reent.
17104 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
17106 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
17108 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
17110 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
17111 here from ../reent.h.
17113 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
17115 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
17116 should be provided in both libc.a and libm.a.
17117 (libc.a): Depend on targ-include and libm.a. Copy
17118 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
17119 (libm.a): Depend on targ-include.
17120 * configure.in (subdirs): Removed libc/math.
17122 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17124 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
17126 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
17128 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
17129 sys/reent.h instead of reent.h.
17130 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
17131 headers moved to sys/reent.h.
17132 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
17133 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
17134 __need__MAX_SIGNALS defined.
17135 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
17136 std{in,out,err} refer to new _std{in,out,err} members.
17138 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
17140 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
17143 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
17145 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
17146 rather than whatever macro seterrno() has.
17148 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
17150 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
17151 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17153 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
17156 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
17157 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
17158 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17160 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
17161 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
17163 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
17164 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
17165 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
17166 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
17167 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
17168 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
17169 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
17170 renamed to _xxx_r. struct reent_struct renamed to struct _reent
17171 for ANSI. structure members given leading "_" for ANSI. Use
17172 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17174 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
17175 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
17176 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
17177 reent_struct renamed to struct _reent for ANSI.
17178 Structure members given leading "_" for ANSI.
17179 _CONST --> const in prototypes.
17180 Use _HAVE_STDC instead of __STDC__.
17182 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
17184 struct reent_struct renamed to struct _reent for ANSI.
17185 Structure members given leading "_" for ANSI.
17187 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
17189 struct reent_struct renamed to struct _reent for ANSI.
17191 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
17192 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
17193 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
17194 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
17195 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
17197 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
17198 signal.h, stdio.h, stdlib.h, string.h, time.h}:
17199 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
17200 #ifndef _STRICT_ANSI non-ANSI routines.
17201 Reentrant routines renamed from _r_xxx to _xxx_r.
17202 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
17203 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
17204 Clean up namespace (structure members have leading "_").
17205 struct reent_struct renamed to struct _reent for ANSI compliance.
17206 _CONST --> const in function prototypes.
17208 * libc/include/string.h: Add NULL and size_t.
17210 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
17211 unlink, wait, wait4. Reentrant syscall routines close, fork,
17212 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
17214 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
17215 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
17216 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
17217 write.S}: Define reentrant versions.
17218 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
17219 reentrant syscalls.
17221 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
17223 * libc/include/stdlib.h (RAND_MAX): Fix value.
17225 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
17227 * libc/sys/a29khif/_main.c: Removed unnecessary file.
17228 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
17229 VPATH support targets after all: target.
17231 * stub/mvme135/mvme.S: Renamed exceptionhandler to
17232 exceptionHandler, which is what mvme135-stub.c expects.
17234 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
17236 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
17238 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
17239 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
17242 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
17244 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
17246 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
17248 libc/reent/fstatr.c (_r_fstat): Ditto.
17249 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
17250 libc/reent/sbrkr.c (_r_sbrk): Ditto.
17251 libc/reent/statr.c (_r_stat): Ditto.
17253 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
17254 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
17255 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
17256 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
17257 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
17258 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
17259 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
17260 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
17261 (__swrite): Ditto for _r_lseek, _r_write.
17262 (__sseek): Ditto for _r_lseek.
17263 (__close): Ditto for _r_close.
17264 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
17266 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
17267 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
17269 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
17270 to make reent_struct the first argument (and thus consistent with
17271 the rest of newlib).
17273 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
17274 reference to __STDC__.
17276 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
17278 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
17281 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
17283 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
17285 libc/stdio/fclose.c (fclose): Ditto.
17287 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
17289 * Run through indent and rename reentrant routines for ANSI.
17290 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
17291 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
17292 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
17293 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
17294 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
17295 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
17296 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
17297 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
17298 vsprintf.c wbuf.c wsetup.c local.h}
17300 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
17302 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
17303 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
17304 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
17305 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
17306 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
17307 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
17309 * Run through indent.
17310 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
17311 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
17312 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
17313 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
17316 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
17317 localtime.c mktime.c strftime.c time.c}:
17318 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
17320 * Reformatting + renaming (for ANSI, GNU style, consistency).
17321 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
17322 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
17323 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
17325 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
17327 * libc/include/stdio.h (stdin_r): Fix.
17329 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
17331 * Makefile.in: Unexport some variables to keep GNU make from
17332 putting them in the environment and using up needed ARG_MAX space
17333 (a hack is used to let this work with older makes as well).
17335 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
17337 * Makefile.in: Use $(MAKE) rather than make.
17338 (MAKEOVERRIDES): Define to be empty.
17339 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17340 (libc.a, libm.a): Depend on targ-include.
17341 * host/any (LD): Don't define.
17342 (INCLUDES): Use targ-include.
17343 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
17344 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
17345 * libc/Makefile.in: Use $(MAKE) rather than make.
17346 (MAKEOVERRIDES): Define to be empty.
17347 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17348 (all): Rewrote to be slightly smaller.
17349 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
17350 Define to be empty.
17351 (FLAGS_TO_PASS): Don't pass LD (it's not used).
17352 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
17354 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
17356 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
17357 with errno/errno.c.
17359 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
17361 * Changes for reentrancy.
17362 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
17363 Use ptr->_errno, not errno.
17364 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
17365 libc/stdio/remove.c (remove_r): New function.
17366 libc/stdio/rename.c (rename_r): New function.
17367 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17368 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
17369 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
17370 reentrant versions of system calls.
17371 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
17372 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
17373 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
17374 libc/stdio/findfp.c: Include <string.h>.
17375 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
17377 libc/stdio/wbuf.c: Include "fvwrite.h"
17379 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
17381 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
17382 (NULL): Don't define if already defined.
17383 libc/stdlib/system.c: Call reentrant versions of system calls.
17384 (system_r): New function.
17386 * Changes for reentrancy.
17387 libc/include/_ansi.h (_PARAMS): New macro.
17388 libc/include/errno.h: Define errno as a macro that calls __errno.
17389 (__errno_r): New macro for reentrant code.
17390 libc/include/math.h: Include reent.h. Declare many reentrant
17392 (signgam): Now a macro, not a variable.
17393 (struct exception): Added err field.
17394 libc/include/reent.h: Don't declare __sglue. Added function
17396 (struct reent_struct): Moved errno to beginning. Added _signgam.
17397 libc/include/stdio.h, libc/include/stdlib.h: Added function
17400 * More reentrancy hacking.
17401 libc/errno/errno.c (__errno): New function.
17402 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
17403 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
17406 * Added many new reentrant functions to libm/math/*.
17407 libm/math/error.c (__matherror): Added reent_struct pointer
17408 argument. Changed all callers.
17409 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
17410 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
17411 libm/math/tan.h: Removed obsolete unused header files.
17413 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
17415 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
17417 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17419 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
17422 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17424 * libc/libc.texinfo: comment out reentrancy chapter (duh)
17426 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17428 * libc/reent/reent.tex: New file. (text from
17429 newlib/libc/libc.texinfo)
17430 * libc/stdio/tmpnam.c: fixed doc typo
17431 * libc/stdlib/rand.c: fixed doc typo
17433 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
17435 * libc/reent/reent.tex: New file. (text from
17436 newlib/libc/libc.texinfo)
17438 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17440 support for reentrancy
17441 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
17443 * libc/errno/errno.c, libc/include/ieeefp.h,
17444 libc/include/locale.h, libc/include/reent.h,
17445 libc/include/signal.h, libc/include/stdio.h,
17446 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
17447 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
17448 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
17449 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
17450 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
17451 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
17452 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
17453 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
17454 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
17455 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
17456 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
17457 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
17458 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
17459 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
17460 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
17461 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
17462 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
17463 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
17464 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
17465 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
17466 libc/time/strftime.c: modify to provide reentracy.
17469 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
17470 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
17471 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
17472 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
17473 mstats_r, realloc_r, localeconv_r, setlocale_r
17475 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
17477 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
17478 libc/include/sys/config.h, libc/include/sys/signal.h,
17479 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
17480 provided macros (such as m68000), use the ansi version
17481 (__m68000__) so that the library can be used with code compiled
17482 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
17485 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
17487 * configure.in (sparc*): Don't set -fsoft-float for sparc
17488 configurations. Do set -fsoft-float for sparclite configurations.
17490 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
17492 * default.menu, no-signal.menu: alternate forms of libc main menu
17493 (in newlib rather than newlib/libc due to configuration restrictions)
17495 * configure.in: select one of the two menus above, link to
17498 * libc/libc.texinfo: include menu from separate file
17500 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
17502 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
17503 (info): Split long shell command in half.
17504 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
17505 sub-makes, just CHEW and TARGETDOC.
17506 (targetdep.tex): Removed now special handling of sys and machine
17507 subdirectories, made obsolete some time ago.
17508 * libc/machine/Makefile.in (doc): Don't pass everything to
17509 sub-make, just CHEW and TARGETDOC.
17510 (Makefile): New target.
17511 * libc/sys/Makefile.in (Makefile): New target.
17513 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
17515 * Makefile.in (here and most subdirectories): Only pass down CHEW
17516 and TARGETDOC when making info, not for other targets.
17518 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
17519 $(AR_FLAGS) rather than $(ARUPDATE).
17521 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
17523 * Try to reduce command line length:
17524 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
17525 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
17526 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
17527 (info): Pass CHEW to other subdirs.
17529 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
17531 * configure.in: add signal_dir, like unix_dir, but by default it
17532 is set to "signal" so that a29khif can turn it off (since a29khif
17533 has raise() as part of machine-specific signal.s.)
17535 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
17537 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
17538 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
17540 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
17541 libc/stdio/vfprintf: type lint.
17542 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
17543 initialzation code.
17544 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
17546 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
17548 * stub/mvme135/mvme135-asm.S: new file.
17549 stub/mvme135mvme135-stub.c: moved all assembler routines into
17551 stub/mvme135/Makefile.in: build mvme135-stub.o.
17553 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
17555 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
17556 sub-Makefiles instead, to try to avoid line length limitations.
17558 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
17560 * libc/include/unistd.h (read, write): Use void* instead of
17563 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
17565 * stub/go32/resetpc: sample script to send a reset packet to the
17568 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
17569 DOS environment, which compiles with Turbo C.
17571 * stub/go32/DSER32.LNK: new file, linker commands for serial
17574 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
17575 start up message to identify version; call set_debug_traps.
17577 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
17578 keyboard interaction); call handle_exception() in go_til_stop,
17579 rather than return, so that the remote stub gets control.
17581 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
17582 rename, rather than mv), set flags that work with current Turbo C,
17583 including using the /3 flag; also, add commands to build dser32.
17585 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
17586 default Turbo C installation (\tc rather than \usr)
17588 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
17591 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17593 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
17595 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17597 * libc/stdio/cvt.c (licvt): new function to convert ints when
17598 sizeof(int) != sizeof(long).
17600 * libc/include/stdio.h: added prototype for iprintf.
17601 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
17603 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
17605 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
17606 __REGISTER_PREFIX__.
17608 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
17610 * libc/sys/m68kbare: moved into stub directory.
17612 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
17614 * configure.in, Makefile.in: created new directory stub, to hold
17615 sample code for specific targets.
17617 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
17619 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
17620 in the unified libc/include/sys/fcntl.h.
17622 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
17624 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
17625 printed .01, not 0.01.
17627 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
17629 * configure.in: compile with -m68000 for m68* targets.
17631 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
17633 * libm/math/remainder.c (remainder): document the svr4 and sunos
17634 references used to construct the function.
17636 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
17638 * libm/math/remainder.c (rint, remainder): fix old typos.
17639 * libm/math/Makefile.in: actually build remainder.c (functions
17640 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
17643 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
17645 * libc/string/bcopy.c: BSD version works on overlapping strings,
17646 so ours should too.
17648 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
17651 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
17653 * Makefile.in (docs): new target.
17655 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
17657 * libc/include/sys/times.h: define clock_t as required by POSIX.
17658 libc/include/time.h: protect clock_t from multiple definitions.
17660 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17662 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
17663 does not need more than the original three iterations to get
17664 within 1 ulp. (Paranoia tests for rounding to better than that,
17665 but further iterations *don't* help, only more subtle changes
17668 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
17670 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
17671 were doing nothing useful.
17673 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
17675 * configure.in: define MALLOC_PROVIDED for vxworks targets;
17676 removed sys_dir settings of vxworks68 and vxworks960.
17677 host/any: don't pass -nostdinc to gcc, since newlib no longer
17678 provides all required header files.
17680 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
17681 is not defined; this provides a hook for VxWorks.
17683 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17685 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
17686 buffer if buf is NULL, don't do it here -- it is already being
17687 done by makebuf elsewhere in stdio.
17689 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
17691 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
17692 that C programs can call functions without using initial
17695 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
17697 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
17699 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
17701 * configure.in: set TARGET_CFLAGS for certain CPU types to
17704 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17706 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
17708 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
17710 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
17711 m68k*-unknown-coff.
17713 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
17715 * libc/include/stdio.h: define __need___va_list before including
17716 <stdarg.h>, to avoid defining va_arg, et. al.
17718 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
17720 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
17721 (don't cd to the user's home directory).
17723 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
17724 In general this is the wrong thing to do, but I can't get around
17725 GNU make's insistence on passing command line arguments any other
17728 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
17730 * configure.in: always configure the libc/sys directory, since it
17731 now provides a required documentation file.
17733 * Makefile.in: replaced all instances of $(MAKE) with make. In
17734 general this is the wrong thing to do, but I can't get around GNU
17735 make's insistence on passing command line arguments any other way.
17737 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
17739 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
17742 * libc/stdio/local.h: include <stdarg.h> to define va_list.
17743 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
17745 * libc/include/float.h, libc/include/stdarg.h,
17746 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
17748 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
17749 <stdarg.h>, not from <machine/types.h>. Protect definition of
17751 libc/include/time.h: get size_t from stddef.h. Protect definition
17753 libc/include/machine/limits.h: override gcc <limits.h> by defining
17754 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
17755 get correct INT_MIN and LONG_LONG values.
17756 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
17757 size_t or va_list at all; they're now gotten from stddef.h
17759 libc/include/machine/varargs.h: removed; use gcc version instead.
17760 libc/include/sys/types.h: explicitly include <machine/types.h>.
17762 * libm/math/sqrt.h: using the fp-bit routines appears to require
17765 * Makefile.in, host/any: let system include files override machine
17768 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17770 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
17771 override _*_T_ definitions defaulted here.
17773 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
17775 * Makefile.in (install): install the include files in
17776 $(tooldir)/include, not $(exec_prefix)/include.
17778 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
17780 * Makefile.in (install): fixed typo, and changed install to not
17781 force rebuild of libc.a and libm.a.
17783 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
17785 * libc/sys/a29khif/*: Changed all .include's to include
17786 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
17787 that they will be installed for the user.
17789 * Makefile.in (all): create targ-include, a directory holding the
17790 machine and system specific header files during the build.
17791 (install): fixed installation of machine and system specific
17794 * Makefile.in: fixed comment.
17795 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
17796 we can pass $(INCLUDES) to it.
17798 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
17800 * libc/include/sys/param.h: new generic file, which may be
17801 overridden for specific systems.
17803 * libc/include/sys/signal.h: define all ANSI signal names, and
17804 NSIG (which is not ANSI) for a29k.
17806 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
17808 * Makefile.in: don't pass down arguments the lower level makes
17810 * libc/Makefile.in: recurse directly, rather than using subdir_do,
17811 in hopes of avoiding argument length limits.
17812 * libm/Makefile.in: recurse directly, rather using subdir_do, in
17813 hopes of avoiding argument length limits.
17815 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
17817 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
17820 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
17822 * Fixed make info and make install-info for newlib, changing most
17823 Makefile.in and several *.tex files. Moved doc directory from
17826 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
17827 Should be rewritten.
17829 * libc/string/strings.tex: renamed node index to node index
17830 function, so that it does not conflict with the top level index
17833 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
17835 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
17837 * Overhauled general configuration for newlib. Eliminated all
17838 target dependent Makefile fragments. Create libraries in newlib
17839 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
17840 than CROSS_CC, et. al. Broke make docs; will fix later.
17842 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
17843 Should be rewritten.
17845 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
17847 * libc/configure.in: cleaned up somewhat; switch on ${target}
17848 rather than ${target_alias}.
17849 * libm/configure.in: cleaned up somewhat; switch on ${target}
17850 rather than ${target_alias}.
17852 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
17853 * libc/include/ctype.h: marked _ctype_ as _CONST.
17855 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
17858 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
17859 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
17860 libc/stdio/gets.c (gets): removed non-ANSI warning message.
17861 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
17863 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
17864 bigtens, tinytens): marked arrays _CONST.
17865 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
17866 rather than a static variable.
17868 * libc/time/asctime.c (asctime), libc/time/localtime.c
17869 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
17870 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
17871 mname_len, mname): Marked static arrays _CONST.
17873 * libm/math/gamma.h: made local variables non-static.
17875 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
17876 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
17879 * libm/math/constants.c: removed file, because the constants it
17880 defined were never referenced.
17881 libm/math/Makefile.in: removed references to constants.c.
17882 libm/math/mathimpl.h: removed declarations of constants.
17884 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
17886 * libc/include/machine/varargs.h: only call __builtin_saveregs if
17887 it is sensibly defined in libgcc2. Checks preprocessor defines,
17888 which is not a good solution.
17890 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
17892 * libm/frexp.c: handle denormalized numbers as arguments.
17894 * libm/math/Makefile.in: added some dependencies for .c files
17895 which include local .h files.
17897 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
17899 * libc/configure.in: set target_alias for OSE*. Replace
17900 target_makefile_frag if it is blank.
17902 * libc/Makefile.in: make sure everything is passed to subsidiary
17903 makes; create all directories when installing.
17905 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
17906 CROSS_ARUPDATE instead of AR.
17908 * libm/configure.in: set target_alias for OSE*. Replace
17909 target_makefile_frag if it is blank.
17911 * libm/Makefile.in: make sure everything is passed to subsidiary
17912 makes; create all directories when installing.
17914 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
17916 * add following change from libc copy.
17918 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
17920 * libc/libc.texinfo: make copyright disclaimers appear on back of
17921 title page; make format of same slightly less ugly; avoid using
17922 underbars in section headings (avoids nasty texinfo bug in table
17925 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
17926 comments only) avoid using underbars in section headings
17928 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17929 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
17930 changes in comments only): shorten headings ieeefp/infinity.c,
17931 ieeefp/isnan.c: (doc, comments only) more informative headings
17933 * libc/math/bessel.c: (doc, comments only) shorten heading
17935 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
17936 (doc, comments only) shorten headings
17938 * libc/time/localtime.c (doc, comments only): shorten headings
17940 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
17942 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
17943 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
17945 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
17946 only) more informative headings
17947 * libm/math/bessel.c: (doc, comments only) shorten heading
17949 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
17951 * .../Makefile.in: use CROSS_ARUPDATE consistently.
17952 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
17953 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
17954 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
17955 defined, the one from the .mt file will be correct.
17956 * libc/include/machine, libc/include/sys: created, and populated
17957 with common files from machine/*/machine. ifdefs were used for
17958 most, typically by handling exceptions first and then filling in
17959 defaults. Files with D.J. Delorie copyright #included rather than
17960 copied. Most files in include/sys really were the same in the
17962 * libc/include/...: cleaned up use of _EXFUN.
17963 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
17964 it with double quotes, not angles.
17966 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
17968 * libc/Makefile.in: always create installation directories.
17970 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
17972 * libc/configure.in: handle host properly (using canonical
17973 triples), better error message for the case of target not found
17975 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
17977 * libc/Makefile.in (insincdir): Ensure this directory exists
17978 before attempting installation.
17980 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17982 * libc/stdlib/assert.c: now calls abort like it should
17983 * libc/sys/a29khif: many many patches for 29khif work
17984 * libc/machine/i386: gnulib2 expanded there.
17986 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
17988 Added accurate fp conversion routines to stdlib, moved dcvt from
17989 stdio to stdlib and called it ecvtbuf:
17990 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
17991 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
17993 * libc/libc.texinfo: Modifed to include the copyright info from
17995 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
17996 * libc/test/ : many vector which tested for the implementation
17997 defined returns of strange conversion requests have been updated
17998 to relflect the new implementation
18000 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18002 * libc/libc.texinfo: new chapter on variable arg lists
18003 (stdarg.h/varargs.h)
18004 * libc/libc.texinfo: new title
18005 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
18006 (doc only) shorter headings for better formatting.
18008 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18010 * libc/libc.texinfo: three more info menu entries
18011 * libc/locale/locale.tex: new chapter
18012 * libc/locale/locale.c: new doc for setlocale, localeconv
18013 * libc/locale/Makefile.in: use new locale doc
18014 * libc/signal/signal.tex: new chapter
18015 * libc/signal/raise.c, libc/signal/signal.c: new doc
18016 * libc/signal/Makefile.in: use new doc
18017 * libc/time/time.tex: new chapter
18018 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
18019 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
18020 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
18021 * libc/time/Makefile.in: use new doc
18023 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18025 * libm/math/log1p.c: split to use the new function way of float
18026 function definition. math/log1p.h deleted
18027 * libm/math/scalb.c: obsolete and deleted
18028 * libm/math/scalbn.c: created from part log1p.c
18029 * libm/math/Makefile.in: know about log1p and scalbn
18031 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18033 * libc/ctype/isupper.c: revise doc;
18034 libc/ctype/ctype.tex: use doc from isupper.c
18036 * libc/string/bzero.c: new doc
18038 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
18040 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
18042 * libc/stdlib/Makefile.in: extract new doc
18043 * libc/stdlib/stdlib.tex: use new doc
18045 * libc/string/strerror.c: expanded doc.
18047 * libc/stdio/Makefile.in: extract doc from more files
18048 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
18049 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
18050 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
18051 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
18052 libc/stdio/vsprintf.c: new doc
18053 * libc/stdio/stdio.tex: use new doc
18055 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18057 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
18058 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
18060 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
18063 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
18064 * libc/stdio/setbuf.c: added ansi style definition.
18065 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
18066 buffer if none provided.
18067 * libc/stdio/tmpfile.c: lint
18068 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
18069 rather than using static, also make sure file isn't already
18070 present. Uses P_tmpdir. (tempnam): rewritten to use new
18071 subroutine, and uses P_tmpdir.
18072 * libc/stdio/siprintf.c: created
18074 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
18076 Release 1.03 for NEC, major mods. Main differences from release
18079 More tests in test/:
18080 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
18081 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
18082 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
18083 get/set mask, get/set sticky and get/set roundtoi. Tests
18084 that setting the bits changes the way arithmetic is done.
18085 * string.c: added test to make sure memcmp does it with unsigned
18087 * test.c: cleaned up and removed lint.
18088 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
18089 dvec.c: tests for string to value conversions, sprintf, scanf,
18090 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
18091 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
18092 rounding in sprintf too.
18093 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
18094 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
18095 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
18097 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
18101 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
18102 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
18103 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
18104 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
18105 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
18107 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
18108 * Method of producting float versions of double functions has
18109 changed, functions will be modified gradually. So far:
18110 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
18111 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
18113 * libc/string/memcmp.c: now uses unsigned chars
18114 * libc/string/bcmp.c, libc/string/strcpy.c,
18115 libc/stsring/strxfrm.c: fixed doc
18116 * libc/sys/sysvnecv70.tex: fix example of sbrk code
18119 version-control: never