1 2007-02-07 Corinna Vinschen <corinna@vinschen.de>
3 * libc/include/sys/features.h: Add definition of all supported
4 _POSIX_xxx values for Cygwin.
5 * libc/include/sys/types.h (pthread_rwlock_t): Omit definition
7 (pthread_rwlockattr_t): Ditto.
8 * libc/include/sys/unistd.h: Define all _SC_xxx values as
9 required by SUSv3. Unify formatting.
11 2007-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
13 * libc/include/sys/errno.h: Add ECANCELED.
15 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
16 Kazunori Asayama <asayama@sm.sony.co.jp>
18 * libc/machine/spu/Makefile.am: Add objects.
19 * libc/machine/spu/Makefile.in: Regenerated.
20 * libc/machine/spu/vsscanf.c: New file. Add a stdio function
22 * libc/machine/spu/snprintf.c: Ditto.
23 * libc/machine/spu/sprintf.c: Ditto.
24 * libc/machine/spu/sscanf.c: Ditto.
25 * libc/machine/spu/remove.c: Ditto.
26 * libc/machine/spu/rename.c: Ditto.
27 * libc/machine/spu/tmpnam.c: Ditto.
28 * libc/machine/spu/vsnprintf.c: Add initialization routine of
30 * libc/machine/spu/vsprintf.c: Ditto.
32 2007-02-01 Joel Schopp <jschopp@austin.ibm.com>
33 Kazunori Asayama <asayama@sm.sony.co.jp>
35 * configure.host: Enable SPU specific stdio directory.
36 * libc/machine/spu/Makefile.am: Add objects.
37 * libc/machine/spu/Makefile.in: Regenerated.
38 * libc/machine/spu/c99ppe.h: Add macros and function
39 declarations to initialize SPU specific stdio stuffs.
40 * libc/machine/spu/stdio.c: Add functions to manage Cell SPU
41 specific FILE structures.
42 * libc/machine/spu/perror.c: Add initialization routine of
44 * libc/machine/spu/printf.c: Ditto.
45 * libc/machine/spu/putchar.c: Ditto.
46 * libc/machine/spu/puts.c: Ditto.
47 * libc/machine/spu/vprintf.c: Ditto.
48 * libc/machine/spu/clearerr.c: New file. Add a stdio function
50 * libc/machine/spu/feof.c: Ditto.
51 * libc/machine/spu/ferror.c: Ditto.
52 * libc/machine/spu/fileno.c: Ditto.
53 * libc/machine/spu/fopen.c: Ditto.
54 * libc/machine/spu/fclose.c: Ditto.
55 * libc/machine/spu/freopen.c: Ditto.
56 * libc/machine/spu/fflush.c: Ditto.
57 * libc/machine/spu/fseek.c: Ditto.
58 * libc/machine/spu/ftell.c: Ditto.
59 * libc/machine/spu/rewind.c: Ditto.
60 * libc/machine/spu/fgetpos.c: Ditto.
61 * libc/machine/spu/fsetpos.c: Ditto.
62 * libc/machine/spu/fread.c: Ditto.
63 * libc/machine/spu/fwrite.c: Ditto.
64 * libc/machine/spu/getc.c: Ditto.
65 * libc/machine/spu/getchar.c: Ditto.
66 * libc/machine/spu/gets.c: Ditto.
67 * libc/machine/spu/fgetc.c: Ditto.
68 * libc/machine/spu/fgets.c: Ditto.
69 * libc/machine/spu/ungetc.c: Ditto.
70 * libc/machine/spu/putc.c: Ditto.
71 * libc/machine/spu/fputc.c: Ditto.
72 * libc/machine/spu/fputs.c: Ditto.
73 * libc/machine/spu/vfprintf.c: Ditto.
74 * libc/machine/spu/vfscanf.c: Ditto.
75 * libc/machine/spu/fprintf.c: Ditto.
76 * libc/machine/spu/fscanf.c: Ditto.
77 * libc/machine/spu/scanf.c: Ditto.
78 * libc/machine/spu/vscanf.c: Ditto.
79 * libc/machine/spu/setbuf.c: Ditto.
80 * libc/machine/spu/setvbuf.c: Ditto.
81 * libc/machine/spu/tmpfile.c: Ditto.
83 2007-02-01 Jeff Johnston <jjohnstn@redhat.com>
85 * libc/include/sys/config.h[__SPU__]: Define __CUSTOM_FILE_IO__.
86 * libc/include/stdio.h[!__CUSTOM_FILE_IO__]: Add flag check
87 around stdio macros that manipulate fields in the normal file
89 * libc/include/sys/reent.h[__CUSTOM_FILE_IO__]: Include
90 <sys/custom_file.h> to define custom FILE structure.
91 * libc/include/sys/custom_file.h: New default header file
92 that generates error if not overridden when __CUSTOM_FILE_IO__ set.
93 * libc/machine/spu/sys/custom_file.h: New file.
95 2007-01-31 Kazunori Asayama <asayama@sm.sony.co.jp>
97 * configure.host: Define stdio directory as a variable.
98 * libc/Makefile.am: Define stdio related names
100 * libc/configure.in: Add detection routine of stdio directory.
101 * libc/Makefile.in: Regenerated.
102 * libc/configure: Ditto.
103 * libc/argz/Makefile.in: Ditto.
104 * libc/ctype/Makefile.in: Ditto.
105 * libc/errno/Makefile.in: Ditto.
106 * libc/iconv/Makefile.in: Ditto.
107 * libc/iconv/ccs/Makefile.in: Ditto.
108 * libc/iconv/ccs/binary/Makefile.in: Ditto.
109 * libc/iconv/ces/Makefile.in: Ditto.
110 * libc/iconv/lib/Makefile.in: Ditto.
111 * libc/locale/Makefile.in: Ditto.
112 * libc/misc/Makefile.in: Ditto.
113 * libc/posix/Makefile.in: Ditto.
114 * libc/reent/Makefile.in: Ditto.
115 * libc/search/Makefile.in: Ditto.
116 * libc/signal/Makefile.in: Ditto.
117 * libc/stdio/Makefile.in: Ditto.
118 * libc/stdio64/Makefile.in: Ditto.
119 * libc/stdlib/Makefile.in: Ditto.
120 * libc/string/Makefile.in: Ditto.
121 * libc/syscalls/Makefile.in: Ditto.
122 * libc/time/Makefile.in: Ditto.
123 * libc/unix/Makefile.in: Ditto.
125 2007-01-30 Ben Elliston <bje@au.ibm.com>
127 * libc/machine/spu/vsnprintf.c (c99_vsnprintf_t): Const-qualify
129 * libc/machine/spu/printf.c (c99_printf_t): Likewise.
130 (printf): Pass fmt to va_start to suppress a warning.
132 * libc/search/hash.c (init_hash): Make `info' parameter const.
134 2007-01-19 Kazunori Asayama <asayama@sm.sony.co.jp>
136 * libc/machine/spu/c99ppe.h: Replace vector with __vector.
137 * libc/machine/spu/vec_literal.h: Ditto.
138 * libc/machine/spu/strncmp.c: Ditto.
140 2007-01-15 Joseph Myers <joseph@codesourcery.com>
141 Kazu Hirata <kazu@codesourcery.com>
143 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Add support
144 for E500V1 and E500V2.
146 2007-01-11 Jeff Johnston <jjohnstn@redhat.com>
148 * libm/configure.in: Always configure machine directory.
149 * libm/Makefile.am: Make machine subdirectory part of SUBDIRS
151 * libm/configure: Regenerated.
152 * libm/Makefile.in: Ditto.
153 * libm/*/Makefile.in: Ditto.
155 2007-01-05 Brian Ford <Brian.Ford@FlightSafety.com>
157 * configure.host (*-*-cygwin*): Define HAVE_BLKSIZE.
159 2007-01-02 Ben Elliston <bje@au.ibm.com>
161 * doc/makedoc.c: Include <stdlib.h>.
162 (malloc, realloc): Remove extern declarations.
164 2005-12-18 Jeff Johnston <jjohnstn@redhat.com>
166 * NEWS: Update with 1.15.0 info.
168 * acinclude.m4: Change version number to 1.15.0.
169 * aclocal.m4: Regenerated.
171 * doc/aclocal.m4: Ditto.
172 * doc/configure: Ditto.
173 * libc/*/aclocal.m4: Ditto.
174 * libc/*/configure: Ditto.
175 * libc/libc.texinfo: Ditto.
176 * libm/*/aclocal.m4: Ditto.
177 * libm/*/configure: Ditto.
178 * libm/libm.texinfo: Ditto.
179 * libc/sys/linux/shared.ld: Add VERS_1.15.
181 2006-12-18 Kazu Hirata <kazu@codesourcery.com>
183 Merge from newlib-csl-20060320-branch:
184 2006-12-01 Nathan Sidwell <nathan@codesourcery.com>
185 Kazu Hirata <kazu@codesourcery.com>
187 * configure.host: Recognize fido.
189 2006-12-18 Joel Schopp <jschopp@austin.ibm.com>
191 * libc/machine/spu/c99ppe.h: New file
192 * libc/machine/spu/perror.c: New file to override libc/stdio version.
193 * libc/machine/spu/printf.c: New file
194 * libc/machine/spu/putchar.c: New file
195 * libc/machine/spu/puts.c: New file
196 * libc/machine/spu/vprintf.c: New file
197 * libc/machine/spu/vsnprintf.c: New file
198 * libc/machine/spu/vsprintf.c: New file
199 * libc/machine/spu/Makefile.am: Add new targets.
200 * libc/machine/spu/Makefile.in: Regenerated.
202 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
204 * aclocal.m4 */aclocal.m4: Regenerated using aclocal 1.9.6.
205 * Makefile.in */Makefile.in: Regenerated using automake 1.9.6.
207 2006-12-18 Jeff Johnston <jjohnstn@redhat.com>
209 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from
210 2.6.5 version of Doug Lea's malloc which is the basis of
213 2006-12-18 Kazunori Asayama <asayama@sm.sony.co.jp>
215 * libc/include/machine/setjmp.h[__SPU__]: Replace vector with __vector.
217 2006-12-14 Jeff Johnston <jjohnstn@redhat.com>
218 Eric Blake <ebb9@byu.net>
220 * libc/stdio/fflush.c (fflush): On seekable streams, always flush
221 read but unused data.
222 * libc/stdio/fclose.c (_fclose_r): Always flush streams, since
223 even read streams may have side effects that must happen.
225 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
227 * libc/machine/spu/setjmp.S: Fix to handle registers past 115
230 2006-12-13 Joel Schopp <jschopp@austin.ibm.com>
232 * libc/include/alloca.h: Add undef alloca to work with xlc.
234 2006-12-12 Joel Schopp <jschopp@austin.ibm.com>
236 * libc/include/machine/setjmp.h[__SPU__]: Redefine _JBTYPE for
239 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
241 * libc/machine/spu/strncpy.c: Add padding.
243 2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
245 * testsuite/newlib.string/tstring.c:
247 2006-12-01 Kazunori Asayama <asayama@sm.sony.co.jp>
249 * libc/machine/spu/strchr.c: Fix mask for misaligned string.
250 * libc/machine/spu/strrchr.c: Ditto.
252 2006-11-30 Lev Bishop <lev.bishop@gmail.com>
254 * libc/include/math.h: Allow C99 functions/macros to be
255 defined for C++ even when __STRICT_ANSI__.
257 2006-11-29 Jeff Johnston <jjohnstn@redhat.com>
259 * libc/stdio/makebuf.c (__smakebuf): If dealing with
260 an asprintf-family buffer, make the default initial size 64.
262 2006-11-29 Eric Blake <ebb9@byu.net>
264 * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
265 asprintf, as well as quadratic realloc behavior.
267 2006-11-29 Kazunori Asayama <asayama@sm.sony.co.jpi
269 * libc/machine/spu/memset.c: Fix type of explicit cast.
270 * libc/machine/spu/strncmp.c: Add explicit cast.
271 * libc/machine/spu/strrchr.c: Ditto.
272 * libc/machine/spu/strspn.c: Ditto.
274 2006-11-22 Luca Barbato <lu_zero@gentoo.org>
276 * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
277 * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
278 * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
279 * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
280 * libc/machine/spu/strncat.c: Explicit cast.
281 * libc/machine/spu/strncmp.c: Use spu_splats.
282 * libc/machine/spu/strncpy.c: Explicit cast.
283 * libc/machine/spu/strrchr.c: Use spu_splats.
284 * libc/machine/spu/strspn.c: Use spu_splats.
286 2006-11-15 Till Straumann <strauman@slac.stanford.edu>
288 * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
290 2006-11-14 Eric Blake <ebb9@byu.net>
292 * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
293 (chclass): ' is a flag. j, t, and z are modifiers.
295 2006-11-08 Jie Zhang <jie.zhang@analog.com>
297 * configure.host: Add support for bfin.
298 * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
299 * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
300 * libc/machine/bfin/aclocal.m4: Generate.
301 * libc/machine/bfin/configure.in: New.
302 * libc/machine/bfin/configure: Generate.
303 * libc/machine/bfin/Makefile.am: New.
304 * libc/machine/bfin/Makefile.in: Generate.
305 * libc/machine/bfin/setjmp.S: New.
306 * libc/machine/bfin/longjmp.S: New.
307 * libc/machine/configure.in: Add bfin support.
308 * libc/machine/configure: Generate.
310 2006-11-07 Corinna Vinschen <corinna@vinschen.de>
312 * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
313 (_PC_FILESIZEBITS): Add definition.
314 (_PC_2_SYMLINKS): Ditto.
315 (_PC_SYMLINK_MAX): Ditto.
317 2006-10-27 Joel Schopp <jschopp@austin.ibm.com>
319 * libc/machine/spu/memcpy.c: Override generic function with vectorized
320 version optimized for the cell spu.
321 * libc/machine/spu/memmove.c: Ditto.
322 * libc/machine/spu/memset.c: Ditto.
323 * libc/machine/spu/strcat.c: Ditto.
324 * libc/machine/spu/strchr.c: Ditto.
325 * libc/machine/spu/strcmp.c: Ditto.
326 * libc/machine/spu/strcpy.c: Ditto.
327 * libc/machine/spu/strcspn.c: Ditto.
328 * libc/machine/spu/strlen.c: Ditto.
329 * libc/machine/spu/strncat.c: Ditto.
330 * libc/machine/spu/strncmp.c: Ditto.
331 * libc/machine/spu/strncpy.c: Ditto.
332 * libc/machine/spu/strpbrk.c: Ditto.
333 * libc/machine/spu/strrchr.c: Ditto.
334 * libc/machine/spu/strspn.c: Ditto.
335 * libc/machine/spu/strxfrm.c: Ditto.
336 * libc/machine/spu/vec_literal.h: Add abstraction of vector literals,
337 removing altivec style initializers.
338 * libc/machine/spu/Makefile.am: Add new files to list so they build
339 * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
341 2006-10-27 Jeff Johnston <jjohnstn@redhat.com>
343 * README: Add a brief section on how to regenerate
344 configuration files in newlib.
346 2006-10-25 Vladimir Prus <vladimir@codesourcery.com>
348 * libc/include/math.h: (exception): Add a comment
349 telling fixincludes that we handle C vs. C++ issue.
351 2006-10-11 Yang Tse <yangsita@gmail.com>
353 * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
356 2006-10-11 Corinna Vinschen <corinna@vinschen.de>
358 * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
360 2006-09-26 Jeff Johnston <jjohnstn@redhat.com>
362 * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
363 for clearerr, feof, or fileno.
364 * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change
365 the dummy std stream scheme to use pointers to const external
366 fake files, one for each standard stream.
367 * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
368 argument. For _REENT_SMALL, reset the file pointer if it
369 matches one of the fake std stream pointers.
370 * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
372 * libc/stdio/fclose.c: Ditto.
373 * libc/stdio/feof.c: Ditto.
374 * libc/stdio/ferror.c: Ditto.
375 * libc/stdio/fflush.c: Ditto.
376 * libc/stdio/fgetc.c: Ditto.
377 * libc/stdio/fgets.c: Ditto.
378 * libc/stdio/fileno.c: Ditto.
379 * libc/stdio/findfp.c: Ditto.
380 * libc/stdio/fputc.c: Ditto.
381 * libc/stdio/fputs.c: Ditto.
382 * libc/stdio/fread.c: Ditto.
383 * libc/stdio/freopen.c: Ditto.
384 * libc/stdio/fseek.c: Ditto.
385 * libc/stdio/ftell.c: Ditto.
386 * libc/stdio/fwrite.c: Ditto.
387 * libc/stdio/getc.c: Ditto.
388 * libc/stdio/getdelim.c: Ditto.
389 * libc/stdio/putc.c: Ditto.
390 * libc/stdio/refill.c: Ditto.
391 * libc/stdio/setvbuf.c: Ditto.
392 * libc/stdio/ungetc.c: Ditto.
393 * libc/stdio/vfprintf.c: Ditto.
394 * libc/stdio/vfscanf.c: Ditto.
395 * libc/stdio/wbuf.c: Ditto.: Ditto.
396 * libc/stdio/wsetup.c: Ditto.
397 * libc/stdio64/freopen64.c: Ditto.
398 * libc/stdio64/fseeko64.c: Ditto.
399 * libc/stdio64/ftello64.c: Ditto.
400 * libc/machine/powerpc/vfprintf.c: Ditto.
401 * libc/machine/powerpc/vfscanf.c: Ditto.
403 2006-09-22 Paul Brook <paul@codesourcery.com>
405 * libc/include/sys/reent.h: Define and use __reent_assert.
407 2006-09-13 Joel Sherrill <joel@oarcorp.com>
409 * libc/include/pthread.h: Add pthread barriers,
410 rwlocks, and spinlocks. Change const to
411 _CONST and prefix parameter names with
413 * libc/include/sys/types.h: Add id and attribute
414 types for barriers, wrlocks, and spinlocks.
415 * libc/include/sys/features.h: Enable barriers,
416 wrlocks, and spinlocks for RTEMS.
418 2006-09-13 Patrick Mansfield <patmans@us.ibm.com>
420 * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
421 supposed to be writable.
422 * libm/common/s_lib_ver.c: Ditto.
424 2006-09-12 Paul Brook <paul@codesourcery.com>
426 * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
428 2006-09-07 Masaki Muranaka <monaka@monami-software.com>
431 * libc/machine/xstormy16/Makefile.am:
432 Add $(lpfx) prefix to LIBADD objects.
433 lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
434 * libc/machine/xstormy16/Makefile.in: Regenerated.
436 2006-09-06 Eric Blake <ebb9@byu.net>
438 * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
439 't', and 'z' modifiers.
441 2006-09-01 Kazu Hirata <kazu@codesourcery.com>
443 Merge from newlib-csl-20060320-branch:
444 2006-05-22 Sandra Loosemore <sandra@codesourcery.com>
446 * configure.host: Tell it we have _rename and _system when
447 building m68k-unknown-elf.
449 2006-08-29 Paul Brook <paul@codesourcery.com>
451 * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
453 2006-08-27 Joel Sherrill <joel.sherrill@OARcorp.com>
455 * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
456 BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
457 This is needed to build all AVR and H8300 RTEMS multilib variants.
459 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>
461 * libc/machine/configure.in: Add configuration for SPU.
462 * libc/machine/configure: Regenerated.
463 * libc/machine/spu/memcpy.c: Include string.h.
465 2006-08-22 Eric Blake <ebb9@byu.net>
467 * libc/posix/popen.c (popen): Don't close output end of pipe in
468 child if stdout was closed on entry.
469 [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
471 2006-08-19 Ramana Radhakrishnan <ramana.r@gmail.com>
473 * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
476 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>
478 * libc/time/gmtime.c: Correct man page; clock is not a
479 local time and no conversion occurs.
481 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
483 * configure.host (newlib_cflags) [spu]: Add special compiler
484 options to reduce size.
486 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>
488 * configure.host: Add spu support.
489 * libc/include/stdint.h: Ditto.
490 * libc/include/machine/ieeefp.h: Ditto.
491 * libc/include/machine/setjmp.h: Ditto.
492 * libc/include/sys/config.h: Ditto.
493 * libc/include/sys/types.h: Ditto.
494 * libc/machine/spu/Makefile.am: New file.
495 * libc/machine/spu/Makefile.in: Ditto.
496 * libc/machine/spu/aclocal.m4: Ditto.
497 * libc/machine/spu/configure: Ditto.
498 * libc/machine/spu/configure.in: Ditto.
499 * libc/machine/spu/memcpy.c: Ditto.
500 * libc/machine/spu/setjmp.S: Ditto.
502 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>
504 * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
507 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>
509 * libc/Makefile.am: Add libc_TEXINFOS dependency on
510 generated .texi files.
511 * libm/Makefile.am: Add libm_TEXINFOS dependency on
512 generated .texi files.
513 * libc/Makefile.in: Regenerated.
514 * libm/Makefile.in: Ditto.
516 2006-08-01 Thiemo Seufer <ths@mips.com>
517 Nigel Stephens <nigel@mips.com>
519 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
520 define this to force _impure_ptr to live in the .sdata section.
522 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
524 * acinclude.m4: Check for readelf tool.
525 * configure.in: Use ${READELF} instead of hard-coding.
526 * Regenerate all aclocal.m4, Makefile.in, and configure files.
528 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>
530 * libc/sys/linux/mmap.c: Remove include of sys/mman.h
531 to avoid conflict with newer glibc's revision of mremap.
533 2006-07-05 Jeff Johnston <jjohnstn@redhat.com>
535 * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex
536 floating-point format support. Also redefine
537 dword0 and dword1 macros.
538 * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
539 to prevent setting dword1 which is an rvalue only.
541 2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
543 * libc/stdlib/Makefile.am: Add new gdtoa routines.
544 * libc/stdlib/Makefile.in: Regenerated.
545 * libc/stdlib/gd_qnan.h: New file.
546 * libc/stdlib/gdtoa-gethex.c: Ditto.
547 * libc/stdlib/gdtoa-hexnan.c: Ditto.
548 * libc/stdlib/gdtoa.h: Ditto.
549 * libc/stdlib/mprec.c: Add new helper routines needed by
551 * libc/stdlib/mprec.h: Integrate some defines and prototypes
552 used by gdtoa routines here.
553 * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
554 which adds C99 support such as nan, inf, and hexadecimal input
557 2006-06-15 Corinna Vinschen <corinna@vinschen.de>
559 * libc/include/stdio.h (__sgetc_r): Fix typo.
560 * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
561 * libc/stdio/rget.c (__srbuf): Reinstantiate.
562 * libc/stdio/wbuf.c (__swbuf): Ditto.
564 2006-06-14 Jeff Johnston <jjohnstn@redhat.com>
566 * libc/include/stdio.h: Add new reentrant I/O prototypes for
567 read/write functions. Change getc/putc macros to have reentrant underlying
568 macros/functions. This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
569 * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
570 new reentrant I/O functions/macros for reading/writing.
571 * libc/stdio/fgets.c: Ditto.
572 * libc/stdio/fputc.c: Ditto.
573 * libc/stdio/fputs.c: Ditto.
574 * libc/stdio/fread.c: Ditto.
575 * libc/stdio/fseek.c: Ditto.
576 * libc/stdio64/fseeko64.c: Ditto.
577 * libc/stdio/fwrite.c: Ditto.
578 * libc/stdio/getc.c: Ditto.
579 * libc/stdio/getc_u.c: Ditto.
580 * libc/stdio/getchar.c: Ditto.
581 * libc/stdio/getchar_u.c: Ditto.
582 * libc/stdio/putc.c: Ditto.
583 * libc/stdio/putc_u.c: Ditto.
584 * libc/stdio/putchar.c: Ditto.
585 * libc/stdio/puts.c: Ditto.
586 * libc/stdio/vfprintf.c: Ditto.
587 * libc/stdio/vfscanf.c: Ditto.
588 * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
589 Change all previous callers of __sfvwrite. Set errno to EBADF and
590 set error flag on if attempt is made to write to file that does not
592 * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
593 * libc/stdio/local.h: Ditto.
594 * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
595 Set errno to EBADF and the error flag on if attempt is made to
596 read unreadable file. Change all previous callers of __srefill.
598 * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r. Change
599 all previous callers of __swbuf.
600 * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
601 huge value macros are already defined correctly for i386 by <math.h>.
603 2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
605 * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
606 Make them do something useful in the ARM_RDI_MONITOR case.
608 2006-06-07 Fred Fish <fnf@specifix.com>
610 * libc/search/hash_bigkey.c (MIN,MAX): Remove
611 defines that are already supplied by <sys/param.h>.
613 2006-06-07 Fred Fish <fnf@specifix.com>
615 * configure.host: Remove references to HAVE_GETTIMEOFDAY.
617 2006-06-05 Shaun Jackman <sjackman@gmail.com>
619 * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
621 * libc/posix/Makefile.in: Regenerate.
622 * libc/posix/sleep.c: New file.
623 * libc/posix/usleep.c: Ditto.
625 2006-06-05 Shaun Jackman <sjackman@gmail.com>
627 * configure.host (newlib_cflags) [arm, thumb, xscale]: Remove
628 -DABORT_PROVIDED flag.
629 * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
630 * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
632 2006-06-05 Jeff Johnston <jjohnstn@redhat.com>
634 * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
635 * Makefile.in: Regenerated.
636 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
637 extraneous CFLAGS reference now that CCASFLAGS are being extended
638 properly via multilib.
639 * libc/machine/sh/Makefile.in: Regenerated.
641 2006-06-02 Shaun Jackman <sjackman@gmail.com>
643 * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
646 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
648 * libc/misc/dprintf.c: Removed.
649 * libc/misc/__dprintf.c: Renamed from dprintf.c.
650 * libc/misc/Makefile.am: Changed appropriately for rename.
651 * libc/misc/Makefile.in: Regenerated.
653 2006-05-23 Jeff Johnston <jjohnstn@redhat.com>
655 * libc/include/stdio.h: Protect dprintf prototype
656 with #ifndef dprintf so as to not interfere with
657 historical code defining their own dprintf macro.
659 2006-05-18 Jeff Johnston <jjohnstn@redhat.com>
661 * libc/include/stdio.h: Add prototypes for fiscanf,
664 2006-05-11 J"orn Rennecke <joern.rennecke@st.com>
666 * acinclude.m4 (_NEWLIB_VERSION): Rename to:
667 (DEF_NEWLIB_VERSION).
668 * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
669 * configure: Regenerate.
671 2006-05-09 Jeff Johnston <jjohnstn@redhat.com>
673 * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
675 * libc/ctype/Makefile.in: Regenerated.
677 2006-05-09 Kazu Hirata <kazu@codesourcery.com>
679 * libc/machine/arm/Makefile.am: Fix a typo.
680 * libc/machine/arm/Makefile.in: Regenerated.
682 2006-05-08 J"orn Rennecke <joern.rennecke@st.com>
684 * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
685 * libc/machine/sh/Makefile.in: Regenerate.
687 2006-05-03 J"orn Rennecke <joern.rennecke@st.com>
689 * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
690 * libc/sys/sh/Makefile.in (AM_CCASFLAGS): Likewise.
692 2006-05-02 Jeff Johnston <jjohnstn@redhat.com>
694 * libc/sys/sysnec810/Makefile.am: Specify .S files instead of
696 * libc/sys/sysnec810/Makefile.in: Regenerated.
697 * libc/sys/sysnec810/crt0.S: Renamed from .s file.
698 * libc/sys/sysnec810/io.S: Ditto.
699 * libc/sys/sysnec810/crt0.s: Renamed to .S file.
700 * libc/sys/sysnec810/io.s: Ditto.
702 2006-05-01 Jeff Johnston <jjohnstn@redhat.com>
704 * libc/argz/Makefile.am: Prefix any objects specified with $(lpfx). If source file can
705 be specified instead of object, do so.
706 * libc/ctype/Makefile.am: Ditto.
707 * libc/iconv/ccs/Makefile.am: Ditto.
708 * libc/iconv/ces/Makefile.am: Ditto.
709 * libc/iconv/lib/Makefile.am: Ditto.
710 * libc/locale/Makefile.am: Ditto.
711 * libc/posix/Makefile.am: Ditto.
712 * libc/reent/Makefile.am: Ditto.
713 * libc/search/Makefile.am: Ditto.
714 * libc/stdio/Makefile.am: Ditto.
715 * libc/stdio64/Makefile.am: Ditto.
716 * libc/stdlib/Makefile.am: Ditto.
717 * libc/string/Makefile.am: Ditto.
718 * libc/syscalls/Makefile.am: Ditto.
719 * libc/unix/Makefile.am: Ditto.
720 * libc/machine/a29k/Makefile.am: Specify lib_a_CCASFLAGS so .S files will get
721 prefix added automatically. Any specified rules must use $(lpfx) for
723 * libc/machine/arm/Makefile.am: Ditto.
724 * libc/machine/cris/Makefile.am: Ditto.
725 * libc/machine/crx/Makefile.am: Ditto.
726 * libc/machine/d10v/Makefile.am: Ditto.
727 * libc/machine/d30v/Makefile.am: Ditto.
728 * libc/machine/fr30/Makefile.am: Ditto.
729 * libc/machine/frv/Makefile.am: Ditto.
730 * libc/machine/h8300/Makefile.am: Ditto.
731 * libc/machine/h8500/Makefile.am: Ditto.
732 * libc/machine/hppa/Makefile.am: Ditto.
733 * libc/machine/i386/Makefile.am: Ditto.
734 * libc/machine/i960/Makefile.am: Ditto.
735 * libc/machine/iq2000/Makefile.am: Ditto.
736 * libc/machine/m32c/Makefile.am: Ditto.
737 * libc/machine/m32r/Makefile.am: Ditto.
738 * libc/machine/m68hc11/Makefile.am: Ditto.
739 * libc/machine/m68k/Makefile.am: Ditto.
740 * libc/machine/m88k/Makefile.am: Ditto.
741 * libc/machine/mips/Makefile.am: Ditto.
742 * libc/machine/mn10200/Makefile.am: Ditto.
743 * libc/machine/mn10300/Makefile.am: Ditto.
744 * libc/machine/mt/Makefile.am: Ditto.
745 * libc/machine/necv70/Makefile.am: Ditto.
746 * libc/machine/powerpc/Makefile.am: Ditto.
747 * libc/machine/sh/Makefile.am: Ditto.
748 * libc/machine/sh/Makefile.in: Ditto.
749 * libc/machine/sparc/Makefile.am: Ditto.
750 * libc/machine/tic4x/Makefile.am: Ditto.
751 * libc/machine/tic80/Makefile.am: Ditto.
752 * libc/machine/v850/Makefile.am: Ditto.
753 * libc/machine/w65/Makefile.am: Ditto.
754 * libc/machine/xscale/Makefile.am: Ditto.
755 * libc/machine/xstormy16/Makefile.am: Ditto.
756 * libc/machine/z8k/Makefile.am: Ditto.
757 * libc/sys/a29khif/Makefile.am: Ditto.
758 * libc/sys/arm/Makefile.am: Ditto.
759 * libc/sys/d10v/Makefile.am: Ditto.
760 * libc/sys/h8300hms/Makefile.am: Ditto.
761 * libc/sys/h8500hms/Makefile.am: Ditto.
762 * libc/sys/linux/Makefile.am: Ditto.
763 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
764 * libc/sys/linux/net/Makefile.am: Ditto.
765 * libc/sys/linux/stdlib/Makefile.am: Ditto.
766 * libc/sys/m88kbug/Makefile.am: Ditto.
767 * libc/sys/mmixware/Makefile.am: Ditto.
768 * libc/sys/rdos/Makefile.am: Ditto.
769 * libc/sys/rtems/Makefile.am: Ditto.
770 * libc/sys/sh/Makefile.am: Ditto.
771 * libc/sys/sun4/Makefile.am: Ditto.
772 * libc/sys/sysmec/Makefile.am: Ditto.
773 * libc/sys/sysnec810/Makefile.am: Ditto.
774 * libc/sys/sysnecv850/Makefile.am: Ditto.
775 * libc/sys/sysvi386/Makefile.am: Ditto.
776 * libc/sys/sysvnecv70/Makefile.am: Ditto.
777 * libc/sys/tic80/Makefile.am: Ditto.
778 * libc/sys/w65/Makefile.am: Ditto.
779 * libc/sys/z8ksim/Makefile.am: Ditto.
780 * libc/machine/necv70/fastmath.S: Renamed from .s file.
781 * libc/machine/necv70/setjmp.S: Ditto.
782 * libc/machine/necv70/fastmath.s: Removed.
783 * libc/machine/necv70/setjmp.s: Ditto.
784 * libc/machine/w65/*.S: New files renamed from .s files.
785 * libc/machine/w65/*.s: Renamed and removed.
786 * libc/sys/a29khif/*.S: New files renamed from .s files.
787 * libc/sys/a29khif/*.s: Renamed and removed.
788 * libc/sys/sysvi386/*.S: New files renamed from .s files.
789 * libc/sys/sysvi386/*.s: Renamed and removed.
790 * libc/sys/sysvnecv70/*.S: New files renamed from .s files.
791 * libc/sys/sysvnecv70/*.s: Renamed and removed.
792 * libc/*Makefile.in: Regenerated as appropriate.
794 2006-04-24 DJ Delorie <dj@redhat.com>
796 * libc/machine/sh/configure.in: Avoid link tests.
797 * libc/machine/sh/configure: Regenerate.
799 2006-04-18 Jeff Johnston <jjohnstn@redhat.com>
801 * libc/include/sys/signal.h (sigdelset, sigfillset, sigismember): New macros.
802 (sigaddset, sigemptyset): Add return code.
804 2006-04-13 Ralf Corsepius <ralf.corsepius@rtems.org>
806 * acinclude.m4: New _NEWLIB_VERSION.
807 * acinclude.m4(NEWLIB_CONFIGURE): AC_REQUIRE(_NEWLIB_VERSION).
808 Use AC_CANONICAL_HOST instead of AC_CANONICAL_SYSTEM.
809 Use new form of AC_INIT_AUTOMAKE.
810 * configure.in: AC_PREREQ(2.59).
811 Use autoconf-2.5.x version of AC_INIT.
812 Use AC_CONFIG_FILES and autoconf-2.5x AC_OUTPUT instead of
813 autoconf-2.13's AC_OUTPUT.
814 * libm/configure.in: Ditto.
815 * libm/machine/configure.in: Ditto.
816 * libm/machine/i386/configure.in: Ditto.
817 * libc/configure.in: Ditto.
818 * libc/machine/a29k/configure.in: Ditto.
819 * libc/machine/arm/configure.in: Ditto.
820 * libc/machine/configure.in: Ditto.
821 * libc/machine/mn10300/configure.in: Ditto.
822 * libc/machine/powerpc/configure.in: Ditto.
823 * libc/machine/z8k/configure.in: Ditto.
824 * libc/machine/h8300/configure.in: Ditto.
825 * libc/machine/mips/configure.in: Ditto.
826 * libc/machine/crx/configure.in: Ditto.
827 * libc/machine/m68hc11/configure.in: Ditto.
828 * libc/machine/h8500/configure.in: Ditto.
829 * libc/machine/xscale/configure.in: Ditto.
830 * libc/machine/d10v/configure.in: Ditto.
831 * libc/machine/fr30/configure.in: Ditto.
832 * libc/machine/sh/configure.in: Ditto.
833 * libc/machine/tic80/configure.in: Ditto.
834 * libc/machine/m32r/configure.in: Ditto.
835 * libc/machine/xstormy16/configure.in: Ditto.
836 * libc/machine/i386/configure.in: Ditto.
837 * libc/machine/d30v/configure.in: Ditto.
838 * libc/machine/mn10200/configure.in: Ditto.
839 * libc/machine/frv/configure.in: Ditto.
840 * libc/machine/mt/configure.in: Ditto.
841 * libc/machine/i960/configure.in: Ditto.
842 * libc/machine/v850/configure.in: Ditto.
843 * libc/machine/necv70/configure.in: Ditto.
844 * libc/machine/tic4x/configure.in: Ditto.
845 * libc/machine/cris/configure.in: Ditto.
846 * libc/machine/m68k/configure.in: Ditto.
847 * libc/machine/m32c/configure.in: Ditto.
848 * libc/machine/hppa/configure.in: Ditto.
849 * libc/machine/w65/configure.in: Ditto.
850 * libc/machine/iq2000/configure.in: Ditto.
851 * libc/machine/sparc/configure.in: Ditto.
852 * libc/machine/m88k/configure.in: Ditto.
853 * libc/sys/linux/configure.in: Ditto.
854 * libc/sys/linux/machine/configure.in: Ditto.
855 * libc/sys/linux/machine/i386/configure.in: Ditto.
856 * libc/sys/linux/linuxthreads/configure.in: Ditto.
857 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
858 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
859 * libc/sys/arm/configure.in: Ditto.
860 * libc/sys/configure.in: Ditto.
861 * libc/sys/decstation/configure.in: Ditto.
862 * libc/sys/a29khif/configure.in: Ditto.
863 * libc/sys/sysnecv850/configure.in: Ditto.
864 * libc/sys/d10v/configure.in: Ditto.
865 * libc/sys/netware/configure.in: Ditto.
866 * libc/sys/mmixware/configure.in: Ditto.
867 * libc/sys/h8500hms/configure.in: Ditto.
868 * libc/sys/sh/configure.in: Ditto.
869 * libc/sys/tic80/configure.in: Ditto.
870 * libc/sys/rdos/configure.in: Ditto.
871 * libc/sys/sysmec/configure.in: Ditto.
872 * libc/sys/sysvi386/configure.in: Ditto.
873 * libc/sys/h8300hms/configure.in: Ditto.
874 * libc/sys/sparc64/configure.in: Ditto.
875 * libc/sys/arc/configure.in: Ditto.
876 * libc/sys/sysnec810/configure.in: Ditto.
877 * libc/sys/m88kbug/configure.in: Ditto.
878 * libc/sys/sysvnecv70/configure.in: Ditto.
879 * libc/sys/z8ksim/configure.in: Ditto.
880 * libc/sys/rtems/configure.in: Ditto.
881 * libc/sys/w65/configure.in: Ditto.
882 * libc/sys/sun4/configure.in: Ditto.
883 * doc/configure.in: Ditto.
884 * iconvdata/configure.in: Ditto.
885 * configure.in: Use AC_CONFIG_HEADER instead of AM_CONFIG_HEADER.
887 2006-04-11 Jeff Johnston <jjohnstn@redhat.com>
889 * acinclude.m4: Properly add square brackets for
890 AC_DEFUN macros. Rewrite LIB_AC_PROG_CC to remove
891 macros no longer available. Add LIB_AM_PROG_AS to
892 remove prereq of AC_PROG_CC. Add LIB_AC_PROG_CC_GNU
893 macro. Substitute lpfx (library object prefix).
894 * configure.host: Set lpfx depending on whether
895 libtool is used or not.
896 * configure.in: Individually specify libc and libm
897 to AC_CONFIG_SUBDIRS. Add square bracket quoting as
899 * Makefile.am: Use $(lpfx) to get object names for
900 math-library functions that should also be in libc.
901 * libc/machine/configure.in: Use case statement to determine
902 AC_CONFIG_SUBDIRS statement.
903 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
904 * libc/sys/linux/machine/configure.in: Ditto.
905 * libc/sys/configure.in: Ditto.
906 * libm/machine/configure.in: Ditto.
907 * libc/sys/linux/configure.in: Fix up AC_CONFIG_SUBDIRS.
908 * libm/configure.in: Add AM_CONDITIONAL statement
909 for HAVE_LIBM_MACHINE_DIR.
910 * libc/machine/a29k/Makefile.am: Modified to work with
911 latest automake. Change includes setting AM_CCASFLAGS
912 so building .S files will properly pick up flags used
914 * libc/machine/arm/Makefile.am: Ditto.
915 * libc/machine/crx/Makefile.am: Ditto.
916 * libc/machine/d10v/Makefile.am: Ditto.
917 * libc/machine/d30v/Makefile.am: Ditto.
918 * libc/machine/fr30/Makefile.am: Ditto.
919 * libc/machine/frv/Makefile.am: Ditto.
920 * libc/machine/h8300/Makefile.am: Ditto.
921 * libc/machine/h8500/Makefile.am: Ditto.
922 * libc/machine/hppa/Makefile.am: Ditto.
923 * libc/machine/i386/Makefile.am: Ditto.
924 * libc/machine/iq2000/Makefile.am: Ditto.
925 * libc/machine/m32c/Makefile.am: Ditto.
926 * libc/machine/m32r/Makefile.am: Ditto.
927 * libc/machine/m68hc11/Makefile.am: Ditto.
928 * libc/machine/m68k/Makefile.am: Ditto.
929 * libc/machine/m88k/Makefile.am: Ditto.
930 * libc/machine/mips/Makefile.am: Ditto.
931 * libc/machine/mn10200/Makefile.am: Ditto.
932 * libc/machine/mn10300/Makefile.am: Ditto.
933 * libc/machine/mt/Makefile.am: Ditto.
934 * libc/machine/necv70/Makefile.am: Ditto.
935 * libc/machine/powerpc/Makefile.am: Ditto.
936 * libc/machine/sh/Makefile.am: Ditto.
937 * libc/machine/sparc/Makefile.am: Ditto.
938 * libc/machine/tic4x/Makefile.am: Ditto.
939 * libc/machine/tic80/Makefile.am: Ditto.
940 * libc/machine/v850/Makefile.am: Ditto.
941 * libc/machine/w65/Makefile.am: Ditto.
942 * libc/machine/xscale/Makefile.am: Ditto.
943 * libc/machine/xstormy16/Makefile.am: Ditto.
944 * libc/machine/z8k/Makefile.am: Ditto.
945 * libc/sys/a29khif/Makefile.am: Ditto.
946 * libc/sys/arc/Makefile.am: Ditto.
947 * libc/sys/arm/Makefile.am: Ditto.
948 * libc/sys/d10v/Makefile.am: Ditto.
949 * libc/sys/decstation/Makefile.am: Ditto.
950 * libc/sys/h8300hms/Makefile.am: Ditto.
951 * libc/sys/h8500hms/Makefile.am: Ditto.
952 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
953 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
954 * libc/sys/m88kbug/Makefile.am: Ditto.
955 * libc/sys/mmixware/Makefile.am: Ditto.
956 * libc/sys/netware/Makefile.am: Ditto.
957 * libc/sys/rdos/Makefile.am: Ditto.
958 * libc/sys/rtems/Makefile.am: Ditto.
959 * libc/sys/sh/Makefile.am: Ditto.
960 * libc/sys/sparc64/Makefile.am: Ditto.
961 * libc/sys/sysmec/Makefile.am: Ditto.
962 * libc/sys/sysnec810/Makefile.am: Ditto.
963 * libc/sys/sysnecv850/Makefile.am: Ditto.
964 * libc/sys/sysvi386/Makefile.am: Ditto.
965 * libc/sys/sysvnecv70/Makefile.am: Ditto.
966 * libc/sys/tic80/Makefile.am: Ditto.
967 * libc/sys/w65/Makefile.am: Ditto.
968 * libc/sys/z8ksim/Makefile.am: Ditto.
969 * libm/machine/i386/Makefile.am: Ditto.
970 * libc/sys/arm/Makefile.am: Ditto plus add EXTRA sources including
971 trap.S so that automake will generate a .S.o suffix rule.
972 * libc/argz/Makefile.am: Modified to work with
973 latest automake. Change includes adding lib_a_CFLAGS
974 so automake doesn't complain about libtool and non-libtool
975 libraries sharing objects.
976 * libc/ctype/Makefile.am: Ditto.
977 * libc/errno/Makefile.am: Ditto.
978 * libc/iconv/ccs/Makefile.am: Ditto.
979 * libc/iconv/ces/Makefile.am: Ditto.
980 * libc/iconv/lib/Makefile.am: Ditto.
981 * libc/locale/Makefile.am: Ditto.
982 * libc/misc/Makefile.am: Ditto.
983 * libc/posix/Makefile.am: Ditto.
984 * libc/reent/Makefile.am: Ditto.
985 * libc/search/Makefile.am: Ditto.
986 * libc/signal/Makefile.am: Ditto.
987 * libc/stdio/Makefile.am: Ditto.
988 * libc/stdio64/Makefile.am: Ditto.
989 * libc/stdlib/Makefile.am: Ditto.
990 * libc/string/Makefile.am: Ditto.
991 * libc/sys/linux/Makefile.am: Ditto.
992 * libc/sys/linux/argp/Makefile.am: Ditto.
993 * libc/sys/linux/cmath/Makefile.am: Ditto.
994 * libc/sys/linux/dl/Makefile.am: Ditto.
995 * libc/sys/linux/iconv/Makefile.am: Ditto.
996 * libc/sys/linux/intl/Makefile.am: Ditto.
997 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
998 * libc/sys/linux/net/Makefile.am: Ditto.
999 * libc/sys/linux/stdlib/Makefile.am: Ditto.
1000 * libc/syscalls/Makefile.am: Ditto.
1001 * libc/time/Makefile.am: Ditto.
1002 * libc/unix/Makefile.am: Ditto.
1003 * libm/Makefile.am: Ditto.
1004 * libm/common/Makefile.am: Ditto.
1005 * libm/math/Makefile.am: Ditto.
1006 * libm/mathfp/Makefile.am: Ditto.
1007 * Regenerate all aclocal.m4, Makefile.in, and configure files.
1009 2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
1011 * libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
1012 anymore. Assume there is a gettimeofday syscall.
1014 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1016 * libc/sys/linux/include/netinet/ip.h: Include netinet/in_systm.h
1017 for the declaration of n_long.
1019 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1021 * libc/sys/linux/include/net/if.h: Include sys/socket.h for
1023 (IFF_SMART): Replace this define with IFF_NOTRAILERS.
1024 (IFF_CANTCHANGE): Replace IFF_SMART reference with IFF_NOTRAILERS.
1025 (IFF_NOTRAILERS): New define.
1026 (struct ifreq): Add ifru_netmask.
1027 (ifr_netmask): New define.
1029 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1031 * libc/sys/linux/sys/ioccom.h (ioctl): Change declaration to
1034 2006-03-29 Shaun Jackman <sjackman@gmail.com>
1036 * libtool.m4: Set lt_cv_deplibs_check_method=pass_all for
1037 linux-newlib libc implementations.
1039 2006-03-29 Eric Blake <ebb9@byu.net>
1041 * libc/stdio/freopen.c (_freopen_r) [__SCLE]: Fix typo.
1042 * libc/stdio64/freopen64.c (_freopen64_r) [__SCLE]: Likewise.
1044 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1046 * libc/sys/linux/io.c (__mknod): Fix declaration of
1047 syscall to pass a dev_t as third argument rather than
1050 2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
1052 * libc/sys/linux/net/name6.c: Fix struct references.
1054 2006-03-22 Mark Mitchell <mark@codesourcery.com>
1056 * configure.host: Allow hosts to set the default
1057 newlib_atexit_dynamic_alloc value.
1058 * configure.in: Likewise.
1059 * configure: Regenerated.
1061 2006-03-20 Mark Mitchell <mark@codesourcery.com>
1063 * acconfig.h (_ATEXIT_DYNAMIC_ALLOC): Undef.
1064 * configure.in (--disable-newlib-atexit-dynamic-alloc): New
1066 * configure: Regenerated.
1067 * newlib.hin: Regenerated.
1068 * libc/stdlib/__atexit.c (__register_exitproc): Don't call malloc
1069 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1070 * libc/stdlib/__call_atexit.c (__call_exitprocs): Don't call free
1071 if _ATEXIT_DYNAMIC_ALLOC is undefined.
1073 2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
1075 * libc/sys/linux/linuxthreads/config.h: Remove definition
1078 2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
1080 * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
1081 for a string I/O file that isn't using the asprintf family.
1083 2006-03-07 Eric Blake <ebb9@byu.net>
1085 * libc/stdio/freopen.c (_freopen_r) [HAVE_FCNTL]: For NULL
1086 filename, allow read-only or write-only FILE atop O_RDWR file
1088 * libc/stdio64/freopen64.c (_freopen64_r) [HAVE_FCNTL]: Likewise.
1090 2006-03-07 Jeff Johnston <jjohnstn@redhat.com>
1092 * libm/common/sf_isinf.c[_DOUBLE_IS_32BITS]: Undef isinf.
1093 * libm/common/sf_isnan.c[_DOUBLE_IS_32BITS]: Undef isnan.
1095 2006-03-02 Jeff Johnston <jjohnstn@redhat.com>
1097 * libm/math/math.tex: Fix reference to sisnan.def which
1098 is now in common subdirectory.
1099 * libm/mathfp/mathfp.tex: Ditto.
1101 2006-02-27 Jeff Johnston <jjohnstn@redhat.com>
1103 * Makefile.am (MATHOBJS_IN_LIBC): Add s_isinfd, sf_isinff,
1104 s_isnand, and sf_isnanf object files.
1105 * Makefile.in: Regenerated.
1106 * libc/include/ieeefp.h: Undef isnan and isinf to avoid
1107 conflict if <math.h> has previously been included.
1108 * libc/include/math.h
1109 * libc/include/math.h: Make isnan and isinf macros to
1111 (__isinfd, __isinff, __isnand, __isnanf): New functions.
1112 * libm/common/Makefile.am: Add new s_isinfd, s_isnand, sf_isinff,
1113 and sf_isnanf files. Also support s_isnan, sf_isnan, s_isinf, and
1114 sf_isinf files which have been moved from math/mathfp directories.
1115 * libm/common/Makefile.in: Regenerated.
1116 * libm/common/s_isinfd.c: New file.
1117 * libm/common/s_isnand.c: Ditto.
1118 * libm/common/sf_isinff.c: Ditto.
1119 * libm/common/sf_isnanf.c: Ditto.
1120 * libm/common/s_isinf.c: Moved from libm/math directory.
1121 * libm/common/s_isnan.c: Ditto.
1122 * libm/common/sf_isinf.c: Ditto.
1123 * libm/common/sf_isnan.c: Ditto.
1124 * libm/math/Makefile.am: Remove isinf and isnan family functions
1125 which have been moved into common directory.
1126 * libm/mathfp/Makefile.am: Ditto.
1127 * libm/math/Makefile.in: Regenerated.
1128 * libm/mathfp/Makefile.in: Ditto.
1129 * libm/math/s_isinf.c: Removed.
1130 * libm/math/s_isnan.c: Ditto.
1131 * libm/math/sf_isinf.c: Ditto.
1132 * libm/math/sf_isnan.c: Ditto.
1133 * libm/mathfp/s_isinf.c: Ditto.
1134 * libm/mathfp/s_isnan.c: Ditto.
1135 * libm/mathfp/sf_isinf.c: Ditto.
1136 * libm/mathfp/sf_isnan.c: Ditto.
1138 2006-02-20 Jeff Johnston <jjohnstn@redhat.com>
1140 * libc/stdio/fflush.c (fflush): For an fflush on a read-only
1141 stream, turn off fseek/rewind optimization as per POSIX/SUSv3.
1142 * libc/stdio/fseek.c (_fseek_r): After a successful unoptimized
1143 seek, turn off the __SNPT no-optimization flag.
1145 2006-02-16 Jeff Johnston <jjohnstn@redhat.com>
1147 * libc/sys/linux/aio.c: Define _GNU_SOURCE so struct aioinit
1149 * libc/sys/linux/sys/types.h: Move <sys/config.h> ahead of
1150 <features.h> to preset special flags.
1152 2006-02-15 Corinna Vinschen <corinna@vinschen.de>
1154 * libc/include/sys/time.h (struct timeval): Change member types
1156 * libc/include/sys/types.h (useconds_t): Change to unsigned
1158 (suseconds_t): Define type.
1160 2006-02-13 Jeff Johnston <jjohnstn@redhat.com>
1161 David Carne <davidcarne@gmail.com>
1163 * libc/string/strndup_r.c (_strndup_r): Use strnlen logic
1164 instead of strlen to determine number of bytes to copy.
1165 * libc/string/strnlen.c (strnlen): Fix so check for max limit occurs
1166 before looking at storage location.
1168 2006-02-07 Paul Brook <paul@codesourcery.com>
1170 * libc/machine/arm/setjmp.S: Add Thumb-2 support.
1171 * libc/sys/arm/crt0.S: Add Thumb-2 startup code.
1172 * libc/sys/arm/libcfunc.c (do_AngelSWI): Use AngelSWIInsn.
1173 * libc/sys/arm/swi.h (AngelSWIInsn, AngelSWIAsm): Define.
1174 * libc/sys/arm/trap.S: Disable for Thumb-2.
1176 2006-01-31 Leif Ekblad <leif@rdos.net>
1178 * configure.host: RDOS support added
1179 * libc/include/sys/config.h: Ditto.
1180 * libc/sys/rdos/Makefile.am, libc/sys/rdos/Makefile.in: New files.
1181 * libc/sys/rdos/aclocal.m4, libc/sys/rdos/chown.c: Ditto.
1182 * libc/sys/rdos/close.c, libc/sys/rdos/config.h: Ditto.
1183 * libc/sys/rdos/configure, libc/sys/rdos/configure.in: Ditto.
1184 * libc/sys/rdos/crt0.S, libc/sys/rdos/execve.c: Ditto.
1185 * libc/sys/rdos/fork.c, libc/sys/rdos/fstat.c: Ditto.
1186 * libc/sys/rdos/getenv.c, libc/sys/rdos/getpid.c: Ditto.
1187 * libc/sys/rdos/gettod.c, libc/sys/rdos/isatty.c: Ditto.
1188 * libc/sys/rdos/kill.c, libc/sys/rdos/link.c: Ditto.
1189 * libc/sys/rdos/lseek.c, libc/sys/rdos/open.c: Ditto.
1190 * libc/sys/rdos/rdos.S, libc/sys/rdos/rdos.h: Ditto.
1191 * libc/sys/rdos/rdoshelp.c, libc/sys/rdos/read.c: Ditto.
1192 * libc/sys/rdos/readlink.c, libc/sys/rdos/sbrk.c: Ditto.
1193 * libc/sys/rdos/stat.c, libc/sys/rdos/symlink.c: Ditto.
1194 * libc/sys/rdos/times.c, libc/sys/rdos/unlink.c: Ditto.
1195 * libc/sys/rdos/user.def, libc/sys/rdos/wait.c: Ditto.
1196 * libc/sys/rdos/write.c: Ditto.
1198 2006-01-24 Jeff Johnston <jjohnstn@redhat.com>
1200 * acinclude.m4: Add nodefine to AM_INIT_AUTOMAKE macro invocation
1201 so as not to define PACKAGE and VERSION in newlib.h.
1202 * aclocal.m4: Regenerated.
1204 * newlib.hin: Ditto.
1206 2006-01-20 Jeff Johnston <jjohnstn@redhat.com>
1208 * acconfig.h: New file to generate newlib.hin from.
1209 * newlib.hin: Regenerated.
1210 * stamp-h.in: Regenerated.
1211 * Makefile.am: Add ACLOCAL_AMFLAGS so aclocal can be
1212 called automatically.
1213 * Makefile.in: Regenerated.
1214 * acinclude.m4: Add proper comment for hack in previous change.
1215 * aclocal.m4 */aclocal.m4: Regenerated.
1216 * configure */configure: Regenerated.
1218 2006-01-11 Jeff Johnston <jjohnstn@redhat.com>
1220 * acinclude.m4: Add hack to prevent INSTALL in subdirs
1221 from being set to "../".
1222 * Makefile.am: Pass INSTALL in AM_MAKEFLAGS.
1223 * aclocal.m4: Regenerated.
1225 * Makefile.in: Ditto.
1226 * doc/aclocal.m4: Ditto.
1227 * doc/configure: Ditto.
1228 * iconvdata/aclocal.m4: Ditto.
1229 * iconvdata/configure: Ditto.
1230 * libc/*/aclocal.m4: Ditto.
1231 * libc/*/configure: Ditto.
1232 * libc/libc.texinfo: Ditto.
1233 * libm/*/aclocal.m4: Ditto.
1234 * libm/*/configure: Ditto.
1236 2006-01-10 Eric Blake <ebb9@byu.net>
1238 * libc/stdio/freopen.c (_freopen_r): Fix use of oflags.
1239 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1241 2006-01-10 Jeff Johnston <jjohnstn@redhat.com>
1243 * libm/mathfp/s_frexp.c: Check for special values on
1244 the original input, not the manipulated output value.
1245 * libm/mathfp/sf_frexp.c: Ditto.
1246 * libm/mathfp/s_atangent.c: Don't use local value branch
1247 when checking for quadrant.
1248 * libm/mathfp/sf_atangent.c: Ditto.
1250 2006-01-09 Jeff Johnston <jjohnstn@redhat.com>
1252 * libc/stdio/freopen.c: Switch to use isatty instead of _isatty.
1253 * libc/stdio64/freopen64.c: Ditto.
1255 2006-01-09 Eric Blake <ebb9@byu.net>
1257 * libc/stdio/freopen.c (_freopen_r): Accept NULL filename.
1258 * libc/stdio64/freopen64.c (_freopen64_r): Likewise.
1260 2006-01-06 Jeff Johnston <jjohnstn@redhat.com>
1262 * libc/sys/linux/include/getopt.h: Add macros needed by
1263 new version of getopt.c in libc/stdlib.
1265 2006-01-04 Gregory Pietsch <gpietsch@comcast.net>
1267 * libc/stdlib/getopt.c: Replaced with version
1268 that adds getopt_long and getopt_long_only support.
1269 * libc/include/getopt.h: New file.
1271 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1273 * NEWS: Update with 1.14.0 info.
1275 * acinclude.m4: Change version number to 1.14.0.
1276 * aclocal.m4: Regenerated.
1278 * doc/aclocal.m4: Ditto.
1279 * doc/configure: Ditto.
1280 * libc/*/aclocal.m4: Ditto.
1281 * libc/*/configure: Ditto.
1282 * libc/libc.texinfo: Ditto.
1283 * libm/*/aclocal.m4: Ditto.
1284 * libm/*/configure: Ditto.
1285 * libm/libm.texinfo: Ditto.
1286 * libc/sys/linux/shared.ld: Add VERS_1.14.
1288 2005-12-16 Jeff Johnston <jjohnstn@redhat.com>
1290 * libc/sys/linux/sys/stat.h: Change *stat64 prototypes to
1291 take a pointer to struct stat64 rather than struct stat.
1293 2005-12-16 Ralf Corsepius <ralf.corsepius@rtems.org>
1295 * libc/include/stdint.h: Prefer long over int for int32_t.
1296 Use __have_long32 to set up int32_t.
1297 * libc/include/inttypes.h: Use "#if xxx" instead of "#ifdef xxx"
1298 (Sync with stdint.h).
1300 2005-12-14 Corinna Vinschen <corinna@vinschen.de>
1302 * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
1303 typo in O_NDELAY comment.
1305 2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
1307 * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
1308 * libc/include/machine/setjmp.h (__mt__): Likewise.
1309 * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
1310 * libc/machine/configure.in: Ditto.
1312 2005-12-12 Nathan Sidwell <nathan@codesourcery.com>
1314 * configure.host: Replace ms1 arch with mt arch.
1315 * libc/machine/mt: Renamed from ms1 dir.
1317 2005-12-08 Shaun Jackman <sjackman@gmail.com>
1319 * libc/include/sys/types.h: Remove the ifdef armour around
1320 standard POSIX types.
1322 2005-12-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1324 * libc/sys/rtems/crt0.c: Add rtems_gxx_key_create,
1325 rtems_gxx_key_delete, rtems_gxx_getspecific,
1326 rtems_gxx_setspecific, rtems_gxx_mutex_trylock,
1327 rtems_gxx_recursive_mutex_init, rtems_gxx_recursive_mutex_lock,
1328 rtems_gxx_recursive_mutex_trylock, rtems_gxx_recursive_mutex_unlock.
1330 2005-12-05 Christopher Faylor <cgf@timesys.com>
1332 * libc/include/stdlib.h: Move cygwin declarations to cygwin-specific
1333 file. Declare unsetenv and _unsetenv_r when not cygwin.
1335 2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
1337 * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
1338 Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.
1340 2005-11-18 Christopher Faylor <cgf@timesys.com>
1342 * include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
1344 2005-11-18 Christopher Faylor <cgf@timesys.com>
1346 * include/time.h: Remove more cygwin-specific stuff.
1348 2005-11-18 Christopher Faylor <cgf@timesys.com>
1350 * include/time.h: Move cygwin declarations to cygwin-specific header.
1351 * include/sys/time.h: Rename cygwin include to "sys_time.h".
1353 2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
1355 * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
1356 in libc/sys/linux/include.
1357 * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
1358 * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
1359 * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
1360 in libc/sys/linux/dl.
1362 2005-11-11 Christopher Faylor <cgf@timesys.com>
1364 * libc/include/sys/time.h: For cygwin, use general header rather than
1365 specific "sys/select.h".
1367 2005-11-08 Tom Walsh <tom@openhardware.net>
1369 * libc/time/tzvars.c: New file.
1370 * libc/time/tzset_r.c: Moved globals into tzvars.c
1371 so other time functions needn't link in __tzset_r and its
1373 * libc/time/Makefile.am: Add the new file.
1374 * libc/time/Makefile.in: Regenerated.
1376 2005-11-08 Christopher Faylor <cgf@timesys.com>
1378 * libc/include/string.h: Add cygwin-specific function declaration.
1380 2005-11-07 Corinna Vinschen <corinna@vinschen.de>
1382 * libc/include/ieeefp.h: Add C++ guards.
1384 2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
1386 * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
1387 * libc/unix/getlogin.c: Ditto.
1388 * libc/unix/getpass.c: Ditto.
1389 * libc/unix/getut.c: Ditto.
1390 * libc/unix/ttyname.c: Ditto.
1392 2005-11-03 Shaun Jackman <sjackman@gmail.com>
1394 * libc/include/sys/unistd.h (readlink, symlink): Provide these
1395 prototypes by default.
1396 * libc/sys/linux/include/unistd.h (readlink): Remove this
1398 * libc/sys/linux/sys/unistd.h (readlink, symlink): New
1401 2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
1403 * libc/include/stdint.h: Cleanup #if vs. #ifdef.
1405 2005-10-31 Darin Johnson <darin@usa.net>
1407 * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
1408 correct for constants.
1410 2005-10-28 Bob Wilson <bob.wilson@acm.org>
1412 * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
1413 * libc/stdio/siscanf.c: Likewise.
1414 * libc/stdio/sprintf.c: Likewise.
1415 * libc/stdio/sscanf.c: Likewise.
1416 * libc/stdio/vfprintf.c: Likewise.
1417 * libc/stdio/vfscanf.c: Likewise.
1418 * libc/stdio/viprintf.c: Likewise.
1419 * libc/stdio/viscanf.c: Likewise.
1421 2005-10-28 Bob Wilson <bob.wilson@acm.org>
1423 * libc/sys.tex (Stubs): Format examples consistently. Change sbrk
1424 example to use "_end" symbol instead of "end". Change write example
1425 to use "outbyte" instead of "writechar".
1427 2005-10-28 Bob Wilson <bob.wilson@acm.org>
1429 * libc/ctype/ctype.tex: Use hyphens as appropriate, but not otherwise.
1430 * libc/ctype/islower.c: Likewise.
1431 * libc/ctype/isupper.c: Likewise.
1432 * libc/ctype/iswalnum.c: Likewise.
1433 * libc/ctype/iswalpha.c: Likewise.
1434 * libc/ctype/iswblank.c: Likewise.
1435 * libc/ctype/iswcntrl.c: Likewise.
1436 * libc/ctype/iswdigit.c: Likewise.
1437 * libc/ctype/iswgraph.c: Likewise.
1438 * libc/ctype/iswlower.c: Likewise.
1439 * libc/ctype/iswprint.c: Likewise.
1440 * libc/ctype/iswpunct.c: Likewise.
1441 * libc/ctype/iswspace.c: Likewise.
1442 * libc/ctype/iswupper.c: Likewise.
1443 * libc/ctype/iswxdigit.c: Likewise.
1444 * libc/ctype/tolower.c: Likewise.
1445 * libc/ctype/toupper.c: Likewise.
1446 * libc/ctype/towctrans.c: Likewise.
1447 * libc/ctype/towlower.c: Likewise.
1448 * libc/ctype/towupper.c: Likewise.
1449 * libc/string/strcasecmp.c: Likewise.
1450 * libc/string/strcoll.c: Likewise.
1451 * libc/string/strings.tex: Likewise.
1452 * libc/string/strlwr.c: Likewise.
1453 * libc/string/strncasecmp.c: Likewise.
1454 * libc/string/strupr.c: Likewise.
1455 * libc/string/wcscoll.c: Likewise.
1456 * libc/string/wcslcat.c: Likewise.
1457 * libc/string/wcslcpy.c: Likewise.
1458 * libc/string/wcsnlen.c: Likewise.
1459 * libc/string/wcsstr.c: Likewise.
1460 * libc/string/wcstrings.tex: Likewise.
1461 * libc/string/wmemchr.c: Likewise.
1462 * libc/string/wmemcmp.c: Likewise.
1463 * libc/string/wmemcpy.c: Likewise.
1464 * libc/string/wmemmove.c: Likewise.
1465 * libc/string/wmemset.c: Likewise.
1467 2005-10-28 Bob Wilson <bob.wilson@acm.org>
1469 * libc/misc/unctrl.c: Replace FUNCTION description.
1470 * libc/signal/signal.c: Remove documentation for raise and _raise_r.
1471 * libc/stdio/getdelim.c: Fix spelling errors.
1472 * libc/stdio/getw.c: Put RETURNS on a separate line. Fix punctuation.
1473 * libc/stdio/putw.c: Likewise.
1474 * libc/stdlib/a64l.c: Fix formatting, spelling and punctuation in
1476 * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
1477 * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
1478 * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
1479 * libc/stdlib/mlock.c: Likewise.
1480 * libc/stdlib/mstats.c: Likewise.
1481 * libc/time/tzlock.c: Likewise.
1482 * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe" in NOTES.
1483 * libc/stdlib/rand48.c: Remove extra space in FUNCTION description
1484 and hyphenate "pseudo-random".
1485 * libc/string/bcmp.c: Remove extra blank lines in documentation.
1486 * libc/string/strncat.c: Likewise.
1487 * libc/string/memchr.c: Remove extra ">" character in documentation.
1488 * libc/string/strcspn.c: Use "characters" instead of "chars".
1489 * libc/string/strpbrk.c: Likewise.
1490 * libc/string/strerror_r.c: Capitalize "GNU".
1491 * libc/string/strnlen.c: Likewise.
1492 * libc/string/strtok.c: Fix formatting, spelling and punctuation in
1493 documentation. Use "multi-threaded" and "thread-safe" in NOTES.
1494 * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
1495 * libc/string/wcschr.c: Likewise.
1496 * libc/string/wcscmp.c: Likewise.
1497 * libc/string/wcscpy.c: Likewise.
1498 * libc/string/wcscspn.c: Likewise.
1499 * libc/string/wcslen.c: Likewise.
1500 * libc/string/wcsncat.c: Likewise.
1501 * libc/string/wcsncmp.c: Likewise.
1502 * libc/string/wcsncpy.c: Likewise.
1503 * libc/string/wcsnlen.c: Likewise.
1504 * libc/string/wcspbrk.c: Likewise.
1505 * libc/string/wcsrchr.c: Likewise.
1506 * libc/string/wcsspn.c: Likewise.
1507 * libc/string/wmemchr.c: Likewise.
1508 * libc/string/wmemcmp.c: Likewise.
1509 * libc/string/wmemcpy.c: Likewise.
1510 * libc/string/wmemset.c: Likewise.
1511 * libc/string/wmemmove.c: Likewise. Also fix FUNCTION description.
1512 * libc/string/wcswidth.c: Formatting and punctuation in documentation.
1513 * libc/string/wcwidth.c: Likewise.
1514 * libm/common/s_modf.c: Remove extra period from documentation.
1515 * libm/math/s_isnan.c: Fix formatting, grammar and punctuation in
1517 * libm/mathfp/s_isnan.c: Likewise.
1518 * libm/math/s_ldexp.c: Fix punctuation.
1519 * libm/mathfp/s_ldexp.c: Likewise.
1520 * libm/math/w_log.c: Likewise.
1521 * libm/mathfp/s_logarithm.c: Likewise.
1522 * libm/math/w_j0.c: Add spaces to FUNCTION description.
1523 * libm/mathfp/w_jn.c: Likewise.
1525 2005-10-26 Shaun Jackman <sjackman@gmail.com>
1527 * libc/posix/scandir.c (scandir): Update the function
1528 prototype to match the header.
1529 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
1531 * libc/sys/linux/sys/lock.h: Do not include
1532 machine/weakalias.h, since it's not used by this file.
1534 2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
1536 * libc/Makefile.am: Reorder SUBLIBS so machine and sys
1537 directories can override properly.
1539 2005-10-20 Jeff Johnston <jjohnstn@redhat.com>
1541 * libc/include/math.h (HUGE_VAL, HUGE_VALF, HUGE_VALL): When
1542 gcc is 3.3 or greater, use special gcc builtins.
1544 2005-10-20 Corinna Vinschen <corinna@vinschen.de>
1546 * libc/include/sys/time.h: Declare futimes and lutimes for Cygwin.
1548 2005-10-18 Corinna Vinschen <corinna@vinschen.de>
1550 * libc/include/sys/features.h: Define _POSIX_MEMLOCK_RANGE for Cygwin.
1552 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1554 * libc/include/math.h (HUGE_VALF, HUGE_VALL): New.
1555 * libm/common/Makefile.am: Add s_infconst.c support.
1556 * libm/common/Makefile.in: Regenerated.
1557 * libm/common/s_infconst.c: New file with float and
1558 long double infinity support added.
1559 * libm/math/Makefile.am: Remove s_infconst.c support.
1560 * libm/math/Makefile.in: Regenerated.
1561 * libm/math/s_infconst.c: Moved to common directory.
1562 * libm/mathfp/Makefile.am: Remove s_infconst.c support.
1563 * libm/mathfp/Makefile.in: Regenerated.
1564 * libm/mathfp/s_infconst.c: Moved to common directory.
1566 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1568 * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to
1569 dbgprintf to prevent conflict with new dprintf function.
1571 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1573 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and
1574 "nan" processing for systems that have long double support.
1576 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>
1578 * libc/sys/linux/sys/types.h (int8_t): Add type.
1580 2005-10-14 Bob Wilson <bob.wilson@acm.org>
1582 * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC).
1583 * libm/common/Makefile.in: Regenerate.
1584 * libm/common/common.tex: Delete file.
1585 * libm/math/math.tex: Include .def files from common/.
1586 * libm/mathfp/mathfp.tex: Likewise.
1588 2005-10-14 Bob Wilson <bob.wilson@acm.org>
1590 * libc/libc.texinfo (Top): Surround this node with @ifnottex
1591 instead of @ifinfo. Update menu to add Introduction and match
1593 (Introduction): New section.
1595 2005-10-14 Bob Wilson <bob.wilson@acm.org>
1597 * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library"
1598 with "Red Hat newlib C Library".
1599 * libc/sys.tex (Stubs): Likewise.
1600 * libm/math/math.tex (Math): Likewise.
1601 * libm/mathfp/mathfp.tex (Math): Likewise.
1603 2005-10-11 Shaun Jackman <sjackman@gmail.com>
1605 * libc/include/stdio.h (dprintf): New declaration.
1607 * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c
1609 * libc/stdio/Makefile.in: Regenerate.
1610 * libc/stdio/dprintf.c: New file.
1611 * libc/stdio/vdprintf.c: New file.
1612 * libc/stdio/stdio.tex (dprintf): New entry.
1614 2005-10-11 David Weatherford <weath@tensilica.com>
1616 * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format.
1617 Print "inf" and "nan" in lowercase for e/f/g formats and in
1618 uppercase for E/F/G formats.
1620 2005-10-07 Bob Wilson <bob.wilson@acm.org>
1622 * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno
1623 to ENOMEM on failure.
1625 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>
1627 * libc/include/stdint.h: Add [u]int_fast<N>_t types.
1629 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>
1631 * libc/include/stdint.h: Move magic to set __have_long* to the
1632 beginning. Use #if __have* instead of #if defined(__have*).
1635 2005-10-04 James E Wilson <wilson@specifix.com>
1637 * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add
1640 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>
1642 * libc/sys/linux/include/stdint.h: Include <sys/types.h> and
1643 incorporate Ralf's change below.
1645 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>
1647 * libc/include/stdint.h:
1648 Use __INTMAX_TYPE__ to derive intmax_t.
1649 Use __UINTMAX_TYPE__ to derive uintmax_t.
1652 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>
1654 * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly
1657 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1659 * libc/sys/linux/include/stdint.h: Update to match functionality
1660 of generic newlib stdint.h.
1662 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1664 * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP
1665 and do not #undef the macro after it is used. Fix typos.
1666 Also change 64-bit constants to use the __have_long64 and
1667 __have_longlong64 flags to determine if long or long long
1668 constants should be used.
1669 * libc/include/inttypes.h: Include stddef.h to get wchar_t
1672 2005-09-20 Shaun Jackman <sjackman@gmail.com>
1674 * libc/include/stdint.h: Fix typo in names of
1677 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>
1679 * libc/sys/rtems/include/inttypes.h: Moved to...
1680 * libc/include/inttypes.h: ...here.
1682 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>
1684 * libc/sys/rtems/include/stdint.h: Moved to...
1685 * libc/include/stdint.h: ...here.
1687 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>
1689 * Makefile.am: Add include files under bits sub-directory.
1690 * Makefile.in: Regenerated.
1691 * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to
1692 actual value of 1 to be compatible with newer glibc headers.
1693 * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer
1695 * libc/sys/linux/sys/dirent.h: Ditto.
1696 * libc/sys/linux/argp/argp-xinl.c: Ditto.
1697 * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and
1698 profile_fixup routines are marked used so they won't be
1700 * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro
1701 to mark functions as weak.
1702 * libc/sys/linux/dl/dl-open.c: Ditto.
1703 * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4
1704 rules about lvalues.
1705 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
1706 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use
1707 weak_extern macro to mark functions as weak. Instead always
1709 * iconvdata/jis0208.h: Fix to work with gcc4.
1710 * libc/sys/linux/dl/dl-load.c: Ditto.
1711 * libc/sys/linux/dl/dl-reloc.c: Ditto.
1712 * libc/sys/linux/dl/do-rel.h: Ditto.
1713 * libc/sys/linux/dl/dynamic-link.h: Ditto.
1714 * libc/sys/linux/include/ltdl.h: Ditto.
1715 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
1716 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
1717 * libc/sys/linux/net/ns_ntoa.c: Ditto.
1718 * libc/sys/linux/bits/initspin.h: New file.
1719 * libc/sys/linux/bits/libc-lock.h: Ditto.
1720 * libc/sys/linux/bits/pthreadtypes.h: Ditto.
1721 * libc/sys/linux/bits/typesizes.h: Ditto.
1723 2005-09-08 Eric Blake <ebb9@byu.net>
1725 * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when
1728 2005-09-08 Brian Dessent <brian@dessent.net>
1730 * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting
1734 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>
1736 * libc/include/stdio.h: Add prototype for viprintf.
1738 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>
1740 * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to
1741 any positive power results in 0.
1742 * libm/mathfp/sf_pow.c (powf): Ditto.
1744 2005-08-31 Paul Brook <paul@codesourcery.com>
1746 * configure.host: Set have_crt0 to no for Arm targts when not
1747 providing syscalls. Set sys_dir=arm unconditionally.
1748 Default have_crt0 based on sys_dir.
1749 * configure.in: Use have_crt0.
1750 * libc/configure.in: Ditto.
1751 * libc/sys/configure.in: Ditto.
1752 * configure: Regenerate.
1753 * libc/configure: Regenerate.
1754 * libc/sys/configure: Regenerate.
1755 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c.
1756 Only build other files when providing syscalls.
1757 * libc/sys/arm/Makefile.in: Regenerate.
1758 * libc/sys/arm/aeabi_atexit.c: New file.
1760 2005-08-26 Christopher Faylor <cgf@timesys.com>
1762 * libc/include/string.h: Revert previous change.
1764 2005-08-25 Christopher Faylor <cgf@timesys.com>
1766 * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.
1768 2005-08-22 Shaun Jackman <sjackman@gmail.com>
1770 * libc/include/_syslist.h: If HAVE_OPENDIR is not defined,
1771 define _opendir as opendir, _readdir as readdir, and
1772 _closedir as closedir so that the implementations in
1773 libc/posix will be used.
1775 2005-08-10 DJ Delorie <dj@redhat.com>
1777 * MAINTAINERS (CPU Ports): Add CPU port maintainer section.
1779 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>
1781 * libm/common/sf_fmax.c: Fix to properly handle NaNs.
1782 * libm/common/s_max.c: Ditto.
1783 * libm/common/sf_fmin.c: Ditto.
1784 * libm/common/s_min.c: Ditto.
1786 2005-08-10 DJ Delorie <dj@redhat.com>
1788 * configure.host: Add m32c support.
1789 * libc/include/machine/ieeefp.h: Likewise.
1790 * libc/include/machine/setjmp.h: Likewise.
1791 * libc/include/sys/config.h: Likewise.
1792 * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support.
1793 * libc/machine/m32c/aclocal.m4: New file.
1794 * libc/machine/m32c/configure: Ditto.
1795 * libc/machine/m32c/configure.in: Ditto.
1796 * libc/machine/m32c/Makefile.am: Ditto.
1797 * libc/machine/m32c/Makefile.in: Ditto.
1798 * libc/machine/m32c/setjmp.S: Ditto.
1800 2005-08-02 Bob Wilson <bob.wilson@acm.org>
1802 * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias
1803 to the value for 2^126.
1805 2005-07-26 Hans-Peter Nilsson <hp@bitrange.com>
1807 * libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
1810 2005-07-20 Bob Wilson <bob.wilson@acm.org>
1811 Darin Petkov <darin@tensilica.com>
1813 * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
1815 2005-07-19 Paul Brook <paul@codesourcery.com>
1817 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
1819 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
1821 * testsuite/lib/checkoutput.exp (newlib_check_output): Use test
1822 names after PASS and FAIL which do not depend on source directory
1823 name or on whether test passed or failed.
1824 * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
1826 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>
1828 * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
1830 2005-07-07 Shaun Jackman <sjackman@gmail.com>
1832 * libc/unix/ttyname.c (ttyname): Avoid calling _closedir
1833 twice for the same directory. _closedir calls free, and freeing
1834 the same pointer twice may cause a crash.
1836 2005-07-06 Aldy Hernandez <aldyh@redhat.com>
1838 * configure.host: Added entry for ms1*.
1839 * libc/include/machine/ieeefp.h: Handle ms1.
1840 * libc/include/machine/setjmp.h (_JBLEN): Define for ms1.
1841 * libc/machine/ms1/aclocal.m4: New.
1842 * libc/machine/ms1/configure: New.
1843 * libc/machine/ms1/configure.in: New.
1844 * libc/machine/ms1/Makefile.am: New.
1845 * libc/machine/ms1/Makefile.in: New.
1846 * libc/machine/ms1/setjmp.S: New.
1848 2005-07-04 Mark Mitchell <mark@codesourcery.com>
1850 * Makefile.am (site.exp): Set tmpdir.
1851 * Makefile.in: Regenerated.
1852 * testsuite/lib/checkoutput.exp (newlib_check_output): Put
1853 executables in $tmpdir.
1854 * testsuite/lib/flags.exp (libgloss_link_flags): Use the original
1855 libgloss version if not running in the build directory.
1856 * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in
1858 * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables
1861 2005-06-28 Dave Korn <dave.korn@artimi.com>
1863 * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison
1864 and miscalculation caused by fp representation of zero.
1865 * libm/common/sf_lrint.c (lrintf): Likewise.
1867 2005-06-16 Christopher Faylor <cgf@timesys.com>
1869 * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to
1870 determine characteristics of long double. Use a union instead.
1871 * ldtoa.c (_ldtoa_r): Ditto.
1874 (union uconv): New union.
1876 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>
1878 * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove
1881 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
1883 * configure.host (mn10300-*): Add long long I/O support by default.
1885 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>
1887 * libc/sys/linux/getpwuid.c: Removed.
1888 * libc/sys/linux/getpwnam.c: Removed.
1889 * libc/sys/linux/getpwent.c: New file containing logic
1890 from files removed above. This allows overriding of file
1892 * libc/sys/linux/Makefile.am: Support changes above.
1893 * libc/sys/linux/Makefile.in: Regenerated.
1895 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>
1897 * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko
1898 when checking for multiple flags.
1900 2005-04-18 Hans-Peter Nilsson <hp@axis.com>
1902 * configure.host <cris-*-* | crisv32-*-*>: Set
1903 default_newlib_io_long_long="yes".
1905 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>
1907 * libc/include/libgen.h: New file.
1909 2005-04-08 Shaun Jackman <sjackman@gmail.com>
1911 * libc/unix/Makefile.am: Add support for basename and dirname.
1912 * libc/unix/Makefile.in: Regenerated.
1913 * libc/unix/basename.c: New file.
1914 * libc/unix/dirname.c: New file.
1916 2005-04-07 Shaun Jackman <sjackman@gmail.com>
1918 * libc/sys/linux/inode.c (lchown): New function.
1920 2005-04-07 Shaun Jackman <sjackman@gmail.com>
1922 * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no
1923 ELIX level is defined.
1924 * libc/unix/Makefile.in: Regenerated.
1926 2005-04-05 Dave Korn <dave.korn@artimi.com>
1928 * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing
1929 something that looks like a "NaN", put back the characters processed.
1931 2005-04-01 Corinna Vinschen <corinna@vinschen.de>
1933 * libc/stdlib/strtod.c (_strtod_r): Never change s00.
1935 2005-03-23 Christopher Faylor <cgf@timesys.com>
1937 * configure.host: For cygwin, redefine CC with cygwin include directory
1938 first to mimic the behavior of the top-level configury. Move include
1939 directory out of newlib_cflags.
1941 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>
1943 * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on.
1944 * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather
1947 2005-03-22 Christopher Faylor <cgf@timesys.com>
1949 * libc/include/machine/_types.h: Make trivial change to comment to
1950 avoid a spurious warning from gcc.
1952 2005-03-21 Nicholas Wourms <nwourms@netscape.net>
1954 * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
1955 since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
1958 2005-03-18 Hans-Peter Nilsson <hp@axis.com>
1959 Corinna Vinschen <corinna@vinschen.de>
1961 * libc/include/ctype.h: Remove invalid +1 offset from
1962 ctype macro references to __ctype_ptr.
1963 (_ctype_): Move declaration outside #ifndef __cplusplus.
1965 2005-03-18 Corinna Vinschen <corinna@vinschen.de>
1967 * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension to
1968 evaluate first parameter only once.
1969 (siglongjmp): Ditto.
1971 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>
1973 * configure.in: Add new check to see if compiler supports
1974 aliasing of arrays and define _HAVE_ARRAY_ALIASING if true.
1975 * configure: Regenerated.
1976 * Makefile.in: Ditto.
1977 * newlib.hin: Add _HAVE_ARRAY_ALIASING.
1978 * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before
1979 aliasing the _ctype_ array to _ctype_b.
1980 * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark
1981 _ctype_ as deprecated.
1983 2005-03-17 Hans-Peter Nilsson <hp@axis.com>
1985 * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: Add
1988 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1990 * libc/sys/rtems/include/inttypes.h: New file.
1991 * libc/sys/rtems/include/stdint.h: Ditto.
1993 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1995 * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
1997 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>
1999 * libc/include/machine/_types.h: New file.
2000 * libc/include/sys/types.h: Do not check for __rtems__
2001 when including <machine/_types.h>. Remove some redundant
2002 declarations now that <machine/_types.h> is included.
2003 * libc/sys/rtems/machine/_types.h: Removed. Replaced with
2006 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>
2008 * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add
2009 L qualifier for these long constants.
2011 2005-02-25 Eric Blake <ebb9@byu.net>
2013 * libc/include/time.h (__tzrule_struct): Make offset long, since
2014 a 16-bit int overflows on a 12-hour offset.
2015 * libc/sys/linux/include/time.h: Ditto.
2016 * libc/time/mktime.c (mktime): Use new type of __tzrule.offset.
2017 * libc/time/mktm_r.c: Ditto.
2018 * libc/time/gettzinfo.c: Ditto.
2019 * libc/time/strftime.c (strftime): Fix '%x' to deal with negative
2020 years. Fix '%z' to use long, not int.
2022 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2024 * libm/common/s_fpclassify.c: Use __uint32_t instead of int to
2025 manipulate float values in integer form.
2026 * libm/common/sf_round.c: Ditto.
2028 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>
2030 * libc/include/sys/types.h [__rtems__]: Include new
2031 header file machine/_types.h.
2032 * libc/include/machine/types.h: Ditto.
2033 * libc/sys/rtems/machine/_types.h: New file.
2035 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2037 * libc/include/time.h (_timezone): Change to long also for Cygwin.
2038 (timezone): Drop cast from definition.
2040 2005-02-23 Jeff Johnston <jjohnstn@redhat.com>
2042 * libc/include/time.h [!CYGWIN](_timezone): Change to long.
2043 (__tzrule_type, __tzinfo_type): New types.
2044 (__gettzinfo): New function.
2045 * libc/sys/linux/include/time.h: Ditto.
2046 * libc/time/Makefile.am: Add gettzinfo.c.
2047 * libc/time/Makefile.in: Regenerated.
2048 * libc/time/local.h: Moved __tzrule_type to time.h.
2049 * libc/time/mktime.c: Call __gettzinfo to reference
2050 __tznorth, __tzyear, and __tzrule array.
2051 * libc/time/mktm_r.c: Ditto.
2052 * libc/time/strftime.c: Ditto.
2053 * libc/time/tzset_r.c: Ditto. Also remove definition
2054 of __tzrule which is now in gettzinfo.c. Change _timezone
2055 references to not cast to time_t.
2056 * libc/time/gettzinfo.c: New file.
2058 2005-02-23 Corinna Vinschen <corinna@vinschen.de>
2060 * libc/include/sys/unistd.h: Define getpeereid for Cygwin.
2062 2005-02-22 Corinna Vinschen <corinna@vinschen.de>
2064 * libc/include/sys/unistd.h: Define fdatasync also for Cygwin.
2066 2005-02-16 Eric Blake <ebb9@byu.net>
2068 * libc/time/time.tex: Improve the documentation.
2069 * libc/time/strftime.c: Improve the documentation.
2070 (iso_year_adjust): New helper function.
2071 (strftime): Simplify '%E' and '%O'. Change '%c' to use
2072 recursion. Fix '%C', '%y', and '%Y' to deal with years with more
2073 than 4 characters. Combine '%d' and '%e'. Implement '%D', '%F',
2074 '%g', '%G', '%n', '%R', '%t', '%T', '%u', '%V', '%X', and '%z'.
2075 Avoid core dumps on valid inputs (maxsize == 0, or
2076 tim_p->tm_isdst > 1).
2078 2005-02-08 Corinna Vinschen <corinna@vinschen.de>
2080 * libc/include/pwd.h (struct passwd): Change pw_uid and pw_gid
2081 members to uid_t and gid_t according to SUSv3.
2082 * libc/include/sys/time.h (utimes): Change second parameter
2083 to const according to SUSv3.
2085 2005-02-07 Antony King <antony.king@st.com>
2087 * libc/stdio/clearerr.c (clearerr): Ensure CHECK_INIT() is
2088 called before _flockfile to prevent lock object use before
2089 initialisation. _REENT_SMALL_CHECK_INIT() and CHECK_INIT()
2090 take a struct _reent * instead of a FILE *.
2091 * libc/stdio/fclose.c (_fclose_r): Ditto.
2092 * libc/stdio/feof.c (feof): Ditto.
2093 * libc/stdio/ferror.c (ferror): Ditto.
2094 * libc/stdio/fflush.c (fflush): Ditto.
2095 * libc/stdio/fgetc.c (fgetc): Ditto.
2096 * libc/stdio/fgets.c (fgets): Ditto.
2097 * libc/stdio/fileno.c (fileno): Ditto.
2098 * libc/stdio/fputc.c (fputc): Ditto.
2099 * libc/stdio/fputs.c (fputs): Ditto.
2100 * libc/stdio/fread.c (fread): Ditto.
2101 * libc/stdio/freopen.c (_freopen_r): Ditto.
2102 * libc/stdio/fseek.c (_fseek_r): Ditto.
2103 * libc/stdio/ftell.c (_ftell_r): Ditto.
2104 * libc/stdio/fwrite.c (fwrite): Ditto.
2105 * libc/stdio/getc.c (getc): Ditto.
2106 * libc/stdio/getdelim.c (__getdelim): Ditto.
2107 * libc/stdio/putc.c (putc): Ditto.
2108 * libc/stdio/setvbuf.c (setvbuf): Ditto.
2109 * libc/stdio/ungetc.c (_ungetc_r): Ditto.
2110 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2111 * libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2112 * libc/stdio64/fseeko64.c (_fseeko64_r): Ditto.
2113 * libc/stdio64/ftello64.c (_ftello64_r): Ditto.
2114 * libc/stdio/local.h (CHECK_INIT): Argument is now a struct
2115 _reent * instead of a FILE * and so replace incorrect use of
2116 _REENT with argument.
2117 * libc/sys/arm/syscalls.c (CHECK_INIT): Ditto.
2118 * libc/stdio/getchar.c (getchar): _REENT_SMALL_CHECK_INIT() and
2119 CHECK_INIT() take a struct _reent * instead of a FILE *.
2120 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Ditto.
2121 * libc/stdio/iscanf.c (iscanf, _iscanf_r): Ditto.
2122 * libc/stdio/perror.c (perror): Ditto.
2123 * libc/stdio/printf.c (printf, _printf_r): Ditto.
2124 * libc/stdio/putchar.c (putchar): Ditto.
2125 * libc/stdio/puts.c (puts): Ditto.
2126 * libc/stdio/refill.c (__srefill): Ditto.
2127 * libc/stdio/scanf.c (scanf, _scanf_r): Ditto.
2128 * libc/stdio/vfscanf.c (VFSCANF, _VFSCANF_R): Ditto.
2129 * libc/stdio/viprintf.c (viprintf, _viprintf_r): Ditto.
2130 * libc/stdio/viscanf.c (viscanf, _viscanf_r): Ditto.
2131 * libc/stdio/vprintf.c (vprintf, _vprintf_r): Ditto.
2132 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Ditto.
2133 * libc/stdio/wbuf.c (__swbuf): Ditto.
2134 * libc/stdio/wsetup.c (__swsetup): Ditto.
2135 * libc/stdlib/mallocr.c (malloc_stats): Ditto.
2136 * libc/stdlib/mstats.c (_mstats_r): Ditto.
2137 * libc/include/sys/reent.h (_REENT_SMALL_CHECK_INIT): Ditto.
2138 * libc/machine/powerpc/vfscanf.c (vfscanf): Ditto.
2139 * libc/stdio/fgetpos.c (_fgetpos_r): Removed unnecessary calls
2140 to _flockfile and _funlockfile; rely on locking in _ftell_r.
2141 * libc/stdio64/fgetpos64.c (_fgetpos64_r): Ditto (_ftello64_r).
2142 * libc/machine/powerpc/vfprintf.c (__sbprintf): Removed unnecessary
2143 initialision of _data field in FILE structure.
2144 * libc/machine/powerpc/vfprintf.c (VFPRINTF): Added CHECK_INIT() call.
2146 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2148 * libc/stdio/findfp.c (__sinit): Protect with new lock.
2149 (__sinit_lock): New lock.
2150 (__sinit_lock_acquire, __sinit_lock_release): New functions.
2151 * libc/stdio/local.h: Add reference to new __sinit locking
2154 2005-02-07 Jeff Johnston <jjohnstn@redhat.com>
2156 * libc/include/math.h (isfinite, isnormal, isunordered): Change
2157 input variable names to avoid mixups with nesting macros.
2159 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2161 * configure.host: Add support for cris-*-* and crisv32-*-*.
2162 * libc/include/machine/ieeefp.h: Ditto.
2163 * libc/include/machine/setjmp.h: Ditto.
2164 * libc/machine/cris/configure.in, libc/machine/cris/Makefile.am,
2165 libc/machine/cris/libcdtor.c, libc/machine/cris/setjmp.c,
2166 libc/machine/cris/memmove.c, libc/machine/cris/memcpy.c,
2167 libc/machine/cris/memset.c, libc/machine/cris/include/pthread.h,
2168 libc/machine/cris/sys/signal.h, libc/machine/cris/sys/fcntl.h,
2169 libc/machine/cris/sys/errno.h, libc/machine/cris/aclocal.m4,
2170 libc/machine/cris/configure, libc/machine/cris/Makefile.in: New
2173 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2175 * testsuite/newlib.string/memmove1.c: New test.
2177 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2179 * testsuite/include/check.h: Include stdlib.h.
2181 2005-01-27 Hans-Peter Nilsson <hp@axis.com>
2183 * Makefile.am (stmp-targ-include): Support include header files
2184 from machine directories.
2185 (install-data-local): Ditto.
2186 * Makefile.in: Regenerate.
2188 2005-01-24 Jeff Johnston <jjohnstn@redhat.com>
2190 * libc/include/string.h: Remove Linux-specific declaration of
2191 strsignal and add #include <sys/string.h>.
2192 * libc/include/sys/string.h: New file.
2193 * libc/include/sys/linux/sys/string.h: New file with strsignal
2194 declaration deleted above.
2196 2005-01-20 Jeff Johnston <jjohnstn@redhat.com>
2198 * libc/time/strftime.c (strftime): Change %r and %x to be compliant
2199 to POSIX standard for "C" locale. Allow %E and %O modifiers
2200 to be ignored as long as they precede valid specifiers according
2203 2005-01-19 Shaun Jackman <sjackman@gmail.com>
2205 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
2206 environment variable is set.
2208 2005-01-19 Shaun Jackman <sjackman@gmail.com>
2210 * tzset_r.c (_tzname): Add a comma.
2212 2005-01-18 Aldy Hernandez <aldyh@redhat.com>
2214 * libc/machine/powerpc/vfprintf.c: Use _REENT when calling
2217 2005-01-07 Paul Brook <paul@codesourcery.com>
2219 * configure.in: Add test for .init_array.
2220 * configure: Regenerate.
2221 * newlib.hin: Add HAVE_INITFINI_ARRAY.
2222 * libc/misc/Makefile.am: Add init.c
2223 * libc/misc/Makefile.in: Regenerate.
2224 * libc/misc/init.c: New file.
2225 * libc/sys/arm/crt0.S: Call __libc_{init,fini}_array instead of
2226 _init/_fini if they exist.
2228 2005-01-06 Jeff Johnston <jjohnstn@redhat.com>
2230 * libc/stdlib/strtod.c (_strtod_r): Add NaN support.
2232 * libc/stdio/vfscanf.c (__svfscanf_r): Ditto.
2233 * Makefile.am (MATHOBJS_IN_LIBC): Add s_nan and sf_nan
2234 functions for use by strtod and strtof.
2235 * Makefile.in: Regenerated.
2237 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
2239 * libc/stdio/ftell.c (ftell_r): Add parenthesis for __SWR
2240 bit-test in combination with NULL test.
2242 2005-01-06 Hans-Peter Nilsson <hp@axis.com>
2244 * README: Fix typo of LGPL. Change "license" to "copyright".
2246 2004-12-17 Jeff Johnston <jjohnstn@redhat.com>
2248 * NEWS: Update with 1.13.0 info.
2250 * acinclude.m4: Change version number to 1.13.0.
2251 * aclocal.m4: Regenerated.
2253 * doc/aclocal.m4: Ditto.
2254 * doc/configure: Ditto.
2255 * libc/*/aclocal.m4: Ditto.
2256 * libc/*/configure: Ditto.
2257 * libc/libc.texinfo: Ditto.
2258 * libm/*/aclocal.m4: Ditto.
2259 * libm/*/configure: Ditto.
2260 * libm/libm.texinfo: Ditto.
2261 * libc/sys/linux/shared.ld: Add VERS_1.13.
2263 2004-12-17 Christian Groessler <chris@groessler.org>
2265 * libc/machine/z8k/memcmp.S: New file.
2266 * libc/machine/z8k/memcpy.S: Ditto.
2267 * libc/machine/z8k/memmove.S: Ditto.
2268 * libc/machine/z8k/memset.S: Ditto.
2269 * libc/machine/z8k/Makefile.am: Add new files.
2270 * libc/machine/z8k/Makefile.in: Regenerated.
2271 * libc/machine/z8k/setjmp.S: Fix indirect register usage in Z8002
2272 part. Implement Z8002 stdcall version.
2274 2004-12-13 Jeff Johnston <jjohnstn@redhat.com>
2276 * libc/stdio/fread.c (fread): For unbuffered I/O, attempt
2277 a low-level read if we don't get the full amount of bytes so
2278 EOF or error flags will be set.
2280 2004-12-09 Alex Mogilnikov <alx@intellectronika.ru>
2282 * libc/time/tzset_r (_tzset_r): Properly skip over
2283 '/' when it is detected.
2285 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2287 * libc/time/tzset_r (_tzset_r): Fix loop.
2289 2004-12-08 Alex Mogilnikov <alx@intellectronika.ru>
2291 * libc/time/mktm_r (_mktm_r): Fix overflow calculation for
2293 (__tzcalc_limits): Fix reference to month array to be zero-based.
2295 2004-12-07 Jeff Johnston <jjohnstn@redhat.com>
2297 * libc/sys/linux/sys/unistd.h: Add prototypes for ftruncate, truncate,
2300 2004-12-03 Jeff Johnston <jjohnstn@redhat.com>
2302 * Makefile.am (libc_la_LDFLAGS): Add -lgcc to handle any
2303 libgcc dependencies.
2304 (libm_la_LDFLAGS): Ditto.
2305 * Makefile.in: Regenerated.
2307 2004-12-03 Shaun Jackman <sjackman@gmail.com>
2309 * libc/sys/linux/linuxthreads/Makefile.am (install-data-local): Fix
2310 our link to use readlink so as to preserve any relative link created
2311 by install-toollibLIBRARIES.
2312 * libc/sys/linux/linuxthreads/Makefile.in: Regenerated.
2314 2004-12-02 Shaun Jackman <sjackman@gmail.com>
2316 * libc/sys/linux/stdlib/glob.c: Include <sys/types.h> which defines
2317 time_t before including sys/stat.h, which uses it.
2318 * libc/sys/linux/sys/stat.h: Include <sys/types.h> and
2319 <linux/time.h> just prior to definition of __KERNEL__ so as to
2320 allow building on Debian Linux where otherwise, mktime would
2323 2004-11-26 Paul Brook <paul@codesourcery.com>
2325 * libc/sys/arm/crt0.S (_start): Add .cantunwind annotation.
2327 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2329 * libc/include/stdlib.h (putenv, _putenv_r): Change to remove
2330 const for value string parameter to match Single Unix and glibc.
2331 * libc/stdlib/putenv.c: Ditto.
2332 * libc/stdlib/putenv_r.c: Ditto.
2334 2004-11-24 Jeff Johnston <jjohnstn@redhat.com>
2336 * libc/stdio/Makefile.am: Fix missing vfscanf.
2337 * libc/stdio/Makefile.in: Regenerated.
2339 2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
2341 * libc/include/stdio.h: Add new iprintf and iscanf variants. Also
2343 * libc/machine/powerpc/vfscanf.c: Remove __sccl function.
2344 * libc/stdio/Makefile.am: Add support for new iprintf and iscanf
2346 * libc/stdio/Makefile.in: Regenerated.
2347 * libc/stdio/fiprintf.c: Remove doc to siprintf.c.
2348 * libc/stdio/iprintf.c: Ditto.
2349 * libc/stdio/local.h (__svfiscanf_r): New prototype.
2350 * libc/stdio/siprintf.c: Add docs for various iprintf family functions.
2351 * libc/stdio/sniprintf.c: Move docs to siprintf.c.
2352 * libc/stdio/stdio.tex: Add new functions.
2353 * libc/stdio/vfscanf.c: Split out __sccl function to separate
2354 file and add special name defines so this file can be used
2355 to build vfiscanf.o.
2356 * libc/stdio/asiprintf.c: New file.
2357 * libc/stdio/fiscanf.c: Ditto.
2358 * libc/stdio/iscanf.c: Ditto.
2359 * libc/stdio/sccl.c: Ditto.
2360 * libc/stdio/siscanf.c: Ditto.
2361 * libc/stdio/vasiprintf.c: Ditto.
2362 * libc/stdio/viprintf.c: Ditto.
2363 * libc/stdio/viscanf.c: Ditto.
2364 * libc/stdio/vsiprintf.c: Ditto.
2365 * libc/stdio/vsiscanf.c: Ditto.
2366 * libc/stdio/vsniprintf.c: Ditto.
2368 2004-11-19 Shaun Jackman <sjackman@gmail.com>
2370 * libc/include/stdio.h: Add sniprintf.
2371 * libc/stdio/Makefile.am: Add sniprintf.c.
2372 * libc/stdio/Makefile.in: Regenerated.
2373 * libc/stdio/sniprintf.c: New file.
2374 * libc/stdio/stdio.tex: Add sniprintf.
2376 2004-11-17 Christopher Faylor <cgf@timesys.com>
2378 * libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear
2379 EOF flag if successful.
2381 2004-10-28 Christopher Faylor <cgf@timesys.com>
2383 * libc/include/sys/signal.h: Move <signal.h> include to bottom of file
2384 so that all relevant definitions have been performed for use in the
2387 2004-10-26 Jason Tishler <jason@tishler.net>
2389 * libc/stdio/fread.c (fread): Fix return value for unbuffered
2392 2004-10-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2394 * libc/include/machine/setjmp.h: Add AVR support.
2395 * libc/sys/rtems/crt0.S [__AVR__]: Add __stack.
2397 2004-10-08 Jeff Johnston <jjohnstn@redhat.com>
2399 * libc/include/sys/signal.h: If <signal.h> didn't include
2400 this header file, include <signal.h> to account for
2401 applications that take advantage that the two header
2402 files are the same in glibc.
2404 2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
2406 * configure.host: Add support for crx.
2407 * libc/include/machine/ieeefp.h: Ditto.
2408 * libc/include/machine/setjmp.h: Ditto.
2409 * libc/machine/crx/Makefile.am: New file.
2410 * libc/machine/crx/configure.in: Ditto.
2411 * libc/machine/crx/setjmp.S: Ditto.
2412 * libc/machine/crx/getenv.c: Ditto.
2413 * libc/machine/crx/aclocal.m4: Generate.
2414 * libc/machine/crx/configure: Ditto.
2415 * libc/machine/crx/Makefile.in: Ditto.
2416 * libc/machine/crx/sys/asm.h: New file.
2417 * libc/machine/crx/sys/libh.h: Ditto.
2418 * libc/machine/crx/sys/syscall.h: Ditto.
2420 2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
2422 * Makefile.am (stmp-targ-include): Support sys header files
2423 from machine directories.
2424 * Makefile.in: Regenerated.
2426 2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
2428 * libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
2429 count skipped zero characters as part of the nread count for %n.
2430 * libc/machine/powerpc/vfscanf.c: Ditto.
2432 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
2434 * libc/stdio/local.h: Include <stdlib.h>.
2436 2004-09-24 Corinna Vinschen <corinna@vinschen.de>
2438 * libc/stdio/fread.c (fread): Include <malloc.h>.
2440 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
2442 * libc/stdio/fread.c (fread): For non-space-optimized case,
2443 add special code for unbuffered files to use user buffer and
2444 only require one low-level system read.
2446 2004-09-21 Ian Lance Taylor <ian@wasabisystems.com>
2448 * libc/machine/xscale/setjmp.S: New file, copied from
2449 libc/machine/arm/setjmp.S.
2450 * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
2451 * libc/machine/xscale/Makefile.in: Regenerate.
2453 2004-09-16 Antony King <antony.king@st.com>
2455 * libc/include/sys/lock.h: Replaced empty {} with (0) to conform
2457 * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add
2458 check for__SSTR in _flags and if set, skip lock request.
2459 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2460 * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is
2462 * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing
2463 initialisation of _file to -1 in local FILE.
2464 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto.
2465 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto.
2466 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2467 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2468 * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to
2469 _flags in local FILE to prevent locking.
2470 * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
2472 2004-09-16 Antony King <antony.king@st.com>
2474 * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT
2475 and only walk the reentrancy parameter.
2476 (_fwalk_reent): Ditto.
2477 * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
2479 2004-09-16 Antony King <antony.king@st.com>
2481 * libc/stdio64/freopen64.c: Remove casting of fp lock to
2484 2004-09-16 Antony King <antony.king@st.com>
2486 * libc/time/tzlock.c: Add default stubs that use generic
2489 2004-09-16 Antony King <antony.king@st.com>
2491 * libc/ctype/ctype.tex: Added missing documentation.
2492 * libc/stdio/stdio.tex Ditto.
2493 * libc/stdlib/stdlib.tex Ditto.
2494 * libc/string/strings.tex Ditto.
2495 * libc/time/time.tex: Ditto.
2496 * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
2498 2004-09-15 Corinna Vinschen <vinschen@redhat.com>
2500 * libc/reent/impure.c (reent_data): Define as alias to impure_data
2501 when building for Cygwin.
2502 * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to
2505 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
2507 * configure.host: Reverting 2004-09-14 change as fix has occurred on
2509 * configure.in: Ditto.
2510 * libc/configure.in: Ditto.
2511 * libc/sys/configure.in: Ditto.
2513 * libc/configure: Ditto.
2514 * libc/sys/configure: Ditto.
2515 * libc/include/sys/reent.h: Ditto.
2516 * libc/stdlib/__atexit.c: Ditto.
2517 * libc/stdlib/__call_atexit.c: Ditto.
2518 * libc/stdlib/cxa_atexit.c: Ditto.
2519 * libc/stdlib/cxa_finalize.c: Ditto.
2520 * libc/sys/cygwin/Makefile.am: Removed again.
2521 * libc/sys/cygwin/Makefile.in: Ditto.
2522 * libc/sys/cygwin/aclocal.m4: Ditto.
2523 * libc/sys/cygwin/configure: Ditto.
2524 * libc/sys/cygwin/configure.in: Ditto.
2525 * libc/sys/cygwin/dummy.c: Ditto.
2526 * libc/sys/cygwin/sys/reent.h: Ditto.
2528 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
2530 * configure.host: Add Cygwin sys directory.
2531 * configure.in: Do not set CRT0 for cygwin.
2532 * libc/configure.in: Ditto.
2533 * libc/sys/configure.in: Ditto.
2534 * configure: Regenerated.
2535 * libc/configure: Ditto.
2536 * libc/sys/configure: Ditto.
2537 * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag.
2538 * libc/stdlib/__atexit.c: Keep cxa support protected by new
2539 __REENT_HAS_CXA_SUPPORT flag.
2540 * libc/stdlib/__call_atexit.c: Ditto.
2541 * libc/stdlib/cxa_atexit.c: Ditto.
2542 * libc/stdlib/cxa_finalize.c: Ditto.
2543 * libc/sys/cygwin/Makefile.am: New file.
2544 * libc/sys/cygwin/Makefile.in: Ditto.
2545 * libc/sys/cygwin/aclocal.m4: Ditto.
2546 * libc/sys/cygwin/configure: Ditto.
2547 * libc/sys/cygwin/configure.in: Ditto.
2548 * libc/sys/cygwin/dummy.c: Ditto.
2549 * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized
2552 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2554 * libc/iconv/iconv.tex: Updated with new content.
2555 * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH
2556 instead of NLS_DEFAULT_NLSPATH.
2557 * libc/iconv/lib/iconvnls.h: Fix typo.
2558 * libc/include/sys/iconvnls.h: New file.
2560 2004-09-09 Paul Brook <paul@codesourcery.com>
2562 * libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
2564 (struct _atexit): Add _next when _REENT_SMALL.
2565 (struct _reent): Add _atexit0 when _REENT_SMALL.
2566 (_REENT_INIT_PTR): Adjust.
2567 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
2569 (EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
2570 * libc/stdlib/Makefile.in: Regenerate.
2571 * libc/stdlib/__atexit.c: New file.
2572 * libc/stdlib/__call_atexit.c: New file.
2573 * libc/stdlib/atexit.h: Remove old definitions. Add new.
2574 * libc/stdlib/atexit.c (atexit): Use __register_exitproc.
2575 * libc/stdlib/cxa_atexit.c: New file.
2576 * libc/stdlib/cxa_finalize.c: New file.
2577 * libc/stdlib/exit.c (exit): Use __call_exitprocs.
2578 * libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
2579 2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
2580 * libc/reent/reent.c [_REENT_SMALL]: Fix reference to
2583 2004-08-23 Jeff Johnston <jjohnstn@redhat.com>
2585 * libc/include/sys/unistd.h (getpass): Change prototype to use
2586 const instead of __const.
2588 2004-08-16 Nathan Sidwell <nathan@codesourcery.com>
2590 * libc/stdio/vfscanf.c (_NO_LONGLONG): Move out of FLOATING_POINT
2593 2004-08-12 Jeff Johnston <jjohnstn@redhat.com>
2595 * libc/sys/linux/sys/types.h (u64): New typedef to allow building
2596 on linux systems with glibc 2.3.3 installed.
2597 * libc/sys/linux/dl/dl-runtime.c: Fix prototypes for fixup and
2598 profile_fixup so newlib can build on fc3 system.
2600 2004-07-30 Alexandre Oliva <aoliva@redhat.com>
2602 Introduce SH2a support.
2603 2004-03-16 Corinna Vinschen <vinschen@redhat.com>
2604 * libc/include/machine/ieeefp.h: Define _DOUBLE_IS_32BITS for
2605 __SH2A_SINGLE_ONLY__, too.
2606 * libc/machine/sh/asm.h: Define DELAYED_BRANCHES for __SH2A__, too.
2607 2004-02-24 Corinna Vinschen <vinschen@redhat.com>
2608 * libc/sys/sh/crt0.S (start_l): Support sh2a-nofpu. Fix comments.
2609 2004-02-10 DJ Delorie <dj@redhat.com>
2610 * libc/sys/sh/crt0.S (start_l): Support sh2a.
2612 2004-07-29 Jeff Johnston <jjohnstn@redhat.com>
2614 * libc/time/strptime.c: Correct full-name of "March" typo.
2616 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
2618 * configure.host (h8300*-*-*): Default long long printing support.
2620 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
2622 * libc/stdio/fvwrite.c (_sfvwrite): For asprintf family
2623 calls, if realloc fails, free up buffer as it is no longer
2626 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2628 * libc/iconv/iconv.tex: Updated to represent recent changes.
2629 * libc/iconv/lib/iconv.c: Documentation updated.
2631 2004-07-07 Nick Clifton <nickc@redhat.com>
2633 * configure.host (newlib_cflags): Define PREFER_SIZE_OVER_SPEED
2636 2004-07-06 Chris Demetriou <cgd@broadcom.com>
2638 * configure.host (mips*-*-elf*): Default long long printing
2641 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
2643 * libc/Makefile.am (libc.dvi): Add target and specify
2644 same dependencies as libc.info.
2645 * libc/Makefile.in: Regenerated.
2646 * libm/Makefile.am (libm.dvi): Add target and specify
2647 same dependencies as libm.info.
2648 * libm/Makefile.in: Regenerated.
2650 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2652 * acinclude.m4: Move --enable-newlib-iconv option back here.
2653 * configure.in: Remove --enable-newlib-iconv option. Don't
2654 tie iconv support to --enable-newlib-mb.
2655 * aclocal.m4: Regenerated.
2657 * doc/aclocal.m4, doc/configure: Ditto.
2658 * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
2659 * libm/*/aclocal.m4: Ditto.
2660 * libm/*/configure: Ditto.
2661 * libc/*/aclocal.m4: Ditto.
2662 * libc/*/configure: Ditto.
2664 2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
2666 * acinclude.m4: Move iconv options into configure.in.
2667 * aclocal.m4: Regenerated.
2669 * configure.in: Add iconv options.
2670 * newlib.hin: Add new iconv encodings and remove deleted ones.
2671 * doc/aclocal.m4: Regenerated.
2672 * doc/configure: Ditto.
2673 * iconvdata/aclocal.m4: Ditto.
2674 * iconvdata/configure: Ditto.
2675 * libc/iconv: Design change. New size-optimized ccs format.
2676 * libc/iconv/AUTHORS: Removed.
2677 * libc/iconv/COPYING: Ditto.
2678 * libc/iconv/README.ORIGINAL: Ditto.
2679 * libc/iconv/README.TODO: Ditto.
2680 * libc/iconv/charset.aliases: Ditto.
2681 * libc/iconv/encoding.aliases: New file.
2682 * libc/iconv/Makefile.am: Updated.
2683 * libc/iconv/Makefile.in: Regenerated.
2684 * libc/iconv/iconv.tex: Updated.
2685 * libc/iconv/ccs/Makefile.am: Ditto.
2686 * libc/iconv/ccs/Makefile.in: Regenerated.
2687 * libc/iconv/ccs/big5.c: Updated.
2688 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
2689 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
2690 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
2691 * libc/iconv/ccs/cp775.c: Ditto.
2692 * libc/iconv/ccs/cp850.c: Ditto.
2693 * libc/iconv/ccs/cp852.c: Ditto.
2694 * libc/iconv/ccs/cp855.c: Ditto.
2695 * libc/iconv/ccs/cp866.c: Ditto.
2696 * libc/iconv/ccs/iso_8859_1.c: Ditto.
2697 * libc/iconv/ccs/README.CCS.SOURCES: Removed.
2698 * libc/iconv/ccs/gb_2312_80.c: Ditto.
2699 * libc/iconv/ccs/iconv_mktbl: Ditto.
2700 * libc/iconv/ccs/jis_x0201.c: Ditto.
2701 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
2702 * libc/iconv/ccs/shift_jis.c: Ditto.
2703 * libc/iconv/ccs/us_ascii.c: Ditto.
2704 * libc/iconv/ccs/ccs.h: New file.
2705 * libc/iconv/ccs/ccsbi.c: Ditto.
2706 * libc/iconv/ccs/ccsbi.h: Ditto.
2707 * libc/iconv/ccs/ccsnames.h: Ditto.
2708 * libc/iconv/ccs/iso_8859_10.c: Ditto.
2709 * libc/iconv/ccs/iso_8859_11.c: Ditto.
2710 * libc/iconv/ccs/iso_8859_13.c: Ditto.
2711 * libc/iconv/ccs/iso_8859_14.c: Ditto.
2712 * libc/iconv/ccs/iso_8859_3.c: Ditto.
2713 * libc/iconv/ccs/iso_8859_6.c: Ditto.
2714 * libc/iconv/ccs/iso_8859_7.c: Ditto.
2715 * libc/iconv/ccs/iso_8859_8.c: Ditto.
2716 * libc/iconv/ccs/iso_8859_9.c: Ditto.
2717 * libc/iconv/ccs/iso_ir_111.c: Ditto.
2718 * libc/iconv/ccs/jis_x0201_1976.c: Ditto.
2719 * libc/iconv/ccs/jis_x0208_1990.c: Ditto.
2720 * libc/iconv/ccs/koi8_ru.c: Ditto.
2721 * libc/iconv/ccs/koi8_uni.c: Ditto.
2722 * libc/iconv/ccs/mktbl.pl: Ditto.
2723 * libc/iconv/ccs/win_1250.c: Ditto.
2724 * libc/iconv/ccs/win_1251.c: Ditto.
2725 * libc/iconv/ccs/win_1252.c: Ditto.
2726 * libc/iconv/ccs/win_1253.c: Ditto.
2727 * libc/iconv/ccs/win_1254.c: Ditto.
2728 * libc/iconv/ccs/win_1255.c: Ditto.
2729 * libc/iconv/ccs/win_1256.c: Ditto.
2730 * libc/iconv/ccs/win_1257.c: Ditto.
2731 * libc/iconv/ccs/win_1258.c: Ditto.
2732 * libc/iconv/ccs/iso_8859_15.c: Updated.
2733 * libc/iconv/ccs/iso_8859_2.c: Ditto.
2734 * libc/iconv/ccs/iso_8859_4.c: Ditto.
2735 * libc/iconv/ccs/iso_8859_5.c: Ditto.
2736 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
2737 * libc/iconv/ccs/koi8_r.c: Ditto.
2738 * libc/iconv/ccs/koi8_u.c: Ditto.
2739 * libc/iconv/ccs/ksx1001.c: Ditto.
2740 * libc/iconv/ccs/binary/gb_2312_80.cct: Removed.
2741 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
2742 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
2743 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
2744 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
2745 * libc/iconv/ccs/binary/Makefile.am: Updated.
2746 * libc/iconv/ccs/binary/Makefile.in: Regenerated.
2747 * libc/iconv/ccs/binary/big5.cct: Updated.
2748 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
2749 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
2750 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
2751 * libc/iconv/ccs/binary/cp775.cct: Updated.: Ditto.
2752 * libc/iconv/ccs/binary/cp850.cct: Ditto.: Ditto.
2753 * libc/iconv/ccs/binary/cp852.cct: Ditto.: Ditto.
2754 * libc/iconv/ccs/binary/cp855.cct: Ditto.: Ditto.
2755 * libc/iconv/ccs/binary/cp866.cct: Ditto.: Ditto.
2756 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
2757 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
2758 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
2759 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
2760 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
2761 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
2762 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
2763 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
2764 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
2765 * libc/iconv/ccs/binary/iso_8859_10.cct: New file.
2766 * libc/iconv/ccs/binary/iso_8859_11.cct: Ditto.
2767 * libc/iconv/ccs/binary/iso_8859_13.cct: Ditto.
2768 * libc/iconv/ccs/binary/iso_8859_14.cct: Ditto.
2769 * libc/iconv/ccs/binary/iso_8859_3.cct: Ditto.
2770 * libc/iconv/ccs/binary/iso_8859_6.cct: Ditto.
2771 * libc/iconv/ccs/binary/iso_8859_7.cct: Ditto.
2772 * libc/iconv/ccs/binary/iso_8859_8.cct: Ditto.
2773 * libc/iconv/ccs/binary/iso_8859_9.cct: Ditto.
2774 * libc/iconv/ccs/binary/iso_ir_111.cct: Ditto.
2775 * libc/iconv/ccs/binary/jis_x0201_1976.cct: Ditto.
2776 * libc/iconv/ccs/binary/jis_x0208_1990.cct: Ditto.
2777 * libc/iconv/ccs/binary/koi8_ru.cct: Ditto.
2778 * libc/iconv/ccs/binary/koi8_uni.cct: Ditto.
2779 * libc/iconv/ccs/binary/win_1250.cct: Ditto.
2780 * libc/iconv/ccs/binary/win_1251.cct: Ditto.
2781 * libc/iconv/ccs/binary/win_1252.cct: Ditto.
2782 * libc/iconv/ccs/binary/win_1253.cct: Ditto.
2783 * libc/iconv/ccs/binary/win_1254.cct: Ditto.
2784 * libc/iconv/ccs/binary/win_1255.cct: Ditto.
2785 * libc/iconv/ccs/binary/win_1256.cct: Ditto.
2786 * libc/iconv/ccs/binary/win_1257.cct: Ditto.
2787 * libc/iconv/ccs/binary/win_1258.cct: Ditto.
2788 * libc/iconv/ces/Makefile.am: Updated.
2789 * libc/iconv/ces/Makefile.in: Regenerated.
2790 * libc/iconv/ces/ucs-2-internal.c: Updated.
2791 * libc/iconv/ces/ucs-4-internal.c: Ditto.
2792 * libc/iconv/ces/utf-16.c: Ditto.
2793 * libc/iconv/ces/utf-8.c: Ditto.
2794 * libc/iconv/ces/cesbi.c: New file.
2795 * libc/iconv/ces/cesbi.h: Ditto.
2796 * libc/iconv/ces/cesdeps.h: Ditto.
2797 * libc/iconv/ces/euc.c: Ditto.
2798 * libc/iconv/ces/mkdeps.pl: Ditto.
2799 * libc/iconv/ces/table-pcs.c: Ditto.
2800 * libc/iconv/ces/table.c: Ditto.
2801 * libc/iconv/ces/ucs-2.c: Ditto.
2802 * libc/iconv/ces/ucs-4.c: Ditto.
2803 * libc/iconv/ces/us-ascii.c: Ditto.
2804 * libc/iconv/ces/euc-jp.c: Removed.
2805 * libc/iconv/ces/euc-kr.c: Ditto.
2806 * libc/iconv/ces/euc-tw.c: Ditto.
2807 * libc/iconv/ces/gb2312.c: Ditto.
2808 * libc/iconv/ces/iso-10646-ucs-2.: Ditto.c
2809 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
2810 * libc/iconv/lib/Makefile.am: Updated.
2811 * libc/iconv/lib/Makefile.in: Regenerated.
2812 * libc/iconv/lib/endian.h: Updated.
2813 * libc/iconv/lib/iconv.c: Ditto.
2814 * libc/iconv/lib/local.h: Ditto.
2815 * libc/iconv/lib/aliases.c: Removed.
2816 * libc/iconv/lib/bialiasesi.c: Ditto.
2817 * libc/iconv/lib/biccs.c: Ditto.
2818 * libc/iconv/lib/bices.c: Ditto.
2819 * libc/iconv/lib/ccs.c: Ditto.
2820 * libc/iconv/lib/ces.c: Ditto.
2821 * libc/iconv/lib/ces_euc.c: Ditto.
2822 * libc/iconv/lib/ces_iso2022.c: Ditto.
2823 * libc/iconv/lib/ces_table.c: Ditto.
2824 * libc/iconv/lib/converter.c: Ditto.
2825 * libc/iconv/lib/deps.h: Ditto.
2826 * libc/iconv/lib/loaddata.c: Ditto.
2827 * libc/iconv/lib/aliasesbi.c: New file.
2828 * libc/iconv/lib/aliasesi.c: Ditto.
2829 * libc/iconv/lib/conv.h: Ditto.
2830 * libc/iconv/lib/encnames.h: Ditto.
2831 * libc/iconv/lib/encoding.deps: Ditto.
2832 * libc/iconv/lib/iconvnls.c: Ditto.
2833 * libc/iconv/lib/iconvnls.h: Ditto.
2834 * libc/iconv/lib/nullconv.c: Ditto.
2835 * libc/iconv/lib/ucsconv.c: Ditto.
2836 * libc/iconv/lib/ucsconv.h: Ditto.
2837 * libc/include/iconv.h: Update copyright.
2838 * libc/*/aclocal.m4: Regenerated.
2839 * libc/*/configure: Ditto.
2840 * libm/*/aclocal.m4: Ditto.
2841 * libm/*/configure: Ditto.
2843 2004-06-22 Alexandre Oliva <aoliva@redhat.com>
2845 * libc/include/machine/setjmp.h [__H8300__] (_JBTYPE): Define,
2846 instead of typedefing jmp_buf.
2848 2003-07-02 Richard Sandiford <rsandifo@redhat.com>
2849 * libc/machine/h8300/Makefile.am (lib_a_SOURCES): Add h8sx_strcpy.S.
2850 * libc/machine/h8300/defines.h (LEN): New macro.
2851 * libc/machine/h8300/memcpy.S: Add h8sx version.
2852 * libc/machine/h8300/memset.S: Likewise.
2853 * libc/machine/h8300/strcmp.S: Likewise.
2854 * libc/machine/h8300/setjmp.S: Use h8sx move instructions.
2855 * libc/machine/h8300/h8sx_strcpy.S: New file.
2856 2003-06-30 Richard Sandiford <rsandifo@redhat.com>
2857 * libc/include/machine/ieeefp.h: Extend __H8300S__ handling to
2859 * libc/include/machine/setjmp.h: Likewise.
2860 * libc/include/sys/config.h: Likewise.
2861 * libc/machine/h8300/defines.h: Likewise.
2862 * libc/machine/h8300/setjmp.S: Likewise.
2863 * libc/machine/h8300/strcmp.S: Likewise.
2864 * libc/sys/h8300hms/close.S: Likewise.
2865 * libc/sys/h8300hms/fstat.S: Likewise.
2866 * libc/sys/h8300hms/lseek.S: Likewise.
2867 * libc/sys/h8300hms/read.S: Likewise.
2868 * libc/sys/h8300hms/write.S: Likewise.
2869 * libc/sys/h8300hms/crt0.S: Likewise.
2870 * libc/machine/h8300/setarch.h: Use .h8300sx or .h8300sxn if
2871 __H8300SX__ is defined.
2872 * libc/sys/h8300hms/setarch.h: Likewise.
2874 2004-06-17 Jeff Johnston <jjohnstn@redhat.com>
2876 * libc/include/sys/reent.h (_GLOBAL_REENT): Back
2877 out change which set _GLOBAL_REENT to _global_impure_ptr until
2878 we understand why Cygwin breaks because of it.
2880 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
2882 * libc/sys/linux/machine/i386/syscall.h: For now, set up
2883 __syscall_return macro for systems with vsyscall.
2885 2004-06-11 Antony King <antony.king@st.com>
2887 * libc/include/sys/_types.h: Include <sys/lock.h> and change
2888 _flock_t to be of type _LOCK_RECURSIVE_T.
2889 * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
2890 (_REENT_INIT_PTR): Ditto. Use memset where appropriate.
2891 (_global_impure_ptr): New declaration.
2892 (_GLOBAL_REENT): Change to be _global_impure_ptr.
2893 * libc/include/sys/stdio.h: Include <sys/lock.h> and
2895 (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
2896 (_funlockfile)[!SINGLE_THREAD]: Ditto.
2897 * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
2898 * libc/stdio/fclose.c: Remove casting of fp lock to
2900 * libc/stdio/findfp.c: Ditto.
2901 * libc/stdio/fopen.c: Ditto.
2902 * libc/stdio/freopen.c: Ditto.
2903 * libc/stdio/vfprintf.c: Ditto.
2904 * libc/stdio64/fopen64.c: Ditto.
2905 * libc/stdlib/envlock.c: Add default stubs that use generic
2907 * libc/stdlib/mlock.c: Ditto.
2909 Jeff Johnston <jjohnstn@redhat.com>
2910 * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
2911 (_flock_t): Change to be a struct containing a single member
2912 named mutex which is of type __flock_mutex_t.
2914 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
2916 * libc/sys/linux/Makefile.am: Change siglist.inc to be generated
2917 from /usr/include/asm/signal.h instead of kernel sources. Also
2918 default max to 32 if not found in header file.
2919 * libc/sys/linux/Makefile.in: Regenerated.
2920 * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
2921 systems where __syscall_return is not defined.
2922 * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
2923 systems to use syscall() function instead of assembler interrupt.
2925 2004-06-09 Toralf Lund <toralf@procaptura.com>
2927 * libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
2928 files from libc/sys/arm to libc/machine/arm.
2929 * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
2930 library build support for files moved from libc/sys/arm.
2931 * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in: Remove
2932 references to access and setjmp.
2933 * configure.host: Add checks for newlib_may_supply_syscalls to
2934 determine whether or not to use sys/arm directory and use
2935 special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
2937 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
2939 * libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
2940 reset digit flags appropriately after we have discovered "0x".
2941 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2943 2004-05-27 Jeff Johnston <jjohnstn@redhat.com>
2945 * libc/stdio/vfprintf.c (_VFPRINTF): Move file locking
2947 (_VFPRINTF_R): ... to here so all I/O printf routines
2950 2004-05-26 Jeff Johnston <jjohnstn@redhat.com>
2952 * libc/search/hash_buf.c: Protect MAX and MIN macros from
2954 * libc/search/hash.c: Ditto.
2956 2004-05-25 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2958 * newlib.hin: (_WANT_IO_POS_ARGS): New define.
2959 (_WANT_IO_LONG_LONG): Ditto.
2960 (_WANT_IO_LONG_DOUBLE): Ditto.
2961 * configure.in: Add new configuration options
2962 --enable-newlib-io-long-long and --enable-newlib-io-long-double
2963 which tie to new defines in newlib.hin.
2964 * configure: Regenerated.
2965 * configure.host: Add checks for new configuration options. Also
2966 fix up check for --enable-newlib-io-pos-args so configuration
2967 option will override any default for a given platform.
2968 Remove defining compiler flags for the _WANT_IO* options.
2969 * libc/stdio/vfprintf.c: Change to use new newlib.hin defines
2970 instead of looking for old compiler flags.
2971 * libc/stdio/vfscanf.c: Ditto.
2972 * libc/stdio/vfieeefp.h: Ditto.
2973 * libc/machine/powerpc/vfprintf.c: Ditto.
2974 * libc/machine/powerpc/vfscanf.c: Ditto.
2976 2004-05-25 Jeff Johnston <jjohnstn@redhat.com>
2978 * testsuite/include/check.h: Add include of <stdio.h>.
2980 2004-05-17 Corinna Vinschen <corinna@vinschen.de>
2982 * libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
2984 2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2986 * libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
2989 2004-05-07 Artem B. Bityuckiy <abitytsky@softminecorp.com>
2991 * libc/stdio/iprintf.c (_iprintf_r): Fix old-style argument
2992 list for reentrant pointer. Call _vfiprintf_r.
2993 * libc/stdio/siprintf.c (_siprintf_r): New function.
2994 * libc/stdio/vfprintf.c (__sbprintf): Add reetrant struct
2995 pointer argument. Change all callers. Call _VFPRINTF_R.
2996 * libc/include/stdio.h (_siprintf_r, _vfiprintf_r): New
2999 2004-05-07 Jeff Johnston <jjohnstn@redhat.com>
3001 * libc/include/sys/param.h: Remove endian info and include
3002 <machine/endian.h> instead.
3003 * libc/include/machine/endian.h: New file.
3004 * libc/include/machine/param.h: Ditto.
3005 * libc/machine/arm/machine/endian.h: Ditto.
3006 * libc/machine/arm/machine/param.h: Ditto.
3007 * libc/sys/arm/sys/param.h: Removed.
3008 * libc/sys/sysvi386/sys/param.h: Ditto.
3009 * libc/sys/rtems/sys/param.h: Modified to include <machine/endian.h>.
3011 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3013 * libc/stdio/vfprintf.c (_VFPRINTF_R): Set error flag when
3014 multibyte functions return failure for %C, %S, %lc, and %ls
3017 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3019 * testsuite/include/check.h (CHECK): Add flush of stdout.
3021 2004-05-03 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3023 * libc/include/stdio.h (_ungetc_r): New prototype.
3024 * libc/stdio/ungetc.c (_ungetc_r): New reentrant function.
3025 (__submore): Add reentrant struct pointer argument.
3026 (ungetc): Change to call _ungetc_r.
3028 2004-04-28 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3030 * libc/stdio/local.h (_fwalk_reent): Specify prototype of
3031 function pointer argument.
3032 * libc/stdio/fwalk.c (_fwalk, _fwalk_reent): Change prototypes
3033 to specify function pointer arguments.
3034 (__fwalk, __fwalk_reent): Ditto.
3036 2004-04-26 Aldy Hernandez <aldyh@redhat.com>
3038 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Fix typo in
3041 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3043 * configure.in: Define _MB_CAPABLE if mb supported.
3044 * configure: Regenerated.
3045 * configure.host: Remove manual setting of MB_CAPABLE compiler
3047 * newlib.hin: Add _MB_CAPABLE flag.
3048 * libc/ctype/iswalpha.c, libc/ctype/iswblank.c: Include <newlib.h>
3049 and check for _MB_CAPABLE flag instead of MB_CAPABLE.
3050 * libc/ctype/iswcntrl.c, libc/ctype/iswprint.c: Ditto.
3051 * libc/ctype/iswpunct.c, libc/ctype/iswspace.c: Ditto.
3052 * libc/ctype/jp2uc.c: Ditto.
3053 * libc/ctype/towlower.c, libc/ctype/towupper.c: Ditto.
3054 * libc/locale/locale.c: Ditto
3055 * libc/machine/powerpc/vfscanf.c: Ditto
3056 * libc/stdio/vfprintf.c, libc/stdio/vfscanf.c: Ditto
3057 * libc/stdlib/mblen.c: Ditto
3058 * libc/stdlib/mblen_r.c, libc/stdlib/mbrlen.c: Ditto
3059 * libc/stdlib/mbrtowc.c, libc/stdlib/mbsrtowcs.c: Ditto
3060 * libc/stdlib/mbstowcs.c, libc/stdlib/mbtowc.c: Ditto
3061 * libc/stdlib/mbtowc_r.c, libc/stdlib/wcrtomb.c: Ditto
3062 * libc/stdlib/wcsrtombs.c, libc/stdlib/wcstombs.c: Ditto
3063 * libc/stdlib/wctomb.c, libc/sys/linux/intl/dcigettext.c: Ditto
3064 * libc/sys/linux/intl/explodename.c: Ditto
3065 * libc/sys/linux/intl/finddomain.c: Ditto
3066 * libc/sys/linux/intl/l10nflist.c: Ditto
3067 * libc/sys/linux/intl/loadmsgcat.c: Ditto
3068 * libc/sys/linux/intl/localealias.c: Ditto
3070 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3072 * libc/machine/powerpc/vfscanf.c (NNZDIGITS): New define.
3073 (__svfscanf_r): In integer conversions, leave out leading zeroes
3074 which are not part of a base prefix.
3075 Keep track of width truncation to fit into buf, not counting left-out
3076 zeroes against width till the truncation has been compensated for.
3077 This is based on Joern's patch of 04/21 for libc/stdio/vfscanf.c.
3079 2004-04-23 Jeff Johnston <jjohnstn@redhat.com>
3081 * libc/include/stdio.h: (_ftell_r, _fseek_r): New prototypes.
3083 2004-04-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3085 * libc/stdio/asprintf.c libc/stdio/clearerr.c,
3086 libc/stdio/fclose.c libc/stdio/fcloseall.c libc/stdio/fdopen.c,
3087 libc/stdio/feof.c libc/stdio/ferror.c libc/stdio/fflush.c,
3088 libc/stdio/fgetc.c libc/stdio/fgetpos.c libc/stdio/fgets.c,
3089 libc/stdio/fileno.c libc/stdio/findfp.c libc/stdio/fiprintf.c,
3090 libc/stdio/flags.c libc/stdio/fopen.c libc/stdio/fprintf.c,
3091 libc/stdio/fputc.c libc/stdio/fputs.c libc/stdio/fread.c,
3092 libc/stdio/freopen.c libc/stdio/fscanf.c libc/stdio/fseek.c,
3093 libc/stdio/fseeko.c libc/stdio/fsetpos.c libc/stdio/ftell.c,
3094 libc/stdio/ftello.c libc/stdio/fvwrite.c libc/stdio/fwalk.c,
3095 libc/stdio/fwrite.c libc/stdio/getc.c libc/stdio/getc_u.c,
3096 libc/stdio/getchar.c libc/stdio/getchar_u.c,
3097 libc/stdio/getdelim.c libc/stdio/getline.c libc/stdio/gets.c,
3098 libc/stdio/getw.c libc/stdio/iprintf.c libc/stdio/local.h,
3099 libc/stdio/makebuf.c libc/stdio/mktemp.c libc/stdio/perror.c,
3100 libc/stdio/printf.c libc/stdio/putc.c libc/stdio/putc_u.c,
3101 libc/stdio/putchar.c libc/stdio/putchar_u.c libc/stdio/puts.c,
3102 libc/stdio/putw.c libc/stdio/refill.c libc/stdio/remove.c,
3103 libc/stdio/rename.c libc/stdio/rewind.c libc/stdio/rget.c,
3104 libc/stdio/scanf.c libc/stdio/setbuf.c libc/stdio/setbuffer.c,
3105 libc/stdio/setlinebuf.c libc/stdio/setvbuf.c,
3106 libc/stdio/siprintf.c libc/stdio/snprintf.c,
3107 libc/stdio/sprintf.c libc/stdio/sscanf.c libc/stdio/stdio.c,
3108 libc/stdio/tmpfile.c libc/stdio/tmpnam.c libc/stdio/ungetc.c,
3109 libc/stdio/vasprintf.c libc/stdio/vfieeefp.h,
3110 libc/stdio/vfprintf.c libc/stdio/vfscanf.c,
3111 libc/stdio/vprintf.c libc/stdio/vscanf.c,
3112 libc/stdio/vsnprintf.c libc/stdio/vsprintf.c,
3113 libc/stdio/vsscanf.c libc/stdio/wbuf.c,
3114 libc/stdio/wsetup.c: Perform minor formatting changes. Move
3115 copyright notices to top of file, ensure that <_ansi.h> is
3116 included, be consistent with open parentheses, use _DEFUN macro,
3117 include "local.h" where needed, and remove various compiler
3120 2004-04-21 J"orn Rennecke <joern.rennecke@superh.com>
3122 * libc/stdio/vfscanf.c (NNZDIGITS): New define.
3123 (__svfscanf_r): In integer conversions, leave out leading zeroes
3124 which are not part of a base prefix.
3125 Keep track of width truncation to fit into buf, not counting left-out
3126 zeroes against width till the truncation has been compensated for.
3128 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
3130 * libc/include/sys/unistd.h (ttyname_r): Add missing comma.
3132 2004-04-20 Corinna Vinschen <corinna@vinschen.de>
3134 * libc/include/sys/unistd.h (ttyname_r): Add declaration for Cygwin.
3136 2004-04-10 Corinna Vinschen <corinna@vinschen.de>
3138 * libc/include/sys/unistd.h (sync): Define void on Cygwin according
3141 2004-04-08 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3143 * libc/stdio/fclose.c (_fclose_r): New function.
3144 * libc/stdio/freopen.c (_freopen_r): Call _fclose_r.
3145 * libc/stdio/fcloseall.c (_fcloseall_r): Call _fwalk_reent.
3146 * libc/stdio64/freopen64.c (_freopen64_r): Use _fclose_r.
3147 * libc/include/stdio.h (_fclose_r): New prototype.
3148 * libc/stdio/fopen.c: Fix typo in comment.
3150 2004-04-08 Jeff Johnston <jjohnstn@redhat.com>
3152 * libc/stdio/fwalk.c (_fwalk_reent): New version of _fwalk
3153 to handle _r reentrant functions.
3155 2004-04-08 Eric Christopher <echristo@redhat.com>
3157 * libc/include/machine/setjmp.h: Fix endif locations.
3159 2004-04-01 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3161 * libc/time/strptime.c: Add standard includes to avoid
3162 warning messages at compilation time.
3164 2004-04-01 Jeff Johnston <jjohnstn@redhat.com>
3166 * libc/stdio/vfscanf.c (__svfscanf_r): Add locking/unlocking
3169 2004-03-30 Jeff Johnston <jjohnstn@redhat.com>
3171 * libc/machine/h8300/Makefile.am: Reformat slightly.
3172 * libc/machine/h8300/Makefile.in: Regenerate.
3174 2004-03-30 Thomas Pfaff <tpfaff@gmx.net>
3176 * libc/stdio/findfp.c (__fp_lock_all): Add call to
3178 (__fp_unlock_all): Add call to __sfp_lock_release.
3180 2004-03-25 Thomas Pfaff <tpfaff@gmx.net>
3182 * libc/stdio/fclose.c (fclose): Protect file pointer list when
3184 * libc/stdio/fcloseall.c (_fcloseall_r): Close all files via
3186 * libc/stdio/fdopen.c (_fdopen_r): Add calls to
3187 _flockfile/_funlockfile.
3188 * libc/stdio/findfp.c: Move __sfp_lock. Change __sfp_lock type
3190 Change __lock_acquire/__lock_release calls for __sfp_lock to
3191 __sfp_lock_acquire/__sfp_lock_release throughout.
3192 (std): Make sure that file lock is only initialized once.
3193 (__sfp): Move _file initialization. Initialize file lock.
3194 (__sfp_lock_acquire): New function.
3195 (__sfp_lock_release): Ditto.
3196 (__fp_lock_all): Remove __sfp_lock_acquire call.
3197 (__fp_unlock_all): Remove __sfp_lock_release call.
3198 * libc/stdio/fopen.c (_fopen_r): Protect file pointer list.
3199 Add calls to _flockfile/_funlockfile. Remove
3200 __lock_init_recursive call.
3201 * libc/stdio/freopen.c (_freopen_r): Protect file pointer list.
3202 * libc/stdio/fwalk.c (__fwalk): New static function.
3203 (_fwalk): Protect file pointer list. Use __fwalk to walk through
3205 * libc/stdio/local.h: Add defines for
3206 __sfp_lock_acquire/__sfp_lock_release when
3207 single threaded. Add function prototypes otherwise.
3208 * libc/stdio64/fdopen64.c (_fdopen64_r): Add calls to
3209 _flockfile/_funlockfile.
3210 * libc/stdio/fopen64.c (_fopen64_r): Protect file pointer list.
3211 Add calls to _flockfile/_funlockfile. Remove
3212 __lock_init_recursive call.
3213 * libc/stdio/freopen64.c (_freopen64_r): Protect file pointer
3216 2004-03-25 Jeff Johnston <jjohnstn@redhat.com>
3218 * libc/sys/linux/sys/lock.h: Turn on __USE_GNU flag if not already
3219 defined. Change __LOCK_RECURSIVE_INIT to be __LOCK_INIT_RECURSIVE.
3220 * libc/sys/linux/dl/dl-support.c: Change __LOCK_RECURSIVE_INIT
3221 to be __LOCK_INIT_RECURSIVE.
3223 2004-03-11 Kazu Hirata <kazu@cs.umass.edu>
3225 * libc/sys/h8300hms/Makefile.am (lib_a_SOURCES): Replace
3226 _exit.c with _exit.S.
3227 * libc/sys/h8300hms/Makefile.in: Regenerate.
3228 * libc/sys/h8300hms/_exit.c: Remove.
3229 * libc/sys/h8300hms/_exit.S: New.
3231 2004-03-09 Thomas Pfaff <tpfaff@gmx.net>
3233 * libc/stdio/findfp.c (__sfp): Rename lock to __sfp_lock.
3234 Change __sfp_lock to static global.
3235 (__fp_lock): New static function.
3236 (__fp_unlock): Ditto.
3237 (__fp_lock_all): New function.
3238 (__fp_unlock_all): Ditto.
3240 2004-02-10 Christopher Faylor <cgf@redhat.com>
3242 * libm/mathfp/er_gamma.c (gamma): Add new non-reentrant function.
3243 * libm/mathfp/er_lgamma.c (lgamma): Ditto.
3244 * libm/mathfp/erf_gamma.c (gammaf): Ditto.
3245 * libm/mathfp/erf_lgamma.c (lgammaf): Ditto.
3247 2004-02-09 Christopher Faylor <cgf@redhat.com>
3249 * libc/include/time.h (TIMER_RELTIME): New define.
3251 2004-02-09 Jeff Johnston <jjohnstn@redhat.com>
3253 * libc/stdlib/Makefile.am: Add mallstatsr to LIBADD_OBJS.
3254 * libc/stdlib/Makefile.in: Regenerated.
3256 2004-02-08 Christopher Faylor <cgf@redhat.com>
3258 * libc/include/sys/features.h: Add _POSIX_TIMERS define for __CYGWIN__.
3259 * libc/include/sys/reent.h (__getreent): Protect against possibly being
3261 * libc/include/sys/unistd.h (fdatasync): Don't define for __CYGWIN__.
3263 2004-02-05 Paul Brook <paul@codesourcery.com>
3265 * libc/include/machine/ieeefp.h[__arm__][__VFP_FP__]: Set
3266 IEEE_{BIG,LITTLE} based on __ARMEL__ flag.
3268 2004-02-02 Jeff Johnston <jjohnstn@redhat.com>
3270 * NEWS: Update with 1.12.0 info.
3272 * acinclude.m4: Change version number to 1.12.0.
3273 * aclocal.m4: Regenerated.
3275 * doc/aclocal.m4: Ditto.
3276 * doc/configure: Ditto.
3277 * libc/*/aclocal.m4: Ditto.
3278 * libc/*/configure: Ditto.
3279 * libc/libc.texinfo: Ditto.
3280 * libm/*/aclocal.m4: Ditto.
3281 * libm/*/configure: Ditto.
3282 * libm/libm.texinfo: Ditto.
3283 * libc/sys/linux/shared.ld: Add VERS_1.12.
3285 2004-02-02 Joel Sherrill <joel@oarcorp.com>
3287 * configure.host: Add support for tic4x.
3288 * libc/include/machine/ieeefp.h: Ditto.
3289 * libc/include/machine/setjmp.h: Ditto.
3290 * libc/machine/tic4x/Makefile.am: New file.
3291 * libc/machine/tic4x/configure.in: Ditto.
3292 * libc/machine/tic4x/setjmp.S: Ditto.
3293 * libc/machine/tic4x/aclocal.m4: Generated.
3294 * libc/machine/tic4x/configure: Ditto.
3295 * libc/machine/tic4x/Makefile.in: Ditto.
3297 2004-01-30 Jeff Johnston <jjohnstn@redhat.com>
3299 * libc/stdio/fwalk.c (_fwalk.c): Don't traverse the
3300 file chain on the passed in reentrancy struct if it
3303 2004-01-30 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3304 Jeff Johnston <jjohnstn@redhat.com>
3306 * libc/iconv/iconv.tex: Updated with more information.
3308 2004-01-30 Thomas Pfaff <tpfaff@gmx.net>
3309 Jeff Johnston <jjohnstn@redhat.com>
3311 * libc/stdio/fwalk.c (_fwalk): Traverse the given reentrancy
3312 struct for std streams and traverse the global reeentrancy
3313 struct for all other streams.
3315 2004-01-27 Jeff Johnston <jjohnstn@redhat.com>
3317 * libc/stdlib/atexit.c: Protect global atexit list with a
3318 lock when newlib is multithreaded.
3320 2004-01-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3322 * configure.in: Add support to generate iconv converter flags
3324 * newlib.hin: Add iconv converter flags.
3325 * configure: Regenerated.
3326 * libc/Makefile.in: Ditto.
3327 * libc/configure.in: Moved iconv converter parsing logic to
3328 top level newlib configure.in.
3329 * libc/configure: Regenerated.
3330 * libc/iconv/Makefile.in: Ditto.
3331 * libc/iconv/README.TODO
3332 * libc/iconv/charset.aliases: Remove wrong BE aliases for
3334 * libc/iconv/ccs/Makefile.am: Remove C flag setting now that
3335 newlib.h can be used.
3336 * libc/iconv/ces/Makefile.am: Ditto.
3337 * libc/iconv/lib/Makefile.am: Ditto.
3338 * libc/iconv/ccs/Makefile.in: Regenerated.
3339 * libc/iconv/ces/Makefile.in: Ditto.
3340 * libc/iconv/lib/Makefile.in: Ditto.
3341 * libc/iconv/ccs/README.CCS.SOURCES: Updated.
3342 * libc/iconv/ccs/iconv_mktbl: Don't write junk strings to binaries.
3343 * libc/iconv/ccs/big5.c: Switch to use new underscored flags
3344 defined in newlib.h.
3345 * libc/iconv/ccs/cns11643_plane1.c: Ditto.
3346 * libc/iconv/ccs/cns11643_plane14.c: Ditto.
3347 * libc/iconv/ccs/cns11643_plane2.c: Ditto.
3348 * libc/iconv/ccs/cp775.c: Ditto.
3349 * libc/iconv/ccs/cp850.c: Ditto.
3350 * libc/iconv/ccs/cp852.c: Ditto.
3351 * libc/iconv/ccs/cp855.c: Ditto.
3352 * libc/iconv/ccs/cp866.c: Ditto.
3353 * libc/iconv/ccs/gb_2312_80.c: Ditto.
3354 * libc/iconv/ccs/iso_8859_1.c: Ditto.
3355 * libc/iconv/ccs/iso_8859_15.c: Ditto.
3356 * libc/iconv/ccs/iso_8859_2.c: Ditto.
3357 * libc/iconv/ccs/iso_8859_4.c: Ditto.
3358 * libc/iconv/ccs/iso_8859_5.c: Ditto.
3359 * libc/iconv/ccs/jis_x0201.c: Ditto.
3360 * libc/iconv/ccs/jis_x0208_1983.c: Ditto.
3361 * libc/iconv/ccs/jis_x0212_1990.c: Ditto.
3362 * libc/iconv/ccs/koi8_r.c: Ditto.
3363 * libc/iconv/ccs/koi8_u.c: Ditto.
3364 * libc/iconv/ccs/ksx1001.c: Ditto.
3365 * libc/iconv/ccs/shift_jis.c: Ditto.
3366 * libc/iconv/ccs/us_ascii.c: Ditto.
3367 * libc/iconv/ccs/binary/big5.cct: Newly generated.
3368 * libc/iconv/ccs/binary/cns11643_plane1.cct: Ditto.
3369 * libc/iconv/ccs/binary/cns11643_plane14.cct: Ditto.
3370 * libc/iconv/ccs/binary/cns11643_plane2.cct: Ditto.
3371 * libc/iconv/ccs/binary/cp775.cct: Ditto.
3372 * libc/iconv/ccs/binary/cp850.cct: Ditto.
3373 * libc/iconv/ccs/binary/cp852.cct: Ditto.
3374 * libc/iconv/ccs/binary/cp855.cct: Ditto.
3375 * libc/iconv/ccs/binary/cp866.cct: Ditto.
3376 * libc/iconv/ccs/binary/gb_2312_80.cct: Ditto.
3377 * libc/iconv/ccs/binary/iso_8859_1.cct: Ditto.
3378 * libc/iconv/ccs/binary/iso_8859_15.cct: Ditto.
3379 * libc/iconv/ccs/binary/iso_8859_2.cct: Ditto.
3380 * libc/iconv/ccs/binary/iso_8859_4.cct: Ditto.
3381 * libc/iconv/ccs/binary/iso_8859_5.cct: Ditto.
3382 * libc/iconv/ccs/binary/jis_x0201.cct: Ditto.
3383 * libc/iconv/ccs/binary/jis_x0208_1983.cct: Ditto.
3384 * libc/iconv/ccs/binary/jis_x0212_1990.cct: Ditto.
3385 * libc/iconv/ccs/binary/koi8_r.cct: Ditto.
3386 * libc/iconv/ccs/binary/koi8_u.cct: Ditto.
3387 * libc/iconv/ccs/binary/ksx1001.cct: Ditto.
3388 * libc/iconv/ccs/binary/shift_jis.cct: Ditto.
3389 * libc/iconv/ccs/binary/us_ascii.cct: Ditto.
3390 * libc/iconv/lib/bialiasesi.c: Sync with charset.aliases.
3391 * libc/iconv/ces/euc-jp.c: Use newlib.h macros.
3392 * libc/iconv/ces/euc-kr.c: Ditto.
3393 * libc/iconv/ces/euc-tw.c: Ditto.
3394 * libc/iconv/ces/gb2312.c: Ditto.
3395 * libc/iconv/ces/iso-10646-ucs-2.c: Ditto.
3396 * libc/iconv/ces/iso-10646-ucs-4.c: Ditto.
3397 * libc/iconv/ces/ucs-2-internal.c: Ditto.
3398 * libc/iconv/ces/ucs-4-internal.c: Ditto.
3399 * libc/iconv/ces/utf-16.c: Ditto.
3400 * libc/iconv/ces/utf-8.c: Ditto.
3401 * libc/iconv/lib/aliases.c: Ditto.
3402 * libc/iconv/lib/biccs.c: Ditto.
3403 * libc/iconv/lib/bices.c: Ditto.
3404 * libc/iconv/lib/ccs.c: Ditto.
3405 * libc/iconv/lib/ces.c: Ditto.
3406 * libc/iconv/lib/ces_euc.c: Ditto.
3407 * libc/iconv/lib/ces_iso2022.c: Ditto.
3408 * libc/iconv/lib/ces_table.c: Ditto.
3409 * libc/iconv/lib/converter.c: Ditto.
3410 * libc/iconv/lib/deps.h: Ditto.
3411 * libc/iconv/lib/endian.h: Ditto.
3412 * libc/iconv/lib/iconv.c: Ditto.
3413 * libc/iconv/lib/loaddata.c: Ditto.
3414 * libc/iconv/lib/local.h: Include newlib.h.
3415 * libc/argz/Makefile.in: Regenerated.
3416 * libc/ctype/Makefile.in: Ditto.
3417 * libc/errno/Makefile.in: Ditto.
3418 * libc/iconv/ccs/binary/Makefile.in: Ditto.
3419 * libc/locale/Makefile.in: Ditto.
3420 * libc/misc/Makefile.in: Ditto.
3421 * libc/posix/Makefile.in: Ditto.
3422 * libc/reent/Makefile.in: Ditto.
3423 * libc/search/Makefile.in: Ditto.
3424 * libc/signal/Makefile.in: Ditto.
3425 * libc/stdio/Makefile.in: Ditto.
3426 * libc/stdio64/Makefile.in: Ditto.
3427 * libc/stdlib/Makefile.in: Ditto.
3428 * libc/string/Makefile.in: Ditto.
3429 * libc/syscalls/Makefile.in: Ditto.
3430 * libc/time/Makefile.in: Ditto.
3431 * libc/unix/Makefile.in: Ditto.
3432 * testsuite/newlib.iconv/iconv.exp: New file.
3433 * testsuite/newlib.iconv/iconvjp.c: Ditto.
3434 * testsuite/newlib.iconv/iconvnm.c: Ditto.
3435 * testsuite/newlib.iconv/iconvru.c: Ditto.
3437 2004-01-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3439 * acinclude.m4 (--enable-newlib-iconv): New configuration option.
3440 (--enable-newlib-builtin-converters): Ditto.
3441 * configure.in: Add code to set _ICONV_ENABLED flag.
3442 Set _MB_LEN_MAX to 1 if not mb enabled.
3443 * configure: Regenerated.
3444 * aclocal.m4: Ditto.
3445 * Makefile.in: Ditto.
3446 * newlib.hin: Add _ICONV_ENABLED flag.
3447 * libc/Makefile.am: Add support for iconv.
3448 * libc/configure.in: Ditto.
3449 * libc/Makefile.in: Regenerated.
3450 * libc/aclocal.m4: Ditto.
3451 * libc/configure: Ditto.
3452 * libc/libc.texinfo: Add iconv documentation.
3453 * libc/iconv/AUTHORS, libc/iconv/COPYING, libc/iconv/Makefile.am,
3454 libc/iconv/Makefile.in, libc/iconv/README.ORIGINAL,
3455 libc/iconv/README.TODO, libc/iconv/charset.aliases,
3456 libc/iconv/iconv.tex, libc/iconv/ccs/Makefile.am,
3457 libc/iconv/ccs/Makefile.in, libc/iconv/ccs/README.CCS.SOURCES,
3458 libc/iconv/ccs/big5.c, libc/iconv/ccs/cns11643_plane1.c,
3459 libc/iconv/ccs/cns11643_plane14.c, libc/iconv/ccs/cns11643_plane2.c,
3460 libc/iconv/ccs/cp775.c, libc/iconv/ccs/cp850.c,
3461 libc/iconv/ccs/cp852.c, libc/iconv/ccs/cp855.c,
3462 libc/iconv/ccs/cp866.c, libc/iconv/ccs/gb_2312_80.c,
3463 libc/iconv/ccs/iconv_mktbl, libc/iconv/ccs/iso_8859_1.c,
3464 libc/iconv/ccs/iso_8859_15.c, libc/iconv/ccs/iso_8859_2.c,
3465 libc/iconv/ccs/iso_8859_4.c, libc/iconv/ccs/iso_8859_5.c,
3466 libc/iconv/ccs/jis_x0201.c, libc/iconv/ccs/jis_x0208_1983.c,
3467 libc/iconv/ccs/jis_x0212_1990.c, libc/iconv/ccs/koi8_r.c,
3468 libc/iconv/ccs/koi8_u.c, libc/iconv/ccs/ksx1001.c,
3469 libc/iconv/ccs/shift_jis.c, libc/iconv/ccs/us_ascii.c,
3470 libc/iconv/ccs/binary/Makefile.am, libc/iconv/ccs/binary/Makefile.in,
3471 libc/iconv/ccs/binary/big5.cct,
3472 libc/iconv/ccs/binary/cns11643_plane1.cct,
3473 libc/iconv/ccs/binary/cns11643_plane14.cct,
3474 libc/iconv/ccs/binary/cns11643_plane2.cct,
3475 libc/iconv/ccs/binary/cp775.cct, libc/iconv/ccs/binary/cp850.cct,
3476 libc/iconv/ccs/binary/cp852.cct, libc/iconv/ccs/binary/cp855.cct,
3477 libc/iconv/ccs/binary/cp866.cct, libc/iconv/ccs/binary/gb_2312_80.cct,
3478 libc/iconv/ccs/binary/iso_8859_1.cct,
3479 libc/iconv/ccs/binary/iso_8859_15.cct,
3480 libc/iconv/ccs/binary/iso_8859_2.cct,
3481 libc/iconv/ccs/binary/iso_8859_4.cct,
3482 libc/iconv/ccs/binary/iso_8859_5.cct,
3483 libc/iconv/ccs/binary/jis_x0201.cct,
3484 libc/iconv/ccs/binary/jis_x0208_1983.cct,
3485 libc/iconv/ccs/binary/jis_x0212_1990.cct,
3486 libc/iconv/ccs/binary/koi8_r.cct, libc/iconv/ccs/binary/koi8_u.cct,
3487 libc/iconv/ccs/binary/ksx1001.cct,
3488 libc/iconv/ccs/binary/shift_jis.cct,
3489 libc/iconv/ccs/binary/us_ascii.cct,
3490 libc/iconv/ces/Makefile.am, libc/iconv/ces/Makefile.in,
3491 libc/iconv/ces/euc-jp.c, libc/iconv/ces/euc-kr.c,
3492 libc/iconv/ces/euc-tw.c, libc/iconv/ces/gb2312.c,
3493 libc/iconv/ces/iso-10646-ucs-2.c, libc/iconv/ces/iso-10646-ucs-4.c,
3494 libc/iconv/ces/ucs-2-internal.c, libc/iconv/ces/ucs-4-internal.c,
3495 libc/iconv/ces/utf-16.c, libc/iconv/ces/utf-8.c,
3496 libc/iconv/lib/Makefile.am, libc/iconv/lib/Makefile.in,
3497 libc/iconv/lib/aliases.c, libc/iconv/lib/bialiasesi.c,
3498 libc/iconv/lib/biccs.c, libc/iconv/lib/bices.c,
3499 libc/iconv/lib/ccs.c, libc/iconv/lib/ces.c,
3500 libc/iconv/lib/ces_euc.c, libc/iconv/lib/ces_iso2022.c,
3501 libc/iconv/lib/ces_table.c, libc/iconv/lib/converter.c,
3502 libc/iconv/lib/deps.h, libc/iconv/lib/endian.h,
3503 libc/iconv/lib/iconv.c, libc/iconv/lib/loaddata.c,
3504 libc/iconv/lib/local.h, libc/include/iconv.h: New files.
3505 * libc/sys/linux/include/iconv.h: Ditto.
3506 * libc/include/sys/_types.h (_iconv_t): Added.
3507 * doc/aclocal.m4: Regenerated.
3508 * doc/configure: Ditto.
3509 * doc/Makefile.in: Ditto.
3510 * iconvdata/Makefile.in: Ditto.
3511 * iconvdata/aclocal.m4: Ditto.
3512 * iconvdata/configure: Ditto.
3513 * libc/*aclocal.m4: Ditto.
3514 * libc/*Makefile.in: Ditto.
3515 * libc/*configure: Ditto.
3516 * libm/*aclocal.m4: Ditto.
3517 * libm/*Makefile.in: Ditto.
3518 * libm/*configure: Ditto.
3520 2004-01-22 Thomas Pfaff <tpfaff@gmx.net>
3522 * libc/stdio/findfp.c (__sfp): Protect global FILE pointer list
3523 by a lock when newlib is multithreaded.
3525 2004-01-21 Jeff Johnston <jjohnstn@redhat.com>
3527 * libc/stdlib/mbrtowc.c (_mbrtowc_r): Fix case where s is null
3528 pointer to match C99 spec.
3529 * libc/stdlib/mbsrtowcs.c (_mbsrtowc_r): Fix to ignore len when
3530 dst is NULL. Also fix to not alter src pointer when dst is NULL
3531 and call _mbrtowc_r instead of _mbtowc_r.
3532 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Call _wcrtomb_r instead
3535 2004-01-19 Thomas Pfaff <tpfaff@gmx.net>
3537 * libc/stdio/fclose.c (fclose): Release FILE as the last step.
3538 * libc/stdio/freopen.c (freopen): Ditto.
3540 2004-01-16 Christopher Faylor <cgf@redhat.com>
3542 * libc/stdio/vfprintf.c: Add sys/lock.h include.
3544 2004-01-16 Thomas Pfaff <tpfaff@gmx.net>
3546 * libc/stdio/findfp.c (__sfp): Remove unnecessary memset.
3547 * libc/stdio/vfprintf.c (__sbprintf): Ditto.
3548 Add calls to __lock_init_recursive and __lock_close_recursive
3551 2004-01-15 Thomas Pfaff <tpfaff@gmx.net>
3553 * libc/stdio/fclose.c: Include sys/lock.h.
3554 (fclose): Destroy lock when file is closed.
3555 * libc/stdio/findfp.c (__sfp): Initialize file pointers _lock
3557 * libc/stdio/freopen.c: Include sys/lock.h.
3558 (_freopen_r): Destroy lock when file is closed.
3559 * libc/stdio/vfprintf.c (__sbprintf): Initialize file pointers
3562 2004-01-08 Joel Sherrill <joel@oarcorp.com>
3564 * libc/ctype/iswctype.c, include/sys/reent.h, libc/stdlib/a64l.c:
3567 2004-01-08 Joel Sherrill <joel@oarcorp.com>
3569 * libc/sys/rtems/sys/queue.h: New file.
3570 * libc/include/sys/signal.h: Reflect renumbering of signals to
3571 fit into 32-bit mask.
3572 * libc/include/sys/unistd.h: Add fdatasync() prototype.
3573 * libc/sys/rtems/crt0.c: Add more symbols which may be implicitly
3574 required. In particular, add the reentrant variants of libc calls.
3575 * libc/sys/rtems/sys/dirent.h: Add scandir() prototype.
3577 2004-01-06 Mark Mitchell <mark@codesourcery.com>
3579 * libc/sys/arm/syscalls.c (unistd.h): Include it.
3580 (remap_handle): Use STDIN_FILENO instead of __sfileno(stdin).
3581 Similarly for stdout and stderr.
3583 2004-01-06 Jeff Johnston <jjohnstn@redhat.com>
3585 * libc/libc.texinfo: Correct escape character for @ sign
3586 so file will be processed by make info. Update copyright years.
3587 * libm/libm.texinfo: Ditto.
3589 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3591 * libc/include/sys/stat.h: No longer include stat-dj.h.
3592 * libc/include/sys/stat-dj.h: Removed.
3594 2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
3596 * libc/include/wchar.h: Include <sys/reent.h>.
3598 2003-12-05 Christopher Faylor <cgf@redhat.com>
3600 * libc/stdlib/mbrlen.c: Change include order to prevent compiler errors
3601 when defining _mbrtowc.
3602 * libc/stdlib/mbsinit.c: Ditto.
3603 * libc/stdlib/mbsrtowcs.c: Ditto.
3604 * libc/stdlib/wcrtomb.c: Ditto.
3605 * libc/stdlib/wcsrtombs.c: Ditto.
3606 * libc/stdlib/wctob.c: Ditto.
3608 2003-12-05 Christopher Faylor <cgf@redhat.com>
3610 * libc/stdlib/mbrlen.c: Change include order to prevent compiler
3611 errors when defining _mbrtowc.
3612 * libc/stdlib/mbsinit.c: Ditto.
3613 * libc/stdlib/mbsrtowcs.c: Ditto.
3615 2003-12-05 Christopher Faylor <cgf@redhat.com>
3617 * libc/stdlib/mbrtowc.c: Change include order to prevent compiler
3618 errors when defining _mbrtowc.
3620 2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3622 * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
3623 of mb routines for %lc and %ls support.
3624 * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
3625 %ls, and %S support. Remove CYGNUS_NEC markers and
3628 2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
3630 * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
3631 _wcrtomb_r, and _wcsrtombs_r.
3633 2003-12-01 Corinna Vinschen <corinna@vinschen.de>
3635 * libc/include/sys/fcntl.h: Don't define struct flock when on
3636 Cygwin. This is done in winsup/cygwin/include/cygwin/types.h now.
3638 2003-11-28 Christopher Faylor <cgf@redhat.com>
3640 * libc/include/sys/signal.h: Use system specific signal file when
3643 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3645 * libc/include/stdlib.h (_atoi_r): New prototype.
3646 * libc/stdlib/atoi.c (_atoi_r): New reentrant function.
3648 2003-11-27 Jeff Johnston <jjohnstn@redhat.com>
3650 * libc/include/stdlib.h (_atoll_r, _atol_r): New prototypes.
3651 * libc/stdlib/atol.c (_atol_r): New reentrant function.
3652 * libc/stdlib/atoll.c (_atoll_r): Ditto.
3654 2003-11-27 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3655 Jeff Johnston <jjohnstn@redhat.com>
3657 * libc/include/stdlib.h (lldiv_t): New type.
3658 (atoll, llabs, lldiv): New prototypes.
3659 * libc/stdlib/Makefile.am: Add support for atoll, llabs, and lldiv.
3660 * libc/stdlib/stdlib.tex: Ditto.
3661 * libc/stdlib/Makefile.in: Regenerated.
3662 * libc/stdlib/atoll.c: New file.
3663 * libc/stdlib/llabs.c: Ditto.
3664 * libc/stdlib/lldiv.c: Ditto.
3666 2003-11-26 Corinna Vinschen <corinna@vinschen.de>
3668 * libc/include/fcntl.h: Declare syscalls only when building newlib.
3669 * libc/include/unistd.h: Ditto.
3670 * libc/include/stat.h: Ditto. Also declare struct stat64.
3672 2003-11-24 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3674 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix check for 'C' format
3675 specifier to use ch instead of *fmt.
3677 2003-11-21 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3679 * libc/stdio/vfprintf.c (_VFPRINTF_R, get_arg): Move mb-specific
3680 code within checks for MB_CAPABLE. For non-mb-capable platforms,
3681 use simple byte logic.
3683 2003-11-21 Jeff Johnston <jjohnstn@redhat.com>
3685 * libc/stdio/vfscanf.c (__svfscanf_r)[!_NO_LONGDBL]: Don't use
3686 _strtold routine for processing floats and doubles since it
3687 is not as fast as _strtod_r.
3689 2003-11-20 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
3691 * libc/machine/h8300/defines.h : Correct pointer register defines
3693 * libc/machine/h8300/memcpy.S : Use add/sub instead of adds/subs
3695 * libc/machine/h8300/reg_memcpy.S : Likewise.
3696 * libc/machine/h8300/reg_memset.S : Likewise.
3697 * libc/machine/h8300/strcmp.S : Likewise.
3699 2003-11-19 Nicholas Wourms <nwourms@netscape.net>
3701 * configure.host: Enable positional arguments for printf
3703 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove extraneous
3704 pointer reference for quad_ptr_t.
3706 2003-11-19 Jeff Johnston <jjohnstn@redhat.com>
3708 * libc/stdio/scanf.c: Don't include local.h more than once.
3710 2003-11-18 Corinna Vinschen <corinna@vinschen.de>
3712 * libc/include/sys/fcntl.h: Declare _open64.
3713 * libc/include/sys/stat.h: Declare _fstat64.
3714 * libc/include/sys/unistd.h: Declare _lseek64.
3716 2003-11-17 Corinna Vinschen <corinna@vinschen.de>
3718 * libc/include/stdlib.h (getprogname): Declare for Cygwin.
3719 (setprogname): Ditto.
3721 2003-11-10 Jeff Johnston <jjohnstn@redhat.com>
3723 * libc/machine/powerpc/ufix64toa.c (_ufix64to_r): Fix shifts
3724 to use (Ebits + 1) which accounts for the sign-bit.
3726 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
3728 * configure.host: Remove -DLOOSE_KERNEL_NAMES flag for linux
3730 * iconvdata/Makefile.am: Make dependent on newlib's configure.host
3731 and set up default flags to pass to aclocal.
3732 * iconvdata/Makefile.in: Regenerated.
3733 * libc/sys/linux/Makefile.am: Add _ELIX_LEVEL_4 getlogin, getpwnam,
3734 and getpwuid routines.
3735 * libc/sys/linux/Makefile.in: Regenerated.
3736 * libc/sys/linux/getlogin.c: New stub file to allow x86-linux
3737 applications to link with newlib's shared libc library.
3738 * libc/sys/linux/getpwnam.c: Ditto.
3739 * libc/sys/linux/getpwuid.c: Ditto.
3740 * libc/sys/linux/sys/types.h: Include <features.h> and supply types
3741 that were formerly supplied by /usr/include/linux/types.h with
3743 * testsuite/newlib.wctype/twctype.c: Fix testcase to properly
3744 test _ELIX_LEVEL macro.
3746 2003-11-07 Jeff Johnston <jjohnstn@redhat.com>
3748 * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix typos that should be
3749 referring to _NO_LONGLONG macro.
3751 2003-11-06 Jeff Johnston <jjohnstn@redhat.com>
3753 * libc/sys/linux/linuxthreads/td_init.c: Replace function name
3754 in LOG() macro so this will compile on gcc 3.4 and up.
3755 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
3756 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
3757 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
3758 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
3759 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
3760 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
3761 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
3762 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
3763 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
3764 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
3765 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
3766 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
3767 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
3768 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
3769 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
3770 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
3771 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
3772 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
3773 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
3774 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
3775 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
3776 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
3777 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
3778 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
3779 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
3780 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
3781 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
3782 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
3783 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
3784 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
3785 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
3786 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
3787 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
3788 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
3789 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
3790 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
3792 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
3793 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3795 * libc/stdio/vfprintf.c (_VFPRINTF_R): Add support for
3796 %ls, %S, %lc, and %C format specifiers.
3798 * libc/stdio/sprintf.c: Add documentation regarding new
3799 format specifiers added in vfprintf.c.
3801 2003-11-05 Jeff Johnston <jjohnstn@redhat.com>
3803 * libc/stdlib/wcsrtombs.c (_wcsrtombs_r): Numerous fixes
3804 to make code work as specified in standard.
3806 2003-10-23 Jeff Johnston <jjohnstn@redhat.com>
3808 * configure.in: Use absolute newlib basedir when forming
3809 CC_FOR_NEWLIB include options.
3810 * configure: Regenerated.
3812 2003-10-23 Artem B. Bityuckiy <abitytsky@softminecorp.com>
3814 * libc/string/wcsnlen.c: New file.
3815 * libc/include/wchar.h: Add wcsnlen prototype.
3816 * libc/string/Makefile.am: Add wcsnlen support.
3817 * libc/string/Makefile.in: Regenerated.
3818 * libc/string/wcstrings.tex: Add wcsnlen documentation.
3820 2003-10-22 Richard Sandiford <rsandifo@redhat.com>
3822 * libc/stdlib/exit.c (exit): Handle null _GLOBAL_REENT->_atexits.
3824 2003-10-20 Bob Wilson <bob.wilson@acm.org>
3826 * libc/locale/locale.c: Use double quotes in code.
3827 * libc/locale/locale.tex: Likewise.
3828 * libc/libc.texinfo: Hyphenate "floating-point".
3829 * libc/machine/necv70/necv70.tex: Likewise.
3830 * libc/stdio/sprintf.c: Likewise.
3831 * libc/stdio/sscanf.c: Likewise.
3832 * libc/stdlib/atof.c: Likewise.
3833 * libc/stdlib/ldtoa.c: Fix comment typo.
3834 * libc/stdlib/div.c: Use @ifnottex instead of @ifinfo.
3835 * libc/stdlib/ldiv.c: Likewise.
3836 * libm/common/s_expm1.c: Likewise.
3837 * libm/common/s_ilogb.c: Hyphenate "floating-point". Use "nonzero".
3838 * libm/common/s_infinity: Hyphenate "double- and single-precision".
3839 * libm/common/s_nan.c: Likewise. Also correct the FUNCTION summary.
3840 * libm/common/s_nextafter.c: Fix typo. Hyphenate "double-precision"
3841 and "floating-point".
3842 * libm/common/s_scalbn.c: Correct the FUNCTION summary.
3843 * libm/math/e_pow.c: Fix comment typo.
3844 * libm/math/math.tex: Hyphenate "single-precision" and "floating-point".
3845 * libm/math/s_asinh.c: Use @ifnottex instead of @ifinfo.
3846 * libm/math/s_atan.c: Likewise.
3847 * libm/math/s_frexp.c: Likewise. Also use "nonzero".
3848 * libm/math/s_isnan.c: Hyphenate "single-precision" and
3849 "floating-point". Use "nonzero".
3850 * libm/math/s_ldexp.c: Use @ifnottex instead of @ifinfo.
3851 * libm/math/w_acos.c: Likewise.
3852 * libm/math/w_acosh.c: Likewise.
3853 * libm/math/w_asin.c: Likewise.
3854 * libm/math/w_atan2.c: Likewise.
3855 * libm/math/w_atanh.c: Likewise.
3856 * libm/math/w_cosh.c: Likewise.
3857 * libm/math/w_exp.c: Likewise.
3858 * libm/math/w_exp2.c: Likewise. Add missing @end and missing @tex
3859 version of 2^x in the description.
3860 * libm/math/w_fmod.c: Use @ifnottex instead of @ifinfo.
3861 * libm/math/w_gamma.c: Likewise.
3862 * libm/math/w_hypot.c: Likewise.
3863 * libm/math/w_j0.c: Likewise.
3864 * libm/math/w_sinh.c: Likewise.
3865 * libm/math/w_pow.c: Replace "exp1.0nt" with "exponent".
3866 * libm/mathfp/mathfp.tex: Hyphenate "single-precision" and
3868 * libm/mathfp/e_acosh.c: Use @ifnottex instead of @ifinfo.
3869 * libm/mathfp/e_atanh.c: Likewise.
3870 * libm/mathfp/e_hypot.c: Likewise.
3871 * libm/mathfp/er_lgamma.c: Likewise.
3872 * libm/mathfp/s_acos.c: Likewise.
3873 * libm/mathfp/s_asine.c: Likewise.
3874 * libm/mathfp/s_asinh.c: Likewise.
3875 * libm/mathfp/s_atan.c: Likewise.
3876 * libm/mathfp/s_atan2.c: Likewise.
3877 * libm/mathfp/s_atangent.c: Likewise.
3878 * libm/mathfp/s_cosh.c: Likewise.
3879 * libm/mathfp/s_exp.c: Likewise.
3880 * libm/mathfp/s_fmod.c: Likewise.
3881 * libm/mathfp/s_frexp.c: Likewise. Also use "nonzero".
3882 * libm/mathfp/s_isnan.c: Hyphenate "single-precision" and
3883 "floating-point". Use "nonzero".
3884 * libm/math/s_pow.c: Replace "exp1.0nt" with "exponent".
3885 * libm/mathfp/s_ldexp.c: Use @ifnottex instead of @ifinfo.
3886 * libm/mathfp/s_sineh.c: Likewise.
3887 * libm/mathfp/w_jn.c: Likewise.
3889 2003-10-15 Alexandre Oliva <aoliva@redhat.com>
3891 * Makefile.am: Add $(MAKE) comments to multido and multiclean
3892 lines, to enable parallel make.
3893 * Makefile.in: Rebuilt.
3895 2003-10-14 Christopher Faylor <cgf@redhat.com>
3897 * libc/time/clock.c: Clarify documentation of return value when no
3898 measurement is available.
3900 2003-09-29 Ian Lance Taylor <ian@wasabisystems.com>
3902 * libm/configure.in: Check libm_machine_dir, not machine_dir.
3903 * libm/configure: Regenerate.
3904 * libm/Makefile.in: Ditto.
3906 2003-09-29 J"orn Rennecke <joern.rennecke@superh.com>
3908 * libc/machine/sh/strncpy.S: New file.
3909 * libc/machine/sh/Makefile.am: Add entry & rule for new file.
3910 * libc/machine/sh/Makefile.in: Regenerate.
3912 2003-09-11 James E Wilson <wilson@specifixinc.com>
3914 * MAINTAINERS: Update my e-mail address.
3916 2003-09-10 Corinna Vinschen <corinna@vinschen.de>
3918 * libc/include/sys/unistd.h: Declare function daemon for Cygwin.
3920 2003-09-09 Jeff Johnston <jjohnstn@redhat.com>
3922 * libc/machine/powerpc/fix64.h: Fix typo for _simdldcheck
3924 * libc/machine/powerpc/simdldtoa.c: Remove prototype for
3925 _simdldcheck(). Also add unsigned cast for index variable in
3926 for loop using sizeof operators.
3927 * libc/machine/powerpc/strtoufix32.c: Remove unused variable.
3928 * libc/machine/powerpc/strtosfix64.c: Fix call to _simdldcheck.
3929 * libc/machine/powerpc/strtoufix64.c (_strtoufix64_r): Ditto
3930 plus fix shift calculation for determining if there is a
3933 2003-09-09 Corinna Vinschen <corinna@vinschen.de>
3935 * libc/include/grp.h: Don't define setgrfile, group_from_gid and
3936 setgroupent for Cygwin.
3938 2003-09-05 Jeff Johnston <jjohnstn@redhat.com>
3940 * libc/stdlib/exit.c (exit): Setting of struct _atexit ptr p
3941 is different for _REENT_SMALL than when using regular reent
3944 2003-09-05 Ben Elliston <bje@wasabisystems.com>
3946 * libc/ctype/wctype.c (_DEFUN): Remove empty default case, as
3947 modern versions of GCC issue a warning.
3949 * libc/machine/xscale/memcmp.c (memcmp): Strip trailing whitespace
3950 after continuation characters that induces a warning from modern
3953 2003-09-04 Ben Elliston <bje@wasabisystems.com>
3955 * libc/stdlib/mstats.c[_ELIX_LEVEL]: Fix guards. #ifndef FOO ||
3956 FOO >= 2 is invalid; use #if !defined (FOO) || FOO >= 2 instead.
3958 2003-09-02 Thomas Pfaff <tpfaff@gmx.net>
3960 * libc/stdlib/atexit.c: Rename _REENT to _GLOBAL_REENT throughout.
3961 * libc/stdlib/exit.c : Ditto.
3962 * libc/stdlib/on_exit.c: Ditto.
3964 2003-08-27 Corinna Vinschen <corinna@vinschen.de>
3966 * libc/include/reent.h: Define stat64 as __stat64 when
3967 compiling newlib for Cygwin.
3969 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3971 * libc/include/sys/stat.h[__CYGWIN__]: Only define stat64 as
3972 __stat64 when compiling newlib.
3974 2003-08-26 Jeff Johnston <jjohnstn@redhat.com>
3976 * libc/include/stdio.h: Allow the io64 function prototypes for
3977 Cygwin when compiling newlib.
3978 * libc/include/sys/stat.h[__CYGWIN__]: Define stat64 as __stat64
3979 to expose the Cygwin struct __stat64 type.
3980 * libc/stdio64/fseeko64.c: Use _fstat64_r and pass a struct stat64
3982 * libc/stdio64/tmpfile64.c(_tmpfile64_r): Call _fopen64_r.
3984 2003-08-23 Christopher Faylor <cgf@redhat.com>
3986 * libc/stdio64/fseeko64.c (fseeko64_r): Rename second fseeko64_r
3987 definition to fseeko64.
3989 2003-08-22 Jeff Johnston <jjohnstn@redhat.com>
3991 * libc/include/sys/reent.h: Add _GLOBAL_REENT macro.
3992 * libc/stdio: Globally remove/replace all references to fp->_data.
3993 Replace with _REENT or _GLOBAL_REENT where appropriate.
3994 * libc/stdio/asprintf.c: Ditto.
3995 * libc/stdio/fclose.c: Ditto.
3996 * libc/stdio/fvwrite.c: Ditto.
3997 * libc/stdio/makebuf.c: Ditto.
3998 * libc/stdio/refill.c: Ditto.
3999 * libc/stdio/local.h: Ditto.
4000 * libc/stdio/setvbuf.c: Ditto.
4001 * libc/stdio/sscanf.c: Ditto.
4002 * libc/stdio/stdio.c: Ditto.
4003 * libc/stdio/ungetc.c: Ditto.
4004 * libc/stdio/vfscanf.c: Ditto.
4005 * libc/stdio/vsscanf.c: Ditto.
4006 * libc/stdio/fopen.c: Ditto. Also use _fseek_r in _fopen_r.
4007 * libc/stdio/vasprintf.c: Ditto. Also call _vfprintf_r directly.
4008 * libc/stdio/vsnprintf.c: Ditto.
4009 * libc/stdio/vsprintf.c: Ditto.
4010 * libc/stdio/fcloseall.c(fcloseall): Use _GLOBAL_REENT macro
4011 instead of _REENT to walk file list.
4012 * libc/stdio/fflush.c: Ditto.
4013 * libc/stdio/fgetpos.c: Add reentrant version and have regular
4014 version call reentrant version with _REENT argument.
4015 * libc/stdio/fsetpos.c: Ditto.
4016 * libc/stdio/fseek.c: Ditto.
4017 * libc/stdio/fseeko.c: Ditto.
4018 * libc/stdio/ftell.c: Ditto.
4019 * libc/stdio/ftello.c: Ditto.
4020 * libc/stdio/freopen.c: Ditto.
4021 * libc/stdio/findfp.c: Use _GLOBAL_REENT pointer when adding
4022 new files to chain. Also use _GLOBAL_REENT pointer for
4024 * libc/stdio/fiprintf.c: Reformatted to minimize duplicate code.
4025 * libc/stdio/siprintf.c: Ditto.
4026 * libc/stdio/iprintf.c: Ditto.
4027 * libc/stdio/fprintf.c: Ditto.
4028 * libc/stdio/printf.c: Ditto.
4029 * libc/stdio/snprintf.c: Call _vfprintf_r directly.
4030 * libc/stdio/sprintf.c: Ditto.
4031 * libc/stdio/vprintf.c: Ditto. Also add _REENT_ONLY check.
4032 * libc/stdio/rewind.c: Call _fseek_r directly.
4033 * libc/stdio/tmpfile.c: Call _fopen_r and _remove_r directly.
4034 * libc/stdio/vfprintf.c (_VFPRINTF_R): Change _r routines to use
4036 (get_arg): Add extra struct _reent pointer argument.
4037 * libc/stdio64/fgetpos64.c: Add _r versions, remove any reference
4039 * libc/stdio64/fopen64.c: Ditto.
4040 * libc/stdio64/freopen64.c: Ditto.
4041 * libc/stdio64/fsetpos64.c: Ditto.
4042 * libc/stdio64/ftello64.c: Ditto.
4043 * libc/stdio64/local64.h: Ditto.
4044 * libc/stdio64/stdio64.c: Ditto.
4045 * libc/stdio64/fseeko64.c: Ditto plus use _fstat_r instead of
4046 _fstat64_r for the meantime.
4048 2003-08-19 Jeff Johnston <jjohnstn@redhat.com>
4050 * libc/stdlib/mallocr.c (mALLOc, rEALLOc, mEMEALIGn): Enhance
4053 2003-08-13 Aldy Hernandez <aldyh@redhat.com>
4055 * libc/machine/powerpc/machine/stdlib.h: Wrap SPE functions in
4058 2003-08-13 Jeff Johnston <jjohnstn@redhat.com>
4060 * libc/include/math.h: Add prototypes for __signbitf and
4063 2003-07-31 Jeff Johnston <jjohnstn@redhat.com>
4065 * libc/ctype/iswalpha.c: Fix calls to __jp2uc to pass the
4066 correct type of conversion when dealing with EUCJP or SJIS.
4067 * libc/ctype/iswblank.c: Ditto.
4068 * libc/ctype/iswcntrl.c: Ditto.
4069 * libc/ctype/iswprint.c: Ditto.
4070 * libc/ctype/iswpunct.c: Ditto.
4071 * libc/ctype/iswspace.c: Ditto.
4072 * libc/ctype/towlower.c: Ditto.
4073 * libc/ctype/towupper.c: Ditto.
4075 2003-07-31 Nick Clifton <nickc@redhat.com>
4077 * libc/sys/sysnecv850/crt0.S (_start): Allocate 4 slots on stack
4078 before calling main, in case it saves its argument registers.
4079 Remove reference to deleted v850ea port.
4080 * configure.host: Remove reference to deleted v850ea port.
4081 Do not use -mv850 when building for v850e target. This
4082 prevents the ctbp system register from being initialised.
4084 2003-07-29 Honda Hiroki <hhonda@ipflex.com>
4086 * libc/stdio/vfprintf.c: Set output size to 1 when
4087 we have %f format with precision 0 and # flag not specified.
4089 2003-07-29 Alexandre Oliva <aoliva@redhat.com>
4091 * libc/machine/mn10300/setjmp.S: Never emit both .am33 and
4094 2003-07-25 Christopher Faylor <cgf@redhat.com>
4096 * libc/stdio64/fdopen64.c: Include sys/lock.h.
4098 2003-07-25 Christopher Faylor <cgf@redhat.com>
4100 * configure.host: Find cygwin include directory, when appropriate.
4102 2003-07-24 Christopher Faylor <cgf@redhat.com>
4104 * libc/stdio64/fdopen64.c: New file.
4105 * libc/stdio64/Makefile.am (LIB_OBJS): Add fdopen64.o
4106 * libc/stdio64/Makefile.in: Regenerate.
4107 * libc/include/stdio.h (fdopen64): Define.
4108 * libc/include/stdio.h (_fdopen64_r): Ditto.
4110 2003-07-10 Alexandre Oliva <aoliva@redhat.com>
4112 2000-04-27 Alexandre Oliva <aoliva@cygnus.com>
4113 * libc/include/machine/setjmp.h (_JBLEN, AM33/2.0): Set to 26.
4114 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Save and
4115 restore callee-saved FP registers.
4117 2003-07-10 J"orn Rennecke <joern.rennecke@superh.com>
4119 * libc/include/sys/unistd.h (ftruncate, truncate): Also declare
4121 * libc/sys/sh/Makefile.am (lib_a_SOURCES): Add ftruncate.c and
4123 * libc/sys/sh/Makefile.in: Regenerate.
4124 * libc/sys/sh/sys/syscall.h: (SYS_truncate, SYS_ftruncate): Define.
4125 * libc/sys/sh/ftruncate.c: New file.
4126 * libc/sys/sh/truncate.c: Likewise.
4128 2003-07-09 Alexandre Oliva <aoliva@redhat.com>
4130 * libc/include/math.h (nan, nanf): Update prototype to C99.
4131 * libm/common/s_nan.c (nan): Likewise.
4132 * libm/common/s_nanf.c (nanf, nan): Likewise.
4133 * libc/sys/linux/cmath/math_private.h (nan, nanf): Likewise.
4135 2003-07-07 Jeff Johnston <jjohnstn@redhat.com>
4137 * libc/include/stdbool.h: Removed as this is defined by gcc.
4139 2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
4141 * libc/include/stdbool.h: New header file defined by C99.
4143 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4145 * libc/include/sys/types.h (int8_t): Make signed.
4147 2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
4149 * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.
4151 2003-06-27 Jose Goncalves <jose.goncalves@inov.pt>
4153 * libc/sys/linux/mq_open.c (mq_open): Only set created flag
4154 on if we actually created the shared memory file exclusively.
4156 2003-06-27 Joe Vornehm <joev@mitre.org>
4158 * libm/common/s_fpclassify.c (__fpclassifyf): Fix
4159 comparisons to account for unsigned internal value w.
4161 2003-06-26 Jeff Johnston <jjohnstn@redhat.com>
4163 * libc/sys/linux/mq_open.c (mq_open): Must allocate rdbuf and
4164 wrbuf for a non-creating open.
4166 2003-06-24 Kazu Hirata <kazu@cs.umass.edu>
4168 * libc/machine/h8300/setarch.h: New.
4169 * libc/machine/h8300/memcpy.S: Use it.
4170 * libc/machine/h8300/memset.S: Likewise.
4171 * libc/machine/h8300/reg_memcpy.S: Likewise.
4172 * libc/machine/h8300/reg_memset.S: Likewise.
4173 * libc/machine/h8300/setjmp.S: Likewise.
4174 * libc/machine/h8300/strcmp.S: Likewise.
4176 2003-06-24 Richard Sandiford <rsandifo@redhat.com>
4178 * libc/sys/h8300hms/crt0.S (_start): Fix register sizes in call
4181 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4183 * configure.host (iq2000): Add tabs.
4185 2003-06-20 Jeff Johnston <jjohnstn@redhat.com>
4187 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix macros
4188 to handle latest on_exit change.
4189 * libc/sys/linux/Makefile.am: Remove special compilation
4190 for malloc.c and mcheck.c.
4191 * libc/sys/linux/Makefile.in: Regenerated.
4192 * libc/sys/linux/mntent.c: Add definition of _LIBC flag
4193 after including <features.h>.
4194 * libc/sys/linux/mcheck.c: Ditto.
4195 * libc/sys/linux/malloc.c: Ditto plus define _GNU_SOURCE
4197 * libc/sys/linux/intl/Makefile.am: Remove -D_LIBC and
4198 add -DNOT_IN_libc to C flags.
4199 * libc/sys/linux/intl/Makefile.in: Regenerated.
4200 * libc/sys/linux/intl/config.h: Add definition of _LIBC.
4201 * libc/sys/linux/linuxthreads/semaphore.h: Include
4202 <bits/pthreadtypes.h>.
4203 * libc/sys/linux/sys/dirent.h: Define _LIBC and NOT_IN_libc after
4204 including <features.h>.
4205 * libc/sys/linux/sys/lock.h: Ditto.
4207 2003-06-11 Nick Clifton <nickc@redhat.com>
4209 * libc/reent/reent.c (reclaim_reent): Fix typo in code to free
4212 2003-06-10 Stan Cox <scox@redhat.com>
4213 Anthony Green <green@redhat.com>
4215 * configure.host: Add iq2000 support.
4216 * newlib/libc/include/machine/ieeefp.h: Ditto.
4217 * newlib/libc/include/machine/setjmp.h: Ditto.
4218 * libc/machine/iq2000, libc/machine/iq2000/setjmp.S,
4219 libc/machine/iq2000/aclocal.m4, libc/machine/iq2000/configure,
4220 libc/machine/iq2000/configure.in, libc/machine/iq2000/Makefile.am,
4221 libc/machine/iq2000/Makefile.in: New files.
4223 2003-06-10 Richard Sandiford <rsandifo@redhat.com>
4225 * libc/sys/h8300hms/setarch.h: New file.
4226 * libc/sys/h8300hms/close.S, libc/sys/h8300hms/fstat.S,
4227 libc/sys/h8300hms/lseek.S, libc/sys/h8300hms/open.S,
4228 libc/sys/h8300hms/read.S, libc/sys/h8300hms/stat.S,
4229 libc/sys/h8300hms/write.S, libc/sys/h8300hms/crt0.S: Use it.
4231 2003-06-06 Jeff Johnston <jjohnstn@redhat.com>
4233 * libc/argz/argz_add.c: Change to use _DEFUN macro for function
4235 * libc/argz/argz_add_sep.c: Ditto.
4236 * libc/argz/argz_append.c libc/argz/argz_count.c: Ditto.
4237 * libc/argz/argz_create.c libc/argz/argz_create_sep.c: Ditto.
4238 * libc/argz/argz_delete.c libc/argz/argz_extract.c: Ditto.
4239 * libc/argz/argz_insert.c libc/argz/argz_next.c: Ditto.
4240 * libc/argz/argz_replace.c libc/argz/argz_stringify.c: Ditto.
4241 * libc/argz/envz_add.c libc/argz/envz_entry.c: Ditto.
4242 * libc/argz/envz_get.c libc/argz/envz_merge.c: Ditto.
4243 * libc/argz/envz_remove.c libc/argz/envz_strip.c: Ditto.
4244 * libc/locale/nl_langinfo.c libc/misc/ffs.c: Ditto.
4245 * libc/posix/closedir.c libc/posix/creat.c: Ditto.
4246 * libc/posix/execl.c libc/posix/execle.c: Ditto.
4247 * libc/posix/execlp.c libc/posix/execve.c: Ditto.
4248 * libc/posix/isatty.c libc/posix/opendir.c: Ditto.
4249 * libc/posix/popen.c libc/posix/readdir.c: Ditto.
4250 * libc/posix/readdir_r.c libc/posix/rewinddir.c: Ditto.
4251 * libc/posix/scandir.c libc/posix/seekdir.c: Ditto.
4252 * libc/posix/telldir.c libc/search/hcreate.c: Ditto.
4253 * libc/search/tdelete.c libc/search/tdestroy.c: Ditto.
4254 * libc/search/tfind.c libc/search/tsearch.c: Ditto.
4255 * libc/search/twalk.c libc/signal/signal.c: Ditto.
4257 2003-06-05 Nick Clifton <nickc@redhat.com>
4259 * libc/include/sys/reent.h (struct _on_exit_args): New
4260 structure containing fields used by the on_exit() function.
4261 (struct _atexit): Include struct _on_exit_args. For
4262 _REENT_SMALL do his via a pointer that is initialised when
4264 * libc/reent/reent.c (_reclaim_reent): Free the _on_exit_args
4265 structure, if one has been allocated.
4266 * libc/stdlib/atexit.c (atexit): Update indirection to
4268 * libc/stdlib/on_exit.c (on_exit): Indirect via the
4269 _on_exit_args structure. For _REENT_SMALL, allocate a
4270 structure if one does not exist.
4271 * libc/stdlib/exit.c (exit): Indirect via the _on_exit_args
4274 2003-06-04 Jeff Johnston <jjohnstn@redhat.com>
4276 * libc/sys/linux/net/Makefile.am: Remove extraneous markers.
4277 * libc/sys/linux/net/Makefile.in: Regenerated.
4279 2003-06-03 Jeff Johnston <jjohnstn@redhat.com>
4281 * libc/reent/execr.c: Use _DEFUN macro for function declaration.
4282 * libc/reent/fcntlr.c: Ditto.
4283 * libc/reent/fstat64r.c: Ditto.
4284 * libc/reent/linkr.c: Ditto.
4285 * libc/reent/lseek64r.c: Ditto.
4286 * libc/reent/lseekr.c: Ditto.
4287 * libc/reent/openr.c: Ditto.
4288 * libc/reent/readr.c: Ditto.
4289 * libc/reent/reent.c: Ditto.
4290 * libc/reent/sbrkr.c: Ditto.
4291 * libc/reent/signalr.c: Ditto.
4292 * libc/reent/signgam.c: Ditto.
4293 * libc/reent/statr.c: Ditto.
4294 * libc/reent/timer.c: Ditto.
4295 * libc/reent/unlinkr.c: Ditto.
4296 * libc/reent/writer.c: Ditto.
4297 * libc/syscalls/sysclose.c: Ditto.
4298 * libc/syscalls/sysexecve.c: Ditto.
4299 * libc/syscalls/sysfcntl.c: Ditto.
4300 * libc/syscalls/sysfork.c: Ditto.
4301 * libc/syscalls/sysfstat.c: Ditto.
4302 * libc/syscalls/sysgetpid.c: Ditto.
4303 * libc/syscalls/sysgettod.c: Ditto.
4304 * libc/syscalls/syskill.c: Ditto.
4305 * libc/syscalls/syslink.c: Ditto.
4306 * libc/syscalls/syslseek.c: Ditto.
4307 * libc/syscalls/sysopen.c: Ditto.
4308 * libc/syscalls/sysread.c: Ditto.
4309 * libc/syscalls/syssbrk.c: Ditto.
4310 * libc/syscalls/sysstat.c: Ditto.
4311 * libc/syscalls/systimes.c: Ditto.
4312 * libc/syscalls/sysunlink.c: Ditto.
4313 * libc/syscalls/syswait.c: Ditto.
4314 * libc/syscalls/syswrite.c: Ditto.
4316 2003-06-03 Till Straumann <strauman@SLAC.Stanford.EDU>
4318 * libc/time/tzset_r.c: Change local variables that are
4319 set via sscanf using the %h format specifier to be unsigned short
4322 2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
4324 * configure.host: Allow i[34567]86 variant.
4325 * configure.in: Likewise.
4326 * README: Likewise to the docs.
4327 * configure: Regenerated.
4328 * Makefile.in: Ditto.
4330 2003-05-28 Jeff Johnston <jjohnstn@redhat.com>
4331 Tom Fitzsimmons <fitzsim@redhat.com>
4333 * configure.in: Add iconvdata support for x86 linux.
4334 * configure: Regenerated.
4335 * libc/sys/linux/Makefile.am: Add EL/IX level 3 network, dynamic
4336 library, iconv, and linuxthreads support.
4337 * libc/sys/linux/configure.in: Ditto.
4338 * libc/sys/linux/Makefile.in: Regenerated.
4339 * libc/sys/linux/configure: Ditto.
4340 * iconvdata/EUC-JP.irreversible: New file.
4341 * iconvdata/Makefile.am: Ditto.
4342 * iconvdata/Makefile.in: Ditto.
4343 * iconvdata/SJIS.irreversible: Ditto.
4344 * iconvdata/aclocal.m4: Ditto.
4345 * iconvdata/configure: Ditto.
4346 * iconvdata/configure.in: Ditto.
4347 * iconvdata/dummy.c: Ditto.
4348 * iconvdata/euc-jp.c: Ditto.
4349 * iconvdata/gconv-modules: Ditto.
4350 * iconvdata/jis0201.c: Ditto.
4351 * iconvdata/jis0201.h: Ditto.
4352 * iconvdata/jis0208.c: Ditto.
4353 * iconvdata/jis0208.h: Ditto.
4354 * iconvdata/jis0212.c: Ditto.
4355 * iconvdata/jis0212.h: Ditto.
4356 * iconvdata/sjis.c: Ditto.
4357 * libc/include/errno.h: Protect definition of error_t.
4358 * libc/sys/linux/gethostid.c: New file.
4359 * libc/sys/linux/sethostid.c: Ditto.
4360 * libc/sys/linux/dl/Makefile.am: Ditto.
4361 * libc/sys/linux/dl/Makefile.in: Ditto.
4362 * libc/sys/linux/dl/abi-tag.h: Ditto.
4363 * libc/sys/linux/dl/atomicity.h: Ditto.
4364 * libc/sys/linux/dl/dl-addr.c: Ditto.
4365 * libc/sys/linux/dl/dl-cache.c: Ditto.
4366 * libc/sys/linux/dl/dl-cache.h: Ditto.
4367 * libc/sys/linux/dl/dl-close.c: Ditto.
4368 * libc/sys/linux/dl/dl-debug.c: Ditto.
4369 * libc/sys/linux/dl/dl-deps.c: Ditto.
4370 * libc/sys/linux/dl/dl-dst.h: Ditto.
4371 * libc/sys/linux/dl/dl-error.c: Ditto.
4372 * libc/sys/linux/dl/dl-fini.c: Ditto.
4373 * libc/sys/linux/dl/dl-init.c: Ditto.
4374 * libc/sys/linux/dl/dl-iteratephdr.c: Ditto.
4375 * libc/sys/linux/dl/dl-libc.c: Ditto.
4376 * libc/sys/linux/dl/dl-librecon.h: Ditto.
4377 * libc/sys/linux/dl/dl-load.c: Ditto.
4378 * libc/sys/linux/dl/dl-lookup.c: Ditto.
4379 * libc/sys/linux/dl/dl-lookupcfg.h: Ditto.
4380 * libc/sys/linux/dl/dl-minimal.c: Ditto.
4381 * libc/sys/linux/dl/dl-misc.c: Ditto.
4382 * libc/sys/linux/dl/dl-object.c: Ditto.
4383 * libc/sys/linux/dl/dl-open.c: Ditto.
4384 * libc/sys/linux/dl/dl-osinfo.h: Ditto.
4385 * libc/sys/linux/dl/dl-profile.c: Ditto.
4386 * libc/sys/linux/dl/dl-profstub.c: Ditto.
4387 * libc/sys/linux/dl/dl-reloc.c: Ditto.
4388 * libc/sys/linux/dl/dl-runtime.c: Ditto.
4389 * libc/sys/linux/dl/dl-support.c: Ditto.
4390 * libc/sys/linux/dl/dl-sym.c: Ditto.
4391 * libc/sys/linux/dl/dl-version.c: Ditto.
4392 * libc/sys/linux/dl/dlfcn.h: Ditto.
4393 * libc/sys/linux/dl/do-lookup.h: Ditto.
4394 * libc/sys/linux/dl/do-rel.h: Ditto.
4395 * libc/sys/linux/dl/dynamic-link.h: Ditto.
4396 * libc/sys/linux/dl/kernel-features.h: Ditto.
4397 * libc/sys/linux/dl/ldsodefs.h: Ditto.
4398 * libc/sys/linux/dl/libintl.h: Ditto.
4399 * libc/sys/linux/dl/trusted-dirs.h: Ditto.
4400 * libc/sys/linux/dl/unsecvars.h: Ditto.
4401 * libc/sys/linux/iconv/Makefile.am: Ditto.
4402 * libc/sys/linux/iconv/Makefile.in: Ditto.
4403 * libc/sys/linux/iconv/categories.def: Ditto.
4404 * libc/sys/linux/iconv/dummy-repertoire.c: Ditto.
4405 * libc/sys/linux/iconv/gconv.c: Ditto.
4406 * libc/sys/linux/iconv/gconv_builtin.c: Ditto.
4407 * libc/sys/linux/iconv/gconv_builtin.h: Ditto.
4408 * libc/sys/linux/iconv/gconv_cache.c: Ditto.
4409 * libc/sys/linux/iconv/gconv_charset.h: Ditto.
4410 * libc/sys/linux/iconv/gconv_close.c: Ditto.
4411 * libc/sys/linux/iconv/gconv_conf.c: Ditto.
4412 * libc/sys/linux/iconv/gconv_db.c: Ditto.
4413 * libc/sys/linux/iconv/gconv_dl.c: Ditto.
4414 * libc/sys/linux/iconv/gconv_int.h: Ditto.
4415 * libc/sys/linux/iconv/gconv_open.c: Ditto.
4416 * libc/sys/linux/iconv/gconv_simple.c: Ditto.
4417 * libc/sys/linux/iconv/gconv_trans.c: Ditto.
4418 * libc/sys/linux/iconv/hash-string.h: Ditto.
4419 * libc/sys/linux/iconv/iconv.c: Ditto.
4420 * libc/sys/linux/iconv/iconv.h: Ditto.
4421 * libc/sys/linux/iconv/iconv_charmap.c: Ditto.
4422 * libc/sys/linux/iconv/iconv_close.c: Ditto.
4423 * libc/sys/linux/iconv/iconv_open.c: Ditto.
4424 * libc/sys/linux/iconv/iconvconfig.c: Ditto.
4425 * libc/sys/linux/iconv/iconvconfig.h: Ditto.
4426 * libc/sys/linux/iconv/loadinfo.h: Ditto.
4427 * libc/sys/linux/iconv/localeinfo.h: Ditto.
4428 * libc/sys/linux/iconv/loop.c: Ditto.
4429 * libc/sys/linux/iconv/skeleton.c: Ditto.
4430 * libc/sys/linux/iconv/strtab.c: Ditto.
4431 * libc/sys/linux/include/dl-hash.h: Ditto.
4432 * libc/sys/linux/include/dlfcn.h: Ditto.
4433 * libc/sys/linux/include/fnmatch.h: Ditto.
4434 * libc/sys/linux/include/gconv.h: Ditto.
4435 * libc/sys/linux/include/glob.h: Ditto.
4436 * libc/sys/linux/include/hesiod.h: Ditto.
4437 * libc/sys/linux/include/ifaddrs.h: Ditto.
4438 * libc/sys/linux/include/libc_private.h: Ditto.
4439 * libc/sys/linux/include/link.h: Ditto.
4440 * libc/sys/linux/include/namespace.h: Ditto.
4441 * libc/sys/linux/include/netconfig.h: Ditto.
4442 * libc/sys/linux/include/netdb.h: Ditto.
4443 * libc/sys/linux/include/nsswitch.h: Ditto.
4444 * libc/sys/linux/include/regex.h: Ditto.
4445 * libc/sys/linux/include/resolv.h: Ditto.
4446 * libc/sys/linux/include/rune.h: Ditto.
4447 * libc/sys/linux/include/runetype.h: Ditto.
4448 * libc/sys/linux/include/semaphore.h: Ditto.
4449 * libc/sys/linux/include/setlocale.h: Ditto.
4450 * libc/sys/linux/include/un-namespace.h: Ditto.
4451 * libc/sys/linux/include/wordexp.h: Ditto.
4452 * libc/sys/linux/include/arpa/ftp.h: Ditto.
4453 * libc/sys/linux/include/arpa/inet.h: Ditto.
4454 * libc/sys/linux/include/arpa/nameser.h: Ditto.
4455 * libc/sys/linux/include/arpa/nameser_compat.h: Ditto.
4456 * libc/sys/linux/include/arpa/telnet.h: Ditto.
4457 * libc/sys/linux/include/arpa/tftp.h: Ditto.
4458 * libc/sys/linux/include/net/bpf.h: Ditto.
4459 * libc/sys/linux/include/net/bpf_compat.h: Ditto.
4460 * libc/sys/linux/include/net/bpfdesc.h: Ditto.
4461 * libc/sys/linux/include/net/bridge.h: Ditto.
4462 * libc/sys/linux/include/net/ethernet.h: Ditto.
4463 * libc/sys/linux/include/net/fddi.h: Ditto.
4464 * libc/sys/linux/include/net/if.h: Ditto.
4465 * libc/sys/linux/include/net/if_arc.h: Ditto.
4466 * libc/sys/linux/include/net/if_arp.h: Ditto.
4467 * libc/sys/linux/include/net/if_atm.h: Ditto.
4468 * libc/sys/linux/include/net/if_dl.h: Ditto.
4469 * libc/sys/linux/include/net/if_gif.h: Ditto.
4470 * libc/sys/linux/include/net/if_ieee80211.h: Ditto.
4471 * libc/sys/linux/include/net/if_llc.h: Ditto.
4472 * libc/sys/linux/include/net/if_media.h: Ditto.
4473 * libc/sys/linux/include/net/if_mib.h: Ditto.
4474 * libc/sys/linux/include/net/if_ppp.h: Ditto.
4475 * libc/sys/linux/include/net/if_pppvar.h: Ditto.
4476 * libc/sys/linux/include/net/if_slvar.h: Ditto.
4477 * libc/sys/linux/include/net/if_sppp.h: Ditto.
4478 * libc/sys/linux/include/net/if_stf.h: Ditto.
4479 * libc/sys/linux/include/net/if_tap.h: Ditto.
4480 * libc/sys/linux/include/net/if_tapvar.h: Ditto.
4481 * libc/sys/linux/include/net/if_tun.h: Ditto.
4482 * libc/sys/linux/include/net/if_tunvar.h: Ditto.
4483 * libc/sys/linux/include/net/if_types.h: Ditto.
4484 * libc/sys/linux/include/net/if_var.h: Ditto.
4485 * libc/sys/linux/include/net/if_vlan_var.h: Ditto.
4486 * libc/sys/linux/include/net/intrq.h: Ditto.
4487 * libc/sys/linux/include/net/iso88025.h: Ditto.
4488 * libc/sys/linux/include/net/net_osdep.h: Ditto.
4489 * libc/sys/linux/include/net/netisr.h: Ditto.
4490 * libc/sys/linux/include/net/pfil.h: Ditto.
4491 * libc/sys/linux/include/net/pfkeyv2.h: Ditto.
4492 * libc/sys/linux/include/net/ppp_comp.h: Ditto.
4493 * libc/sys/linux/include/net/ppp_defs.h: Ditto.
4494 * libc/sys/linux/include/net/radix.h: Ditto.
4495 * libc/sys/linux/include/net/raw_cb.h: Ditto.
4496 * libc/sys/linux/include/net/route.h: Ditto.
4497 * libc/sys/linux/include/net/slcompress.h: Ditto.
4498 * libc/sys/linux/include/net/slip.h: Ditto.
4499 * libc/sys/linux/include/net/zlib.h: Ditto.
4500 * libc/sys/linux/include/netinet/icmp6.h: Ditto.
4501 * libc/sys/linux/include/netinet/icmp_var.h: Ditto.
4502 * libc/sys/linux/include/netinet/if_atm.h: Ditto.
4503 * libc/sys/linux/include/netinet/if_ether.h: Ditto.
4504 * libc/sys/linux/include/netinet/igmp.h: Ditto.
4505 * libc/sys/linux/include/netinet/igmp_var.h: Ditto.
4506 * libc/sys/linux/include/netinet/in.h: Ditto.
4507 * libc/sys/linux/include/netinet/in_gif.h: Ditto.
4508 * libc/sys/linux/include/netinet/in_pcb.h: Ditto.
4509 * libc/sys/linux/include/netinet/in_systm.h: Ditto.
4510 * libc/sys/linux/include/netinet/in_var.h: Ditto.
4511 * libc/sys/linux/include/netinet/ip.h: Ditto.
4512 * libc/sys/linux/include/netinet/ip6.h: Ditto.
4513 * libc/sys/linux/include/netinet/ip_dummynet.h: Ditto.
4514 * libc/sys/linux/include/netinet/ip_ecn.h: Ditto.
4515 * libc/sys/linux/include/netinet/ip_encap.h: Ditto.
4516 * libc/sys/linux/include/netinet/ip_flow.h: Ditto.
4517 * libc/sys/linux/include/netinet/ip_fw.h: Ditto.
4518 * libc/sys/linux/include/netinet/ip_icmp.h: Ditto.
4519 * libc/sys/linux/include/netinet/ip_mroute.h: Ditto.
4520 * libc/sys/linux/include/netinet/ip_var.h: Ditto.
4521 * libc/sys/linux/include/netinet/ipprotosw.h: Ditto.
4522 * libc/sys/linux/include/netinet/tcp.h: Ditto.
4523 * libc/sys/linux/include/netinet/tcp_debug.h: Ditto.
4524 * libc/sys/linux/include/netinet/tcp_fsm.h: Ditto.
4525 * libc/sys/linux/include/netinet/tcp_seq.h: Ditto.
4526 * libc/sys/linux/include/netinet/tcp_timer.h: Ditto.
4527 * libc/sys/linux/include/netinet/tcp_var.h: Ditto.
4528 * libc/sys/linux/include/netinet/tcpip.h: Ditto.
4529 * libc/sys/linux/include/netinet/udp.h: Ditto.
4530 * libc/sys/linux/include/netinet/udp_var.h: Ditto.
4531 * libc/sys/linux/include/netinet6/ah.h: Ditto.
4532 * libc/sys/linux/include/netinet6/ah6.h: Ditto.
4533 * libc/sys/linux/include/netinet6/esp.h: Ditto.
4534 * libc/sys/linux/include/netinet6/esp6.h: Ditto.
4535 * libc/sys/linux/include/netinet6/esp_rijndael.h: Ditto.
4536 * libc/sys/linux/include/netinet6/icmp6.h: Ditto.
4537 * libc/sys/linux/include/netinet6/in6.h: Ditto.
4538 * libc/sys/linux/include/netinet6/in6_gif.h: Ditto.
4539 * libc/sys/linux/include/netinet6/in6_ifattach.h: Ditto.
4540 * libc/sys/linux/include/netinet6/in6_pcb.h: Ditto.
4541 * libc/sys/linux/include/netinet6/in6_prefix.h: Ditto.
4542 * libc/sys/linux/include/netinet6/in6_var.h: Ditto.
4543 * libc/sys/linux/include/netinet6/ip6.h: Ditto.
4544 * libc/sys/linux/include/netinet6/ip6_ecn.h: Ditto.
4545 * libc/sys/linux/include/netinet6/ip6_fw.h: Ditto.
4546 * libc/sys/linux/include/netinet6/ip6_mroute.h: Ditto.
4547 * libc/sys/linux/include/netinet6/ip6_var.h: Ditto.
4548 * libc/sys/linux/include/netinet6/ip6protosw.h: Ditto.
4549 * libc/sys/linux/include/netinet6/ipcomp.h: Ditto.
4550 * libc/sys/linux/include/netinet6/ipcomp6.h: Ditto.
4551 * libc/sys/linux/include/netinet6/ipsec.h: Ditto.
4552 * libc/sys/linux/include/netinet6/ipsec6.h: Ditto.
4553 * libc/sys/linux/include/netinet6/mld6_var.h: Ditto.
4554 * libc/sys/linux/include/netinet6/nd6.h: Ditto.
4555 * libc/sys/linux/include/netinet6/pim6.h: Ditto.
4556 * libc/sys/linux/include/netinet6/pim6_var.h: Ditto.
4557 * libc/sys/linux/include/netinet6/raw_ip6.h: Ditto.
4558 * libc/sys/linux/include/netinet6/scope6_var.h: Ditto.
4559 * libc/sys/linux/include/netinet6/tcp6_var.h: Ditto.
4560 * libc/sys/linux/include/netinet6/udp6_var.h: Ditto.
4561 * libc/sys/linux/include/netns/idp.h: Ditto.
4562 * libc/sys/linux/include/netns/idp_var.h: Ditto.
4563 * libc/sys/linux/include/netns/ns.h: Ditto.
4564 * libc/sys/linux/include/netns/ns_error.h: Ditto.
4565 * libc/sys/linux/include/netns/ns_if.h: Ditto.
4566 * libc/sys/linux/include/netns/ns_pcb.h: Ditto.
4567 * libc/sys/linux/include/netns/sp.h: Ditto.
4568 * libc/sys/linux/include/netns/spidp.h: Ditto.
4569 * libc/sys/linux/include/netns/spp_debug.h: Ditto.
4570 * libc/sys/linux/include/netns/spp_timer.h: Ditto.
4571 * libc/sys/linux/include/netns/spp_var.h: Ditto.
4572 * libc/sys/linux/include/rpc/Makefile: Ditto.
4573 * libc/sys/linux/include/rpc/auth.h: Ditto.
4574 * libc/sys/linux/include/rpc/auth_des.h: Ditto.
4575 * libc/sys/linux/include/rpc/auth_kerb.h: Ditto.
4576 * libc/sys/linux/include/rpc/auth_unix.h: Ditto.
4577 * libc/sys/linux/include/rpc/clnt.h: Ditto.
4578 * libc/sys/linux/include/rpc/clnt_soc.h: Ditto.
4579 * libc/sys/linux/include/rpc/clnt_stat.h: Ditto.
4580 * libc/sys/linux/include/rpc/des.h: Ditto.
4581 * libc/sys/linux/include/rpc/des_crypt.h: Ditto.
4582 * libc/sys/linux/include/rpc/nettype.h: Ditto.
4583 * libc/sys/linux/include/rpc/pmap_clnt.h: Ditto.
4584 * libc/sys/linux/include/rpc/pmap_prot.h: Ditto.
4585 * libc/sys/linux/include/rpc/pmap_rmt.h: Ditto.
4586 * libc/sys/linux/include/rpc/raw.h: Ditto.
4587 * libc/sys/linux/include/rpc/rpc.h: Ditto.
4588 * libc/sys/linux/include/rpc/rpc_com.h: Ditto.
4589 * libc/sys/linux/include/rpc/rpc_msg.h: Ditto.
4590 * libc/sys/linux/include/rpc/rpcb_clnt.h: Ditto.
4591 * libc/sys/linux/include/rpc/rpcb_prot.h: Ditto.
4592 * libc/sys/linux/include/rpc/rpcb_prot.x: Ditto.
4593 * libc/sys/linux/include/rpc/rpcent.h: Ditto.
4594 * libc/sys/linux/include/rpc/svc.h: Ditto.
4595 * libc/sys/linux/include/rpc/svc_auth.h: Ditto.
4596 * libc/sys/linux/include/rpc/svc_dg.h: Ditto.
4597 * libc/sys/linux/include/rpc/svc_soc.h: Ditto.
4598 * libc/sys/linux/include/rpc/types.h: Ditto.
4599 * libc/sys/linux/include/rpc/xdr.h: Ditto.
4600 * libc/sys/linux/intl/Makefile.am: Ditto.
4601 * libc/sys/linux/intl/Makefile.in: Ditto.
4602 * libc/sys/linux/intl/bindtextdom.c: Ditto.
4603 * libc/sys/linux/intl/catgets.c: Ditto.
4604 * libc/sys/linux/intl/catgetsinfo.h: Ditto.
4605 * libc/sys/linux/intl/config.h: Ditto.
4606 * libc/sys/linux/intl/dcgettext.c: Ditto.
4607 * libc/sys/linux/intl/dcigettext.c: Ditto.
4608 * libc/sys/linux/intl/dcngettext.c: Ditto.
4609 * libc/sys/linux/intl/dgettext.c: Ditto.
4610 * libc/sys/linux/intl/dngettext.c: Ditto.
4611 * libc/sys/linux/intl/explodename.c: Ditto.
4612 * libc/sys/linux/intl/finddomain.c: Ditto.
4613 * libc/sys/linux/intl/gettext.c: Ditto.
4614 * libc/sys/linux/intl/gettext.h: Ditto.
4615 * libc/sys/linux/intl/gettextP.h: Ditto.
4616 * libc/sys/linux/intl/hash-string.h: Ditto.
4617 * libc/sys/linux/intl/l10nflist.c: Ditto.
4618 * libc/sys/linux/intl/loadinfo.h: Ditto.
4619 * libc/sys/linux/intl/loadmsgcat.c: Ditto.
4620 * libc/sys/linux/intl/locale.alias: Ditto.
4621 * libc/sys/linux/intl/localealias.c: Ditto.
4622 * libc/sys/linux/intl/ngettext.c: Ditto.
4623 * libc/sys/linux/intl/open_catalog.c: Ditto.
4624 * libc/sys/linux/intl/plural.c: Ditto.
4625 * libc/sys/linux/intl/plural.y: Ditto.
4626 * libc/sys/linux/intl/stpcpy.c: Ditto.
4627 * libc/sys/linux/intl/textdomain.c: Ditto.
4628 * libc/sys/linux/linuxthreads/LICENSE: Ditto.
4629 * libc/sys/linux/linuxthreads/Makefile.am: Ditto.
4630 * libc/sys/linux/linuxthreads/Makefile.in: Ditto.
4631 * libc/sys/linux/linuxthreads/aclocal.m4: Ditto.
4632 * libc/sys/linux/linuxthreads/attr.c: Ditto.
4633 * libc/sys/linux/linuxthreads/barrier.c: Ditto.
4634 * libc/sys/linux/linuxthreads/bp-sym.h: Ditto.
4635 * libc/sys/linux/linuxthreads/cancel.c: Ditto.
4636 * libc/sys/linux/linuxthreads/condvar.c: Ditto.
4637 * libc/sys/linux/linuxthreads/config.h: Ditto.
4638 * libc/sys/linux/linuxthreads/configure: Ditto.
4639 * libc/sys/linux/linuxthreads/configure.in: Ditto.
4640 * libc/sys/linux/linuxthreads/defs.awk: Ditto.
4641 * libc/sys/linux/linuxthreads/ecmutex.c: Ditto.
4642 * libc/sys/linux/linuxthreads/events.c: Ditto.
4643 * libc/sys/linux/linuxthreads/getcpuclockid.c: Ditto.
4644 * libc/sys/linux/linuxthreads/getreent.c: Ditto.
4645 * libc/sys/linux/linuxthreads/internals.h: Ditto.
4646 * libc/sys/linux/linuxthreads/join.c: Ditto.
4647 * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
4648 * libc/sys/linux/linuxthreads/kernel-features.h: Ditto.
4649 * libc/sys/linux/linuxthreads/libc-internal.h: Ditto.
4650 * libc/sys/linux/linuxthreads/libc-symbols.h: Ditto.
4651 * libc/sys/linux/linuxthreads/linuxthreads.texi: Ditto.
4652 * libc/sys/linux/linuxthreads/lockfile.c: Ditto.
4653 * libc/sys/linux/linuxthreads/manager.c: Ditto.
4654 * libc/sys/linux/linuxthreads/mq_notify.c: Ditto.
4655 * libc/sys/linux/linuxthreads/mutex.c: Ditto.
4656 * libc/sys/linux/linuxthreads/no-tsd.c: Ditto.
4657 * libc/sys/linux/linuxthreads/oldsemaphore.c: Ditto.
4658 * libc/sys/linux/linuxthreads/posix-timer.h: Ditto.
4659 * libc/sys/linux/linuxthreads/prio.c: Ditto.
4660 * libc/sys/linux/linuxthreads/proc_service.h: Ditto.
4661 * libc/sys/linux/linuxthreads/pt-machine.c: Ditto.
4662 * libc/sys/linux/linuxthreads/ptclock_gettime.c: Ditto.
4663 * libc/sys/linux/linuxthreads/ptclock_settime.c: Ditto.
4664 * libc/sys/linux/linuxthreads/ptfork.c: Ditto.
4665 * libc/sys/linux/linuxthreads/pthread.c: Ditto.
4666 * libc/sys/linux/linuxthreads/ptlongjmp.c: Ditto.
4667 * libc/sys/linux/linuxthreads/queue.h: Ditto.
4668 * libc/sys/linux/linuxthreads/reent.c: Ditto.
4669 * libc/sys/linux/linuxthreads/reqsyscalls.c: Ditto.
4670 * libc/sys/linux/linuxthreads/restart.h: Ditto.
4671 * libc/sys/linux/linuxthreads/rwlock.c: Ditto.
4672 * libc/sys/linux/linuxthreads/semaphore.c: Ditto.
4673 * libc/sys/linux/linuxthreads/semaphore.h: Ditto.
4674 * libc/sys/linux/linuxthreads/shlib-compat.h: Ditto.
4675 * libc/sys/linux/linuxthreads/signals.c: Ditto.
4676 * libc/sys/linux/linuxthreads/specific.c: Ditto.
4677 * libc/sys/linux/linuxthreads/spinlock.c: Ditto.
4678 * libc/sys/linux/linuxthreads/spinlock.h: Ditto.
4679 * libc/sys/linux/linuxthreads/sysctl.c: Ditto.
4680 * libc/sys/linux/linuxthreads/td_init.c: Ditto.
4681 * libc/sys/linux/linuxthreads/td_log.c: Ditto.
4682 * libc/sys/linux/linuxthreads/td_symbol_list.c: Ditto.
4683 * libc/sys/linux/linuxthreads/td_ta_clear_event.c: Ditto.
4684 * libc/sys/linux/linuxthreads/td_ta_delete.c: Ditto.
4685 * libc/sys/linux/linuxthreads/td_ta_enable_stats.c: Ditto.
4686 * libc/sys/linux/linuxthreads/td_ta_event_addr.c: Ditto.
4687 * libc/sys/linux/linuxthreads/td_ta_event_getmsg.c: Ditto.
4688 * libc/sys/linux/linuxthreads/td_ta_get_nthreads.c: Ditto.
4689 * libc/sys/linux/linuxthreads/td_ta_get_ph.c: Ditto.
4690 * libc/sys/linux/linuxthreads/td_ta_get_stats.c: Ditto.
4691 * libc/sys/linux/linuxthreads/td_ta_map_id2thr.c: Ditto.
4692 * libc/sys/linux/linuxthreads/td_ta_map_lwp2thr.c: Ditto.
4693 * libc/sys/linux/linuxthreads/td_ta_new.c: Ditto.
4694 * libc/sys/linux/linuxthreads/td_ta_reset_stats.c: Ditto.
4695 * libc/sys/linux/linuxthreads/td_ta_set_event.c: Ditto.
4696 * libc/sys/linux/linuxthreads/td_ta_setconcurrency.c: Ditto.
4697 * libc/sys/linux/linuxthreads/td_ta_thr_iter.c: Ditto.
4698 * libc/sys/linux/linuxthreads/td_ta_tsd_iter.c: Ditto.
4699 * libc/sys/linux/linuxthreads/td_thr_clear_event.c: Ditto.
4700 * libc/sys/linux/linuxthreads/td_thr_dbresume.c: Ditto.
4701 * libc/sys/linux/linuxthreads/td_thr_dbsuspend.c: Ditto.
4702 * libc/sys/linux/linuxthreads/td_thr_event_enable.c: Ditto.
4703 * libc/sys/linux/linuxthreads/td_thr_event_getmsg.c: Ditto.
4704 * libc/sys/linux/linuxthreads/td_thr_get_info.c: Ditto.
4705 * libc/sys/linux/linuxthreads/td_thr_getfpregs.c: Ditto.
4706 * libc/sys/linux/linuxthreads/td_thr_getgregs.c: Ditto.
4707 * libc/sys/linux/linuxthreads/td_thr_getxregs.c: Ditto.
4708 * libc/sys/linux/linuxthreads/td_thr_getxregsize.c: Ditto.
4709 * libc/sys/linux/linuxthreads/td_thr_set_event.c: Ditto.
4710 * libc/sys/linux/linuxthreads/td_thr_setfpregs.c: Ditto.
4711 * libc/sys/linux/linuxthreads/td_thr_setgregs.c: Ditto.
4712 * libc/sys/linux/linuxthreads/td_thr_setprio.c: Ditto.
4713 * libc/sys/linux/linuxthreads/td_thr_setsigpending.c: Ditto.
4714 * libc/sys/linux/linuxthreads/td_thr_setxregs.c: Ditto.
4715 * libc/sys/linux/linuxthreads/td_thr_sigsetmask.c: Ditto.
4716 * libc/sys/linux/linuxthreads/td_thr_tsd.c: Ditto.
4717 * libc/sys/linux/linuxthreads/td_thr_validate.c: Ditto.
4718 * libc/sys/linux/linuxthreads/testrtsig.h: Ditto.
4719 * libc/sys/linux/linuxthreads/thread_db.h: Ditto.
4720 * libc/sys/linux/linuxthreads/thread_dbP.h: Ditto.
4721 * libc/sys/linux/linuxthreads/timer_create.c: Ditto.
4722 * libc/sys/linux/linuxthreads/timer_delete.c: Ditto.
4723 * libc/sys/linux/linuxthreads/timer_getoverr.c: Ditto.
4724 * libc/sys/linux/linuxthreads/timer_gettime.c: Ditto.
4725 * libc/sys/linux/linuxthreads/timer_routines.c: Ditto.
4726 * libc/sys/linux/linuxthreads/timer_settime.c: Ditto.
4727 * libc/sys/linux/linuxthreads/tst-cancel.c: Ditto.
4728 * libc/sys/linux/linuxthreads/tst-context.c: Ditto.
4729 * libc/sys/linux/linuxthreads/tststack.c: Ditto.
4730 * libc/sys/linux/linuxthreads/unload.c: Ditto.
4731 * libc/sys/linux/linuxthreads/weaks.c: Ditto.
4732 * libc/sys/linux/linuxthreads/wrapsyscall.c: Ditto.
4733 * libc/sys/linux/linuxthreads/bits/initspin.h: Ditto.
4734 * libc/sys/linux/linuxthreads/bits/libc-lock.h: Ditto.
4735 * libc/sys/linux/linuxthreads/bits/libc-tsd.h: Ditto.
4736 * libc/sys/linux/linuxthreads/bits/local_lim.h: Ditto.
4737 * libc/sys/linux/linuxthreads/bits/posix_opt.h: Ditto.
4738 * libc/sys/linux/linuxthreads/bits/pthreadtypes.h: Ditto.
4739 * libc/sys/linux/linuxthreads/bits/sigthread.h: Ditto.
4740 * libc/sys/linux/linuxthreads/machine/Makefile.am: Ditto.
4741 * libc/sys/linux/linuxthreads/machine/Makefile.in: Ditto.
4742 * libc/sys/linux/linuxthreads/machine/aclocal.m4: Ditto.
4743 * libc/sys/linux/linuxthreads/machine/configure: Ditto.
4744 * libc/sys/linux/linuxthreads/machine/configure.in: Ditto.
4745 * libc/sys/linux/linuxthreads/machine/generic/generic-sysd: Ditto.ep.h
4746 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Ditto.
4747 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Ditto.
4748 * libc/sys/linux/linuxthreads/machine/i386/aclocal.m4: Ditto.
4749 * libc/sys/linux/linuxthreads/machine/i386/bp-asm.h: Ditto.
4750 * libc/sys/linux/linuxthreads/machine/i386/clone.S: Ditto.
4751 * libc/sys/linux/linuxthreads/machine/i386/configure: Ditto.
4752 * libc/sys/linux/linuxthreads/machine/i386/configure.in: Ditto.
4753 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.S: Ditto.
4754 * libc/sys/linux/linuxthreads/machine/i386/i386-sysdep.h: Ditto.
4755 * libc/sys/linux/linuxthreads/machine/i386/pspinlock.c: Ditto.
4756 * libc/sys/linux/linuxthreads/machine/i386/pt-machine.h: Ditto.
4757 * libc/sys/linux/linuxthreads/machine/i386/sigcontextinfo.h: Ditto.
4758 * libc/sys/linux/linuxthreads/machine/i386/stackinfo.h: Ditto.
4759 * libc/sys/linux/linuxthreads/machine/i386/sysdep.S: Ditto.
4760 * libc/sys/linux/linuxthreads/machine/i386/sysdep.h: Ditto.
4761 * libc/sys/linux/linuxthreads/machine/i386/useldt.h: Ditto.
4762 * libc/sys/linux/machine/i386/dl-machine.h: Ditto.
4763 * libc/sys/linux/net/Makefile.am: Ditto.
4764 * libc/sys/linux/net/Makefile.in: Ditto.
4765 * libc/sys/linux/net/addr2ascii.3: Ditto.
4766 * libc/sys/linux/net/addr2ascii.c: Ditto.
4767 * libc/sys/linux/net/ascii2addr.c: Ditto.
4768 * libc/sys/linux/net/base64.c: Ditto.
4769 * libc/sys/linux/net/bindresvport.c: Ditto.
4770 * libc/sys/linux/net/byteorder.3: Ditto.
4771 * libc/sys/linux/net/ether_addr.c: Ditto.
4772 * libc/sys/linux/net/ethers.3: Ditto.
4773 * libc/sys/linux/net/getaddrinfo.3: Ditto.
4774 * libc/sys/linux/net/getaddrinfo.c: Ditto.
4775 * libc/sys/linux/net/gethostbydns.c: Ditto.
4776 * libc/sys/linux/net/gethostbyht.c: Ditto.
4777 * libc/sys/linux/net/gethostbyname.3: Ditto.
4778 * libc/sys/linux/net/gethostbynis.c: Ditto.
4779 * libc/sys/linux/net/gethostnamadr.c: Ditto.
4780 * libc/sys/linux/net/getifaddrs.3: Ditto.
4781 * libc/sys/linux/net/getifaddrs.c: Ditto.
4782 * libc/sys/linux/net/getipnodebyname.3: Ditto.
4783 * libc/sys/linux/net/getnameinfo.3: Ditto.
4784 * libc/sys/linux/net/getnameinfo.c: Ditto.
4785 * libc/sys/linux/net/getnetbydns.c: Ditto.
4786 * libc/sys/linux/net/getnetbyht.c: Ditto.
4787 * libc/sys/linux/net/getnetbynis.c: Ditto.
4788 * libc/sys/linux/net/getnetent.3: Ditto.
4789 * libc/sys/linux/net/getnetnamadr.c: Ditto.
4790 * libc/sys/linux/net/getproto.c: Ditto.
4791 * libc/sys/linux/net/getprotoent.3: Ditto.
4792 * libc/sys/linux/net/getprotoent.c: Ditto.
4793 * libc/sys/linux/net/getprotoname.c: Ditto.
4794 * libc/sys/linux/net/getservbyname.c: Ditto.
4795 * libc/sys/linux/net/getservbyport.c: Ditto.
4796 * libc/sys/linux/net/getservent.3: Ditto.
4797 * libc/sys/linux/net/getservent.c: Ditto.
4798 * libc/sys/linux/net/herror.c: Ditto.
4799 * libc/sys/linux/net/hesiod.3: Ditto.
4800 * libc/sys/linux/net/hesiod.c: Ditto.
4801 * libc/sys/linux/net/if_indextoname.3: Ditto.
4802 * libc/sys/linux/net/ifname.c: Ditto.
4803 * libc/sys/linux/net/inet.3: Ditto.
4804 * libc/sys/linux/net/inet6_option_s: Ditto.pace.3
4805 * libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
4806 * libc/sys/linux/net/inet_addr.c: Ditto.
4807 * libc/sys/linux/net/inet_lnaof.c: Ditto.
4808 * libc/sys/linux/net/inet_makeaddr.c: Ditto.
4809 * libc/sys/linux/net/inet_net.3: Ditto.
4810 * libc/sys/linux/net/inet_net_ntop.c: Ditto.
4811 * libc/sys/linux/net/inet_net_pton.c: Ditto.
4812 * libc/sys/linux/net/inet_neta.c: Ditto.
4813 * libc/sys/linux/net/inet_netof.c: Ditto.
4814 * libc/sys/linux/net/inet_network.c: Ditto.
4815 * libc/sys/linux/net/inet_ntoa.c: Ditto.
4816 * libc/sys/linux/net/inet_ntop.c: Ditto.
4817 * libc/sys/linux/net/inet_pton.c: Ditto.
4818 * libc/sys/linux/net/innetgr-stub.c: Ditto.
4819 * libc/sys/linux/net/ip6opt.c: Ditto.
4820 * libc/sys/linux/net/iso_addr.3: Ditto.
4821 * libc/sys/linux/net/iso_addr.c: Ditto.
4822 * libc/sys/linux/net/issetugid-stub.c: Ditto.
4823 * libc/sys/linux/net/linkaddr.3: Ditto.
4824 * libc/sys/linux/net/linkaddr.c: Ditto.
4825 * libc/sys/linux/net/map_v4v6.c: Ditto.
4826 * libc/sys/linux/net/name6.c: Ditto.
4827 * libc/sys/linux/net/namespace.h: Ditto.
4828 * libc/sys/linux/net/ns.3: Ditto.
4829 * libc/sys/linux/net/ns_addr.c: Ditto.
4830 * libc/sys/linux/net/ns_name.c: Ditto.
4831 * libc/sys/linux/net/ns_netint.c: Ditto.
4832 * libc/sys/linux/net/ns_ntoa.c: Ditto.
4833 * libc/sys/linux/net/ns_parse.c: Ditto.
4834 * libc/sys/linux/net/ns_print.c: Ditto.
4835 * libc/sys/linux/net/ns_ttl.c: Ditto.
4836 * libc/sys/linux/net/nsap_addr.c: Ditto.
4837 * libc/sys/linux/net/nsdispatch.3: Ditto.
4838 * libc/sys/linux/net/nsdispatch.c: Ditto.
4839 * libc/sys/linux/net/nslexer.c: Ditto.
4840 * libc/sys/linux/net/nslexer.l: Ditto.
4841 * libc/sys/linux/net/nsparser.c: Ditto.
4842 * libc/sys/linux/net/nsparser.h: Ditto.
4843 * libc/sys/linux/net/nsparser.y: Ditto.
4844 * libc/sys/linux/net/rcmd.3: Ditto.
4845 * libc/sys/linux/net/rcmd.c: Ditto.
4846 * libc/sys/linux/net/rcmdsh.3: Ditto.
4847 * libc/sys/linux/net/rcmdsh.c: Ditto.
4848 * libc/sys/linux/net/recv.c: Ditto.
4849 * libc/sys/linux/net/res_comp.c: Ditto.
4850 * libc/sys/linux/net/res_config.h: Ditto.
4851 * libc/sys/linux/net/res_data.c: Ditto.
4852 * libc/sys/linux/net/res_debug.c: Ditto.
4853 * libc/sys/linux/net/res_init.c: Ditto.
4854 * libc/sys/linux/net/res_mkquery.c: Ditto.
4855 * libc/sys/linux/net/res_mkupdate.c: Ditto.
4856 * libc/sys/linux/net/res_query.c: Ditto.
4857 * libc/sys/linux/net/res_send.c: Ditto.
4858 * libc/sys/linux/net/res_update.c: Ditto.
4859 * libc/sys/linux/net/resolver.3: Ditto.
4860 * libc/sys/linux/net/rthdr.c: Ditto.
4861 * libc/sys/linux/net/send.c: Ditto.
4862 * libc/sys/linux/net/un-namespace.h: Ditto.
4863 * libc/sys/linux/net/vars.c: Ditto.
4864 * libc/sys/linux/stdlib/COPYRIGHT: Ditto.
4865 * libc/sys/linux/stdlib/Makefile.am: Ditto.
4866 * libc/sys/linux/stdlib/Makefile.in: Ditto.
4867 * libc/sys/linux/stdlib/cclass.h: Ditto.
4868 * libc/sys/linux/stdlib/cname.h: Ditto.
4869 * libc/sys/linux/stdlib/collate.c: Ditto.
4870 * libc/sys/linux/stdlib/collate.h: Ditto.
4871 * libc/sys/linux/stdlib/collcmp.c: Ditto.
4872 * libc/sys/linux/stdlib/engine.c: Ditto.
4873 * libc/sys/linux/stdlib/fnmatch.3: Ditto.
4874 * libc/sys/linux/stdlib/fnmatch.c: Ditto.
4875 * libc/sys/linux/stdlib/glob.3: Ditto.
4876 * libc/sys/linux/stdlib/glob.c: Ditto.
4877 * libc/sys/linux/stdlib/reallocf.c: Ditto.
4878 * libc/sys/linux/stdlib/regcomp.c: Ditto.
4879 * libc/sys/linux/stdlib/regerror.c: Ditto.
4880 * libc/sys/linux/stdlib/regex.3: Ditto.
4881 * libc/sys/linux/stdlib/regex2.h: Ditto.
4882 * libc/sys/linux/stdlib/regexec.c: Ditto.
4883 * libc/sys/linux/stdlib/regfree.c: Ditto.
4884 * libc/sys/linux/stdlib/utils.h: Ditto.
4885 * libc/sys/linux/stdlib/wordexp.c: Ditto.
4886 * libc/sys/linux/stdlib/wordfree.c: Ditto.
4887 * libc/sys/linux/sys/dlfcn.h: Ditto.
4888 * libc/sys/linux/sys/elfclass.h: Ditto.
4889 * libc/sys/linux/sys/event.h: Ditto.
4890 * libc/sys/linux/sys/ioccom.h: Ditto.
4891 * libc/sys/linux/sys/libc-tsd.h: Ditto.
4892 * libc/sys/linux/sys/link.h: Ditto.
4893 * libc/sys/linux/sys/lock.h: Ditto.
4894 * libc/sys/linux/sys/param.h: Ditto.
4895 * libc/sys/linux/sys/socket.h: Ditto.
4896 * libc/sys/linux/sys/sockio.h: Ditto.
4898 2003-05-28 Dhananjay Deshpande <dhananjayd@kpitcummins.com>
4900 * newlib/libc/machine/h8300/memcpy.S: Use .h8300hn and .h8300sn for
4902 * newlib/libc/machine/h8300/memset.S: Likewise
4903 * newlib/lib/machine/h8300/reg_memcpy.S: Likewise
4904 * newlib/lib/machine/h8300/reg_memset.S: Likewise
4905 * newlib/lib/machine/h8300/setjmp.S: Likewise
4906 * newlib/lib/machine/h8300/strcmp.S: Likewise
4907 * newlib/lib/sys/h8300hms/crt0.S: Likewise
4909 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
4911 * libc/ctype/ctype_.c: Remove checks for deprecated __CYGWIN32__.
4912 * libc/include/stdio.h: Ditto.
4913 * libc/include/sys/config.h: Ditto.
4914 * libc/stdio/mktemp.c: Ditto.
4916 2003-05-13 Corinna Vinschen <corinna@vinschen.de>
4918 * libc/locale/ldpart.c (__part_load_locale): Substitute
4919 __CYGWIN_USE_BIG_TYPES__ by __USE_INTERNAL_STAT64.
4920 * libc/search/hash.c (__hash_open): Ditto.
4922 * libc/stdio/fseek.c (fseek): Ditto.
4923 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4924 * libc/stdio/mktemp.c (_gettemp): Ditto.
4926 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
4928 * libc/include/stdio.h: Change one __CYGWIN__ to __CYGWIN32__.
4930 2003-05-12 Corinna Vinschen <corinna@vinschen.de>
4932 * configure.host: Accomodate removing the libc/sys/cygwin dir.
4933 * libc/locale/ldpart.c (__part_load_locale): Use 64 bit stat call
4934 if __CYGWIN_USE_BIG_TYPES__ is set.
4935 * libc/search/hash.c (__hash_open): Ditto.
4937 * libc/stdio/fseek.c (fseek): Ditto.
4938 * libc/stdio/makebuf.c (__smakebuf): Ditto.
4939 * libc/stdio/mktemp.c (_gettemp): Ditto.
4940 * libc/sys/cygwin/Makefile.am: Remove.
4941 * libc/sys/cygwin/Makefile.in: Remove.
4942 * libc/sys/cygwin/aclocal.m4: Remove.
4943 * libc/sys/cygwin/configure: Remove.
4944 * libc/sys/cygwin/configure.in: Remove.
4945 * libc/sys/cygwin/crt0.c: Move to winsup/cygwin directory.
4946 * libc/sys/cygwin/sys/dirent.h: Move to winsup/cygwin/include/sys
4948 * libc/sys/cygwin/sys/param.h: Ditto.
4949 * libc/sys/cygwin/sys/utime.h: Ditto.
4950 * libc/sys/cygwin/sys/utmp.h: Ditto.
4952 2003-05-11 Corinna Vinschen <corinna@vinschen.de>
4954 * libc/include/sys/types.h: Don't define key_t for Cygwin.
4956 2003-05-10 Christopher Faylor <cgf@redhat.com>
4958 * libc/sys/cygwin/sys/dirent.h (struct dirent): Accommodate (slightly)
4961 2003-05-09 Corinna Vinschen <corinna@vinschen.de>
4963 * libc/include/sys/config.h: Remove all Cygwin specific configuration.
4964 Include cygwin/config.h instead.
4966 2003-04-16 Jeff Johnston <jjohnstn@redhat.com>
4968 * newlib/libc/machine/powerpc (ato*fix*.c,strto*fix*.c): Shield
4969 all code with #ifdef __SPE__ test.
4970 * newlib/libc/machine/powerpc (simdldtoa.c, ufix64toa.c): Ditto.
4972 2003-04-15 Chris January <chris@atomice.net>
4974 * newlib/libc/include/sys/unistd.h: add declaration for gethostid on
4977 2003-04-09 J"orn Rennecke <joern.rennecke@superh.com>
4979 * libc/machine/sh/memset.S: Avoid clobbering volatile
4980 objects following a tiny to-be-set array in the same quadword.
4982 2001-04-09 Corinna Vinschen <corinna@vinschen.de>
4984 * libc/include/wchar.h: Add definitions for wcswidth and wcwidth.
4985 * libc/string/Makefile.am: Add wcswidth.c and wcwidth.c
4986 * libc/string/Makefile.in: Regenerated.
4987 * libc/string/wcswidth.c: New file.
4988 * libc/string/wcwidth.c: New file.
4989 * libc/string/wcstrings.tex: Add wcswidth and wcwidth.
4991 Thu Apr 3 14:01:16 2003 J"orn Rennecke <joern.rennecke@superh.com>
4993 * libc/machine/sh/memset.S: Fix problem with alloco region
4994 exceeding destination region for length >= 88 bytes, start
4995 & 0x16 == 0, end & 0x1f == 18.
4997 2001-04-03 Corinna Vinschen <corinna@vinschen.de>
4999 * libc/string/wcscoll.c: Fix comment.
5001 2001-04-02 Corinna Vinschen <corinna@vinschen.de>
5003 * libc/include/wchar.h: Add definition for wcscoll.
5004 * libc/string/Makefile.am: Add wcscoll.c.
5005 * libc/string/Makefile.in: Regenerated.
5006 * libc/string/wcscoll.c: New file.
5007 * libc/string/wcstrings.tex: Add wcscoll.
5009 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5011 * libc/stdio/sscanf.c: Update flags description.
5012 * libc/stdio/vfscanf.c: Add CHAR flag value to denote 8 bit target
5014 (__svfscanf_r): Add 'hh' and 'll' handling.
5016 2003-04-01 Corinna Vinschen <corinna@vinschen.de>
5018 * libc/sys/cygwin/sys/dirent.h (struct DIR): Change type of
5019 __d_position member to _off_t.
5021 2003-03-20 Jeff Johnston <jjohnstn@redhat.com>
5023 * libc/stdio/vfscanf.c (__svfscanf_r): For floating point conversion,
5024 count all characters used to create number against maximum width.
5025 * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
5027 2003-03-18 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5029 * libc/include/sys/h8300hms/crt0.S[__SIMULATOR__]: Add commandline
5031 * configure.host (h8300*-*-*): Added comment regarding -D__SIMULATOR__
5032 flag to support simulator only extensions.
5034 2003-03-17 Bob Cassels <bcassels@abinitio.com>
5036 * libc/string/wcschr.c: (wcschr): Look for character first,
5037 then for end of string, so you can do wcschr(x, '\0').
5039 2003-03-10 Corinna Vinschen <corinna@vinschen.de>
5041 * libc/include/stdio.h: Declare fgetpos, fsetpos, fseeko and ftello
5042 with internal (_fpos_t and _off_t) datatypes when compiling newlib.
5043 * libc/include/sys/unistd.h: Declare _lseek using _off_t.
5044 * libc/reent/lseekr.c (_lseek_r): Use _off_t instead of off_t.
5045 * libc/stdio/fseeko.c (fseeko): Ditto.
5046 * libc/stdio/ftello.c (ftello): Ditto.
5047 * libc/stdio/stdio.c (__swrite): Ditto.
5049 * libc/stdio/fgetpos.c (fgetpos): Use _fpos_t instead of fpos_t.
5050 * libc/stdio/fseek.c (fseek): Ditto.
5051 * libc/stdio/fsetpos.c (fsetpos): Ditto.
5052 * libc/stdio/ftell.c (ftell): Ditto.
5053 * libc/stdio/local.h: Declare __sseek using _off_t.
5055 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5057 * libc/reent/lseekr.c (lseek_r): Use _off_t instead of off_t.
5059 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5061 * libc/include/sys/config.h: Define __CYGWIN_USE_BIG_TYPES__ for
5064 2003-03-09 Corinna Vinschen <corinna@vinschen.de>
5066 * libc/include/pwd.h: Add guards to avoid type clashes when compiling
5068 * libc/include/sys/stat.h: Ditto.
5069 * libc/include/sys/unistd.h: Ditto.
5070 * libc/sys/cygwin/sys/dirent.h: Ditto.
5072 2003-03-07 Christopher Faylor <cgf@redhat.com>
5074 * libc/include/sys/unistd.h: Guard getopt.h call to force only
5075 declaration of getopt and avoid getopt_long declaration.
5076 * libc/sys/cygwin/include/unistd.h: Remove.
5078 2003-03-07 Corinna Vinschen <corinna@vinschen.de>
5080 * configure.host: Define stdio64_dir for Cygwin.
5081 * libc/include/stdio.h: Change definition of fpos_t to fulfill
5082 Cygwin 64bit file access requirements.
5083 Drop definition of f*64() functions when compiled for Cygwin.
5084 * libc/include/sys/config.h: Define __LARGE64_FILES for Cygwin.
5085 * libc/reent/lseek64r.c: Use _off64_t instead of off64_t.
5086 * libc/stdio64/local64.h: Use _fpos64_t instead of fpos64_t.
5088 2003-03-07 Jeff Johnston <jjohnstn@redhat.com>
5090 * libc/include/sys/reent.h: Remove extraneous _sig_func
5093 2003-02-25 D.Venkatasubramanian <dvenkat@noida.hcltech.com>
5095 * libc/sys/h8300hms/Makefile.am: Add support for new files.
5096 * libc/sys/h8300hms/Makefile.in: Regenerated.
5097 * libc/sys/h8300hms/close.S: New file.
5098 * libc/sys/h8300hms/fstat.S: Ditto.
5099 * libc/sys/h8300hms/lseek.S: Ditto.
5100 * libc/sys/h8300hms/open.S: Ditto.
5101 * libc/sys/h8300hms/stat.S: Ditto.
5102 * libc/sys/h8300hms/read.S: New file to replace read.c.
5103 * libc/sys/h8300hms/read.c: Removed.
5104 * libc/sys/h8300hms/syscalls.c: Removed functions _open,
5105 _lseek, _close, _stat, _fstat.
5106 * libc/sys/h8300hms/write.S: New file to replace write.c.
5107 * libc/sys/h8300hms/write.c: Removed.
5109 2003-02-20 Nick Clifton <nickc@redhat.com>
5111 * Add support for Cirrus Maverick ARM co-processor:
5113 2000-09-13 Aldy Hernandez <aldyh@redhat.com>
5115 * libc/include/machine/ieeefp.h: Set IEEE_BIG_ENDIAN or
5116 IEEE_LITTLE_ENDIAN depending on endian mode (cirrus).
5118 2000-08-11 Aldy Hernandez <aldyh@redhat.com>
5120 * configure.host: set sys_dir, syscall_dir, and
5121 newlib_cflags for ep9312 host.
5123 * configure.host: Restore alpha sorting of entries in case
5126 2003-02-19 Jeff Johnston <jjohnstn@redhat.com>
5128 * libc/stdlib/mallocr.c (unlink): Revert 02/18 fix.
5130 2003-02-18 Christian Groessler <chris@groessler.org>
5132 * libc/machine/z8k/setjmp.S (_setjmp / _longjmp): Fix to
5133 support z8001 segmented mode.
5135 2003-02-18 Earnie Boyd <earnie@users.sf.net>
5137 * libc/stdlib/mallocr.c (unlink): Don't assign a value to a pointer
5140 2003-02-10 Christopher Faylor <cgf@redhat.com>
5142 * libc/include/sys/types.h: Don't define __MS_types__ for Cygwin.
5143 Don't define some types under cygwin.
5145 2003-02-07 Jeff Johnston <jjohnstn@redhat.com>
5147 * acinclude.m4 (--disable-newlib-supplied-syscalls): New configuration
5148 option to allow disabling of syscalls being supplied in newlib.
5149 * aclocal.m4: Regenerated.
5151 * configure.host: Add support of new configuration option and add
5152 -D__NO_SYSCALLS__ if newlib supplied syscalls are disabled.
5153 * doc/aclocal.m4: Regenerated.
5154 * doc/configure: Ditto.
5155 * libc/*aclocal.m4: Ditto.
5156 * libc/*configure: Ditto.
5157 * libm/*aclocal.m4: Ditto.
5158 * libm/*configure: Ditto.
5159 * libc/sys/arm/Makefile.am: Don't build syscalls.o if new option
5161 * libc/sys/arm/Makefile.in: Regenerated.
5163 2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
5165 * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
5166 -1 to be sure it cannot later match a valid file fd causing
5167 isatty() to return 1.
5168 * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
5169 * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
5170 * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.
5172 2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
5174 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
5175 buffer based on the precision, after we have processed the input value
5176 in a local buffer and know its relative magnitude.
5178 2003-01-31 Michael Snyder <msnyder@redhat.com>
5180 * libc/sys/h8300hms/_exit.c (_exit, __exit): Slip a magic cookie
5181 into registers r1 and r2, so that the simulator can distinguish
5182 this trap from a breakpoint trap. Copied from libgloss.
5184 2003-01-31 Michael Snyder <msnyder@redhat.com>
5186 * libc/sys/h8300hms/crt0.S (_start): Change local label
5187 from .loop to .Loop, so that ld and gdb will ignore it.
5189 2003-01-29 Jason Tishler <jason@tishler.net>
5191 * libc/include/time.h: Declare nanosleep() under Cygwin.
5193 2003-01-24 Nick Clifton <nickc@redhat.com>
5197 2002-04-02 Alexandre Oliva <aoliva@redhat.com>
5199 * libc/machine/sh/asm.h: Added __SH2E__ next to __SH3E__.
5200 * libc/machine/sh/setjmp.S: Likewise.
5201 * libc/include/machine/ieeefp.h: Likewise.
5203 2003-01-24 Corinna Vinschen <corinna@vinschen.de>
5205 * libc/include/sys/unistd.h: Add setregid and setreuid declarations
5208 2003-01-21 Anita Kulkarni <anitak@kpit.com>
5210 * libc/time/difftime.c : Typecast the result to double.
5212 2003-01-20 Christopher Faylor <cgf@redhat.com>
5214 * libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
5216 2003-01-18 Nick Clifton <nickc@redhat.com>
5218 * libc/include/machine/ieeefp.h : Define __IEEE_BIG_ENDIAN,
5219 __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
5221 2003-01-16 Joel Sherrill <joel@OARcorp.com>
5223 * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
5224 libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
5225 constants are defined in each file in the shared versions in
5227 * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
5228 autoconf can link programs.
5229 * libc/include/machine/types.h: Explicitly specify signed on
5230 intXX_t types to ensure they are signed.
5232 2003-01-14 Christopher Faylor <cgf@redhat.com>
5234 * libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU
5237 2003-01-08 Richard Sandiford <rsandifo@redhat.com>
5239 * configure.host (mips64vr-elf, mips64vrel-elf): New config.
5241 2003-01-07 Charles Wilson <cwilson@ece.gatech.edu>
5243 * libc/stdio/sprintf.c: fix typo
5244 * libc/stdio/vfprintf.c: fix typo
5246 2003-01-07 Jeff Johnston <jjohnstn@redhat.com>
5248 * configure.host: Support long double I/O for x86-linux.
5249 * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate a buffer
5250 large enough to hold formatted result.
5251 * libc/machine/powerpc/simdldtoa.c (_simdldtoa_r): Ditto.
5253 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5255 * Makefile.am: Add vasprintf.
5256 * Makefile.in: Regenerated.
5258 2003-01-06 Charles Wilson <cwilson@ece.gatech.edu>
5260 * asprintf.c (_asprintf_r): insure both declarations
5263 2002-12-28 Christopher Faylor <cgf@redhat.com>
5265 * libc/include/sys/unistd.h: Under cygwin, just include getopt.h rather
5266 than defining getopt directly.
5268 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5270 * NEWS: Update with 1.11.0 info.
5272 * acinclude.m4: Change version number to 1.11.0.
5273 * aclocal.m4: Regenerated.
5275 * doc/aclocal.m4: Ditto.
5276 * doc/configure: Ditto.
5277 * libc/*/aclocal.m4: Ditto.
5278 * libc/*/configure: Ditto.
5279 * libc/libc.texinfo: Ditto.
5280 * libm/*/aclocal.m4: Ditto.
5281 * libm/*/configure: Ditto.
5282 * libm/libm.texinfo: Ditto.
5283 * libc/sys/linux/shared.ld: Add VERS_1.11.
5285 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5287 * libc/machine/i386/f_atan2.S: Change copyright from Cygnus
5288 Solutions to Red Hat Inc.
5289 * libc/machine/i386/f_atan2f.S: Ditto.
5290 * libc/machine/i386/f_exp.c: Ditto.
5291 * libc/machine/i386/f_expf.c: Ditto.
5292 * libc/machine/i386/f_frexp.S: Ditto.
5293 * libc/machine/i386/f_frexpf.S: Ditto.
5294 * libc/machine/i386/f_ldexp.S: Ditto.
5295 * libc/machine/i386/f_ldexpf.S: Ditto.
5296 * libc/machine/i386/f_log.S: Ditto.
5297 * libc/machine/i386/f_log10.S: Ditto.
5298 * libc/machine/i386/f_log10f.S: Ditto.
5299 * libc/machine/i386/f_logf.S: Ditto.
5300 * libc/machine/i386/f_pow.c: Ditto.
5301 * libc/machine/i386/f_powf.c: Ditto.
5302 * libc/machine/i386/f_tan.S: Ditto.
5303 * libc/machine/i386/f_tanf.S: Ditto.
5304 * libc/machine/i386/memchr.S: Ditto.
5305 * libc/machine/i386/memcmp.S: Ditto.
5306 * libc/machine/i386/memcpy.S: Ditto.
5307 * libc/machine/i386/memmove.S: Ditto.
5308 * libc/machine/i386/memset.S: Ditto.
5309 * libc/machine/i386/strchr.S: Ditto.
5310 * libc/machine/i386/strlen.S: Ditto.
5311 * libm/machine/i386/f_atan2.S: Ditto.
5312 * libm/machine/i386/f_atan2f.S: Ditto.
5313 * libm/machine/i386/f_exp.c: Ditto.
5314 * libm/machine/i386/f_expf.c: Ditto.
5315 * libm/machine/i386/f_frexp.S: Ditto.
5316 * libm/machine/i386/f_frexpf.S: Ditto.
5317 * libm/machine/i386/f_ldexp.S: Ditto.
5318 * libm/machine/i386/f_ldexpf.S: Ditto.
5319 * libm/machine/i386/f_log.S: Ditto.
5320 * libm/machine/i386/f_log10.S: Ditto.
5321 * libm/machine/i386/f_log10f.S: Ditto.
5322 * libm/machine/i386/f_logf.S: Ditto.
5323 * libm/machine/i386/f_pow.c: Ditto.
5324 * libm/machine/i386/f_powf.c: Ditto.
5325 * libm/machine/i386/f_tan.S: Ditto.
5326 * libm/machine/i386/f_tanf.S: Ditto.
5328 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>
5330 * libc/stdlib/environ.c: Update license to Red Hat.
5331 * libc/machine/hppa/setjmp.S: Ditto.
5332 * libm/test/Makefile.in: Ditto.
5334 2002-12-19 Jeff Johnston <jjohnstn@redhat.com>
5336 * configure.host: Remove references to go32.
5337 * libc/sys/go32/*: Removed.
5339 2002-12-16 Kazu Hirata <kazu@cs.umass.edu>
5341 * libc/include/sys/config.h: Change setting of INT_MAX
5342 and UINT_MAX, to use __INT_MAX__ for __H8300__, __H8300H__,
5343 __H8300S__. Also consolidate flag settings for these
5346 2002-12-10 Joel Sherrill <joel@OARcorp.com>
5348 * libc/include/machine/setjmp.h: Make sure _JBLEN is defined
5349 for i386-rtems targets.
5351 2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
5353 * libc/include/stdlib.h (strtof): New prototype (from C99).
5354 (strtodf): Changed from prototype to macro which redefines
5356 * libc/stdlib/atof.c: Change documentation to refer to strtof
5358 * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
5360 * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
5361 (strtof): New function.
5362 * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
5365 2002-11-27 Christopher Faylor <cgf@redhat.com>
5367 * libc/string/memset.c (memset): Fix comment.
5369 2002-11-26 Christopher Faylor <cgf@redhat.com>
5371 * libc/string/memset.c (memset): Move initialization of 'd' earlier in
5374 2002-11-25 Christopher Faylor <cgf@redhat.com>
5376 * libc/string/memset.c (memset): Minor optimization: Use new 'd'
5377 variable, introduced below, everywhere.
5379 2002-11-25 Kazu Hirata <kazu@cs.umass.edu>
5381 * libc/string/memset.c (memset): Make it safe even if
5384 2002-11-22 Joe Buehler <jbuehler@hekimian.com>
5386 * configure.in: Change check for libc/include in ${CC} to
5387 use an intermediate value so as to work with different shells.
5388 * configure: Regenerated.
5389 * Makefile.in: Ditto.
5391 2002-11-22 Vijay L. Khuspe <vijayk1@kpit.com>
5393 * libc/sys/h8300hms/read.c: Add support for normal mode
5396 2002-11-20 Ryo Tsuruta <ryo@kitanet.ne.jp>
5398 * libc/machine/h8300/setjmp.S (setjmp, longjmp): Combine common
5399 code for __H8300H__ and __H8300S__. Also return 32-bit return code
5400 when -mint32 is used.
5402 2002-11-18 Nick Clifton <nickc@redhat.com>
5404 * libc/sys/arm/crt0.S: Add NULL to end of argv array.
5406 2002-11-14 Jeff Johnston <jjohnstn@redhat.com>
5408 * testsuite/lib/passfail.exp (newlib_pass_fail): Changed to
5409 only issue one pass/fail message for a compile/link/execute.
5410 * testsuite/newlib.elix/elix.exp: New file.
5411 * testsuite/newlib.elix/tmmap.c: Ditto.
5413 2002-11-06 Christopher Faylor <cgf@redhat.com>
5415 * libc/stdlib/malign.c: Don't compile if MALLOC_PROVIDED.
5416 * libc/stdlib/mlock.c: Ditto.
5417 * libc/stdlib/msize.c: Ditto.
5418 * libc/stdlib/msize.c: Ditto.
5419 * libc/stdlib/mtrim.c: Ditto.
5420 * libc/stdlib/valloc.c: Ditto.
5422 2002-11-12 Jeff Johnston <jjohnstn@redhat.com>
5424 * libc/stdlib/ldtoa.c (e64toe): When checking the exponent
5425 for inf/nan, make sure that the check ignores the sign bit.
5427 2002-11-07 Joel Sherrill <joel@OARcorp.com>
5429 * libc/sys/rtems/machine: New directory.
5430 * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
5431 libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
5432 libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
5433 targets more BSD like when installed without requiring files to
5434 be overwritten at install point when RTEMS itself is installed.
5435 * Makefile.am: Pick up system dependent machine .h files such as
5436 might be found on a BSD-ish system.
5437 * Makefile.in: Regenerate.
5438 * libc/include/machine/types.h: When on an RTEMS target, define a
5439 few BSD flavor types.
5441 2002-11-06 Sergey Okhapkin <sos@prospect.com.ru>
5443 * include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
5445 2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5447 * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
5448 * libc/include/wctype.h: Ditto.
5450 2002-11-04 Jeff Johnston <jjohnstn@redhat.com>
5452 * libc/include/wchar.h: Add extern "C" specifier if C++.
5453 * libc/include/wctype.h: Ditto.
5455 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5457 * testsuite/newlib.wctype/tiswctype.c: New test case.
5458 * testsuite/newlib.wctype/twctrans.c: Ditto.
5460 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5462 * libc/sys/linux/machine/i386/include/endian.h: New file.
5463 * libc/sys/linux/machine/i386/include/param.h: Ditto.
5465 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5467 * libm/machine/i386/aclocal.m4: Regenerated.
5468 * libm/machine/i386/configure: Ditto.
5470 2002-10-18 Jeff Johnston <jjohnstn@redhat.com>
5472 * testsuite/include/check.h: New header file to use with
5474 * testsuite/lib/newlib.exp: Add testsuite/include directory
5475 to list of header files to use.
5476 * testsuite/newlib.wctype/twctype.c: New test case for iswctype fns.
5477 * testsuite/newlib.wctype/wctype.exp: New file.
5479 2002-10-11 Graham Stott <graham.stott@btinternet.com>
5480 Richard Sandiford <rsandifo@redhat.com>
5482 * libc/include/sys/config.h (SIZE_T_SMALLER_THAN_LONG): Undefine.
5483 * libc/stdlib/mallocr.c (long_sub_size_t): Define in a way that
5484 doesn't require the SIZE_T_SMALLER_THAN_LONG macro.
5486 2002-10-07 Joel Sherrill <joel@OARcorp.com>
5488 * libc/sys/rtems/crt0.c: Add even more symbols so gcc() can link
5491 2002-10-07 Joel Sherrill <joel@OARcorp.com>
5493 * libc/include/pthread.h: Define PTHREAD_CANCELED.
5495 2002-10-07 Joel Sherrill <joel@OARcorp.com>
5497 * libc/machine/hppa/DEFS.h, libc/machine/hppa/pcc_prefix.s,
5498 libc/machine/hppa/setjmp.S, libc/machine/hppa/DEFS.h: Make this
5499 compile with current GNU tools.
5501 2002-10-07 Jeff Johnston <jjohnstn@redhat.com>
5503 * Makefile.am: Add EXTRA_DIRS to allow future dependencies on
5505 * configure.in: Ditto.
5506 * Makefile.in: Regenerated.
5508 * libc/sys/linux/Makefile.am: Add EXTRA_SUBDIRS and EXTRA_SUBLIBS
5509 for specifying configured libraries/directories.
5510 * libc/sys/linux/configure.in: Ditto.
5511 * libc/sys/linux/Makefile.in: Regenerated.
5512 * libc/sys/linux/configure: Ditto.
5514 2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
5516 * libc/include/reent.h: Update documentation at start of file.
5518 2002-09-27 Jim Wilson <wilson@redhat.com>
5520 * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing
5523 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>
5525 * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h.
5526 Also convert to EUCJP before using arrays. For values not in
5527 the conversion arrays, return WEOF.
5528 * libc/ctype/jp2uc.h: Change from one array to a number of
5529 arrays to account for the fact that the originating table
5530 is not contiguous for the input values since some are invalid.
5532 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>
5534 * libc/time/ctime.c: Fix prototype documentation.
5536 2002-09-24 Corinna Vinschen <corinna@vinschen.de>
5538 * libc/include/sys/errno.h: Add EOVERFLOW.
5540 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5542 * libc/include/wctype.h: New file.
5544 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5546 * libc/ctype/Makefile.am: Add new files.
5547 * libc/ctype/Makefile.in: Regenerated.
5548 * libc/ctype/ctype.tex: Add new iswxxxx, towxxxx, wctype,
5549 and wctrans functions to documentation index.
5550 * libc/ctype/iswalnum.c: New file.
5551 * libc/ctype/iswalpha.c: Ditto.
5552 * libc/ctype/iswblank.c: Ditto.
5553 * libc/ctype/iswcntrl.c: Ditto.
5554 * libc/ctype/iswctype.c: Ditto.
5555 * libc/ctype/iswdigit.c: Ditto.
5556 * libc/ctype/iswgraph.c: Ditto.
5557 * libc/ctype/iswlower.c: Ditto.
5558 * libc/ctype/iswprint.c: Ditto.
5559 * libc/ctype/iswpunct.c: Ditto.
5560 * libc/ctype/iswspace.c: Ditto.
5561 * libc/ctype/iswupper.c: Ditto.
5562 * libc/ctype/iswxdigit.c: Ditto.
5563 * libc/ctype/jp2uc.c: Ditto.
5564 * libc/ctype/jp2uc.h: Ditto.
5565 * libc/ctype/local.h: Ditto.
5566 * libc/ctype/towctrans.c: Ditto.
5567 * libc/ctype/towlower.c: Ditto.
5568 * libc/ctype/towupper.c: Ditto.
5569 * libc/ctype/utf8alpha.h: Ditto.
5570 * libc/ctype/utf8print.h: Ditto.
5571 * libc/ctype/utf8punct.h: Ditto.
5572 * libc/ctype/wctrans.c: Ditto.
5573 * libc/ctype/wctype.c: Ditto.
5574 * libc/locale/locale.c (__lc_ctype): New external array to
5575 replace static lc_ctype array.
5576 * libc/stdlib/mbtowc_r.c: Use __lc_ctype to check current lc_ctype
5577 rather than reentrancy structure's _current_locale field.
5578 * libc/stdlib/wctomb_r.c: Ditto.
5580 2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
5582 * configure.host: Minor comment and formatting changes.
5583 * libc/Makefile.am: Add libc_la_DEPENDENCIES.
5584 * libc/Makefile.in: Regenerated.
5585 * libc/include/sys/config.h: Minor format change.
5587 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5589 * libc/syscalls/sysfcntl.c (fcntl): Fix typo in preprocessor
5592 2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
5594 * libc/posix/opendir.c (opendir): Change code to check
5595 for HAVE_FCNTL before calling fcntl.
5596 * libc/search/hash.c (hash_open): Ditto.
5597 * libc/search/hash_page.c (open_tmp): Ditto.
5598 * libc/reent/Makefile.am: Add fcntlr.c.
5599 * libc/reent/Makefile.in: Regenerated.
5600 * libc/reent/fcntlr.c: New file.
5601 * libc/stdio/fdopen.c (_fdopen_r): Change to call _fcntl_r
5602 instead of _fcntl when HAVE_FCNTL flag is set.
5603 * libc/syscalls/sysfcntl.c (fcntl): Check for HAVE_FCNTL flag
5604 to see if _fcntl or _fcntl_r should be called. If flag is not
5605 set, default to ENOSYS stub.
5607 2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
5609 * libc/include/wchar.h (mbstate_t): Change protective flag to
5611 * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
5612 [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
5614 * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.
5616 2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
5618 * acinclude.m4 (enable-newlib-mb): Change check to
5619 default newlib_mb variable to empty string rather than "no".
5620 * configure.host: Remove hard-coding of -DMB_CAPABLE for
5621 x86-linux and Cygwin. Add code to check for newlib_mb
5622 being unset in which case set to "yes" for x86-linux and
5623 Cygwin. Change check for newlib_mb being "yes" to allow
5624 for an empty string.
5625 * configure.in (_MB_LEN_MAX): New AC_DEFINE.
5626 * newlib.hin (_MB_LEN_MAX): New define to configure.
5627 * aclocal.m4: Regenerated.
5629 * libc/include/limits.h: New file.
5630 * libc/sys/linux/include/limits.h: Ditto.
5631 * doc/aclocal.m4 doc/configure libc/aclocal.m4
5632 libc/configure libc/machine/aclocal.m4
5633 libc/machine/configure libc/machine/a29k/aclocal.m4
5634 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
5635 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
5636 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
5637 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
5638 libc/machine/fr30/configure libc/machine/frv/aclocal.m4
5639 libc/machine/frv/configure libc/machine/h8300/aclocal.m4
5640 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
5641 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
5642 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
5643 libc/machine/i386/configure libc/machine/i960/aclocal.m4
5644 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
5645 libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
5646 libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
5647 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
5648 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
5649 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
5650 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
5651 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
5652 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
5653 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
5654 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
5655 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
5656 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
5657 libc/machine/v850/configure libc/machine/w65/aclocal.m4
5658 libc/machine/w65/configure libc/machine/xscale/aclocal.m4
5659 libc/machine/xscale/configure
5660 libc/machine/xstormy16/aclocal.m4
5661 libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
5662 libc/machine/z8k/configure libc/sys/aclocal.m4
5663 libc/sys/configure libc/sys/a29khif/aclocal.m4
5664 libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
5665 libc/sys/arc/configure libc/sys/arm/aclocal.m4
5666 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
5667 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
5668 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
5669 libc/sys/decstation/configure libc/sys/go32/aclocal.m4
5670 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
5671 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
5672 libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
5673 libc/sys/idt/configure libc/sys/linux/aclocal.m4
5674 libc/sys/linux/configure
5675 libc/sys/linux/machine/aclocal.m4
5676 libc/sys/linux/machine/configure
5677 libc/sys/linux/machine/i386/aclocal.m4
5678 libc/sys/linux/machine/i386/configure
5679 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
5680 libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
5681 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
5682 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
5683 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
5684 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
5685 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
5686 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
5687 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
5688 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
5689 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
5690 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
5691 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
5692 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
5693 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
5694 libm/aclocal.m4 libm/configure: Regenerated.
5696 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
5698 * libc/sys/linux/machine/i386/crt0.c (_start): Remove
5699 code that clears the .bss section.
5701 2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
5703 * libc/include/sys/_types.h (_mbstate_t): Changed to use
5704 unsigned char internally.
5705 * libc/sys/linux/sys/_types.h: Ditto.
5706 * libc/include/sys/reent.h
5707 * libc/stdlib/mblen.c (mblen): Use function-specific state
5708 value from default reentrancy structure.
5709 * libc/stdlib/mblen_r.c (_mblen_r): If return code from
5710 _mbtowc_r is less than 0, reset state __count value and
5712 * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
5713 is NULL, use the function-specific pointer provided in the
5714 default reentrancy structure.
5715 * libc/stdlib/mbrtowc.c: Add reentrant form of function.
5716 If input state pointer is NULL, use function-specific area
5717 provided in reentrancy structure.
5718 * libc/stdlib/mbsrtowcs.c: Ditto.
5719 * libc/stdlib/wcrtomb.c: Ditto.
5720 * libc/stdlib/wcsrtombs.c: Ditto.
5721 * libc/stdlib/mbstowcs.c: Reformat.
5722 * libc/stdlib/wcstombs.c: Ditto.
5723 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
5724 reset the state's __count value and return -1.
5725 * libc/stdlib/mbtowc.c: Ditto.
5726 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
5727 If number of bytes is used up before completing a valid multibyte
5728 character, return -2 and save the state.
5729 * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
5730 and change some __count references to __state for clarity.
5732 2002-09-06 Jeff Johnston <jjohnstn@redhat.com>
5734 * libc/include/sys/config.h (MB_LEN_MAX): Removed as this
5735 is defined by <limits.h>.
5737 2002-09-05 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5739 * libc/include/wchar.h (WCHAR_MAX): Only define if not already
5742 2002-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5744 * libc/include/sys/config.h: Define accordingly __WCHAR_MAX__.
5745 * libc/include/wchar.h: Define WCHAR_MIN as 0 and WCHAR_MAX as
5746 __WCHAR_MAX__ or 0x7fffffffu.
5747 * libc/string/wcscmp.c: Delete wrong and unnecessary type cast.
5748 * libc/string/wcsncmp.c: Ditto.
5750 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
5752 * libc/string/wcschr.c: Add include of <stddef.h>.
5753 * libc/string/wcspbrk.c: Ditto.
5754 * libc/string/wcsrchr.c: Ditto.
5755 * libc/string/wcsstr.c: Ditto.
5757 2002-09-03 Jeff Johnston <jjohnstn@redhat.com>
5759 * libc/include/sys/_types.h (_flock_t): Added.
5760 * libc/include/sys/lock.h (__lock_try_acquire): New interface.
5761 (__lock_try_acquire_recursive): Ditto.
5762 * libc/include/sys/reent.h (__sFILE, __sFILE64): Add new
5764 * libc/stdio/findfp.c (std)[!__SINGLE_THREAD__]: Initialize _lock
5766 * libc/stdio/fopen.c (_fopen_r)[!__SINGLE_THREAD__]: Ditto.
5767 * libc/stdio64/fopen64.c (_fopen64_r)[!__SINGLE_THREAD__]: Ditto.
5768 * libc/sys/linux/include/time.h (struct timespec): Moved from
5769 <sys/types.h> and added check for __need_timespec flag so type
5770 can be defined by itself.
5771 * libc/sys/linux/sys/_types.h (_flock_t): New type.
5772 * libc/sys/linux/sys/types.h (struct timespec): Moved to
5775 2002-08-29 Thomas Fitzsimmons <fitzsim@redhat.com>
5777 * libc/sys/linux/argp: New directory.
5778 * libc/sys/linux/getopt.c: New file.
5779 * libc/sys/linux/getopt1.c: New file.
5780 * libc/sys/linux/getoptlong.c: Remove file.
5781 * libc/sys/linux/include/argp.h: New file.
5782 * libc/sys/linux/Makefile.am: Define argp_dir and ARGP_LIB,
5783 based on ELIX level.
5784 (SUBDIRS): Add argp_dir.
5785 (SUBLIBS): Add ARGP_LIB.
5786 (ELIX_2_OBJS): Add getopt.$(oext), getopt1.$(oext), remove
5787 getopt_long.$(oext).
5788 * libc/sys/linux/configure.in (AC_OUTPUT): Add argp/Makefile.
5790 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
5792 * libc/libc.texinfo: Add node reference to wide-character strings.
5793 * libc/string/wcstrings.tex: New file.
5794 * libc/string/strtok_r.c: Remove outdated advertising clause.
5795 * libc/string/Makefile.am (doc): Add wide-character string
5796 chapter to documentation.
5797 * libc/string/Makefile.in: Regenerated.
5799 2002-08-29 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
5801 * libc/include/wchar.h: Define NULL. Define WEOF more general
5802 way. Declare functions in newlib manner.
5803 * libc/stdlib/Makefile.am: Delete wmem*.c
5804 * libc/stdlib/Makefile.in: Regenerated.
5805 * libc/stdlib/wmemchr.c: Delete.
5806 * libc/stdlib/wmemcmp.c: Ditto.
5807 * libc/stdlib/wmemcpy.c: Ditto.
5808 * libc/stdlib/wmemmove.c: Ditto.
5809 * libc/stdlib/wmemset.c: Ditto.
5810 * libc/string/Makefile.am: Add wmem*.c and wcs*.c.
5811 * libc/string/Makefile.in: Regenerated.
5812 * libc/string/wcscat.c: New file derived from the NetBSD C Library.
5813 * libc/string/wcschr.c: Ditto.
5814 * libc/string/wcscmp.c: Ditto.
5815 * libc/string/wcscpy.c: Ditto.
5816 * libc/string/wcscspn.c: Ditto.
5817 * libc/string/wcslcat.c: Ditto.
5818 * libc/string/wcslcpy.c: Ditto.
5819 * libc/string/wcslen.c: Ditto.
5820 * libc/string/wcsncat.c: Ditto.
5821 * libc/string/wcsncmp.c: Ditto.
5822 * libc/string/wcsncpy.c: Ditto.
5823 * libc/string/wcspbrk.c: Ditto.
5824 * libc/string/wcsrchr.c: Ditto.
5825 * libc/string/wcsspn.c: Ditto.
5826 * libc/string/wcsstr.c: Ditto.
5827 * libc/string/wmemchr.c: Ditto.
5828 * libc/string/wmemcmp.c: Ditto.
5829 * libc/string/wmemcpy.c: Ditto.
5830 * libc/string/wmemmove.c: Ditto.
5831 * libc/string/wmemset.c: Ditto.
5833 2002-08-29 Jeff Johnston <jjohnstn@redhat.com>
5835 * libc/locale/locale.c (_setlocale_r)[MB_CAPABLE]: Fix so
5836 default locale "" is accepted for LC_CTYPE or LC_MESSAGES
5837 and is treated as if "C" was specified.
5839 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5841 * Makefile.am (install-data-local): Move install of build
5842 newlib.h after installing headers in libc/include so as to
5843 overwrite default newlib.h.
5844 * Makefile.in: Regenerated.
5846 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5848 * libc/include/newlib.h: New file for tools that use newlib
5849 headers but don't build newlib first (e.g. gcc).
5851 2002-08-28 Jeff Johnston <jjohnstn@redhat.com>
5853 * libc/stdlib/wmemchr.c: Explicitly include <_ansi.h>.
5854 * libc/stdlib/wmemcmp.c: Ditto.
5855 * libc/stdlib/wmemcpy.c: Ditto.
5856 * libc/stdlib/wmemmove.c: Ditto.
5857 * libc/stdlib/wmemset.c: Ditto.
5859 2002-08-27 Egor Duda <deo@logos-m.ru>
5861 * libc/stdlib/wmemchr.c: New file.
5862 * libc/stdlib/wmemcmp.c: Ditto.
5863 * libc/stdlib/wmemcpy.c: Ditto.
5864 * libc/stdlib/wmemmove.c: Ditto.
5865 * libc/stdlib/wmemset.c: Ditto.
5866 * libc/stdlib/Makefile.am (GENERAL_SOURCES): Add new files.
5867 * configure.host: Default -DMB_CAPABLE for cygwin.
5868 * libc/include/wchar.h: Declare wmemchr(), wmemcmp(), wmemcpy(),
5869 wmemmove() and wmemset(). Add include of <_ansi.h>.
5870 * libc/stdlib/Makefile.in: Regenerate.
5872 2002-08-27 Jeff Johnston <jjohnstn@redhat.com>
5874 * configure.host: Remove _ELIX_LEVEL flag setting.
5875 * Makefile.am(stmp-targ-include): Copy newlib.h to targ-include.
5876 (install-data-local): Install newlib.h.
5877 * Makefile.in: Regenerated.
5878 * aclocal.m4: Ditto.
5880 * configure.in: Add AM_CONFIG_HEADER to generate newlib.h based on
5881 newlib.hin. Add AC_DEFINE_UNQUOTED entries for _ELIX_LEVEL
5882 and _NEWLIB_VERSION to fill in newlib.h header file entries.
5883 In AC_OUTPUT statement, unset ac_file so multilib support does
5884 not use last ac_file temporary used in newlib.h configuration.
5885 * libc/include/_ansi.h: Include <newlib.h>.
5886 * newlib.hin: New template file for newlib.h.
5887 * stamp-h.in: New file.
5889 2002-08-26 Wu Yongwei <adah@netstd.com>
5891 * time.h (timezonevar): Change "#if" to "#ifdef".
5893 2002-08-26 Jeff Johnston <jjohnstn@redhat.com>
5895 * Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST.
5896 * Makefile.in: Regenerated.
5897 * acinclude.m4: Add support for --enable-newlib-elix-level option.
5898 * aclocal.m4: Regenerated.
5900 * configure.host: Add code to define _ELIX_LEVEL if
5901 --enable-newlib-elix-level option is used.
5903 * libc/aclocal.m4: Regenerated.
5904 * libc/configure: Ditto.
5905 * libc/argz/Makefile.am: Add EL/IX level checking.
5906 * libc/argz/Makefile.in: Regenerated.
5907 * libc/argz/dummy.c: New file.
5908 * libc/ctype/Makefile.am: Add EL/IX level checking.
5909 * libc/ctype/Makefile.in: Regenerated.
5910 * libc/locale/Makefile.am: Add EL/IX level checking.
5911 * libc/locale/Makefile.in: Regenerated.
5912 * libc/posix/Makefile.am: Add EL/IX level checking.
5913 * libc/posix/Makefile.in: Regenerated.
5914 * libc/posix/telldir.c: Add EL/IX level checking.
5915 * libc/reent/Makefile.am: Ditto.
5916 * libc/reent/fstat64r.c: Ditto.
5917 * libc/reent/lseek64r.c: Ditto.
5918 * libc/reent/open64r.c: Ditto.
5919 * libc/reent/Makefile.in: Regenerated.
5920 * libc/search/Makefile.am: Add EL/IX level checking.
5921 * libc/search/Makefile.in: Regenerated.
5922 * libc/stdio/Makefile.am: Add EL/IX level checking.
5923 * libc/stdio/Makefile.in: Regenerated.
5924 * libc/stdio64/Makefile.am: Add EL/IX level checking.
5925 * libc/stdio64/Makefile.in: Regenerated.
5926 * libc/stdio64/dummy.c: New file.
5927 * libc/stdio64/fgetpos64.c: Fix so _LARGE64_FILES macro is checked
5928 after first include.
5929 * libc/stdio64/fopen64.c: Ditto.
5930 * libc/stdio64/freopen64.c: Ditto.
5931 * libc/stdio64/fseeko64.c: Ditto.
5932 * libc/stdio64/fsetpos64.c: Ditto.
5933 * libc/stdio64/ftello64.c: Ditto.
5934 * libc/stdio64/tmpfile64.c: Ditto.
5935 * libc/stdlib/Makefile.am: Add EL/IX level checking.
5936 * libc/stdlib/Makefile.in: Regenerated.
5937 * libc/stdlib/mstats.c: Add EL/IX level checking.
5938 * libc/string/Makefile.am: Ditto.
5939 * libc/string/Makefile.in: Regenerated.
5940 * libc/sys/linux/Makefile.am: Add EL/IX level checking.
5941 * libc/sys/linux/Makefile.in: Regenerated.
5942 * libc/sys/linux/aclocal.m4: Ditto.
5943 * libc/sys/linux/configure: Ditto.
5944 * libc/sys/linux/aio.c: Add EL/IX level checking.
5945 * libc/sys/linux/ftok.c: Ditto.
5946 * libc/sys/linux/getdate.c: Ditto.
5947 * libc/sys/linux/ids.c: Ditto.
5948 * libc/sys/linux/inode.c: Ditto.
5949 * libc/sys/linux/io.c: Ditto.
5950 * libc/sys/linux/process.c: Ditto.
5951 * libc/sys/linux/resource.c: Ditto.
5952 * libc/sys/linux/sched.c: Ditto.
5953 * libc/sys/linux/sig.c: Ditto.
5954 * libc/sys/linux/termios.c: Ditto.
5955 * libc/sys/linux/wait.c: Ditto plus add __waitpid and
5956 __libc___waitpid weak aliases.
5957 * libc/sys/linux/machine/i386/syscall.h: Add new _base macros
5958 that generate the code for a syscall, but do not create a
5960 * libc/syscalls/Makefile.am: Add EL/IX level checking.
5961 * libc/syscalls/Makefile.in: Regenerated.
5962 * libc/time/tzset_r.c: Change to replace strdup with equivalent
5964 * libc/unix/Makefile.am: Add EL/IX level checking.
5965 * libc/unix/Makefile.in: Regenerated.
5967 2002-08-26 Christopher Faylor <cgf@redhat.com>
5969 * libc/include/malloc.h: On cygwin, define malloc _r functions as
5970 wrapper macros to standard malloc functions.
5971 * libc/include/stdlib.h: Ditto.
5972 * configure.host: Always define MALLOC_PROVIDED on cygwin.
5974 2002-08-22 Thomas Fitzsimmons <fitzsim@redhat.com>
5976 * libc/include/langinfo.h: New file.
5977 * libc/include/wchar.h: Likewise.
5978 * libc/include/sys/syslimits.h: Likewise.
5979 * libc/locale/fix_grouping.c: Likewise.
5980 * libc/locale/ldpart.c: Likewise.
5981 * libc/locale/ldpart.h: Likewise.
5982 * libc/locale/lmessages.c: Likewise.
5983 * libc/locale/lmessages.h: Likewise.
5984 * libc/locale/lmonetary.c: Likewise.
5985 * libc/locale/lmonetary.h: Likewise.
5986 * libc/locale/lnumeric.c: Likewise.
5987 * libc/locale/lnumeric.h: Likewise.
5988 * libc/locale/nl_langinfo.3: Likewise.
5989 * libc/locale/nl_langinfo.c: Likewise.
5990 * libc/locale/timelocal.c: Likewise.
5991 * libc/locale/timelocal.h: Likewise.
5992 * libc/stdlib/btowc.c: Likewise.
5993 * libc/stdlib/mbrlen.c: Likewise.
5994 * libc/stdlib/mbrtowc.c: Likewise.
5995 * libc/stdlib/mbsinit.c: Likewise.
5996 * libc/stdlib/mbsrtowcs.c: Likewise.
5997 * libc/stdlib/wcrtomb.c: Likewise.
5998 * libc/stdlib/wcsrtombs.c: Likewise.
5999 * libc/stdlib/wctob.c: Likewise.
6000 * libc/sys/linux/prof-freq.c: Likewise.
6001 * libc/sys/linux/profile.c: Likewise.
6002 * libc/sys/linux/machine/i386/dl-procinfo.c: Likewise.
6003 * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise.
6004 * libc/include/stdlib.h: Change re-entrant functions to take
6006 * libc/include/sys/_types.h: Define _mbstate_t.
6007 * libc/include/sys/config.h (MB_LEN_MAX): New macro.
6008 * libc/include/sys/errno.h (EILSEQ): New error code.
6009 * libc/include/sys/reent.h: Include wchar.h. Change reentrant
6010 structure to use mbstate_t.
6011 * libc/locale/Makefile.am (LIB_SOURCES): Add new files.
6012 * libc/machine/powerpc/vfprintf.c: Use mbstate_t.
6013 * libc/machine/powerpc/vfscanf.c: Likewise.
6014 * libc/stdio/getdelim.c: Reallocate buffer only when necessary.
6015 * libc/stdio/vfprintf.c: Likewise.
6016 * libc/stdio/vfscanf.c: Likewise.
6017 * libc/stdlib/Makefile.am (LIB_SOURCES): Add new files.
6018 * libc/stdlib/mblen.c: Use mbstate_t.
6019 * libc/stdlib/mblen_r.c: Likewise.
6020 * libc/stdlib/mbstowcs.c: Likewise.
6021 * libc/stdlib/mbstowcs_r.c: Likewise.
6022 * libc/stdlib/mbtowc.c: Likewise.
6023 * libc/stdlib/mbtowc_r.c: Likewise.
6024 * libc/stdlib/wcstombs.c: Likewise.
6025 * libc/stdlib/wcstombs_r.c: Likewise.
6026 * libc/stdlib/wctomb_r.c: Likewise.
6027 * libc/sys/linux/Makefile.am (LIB_SOURCES): Add prof-freq.c and
6029 * libc/sys/linux/machine/i386/Makefile.am (LIB_SOURCES): Add
6031 * libc/sys/linux/sys/errno.h (EILSEQ): New error code.
6032 * libc/sys/linux/sys/types.h (off_t): Define type.
6033 * testsuite/newlib.locale/UTF-8.c: Change locale name from UTF-8
6035 * testsuite/newlib.locale/UTF-8.exp: Likewise.
6037 2002-08-20 Casper S. Hornstrup <chorns@users.sourceforge.net>
6039 * libc/stdlib/mallocr.c: #include windows.h on Win32.
6040 (AlignPage): Continue macro on next line.
6042 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6044 * libc/sys/linux/include/pthread.h: New file.
6046 2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
6048 * libc/include/sys/types.h: Support __need_inttypes macro
6049 that only sets the __intxx and __uintxx types.
6050 * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
6052 * libc/machine/powerpc/Makefile.in: Regenerated.
6053 * libc/machine/powerpc/vfprintf.c: Fix state variable type.
6054 * libc/machine/powerpc/vfscanf.c: Fix state variable type. Remove
6055 redundant fixed-point conversion prototypes.
6056 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
6057 after setting __need_inttypes.
6059 2002-08-18 Christopher Faylor <cgf@redhat.com>
6061 * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
6063 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6065 * libc/include/sys/config.h[__PPC__][__SPE__]: Set
6066 _LONG_DOUBLE to double.
6068 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6070 * configure.host: Add powerpc*-*-eabispe* configuration.
6071 * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
6072 * libc/machine/powerpc/atosfix32.c: Ditto.
6073 * libc/machine/powerpc/atosfix64.c: Ditto.
6074 * libc/machine/powerpc/atoufix16.c: Ditto.
6075 * libc/machine/powerpc/atoufix32.c: Ditto.
6076 * libc/machine/powerpc/atoufix64.c: Ditto.
6077 * libc/machine/powerpc/fix64.h: Ditto.
6078 * libc/machine/powerpc/simdldtoa.c: Ditto.
6079 * libc/machine/powerpc/strtosfix16.c: Ditto.
6080 * libc/machine/powerpc/strtosfix32.c: Ditto.
6081 * libc/machine/powerpc/strtosfix64.c: Ditto.
6082 * libc/machine/powerpc/strtoufix16.c: Ditto.
6083 * libc/machine/powerpc/strtoufix32.c: Ditto.
6084 * libc/machine/powerpc/strtoufix64.c: Ditto.
6085 * libc/machine/powerpc/ufix64toa.c: Ditto.
6086 * libc/machine/powerpc/configure.in: Add check for
6087 powerpc*-eabispe and add fixed-point conversion functions.
6088 * libc/machine/powerpc/configure: Regenerated.
6089 * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
6090 %r and %R format specifiers which handle fixed-point data.
6091 * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
6092 * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
6093 function prototypes.
6095 2002-08-17 Jeff Johnston <jjohnstn@redhat.com>
6097 * Makefile.am: Move cmath stuff into libc/sys/linux.
6098 * Makefile.in: Regenerated.
6099 * configure.host: Default -DMB_CAPABLE for x86-linux.
6100 * libc/include/reent.h: Define _sbrk to take signed int argument.
6101 * libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
6102 * libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and
6103 make locale name checking more efficient. Also allow "C-ISO-8859-1"
6104 locale for LC_CTYPE and LC_MESSAGES.
6105 * libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
6106 * libc/sys/linux/brk.c: Change sbrk prototype.
6107 * libc/sys/linux/include/time.h: Remove Cygwin stuff and
6108 include <sys/features.h>.
6109 (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
6110 (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
6111 * libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
6112 with a few local additions.
6113 * libc/sys/linux/sys/features.h: New file.
6114 * libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
6115 to take signed argument.
6116 * libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
6117 prototypes to take signed size argument.
6119 2002-08-16 Thomas Fitzsimmons <fitzsim@redhat.com>
6121 * libc/sys/linux/cmath: New directory.
6122 * libc/sys/linux/include/cmathcalls.h: New file.
6123 * libc/sys/linux/include/complex.h: New file.
6124 * libc/sys/linux/machine/i386/huge_val.h: New file
6125 * libm/math/w_sincos.c: New file
6126 * libm/math/wf_sincos.c: New file
6127 * libm/mathfp/s_sincos.c: New file
6128 * libm/mathfp/sf_sincos.c: New file
6129 * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
6130 * libc/include/math.h: Add sincos and sincosf declarations.
6131 * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
6132 (SUBLIBS): Likewise.
6133 * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
6134 * libm/math/Makefile.am (src): Add w_sincos.c.
6135 (fsrc): Add wf_sincos.c.
6136 * libm/mathfp/Makefile.am (src): Add s_sincos.c
6137 (fsrc): Add sf_sincos.c.
6139 2002-08-12 Jeff Johnston <jjohnstn@redhat.com>
6141 * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
6142 Declare as extern chars and use the address operator to
6143 properly use values set in linker script.
6145 2002-08-09 Jason Tishler <jason@tishler.net>
6147 * libc/stdlib/mallocr.c: Include <limits.h>.
6148 (request2size): Change macro to do
6149 unsigned long comparisons and avoid signed overflow.
6150 (mALLOc): Add overflow check for the number of bytes to allocate.
6153 2002-08-09 Jeff Johnston <jjohnstn@redhat.com>
6155 * configure.host: Add check for --enable-newlib-io-pos-args
6156 and define WANT_IO_POS_ARGS flag if enabled. Define
6157 the flag by default for x86-linux configurations.
6158 * configure.in: Add support for --enable-newlib-io-pos-args.
6159 * libc/configure.in: Ditto.
6160 * configure: Regenerated.
6161 * libc/configure: Ditto.
6162 * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
6163 vfprintf.c and vfiprintf.c.
6164 * libc/stdio/Makefile.in: Regenerated.
6165 * libc/stdio/vfprintf.c: Add positional argument support that
6166 is enabled by compiling with -DWANT_IO_POS_ARGS.
6168 2002-08-07 Richard Sandiford <rsandifo@redhat.com>
6170 * libc/include/machine/setjmp.h: For mips, define _JBLEN based
6171 based on __mips_soft_float rather than __mips64.
6172 * libc/machine/mips/setjmp.S: Provide hard and soft float versions
6173 of both 32-bit and 64-bit code.
6175 2002-08-04 Christopher Faylor <cgf@redhat.com>
6177 * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
6178 arguments for popen to match similar functionality in fopen.
6180 2002-07-29 Pierre Humblet <pierre.humblet@ieee.org>
6182 * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
6184 2002-07-29 Jeff Johnston <jjohnstn@redhat.com>
6186 * libc/sys/linux/Makefile.am: Add aio64.c.
6187 * libc/sys/linux/Makefile.in: Regenerated.
6188 * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
6189 * libc/sys/linux/aio64.c: New file.
6191 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6193 * libc/include/sys/param.h (MAX, MIN): Added macros.
6194 * libc/sys/linux/Makefile.am: Add new files.
6195 * libc/sys/linux/Makefile.in: Regenerated.
6196 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6197 * libc/sys/linux/inode.c (fchdir): Added syscall.
6198 * libc/sys/linux/ftw.c: New file.
6199 * libc/sys/linux/ftw64.c: Ditto.
6200 * libc/sys/linux/getwd.c: Ditto.
6201 * libc/sys/linux/scandir64.c: Ditto.
6202 * libc/sys/linux/strverscmp.c: Ditto.
6203 * libc/sys/linux/versionsort.c: Ditto.
6204 * libc/sys/linux/versionsort64.c: Ditto.
6206 2002-07-26 Jeff Johnston <jjohnstn@redhat.com>
6208 * libc/string/strings.tex: Fix typo for memccpy.
6210 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6212 * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
6213 * libc/sys/linux/sys/types.h (off64_t): Definition added.
6215 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6217 * libc/sys/linux/Makefile.am: Add fclean.c.
6218 * libc/sys/linux/Makefile.in: Regenerated.
6219 * libc/sys/linux/fclean.c: New file.
6221 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6223 * libc/sys/linux/Makefile.am: Add confstr.c.
6224 * libc/sys/linux/Makefile.in: Regenerated.
6225 * libc/sys/linux/confstr.c: New file.
6226 * libc/sys/linux/confstr.h: Ditto.
6227 * libc/sys/linux/sys/unistd.h: Include <features.h> and
6228 <bits/environments.h>.
6230 2002-07-25 Jeff Johnston <jjohnstn@redhat.com>
6232 * libc/sys/linux/config.h (__set_errno): Macro definition removed.
6233 * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
6234 * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
6235 * libc/sys/linux/pathconf.c (__set_errno): Ditto.
6236 * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
6237 * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
6239 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6241 * libc/sys/linux/Makefile.am: Add new files.
6242 * libc/sys/linux/Makefile.in: Regenerated.
6243 * libc/sys/linux/fstab.c: New file.
6244 * libc/sys/linux/fstatvfs.c: Ditto.
6245 * libc/sys/linux/fstatvfs64.c: Ditto.
6246 * libc/sys/linux/internal_statvfs.c: Ditto.
6247 * libc/sys/linux/mntent.c: Ditto.
6248 * libc/sys/linux/mntent_r.c: Ditto.
6249 * libc/sys/linux/statvfs.c: Ditto.
6250 * libc/sys/linux/statvfs64.c: Ditto.
6251 * libc/sys/linux/include/paths.h: Ditto.
6252 * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
6253 with double-underscore weak-aliases.
6254 * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
6256 2002-07-24 Jeff Johnston <jjohnstn@redhat.com>
6258 * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
6259 to use _sig_func_ptr type casted constants.
6260 (_sig_func_ptr): Typedef moved to sys/signal.h.
6261 * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
6262 For __rtems, use POSIX definition, otherwise default to ANSI.
6263 * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
6265 2002-07-24 Stephane Carrez <stcarrez@nerim.fr>
6267 * configure.host: Recognize m6811-elf and m6812-elf targets.
6268 * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
6269 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
6270 (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
6271 * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
6272 according to __INT_MAX__.
6273 (_POINTER_INT): Define to short.
6274 * libc/machine/m68hc11/Makefile.am: New file.
6275 * libc/machine/m68hc11/Makefile.in: New file.
6276 * libc/machine/m68hc11/configure.in: New file.
6277 * libc/machine/m68hc11/configure: New file.
6278 * libc/machine/m68hc11/aclocal.m4: New file.
6279 * libc/machine/m68hc11/setjmp.S: New file.
6281 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6283 * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
6285 * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
6286 * libc/stdlib/Makefile.in: Regenerated.
6287 * libc/stdlib/strdup.c: Removed.
6288 * libc/stdlib/strdup_r.c: Removed.
6289 * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
6290 mempcpy.c, strndup.c, and strndup_r.c.
6291 * libc/string/Makefile.in: Regenerated.
6292 * libc/string/memccpy.c: New file.
6293 * libc/string/mempcpy.c: Ditto.
6294 * libc/string/strndup.c: Ditto.
6295 * libc/string/strndup_r.c: Ditto.
6296 * libc/string/strdup.c: New file moved from stdlib.
6297 * libc/string/strdup_r.c: Ditto.
6298 * libc/string/strings.tex: Add memccpy and mempcpy documentation.
6300 2002-07-23 Jeff Johnston <jjohnstn@redhat.com>
6302 * libc/include/stdio.h: Move fcloseall prototype within
6303 #ifndef _REENT_ONLY section.
6304 * libc/sys/linux/Makefile.am: Add new files.
6305 * libc/sys/linux/Makefile.in: Regenerated.
6306 * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
6307 * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
6308 * libc/sys/linux/sys/types.h: Add ino64_t type.
6309 * libc/sys/linux/ctermid.c: New file.
6310 * libc/sys/linux/ttyname_r.c: Ditto.
6311 * libc/sys/linux/readdir64.c: Ditto.
6313 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6315 * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
6316 * libc/stdio/Makefile.am: Added fcloseall.c support.
6317 * libc/stdio/Makefile.in: Regenerated.
6318 * libc/stdio/fcloseall.c: New file.
6319 * libc/stdio64/Makefile.am: Remove missing .def references.
6320 * libc/stdio64/Makefile.in: Regenerated.
6322 2002-07-22 Jeff Johnston <jjohnstn@redhat.com>
6324 * libc/machine/powerpc/time.c: Removed..renamed to times.c.
6325 * libc/machine/powerpc/times.c: New file.
6326 * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
6327 * libc/machine/powerpc/Makefile.in: Regenerated.
6329 2002-07-22 Aldy Hernandez <aldyh@redhat.com>
6331 * libc/machine/powerpc/time.c: New file.
6332 * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
6334 * libc/machine/powerpc/Makefile.in: Regenerated.
6336 2002-07-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6338 * libc/libc.texinfo: Change copyright notices to Red Hat from
6340 * libm/libm.texinfo: Likewise.
6341 * README: Change docs URL to
6342 http://sources.redhat.com/newlib/docs.html.
6344 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6346 * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
6347 * libc/sys/linux/Makefile.in: Regenerated.
6348 * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
6349 * libc/sys/linux/io.c: Add ftruncate syscall.
6350 * libc/sys/linux/fpathconf.c: New file.
6351 * libc/sys/linux/pathconf.c: Ditto.
6352 * libc/sys/linux/linux_fsinfo.h: Ditto.
6353 * libc/sys/linux/sys/unistd.h: Ditto.
6355 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6357 * libc/stdio64/Makefile.am: Remove missing files.
6358 * libc/stdio64/Makefile.in: Regenerated.
6360 2002-07-19 Jeff Johnston <jjohnstn@redhat.com>
6362 * libc/include/sys/config.h[__i386__][__linux__]: Define
6363 _LARGE64FILE_SOURCE to 1.
6364 * libc/sys/linux/Makefile.am: Add getrlimit64.c and setrlimit64.c.
6365 * libc/sys/linux/Makefile.in: Regenerated.
6366 * libc/sys/linux/resource.c: Add __getrlimit and __setrlimit aliases.
6367 * libc/sys/linux/sys/linux_time.h: Protect struct timeval definition.
6368 * libc/sys/linux/sys/resource.h: Include <bits/resource.h> instead
6369 of <linux/resource.h>.
6370 * libc/sys/linux/getrlimit64.c: New file.
6371 * libc/sys/linux/setrlimit64.c: Ditto.
6373 2002-07-19 Thomas Fitzsimmons <fitzsim@redhat.com>
6375 * libc/argz/argz_replace.c: Include buf_findstr.h.
6376 * libc/argz/buf_findstr.c: Likewise.
6377 * libc/argz/envz_entry.c: Include buf_findstr.h. Cast return
6379 * libc/argz/envz_get.c: Likewise.
6380 * libc/include/sys/unistd.h: Add getopt and getsubopt declarations.
6381 * libc/stdlib/Makefile.am (LIB_SOURCES): Add getsubopt.c.
6382 * libc/stdlib/getsubopt.3: New file.
6383 * libc/stdlib/getsubopt.c: New file.
6384 * libc/sys/linux/machine/i386/socketcall.h (__sockcall_base):
6387 2002-07-17 Jeff Johnston <jjohnstn@redhat.com>
6389 * configure.host(stdio64_dir): New setting that is used to
6390 enable building of new stdio64 directory.
6391 * libc/Makefile.am[HAVE_STDIO64_DIR]: Add support for
6393 (stmp-stdio64,stdio64.texi): New targets to optionally add in
6394 stdio64 info to info files.
6395 * libc/Makefile.in: Regenerated.
6396 * libc/configure: Ditto.
6397 * libc/configure.in: Add configuration variables that are set
6398 when stdio64 is selected as subdir in configure.host.
6399 * libc/libc.texinfo: Add optional menu item for Stdio64, based
6400 on whether STDIO64 flag is set or not.
6401 * libc/sys.tex: Add optional stdio64 syscalls based on whether
6402 STDIO64 flag is set or not.
6403 * libc/include/reent.h[__LARGE64_FILES]: Add new stdio64
6405 * libc/include/stdio.h[__LARGE64_FILES]: Add new stdio64 prototypes.
6406 (FILE): Typedef'd to __FILE instead of struct __sFILE directly.
6407 (__SL64): New file flag indicating file is opened via fopen64.
6408 * libc/include/sys/_types.h(_off64_t): Added.
6409 * libc/include/sys/config.h: For x86-linux, define __LARGE64_FILES.
6410 * libc/include/sys/reent.h(struct __sFILE64): New file structure
6411 for 64-bit offset large file support.
6412 (__FILE): New intermediate type either set to struct __sFILE64 or
6413 struct __sFILE, depending on whether __LARGE64_FILES is set or not.
6414 * libc/reent/Makefile.am[HAVE_STDIO64_DIR]: Add new files.
6415 * libc/reent/Makefile.in: Regenerated.
6416 * libc/reent/fstat64r.c: New file.
6417 * libc/reent/lseek64r.c: Ditto.
6418 * libc/reent/open64r.c: Ditto.
6419 * libc/reent/reent.tex: Optionally add stdio64 reentrant syscalls
6420 based on whether STDIO64 flag is set.
6421 * libc/stdio/stdio.tex: Add blank line.
6422 * libc/stdio64/Makefile.am: New file.
6423 * libc/stdio64/Makefile.in: Ditto.
6424 * libc/stdio64/fgetpos64.c: Ditto.
6425 * libc/stdio64/fopen64.: Ditto.
6426 * libc/stdio64/freopen64.c: Ditto.
6427 * libc/stdio64/fseeko64.c: Ditto.
6428 * libc/stdio64/fsetpos64.c: Ditto.
6429 * libc/stdio64/ftello64.c: Ditto.
6430 * libc/stdio64/local64.h: Ditto.
6431 * libc/stdio64/stdio64.c: Ditto.
6432 * libc/stdio64/stdio64.tex: Ditto.
6433 * libc/stdio64/tmpfile64.c: Ditto.
6434 * libc/sys/linux/io64.c: Add weak aliases for lseek64, fstat64, and
6437 2002-07-16 Jeff Johnston <jjohnstn@redhat.com>
6439 * libc/Makefile.am (stmp-extra): New target to set makeinfo flag
6440 if LIBC_EXTRA_LIB is present.
6441 * libc/Makefile.in: Regenerated.
6442 * libc/libc.texinfo: Add blank line.
6443 * libc/argz/Makefile.am: Add doc support.
6444 * libc/search/Makefile.am: Ditto.
6445 * libc/argz/Makefile.in: Regenerated.
6446 * libc/search/Makefile.in: Ditto.
6447 * libc/misc/misc.tex: Add ffs function.
6448 * libc/stdio/ftell.c: Fix missing doc delimeter in description.
6450 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6452 * libc/include/sys/config.h[__H8300__]: Replace __SMALL_BITFIELDS
6453 definition that was removed in error.
6455 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6457 * libc/include/machine/ieeefp.h: Change to only define
6458 floating point defines (e.g one of __IEEE_BIG_ENDIAN or
6459 __IEEE_LITTLE_ENDIAN must be defined for each platform).
6460 * libc/include/sys/config.h: Include <machine/ieeefp.h> and
6461 remove redundant floating point definitions.
6463 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6465 * libc/sys/linux/callocr.c: Fix so code references
6468 2002-07-15 Jeff Johnston <jjohnstn@redhat.com>
6470 * libc/sys/linux/Makefile.am: Add new files.
6471 * libc/sys/linux/Makefile.in: Regenerated.
6472 * libc/sys/linux/bp-sym.h: Moved to include directory.
6473 * libc/sys/linux/mmap.c: Add weak aliases: __mmap, __munmap, __mremap.
6474 * libc/sys/linux/inode.c: Set _LIBC to 1.
6475 * libc/sys/linux/mq_close.c: Ditto.
6476 * libc/sys/linux/mq_getattr.c: Ditto.
6477 * libc/sys/linux/mq_open.c: Ditto.
6478 * libc/sys/linux/mq_receive.c: Ditto.
6479 * libc/sys/linux/mq_send.c: Ditto.
6480 * libc/sys/linux/mq_setattr.c: Ditto.
6481 * libc/sys/linux/mq_unlink.c: Ditto.
6482 * libc/sys/linux/calloc.c: New file.
6483 * libc/sys/linux/callocr.c: Ditto.
6484 * libc/sys/linux/cfreer.c: Ditto.
6485 * libc/sys/linux/config.h: Ditto.
6486 * libc/sys/linux/free.c: Ditto.
6487 * libc/sys/linux/freer.c: Ditto.
6488 * libc/sys/linux/msize.c: Ditto.
6489 * libc/sys/linux/msizer.c: Ditto.
6490 * libc/sys/linux/mstats.c: Ditto.
6491 * libc/sys/linux/mtrim.c: Ditto.
6492 * libc/sys/linux/mtrimr.c: Ditto.
6493 * libc/sys/linux/pvallocr.c: Ditto.
6494 * libc/sys/linux/realloc.c: Ditto.
6495 * libc/sys/linux/reallocr.c: Ditto.
6496 * libc/sys/linux/thread-m.h: Ditto.
6497 * libc/sys/linux/vallocr.c: Ditto.
6498 * libc/sys/linux/bp-checks.h: Ditto.
6499 * libc/sys/linux/libc-symbols.h: Ditto.
6500 * libc/sys/linux/libc-tsd.h: Ditto.
6501 * libc/sys/linux/libintl.h: Ditto.
6502 * libc/sys/linux/malign.c: Ditto.
6503 * libc/sys/linux/malignr.c: Ditto.
6504 * libc/sys/linux/mallinfor.c: Ditto.
6505 * libc/sys/linux/malloc.c: Ditto.
6506 * libc/sys/linux/mallocr.c: Ditto.
6507 * libc/sys/linux/malloptr.c: Ditto.
6508 * libc/sys/linux/mallstatsr.c: Ditto.
6509 * libc/sys/linux/mcheck.c: Ditto.
6510 * libc/sys/linux/mhooks.h: Ditto.
6511 * libc/sys/linux/include/bp-sym.h: Ditto.
6512 * libc/sys/linux/include/malloc.h: Ditto.
6513 * libc/sys/linux/include/mcheck.h: Ditto.
6514 * libc/sys/linux/linuxthreads/machine/i386/Makefile.am: Remove
6516 * libc/sys/linux/linuxthreads/machine/i386/Makefile.in: Regenerated.
6517 * libc/sys/linux/linuxthreads/machine/i386/getpagesize.c: Moved.
6518 * libc/sys/linux/machine/i386/getpagesize.c: New file.
6519 * libc/sys/linux/machine/i386/Makefile.am: Add getpagesize.c.
6520 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6521 * libc/sys/linux/machine/i386/sysdep.h: New file.
6522 * libc/sys/linux/machine/i386/weakalias.h: Add weak_function support.
6523 * libc/sys/linux/sys/dirent.h: Set _LIBC to 1.
6524 * libc/sys/linux/sys/lock.h: Include <machine/weakalias.h>.
6526 2002-07-12 Jeff Johnston <jjohnstn@redhat.com>
6528 * libc/sys/linux/include/mqueue.h: Change to use <bits/siginfo.h>
6529 instead of <asm/siginfo.h>.
6530 * libc/sys/linux/sys/signal.h: Change to include various linux
6531 <bits/xxx.h> header files, rather than <linux/signal.h> so as
6532 to work with multiple releases of glibc header files.
6534 2002-07-11 Chris Demetriou <cgd@broadcom.com>
6536 * testsuite/newlib.search/hsearchtest.c: New file to test
6538 * testsuite/newlib.search/hsearchtest.exp: Likewise.
6540 2002-07-10 Florian Schrack <florian.schrack@freenet.de>
6542 * libc/sys/mmixware/read.c: Use SYS_Fgets syscall if dealing with
6544 * libc/sys/mmixware/sys/syscall.h (SYS_Fgets): Definition added.
6546 2002-07-08 Jeff Johnston <jjohnstn@redhat.com>
6548 * libc/include/math.h (MAXFLOAT): Added.
6550 Mon Jul 8 13:55:23 2002 J"orn Rennecke <joern.rennecke@superh.com>
6552 * libc/machine/sh/Makefile.am (lib_a_SOURCES):
6553 Make strcmp.S unconditional.
6554 * libc/machine/sh/Makefile.in: Regenerate.
6555 * libc/machine/sh/asm.h (DELAYED_BRANCHES, SL): Also for __SH5__ .
6556 * strcmp.S (strcmp): Add SHmedia variant. Use different registers
6559 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6561 * libc/sys/linux/inode.c: Fix utime prototype and add _LIBC
6562 define before including <sys/lock.h>.
6564 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6566 * libc/include/utime.h: Add include of <_ansi.h>.
6567 * libc/sys/linux/Makefile.am: Add utimes.c.
6568 * libc/sys/linux/Makefile.in: Regenerated.
6569 * libc/sys/linux/inode.c(__umask): New static routine.
6570 (umask): Written to use __umask and attempt to thread lock.
6571 (getumask): New function written to use __umask and thread lock.
6572 * libc/sys/linux/utimes.c: New file.
6573 * libc/sys/linux/sys/time.h: Fix utimes prototype.
6574 * libc/sys/linux/sys/utime.h: New file.
6576 2002-07-04 Thomas Fitzsimmons <fitzsim@redhat.com>
6578 * libtool.m4: New file.
6579 * libc/sys/linux/process.c: Implement vfork in terms of fork,
6580 rather than as a syscall.
6582 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6584 * libc/include/stdio.h: Add new prototypes.
6585 * libc/stdio/Makefile.am: Add fseeko.c and ftello.c.
6586 * libc/stdio/Makefile.in: Regenerated.
6587 * libc/stdio/fseek.c: Add fseeko documentation.
6588 * libc/stdio/ftell.c: Add ftello documentation.
6589 * libc/stdio/fseeko.c: New file.
6590 * libc/stdio/ftello.c: New file.
6592 2002-07-04 Jeff Johnston <jjohnstn@redhat.com>
6594 * libc/stdio/Makefile.am: Add asprintf.c and vasprintf.c.
6595 * libc/stdio/Makefile.in: Regenerated.
6596 * libc/stdio/asprintf.c: New file.
6597 * libc/stdio/vasprintf.c: Ditto.
6598 * libc/stdio/fvwrite.c: Add code to dynamically reallocate
6599 the buffer for asprintf support.
6600 * libc/stdio/sprintf.c: Add asprintf documentation.
6601 * libc/stdio/vfprintf.c: Add vasprintf documentation.
6602 * libc/include/stdio.h: Add new prototypes.
6604 2002-07-02 Thomas Fitzsimmons <fitzsim@redhat.com>
6606 * libc/search/hcreate.c: Remove advertising clause from license.
6607 * libc/search/hcreate_r.c: Likewise.
6609 2002-07-02 Chris Demetriou <cgd@broadcom.com>
6611 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN)
6612 (__IEEE_BIG_ENDIAN): Define appropriately for MIPS.
6613 Check that one of them is defined and error out if not.
6614 Add any platforms defined in <machine/ieeefp.h> that are missing.
6615 * libc/search/hash.h (DB_BYTE_ORDER, DB_BIG_ENDIAN)
6616 (DB_LITTLE_ENDIAN): New defines.
6617 * libc/search/hash.c: Replace all incorrect checks for
6618 _IEEE_LITTLE_ENDIAN with tests of BYTE_ORDER, and all uses of
6619 BYTE_ORDER, LITTLE_ENDIAN, and BIG_ENDIAN with DB_* versions.
6620 * libc/search/hash_page.c: Likewise.
6622 2002-06-28 Thomas Fitzsimmons <fitzsim@redhat.com>
6624 * libm/mathfp/sf_pow.c (powf): Change k from int to float.
6626 2002-06-27 Benjamin Kosnik <bkoz@redhat.com>
6628 * libc/include/stdio.h: Untangle, add _BEGIN_STD_C and _END_STD_C.
6629 * libc/include/time.h: Same.
6630 * libc/include/string.h: Same.
6631 * libc/include/stdlib.h: Same.
6632 * libc/include/signal.h: Same.
6633 * libc/include/setjmp.h: Same.
6634 * libc/include/math.h: Same.
6635 * libc/include/locale.h: Same.
6636 * libc/include/ctype.h: Same.
6637 * libc/include/machine/setjmp.h: Same.
6638 * libc/include/_ansi.h (_BEGIN_STD_C): Add.
6641 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6643 * libc/include/sys/_types.h: Define _ssize_t as int if int is
6644 32-bits, otherwise define it as long.
6645 * libc/include/sys/types.h: Include <_ansi.h> and <sys/_types.h>
6646 and define ssize_t as _ssize_t.
6647 * libc/reent/readr.c: Change return type to _ssize_t.
6648 * libc/reent/writer.c: Ditto.
6649 * libc/sys/linux/Makefile.am: Add aio.c.
6650 * libc/sys/linux/Makefile.in: Regenerated.
6651 * libc/sys/linux/aio.c: New file.
6652 * libc/sys/linux/sys/cdefs.h: Add __restrict_arr definition.
6653 * libm/common/fdlibm.h: Undef __P before defining it.
6655 2002-06-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6657 * libm/mathfp/s_pow.c (pow): Fix checks on variable k. Add
6658 exponent_is_even_int variable. Handle case where x is
6659 negative, and y is an odd integer.
6660 * libm/mathfp/sf_pow.c (powf): Likewise.
6662 * libm/mathfp/er_lgamma.c: Remove __kernel references.
6663 * libm/mathfp/erf_lgamma.c: Likewise.
6664 * libm/mathfp/s_tgamma.c: Likewise.
6665 * libm/mathfp/sf_tgamma.c: Likewise.
6667 2002-06-27 Jeff Johnston <jjohnstn@redhat.com>
6669 * libc/sys/linux/Makefile.am: Add new clock routines.
6670 * libc/sys/linux/Makefile.in: Regenerated.
6671 * libc/sys/linux/clock_getres.c: New file.
6672 * libc/sys/linux/clock_gettime.c: Ditto.
6673 * libc/sys/linux/clock_settime.c: Ditto.
6674 * libc/sys/linux/hp-timing.h: Ditto.
6675 * libc/sys/linux/libc-internal.h: Ditto.
6676 * libc/sys/linux/sysconf.c: Fix typo.
6677 * libc/sys/linux/include/time.h: Add include of <sys/linux_time.h>.
6678 * libc/sys/linux/machine/hp-timing.h: New file.
6679 * libc/sys/linux/machine/i386/Makefile.am: Add new files.
6680 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
6681 * libc/sys/linux/machine/i386/get_clockfreq.c: New file.
6682 * libc/sys/linux/machine/i386/hp-timing.c: Ditto.
6683 * libc/sys/linux/machine/i386/hp-timing.h: Ditto.
6684 * libc/sys/linux/sys/linux_time.h: New file.
6685 * libc/sys/linux/sys/time.h: Remove include of <linux/time.h> and
6686 replace with <sys/linux_time.h>.
6688 Wed Jun 26 16:33:25 2002 J"orn Rennecke <joern.rennecke@superh.com>
6690 * libc/sys/sh/crt0.S: Remove vestigial .section directive.
6692 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
6694 * libc/sys/linux/Makefile.am: Consolidate additional items under
6696 * libc/sys/linux/Makefile.in: Regenerated.
6698 2002-06-25 Jeff Johnston <jjohnstn@redhat.com>
6700 * libc/sys/linux/sethostname.c: New file.
6701 * libc/sys/linux/Makefile.am: Add sethostname.c support.
6702 * libc/sys/linux/Makefile.in: Regenerated.
6704 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6706 * libc/search/db_local.h: New file.
6707 * libc/include/db.h: Remove.
6708 * libc/search/Makefile.am (LIB_SOURCES): Add db_local.h.
6709 * libc/search/hash.c (MIN,MAX): Add macros. Change <db.h> to
6711 * libc/search/hash_bigkey.c: Likewise.
6712 * libc/search/hash_buf.c: Likewise.
6713 * libc/search/hash_func.c: Likewise.
6714 * libc/search/hash_log2.c: Likewise.
6715 * libc/search/hash_page.c: Likewise.
6717 2002-06-24 J"orn Rennecke <joern.rennecke@superh.com>
6719 * libc/machine/sh/strlen.S: New file.
6720 * libc/machine/sh/Makefile.am (lib_a_SOURCES): Add rule for it.
6721 * libc/machine/sh/Makefile.am: Regenerate.
6723 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
6725 * libc/sys/linux/gethostname.c: Change name to __gethostname and
6726 add gethostname alias.
6728 2002-06-24 Jeff Johnston <jjohnstn@redhat.com>
6730 * libc/include/math.h: Remove <sys/types.h>.
6731 (__dmath): Use __ULong instead of __uint32_t.
6732 * libc/include/sys/reent.h: If long or int is not 32-bits,
6733 include <sys/types.h> to get definitions for __int32_t and __uint32_t.
6734 * libc/stdlib/mprec.h: Include <sys/types.h> to get integer defs.
6735 * libm/common/fdlibm.h: Ditto.
6737 2002-06-24 Thomas Fitzsimmons <fitzsim@redhat.com>
6739 * libc/include/ndbm.h: Remove.
6740 * libc/search/ndbm.c: Remove.
6742 2002-06-24 WATANABE Hirofumi <eban@os.rim.or.jp>
6744 * libc/stdio/fseek.c (fseek): Fix braces.
6746 2002-06-21 Corinna Vinschen <corinna@vinschen.de>
6748 * libc/time/strftime.c (strftime): Add %e format specifier.
6750 2002-06-21 Thomas Fitzsimmons <fitzsim@redhat.com>
6752 * libc/search/hash.h (LITTLE_ENDIAN, BIG_ENDIAN): Define if not
6755 2002-06-21 Richard Earnshaw (rearnsha@arm.com)
6757 * libc/sys/arm/sys/param.h (BIG_ENDIAN, LITTLE_ENDIAN): Define.
6758 (BYTE_ORDER): Define as appropriate for the target.
6760 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6762 * libc/include/sys/config.h[__linux__]: Set _READ_WRITE_RETURN_TYPE
6764 * libc/sys/linux/io.c (read, write): Change to return ssize_t.
6766 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6768 * libc/include/stdio.h (__getline, __getdelim): New prototypes.
6769 * libc/include/time.h [HAVE_GETDATE](getdate, getdate_r): Ditto.
6770 [HAVE_GETDATE](getdate_err): New error code.
6771 * libc/stdio/Makefile.am: Add support for getline.c and getdelim.c.
6772 * libc/stdio/Makefile.in: Regenerated.
6773 * libc/stdio/getdelim.c: New file.
6774 * libc/stdio/getline.c: Ditto.
6775 * libc/sys/linux/Makefile.am: Add support for getdate.c, getdate_err.c
6776 and ntp_gettime.c. Also add AM_CFLAGS to point to libc/stdio.
6777 * libc/sys/linux/Makefile.in: Regenerated.
6778 * libc/sys/linux/getdate.c: New file.
6779 * libc/sys/linux/getdate_err.c: Ditto.
6780 * libc/sys/linux/ntp_gettime.c: Ditto.
6781 * libc/sys/linux/time.c (adjtimex, ntp_adjtime): New functions.
6782 * libc/sys/linux/sys/stdio.h (getline, getdelim): New macros.
6784 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6786 * libc/include/math.h: Add <sys/types.h> to get _uint32_t definition.
6787 * libc/include/machine/types.h: Skip __off_t, __pid_t, and
6788 __loff_t definitions if special _HAVE_SYSTYPES macro defined.
6789 * libc/include/sys/config.h: Removed _uint*, _int* definitions.
6790 * libc/include/sys/param.h: Remove i386 case which is handled
6792 (BIG_ENDIAN, LITTLE_ENDIAN): Protect
6793 definitions in case they are already defined.
6794 (BYTE_ORDER): Add default case using _IEEE_BIG_ENDIAN and
6795 _IEEE_LITTLE_ENDIAN flags.
6796 * libc/include/sys/reent.h: Change __uint32_t references to
6798 (_REENT_GETDATE_REENT_P): New macro.
6799 * libc/include/sys/types.h (__int16_t, __uint16_t): Added.
6800 (__int32_t, __uint32_t, __int64_t, __uint64_t): Ditto.
6801 * libc/search/hash.h: Add default setting of BYTE_ORDER,
6802 LITTLE_ENDIAN, and BIG_ENDIAN, if not already defined.
6803 * libc/sys/linux/sys/types.h: Include <sys/_types.h>. Define
6804 ssize_t based on _ssize_t. Remove __socklen_t, __uintptr_t,
6805 pid_t, off_t, loff_t, caddr_t, and daddr_t type
6806 definitions which are done by subsequent glibc headers.
6807 Add macro definitions to prevent subsequent header files from
6808 defining pid_t, off_t, ssize_t, and key_t. Move uintptr_t and
6809 intptr_t to after glibc definitions of types they are based on.
6811 2002-06-21 Jeff Johnston <jjohnstn@redhat.com>
6813 * libc/include/errno.h: Protect from multiple inclusion.
6815 2002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
6817 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
6819 2002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
6821 * Makefile.am (LIB_OBJECTLISTS): Add
6822 libc/search/objectlist.awk.in.
6823 * libc/Makefile.am (SUBDIRS): Add search.
6824 (SUBLIBS): Add search/libsearch.la.
6825 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
6826 * libc/search: New directory.
6827 * libc/search/Makefile.am: New file.
6828 * libc/search/extern.h: New file.
6829 * libc/search/hash.c: New file.
6830 * libc/search/hash.h: New file.
6831 * libc/search/hash_bigkey.c: New file.
6832 * libc/search/hash_buf.c: New file.
6833 * libc/search/hash_func.c: New file.
6834 * libc/search/hash_log2.c: New file.
6835 * libc/search/hash_page.c: New file.
6836 * libc/search/hcreate.3: New file.
6837 * libc/search/hcreate.c: New file.
6838 * libc/search/hcreate_r.c: New file.
6839 * libc/search/ndbm.c: New file.
6840 * libc/search/page.h: New file.
6841 * libc/search/tdelete.c: New file.
6842 * libc/search/tdestroy.c: New file.
6843 * libc/search/tfind.c: New file.
6844 * libc/search/tsearch.3: New file.
6845 * libc/search/tsearch.c: New file.
6846 * libc/search/twalk.c: New file.
6847 * libc/include/db.h: New file.
6848 * libc/include/ndbm.h: New file.
6849 * libc/include/search.h: New file.
6850 * libc/include/sys/queue.h: New file.
6851 * libc/include/sys/cdefs.h: New file.
6852 * libc/include/sys/param.h
6853 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
6854 LITTLE_ENDIAN or BIG_ENDIAN.
6855 * libc/include/sys/errno.h (EFTYPE): New macro.
6856 * libc/search/bsearch.c: Move from libc/stdlib.
6857 * libc/search/qsort.c: Likewise.
6858 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
6860 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
6861 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
6863 2002-06-19 Jeff Johnston <jjohnstn@redhat.com>
6865 * libc/sys/linux/Makefile.am: Add support for message queue routines,
6866 ipc routines, and ftok.
6867 * libc/sys/linux/Makefile.in: Regenerated.
6868 * libc/sys/linux/ftok.c: New file.
6869 * libc/sys/linux/ipc.c: Ditto.
6870 * libc/sys/linux/mq_close.c: Ditto.
6871 * libc/sys/linux/mq_getattr.c: Ditto.
6872 * libc/sys/linux/mq_notify.c: Ditto.
6873 * libc/sys/linux/mq_open.c: Ditto.
6874 * libc/sys/linux/mq_receive.c: Ditto.
6875 * libc/sys/linux/mq_send.c: Ditto.
6876 * libc/sys/linux/mq_setattr.c: Ditto.
6877 * libc/sys/linux/mq_unlink.c: Ditto.
6878 * libc/sys/linux/mqlocal.h: Ditto.
6879 * libc/sys/linux/include/mqueue.h: Ditto.
6880 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
6883 2002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
6885 * libm/common/sf_lround.c (round): Change name to: (lround).
6886 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
6889 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6891 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
6893 (newlib_pass_fail): Change to compile and run only one file.
6894 * testsuite/newlib.locale/locale.exp: Use new
6895 newlib_pass_fail_all procedure.
6896 * testsuite/newlib.string/string.exp: Likewise.
6898 2002-06-18 Dave Brolley <brolley@redhat.com>
6900 From Catherine Moore, Michael Meissner, Richard Sandiford:
6901 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
6903 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
6904 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
6905 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
6906 * configure.host: Support frv-*-*.
6907 * libc/machine/frv/Makefile.am: New file.
6908 * libc/machine/frv/configure.in: New file.
6909 * libc/machine/frv/setjmp.S: New file.
6911 2002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6913 * libc/include/ctype.h: Remove isblank macro.
6915 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
6916 * libc/ctype/isblank.c: New file.
6917 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
6918 declaration. Add isblank macro.
6920 2002-06-18 Jeff Johnston <jjohnstn@redhat.com>
6922 * testsuite/newlib.stdlib/atexit.c: New file.
6923 * testsuite/newlib.stdlib/atexit.exp: Ditto.
6924 * testsuite/newlib.string/tstring.c: Change default start size
6925 to something more reasonable for embedded platforms.
6927 2002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6929 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
6931 * libc/argz: New directory.
6932 * libc/argz/*: New files.
6933 * libc/argz/argz_add.c: New file.
6934 * libc/argz/argz_add_sep.c: New file.
6935 * libc/argz/argz_append.c: New file.
6936 * libc/argz/argz_count.c: New file.
6937 * libc/argz/argz_create.c: New file.
6938 * libc/argz/argz_create_sep.c: New file.
6939 * libc/argz/argz_delete.c: New file.
6940 * libc/argz/argz_extract.c: New file.
6941 * libc/argz/argz_insert.c: New file.
6942 * libc/argz/argz_next.c: New file.
6943 * libc/argz/argz_replace.c: New file.
6944 * libc/argz/argz_stringify.c: New file.
6945 * libc/argz/buf_findstr.c: New file.
6946 * libc/argz/envz_add.c: New file.
6947 * libc/argz/envz_entry.c: New file.
6948 * libc/argz/envz_get.c: New file.
6949 * libc/argz/envz_merge.c: New file.
6950 * libc/argz/envz_remove.c: New file.
6951 * libc/argz/envz_strip.c: New file.
6952 * libc/include/argz.h: New file.
6953 * libc/include/envz.h: New file.
6954 * Makefile.am (LIBC_OBJECTLISTS): Add
6955 libc/argz/objectlist.awk.in.
6956 * libc/Makefile.am (SUBDIRS): Add argz.
6957 (SUBLIBS): Add argz/libargz.la.
6958 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
6959 * libc/include/errno.h: Add error_t typedef.
6961 2002-06-13 Jeff Johnston <jjohnstn@redhat.com>
6963 * libc/include/stdlib.h: Add _Exit prototype.
6964 * libc/stdlib/Makefile.am: Add _Exit.c support.
6965 * libc/stdlib/Makefile.in: Ditto.
6966 * libc/stdlib/_Exit.c: New file.
6968 2002-06-13 Stephen L. Moshier <steve@moshier.net>
6970 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
6971 x is close to -1.0 and y is very large to use ax (absolute value)
6973 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
6975 Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
6977 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
6978 Fix clobbering bytes before destination if src and dst have same
6979 non-zero misalignment.
6981 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
6982 Fixed bug in writing end of set region.
6984 2002-06-10 Christopher Faylor <cgf@redhat.com>
6986 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
6987 spawnve declaration.
6989 2002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6991 * libm/common/s_fdim.c: New file.
6992 * libm/common/s_fma.c: Likewise.
6993 * libm/common/s_fmax.c: Likewise.
6994 * libm/common/s_fmin.c: Likewise.
6995 * libm/common/s_fpclassify.c: Likewise.
6996 * libm/common/s_lrint.c: Likewise.
6997 * libm/common/s_lround.c: Likewise.
6998 * libm/common/s_nearbyint.c: Likewise.
6999 * libm/common/s_remquo.c: Likewise.
7000 * libm/common/s_round.c: Likewise.
7001 * libm/common/s_scalbln.c: Likewise.
7002 * libm/common/s_signbit.c: Likewise.
7003 * libm/common/s_trunc.c: Likewise.
7004 * libm/common/sf_fdim.c: Likewise.
7005 * libm/common/sf_fma.c: Likewise.
7006 * libm/common/sf_fmax.c: Likewise.
7007 * libm/common/sf_fmin.c: Likewise.
7008 * libm/common/sf_lrint.c: Likewise.
7009 * libm/common/sf_lround.c: Likewise.
7010 * libm/common/sf_nearbyint.c: Likewise.
7011 * libm/common/sf_remquo.c: Likewise.
7012 * libm/common/sf_round.c: Likewise.
7013 * libm/common/sf_scalbln.c: Likewise.
7014 * libm/common/sf_trunc.c: Likewise.
7015 * libm/math/w_exp2.c: Likewise.
7016 * libm/math/w_tgamma.c: Likewise.
7017 * libm/math/wf_exp2.c: Likewise.
7018 * libm/math/wf_tgamma.c: Likewise.
7019 * libm/mathfp/s_exp2.c: Likewise.
7020 * libm/mathfp/s_tgamma.c: Likewise.
7021 * libm/mathfp/sf_exp2.c: Likewise.
7022 * libm/mathfp/sf_tgamma.c: Likewise.
7023 * libm/math/er_gamma.c: Fix return value.
7024 * libm/math/erf_gamma.c: Likewise.
7025 * libm/mathfp/er_gamma.c: Likewise.
7026 * libm/mathfp/erf_gamma.c: Likewise.
7027 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
7028 declarations and macros.
7029 Regenerated all Makefile.in, aclocal.m4 and configure files to
7030 use new libtool macros in top-level libtool.m4
7032 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
7034 * libc/include/string.h[__linux__]: Add strsignal prototype.
7035 * libc/include/sys/lock.h: New file with default locking support.
7036 * libc/include/sys/reent.h: Add signal buffer support for strsignal
7038 * libc/posix/Makefile.am: Add support for readdir_r.c.
7039 * libc/posix/Makefile.in: Regenerated.
7040 * libc/posix/closedir.c: Add locking support and hash table cleanup.
7041 * libc/posix/opendir.c: Add lock support.
7042 * libc/posix/readdir.c: Ditto.
7043 * libc/posix/rewinddir.c: Ditto.
7044 * libc/posix/scandir.c: Ditto.
7045 * libc/posix/seekdir.c: Ditto.
7046 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
7047 clean up leftover hash table entries.
7048 * libc/posix/readdir_r.c: New file.
7049 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
7050 * libc/sys/linux/Makefile.in: Regenerated.
7051 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
7052 * libc/sys/linux/sys/signal.h: Add psignal prototype.
7053 * libc/sys/linux/psignal.c: New file.
7054 * libc/sys/linux/strsignal.c: Ditto.
7056 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
7058 * libc/include/sys/types.h: Don't define dev_t when compiling for
7061 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
7063 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
7064 make siglist.inc dependent on sig.c instead of signal.c.
7065 * libc/sys/linux/Makefile.in: Regenerated.
7066 * libc/sys/linux/sig.c: Rename from signal.c and change code to
7067 use NSIG instead of _NSIG.
7068 * libc/sys/linux/sigaction.c: New file.
7069 * libc/sys/linux/signal.c: Changed to be linux signal() function
7070 so as to override regular newlib default signal.c.
7071 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
7072 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7073 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
7074 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
7075 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
7076 default linux sigset_t typedef by defining it equal to __sigset_t.
7077 * libc/unix/sigset.c: Add check so code isn't compiled on systems
7078 with a sigset_t that isn't implemented with a single int.
7080 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
7082 * libc/sys/linux/Makefile.am: Add support for new files.
7083 * libc/sys/linux/Makefile.in: Regenerated.
7084 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
7085 * libc/sys/linux/signal.c: Change to use real-time syscalls for
7086 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
7087 it is in a separate file now.
7088 * libc/sys/linux/machine/i386/Makefile.am
7089 * libc/sys/linux/machine/i386/Makefile.in
7090 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
7091 * libc/sys/linux/sigaction.c: New file.
7092 * libc/sys/linux/sigqueue.c: Ditto.
7093 * libc/sys/linux/sigwait.c: Ditto.
7094 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
7095 * libc/sys/linux/kernel_sigaction.h: Ditto.
7097 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
7099 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
7101 * libc/sys/linux/Makefile.in: Regenerated.
7102 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
7103 tcgetpgrp(), and tcsetpgrp() functions.
7104 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
7105 to get __MAX_BAUD rate.
7106 * libc/sys/linux/machine/i386/include/termios.h: New file.
7107 * libc/include/machine/termios.h: Ditto.
7108 * libc/sys/linux/cfspeed.c: Ditto.
7109 * libc/sys/linux/tcsendbrk.c: Ditto.
7111 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
7113 * libc/include/string.h: Add strnlen and strerror_r prototypes.
7114 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
7115 * libc/string/Makefile.in: Regenerated.
7116 * libc/string/strerror_r.c: New file.
7117 * libc/string/strnlen.c: New file.
7118 * libc/sys/linux/Makefile.am: Add rename.c.
7119 * libc/sys/linux/Makefile.in: Regenerated.
7120 * libc/sys/linux/rename.c: New file to override default rename.
7122 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7124 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
7125 * libc/sys/linux/sys/time.h: Add conversion macros.
7126 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
7127 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
7128 * libc/sys/linux/gethostname.c: New file.
7129 * libc/sys/linux/seteuid.c: New file.
7130 * libc/sys/linux/sysctl.c: New file.
7132 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7134 * libc/string/Makefile.am: Add support for strsep.c.
7135 * libc/string/Makefile.in: Regenerated.
7136 * libc/string/strsep.c: New file.
7137 * libc/string/strtok.c: Change to call __strtok_r service routine.
7138 * libc/string/strtok_r.c: Add __strtok_r routine which takes
7139 additional flag parameter regarding whether to skip leading delimeters.
7140 Change strtok_r to call __strtok_r.
7142 2002-05-23 Gareth Pearce <tilps@hotmail.com>
7144 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
7145 * libc/stdio/Makefile.in: Regenerated.
7146 * libc/stdio/setbuffer.c: New file.
7147 * libc/stdio/setlinebuf.c: New file.
7149 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7151 * libc/sys/linux/Makefile.am: Add resource.c.
7152 * libc/sys/linux/Makefile.in: Regenerated.
7153 * libc/sys/linux/resource.c: New file.
7154 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
7155 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
7156 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7157 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
7158 are now found in libc/sys/linux/resource.c.
7160 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
7162 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
7163 to use void * pointers and comply with Single Unix spec.
7164 * libc/string/bcmp.c: Change to use void * instead of char *.
7165 * libc/string/bcopy.c: Ditto.
7166 * libc/string/bzero.c: Ditto.
7168 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7170 * libc/sys/linux/shm_open.c: New file.
7171 * libc/sys/linux/shm_unlink.c: Ditto.
7172 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
7174 * libc/sys/linux/Makefile.in: Regenerated.
7175 * libc/sys/linux/sys/types.h: Add some additional checks to see
7176 if clock_t or time_t is already defined.
7178 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
7180 * Makefile.am: Don't pass $toollibdir down directly in
7181 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
7182 Pass it under the name: top_toollibdir.
7183 * Makefile.in: Regenerated.
7185 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
7187 * libc/include/sys/types.h: Revert previous patch.
7189 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
7191 * libc/include/sys/types.h: Include cygwin/types.h always under
7192 Cygwin, not only if _POSIX_THREADS is defined.
7194 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
7196 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
7198 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
7200 * Makefile.am: Copy and install headers from sys/machine/include
7201 directory. Also pass $toollibdir to lower-level directories.
7202 * Makefile.in: Regenerated.
7203 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
7204 stderr to use _REENT macro instead of _impure_ptr directly.
7205 * libc/include/sys/config.h[__i386__][__linux__]: Define
7207 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
7208 call to __getreent() function if !__SINGLE_THREAD__ and
7209 __DYNAMIC_REENT__ is set.
7210 * libc/reent/Makefile.am: Add support for getreent.c.
7211 * libc/reent/Makefile.in: Regenerated.
7212 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
7213 * libc/sys/linux/Makefile.am: Add support for new files.
7214 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
7215 * libc/sys/linux/Makefile.in: Regenerated.
7216 * libc/sys/linux/configure: Ditto.
7217 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
7218 __close, __read, __write, __poll, __open, __lseek, __fcntl from
7219 their __libc_ counterparts.
7220 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
7221 and weak-alias to regular names.
7222 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
7223 to pread64 and __pread64.
7224 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
7225 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
7226 weak-alias to pwrite64.
7227 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
7228 __libc_sched_getscheduler, __libc_sched_get_priority_max,
7229 __libc_sched_get_priority_min, and __libc_sched_setschedule to
7230 name with __ instead of __libc_.
7231 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
7232 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
7233 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
7234 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
7236 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
7237 __libc_send to __send.
7238 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
7240 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
7241 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
7242 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
7243 type and typedef __jmp_buf to jmp_buf.
7244 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
7246 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
7247 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
7249 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
7250 prefix for function macros and then use weak_alias() to regular names.
7251 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7252 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
7253 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
7254 to be flockfile() and funlockfile() respectively.
7255 * libc/sys/linux/sys/types.h
7256 * libc/reent/getreent.c: New file.
7257 * libc/sys/linux/flockfile.c: Ditto.
7258 * libc/sys/linux/funlockfile.c: Ditto.
7259 * libc/sys/linux/getreent.c: Ditto.
7260 * libc/sys/linux/pread.c: Ditto.
7261 * libc/sys/linux/pwrite.c: Ditto.
7262 * libc/sys/linux/raise.c: Ditto.
7263 * libc/sys/linux/system.c: Ditto.
7264 * libc/sys/linux/tcdrain.c: Ditto.
7265 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
7266 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
7267 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
7268 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
7269 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
7271 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
7273 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
7274 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
7275 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
7276 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
7278 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
7280 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
7281 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
7284 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
7286 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
7287 options when testing natively on i[3456]86-*-linux.
7289 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
7290 only one pass or fail per test file. Trim \r's from output
7291 values received from test programs. Remove support for named
7293 * testsuite/newlib.locale/UTF-8.exp: Update to support new
7294 newlib_check_output behaviour.
7295 * testsuite/newlib.locale/UTF-8.c: Likewise.
7297 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
7299 * libc/include/stdlib.h: Add on_exit prototype.
7300 * libc/include/sys/reent.h (struct _atexit): Add argument array
7301 and bits to track type of exit routine to support both on_exit
7303 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
7304 by default and change the setting of the atexit structure.
7305 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
7306 * libc/stdlib/on_exit.c: New file.
7307 * libc/stdlib/Makefile.am: Add support for on_exit.
7308 * libc/stdlib/Makefile.in: Regenerated.
7309 * libc/stdlib/atexit.c: Change to initialize types field.
7310 * libc/stdlib/exit.c: Change to look at types field for each
7311 exit routine and either call an atexit-style or an on_exit-style
7312 routine accordingly.
7314 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7316 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
7317 allow v specifier with n or L specifiers. For vector c format,
7318 move tmp declaration to the top.
7320 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
7322 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
7323 the original format specifier when looping for vectors to compensate
7324 for any changes made in vector %g format processing.
7325 Also add syntax checking for various invalid scenarios
7326 involving vector format extensions.
7327 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
7328 return code setting for vector formats. Also treat vector
7329 separator mismatch as a match error instead of an input error.
7330 Perform some syntax checking for vector formats.
7332 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7334 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
7335 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
7336 * libc/string/strlcat.c: New file.
7337 * libc/string/strlcpy.c: New file.
7339 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
7341 * libc/string/strchr.c: Fix comment typo.
7343 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
7345 * acinclude.m4: Add support for --enable-newlib-multithread.
7346 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
7347 --enable-newlib-multithread=no.
7349 * libc/stdio/getc_u.c: New file.
7350 * libc/stdio/getchar_u.c: New file.
7351 * libc/stdio/putc_u.c: New file.
7352 * libc/stdio/putchar_u.c: New file.
7353 * libc/include/stdio.h: Add declarations for getc_unlocked,
7354 getchar_unlocked, putc_unlocked and putchar_unlocked.
7355 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
7356 (CHEWOUT_FILES): Add new files' .def's.
7357 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
7359 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
7361 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
7362 Also handle as single quad word when destination ends at last
7363 byte of first quad word. Fix byte selection in single quad code.
7365 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7367 * libc/include/sys/stdio.h: New file.
7368 * libc/sys/linux/sys/stdio.h: New file.
7369 * libc/include/stdio.h: Add declarations for flockfile,
7370 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
7371 * libc/stdio/clearerr.c: Add file locking.
7372 * libc/stdio/fclose.c: Likewise.
7373 * libc/stdio/feof.c: Likewise.
7374 * libc/stdio/ferror.c: Likewise.
7375 * libc/stdio/fflush.c: Likewise.
7376 * libc/stdio/fgetc.c: Likewise.
7377 * libc/stdio/fgetpos.c: Likewise.
7378 * libc/stdio/fgets.c: Likewise.
7379 * libc/stdio/fileno.c: Likewise.
7380 * libc/stdio/fputc.c: Likewise.
7381 * libc/stdio/fputs.c: Likewise.
7382 * libc/stdio/fread.c: Likewise.
7383 * libc/stdio/freopen.c: Likewise.
7384 * libc/stdio/fseek.c: Likewise.
7385 * libc/stdio/ftell.c: Likewise.
7386 * libc/stdio/fwrite.c: Likewise.
7387 * libc/stdio/getc.c: Likewise.
7388 * libc/stdio/putc.c: Likewise.
7389 * libc/stdio/setvbuf.c: Likewise.
7390 * libc/stdio/ungetc.c: Likewise.
7391 * libc/stdio/vfprintf.c: Likewise.
7393 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7395 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
7396 support for 'p' format. Fix code to print bytes for vector
7397 integer formats that do not specify 'h' or 'l'.
7398 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
7399 for 'p' specifier. Fix code to scan 16 bytes for vector integer
7400 formats that do not specify 'h' or 'l'.
7402 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
7404 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
7406 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
7407 (_sbrk): Add cast of return value.
7409 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7411 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
7412 (_REENT_L64A_BUF): New macro for accessing area.
7413 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
7414 * libc/stdlib/Makefile.in: Regenerated.
7415 * libc/stdlib/a64l.c: New file.
7416 * libc/stdlib/l64a.c: New file.
7418 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
7420 * libc/unix/pread.c: Fix typo for _pread_r.
7421 * libc/unix/pwrite.c: Fix type for _pwrite_r.
7422 * libc/sys/linux/pread64.c: Fix typo for read syscall.
7423 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
7425 2002-05-03 Christopher Faylor <cgf@redhat.com>
7427 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
7429 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
7431 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
7433 2002-05-01 Christopher Faylor <cgf@redhat.com>
7435 * utmp.h: Define more UNIX constants.
7437 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
7439 * Makefile.am: Add support for checking multilibs.
7441 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
7442 (SUBDEFS): Add LIBC_EXTRA_DEF.
7443 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
7444 (LIBC_EXTRA_DEF): Likewise.
7445 (extra_dir): Likewise.
7446 * libc/machine/xscale/machine: New directory.
7447 * libc/machine/xscale/machine/profile.h: New file.
7449 * Makefile.am (site.exp): Remove newlib_cflags. Add
7451 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
7452 * testsuite/lib/flags.exp: New file.
7453 * testsuite/lib/newlib.exp: Load flags.exp.
7454 (newlib_target_compile): Remove libgloss directory references.
7455 (newlib_init): Remove newlib_cflags references.
7457 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7459 * testsuite/lib/newlib.exp (newlib_target_compile): Change
7460 method of finding libgloss_target_dir.
7462 * Makefile.am (site.exp): Change host_alias, host_triplet,
7463 target_alias, target_triplet to refer to gcc's host and target
7464 variables (newlib's build and host variables).
7465 * testsuite/lib/newlib.exp (newlib_init): Change build
7466 references to host references, host references to target
7467 references to reflect Makefile.am changes.
7468 (newlib_target_compile): Likewise.
7469 (newlib_finish): Likewise.
7471 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7473 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
7475 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
7477 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
7478 (_system): New function. Ditto.
7479 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
7480 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
7483 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
7485 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
7486 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
7487 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
7488 * libc/sys/linux/Makefile.in: Regenerated.
7489 * libc/unix/Makefile.in: Ditto.
7490 * libc/sys/linux/pread64.c: New file.
7491 * libc/sys/linux/pwrite64.c: Ditto.
7492 * libc/unix/pread.c: Ditto.
7493 * libc/unix/pwrite.c: Ditto.
7495 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7497 * libc/sys/linux/Makefile.am: Add io64.c.
7498 * libc/sys/linux/Makefile.in: Regenerated.
7499 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
7500 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
7501 * libc/sys/linux/io64.c: New file.
7503 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
7505 * configure.in (CC_FOR_NEWLIB): New variable that
7506 bases on $(CC) and adds targ-include and libc/include as
7507 -isystem directives if they are not already part of $(CC).
7508 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
7510 * configure: Regenerated.
7511 * Makefile.in: Ditto.
7513 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
7515 * libc/sys/linux/Makefile.am: Add support for sched.c.
7516 * libc/sys/linux/Makefile.in: Regenerated.
7517 * libc/sys/linux/sched.c: New file.
7518 * libc/sys/linux/sys/types.h: Add struct timespec.
7520 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
7522 * configure.in (CC_FOR_BUILD): Set to gcc whether
7523 cross-compiling or not.
7524 (CC): Add -isystem's for targ-include and libc/include when they
7525 do not already appear in CC.
7527 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
7529 * Makefile.am (check-DEJAGNU): New target.
7530 (site.exp): Likewise.
7531 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
7532 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
7533 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
7534 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
7535 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
7536 * testsuite: New directory.
7537 * testsuite/config: Likewise.
7538 * testsuite/lib: Likewise.
7539 * testsuite/newlib.locale: Likewise.
7540 * testsuite/newlib.string: Likewise.
7541 * testsuite/config/default.exp: New file.
7542 * testsuite/lib/checkoutput.exp: New file.
7543 * testsuite/lib/newlib.exp: New file.
7544 * testsuite/lib/passfail.exp: New file.
7545 * testsuite/newlib.locale/UTF-8.c: New file.
7546 * testsuite/newlib.locale/UTF-8.exp: New file.
7547 * testsuite/newlib.locale/locale.exp: New file.
7548 * testsuite/newlib.string/string.exp: New file.
7549 * testsuite/newlib.string/tstring.c: New file.
7551 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
7553 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
7554 * libc/sys/linux/Makefile.am: Add support for mmap.c.
7555 * libc/sys/linux/Makefile.in: Regenerated.
7556 * libc/sys/linux/mmap.c: New file.
7557 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
7558 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
7560 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7562 * acinclude.m4 (newlib_cflags): Remove include directories that
7563 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
7565 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
7567 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
7568 * libc/machine/xscale/memcmp.c: Ditto.
7569 * libc/machine/xscale/memcpy.c: Ditto.
7570 * libc/machine/xscale/memmove.c: Ditto.
7571 * libc/machine/xscale/memset.c: Ditto.
7572 * libc/machine/xscale/strchr.c: Ditto.
7573 * libc/machine/xscale/strcmp.c: Ditto.
7574 * libc/machine/xscale/strcpy.c: Ditto.
7575 * libc/machine/xscale/strlen.c: Ditto.
7577 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
7579 * libc/include/sys/config.h: Remove include of <limits.h>.
7580 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
7581 define INT_MAX and LONG_MAX. Use them in tests.
7583 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
7585 * configure.host: Add support for powerpc-eabialtivec*.
7586 * libc/include/malloc.h: Add include of <machine/malloc.h>.
7587 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
7588 * libc/include/machine/malloc.h: New file.
7589 * libc/include/machine/stdlib.h: Ditto.
7590 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
7591 * libc/machine/powerpc/Makefile.am: Add conditional objects and
7592 sources based on configuration.
7593 * libc/machine/powerpc/Makefile.in: Regenerated.
7594 * libc/machine/powerpc/configure: Ditto.
7595 * libc/machine/powerpc/configure.in: Add check for
7596 powerpc-eabialtivec* in which case add in additional source files.
7597 * libc/machine/powerpc/setjmp.S: Add altivec support.
7598 * libc/machine/powerpc/vec_calloc.c: New file.
7599 * libc/machine/powerpc/vec_free.c: Ditto.
7600 * libc/machine/powerpc/vec_malloc.c: Ditto.
7601 * libc/machine/powerpc/vec_mallocr.c: Ditto.
7602 * libc/machine/powerpc/vec_realloc.c: Ditto.
7603 * libc/machine/powerpc/machine/malloc.h: Ditto.
7604 * libc/machine/powerpc/machine/stdlib.h: Ditto.
7605 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
7606 with added altivec format specifiers.
7607 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
7608 added altivec format specifiers.
7610 2002-04-19 Joel Sherrill <joel@OARcorp.com>
7612 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
7613 while autoconf is trying to link main(){}.
7615 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7617 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
7618 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
7620 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7622 * libc/time/time.tex: Add tzset info.
7624 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7626 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
7627 (strptime): Moved prototype to be within !__STRICT_ANSI__.
7628 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
7629 (tzname): Defined for all platforms.
7630 (daylight, timezone): Defined only for CYGWIN.
7631 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
7633 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7634 environment variable is set.
7635 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
7637 * libc/time/Makefile.in: Regenerated.
7638 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
7639 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
7640 * libc/time/lcltime_r.c (lcltime_r): Ditto.
7641 * libc/time/local.h: New local header file.
7642 * libc/time/mktime.c (mktime): Add timezone support.
7643 * libc/time/mktm_r.c: New file which is the common engine
7644 for gmtime_r and lcltime_r. This code has timezone support.
7645 * libc/time/strftime.c (strftime): Add %Z timezone support.
7646 * libc/time/tzlock.c: New file containing timezone lock stubs.
7647 * libc/time/tzset.c: New file containing tzset() routine.
7648 * libc/time/tzset_r.c: New file containing _tzset_r and
7649 internal routine for calculating timezone changes for specified year.
7651 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7653 * configure.in (CRT0_DIR): Set to libc/.
7654 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
7655 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
7656 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
7657 $(CRT1_DIR)/$(CRT1).
7658 * libc/machine/xstormy16/Makefile.in: Regenerated.
7659 * libc/machine/xstormy16/aclocal.m4: Regenerated.
7660 * libc/machine/xstormy16/configure: Regenerated.
7662 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
7664 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
7665 fails, don't bail out, and try to correct next time.
7667 * libc/include/sys/config.h: Include limits.h.
7669 2002-04-12 Eric Norum <eric.norum@usask.com>
7671 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
7672 routine to allow autoconf to determine that building executables
7674 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7675 (rtems_gxx_mutex_once): Ditto.
7677 2002-04-09 Tom Rix <trix@redhat.com>
7679 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7681 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7683 * libc/include/time.h: Fix strptime declaration.
7684 * libc/time/Makefile.am: Add strptime.c.
7685 * libc/time/Makefile.in: Regenerated.
7686 * libc/time/strptime.c: New file.
7688 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7690 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7691 siglongjmp prototype, and sigsetjmp macro definition.
7692 * libc/sys/linux/siglongjmp.c: New file.
7693 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7694 * libc/sys/linux/Makefile.in: Regenerated.
7696 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7698 * Makefile.am: Add support for installing crt1.o if one exists.
7699 * configure.host: Specify crt1.o for linux.
7700 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
7701 * Makefile.in: Regenerated.
7703 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
7704 Added for non-Cygwin, non-RTEMS configurations.
7705 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
7706 * libc/sys/linux/Makefile.in: Regenerated.
7707 * libc/sys/linux/crt1.c: New empty file to override one defaulted
7708 by gcc. This fixes problem with reconfiguring linux newlib build.
7709 * libc/sys/linux/sysconf.c: New file.
7711 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
7713 * configure.host: Add support for machine subdirectory of
7715 * configure.in: Add check for sys machine subdirectory.
7716 * Makefile.am: Ditto.
7717 * configure: Regenerated.
7718 * Makefile.in: Ditto.
7719 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
7720 * libc/sys/linux/sys/syscall.h: Ditto.
7721 * libc/sys/linux/sleep.c: New file.
7722 * libc/sys/linux/socket.c: Ditto.
7723 * libc/sys/linux/sockops.h: Ditto.
7724 * libc/sys/linux/stack.c: Ditto.
7725 * libc/sys/linux/usleep.c: Ditto.
7726 * libc/sys/linux/machine/Makefile.am: Ditto.
7727 * libc/sys/linux/machine/Makefile.in: Ditto.
7728 * libc/sys/linux/machine/aclocal.m4: Ditto.
7729 * libc/sys/linux/machine/configure: Ditto.
7730 * libc/sys/linux/machine/configure.in: Ditto.
7731 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
7732 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
7733 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
7734 * libc/sys/linux/machine/i386/configure: Ditto.
7735 * libc/sys/linux/machine/i386/configure.in: Ditto.
7736 * libc/sys/linux/machine/i386/crt0.c: Ditto.
7737 * libc/sys/linux/machine/i386/sigset.c: Ditto.
7738 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
7739 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
7740 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7741 * libc/sys/linux/sys/select.h: Ditto.
7742 * libc/sys/linux/configure.in: Add support for machine directory.
7743 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
7744 * libc/sys/linux/Makefile.in: Regenerated.
7745 * libc/sys/linux/configure: Ditto.
7746 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
7747 * libc/sys/linux/inode.c: Ditto.
7748 * libc/sys/linux/linux.c: Ditto.
7749 * libc/sys/linux/process.c: Ditto.
7750 * libc/sys/linux/systat.c: Ditto.
7751 * libc/sys/linux/time.c: Ditto.
7752 * libc/sys/linux/wait.c: Ditto.
7753 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
7754 * libc/sys/linux/io.c: Change header plus add readv/writev.
7755 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
7756 use __sigsuspend syscall.
7757 * libc/sys/linux/select.c: Change header plus change select to
7758 use _newselect syscall.
7759 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
7760 used by glibc header files.
7761 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
7764 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
7766 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
7767 initializing a struct _reent that has been dynamically allocated.
7768 (_REENT_CHECK_MISC): New macro that checks _misc struct for
7769 _REENT_SMALL and does nothing otherwise.
7770 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
7771 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
7772 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
7773 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
7774 [_REENT_SMALL](struct _misc_reent): New structure containing
7775 miscellaneous reentrant areas needed by newlib.
7776 [_REENT_SMALL](struct _reent): Add _misc pointer.
7777 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
7778 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
7779 and _REENT_STRTOK_LAST macros.
7780 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
7781 and _REENT_MBLEN_STATE macros.
7782 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
7783 and _REENT_MBTOWC_STATE macros.
7784 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
7785 and _REENT_WCTOMB_STATE macros.
7787 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
7789 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
7791 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
7793 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
7795 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
7797 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
7798 Store high part of leading bytes too.
7800 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
7802 * libm/math/ef_hypot.c: Increase scale factor to 68.
7804 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
7806 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
7809 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
7811 * libc/sys/go32/access.c: Change license to relaxed license
7812 used in identical file throughout newlib/libgloss.
7814 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
7816 * libc/sys/arm/access.c: New file.
7817 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
7818 * libc/sys/arm/Makefile.in: Regenerate.
7819 * libc/sys/arm/syscalls.c (_stat): New function.
7821 2002-03-11 Michael Meissner <meissner@redhat.com>
7823 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
7824 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
7825 * libc/machine/mips/Makefile.in: Regenerate.
7826 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
7827 * libc/machine/mips/memset.c: Dito.
7828 * libc/machine/mips/strcmp.c: Dito.
7829 * libc/machine/mips/strlen.c: Dito.
7830 * libc/machine/mips/strncmp.c: Dito.
7832 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
7834 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
7835 object so it works for shared library or statici library.
7836 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
7838 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
7839 (strptime): Moved prototype to be within !__STRICT_ANSI__.
7840 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
7841 (tzname): Defined for all platforms.
7842 (daylight, timezone): Defined only for CYGWIN.
7843 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
7845 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
7846 environment variable is set.
7847 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
7849 * libc/time/Makefile.in: Regenerated.
7850 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
7851 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
7852 * libc/time/lcltime_r.c (lcltime_r): Ditto.
7853 * libc/time/local.h: New local header file.
7854 * libc/time/mktime.c (mktime): Add timezone support.
7855 * libc/time/mktm_r.c: New file which is the common engine
7856 for gmtime_r and lcltime_r. This code has timezone support.
7857 * libc/time/strftime.c (strftime): Add %Z timezone support.
7858 * libc/time/tzlock.c: New file containing timezone lock stubs.
7859 * libc/time/tzset.c: New file containing tzset() routine.
7860 * libc/time/tzset_r.c: New file containing _tzset_r and
7861 internal routine for calculating timezone changes for specified year.
7863 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7865 * configure.in (CRT0_DIR): Set to libc/.
7866 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
7867 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
7868 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
7869 $(CRT1_DIR)/$(CRT1).
7870 * libc/machine/xstormy16/Makefile.in: Regenerated.
7871 * libc/machine/xstormy16/aclocal.m4: Regenerated.
7872 * libc/machine/xstormy16/configure: Regenerated.
7874 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
7876 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
7877 fails, don't bail out, and try to correct next time.
7879 * libc/include/sys/config.h: Include limits.h.
7881 2002-04-12 Eric Norum <eric.norum@usask.com>
7883 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
7884 routine to allow autoconf to determine that building executables
7886 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
7887 (rtems_gxx_mutex_once): Ditto.
7889 2002-04-09 Tom Rix <trix@redhat.com>
7891 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
7893 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
7895 * libc/include/time.h: Fix strptime declaration.
7896 * libc/time/Makefile.am: Add strptime.c.
7897 * libc/time/Makefile.in: Regenerated.
7898 * libc/time/strptime.c: New file.
7900 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
7902 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
7903 siglongjmp prototype, and sigsetjmp macro definition.
7904 * libc/sys/linux/siglongjmp.c: New file.
7905 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
7906 * libc/sys/linux/Makefile.in: Regenerated.
7908 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
7910 * Makefile.am: Add support for installing crt1.o if one exists.
7911 * configure.host: Specify crt1.o for linux.
7912 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
7913 * Makefile.in: Regenerated.
7915 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
7916 Added for non-Cygwin, non-RTEMS configurations.
7917 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
7918 * libc/sys/linux/Makefile.in: Regenerated.
7919 * libc/sys/linux/crt1.c: New empty file to override one defaulted
7920 by gcc. This fixes problem with reconfiguring linux newlib build.
7921 * libc/sys/linux/sysconf.c: New file.
7923 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
7925 * configure.host: Add support for machine subdirectory of
7927 * configure.in: Add check for sys machine subdirectory.
7928 * Makefile.am: Ditto.
7929 * configure: Regenerated.
7930 * Makefile.in: Ditto.
7931 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
7932 * libc/sys/linux/sys/syscall.h: Ditto.
7933 * libc/sys/linux/sleep.c: New file.
7934 * libc/sys/linux/socket.c: Ditto.
7935 * libc/sys/linux/sockops.h: Ditto.
7936 * libc/sys/linux/stack.c: Ditto.
7937 * libc/sys/linux/usleep.c: Ditto.
7938 * libc/sys/linux/machine/Makefile.am: Ditto.
7939 * libc/sys/linux/machine/Makefile.in: Ditto.
7940 * libc/sys/linux/machine/aclocal.m4: Ditto.
7941 * libc/sys/linux/machine/configure: Ditto.
7942 * libc/sys/linux/machine/configure.in: Ditto.
7943 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
7944 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
7945 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
7946 * libc/sys/linux/machine/i386/configure: Ditto.
7947 * libc/sys/linux/machine/i386/configure.in: Ditto.
7948 * libc/sys/linux/machine/i386/crt0.c: Ditto.
7949 * libc/sys/linux/machine/i386/sigset.c: Ditto.
7950 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
7951 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
7952 * libc/sys/linux/machine/i386/syscall.h: Ditto.
7953 * libc/sys/linux/sys/select.h: Ditto.
7954 * libc/sys/linux/configure.in: Add support for machine directory.
7955 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
7956 * libc/sys/linux/Makefile.in: Regenerated.
7957 * libc/sys/linux/configure: Ditto.
7958 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
7959 * libc/sys/linux/inode.c: Ditto.
7960 * libc/sys/linux/linux.c: Ditto.
7961 * libc/sys/linux/process.c: Ditto.
7962 * libc/sys/linux/systat.c: Ditto.
7963 * libc/sys/linux/time.c: Ditto.
7964 * libc/sys/linux/wait.c: Ditto.
7965 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
7966 * libc/sys/linux/io.c: Change header plus add readv/writev.
7967 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
7968 use __sigsuspend syscall.
7969 * libc/sys/linux/select.c: Change header plus change select to
7970 use _newselect syscall.
7971 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
7972 used by glibc header files.
7973 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
7976 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
7978 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
7979 initializing a struct _reent that has been dynamically allocated.
7980 (_REENT_CHECK_MISC): New macro that checks _misc struct for
7981 _REENT_SMALL and does nothing otherwise.
7982 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
7983 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
7984 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
7985 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
7986 [_REENT_SMALL](struct _misc_reent): New structure containing
7987 miscellaneous reentrant areas needed by newlib.
7988 [_REENT_SMALL](struct _reent): Add _misc pointer.
7989 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
7990 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
7991 and _REENT_STRTOK_LAST macros.
7992 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
7993 and _REENT_MBLEN_STATE macros.
7994 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
7995 and _REENT_MBTOWC_STATE macros.
7996 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
7997 and _REENT_WCTOMB_STATE macros.
7999 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
8001 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
8003 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
8005 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
8007 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
8009 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
8010 Store high part of leading bytes too.
8012 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
8014 * libm/math/ef_hypot.c: Increase scale factor to 68.
8016 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
8018 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
8021 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8023 * libc/sys/go32/access.c: Change license to relaxed license
8024 used in identical file throughout newlib/libgloss.
8026 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
8028 * libc/sys/arm/access.c: New file.
8029 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
8030 * libc/sys/arm/Makefile.in: Regenerate.
8031 * libc/sys/arm/syscalls.c (_stat): New function.
8033 2002-03-11 Michael Meissner <meissner@redhat.com>
8035 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
8036 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
8037 * libc/machine/mips/Makefile.in: Regenerate.
8038 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
8039 * libc/machine/mips/memset.c: Dito.
8040 * libc/machine/mips/strcmp.c: Dito.
8041 * libc/machine/mips/strlen.c: Dito.
8042 * libc/machine/mips/strncmp.c: Dito.
8044 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
8046 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
8047 object so it works for shared library or statici library.
8048 * libc/machine/i386/Makefile.in: Regenerated.
8050 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
8052 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
8053 Add memcpy.S, memset.S and strcpy.S.
8054 * libc/machine/sh/Makefile.in: Regenerate.
8055 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
8056 (SHHI, SHLO): Define.
8057 * libc/machine/sh/memset.S: Add code for SH5.
8058 * libc/machine/sh/memset.S: Likewise.
8059 * libc/machine/sh/strcpy.S: Likewise.
8061 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
8063 * configure.host: Add check for --disable-newlib-io-float
8064 configuration option and add -DNO_FLOATING_POINT to newlib cflags
8066 * acinclude.m4: Added --disable-newlib-io-float option.
8067 * aclocal.m4: Regenerated.
8069 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
8070 * libc/*/aclocal.m4 libc/*/configure
8071 * libm/*/aclocal.m4 libm/*/configure: Ditto.
8072 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
8073 if NO_FLOATING_POINT flag is not defined.
8075 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
8077 * libc/include/sys/config.h: Add __extension__ in front of
8078 long long references.
8080 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8082 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
8085 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
8087 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
8090 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
8092 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
8093 clobbered registers.
8095 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8097 * configure.host (newlib_cflags): When host is in m68* add
8100 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
8102 * libc/include/sys/config.h: Add definitions for
8103 __int16_t, __uint16_t, __int64_t, and __uint64_t.
8105 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
8107 * libc/sys/mmixware/link.c: New.
8108 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
8110 * libc/sys/mmixware/times.c (_times): Renamed from times.
8111 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
8112 properly by reading previous contents, not through BinaryReadWrite.
8113 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
8114 * libc/sys/mmixware/Makefile.in: Regenerate.
8116 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
8118 * libc/include/grp.h: Don't declare group functions when compiling
8121 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
8123 * libc/include/grp.h: Include Cygwin specific header.
8124 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
8125 when compiling for Cygwin.
8126 * libc/include/sys/types.h: Don't define off_t, uid_t
8127 and gid_t when compiling for Cygwin.
8129 2002-02-08 matthew green <mrg@redhat.com>
8131 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
8132 _REENT_EMERGENCY_SIZE, not sizeof(char *).
8134 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
8136 Contribute sh64-elf.
8137 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
8138 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
8140 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
8141 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
8143 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
8144 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
8145 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
8146 * libc/machine/sh/configure.in: Rework conditionals.
8147 * libc/machine/sh/Makefile.am: Likewise.
8148 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
8149 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
8150 * configure.host: Match `sh*'.
8151 * libc/include/machine/setjmp.h: Define for SH5.
8152 * libc/machine/sh/configure.in: Detect SH5.
8153 * libc/machine/sh/configure: Rebuilt.
8154 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
8155 * libc/machine/sh/Makefile.in: Rebuilt.
8156 * libc/machine/sh/asm.h: Adjust for SH5.
8157 * libc/machine/sh/setjmp.S: Implement in SHmedia.
8158 * libc/sys/sh/crt0.S: Likewise.
8159 * libc/sys/sh/trap.S: Likewise.
8161 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
8163 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
8164 (mach_add_obj): Conditionally set to setjmp.o or nothing.
8165 (LIB_SOURCES): Remove $(mach_add_src).
8166 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
8167 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
8168 * libc/machine/i386/Makefile.in: Regenerate.
8170 2002-02-05 Manik Raina <manik@cisco.com>
8172 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
8173 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
8174 s, p, k, and outstr.
8175 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
8177 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
8179 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
8180 _REENT_CHECK_EMERGENCY macro.
8182 2002-02-03 matthew green <mrg@redhat.com>
8184 * libc/reent/signgam.c (__signgam): Fix error in previous.
8186 2002-02-02 matthew green <mrg@redhat.com>
8188 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
8190 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
8191 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
8192 * libc/include/sys/reent.h (struct _reent): Completely new version
8194 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
8195 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
8196 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
8197 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
8198 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
8199 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
8200 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
8201 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
8202 (_REENT_EMERGENCY): Likewise.
8204 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
8205 the start of the real __sFILE, used for stdin, stdout and stderr until
8206 they are setup properly.
8207 (struct __sFILE): Move location of _data in _REENT_SMALL case.
8208 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
8209 allocated stdin, stdout and stderr.
8210 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
8211 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
8212 * libc/stdio/perror.c (_perror_r): Likewise.
8213 * libc/stdio/printf.c (printf, _printf_r): Likewise.
8214 * libc/stdio/putchar.c (_putchar_r): Likewise.
8215 * libc/stdio/puts.c (_puts_r): Likewise.
8216 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
8217 * libc/stdio/vprintf.c (vprintf): Likewise.
8218 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
8220 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
8222 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
8223 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
8225 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
8226 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
8228 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
8230 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
8231 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
8232 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
8233 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
8234 * libc/stdlib/rand48.c (__dorand48): Likewise.
8235 * libc/stdlib/seed48.c (_seed48_r): Likewise.
8236 * libc/stdlib/srand48.c (_srand48_r): Likewise.
8237 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
8238 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
8239 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
8240 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
8241 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
8242 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
8243 * libc/stdlib/rand.c (rand): Likewise.
8245 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
8246 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
8248 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
8249 _REENT_MP_FREELIST() and _REENT_MP_P5S.
8250 * libc/include/sys/reent.h (struct _mprec): New structure.
8252 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
8253 _unused_strtok_last.
8254 * libc/string/strtok.c (strtok): Use a local static variable.
8256 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
8257 (_REENT_EMERGENCY_SIZE): Likewise.
8258 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
8259 _REENT_ASCTIME_BUF().
8260 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
8263 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
8264 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
8265 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
8266 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
8267 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
8268 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
8270 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
8272 * configure.host (xstormy16): Don't use the generic malloc.
8273 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
8274 * libc/machine/xstormy16/Makefile.in: Regenerate.
8275 * libc/machine/xstormy16/mallocr.c: New file.
8276 * libc/machine/xstormy16/tiny-malloc.c: New file.
8278 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
8280 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
8281 when _CYGWIN_TYPES_H is not defined.
8283 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
8285 * libc/include/sys/signal.h: Revert 2002-01-23 change.
8287 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
8289 * libc/include/sys/signal.h: Remove pthread_kill declaration
8290 when __CYGWIN__ is defined.
8292 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
8294 * libc/include/time.h: Add prototype for strptime for Cygwin.
8296 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
8298 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
8299 dst was not word aligned.
8301 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
8302 if too much memory is requested.
8304 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
8306 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
8307 reads blanks from the input file to break if EOF reached
8308 rather than end processing.
8310 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
8312 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
8314 2002-01-07 Alan Matsuoka <alanm@redhat.com>
8316 * libc/include/machine/ieeefp.h: Configure d10v doubles to
8317 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
8318 libc/include/sys/config.h: Ditto.
8320 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
8322 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
8324 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
8325 Catherine Moore <clm@redhat.com>
8326 Richard Henderson <rth@redhat.com>
8327 Corinna Vinschen <vinschen@redhat.com>
8329 * configure.host: Add support for xstormy16.
8330 * libc/include/machine/ieeefp.h: Add support for xstormy16.
8331 * libc/include/machine/setjmp.h: Add support for xstormy16.
8332 * libc/include/sys/config.h: Add support for xstormy16.
8333 * libc/machine/xstormy16/Makefile.am: New file.
8334 * libc/machine/xstormy16/Makefile.in: New file.
8335 * libc/machine/xstormy16/aclocal.m4: New file.
8336 * libc/machine/xstormy16/configure: New file.
8337 * libc/machine/xstormy16/configure.in: New file.
8338 * libc/machine/xstormy16/setjmp.S: New file.
8340 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
8342 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
8343 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
8345 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
8347 * libm/machine/Makefile.am: Change rules to create correct lib.a.
8348 * libm/machine/Makefile.in: Regenerated through automake.
8350 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8352 * Makefile.am (DOCDIR): Force to empty string when doc
8353 directory is not present.
8355 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
8357 * libc/machine/i386/f_*: Move to libm/machine/i386.
8359 2001-12-18 Joel Sherrill <joel@OARcorp.com>
8361 * libm/machine/Makefile.am: Add dummy doc stub so
8364 2001-12-17 Joel Sherrill <joel@OARcorp.com>
8366 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
8368 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
8370 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
8371 $(COMPILE) rather than $(CC).
8372 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
8373 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
8374 $(LIB_COMPILE) change.
8375 (vfiprintf.$(oext)): Likewise.
8377 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
8379 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
8380 conditionalized including of getopt stuff.
8382 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8384 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
8386 (vfiprintf.$(oext)): Likewise.
8388 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8390 * Makefile.shared: New file.
8391 * libc/sys/linux/shared.ld: New file.
8392 * libm/machine/*: New files.
8393 * libm/machine/i386/*: New files.
8394 * Makefile.am: Add libtool support. Change math and mathfp
8395 references to variables.
8396 * configure.host: Add variables for libtool support. Add
8397 libm_machine_dir variable.
8398 * configure.in: Add objectlist variables, for libtool
8399 support. Add CC_FOR_BUILD tests.
8400 * libc/Makefile.am: Add libtool support. Change crt0.o
8401 reference to be a variable reference.
8402 * libc/configure.in: Add libtool support. Change sublib
8403 names to be lib${subdir}.la when using libtool.
8404 * libc/ctype/Makefile.am: Add libtool support.
8405 * libc/errno/Makefile.am: Likewise.
8406 * libc/locale/Makefile.am: Likewise.
8407 * libc/machine/Makefile.am: Likewise.
8408 * libc/machine/configure.in: Likewise.
8409 * libc/machine/i386/Makefile.am: Likewise.
8410 * libc/machine/i386/configure.in: Likewise.
8411 * libc/misc/Makefile.am: Likewise.
8412 * libc/posix/Makefile.am: Likewise.
8413 * libc/reent/Makefile.am: Likewise.
8414 * libc/signal/Makefile.am: Likewise.
8415 * libc/stdio/Makefile.am: Likewise.
8416 * libc/stdlib/Makefile.am: Likewise.
8417 * libc/string/Makefile.am: Likewise.
8418 * libc/sys/Makefile.am: Likewise.
8419 * libc/sys/configure.in: Likewise.
8420 * libc/sys/linux/Makefile.am: Add libtool support. Change
8421 awk reference to a variable reference. Change signal.h
8422 reference to a variable reference.
8423 * libc/sys/linux/configure.in: Add libtool support.
8424 * libc/syscalls/Makefile.am: Likewise.
8425 * libc/time/Makefile.am: Likewise.
8426 * libc/unix/Makefile.am: Likewise.
8427 * libm/Makefile.am: Add libtool support. Change math and
8428 mathfp references to variables.
8429 * libm/configure.in: Add libtool support. Add
8430 LIBM_MACHINE_LIB variable.
8431 * libm/common/Makefile.am: Add libtool support.
8432 * libm/math/Makefile.am: Likewise.
8433 * libm/mathfp/Makefile.am: Likewise.
8434 Regenerate all Makefile.in, aclocal.m4, and configure.
8436 2001-12-13 Anita Kulkarni <anitak@kpit.com>
8438 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
8440 2001-12-06 John Peacock <jpeacock@rowman.com>
8442 * libc/include/sys/unistd.h: Correct ualarm declaration.
8444 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
8446 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
8447 vector before calling the initialisation functions.
8449 2001-11-29 Christopher Faylor <cgf@redhat.com>
8451 * libc/include/dirent.h: Protect against multiple inclusion.
8453 2001-11-27 Christopher Faylor <cgf@redhat.com>
8455 * libc/include/sys/types.h: Define useconds_t.
8456 * libc/include/sys/ulimit.h: Declare ualarm.
8458 2001-11-21 Christopher Faylor <cgf@redhat.com>
8460 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
8462 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
8464 * libc/sys/mmixware/*: Tweak license header in all source files.
8466 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
8468 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
8469 to here. Rearrange for general inclusion by stdlib.h.
8470 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
8472 * libc/sys/linux/include/alloca.h: Move to libc/include.
8474 2001-11-12 Anthony Green <green@redhat.com>
8476 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
8478 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
8480 * libc/sys/mmixware/*: Correct spacing in all source files.
8481 * libc/sys/mmixware/syscall.h: Move misplaced file...
8482 * libc/sys/mmixware/sys/syscall.h: ...here.
8484 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
8486 * libc/include/machine/ieeefp.h: Add support for mmix target.
8487 * libc/include/machine/setjmp.h: Ditto.
8488 * configure.host: Ditto.
8489 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
8490 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
8491 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
8492 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
8493 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
8494 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
8495 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
8496 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
8497 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
8498 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
8499 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
8500 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
8501 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
8502 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
8503 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
8504 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
8505 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
8506 libc/sys/mmixware/aclocal.m4: Generate.
8508 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
8510 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
8511 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
8512 when __CYGWIN__ is defined.
8513 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
8516 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
8518 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
8519 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
8520 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
8521 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
8523 2001-10-24 Christopher Faylor <cgf@redhat.com>
8525 * libc/stdio/fseek.c: Reset pointer to buffer base
8526 when forced to seek outside of current buffer contents.
8527 This prevents the code from erroneously thinking there is
8528 anything in the current buffer.
8530 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
8532 * libc/include/math.h: The C++ standard adds the single-precision
8533 versions of the elementary functions.
8535 2001-10-22 Christopher Faylor <cgf@redhat.com>
8537 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
8539 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
8540 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
8541 * system.c (_system_r): Ditto.
8543 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
8545 * libc/include/sys/unistd.h: Add prototype for fchdir() when
8546 __CYGWIN__ or __rtems__ is defined.
8548 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
8550 * libc/include/stdlib.h: add declarations for
8551 _strtoull_r, _strtoll_r, strtoull, and strtoll.
8552 * libc/stdio/local.h: remove declarations of
8553 __strtoull_r and __strtoll_r.
8554 * libc/stdio/vfscanf.c(__svfscanf_r): call
8555 _strtoull_r instead of __strtoull_r. Ditto
8556 _strtoll_r vs. __strtoll_r.
8557 * libc/stdlib/Makefile.am: add new files to
8558 .c list and .def list
8559 * libc/stdlib/Makefile.in: regenerate
8560 * libc/stdlib/strtoll_r.c: rename __strtoll_r
8562 * libc/stdlib/strtoull_r.c: rename __strtoull_r
8564 * libc/stdlib/strtoull.c: new file
8565 * libc/stdlib/strtoll.c: new file
8567 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
8569 * libc/include/process.h: Add getpid() declaration.
8571 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
8573 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
8574 for new style arm/elf ctor/dtor handling.
8575 Minor formatting tidy up.
8577 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
8579 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
8581 * libc/stdlib/Makefile.in: Regenerated.
8582 * libc/stdlib/strtoll_r.c: New file.
8583 * libc/stdlib/strtoull_r.c: New file.
8584 * libc/stdio/local.h: Add prototypes for long long string
8585 conversion routines.
8586 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
8587 tied to %L integer conversion specifier.
8589 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
8591 * strftime.c (strftime): Fix "%W" implementation to properly handle
8594 2001-09-07 Jeff Law <law@redhat.com>
8596 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
8597 __fini with "mov.l" instead of "mov.w".
8599 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
8601 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
8604 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
8606 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
8608 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
8610 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
8612 (__DIRENT_VERSION): New define.
8614 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
8616 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
8617 Shrink __d_reserved accordingly to keep structure size.
8618 (dirfd): Declare external.
8620 2001-08-29 Joel Sherrill <joel@OARcorp.com>
8622 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
8624 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
8626 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
8627 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
8628 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
8629 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
8630 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
8631 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
8632 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
8633 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
8634 Add conditional compilation to avoid HW FPU instructions
8635 when compiled for soft-float.
8637 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8639 * Makefile.am: Add check for ln failing when creating libg.a
8640 so that cp gets used as a backup.
8641 * Makefile.in: Regenerated.
8643 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
8645 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
8646 No longer include time.h. Add struct __tm to use for
8647 _localtime_buf in the reentrant structure. Add a
8648 _NULL definition to use in initializing the reentrant struct.
8649 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
8650 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
8652 * libc/include/sys/unistd.h: Include <sys/_types.h>.
8653 * libc/time/lcltime.c (localtime): Cast the reentrant struct
8654 _localtime_buf to be struct tm *.
8656 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
8658 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
8659 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
8661 * libc/sys/h8300hms/syscalls.c: Include errno.h.
8662 (_unlink): New stub function.
8664 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
8666 * libc/include/sys/errno.h: Add a cautionary comment.
8668 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
8670 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
8671 for SIZE_SZ so that alignment ends up a minimum of 8.
8673 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
8675 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
8678 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
8681 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
8683 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
8684 macro constants for mallopt options.
8685 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
8687 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
8689 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
8692 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
8694 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
8696 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
8698 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
8699 Define for little endian ARMs.
8701 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
8702 __IEEE_BYTES_LITTLE_ENDIAN is defined.
8704 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
8706 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
8708 2001-06-11 Egor Duda <deo@logos-m.ru>
8710 * libc/ctype/ctype_.c: When compiled with gcc on platforms
8711 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
8712 initialized memory region. Platform can define COMPACT_CTYPE
8713 to avoid allocation of the additional 128 bytes of data.
8714 Add pointer to _ctype_ array. Always initialize all _ctype_
8717 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
8719 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
8722 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
8724 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
8726 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
8728 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
8729 matching, non-word alignment, and the length is <= 4 but more than
8730 enough to move them over a word boundary.
8731 Add comments explaining what each instruction does.
8733 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
8735 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
8736 * libc/include/sys/unistd.h: Ditto.
8738 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
8740 * libc/string/strrchr.c: Use strchr for the speed improvements.
8742 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
8744 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
8745 real file systems, let __smakebuf() determine if line buffering
8746 should be used for stdout.
8748 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
8750 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
8752 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
8754 * libc/include/stdlib.h: Add prototype for _strtod_r.
8756 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
8758 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
8759 * libc/stdio/vprintf.c (_vprintf_r): new function
8760 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
8761 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
8762 _DEFUN, and call _vfprintf_r, not vfprintf.
8763 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
8764 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
8765 _DEFUN, and call _vfprintf_r, not vfprintf.
8767 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
8769 * libc/include/sys/unistd.h [X_OK]: Use better protection against
8770 Cygwin X_OK definitions in sys/file.h.
8772 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
8774 * libc/include/sys/time.h: Define timercmp and other macros for
8777 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
8779 * acinclude.m4: Added --enable-malloc-debugging configure flag.
8780 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
8781 --enable-malloc-debugging selected.
8782 * aclocal.m4 configure: Regenerated.
8783 libm/aclocal.m4 libm/configure: Ditto.
8784 * libc/aclocal.m4 libc/configure: Ditto.
8785 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
8786 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
8787 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
8788 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
8789 * doc/aclocal.m4 doc/configure: Ditto.
8791 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
8793 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
8795 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
8796 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
8797 function prototypes.
8798 (_fscanf_r, _sscanf_r): Ditto.
8799 * libc/include/stdlib.h: Added _strtod_r prototype.
8800 * libc/stdio/Makefile.am: Add new v*scanf functions.
8801 * libc/stdio/Makefile.in: Regenerate.
8802 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
8803 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
8804 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
8805 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
8806 (sscanf): Changed to call __svfscanf_r with _REENT argument.
8807 (_sscanf_r): New routine.
8808 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
8809 with __svfscanf_r prototype.
8810 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
8812 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
8813 structure as argument as calls reentrant versions of helper functions
8814 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
8815 to _strtol_r and _strtod_r respectively.
8816 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
8817 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
8819 * libc/stdio/vscanf.c: New file.
8820 * libc/stdio/vsscanf.c: Ditto.
8822 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
8824 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
8825 Define daylight to _daylight if it is not defined
8826 Prepare a variable export of timezone based on timezonevariable.
8827 (Cannot be used with the timezone() function.)
8829 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
8831 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
8832 Correct the numerical values.
8834 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
8836 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
8838 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
8840 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
8841 on case insensitve file systems.
8843 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
8845 * libc/include/sys/features.h: Add appropriate defines for Cygwin
8847 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
8848 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
8849 types. Include <cygwin/types.h> for the cygwin specific typedefs.
8851 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
8853 * libc/include/machine/ieeefp.h: Comment about new configuration
8854 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
8855 * libm/common/fdlib.h: Define new macros for testing floats.
8856 * libm/common/sf_*: Use them.
8857 * libm/math/ef_*: Likewise.
8858 * libm/math/sf_*: Likewise.
8860 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
8862 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
8863 prolog to by-pass possible assembler error.
8865 2001-03-21 Egor Duda <deo@logos-m.ru>
8867 Allow building internal stubs for non-reentrant syscalls
8868 if target provides its own malloc
8869 * libc/reent/reent.c (errno): Move definition here.
8870 * libc/reent/sbrkr.c: From here.
8872 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
8874 * libc/include/sys/types.h (BSD int typedefs): Guard with
8875 _BSDTYPES_DEFINED rather than _WINSOCK_H.
8876 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
8878 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
8879 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
8881 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
8883 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
8884 _PC_POSIX_SECURITY constants for Cygwin.
8886 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
8888 * libc/sys/cygwin/crt0.c: Add copyright hint.
8889 * libc/sys/cygwin/sys/dirent.h: Ditto.
8890 * libc/sys/cygwin/sys/param.h: Ditto.
8891 * libc/sys/cygwin/sys/utime.h: Ditto.
8892 * libc/sys/cygwin/sys/utmp.h: Ditto.
8894 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
8896 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
8897 equivalent to LONGINT.
8899 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
8901 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
8902 jmpbuf on MIPS64 targets.
8903 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
8905 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
8907 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
8910 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
8912 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
8913 For RTEMS, define to be ssize_t. Default to int if not defined.
8914 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
8915 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
8916 * libc/stdio/local.h (__sread, __swrite): Likewise.
8917 * libc/include/sys/reent.h (_read, _write): Likewise.
8918 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
8919 * libc/syscalls/sysread.c (read): Likewise.
8920 * libc/syscalls/syswrite.c (write): Likewise.
8922 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
8924 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
8926 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
8928 * libc/include/sys/stat.h: Use special defines for executable stat bits
8929 when compiling for Cygwin.
8930 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
8933 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8935 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
8936 of strtok_r is always defined.
8938 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
8940 * libc/include/machine/ansi.h: New dummy header file.
8942 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
8944 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
8945 changed the copyright information to allow free modification of the
8946 file with no reference to "copying.dj".
8947 * libc/include/sys/stat-dj.h: Ditto.
8948 * libc/machine/i386/setjmp.S: Ditto.
8949 * libc/sys/h8300hms/sys/file.h: Ditto.
8950 * libc/sys/sysmec/access.c: Ditto.
8951 * libc/sys/sysnecv850/access.c: Ditto.
8952 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
8953 * libc/stdlib/getenv_r.c: Ditto.
8954 * libc/stdlib/putenv_r.c: Ditto.
8955 * libc/stdlib/setenv_r.c: Ditto.
8956 * libc/stdlib/getenv.c: Removed DJ reference since any possible
8957 modifications will now be in the _r version of this file.
8958 * libc/stdlib/putenv.c: Ditto.
8959 * libc/stdlib/setenv.c: Ditto.
8960 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
8961 valid. Added a reference to DJ's web page that contains his address.
8962 * libc/sys/go32/*.s: Removed references to DJ's old address.
8963 * libc/sys/go32/*.c: Ditto.
8964 * libc/sys/go32/*.h: Ditto.
8965 * libc/sys/go32/*.S: Ditto.
8966 * libc/sys/go32/sys/*.h: Ditto.
8968 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
8970 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
8971 HAVE_FCNTL flag check.
8972 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
8973 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
8975 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
8977 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
8979 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
8981 * libc/include/stdlib.h: Add declarations of rand48 functions and
8982 their reentrant versions.
8983 * libc/include/sys/reent.h: Move macros from rand48.h. Add
8984 struct _rand48 for shared parameters of rand48 functions.
8985 (struct _reent): Add a variable _r48 of struct _rand48.
8986 (_REENT_INIT): Add _r48 initialization.
8987 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
8988 (CHEWOUT_FILES): Add rand48.def.
8989 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
8990 * libc/stdlib/Makefile.in: Regenerated.
8991 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
8993 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
8994 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
8995 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
8996 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
8997 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
8998 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
8999 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
9000 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
9001 * libc/stdlib/rand48.c (__dorand48): Ditto.
9002 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
9003 parameters into macros referring them in the reentrant structure.
9005 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
9007 * libc/include/sys/stat.h: Add mknod for Cygwin now that
9008 Cygwin definition has correct prototype.
9010 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9012 * libc/include/sys/stat.h: Must revert change for mknod
9013 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
9016 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
9018 * libc/include/stdio.h: Revert putw prototype.
9020 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
9022 * libc/include/grp.h: add prototype for initgroups.
9023 * libc/include/stdio.h: fix prototype for putw.
9024 * libc/include/sys/signal.h: add prototype for killpg.
9025 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
9026 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
9027 vhangup and remove duplicate sysconf prototype.
9029 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
9031 * libc/sys/rtems/sys/types.h: Removed.
9033 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
9035 * libc/include/locale.h: add LC_MESSAGES definition
9037 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
9039 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
9041 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
9042 __setup_argv_and_call_main): New.
9044 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
9046 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
9048 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
9049 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
9050 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
9051 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
9053 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
9055 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
9056 compiling under Cygwin.
9058 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
9060 * libc/include/math.h (signgam): Change to errno-like solution
9061 using a function to return the address of the real signgam.
9062 * libc/reent/signgam.c: New file containing __signgam().
9063 * libc/reent/Makefile.am: Added signgam.c to list of files.
9064 * libc/reent/Makefile.in: Regenerated.
9066 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
9068 * libc/sys/sh/syscalls.c (_times): New.
9070 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
9071 * libc/sys/sh/syscalls.c (_gettimeofday): New.
9073 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9075 * libc/include/math.h (signgam): Regress previous fix as
9076 it does not handle programs with extern int signgam in them.
9078 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9080 * libc/include/math.h (signgam): Changed to a macro refering to
9081 its location in the reentrant structure.
9083 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
9085 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
9086 that suppressed . for %.0f, 0.1. Check now looks if there
9087 are padding zeroes (expt) in addition to any digits (ndig) to
9090 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
9092 * libc/sys/arc/Makefile.am: New file.
9093 * libc/sys/arc/Makefile.in: Ditto.
9094 * libc/sys/arc/aclocal.m4: Ditto.
9095 * libc/sys/arc/configure: Ditto.
9096 * libc/sys/arc/configure.in: Ditto.
9097 * libc/sys/arc/crt0.S: Ditto.
9098 * libc/sys/arc/isatty.c: Ditto.
9099 * libc/sys/arc/mem-layout.c: Ditto.
9100 * libc/sys/arc/sbrk.c: Ditto.
9101 * libc/sys/arc/syscalls.c: Ditto.
9102 * libc/sys/arc/sys/syscall.h: Ditto.
9104 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
9106 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
9108 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
9110 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
9112 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
9114 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
9116 2001-01-09 Nick Clifton <nickc@redhat.com>
9118 * configure.host (v859): Remove unsupported compiler options.
9120 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
9122 * src/newlib/configure.host (*-*-rtems*): add printf long long
9125 2000-12-19 Graham Stott <grahams@redhat.com>
9127 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
9129 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9131 * configure.host: Turn on long double I/O for Cygwin.
9133 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
9135 * MAINTAINERS: Removed Ranjith.
9136 * NEWS: Updated for 1.9.0.
9138 * acinclude.m4: Updated to release 1.9.0.
9139 * aclocal.m4 configure
9140 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
9141 libc/machine/aclocal.m4 libc/machine/configure
9142 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
9143 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
9144 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
9145 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
9146 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
9147 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
9148 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
9149 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
9150 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
9151 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
9152 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
9153 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
9154 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
9155 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
9156 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
9157 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
9158 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
9159 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
9160 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
9161 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
9162 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
9163 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
9164 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
9165 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
9166 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
9167 libc/sys/aclocal.m4 libc/sys/configure
9168 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9169 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9170 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9171 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9172 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9173 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9174 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9175 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9176 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
9177 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9178 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9179 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9180 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9181 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9182 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9183 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9184 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9185 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9186 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9187 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9188 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9189 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9190 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9191 libm/aclocal.m4 libm/configure: Regenerated.
9193 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9195 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
9196 when __CYGWIN__ is defined.
9198 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9200 * libc/stdlib/ldtoa.c (_ldcheck): New routine
9201 that categorizes a long double as NaN, Infinity, or other.
9202 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
9203 isinfl and isnanl static routines which were i386-specific. Changed
9204 calls to the two removed routines to a single _ldcheck call.
9205 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
9207 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
9209 * Makefile.am: Fixed install-data-local target to use
9210 $(mkinstalldirs) for the installed header files to ensure
9211 the directories exist before copying.
9212 * Makefile.in: Regenerated.
9214 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
9216 * libc/include/sys/unistd.h: Restored Cygwin _SC
9217 constants and moved new constants appropriately
9218 so Cygwin will build.
9220 2000-12-11 Joel Sherrill <joel@OARcorp.com>
9222 * Merge RTEMS specific .h files into main libc/include.
9223 * libc/sys/rtems/include/signal.h: Removed.
9224 * libc/sys/rtems/include/time.h: Removed.
9225 * libc/sys/rtems/sys/features.h: Removed.
9226 * libc/sys/rtems/sys/sched.h: Removed.
9227 * libc/sys/rtems/sys/siginfo.h: Removed.
9228 * libc/sys/rtems/sys/signal.h: Removed.
9229 * libc/sys/rtems/sys/time.h: Removed.
9230 * libc/sys/rtems/sys/times.h: Removed.
9231 definitions for time_t and clock_t since these are
9232 no longer in time.h.
9233 * libc/include/pthread.h: New file.
9234 * libc/include/sys/sched.h: New file.
9235 * libc/include/sys/features.h: New file.
9236 * libc/include/time.h: Removed duplicate definition of clock_t
9237 and time_t, get them from <sys/types.h> instead. Add prototypes
9238 for POSIX clock and timer functionality.
9239 * libc/sys/linux/sys/types.h: Changed to include
9240 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
9241 * libc/include/sys/signal.h: Add more complete set of POSIX
9242 signal functionality including real-time and threaded signals.
9243 * libc/include/sys/types.h: Add clock_t, time_t, struct
9244 timespec, and struct itimerspec. Centralizing these makes
9245 things cleaner. RTEMS uses 64-bit dev_t.
9246 Added numerous primitive definitions
9247 for pthreads including macros, pthread_attr_t,
9248 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
9249 pthread_once_t, and pthread_t.
9250 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
9251 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
9252 Feature flags removed and moved to new file <sys/features.h>.
9253 Full set of POSIX sysconf() constants
9255 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
9257 * configure.host: Added x86 linux target.
9258 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
9259 definitions provided if not already defined.
9260 * libc/sys/linux/crt0.c: New file.
9261 * libc/sys/linux/Makefile.am: Ditto.
9262 * libc/sys/linux/Makefile.in: Ditto.
9263 * libc/sys/linux/aclocal.m4: Ditto.
9264 * libc/sys/linux/brk.c: Ditto.
9265 * libc/sys/linux/configure: Ditto.
9266 * libc/sys/linux/configure.in: Ditto.
9267 * libc/sys/linux/getoptlong.c: Ditto.
9268 * libc/sys/linux/ids.c: Ditto.
9269 * libc/sys/linux/inode.c: Ditto.
9270 * libc/sys/linux/io.c: Ditto.
9271 * libc/sys/linux/linux.c: Ditto.
9272 * libc/sys/linux/process.c: Ditto.
9273 * libc/sys/linux/realpath.c: Ditto.
9274 * libc/sys/linux/select.c: Ditto.
9275 * libc/sys/linux/signal.c: Ditto.
9276 * libc/sys/linux/systat.c: Ditto.
9277 * libc/sys/linux/termios.c: Ditto.
9278 * libc/sys/linux/time.c: Ditto.
9279 * libc/sys/linux/wait.c: Ditto.
9280 * libc/sys/linux/include/alloca.h: Ditto.
9281 * libc/sys/linux/include/getopt.h: Ditto.
9282 * libc/sys/linux/include/stdint.h: Ditto.
9283 * libc/sys/linux/include/unistd.h: Ditto.
9284 * libc/sys/linux/sys/cdefs.h: Ditto.
9285 * libc/sys/linux/sys/dirent.h: Ditto.
9286 * libc/sys/linux/sys/errno.h: Ditto.
9287 * libc/sys/linux/sys/fcntl.h: Ditto.
9288 * libc/sys/linux/sys/file.h: Ditto.
9289 * libc/sys/linux/sys/ioctl.h: Ditto.
9290 * libc/sys/linux/sys/resource.h: Ditto.
9291 * libc/sys/linux/sys/signal.h: Ditto.
9292 * libc/sys/linux/sys/stat.h: Ditto.
9293 * libc/sys/linux/sys/syscall.h: Ditto.
9294 * libc/sys/linux/sys/termios.h: Ditto.
9295 * libc/sys/linux/sys/time.h: Ditto.
9296 * libc/sys/linux/sys/types.h: Ditto.
9297 * libc/sys/linux/sys/utmp.h: Ditto.
9298 * libc/sys/linux/sys/utsname.h: Ditto.
9299 * libc/sys/linux/sys/wait.h: Ditto.
9301 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
9303 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
9304 can be a relative path to $(top_srcdir)/install.sh so ensure the
9305 autoconf detected settings are properly passed recursively.
9306 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
9307 properly to subdirectories.
9308 * Makefile.in: Regenerated.
9310 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
9312 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
9313 a floating point register unless really printing a floating
9316 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
9318 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
9320 (asctoeg): Replaced alloca call with stack array and malloc
9321 when storage exceeds reasonable limit.
9322 (e53toe): Fixed einfin calls missing ldp parameter.
9323 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
9325 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9328 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
9330 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
9332 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
9333 * libc/stdlib/Makefile.in: Regenerated.
9334 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
9335 * libc/stdio/vfieeefp.h: Added long double bit structures.
9336 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
9337 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
9338 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
9339 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
9340 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
9341 _strtold routines used for conversions between character
9344 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9346 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
9348 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9350 * libc/include/machine/time.h: RTEMS systems can configure clock
9351 tick rate so use sysconf() to ask.
9353 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9355 * libc/include/sys/times.h: Add reference to POSIX standard.
9357 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9359 * libc/include/sys/time.h: Added BSD timer manipulation macros
9362 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9364 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
9365 referenced by code generated by gcc 2.8.1.
9366 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
9369 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9371 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
9373 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9375 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
9377 2000-12-04 Joel Sherrill <joel@OARcorp.com>
9379 * configure.host (or16, or32): New entries for OpenCores
9381 (*-*-rtems*): Add -DNO_EXEC.
9383 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
9385 * libc/include/sys/errno.h: Added comments on many error numbers.
9386 * libc/string/strerror.c: Added some more strings.
9388 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
9390 * libc/sys/sh/syscalls.c (_link): New stub.
9392 2000-11-29 Nick Clifton <nickc@redhat.com>
9394 * configure.host: Add xscale target.
9395 * libc/machine/xscale: New directory.
9396 * libc/machine/xscale/Makefile.am: New file.
9397 * libc/machine/xscale/Makefile.in: New file.
9398 * libc/machine/xscale/aclocal.m4: New file.
9399 * libc/machine/xscale/configure: New file.
9400 * libc/machine/xscale/configure.in: New file.
9401 * libc/machine/xscale/memchr.S: New file.
9402 * libc/machine/xscale/memcmp.S: New file.
9403 * libc/machine/xscale/memcpy.S: New file.
9404 * libc/machine/xscale/memmove.S: New file.
9405 * libc/machine/xscale/memset.S: New file.
9406 * libc/machine/xscale/strchr.S: New file.
9407 * libc/machine/xscale/strcmp.S: New file.
9408 * libc/machine/xscale/strcpy.S: New file.
9409 * libc/machine/xscale/strlen.S: New file.
9411 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9413 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
9414 avoid compiler warnings.
9416 2000-11-22 Michael Meissner <meissner@redhat.com>
9418 * libc/posix/execl.c (execl): Don't reference environ directly,
9419 reference it only via a static pointer to avoid problems with some
9420 shared library systems and with different uses of small data where
9421 the user specifies his own version of environ.
9422 * libc/posix/execv.c (execv): Ditto.
9423 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
9424 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
9425 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
9427 * libc/stdlib/getenv.c (environ): Delete unused reference to
9430 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
9432 * libc/stdlib/system.c: Ditto.
9434 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
9436 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
9437 including windows headers.
9439 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
9441 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
9442 * libc/include/dirent.h: Added definition of MAXNAMLEN if
9443 not defined by sys/dirent.h.
9444 * libc/posix/execvp.c: Added include of dirent.h to get
9445 MAXNAMLEN value which used to be in unistd.h.
9447 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9449 * libc/include/sys/types.h: Change type of i to `size_t' in
9450 FD_ZERO macro to avoid compiler warnings.
9452 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
9454 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
9455 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
9457 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
9459 * libc/include/sys/unistd.h: Add defines for sysconf values
9460 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
9463 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
9465 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
9466 declarations for __CYGWIN__.
9468 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
9470 * libc/signal/signal.c (__sigtramp_r): ISO C requires
9471 case labels to be integral constant expressions, so
9472 use an if/else tree instead.
9473 (_raise_r): Likewise.
9475 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
9477 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
9478 clipping patch from e-mail reader.
9480 2000-09-13 Will Cohen <wcohen@redhat.com>
9482 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
9483 Added return value 0.
9484 (_longjmp): Allow longjmp to return value of second argument
9487 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
9489 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
9490 inline code to prevent having to include another header file.
9492 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
9494 * Makefile.am: Fix space vs. tab problem in install-data-local.
9495 * Makefile.in: Regenerate.
9497 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
9499 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
9500 (_EXPARM): New macro for defining a function parameter.
9501 * libc/include/stdlib.h: Use _EXPARM.
9502 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
9504 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
9506 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
9507 required, as documented in the gnu coding standards.
9508 * Makefile.in: Regenerate.
9510 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
9512 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
9513 make O_NDELAY and O_NONBLOCK have the same value.
9515 2000-08-30 Kazu Hirata <kazu@hxi.com>
9517 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
9519 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
9521 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
9522 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
9523 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
9526 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
9528 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
9529 * libc/include/string.h: Don't include <sys/types.h>,
9530 as it causes really bad namespace pollution. Don't declare
9531 swab(), it is properly declared in unistd.h.
9533 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
9535 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
9536 (broken) support for non-existent /etc/passwd field "comment".
9538 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9540 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
9541 only if _DIRENT_HAVE_D_NAMLEN is defined.
9542 (alphasort): aligned prototype with
9543 libc/sys/cygwin/sys/dirent.h and simplified function body.
9544 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
9545 long telldir (DIR *) as mentioned in annex B of POSIX.1
9547 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
9549 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
9550 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
9551 Added __CLI and __STI macros (controlled via
9552 _I386MACH_ALLOW_HW_INTERRUPTS macro).
9553 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
9554 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
9555 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
9556 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
9557 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
9558 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
9559 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
9560 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
9561 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
9562 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
9563 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
9564 for all global entry points.
9565 * libc/machine/i386/setjmp.S: removed code replicated in
9566 libc/machine/i386/i386mach.h and included i386mach.h instead;
9567 Use __CLI and __STI instead of cli and sti.
9569 2000-08-25 DJ Delorie <dj@redhat.com>
9571 * libc/include/sys/unistd.h (environ): this one isn't from the
9574 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
9576 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
9577 environ when compiling under cygwin since it is already declared in
9580 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9582 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
9583 like x << y-z to the equivalent x << (y-z).
9584 (d2b): changed if statements with assignment to perform the
9585 assignment prior to the if check.
9586 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
9587 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
9588 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
9589 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
9591 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
9592 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
9594 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
9596 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
9597 clarify && and || precendence (and to remove pascalism).
9598 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
9599 * libm/math/s_infconst.c: added another pair of braces to all
9600 initializers for __infinity (need three: for __infinity[1] array,
9601 for union __dmath, and for i[2]).
9603 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9605 * libc/stdlib/abort.c: changed description: uses "raise" instead of
9606 "getpid" and "kill"; added: uses "write" and "_exit".
9607 Also included unistd.h for "_exit" prototype.
9608 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
9609 reent.h for "_fork_r" and "_wait_r" prototypes.
9610 (do_system): changed extern char *environ[] to POSIX-friendly
9611 extern char **environ.
9612 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
9614 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
9615 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
9616 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
9617 * libc/reent/openr.c: included fcntl.h for "open" prototype.
9618 * libc/reent/signalr.c: included signal.h for "kill" prototype,
9619 unistd.h for "getpid" prototype.
9620 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
9621 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
9622 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
9623 prototype. Also included stdlib.h for "abort", string.h for
9624 "strdup" and "strncmp" prototypes.
9625 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
9626 "strncpy", unistd.h for "read" and "close" prototypes.
9627 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
9628 "strcat" prototypes.
9630 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
9632 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
9633 used later (ifdef __SCLE)
9634 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
9635 used later (ifdef MB_CAPABLE)
9636 * libc/string/memset.c (memset): removed unused variables "count"
9637 and "unaligned_addr"
9638 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
9639 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
9640 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
9643 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
9645 * libc/stdlib/envlock.c: changed documented "__env_lock" and
9646 "__env_unlock" prototype from "void *" or "char *" to
9647 "struct _reent *" to match real function. Also added include
9649 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
9650 "__malloc_unlock" prototype from "void *" or "char *" to
9651 "struct _reent *" to match real function.
9652 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
9653 prototypes (for getenv_r.c and setenv_r.c).
9655 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
9657 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
9658 and prototype in cygwin's utmp.h
9660 2000-08-16 Eric Fifer <efifer@sanwaint.com>
9662 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
9664 2000-08-09 Nick Clifton <nickc@cygnus.com>
9666 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
9667 epilogue and to allow the functions to be used in a Thumb based
9670 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
9672 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
9673 so size of 0 results in nothing being written to string.
9674 Also fixed code so that when size is non-zero, there is only
9675 a maximum of size - 1 characters written to the array and
9676 a nul terminator is appended at the end.
9677 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
9679 2000-08-01 DJ Delorie <dj@redhat.com>
9681 * libc/include/sys/config.h: define __IMPORT appropriately
9682 * libc/include/ctype.h (_ctype_): use __IMPORT
9683 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
9684 * libc/include/math.h (__mb_cur_max): ditto
9685 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
9686 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
9687 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
9688 * libc/include/unistd.h (environ): ditto
9690 2000-07-28 Michael Meissner <meissner@redhat.com>
9692 * libc/include/math.h (__infinity): Declare as an array without
9693 bounds to get around small data support. Rewrite Cygwin support
9695 * libm/math/s_infconst.c (__infinity): Ditto.
9696 * libm/mathfp/s_infconst.c (__infinity): Ditto.
9698 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
9700 * libc/include/math.h: Use appropriate dll import linkage for
9701 __infinity under Cygwin.
9703 2000-07-13 DJ Delorie <dj@cygnus.com>
9705 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
9707 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
9709 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
9710 to argument list for AngelSWI_Reason_GetCmdLine.
9712 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9714 * configure.host: Add support for AVR target.
9715 * libc/include/machine/ieeefp.h: Likewise.
9716 * libc/include/sys/config.h: Likewise.
9718 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
9720 * README: Newlib 1.8.2 must be built in a separate directory
9723 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9725 * libc/include/sys/reent.h (_rand_next): Added __extension__
9726 qualifier as long long type is not strict ANSI.
9727 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
9728 to long long constant.
9730 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
9732 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
9733 `setegid' provided by Cygwin.
9735 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
9737 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
9740 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9742 * libc/include/sys/reent.h (_rand_next): Changed to
9743 unsigned long long and moved to end of _reent struct in _new union.
9744 (_REENT_INIT): Changed to move _rand_next initialization.
9745 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
9746 linear congruential algorithm that is used by DJGPP.
9748 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
9750 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
9751 * libc/include/sys/config.h: Define __RAND_MAX.
9753 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9755 * libc/stdlib/rand_r.c: New algorithm that meets minimal
9758 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
9760 * libc/include/string.h: Work around problem with strsignal and gdb.
9762 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
9764 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
9765 * libc/include/malloc.h: Ditto.
9766 * libc/include/process.h: Ditto.
9767 * libc/include/stdio.h: Ditto.
9768 * libc/include/stdlib.h: Ditto.
9769 * libc/include/time.h: Ditto.
9770 * libc/include/machine/setjmp.h: Ditto.
9771 * libc/include/sys/errno.h: Ditto.
9772 * libc/include/sys/signal.h: Ditto.
9773 * libc/include/sys/stat.h: Ditto.
9774 * libc/include/sys/time.h: Ditto.
9775 * libc/include/sys/unistd.h: Ditto.
9776 * libc/include/string.h: Ditto. strsignal should return a const char *.
9778 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
9780 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
9781 * libm/common/s_log1p.c (log1p): Likewise.
9782 * libm/common/s_scalbn.c (scalbn): Likewise.
9783 * libm/math/e_log.c: Likewise.
9784 * libm/math/e_asin.c: Likewise.
9785 * libm/math/ef_asin.c: Likewise.
9786 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
9787 * libm/math/e_j1.c (pone, qone): Likewise.
9788 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
9789 * libm/math/ef_j1.c (ponef, qonef): Likewise.
9790 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
9791 * libm/mathfp/e_j1.c (pone, qone): Likewise.
9792 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
9793 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
9795 2000-05-19 DJ Delorie <dj@cygnus.com>
9797 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
9798 (__sread): always read in binary mode
9799 (__swrite): always write in binary mode
9800 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
9801 compatibility issues with different dll versions
9802 * libc/stdio/fopen.c: use __stextmode
9803 * libc/stdio/fdopen.c: ditto
9804 * libc/stdio/freopen.c: ditto
9805 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
9806 * libc/stdio/local.h: declare __stextmode
9808 2000-05-18 DJ Delorie <dj@cygnus.com>
9810 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
9812 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9814 * libc/include/ctype.h: Changed tolower and toupper macros
9815 to use __extension__ to prevent pedantic warnings.
9817 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
9819 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
9822 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
9824 * libc/include/machine/ieeefp.h: Add ia64 support.
9825 * configure.host: Likewise.
9827 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
9829 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
9830 month is now padded with space, not zero. This now conforms to
9833 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
9835 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
9836 host or network path") used by cygwin. Add some comments.
9838 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
9840 * libc/include/stdio.h (FILE): define __SCLE for "convert line
9841 endings" for Cygwin.
9842 (__sgetc): convert line endings if needed
9844 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
9845 * libc/stdio/fopen.c (_fopen_r): ditto
9846 * libc/stdio/freopen.c (freopen): ditto
9847 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
9848 * libc/stdio/fvwrite.c (__sfvwrite): ditto
9850 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
9852 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
9853 post-increment when it is worth it, spacewise.
9855 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9857 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
9858 * libc/stdio/findfp.c (std): Added declaration of flags and file.
9859 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
9861 * libc/stdio/putchar.c (putchar): Added return statement.
9862 * libc/stdio/refill.c (lflush): Added correct parentheses.
9863 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
9864 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
9865 prints long value to use l qualifier.
9866 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
9867 messages and initialized local values: ilim, ilim1, and spec_case.
9868 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
9869 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
9870 * libc/stdlib/mprec.c: Ditto.
9871 * libc/stdlib/setenv_r.c: Ditto.
9872 * libc/stdlib/strtod.c: Ditto.
9873 * libc/stdlib/strtol.c: Ditto.
9874 * libc/stdlib/strtoul.c: Ditto.
9875 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
9876 * libm/common/sf_log1p.c: Ditto.
9877 * libm/common/sf_scalbn.c: Ditto.
9878 * libm/math/ef_log.c: Ditto.
9880 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
9882 * libc/posix/execvp.c (execvp): Check path for
9885 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
9887 * libc/include/sys/unistd.h: Add prototypes for
9888 fchmod, fchown, lchown.
9890 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9892 * acinclude.m4: Changed release to 1.8.2.
9893 * aclocal.m4 configure doc/aclocal.m4 doc/configure
9894 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
9895 libc/machine/configure libc/machine/a29k/aclocal.m4
9896 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
9897 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
9898 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
9899 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
9900 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
9901 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
9902 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
9903 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
9904 libc/machine/i386/configure libc/machine/i960/aclocal.m4
9905 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
9906 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
9907 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
9908 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
9909 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
9910 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
9911 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
9912 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
9913 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
9914 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
9915 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
9916 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
9917 libc/machine/v850/configure libc/machine/w65/aclocal.m4
9918 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
9919 libc/machine/z8k/configure libc/sys/aclocal.m4
9920 libc/sys/aclocal.m4 libc/sys/configure
9921 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
9922 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
9923 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
9924 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
9925 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
9926 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
9927 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
9928 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
9929 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
9930 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
9931 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
9932 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
9933 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
9934 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
9935 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
9936 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
9937 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
9938 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
9939 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
9940 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
9941 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
9942 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
9943 libm/aclocal.m4 libm/configure: Regenerated.
9945 2000-03-24 Nick Clifton <nickc@cygnus.com>
9947 * libc/sys/arm/syscalls.c: Fix compile time warnings.
9948 (do_AngelSWI): Add "cc" to list o registers clobbered.
9950 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
9952 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
9953 information to be clobbered by an Angel C library support syscall.
9955 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9957 * libc/stdlib/envlock.c: Fixed comment typo.
9959 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
9961 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
9962 code to update nread as each character is processed instead
9963 of using buffer contents which throw away leading zeroes.
9965 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
9967 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
9969 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
9971 * libc/include/string.h: Include <sys/types.h>.
9973 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9975 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
9976 with XSH5, not SVID.
9978 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9980 * libc/include/string.h: Changed last argument back to ssize_t
9981 to make it compatible with XPG4 definition which is
9982 defined in <unistd.h>. There is a conflict in the SVID 3
9983 and XPG4 definitions and newlib will settle with XPG4.
9984 * libc/string/swab.c: Ditto.
9986 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
9988 * libc/include/string.h: Changed last argument to size_t.
9989 * libc/string/swab.c: Changed last argument to size_t.
9991 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9993 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
9994 (CHEWOUT_FILES): Added unlinkr.def.
9995 * libc/reent/Makefile.in: Rebuilt.
9996 * libc/sys.tex: Include unlinkr.def.
9997 * libc/reent/linkr.c (_unlink_r): Moved to...
9998 * libc/reent/unlinkr.c: ... new file.
10000 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10002 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
10003 (CHEWOUT_FILES): Added swab.def.
10004 * libc/string/Makefile.in: Rebuilt.
10005 * libc/string/string.tex: Include swab.def.
10006 * libc/include/string.h (swab): Declare.
10007 * libc/string/swab.c: New file.
10009 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10011 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
10012 (CHEWOUT_FILES): Added getw.def and putw.def.
10013 * libc/stdio/Makefile.in: Rebuilt.
10014 * libc/stdio/stdio.tex: Include getw.def and putw.def.
10015 * libc/stdio/getw.c: New file.
10016 * libc/stdio/putw.c: New file.
10018 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10020 * libc/stdio/flags.c (__sflags): Added check that mode[1]
10021 is non-null before looking at mode[2].
10023 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10025 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
10026 * libm/mathfp/sf_atan.c: Ditto.
10028 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
10030 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
10032 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
10034 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
10037 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
10039 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
10040 call prior to calling _VFPRINTF_R so reentrant data area is set.
10041 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
10043 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10045 * libc/stdio/vfscanf.c (limits.h): #include.
10046 (MAX_LONG_LEN): #define.
10047 (__svfscanf): Handle floating point numbers with arbitrary amounts
10050 2000-02-15 Nick Clifton <nickc@cygnus.com>
10052 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
10053 zero. Set the blocksize to 1024/
10055 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
10057 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
10058 with line buffering.
10060 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
10062 * acinclude.m4: Changed include directory for winsup headers.
10063 * aclocal.m4 configure libc/aclocal.m4
10064 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
10065 libc/locale/Makefile.in libc/machine/aclocal.m4
10066 libc/machine/configure libc/machine/a29k/aclocal.m4
10067 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
10068 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
10069 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
10070 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
10071 libc/machine/fr30/configure
10072 libc/machine/h8300/aclocal.m4
10073 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
10074 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
10075 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
10076 libc/machine/i386/configure libc/machine/i960/aclocal.m4
10077 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
10078 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
10079 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
10080 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
10081 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
10082 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
10083 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
10084 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
10085 libc/machine/powerpc/configure
10086 libc/machine/sh/aclocal.m4
10087 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
10088 libc/machine/sparc/configure
10089 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
10090 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
10091 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
10092 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
10093 libc/misc/Makefile.in libc/posix/Makefile.in
10094 libc/reent/Makefile.in
10095 libc/signal/Makefile.in
10096 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
10097 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
10098 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
10099 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
10100 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
10101 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
10102 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
10103 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
10104 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
10105 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
10106 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
10107 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
10108 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
10109 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
10110 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
10111 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
10112 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
10113 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
10114 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
10115 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
10116 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
10117 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
10118 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
10119 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
10120 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
10121 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
10122 libm/configure: Regenerated.
10124 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
10126 * libc/stdlib/putenv_r.c (_putenv_r): New file.
10127 * libc/stdlib/strdup_r.c (_strdup_r): New file.
10128 * libc/include/string.h: Added _strdup_r.
10129 * libc/stdlib/putenv.c: Added call to reentrant version.
10130 * libc/stdlib/strdup.c: Ditto.
10131 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
10132 * libc/include/stdlib.h: Ditto.
10133 * libc/stdlib/Makefile.in: Regenerated.
10134 * libc/string/Makefile.in: Regenerated.
10135 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
10136 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
10137 management calls to reentrant versions.
10138 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
10139 * libc/stdlib/wctomb.c: Ditto.
10140 * libc/stdlib/mblen.c: Ditto.
10141 * libc/stdlib/mbstowcs.c: Ditto.
10142 * libc/stdlib/mbtowc.c: Ditto.
10143 * libc/stdlib/getenv.c: Ditto.
10144 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
10147 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
10149 patch from Corinna Vinschen <corinna@vinschen.de>
10150 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
10152 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
10154 * libm/mathfp/s_atangent.c: Fix exponent calculation.
10155 * libm/mathfp/s_ldexp.c: Ditto.
10156 * libm/mathfp/sf_atangent.c: Ditto.
10157 * libm/mathfp/sf_ldexp.c: Ditto.
10159 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10161 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
10162 * libc/include/locale.h: define NULL to be 0.
10164 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
10166 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
10169 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
10171 * libc/machine/mn10300/setjmp.S: Handle am33.
10173 1999-11-26 Nick Clifton <nickc@cygnus.com>
10175 * libc/sys/arm/syscalls.c: Add function prototypes.
10176 (stack_ptr): Move declaration before function definitions.
10178 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10180 * NEWS: Updated version information.
10183 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
10185 * libc/machine/i386/strchr.S: Fixed alignment test.
10187 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
10189 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
10191 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
10193 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
10194 ensuring that there is space between the two.
10196 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
10198 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
10201 1999-10-08 Vadim Egorov <egorovv@1c.ru>
10203 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
10206 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
10208 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
10209 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
10211 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
10212 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
10214 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
10217 1999-09-13 DJ Delorie <dj@cygnus.com>
10219 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
10222 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10224 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
10225 also note BUFSIZ as its size.
10227 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
10229 * configure.host: Corrected feature defines for RTEMS.
10230 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
10231 * libc/include/sys/stat.h: mkfifo() should take const path arg.
10232 * libc/include/sys/unistd.h: pathconf() should take const path arg.
10233 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
10234 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
10235 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
10236 _PC_PRIO_IO, and _PC_SYNC_IO.
10237 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
10238 * libc/machine/m68k/Makefile.in: Regenerated.
10239 * libc/machine/m68k/strcpy.c: New file.
10240 * libc/machine/m68k/strlen.c: New file.
10241 * libc/stdio/tmpnam.c: Always make the returned name usable.
10242 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
10243 * libc/sys/rtems/sys/dirent.h: New file.
10244 * libc/sys/rtems/sys/types.h: Added dev_t.
10246 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
10248 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
10250 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
10252 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
10255 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
10257 patch from Jeff Johnston <jjohnstn@cygnus.com>
10258 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
10259 buffer is not in a useful state.
10261 1999-09-01 Nick Clifton <nickc@cygnus.com>
10263 * libc/sys/arm/syscalls.c (_link): Add stub.
10265 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10267 * ftell.c (ftell): Use actual position within buffer for text mode.
10268 * findfp.c (std): Initialize ptr->_bf._size.
10270 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
10272 * libc/include/sys/unistd.h: Add nice() declaration.
10274 1999-08-09 Nick Clifton <nickc@cygnus.com>
10276 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
10277 declare as a thumb function so that the disassembler will see the
10280 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10282 * libc/reent/reent.tex: Updated list of reentrant functions.
10284 1999-07-09 Michael Meissner <meissner@cygnus.com>
10286 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
10288 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
10290 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
10292 * libc/stdio/snprintf.c: New file.
10293 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
10295 * libc/stdio/vsnprintf.c: New file.
10296 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
10297 * libc/stdio/Makefile.in: Regenerated.
10299 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
10301 Patch submitted by Egor Duda <deo@logos-m.ru>:
10302 * libc/include/stdio.h: Add declarations for *nprintf.
10303 * libc/stdio/sprintf.c (snprintf): New function.
10304 (_snprintf_r): New function.
10305 * libc/stdio/vsprintf.c (vsnprintf): New function.
10306 (_vnsprintf_r): New function.
10308 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10310 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
10311 * libm/Makefile.am (stmp-targetdep): Ditto.
10312 * libc/Makefile.in: Regenerated.
10313 * libm/Makefile.in: Ditto.
10315 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10317 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
10318 * libm/Makefile.am (stmp-targetdep): Ditto.
10319 * libc/Makefile.in: Regenerated.
10320 * libm/Makefile.in: Ditto.
10322 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
10324 * Makefile.am: Removed dependencies on all-recursive and added "."
10325 to the SUBDIRS list to prevent infinite recursion from occurring.
10326 Also removed any references to EXTRA_DATA.
10327 * libc/Makefile.am: Ditto.
10328 * libc/machine/Makefile.am: Ditto.
10329 * libc/machine/i386/Makefile.am: Ditto.
10330 * libm/Makefile.am: Ditto.
10331 * libc/sys/Makefile.am: Ditto.
10332 * Makefile.in: Regenerated.
10333 * aclocal.m4: Ditto.
10334 * configure: Ditto.
10335 * doc/Makefile.in: Ditto.
10336 * doc/aclocal.m4: Ditto.
10337 * doc/configure: Ditto.
10338 * libc/Makefile.in: Ditto.
10339 * libc/aclocal.m4: Ditto.
10340 * libc/configure: Ditto.
10341 * libc/machine/Makefile.in: Ditto.
10342 * libc/machine/aclocal.m4: Ditto.
10343 * libc/machine/configure: Ditto.
10344 * libc/machine/mn10300/Makefile.in: Ditto.
10345 * libc/machine/mn10300/aclocal.m4: Ditto.
10346 * libc/machine/mn10300/configure: Ditto.
10347 * libc/sys/Makefile.in: Ditto.
10348 * libc/sys/aclocal.m4: Ditto.
10349 * libc/sys/configure: Ditto.
10350 * libm/Makefile.in: Ditto.
10351 * libm/aclocal.m4: Ditto.
10352 * libm/configure: Ditto.
10354 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10356 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
10358 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10360 * libc/include/stdlib.h: Add reentrant routines.
10361 * libc/stdlib/Makefile.am: Add reentrant routines.
10362 * libc/stdlib/Makefile.in: Ditto.
10363 * libc/stdlib/envlock.c: New file.
10364 * libc/stdlib/envlock.h: New file.
10365 * libc/stdlib/getenv.c: Modify to call reentrant routine.
10366 * libc/stdlib/getenv_r.c: New file.
10367 * libc/stdlib/mblen.c: Modify to call reentrant routine.
10368 * libc/stdlib/mblen_r.c: New file.
10369 * libc/stdlib/setenv.c: Modify to call reentrant routine.
10370 * libc/stdlib/setenv_r.c: New file.
10371 * libc/stdlib/stdlib.tex: Add reentrant routines.
10373 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
10375 * libc/include/sys/types.h: Define __MS_types__ whenever
10378 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
10380 * libc/include/machine/ieeefp.h: Always default to little
10381 endian if Windows, regardless of architecture.
10382 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
10383 regardless of architecture.
10385 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
10387 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
10388 _WIN32 isn't defined.
10390 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
10392 * libm/common/s_rint.c (rint): Add volatile qualifier for
10393 intermediate value w.
10394 * libm/common/sf_rint.c (rintf): Ditto.
10396 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
10398 * libc/sys/arm/syscalls.c (remap_handle): Added check to
10399 ensure that std streams are initialized before being referenced.
10401 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
10403 * README: Update reference to newlib@cygnus.com new
10404 newlib@sourceware.cygnus.com address.
10406 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
10408 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
10409 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
10410 defined, even if _WIN32 isn't defined.
10412 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
10414 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
10416 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10418 * libc/include/sys/reent.h: Change Long and ULong to __Long and
10420 * libc/stdlib/dtoa.c: Ditto.
10421 * libc/stdlib/mprec.c: Ditto.
10422 * libc/stdlib/mprec.h: Ditto.
10423 * libc/stdlib/strtod.c: Ditto.
10425 1999-04-21 Nick Clifton <nickc@cygnus.com>
10427 * configure.host (mcore): Remove mcore machine directory.
10429 1999-04-18 Nick Clifton <nickc@cygnus.com>
10431 * libc/include/machine/ieeefp.h: Add support for mcore target.
10432 * libc/include/machine/setjmp.h: Add support for mcore target.
10433 * configure.host: Add support for mcore target.
10435 1999-04-13 Mark Salter <msalter@cygnus.com>
10437 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
10438 * libc/sys/arm/syscalls.c: Added isatty.
10440 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10442 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
10443 insert zeroes after significant digits.
10445 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10447 * libc/stdio/vfprintf.c (cvt): Changed floating point
10448 cvt routine to use union used by dtoa to properly determine
10449 if the sign bit is on or not.
10450 * libc/stdio/vfieeefp.h: New file
10452 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10454 * aclocal.m4: Regenerated.
10455 * configure: Regenerated.
10457 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
10459 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
10461 * libc/machine/i386/Makefile.in: Regenerated.
10463 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
10465 * acinclude.m4: Changed to work with new automake.
10466 * configure: Regenerated.
10467 * libc/machine/i386/aclocal.m4: Regenerated.
10468 * libc/machine/i386/configure: Regenerated.
10470 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
10472 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
10473 for telldir() and seekdir(). Rename unused structure element
10474 for use with these two routines.
10476 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
10478 * libc/time/mktime.c (validate_structure): Multiple fixes to
10479 code to handle cases where input fields are outside valid ranges.
10480 * libc/stdlib/div.c (div): Modified invalid rounding check.
10481 * libc/stdlib/ldiv.c (ldiv): Ditto.
10483 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
10485 * libc/machine/i386/memcpy.S: Performance rewrite.
10486 * libc/machine/i386/memmove.S: Ditto.
10487 * libc/machine/i386/i386mach.h: Added more register definitions.
10488 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
10490 * libc/include/machine/fastmath.h: Add definitions for x86
10491 fast-math routines.
10493 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10495 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
10497 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
10499 Adjust newlib headers for new Cygwin Win32 API header files:
10500 * libc/include/sys/time.h: Check _WINSOCK_H rather than
10501 _GNU_H_WINDOWS32_SOCKETS.
10502 * libc/include/sys/types.h: Ditto.
10504 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
10506 *include/sys/reent.h: Add checks for size of Bigint element Long.
10507 *libc/dtoa.c: Change routines to use generic Long type.
10508 *libc/mprec.c: Change routines to use generic Long type.
10509 *libc/mprec.h: Change routines to use generic Long type.
10511 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
10513 * libc/Makefile.am: Add .def files.
10514 * libc/Makefile.in: Regenerate.
10515 * libc/e_acosh.c: Documentation update.
10516 * libc/e_atanh.c: Documentation update.
10517 * libc/e_hypot.c: Documentation update.
10518 * libc/e_remainder.c: Documentation update.
10519 * libc/er_lgamma.c: Documentation update.
10520 * libc/mathfp.tex: Documentation update.
10521 * libc/s_acos.c: Documentation update.
10522 * libc/s_atan.c: Documentation update.
10523 * libc/s_atan2.c: Documentation update.
10524 * libc/s_cosh.c: Documentation update.
10525 * libc/s_fmod.c: Documentation update.
10526 * libc/s_isnan.c: Documentation update.
10527 * libc/s_log10.c: Documentation update.
10528 * libc/s_pow.c: Documentation update.
10529 * libc/w_jn.c: Documentation update.
10531 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
10533 * aclocal.m4: Regenerate.
10534 * configure: Regenerate.
10536 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
10538 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
10539 to return 1 if user specified return code is 0.
10540 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
10542 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
10544 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
10545 to save the return address. Fixed longjmp to return to the original
10546 calling address of setjmp and to return the user specified return code
10547 rather than default to 1.
10548 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
10550 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
10552 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
10554 1999-02-10 Nick Clifton <nickc@cygnus.com>
10556 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
10557 volatile so that its assignments will not be discarded.
10559 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
10561 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
10562 be __STRICT_ANSI__ which is generated by compiler.
10563 * libc/include/ctype.h: Ditto.
10564 * libc/include/math.h: Ditto.
10565 * libc/include/stdio.h: Ditto.
10566 * libc/include/stdlib.h: Ditto.
10567 * libc/include/string.h: Ditto.
10568 * libc/include/sys/signal.h: Ditto.
10570 1999-02-08 Nick Clifton <nickc@cygnus.com>
10572 * configure.host: Add support for StrongARM target.
10574 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
10576 * libc/string/strncpy.c (strncpy): Removed redundant code
10577 that was copying bytes if data unaligned.
10579 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
10581 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
10582 mbstowcs.def, and wcstombs.def.
10584 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
10586 * libc/include/sys/errno.h: Add Cygwin errno.
10587 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
10590 1999-01-29 Nick Clifton <nickc@cygnus.com>
10592 * libc/sys/arm/syscalls.c: Move C library functions into seperate
10595 * libc/sys/arm/libcfunc.c: New file containing C library functions
10598 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
10599 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
10602 1999-01-27 Michael Meissner <meissner@cygnus.com>
10604 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
10605 type, and cut size in half so that the jmp_buf array is guaranteed
10606 to be aligned on a 64-bit boundary.
10608 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
10610 * libc/string/strings.tex: Added information about
10611 strcasecmp and strncasecmp.
10612 * libc/stdlib/stdlib.tex: Added missing information
10613 about mblen, mbstowcs, and wcstombs.
10614 * libc/string/strchr.c: Changed how mask is built to use
10615 shift operators so register will be used instead of storage.
10617 1999-01-22 DJ Delorie <dj@cygnus.com>
10619 * libc/include/stdlib.h: don't use dllimport if we're building
10620 newlib, since it's inside cygwin.dll
10622 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
10624 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
10625 _ctype_ under cygwin.
10627 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
10629 * include/stdlib.h: Fix typo from previous checkin.
10631 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
10633 * include/ctype.h: Use __declspec(dllimport) method for exporting
10634 variable from cygwin DLL.
10635 * include/time.h: Ditto.
10636 * sys/errno.h: Ditto.
10637 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
10638 * libc/locale/locale.c: Use __declspec(dllexport) method for
10639 exporting variable from cygwin DLL.
10641 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
10643 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
10644 access of bogus pointer will result in SIGSEGV.
10646 1999-01-07 Nick Clifton <nickc@cygnus.com>
10648 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
10649 of an underscore prefix to function names.
10651 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
10653 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
10654 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
10656 1998-12-31 Michael Meissner <meissner@cygnus.com>
10658 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
10659 to `%' if not already defined.
10661 1998-12-30 Michael Meissner <meissner@cygnus.com>
10663 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
10664 arguments const char *, not char *.
10665 * libc/include/stdio.h (_tempnam_r): Ditto.
10667 * libc/include/sys/reent.h (struct _reent): The _sig_func type
10668 points to a function taking an integer, not void.
10670 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
10672 * configure.host: Add a define for Cygwin builds.
10673 * libc/include/ctype.h: Don't use dll imported variables in newlib.
10675 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
10677 * libc/include/ctype.h: Define _ctype_ as dll imported variable
10678 for use with Cygwin.
10679 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
10680 dll imported variables for use with Cygwin.
10681 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
10682 as a dll imported variable for Cygwin.
10684 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
10686 * libc/include/sys/unistd.h: Add proto for getpass.
10688 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
10690 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
10693 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
10695 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
10696 not posix_path_list_p.
10698 1998-12-15 Nick Clifton <nickc@cygnus.com>
10700 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
10703 1998-12-13 Nick Clifton <nickc@cygnus.com>
10705 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
10707 1998-12-12 Nick Clifton <nickc@cygnus.com>
10709 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
10710 <msalter@cygnus.com>
10711 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
10712 * libc/machine/fr30/Makefile.in: Regenerated.
10714 1998-12-11 Nick Clifton <nickc@cygnus.com>
10716 * configure.host: Remove use of libc/sys for FR30 port.
10717 * libc/sys/fr30: Remove directory (replaced by libgloss).
10719 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
10721 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
10722 * libc/string/strncat.c (ALIGNED): Ditto.
10724 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
10726 * libc/include/sys/time.h: include sys/types.h
10728 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
10730 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
10731 comparison found when checking word at a time.
10733 1998-12-04 Nick Clifton <nickc@cygnus.com>
10735 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
10737 1998-12-03 Nick Clifton <nickc@cygnus.com>
10739 * libc/sys/fr30/syscalls.c (_times): New function stub.
10741 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
10743 * configure.host (mach_add_setjmp): Replaced mach_add_objs
10744 with mach_add_setjmp flag which indicates if setjmp should
10745 be added to the machine directory objects.
10746 * acinclude.m4: Removed reference to mach_add_objs.
10747 * aclocal.m4: Regenerated.
10748 * Makefile.in: Regenerated.
10749 * configure: Regenerated.
10750 * libc/aclocal.m4: Regenerated.
10751 * libc/Makefile.in: Regenerated.
10752 * libc/configure: Regenerated.
10753 * libc/machine/aclocal.m4: Regenerated.
10754 * libc/machine/Makefile.in: Regenerated.
10755 * libc/machine/configure: Regenerated.
10756 * libc/machine/i386/aclocal.m4: Regenerated.
10757 * libc/machine/i386/Makefile.am: Altered to selectively add
10758 setjmp.S to the src files list.
10759 * libc/machine/i386/Makefile.in: Regenerated.
10760 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
10761 * libc/machine/i386/configure: Regenerated.
10763 1998-12-02 Nick Clifton <nickc@cygnus.com>
10765 * libc/sys/fr30/crt0.s (_start): Fix function names.
10767 * libc/machine/fr30: New directory
10768 * libc/machine/fr30/Makefile.am: New file.
10769 * libc/machine/fr30/Makefile.in: New generated file.
10770 * libc/machine/fr30/configure.in: New file.
10771 * libc/machine/fr30/configure: New generated file.
10772 * libc/machine/fr30/aclocal.m4: New generated file.
10773 * libc/sys/fr30/Makefile.am: New file.
10774 * libc/sys/fr30/Makefile.in: New generated file.
10775 * libc/sys/fr30/configure.in: New file.
10776 * libc/sys/fr30/configure: New generated file.
10777 * libc/sys/fr30/syscalls.c: New file.
10779 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
10781 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
10783 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
10785 * libc/time/strftime.c (strftime): Also handle %y for years before
10788 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
10790 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
10791 UNIX convention. Perform tolower on characters before comparing
10792 them rather than use toupper.
10793 * libc/string/strncasecmp.c (strncasecmp): Ditto.
10795 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
10797 * configure.host: Added using i386 machine directory
10798 for all x86 cross-compiler and configuring
10799 which added object files to use via new "mach_add_objs" variable.
10800 * configure: Regenerated.
10801 * libc/configure: Regenerated.
10802 * libc/Makefile.in: Regenerated.
10803 * libc/aclocal.m4: Regenerated.
10804 * libc/ctype/Makefile.in: Regenerated.
10805 * libc/errno/Makefile.in: Regenerated.
10806 * libc/locale/Makefile.in: Regenerated.
10807 * libc/machine/Makefile.in: Regenerated.
10808 * libc/machine/aclocal.m4: Regenerated.
10809 * libc/machine/configure: Regenerated.
10810 * libc/posix/Makefile.in: Regenerated.
10811 * libc/reent/Makefile.in: Regenerated.
10812 * libc/signal/Makefile.in: Regenerated.
10813 * libc/stdio/Makefile.in: Regenerated.
10814 * libc/stdlib/Makefile.in: Regenerated.
10815 * libc/string/Makefile.in: Regenerated.
10816 * libc/string/memmove.c: Optimized code to use memcpy
10817 logic when performing a non-destructive copy.
10818 * libc/string/strncmp.c: Altered code to allow building
10819 optimized for size or speed.
10820 * libc/syscalls/Makefile.in: Regenerated.
10821 * libc/time/Makefile.in: Regenerated.
10822 * libc/unix/Makefile.in: Regenerated.
10823 * libc/machine/i386/Makefile.am: Added new files and reference
10824 to "mach_add_objs" to indicate optional object files.
10825 * libc/machine/i386/Makefile.in: Regenerated.
10826 * libc/machine/i386/aclocal.m4: Regenerated.
10827 * libc/machine/i386/configure: Regenerated.
10828 * libc/machine/i386/memchr.S: New file that implements
10829 function in Intel assembler.
10830 * libc/machine/i386/memcmp.S: ditto.
10831 * libc/machine/i386/memcpy.S: ditto.
10832 * libc/machine/i386/memmove.S: ditto.
10833 * libc/machine/i386/memset.S: ditto.
10834 * libc/machine/i386/strchr.S: ditto.
10835 * libc/machine/i386/strlen.S: ditto.
10836 * libc/machine/i386/f_atan2.S: New file that implements
10837 fast version of math function to be used by compiler when
10838 --ffast_math compile option is used.
10839 * libc/machine/i386/f_atan2f.S: ditto.
10840 * libc/machine/i386/f_exp.c: ditto.
10841 * libc/machine/i386/f_expf.c: ditto.
10842 * libc/machine/i386/f_frexp.S: ditto.
10843 * libc/machine/i386/f_frexpf.S: ditto.
10844 * libc/machine/i386/f_ldexp.S: ditto.
10845 * libc/machine/i386/f_ldexpf.S: ditto.
10846 * libc/machine/i386/f_log.S: ditto.
10847 * libc/machine/i386/f_logf.S: ditto.
10848 * libc/machine/i386/f_log10.S: ditto.
10849 * libc/machine/i386/f_log10f.S: ditto.
10850 * libc/machine/i386/f_math.h: New file.
10851 * libc/machine/i386/f_pow.c: ditto.
10852 * libc/machine/i386/f_powf.S: ditto.
10853 * libc/machine/i386/f_tan.S: ditto.
10854 * libc/machine/i386/f_tan.S: ditto.
10855 * libc/machine/i386/i386mach.h: New file.
10857 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
10859 patch from Mumit Khan <khan@xraylith.wisc.edu>
10860 * libc/include/stdio.h (tempnam): Add prototype.
10861 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
10862 (tempnam): Adhere to prototype.
10864 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
10866 * Makefile.am: Add default for AR_FLAGS.
10867 * Makefile.in: Regenerate.
10869 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
10871 * libc/include/time.h: move __cplusplus wrapper after includes
10872 * libc/include/sys/time.h: ditto. If Cygwin, include
10874 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
10876 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
10878 * libc/time/strftime.c (strftime): Handle %y after year 2000.
10880 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
10882 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
10883 abnormnal end-of-crt0 marker.
10885 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
10887 * libc/sys/fr30/crt0.s: New file/directory.
10888 * libc/include/machine/setjmp.h: Add FR30 target.
10889 * libc/include/machine/ieeefp.h: Add FR30 target.
10890 * configure.host: Add FR30 target.
10892 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10894 * libm/math: Files that are duplicated in common directory removed.
10895 * libm/math/fdlibm.h: Removed.
10896 * libm/math/s_cbrt.c: Removed.
10897 * libm/math/s_copysign.c: Removed.
10898 * libm/math/s_expm1.c: Removed.
10899 * libm/math/s_finite.c: Removed.
10900 * libm/math/s_ilogb.c: Removed.
10901 * libm/math/s_infinity.c: Removed.
10902 * libm/math/s_lib_ver.c: Removed.
10903 * libm/math/s_log1p.c: Removed.
10904 * libm/math/s_logb.c: Removed.
10905 * libm/math/s_matherr.c: Removed.
10906 * libm/math/s_modf.c: Removed.
10907 * libm/math/s_nan.c: Removed.
10908 * libm/math/s_nextafter.c: Removed.
10909 * libm/math/s_rint.c: Removed.
10910 * libm/math/s_scalbn.c: Removed.
10911 * libm/math/sf_cbrt.c: Removed.
10912 * libm/math/sf_copysign.c: Removed.
10913 * libm/math/sf_expm1.c: Removed.
10914 * libm/math/sf_finite.c: Removed.
10915 * libm/math/sf_ilogb.c: Removed.
10916 * libm/math/sf_infinity.c: Removed.
10917 * libm/math/sf_log1p.c: Removed.
10918 * libm/math/sf_logb.c: Removed.
10919 * libm/math/sf_modf.c: Removed.
10920 * libm/math/sf_nan.c: Removed.
10921 * libm/math/sf_nextafter.c: Removed.
10922 * libm/math/sf_rint.c: Removed.
10923 * libm/math/sf_scalbn.c: Removed.
10924 * libm/math/Makefile.am: Removed references to deleted files (above).
10925 * libm/math/Makefile.in: Regenerated.
10926 * libm/Makefile.am: Added common directory to math.
10927 * libm/Makefile.in: Regenerated.
10929 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
10931 * libm/mathfp: Add non-ANSI functions.
10932 * libm/mathfp/e_acosh.c acosh(): New file.
10933 * libm/mathfp/e_atanh.c atanh(): New file.
10934 * libm/mathfp/e_hypot.c hypot(): New file.
10935 * libm/mathfp/e_j0.c j0(): New file.
10936 * libm/mathfp/e_j1.c j1(): New file.
10937 * libm/mathfp/e_remainder.c remainder(): New file.
10938 * libm/mathfp/e_scalb.c scalb(): New file.
10939 * libm/mathfp/ef_acosh.c acoshf(): New file.
10940 * libm/mathfp/ef_atanh.c atanhf(): New file.
10941 * libm/mathfp/ef_hypot.c hypotf(): New file.
10942 * libm/mathfp/ef_j0.c j0f(): New file.
10943 * libm/mathfp/ef_j1.c j1f(): New file.
10944 * libm/mathfp/ef_remainder.c remainderf(): New file.
10945 * libm/mathfp/ef_scalb.c scalbf(): New file.
10946 * libm/mathfp/er_gamma.c gamma_r: New file.
10947 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
10948 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
10949 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
10950 * libm/mathfp/w_cabs.c cabs(): New file.
10951 * libm/mathfp/w_drem.c drem(): New file.
10952 * libm/mathfp/w_jn.c jn(): New file.
10953 * libm/mathfp/wf_cabs.c cabsf(): New file.
10954 * libm/mathfp/wf_drem.c dremf(): New file.
10955 * libm/mathfp/wf_jn.c jnf(): New file.
10957 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
10959 * libc/sys/cygwin32: remove directory and contents
10960 * libc/sys/cygwin: and add back, losing the "32".
10961 * configure.host: check for cygwin* instead of cygwin32.
10962 * acinclude.m4: ditto.
10963 * aclocal.m4: regenerate with aclocal
10964 * configure: regenerate with autoconf
10966 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
10968 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
10971 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
10973 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
10974 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
10975 to make rand/srand, strtok, asctime, localtime, w_gamma,
10976 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
10977 time.h to bring in struct tm definition.
10978 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
10979 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
10980 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
10981 instead of static variable.
10982 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
10983 struct reent instead of static variable.
10984 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
10985 struct reent instead of static variable.
10986 * libm/math/Makefile.am: Removed s_signgam.o.
10987 * libm/math/Makefile.in: Regenerated.
10988 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
10989 struct reent instead of global variable 'signgam'.
10990 * libm/math/w_lgamma.c (lgamma): Likewise.
10991 * libm/math/wf_gamma.c (gammaf): Likewise.
10992 * libm/math/wf_lgamma.c (lgammaf): Likewise.
10993 * libm/math/s_signgam.c: Removed.
10994 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
10996 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
10998 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
10999 libc/include/reent.h.
11000 * libc/reent/Makefile.in: Regenerated.
11001 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
11003 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
11004 'JIS_action_table' to be const.
11005 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
11007 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
11009 * acinclude.m4: $with_target_subdir should default to '.'
11010 or confusion results when configuring in same directory as sources.
11011 * Regenerate all aclocal.m4 and configure files.
11013 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
11015 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
11016 can be set by defining MALLOC_ALIGNMENT=16. Also added support
11017 for platforms where sizeof(size_t) < sizeof(long) via
11018 SIZE_T_SMALLER_THAN_LONG macro.
11020 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
11022 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
11023 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
11024 which sets _CLOCKS_PER_SEC_ for selected machines.
11025 * libc/include/machine/time.h: New file.
11027 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11029 * libc/syscalls/sysexecve.c: New file.
11030 * libc/syscalls/sysgettod.c: New file.
11031 * libc/syscalls/systimes.c: New file.
11032 * libc/syscalls/Makefile.am: Added new objects.
11033 * libc/syscalls/Makefile.in: Regenerated.
11034 * libc/include/_syslist.h (_execve): Moved define in file.
11035 * libc/include/reent.h: Added _execve_r declaration.
11036 * libc/Makefile.in: Regenerated.
11037 * libc/ctype/Makefile.in: Regenerated.
11038 * libc/errno/Makefile.in: Regenerated.
11039 * libc/locale/Makefile.in: Regenerated.
11040 * libc/machine/Makefile.in: Regenerated.
11041 * libc/misc/Makefile.in: Regenerated.
11042 * libc/posix/Makefile.in: Regenerated.
11043 * libc/reent/Makefile.in: Regenerated.
11044 * libc/reent/execr.c (_execve_r): Added _execve_r function.
11045 * libc/signal/Makefile.in: Regenerated.
11046 * libc/stdio/Makefile.in: Regenerated.
11047 * libc/time/Makefile.in: Regenerated.
11048 * libc/unix/Makefile.in: Regenerated.
11049 * libm/mathfp/Makefile.in: Regenerated.
11051 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11053 * libc/string/Makefile.in: Regenerated.
11054 * libc/string/memchr.c (memchr): Moved code to reduce object size.
11055 * libc/string/memcpy.c (memcpy): Ditto.
11056 * libc/string/memcmp.c (memcmp): Ditto.
11057 * libc/string/memset.c (memset): Ditto.
11058 * libc/string/strchr.c (strchr): Ditto.
11059 * libc/string/strcmp.c (strcmp): Ditto.
11060 * libc/string/strcpy.c (strcpy): Ditto.
11061 * libc/string/strlen.c (strlen): Ditto.
11063 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11065 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
11066 to generate aclocal.m4.
11067 * libm/Makefile.in: Regenerated.
11068 * libm/aclocal.m4: Regenerated.
11069 * libm/configure: Regenerated.
11070 * libm/math/Makefile.in: Regenerated.
11071 * libm/mathfp/Makefile.in: Regenerated.
11073 1998-09-25 Mark Salter <msalter@cygnus.com>
11075 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
11076 by adding leading and trailing underscores to symbol names.
11078 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
11080 * Makefile.in: Add default for AR_FLAGS.
11082 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
11084 patch from ian@airs.com (Ian Taylor):
11085 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
11086 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
11087 is needed for detecting the build machine. Required for
11088 cygwin native builds.
11090 * Regenerate all aclocal.m4 and configure files.
11092 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
11094 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
11095 used to start with LC.
11097 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11099 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
11100 (longjmp): Likewise.
11102 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11104 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
11105 the test for small number of bytes.
11107 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
11109 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
11110 math library that uses floating point algorithms instead of the old
11112 * Makefile.in: Regenerate with automake version 1.3b.
11113 * configure: Rebuild.
11114 * libm/Makefile.in: Regenerate with automake version 1.3b.
11115 * libm/aclocal.m4: Regenerate.
11116 * libm/configure: Rebuild.
11117 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
11118 * libm/acinclude.m4: Define macros for configure.in.
11119 * libm/config.h.in: Generate.
11120 * libm/mathfp/Makefile.am: New file.
11121 * libm/mathfp/Makefile.in: Generate.
11122 * libm/mathfp/s_acos.c (acos): New file.
11123 * libm/mathfp/s_asin.c (asin): New file.
11124 * libm/mathfp/s_asine.c (asine): New file.
11125 * libm/mathfp/s_atan.c (atan): New file.
11126 * libm/mathfp/s_atan2.c (atan2): New file.
11127 * libm/mathfp/s_atangent.c (atangent): New file.
11128 * libm/mathfp/s_ceil.c (ceil): New file.
11129 * libm/mathfp/s_copysign.c (copysign): New file.
11130 * libm/mathfp/s_cos.c (cos): New file.
11131 * libm/mathfp/s_cosh.c (cosh): New file.
11132 * libm/mathfp/s_exp.c (exp): New file.
11133 * libm/mathfp/s_fabs.c (fabs): New file.
11134 * libm/mathfp/s_finite.c (finite): New file.
11135 * libm/mathfp/s_floor.c (floor): New file.
11136 * libm/mathfp/s_fmod.c (fmod): New file.
11137 * libm/mathfp/s_frexp.c (frexp): New file.
11138 * libm/mathfp/s_infconst.c: New file.
11139 * libm/mathfp/s_isinf (isinf).c: New file.
11140 * libm/mathfp/s_isnan.c (isnan): New file.
11141 * libm/mathfp/s_ispos.c (ispos): New file.
11142 * libm/mathfp/s_ldexp.c (ldexp): New file.
11143 * libm/mathfp/s_log.c (log): New file.
11144 * libm/mathfp/s_log10.c (log10): New file.
11145 * libm/mathfp/s_logarithm.c (logarithm): New file.
11146 * libm/mathfp/s_mathcnst.c: New file.
11147 * libm/mathfp/s_modf (modf).c: New file.
11148 * libm/mathfp/s_numtest.c (numtest): New file.
11149 * libm/mathfp/s_pow.c (pow): New file.
11150 * libm/mathfp/s_scalbn.c (scalbn): New file.
11151 * libm/mathfp/s_sin (sin).c: New file.
11152 * libm/mathfp/s_sine.c (sine): New file.
11153 * libm/mathfp/s_sineh.c (sineh): New file.
11154 * libm/mathfp/s_sinf.c (sinf): New file.
11155 * libm/mathfp/s_sinh.c (sinh): New file.
11156 * libm/mathfp/s_sqrt.c (sqrt): New file.
11157 * libm/mathfp/s_tan.c (tan): New file.
11158 * libm/mathfp/s_tanh.c (tanh): New file.
11159 * libm/mathfp/sf_acos.c (acosf): New file.
11160 * libm/mathfp/sf_asin.c (asinf): New file.
11161 * libm/mathfp/sf_asine.c (asinef): New file.
11162 * libm/mathfp/sf_atan.c (atanf): New file.
11163 * libm/mathfp/sf_atan2.c (atan2f): New file.
11164 * libm/mathfp/sf_atangent.c (atangent): New file.
11165 * libm/mathfp/sf_ceil.c (ceilf): New file.
11166 * libm/mathfp/sf_copysign.c (copysignf): New file.
11167 * libm/mathfp/sf_cos.c (cosf): New file.
11168 * libm/mathfp/sf_cosh.c (coshf): New file.
11169 * libm/mathfp/sf_exp.c (expf): New file.
11170 * libm/mathfp/sf_fabs.c (fabsf): New file.
11171 * libm/mathfp/sf_finite.c (finitef): New file.
11172 * libm/mathfp/sf_floor.c (floorf): New file.
11173 * libm/mathfp/sf_fmod.c (fmodf): New file.
11174 * libm/mathfp/sf_frexp.c (frexpf): New file.
11175 * libm/mathfp/sf_isinf.c (isinff): New file.
11176 * libm/mathfp/sf_isnan.c (isnanf): New file.
11177 * libm/mathfp/sf_ispos.c (isposf): New file.
11178 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
11179 * libm/mathfp/sf_log.c (logf): New file.
11180 * libm/mathfp/sf_log10.c (log10f): New file.
11181 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
11182 * libm/mathfp/sf_modf.c (modff): New file.
11183 * libm/mathfp/sf_numtest.c (numtestf): New file.
11184 * libm/mathfp/sf_pow.c (powf): New file.
11185 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
11186 * libm/mathfp/sf_sin.c (sinf): New file.
11187 * libm/mathfp/sf_sine.c (sinef): New file.
11188 * libm/mathfp/sf_sineh.c (sinehf): New file.
11189 * libm/mathfp/sf_sinh.c (sinhf): New file.
11190 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
11191 * libm/mathfp/sf_tan.c (tanf): New file.
11192 * libm/mathfp/sf_tanh.c (tanhf): New file.
11193 * libm/mathfp/zmath.h: New file.
11195 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11197 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
11198 exit if it has been overwritten by pre-fetching in delay slot.
11200 1998-09-01 Michael Meissner <meissner@cygnus.com>
11202 * Makefile.am (tooldir): Add in host_alias, so that multilib
11203 libraries are installed in the directory the compiler looks in.
11204 * Makefile.in: Regenerate.
11206 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
11208 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
11210 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
11211 ahead of test for number of bytes being moved.
11213 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
11215 * libc/include/sys/unistd.h: Nothing special needed for
11216 _exit under cygwin.
11218 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
11220 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
11221 conform to user label naming conventions.
11223 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
11225 * libc/sys/cygwin32/sys/utime.h: variable names in
11226 protos should start with two leading underscores
11227 * libc/include/string.h: ditto
11228 * libc/include/sys/signal.h: ditto
11229 * libc/include/sys/stat.h: ditto
11230 * libc/include/sys/time.h: ditto
11231 * libc/include/sys/unistd.h: ditto
11232 * libc/include/ctype.h: ditto
11233 * libc/include/stdlib.h: ditto
11234 * libc/include/sys/reent.h: struct _atexit function ptr takes a
11235 void, same with _sig_func.
11237 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
11239 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
11240 for MB_CAPABLE to reduce code size when newlib is not configured
11241 with --enable-newlib-mb.
11242 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
11243 mbtowc_r.o to minimize size.
11244 * libc/stdlib/Makefile.in: Rebuild.
11246 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
11248 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
11250 * libc/sys/sparc64/Makefile.in: Rebuild.
11252 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
11254 * Makefile.am (MAKEOVERRIDES): Define.
11255 * Makefile.in: Rebuild.
11257 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
11259 * libc/sys/sparc64/sys/stat.h (stat): Add const.
11261 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
11263 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
11264 newlib_cflags when looking for targ-include.
11265 * */aclocal.m4, */configure: Rebuild.
11267 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
11269 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
11272 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
11274 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
11275 on SPARCs with little-endian data.
11276 * libc/include/machine/ieeefp.h: Ditto.
11278 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
11280 * acinclude.m4: Handle a relative srcdir correctly when setting
11282 * */aclocal.m4, */configure: Rebuild.
11284 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
11286 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
11287 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
11288 * libm/math/wrf_gamma.c (gammaf_r): ditto
11289 * libm/math/wr_lgamma.c (lgamma_r): ditto
11290 * libm/math/wr_gamma.c (gamma_r): ditto
11291 * libm/math/wf_sqrt.c (sqrtf): ditto
11292 * libm/math/wf_sinh.c (sinhf): ditto
11293 * libm/math/wf_scalb.c (scalbf): ditto
11294 * libm/math/wf_remainder.c (remainderf): ditto
11295 * libm/math/wf_pow.c (powf): ditto
11296 * libm/math/wf_log10.c (log10f): ditto
11297 * libm/math/wf_log.c (logf): ditto
11298 * libm/math/wf_lgamma.c (lgammaf): ditto
11299 * libm/math/wf_jn.c (jnf, ynf): ditto
11300 * libm/math/wf_j1.c (j1f, y1f): ditto
11301 * libm/math/wf_j0.c (j0f, y0f): ditto
11302 * libm/math/wf_hypot.c (hypotf): ditto
11303 * libm/math/wf_gamma.c (gammaf): ditto
11304 * libm/math/wf_fmod.c (fmodf): ditto
11305 * libm/math/wf_exp.c (expf): ditto
11306 * libm/math/wf_cosh.c (coshf): ditto
11307 * libm/math/wf_atanh.c (atanhf): ditto
11308 * libm/math/wf_atan2f.c (atan2f): ditto
11309 * libm/math/wf_asin.c (asinf): ditto
11310 * libm/math/wf_acosh.c (acoshf): ditto
11311 * libm/math/wf_acos.c (acosf): ditto
11312 * libm/math/w_sqrt.c (sqrt): ditto
11313 * libm/math/w_sinh.c (sinh): ditto
11314 * libm/math/w_scalb.c (scalb): ditto
11315 * libm/math/w_remainder.c (remainder): ditto
11316 * libm/math/w_pow.c (pow): ditto
11317 * libm/math/w_log10.c (log10): ditto
11318 * libm/math/w_log.c (log): ditto
11319 * libm/math/w_lgamma.c (lgamma): ditto
11320 * libm/math/w_jn.c (jn, yn): ditto
11321 * libm/math/w_j1.c (j1, y1): ditto
11322 * libm/math/w_j0.c (j0, y0): ditto
11323 * libm/math/w_hypot.c (hypot): ditto
11324 * libm/math/w_gamma.c (gamma): ditto
11325 * libm/math/w_fmod.c (fmod): ditto
11326 * libm/math/w_exp.c (exp): ditto
11327 * libm/math/w_cosh.c (cosh): ditto
11328 * libm/math/w_atanh.c (atanh): ditto
11329 * libm/math/w_atan2f.c (atan2): ditto
11330 * libm/math/w_asin.c (asin): ditto
11331 * libm/math/w_acosh.c (acosh): ditto
11332 * libm/math/w_acos.c (acos): ditto
11334 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
11336 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
11337 (fsrc): Add wf_cabs.c and wf_drem.c.
11338 * libm/math/Makefile.in: Rebuild.
11340 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
11341 unused directory variables. Remove duplicate CFLAGS.
11342 * Makefile.in: Rebuild.
11344 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
11345 with $(CC_FOR_BUILD).
11346 (makedoc.o): Likewise.
11347 * doc/Makefile.in: Rebuild.
11349 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
11350 force a definition of COMPILE.
11351 (libfoo_a_SOURCES): Define.
11352 * libc/sys/cygwin32/Makefile.in: Rebuild.
11353 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
11354 force a definition of COMPILE.
11355 (libfoo_a_SOURCES): Define.
11356 * libc/sys/tic80/Makefile.in: Rebuild.
11358 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
11360 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
11363 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
11365 * Build using autoconf and automake. Added many Makefile.am and
11366 configure.in files, plus generated files. Old configure.in files
11367 and all old Makefile.in files completely replaced. Removed
11368 host/any. Added acinclude.m4 and configure.host.
11370 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
11372 * libc/stdio/vfprintf.c: enable long long support, sometimes.
11373 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
11375 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11377 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
11378 * libc/machine/sh/Makefile.in: Add rules for new files.
11380 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11382 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
11383 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
11384 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
11386 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
11388 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
11391 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
11393 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
11394 internal static buffer when s is NULL, as prescribed by ANSI.
11396 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
11398 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
11400 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
11401 libc/stdlib will be used for h8300hms.
11403 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
11405 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
11406 version that can be built either for speed or size.
11407 * libc/machine/mn10300/memset.S (_memset): ditto
11408 * libc/machine/mn10300/memchr.S (_memchr): ditto
11409 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
11410 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
11411 * libc/machine/mn10300/strchr.S (_strchr): ditto
11412 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
11413 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
11414 * libc/machine/mn10300/Makefile.in: Added entries for
11415 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
11416 strcmp.o, strcpy.o, and strlen.o.
11418 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
11420 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
11421 been replaced with libgloss/mn10200.
11423 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
11425 * libc/string/strchr.c (strchr): Make s a constant pointer to
11428 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
11430 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
11431 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
11432 board SWIs instead of Demon board SWIs).
11434 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
11436 * libc/string/strncat.c (strncat): Make -Os act the same as
11437 PREFER_SIZE_OVER_SPEED being defined.
11439 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
11441 * libc/string/memchr.c (memchr): Make -Os act the same as
11442 PREFER_SIZE_OVER_SPEED being defined.
11443 * libc/string/memcmp.c (memcmp): Ditto.
11444 * libc/string/memcpy.c (memcpy): Ditto.
11445 * libc/string/memset.c (memset): Ditto.
11446 * libc/string/strcat.c (strcat): Ditto.
11447 * libc/string/strchr.c (strchr): Ditto.
11448 * libc/string/strcmp.c (strcmp): Ditto.
11449 * libc/string/strcpy.c (strcpy): Ditto.
11450 * libc/string/strlen.c (strlen): Ditto.
11451 * libc/string/strncat.c (strncat): Ditto.
11452 * libc/string/strncmp.c (strncmp): Ditto.
11453 * libc/string/strncpy.c (strncpy): Ditto.
11455 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
11457 * libc/include/sys/itimer.h: remove
11458 * libc/include/sys/time.h: itimer stuff should be here
11460 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
11462 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
11463 bit instead of comparing to 0 so -0.0 can be printed correctly.
11465 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11467 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
11469 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
11471 * libc/include/sys/unistd.h: fix sync() proto
11472 * libc/include/sys/fcntl.h: remove _close which is already
11473 defined in unistd.h.
11474 * libc/include/sys/time.h: add getitimer proto
11476 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
11478 * libc/string/strchr.c: convert arg to unsigned char
11479 * libc/include/stdlib.h: add protos for random, srandom
11480 * libc/include/sys/stat.h: add lstat proto
11481 * libc/include/sys/time.h: add setitimer proto
11482 * libc/include/sys/unistd.h: add readlink, symlink protos
11483 * libc/include/process.h: instead of including windows.h and using
11484 HANDLEs in sexec protos, just use void *s. Need to include
11487 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
11489 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
11491 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
11493 * libc/include/process.h: add secure exec protos
11495 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
11497 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
11498 which are accessed as both doubles and integers.
11499 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
11500 * libc/stdlib/strtod.c (_strtod_r): Likewise.
11501 * libc/stdlib/mprec.h: Add "union double_union" and change
11502 word0/word1 macros to use it.
11504 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
11506 * libc/include/sys/signal.h: add __cplusplus wrapper
11508 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
11510 * libc/include/sys/utime.h: new generic file that gets replaced by
11511 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
11513 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
11514 * libc/include/time.h: remove duplicate utime proto
11515 * libc/include/utime.h: add comment
11517 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
11519 * libc/include/sys/time.h: Add missing include to
11520 allow use of _EXFUN. Remove times function that is
11521 already defined in times.h.
11523 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
11525 * libc/include/time.h: Fix typo in tzset.
11527 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
11529 * libc/include/sys/time.h: add missing Cygwin32 function protos
11530 * libc/include/sys/unistd.h: ditto
11531 * libc/include/time.h: ditto
11533 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
11535 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
11537 * libc/include/sys/types.h: add a new __MS_types__ section
11538 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
11539 __BIT_TYPES_DEFINED__.
11541 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
11543 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
11544 since it overrides the one in libc/include/sys. Also, start
11547 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
11549 * libm/math/Makefile.in: add s_signgam.o to obj list
11551 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
11553 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
11555 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
11557 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
11558 so don't use defines.
11560 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
11562 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
11564 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
11566 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
11567 _current_locale as default locale.
11569 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
11571 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
11572 insufficient space in a chunk.
11574 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
11576 * configure.in (links): Added check for --enable-newlib-mb configure
11577 option which defines the MB_CAPABLE macro.
11578 * libc/locale/locale.c (_setlocale_r): Added support for setting
11579 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
11581 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
11582 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
11583 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
11584 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
11585 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
11586 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
11587 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
11588 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
11589 * libc/stdlib/Makefile.in: Added new multibyte
11590 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
11591 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
11592 _mbstowcs_r(), and _wcstombs_r().
11593 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
11594 for JIS, SJIS, and EUC-JP characters.
11595 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
11596 MB_CAPABLE defined.
11597 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
11598 MB_CAPABLE defined.
11599 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
11600 MB_CAPABLE defined.
11601 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
11602 if MB_CAPABLE defined.
11603 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
11604 if MB_CAPABLE defined.
11605 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
11606 to the format string processing when MB_CAPABLE.
11607 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
11610 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
11612 The following modifications are courtesy of Anthony Thompson,
11613 athompson@cambridge.arm.com:
11614 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
11615 boith RDI and RDP monitors.
11616 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
11617 RDI and RDP monitors.
11619 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
11621 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
11622 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
11623 (_swiopen): Fixed open flags to treat write with append as just append.
11624 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
11625 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
11627 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11629 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
11630 When needing to transfer an initial 2-byte-word, store as
11633 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11635 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
11637 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
11638 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
11640 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
11642 * configure.in (target_cflags): If --enable-target-optspace, use
11643 -Os to compile newlib rather than -O2. Default to using -Os for
11644 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
11647 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
11649 * libc/include/machine/setjmp.h: change sigsetjmp and
11650 siglongjmp definitions to use an array instead of a struct
11653 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
11655 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
11657 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
11659 * libc/string/strxfrm.c: fix to get correct return value
11661 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
11663 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
11664 builds. Make mode change labels global so that they will be seen
11667 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
11669 * configure.in (links): Do not use ARM debiugging protocols for PE
11672 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
11675 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11677 * libc/stdio/findfp.c (__sinit): Made stdout default to
11678 line buffered mode as defined by ANSI.
11680 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
11682 * libc/include/sys/itimer.h: New file.
11684 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
11686 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11688 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
11691 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
11693 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
11696 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
11698 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
11700 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
11702 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
11705 * libc/include/machine/setjmp.h: Add D30V support.
11707 * configure.in (d30v-*): Add d30v machine directory.
11709 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
11711 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
11712 been replaced with libgloss/mn10300.
11714 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
11716 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
11717 it is no longer needed.
11719 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
11721 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
11723 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
11725 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
11726 the file when O_APPEND is set, wherever the EOF happens to be at
11729 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
11731 patch from cgf@bbc.com (Christopher Faylor):
11732 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
11733 convention of closing fp prior to attempting to open the file
11734 argument. This allows correct operation when reopening
11735 stdin/stdout/stderr. Replaces last freopen.c patch.
11737 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
11739 patch from cgf@bbc.com (Christopher Faylor):
11740 * libc/stdio/freopen.c: freopen was not preserving the fd
11741 of the stream being operated on. This confuses programs that
11742 expect that the handles for stdout and stderr will be 1 and 2.
11744 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
11746 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
11748 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
11750 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
11752 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
11754 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
11755 altered to not use a branch. Also added hint that last
11756 bclr in longjmp will likely result in branch.
11759 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
11761 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
11763 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
11765 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
11768 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
11770 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
11772 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
11773 that loads FR14 to specify offset of 8 rather than 4
11774 so it loads from offset 96 (where setjmp stored it).
11776 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11778 * libc/machine/sh/memcpy.S: (_memcpy): Update to
11779 latest version supplied by customer.
11780 * libc/machine/sh/memset.S (_memset): Ditto.
11782 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
11784 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
11787 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
11789 * libc/include/string.h: remove redefinition of ffs
11791 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
11793 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
11796 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
11798 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
11799 TI Libraries to link to libc.a
11801 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
11803 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
11804 * libc/include/sys/stat.h (_{,f}stat): Ditto.
11805 * libc/include/sys/wait.h (_wait): Ditto.
11806 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
11807 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
11809 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
11811 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
11812 minded stabs so function name shows up when running the simulator
11814 * libc/sys/d10v/{crt0,trap}.S: Ditto.
11816 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
11818 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
11819 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
11820 Use R5 where we used to use R3.
11822 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
11824 * libc/stdlib/getopt.c (getopt): replaced __progname
11825 with nargv[0] to improve portability to imbedded systems.
11827 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
11829 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
11830 patch supplied by Tont.Thompson@arm.com to fix the creation of the
11833 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
11835 * libc/stdio/tmpnam.c (worker): Generate a different file name
11838 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
11839 fails, try an execlp for sh.
11841 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
11842 option for the winsup include directory.
11844 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
11846 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
11847 debugging interface from Tony.Thompson@arm.com.
11849 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
11850 * libc/sys/arm/swi.h: ditto.
11852 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
11854 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
11855 DIR struct used for readdir hashes.
11857 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
11859 * libc/string/strchr.c: Use "unsigned chars" as necessary.
11861 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
11863 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
11866 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
11868 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
11869 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
11870 * libc/include/malloc.h: Add extern "C" if __cplusplus.
11871 (__malloc_copy): Declare.
11873 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
11875 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
11877 (POINTER_UINT): Define.
11878 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
11879 (MALLOC_ALIGNMENT): Don't define if already defined.
11880 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
11883 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
11885 * libc/string/memset.c (memset): Fiddle with code so that the long
11886 value being stored is not a stack value. Unroll storing longs 4
11889 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
11891 * Reduce code size for libm modules.
11892 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
11893 and simply move code into sqrt.
11894 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
11895 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
11896 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
11897 * libm/math/wr_gamma.c (gamma_r): Likewise.
11898 * libm/math/wf_sinh.c (sinfh): Likewise.
11899 * libm/math/w_sinh.c (sinh): Likewise.
11900 * libm/math/wf_scalb.c (scalbf): Likewise.
11901 * libm/math/w_scalb.c (scalb): Likewise.
11902 * libm/math/wf_remainder.c (remainderf): Likewise.
11903 * libm/math/w_remainder.c (remainder): Likewise.
11904 * libm/math/wf_pow.c (powf): Likewise.
11905 * libm/math/w_pow.c (pow): Likewise.
11906 * libm/math/wf_log10.c (log10f): Likewise.
11907 * libm/math/w_log10.c (log10): Likewise.
11908 * libm/math/wf_log.c (logf): Likewise.
11909 * libm/math/w_log.c (log): Likewise.
11910 * libm/math/w_lgamma.c (lgamma): Likewise.
11911 * libm/math/wf_lgamma.c (lgammaf): Likewise.
11912 * libm/math/wf_jn.c (jnf): Likewise.
11913 * libm/math/w_jn.c (jn): Likewise.
11914 * libm/math/wf_j1.c (j1f): Likewise.
11915 * libm/math/w_j1.c (j1): Likewise.
11916 * libm/math/wf_j0.c (j0f): Likewise.
11917 * libm/math/w_j0.c (j0): Likewise.
11918 * libm/math/wf_hypot.c (hypotf): Likewise.
11919 * libm/math/w_hypot.c (hypot): Likewise.
11920 * libm/math/wf_gamma.c (gammaf): Likewise.
11921 * libm/math/w_gamma.c (gamma): Likewise.
11922 * libm/math/wf_fmod.c (fmodf): Likewise.
11923 * libm/math/w_fmod.c (fmod): Likewise.
11924 * libm/math/wf_exp.c (expf): Likewise.
11925 * libm/math/w_exp.c (exp): Likewise.
11926 * libm/math/wf_cosh.c (coshf): Likewise.
11927 * libm/math/w_cosh.c (cosh): Likewise.
11928 * libm/math/wf_atanh.c (atanhf): Likewise.
11929 * libm/math/w_atanh.c (atanh): Likewise.
11930 * libm/math/wf_atan2.c (atan2f): Likewise.
11931 * libm/math/w_atan2.c (atan2): Likewise.
11932 * libm/math/wf_asin.c (asinf): Likewise.
11933 * libm/math/w_asin.c (asin): Likewise.
11934 * libm/math/wf_acosh.c (acoshf): Likewise.
11935 * libm/math/w_acosh.c (acosh): Likewise.
11936 * libm/math/wf_acos.c (asocf): Likewise.
11937 * libm/math/w_acos.c (acos): Likewise.
11938 * libm/math/wf_sqrt.c (sqrtf): Likewise.
11939 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
11940 for embedded systems.
11942 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
11944 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
11945 Lea in case of a foreign sbrk.
11947 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
11949 Incorporate Doug Lea's malloc:
11950 * libc/stdlib/mallocr.c: Completely replaced.
11951 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
11953 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
11954 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
11956 (mallinfo, malloc_stats, mallopt): New functions.
11957 (_mstats_r): Just call _malloc_stats_r.
11958 * libc/stdlib/malign.c: New file.
11959 * libc/stdlib/mlock.c: New file.
11960 * libc/stdlib/msize.c: New file.
11961 * libc/stdlib/mtrim.c: New file.
11962 * libc/stdlib/realloc.c: New file.
11963 * libc/stdlib/valloc.c: New file.
11964 * libc/stdlib/malloc.h: Remove.
11965 * libc/stdlib/callocr.c: Remove.
11966 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
11967 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
11968 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
11969 reallocr.o, valloc.o, vallocr.o.
11970 (CHEWOUT_FILES): Add mlock.def, mstats.def.
11971 (MALLOC_CFLAGS): New variable.
11972 (mallocr.o): New target, build from mallocr.c.
11973 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
11974 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
11975 (msizer.o, malloptr.o): Likewise.
11976 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
11977 (valloc.o): New target.
11978 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
11979 * libc/include/malloc.h: Declare struct mallinfo, and new
11981 * libc/include/stdlib.h (cfree): Correct declaration.
11983 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
11985 * libc/include/machine/setjmp.h: Add support for Thumb target.
11987 * libc/include/machine/ieeefp.h: Add support for Thumb target.
11989 * configure.in (links): Add support for Thumb target.
11991 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
11993 * libc/sys/arm/setjmp.S: Updated with version from branch.
11995 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
11997 * libc/include/stdio.h: add POSIX-required define L_ctermid
12000 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
12002 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
12003 addition to MISSING_SYSCALL_NAMES.
12005 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12007 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
12009 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
12011 * libc/include/string.h: change strsignal proto to return
12012 a char *. This eliminates compile problems in gdb resulting
12013 from gdb's definition of strsignal in defs.h.
12015 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
12017 * libc/sys/cygwin32/sys/utime.h: new (moved here from
12018 winsup/include) so as not to conflict with the one in
12020 * libc/include/string.h: add protos for strsignal, strtosigno
12022 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
12024 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
12026 * configure.in (d30v-*-*): Add configuration.
12028 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
12030 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
12031 to select which kind of debug monitor is in use for an ARM target.
12033 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
12034 Angel and Demon debug monitors. Part of this code was supplied by
12035 Tony Thompson at ARM: athompso@arm.com.
12037 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
12039 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
12040 semantics when the count is greater than the length of the second
12043 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
12045 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
12046 * libc/include/sys/unistd.h: add protos for usleep, truncate,
12047 truncate and ftruncate take off_t, not size_t
12049 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
12051 * libc/string/strcat.c (strcat): Add missing comment end.
12052 * libc/string/strncat.c (strncat): Likewise.
12054 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
12056 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
12058 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
12059 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
12061 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12062 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12063 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12065 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
12067 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
12068 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
12070 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
12072 * libc/machine/i386/setjmp.S: New file.
12073 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
12074 (OFILES): Add setjmp.o.
12075 (setjmp.o): Add rule for.
12076 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
12078 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
12079 Jeffrey A Law (law@cygnus.com)
12081 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
12082 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
12083 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
12084 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
12086 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
12088 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
12091 * libc/include/sys/config.h: Use __v850 to select v850
12094 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
12097 * libc/include/machine/ieeefp.h: Use __v850 to select v850
12100 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
12102 * libc/stdlib/setenv.c: change unsetenv definition to match
12103 style of setenv (with _DEFUN). The string should be a const.
12104 * libc/include/stdlib.h: unsetenv proto should return void.
12106 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
12108 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
12110 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
12112 * libc/stdio/glue.h: remove.
12113 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
12114 * libc/stdio/Makefile.in: remove glue.h dependencies
12116 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
12118 * libc/sys/sysnecv850/crt0.S: Created V850e version.
12120 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
12122 * configure.in (target_cpu): Add `arc'.
12124 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
12126 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
12127 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
12128 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
12129 * newlib/libc/reent/reent.c: Add _wrapup_reent.
12130 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
12132 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
12134 * libc/machine/mips/setjmp.S: Handle mips16 builds.
12136 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
12138 * libc/include/stdio.h (siprintf): Declare.
12140 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
12142 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
12143 TARGET_CFLAGS and NEWLIB_FLAGS.
12145 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12147 * configure.in (links): Add support for v850ea target.
12149 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
12151 * configure.in (links): Add support for v850e target.
12153 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
12155 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
12157 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
12159 * configure.in (arc-*-*): Add support for.
12160 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
12162 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
12164 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
12166 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
12168 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
12169 comparison which accesses invalid memory when the key is
12170 larger than the last member of the array.
12171 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
12173 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
12175 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
12177 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
12180 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
12182 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
12183 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
12185 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
12187 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
12188 to load/store memory.
12190 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
12192 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
12193 underscores if _WIN32.
12195 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
12197 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
12198 support ifdef _USE_WRITE missed in last change.
12199 From Anders Blomdell <anders.blomdell@control.lth.se>.
12201 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
12203 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
12204 (_tmpnam_r, _tempnam_r): Update.
12206 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
12208 * libc/machine/sparc/setjmp.S: New file.
12209 * libc/machine/sparc/Makefile.in: Add setjmp.
12210 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
12212 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
12214 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
12216 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
12218 From Joel Sherrill <joel@oarcorp.com>.
12219 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
12221 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
12222 * configure.in: Recognize *-*-rtems*.
12223 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
12224 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
12225 time.h,times.h,types.h}: New files.
12226 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
12228 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
12230 patch from sos@prospect.com.ru (Sergey Okhapkin):
12231 * include/sys/wait.h: correct operator precidence bug
12234 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
12236 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
12237 with newlib's unsetenv function
12238 * libc/sys/cygwin32/sys: new directory for includes
12239 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
12240 here from winsup/include/sys
12242 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
12244 * libc/include/sys/unistd.h: _exit should only be
12245 labelled noreturn when not __CYGWIN32__
12246 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
12247 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
12250 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
12252 * libc/include/sys/time.h: Only define timeval and timezone if
12253 _GNU_H_WINDOWS32_SOCKETS is not defined.
12254 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
12256 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
12258 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
12259 * libc/machine/mn10300/setjmp.S: Likewise.
12261 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
12262 the mn10300 (more relaxing opportunities).
12264 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
12266 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
12267 Build libraries with -mstrict-align.
12269 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
12271 * libc/string/strlwr.c: New file.
12272 * libc/string/strupr.c: New file.
12273 * libc/include/string.h: Declare strlwr and strupr.
12274 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
12275 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
12276 (strlwr.o, strupr.o): New targets.
12277 * libc/string/strings.tex: Include strlwr and strupr docs.
12279 * libc/include/sys/types.h: Don't define u_char, et. al., if
12280 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
12281 et. al. Make FD_SETSIZE default 64 rather than 60. Define
12282 _types_fd_set rather than fd_set, and define fd_set as a macro.
12284 * libc/include/malloc.h: New file.
12286 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
12287 strnicmp if they are not already defined.
12289 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
12290 _timezone, _daylight, and _tzname.
12292 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
12294 * configure.in: Sort all configuration tables.
12296 From Joel Sherrill <joel@oarcorp.com>
12297 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
12299 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
12301 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
12302 use int when declaring kill.
12304 * libc/include/sys/timeb.h: New file.
12306 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
12308 * libc/include/sys/time.h: add itimer support for Cygwin32
12310 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
12312 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
12313 out a message that abort was called to stderr.
12315 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
12317 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
12318 so that libio doesn't freak.
12320 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
12323 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
12324 memory sizes, not int.
12326 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
12328 * libm/math/ef_hypot.c: Use long constants where
12330 * libm/math/ef_sqrt.c: Ditto.
12332 * libc/sys/sysmec/times.c(_times): Change to times.
12334 * libc/sys/sysmec/read.c(_read): The third argument is
12336 * libc/sys/sysmec/write.c (_write): Ditto.
12338 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
12339 (_lseek): It's off_t for the second argument.
12341 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
12343 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
12344 as well as machine/ieeefp.h.
12346 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
12348 * libc/include/sys/signal.h: add signal protos for winsup
12349 functions (when __CYGWIN32__), include types.h
12350 * libc/include/sys/types.h: Change __go32_types__ internal
12351 define to __MS_types__ since it's used for more than just
12352 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
12354 * libc/include/sys/unistd.h: add ftruncate proto for
12355 winsup functions (when __CYGWIN32__)
12357 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
12359 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
12361 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
12363 * libc/include/machine/setjmp.h: Add tic80 support.
12364 * libc/machine/tic80/setjmp.S: Likewise.
12366 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
12368 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
12369 link programs from libraries only (such as in the X11
12372 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
12374 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
12375 supplied elsewhere in newlib.
12377 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
12379 * Makefile.in (INSTALL): Change install.sh to install-sh.
12381 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
12383 * README: update WWW address for on-line documentation.
12385 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
12387 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
12390 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
12392 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
12394 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
12396 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
12398 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
12399 * libc/sys/d10v/syscalls.c: Likewise.
12400 * libc/sys/h8300hms/sbrk.c: Likewise.
12401 * libc/sys/h8500hms/syscalls.c: Likewise.
12402 * libc/sys/m88kbug/syscalls.c: Likewise.
12403 * libc/sys/sh/syscalls.c: Likewise.
12404 * libc/sys/sysmec/sbrk.c: Likewise.
12405 * libc/sys/sysnecv850/sbrk.c: Likewise.
12406 * libc/sys/w65/syscalls.c: Likewise.
12407 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
12409 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
12411 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
12412 emulated syscall instead of "trap".
12414 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
12416 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
12419 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
12421 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
12423 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
12425 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
12427 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
12429 * libc/sys/tic80/crt0.c: New file for TIc80.
12430 * libc/sys/tic80/Makefile.in: New file for TIc80.
12431 * libc/machine/tic80/Makefile.in: New file for TIc80.
12433 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
12435 * libc/machine/sh/memcpy.S: New file.
12436 * libc/machine/sh/memset.S: New file.
12437 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
12439 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
12441 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
12444 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
12446 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
12449 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
12451 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
12452 (patch from andrew@pogo.WV.TEK.COM).
12454 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
12456 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
12457 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
12459 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
12461 * configure.in: Add cases for "tic80" to set machine_dir,
12462 sys_dir, and syscall_dir.
12464 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
12466 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
12468 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
12470 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
12472 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
12474 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
12475 Use proper constant prefix.
12477 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
12479 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
12480 that loses on the mn10200 where ints and pointers are different
12483 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
12485 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
12486 target as signal is provided in winsup.
12488 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
12490 * libc/include/sys/process.h: Corrected const definitions
12491 in spawn functions. Added cwait.
12493 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
12495 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
12497 * libc/include/sys/config.h: Similarly.
12499 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12501 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
12503 (i[3456]86-*-sco*): Ditto.
12505 * libc/signal/Makefile.in (OFILES): Add signal.o.
12506 (CFILES): Add signal.c.
12508 * libc/signal/raise.c (_raise_r): Only compile code if
12509 SIGNAL_PROVIDED is defined.
12511 * libc/signal/signal.c: Redo whole file so that it works with
12512 current newlib. Use _kill_r if no signal handler provided.
12514 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
12516 * libc/sys/sysvnecv70/Makefile.in: Ditto.
12517 * libc/sys/sysnecv850/Makefile.in: Ditto.
12519 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
12520 * libc/sys/sysmec/{raise,signal}.c: Ditto.
12521 * libc/sys/sysvnecv70/signal.s: Ditto.
12522 * libc/sys/sysnecv850/raise.c: Ditto.
12524 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
12525 simulator and debugger can tell the difference between a signal
12526 being raised and an exit system call.
12528 * NEWS: Document software signals being provided.
12530 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12532 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
12533 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
12534 include/sys/config.h.
12535 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
12536 Change from 'inpure_data'.
12537 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
12538 &impure_data, not &inpure_data.
12540 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
12541 and and System V ABI, define so that _impure_ptr lives in the
12544 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12546 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
12547 nothing if not defined.
12548 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
12551 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
12553 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
12555 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
12556 * libc/sys/sysmec/trap.s: Handle mn10200 too.
12557 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
12559 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
12561 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
12563 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
12565 * libc/include/sys/errno.h: Added net errno's.
12567 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12569 * libc/misc/ffs.c: New file to support ffs function for GCC test
12570 gcc.c-torture/execute/960909-1.c.
12572 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
12574 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
12576 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
12577 * libc/sys/sysmec/trap.S: Likewise.
12579 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
12581 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
12582 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
12584 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
12586 * libc/sys/sysmec/signal.c: Dummy file.
12587 * libc/sys/sysmec/Makefile.in: Build it.
12589 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
12591 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
12594 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
12596 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
12597 c-startup and simulator traps.
12600 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
12601 * libc/sys/sysmec/trap0.S: Likewise.
12603 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12605 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
12606 round to double word alignment.
12607 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
12610 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
12612 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
12615 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
12617 * configure.in: Handle mn10200 and mn10300.
12618 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
12619 * libc/include/sys/config.h: Likewise.
12620 * libc/sys/sysmec: New directory for mec stuff.
12621 * libc/machine/mn10300: New directory for mn10300 stuff.
12622 * libc/machine/mn10200: Similarly for mn10200 stuff.
12624 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
12626 * libc/sys/arm/crt0.S: Use .text, not .section .text.
12627 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
12629 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
12630 (nlink_t): Change type from unsigned int to unsigned short.
12631 (mode_t): Ensure size is 32 bits even if int is 16.
12632 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
12633 (st_spare[123]): Change type from int to long.
12635 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12637 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
12640 * configure.in (d10v*): Define SMALL_MEMORY.
12642 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12644 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
12645 -mrelocatable-lib and -mno-eabi flags.
12647 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
12649 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
12650 Fix handling of mis-aligned source operand when both the
12651 destination & length are properly aligned.
12653 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
12655 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
12656 times.o, time.o and gettime.o
12657 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
12658 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
12661 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
12663 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
12664 * libc/sys/sysnecv850/access.c: New file.
12666 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
12668 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
12670 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
12673 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
12675 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
12677 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
12679 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
12680 * libc/include/sys/config.h: Add m32r support.
12682 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
12684 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
12687 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
12689 * libc/include/machine/setjmp.h: Add D10v support.
12691 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
12693 * configure.in: Configure the "libc/syscalls" directory for
12696 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
12697 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
12698 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
12699 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
12700 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
12702 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
12704 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
12705 stack for args for main and other routines. Zero out args for
12708 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
12711 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12713 * libc/stdio/findfp.c (std): Remove extraneous ';' after
12716 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
12718 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
12719 real system calls now.
12721 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
12722 before casting them to int.
12723 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
12725 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
12727 * libc/string/memset.c (memset): Ditto.
12729 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
12730 first convert ints to _POINTER_INT to eliminate GCC warning.
12732 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
12735 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
12736 from 65000 if ints are only 16 bits.
12738 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
12739 from 50000 if ints are only 16 bits.
12741 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
12742 int type that is the same size as a pointer.
12744 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
12746 (get_number): Explicitly cast number to long before shifting by 16
12747 or 24, in case ints are short.
12749 * libc/include/sys/config.h (_POINTER_INT): Define as short.
12751 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
12753 * libc/string.h: Added ffs, removed swab.
12754 * libc/sys/errno.h: Added EOPNOTSUPP.
12755 * libc/sys/unistd.h: Added swab.
12757 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
12759 * libc/include/sys/stat.h: Added fchmod.
12760 * libc/include/sys/unistd.h: Added fsync.
12762 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
12764 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
12765 and ECONNRESET (104) for cygwin32.
12767 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
12769 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
12770 do the static destructors.
12772 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
12774 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
12776 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
12778 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
12779 * configure.in: Recognize m32r-*-*.
12781 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
12783 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
12784 __rt_stkovf_split_small): Added default software stack overflow
12785 handlers, which just call SWI_Exit.
12786 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
12787 limit initialisation.
12789 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
12791 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
12793 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
12795 * libc/include/sys/types.h: Added ssize_t definition.
12797 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12799 * libc/machine/d10v/setjmp.S: Use ';' for comments.
12800 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
12802 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
12803 branch around a single ldi instruction.
12805 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
12806 Call exit, instead of just issuing a stop instruction.
12808 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12810 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
12812 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12814 * libc/stdlib/mprec.h: Explicitly declare all large constants as
12815 longs, and then cast them to __uint32_t.
12817 * libc/include/sys/config.h: Protect against multiple inclusions.
12819 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
12821 * configure.in (d10v*): Set syscall_dir.
12823 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
12825 * libc/sys/d10v/crt0.S: Set stack pointer.
12827 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
12829 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
12830 in assembly for efficiency. Change calling convention to allow
12831 long ints to be returned.
12833 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12835 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
12837 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
12839 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
12840 Handle empty entries in $PATH.
12842 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
12844 * libc/machine/d10v/setjmp.S: Make it really work.
12846 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
12848 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
12849 the .stack section.
12851 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
12853 * sys/sysnecv850/sys/file.h: Remove.
12854 * sys/sysnecv850/sys/syscall.h: New file.
12855 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
12856 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
12857 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
12858 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
12859 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
12860 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
12861 * sys/sysnec850/trap.S: New file.
12862 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
12864 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
12865 * sys/sysnec850/sbrk.c: New version.
12867 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
12869 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
12870 as long as r6 is less than r7.
12872 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
12874 * Makefile.in (mostlyclean): Separate from clean target. Don't
12875 remove *.a or targ-include.
12876 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
12878 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12880 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
12882 (__SMALL_BITFIELDS): Ditto.
12884 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
12886 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
12888 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
12891 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
12892 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
12893 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
12894 * libc/sys/sysnecv850/write.c (write): Likewise.
12896 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
12899 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12901 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
12902 appropriately for D10V, depending on -mint16/-mint32.
12904 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
12906 * configure.in: Add cases for D10V.
12908 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12910 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
12912 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
12914 * libc/include/machine/ieeefp.h: Fix typo.
12916 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
12918 * libc/sys/d10v: New directory for D10V stuff.
12919 * libc/include/machine/ieeefp.h: Add D10V defines.
12921 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
12923 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
12924 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
12925 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
12926 * libc/string/strerror.c (strerror): Add them.
12928 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
12930 * libc/sys/sysnecv850: New directory for v850 stuff.
12932 * libc/machine/v850: New directory for v850 stuff.
12933 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
12935 * configure.in: Add support for the v850.
12937 * libc/include/machine/ieeefp.h: Add v850 defines.
12938 * libc/include/machine/setjmp.h: Likewise.
12939 * libc/include/sys/config.h: Add v850 defines.
12941 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
12943 * libc/include/machine/ieeefp.h
12944 * libc/include/machine/setjmp.h
12945 * libc/include/sys/fcntl.h
12946 * libc/include/sys/signal.h
12947 * libc/include/sys/types.h
12948 * libc/stdlib/system.c:
12949 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
12950 API availability, __CYGWIN32__ for cygwin32 environment specific).
12952 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
12954 * libc/include/stdlib.h: add multibyte character functions. Add
12955 __eprintf for assert.
12957 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
12959 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
12960 arithmetic or __alignof__ to properly get the alignment, instead
12961 of hardwiring it to 4.
12963 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
12965 * libc/stdio/fseek.c: add fflush call to adjust seek offset
12966 on append stream (fix from NetBSD sources), adjust curoff offset
12967 for ungetc's benefit.
12968 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
12969 * libc/stdio/rewind.c: replace code with up to date NetBSD
12970 code to undo hacks made to work around above problem of not
12971 having fflush call mentioned above
12973 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12975 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
12976 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
12977 Partially revert last changes. The thread specific errno is set
12978 iff if the underlying syscall fails and the global errno is not
12981 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
12983 * libc/reent/filer.c: Removed files, all functions have split out
12984 into their own files.
12985 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
12986 New files containing functions formally in filer.c
12987 * libc/reent/Makefile.in: Updated for above change.
12989 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
12990 syscall fails, not if errno is changed.
12991 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
12992 _write_r): Likewise.
12993 * libc/reent/fstatr.c (_fstat_r): Likewise.
12994 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
12995 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
12996 * libc/reent/signalr.c (_kill_r): Likewise.
12997 * libc/reent/statr.c (_stat_r): Likewise.
12998 * libc/reent/timer.c (_gettimeofday_r): Likewise.
13000 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
13001 signalr.c, statr.c, timer.c} (errno): declare extern rather
13004 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
13005 instead of calling vfprintf so that i*printf will not require
13006 floating point support code.
13008 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
13010 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
13012 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
13013 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
13015 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
13017 * libc/include/signal.h: _sig_func_ptr function takes an int
13018 * libc/include/sys/signal.h: sa_handler function takes an int
13020 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
13022 * libc/include/machine/ieeefp.h: Simplify H8/S support.
13023 * libc/include/sys/config.h: Add missing H8/S conditional.
13025 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
13027 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
13029 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
13031 * libc/include/machine/setjmp.h: Handle H8/S.
13032 * libc/include/machine/ieeefp.h: Likewise.
13033 * libc/include/sys/config.h: Likewise.
13034 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
13035 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
13036 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
13037 * libc/sys/h8300hms/crt0.S: Likewise.
13039 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
13041 * Makefile.in (datadir): Set to $(prefix)/share.
13042 (oldincludedir, docdir): Removed.
13043 * doc/Makefile.in (datadir): Set to $(prefix)/share.
13044 (oldincludedir, docdir): Removed.
13045 * libc/Makefile.in (datadir): Set to $(prefix)/share.
13046 (oldincludedir, docdir): Removed.
13047 * libm/Makefile.in (datadir): Set to $(prefix)/share.
13048 (oldincludedir, docdir): Removed.
13050 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
13052 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
13055 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
13057 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
13058 fetch current path rules with sysconf and handler posix/win32
13061 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
13063 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
13064 (WAIT_CHILD): Always define.
13066 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
13068 * libc/stdlib/eprintf.c: New file.
13069 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
13070 (eprintf.o): New target.
13072 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
13074 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
13075 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
13077 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
13079 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
13080 NT in PowerPC endianess cases.
13082 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13084 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
13086 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13088 * libc/string/strtok.c: Fix doc typo.
13090 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13092 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
13093 _next, _scanpoint, _signgam fields.
13095 * libc/include/stdlib.h (rand_r): Added new declaration.
13096 (_rand_r, _srand_r): Removed declarations.
13097 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
13098 have been made obsolete by rand_r.
13099 * libc/stdlib/rand_r.c: New file, rand_r function as specified
13102 * libc/string/strtok.c: Update documentation to describe
13105 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
13107 * libc/include/sys/stat.h (stat structure): Use the expanded stat
13108 structure on Solaris, and PowerPC systems even though __svr4__ is
13111 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
13113 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
13115 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
13117 * host/any: Use ../.. rather than .. to get to the main build
13118 directory. This matches the current layout of the build
13121 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
13123 * libc/machine/h8300/__main.S: Delete. No longer needed.
13124 * libc/machine/h8300/Makefile.in: Corresponding changes.
13125 * libc/sys/h8300hms/crt1.c: New file.
13126 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
13127 * libc/sys/h8300hms/crt0.s: Call __main.
13129 * libc/sys/h8300hms/crt0.S: Use temporary label names
13130 for branch targets.
13132 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
13134 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
13136 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13138 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
13139 .sdata on the PowerPC so that we can link newlib with code
13140 compiled with -msdata.
13142 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
13144 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
13146 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
13148 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
13149 exception handler to __cygwin_exception_handler.
13151 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
13153 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
13155 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
13157 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
13159 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
13160 wcstombs.o): Likewise.
13162 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
13164 * libc/stdlib/environ.c (initial_env): New static local.
13165 (environ): Point to `initial_env'.
13167 * libc/include/machine/setjmp.h: Clean up.
13168 (__H8300H__,__PPC__): Define _JBTYPE.
13169 (__arm__): Provide entry for.
13170 (sigjmp_buf): Delete.
13171 (jmp_buf): Use _JBTYPE if defined, otherwise int.
13173 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
13175 * libc/machine/h8300/strcmp.S: Sign extend the result to
13176 32bits so we don't lose with -mint32.
13178 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
13180 * libc/sys/go32/sys/errno.h: New file.
13181 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
13182 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
13183 errno's address (make compatible with rest of newlib).
13184 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
13185 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
13187 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
13189 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
13190 * libc/machine/sparc/Makefile.in: Build them.
13191 * libc/machine/sparc/machine/sparclet.h: New file.
13193 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13195 * libc/machine/sh/asm.h: New file.
13196 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
13197 support for SH3e's FP registers. Use asm.h.
13199 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
13201 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
13202 as first argument. Call _dtoa_r and pass the reent structure
13203 instead of calling __dtoa.
13205 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
13207 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
13208 the h8300, h8500, and others. Add comments for some rather
13211 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
13213 * Makefile.in (check): Check that testsuite exists before cd.
13215 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13217 * libc/include/string.h (strsep): Correct prototype.
13219 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
13221 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
13222 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
13223 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
13225 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
13227 * libc/posix/{creat.c,isatty.c}: New files.
13228 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
13230 * libc/sys/sparc64/crt0.S (environ): Delete.
13231 (.LHaveBias): Renamed from HaveBias.
13233 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
13235 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
13236 (_morecore_r): Delete SBRK_IS_ALLOC support.
13238 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13240 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
13241 module rather than touch, so we don't get warning messages when
13242 all of the libraries are combined into libc.a.
13244 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
13246 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
13247 crt0.s replaced by version in libgloss.
13249 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
13251 * libc/reent/Makefile.in (OFILES): Add impure.o.
13252 * libc/reent/impure.o: New file, define initial reentrancy struct.
13253 * libc/reent/reent.c: Remove above definition.
13255 * libm/math/sf_asinh.c: Fix typo.
13257 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
13260 * libm/libm.texinfo: Change documentation to reflect changes
13261 in reentrancy model.
13262 * libm/math/w_gamma.c: Likewise.
13264 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
13266 * configure.in (*-*-cygwin32): New.
13267 (*-*-win32): Deleted.
13268 * libc/sys/win32 renamed libc/sys/cygwin32.
13270 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13272 * libc/include/sys/file.h: New include file.
13274 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
13276 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
13278 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
13280 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
13282 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
13284 * doc/makedoc.c (realloc): Declare at file scope.
13285 (catchar): Not here.
13287 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
13289 * Makefile.in (VERSION): Update to 1.7.0.
13290 * {libc,libm}/Makefile.in (VERSION): Likewise.
13291 * configure.in: Minor clean up of multilib stuff.
13293 From David Johnson <davidj@ICSI.Berkeley.EDU>
13294 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
13296 * libc/stdlib/environ.c: New file.
13297 * libc/stdlib/Makefile.in (OFILES): Build it.
13298 * libc/sys/h8500hms/crt0.c (environ): Deleted.
13299 * libc/sys/m88kbug/crt0.c (environ): Deleted.
13300 * libc/sys/z8ksim/crt0.c (environ): Deleted.
13301 * libc/sys/netware/environ.c: Deleted.
13303 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
13305 * configure.in (links): set sys_dir, posix_dir, syscall_dir
13307 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13309 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
13310 declaration out to external scope and declare it PTR, not char *.
13312 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
13314 * libc/include/sys/unistd.h (getpagesize): New declaration.
13315 (_SC_PAGESIZE): New definition.
13316 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
13317 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
13319 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
13321 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
13322 addressing. System call returns size, not (last address + 1).
13324 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13326 * libm/math/*.c: Removed _foo_r() reentrancy API.
13327 * libc/include/math.h: Removed _foo_r prototypes and macros.
13329 * libm/math/*.c: On systems with IEEE single precision "doubles"
13330 move foo() -> foof() wrapper code from the files that implement
13331 the standard IEEE double precision functions to the files that
13332 implement IEEE single precision functions. (ie. On those systems
13333 sin is moved from s_sin.c to sf_sin.c). There should eventually
13334 be use of a C extension (like gcc's alias attribute) so that the
13335 wrappers are not needed at all.
13337 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
13338 strict NEC V810 compiler.
13339 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
13342 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13344 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
13345 from NetBSD C library.
13346 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
13348 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
13349 and adapted from implementation I wrote for NetBSD C library.
13350 The difference is __assert doesn't take a format argument,
13351 so that there won't be multiple copies of the same string
13352 constant in the executable if assertions are enabled in
13353 more than one source module.
13354 * libc/include/assert.h (assert): Changed to call __assert.
13356 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13358 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
13359 word1 on systems with 32 bit doubles.
13360 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
13361 so that we can do arithmetic on them.
13362 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
13365 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
13367 * libc/sys/arm/crt0.S: Zero bss.
13369 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
13371 * libc/include/unctrl.h: New file.
13372 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
13373 * configure.in (subdirs): Add libc/misc.
13374 * libc/Makefile.in (SUBDIRS): Add misc.
13375 (SUBLIBS): Add misc/lib.a.
13377 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
13379 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
13381 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
13382 (_vfprintf_r): Call CHECK_INIT.
13384 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
13386 * Makefile.in (MULTITOP): Delete.
13387 (MULTISRCTOP, MULTIBUILDTOP): Add.
13388 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
13389 instead of cfg-ml-pos.in.
13391 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13393 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
13394 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
13397 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
13399 * libc/string/strtok.c: Include string.h to pick up strtok_r
13402 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13404 * libc/string/strtok.c: include <_ansi.h>.
13405 * libc/time/asctime_r.c: `reresult' -> `result'.
13407 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13409 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
13410 in #ifndef _REENT_ONLY ... #endif conditional.
13412 * libc/include/string.h (_strtok_r): Remove declaration.
13413 * libc/include/time.h (_asctime_r): Remove declaration.
13414 * libc/string/strtok.c (_strtok_r): Removed.
13415 * libc/time/asctime.c (_asctime_r): Removed.
13417 * libc/string/Makefile.in (OFILES): Add new object.
13418 * libc/string/strtok_r.c: New file. strtok_r function as
13419 specified by POSIX.1c, adapted from strtok implementation
13420 from NetBSD C library.
13421 * libc/string/strtok.c (strtok): Reimplemented in terms of
13424 * libc/time/Makefile.in (OFILES): Add new objects.
13425 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
13426 New files, reentrant time functions specified by POSIX.1c.
13427 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
13428 reentrant time functions re-written in terms of reentrant
13430 * libc/time/lcltime.c: Renamed from localtime.c
13432 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
13433 gmtime_r, and localtime_r.
13435 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
13437 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
13438 * libc/include/sys/unistd.h (getlogin): Revert change of
13440 * libc/include/sys/signal.h (sigprocmask): Change prototype
13441 so it compiles with c++.
13443 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
13445 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
13446 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
13447 to give some room in case we need to align the jmp_buf.
13449 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
13450 the new ppc-asm.h include file the compiler provides to specify
13451 function prologue/epilogue. Eliminate saves of the xer and ctr
13452 registers, which are volatile. Before starting to save registers,
13453 align to 8 byte boundary.
13455 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
13457 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
13458 referenced by standard libraries.
13460 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
13462 * libc/unix/Makefile.in, libc/string/Makefile.in,
13463 libc/stdio/Makefile.in, libc/reent/Makefile.in,
13464 libc/posix/Makefile.in:
13465 Remove tabs from otherwise empty line. Confuses some
13466 older non-GNU versions of "make".
13468 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
13470 * libc/sys/unistd.h (getlogin): Returns const char *.
13472 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
13474 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
13475 * libc/include/errno.h: Moved into and include...
13476 * libc/include/sys/errno.h: New file.
13477 * libc/include/sys/wait.h: New file.
13478 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
13479 * libc/sys/win32/*: Moved out.
13480 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
13481 * configure.in (i[345]86-*-win32): HAVE_RENAME
13483 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
13485 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
13486 avoid macro expansion for these two names.
13488 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
13490 * libc/machine/h8500/psi.S: r6 renamed to fp.
13492 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
13494 * configure.in (powerpc*): No longer need to define
13495 NO_LONGLONG_POINTERS to supress warnings.
13497 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13499 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
13500 through PTR instead of directly.
13502 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
13503 non-standard constructor support.
13505 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13507 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
13508 address of the Bigint instead of the address of its _x field,
13509 as the size the result buffer was calculated accordingly.
13510 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
13512 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
13513 from NetBSD C library. No longer special cases division by
13514 zero (which needs to be done by the application anyway), but
13515 it doesn't need to call abs() (or labs()) four times either.
13517 * libc/stdlib/qsort.c: Replaced with implementation from
13520 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13522 * libc/stdio/vfprintf.c: Replaced with implementation from
13523 NetBSD C library (which is derived from the 4.4BSD C library).
13524 * libc/stdio/cvt.c: Removed.
13525 * libc/stdio/Makefile: Updated.
13527 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
13529 * libc/sys/win32/syscalls.c (rename): New.
13530 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
13532 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
13534 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
13535 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
13537 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
13538 (setjmp.o): Delete rule to build setjmp.o.
13539 * libc/sys/sh/setjmp.S: Delete file.
13541 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13543 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
13544 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
13545 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
13546 pow5mult and s2b to identifiers with leading underscores.
13547 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
13548 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
13550 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
13552 * libc/sys/posix/popen.c (sys/types.h): Include.
13554 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
13556 * libc/sys/win32/syscalls.h (fhandler): New struct.
13557 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
13558 (__fhandler_normal): Declare.
13559 (hinfo): New member op_handlers.
13560 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
13561 (__write): Likewise.
13562 (_read, _write, _open, _close, _lseek): Validate fd here.
13563 Move file type specific stuff to foo_normal.
13564 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
13566 (__lookup_fhandler): New function.
13567 (__lookup_fhandler_hook, __fhandler_normal): New variables.
13569 From anders.blomdell@control.lth.se (Anders Blomdell)
13570 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
13571 Don't touch standard handles.
13572 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
13573 (_execve): Only create __FD_TABLE__ if necessary.
13574 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
13576 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
13578 * libc/sys/win32/sys/termios.h (FLUSHO): New.
13579 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
13580 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
13581 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
13582 without a handler is received.
13583 * libc/sys/win32/Makefile.in: Remove --nodelete.
13584 * libc/sys/win32/resouce.c (gettimeofday): New.
13585 * libc/sys/win32/syscalls.c (path_to_real_path): New.
13586 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
13588 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
13590 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
13591 Don't append "/*" to search pattern if trailing '/' already there,
13593 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
13594 like /'s, convert them to \'s. Handle //<drive>/ path names.
13595 Add space for quoted \'s in arg string. Print translated prog name
13596 and original prog name.
13597 (_execve): Handle parent doing exec a teensy bit better.
13598 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
13599 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
13600 path needs conversion, handle both cases. Delete `const' from result.
13601 (hash_path_name): New function.
13603 (_stat): Likewise. Fill in more fields for directories.
13604 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
13605 (wait_for_any): Fix trace message.
13606 (waitpid): Explicitly test for intpid == 0.
13608 From anders.blomdell@control.lth.se (Anders Blomdell)
13609 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
13610 so `next' is valid.
13612 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
13614 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
13617 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13619 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
13620 at all, not just == 1.
13621 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
13623 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13625 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
13626 * libc/sys/win32/include/wintypes.h: include <winnt.h>
13627 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
13630 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13632 * libc/sys/syscalls.c (getcwd): Fix off by one error.
13634 * libc/sys/signal.c (sleep): Fill it in.
13635 * libc/sys/termios.c (tcflush): Use PurgeComm
13636 (tcsetattr): Set some more of the bits.
13637 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
13639 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
13641 * libc/sys/arm/crt0.S (fp): Initialize to 0.
13642 Conditionally include .idata$3 stuff ifdef __pe__.
13644 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
13646 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
13647 * libc/sys/win32/pipe.c (pipe): Ditto.
13648 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
13649 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
13650 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
13651 (tcgetattr): Contents are new.
13652 * libc/sys/win32/include/winkernel.h (DCB): New.
13653 (GetCommState, SetCommState): New.
13655 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
13657 * libc/sys/arm/crt0.S (_start): Define.
13659 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
13661 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
13662 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
13664 * libc/sys/win32/sysconf.c: New
13665 * libc/sys/win32/sys/winadvapi.h: New
13666 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
13667 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
13668 * libc/sys/win32/pipe.c (pipe): Ditto.
13669 * libc/sys/win32/signal.c (_raise): New.
13670 (_kill): Moved from spawn.c
13671 * libc/sys/win32/spawn.c (kill): Moved to signal.c
13672 * libc/sys/win32/syscalls.c (__read): Use new fields.
13674 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
13675 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
13676 * libc/include/sys/unistd.h (rmdir): Takes const path.
13677 * libc/include/sys/stat.h (mkdir): Takes const path.
13678 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
13680 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
13682 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
13684 Add support for specifying paths as //<drive>/foo/bar.
13685 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
13686 (__path_to_real_path): Declare.
13687 (PATH_TO_REAL_PATH): New macro.
13688 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
13689 (__path_needs_conversion_p, __path_to_real_path): New functions.
13690 (_open): Fix test for error return from CreateFileA.
13691 Handle new path syntax.
13692 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
13693 * libc/sys/win32/dirsearch.c (opendir): Likewise.
13695 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
13697 * libc/sys/win32/include/*.h: Reorganized
13698 * libc/sys/win32/include/WINREADME: New.
13699 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
13700 * libc/sys/win32/*.c: Fix for new include scheme.
13701 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
13702 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
13703 * libc/sys/win32/passwd.c (*): Fix.
13704 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
13705 (_stat): Get directory owner and permissions right.
13706 * libc/sys/win32/syscalls.h (uinfo): New.
13707 * libc/sys/win32/version.def: Remove leading underscores.
13709 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13711 * libc/sys/win32/key.c: include "include/wincon.h".
13713 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
13715 * libc/sys/win32/{key, stubs}.c: New.
13716 * libc/sys/win32/Makefile: Adjust to cope.
13717 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
13718 (environ_init): Change env names to upper case.
13719 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
13720 * libc/sys/win32/passwd.c (*): Fill in the functions.
13721 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
13722 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
13723 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
13724 (_open): Initialze hmap->execable_p too.
13725 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
13726 (_fstat): Fill in permissions.
13727 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
13729 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
13731 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
13733 (cfg-ml-pos.in invocation): Likewise.
13735 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13737 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
13738 s_isnan.o and sf_isnan.o.
13740 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
13742 * All Makefile.in files: added maintainer-clean target as a
13743 synonym for realclean.
13745 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
13747 * libc/include/machine/setjmp.h: Add hppa support.
13748 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
13750 * libc/machine/hppa/Makefile.in: Related changes.
13752 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
13754 * configure.in (machine_dir): Don't set for v810-*-*.
13756 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13758 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
13759 conventions correctly.
13761 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
13763 * libc/stdio/puts.c: Update documentation of return value to match
13766 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
13768 Fix file descriptor inheritance.
13769 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
13770 (NOT_OPEN_FD): Fix.
13771 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
13772 close-on-exec flag not set. Initialize child's entire fd table.
13773 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
13775 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
13776 if CHILD_P. Initialize entire hmap entry.
13777 (dup): Only create new handle as inheritable if CHILD_P.
13778 (dup2): Likewise. Properly initialize hmap entry.
13780 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
13782 (_exit): Use CHILD_P.
13783 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
13786 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13788 * libc/sys/win32/crt0.c (passover): fix up the state table.
13789 * libc/posix/popen.c: Added.
13790 * libc/posix/Makefile.in: compile popen.c.
13792 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
13794 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
13795 h8/500 define _DOUBLE_IS_32BITS.
13797 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
13799 Get vfork/exec/spawn/cwait/wait working again.
13800 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
13801 (procinfo): New member vfork_level.
13802 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
13803 (vfork_init_first): Use GetCurrentProcessId to get pid.
13804 Initialize vfork_level.
13805 (vfork_init): Delete __PID__.
13806 (environ_init): New function. Undo patch of Aug 19, Posix says
13807 environment variables are case sensitive.
13808 (mainCRTStartup): Call it.
13809 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
13810 (my_longjump: Make static.
13811 (_spawn): New argument `h'. Delete setting of __PID__.
13812 Delete local `idx'. Look for chars that need quotes, rather than
13813 ones that don't. Set handle of created process in `h'.
13814 Result is process id if created task.
13815 (allocate_spawn_entry): New function.
13816 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
13817 (_execve): Set __FD_TABLE__ before spawning child.
13818 Scan our fd table when passing fds, not our parent's.
13819 Store handle and pid in procinfo entry.
13820 (vfork0): Ensure strace message always printed.
13821 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
13822 (vfork): Don't clobber result of vfork0.
13823 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
13824 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
13826 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
13828 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
13829 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
13830 adding vfork level to pseudo-pid.
13831 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
13832 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
13833 (_exit): If child, set exit code.
13834 (__vfork_record_death): Only close process handle if valid.
13835 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
13837 (wait_for_any): Likewise. Start scan after root entry.
13839 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13841 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
13842 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
13843 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
13844 of actual file length.
13846 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
13847 * libc/include/paths.h: _PATH_BSHELL added.
13848 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
13851 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13853 * libc/include/ar.h: Added.
13854 * libc/include/sys/types.h: ino_t goes back to 32-bits.
13855 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
13856 * libc/sys/win32/syscalls.c (_open): compute .namehash based
13858 (_fstat): use .namehash for inode number of the fd.
13860 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
13862 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
13863 Change hinfo to __this_procinfo.
13864 * libc/sys/win32/crt0.c: Remove procinfo_list.
13866 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13868 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
13871 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13873 * libc/sys/win32/include/grp.h: Removed.
13874 * libc/sys/include/grp.h: Added.
13875 * libc/sys/win32/grp.c: Include <grp.h>.
13877 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
13879 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
13880 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
13881 Defined for all but strict ANSI.
13882 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
13883 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
13884 * libc/signal/signal.c (_signal_r): Changed from using
13885 _MAX_SIGNALS to NSIG.
13886 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
13888 (__strace, __vfork_next_pid): New.
13889 (__exe_suffix): Default to 1.
13890 (passover, table): Understand quoted arguments.
13891 (vfork_init_first): New.
13892 (vfork_init): Initialize new process structure.
13893 (mainCRTStartup): Pass environ to main.
13894 * exceptions.c (__sig_mask): New
13895 (ehandler3): Ignore signals in mask.
13896 (really_exit): Remove CHILD_P test.
13897 * pipe.c (pipe, dup, dup2): Use new process and file structure.
13898 * resource.c (getrusage): Ditto.
13899 * signal.c (sigprocmask): New.
13900 * spawn.c (*): Rewritten.
13901 * syscalls.c (*): Use new process and file structure.
13902 (find_unused_handle): New.
13903 * syscalls.h (MAX_HANDLES): Deleted.
13904 (hinfo): Removed child_created_p.
13905 (MAX_CHILDREN): Deleted.
13906 (vfork_jmp_info, procinfo): New.
13907 * wait.c (*): Mostly new.
13908 * sys/strace.h (_STRACE_PARANOID): New.
13909 * sys/param.h: New file.
13911 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13913 * libc/include/sys/stat.h: add S_BLKSIZE.
13914 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
13915 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
13917 (mode_t): add a #else to avoid multiple definitons.
13919 * libc/sys/win32/Makefile.in: add grp.c.
13920 * libc/sys/win32/grp.c: include grp.h correctly.
13921 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
13922 of the st structure with real information.
13923 * libc/sys/win32 (dirent): d_ino is of type ino_t.
13925 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
13927 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
13928 and (maybe) sparc64.
13929 (nlink_t): Provide typedef.
13931 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13933 * libc/sys/win32/grp.c: New file.
13934 * libc/sys/win32/include/grp.h: New file.
13936 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13938 * libc/include/machine/ieeefp.h: Added whitespace to make this
13939 file easier to maintain.
13940 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
13941 depending on the value of __LITTLE_ENDIAN__.
13942 On the sh3e, define _DOUBLE_IS_32BITS.
13944 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
13946 * libc/sys/vr4300/syscalls.c: Added missing support
13947 routines. _raise() and getpid().
13949 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
13951 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
13953 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
13955 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
13956 and VR4300 processor.
13957 * libc/sys/vr4300: Add directory.
13958 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
13959 monitor run-time support.
13961 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13963 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
13964 * libc/stdlib/stdlib.tex: Don't include atol.def.
13966 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13968 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
13970 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
13972 * libc/ctype/Makefile.in: Fill in _to* dependencies.
13974 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
13976 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
13977 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
13978 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
13979 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
13980 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
13982 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
13984 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
13986 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
13988 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
13989 * libc/stdlib/atoff.c: New file.
13990 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
13991 * libc/stdlib/atoi.c (atol): Removed.
13992 * libc/stdlib/atol.c: Removed duplicate documentation.
13994 * libc/include/ctype.h (_tolower, _toupper): Moved inside
13995 #ifndef _STRICT_ANSI conditional.
13996 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
13997 * libc/ctype/_tolower.c: New file.
13998 * libc/ctype/_toupper.c: New file.
13999 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
14000 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
14001 * libc/ctype/toascii.c (_toascii): Removed.
14003 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
14005 * libc/sys/sparc64/sys/types.h: Deleted.
14007 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14009 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
14010 and recognize Windows_95 systems.
14012 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14014 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
14015 and passed fds should be opened in text mode.
14017 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
14019 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
14020 in __hmap, set to binary mode by default.
14022 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14024 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
14025 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
14028 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
14030 * Makefile.in (install): Install all libraries found in the
14031 top level. If there's a sys/<type>/include directory,
14032 install those headers into include.
14034 * libc/sys/win32/kernel.def351: Delete
14035 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
14036 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
14037 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
14038 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
14039 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
14040 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
14041 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
14042 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
14044 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
14045 * libc/sys/win32/crt0.c: Force all env names to upper case.
14046 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
14047 * libc/sys/win32/*.c: Headers have moved.
14048 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
14049 __vfork_child_idx is now __vfork_child_ptr.
14051 * posix/execvp (execvp): Don't crash if no PATH envname.
14053 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14055 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
14056 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
14057 through the _freelist instead of through the _reclaim list.
14058 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
14059 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
14062 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14064 * libc/machine/h8500/setjmp.S: New file.
14065 * libc/include/machine/setjmp.h: Updated for H8/500.
14067 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
14069 * libc/sys/win32/syscalls.c (_open): More stracing.
14070 (_stat): Open the file in O_BINARY.
14072 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14074 * libc/machine/h8300/setjmp.S: New file.
14075 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
14077 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
14079 * libc/sys/win32/crt0.c (__exe_suffix): New global.
14080 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
14081 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
14082 __exe_suffix. Free fd_tab after setting env variable.
14083 (spawnv,_execve): Update.
14084 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
14085 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
14086 (__small_vfprintf): New function.
14087 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
14088 * libc/sys/win32/wait.c (cwait): Validate argument.
14090 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
14091 (process_deletion_queue): Likewise.
14093 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
14095 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
14097 * libc/sys/win32: Copyrights and gratuitous indenting.
14099 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
14101 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
14102 (process_deletion_queue): Likewise.
14103 (__close_all_files): New function.
14104 (_close): Only queue file deletion if really a file.
14105 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
14107 (_exit): Call __close_all_files.
14109 * libc/stdlib/system.c: #include <errno.h>.
14110 (_system_r): Fix results in -DNO_EXEC case.
14112 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
14113 Reorganize structure.
14114 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
14115 if argument is valid. Save directory name in DIR. malloc space
14116 for dirent struct separately.
14117 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
14119 * libc/include/errno.h (ENAMETOOLONG): Define.
14120 * libc/string/strerror.c (strerror): Reword ENFILE.
14121 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
14123 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
14125 * libc/sys/win32/crt0.c (__progname): New global.
14126 (mainCRTStartup): Support strace=bitmask,filename.
14127 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
14128 * libc/sys/win32/syscalls.c (_write): Print parent trace message
14130 (getcwd): Handle len too small. Convert '\\' to '/'.
14131 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
14132 Add prototypes for open, creat, fcntl.
14133 (O_APPEND): Change value to conform to Microsoft's value.
14134 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
14136 * libc/stdlib/getopt.c: New file.
14137 * libc/stdlib/Makefile.in: Build it.
14139 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
14141 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
14142 Fix scanning of $PATH.
14143 * libc/posix/exec*.c: Call _execve, not execve.
14144 * libc/posix/execve.c: New file.
14145 * libc/posix/Makefile.in (OFILES): Add execve.o.
14147 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
14148 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
14149 (_STRACE): If level==0, always print. Handle new bit mask scheme.
14150 * libc/sys/win32/crt0.c: Update _STRACE calls.
14151 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
14153 * libc/sys/win32/smallprint.c (rn): Fix digit list.
14155 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
14156 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
14157 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
14158 Print __seterrno trace message first.
14159 (_execve): Renamed from execve.
14160 (vfork): Update __strace usage.
14161 (__vfork_child_pid): Deleted.
14162 (__vfork_children, __vfork_child_idx): New globals.
14163 (_spawnvp): New function.
14164 (spawnvp, spawnv, _execve): Call _spawnvp.
14165 (init_child): Record child in __vfork_children.
14166 (__vfork_get_entry, __vfork_record_death): New functions.
14167 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
14168 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
14169 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
14170 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
14171 (children): New typedef.
14172 (__vfork_children,__vfork_child_idx): Declare.
14173 (__vfork_get_entry,__vfork_record_death): Declare.
14174 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
14175 (waitpid): Handle pid == -1.
14176 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
14177 * configure.in (i386-win32): Add -DNO_FORK.
14178 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
14179 * libc/reent/execr.c (_fork_r): Likewise.
14180 * libc/stdlib/system.c (do_system): New function.
14181 If WIN32, try to get shell path from $SH_PATH, use vfork.
14182 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
14183 otherwise return 0.
14185 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
14187 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
14188 * libc/sys/win32/fcntl.h: Don't include self.
14189 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
14190 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
14191 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
14192 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
14193 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
14194 Correct prototypes.
14195 * libc/sys/win32/strace.c: New file.
14196 * libc/sys/win32/smallprint.c: New file.
14197 * libc/sys/win32/crt0.c (func): Delete.
14198 (mainCRTStartup): Fix alloca usage. Set handles explictly.
14199 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
14200 * libc/sys/win32/exceptions.c: Lint.
14201 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
14202 Clean up handle usage.
14203 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
14204 (open.c): Default file type is text.
14205 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
14206 * libc/sys/win32/advapi32.def: New
14208 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
14210 * configure.in (posix_dir, libc_posix_lib): New variables.
14211 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
14212 (i[345]86-*-win32): Define posix_dir.
14213 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
14214 (if unix_dir): Fix typo.
14215 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
14216 scandir,seekdir,telldir}: New files.
14217 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
14219 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
14220 (SUBDIRS): Add posix.
14221 (SUBLIBS): Add $(LIBC_POSIX_LIB).
14223 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
14224 (NSIG): Increase to 21.
14225 * libc/include/sys/unistd.h (pid_t): Move from here,
14226 * libc/include/sys/types.h (pid_t): to here.
14228 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
14229 (__ptrace): Delete.
14230 (hinfo): New members close_exec_p, child_created_p.
14231 (struct exception_list): Define.
14232 (__hmap): Redefine as pointer to table.
14233 (__parent_hmap, __child_hmap): New globals.
14234 (__set_errno, __really_exit): Declare.
14235 (__vfork_child_pid): Declare.
14236 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
14237 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
14238 (__parent_hmap, __child_hmap): New globals.
14239 (__hmap): Redefine as pointer to active map.
14240 (__get_console): New function.
14241 (mainCRTStartup): Change leading '=' in environ vars to '!'.
14242 (env __FD_TABLE__): Watch for this and initialize our fd/handle
14243 mapping table from it if defined.
14244 (argv, envp): Dump if __strace >= 4.
14246 * libc/sys/win32/exceptions.c (myp): Redefine.
14247 (__syscalls_b): Delete.
14248 (__stack_trace): New function.
14249 (ehandler3): Update to use _STRACE. Print stack trace.
14250 Call __really_exit instead of exit.
14251 (init_exceptions): Delete args argc,argv. New arg mine.
14252 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
14253 FindFirstFileA, FindNextFileA, GetComputerNameA,
14254 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
14255 * libc/sys/win32/signal.c (signal): Validate arg.
14256 (alarm, sleep): Define as stubs for now.
14257 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
14258 (__syscalls_b, errno): Delete.
14259 (__vfork_child_pid, __vfork_jmp_buf): New globals.
14260 (__seterrno): Handle more errors.
14261 (__sys_printf): Renamed from _ptrace.
14262 (__really_exit): New function.
14263 (queue_file_deletion, process_deletion_queue): New functions.
14264 (__resume_parent): New function.
14265 (_unlink): Handle trying to delete open file.
14266 (__totime_t): Renamed from totime_t.
14267 (setsid, __read, __write): New functions.
14268 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
14269 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
14270 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
14271 * libc/sys/win32/console.c: Update to new definition of __hmap.
14272 * libc/sys/win32/Makefile.in: Build new files.
14273 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
14274 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
14275 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
14276 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
14278 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
14280 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
14282 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14284 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
14285 have been made to the master dtoa.c sources (from netlib.att.com)
14286 since they were integrated into newlib in early 1992. Fixes
14287 problems with storage leaks and handling of numbers with very
14288 negative exponents.
14290 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14292 * Makefile.in (all): set rootpre and srcrootpre before calling
14295 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
14297 * libc/sys/win32/crt0.c: Change __hmap usage.
14298 * libc/sys/win32/exceptions.c: Use _ptrace call.
14299 * libc/sys/win32/syscalls.c: Use _ptrace call.
14300 (read, write): Cope with DOS style CRLF when in TEXT mode.
14301 * libc/sys/win32/syscalls.h: Declare hinfo struct.
14302 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
14303 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
14304 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
14305 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
14307 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14309 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
14311 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
14312 wrappers for hypot() and remainder() for BSD libm compatibility.
14313 These are public domain implementations written by me for the
14314 NetBSD libm some time ago. Note cabs() is required by ucbtest.
14315 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
14316 (fobj): Added wf_cabs.o and wf_drem.o.
14318 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14320 * libc/sys/h8500hms/misc.c: New file.
14321 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
14323 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14325 * libc/time/localtime.c (localtime): Fix problem with leap year
14326 handling. Stole algorithm from Arthur David Olson's tz code.
14328 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
14330 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
14332 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
14333 (_exit): Use argument.
14335 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
14337 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
14339 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
14341 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
14343 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14345 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
14348 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
14350 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
14351 ptrace with case insensitivity
14352 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
14353 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
14356 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
14358 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14359 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
14360 (all, install, *clean): Use new multilib support.
14361 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
14363 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
14365 * libc/include/sys/signal.h (__WIN32__): New.
14367 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
14369 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
14370 (ulp, b2d): Handle 32 bit doubles.
14371 * libc/stdlib/mprec.h: Handle 32 bit doubles.
14372 * libc/stdlib/strtod.c (_strtod_r): Ditto.
14374 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
14376 from medp@primag.co.uk:
14377 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
14378 dynamically allocated buffers.
14380 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
14382 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
14383 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
14385 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14387 * configure.in (powerpc): Fix previous fix.
14389 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14391 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
14392 directories for this target.
14394 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
14396 * configure.in (hppa): Add machine_dir definition.
14397 * libc/machine/hppa: New directory with PA specific implementations
14398 of the basic memory/string functions.
14400 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
14402 * configure.in: Update current PowerPC multilib directories.
14403 Split big and little endian configurations.
14405 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
14407 * configure.in: Add --enable-single-float option to configure to
14408 control use of MIPS single-float directories. Default to yes.
14410 * Makefile.in (all): Don't recurse into multilib directory if it
14413 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14415 * libc/sys/sh/syscalls.c: Fix typo.
14417 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
14419 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
14421 * libc/include/process.h: Define WAIT_CHILD.
14422 * libc/include/types.h: Get sizes right for win32.
14423 * configure.in (i386-*-pe): Becomes i386-win32.
14424 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14425 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
14426 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
14429 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
14431 * configure.in (i[345]86-*-pe): New target (NT).
14432 * host/any: DLLTOOL new.
14433 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
14434 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
14435 WIN32 (just enough to cross host the comp-tools).
14437 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
14439 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
14440 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
14442 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
14444 * libc/include/machine/ieeefp.h (arm): Change to always be
14445 __IEEE_BIG_ENDIAN (even on little endian ARM's).
14447 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
14449 * libc/sys/crt0.S: Initialze sp, and call exit after main.
14450 * libc/sys/syscalls.c (abort): New.
14451 * configure.in (arm): Define ABORT_PROVIDED.
14453 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14455 * configure.in (powerpc): Define multidirs.
14457 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
14459 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
14461 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
14463 * configure.in (sparclite): Delete target_cflags. Define multidirs.
14465 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
14467 * configure.in, libc/include/machine/ieeefp.h: Modified
14469 libc/machine/arm/*, libc/sys/arm/*: New
14471 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14473 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
14474 __powerpc__ when determining endianness.
14476 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14478 * configure.in (m68*): Add multidir for the m68332.
14480 * host/any (CC): Fix typo in last change.
14482 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
14484 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
14485 when determining endianness.
14486 * libc/include/machine/ieeefp.h: Ditto.
14487 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
14490 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
14492 * libc/include/errno.h (ENOTEMPTY): Define.
14494 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14496 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
14499 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
14502 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
14503 instead of only when open succeeds. ANSI requires that multiple
14504 calls to tmpnam() result in different files.
14506 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
14507 objects pulled in from /lib/libc.a that must be renamed before
14508 being pulled into newlib. /lib/libc.a's div.o conflicted with
14509 newlib's file with the same name.
14511 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
14513 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
14514 the build tree will only be used if the executables are present
14515 (instead of just the Makefiles).
14517 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
14519 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
14520 versions of these functions that I orignally wrote for the
14522 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
14523 versions I wrote for NetBSD.
14525 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
14527 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
14528 * libc/sys/sparclite/crt0.s: ditto.
14530 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
14532 * configure.in: Add soft-float for proelf.
14534 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
14536 * libc/stdlib/mprec.h (Bcopy): Copy the right number
14539 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
14541 * Makefile.in (all): Depend on `force'.
14542 * configure.in (syscall_dir): Renamed from fake_sys_dir.
14543 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
14544 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
14545 * libc/Makefile.in: Likewise.
14546 * libc/include/reent.h: Update syscall references.
14547 (_fcntl_r): Add prototype.
14548 * libc/syscalls/*.c #include <reent.h>.
14549 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
14551 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
14553 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
14554 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
14555 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
14556 (time.h, sys/types.h): Always include (even if MSDOS).
14557 (stat): Fix prototype.
14559 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
14561 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
14563 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
14565 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
14567 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
14569 * libc/include/regdef.h: New file.
14570 * libc/machine/mips/machine/regdef.h: New file.
14572 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
14574 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
14576 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
14578 * libc/sys/sh/crt0.S: Pass main's return to exit.
14579 * libc/sys/sh/trap.S: Put errno in the right place.
14581 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14583 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
14584 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
14585 * libm/math/ef_rem_pio2.c: Likewise.
14586 * libm/math/e_log10.c: Remove unused static one.
14587 * libm/math/ef_log10.c: Likewise.
14588 * libm/math/s_frexp.c: Likewise.
14589 * libm/math/sf_frexp.c: Likewise.
14591 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
14593 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
14594 longjmp.S: Upgraded.
14595 * libc/sys/go32/sys/setjmp.h: Upgraded.
14596 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
14598 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14600 * configure.in: Add many entries to multidirs for mips targets.
14602 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
14604 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
14605 5.2 which fixes bug where jn(-1,x) is three times larger than
14607 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
14609 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
14611 * libc/sys/w65/sys/syscalls.h: New file
14612 * libc/include/machine/ieeefp.h: W65 support.
14613 * libc/include/sys/config.h: Ditto.
14614 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
14615 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
14616 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
14618 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
14620 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
14622 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
14624 * Makefile.in, configure.in: Remove any references to the old
14627 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14629 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
14630 uses ... in prototype.
14633 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
14635 * libc/sys/a29khif/sys/libconfig.h: Remove.
14636 * libc/sys/go32/sys/libconfig.h: Remove.
14637 * libc/sys/sun4/sys/libconfig.h: Remove.
14638 * libc/sys/sysvi386/sys/libconfig.h: Remove.
14639 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
14640 * libc/sys/sparc64/sys/libconfig.h: Remove.
14642 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
14643 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
14644 * libc/include/math.h: Change all uses of _FLOAT_RET and
14645 _FLOAT_ARG to float.
14646 * libm/test/math.c: Likewise.
14647 * testsuite/libm.sac/math.c: Likewise.
14648 * testsuite/libm.sac/working/math.c: Likewise.
14650 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
14652 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
14653 gcc calls gas with endian option.
14654 * configure.in (sh): Build little endian version too.
14656 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14658 * configure.in: Configure big and little endian versions for MIPS
14661 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
14663 * libc/include/limits.h: Deleted.
14664 * libc/include/machine/limits.h: Deleted.
14666 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
14668 * ChangeLog: Remove stub directory. This has all been rewritten
14669 and moved to devo/libgloss.
14671 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
14673 * Makefile.in (dvi): Add to info target, use $@ in sub make.
14674 (docs): Merge into info target.
14675 * libm/Makefile.in (dvi): Add $(srcdir).
14676 * libm/math/Makefile.in (chobjs): Remove underscores from file
14677 names. Texinfo doesn't like them.
14678 (wacos.def, ...): Add explicit targets for all .def files.
14679 * libm/math/math.tex: Remove underscores from @include file names.
14680 * doc/Makefile.in (dvi): Add dummy target.
14681 * testsuite/Makefile.in (dvi): Add dummy target.
14683 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
14685 * Makefile.in (VERSION): Define. For net newlib releases.
14687 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
14689 * README: New file.
14691 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
14693 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
14695 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14697 * libc/stdlib/setenv.c (_findenv): Declare.
14699 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
14700 fcntl to not use _EXFUN, and change string parameters to open and
14701 creat to be ``const char *''.
14702 * libc/sys/sparc64/sys/fcntl.h: Likewise.
14703 * libc/sys/sparc64/creat.c (creat): Make PATH const.
14704 * libc/syscalls/sysopen.c: Include <fcntl.h>.
14705 (open) Make _FILE const.
14706 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
14707 (_creat): Make PATH const.
14708 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
14709 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
14710 * libc/sys/m88kbug/syscalls.c (open): Likewise.
14711 * libc/sys/sh/syscalls.c (_open): Likewise.
14712 * stub/shared/glue.c (open): Make BUF const.
14713 * stub/ex93x/syscalls.c (open): Make FILENAME const.
14715 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
14717 * libc/include/errno.h: Add ENMFILE
14718 * libc/include/sys/config.h: Support Z8000.
14719 * libc/include/sys/signal.h: New signals for go32.
14720 * libc/machine/h8500/psi.S (__addpsir0r0): New function
14721 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
14722 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
14723 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
14724 size is variable, depending upon CHUNK_POWER.
14725 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
14727 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
14729 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
14731 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14733 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
14735 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14737 * configure.in: Change i[34]86 to i[345]86.
14739 * libc/include/math.h: Don't define HUGE_VAL if it is already
14742 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14744 * testsuite/libm.sac/test_erfc.c: Correct some result values.
14745 * testsuite/libm.sac/test_gammaf.c: Likewise.
14746 * testsuite/libm.sac/test_sin.c: Likewise.
14747 * testsuite/libm.sac/test_tanh.c: Likewise.
14749 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14751 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
14752 already set. Define typedefs __int32_t and __uint32_t.
14753 * libc/include/math.h: Include <machine/ieeefp.h>.
14754 (union __dmath): Use __uint32_t.
14755 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
14756 instead of int and unsigned int.
14758 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14760 Replace the math library with the SunPRO fdlibm package.
14761 * libm/math: Completely changed all files.
14762 * libm/ieeefp: Remove contents and directory.
14763 * libm/Makefile.in (LIBM_FP_LIB): Remove.
14764 (SUBDIRS): Just set to math/lib.a.
14765 * libm/libm.texinfo: Updated for new library.
14766 * libc/include/math.h: Extensive changes for new math library.
14767 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
14768 from _FLOAT_ARG to float.
14769 (maxpowtwo, maxpowtwof): Don't declare.
14770 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
14771 (libm_fp_lib): Removed.
14772 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
14773 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
14774 argument to ${RUNTEST}.
14775 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
14777 (RUNTESTFLAGS): Set CC and CFLAGS.
14778 (TESTS): Remove test_log2 and test_log2f.
14779 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
14780 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
14781 _FLOAT_ARG, for single precision argument type.
14782 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
14783 expected failure. Close the input pipe.
14784 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
14785 Correct misspelling of inaccurate.
14786 (test_mok): Use ``inaccurate'', not ``wrong''.
14787 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
14788 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
14789 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
14790 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
14791 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
14792 test_yn.c): Correct many result values. Many are still wrong.
14794 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
14795 just copy the string.
14796 (_gcvt): Always return the buffer.
14798 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14800 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
14802 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
14804 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
14806 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
14807 (_reclaim_reent): declare new entry point.
14808 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
14811 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
14812 ever allocated, so that we can later reclaim them all.
14813 (pow5mult): make reentrant.
14815 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
14816 so that when given NULL as a buffer, return a pointer to static
14817 space in the rent structure. This is not documented behaviour;
14818 it's only to support ecvt and fcvt, which aren't ANSI anyway.
14819 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
14820 therefore become reentrant).
14822 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
14824 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14826 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
14828 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
14830 * Makefile.in: Make link to libg.a after libc.a; this is needed
14831 for the testsuites to build executables when everything comes
14834 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
14836 * libc/Makefile.in: Add a VERSION variable so we can keep track.
14837 * libm/Makefile.in: Add a VERSION variable so we can keep track.
14839 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
14841 * libc/include/stdio.h: Use __VALIST, not va_list.
14843 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
14845 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
14846 testsuite/libm.sac/execute.exp:
14847 Replace error proc calls with perror calls.
14849 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
14851 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
14852 * libc/include/time.h: #define NULL as 0L.
14854 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
14856 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
14859 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14861 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
14864 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
14866 * configure.in (TARGET_CFLAGS): Set -O2 as default.
14867 (z8k-*-*): Use syscalls fake sys dir.
14868 * libc/sys/z8k/glue.c: Rename syscalls.
14869 * libc/sys/go32/Makefile.in: Use new routines.
14870 * libc/machine/Makefile.in: Fix typo in ln stuff.
14872 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
14874 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
14875 * libc/Makefile.in (crt0.o): Likewise.
14876 * libc/machine/Makefile.in (lib.a): Likewise.
14877 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
14879 All Makefile.in files: Added mostlyclean, realclean and distclean
14882 * Makefile.in: Don't bother to unexport XTRAFLAGS or
14883 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
14884 the top level Makefile.
14886 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
14888 * libc/sys/sparc64/sys/stat.h: New file.
14889 * libc/sys/sparc64/sys/time.h: New file.
14890 * libc/sys/sparc64/sys/types.h: New file.
14892 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
14894 * stub/ex93x/crt0.s (start): Add code to clear bss.
14896 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
14898 * libc/include/sys/types.h (time_t): Properly protect inside
14899 #ifndef __time_t_defined.
14901 * libc/stdio/fileno.c: New file.
14902 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
14903 (fileno.o): Add dependency.
14904 * libc/include/stdio.h (__sgetc): Rename never to _never.
14905 (fileno macro): Disable, needs to do CHECK_INIT first.
14907 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
14909 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
14912 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
14913 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
14915 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
14918 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
14920 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
14921 of the various constants.
14923 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
14925 * libc/include/math.h: #ifndef __math_68881 around things which
14926 conflict with the (gcc-provided) inline functions in
14927 gcc/ginclude/math-68881.h.
14929 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
14931 * libc/include/_syslist.h (_gettimeofday): Define.
14933 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
14934 (struct tms, timeval, timezone): Declare.
14935 (_gettimeofday_r, _times_r): Declare.
14936 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
14937 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14938 (time_t): Add multiple definition protection, __time_t_defined.
14939 * libc/include/sys/time.h: Don't #include <time.h>.
14940 Always define struct timezone (remove #ifndef _TIME_H_).
14941 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
14942 #ifdef _CLOCK_T_ surrounding definition of clock_t.
14943 * libc/reent/Makefile.in (OFILES): Add timer.o.
14944 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
14945 * libc/reent/timer.c: New file.
14946 * libc/time/clock.c: #include <reent.h>.
14947 (clock): Call _times_r instead of times.
14948 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
14949 HAVE_GET_TIME_OF_DAY.
14950 Add comment regarding supporting OS routine(s) required (for docs).
14951 #include <reent.h>.
14952 (time): Call _gettimeofday_r instead of gettimeofday.
14953 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
14954 * libc/time/ctime.c: Ditto.
14955 * libc/time/strftime.c: Ditto.
14956 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
14957 (TEMPLATE_SFILES_R): Define here. Also define times.
14958 Add times_r.o/times.S dependence.
14959 (time2.c, junk.c): Deleted.
14960 * libc/sys/sparc64/time2.c: Deleted.
14961 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
14963 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
14964 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
14965 * libc/sys/sparc64/junk.c: Deleted.
14967 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
14969 * libc/sys/sparc64/Makefile.in: Add times syscall.
14970 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
14971 be used with and without it. Add comment clarifying Medium/Anywhere
14972 model requirements.
14973 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
14974 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
14977 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
14979 * configure.in (target_cflags): Move init.
14980 (sparc64-*-*): Define HAVE_BLKSIZE.
14982 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
14984 * libc/include/sys/_types.h: New file.
14985 * libc/include/reent.h: #include it.
14986 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
14987 MISSING_SYSCALL_NAMES.
14989 * libc/include/_syslist.h: Remove _raise.
14990 * libc/reent/signalr.c: New file.
14991 * libc/reent/Makefile.in: Compile it.
14992 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
14993 Add doc for raise and _raise_r.
14994 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
14995 (raise): Call _raise_r.
14996 (_raise_r): Call _getpid_r and _kill_r.
14997 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
14998 (abort): Loop forever calling raise and _exit.
15000 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15002 * configure.in: Remove extraneous echo.
15004 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
15006 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
15007 collision with unistd.h, and fix for svr4.
15009 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
15011 * libc/stdio/local.h (_llicvt): Declare.
15012 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
15013 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
15015 (_sicvt): Fix function header (`value' is short).
15016 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
15017 Add printing of long long's support.
15018 Add printing of 8 byte pointer support.
15020 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
15022 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
15023 stat, chmod): New hooks.
15024 (sbrk): Abort if stack and heap collide.
15025 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
15026 shortcut when given small args.
15027 * libc/machine/sh/setjmp.s: Rewritten.
15028 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
15029 of cmp/str instruction.
15031 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15033 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
15034 and machine_dir powerpc.
15035 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
15036 Add cases for __powerpc__.
15037 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
15040 * libc/include/stdio.h (_iprintf_r): Declare correctly.
15042 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
15044 * libc/stdlib/callocr.c: New file with _calloc_r in it.
15045 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
15047 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
15049 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
15050 (print_e): More comments to describe args, etc.
15051 "type" arg may now be 'g' or 'G' for %g/G format --> remove
15053 (_gcvt): Remove locals decpt, sign, end, p, done.
15054 More comments for print_e invocation.
15055 Pass "type" to print_e as is (g/G).
15057 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
15059 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
15062 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
15064 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
15065 works with any sized pointer, including ones bigger than ints and
15068 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
15070 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
15072 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15074 * libc/include/stdlib.h (_calloc_r): Add prototype.
15075 * libc/machine/h8500/negsi2.c: New file.
15076 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
15077 large unsigned numbers.
15078 * libc/machine/h8500/cmpsi.c: Add cmppsi.
15079 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
15080 works when sizeof(size_t) != sizeof(char *).
15081 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
15083 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
15085 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
15087 * libc/include/assert.h (assert): Handle -traditional.
15089 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
15091 * Makefile.in: added ; after every "fi" and "done" that wasn't at
15092 the end of a line (ie. anything before a backslash continuation)
15093 so that bash handles them.
15095 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15097 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
15100 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
15102 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
15103 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
15104 libc/machine/sh/udivsi3.s: Use new calling convention.
15106 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
15108 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
15109 chmod, access, chdir, chown by making _path const. Also fix _amode
15112 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
15114 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
15115 _khif_tmpnam, because it doesn't comply with ANSI but may be
15116 useful anyway. Real tmpnam was already in libc/stdio, and was
15117 colliding with this one (pr 2176.)
15118 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
15119 the wrong idea anyhow.
15121 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
15123 * configure.in: Remove h8300h, we have multilib now.
15125 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
15127 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
15128 functions, to get preference over the ones in libiberty (since we
15129 provide correct declarations in <string.h>.
15130 * libc/string/Makefile.in: add support for strncasecmp,
15133 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
15135 * Change netware config not to look for cpu explicitly.
15137 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
15139 * libc/sys/sparc64/{creat.c,junk.c}: New files.
15140 * libc/sys/sparc64/Makefile.in: Add dependencies.
15142 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
15144 * configure.in: Clean up v9 a bit, new "os" aoutv8.
15146 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
15148 * libc/include/sys/reent.h: make structure smaller by allocating
15149 some stuff when needed.
15150 * libc/signal/signal.c: allocate as needed
15151 * libc/stdio/findfp.c,stdio/local.h: ditto
15152 * libc/stdlib/mprec.c: ditto
15154 * libc/time/localtime.c: don't return a dangling stack ptr.
15156 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
15158 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
15160 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15162 * libc/include/stdio.h (__sputc): comment out static inline which
15163 confuses coff toolchains.
15165 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
15167 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
15168 _write.s, getpid.c, kill.c, read.s}:
15169 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
15170 through the syscalls directory.
15172 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
15174 * configure.in: fixed double quote gotcha.
15176 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
15178 * stub/ex931: stub library for sparclite board.
15179 * stub/idp: Renamed from mc68ec. Added contructor table
15180 stuff to linker script.
15181 * stub/mvme135: Renamed from m68kmvme. Added contructor table
15182 stuff to linker script.
15184 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15186 * configure.in: Configure testsuites only if they exist.
15188 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15190 * configure.in: Don't set machine_dir for i386 until there is
15191 something in libc/machine/i386 to compile. For i[34]86-*-netware*
15192 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
15193 CLOCK_PROVIDED and MALLOC_PROVIDED.
15195 * libc/sys/netware: New directory. Contains simplistic and
15196 probably incorrect stubs for NetWare. Should be enough to load
15198 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
15199 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
15202 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
15203 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
15204 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
15205 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
15207 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
15209 * testsuite/Makefile.in: add "docs" dummy target for consistency
15210 with rest of newlib; turn "info" and "install-info" into dummy
15211 targets, since they wouldn't have worked. (Depended on
15212 nonexistent "doc" subdir.)
15214 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
15216 * configure.in: handle mips* instead of mips
15218 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
15220 * libc/include/sys/dirent.h: New file. If it is not overridden by
15221 a version of libc/sys/*/sys/dirent.h, it includes the next
15222 <dirent.h> file in case there is one lurking somewhere.
15224 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15226 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
15227 compliance, namely: Accept a minus sign. Consider a single 0 with
15228 a radix of 0 as being a conversion. Determine overflow correctly.
15229 If an overflow occurs, set *ptr to the end of the number, not the
15231 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
15233 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
15235 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
15237 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
15239 * Makefile.in (INSTALL): Use $srcrootpre.
15240 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
15242 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
15244 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
15245 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
15246 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
15247 * libm/math/Makefile.in (matherr.o): Ditto.
15249 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15251 * configure.in: Build multidirs for z8k.
15252 * libc/include/stdlib.h (_strtoul_r): add prototype.
15253 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
15254 * libc/include/machine/setjmp.h: Add for z8k.
15255 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
15256 * libc/sys/z8ksim/glue.c: tidy up.
15258 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
15260 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
15261 New files. Requires execve system call.
15262 * libc/unix/Makefile.in: Use them.
15263 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
15264 Deleted, moved to libc/unix.
15265 * libc/sys/sparc64/Makefile.in: Remove them.
15267 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
15269 * libc/sys/sparc64/{template.S template_r.S}: New files.
15270 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
15272 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
15273 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
15274 umask.S unlink.S wait4.S write.S}: Removed, now built from
15277 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
15279 * libc/time/time.c: #include <_ansi.h>.
15281 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
15283 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
15285 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15287 * configure.in: match m8* rather than m88k so that m88110 is
15288 recognized as well.
15290 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
15292 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
15293 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
15296 * configure.in: Add multilib support to h8300.
15298 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
15300 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
15301 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
15302 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
15304 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15306 * configure.in: Corrected multidirs for sparc target.
15308 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
15310 Support for building newlib multiple times with different
15312 * configure.in: Only configure doc at top level. Set multidirs
15313 when appropriate for target, unless not at top level. If
15314 multidirs is set, independently configure each subdirectory.
15315 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
15316 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
15317 automagically set by configure.in.
15318 (all): If MULTIDIRS is set, build multiple copies of libraries.
15319 (install): If MULTIDIRS is set, install multiple copies of
15320 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
15321 MULTISUBDIR is set, don't bother to install header files.
15322 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
15324 * stub/configure.in: Set MULTISUBDIR appropriately.
15325 * stub/Makefile.in (install): Install in
15326 $(tooldir)/lib/$(MULTISUBDIR).
15327 * All Makefile.in files: Define SRCTOP as well as TOP.
15329 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
15331 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
15332 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
15334 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
15336 * libc/sys/h8300hms/exit.c (_exit): New function.
15338 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15340 * configure.in: recognize m88110.
15342 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15344 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
15345 prototype main and call with args.
15347 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
15349 First real try at system traps for m88k-bug.
15350 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
15351 to real trap calls.
15352 * libc/sys/m88kbug/sys/systraps.h: new file.
15354 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15356 Patches to fix info building when target does not use sys
15358 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
15359 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
15361 * libc/sys/Makefile.in (doc): do nothing.
15363 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15365 * libc/Makefile.in (CRT0): new macro.
15366 (all): depend on $(CRT0) rather than crt0.o.
15368 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
15369 do not default crt0, instead, set crt0 and crt0_dir based on
15370 sys_dir and stub_dir.
15372 * Makefile.in (CRT0_DIR): new macro.
15373 (all): depend on $(CRT0) rather than crt0.o which may not exist.
15374 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
15376 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
15378 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15380 * testsuite/lib/libm.exp:
15381 added code to support compiling and linking of tests for
15382 libm.sac (paranoia to be added next) and processing the
15383 pass or failure of the tests.
15385 * testsuite/config/unix-libm.exp:
15386 platform specific proc's for dealing with compiler, linker
15387 and the way we execute and process the test results.
15389 * testsuite/libm.sac/execute.exp:
15390 generic framework for the sac tests. the config and lib
15391 expect code for specific platforms tie it all together.
15393 * testsuite/libm.sac/test_is.c:
15394 changed the output of the test to be consistant with the
15395 other tests. parsing of pass nad fail messages is now fixed.
15397 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
15399 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
15400 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
15401 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
15402 #ifdef __cplusplus, surround by extern ""C { ... }.
15403 * libc/include/assert.h: Do *not* protect assert.h against
15404 multiple inclusion! Also, #undef it before #define, to allow
15406 * libc/include/stdio.h (getlogin, cuserid): Removed. These
15407 should be only in unistd.h.
15409 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
15410 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
15413 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
15415 * libc/machine/sparc/Makefile.in: Must create a library, even
15418 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15420 * configure.in: set machine_dir for m88k. edit crt0 definition
15423 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
15425 * libc/Makefile.in (all): also build crt0.o.
15427 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
15428 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
15431 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
15432 (all): reworked to build in place.
15433 (clean): remove lib.a
15434 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
15436 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
15437 (_start): key off edata rather than _start_bss.
15439 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
15441 * libc/include/sys/unistd.h, libc/include/reent.h,
15442 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
15444 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15446 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
15448 * Makefile.in (libc.a): break into two rules, one for libc.a and
15449 one for libc/libc.a. Force subdirs current before rebuilding
15451 (libm.a): break into two rules, one for libm.a and one for
15452 libm/libm.a. Force subdirs current before rebuilding library.
15454 * libc/Makefile.in (SUBLIBS): fix typo.
15456 * libc/sys/Makefile.in (all): force descent into subdirs, then
15457 rebuild library iff out of of date.
15459 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
15461 Rework so that library is built and then finished rather than
15462 being built on each invocation of make.
15464 * host/any (machine_dir, sys_dir, signal_dir): these are not
15465 shared and have been moved to their associated Makefile.in's.
15466 (AR_FLAGS): switch to qc which is faster.
15467 * configure.in: no longer assign machine_dir for m88k. set
15468 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
15469 stub_dir set, then add to configdirs. add comment about silly
15471 (configdirs): drop stub. It will be added only
15473 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
15474 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
15475 stub_lib, crt0): new variables for tailoring lower level
15476 makefiles. Assign accordingly and edit into makefiles.
15477 * libm/Makefile.in: updated copyright.
15478 (TARGETLIB): removed.
15479 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
15480 (SUBDIRS): removed TARGETDEP_DIRS.
15481 (LIBM_FP_LIB, SUBLIBS): new macros.
15483 (force): new target to force rebuilds.
15484 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15485 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
15486 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
15487 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
15488 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
15489 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
15490 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
15491 stub/m68kmvme/Makefile.in: updated copyright.
15492 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
15493 (all): reworked. made this the default rule.
15494 (clean): also remove lib.a.
15495 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15496 * stub/Makefile.in: updated copyright.
15497 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
15498 (stub_lib): new macro.
15499 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
15502 (clean, install): assume stub_dir exists.
15503 (Makefile): depend on configure.in. call $(SHELL) rather than
15504 sh. drop redundant ./
15505 * stub/configure.in (stublib): new macro, assign it, edit it into
15507 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
15510 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15511 * libc/Makefile.in (TARGETCRT0): removed.
15512 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
15514 (SUBDIRS): drop TARGETDEP_DIRS.
15515 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
15516 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
15517 (force): new target to force rebuilds.
15518 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
15519 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
15521 (clean): assume sys_dir always exists.
15522 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
15524 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
15525 libc/locale/Makefile.in, libc/machine/Makefile.in,
15526 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
15527 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
15528 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
15529 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
15530 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
15531 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
15532 libc/signal/Makefile.in, libc/stdio/Makefile.in,
15533 libc/stdlib/Makefile.in, libc/string/Makefile.in,
15534 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
15535 libc/time/Makefile.in, libc/unix/Makefile.in,
15536 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
15537 (TARGETLIB): removed.
15539 (clean): also remove lib.a.
15540 (Makefile): call $(SHELL) rather than sh. drop redundant ./
15541 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
15543 (SUBDIRS): moved to follow frag inclusion, change stub to
15545 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
15546 are now set in the libc Makefile.
15547 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
15548 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
15550 (force): new target to force rebuilds.
15551 * stub/configure.in: determine and set stub_lib for for Makefile.
15553 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
15555 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
15556 crt0.s renamed to crt0.S.
15557 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
15559 * libc/machine/h8300/Makefile.in: Make `all' the default target.
15560 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
15562 * libc/machine/h8300/defines.h: Add macros to handle pointers for
15563 h8300 (16 bits) and h8300h (32 bits).
15564 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
15565 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
15567 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
15569 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
15570 implementation of setjmp and longjmp for the m88k.
15571 * libc/include/machine/setjmp.h: Added __m88000__ case.
15573 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
15575 * configure.in: Recognize h8300h as variant of h8300.
15577 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15579 * libc/include/sys/unistd.h (read, write): get prototypes right.
15580 (sbrk): New prototype.
15581 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
15582 * libc/stdio/local.h: Include unistd.h.
15583 * libc/machine/h8300/syscalls.c: Names have changed.
15585 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
15587 * configure.in: add sys_dir assignment for m88k-bug.
15589 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
15591 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
15593 * libc/sys/sparc64: all *.S files: Use new macros.
15594 * libc/sys/sparc64/isatty.c: New file.
15595 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
15596 functions beyond what newlib provides.
15598 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
15600 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
15603 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
15605 * libc/include/machine/ieeefp.h: Add support for h8/300h.
15607 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
15609 * configure.in: add m88k.
15610 * libc/include/machine/ieeefp.h: add case for m88k. Also add
15611 sanity check so no one else need ever chase what I did to find
15614 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
15616 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
15618 * doc/makedoc.c: Include <ctype.h>.
15620 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
15622 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15623 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15624 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
15626 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
15628 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
15630 * libc/include/errno.h (ENOSYS): Added.
15632 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
15634 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
15636 * libc/stdio/fflush.c (fflush): Check for reent struct
15638 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
15640 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
15642 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
15643 out of dtoa.c so it doesn't pollute the namespace.
15644 * libc/include/_syslist.h: new file -- mappings from _function to
15645 function, for systems where we can't win (by default, all of them,
15646 until we start updating system calls.)
15647 * libc/syscalls: new directory -- stubs for exporting _function
15648 names as unmodified function names.
15649 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
15650 _syslist.h on all platforms by default, but put hooks in for
15651 fake_sys_dir so we can include it when we've renamed the system
15653 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
15654 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
15655 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
15656 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
15657 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
15658 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
15659 non ANSI functions to call _function.
15661 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
15663 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
15664 when base 16 is specified. Don't accept non-digits if radix > 10.
15666 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
15668 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
15670 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
15672 * libc/include/sys/stat.h: Surround text after #endif with
15675 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
15677 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
15678 _malloc_r, _realloc_r, and free_r call the corresponding
15679 non-reentrant functions.
15681 * libm/math/modf.c (modf): We now take the address of ipart, so
15682 don't make it a register variable.
15684 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
15686 * libm/math/*: Rename all xxx_r fns to _xxx_r.
15688 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
15690 * libc/libc.texinfo and embedded docn throughout: formatting
15691 improvements, minor rephrasing for clarity, and improved
15694 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15696 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
15698 * libc/stdio/cvt.c (_licvt): Print the right value on machines
15699 where sizeof(int) != sizeof(long).
15701 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
15703 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
15704 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
15705 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
15706 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
15707 libm/math/matherr.c: changes for better docn formatting (info).
15709 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
15710 libc/reent/reent.tex, libc/signal/signal.tex,
15711 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
15712 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
15713 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
15714 makeinfo node defaulting to get better Info file node structure.
15715 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
15716 Also include a few formerly missing sections (subroutines).
15718 * doc/doc.str: delete fossil expansion for "func"
15720 * default.menu, no-signal.menu: delete.
15722 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
15723 method used to adjust doc for missing "signals" chapter when
15724 signal_dir is empty.
15726 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15728 * configure.in: added testsuite/libm.sac
15730 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
15732 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
15735 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
15737 * libm/Makefile.in: Use $(MAKE) rather than make, and define
15738 MAKEOVERRIDES to be empty.
15740 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
15742 * configure.in: Don't build mips-*-* with -msoft-float, since that
15743 makes it incompatible with hard floating point.
15745 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15747 * Makefile.in: added recursive 'make check'
15749 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
15751 * configure.in: added ./testsuite ./testsuite/libm.paranoia
15752 * ./testsuite/Makefile.in: created
15753 * ./testsuite/libm.paranoia: paranoia tests added
15755 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
15757 * configure.in: For mips-*-* set machine_dir to mips.
15759 * libc/machine/mips: New directory.
15760 * libc/machine/mips/Makefile.in: New file.
15761 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
15762 setjmp and longjmp.
15763 * libc/include/machine/setjmp.h: Added __mips__ case.
15765 * libc/machine/lmips: Removed unused and useless directory.
15767 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
15769 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
15771 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
15773 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
15776 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
15778 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
15781 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
15783 * libm/test/convert.c: structure member errno -> errno_val.
15784 Must include <errno.h> to use errno, it's a macro now.
15785 * libm/test/math.c: Ditto.
15786 * libm/test/math2.c: Include errno.h.
15787 * libm/test/string.c: Ditto.
15788 * libm/test/test.h: structure member errno -> errno_val.
15789 Remove extern int errno decl.
15791 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
15793 * libc/stdio/Makefile.in: Added dependencies on local header
15795 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
15798 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
15800 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
15802 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
15804 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
15807 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
15808 * libc/stdio/local.h: Add prototype for _licvt.
15810 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
15811 instead of malloc,reealloc.
15813 * libc/stdlib/local.h: New file.
15814 * libc/stdlib/efgcvt.c: #include local.h.
15815 (gcvt): Fix call to _gcvt.
15816 * libc/stdlib/ecvtbuf.c: #include local.h.
15818 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
15819 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
15820 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
15822 * libc/stdlib/atexit.c: moved global data to struct _reent.
15823 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
15825 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
15827 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
15829 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
15830 here from ../reent.h.
15832 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
15834 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
15835 should be provided in both libc.a and libm.a.
15836 (libc.a): Depend on targ-include and libm.a. Copy
15837 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
15838 (libm.a): Depend on targ-include.
15839 * configure.in (subdirs): Removed libc/math.
15841 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
15843 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
15845 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
15847 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
15848 sys/reent.h instead of reent.h.
15849 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
15850 headers moved to sys/reent.h.
15851 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
15852 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
15853 __need__MAX_SIGNALS defined.
15854 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
15855 std{in,out,err} refer to new _std{in,out,err} members.
15857 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
15859 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
15862 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
15864 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
15865 rather than whatever macro seterrno() has.
15867 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
15869 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
15870 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15872 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
15875 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
15876 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
15877 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15879 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
15880 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
15882 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
15883 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
15884 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
15885 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
15886 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
15887 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
15888 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
15889 renamed to _xxx_r. struct reent_struct renamed to struct _reent
15890 for ANSI. structure members given leading "_" for ANSI. Use
15891 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15893 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
15894 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
15895 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
15896 reent_struct renamed to struct _reent for ANSI.
15897 Structure members given leading "_" for ANSI.
15898 _CONST --> const in prototypes.
15899 Use _HAVE_STDC instead of __STDC__.
15901 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
15903 struct reent_struct renamed to struct _reent for ANSI.
15904 Structure members given leading "_" for ANSI.
15906 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
15908 struct reent_struct renamed to struct _reent for ANSI.
15910 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
15911 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
15912 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
15913 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
15914 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
15916 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
15917 signal.h, stdio.h, stdlib.h, string.h, time.h}:
15918 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
15919 #ifndef _STRICT_ANSI non-ANSI routines.
15920 Reentrant routines renamed from _r_xxx to _xxx_r.
15921 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
15922 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
15923 Clean up namespace (structure members have leading "_").
15924 struct reent_struct renamed to struct _reent for ANSI compliance.
15925 _CONST --> const in function prototypes.
15927 * libc/include/string.h: Add NULL and size_t.
15929 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
15930 unlink, wait, wait4. Reentrant syscall routines close, fork,
15931 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
15933 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
15934 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
15935 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
15936 write.S}: Define reentrant versions.
15937 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
15938 reentrant syscalls.
15940 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
15942 * libc/include/stdlib.h (RAND_MAX): Fix value.
15944 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
15946 * libc/sys/a29khif/_main.c: Removed unnecessary file.
15947 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
15948 VPATH support targets after all: target.
15950 * stub/mvme135/mvme.S: Renamed exceptionhandler to
15951 exceptionHandler, which is what mvme135-stub.c expects.
15953 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
15955 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
15957 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
15958 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
15961 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
15963 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
15965 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
15967 libc/reent/fstatr.c (_r_fstat): Ditto.
15968 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
15969 libc/reent/sbrkr.c (_r_sbrk): Ditto.
15970 libc/reent/statr.c (_r_stat): Ditto.
15972 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
15973 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
15974 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
15975 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
15976 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
15977 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
15978 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
15979 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
15980 (__swrite): Ditto for _r_lseek, _r_write.
15981 (__sseek): Ditto for _r_lseek.
15982 (__close): Ditto for _r_close.
15983 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
15985 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
15986 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
15988 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
15989 to make reent_struct the first argument (and thus consistent with
15990 the rest of newlib).
15992 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
15993 reference to __STDC__.
15995 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
15997 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
16000 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
16002 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
16004 libc/stdio/fclose.c (fclose): Ditto.
16006 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
16008 * Run through indent and rename reentrant routines for ANSI.
16009 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
16010 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
16011 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
16012 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
16013 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
16014 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
16015 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
16016 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
16017 vsprintf.c wbuf.c wsetup.c local.h}
16019 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
16021 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
16022 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
16023 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
16024 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
16025 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
16026 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
16028 * Run through indent.
16029 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
16030 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
16031 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
16032 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
16035 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
16036 localtime.c mktime.c strftime.c time.c}:
16037 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
16039 * Reformatting + renaming (for ANSI, GNU style, consistency).
16040 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
16041 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
16042 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
16044 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
16046 * libc/include/stdio.h (stdin_r): Fix.
16048 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
16050 * Makefile.in: Unexport some variables to keep GNU make from
16051 putting them in the environment and using up needed ARG_MAX space
16052 (a hack is used to let this work with older makes as well).
16054 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
16056 * Makefile.in: Use $(MAKE) rather than make.
16057 (MAKEOVERRIDES): Define to be empty.
16058 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16059 (libc.a, libm.a): Depend on targ-include.
16060 * host/any (LD): Don't define.
16061 (INCLUDES): Use targ-include.
16062 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
16063 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
16064 * libc/Makefile.in: Use $(MAKE) rather than make.
16065 (MAKEOVERRIDES): Define to be empty.
16066 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16067 (all): Rewrote to be slightly smaller.
16068 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
16069 Define to be empty.
16070 (FLAGS_TO_PASS): Don't pass LD (it's not used).
16071 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
16073 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
16075 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
16076 with errno/errno.c.
16078 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
16080 * Changes for reentrancy.
16081 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
16082 Use ptr->_errno, not errno.
16083 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
16084 libc/stdio/remove.c (remove_r): New function.
16085 libc/stdio/rename.c (rename_r): New function.
16086 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16087 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
16088 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
16089 reentrant versions of system calls.
16090 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
16091 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
16092 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
16093 libc/stdio/findfp.c: Include <string.h>.
16094 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
16096 libc/stdio/wbuf.c: Include "fvwrite.h"
16098 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
16100 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
16101 (NULL): Don't define if already defined.
16102 libc/stdlib/system.c: Call reentrant versions of system calls.
16103 (system_r): New function.
16105 * Changes for reentrancy.
16106 libc/include/_ansi.h (_PARAMS): New macro.
16107 libc/include/errno.h: Define errno as a macro that calls __errno.
16108 (__errno_r): New macro for reentrant code.
16109 libc/include/math.h: Include reent.h. Declare many reentrant
16111 (signgam): Now a macro, not a variable.
16112 (struct exception): Added err field.
16113 libc/include/reent.h: Don't declare __sglue. Added function
16115 (struct reent_struct): Moved errno to beginning. Added _signgam.
16116 libc/include/stdio.h, libc/include/stdlib.h: Added function
16119 * More reentrancy hacking.
16120 libc/errno/errno.c (__errno): New function.
16121 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
16122 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
16125 * Added many new reentrant functions to libm/math/*.
16126 libm/math/error.c (__matherror): Added reent_struct pointer
16127 argument. Changed all callers.
16128 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
16129 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
16130 libm/math/tan.h: Removed obsolete unused header files.
16132 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
16134 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
16136 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16138 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
16141 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16143 * libc/libc.texinfo: comment out reentrancy chapter (duh)
16145 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16147 * libc/reent/reent.tex: New file. (text from
16148 newlib/libc/libc.texinfo)
16149 * libc/stdio/tmpnam.c: fixed doc typo
16150 * libc/stdlib/rand.c: fixed doc typo
16152 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
16154 * libc/reent/reent.tex: New file. (text from
16155 newlib/libc/libc.texinfo)
16157 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16159 support for reentrancy
16160 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
16162 * libc/errno/errno.c, libc/include/ieeefp.h,
16163 libc/include/locale.h, libc/include/reent.h,
16164 libc/include/signal.h, libc/include/stdio.h,
16165 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
16166 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
16167 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
16168 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
16169 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
16170 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
16171 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
16172 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
16173 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
16174 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
16175 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
16176 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
16177 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
16178 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
16179 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
16180 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
16181 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
16182 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
16183 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
16184 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
16185 libc/time/strftime.c: modify to provide reentracy.
16188 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
16189 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
16190 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
16191 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
16192 mstats_r, realloc_r, localeconv_r, setlocale_r
16194 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
16196 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
16197 libc/include/sys/config.h, libc/include/sys/signal.h,
16198 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
16199 provided macros (such as m68000), use the ansi version
16200 (__m68000__) so that the library can be used with code compiled
16201 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
16204 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
16206 * configure.in (sparc*): Don't set -fsoft-float for sparc
16207 configurations. Do set -fsoft-float for sparclite configurations.
16209 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
16211 * default.menu, no-signal.menu: alternate forms of libc main menu
16212 (in newlib rather than newlib/libc due to configuration restrictions)
16214 * configure.in: select one of the two menus above, link to
16217 * libc/libc.texinfo: include menu from separate file
16219 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
16221 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
16222 (info): Split long shell command in half.
16223 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
16224 sub-makes, just CHEW and TARGETDOC.
16225 (targetdep.tex): Removed now special handling of sys and machine
16226 subdirectories, made obsolete some time ago.
16227 * libc/machine/Makefile.in (doc): Don't pass everything to
16228 sub-make, just CHEW and TARGETDOC.
16229 (Makefile): New target.
16230 * libc/sys/Makefile.in (Makefile): New target.
16232 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
16234 * Makefile.in (here and most subdirectories): Only pass down CHEW
16235 and TARGETDOC when making info, not for other targets.
16237 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
16238 $(AR_FLAGS) rather than $(ARUPDATE).
16240 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
16242 * Try to reduce command line length:
16243 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
16244 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
16245 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
16246 (info): Pass CHEW to other subdirs.
16248 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
16250 * configure.in: add signal_dir, like unix_dir, but by default it
16251 is set to "signal" so that a29khif can turn it off (since a29khif
16252 has raise() as part of machine-specific signal.s.)
16254 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
16256 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
16257 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
16259 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
16260 libc/stdio/vfprintf: type lint.
16261 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
16262 initialzation code.
16263 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
16265 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
16267 * stub/mvme135/mvme135-asm.S: new file.
16268 stub/mvme135mvme135-stub.c: moved all assembler routines into
16270 stub/mvme135/Makefile.in: build mvme135-stub.o.
16272 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
16274 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
16275 sub-Makefiles instead, to try to avoid line length limitations.
16277 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
16279 * libc/include/unistd.h (read, write): Use void* instead of
16282 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
16284 * stub/go32/resetpc: sample script to send a reset packet to the
16287 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
16288 DOS environment, which compiles with Turbo C.
16290 * stub/go32/DSER32.LNK: new file, linker commands for serial
16293 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
16294 start up message to identify version; call set_debug_traps.
16296 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
16297 keyboard interaction); call handle_exception() in go_til_stop,
16298 rather than return, so that the remote stub gets control.
16300 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
16301 rename, rather than mv), set flags that work with current Turbo C,
16302 including using the /3 flag; also, add commands to build dser32.
16304 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
16305 default Turbo C installation (\tc rather than \usr)
16307 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
16310 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16312 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
16314 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16316 * libc/stdio/cvt.c (licvt): new function to convert ints when
16317 sizeof(int) != sizeof(long).
16319 * libc/include/stdio.h: added prototype for iprintf.
16320 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
16322 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
16324 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
16325 __REGISTER_PREFIX__.
16327 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
16329 * libc/sys/m68kbare: moved into stub directory.
16331 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
16333 * configure.in, Makefile.in: created new directory stub, to hold
16334 sample code for specific targets.
16336 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
16338 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
16339 in the unified libc/include/sys/fcntl.h.
16341 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
16343 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
16344 printed .01, not 0.01.
16346 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
16348 * configure.in: compile with -m68000 for m68* targets.
16350 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
16352 * libm/math/remainder.c (remainder): document the svr4 and sunos
16353 references used to construct the function.
16355 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
16357 * libm/math/remainder.c (rint, remainder): fix old typos.
16358 * libm/math/Makefile.in: actually build remainder.c (functions
16359 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
16362 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
16364 * libc/string/bcopy.c: BSD version works on overlapping strings,
16365 so ours should too.
16367 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
16370 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
16372 * Makefile.in (docs): new target.
16374 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
16376 * libc/include/sys/times.h: define clock_t as required by POSIX.
16377 libc/include/time.h: protect clock_t from multiple definitions.
16379 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16381 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
16382 does not need more than the original three iterations to get
16383 within 1 ulp. (Paranoia tests for rounding to better than that,
16384 but further iterations *don't* help, only more subtle changes
16387 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
16389 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
16390 were doing nothing useful.
16392 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
16394 * configure.in: define MALLOC_PROVIDED for vxworks targets;
16395 removed sys_dir settings of vxworks68 and vxworks960.
16396 host/any: don't pass -nostdinc to gcc, since newlib no longer
16397 provides all required header files.
16399 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
16400 is not defined; this provides a hook for VxWorks.
16402 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16404 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
16405 buffer if buf is NULL, don't do it here -- it is already being
16406 done by makebuf elsewhere in stdio.
16408 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
16410 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
16411 that C programs can call functions without using initial
16414 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
16416 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
16418 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
16420 * configure.in: set TARGET_CFLAGS for certain CPU types to
16423 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16425 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
16427 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
16429 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
16430 m68k*-unknown-coff.
16432 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
16434 * libc/include/stdio.h: define __need___va_list before including
16435 <stdarg.h>, to avoid defining va_arg, et. al.
16437 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
16439 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
16440 (don't cd to the user's home directory).
16442 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
16443 In general this is the wrong thing to do, but I can't get around
16444 GNU make's insistence on passing command line arguments any other
16447 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
16449 * configure.in: always configure the libc/sys directory, since it
16450 now provides a required documentation file.
16452 * Makefile.in: replaced all instances of $(MAKE) with make. In
16453 general this is the wrong thing to do, but I can't get around GNU
16454 make's insistence on passing command line arguments any other way.
16456 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
16458 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
16461 * libc/stdio/local.h: include <stdarg.h> to define va_list.
16462 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
16464 * libc/include/float.h, libc/include/stdarg.h,
16465 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
16467 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
16468 <stdarg.h>, not from <machine/types.h>. Protect definition of
16470 libc/include/time.h: get size_t from stddef.h. Protect definition
16472 libc/include/machine/limits.h: override gcc <limits.h> by defining
16473 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
16474 get correct INT_MIN and LONG_LONG values.
16475 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
16476 size_t or va_list at all; they're now gotten from stddef.h
16478 libc/include/machine/varargs.h: removed; use gcc version instead.
16479 libc/include/sys/types.h: explicitly include <machine/types.h>.
16481 * libm/math/sqrt.h: using the fp-bit routines appears to require
16484 * Makefile.in, host/any: let system include files override machine
16487 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16489 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
16490 override _*_T_ definitions defaulted here.
16492 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
16494 * Makefile.in (install): install the include files in
16495 $(tooldir)/include, not $(exec_prefix)/include.
16497 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
16499 * Makefile.in (install): fixed typo, and changed install to not
16500 force rebuild of libc.a and libm.a.
16502 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
16504 * libc/sys/a29khif/*: Changed all .include's to include
16505 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
16506 that they will be installed for the user.
16508 * Makefile.in (all): create targ-include, a directory holding the
16509 machine and system specific header files during the build.
16510 (install): fixed installation of machine and system specific
16513 * Makefile.in: fixed comment.
16514 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
16515 we can pass $(INCLUDES) to it.
16517 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
16519 * libc/include/sys/param.h: new generic file, which may be
16520 overridden for specific systems.
16522 * libc/include/sys/signal.h: define all ANSI signal names, and
16523 NSIG (which is not ANSI) for a29k.
16525 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
16527 * Makefile.in: don't pass down arguments the lower level makes
16529 * libc/Makefile.in: recurse directly, rather than using subdir_do,
16530 in hopes of avoiding argument length limits.
16531 * libm/Makefile.in: recurse directly, rather using subdir_do, in
16532 hopes of avoiding argument length limits.
16534 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
16536 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
16539 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
16541 * Fixed make info and make install-info for newlib, changing most
16542 Makefile.in and several *.tex files. Moved doc directory from
16545 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
16546 Should be rewritten.
16548 * libc/string/strings.tex: renamed node index to node index
16549 function, so that it does not conflict with the top level index
16552 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
16554 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
16556 * Overhauled general configuration for newlib. Eliminated all
16557 target dependent Makefile fragments. Create libraries in newlib
16558 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
16559 than CROSS_CC, et. al. Broke make docs; will fix later.
16561 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
16562 Should be rewritten.
16564 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
16566 * libc/configure.in: cleaned up somewhat; switch on ${target}
16567 rather than ${target_alias}.
16568 * libm/configure.in: cleaned up somewhat; switch on ${target}
16569 rather than ${target_alias}.
16571 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
16572 * libc/include/ctype.h: marked _ctype_ as _CONST.
16574 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
16577 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
16578 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
16579 libc/stdio/gets.c (gets): removed non-ANSI warning message.
16580 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
16582 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
16583 bigtens, tinytens): marked arrays _CONST.
16584 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
16585 rather than a static variable.
16587 * libc/time/asctime.c (asctime), libc/time/localtime.c
16588 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
16589 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
16590 mname_len, mname): Marked static arrays _CONST.
16592 * libm/math/gamma.h: made local variables non-static.
16594 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
16595 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
16598 * libm/math/constants.c: removed file, because the constants it
16599 defined were never referenced.
16600 libm/math/Makefile.in: removed references to constants.c.
16601 libm/math/mathimpl.h: removed declarations of constants.
16603 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
16605 * libc/include/machine/varargs.h: only call __builtin_saveregs if
16606 it is sensibly defined in libgcc2. Checks preprocessor defines,
16607 which is not a good solution.
16609 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
16611 * libm/frexp.c: handle denormalized numbers as arguments.
16613 * libm/math/Makefile.in: added some dependencies for .c files
16614 which include local .h files.
16616 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
16618 * libc/configure.in: set target_alias for OSE*. Replace
16619 target_makefile_frag if it is blank.
16621 * libc/Makefile.in: make sure everything is passed to subsidiary
16622 makes; create all directories when installing.
16624 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
16625 CROSS_ARUPDATE instead of AR.
16627 * libm/configure.in: set target_alias for OSE*. Replace
16628 target_makefile_frag if it is blank.
16630 * libm/Makefile.in: make sure everything is passed to subsidiary
16631 makes; create all directories when installing.
16633 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
16635 * add following change from libc copy.
16637 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16639 * libc/libc.texinfo: make copyright disclaimers appear on back of
16640 title page; make format of same slightly less ugly; avoid using
16641 underbars in section headings (avoids nasty texinfo bug in table
16644 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
16645 comments only) avoid using underbars in section headings
16647 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16648 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
16649 changes in comments only): shorten headings ieeefp/infinity.c,
16650 ieeefp/isnan.c: (doc, comments only) more informative headings
16652 * libc/math/bessel.c: (doc, comments only) shorten heading
16654 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
16655 (doc, comments only) shorten headings
16657 * libc/time/localtime.c (doc, comments only): shorten headings
16659 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
16661 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
16662 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
16664 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
16665 only) more informative headings
16666 * libm/math/bessel.c: (doc, comments only) shorten heading
16668 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
16670 * .../Makefile.in: use CROSS_ARUPDATE consistently.
16671 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
16672 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
16673 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
16674 defined, the one from the .mt file will be correct.
16675 * libc/include/machine, libc/include/sys: created, and populated
16676 with common files from machine/*/machine. ifdefs were used for
16677 most, typically by handling exceptions first and then filling in
16678 defaults. Files with D.J. Delorie copyright #included rather than
16679 copied. Most files in include/sys really were the same in the
16681 * libc/include/...: cleaned up use of _EXFUN.
16682 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
16683 it with double quotes, not angles.
16685 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
16687 * libc/Makefile.in: always create installation directories.
16689 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
16691 * libc/configure.in: handle host properly (using canonical
16692 triples), better error message for the case of target not found
16694 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
16696 * libc/Makefile.in (insincdir): Ensure this directory exists
16697 before attempting installation.
16699 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16701 * libc/stdlib/assert.c: now calls abort like it should
16702 * libc/sys/a29khif: many many patches for 29khif work
16703 * libc/machine/i386: gnulib2 expanded there.
16705 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16707 Added accurate fp conversion routines to stdlib, moved dcvt from
16708 stdio to stdlib and called it ecvtbuf:
16709 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
16710 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
16712 * libc/libc.texinfo: Modifed to include the copyright info from
16714 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
16715 * libc/test/ : many vector which tested for the implementation
16716 defined returns of strange conversion requests have been updated
16717 to relflect the new implementation
16719 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16721 * libc/libc.texinfo: new chapter on variable arg lists
16722 (stdarg.h/varargs.h)
16723 * libc/libc.texinfo: new title
16724 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
16725 (doc only) shorter headings for better formatting.
16727 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16729 * libc/libc.texinfo: three more info menu entries
16730 * libc/locale/locale.tex: new chapter
16731 * libc/locale/locale.c: new doc for setlocale, localeconv
16732 * libc/locale/Makefile.in: use new locale doc
16733 * libc/signal/signal.tex: new chapter
16734 * libc/signal/raise.c, libc/signal/signal.c: new doc
16735 * libc/signal/Makefile.in: use new doc
16736 * libc/time/time.tex: new chapter
16737 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
16738 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
16739 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
16740 * libc/time/Makefile.in: use new doc
16742 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16744 * libm/math/log1p.c: split to use the new function way of float
16745 function definition. math/log1p.h deleted
16746 * libm/math/scalb.c: obsolete and deleted
16747 * libm/math/scalbn.c: created from part log1p.c
16748 * libm/math/Makefile.in: know about log1p and scalbn
16750 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16752 * libc/ctype/isupper.c: revise doc;
16753 libc/ctype/ctype.tex: use doc from isupper.c
16755 * libc/string/bzero.c: new doc
16757 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
16759 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
16761 * libc/stdlib/Makefile.in: extract new doc
16762 * libc/stdlib/stdlib.tex: use new doc
16764 * libc/string/strerror.c: expanded doc.
16766 * libc/stdio/Makefile.in: extract doc from more files
16767 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
16768 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
16769 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
16770 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
16771 libc/stdio/vsprintf.c: new doc
16772 * libc/stdio/stdio.tex: use new doc
16774 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16776 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
16777 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
16779 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
16782 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
16783 * libc/stdio/setbuf.c: added ansi style definition.
16784 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
16785 buffer if none provided.
16786 * libc/stdio/tmpfile.c: lint
16787 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
16788 rather than using static, also make sure file isn't already
16789 present. Uses P_tmpdir. (tempnam): rewritten to use new
16790 subroutine, and uses P_tmpdir.
16791 * libc/stdio/siprintf.c: created
16793 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
16795 Release 1.03 for NEC, major mods. Main differences from release
16798 More tests in test/:
16799 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
16800 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
16801 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
16802 get/set mask, get/set sticky and get/set roundtoi. Tests
16803 that setting the bits changes the way arithmetic is done.
16804 * string.c: added test to make sure memcmp does it with unsigned
16806 * test.c: cleaned up and removed lint.
16807 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
16808 dvec.c: tests for string to value conversions, sprintf, scanf,
16809 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
16810 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
16811 rounding in sprintf too.
16812 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
16813 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
16814 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
16816 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
16820 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
16821 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
16822 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
16823 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
16824 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
16826 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
16827 * Method of producting float versions of double functions has
16828 changed, functions will be modified gradually. So far:
16829 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
16830 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
16832 * libc/string/memcmp.c: now uses unsigned chars
16833 * libc/string/bcmp.c, libc/string/strcpy.c,
16834 libc/stsring/strxfrm.c: fixed doc
16835 * libc/sys/sysvnecv70.tex: fix example of sbrk code
16838 version-control: never