1 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
3 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
6 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
8 * libc/sys/go32/access.c: Change license to relaxed license
9 used in identical file throughout newlib/libgloss.
11 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
13 * libc/sys/arm/access.c: New file.
14 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
15 * libc/sys/arm/Makefile.in: Regenerate.
16 * libc/sys/arm/syscalls.c (_stat): New function.
18 2002-03-11 Michael Meissner <meissner@redhat.com>
20 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
21 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
22 * libc/machine/mips/Makefile.in: Regenerate.
23 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
24 * libc/machine/mips/memset.c: Dito.
25 * libc/machine/mips/strcmp.c: Dito.
26 * libc/machine/mips/strlen.c: Dito.
27 * libc/machine/mips/strncmp.c: Dito.
29 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
31 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
32 object so it works for shared library or statici library.
33 * libc/machine/i386/Makefile.in: Regenerated.
35 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
37 * Makefile.am (lib_a_SOURCES, SH64 case): Add memcpy.S, memset.S
39 * Makefile.in: Regenerate.
40 * asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
42 * memcpy.S: Add code for SH5.
46 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
48 * configure.host: Add check for --disable-newlib-io-float
49 configuration option and add -DNO_FLOATING_POINT to newlib cflags
51 * acinclude.m4: Added --disable-newlib-io-float option.
52 * aclocal.m4: Regenerated.
54 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
55 * libc/*/aclocal.m4 libc/*/configure
56 * libm/*/aclocal.m4 libm/*/configure: Ditto.
57 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
58 if NO_FLOATING_POINT flag is not defined.
60 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
62 * libc/include/sys/config.h: Add __extension__ in front of
65 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
67 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
70 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
72 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
75 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
77 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
80 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
82 * configure.host (newlib_cflags): When host is in m68* add
85 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
87 * libc/include/sys/config.h: Add definitions for
88 __int16_t, __uint16_t, __int64_t, and __uint64_t.
90 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
92 * libc/sys/mmixware/link.c: New.
93 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
95 * libc/sys/mmixware/times.c (_times): Renamed from times.
96 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
97 properly by reading previous contents, not through BinaryReadWrite.
98 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
99 * libc/sys/mmixware/Makefile.in: Regenerate.
101 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
103 * libc/include/grp.h: Don't declare group functions when compiling
106 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
108 * libc/include/grp.h: Include Cygwin specific header.
109 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
110 when compiling for Cygwin.
111 * libc/include/sys/types.h: Don't define off_t, uid_t
112 and gid_t when compiling for Cygwin.
114 2002-02-08 matthew green <mrg@redhat.com>
116 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
117 _REENT_EMERGENCY_SIZE, not sizeof(char *).
119 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
122 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
123 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
125 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
126 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
128 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
129 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
130 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
131 * libc/machine/sh/configure.in: Rework conditionals.
132 * libc/machine/sh/Makefile.am: Likewise.
133 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
134 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
135 * configure.host: Match `sh*'.
136 * libc/include/machine/setjmp.h: Define for SH5.
137 * libc/machine/sh/configure.in: Detect SH5.
138 * libc/machine/sh/configure: Rebuilt.
139 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
140 * libc/machine/sh/Makefile.in: Rebuilt.
141 * libc/machine/sh/asm.h: Adjust for SH5.
142 * libc/machine/sh/setjmp.S: Implement in SHmedia.
143 * libc/sys/sh/crt0.S: Likewise.
144 * libc/sys/sh/trap.S: Likewise.
146 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
148 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
149 (mach_add_obj): Conditionally set to setjmp.o or nothing.
150 (LIB_SOURCES): Remove $(mach_add_src).
151 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
152 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
153 * libc/machine/i386/Makefile.in: Regenerate.
155 2002-02-05 Manik Raina <manik@cisco.com>
157 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
158 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
160 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
162 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
164 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
165 _REENT_CHECK_EMERGENCY macro.
167 2002-02-03 matthew green <mrg@redhat.com>
169 * libc/reent/signgam.c (__signgam): Fix error in previous.
171 2002-02-02 matthew green <mrg@redhat.com>
173 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
175 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
176 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
177 * libc/include/sys/reent.h (struct _reent): Completely new version
179 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
180 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
181 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
182 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
183 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
184 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
185 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
186 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
187 (_REENT_EMERGENCY): Likewise.
189 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
190 the start of the real __sFILE, used for stdin, stdout and stderr until
191 they are setup properly.
192 (struct __sFILE): Move location of _data in _REENT_SMALL case.
193 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
194 allocated stdin, stdout and stderr.
195 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
196 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
197 * libc/stdio/perror.c (_perror_r): Likewise.
198 * libc/stdio/printf.c (printf, _printf_r): Likewise.
199 * libc/stdio/putchar.c (_putchar_r): Likewise.
200 * libc/stdio/puts.c (_puts_r): Likewise.
201 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
202 * libc/stdio/vprintf.c (vprintf): Likewise.
203 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
205 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
207 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
208 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
210 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
211 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
213 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
215 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
216 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
217 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
218 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
219 * libc/stdlib/rand48.c (__dorand48): Likewise.
220 * libc/stdlib/seed48.c (_seed48_r): Likewise.
221 * libc/stdlib/srand48.c (_srand48_r): Likewise.
222 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
223 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
224 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
225 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
226 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
227 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
228 * libc/stdlib/rand.c (rand): Likewise.
230 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
231 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
233 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
234 _REENT_MP_FREELIST() and _REENT_MP_P5S.
235 * libc/include/sys/reent.h (struct _mprec): New structure.
237 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
239 * libc/string/strtok.c (strtok): Use a local static variable.
241 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
242 (_REENT_EMERGENCY_SIZE): Likewise.
243 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
244 _REENT_ASCTIME_BUF().
245 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
248 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
249 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
250 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
251 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
252 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
253 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
255 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
257 * configure.host (xstormy16): Don't use the generic malloc.
258 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
259 * libc/machine/xstormy16/Makefile.in: Regenerate.
260 * libc/machine/xstormy16/mallocr.c: New file.
261 * libc/machine/xstormy16/tiny-malloc.c: New file.
263 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
265 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
266 when _CYGWIN_TYPES_H is not defined.
268 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
270 * libc/include/sys/signal.h: Revert 2002-01-23 change.
272 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
274 * libc/include/sys/signal.h: Remove pthread_kill declaration
275 when __CYGWIN__ is defined.
277 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
279 * libc/include/time.h: Add prototype for strptime for Cygwin.
281 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
283 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
284 dst was not word aligned.
286 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
287 if too much memory is requested.
289 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
291 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
292 reads blanks from the input file to break if EOF reached
293 rather than end processing.
295 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
297 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
299 2002-01-07 Alan Matsuoka <alanm@redhat.com>
301 * libc/include/machine/ieeefp.h: Configure d10v doubles to
302 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
303 libc/include/sys/config.h: Ditto.
305 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
307 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
309 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
310 Catherine Moore <clm@redhat.com>
311 Richard Henderson <rth@redhat.com>
312 Corinna Vinschen <vinschen@redhat.com>
314 * configure.host: Add support for xstormy16.
315 * libc/include/machine/ieeefp.h: Add support for xstormy16.
316 * libc/include/machine/setjmp.h: Add support for xstormy16.
317 * libc/include/sys/config.h: Add support for xstormy16.
318 * libc/machine/xstormy16/Makefile.am: New file.
319 * libc/machine/xstormy16/Makefile.in: New file.
320 * libc/machine/xstormy16/aclocal.m4: New file.
321 * libc/machine/xstormy16/configure: New file.
322 * libc/machine/xstormy16/configure.in: New file.
323 * libc/machine/xstormy16/setjmp.S: New file.
325 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
327 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
328 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
330 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
332 * libm/machine/Makefile.am: Change rules to create correct lib.a.
333 * libm/machine/Makefile.in: Regenerated through automake.
335 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
337 * Makefile.am (DOCDIR): Force to empty string when doc
338 directory is not present.
340 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
342 * libc/machine/i386/f_*: Move to libm/machine/i386.
344 2001-12-18 Joel Sherrill <joel@OARcorp.com>
346 * libm/machine/Makefile.am: Add dummy doc stub so
349 2001-12-17 Joel Sherrill <joel@OARcorp.com>
351 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
353 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
355 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
356 $(COMPILE) rather than $(CC).
357 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
358 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
359 $(LIB_COMPILE) change.
360 (vfiprintf.$(oext)): Likewise.
362 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
364 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
365 conditionalized including of getopt stuff.
367 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
369 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
371 (vfiprintf.$(oext)): Likewise.
373 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
375 * Makefile.shared: New file.
376 * libc/sys/linux/shared.ld: New file.
377 * libm/machine/*: New files.
378 * libm/machine/i386/*: New files.
379 * Makefile.am: Add libtool support. Change math and mathfp
380 references to variables.
381 * configure.host: Add variables for libtool support. Add
382 libm_machine_dir variable.
383 * configure.in: Add objectlist variables, for libtool
384 support. Add CC_FOR_BUILD tests.
385 * libc/Makefile.am: Add libtool support. Change crt0.o
386 reference to be a variable reference.
387 * libc/configure.in: Add libtool support. Change sublib
388 names to be lib${subdir}.la when using libtool.
389 * libc/ctype/Makefile.am: Add libtool support.
390 * libc/errno/Makefile.am: Likewise.
391 * libc/locale/Makefile.am: Likewise.
392 * libc/machine/Makefile.am: Likewise.
393 * libc/machine/configure.in: Likewise.
394 * libc/machine/i386/Makefile.am: Likewise.
395 * libc/machine/i386/configure.in: Likewise.
396 * libc/misc/Makefile.am: Likewise.
397 * libc/posix/Makefile.am: Likewise.
398 * libc/reent/Makefile.am: Likewise.
399 * libc/signal/Makefile.am: Likewise.
400 * libc/stdio/Makefile.am: Likewise.
401 * libc/stdlib/Makefile.am: Likewise.
402 * libc/string/Makefile.am: Likewise.
403 * libc/sys/Makefile.am: Likewise.
404 * libc/sys/configure.in: Likewise.
405 * libc/sys/linux/Makefile.am: Add libtool support. Change
406 awk reference to a variable reference. Change signal.h
407 reference to a variable reference.
408 * libc/sys/linux/configure.in: Add libtool support.
409 * libc/syscalls/Makefile.am: Likewise.
410 * libc/time/Makefile.am: Likewise.
411 * libc/unix/Makefile.am: Likewise.
412 * libm/Makefile.am: Add libtool support. Change math and
413 mathfp references to variables.
414 * libm/configure.in: Add libtool support. Add
415 LIBM_MACHINE_LIB variable.
416 * libm/common/Makefile.am: Add libtool support.
417 * libm/math/Makefile.am: Likewise.
418 * libm/mathfp/Makefile.am: Likewise.
419 Regenerate all Makefile.in, aclocal.m4, and configure.
421 2001-12-13 Anita Kulkarni <anitak@kpit.com>
423 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
425 2001-12-06 John Peacock <jpeacock@rowman.com>
427 * libc/include/sys/unistd.h: Correct ualarm declaration.
429 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
431 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
432 vector before calling the initialisation functions.
434 2001-11-29 Christopher Faylor <cgf@redhat.com>
436 * libc/include/dirent.h: Protect against multiple inclusion.
438 2001-11-27 Christopher Faylor <cgf@redhat.com>
440 * libc/include/sys/types.h: Define useconds_t.
441 * libc/include/sys/ulimit.h: Declare ualarm.
443 2001-11-21 Christopher Faylor <cgf@redhat.com>
445 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
447 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
449 * libc/sys/mmixware/*: Tweak license header in all source files.
451 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
453 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
454 to here. Rearrange for general inclusion by stdlib.h.
455 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
457 * libc/sys/linux/include/alloca.h: Move to libc/include.
459 2001-11-12 Anthony Green <green@redhat.com>
461 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
463 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
465 * libc/sys/mmixware/*: Correct spacing in all source files.
466 * libc/sys/mmixware/syscall.h: Move misplaced file...
467 * libc/sys/mmixware/sys/syscall.h: ...here.
469 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
471 * libc/include/machine/ieeefp.h: Add support for mmix target.
472 * libc/include/machine/setjmp.h: Ditto.
473 * configure.host: Ditto.
474 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
475 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
476 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
477 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
478 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
479 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
480 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
481 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
482 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
483 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
484 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
485 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
486 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
487 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
488 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
489 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
490 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
491 libc/sys/mmixware/aclocal.m4: Generate.
493 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
495 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
496 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
497 when __CYGWIN__ is defined.
498 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
501 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
503 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
504 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
505 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
506 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
508 2001-10-24 Christopher Faylor <cgf@redhat.com>
510 * libc/stdio/fseek.c: Reset pointer to buffer base
511 when forced to seek outside of current buffer contents.
512 This prevents the code from erroneously thinking there is
513 anything in the current buffer.
515 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
517 * libc/include/math.h: The C++ standard adds the single-precision
518 versions of the elementary functions.
520 2001-10-22 Christopher Faylor <cgf@redhat.com>
522 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
524 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
525 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
526 * system.c (_system_r): Ditto.
528 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
530 * libc/include/sys/unistd.h: Add prototype for fchdir() when
531 __CYGWIN__ or __rtems__ is defined.
533 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
535 * libc/include/stdlib.h: add declarations for
536 _strtoull_r, _strtoll_r, strtoull, and strtoll.
537 * libc/stdio/local.h: remove declarations of
538 __strtoull_r and __strtoll_r.
539 * libc/stdio/vfscanf.c(__svfscanf_r): call
540 _strtoull_r instead of __strtoull_r. Ditto
541 _strtoll_r vs. __strtoll_r.
542 * libc/stdlib/Makefile.am: add new files to
543 .c list and .def list
544 * libc/stdlib/Makefile.in: regenerate
545 * libc/stdlib/strtoll_r.c: rename __strtoll_r
547 * libc/stdlib/strtoull_r.c: rename __strtoull_r
549 * libc/stdlib/strtoull.c: new file
550 * libc/stdlib/strtoll.c: new file
552 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
554 * libc/include/process.h: Add getpid() declaration.
556 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
558 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
559 for new style arm/elf ctor/dtor handling.
560 Minor formatting tidy up.
562 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
564 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
566 * libc/stdlib/Makefile.in: Regenerated.
567 * libc/stdlib/strtoll_r.c: New file.
568 * libc/stdlib/strtoull_r.c: New file.
569 * libc/stdio/local.h: Add prototypes for long long string
571 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
572 tied to %L integer conversion specifier.
574 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
576 * strftime.c (strftime): Fix "%W" implementation to properly handle
579 2001-09-07 Jeff Law <law@redhat.com>
581 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
582 __fini with "mov.l" instead of "mov.w".
584 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
586 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
589 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
591 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
593 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
595 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
597 (__DIRENT_VERSION): New define.
599 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
601 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
602 Shrink __d_reserved accordingly to keep structure size.
603 (dirfd): Declare external.
605 2001-08-29 Joel Sherrill <joel@OARcorp.com>
607 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
609 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
611 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
612 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
613 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
614 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
615 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
616 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
617 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
618 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
619 Add conditional compilation to avoid HW FPU instructions
620 when compiled for soft-float.
622 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
624 * Makefile.am: Add check for ln failing when creating libg.a
625 so that cp gets used as a backup.
626 * Makefile.in: Regenerated.
628 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
630 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
631 No longer include time.h. Add struct __tm to use for
632 _localtime_buf in the reentrant structure. Add a
633 _NULL definition to use in initializing the reentrant struct.
634 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
635 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
637 * libc/include/sys/unistd.h: Include <sys/_types.h>.
638 * libc/time/lcltime.c (localtime): Cast the reentrant struct
639 _localtime_buf to be struct tm *.
641 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
643 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
644 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
646 * libc/sys/h8300hms/syscalls.c: Include errno.h.
647 (_unlink): New stub function.
649 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
651 * libc/include/sys/errno.h: Add a cautionary comment.
653 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
655 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
656 for SIZE_SZ so that alignment ends up a minimum of 8.
658 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
660 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
663 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
666 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
668 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
669 macro constants for mallopt options.
670 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
672 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
674 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
677 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
679 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
681 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
683 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
684 Define for little endian ARMs.
686 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
687 __IEEE_BYTES_LITTLE_ENDIAN is defined.
689 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
691 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
693 2001-06-11 Egor Duda <deo@logos-m.ru>
695 * libc/ctype/ctype_.c: When compiled with gcc on platforms
696 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
697 initialized memory region. Platform can define COMPACT_CTYPE
698 to avoid allocation of the additional 128 bytes of data.
699 Add pointer to _ctype_ array. Always initialize all _ctype_
702 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
704 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
707 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
709 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
711 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
713 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
714 matching, non-word alignment, and the length is <= 4 but more than
715 enough to move them over a word boundary.
716 Add comments explaining what each instruction does.
718 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
720 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
721 * libc/include/sys/unistd.h: Ditto.
723 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
725 * libc/string/strrchr.c: Use strchr for the speed improvements.
727 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
729 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
730 real file systems, let __smakebuf() determine if line buffering
731 should be used for stdout.
733 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
735 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
737 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
739 * libc/include/stdlib.h: Add prototype for _strtod_r.
741 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
743 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
744 * libc/stdio/vprintf.c (_vprintf_r): new function
745 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
746 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
747 _DEFUN, and call _vfprintf_r, not vfprintf.
748 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
749 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
750 _DEFUN, and call _vfprintf_r, not vfprintf.
752 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
754 * libc/include/sys/unistd.h [X_OK]: Use better protection against
755 Cygwin X_OK definitions in sys/file.h.
757 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
759 * libc/include/sys/time.h: Define timercmp and other macros for
762 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
764 * acinclude.m4: Added --enable-malloc-debugging configure flag.
765 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
766 --enable-malloc-debugging selected.
767 * aclocal.m4 configure: Regenerated.
768 libm/aclocal.m4 libm/configure: Ditto.
769 * libc/aclocal.m4 libc/configure: Ditto.
770 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
771 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
772 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
773 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
774 * doc/aclocal.m4 doc/configure: Ditto.
776 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
778 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
780 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
781 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
783 (_fscanf_r, _sscanf_r): Ditto.
784 * libc/include/stdlib.h: Added _strtod_r prototype.
785 * libc/stdio/Makefile.am: Add new v*scanf functions.
786 * libc/stdio/Makefile.in: Regenerate.
787 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
788 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
789 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
790 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
791 (sscanf): Changed to call __svfscanf_r with _REENT argument.
792 (_sscanf_r): New routine.
793 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
794 with __svfscanf_r prototype.
795 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
797 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
798 structure as argument as calls reentrant versions of helper functions
799 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
800 to _strtol_r and _strtod_r respectively.
801 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
802 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
804 * libc/stdio/vscanf.c: New file.
805 * libc/stdio/vsscanf.c: Ditto.
807 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
809 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
810 Define daylight to _daylight if it is not defined
811 Prepare a variable export of timezone based on timezonevariable.
812 (Cannot be used with the timezone() function.)
814 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
816 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
817 Correct the numerical values.
819 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
821 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
823 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
825 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
826 on case insensitve file systems.
828 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
830 * libc/include/sys/features.h: Add appropriate defines for Cygwin
832 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
833 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
834 types. Include <cygwin/types.h> for the cygwin specific typedefs.
836 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
838 * libc/include/machine/ieeefp.h: Comment about new configuration
839 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
840 * libm/common/fdlib.h: Define new macros for testing floats.
841 * libm/common/sf_*: Use them.
842 * libm/math/ef_*: Likewise.
843 * libm/math/sf_*: Likewise.
845 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
847 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
848 prolog to by-pass possible assembler error.
850 2001-03-21 Egor Duda <deo@logos-m.ru>
852 Allow building internal stubs for non-reentrant syscalls
853 if target provides its own malloc
854 * libc/reent/reent.c (errno): Move definition here.
855 * libc/reent/sbrkr.c: From here.
857 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
859 * libc/include/sys/types.h (BSD int typedefs): Guard with
860 _BSDTYPES_DEFINED rather than _WINSOCK_H.
861 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
863 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
864 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
866 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
868 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
869 _PC_POSIX_SECURITY constants for Cygwin.
871 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
873 * libc/sys/cygwin/crt0.c: Add copyright hint.
874 * libc/sys/cygwin/sys/dirent.h: Ditto.
875 * libc/sys/cygwin/sys/param.h: Ditto.
876 * libc/sys/cygwin/sys/utime.h: Ditto.
877 * libc/sys/cygwin/sys/utmp.h: Ditto.
879 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
881 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
882 equivalent to LONGINT.
884 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
886 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
887 jmpbuf on MIPS64 targets.
888 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
890 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
892 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
895 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
897 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
898 For RTEMS, define to be ssize_t. Default to int if not defined.
899 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
900 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
901 * libc/stdio/local.h (__sread, __swrite): Likewise.
902 * libc/include/sys/reent.h (_read, _write): Likewise.
903 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
904 * libc/syscalls/sysread.c (read): Likewise.
905 * libc/syscalls/syswrite.c (write): Likewise.
907 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
909 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
911 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
913 * libc/include/sys/stat.h: Use special defines for executable stat bits
914 when compiling for Cygwin.
915 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
918 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
920 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
921 of strtok_r is always defined.
923 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
925 * libc/include/machine/ansi.h: New dummy header file.
927 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
929 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
930 changed the copyright information to allow free modification of the
931 file with no reference to "copying.dj".
932 * libc/include/sys/stat-dj.h: Ditto.
933 * libc/machine/i386/setjmp.S: Ditto.
934 * libc/sys/h8300hms/sys/file.h: Ditto.
935 * libc/sys/sysmec/access.c: Ditto.
936 * libc/sys/sysnecv850/access.c: Ditto.
937 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
938 * libc/stdlib/getenv_r.c: Ditto.
939 * libc/stdlib/putenv_r.c: Ditto.
940 * libc/stdlib/setenv_r.c: Ditto.
941 * libc/stdlib/getenv.c: Removed DJ reference since any possible
942 modifications will now be in the _r version of this file.
943 * libc/stdlib/putenv.c: Ditto.
944 * libc/stdlib/setenv.c: Ditto.
945 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
946 valid. Added a reference to DJ's web page that contains his address.
947 * libc/sys/go32/*.s: Removed references to DJ's old address.
948 * libc/sys/go32/*.c: Ditto.
949 * libc/sys/go32/*.h: Ditto.
950 * libc/sys/go32/*.S: Ditto.
951 * libc/sys/go32/sys/*.h: Ditto.
953 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
955 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
956 HAVE_FCNTL flag check.
957 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
958 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
960 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
962 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
964 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
966 * libc/include/stdlib.h: Add declarations of rand48 functions and
967 their reentrant versions.
968 * libc/include/sys/reent.h: Move macros from rand48.h. Add
969 struct _rand48 for shared parameters of rand48 functions.
970 (struct _reent): Add a variable _r48 of struct _rand48.
971 (_REENT_INIT): Add _r48 initialization.
972 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
973 (CHEWOUT_FILES): Add rand48.def.
974 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
975 * libc/stdlib/Makefile.in: Regenerated.
976 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
978 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
979 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
980 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
981 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
982 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
983 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
984 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
985 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
986 * libc/stdlib/rand48.c (__dorand48): Ditto.
987 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
988 parameters into macros referring them in the reentrant structure.
990 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
992 * libc/include/sys/stat.h: Add mknod for Cygwin now that
993 Cygwin definition has correct prototype.
995 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
997 * libc/include/sys/stat.h: Must revert change for mknod
998 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1001 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1003 * libc/include/stdio.h: Revert putw prototype.
1005 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
1007 * libc/include/grp.h: add prototype for initgroups.
1008 * libc/include/stdio.h: fix prototype for putw.
1009 * libc/include/sys/signal.h: add prototype for killpg.
1010 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1011 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1012 vhangup and remove duplicate sysconf prototype.
1014 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
1016 * libc/sys/rtems/sys/types.h: Removed.
1018 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
1020 * libc/include/locale.h: add LC_MESSAGES definition
1022 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1024 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1026 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1027 __setup_argv_and_call_main): New.
1029 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
1031 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1033 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1034 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1035 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1036 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1038 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
1040 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1041 compiling under Cygwin.
1043 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
1045 * libc/include/math.h (signgam): Change to errno-like solution
1046 using a function to return the address of the real signgam.
1047 * libc/reent/signgam.c: New file containing __signgam().
1048 * libc/reent/Makefile.am: Added signgam.c to list of files.
1049 * libc/reent/Makefile.in: Regenerated.
1051 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
1053 * libc/sys/sh/syscalls.c (_times): New.
1055 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1056 * libc/sys/sh/syscalls.c (_gettimeofday): New.
1058 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1060 * libc/include/math.h (signgam): Regress previous fix as
1061 it does not handle programs with extern int signgam in them.
1063 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1065 * libc/include/math.h (signgam): Changed to a macro refering to
1066 its location in the reentrant structure.
1068 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1070 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
1071 that suppressed . for %.0f, 0.1. Check now looks if there
1072 are padding zeroes (expt) in addition to any digits (ndig) to
1075 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
1077 * libc/sys/arc/Makefile.am: New file.
1078 * libc/sys/arc/Makefile.in: Ditto.
1079 * libc/sys/arc/aclocal.m4: Ditto.
1080 * libc/sys/arc/configure: Ditto.
1081 * libc/sys/arc/configure.in: Ditto.
1082 * libc/sys/arc/crt0.S: Ditto.
1083 * libc/sys/arc/isatty.c: Ditto.
1084 * libc/sys/arc/mem-layout.c: Ditto.
1085 * libc/sys/arc/sbrk.c: Ditto.
1086 * libc/sys/arc/syscalls.c: Ditto.
1087 * libc/sys/arc/sys/syscall.h: Ditto.
1089 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
1091 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
1093 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
1095 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
1097 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
1099 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
1101 2001-01-09 Nick Clifton <nickc@redhat.com>
1103 * configure.host (v859): Remove unsupported compiler options.
1105 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
1107 * src/newlib/configure.host (*-*-rtems*): add printf long long
1110 2000-12-19 Graham Stott <grahams@redhat.com>
1112 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
1114 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1116 * configure.host: Turn on long double I/O for Cygwin.
1118 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
1120 * MAINTAINERS: Removed Ranjith.
1121 * NEWS: Updated for 1.9.0.
1123 * acinclude.m4: Updated to release 1.9.0.
1124 * aclocal.m4 configure
1125 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1126 libc/machine/aclocal.m4 libc/machine/configure
1127 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
1128 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
1129 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
1130 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
1131 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
1132 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
1133 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
1134 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
1135 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
1136 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
1137 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
1138 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
1139 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
1140 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
1141 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
1142 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
1143 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
1144 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
1145 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
1146 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
1147 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1148 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1149 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1150 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
1151 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1152 libc/sys/aclocal.m4 libc/sys/configure
1153 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1154 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1155 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1156 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1157 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1158 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1159 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1160 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1161 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
1162 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1163 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1164 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1165 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1166 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1167 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1168 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1169 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1170 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1171 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1172 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1173 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1174 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1175 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1176 libm/aclocal.m4 libm/configure: Regenerated.
1178 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1180 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
1181 when __CYGWIN__ is defined.
1183 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1185 * libc/stdlib/ldtoa.c (_ldcheck): New routine
1186 that categorizes a long double as NaN, Infinity, or other.
1187 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
1188 isinfl and isnanl static routines which were i386-specific. Changed
1189 calls to the two removed routines to a single _ldcheck call.
1190 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
1192 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
1194 * Makefile.am: Fixed install-data-local target to use
1195 $(mkinstalldirs) for the installed header files to ensure
1196 the directories exist before copying.
1197 * Makefile.in: Regenerated.
1199 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
1201 * libc/include/sys/unistd.h: Restored Cygwin _SC
1202 constants and moved new constants appropriately
1203 so Cygwin will build.
1205 2000-12-11 Joel Sherrill <joel@OARcorp.com>
1207 * Merge RTEMS specific .h files into main libc/include.
1208 * libc/sys/rtems/include/signal.h: Removed.
1209 * libc/sys/rtems/include/time.h: Removed.
1210 * libc/sys/rtems/sys/features.h: Removed.
1211 * libc/sys/rtems/sys/sched.h: Removed.
1212 * libc/sys/rtems/sys/siginfo.h: Removed.
1213 * libc/sys/rtems/sys/signal.h: Removed.
1214 * libc/sys/rtems/sys/time.h: Removed.
1215 * libc/sys/rtems/sys/times.h: Removed.
1216 definitions for time_t and clock_t since these are
1217 no longer in time.h.
1218 * libc/include/pthread.h: New file.
1219 * libc/include/sys/sched.h: New file.
1220 * libc/include/sys/features.h: New file.
1221 * libc/include/time.h: Removed duplicate definition of clock_t
1222 and time_t, get them from <sys/types.h> instead. Add prototypes
1223 for POSIX clock and timer functionality.
1224 * libc/sys/linux/sys/types.h: Changed to include
1225 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
1226 * libc/include/sys/signal.h: Add more complete set of POSIX
1227 signal functionality including real-time and threaded signals.
1228 * libc/include/sys/types.h: Add clock_t, time_t, struct
1229 timespec, and struct itimerspec. Centralizing these makes
1230 things cleaner. RTEMS uses 64-bit dev_t.
1231 Added numerous primitive definitions
1232 for pthreads including macros, pthread_attr_t,
1233 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
1234 pthread_once_t, and pthread_t.
1235 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
1236 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
1237 Feature flags removed and moved to new file <sys/features.h>.
1238 Full set of POSIX sysconf() constants
1240 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
1242 * configure.host: Added x86 linux target.
1243 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
1244 definitions provided if not already defined.
1245 * libc/sys/linux/crt0.c: New file.
1246 * libc/sys/linux/Makefile.am: Ditto.
1247 * libc/sys/linux/Makefile.in: Ditto.
1248 * libc/sys/linux/aclocal.m4: Ditto.
1249 * libc/sys/linux/brk.c: Ditto.
1250 * libc/sys/linux/configure: Ditto.
1251 * libc/sys/linux/configure.in: Ditto.
1252 * libc/sys/linux/getoptlong.c: Ditto.
1253 * libc/sys/linux/ids.c: Ditto.
1254 * libc/sys/linux/inode.c: Ditto.
1255 * libc/sys/linux/io.c: Ditto.
1256 * libc/sys/linux/linux.c: Ditto.
1257 * libc/sys/linux/process.c: Ditto.
1258 * libc/sys/linux/realpath.c: Ditto.
1259 * libc/sys/linux/select.c: Ditto.
1260 * libc/sys/linux/signal.c: Ditto.
1261 * libc/sys/linux/systat.c: Ditto.
1262 * libc/sys/linux/termios.c: Ditto.
1263 * libc/sys/linux/time.c: Ditto.
1264 * libc/sys/linux/wait.c: Ditto.
1265 * libc/sys/linux/include/alloca.h: Ditto.
1266 * libc/sys/linux/include/getopt.h: Ditto.
1267 * libc/sys/linux/include/stdint.h: Ditto.
1268 * libc/sys/linux/include/unistd.h: Ditto.
1269 * libc/sys/linux/sys/cdefs.h: Ditto.
1270 * libc/sys/linux/sys/dirent.h: Ditto.
1271 * libc/sys/linux/sys/errno.h: Ditto.
1272 * libc/sys/linux/sys/fcntl.h: Ditto.
1273 * libc/sys/linux/sys/file.h: Ditto.
1274 * libc/sys/linux/sys/ioctl.h: Ditto.
1275 * libc/sys/linux/sys/resource.h: Ditto.
1276 * libc/sys/linux/sys/signal.h: Ditto.
1277 * libc/sys/linux/sys/stat.h: Ditto.
1278 * libc/sys/linux/sys/syscall.h: Ditto.
1279 * libc/sys/linux/sys/termios.h: Ditto.
1280 * libc/sys/linux/sys/time.h: Ditto.
1281 * libc/sys/linux/sys/types.h: Ditto.
1282 * libc/sys/linux/sys/utmp.h: Ditto.
1283 * libc/sys/linux/sys/utsname.h: Ditto.
1284 * libc/sys/linux/sys/wait.h: Ditto.
1286 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1288 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
1289 can be a relative path to $(top_srcdir)/install.sh so ensure the
1290 autoconf detected settings are properly passed recursively.
1291 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
1292 properly to subdirectories.
1293 * Makefile.in: Regenerated.
1295 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
1297 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
1298 a floating point register unless really printing a floating
1301 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
1303 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
1305 (asctoeg): Replaced alloca call with stack array and malloc
1306 when storage exceeds reasonable limit.
1307 (e53toe): Fixed einfin calls missing ldp parameter.
1308 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
1310 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1313 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
1315 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
1317 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
1318 * libc/stdlib/Makefile.in: Regenerated.
1319 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
1320 * libc/stdio/vfieeefp.h: Added long double bit structures.
1321 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
1322 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
1323 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
1324 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
1325 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
1326 _strtold routines used for conversions between character
1329 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1331 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
1333 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1335 * libc/include/machine/time.h: RTEMS systems can configure clock
1336 tick rate so use sysconf() to ask.
1338 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1340 * libc/include/sys/times.h: Add reference to POSIX standard.
1342 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1344 * libc/include/sys/time.h: Added BSD timer manipulation macros
1347 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1349 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
1350 referenced by code generated by gcc 2.8.1.
1351 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
1354 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1356 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
1358 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1360 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
1362 2000-12-04 Joel Sherrill <joel@OARcorp.com>
1364 * configure.host (or16, or32): New entries for OpenCores
1366 (*-*-rtems*): Add -DNO_EXEC.
1368 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
1370 * libc/include/sys/errno.h: Added comments on many error numbers.
1371 * libc/string/strerror.c: Added some more strings.
1373 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
1375 * libc/sys/sh/syscalls.c (_link): New stub.
1377 2000-11-29 Nick Clifton <nickc@redhat.com>
1379 * configure.host: Add xscale target.
1380 * libc/machine/xscale: New directory.
1381 * libc/machine/xscale/Makefile.am: New file.
1382 * libc/machine/xscale/Makefile.in: New file.
1383 * libc/machine/xscale/aclocal.m4: New file.
1384 * libc/machine/xscale/configure: New file.
1385 * libc/machine/xscale/configure.in: New file.
1386 * libc/machine/xscale/memchr.S: New file.
1387 * libc/machine/xscale/memcmp.S: New file.
1388 * libc/machine/xscale/memcpy.S: New file.
1389 * libc/machine/xscale/memmove.S: New file.
1390 * libc/machine/xscale/memset.S: New file.
1391 * libc/machine/xscale/strchr.S: New file.
1392 * libc/machine/xscale/strcmp.S: New file.
1393 * libc/machine/xscale/strcpy.S: New file.
1394 * libc/machine/xscale/strlen.S: New file.
1396 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1398 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
1399 avoid compiler warnings.
1401 2000-11-22 Michael Meissner <meissner@redhat.com>
1403 * libc/posix/execl.c (execl): Don't reference environ directly,
1404 reference it only via a static pointer to avoid problems with some
1405 shared library systems and with different uses of small data where
1406 the user specifies his own version of environ.
1407 * libc/posix/execv.c (execv): Ditto.
1408 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
1409 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
1410 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
1412 * libc/stdlib/getenv.c (environ): Delete unused reference to
1415 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
1417 * libc/stdlib/system.c: Ditto.
1419 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
1421 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
1422 including windows headers.
1424 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
1426 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
1427 * libc/include/dirent.h: Added definition of MAXNAMLEN if
1428 not defined by sys/dirent.h.
1429 * libc/posix/execvp.c: Added include of dirent.h to get
1430 MAXNAMLEN value which used to be in unistd.h.
1432 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1434 * libc/include/sys/types.h: Change type of i to `size_t' in
1435 FD_ZERO macro to avoid compiler warnings.
1437 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
1439 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
1440 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
1442 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
1444 * libc/include/sys/unistd.h: Add defines for sysconf values
1445 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
1448 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
1450 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
1451 declarations for __CYGWIN__.
1453 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
1455 * libc/signal/signal.c (__sigtramp_r): ISO C requires
1456 case labels to be integral constant expressions, so
1457 use an if/else tree instead.
1458 (_raise_r): Likewise.
1460 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
1462 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
1463 clipping patch from e-mail reader.
1465 2000-09-13 Will Cohen <wcohen@redhat.com>
1467 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
1468 Added return value 0.
1469 (_longjmp): Allow longjmp to return value of second argument
1472 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
1474 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
1475 inline code to prevent having to include another header file.
1477 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
1479 * Makefile.am: Fix space vs. tab problem in install-data-local.
1480 * Makefile.in: Regenerate.
1482 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
1484 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
1485 (_EXPARM): New macro for defining a function parameter.
1486 * libc/include/stdlib.h: Use _EXPARM.
1487 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
1489 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
1491 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
1492 required, as documented in the gnu coding standards.
1493 * Makefile.in: Regenerate.
1495 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
1497 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
1498 make O_NDELAY and O_NONBLOCK have the same value.
1500 2000-08-30 Kazu Hirata <kazu@hxi.com>
1502 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
1504 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
1506 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
1507 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
1508 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
1511 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
1513 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
1514 * libc/include/string.h: Don't include <sys/types.h>,
1515 as it causes really bad namespace pollution. Don't declare
1516 swab(), it is properly declared in unistd.h.
1518 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
1520 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
1521 (broken) support for non-existent /etc/passwd field "comment".
1523 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
1525 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
1526 only if _DIRENT_HAVE_D_NAMLEN is defined.
1527 (alphasort): aligned prototype with
1528 libc/sys/cygwin/sys/dirent.h and simplified function body.
1529 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
1530 long telldir (DIR *) as mentioned in annex B of POSIX.1
1532 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
1534 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
1535 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
1536 Added __CLI and __STI macros (controlled via
1537 _I386MACH_ALLOW_HW_INTERRUPTS macro).
1538 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
1539 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
1540 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
1541 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
1542 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
1543 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
1544 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
1545 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
1546 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
1547 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
1548 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
1549 for all global entry points.
1550 * libc/machine/i386/setjmp.S: removed code replicated in
1551 libc/machine/i386/i386mach.h and included i386mach.h instead;
1552 Use __CLI and __STI instead of cli and sti.
1554 2000-08-25 DJ Delorie <dj@redhat.com>
1556 * libc/include/sys/unistd.h (environ): this one isn't from the
1559 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
1561 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
1562 environ when compiling under cygwin since it is already declared in
1565 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
1567 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
1568 like x << y-z to the equivalent x << (y-z).
1569 (d2b): changed if statements with assignment to perform the
1570 assignment prior to the if check.
1571 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
1572 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
1573 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
1574 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
1576 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
1577 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
1579 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
1581 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
1582 clarify && and || precendence (and to remove pascalism).
1583 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
1584 * libm/math/s_infconst.c: added another pair of braces to all
1585 initializers for __infinity (need three: for __infinity[1] array,
1586 for union __dmath, and for i[2]).
1588 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
1590 * libc/stdlib/abort.c: changed description: uses "raise" instead of
1591 "getpid" and "kill"; added: uses "write" and "_exit".
1592 Also included unistd.h for "_exit" prototype.
1593 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
1594 reent.h for "_fork_r" and "_wait_r" prototypes.
1595 (do_system): changed extern char *environ[] to POSIX-friendly
1596 extern char **environ.
1597 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
1599 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
1600 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
1601 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
1602 * libc/reent/openr.c: included fcntl.h for "open" prototype.
1603 * libc/reent/signalr.c: included signal.h for "kill" prototype,
1604 unistd.h for "getpid" prototype.
1605 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
1606 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
1607 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
1608 prototype. Also included stdlib.h for "abort", string.h for
1609 "strdup" and "strncmp" prototypes.
1610 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
1611 "strncpy", unistd.h for "read" and "close" prototypes.
1612 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
1613 "strcat" prototypes.
1615 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
1617 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
1618 used later (ifdef __SCLE)
1619 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
1620 used later (ifdef MB_CAPABLE)
1621 * libc/string/memset.c (memset): removed unused variables "count"
1622 and "unaligned_addr"
1623 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
1624 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
1625 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
1628 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
1630 * libc/stdlib/envlock.c: changed documented "__env_lock" and
1631 "__env_unlock" prototype from "void *" or "char *" to
1632 "struct _reent *" to match real function. Also added include
1634 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
1635 "__malloc_unlock" prototype from "void *" or "char *" to
1636 "struct _reent *" to match real function.
1637 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
1638 prototypes (for getenv_r.c and setenv_r.c).
1640 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
1642 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
1643 and prototype in cygwin's utmp.h
1645 2000-08-16 Eric Fifer <efifer@sanwaint.com>
1647 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
1649 2000-08-09 Nick Clifton <nickc@cygnus.com>
1651 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
1652 epilogue and to allow the functions to be used in a Thumb based
1655 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
1657 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
1658 so size of 0 results in nothing being written to string.
1659 Also fixed code so that when size is non-zero, there is only
1660 a maximum of size - 1 characters written to the array and
1661 a nul terminator is appended at the end.
1662 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
1664 2000-08-01 DJ Delorie <dj@redhat.com>
1666 * libc/include/sys/config.h: define __IMPORT appropriately
1667 * libc/include/ctype.h (_ctype_): use __IMPORT
1668 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
1669 * libc/include/math.h (__mb_cur_max): ditto
1670 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
1671 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
1672 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
1673 * libc/include/unistd.h (environ): ditto
1675 2000-07-28 Michael Meissner <meissner@redhat.com>
1677 * libc/include/math.h (__infinity): Declare as an array without
1678 bounds to get around small data support. Rewrite Cygwin support
1680 * libm/math/s_infconst.c (__infinity): Ditto.
1681 * libm/mathfp/s_infconst.c (__infinity): Ditto.
1683 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
1685 * libc/include/math.h: Use appropriate dll import linkage for
1686 __infinity under Cygwin.
1688 2000-07-13 DJ Delorie <dj@cygnus.com>
1690 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
1692 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
1694 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
1695 to argument list for AngelSWI_Reason_GetCmdLine.
1697 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
1699 * configure.host: Add support for AVR target.
1700 * libc/include/machine/ieeefp.h: Likewise.
1701 * libc/include/sys/config.h: Likewise.
1703 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
1705 * README: Newlib 1.8.2 must be built in a separate directory
1708 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1710 * libc/include/sys/reent.h (_rand_next): Added __extension__
1711 qualifier as long long type is not strict ANSI.
1712 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
1713 to long long constant.
1715 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
1717 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
1718 `setegid' provided by Cygwin.
1720 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
1722 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
1725 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1727 * libc/include/sys/reent.h (_rand_next): Changed to
1728 unsigned long long and moved to end of _reent struct in _new union.
1729 (_REENT_INIT): Changed to move _rand_next initialization.
1730 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
1731 linear congruential algorithm that is used by DJGPP.
1733 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
1735 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
1736 * libc/include/sys/config.h: Define __RAND_MAX.
1738 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1740 * libc/stdlib/rand_r.c: New algorithm that meets minimal
1743 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
1745 * libc/include/string.h: Work around problem with strsignal and gdb.
1747 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
1749 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
1750 * libc/include/malloc.h: Ditto.
1751 * libc/include/process.h: Ditto.
1752 * libc/include/stdio.h: Ditto.
1753 * libc/include/stdlib.h: Ditto.
1754 * libc/include/time.h: Ditto.
1755 * libc/include/machine/setjmp.h: Ditto.
1756 * libc/include/sys/errno.h: Ditto.
1757 * libc/include/sys/signal.h: Ditto.
1758 * libc/include/sys/stat.h: Ditto.
1759 * libc/include/sys/time.h: Ditto.
1760 * libc/include/sys/unistd.h: Ditto.
1761 * libc/include/string.h: Ditto. strsignal should return a const char *.
1763 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
1765 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
1766 * libm/common/s_log1p.c (log1p): Likewise.
1767 * libm/common/s_scalbn.c (scalbn): Likewise.
1768 * libm/math/e_log.c: Likewise.
1769 * libm/math/e_asin.c: Likewise.
1770 * libm/math/ef_asin.c: Likewise.
1771 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
1772 * libm/math/e_j1.c (pone, qone): Likewise.
1773 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
1774 * libm/math/ef_j1.c (ponef, qonef): Likewise.
1775 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
1776 * libm/mathfp/e_j1.c (pone, qone): Likewise.
1777 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
1778 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
1780 2000-05-19 DJ Delorie <dj@cygnus.com>
1782 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
1783 (__sread): always read in binary mode
1784 (__swrite): always write in binary mode
1785 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
1786 compatibility issues with different dll versions
1787 * libc/stdio/fopen.c: use __stextmode
1788 * libc/stdio/fdopen.c: ditto
1789 * libc/stdio/freopen.c: ditto
1790 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
1791 * libc/stdio/local.h: declare __stextmode
1793 2000-05-18 DJ Delorie <dj@cygnus.com>
1795 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
1797 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1799 * libc/include/ctype.h: Changed tolower and toupper macros
1800 to use __extension__ to prevent pedantic warnings.
1802 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
1804 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
1807 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
1809 * libc/include/machine/ieeefp.h: Add ia64 support.
1810 * configure.host: Likewise.
1812 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
1814 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
1815 month is now padded with space, not zero. This now conforms to
1818 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
1820 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
1821 host or network path") used by cygwin. Add some comments.
1823 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
1825 * libc/include/stdio.h (FILE): define __SCLE for "convert line
1826 endings" for Cygwin.
1827 (__sgetc): convert line endings if needed
1829 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
1830 * libc/stdio/fopen.c (_fopen_r): ditto
1831 * libc/stdio/freopen.c (freopen): ditto
1832 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
1833 * libc/stdio/fvwrite.c (__sfvwrite): ditto
1835 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
1837 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
1838 post-increment when it is worth it, spacewise.
1840 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
1842 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
1843 * libc/stdio/findfp.c (std): Added declaration of flags and file.
1844 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
1846 * libc/stdio/putchar.c (putchar): Added return statement.
1847 * libc/stdio/refill.c (lflush): Added correct parentheses.
1848 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
1849 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
1850 prints long value to use l qualifier.
1851 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
1852 messages and initialized local values: ilim, ilim1, and spec_case.
1853 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
1854 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
1855 * libc/stdlib/mprec.c: Ditto.
1856 * libc/stdlib/setenv_r.c: Ditto.
1857 * libc/stdlib/strtod.c: Ditto.
1858 * libc/stdlib/strtol.c: Ditto.
1859 * libc/stdlib/strtoul.c: Ditto.
1860 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
1861 * libm/common/sf_log1p.c: Ditto.
1862 * libm/common/sf_scalbn.c: Ditto.
1863 * libm/math/ef_log.c: Ditto.
1865 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
1867 * libc/posix/execvp.c (execvp): Check path for
1870 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
1872 * libc/include/sys/unistd.h: Add prototypes for
1873 fchmod, fchown, lchown.
1875 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1877 * acinclude.m4: Changed release to 1.8.2.
1878 * aclocal.m4 configure doc/aclocal.m4 doc/configure
1879 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
1880 libc/machine/configure libc/machine/a29k/aclocal.m4
1881 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
1882 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
1883 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
1884 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
1885 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
1886 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
1887 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
1888 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
1889 libc/machine/i386/configure libc/machine/i960/aclocal.m4
1890 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
1891 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
1892 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
1893 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
1894 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
1895 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
1896 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
1897 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
1898 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
1899 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
1900 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
1901 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
1902 libc/machine/v850/configure libc/machine/w65/aclocal.m4
1903 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
1904 libc/machine/z8k/configure libc/sys/aclocal.m4
1905 libc/sys/aclocal.m4 libc/sys/configure
1906 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1907 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
1908 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
1909 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1910 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1911 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1912 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1913 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1914 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1915 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1916 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1917 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
1918 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
1919 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
1920 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
1921 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
1922 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
1923 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
1924 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
1925 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
1926 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
1927 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
1928 libm/aclocal.m4 libm/configure: Regenerated.
1930 2000-03-24 Nick Clifton <nickc@cygnus.com>
1932 * libc/sys/arm/syscalls.c: Fix compile time warnings.
1933 (do_AngelSWI): Add "cc" to list o registers clobbered.
1935 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
1937 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
1938 information to be clobbered by an Angel C library support syscall.
1940 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1942 * libc/stdlib/envlock.c: Fixed comment typo.
1944 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
1946 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
1947 code to update nread as each character is processed instead
1948 of using buffer contents which throw away leading zeroes.
1950 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
1952 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
1954 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
1956 * libc/include/string.h: Include <sys/types.h>.
1958 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1960 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
1961 with XSH5, not SVID.
1963 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
1965 * libc/include/string.h: Changed last argument back to ssize_t
1966 to make it compatible with XPG4 definition which is
1967 defined in <unistd.h>. There is a conflict in the SVID 3
1968 and XPG4 definitions and newlib will settle with XPG4.
1969 * libc/string/swab.c: Ditto.
1971 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
1973 * libc/include/string.h: Changed last argument to size_t.
1974 * libc/string/swab.c: Changed last argument to size_t.
1976 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1978 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
1979 (CHEWOUT_FILES): Added unlinkr.def.
1980 * libc/reent/Makefile.in: Rebuilt.
1981 * libc/sys.tex: Include unlinkr.def.
1982 * libc/reent/linkr.c (_unlink_r): Moved to...
1983 * libc/reent/unlinkr.c: ... new file.
1985 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1987 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
1988 (CHEWOUT_FILES): Added swab.def.
1989 * libc/string/Makefile.in: Rebuilt.
1990 * libc/string/string.tex: Include swab.def.
1991 * libc/include/string.h (swab): Declare.
1992 * libc/string/swab.c: New file.
1994 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1996 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
1997 (CHEWOUT_FILES): Added getw.def and putw.def.
1998 * libc/stdio/Makefile.in: Rebuilt.
1999 * libc/stdio/stdio.tex: Include getw.def and putw.def.
2000 * libc/stdio/getw.c: New file.
2001 * libc/stdio/putw.c: New file.
2003 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2005 * libc/stdio/flags.c (__sflags): Added check that mode[1]
2006 is non-null before looking at mode[2].
2008 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2010 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2011 * libm/mathfp/sf_atan.c: Ditto.
2013 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
2015 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2017 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2019 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2022 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2024 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2025 call prior to calling _VFPRINTF_R so reentrant data area is set.
2026 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2028 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2030 * libc/stdio/vfscanf.c (limits.h): #include.
2031 (MAX_LONG_LEN): #define.
2032 (__svfscanf): Handle floating point numbers with arbitrary amounts
2035 2000-02-15 Nick Clifton <nickc@cygnus.com>
2037 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2038 zero. Set the blocksize to 1024/
2040 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2042 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
2043 with line buffering.
2045 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2047 * acinclude.m4: Changed include directory for winsup headers.
2048 * aclocal.m4 configure libc/aclocal.m4
2049 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2050 libc/locale/Makefile.in libc/machine/aclocal.m4
2051 libc/machine/configure libc/machine/a29k/aclocal.m4
2052 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2053 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2054 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2055 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2056 libc/machine/fr30/configure
2057 libc/machine/h8300/aclocal.m4
2058 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2059 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2060 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2061 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2062 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2063 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2064 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2065 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2066 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2067 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2068 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2069 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2070 libc/machine/powerpc/configure
2071 libc/machine/sh/aclocal.m4
2072 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2073 libc/machine/sparc/configure
2074 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2075 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2076 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2077 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2078 libc/misc/Makefile.in libc/posix/Makefile.in
2079 libc/reent/Makefile.in
2080 libc/signal/Makefile.in
2081 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
2082 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2083 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
2084 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
2085 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
2086 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2087 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2088 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2089 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2090 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2091 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2092 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2093 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2094 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
2095 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
2096 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
2097 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
2098 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
2099 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
2100 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
2101 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
2102 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
2103 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
2104 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
2105 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
2106 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
2107 libm/configure: Regenerated.
2109 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
2111 * libc/stdlib/putenv_r.c (_putenv_r): New file.
2112 * libc/stdlib/strdup_r.c (_strdup_r): New file.
2113 * libc/include/string.h: Added _strdup_r.
2114 * libc/stdlib/putenv.c: Added call to reentrant version.
2115 * libc/stdlib/strdup.c: Ditto.
2116 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
2117 * libc/include/stdlib.h: Ditto.
2118 * libc/stdlib/Makefile.in: Regenerated.
2119 * libc/string/Makefile.in: Regenerated.
2120 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
2121 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
2122 management calls to reentrant versions.
2123 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
2124 * libc/stdlib/wctomb.c: Ditto.
2125 * libc/stdlib/mblen.c: Ditto.
2126 * libc/stdlib/mbstowcs.c: Ditto.
2127 * libc/stdlib/mbtowc.c: Ditto.
2128 * libc/stdlib/getenv.c: Ditto.
2129 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
2132 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
2134 patch from Corinna Vinschen <corinna@vinschen.de>
2135 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
2137 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
2139 * libm/mathfp/s_atangent.c: Fix exponent calculation.
2140 * libm/mathfp/s_ldexp.c: Ditto.
2141 * libm/mathfp/sf_atangent.c: Ditto.
2142 * libm/mathfp/sf_ldexp.c: Ditto.
2144 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2146 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
2147 * libc/include/locale.h: define NULL to be 0.
2149 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
2151 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
2154 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
2156 * libc/machine/mn10300/setjmp.S: Handle am33.
2158 1999-11-26 Nick Clifton <nickc@cygnus.com>
2160 * libc/sys/arm/syscalls.c: Add function prototypes.
2161 (stack_ptr): Move declaration before function definitions.
2163 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2165 * NEWS: Updated version information.
2168 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
2170 * libc/machine/i386/strchr.S: Fixed alignment test.
2172 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
2174 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
2176 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
2178 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
2179 ensuring that there is space between the two.
2181 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
2183 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
2186 1999-10-08 Vadim Egorov <egorovv@1c.ru>
2188 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
2191 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2193 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
2194 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
2196 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
2197 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
2199 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
2202 1999-09-13 DJ Delorie <dj@cygnus.com>
2204 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
2207 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2209 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
2210 also note BUFSIZ as its size.
2212 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
2214 * configure.host: Corrected feature defines for RTEMS.
2215 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
2216 * libc/include/sys/stat.h: mkfifo() should take const path arg.
2217 * libc/include/sys/unistd.h: pathconf() should take const path arg.
2218 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
2219 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
2220 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
2221 _PC_PRIO_IO, and _PC_SYNC_IO.
2222 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
2223 * libc/machine/m68k/Makefile.in: Regenerated.
2224 * libc/machine/m68k/strcpy.c: New file.
2225 * libc/machine/m68k/strlen.c: New file.
2226 * libc/stdio/tmpnam.c: Always make the returned name usable.
2227 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
2228 * libc/sys/rtems/sys/dirent.h: New file.
2229 * libc/sys/rtems/sys/types.h: Added dev_t.
2231 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
2233 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
2235 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
2237 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
2240 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
2242 patch from Jeff Johnston <jjohnstn@cygnus.com>
2243 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
2244 buffer is not in a useful state.
2246 1999-09-01 Nick Clifton <nickc@cygnus.com>
2248 * libc/sys/arm/syscalls.c (_link): Add stub.
2250 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2252 * ftell.c (ftell): Use actual position within buffer for text mode.
2253 * findfp.c (std): Initialize ptr->_bf._size.
2255 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
2257 * libc/include/sys/unistd.h: Add nice() declaration.
2259 1999-08-09 Nick Clifton <nickc@cygnus.com>
2261 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
2262 declare as a thumb function so that the disassembler will see the
2265 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2267 * libc/reent/reent.tex: Updated list of reentrant functions.
2269 1999-07-09 Michael Meissner <meissner@cygnus.com>
2271 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
2273 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
2275 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
2277 * libc/stdio/snprintf.c: New file.
2278 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
2280 * libc/stdio/vsnprintf.c: New file.
2281 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
2282 * libc/stdio/Makefile.in: Regenerated.
2284 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
2286 Patch submitted by Egor Duda <deo@logos-m.ru>:
2287 * libc/include/stdio.h: Add declarations for *nprintf.
2288 * libc/stdio/sprintf.c (snprintf): New function.
2289 (_snprintf_r): New function.
2290 * libc/stdio/vsprintf.c (vsnprintf): New function.
2291 (_vnsprintf_r): New function.
2293 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2295 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
2296 * libm/Makefile.am (stmp-targetdep): Ditto.
2297 * libc/Makefile.in: Regenerated.
2298 * libm/Makefile.in: Ditto.
2300 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2302 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
2303 * libm/Makefile.am (stmp-targetdep): Ditto.
2304 * libc/Makefile.in: Regenerated.
2305 * libm/Makefile.in: Ditto.
2307 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
2309 * Makefile.am: Removed dependencies on all-recursive and added "."
2310 to the SUBDIRS list to prevent infinite recursion from occurring.
2311 Also removed any references to EXTRA_DATA.
2312 * libc/Makefile.am: Ditto.
2313 * libc/machine/Makefile.am: Ditto.
2314 * libc/machine/i386/Makefile.am: Ditto.
2315 * libm/Makefile.am: Ditto.
2316 * libc/sys/Makefile.am: Ditto.
2317 * Makefile.in: Regenerated.
2318 * aclocal.m4: Ditto.
2320 * doc/Makefile.in: Ditto.
2321 * doc/aclocal.m4: Ditto.
2322 * doc/configure: Ditto.
2323 * libc/Makefile.in: Ditto.
2324 * libc/aclocal.m4: Ditto.
2325 * libc/configure: Ditto.
2326 * libc/machine/Makefile.in: Ditto.
2327 * libc/machine/aclocal.m4: Ditto.
2328 * libc/machine/configure: Ditto.
2329 * libc/machine/mn10300/Makefile.in: Ditto.
2330 * libc/machine/mn10300/aclocal.m4: Ditto.
2331 * libc/machine/mn10300/configure: Ditto.
2332 * libc/sys/Makefile.in: Ditto.
2333 * libc/sys/aclocal.m4: Ditto.
2334 * libc/sys/configure: Ditto.
2335 * libm/Makefile.in: Ditto.
2336 * libm/aclocal.m4: Ditto.
2337 * libm/configure: Ditto.
2339 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2341 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
2343 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2345 * libc/include/stdlib.h: Add reentrant routines.
2346 * libc/stdlib/Makefile.am: Add reentrant routines.
2347 * libc/stdlib/Makefile.in: Ditto.
2348 * libc/stdlib/envlock.c: New file.
2349 * libc/stdlib/envlock.h: New file.
2350 * libc/stdlib/getenv.c: Modify to call reentrant routine.
2351 * libc/stdlib/getenv_r.c: New file.
2352 * libc/stdlib/mblen.c: Modify to call reentrant routine.
2353 * libc/stdlib/mblen_r.c: New file.
2354 * libc/stdlib/setenv.c: Modify to call reentrant routine.
2355 * libc/stdlib/setenv_r.c: New file.
2356 * libc/stdlib/stdlib.tex: Add reentrant routines.
2358 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
2360 * libc/include/sys/types.h: Define __MS_types__ whenever
2363 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
2365 * libc/include/machine/ieeefp.h: Always default to little
2366 endian if Windows, regardless of architecture.
2367 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
2368 regardless of architecture.
2370 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
2372 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
2373 _WIN32 isn't defined.
2375 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
2377 * libm/common/s_rint.c (rint): Add volatile qualifier for
2378 intermediate value w.
2379 * libm/common/sf_rint.c (rintf): Ditto.
2381 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
2383 * libc/sys/arm/syscalls.c (remap_handle): Added check to
2384 ensure that std streams are initialized before being referenced.
2386 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
2388 * README: Update reference to newlib@cygnus.com new
2389 newlib@sourceware.cygnus.com address.
2391 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
2393 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
2394 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
2395 defined, even if _WIN32 isn't defined.
2397 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
2399 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
2401 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2403 * libc/include/sys/reent.h: Change Long and ULong to __Long and
2405 * libc/stdlib/dtoa.c: Ditto.
2406 * libc/stdlib/mprec.c: Ditto.
2407 * libc/stdlib/mprec.h: Ditto.
2408 * libc/stdlib/strtod.c: Ditto.
2410 1999-04-21 Nick Clifton <nickc@cygnus.com>
2412 * configure.host (mcore): Remove mcore machine directory.
2414 1999-04-18 Nick Clifton <nickc@cygnus.com>
2416 * libc/include/machine/ieeefp.h: Add support for mcore target.
2417 * libc/include/machine/setjmp.h: Add support for mcore target.
2418 * configure.host: Add support for mcore target.
2420 1999-04-13 Mark Salter <msalter@cygnus.com>
2422 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
2423 * libc/sys/arm/syscalls.c: Added isatty.
2425 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2427 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
2428 insert zeroes after significant digits.
2430 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2432 * libc/stdio/vfprintf.c (cvt): Changed floating point
2433 cvt routine to use union used by dtoa to properly determine
2434 if the sign bit is on or not.
2435 * libc/stdio/vfieeefp.h: New file
2437 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2439 * aclocal.m4: Regenerated.
2440 * configure: Regenerated.
2442 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
2444 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
2446 * libc/machine/i386/Makefile.in: Regenerated.
2448 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
2450 * acinclude.m4: Changed to work with new automake.
2451 * configure: Regenerated.
2452 * libc/machine/i386/aclocal.m4: Regenerated.
2453 * libc/machine/i386/configure: Regenerated.
2455 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
2457 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
2458 for telldir() and seekdir(). Rename unused structure element
2459 for use with these two routines.
2461 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
2463 * libc/time/mktime.c (validate_structure): Multiple fixes to
2464 code to handle cases where input fields are outside valid ranges.
2465 * libc/stdlib/div.c (div): Modified invalid rounding check.
2466 * libc/stdlib/ldiv.c (ldiv): Ditto.
2468 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
2470 * libc/machine/i386/memcpy.S: Performance rewrite.
2471 * libc/machine/i386/memmove.S: Ditto.
2472 * libc/machine/i386/i386mach.h: Added more register definitions.
2473 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
2475 * libc/include/machine/fastmath.h: Add definitions for x86
2478 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2480 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
2482 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
2484 Adjust newlib headers for new Cygwin Win32 API header files:
2485 * libc/include/sys/time.h: Check _WINSOCK_H rather than
2486 _GNU_H_WINDOWS32_SOCKETS.
2487 * libc/include/sys/types.h: Ditto.
2489 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
2491 *include/sys/reent.h: Add checks for size of Bigint element Long.
2492 *libc/dtoa.c: Change routines to use generic Long type.
2493 *libc/mprec.c: Change routines to use generic Long type.
2494 *libc/mprec.h: Change routines to use generic Long type.
2496 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
2498 * libc/Makefile.am: Add .def files.
2499 * libc/Makefile.in: Regenerate.
2500 * libc/e_acosh.c: Documentation update.
2501 * libc/e_atanh.c: Documentation update.
2502 * libc/e_hypot.c: Documentation update.
2503 * libc/e_remainder.c: Documentation update.
2504 * libc/er_lgamma.c: Documentation update.
2505 * libc/mathfp.tex: Documentation update.
2506 * libc/s_acos.c: Documentation update.
2507 * libc/s_atan.c: Documentation update.
2508 * libc/s_atan2.c: Documentation update.
2509 * libc/s_cosh.c: Documentation update.
2510 * libc/s_fmod.c: Documentation update.
2511 * libc/s_isnan.c: Documentation update.
2512 * libc/s_log10.c: Documentation update.
2513 * libc/s_pow.c: Documentation update.
2514 * libc/w_jn.c: Documentation update.
2516 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
2518 * aclocal.m4: Regenerate.
2519 * configure: Regenerate.
2521 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
2523 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
2524 to return 1 if user specified return code is 0.
2525 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
2527 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
2529 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
2530 to save the return address. Fixed longjmp to return to the original
2531 calling address of setjmp and to return the user specified return code
2532 rather than default to 1.
2533 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
2535 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
2537 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
2539 1999-02-10 Nick Clifton <nickc@cygnus.com>
2541 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
2542 volatile so that its assignments will not be discarded.
2544 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
2546 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
2547 be __STRICT_ANSI__ which is generated by compiler.
2548 * libc/include/ctype.h: Ditto.
2549 * libc/include/math.h: Ditto.
2550 * libc/include/stdio.h: Ditto.
2551 * libc/include/stdlib.h: Ditto.
2552 * libc/include/string.h: Ditto.
2553 * libc/include/sys/signal.h: Ditto.
2555 1999-02-08 Nick Clifton <nickc@cygnus.com>
2557 * configure.host: Add support for StrongARM target.
2559 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
2561 * libc/string/strncpy.c (strncpy): Removed redundant code
2562 that was copying bytes if data unaligned.
2564 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
2566 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
2567 mbstowcs.def, and wcstombs.def.
2569 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
2571 * libc/include/sys/errno.h: Add Cygwin errno.
2572 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
2575 1999-01-29 Nick Clifton <nickc@cygnus.com>
2577 * libc/sys/arm/syscalls.c: Move C library functions into seperate
2580 * libc/sys/arm/libcfunc.c: New file containing C library functions
2583 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
2584 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
2587 1999-01-27 Michael Meissner <meissner@cygnus.com>
2589 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
2590 type, and cut size in half so that the jmp_buf array is guaranteed
2591 to be aligned on a 64-bit boundary.
2593 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
2595 * libc/string/strings.tex: Added information about
2596 strcasecmp and strncasecmp.
2597 * libc/stdlib/stdlib.tex: Added missing information
2598 about mblen, mbstowcs, and wcstombs.
2599 * libc/string/strchr.c: Changed how mask is built to use
2600 shift operators so register will be used instead of storage.
2602 1999-01-22 DJ Delorie <dj@cygnus.com>
2604 * libc/include/stdlib.h: don't use dllimport if we're building
2605 newlib, since it's inside cygwin.dll
2607 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
2609 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
2610 _ctype_ under cygwin.
2612 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
2614 * include/stdlib.h: Fix typo from previous checkin.
2616 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
2618 * include/ctype.h: Use __declspec(dllimport) method for exporting
2619 variable from cygwin DLL.
2620 * include/time.h: Ditto.
2621 * sys/errno.h: Ditto.
2622 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
2623 * libc/locale/locale.c: Use __declspec(dllexport) method for
2624 exporting variable from cygwin DLL.
2626 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
2628 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
2629 access of bogus pointer will result in SIGSEGV.
2631 1999-01-07 Nick Clifton <nickc@cygnus.com>
2633 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
2634 of an underscore prefix to function names.
2636 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
2638 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
2639 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
2641 1998-12-31 Michael Meissner <meissner@cygnus.com>
2643 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
2644 to `%' if not already defined.
2646 1998-12-30 Michael Meissner <meissner@cygnus.com>
2648 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
2649 arguments const char *, not char *.
2650 * libc/include/stdio.h (_tempnam_r): Ditto.
2652 * libc/include/sys/reent.h (struct _reent): The _sig_func type
2653 points to a function taking an integer, not void.
2655 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
2657 * configure.host: Add a define for Cygwin builds.
2658 * libc/include/ctype.h: Don't use dll imported variables in newlib.
2660 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
2662 * libc/include/ctype.h: Define _ctype_ as dll imported variable
2663 for use with Cygwin.
2664 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
2665 dll imported variables for use with Cygwin.
2666 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
2667 as a dll imported variable for Cygwin.
2669 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
2671 * libc/include/sys/unistd.h: Add proto for getpass.
2673 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
2675 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
2678 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
2680 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
2681 not posix_path_list_p.
2683 1998-12-15 Nick Clifton <nickc@cygnus.com>
2685 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
2688 1998-12-13 Nick Clifton <nickc@cygnus.com>
2690 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
2692 1998-12-12 Nick Clifton <nickc@cygnus.com>
2694 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
2695 <msalter@cygnus.com>
2696 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
2697 * libc/machine/fr30/Makefile.in: Regenerated.
2699 1998-12-11 Nick Clifton <nickc@cygnus.com>
2701 * configure.host: Remove use of libc/sys for FR30 port.
2702 * libc/sys/fr30: Remove directory (replaced by libgloss).
2704 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
2706 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
2707 * libc/string/strncat.c (ALIGNED): Ditto.
2709 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
2711 * libc/include/sys/time.h: include sys/types.h
2713 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
2715 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
2716 comparison found when checking word at a time.
2718 1998-12-04 Nick Clifton <nickc@cygnus.com>
2720 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
2722 1998-12-03 Nick Clifton <nickc@cygnus.com>
2724 * libc/sys/fr30/syscalls.c (_times): New function stub.
2726 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
2728 * configure.host (mach_add_setjmp): Replaced mach_add_objs
2729 with mach_add_setjmp flag which indicates if setjmp should
2730 be added to the machine directory objects.
2731 * acinclude.m4: Removed reference to mach_add_objs.
2732 * aclocal.m4: Regenerated.
2733 * Makefile.in: Regenerated.
2734 * configure: Regenerated.
2735 * libc/aclocal.m4: Regenerated.
2736 * libc/Makefile.in: Regenerated.
2737 * libc/configure: Regenerated.
2738 * libc/machine/aclocal.m4: Regenerated.
2739 * libc/machine/Makefile.in: Regenerated.
2740 * libc/machine/configure: Regenerated.
2741 * libc/machine/i386/aclocal.m4: Regenerated.
2742 * libc/machine/i386/Makefile.am: Altered to selectively add
2743 setjmp.S to the src files list.
2744 * libc/machine/i386/Makefile.in: Regenerated.
2745 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
2746 * libc/machine/i386/configure: Regenerated.
2748 1998-12-02 Nick Clifton <nickc@cygnus.com>
2750 * libc/sys/fr30/crt0.s (_start): Fix function names.
2752 * libc/machine/fr30: New directory
2753 * libc/machine/fr30/Makefile.am: New file.
2754 * libc/machine/fr30/Makefile.in: New generated file.
2755 * libc/machine/fr30/configure.in: New file.
2756 * libc/machine/fr30/configure: New generated file.
2757 * libc/machine/fr30/aclocal.m4: New generated file.
2758 * libc/sys/fr30/Makefile.am: New file.
2759 * libc/sys/fr30/Makefile.in: New generated file.
2760 * libc/sys/fr30/configure.in: New file.
2761 * libc/sys/fr30/configure: New generated file.
2762 * libc/sys/fr30/syscalls.c: New file.
2764 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
2766 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
2768 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
2770 * libc/time/strftime.c (strftime): Also handle %y for years before
2773 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
2775 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
2776 UNIX convention. Perform tolower on characters before comparing
2777 them rather than use toupper.
2778 * libc/string/strncasecmp.c (strncasecmp): Ditto.
2780 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
2782 * configure.host: Added using i386 machine directory
2783 for all x86 cross-compiler and configuring
2784 which added object files to use via new "mach_add_objs" variable.
2785 * configure: Regenerated.
2786 * libc/configure: Regenerated.
2787 * libc/Makefile.in: Regenerated.
2788 * libc/aclocal.m4: Regenerated.
2789 * libc/ctype/Makefile.in: Regenerated.
2790 * libc/errno/Makefile.in: Regenerated.
2791 * libc/locale/Makefile.in: Regenerated.
2792 * libc/machine/Makefile.in: Regenerated.
2793 * libc/machine/aclocal.m4: Regenerated.
2794 * libc/machine/configure: Regenerated.
2795 * libc/posix/Makefile.in: Regenerated.
2796 * libc/reent/Makefile.in: Regenerated.
2797 * libc/signal/Makefile.in: Regenerated.
2798 * libc/stdio/Makefile.in: Regenerated.
2799 * libc/stdlib/Makefile.in: Regenerated.
2800 * libc/string/Makefile.in: Regenerated.
2801 * libc/string/memmove.c: Optimized code to use memcpy
2802 logic when performing a non-destructive copy.
2803 * libc/string/strncmp.c: Altered code to allow building
2804 optimized for size or speed.
2805 * libc/syscalls/Makefile.in: Regenerated.
2806 * libc/time/Makefile.in: Regenerated.
2807 * libc/unix/Makefile.in: Regenerated.
2808 * libc/machine/i386/Makefile.am: Added new files and reference
2809 to "mach_add_objs" to indicate optional object files.
2810 * libc/machine/i386/Makefile.in: Regenerated.
2811 * libc/machine/i386/aclocal.m4: Regenerated.
2812 * libc/machine/i386/configure: Regenerated.
2813 * libc/machine/i386/memchr.S: New file that implements
2814 function in Intel assembler.
2815 * libc/machine/i386/memcmp.S: ditto.
2816 * libc/machine/i386/memcpy.S: ditto.
2817 * libc/machine/i386/memmove.S: ditto.
2818 * libc/machine/i386/memset.S: ditto.
2819 * libc/machine/i386/strchr.S: ditto.
2820 * libc/machine/i386/strlen.S: ditto.
2821 * libc/machine/i386/f_atan2.S: New file that implements
2822 fast version of math function to be used by compiler when
2823 --ffast_math compile option is used.
2824 * libc/machine/i386/f_atan2f.S: ditto.
2825 * libc/machine/i386/f_exp.c: ditto.
2826 * libc/machine/i386/f_expf.c: ditto.
2827 * libc/machine/i386/f_frexp.S: ditto.
2828 * libc/machine/i386/f_frexpf.S: ditto.
2829 * libc/machine/i386/f_ldexp.S: ditto.
2830 * libc/machine/i386/f_ldexpf.S: ditto.
2831 * libc/machine/i386/f_log.S: ditto.
2832 * libc/machine/i386/f_logf.S: ditto.
2833 * libc/machine/i386/f_log10.S: ditto.
2834 * libc/machine/i386/f_log10f.S: ditto.
2835 * libc/machine/i386/f_math.h: New file.
2836 * libc/machine/i386/f_pow.c: ditto.
2837 * libc/machine/i386/f_powf.S: ditto.
2838 * libc/machine/i386/f_tan.S: ditto.
2839 * libc/machine/i386/f_tan.S: ditto.
2840 * libc/machine/i386/i386mach.h: New file.
2842 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
2844 patch from Mumit Khan <khan@xraylith.wisc.edu>
2845 * libc/include/stdio.h (tempnam): Add prototype.
2846 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
2847 (tempnam): Adhere to prototype.
2849 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
2851 * Makefile.am: Add default for AR_FLAGS.
2852 * Makefile.in: Regenerate.
2854 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
2856 * libc/include/time.h: move __cplusplus wrapper after includes
2857 * libc/include/sys/time.h: ditto. If Cygwin, include
2859 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
2861 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
2863 * libc/time/strftime.c (strftime): Handle %y after year 2000.
2865 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
2867 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
2868 abnormnal end-of-crt0 marker.
2870 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
2872 * libc/sys/fr30/crt0.s: New file/directory.
2873 * libc/include/machine/setjmp.h: Add FR30 target.
2874 * libc/include/machine/ieeefp.h: Add FR30 target.
2875 * configure.host: Add FR30 target.
2877 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
2879 * libm/math: Files that are duplicated in common directory removed.
2880 * libm/math/fdlibm.h: Removed.
2881 * libm/math/s_cbrt.c: Removed.
2882 * libm/math/s_copysign.c: Removed.
2883 * libm/math/s_expm1.c: Removed.
2884 * libm/math/s_finite.c: Removed.
2885 * libm/math/s_ilogb.c: Removed.
2886 * libm/math/s_infinity.c: Removed.
2887 * libm/math/s_lib_ver.c: Removed.
2888 * libm/math/s_log1p.c: Removed.
2889 * libm/math/s_logb.c: Removed.
2890 * libm/math/s_matherr.c: Removed.
2891 * libm/math/s_modf.c: Removed.
2892 * libm/math/s_nan.c: Removed.
2893 * libm/math/s_nextafter.c: Removed.
2894 * libm/math/s_rint.c: Removed.
2895 * libm/math/s_scalbn.c: Removed.
2896 * libm/math/sf_cbrt.c: Removed.
2897 * libm/math/sf_copysign.c: Removed.
2898 * libm/math/sf_expm1.c: Removed.
2899 * libm/math/sf_finite.c: Removed.
2900 * libm/math/sf_ilogb.c: Removed.
2901 * libm/math/sf_infinity.c: Removed.
2902 * libm/math/sf_log1p.c: Removed.
2903 * libm/math/sf_logb.c: Removed.
2904 * libm/math/sf_modf.c: Removed.
2905 * libm/math/sf_nan.c: Removed.
2906 * libm/math/sf_nextafter.c: Removed.
2907 * libm/math/sf_rint.c: Removed.
2908 * libm/math/sf_scalbn.c: Removed.
2909 * libm/math/Makefile.am: Removed references to deleted files (above).
2910 * libm/math/Makefile.in: Regenerated.
2911 * libm/Makefile.am: Added common directory to math.
2912 * libm/Makefile.in: Regenerated.
2914 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
2916 * libm/mathfp: Add non-ANSI functions.
2917 * libm/mathfp/e_acosh.c acosh(): New file.
2918 * libm/mathfp/e_atanh.c atanh(): New file.
2919 * libm/mathfp/e_hypot.c hypot(): New file.
2920 * libm/mathfp/e_j0.c j0(): New file.
2921 * libm/mathfp/e_j1.c j1(): New file.
2922 * libm/mathfp/e_remainder.c remainder(): New file.
2923 * libm/mathfp/e_scalb.c scalb(): New file.
2924 * libm/mathfp/ef_acosh.c acoshf(): New file.
2925 * libm/mathfp/ef_atanh.c atanhf(): New file.
2926 * libm/mathfp/ef_hypot.c hypotf(): New file.
2927 * libm/mathfp/ef_j0.c j0f(): New file.
2928 * libm/mathfp/ef_j1.c j1f(): New file.
2929 * libm/mathfp/ef_remainder.c remainderf(): New file.
2930 * libm/mathfp/ef_scalb.c scalbf(): New file.
2931 * libm/mathfp/er_gamma.c gamma_r: New file.
2932 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
2933 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
2934 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
2935 * libm/mathfp/w_cabs.c cabs(): New file.
2936 * libm/mathfp/w_drem.c drem(): New file.
2937 * libm/mathfp/w_jn.c jn(): New file.
2938 * libm/mathfp/wf_cabs.c cabsf(): New file.
2939 * libm/mathfp/wf_drem.c dremf(): New file.
2940 * libm/mathfp/wf_jn.c jnf(): New file.
2942 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
2944 * libc/sys/cygwin32: remove directory and contents
2945 * libc/sys/cygwin: and add back, losing the "32".
2946 * configure.host: check for cygwin* instead of cygwin32.
2947 * acinclude.m4: ditto.
2948 * aclocal.m4: regenerate with aclocal
2949 * configure: regenerate with autoconf
2951 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
2953 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
2956 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
2958 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
2959 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
2960 to make rand/srand, strtok, asctime, localtime, w_gamma,
2961 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
2962 time.h to bring in struct tm definition.
2963 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
2964 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
2965 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
2966 instead of static variable.
2967 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
2968 struct reent instead of static variable.
2969 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
2970 struct reent instead of static variable.
2971 * libm/math/Makefile.am: Removed s_signgam.o.
2972 * libm/math/Makefile.in: Regenerated.
2973 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
2974 struct reent instead of global variable 'signgam'.
2975 * libm/math/w_lgamma.c (lgamma): Likewise.
2976 * libm/math/wf_gamma.c (gammaf): Likewise.
2977 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2978 * libm/math/s_signgam.c: Removed.
2979 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
2981 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
2983 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
2984 libc/include/reent.h.
2985 * libc/reent/Makefile.in: Regenerated.
2986 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
2988 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
2989 'JIS_action_table' to be const.
2990 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
2992 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
2994 * acinclude.m4: $with_target_subdir should default to '.'
2995 or confusion results when configuring in same directory as sources.
2996 * Regenerate all aclocal.m4 and configure files.
2998 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
3000 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3001 can be set by defining MALLOC_ALIGNMENT=16. Also added support
3002 for platforms where sizeof(size_t) < sizeof(long) via
3003 SIZE_T_SMALLER_THAN_LONG macro.
3005 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
3007 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3008 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3009 which sets _CLOCKS_PER_SEC_ for selected machines.
3010 * libc/include/machine/time.h: New file.
3012 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3014 * libc/syscalls/sysexecve.c: New file.
3015 * libc/syscalls/sysgettod.c: New file.
3016 * libc/syscalls/systimes.c: New file.
3017 * libc/syscalls/Makefile.am: Added new objects.
3018 * libc/syscalls/Makefile.in: Regenerated.
3019 * libc/include/_syslist.h (_execve): Moved define in file.
3020 * libc/include/reent.h: Added _execve_r declaration.
3021 * libc/Makefile.in: Regenerated.
3022 * libc/ctype/Makefile.in: Regenerated.
3023 * libc/errno/Makefile.in: Regenerated.
3024 * libc/locale/Makefile.in: Regenerated.
3025 * libc/machine/Makefile.in: Regenerated.
3026 * libc/misc/Makefile.in: Regenerated.
3027 * libc/posix/Makefile.in: Regenerated.
3028 * libc/reent/Makefile.in: Regenerated.
3029 * libc/reent/execr.c (_execve_r): Added _execve_r function.
3030 * libc/signal/Makefile.in: Regenerated.
3031 * libc/stdio/Makefile.in: Regenerated.
3032 * libc/time/Makefile.in: Regenerated.
3033 * libc/unix/Makefile.in: Regenerated.
3034 * libm/mathfp/Makefile.in: Regenerated.
3036 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3038 * libc/string/Makefile.in: Regenerated.
3039 * libc/string/memchr.c (memchr): Moved code to reduce object size.
3040 * libc/string/memcpy.c (memcpy): Ditto.
3041 * libc/string/memcmp.c (memcmp): Ditto.
3042 * libc/string/memset.c (memset): Ditto.
3043 * libc/string/strchr.c (strchr): Ditto.
3044 * libc/string/strcmp.c (strcmp): Ditto.
3045 * libc/string/strcpy.c (strcpy): Ditto.
3046 * libc/string/strlen.c (strlen): Ditto.
3048 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3050 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3051 to generate aclocal.m4.
3052 * libm/Makefile.in: Regenerated.
3053 * libm/aclocal.m4: Regenerated.
3054 * libm/configure: Regenerated.
3055 * libm/math/Makefile.in: Regenerated.
3056 * libm/mathfp/Makefile.in: Regenerated.
3058 1998-09-25 Mark Salter <msalter@cygnus.com>
3060 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3061 by adding leading and trailing underscores to symbol names.
3063 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
3065 * Makefile.in: Add default for AR_FLAGS.
3067 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
3069 patch from ian@airs.com (Ian Taylor):
3070 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
3071 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
3072 is needed for detecting the build machine. Required for
3073 cygwin native builds.
3075 * Regenerate all aclocal.m4 and configure files.
3077 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
3079 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
3080 used to start with LC.
3082 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3084 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
3085 (longjmp): Likewise.
3087 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3089 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
3090 the test for small number of bytes.
3092 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3094 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
3095 math library that uses floating point algorithms instead of the old
3097 * Makefile.in: Regenerate with automake version 1.3b.
3098 * configure: Rebuild.
3099 * libm/Makefile.in: Regenerate with automake version 1.3b.
3100 * libm/aclocal.m4: Regenerate.
3101 * libm/configure: Rebuild.
3102 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
3103 * libm/acinclude.m4: Define macros for configure.in.
3104 * libm/config.h.in: Generate.
3105 * libm/mathfp/Makefile.am: New file.
3106 * libm/mathfp/Makefile.in: Generate.
3107 * libm/mathfp/s_acos.c (acos): New file.
3108 * libm/mathfp/s_asin.c (asin): New file.
3109 * libm/mathfp/s_asine.c (asine): New file.
3110 * libm/mathfp/s_atan.c (atan): New file.
3111 * libm/mathfp/s_atan2.c (atan2): New file.
3112 * libm/mathfp/s_atangent.c (atangent): New file.
3113 * libm/mathfp/s_ceil.c (ceil): New file.
3114 * libm/mathfp/s_copysign.c (copysign): New file.
3115 * libm/mathfp/s_cos.c (cos): New file.
3116 * libm/mathfp/s_cosh.c (cosh): New file.
3117 * libm/mathfp/s_exp.c (exp): New file.
3118 * libm/mathfp/s_fabs.c (fabs): New file.
3119 * libm/mathfp/s_finite.c (finite): New file.
3120 * libm/mathfp/s_floor.c (floor): New file.
3121 * libm/mathfp/s_fmod.c (fmod): New file.
3122 * libm/mathfp/s_frexp.c (frexp): New file.
3123 * libm/mathfp/s_infconst.c: New file.
3124 * libm/mathfp/s_isinf (isinf).c: New file.
3125 * libm/mathfp/s_isnan.c (isnan): New file.
3126 * libm/mathfp/s_ispos.c (ispos): New file.
3127 * libm/mathfp/s_ldexp.c (ldexp): New file.
3128 * libm/mathfp/s_log.c (log): New file.
3129 * libm/mathfp/s_log10.c (log10): New file.
3130 * libm/mathfp/s_logarithm.c (logarithm): New file.
3131 * libm/mathfp/s_mathcnst.c: New file.
3132 * libm/mathfp/s_modf (modf).c: New file.
3133 * libm/mathfp/s_numtest.c (numtest): New file.
3134 * libm/mathfp/s_pow.c (pow): New file.
3135 * libm/mathfp/s_scalbn.c (scalbn): New file.
3136 * libm/mathfp/s_sin (sin).c: New file.
3137 * libm/mathfp/s_sine.c (sine): New file.
3138 * libm/mathfp/s_sineh.c (sineh): New file.
3139 * libm/mathfp/s_sinf.c (sinf): New file.
3140 * libm/mathfp/s_sinh.c (sinh): New file.
3141 * libm/mathfp/s_sqrt.c (sqrt): New file.
3142 * libm/mathfp/s_tan.c (tan): New file.
3143 * libm/mathfp/s_tanh.c (tanh): New file.
3144 * libm/mathfp/sf_acos.c (acosf): New file.
3145 * libm/mathfp/sf_asin.c (asinf): New file.
3146 * libm/mathfp/sf_asine.c (asinef): New file.
3147 * libm/mathfp/sf_atan.c (atanf): New file.
3148 * libm/mathfp/sf_atan2.c (atan2f): New file.
3149 * libm/mathfp/sf_atangent.c (atangent): New file.
3150 * libm/mathfp/sf_ceil.c (ceilf): New file.
3151 * libm/mathfp/sf_copysign.c (copysignf): New file.
3152 * libm/mathfp/sf_cos.c (cosf): New file.
3153 * libm/mathfp/sf_cosh.c (coshf): New file.
3154 * libm/mathfp/sf_exp.c (expf): New file.
3155 * libm/mathfp/sf_fabs.c (fabsf): New file.
3156 * libm/mathfp/sf_finite.c (finitef): New file.
3157 * libm/mathfp/sf_floor.c (floorf): New file.
3158 * libm/mathfp/sf_fmod.c (fmodf): New file.
3159 * libm/mathfp/sf_frexp.c (frexpf): New file.
3160 * libm/mathfp/sf_isinf.c (isinff): New file.
3161 * libm/mathfp/sf_isnan.c (isnanf): New file.
3162 * libm/mathfp/sf_ispos.c (isposf): New file.
3163 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
3164 * libm/mathfp/sf_log.c (logf): New file.
3165 * libm/mathfp/sf_log10.c (log10f): New file.
3166 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
3167 * libm/mathfp/sf_modf.c (modff): New file.
3168 * libm/mathfp/sf_numtest.c (numtestf): New file.
3169 * libm/mathfp/sf_pow.c (powf): New file.
3170 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
3171 * libm/mathfp/sf_sin.c (sinf): New file.
3172 * libm/mathfp/sf_sine.c (sinef): New file.
3173 * libm/mathfp/sf_sineh.c (sinehf): New file.
3174 * libm/mathfp/sf_sinh.c (sinhf): New file.
3175 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
3176 * libm/mathfp/sf_tan.c (tanf): New file.
3177 * libm/mathfp/sf_tanh.c (tanhf): New file.
3178 * libm/mathfp/zmath.h: New file.
3180 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3182 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
3183 exit if it has been overwritten by pre-fetching in delay slot.
3185 1998-09-01 Michael Meissner <meissner@cygnus.com>
3187 * Makefile.am (tooldir): Add in host_alias, so that multilib
3188 libraries are installed in the directory the compiler looks in.
3189 * Makefile.in: Regenerate.
3191 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
3193 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
3195 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
3196 ahead of test for number of bytes being moved.
3198 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
3200 * libc/include/sys/unistd.h: Nothing special needed for
3203 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
3205 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
3206 conform to user label naming conventions.
3208 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
3210 * libc/sys/cygwin32/sys/utime.h: variable names in
3211 protos should start with two leading underscores
3212 * libc/include/string.h: ditto
3213 * libc/include/sys/signal.h: ditto
3214 * libc/include/sys/stat.h: ditto
3215 * libc/include/sys/time.h: ditto
3216 * libc/include/sys/unistd.h: ditto
3217 * libc/include/ctype.h: ditto
3218 * libc/include/stdlib.h: ditto
3219 * libc/include/sys/reent.h: struct _atexit function ptr takes a
3220 void, same with _sig_func.
3222 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
3224 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
3225 for MB_CAPABLE to reduce code size when newlib is not configured
3226 with --enable-newlib-mb.
3227 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
3228 mbtowc_r.o to minimize size.
3229 * libc/stdlib/Makefile.in: Rebuild.
3231 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
3233 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
3235 * libc/sys/sparc64/Makefile.in: Rebuild.
3237 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
3239 * Makefile.am (MAKEOVERRIDES): Define.
3240 * Makefile.in: Rebuild.
3242 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
3244 * libc/sys/sparc64/sys/stat.h (stat): Add const.
3246 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
3248 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
3249 newlib_cflags when looking for targ-include.
3250 * */aclocal.m4, */configure: Rebuild.
3252 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
3254 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
3257 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
3259 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
3260 on SPARCs with little-endian data.
3261 * libc/include/machine/ieeefp.h: Ditto.
3263 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
3265 * acinclude.m4: Handle a relative srcdir correctly when setting
3267 * */aclocal.m4, */configure: Rebuild.
3269 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
3271 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
3272 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
3273 * libm/math/wrf_gamma.c (gammaf_r): ditto
3274 * libm/math/wr_lgamma.c (lgamma_r): ditto
3275 * libm/math/wr_gamma.c (gamma_r): ditto
3276 * libm/math/wf_sqrt.c (sqrtf): ditto
3277 * libm/math/wf_sinh.c (sinhf): ditto
3278 * libm/math/wf_scalb.c (scalbf): ditto
3279 * libm/math/wf_remainder.c (remainderf): ditto
3280 * libm/math/wf_pow.c (powf): ditto
3281 * libm/math/wf_log10.c (log10f): ditto
3282 * libm/math/wf_log.c (logf): ditto
3283 * libm/math/wf_lgamma.c (lgammaf): ditto
3284 * libm/math/wf_jn.c (jnf, ynf): ditto
3285 * libm/math/wf_j1.c (j1f, y1f): ditto
3286 * libm/math/wf_j0.c (j0f, y0f): ditto
3287 * libm/math/wf_hypot.c (hypotf): ditto
3288 * libm/math/wf_gamma.c (gammaf): ditto
3289 * libm/math/wf_fmod.c (fmodf): ditto
3290 * libm/math/wf_exp.c (expf): ditto
3291 * libm/math/wf_cosh.c (coshf): ditto
3292 * libm/math/wf_atanh.c (atanhf): ditto
3293 * libm/math/wf_atan2f.c (atan2f): ditto
3294 * libm/math/wf_asin.c (asinf): ditto
3295 * libm/math/wf_acosh.c (acoshf): ditto
3296 * libm/math/wf_acos.c (acosf): ditto
3297 * libm/math/w_sqrt.c (sqrt): ditto
3298 * libm/math/w_sinh.c (sinh): ditto
3299 * libm/math/w_scalb.c (scalb): ditto
3300 * libm/math/w_remainder.c (remainder): ditto
3301 * libm/math/w_pow.c (pow): ditto
3302 * libm/math/w_log10.c (log10): ditto
3303 * libm/math/w_log.c (log): ditto
3304 * libm/math/w_lgamma.c (lgamma): ditto
3305 * libm/math/w_jn.c (jn, yn): ditto
3306 * libm/math/w_j1.c (j1, y1): ditto
3307 * libm/math/w_j0.c (j0, y0): ditto
3308 * libm/math/w_hypot.c (hypot): ditto
3309 * libm/math/w_gamma.c (gamma): ditto
3310 * libm/math/w_fmod.c (fmod): ditto
3311 * libm/math/w_exp.c (exp): ditto
3312 * libm/math/w_cosh.c (cosh): ditto
3313 * libm/math/w_atanh.c (atanh): ditto
3314 * libm/math/w_atan2f.c (atan2): ditto
3315 * libm/math/w_asin.c (asin): ditto
3316 * libm/math/w_acosh.c (acosh): ditto
3317 * libm/math/w_acos.c (acos): ditto
3319 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
3321 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
3322 (fsrc): Add wf_cabs.c and wf_drem.c.
3323 * libm/math/Makefile.in: Rebuild.
3325 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
3326 unused directory variables. Remove duplicate CFLAGS.
3327 * Makefile.in: Rebuild.
3329 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
3330 with $(CC_FOR_BUILD).
3331 (makedoc.o): Likewise.
3332 * doc/Makefile.in: Rebuild.
3334 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
3335 force a definition of COMPILE.
3336 (libfoo_a_SOURCES): Define.
3337 * libc/sys/cygwin32/Makefile.in: Rebuild.
3338 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
3339 force a definition of COMPILE.
3340 (libfoo_a_SOURCES): Define.
3341 * libc/sys/tic80/Makefile.in: Rebuild.
3343 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
3345 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
3348 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
3350 * Build using autoconf and automake. Added many Makefile.am and
3351 configure.in files, plus generated files. Old configure.in files
3352 and all old Makefile.in files completely replaced. Removed
3353 host/any. Added acinclude.m4 and configure.host.
3355 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
3357 * libc/stdio/vfprintf.c: enable long long support, sometimes.
3358 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
3360 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3362 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
3363 * libc/machine/sh/Makefile.in: Add rules for new files.
3365 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3367 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
3368 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
3369 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
3371 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
3373 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
3376 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
3378 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
3379 internal static buffer when s is NULL, as prescribed by ANSI.
3381 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
3383 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
3385 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
3386 libc/stdlib will be used for h8300hms.
3388 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3390 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
3391 version that can be built either for speed or size.
3392 * libc/machine/mn10300/memset.S (_memset): ditto
3393 * libc/machine/mn10300/memchr.S (_memchr): ditto
3394 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
3395 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
3396 * libc/machine/mn10300/strchr.S (_strchr): ditto
3397 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
3398 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
3399 * libc/machine/mn10300/Makefile.in: Added entries for
3400 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
3401 strcmp.o, strcpy.o, and strlen.o.
3403 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
3405 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
3406 been replaced with libgloss/mn10200.
3408 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
3410 * libc/string/strchr.c (strchr): Make s a constant pointer to
3413 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
3415 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
3416 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
3417 board SWIs instead of Demon board SWIs).
3419 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
3421 * libc/string/strncat.c (strncat): Make -Os act the same as
3422 PREFER_SIZE_OVER_SPEED being defined.
3424 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
3426 * libc/string/memchr.c (memchr): Make -Os act the same as
3427 PREFER_SIZE_OVER_SPEED being defined.
3428 * libc/string/memcmp.c (memcmp): Ditto.
3429 * libc/string/memcpy.c (memcpy): Ditto.
3430 * libc/string/memset.c (memset): Ditto.
3431 * libc/string/strcat.c (strcat): Ditto.
3432 * libc/string/strchr.c (strchr): Ditto.
3433 * libc/string/strcmp.c (strcmp): Ditto.
3434 * libc/string/strcpy.c (strcpy): Ditto.
3435 * libc/string/strlen.c (strlen): Ditto.
3436 * libc/string/strncat.c (strncat): Ditto.
3437 * libc/string/strncmp.c (strncmp): Ditto.
3438 * libc/string/strncpy.c (strncpy): Ditto.
3440 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
3442 * libc/include/sys/itimer.h: remove
3443 * libc/include/sys/time.h: itimer stuff should be here
3445 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
3447 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
3448 bit instead of comparing to 0 so -0.0 can be printed correctly.
3450 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3452 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
3454 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
3456 * libc/include/sys/unistd.h: fix sync() proto
3457 * libc/include/sys/fcntl.h: remove _close which is already
3458 defined in unistd.h.
3459 * libc/include/sys/time.h: add getitimer proto
3461 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
3463 * libc/string/strchr.c: convert arg to unsigned char
3464 * libc/include/stdlib.h: add protos for random, srandom
3465 * libc/include/sys/stat.h: add lstat proto
3466 * libc/include/sys/time.h: add setitimer proto
3467 * libc/include/sys/unistd.h: add readlink, symlink protos
3468 * libc/include/process.h: instead of including windows.h and using
3469 HANDLEs in sexec protos, just use void *s. Need to include
3472 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
3474 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
3476 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
3478 * libc/include/process.h: add secure exec protos
3480 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
3482 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
3483 which are accessed as both doubles and integers.
3484 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
3485 * libc/stdlib/strtod.c (_strtod_r): Likewise.
3486 * libc/stdlib/mprec.h: Add "union double_union" and change
3487 word0/word1 macros to use it.
3489 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
3491 * libc/include/sys/signal.h: add __cplusplus wrapper
3493 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
3495 * libc/include/sys/utime.h: new generic file that gets replaced by
3496 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
3498 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
3499 * libc/include/time.h: remove duplicate utime proto
3500 * libc/include/utime.h: add comment
3502 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
3504 * libc/include/sys/time.h: Add missing include to
3505 allow use of _EXFUN. Remove times function that is
3506 already defined in times.h.
3508 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
3510 * libc/include/time.h: Fix typo in tzset.
3512 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
3514 * libc/include/sys/time.h: add missing Cygwin32 function protos
3515 * libc/include/sys/unistd.h: ditto
3516 * libc/include/time.h: ditto
3518 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
3520 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
3522 * libc/include/sys/types.h: add a new __MS_types__ section
3523 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
3524 __BIT_TYPES_DEFINED__.
3526 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
3528 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
3529 since it overrides the one in libc/include/sys. Also, start
3532 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
3534 * libm/math/Makefile.in: add s_signgam.o to obj list
3536 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
3538 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
3540 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
3542 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
3543 so don't use defines.
3545 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
3547 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
3549 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
3551 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
3552 _current_locale as default locale.
3554 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
3556 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
3557 insufficient space in a chunk.
3559 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
3561 * configure.in (links): Added check for --enable-newlib-mb configure
3562 option which defines the MB_CAPABLE macro.
3563 * libc/locale/locale.c (_setlocale_r): Added support for setting
3564 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
3566 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
3567 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
3568 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
3569 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
3570 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
3571 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
3572 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
3573 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
3574 * libc/stdlib/Makefile.in: Added new multibyte
3575 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
3576 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
3577 _mbstowcs_r(), and _wcstombs_r().
3578 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
3579 for JIS, SJIS, and EUC-JP characters.
3580 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
3582 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
3584 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
3586 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
3587 if MB_CAPABLE defined.
3588 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
3589 if MB_CAPABLE defined.
3590 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
3591 to the format string processing when MB_CAPABLE.
3592 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
3595 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
3597 The following modifications are courtesy of Anthony Thompson,
3598 athompson@cambridge.arm.com:
3599 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
3600 boith RDI and RDP monitors.
3601 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
3602 RDI and RDP monitors.
3604 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
3606 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
3607 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
3608 (_swiopen): Fixed open flags to treat write with append as just append.
3609 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
3610 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
3612 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3614 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
3615 When needing to transfer an initial 2-byte-word, store as
3618 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3620 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
3622 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
3623 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
3625 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
3627 * configure.in (target_cflags): If --enable-target-optspace, use
3628 -Os to compile newlib rather than -O2. Default to using -Os for
3629 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
3632 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
3634 * libc/include/machine/setjmp.h: change sigsetjmp and
3635 siglongjmp definitions to use an array instead of a struct
3638 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
3640 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
3642 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
3644 * libc/string/strxfrm.c: fix to get correct return value
3646 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
3648 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
3649 builds. Make mode change labels global so that they will be seen
3652 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
3654 * configure.in (links): Do not use ARM debiugging protocols for PE
3657 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
3660 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
3662 * libc/stdio/findfp.c (__sinit): Made stdout default to
3663 line buffered mode as defined by ANSI.
3665 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
3667 * libc/include/sys/itimer.h: New file.
3669 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
3671 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3673 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
3676 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
3678 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
3681 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
3683 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
3685 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
3687 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
3690 * libc/include/machine/setjmp.h: Add D30V support.
3692 * configure.in (d30v-*): Add d30v machine directory.
3694 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
3696 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
3697 been replaced with libgloss/mn10300.
3699 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
3701 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
3702 it is no longer needed.
3704 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
3706 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
3708 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
3710 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
3711 the file when O_APPEND is set, wherever the EOF happens to be at
3714 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
3716 patch from cgf@bbc.com (Christopher Faylor):
3717 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
3718 convention of closing fp prior to attempting to open the file
3719 argument. This allows correct operation when reopening
3720 stdin/stdout/stderr. Replaces last freopen.c patch.
3722 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
3724 patch from cgf@bbc.com (Christopher Faylor):
3725 * libc/stdio/freopen.c: freopen was not preserving the fd
3726 of the stream being operated on. This confuses programs that
3727 expect that the handles for stdout and stderr will be 1 and 2.
3729 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
3731 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
3733 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
3735 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
3737 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
3739 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
3740 altered to not use a branch. Also added hint that last
3741 bclr in longjmp will likely result in branch.
3744 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
3746 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
3748 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
3750 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
3753 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
3755 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
3757 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
3758 that loads FR14 to specify offset of 8 rather than 4
3759 so it loads from offset 96 (where setjmp stored it).
3761 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
3763 * libc/machine/sh/memcpy.S: (_memcpy): Update to
3764 latest version supplied by customer.
3765 * libc/machine/sh/memset.S (_memset): Ditto.
3767 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
3769 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
3772 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
3774 * libc/include/string.h: remove redefinition of ffs
3776 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
3778 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
3781 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
3783 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
3784 TI Libraries to link to libc.a
3786 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
3788 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
3789 * libc/include/sys/stat.h (_{,f}stat): Ditto.
3790 * libc/include/sys/wait.h (_wait): Ditto.
3791 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
3792 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
3794 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
3796 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
3797 minded stabs so function name shows up when running the simulator
3799 * libc/sys/d10v/{crt0,trap}.S: Ditto.
3801 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
3803 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
3804 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
3805 Use R5 where we used to use R3.
3807 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
3809 * libc/stdlib/getopt.c (getopt): replaced __progname
3810 with nargv[0] to improve portability to imbedded systems.
3812 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
3814 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
3815 patch supplied by Tont.Thompson@arm.com to fix the creation of the
3818 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
3820 * libc/stdio/tmpnam.c (worker): Generate a different file name
3823 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
3824 fails, try an execlp for sh.
3826 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
3827 option for the winsup include directory.
3829 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
3831 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
3832 debugging interface from Tony.Thompson@arm.com.
3834 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
3835 * libc/sys/arm/swi.h: ditto.
3837 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
3839 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
3840 DIR struct used for readdir hashes.
3842 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
3844 * libc/string/strchr.c: Use "unsigned chars" as necessary.
3846 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
3848 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
3851 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
3853 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
3854 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
3855 * libc/include/malloc.h: Add extern "C" if __cplusplus.
3856 (__malloc_copy): Declare.
3858 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
3860 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
3862 (POINTER_UINT): Define.
3863 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
3864 (MALLOC_ALIGNMENT): Don't define if already defined.
3865 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
3868 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
3870 * libc/string/memset.c (memset): Fiddle with code so that the long
3871 value being stored is not a stack value. Unroll storing longs 4
3874 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
3876 * Reduce code size for libm modules.
3877 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
3878 and simply move code into sqrt.
3879 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
3880 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
3881 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
3882 * libm/math/wr_gamma.c (gamma_r): Likewise.
3883 * libm/math/wf_sinh.c (sinfh): Likewise.
3884 * libm/math/w_sinh.c (sinh): Likewise.
3885 * libm/math/wf_scalb.c (scalbf): Likewise.
3886 * libm/math/w_scalb.c (scalb): Likewise.
3887 * libm/math/wf_remainder.c (remainderf): Likewise.
3888 * libm/math/w_remainder.c (remainder): Likewise.
3889 * libm/math/wf_pow.c (powf): Likewise.
3890 * libm/math/w_pow.c (pow): Likewise.
3891 * libm/math/wf_log10.c (log10f): Likewise.
3892 * libm/math/w_log10.c (log10): Likewise.
3893 * libm/math/wf_log.c (logf): Likewise.
3894 * libm/math/w_log.c (log): Likewise.
3895 * libm/math/w_lgamma.c (lgamma): Likewise.
3896 * libm/math/wf_lgamma.c (lgammaf): Likewise.
3897 * libm/math/wf_jn.c (jnf): Likewise.
3898 * libm/math/w_jn.c (jn): Likewise.
3899 * libm/math/wf_j1.c (j1f): Likewise.
3900 * libm/math/w_j1.c (j1): Likewise.
3901 * libm/math/wf_j0.c (j0f): Likewise.
3902 * libm/math/w_j0.c (j0): Likewise.
3903 * libm/math/wf_hypot.c (hypotf): Likewise.
3904 * libm/math/w_hypot.c (hypot): Likewise.
3905 * libm/math/wf_gamma.c (gammaf): Likewise.
3906 * libm/math/w_gamma.c (gamma): Likewise.
3907 * libm/math/wf_fmod.c (fmodf): Likewise.
3908 * libm/math/w_fmod.c (fmod): Likewise.
3909 * libm/math/wf_exp.c (expf): Likewise.
3910 * libm/math/w_exp.c (exp): Likewise.
3911 * libm/math/wf_cosh.c (coshf): Likewise.
3912 * libm/math/w_cosh.c (cosh): Likewise.
3913 * libm/math/wf_atanh.c (atanhf): Likewise.
3914 * libm/math/w_atanh.c (atanh): Likewise.
3915 * libm/math/wf_atan2.c (atan2f): Likewise.
3916 * libm/math/w_atan2.c (atan2): Likewise.
3917 * libm/math/wf_asin.c (asinf): Likewise.
3918 * libm/math/w_asin.c (asin): Likewise.
3919 * libm/math/wf_acosh.c (acoshf): Likewise.
3920 * libm/math/w_acosh.c (acosh): Likewise.
3921 * libm/math/wf_acos.c (asocf): Likewise.
3922 * libm/math/w_acos.c (acos): Likewise.
3923 * libm/math/wf_sqrt.c (sqrtf): Likewise.
3924 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
3925 for embedded systems.
3927 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
3929 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
3930 Lea in case of a foreign sbrk.
3932 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
3934 Incorporate Doug Lea's malloc:
3935 * libc/stdlib/mallocr.c: Completely replaced.
3936 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
3938 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
3939 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
3941 (mallinfo, malloc_stats, mallopt): New functions.
3942 (_mstats_r): Just call _malloc_stats_r.
3943 * libc/stdlib/malign.c: New file.
3944 * libc/stdlib/mlock.c: New file.
3945 * libc/stdlib/msize.c: New file.
3946 * libc/stdlib/mtrim.c: New file.
3947 * libc/stdlib/realloc.c: New file.
3948 * libc/stdlib/valloc.c: New file.
3949 * libc/stdlib/malloc.h: Remove.
3950 * libc/stdlib/callocr.c: Remove.
3951 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
3952 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
3953 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
3954 reallocr.o, valloc.o, vallocr.o.
3955 (CHEWOUT_FILES): Add mlock.def, mstats.def.
3956 (MALLOC_CFLAGS): New variable.
3957 (mallocr.o): New target, build from mallocr.c.
3958 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
3959 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
3960 (msizer.o, malloptr.o): Likewise.
3961 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
3962 (valloc.o): New target.
3963 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
3964 * libc/include/malloc.h: Declare struct mallinfo, and new
3966 * libc/include/stdlib.h (cfree): Correct declaration.
3968 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
3970 * libc/include/machine/setjmp.h: Add support for Thumb target.
3972 * libc/include/machine/ieeefp.h: Add support for Thumb target.
3974 * configure.in (links): Add support for Thumb target.
3976 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
3978 * libc/sys/arm/setjmp.S: Updated with version from branch.
3980 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
3982 * libc/include/stdio.h: add POSIX-required define L_ctermid
3985 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
3987 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
3988 addition to MISSING_SYSCALL_NAMES.
3990 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3992 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
3994 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
3996 * libc/include/string.h: change strsignal proto to return
3997 a char *. This eliminates compile problems in gdb resulting
3998 from gdb's definition of strsignal in defs.h.
4000 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
4002 * libc/sys/cygwin32/sys/utime.h: new (moved here from
4003 winsup/include) so as not to conflict with the one in
4005 * libc/include/string.h: add protos for strsignal, strtosigno
4007 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
4009 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4011 * configure.in (d30v-*-*): Add configuration.
4013 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
4015 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4016 to select which kind of debug monitor is in use for an ARM target.
4018 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4019 Angel and Demon debug monitors. Part of this code was supplied by
4020 Tony Thompson at ARM: athompso@arm.com.
4022 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
4024 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4025 semantics when the count is greater than the length of the second
4028 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
4030 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4031 * libc/include/sys/unistd.h: add protos for usleep, truncate,
4032 truncate and ftruncate take off_t, not size_t
4034 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
4036 * libc/string/strcat.c (strcat): Add missing comment end.
4037 * libc/string/strncat.c (strncat): Likewise.
4039 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
4041 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4043 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
4044 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4046 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4047 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4048 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4050 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
4052 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4053 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4055 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
4057 * libc/machine/i386/setjmp.S: New file.
4058 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4059 (OFILES): Add setjmp.o.
4060 (setjmp.o): Add rule for.
4061 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4063 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
4064 Jeffrey A Law (law@cygnus.com)
4066 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
4067 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4068 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4069 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4071 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
4073 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
4076 * libc/include/sys/config.h: Use __v850 to select v850
4079 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
4082 * libc/include/machine/ieeefp.h: Use __v850 to select v850
4085 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
4087 * libc/stdlib/setenv.c: change unsetenv definition to match
4088 style of setenv (with _DEFUN). The string should be a const.
4089 * libc/include/stdlib.h: unsetenv proto should return void.
4091 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
4093 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
4095 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
4097 * libc/stdio/glue.h: remove.
4098 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
4099 * libc/stdio/Makefile.in: remove glue.h dependencies
4101 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
4103 * libc/sys/sysnecv850/crt0.S: Created V850e version.
4105 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
4107 * configure.in (target_cpu): Add `arc'.
4109 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
4111 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
4112 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
4113 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
4114 * newlib/libc/reent/reent.c: Add _wrapup_reent.
4115 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
4117 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
4119 * libc/machine/mips/setjmp.S: Handle mips16 builds.
4121 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
4123 * libc/include/stdio.h (siprintf): Declare.
4125 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
4127 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
4128 TARGET_CFLAGS and NEWLIB_FLAGS.
4130 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4132 * configure.in (links): Add support for v850ea target.
4134 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
4136 * configure.in (links): Add support for v850e target.
4138 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
4140 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
4142 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
4144 * configure.in (arc-*-*): Add support for.
4145 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
4147 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4149 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
4151 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
4153 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
4154 comparison which accesses invalid memory when the key is
4155 larger than the last member of the array.
4156 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
4158 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
4160 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
4162 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
4165 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
4167 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
4168 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
4170 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
4172 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
4173 to load/store memory.
4175 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
4177 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
4178 underscores if _WIN32.
4180 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
4182 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
4183 support ifdef _USE_WRITE missed in last change.
4184 From Anders Blomdell <anders.blomdell@control.lth.se>.
4186 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
4188 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
4189 (_tmpnam_r, _tempnam_r): Update.
4191 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
4193 * libc/machine/sparc/setjmp.S: New file.
4194 * libc/machine/sparc/Makefile.in: Add setjmp.
4195 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
4197 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
4199 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
4201 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
4203 From Joel Sherrill <joel@oarcorp.com>.
4204 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
4206 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
4207 * configure.in: Recognize *-*-rtems*.
4208 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
4209 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
4210 time.h,times.h,types.h}: New files.
4211 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
4213 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
4215 patch from sos@prospect.com.ru (Sergey Okhapkin):
4216 * include/sys/wait.h: correct operator precidence bug
4219 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
4221 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
4222 with newlib's unsetenv function
4223 * libc/sys/cygwin32/sys: new directory for includes
4224 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
4225 here from winsup/include/sys
4227 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
4229 * libc/include/sys/unistd.h: _exit should only be
4230 labelled noreturn when not __CYGWIN32__
4231 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
4232 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
4235 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
4237 * libc/include/sys/time.h: Only define timeval and timezone if
4238 _GNU_H_WINDOWS32_SOCKETS is not defined.
4239 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
4241 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
4243 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
4244 * libc/machine/mn10300/setjmp.S: Likewise.
4246 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
4247 the mn10300 (more relaxing opportunities).
4249 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
4251 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
4252 Build libraries with -mstrict-align.
4254 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
4256 * libc/string/strlwr.c: New file.
4257 * libc/string/strupr.c: New file.
4258 * libc/include/string.h: Declare strlwr and strupr.
4259 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
4260 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
4261 (strlwr.o, strupr.o): New targets.
4262 * libc/string/strings.tex: Include strlwr and strupr docs.
4264 * libc/include/sys/types.h: Don't define u_char, et. al., if
4265 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
4266 et. al. Make FD_SETSIZE default 64 rather than 60. Define
4267 _types_fd_set rather than fd_set, and define fd_set as a macro.
4269 * libc/include/malloc.h: New file.
4271 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
4272 strnicmp if they are not already defined.
4274 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
4275 _timezone, _daylight, and _tzname.
4277 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
4279 * configure.in: Sort all configuration tables.
4281 From Joel Sherrill <joel@oarcorp.com>
4282 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
4284 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
4286 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
4287 use int when declaring kill.
4289 * libc/include/sys/timeb.h: New file.
4291 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
4293 * libc/include/sys/time.h: add itimer support for Cygwin32
4295 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
4297 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
4298 out a message that abort was called to stderr.
4300 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
4302 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
4303 so that libio doesn't freak.
4305 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
4308 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
4309 memory sizes, not int.
4311 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
4313 * libm/math/ef_hypot.c: Use long constants where
4315 * libm/math/ef_sqrt.c: Ditto.
4317 * libc/sys/sysmec/times.c(_times): Change to times.
4319 * libc/sys/sysmec/read.c(_read): The third argument is
4321 * libc/sys/sysmec/write.c (_write): Ditto.
4323 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
4324 (_lseek): It's off_t for the second argument.
4326 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
4328 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
4329 as well as machine/ieeefp.h.
4331 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
4333 * libc/include/sys/signal.h: add signal protos for winsup
4334 functions (when __CYGWIN32__), include types.h
4335 * libc/include/sys/types.h: Change __go32_types__ internal
4336 define to __MS_types__ since it's used for more than just
4337 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
4339 * libc/include/sys/unistd.h: add ftruncate proto for
4340 winsup functions (when __CYGWIN32__)
4342 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
4344 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
4346 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
4348 * libc/include/machine/setjmp.h: Add tic80 support.
4349 * libc/machine/tic80/setjmp.S: Likewise.
4351 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
4353 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
4354 link programs from libraries only (such as in the X11
4357 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
4359 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
4360 supplied elsewhere in newlib.
4362 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
4364 * Makefile.in (INSTALL): Change install.sh to install-sh.
4366 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
4368 * README: update WWW address for on-line documentation.
4370 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
4372 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
4375 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
4377 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
4379 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
4381 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
4383 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
4384 * libc/sys/d10v/syscalls.c: Likewise.
4385 * libc/sys/h8300hms/sbrk.c: Likewise.
4386 * libc/sys/h8500hms/syscalls.c: Likewise.
4387 * libc/sys/m88kbug/syscalls.c: Likewise.
4388 * libc/sys/sh/syscalls.c: Likewise.
4389 * libc/sys/sysmec/sbrk.c: Likewise.
4390 * libc/sys/sysnecv850/sbrk.c: Likewise.
4391 * libc/sys/w65/syscalls.c: Likewise.
4392 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
4394 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
4396 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
4397 emulated syscall instead of "trap".
4399 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
4401 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
4404 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
4406 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
4408 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
4410 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
4412 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
4414 * libc/sys/tic80/crt0.c: New file for TIc80.
4415 * libc/sys/tic80/Makefile.in: New file for TIc80.
4416 * libc/machine/tic80/Makefile.in: New file for TIc80.
4418 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
4420 * libc/machine/sh/memcpy.S: New file.
4421 * libc/machine/sh/memset.S: New file.
4422 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
4424 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
4426 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
4429 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
4431 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
4434 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
4436 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
4437 (patch from andrew@pogo.WV.TEK.COM).
4439 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
4441 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
4442 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
4444 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
4446 * configure.in: Add cases for "tic80" to set machine_dir,
4447 sys_dir, and syscall_dir.
4449 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
4451 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
4453 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
4455 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
4457 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
4459 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
4460 Use proper constant prefix.
4462 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
4464 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
4465 that loses on the mn10200 where ints and pointers are different
4468 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
4470 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
4471 target as signal is provided in winsup.
4473 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
4475 * libc/include/sys/process.h: Corrected const definitions
4476 in spawn functions. Added cwait.
4478 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
4480 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
4482 * libc/include/sys/config.h: Similarly.
4484 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4486 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
4488 (i[3456]86-*-sco*): Ditto.
4490 * libc/signal/Makefile.in (OFILES): Add signal.o.
4491 (CFILES): Add signal.c.
4493 * libc/signal/raise.c (_raise_r): Only compile code if
4494 SIGNAL_PROVIDED is defined.
4496 * libc/signal/signal.c: Redo whole file so that it works with
4497 current newlib. Use _kill_r if no signal handler provided.
4499 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
4501 * libc/sys/sysvnecv70/Makefile.in: Ditto.
4502 * libc/sys/sysnecv850/Makefile.in: Ditto.
4504 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
4505 * libc/sys/sysmec/{raise,signal}.c: Ditto.
4506 * libc/sys/sysvnecv70/signal.s: Ditto.
4507 * libc/sys/sysnecv850/raise.c: Ditto.
4509 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
4510 simulator and debugger can tell the difference between a signal
4511 being raised and an exit system call.
4513 * NEWS: Document software signals being provided.
4515 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4517 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
4518 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
4519 include/sys/config.h.
4520 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
4521 Change from 'inpure_data'.
4522 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
4523 &impure_data, not &inpure_data.
4525 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
4526 and and System V ABI, define so that _impure_ptr lives in the
4529 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4531 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
4532 nothing if not defined.
4533 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
4536 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
4538 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
4540 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
4541 * libc/sys/sysmec/trap.s: Handle mn10200 too.
4542 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
4544 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
4546 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
4548 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
4550 * libc/include/sys/errno.h: Added net errno's.
4552 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4554 * libc/misc/ffs.c: New file to support ffs function for GCC test
4555 gcc.c-torture/execute/960909-1.c.
4557 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
4559 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
4561 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
4562 * libc/sys/sysmec/trap.S: Likewise.
4564 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
4566 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
4567 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
4569 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
4571 * libc/sys/sysmec/signal.c: Dummy file.
4572 * libc/sys/sysmec/Makefile.in: Build it.
4574 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
4576 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
4579 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
4581 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
4582 c-startup and simulator traps.
4585 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
4586 * libc/sys/sysmec/trap0.S: Likewise.
4588 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4590 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
4591 round to double word alignment.
4592 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
4595 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
4597 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
4600 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
4602 * configure.in: Handle mn10200 and mn10300.
4603 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
4604 * libc/include/sys/config.h: Likewise.
4605 * libc/sys/sysmec: New directory for mec stuff.
4606 * libc/machine/mn10300: New directory for mn10300 stuff.
4607 * libc/machine/mn10200: Similarly for mn10200 stuff.
4609 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
4611 * libc/sys/arm/crt0.S: Use .text, not .section .text.
4612 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
4614 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
4615 (nlink_t): Change type from unsigned int to unsigned short.
4616 (mode_t): Ensure size is 32 bits even if int is 16.
4617 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
4618 (st_spare[123]): Change type from int to long.
4620 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4622 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
4625 * configure.in (d10v*): Define SMALL_MEMORY.
4627 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4629 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
4630 -mrelocatable-lib and -mno-eabi flags.
4632 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
4634 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
4635 Fix handling of mis-aligned source operand when both the
4636 destination & length are properly aligned.
4638 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
4640 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
4641 times.o, time.o and gettime.o
4642 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
4643 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
4646 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
4648 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
4649 * libc/sys/sysnecv850/access.c: New file.
4651 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
4653 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
4655 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
4658 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
4660 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
4662 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
4664 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
4665 * libc/include/sys/config.h: Add m32r support.
4667 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
4669 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
4672 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
4674 * libc/include/machine/setjmp.h: Add D10v support.
4676 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
4678 * configure.in: Configure the "libc/syscalls" directory for
4681 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
4682 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
4683 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
4684 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
4685 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
4687 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
4689 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
4690 stack for args for main and other routines. Zero out args for
4693 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
4696 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4698 * libc/stdio/findfp.c (std): Remove extraneous ';' after
4701 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
4703 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
4704 real system calls now.
4706 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
4707 before casting them to int.
4708 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
4710 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
4712 * libc/string/memset.c (memset): Ditto.
4714 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
4715 first convert ints to _POINTER_INT to eliminate GCC warning.
4717 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
4720 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
4721 from 65000 if ints are only 16 bits.
4723 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
4724 from 50000 if ints are only 16 bits.
4726 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
4727 int type that is the same size as a pointer.
4729 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
4731 (get_number): Explicitly cast number to long before shifting by 16
4732 or 24, in case ints are short.
4734 * libc/include/sys/config.h (_POINTER_INT): Define as short.
4736 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
4738 * libc/string.h: Added ffs, removed swab.
4739 * libc/sys/errno.h: Added EOPNOTSUPP.
4740 * libc/sys/unistd.h: Added swab.
4742 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
4744 * libc/include/sys/stat.h: Added fchmod.
4745 * libc/include/sys/unistd.h: Added fsync.
4747 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
4749 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
4750 and ECONNRESET (104) for cygwin32.
4752 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
4754 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
4755 do the static destructors.
4757 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
4759 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
4761 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
4763 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
4764 * configure.in: Recognize m32r-*-*.
4766 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
4768 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
4769 __rt_stkovf_split_small): Added default software stack overflow
4770 handlers, which just call SWI_Exit.
4771 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
4772 limit initialisation.
4774 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
4776 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
4778 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
4780 * libc/include/sys/types.h: Added ssize_t definition.
4782 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4784 * libc/machine/d10v/setjmp.S: Use ';' for comments.
4785 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
4787 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
4788 branch around a single ldi instruction.
4790 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
4791 Call exit, instead of just issuing a stop instruction.
4793 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4795 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
4797 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4799 * libc/stdlib/mprec.h: Explicitly declare all large constants as
4800 longs, and then cast them to __uint32_t.
4802 * libc/include/sys/config.h: Protect against multiple inclusions.
4804 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
4806 * configure.in (d10v*): Set syscall_dir.
4808 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
4810 * libc/sys/d10v/crt0.S: Set stack pointer.
4812 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
4814 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
4815 in assembly for efficiency. Change calling convention to allow
4816 long ints to be returned.
4818 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4820 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
4822 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
4824 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
4825 Handle empty entries in $PATH.
4827 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
4829 * libc/machine/d10v/setjmp.S: Make it really work.
4831 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
4833 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
4836 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
4838 * sys/sysnecv850/sys/file.h: Remove.
4839 * sys/sysnecv850/sys/syscall.h: New file.
4840 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
4841 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
4842 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
4843 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
4844 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
4845 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
4846 * sys/sysnec850/trap.S: New file.
4847 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
4849 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
4850 * sys/sysnec850/sbrk.c: New version.
4852 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
4854 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
4855 as long as r6 is less than r7.
4857 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
4859 * Makefile.in (mostlyclean): Separate from clean target. Don't
4860 remove *.a or targ-include.
4861 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
4863 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4865 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
4867 (__SMALL_BITFIELDS): Ditto.
4869 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
4871 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
4873 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
4876 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
4877 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
4878 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
4879 * libc/sys/sysnecv850/write.c (write): Likewise.
4881 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
4884 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4886 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
4887 appropriately for D10V, depending on -mint16/-mint32.
4889 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
4891 * configure.in: Add cases for D10V.
4893 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4895 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
4897 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
4899 * libc/include/machine/ieeefp.h: Fix typo.
4901 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
4903 * libc/sys/d10v: New directory for D10V stuff.
4904 * libc/include/machine/ieeefp.h: Add D10V defines.
4906 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
4908 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
4909 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
4910 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
4911 * libc/string/strerror.c (strerror): Add them.
4913 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
4915 * libc/sys/sysnecv850: New directory for v850 stuff.
4917 * libc/machine/v850: New directory for v850 stuff.
4918 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
4920 * configure.in: Add support for the v850.
4922 * libc/include/machine/ieeefp.h: Add v850 defines.
4923 * libc/include/machine/setjmp.h: Likewise.
4924 * libc/include/sys/config.h: Add v850 defines.
4926 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
4928 * libc/include/machine/ieeefp.h
4929 * libc/include/machine/setjmp.h
4930 * libc/include/sys/fcntl.h
4931 * libc/include/sys/signal.h
4932 * libc/include/sys/types.h
4933 * libc/stdlib/system.c:
4934 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
4935 API availability, __CYGWIN32__ for cygwin32 environment specific).
4937 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
4939 * libc/include/stdlib.h: add multibyte character functions. Add
4940 __eprintf for assert.
4942 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4944 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
4945 arithmetic or __alignof__ to properly get the alignment, instead
4946 of hardwiring it to 4.
4948 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
4950 * libc/stdio/fseek.c: add fflush call to adjust seek offset
4951 on append stream (fix from NetBSD sources), adjust curoff offset
4952 for ungetc's benefit.
4953 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
4954 * libc/stdio/rewind.c: replace code with up to date NetBSD
4955 code to undo hacks made to work around above problem of not
4956 having fflush call mentioned above
4958 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4960 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
4961 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
4962 Partially revert last changes. The thread specific errno is set
4963 iff if the underlying syscall fails and the global errno is not
4966 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4968 * libc/reent/filer.c: Removed files, all functions have split out
4969 into their own files.
4970 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
4971 New files containing functions formally in filer.c
4972 * libc/reent/Makefile.in: Updated for above change.
4974 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
4975 syscall fails, not if errno is changed.
4976 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
4977 _write_r): Likewise.
4978 * libc/reent/fstatr.c (_fstat_r): Likewise.
4979 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
4980 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
4981 * libc/reent/signalr.c (_kill_r): Likewise.
4982 * libc/reent/statr.c (_stat_r): Likewise.
4983 * libc/reent/timer.c (_gettimeofday_r): Likewise.
4985 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
4986 signalr.c, statr.c, timer.c} (errno): declare extern rather
4989 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
4990 instead of calling vfprintf so that i*printf will not require
4991 floating point support code.
4993 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
4995 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
4997 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
4998 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5000 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
5002 * libc/include/signal.h: _sig_func_ptr function takes an int
5003 * libc/include/sys/signal.h: sa_handler function takes an int
5005 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
5007 * libc/include/machine/ieeefp.h: Simplify H8/S support.
5008 * libc/include/sys/config.h: Add missing H8/S conditional.
5010 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
5012 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5014 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
5016 * libc/include/machine/setjmp.h: Handle H8/S.
5017 * libc/include/machine/ieeefp.h: Likewise.
5018 * libc/include/sys/config.h: Likewise.
5019 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5020 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5021 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5022 * libc/sys/h8300hms/crt0.S: Likewise.
5024 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5026 * Makefile.in (datadir): Set to $(prefix)/share.
5027 (oldincludedir, docdir): Removed.
5028 * doc/Makefile.in (datadir): Set to $(prefix)/share.
5029 (oldincludedir, docdir): Removed.
5030 * libc/Makefile.in (datadir): Set to $(prefix)/share.
5031 (oldincludedir, docdir): Removed.
5032 * libm/Makefile.in (datadir): Set to $(prefix)/share.
5033 (oldincludedir, docdir): Removed.
5035 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
5037 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5040 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
5042 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
5043 fetch current path rules with sysconf and handler posix/win32
5046 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5048 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5049 (WAIT_CHILD): Always define.
5051 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
5053 * libc/stdlib/eprintf.c: New file.
5054 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5055 (eprintf.o): New target.
5057 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
5059 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5060 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5062 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
5064 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
5065 NT in PowerPC endianess cases.
5067 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5069 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
5071 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5073 * libc/string/strtok.c: Fix doc typo.
5075 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5077 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
5078 _next, _scanpoint, _signgam fields.
5080 * libc/include/stdlib.h (rand_r): Added new declaration.
5081 (_rand_r, _srand_r): Removed declarations.
5082 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
5083 have been made obsolete by rand_r.
5084 * libc/stdlib/rand_r.c: New file, rand_r function as specified
5087 * libc/string/strtok.c: Update documentation to describe
5090 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
5092 * libc/include/sys/stat.h (stat structure): Use the expanded stat
5093 structure on Solaris, and PowerPC systems even though __svr4__ is
5096 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
5098 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
5100 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
5102 * host/any: Use ../.. rather than .. to get to the main build
5103 directory. This matches the current layout of the build
5106 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
5108 * libc/machine/h8300/__main.S: Delete. No longer needed.
5109 * libc/machine/h8300/Makefile.in: Corresponding changes.
5110 * libc/sys/h8300hms/crt1.c: New file.
5111 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
5112 * libc/sys/h8300hms/crt0.s: Call __main.
5114 * libc/sys/h8300hms/crt0.S: Use temporary label names
5117 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
5119 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
5121 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5123 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
5124 .sdata on the PowerPC so that we can link newlib with code
5125 compiled with -msdata.
5127 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
5129 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
5131 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
5133 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
5134 exception handler to __cygwin_exception_handler.
5136 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
5138 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
5140 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
5142 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
5144 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
5145 wcstombs.o): Likewise.
5147 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
5149 * libc/stdlib/environ.c (initial_env): New static local.
5150 (environ): Point to `initial_env'.
5152 * libc/include/machine/setjmp.h: Clean up.
5153 (__H8300H__,__PPC__): Define _JBTYPE.
5154 (__arm__): Provide entry for.
5155 (sigjmp_buf): Delete.
5156 (jmp_buf): Use _JBTYPE if defined, otherwise int.
5158 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
5160 * libc/machine/h8300/strcmp.S: Sign extend the result to
5161 32bits so we don't lose with -mint32.
5163 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
5165 * libc/sys/go32/sys/errno.h: New file.
5166 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
5167 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
5168 errno's address (make compatible with rest of newlib).
5169 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
5170 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
5172 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
5174 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
5175 * libc/machine/sparc/Makefile.in: Build them.
5176 * libc/machine/sparc/machine/sparclet.h: New file.
5178 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5180 * libc/machine/sh/asm.h: New file.
5181 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
5182 support for SH3e's FP registers. Use asm.h.
5184 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
5186 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
5187 as first argument. Call _dtoa_r and pass the reent structure
5188 instead of calling __dtoa.
5190 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
5192 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
5193 the h8300, h8500, and others. Add comments for some rather
5196 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
5198 * Makefile.in (check): Check that testsuite exists before cd.
5200 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5202 * libc/include/string.h (strsep): Correct prototype.
5204 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
5206 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
5207 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
5208 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
5210 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
5212 * libc/posix/{creat.c,isatty.c}: New files.
5213 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
5215 * libc/sys/sparc64/crt0.S (environ): Delete.
5216 (.LHaveBias): Renamed from HaveBias.
5218 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
5220 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
5221 (_morecore_r): Delete SBRK_IS_ALLOC support.
5223 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5225 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
5226 module rather than touch, so we don't get warning messages when
5227 all of the libraries are combined into libc.a.
5229 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
5231 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
5232 crt0.s replaced by version in libgloss.
5234 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5236 * libc/reent/Makefile.in (OFILES): Add impure.o.
5237 * libc/reent/impure.o: New file, define initial reentrancy struct.
5238 * libc/reent/reent.c: Remove above definition.
5240 * libm/math/sf_asinh.c: Fix typo.
5242 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
5245 * libm/libm.texinfo: Change documentation to reflect changes
5246 in reentrancy model.
5247 * libm/math/w_gamma.c: Likewise.
5249 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
5251 * configure.in (*-*-cygwin32): New.
5252 (*-*-win32): Deleted.
5253 * libc/sys/win32 renamed libc/sys/cygwin32.
5255 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5257 * libc/include/sys/file.h: New include file.
5259 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
5261 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
5263 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
5265 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
5267 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5269 * doc/makedoc.c (realloc): Declare at file scope.
5270 (catchar): Not here.
5272 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
5274 * Makefile.in (VERSION): Update to 1.7.0.
5275 * {libc,libm}/Makefile.in (VERSION): Likewise.
5276 * configure.in: Minor clean up of multilib stuff.
5278 From David Johnson <davidj@ICSI.Berkeley.EDU>
5279 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
5281 * libc/stdlib/environ.c: New file.
5282 * libc/stdlib/Makefile.in (OFILES): Build it.
5283 * libc/sys/h8500hms/crt0.c (environ): Deleted.
5284 * libc/sys/m88kbug/crt0.c (environ): Deleted.
5285 * libc/sys/z8ksim/crt0.c (environ): Deleted.
5286 * libc/sys/netware/environ.c: Deleted.
5288 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
5290 * configure.in (links): set sys_dir, posix_dir, syscall_dir
5292 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5294 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
5295 declaration out to external scope and declare it PTR, not char *.
5297 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
5299 * libc/include/sys/unistd.h (getpagesize): New declaration.
5300 (_SC_PAGESIZE): New definition.
5301 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
5302 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
5304 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
5306 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
5307 addressing. System call returns size, not (last address + 1).
5309 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5311 * libm/math/*.c: Removed _foo_r() reentrancy API.
5312 * libc/include/math.h: Removed _foo_r prototypes and macros.
5314 * libm/math/*.c: On systems with IEEE single precision "doubles"
5315 move foo() -> foof() wrapper code from the files that implement
5316 the standard IEEE double precision functions to the files that
5317 implement IEEE single precision functions. (ie. On those systems
5318 sin is moved from s_sin.c to sf_sin.c). There should eventually
5319 be use of a C extension (like gcc's alias attribute) so that the
5320 wrappers are not needed at all.
5322 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
5323 strict NEC V810 compiler.
5324 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
5327 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5329 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
5330 from NetBSD C library.
5331 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
5333 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
5334 and adapted from implementation I wrote for NetBSD C library.
5335 The difference is __assert doesn't take a format argument,
5336 so that there won't be multiple copies of the same string
5337 constant in the executable if assertions are enabled in
5338 more than one source module.
5339 * libc/include/assert.h (assert): Changed to call __assert.
5341 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5343 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
5344 word1 on systems with 32 bit doubles.
5345 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
5346 so that we can do arithmetic on them.
5347 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
5350 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
5352 * libc/sys/arm/crt0.S: Zero bss.
5354 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
5356 * libc/include/unctrl.h: New file.
5357 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
5358 * configure.in (subdirs): Add libc/misc.
5359 * libc/Makefile.in (SUBDIRS): Add misc.
5360 (SUBLIBS): Add misc/lib.a.
5362 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
5364 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
5366 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
5367 (_vfprintf_r): Call CHECK_INIT.
5369 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
5371 * Makefile.in (MULTITOP): Delete.
5372 (MULTISRCTOP, MULTIBUILDTOP): Add.
5373 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
5374 instead of cfg-ml-pos.in.
5376 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5378 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
5379 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
5382 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5384 * libc/string/strtok.c: Include string.h to pick up strtok_r
5387 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5389 * libc/string/strtok.c: include <_ansi.h>.
5390 * libc/time/asctime_r.c: `reresult' -> `result'.
5392 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5394 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
5395 in #ifndef _REENT_ONLY ... #endif conditional.
5397 * libc/include/string.h (_strtok_r): Remove declaration.
5398 * libc/include/time.h (_asctime_r): Remove declaration.
5399 * libc/string/strtok.c (_strtok_r): Removed.
5400 * libc/time/asctime.c (_asctime_r): Removed.
5402 * libc/string/Makefile.in (OFILES): Add new object.
5403 * libc/string/strtok_r.c: New file. strtok_r function as
5404 specified by POSIX.1c, adapted from strtok implementation
5405 from NetBSD C library.
5406 * libc/string/strtok.c (strtok): Reimplemented in terms of
5409 * libc/time/Makefile.in (OFILES): Add new objects.
5410 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
5411 New files, reentrant time functions specified by POSIX.1c.
5412 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
5413 reentrant time functions re-written in terms of reentrant
5415 * libc/time/lcltime.c: Renamed from localtime.c
5417 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
5418 gmtime_r, and localtime_r.
5420 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
5422 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
5423 * libc/include/sys/unistd.h (getlogin): Revert change of
5425 * libc/include/sys/signal.h (sigprocmask): Change prototype
5426 so it compiles with c++.
5428 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
5430 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
5431 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
5432 to give some room in case we need to align the jmp_buf.
5434 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
5435 the new ppc-asm.h include file the compiler provides to specify
5436 function prologue/epilogue. Eliminate saves of the xer and ctr
5437 registers, which are volatile. Before starting to save registers,
5438 align to 8 byte boundary.
5440 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
5442 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
5443 referenced by standard libraries.
5445 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
5447 * libc/unix/Makefile.in, libc/string/Makefile.in,
5448 libc/stdio/Makefile.in, libc/reent/Makefile.in,
5449 libc/posix/Makefile.in:
5450 Remove tabs from otherwise empty line. Confuses some
5451 older non-GNU versions of "make".
5453 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
5455 * libc/sys/unistd.h (getlogin): Returns const char *.
5457 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
5459 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
5460 * libc/include/errno.h: Moved into and include...
5461 * libc/include/sys/errno.h: New file.
5462 * libc/include/sys/wait.h: New file.
5463 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
5464 * libc/sys/win32/*: Moved out.
5465 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
5466 * configure.in (i[345]86-*-win32): HAVE_RENAME
5468 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
5470 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
5471 avoid macro expansion for these two names.
5473 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
5475 * libc/machine/h8500/psi.S: r6 renamed to fp.
5477 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
5479 * configure.in (powerpc*): No longer need to define
5480 NO_LONGLONG_POINTERS to supress warnings.
5482 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5484 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
5485 through PTR instead of directly.
5487 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
5488 non-standard constructor support.
5490 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5492 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
5493 address of the Bigint instead of the address of its _x field,
5494 as the size the result buffer was calculated accordingly.
5495 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
5497 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
5498 from NetBSD C library. No longer special cases division by
5499 zero (which needs to be done by the application anyway), but
5500 it doesn't need to call abs() (or labs()) four times either.
5502 * libc/stdlib/qsort.c: Replaced with implementation from
5505 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5507 * libc/stdio/vfprintf.c: Replaced with implementation from
5508 NetBSD C library (which is derived from the 4.4BSD C library).
5509 * libc/stdio/cvt.c: Removed.
5510 * libc/stdio/Makefile: Updated.
5512 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
5514 * libc/sys/win32/syscalls.c (rename): New.
5515 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
5517 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5519 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
5520 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
5522 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
5523 (setjmp.o): Delete rule to build setjmp.o.
5524 * libc/sys/sh/setjmp.S: Delete file.
5526 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5528 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
5529 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
5530 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
5531 pow5mult and s2b to identifiers with leading underscores.
5532 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
5533 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
5535 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
5537 * libc/sys/posix/popen.c (sys/types.h): Include.
5539 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
5541 * libc/sys/win32/syscalls.h (fhandler): New struct.
5542 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
5543 (__fhandler_normal): Declare.
5544 (hinfo): New member op_handlers.
5545 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
5546 (__write): Likewise.
5547 (_read, _write, _open, _close, _lseek): Validate fd here.
5548 Move file type specific stuff to foo_normal.
5549 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
5551 (__lookup_fhandler): New function.
5552 (__lookup_fhandler_hook, __fhandler_normal): New variables.
5554 From anders.blomdell@control.lth.se (Anders Blomdell)
5555 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
5556 Don't touch standard handles.
5557 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
5558 (_execve): Only create __FD_TABLE__ if necessary.
5559 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
5561 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
5563 * libc/sys/win32/sys/termios.h (FLUSHO): New.
5564 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
5565 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
5566 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
5567 without a handler is received.
5568 * libc/sys/win32/Makefile.in: Remove --nodelete.
5569 * libc/sys/win32/resouce.c (gettimeofday): New.
5570 * libc/sys/win32/syscalls.c (path_to_real_path): New.
5571 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
5573 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
5575 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
5576 Don't append "/*" to search pattern if trailing '/' already there,
5578 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
5579 like /'s, convert them to \'s. Handle //<drive>/ path names.
5580 Add space for quoted \'s in arg string. Print translated prog name
5581 and original prog name.
5582 (_execve): Handle parent doing exec a teensy bit better.
5583 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
5584 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
5585 path needs conversion, handle both cases. Delete `const' from result.
5586 (hash_path_name): New function.
5588 (_stat): Likewise. Fill in more fields for directories.
5589 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
5590 (wait_for_any): Fix trace message.
5591 (waitpid): Explicitly test for intpid == 0.
5593 From anders.blomdell@control.lth.se (Anders Blomdell)
5594 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
5597 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
5599 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
5602 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5604 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
5605 at all, not just == 1.
5606 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
5608 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5610 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
5611 * libc/sys/win32/include/wintypes.h: include <winnt.h>
5612 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
5615 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
5617 * libc/sys/syscalls.c (getcwd): Fix off by one error.
5619 * libc/sys/signal.c (sleep): Fill it in.
5620 * libc/sys/termios.c (tcflush): Use PurgeComm
5621 (tcsetattr): Set some more of the bits.
5622 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
5624 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
5626 * libc/sys/arm/crt0.S (fp): Initialize to 0.
5627 Conditionally include .idata$3 stuff ifdef __pe__.
5629 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
5631 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
5632 * libc/sys/win32/pipe.c (pipe): Ditto.
5633 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
5634 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
5635 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
5636 (tcgetattr): Contents are new.
5637 * libc/sys/win32/include/winkernel.h (DCB): New.
5638 (GetCommState, SetCommState): New.
5640 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
5642 * libc/sys/arm/crt0.S (_start): Define.
5644 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
5646 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
5647 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
5649 * libc/sys/win32/sysconf.c: New
5650 * libc/sys/win32/sys/winadvapi.h: New
5651 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
5652 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
5653 * libc/sys/win32/pipe.c (pipe): Ditto.
5654 * libc/sys/win32/signal.c (_raise): New.
5655 (_kill): Moved from spawn.c
5656 * libc/sys/win32/spawn.c (kill): Moved to signal.c
5657 * libc/sys/win32/syscalls.c (__read): Use new fields.
5659 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
5660 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
5661 * libc/include/sys/unistd.h (rmdir): Takes const path.
5662 * libc/include/sys/stat.h (mkdir): Takes const path.
5663 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
5665 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
5667 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
5669 Add support for specifying paths as //<drive>/foo/bar.
5670 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
5671 (__path_to_real_path): Declare.
5672 (PATH_TO_REAL_PATH): New macro.
5673 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
5674 (__path_needs_conversion_p, __path_to_real_path): New functions.
5675 (_open): Fix test for error return from CreateFileA.
5676 Handle new path syntax.
5677 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
5678 * libc/sys/win32/dirsearch.c (opendir): Likewise.
5680 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
5682 * libc/sys/win32/include/*.h: Reorganized
5683 * libc/sys/win32/include/WINREADME: New.
5684 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
5685 * libc/sys/win32/*.c: Fix for new include scheme.
5686 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
5687 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
5688 * libc/sys/win32/passwd.c (*): Fix.
5689 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
5690 (_stat): Get directory owner and permissions right.
5691 * libc/sys/win32/syscalls.h (uinfo): New.
5692 * libc/sys/win32/version.def: Remove leading underscores.
5694 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5696 * libc/sys/win32/key.c: include "include/wincon.h".
5698 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
5700 * libc/sys/win32/{key, stubs}.c: New.
5701 * libc/sys/win32/Makefile: Adjust to cope.
5702 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
5703 (environ_init): Change env names to upper case.
5704 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
5705 * libc/sys/win32/passwd.c (*): Fill in the functions.
5706 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
5707 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
5708 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
5709 (_open): Initialze hmap->execable_p too.
5710 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
5711 (_fstat): Fill in permissions.
5712 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
5714 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
5716 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
5718 (cfg-ml-pos.in invocation): Likewise.
5720 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5722 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
5723 s_isnan.o and sf_isnan.o.
5725 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
5727 * All Makefile.in files: added maintainer-clean target as a
5728 synonym for realclean.
5730 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
5732 * libc/include/machine/setjmp.h: Add hppa support.
5733 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
5735 * libc/machine/hppa/Makefile.in: Related changes.
5737 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
5739 * configure.in (machine_dir): Don't set for v810-*-*.
5741 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5743 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
5744 conventions correctly.
5746 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
5748 * libc/stdio/puts.c: Update documentation of return value to match
5751 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
5753 Fix file descriptor inheritance.
5754 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
5756 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
5757 close-on-exec flag not set. Initialize child's entire fd table.
5758 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
5760 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
5761 if CHILD_P. Initialize entire hmap entry.
5762 (dup): Only create new handle as inheritable if CHILD_P.
5763 (dup2): Likewise. Properly initialize hmap entry.
5765 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
5767 (_exit): Use CHILD_P.
5768 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
5771 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5773 * libc/sys/win32/crt0.c (passover): fix up the state table.
5774 * libc/posix/popen.c: Added.
5775 * libc/posix/Makefile.in: compile popen.c.
5777 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
5779 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
5780 h8/500 define _DOUBLE_IS_32BITS.
5782 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
5784 Get vfork/exec/spawn/cwait/wait working again.
5785 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
5786 (procinfo): New member vfork_level.
5787 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
5788 (vfork_init_first): Use GetCurrentProcessId to get pid.
5789 Initialize vfork_level.
5790 (vfork_init): Delete __PID__.
5791 (environ_init): New function. Undo patch of Aug 19, Posix says
5792 environment variables are case sensitive.
5793 (mainCRTStartup): Call it.
5794 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
5795 (my_longjump: Make static.
5796 (_spawn): New argument `h'. Delete setting of __PID__.
5797 Delete local `idx'. Look for chars that need quotes, rather than
5798 ones that don't. Set handle of created process in `h'.
5799 Result is process id if created task.
5800 (allocate_spawn_entry): New function.
5801 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
5802 (_execve): Set __FD_TABLE__ before spawning child.
5803 Scan our fd table when passing fds, not our parent's.
5804 Store handle and pid in procinfo entry.
5805 (vfork0): Ensure strace message always printed.
5806 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
5807 (vfork): Don't clobber result of vfork0.
5808 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
5809 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
5811 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
5813 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
5814 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
5815 adding vfork level to pseudo-pid.
5816 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
5817 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
5818 (_exit): If child, set exit code.
5819 (__vfork_record_death): Only close process handle if valid.
5820 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
5822 (wait_for_any): Likewise. Start scan after root entry.
5824 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5826 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
5827 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
5828 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
5829 of actual file length.
5831 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
5832 * libc/include/paths.h: _PATH_BSHELL added.
5833 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
5836 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5838 * libc/include/ar.h: Added.
5839 * libc/include/sys/types.h: ino_t goes back to 32-bits.
5840 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
5841 * libc/sys/win32/syscalls.c (_open): compute .namehash based
5843 (_fstat): use .namehash for inode number of the fd.
5845 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
5847 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
5848 Change hinfo to __this_procinfo.
5849 * libc/sys/win32/crt0.c: Remove procinfo_list.
5851 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5853 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
5856 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5858 * libc/sys/win32/include/grp.h: Removed.
5859 * libc/sys/include/grp.h: Added.
5860 * libc/sys/win32/grp.c: Include <grp.h>.
5862 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
5864 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
5865 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
5866 Defined for all but strict ANSI.
5867 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
5868 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
5869 * libc/signal/signal.c (_signal_r): Changed from using
5870 _MAX_SIGNALS to NSIG.
5871 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
5873 (__strace, __vfork_next_pid): New.
5874 (__exe_suffix): Default to 1.
5875 (passover, table): Understand quoted arguments.
5876 (vfork_init_first): New.
5877 (vfork_init): Initialize new process structure.
5878 (mainCRTStartup): Pass environ to main.
5879 * exceptions.c (__sig_mask): New
5880 (ehandler3): Ignore signals in mask.
5881 (really_exit): Remove CHILD_P test.
5882 * pipe.c (pipe, dup, dup2): Use new process and file structure.
5883 * resource.c (getrusage): Ditto.
5884 * signal.c (sigprocmask): New.
5885 * spawn.c (*): Rewritten.
5886 * syscalls.c (*): Use new process and file structure.
5887 (find_unused_handle): New.
5888 * syscalls.h (MAX_HANDLES): Deleted.
5889 (hinfo): Removed child_created_p.
5890 (MAX_CHILDREN): Deleted.
5891 (vfork_jmp_info, procinfo): New.
5892 * wait.c (*): Mostly new.
5893 * sys/strace.h (_STRACE_PARANOID): New.
5894 * sys/param.h: New file.
5896 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5898 * libc/include/sys/stat.h: add S_BLKSIZE.
5899 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
5900 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
5902 (mode_t): add a #else to avoid multiple definitons.
5904 * libc/sys/win32/Makefile.in: add grp.c.
5905 * libc/sys/win32/grp.c: include grp.h correctly.
5906 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
5907 of the st structure with real information.
5908 * libc/sys/win32 (dirent): d_ino is of type ino_t.
5910 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
5912 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
5913 and (maybe) sparc64.
5914 (nlink_t): Provide typedef.
5916 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5918 * libc/sys/win32/grp.c: New file.
5919 * libc/sys/win32/include/grp.h: New file.
5921 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5923 * libc/include/machine/ieeefp.h: Added whitespace to make this
5924 file easier to maintain.
5925 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
5926 depending on the value of __LITTLE_ENDIAN__.
5927 On the sh3e, define _DOUBLE_IS_32BITS.
5929 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
5931 * libc/sys/vr4300/syscalls.c: Added missing support
5932 routines. _raise() and getpid().
5934 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
5936 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
5938 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
5940 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
5941 and VR4300 processor.
5942 * libc/sys/vr4300: Add directory.
5943 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
5944 monitor run-time support.
5946 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5948 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
5949 * libc/stdlib/stdlib.tex: Don't include atol.def.
5951 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5953 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
5955 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
5957 * libc/ctype/Makefile.in: Fill in _to* dependencies.
5959 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
5961 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
5962 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
5963 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
5964 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
5965 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
5967 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5969 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
5971 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5973 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
5974 * libc/stdlib/atoff.c: New file.
5975 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
5976 * libc/stdlib/atoi.c (atol): Removed.
5977 * libc/stdlib/atol.c: Removed duplicate documentation.
5979 * libc/include/ctype.h (_tolower, _toupper): Moved inside
5980 #ifndef _STRICT_ANSI conditional.
5981 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
5982 * libc/ctype/_tolower.c: New file.
5983 * libc/ctype/_toupper.c: New file.
5984 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
5985 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
5986 * libc/ctype/toascii.c (_toascii): Removed.
5988 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
5990 * libc/sys/sparc64/sys/types.h: Deleted.
5992 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5994 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
5995 and recognize Windows_95 systems.
5997 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
5999 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6000 and passed fds should be opened in text mode.
6002 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6004 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6005 in __hmap, set to binary mode by default.
6007 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6009 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6010 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
6013 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
6015 * Makefile.in (install): Install all libraries found in the
6016 top level. If there's a sys/<type>/include directory,
6017 install those headers into include.
6019 * libc/sys/win32/kernel.def351: Delete
6020 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6021 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6022 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6023 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6024 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6025 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6026 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6027 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6029 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6030 * libc/sys/win32/crt0.c: Force all env names to upper case.
6031 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6032 * libc/sys/win32/*.c: Headers have moved.
6033 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6034 __vfork_child_idx is now __vfork_child_ptr.
6036 * posix/execvp (execvp): Don't crash if no PATH envname.
6038 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6040 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6041 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6042 through the _freelist instead of through the _reclaim list.
6043 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6044 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6047 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6049 * libc/machine/h8500/setjmp.S: New file.
6050 * libc/include/machine/setjmp.h: Updated for H8/500.
6052 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
6054 * libc/sys/win32/syscalls.c (_open): More stracing.
6055 (_stat): Open the file in O_BINARY.
6057 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6059 * libc/machine/h8300/setjmp.S: New file.
6060 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6062 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
6064 * libc/sys/win32/crt0.c (__exe_suffix): New global.
6065 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
6066 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
6067 __exe_suffix. Free fd_tab after setting env variable.
6068 (spawnv,_execve): Update.
6069 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
6070 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
6071 (__small_vfprintf): New function.
6072 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
6073 * libc/sys/win32/wait.c (cwait): Validate argument.
6075 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
6076 (process_deletion_queue): Likewise.
6078 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
6080 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
6082 * libc/sys/win32: Copyrights and gratuitous indenting.
6084 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
6086 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
6087 (process_deletion_queue): Likewise.
6088 (__close_all_files): New function.
6089 (_close): Only queue file deletion if really a file.
6090 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
6092 (_exit): Call __close_all_files.
6094 * libc/stdlib/system.c: #include <errno.h>.
6095 (_system_r): Fix results in -DNO_EXEC case.
6097 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
6098 Reorganize structure.
6099 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
6100 if argument is valid. Save directory name in DIR. malloc space
6101 for dirent struct separately.
6102 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
6104 * libc/include/errno.h (ENAMETOOLONG): Define.
6105 * libc/string/strerror.c (strerror): Reword ENFILE.
6106 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
6108 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
6110 * libc/sys/win32/crt0.c (__progname): New global.
6111 (mainCRTStartup): Support strace=bitmask,filename.
6112 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
6113 * libc/sys/win32/syscalls.c (_write): Print parent trace message
6115 (getcwd): Handle len too small. Convert '\\' to '/'.
6116 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
6117 Add prototypes for open, creat, fcntl.
6118 (O_APPEND): Change value to conform to Microsoft's value.
6119 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
6121 * libc/stdlib/getopt.c: New file.
6122 * libc/stdlib/Makefile.in: Build it.
6124 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
6126 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
6127 Fix scanning of $PATH.
6128 * libc/posix/exec*.c: Call _execve, not execve.
6129 * libc/posix/execve.c: New file.
6130 * libc/posix/Makefile.in (OFILES): Add execve.o.
6132 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
6133 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
6134 (_STRACE): If level==0, always print. Handle new bit mask scheme.
6135 * libc/sys/win32/crt0.c: Update _STRACE calls.
6136 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
6138 * libc/sys/win32/smallprint.c (rn): Fix digit list.
6140 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
6141 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
6142 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
6143 Print __seterrno trace message first.
6144 (_execve): Renamed from execve.
6145 (vfork): Update __strace usage.
6146 (__vfork_child_pid): Deleted.
6147 (__vfork_children, __vfork_child_idx): New globals.
6148 (_spawnvp): New function.
6149 (spawnvp, spawnv, _execve): Call _spawnvp.
6150 (init_child): Record child in __vfork_children.
6151 (__vfork_get_entry, __vfork_record_death): New functions.
6152 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
6153 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
6154 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
6155 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
6156 (children): New typedef.
6157 (__vfork_children,__vfork_child_idx): Declare.
6158 (__vfork_get_entry,__vfork_record_death): Declare.
6159 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
6160 (waitpid): Handle pid == -1.
6161 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
6162 * configure.in (i386-win32): Add -DNO_FORK.
6163 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
6164 * libc/reent/execr.c (_fork_r): Likewise.
6165 * libc/stdlib/system.c (do_system): New function.
6166 If WIN32, try to get shell path from $SH_PATH, use vfork.
6167 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
6170 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
6172 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
6173 * libc/sys/win32/fcntl.h: Don't include self.
6174 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
6175 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
6176 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
6177 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
6178 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
6180 * libc/sys/win32/strace.c: New file.
6181 * libc/sys/win32/smallprint.c: New file.
6182 * libc/sys/win32/crt0.c (func): Delete.
6183 (mainCRTStartup): Fix alloca usage. Set handles explictly.
6184 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
6185 * libc/sys/win32/exceptions.c: Lint.
6186 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
6187 Clean up handle usage.
6188 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
6189 (open.c): Default file type is text.
6190 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
6191 * libc/sys/win32/advapi32.def: New
6193 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
6195 * configure.in (posix_dir, libc_posix_lib): New variables.
6196 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
6197 (i[345]86-*-win32): Define posix_dir.
6198 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
6199 (if unix_dir): Fix typo.
6200 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
6201 scandir,seekdir,telldir}: New files.
6202 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
6204 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
6205 (SUBDIRS): Add posix.
6206 (SUBLIBS): Add $(LIBC_POSIX_LIB).
6208 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
6209 (NSIG): Increase to 21.
6210 * libc/include/sys/unistd.h (pid_t): Move from here,
6211 * libc/include/sys/types.h (pid_t): to here.
6213 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
6215 (hinfo): New members close_exec_p, child_created_p.
6216 (struct exception_list): Define.
6217 (__hmap): Redefine as pointer to table.
6218 (__parent_hmap, __child_hmap): New globals.
6219 (__set_errno, __really_exit): Declare.
6220 (__vfork_child_pid): Declare.
6221 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
6222 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
6223 (__parent_hmap, __child_hmap): New globals.
6224 (__hmap): Redefine as pointer to active map.
6225 (__get_console): New function.
6226 (mainCRTStartup): Change leading '=' in environ vars to '!'.
6227 (env __FD_TABLE__): Watch for this and initialize our fd/handle
6228 mapping table from it if defined.
6229 (argv, envp): Dump if __strace >= 4.
6231 * libc/sys/win32/exceptions.c (myp): Redefine.
6232 (__syscalls_b): Delete.
6233 (__stack_trace): New function.
6234 (ehandler3): Update to use _STRACE. Print stack trace.
6235 Call __really_exit instead of exit.
6236 (init_exceptions): Delete args argc,argv. New arg mine.
6237 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
6238 FindFirstFileA, FindNextFileA, GetComputerNameA,
6239 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
6240 * libc/sys/win32/signal.c (signal): Validate arg.
6241 (alarm, sleep): Define as stubs for now.
6242 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
6243 (__syscalls_b, errno): Delete.
6244 (__vfork_child_pid, __vfork_jmp_buf): New globals.
6245 (__seterrno): Handle more errors.
6246 (__sys_printf): Renamed from _ptrace.
6247 (__really_exit): New function.
6248 (queue_file_deletion, process_deletion_queue): New functions.
6249 (__resume_parent): New function.
6250 (_unlink): Handle trying to delete open file.
6251 (__totime_t): Renamed from totime_t.
6252 (setsid, __read, __write): New functions.
6253 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
6254 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
6255 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
6256 * libc/sys/win32/console.c: Update to new definition of __hmap.
6257 * libc/sys/win32/Makefile.in: Build new files.
6258 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
6259 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
6260 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
6261 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
6263 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
6265 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
6267 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6269 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
6270 have been made to the master dtoa.c sources (from netlib.att.com)
6271 since they were integrated into newlib in early 1992. Fixes
6272 problems with storage leaks and handling of numbers with very
6275 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6277 * Makefile.in (all): set rootpre and srcrootpre before calling
6280 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
6282 * libc/sys/win32/crt0.c: Change __hmap usage.
6283 * libc/sys/win32/exceptions.c: Use _ptrace call.
6284 * libc/sys/win32/syscalls.c: Use _ptrace call.
6285 (read, write): Cope with DOS style CRLF when in TEXT mode.
6286 * libc/sys/win32/syscalls.h: Declare hinfo struct.
6287 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
6288 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
6289 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
6290 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
6292 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6294 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
6296 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
6297 wrappers for hypot() and remainder() for BSD libm compatibility.
6298 These are public domain implementations written by me for the
6299 NetBSD libm some time ago. Note cabs() is required by ucbtest.
6300 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
6301 (fobj): Added wf_cabs.o and wf_drem.o.
6303 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6305 * libc/sys/h8500hms/misc.c: New file.
6306 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
6308 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6310 * libc/time/localtime.c (localtime): Fix problem with leap year
6311 handling. Stole algorithm from Arthur David Olson's tz code.
6313 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
6315 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
6317 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
6318 (_exit): Use argument.
6320 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
6322 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
6324 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
6326 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
6328 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6330 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
6333 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
6335 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
6336 ptrace with case insensitivity
6337 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
6338 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
6341 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
6343 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6344 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
6345 (all, install, *clean): Use new multilib support.
6346 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
6348 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
6350 * libc/include/sys/signal.h (__WIN32__): New.
6352 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
6354 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
6355 (ulp, b2d): Handle 32 bit doubles.
6356 * libc/stdlib/mprec.h: Handle 32 bit doubles.
6357 * libc/stdlib/strtod.c (_strtod_r): Ditto.
6359 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
6361 from medp@primag.co.uk:
6362 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
6363 dynamically allocated buffers.
6365 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
6367 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
6368 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
6370 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6372 * configure.in (powerpc): Fix previous fix.
6374 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6376 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
6377 directories for this target.
6379 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
6381 * configure.in (hppa): Add machine_dir definition.
6382 * libc/machine/hppa: New directory with PA specific implementations
6383 of the basic memory/string functions.
6385 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6387 * configure.in: Update current PowerPC multilib directories.
6388 Split big and little endian configurations.
6390 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
6392 * configure.in: Add --enable-single-float option to configure to
6393 control use of MIPS single-float directories. Default to yes.
6395 * Makefile.in (all): Don't recurse into multilib directory if it
6398 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6400 * libc/sys/sh/syscalls.c: Fix typo.
6402 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
6404 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
6406 * libc/include/process.h: Define WAIT_CHILD.
6407 * libc/include/types.h: Get sizes right for win32.
6408 * configure.in (i386-*-pe): Becomes i386-win32.
6409 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6410 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
6411 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
6414 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
6416 * configure.in (i[345]86-*-pe): New target (NT).
6417 * host/any: DLLTOOL new.
6418 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
6419 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
6420 WIN32 (just enough to cross host the comp-tools).
6422 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
6424 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
6425 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
6427 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
6429 * libc/include/machine/ieeefp.h (arm): Change to always be
6430 __IEEE_BIG_ENDIAN (even on little endian ARM's).
6432 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
6434 * libc/sys/crt0.S: Initialze sp, and call exit after main.
6435 * libc/sys/syscalls.c (abort): New.
6436 * configure.in (arm): Define ABORT_PROVIDED.
6438 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6440 * configure.in (powerpc): Define multidirs.
6442 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
6444 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
6446 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
6448 * configure.in (sparclite): Delete target_cflags. Define multidirs.
6450 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
6452 * configure.in, libc/include/machine/ieeefp.h: Modified
6454 libc/machine/arm/*, libc/sys/arm/*: New
6456 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6458 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
6459 __powerpc__ when determining endianness.
6461 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6463 * configure.in (m68*): Add multidir for the m68332.
6465 * host/any (CC): Fix typo in last change.
6467 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
6469 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
6470 when determining endianness.
6471 * libc/include/machine/ieeefp.h: Ditto.
6472 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
6475 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
6477 * libc/include/errno.h (ENOTEMPTY): Define.
6479 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6481 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
6484 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
6487 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
6488 instead of only when open succeeds. ANSI requires that multiple
6489 calls to tmpnam() result in different files.
6491 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
6492 objects pulled in from /lib/libc.a that must be renamed before
6493 being pulled into newlib. /lib/libc.a's div.o conflicted with
6494 newlib's file with the same name.
6496 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
6498 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
6499 the build tree will only be used if the executables are present
6500 (instead of just the Makefiles).
6502 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
6504 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
6505 versions of these functions that I orignally wrote for the
6507 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
6508 versions I wrote for NetBSD.
6510 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
6512 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
6513 * libc/sys/sparclite/crt0.s: ditto.
6515 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
6517 * configure.in: Add soft-float for proelf.
6519 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
6521 * libc/stdlib/mprec.h (Bcopy): Copy the right number
6524 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
6526 * Makefile.in (all): Depend on `force'.
6527 * configure.in (syscall_dir): Renamed from fake_sys_dir.
6528 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
6529 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
6530 * libc/Makefile.in: Likewise.
6531 * libc/include/reent.h: Update syscall references.
6532 (_fcntl_r): Add prototype.
6533 * libc/syscalls/*.c #include <reent.h>.
6534 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
6536 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
6538 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
6539 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
6540 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
6541 (time.h, sys/types.h): Always include (even if MSDOS).
6542 (stat): Fix prototype.
6544 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
6546 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
6548 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6550 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
6552 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
6554 * libc/include/regdef.h: New file.
6555 * libc/machine/mips/machine/regdef.h: New file.
6557 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
6559 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
6561 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
6563 * libc/sys/sh/crt0.S: Pass main's return to exit.
6564 * libc/sys/sh/trap.S: Put errno in the right place.
6566 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
6568 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
6569 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
6570 * libm/math/ef_rem_pio2.c: Likewise.
6571 * libm/math/e_log10.c: Remove unused static one.
6572 * libm/math/ef_log10.c: Likewise.
6573 * libm/math/s_frexp.c: Likewise.
6574 * libm/math/sf_frexp.c: Likewise.
6576 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
6578 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
6579 longjmp.S: Upgraded.
6580 * libc/sys/go32/sys/setjmp.h: Upgraded.
6581 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
6583 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
6585 * configure.in: Add many entries to multidirs for mips targets.
6587 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6589 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
6590 5.2 which fixes bug where jn(-1,x) is three times larger than
6592 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
6594 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
6596 * libc/sys/w65/sys/syscalls.h: New file
6597 * libc/include/machine/ieeefp.h: W65 support.
6598 * libc/include/sys/config.h: Ditto.
6599 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
6600 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
6601 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
6603 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
6605 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
6607 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
6609 * Makefile.in, configure.in: Remove any references to the old
6612 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
6614 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
6615 uses ... in prototype.
6618 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
6620 * libc/sys/a29khif/sys/libconfig.h: Remove.
6621 * libc/sys/go32/sys/libconfig.h: Remove.
6622 * libc/sys/sun4/sys/libconfig.h: Remove.
6623 * libc/sys/sysvi386/sys/libconfig.h: Remove.
6624 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
6625 * libc/sys/sparc64/sys/libconfig.h: Remove.
6627 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
6628 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
6629 * libc/include/math.h: Change all uses of _FLOAT_RET and
6630 _FLOAT_ARG to float.
6631 * libm/test/math.c: Likewise.
6632 * testsuite/libm.sac/math.c: Likewise.
6633 * testsuite/libm.sac/working/math.c: Likewise.
6635 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
6637 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
6638 gcc calls gas with endian option.
6639 * configure.in (sh): Build little endian version too.
6641 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
6643 * configure.in: Configure big and little endian versions for MIPS
6646 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
6648 * libc/include/limits.h: Deleted.
6649 * libc/include/machine/limits.h: Deleted.
6651 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
6653 * ChangeLog: Remove stub directory. This has all been rewritten
6654 and moved to devo/libgloss.
6656 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
6658 * Makefile.in (dvi): Add to info target, use $@ in sub make.
6659 (docs): Merge into info target.
6660 * libm/Makefile.in (dvi): Add $(srcdir).
6661 * libm/math/Makefile.in (chobjs): Remove underscores from file
6662 names. Texinfo doesn't like them.
6663 (wacos.def, ...): Add explicit targets for all .def files.
6664 * libm/math/math.tex: Remove underscores from @include file names.
6665 * doc/Makefile.in (dvi): Add dummy target.
6666 * testsuite/Makefile.in (dvi): Add dummy target.
6668 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
6670 * Makefile.in (VERSION): Define. For net newlib releases.
6672 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
6676 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
6678 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
6680 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6682 * libc/stdlib/setenv.c (_findenv): Declare.
6684 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
6685 fcntl to not use _EXFUN, and change string parameters to open and
6686 creat to be ``const char *''.
6687 * libc/sys/sparc64/sys/fcntl.h: Likewise.
6688 * libc/sys/sparc64/creat.c (creat): Make PATH const.
6689 * libc/syscalls/sysopen.c: Include <fcntl.h>.
6690 (open) Make _FILE const.
6691 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
6692 (_creat): Make PATH const.
6693 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
6694 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
6695 * libc/sys/m88kbug/syscalls.c (open): Likewise.
6696 * libc/sys/sh/syscalls.c (_open): Likewise.
6697 * stub/shared/glue.c (open): Make BUF const.
6698 * stub/ex93x/syscalls.c (open): Make FILENAME const.
6700 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
6702 * libc/include/errno.h: Add ENMFILE
6703 * libc/include/sys/config.h: Support Z8000.
6704 * libc/include/sys/signal.h: New signals for go32.
6705 * libc/machine/h8500/psi.S (__addpsir0r0): New function
6706 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
6707 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
6708 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
6709 size is variable, depending upon CHUNK_POWER.
6710 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
6712 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
6714 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
6716 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6718 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
6720 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6722 * configure.in: Change i[34]86 to i[345]86.
6724 * libc/include/math.h: Don't define HUGE_VAL if it is already
6727 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6729 * testsuite/libm.sac/test_erfc.c: Correct some result values.
6730 * testsuite/libm.sac/test_gammaf.c: Likewise.
6731 * testsuite/libm.sac/test_sin.c: Likewise.
6732 * testsuite/libm.sac/test_tanh.c: Likewise.
6734 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6736 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
6737 already set. Define typedefs __int32_t and __uint32_t.
6738 * libc/include/math.h: Include <machine/ieeefp.h>.
6739 (union __dmath): Use __uint32_t.
6740 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
6741 instead of int and unsigned int.
6743 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6745 Replace the math library with the SunPRO fdlibm package.
6746 * libm/math: Completely changed all files.
6747 * libm/ieeefp: Remove contents and directory.
6748 * libm/Makefile.in (LIBM_FP_LIB): Remove.
6749 (SUBDIRS): Just set to math/lib.a.
6750 * libm/libm.texinfo: Updated for new library.
6751 * libc/include/math.h: Extensive changes for new math library.
6752 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
6753 from _FLOAT_ARG to float.
6754 (maxpowtwo, maxpowtwof): Don't declare.
6755 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
6756 (libm_fp_lib): Removed.
6757 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
6758 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
6759 argument to ${RUNTEST}.
6760 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
6762 (RUNTESTFLAGS): Set CC and CFLAGS.
6763 (TESTS): Remove test_log2 and test_log2f.
6764 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
6765 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
6766 _FLOAT_ARG, for single precision argument type.
6767 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
6768 expected failure. Close the input pipe.
6769 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
6770 Correct misspelling of inaccurate.
6771 (test_mok): Use ``inaccurate'', not ``wrong''.
6772 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
6773 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
6774 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
6775 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
6776 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
6777 test_yn.c): Correct many result values. Many are still wrong.
6779 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
6780 just copy the string.
6781 (_gcvt): Always return the buffer.
6783 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6785 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
6787 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
6789 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
6791 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
6792 (_reclaim_reent): declare new entry point.
6793 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
6796 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
6797 ever allocated, so that we can later reclaim them all.
6798 (pow5mult): make reentrant.
6800 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
6801 so that when given NULL as a buffer, return a pointer to static
6802 space in the rent structure. This is not documented behaviour;
6803 it's only to support ecvt and fcvt, which aren't ANSI anyway.
6804 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
6805 therefore become reentrant).
6807 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
6809 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6811 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
6813 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
6815 * Makefile.in: Make link to libg.a after libc.a; this is needed
6816 for the testsuites to build executables when everything comes
6819 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
6821 * libc/Makefile.in: Add a VERSION variable so we can keep track.
6822 * libm/Makefile.in: Add a VERSION variable so we can keep track.
6824 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
6826 * libc/include/stdio.h: Use __VALIST, not va_list.
6828 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
6830 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
6831 testsuite/libm.sac/execute.exp:
6832 Replace error proc calls with perror calls.
6834 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
6836 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
6837 * libc/include/time.h: #define NULL as 0L.
6839 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
6841 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
6844 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6846 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
6849 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
6851 * configure.in (TARGET_CFLAGS): Set -O2 as default.
6852 (z8k-*-*): Use syscalls fake sys dir.
6853 * libc/sys/z8k/glue.c: Rename syscalls.
6854 * libc/sys/go32/Makefile.in: Use new routines.
6855 * libc/machine/Makefile.in: Fix typo in ln stuff.
6857 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6859 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
6860 * libc/Makefile.in (crt0.o): Likewise.
6861 * libc/machine/Makefile.in (lib.a): Likewise.
6862 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
6864 All Makefile.in files: Added mostlyclean, realclean and distclean
6867 * Makefile.in: Don't bother to unexport XTRAFLAGS or
6868 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
6869 the top level Makefile.
6871 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
6873 * libc/sys/sparc64/sys/stat.h: New file.
6874 * libc/sys/sparc64/sys/time.h: New file.
6875 * libc/sys/sparc64/sys/types.h: New file.
6877 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
6879 * stub/ex93x/crt0.s (start): Add code to clear bss.
6881 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
6883 * libc/include/sys/types.h (time_t): Properly protect inside
6884 #ifndef __time_t_defined.
6886 * libc/stdio/fileno.c: New file.
6887 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
6888 (fileno.o): Add dependency.
6889 * libc/include/stdio.h (__sgetc): Rename never to _never.
6890 (fileno macro): Disable, needs to do CHECK_INIT first.
6892 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
6894 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
6897 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
6898 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
6900 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
6903 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
6905 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
6906 of the various constants.
6908 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
6910 * libc/include/math.h: #ifndef __math_68881 around things which
6911 conflict with the (gcc-provided) inline functions in
6912 gcc/ginclude/math-68881.h.
6914 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
6916 * libc/include/_syslist.h (_gettimeofday): Define.
6918 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
6919 (struct tms, timeval, timezone): Declare.
6920 (_gettimeofday_r, _times_r): Declare.
6921 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
6922 #ifdef _CLOCK_T_ surrounding definition of clock_t.
6923 (time_t): Add multiple definition protection, __time_t_defined.
6924 * libc/include/sys/time.h: Don't #include <time.h>.
6925 Always define struct timezone (remove #ifndef _TIME_H_).
6926 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
6927 #ifdef _CLOCK_T_ surrounding definition of clock_t.
6928 * libc/reent/Makefile.in (OFILES): Add timer.o.
6929 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
6930 * libc/reent/timer.c: New file.
6931 * libc/time/clock.c: #include <reent.h>.
6932 (clock): Call _times_r instead of times.
6933 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
6934 HAVE_GET_TIME_OF_DAY.
6935 Add comment regarding supporting OS routine(s) required (for docs).
6937 (time): Call _gettimeofday_r instead of gettimeofday.
6938 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
6939 * libc/time/ctime.c: Ditto.
6940 * libc/time/strftime.c: Ditto.
6941 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
6942 (TEMPLATE_SFILES_R): Define here. Also define times.
6943 Add times_r.o/times.S dependence.
6944 (time2.c, junk.c): Deleted.
6945 * libc/sys/sparc64/time2.c: Deleted.
6946 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
6948 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
6949 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
6950 * libc/sys/sparc64/junk.c: Deleted.
6952 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
6954 * libc/sys/sparc64/Makefile.in: Add times syscall.
6955 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
6956 be used with and without it. Add comment clarifying Medium/Anywhere
6958 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
6959 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
6962 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
6964 * configure.in (target_cflags): Move init.
6965 (sparc64-*-*): Define HAVE_BLKSIZE.
6967 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
6969 * libc/include/sys/_types.h: New file.
6970 * libc/include/reent.h: #include it.
6971 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
6972 MISSING_SYSCALL_NAMES.
6974 * libc/include/_syslist.h: Remove _raise.
6975 * libc/reent/signalr.c: New file.
6976 * libc/reent/Makefile.in: Compile it.
6977 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
6978 Add doc for raise and _raise_r.
6979 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
6980 (raise): Call _raise_r.
6981 (_raise_r): Call _getpid_r and _kill_r.
6982 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
6983 (abort): Loop forever calling raise and _exit.
6985 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6987 * configure.in: Remove extraneous echo.
6989 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
6991 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
6992 collision with unistd.h, and fix for svr4.
6994 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
6996 * libc/stdio/local.h (_llicvt): Declare.
6997 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
6998 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7000 (_sicvt): Fix function header (`value' is short).
7001 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7002 Add printing of long long's support.
7003 Add printing of 8 byte pointer support.
7005 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
7007 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7008 stat, chmod): New hooks.
7009 (sbrk): Abort if stack and heap collide.
7010 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7011 shortcut when given small args.
7012 * libc/machine/sh/setjmp.s: Rewritten.
7013 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7014 of cmp/str instruction.
7016 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7018 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7019 and machine_dir powerpc.
7020 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7021 Add cases for __powerpc__.
7022 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7025 * libc/include/stdio.h (_iprintf_r): Declare correctly.
7027 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
7029 * libc/stdlib/callocr.c: New file with _calloc_r in it.
7030 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7032 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
7034 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7035 (print_e): More comments to describe args, etc.
7036 "type" arg may now be 'g' or 'G' for %g/G format --> remove
7038 (_gcvt): Remove locals decpt, sign, end, p, done.
7039 More comments for print_e invocation.
7040 Pass "type" to print_e as is (g/G).
7042 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
7044 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7047 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
7049 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7050 works with any sized pointer, including ones bigger than ints and
7053 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
7055 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7057 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7059 * libc/include/stdlib.h (_calloc_r): Add prototype.
7060 * libc/machine/h8500/negsi2.c: New file.
7061 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7062 large unsigned numbers.
7063 * libc/machine/h8500/cmpsi.c: Add cmppsi.
7064 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
7065 works when sizeof(size_t) != sizeof(char *).
7066 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
7068 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
7070 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
7072 * libc/include/assert.h (assert): Handle -traditional.
7074 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
7076 * Makefile.in: added ; after every "fi" and "done" that wasn't at
7077 the end of a line (ie. anything before a backslash continuation)
7078 so that bash handles them.
7080 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7082 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
7085 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
7087 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
7088 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
7089 libc/machine/sh/udivsi3.s: Use new calling convention.
7091 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
7093 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
7094 chmod, access, chdir, chown by making _path const. Also fix _amode
7097 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
7099 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
7100 _khif_tmpnam, because it doesn't comply with ANSI but may be
7101 useful anyway. Real tmpnam was already in libc/stdio, and was
7102 colliding with this one (pr 2176.)
7103 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
7104 the wrong idea anyhow.
7106 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
7108 * configure.in: Remove h8300h, we have multilib now.
7110 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
7112 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
7113 functions, to get preference over the ones in libiberty (since we
7114 provide correct declarations in <string.h>.
7115 * libc/string/Makefile.in: add support for strncasecmp,
7118 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
7120 * Change netware config not to look for cpu explicitly.
7122 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
7124 * libc/sys/sparc64/{creat.c,junk.c}: New files.
7125 * libc/sys/sparc64/Makefile.in: Add dependencies.
7127 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
7129 * configure.in: Clean up v9 a bit, new "os" aoutv8.
7131 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
7133 * libc/include/sys/reent.h: make structure smaller by allocating
7134 some stuff when needed.
7135 * libc/signal/signal.c: allocate as needed
7136 * libc/stdio/findfp.c,stdio/local.h: ditto
7137 * libc/stdlib/mprec.c: ditto
7139 * libc/time/localtime.c: don't return a dangling stack ptr.
7141 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
7143 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
7145 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7147 * libc/include/stdio.h (__sputc): comment out static inline which
7148 confuses coff toolchains.
7150 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
7152 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
7153 _write.s, getpid.c, kill.c, read.s}:
7154 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
7155 through the syscalls directory.
7157 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
7159 * configure.in: fixed double quote gotcha.
7161 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
7163 * stub/ex931: stub library for sparclite board.
7164 * stub/idp: Renamed from mc68ec. Added contructor table
7165 stuff to linker script.
7166 * stub/mvme135: Renamed from m68kmvme. Added contructor table
7167 stuff to linker script.
7169 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7171 * configure.in: Configure testsuites only if they exist.
7173 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7175 * configure.in: Don't set machine_dir for i386 until there is
7176 something in libc/machine/i386 to compile. For i[34]86-*-netware*
7177 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
7178 CLOCK_PROVIDED and MALLOC_PROVIDED.
7180 * libc/sys/netware: New directory. Contains simplistic and
7181 probably incorrect stubs for NetWare. Should be enough to load
7183 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
7184 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
7187 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
7188 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
7189 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
7190 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
7192 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
7194 * testsuite/Makefile.in: add "docs" dummy target for consistency
7195 with rest of newlib; turn "info" and "install-info" into dummy
7196 targets, since they wouldn't have worked. (Depended on
7197 nonexistent "doc" subdir.)
7199 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
7201 * configure.in: handle mips* instead of mips
7203 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
7205 * libc/include/sys/dirent.h: New file. If it is not overridden by
7206 a version of libc/sys/*/sys/dirent.h, it includes the next
7207 <dirent.h> file in case there is one lurking somewhere.
7209 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7211 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
7212 compliance, namely: Accept a minus sign. Consider a single 0 with
7213 a radix of 0 as being a conversion. Determine overflow correctly.
7214 If an overflow occurs, set *ptr to the end of the number, not the
7216 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
7218 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
7220 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
7222 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
7224 * Makefile.in (INSTALL): Use $srcrootpre.
7225 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
7227 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
7229 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
7230 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
7231 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
7232 * libm/math/Makefile.in (matherr.o): Ditto.
7234 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
7236 * configure.in: Build multidirs for z8k.
7237 * libc/include/stdlib.h (_strtoul_r): add prototype.
7238 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
7239 * libc/include/machine/setjmp.h: Add for z8k.
7240 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
7241 * libc/sys/z8ksim/glue.c: tidy up.
7243 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
7245 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
7246 New files. Requires execve system call.
7247 * libc/unix/Makefile.in: Use them.
7248 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
7249 Deleted, moved to libc/unix.
7250 * libc/sys/sparc64/Makefile.in: Remove them.
7252 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
7254 * libc/sys/sparc64/{template.S template_r.S}: New files.
7255 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
7257 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
7258 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
7259 umask.S unlink.S wait4.S write.S}: Removed, now built from
7262 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
7264 * libc/time/time.c: #include <_ansi.h>.
7266 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
7268 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
7270 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7272 * configure.in: match m8* rather than m88k so that m88110 is
7275 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
7277 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
7278 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
7281 * configure.in: Add multilib support to h8300.
7283 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
7285 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
7286 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
7287 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
7289 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7291 * configure.in: Corrected multidirs for sparc target.
7293 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7295 Support for building newlib multiple times with different
7297 * configure.in: Only configure doc at top level. Set multidirs
7298 when appropriate for target, unless not at top level. If
7299 multidirs is set, independently configure each subdirectory.
7300 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
7301 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
7302 automagically set by configure.in.
7303 (all): If MULTIDIRS is set, build multiple copies of libraries.
7304 (install): If MULTIDIRS is set, install multiple copies of
7305 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
7306 MULTISUBDIR is set, don't bother to install header files.
7307 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
7309 * stub/configure.in: Set MULTISUBDIR appropriately.
7310 * stub/Makefile.in (install): Install in
7311 $(tooldir)/lib/$(MULTISUBDIR).
7312 * All Makefile.in files: Define SRCTOP as well as TOP.
7314 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
7316 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
7317 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
7319 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
7321 * libc/sys/h8300hms/exit.c (_exit): New function.
7323 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7325 * configure.in: recognize m88110.
7327 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7329 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
7330 prototype main and call with args.
7332 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
7334 First real try at system traps for m88k-bug.
7335 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
7337 * libc/sys/m88kbug/sys/systraps.h: new file.
7339 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7341 Patches to fix info building when target does not use sys
7343 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
7344 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
7346 * libc/sys/Makefile.in (doc): do nothing.
7348 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7350 * libc/Makefile.in (CRT0): new macro.
7351 (all): depend on $(CRT0) rather than crt0.o.
7353 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
7354 do not default crt0, instead, set crt0 and crt0_dir based on
7355 sys_dir and stub_dir.
7357 * Makefile.in (CRT0_DIR): new macro.
7358 (all): depend on $(CRT0) rather than crt0.o which may not exist.
7359 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
7361 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
7363 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7365 * testsuite/lib/libm.exp:
7366 added code to support compiling and linking of tests for
7367 libm.sac (paranoia to be added next) and processing the
7368 pass or failure of the tests.
7370 * testsuite/config/unix-libm.exp:
7371 platform specific proc's for dealing with compiler, linker
7372 and the way we execute and process the test results.
7374 * testsuite/libm.sac/execute.exp:
7375 generic framework for the sac tests. the config and lib
7376 expect code for specific platforms tie it all together.
7378 * testsuite/libm.sac/test_is.c:
7379 changed the output of the test to be consistant with the
7380 other tests. parsing of pass nad fail messages is now fixed.
7382 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
7384 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
7385 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
7386 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
7387 #ifdef __cplusplus, surround by extern ""C { ... }.
7388 * libc/include/assert.h: Do *not* protect assert.h against
7389 multiple inclusion! Also, #undef it before #define, to allow
7391 * libc/include/stdio.h (getlogin, cuserid): Removed. These
7392 should be only in unistd.h.
7394 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
7395 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
7398 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
7400 * libc/machine/sparc/Makefile.in: Must create a library, even
7403 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7405 * configure.in: set machine_dir for m88k. edit crt0 definition
7408 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
7410 * libc/Makefile.in (all): also build crt0.o.
7412 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
7413 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
7416 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
7417 (all): reworked to build in place.
7418 (clean): remove lib.a
7419 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
7421 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
7422 (_start): key off edata rather than _start_bss.
7424 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
7426 * libc/include/sys/unistd.h, libc/include/reent.h,
7427 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
7429 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7431 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
7433 * Makefile.in (libc.a): break into two rules, one for libc.a and
7434 one for libc/libc.a. Force subdirs current before rebuilding
7436 (libm.a): break into two rules, one for libm.a and one for
7437 libm/libm.a. Force subdirs current before rebuilding library.
7439 * libc/Makefile.in (SUBLIBS): fix typo.
7441 * libc/sys/Makefile.in (all): force descent into subdirs, then
7442 rebuild library iff out of of date.
7444 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
7446 Rework so that library is built and then finished rather than
7447 being built on each invocation of make.
7449 * host/any (machine_dir, sys_dir, signal_dir): these are not
7450 shared and have been moved to their associated Makefile.in's.
7451 (AR_FLAGS): switch to qc which is faster.
7452 * configure.in: no longer assign machine_dir for m88k. set
7453 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
7454 stub_dir set, then add to configdirs. add comment about silly
7456 (configdirs): drop stub. It will be added only
7458 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
7459 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
7460 stub_lib, crt0): new variables for tailoring lower level
7461 makefiles. Assign accordingly and edit into makefiles.
7462 * libm/Makefile.in: updated copyright.
7463 (TARGETLIB): removed.
7464 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
7465 (SUBDIRS): removed TARGETDEP_DIRS.
7466 (LIBM_FP_LIB, SUBLIBS): new macros.
7468 (force): new target to force rebuilds.
7469 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7470 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
7471 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
7472 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
7473 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
7474 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
7475 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
7476 stub/m68kmvme/Makefile.in: updated copyright.
7477 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
7478 (all): reworked. made this the default rule.
7479 (clean): also remove lib.a.
7480 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7481 * stub/Makefile.in: updated copyright.
7482 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
7483 (stub_lib): new macro.
7484 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
7487 (clean, install): assume stub_dir exists.
7488 (Makefile): depend on configure.in. call $(SHELL) rather than
7489 sh. drop redundant ./
7490 * stub/configure.in (stublib): new macro, assign it, edit it into
7492 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
7495 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7496 * libc/Makefile.in (TARGETCRT0): removed.
7497 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
7499 (SUBDIRS): drop TARGETDEP_DIRS.
7500 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
7501 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
7502 (force): new target to force rebuilds.
7503 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
7504 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
7506 (clean): assume sys_dir always exists.
7507 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
7509 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
7510 libc/locale/Makefile.in, libc/machine/Makefile.in,
7511 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
7512 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
7513 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
7514 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
7515 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
7516 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
7517 libc/signal/Makefile.in, libc/stdio/Makefile.in,
7518 libc/stdlib/Makefile.in, libc/string/Makefile.in,
7519 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
7520 libc/time/Makefile.in, libc/unix/Makefile.in,
7521 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
7522 (TARGETLIB): removed.
7524 (clean): also remove lib.a.
7525 (Makefile): call $(SHELL) rather than sh. drop redundant ./
7526 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
7528 (SUBDIRS): moved to follow frag inclusion, change stub to
7530 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
7531 are now set in the libc Makefile.
7532 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
7533 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
7535 (force): new target to force rebuilds.
7536 * stub/configure.in: determine and set stub_lib for for Makefile.
7538 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
7540 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
7541 crt0.s renamed to crt0.S.
7542 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
7544 * libc/machine/h8300/Makefile.in: Make `all' the default target.
7545 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
7547 * libc/machine/h8300/defines.h: Add macros to handle pointers for
7548 h8300 (16 bits) and h8300h (32 bits).
7549 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
7550 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
7552 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
7554 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
7555 implementation of setjmp and longjmp for the m88k.
7556 * libc/include/machine/setjmp.h: Added __m88000__ case.
7558 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
7560 * configure.in: Recognize h8300h as variant of h8300.
7562 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
7564 * libc/include/sys/unistd.h (read, write): get prototypes right.
7565 (sbrk): New prototype.
7566 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
7567 * libc/stdio/local.h: Include unistd.h.
7568 * libc/machine/h8300/syscalls.c: Names have changed.
7570 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
7572 * configure.in: add sys_dir assignment for m88k-bug.
7574 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
7576 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
7578 * libc/sys/sparc64: all *.S files: Use new macros.
7579 * libc/sys/sparc64/isatty.c: New file.
7580 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
7581 functions beyond what newlib provides.
7583 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
7585 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
7588 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
7590 * libc/include/machine/ieeefp.h: Add support for h8/300h.
7592 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
7594 * configure.in: add m88k.
7595 * libc/include/machine/ieeefp.h: add case for m88k. Also add
7596 sanity check so no one else need ever chase what I did to find
7599 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
7601 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
7603 * doc/makedoc.c: Include <ctype.h>.
7605 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
7607 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7608 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7609 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
7611 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
7613 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
7615 * libc/include/errno.h (ENOSYS): Added.
7617 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
7619 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
7621 * libc/stdio/fflush.c (fflush): Check for reent struct
7623 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
7625 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
7627 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
7628 out of dtoa.c so it doesn't pollute the namespace.
7629 * libc/include/_syslist.h: new file -- mappings from _function to
7630 function, for systems where we can't win (by default, all of them,
7631 until we start updating system calls.)
7632 * libc/syscalls: new directory -- stubs for exporting _function
7633 names as unmodified function names.
7634 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
7635 _syslist.h on all platforms by default, but put hooks in for
7636 fake_sys_dir so we can include it when we've renamed the system
7638 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
7639 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
7640 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
7641 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
7642 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
7643 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
7644 non ANSI functions to call _function.
7646 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
7648 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
7649 when base 16 is specified. Don't accept non-digits if radix > 10.
7651 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
7653 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
7655 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
7657 * libc/include/sys/stat.h: Surround text after #endif with
7660 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
7662 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
7663 _malloc_r, _realloc_r, and free_r call the corresponding
7664 non-reentrant functions.
7666 * libm/math/modf.c (modf): We now take the address of ipart, so
7667 don't make it a register variable.
7669 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
7671 * libm/math/*: Rename all xxx_r fns to _xxx_r.
7673 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
7675 * libc/libc.texinfo and embedded docn throughout: formatting
7676 improvements, minor rephrasing for clarity, and improved
7679 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7681 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
7683 * libc/stdio/cvt.c (_licvt): Print the right value on machines
7684 where sizeof(int) != sizeof(long).
7686 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
7688 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
7689 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
7690 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
7691 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
7692 libm/math/matherr.c: changes for better docn formatting (info).
7694 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
7695 libc/reent/reent.tex, libc/signal/signal.tex,
7696 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
7697 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
7698 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
7699 makeinfo node defaulting to get better Info file node structure.
7700 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
7701 Also include a few formerly missing sections (subroutines).
7703 * doc/doc.str: delete fossil expansion for "func"
7705 * default.menu, no-signal.menu: delete.
7707 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
7708 method used to adjust doc for missing "signals" chapter when
7709 signal_dir is empty.
7711 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7713 * configure.in: added testsuite/libm.sac
7715 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
7717 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
7720 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
7722 * libm/Makefile.in: Use $(MAKE) rather than make, and define
7723 MAKEOVERRIDES to be empty.
7725 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
7727 * configure.in: Don't build mips-*-* with -msoft-float, since that
7728 makes it incompatible with hard floating point.
7730 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7732 * Makefile.in: added recursive 'make check'
7734 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
7736 * configure.in: added ./testsuite ./testsuite/libm.paranoia
7737 * ./testsuite/Makefile.in: created
7738 * ./testsuite/libm.paranoia: paranoia tests added
7740 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
7742 * configure.in: For mips-*-* set machine_dir to mips.
7744 * libc/machine/mips: New directory.
7745 * libc/machine/mips/Makefile.in: New file.
7746 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
7748 * libc/include/machine/setjmp.h: Added __mips__ case.
7750 * libc/machine/lmips: Removed unused and useless directory.
7752 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
7754 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
7756 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
7758 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
7761 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
7763 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
7766 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
7768 * libm/test/convert.c: structure member errno -> errno_val.
7769 Must include <errno.h> to use errno, it's a macro now.
7770 * libm/test/math.c: Ditto.
7771 * libm/test/math2.c: Include errno.h.
7772 * libm/test/string.c: Ditto.
7773 * libm/test/test.h: structure member errno -> errno_val.
7774 Remove extern int errno decl.
7776 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
7778 * libc/stdio/Makefile.in: Added dependencies on local header
7780 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
7783 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
7785 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
7787 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
7789 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
7792 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
7793 * libc/stdio/local.h: Add prototype for _licvt.
7795 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
7796 instead of malloc,reealloc.
7798 * libc/stdlib/local.h: New file.
7799 * libc/stdlib/efgcvt.c: #include local.h.
7800 (gcvt): Fix call to _gcvt.
7801 * libc/stdlib/ecvtbuf.c: #include local.h.
7803 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
7804 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
7805 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
7807 * libc/stdlib/atexit.c: moved global data to struct _reent.
7808 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
7810 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
7812 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
7814 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
7815 here from ../reent.h.
7817 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
7819 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
7820 should be provided in both libc.a and libm.a.
7821 (libc.a): Depend on targ-include and libm.a. Copy
7822 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
7823 (libm.a): Depend on targ-include.
7824 * configure.in (subdirs): Removed libc/math.
7826 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7828 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
7830 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
7832 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
7833 sys/reent.h instead of reent.h.
7834 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
7835 headers moved to sys/reent.h.
7836 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
7837 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
7838 __need__MAX_SIGNALS defined.
7839 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
7840 std{in,out,err} refer to new _std{in,out,err} members.
7842 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
7844 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
7847 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
7849 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
7850 rather than whatever macro seterrno() has.
7852 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
7854 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
7855 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
7857 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
7860 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
7861 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
7862 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
7864 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
7865 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
7867 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
7868 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
7869 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
7870 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
7871 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
7872 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
7873 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
7874 renamed to _xxx_r. struct reent_struct renamed to struct _reent
7875 for ANSI. structure members given leading "_" for ANSI. Use
7876 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
7878 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
7879 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
7880 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
7881 reent_struct renamed to struct _reent for ANSI.
7882 Structure members given leading "_" for ANSI.
7883 _CONST --> const in prototypes.
7884 Use _HAVE_STDC instead of __STDC__.
7886 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
7888 struct reent_struct renamed to struct _reent for ANSI.
7889 Structure members given leading "_" for ANSI.
7891 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
7893 struct reent_struct renamed to struct _reent for ANSI.
7895 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
7896 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
7897 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
7898 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
7899 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
7901 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
7902 signal.h, stdio.h, stdlib.h, string.h, time.h}:
7903 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
7904 #ifndef _STRICT_ANSI non-ANSI routines.
7905 Reentrant routines renamed from _r_xxx to _xxx_r.
7906 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
7907 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
7908 Clean up namespace (structure members have leading "_").
7909 struct reent_struct renamed to struct _reent for ANSI compliance.
7910 _CONST --> const in function prototypes.
7912 * libc/include/string.h: Add NULL and size_t.
7914 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
7915 unlink, wait, wait4. Reentrant syscall routines close, fork,
7916 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
7918 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
7919 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
7920 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
7921 write.S}: Define reentrant versions.
7922 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
7925 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
7927 * libc/include/stdlib.h (RAND_MAX): Fix value.
7929 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
7931 * libc/sys/a29khif/_main.c: Removed unnecessary file.
7932 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
7933 VPATH support targets after all: target.
7935 * stub/mvme135/mvme.S: Renamed exceptionhandler to
7936 exceptionHandler, which is what mvme135-stub.c expects.
7938 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
7940 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
7942 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
7943 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
7946 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
7948 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
7950 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
7952 libc/reent/fstatr.c (_r_fstat): Ditto.
7953 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
7954 libc/reent/sbrkr.c (_r_sbrk): Ditto.
7955 libc/reent/statr.c (_r_stat): Ditto.
7957 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
7958 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
7959 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
7960 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
7961 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
7962 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
7963 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
7964 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
7965 (__swrite): Ditto for _r_lseek, _r_write.
7966 (__sseek): Ditto for _r_lseek.
7967 (__close): Ditto for _r_close.
7968 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
7970 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
7971 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
7973 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
7974 to make reent_struct the first argument (and thus consistent with
7975 the rest of newlib).
7977 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
7978 reference to __STDC__.
7980 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
7982 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
7985 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
7987 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
7989 libc/stdio/fclose.c (fclose): Ditto.
7991 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
7993 * Run through indent and rename reentrant routines for ANSI.
7994 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
7995 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
7996 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
7997 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
7998 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
7999 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8000 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8001 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8002 vsprintf.c wbuf.c wsetup.c local.h}
8004 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8006 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8007 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8008 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8009 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8010 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8011 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8013 * Run through indent.
8014 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8015 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8016 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8017 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8020 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8021 localtime.c mktime.c strftime.c time.c}:
8022 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8024 * Reformatting + renaming (for ANSI, GNU style, consistency).
8025 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8026 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8027 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8029 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
8031 * libc/include/stdio.h (stdin_r): Fix.
8033 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
8035 * Makefile.in: Unexport some variables to keep GNU make from
8036 putting them in the environment and using up needed ARG_MAX space
8037 (a hack is used to let this work with older makes as well).
8039 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
8041 * Makefile.in: Use $(MAKE) rather than make.
8042 (MAKEOVERRIDES): Define to be empty.
8043 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8044 (libc.a, libm.a): Depend on targ-include.
8045 * host/any (LD): Don't define.
8046 (INCLUDES): Use targ-include.
8047 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8048 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8049 * libc/Makefile.in: Use $(MAKE) rather than make.
8050 (MAKEOVERRIDES): Define to be empty.
8051 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8052 (all): Rewrote to be slightly smaller.
8053 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8055 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8056 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8058 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
8060 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8063 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
8065 * Changes for reentrancy.
8066 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
8067 Use ptr->_errno, not errno.
8068 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
8069 libc/stdio/remove.c (remove_r): New function.
8070 libc/stdio/rename.c (rename_r): New function.
8071 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8072 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
8073 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
8074 reentrant versions of system calls.
8075 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
8076 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
8077 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
8078 libc/stdio/findfp.c: Include <string.h>.
8079 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
8081 libc/stdio/wbuf.c: Include "fvwrite.h"
8083 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
8085 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
8086 (NULL): Don't define if already defined.
8087 libc/stdlib/system.c: Call reentrant versions of system calls.
8088 (system_r): New function.
8090 * Changes for reentrancy.
8091 libc/include/_ansi.h (_PARAMS): New macro.
8092 libc/include/errno.h: Define errno as a macro that calls __errno.
8093 (__errno_r): New macro for reentrant code.
8094 libc/include/math.h: Include reent.h. Declare many reentrant
8096 (signgam): Now a macro, not a variable.
8097 (struct exception): Added err field.
8098 libc/include/reent.h: Don't declare __sglue. Added function
8100 (struct reent_struct): Moved errno to beginning. Added _signgam.
8101 libc/include/stdio.h, libc/include/stdlib.h: Added function
8104 * More reentrancy hacking.
8105 libc/errno/errno.c (__errno): New function.
8106 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
8107 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
8110 * Added many new reentrant functions to libm/math/*.
8111 libm/math/error.c (__matherror): Added reent_struct pointer
8112 argument. Changed all callers.
8113 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
8114 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
8115 libm/math/tan.h: Removed obsolete unused header files.
8117 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
8119 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
8121 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8123 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
8126 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8128 * libc/libc.texinfo: comment out reentrancy chapter (duh)
8130 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8132 * libc/reent/reent.tex: New file. (text from
8133 newlib/libc/libc.texinfo)
8134 * libc/stdio/tmpnam.c: fixed doc typo
8135 * libc/stdlib/rand.c: fixed doc typo
8137 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
8139 * libc/reent/reent.tex: New file. (text from
8140 newlib/libc/libc.texinfo)
8142 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8144 support for reentrancy
8145 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
8147 * libc/errno/errno.c, libc/include/ieeefp.h,
8148 libc/include/locale.h, libc/include/reent.h,
8149 libc/include/signal.h, libc/include/stdio.h,
8150 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
8151 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
8152 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
8153 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
8154 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8155 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
8156 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
8157 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
8158 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
8159 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
8160 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
8161 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
8162 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
8163 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
8164 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
8165 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
8166 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
8167 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
8168 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
8169 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
8170 libc/time/strftime.c: modify to provide reentracy.
8173 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
8174 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
8175 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
8176 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
8177 mstats_r, realloc_r, localeconv_r, setlocale_r
8179 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
8181 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
8182 libc/include/sys/config.h, libc/include/sys/signal.h,
8183 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
8184 provided macros (such as m68000), use the ansi version
8185 (__m68000__) so that the library can be used with code compiled
8186 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
8189 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8191 * configure.in (sparc*): Don't set -fsoft-float for sparc
8192 configurations. Do set -fsoft-float for sparclite configurations.
8194 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8196 * default.menu, no-signal.menu: alternate forms of libc main menu
8197 (in newlib rather than newlib/libc due to configuration restrictions)
8199 * configure.in: select one of the two menus above, link to
8202 * libc/libc.texinfo: include menu from separate file
8204 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
8206 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
8207 (info): Split long shell command in half.
8208 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
8209 sub-makes, just CHEW and TARGETDOC.
8210 (targetdep.tex): Removed now special handling of sys and machine
8211 subdirectories, made obsolete some time ago.
8212 * libc/machine/Makefile.in (doc): Don't pass everything to
8213 sub-make, just CHEW and TARGETDOC.
8214 (Makefile): New target.
8215 * libc/sys/Makefile.in (Makefile): New target.
8217 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
8219 * Makefile.in (here and most subdirectories): Only pass down CHEW
8220 and TARGETDOC when making info, not for other targets.
8222 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
8223 $(AR_FLAGS) rather than $(ARUPDATE).
8225 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
8227 * Try to reduce command line length:
8228 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
8229 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
8230 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
8231 (info): Pass CHEW to other subdirs.
8233 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
8235 * configure.in: add signal_dir, like unix_dir, but by default it
8236 is set to "signal" so that a29khif can turn it off (since a29khif
8237 has raise() as part of machine-specific signal.s.)
8239 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8241 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
8242 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
8244 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
8245 libc/stdio/vfprintf: type lint.
8246 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
8248 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
8250 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
8252 * stub/mvme135/mvme135-asm.S: new file.
8253 stub/mvme135mvme135-stub.c: moved all assembler routines into
8255 stub/mvme135/Makefile.in: build mvme135-stub.o.
8257 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
8259 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
8260 sub-Makefiles instead, to try to avoid line length limitations.
8262 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
8264 * libc/include/unistd.h (read, write): Use void* instead of
8267 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
8269 * stub/go32/resetpc: sample script to send a reset packet to the
8272 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
8273 DOS environment, which compiles with Turbo C.
8275 * stub/go32/DSER32.LNK: new file, linker commands for serial
8278 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
8279 start up message to identify version; call set_debug_traps.
8281 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
8282 keyboard interaction); call handle_exception() in go_til_stop,
8283 rather than return, so that the remote stub gets control.
8285 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
8286 rename, rather than mv), set flags that work with current Turbo C,
8287 including using the /3 flag; also, add commands to build dser32.
8289 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
8290 default Turbo C installation (\tc rather than \usr)
8292 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
8295 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8297 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
8299 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8301 * libc/stdio/cvt.c (licvt): new function to convert ints when
8302 sizeof(int) != sizeof(long).
8304 * libc/include/stdio.h: added prototype for iprintf.
8305 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
8307 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
8309 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
8310 __REGISTER_PREFIX__.
8312 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
8314 * libc/sys/m68kbare: moved into stub directory.
8316 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
8318 * configure.in, Makefile.in: created new directory stub, to hold
8319 sample code for specific targets.
8321 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
8323 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
8324 in the unified libc/include/sys/fcntl.h.
8326 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
8328 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
8329 printed .01, not 0.01.
8331 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
8333 * configure.in: compile with -m68000 for m68* targets.
8335 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
8337 * libm/math/remainder.c (remainder): document the svr4 and sunos
8338 references used to construct the function.
8340 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
8342 * libm/math/remainder.c (rint, remainder): fix old typos.
8343 * libm/math/Makefile.in: actually build remainder.c (functions
8344 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
8347 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
8349 * libc/string/bcopy.c: BSD version works on overlapping strings,
8352 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
8355 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
8357 * Makefile.in (docs): new target.
8359 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
8361 * libc/include/sys/times.h: define clock_t as required by POSIX.
8362 libc/include/time.h: protect clock_t from multiple definitions.
8364 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8366 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
8367 does not need more than the original three iterations to get
8368 within 1 ulp. (Paranoia tests for rounding to better than that,
8369 but further iterations *don't* help, only more subtle changes
8372 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
8374 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
8375 were doing nothing useful.
8377 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
8379 * configure.in: define MALLOC_PROVIDED for vxworks targets;
8380 removed sys_dir settings of vxworks68 and vxworks960.
8381 host/any: don't pass -nostdinc to gcc, since newlib no longer
8382 provides all required header files.
8384 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
8385 is not defined; this provides a hook for VxWorks.
8387 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8389 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
8390 buffer if buf is NULL, don't do it here -- it is already being
8391 done by makebuf elsewhere in stdio.
8393 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
8395 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
8396 that C programs can call functions without using initial
8399 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
8401 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
8403 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
8405 * configure.in: set TARGET_CFLAGS for certain CPU types to
8408 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8410 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
8412 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
8414 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
8417 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
8419 * libc/include/stdio.h: define __need___va_list before including
8420 <stdarg.h>, to avoid defining va_arg, et. al.
8422 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
8424 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
8425 (don't cd to the user's home directory).
8427 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
8428 In general this is the wrong thing to do, but I can't get around
8429 GNU make's insistence on passing command line arguments any other
8432 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
8434 * configure.in: always configure the libc/sys directory, since it
8435 now provides a required documentation file.
8437 * Makefile.in: replaced all instances of $(MAKE) with make. In
8438 general this is the wrong thing to do, but I can't get around GNU
8439 make's insistence on passing command line arguments any other way.
8441 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
8443 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
8446 * libc/stdio/local.h: include <stdarg.h> to define va_list.
8447 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
8449 * libc/include/float.h, libc/include/stdarg.h,
8450 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
8452 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
8453 <stdarg.h>, not from <machine/types.h>. Protect definition of
8455 libc/include/time.h: get size_t from stddef.h. Protect definition
8457 libc/include/machine/limits.h: override gcc <limits.h> by defining
8458 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
8459 get correct INT_MIN and LONG_LONG values.
8460 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
8461 size_t or va_list at all; they're now gotten from stddef.h
8463 libc/include/machine/varargs.h: removed; use gcc version instead.
8464 libc/include/sys/types.h: explicitly include <machine/types.h>.
8466 * libm/math/sqrt.h: using the fp-bit routines appears to require
8469 * Makefile.in, host/any: let system include files override machine
8472 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8474 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
8475 override _*_T_ definitions defaulted here.
8477 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
8479 * Makefile.in (install): install the include files in
8480 $(tooldir)/include, not $(exec_prefix)/include.
8482 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
8484 * Makefile.in (install): fixed typo, and changed install to not
8485 force rebuild of libc.a and libm.a.
8487 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
8489 * libc/sys/a29khif/*: Changed all .include's to include
8490 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
8491 that they will be installed for the user.
8493 * Makefile.in (all): create targ-include, a directory holding the
8494 machine and system specific header files during the build.
8495 (install): fixed installation of machine and system specific
8498 * Makefile.in: fixed comment.
8499 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
8500 we can pass $(INCLUDES) to it.
8502 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
8504 * libc/include/sys/param.h: new generic file, which may be
8505 overridden for specific systems.
8507 * libc/include/sys/signal.h: define all ANSI signal names, and
8508 NSIG (which is not ANSI) for a29k.
8510 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
8512 * Makefile.in: don't pass down arguments the lower level makes
8514 * libc/Makefile.in: recurse directly, rather than using subdir_do,
8515 in hopes of avoiding argument length limits.
8516 * libm/Makefile.in: recurse directly, rather using subdir_do, in
8517 hopes of avoiding argument length limits.
8519 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
8521 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
8524 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
8526 * Fixed make info and make install-info for newlib, changing most
8527 Makefile.in and several *.tex files. Moved doc directory from
8530 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
8531 Should be rewritten.
8533 * libc/string/strings.tex: renamed node index to node index
8534 function, so that it does not conflict with the top level index
8537 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
8539 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
8541 * Overhauled general configuration for newlib. Eliminated all
8542 target dependent Makefile fragments. Create libraries in newlib
8543 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
8544 than CROSS_CC, et. al. Broke make docs; will fix later.
8546 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
8547 Should be rewritten.
8549 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
8551 * libc/configure.in: cleaned up somewhat; switch on ${target}
8552 rather than ${target_alias}.
8553 * libm/configure.in: cleaned up somewhat; switch on ${target}
8554 rather than ${target_alias}.
8556 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
8557 * libc/include/ctype.h: marked _ctype_ as _CONST.
8559 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
8562 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
8563 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
8564 libc/stdio/gets.c (gets): removed non-ANSI warning message.
8565 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
8567 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
8568 bigtens, tinytens): marked arrays _CONST.
8569 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
8570 rather than a static variable.
8572 * libc/time/asctime.c (asctime), libc/time/localtime.c
8573 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
8574 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
8575 mname_len, mname): Marked static arrays _CONST.
8577 * libm/math/gamma.h: made local variables non-static.
8579 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
8580 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
8583 * libm/math/constants.c: removed file, because the constants it
8584 defined were never referenced.
8585 libm/math/Makefile.in: removed references to constants.c.
8586 libm/math/mathimpl.h: removed declarations of constants.
8588 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
8590 * libc/include/machine/varargs.h: only call __builtin_saveregs if
8591 it is sensibly defined in libgcc2. Checks preprocessor defines,
8592 which is not a good solution.
8594 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
8596 * libm/frexp.c: handle denormalized numbers as arguments.
8598 * libm/math/Makefile.in: added some dependencies for .c files
8599 which include local .h files.
8601 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
8603 * libc/configure.in: set target_alias for OSE*. Replace
8604 target_makefile_frag if it is blank.
8606 * libc/Makefile.in: make sure everything is passed to subsidiary
8607 makes; create all directories when installing.
8609 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
8610 CROSS_ARUPDATE instead of AR.
8612 * libm/configure.in: set target_alias for OSE*. Replace
8613 target_makefile_frag if it is blank.
8615 * libm/Makefile.in: make sure everything is passed to subsidiary
8616 makes; create all directories when installing.
8618 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
8620 * add following change from libc copy.
8622 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
8624 * libc/libc.texinfo: make copyright disclaimers appear on back of
8625 title page; make format of same slightly less ugly; avoid using
8626 underbars in section headings (avoids nasty texinfo bug in table
8629 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
8630 comments only) avoid using underbars in section headings
8632 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
8633 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
8634 changes in comments only): shorten headings ieeefp/infinity.c,
8635 ieeefp/isnan.c: (doc, comments only) more informative headings
8637 * libc/math/bessel.c: (doc, comments only) shorten heading
8639 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
8640 (doc, comments only) shorten headings
8642 * libc/time/localtime.c (doc, comments only): shorten headings
8644 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
8646 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
8647 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
8649 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
8650 only) more informative headings
8651 * libm/math/bessel.c: (doc, comments only) shorten heading
8653 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
8655 * .../Makefile.in: use CROSS_ARUPDATE consistently.
8656 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
8657 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
8658 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
8659 defined, the one from the .mt file will be correct.
8660 * libc/include/machine, libc/include/sys: created, and populated
8661 with common files from machine/*/machine. ifdefs were used for
8662 most, typically by handling exceptions first and then filling in
8663 defaults. Files with D.J. Delorie copyright #included rather than
8664 copied. Most files in include/sys really were the same in the
8666 * libc/include/...: cleaned up use of _EXFUN.
8667 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
8668 it with double quotes, not angles.
8670 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
8672 * libc/Makefile.in: always create installation directories.
8674 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
8676 * libc/configure.in: handle host properly (using canonical
8677 triples), better error message for the case of target not found
8679 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
8681 * libc/Makefile.in (insincdir): Ensure this directory exists
8682 before attempting installation.
8684 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8686 * libc/stdlib/assert.c: now calls abort like it should
8687 * libc/sys/a29khif: many many patches for 29khif work
8688 * libc/machine/i386: gnulib2 expanded there.
8690 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8692 Added accurate fp conversion routines to stdlib, moved dcvt from
8693 stdio to stdlib and called it ecvtbuf:
8694 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
8695 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
8697 * libc/libc.texinfo: Modifed to include the copyright info from
8699 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
8700 * libc/test/ : many vector which tested for the implementation
8701 defined returns of strange conversion requests have been updated
8702 to relflect the new implementation
8704 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
8706 * libc/libc.texinfo: new chapter on variable arg lists
8707 (stdarg.h/varargs.h)
8708 * libc/libc.texinfo: new title
8709 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
8710 (doc only) shorter headings for better formatting.
8712 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
8714 * libc/libc.texinfo: three more info menu entries
8715 * libc/locale/locale.tex: new chapter
8716 * libc/locale/locale.c: new doc for setlocale, localeconv
8717 * libc/locale/Makefile.in: use new locale doc
8718 * libc/signal/signal.tex: new chapter
8719 * libc/signal/raise.c, libc/signal/signal.c: new doc
8720 * libc/signal/Makefile.in: use new doc
8721 * libc/time/time.tex: new chapter
8722 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
8723 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
8724 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
8725 * libc/time/Makefile.in: use new doc
8727 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8729 * libm/math/log1p.c: split to use the new function way of float
8730 function definition. math/log1p.h deleted
8731 * libm/math/scalb.c: obsolete and deleted
8732 * libm/math/scalbn.c: created from part log1p.c
8733 * libm/math/Makefile.in: know about log1p and scalbn
8735 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
8737 * libc/ctype/isupper.c: revise doc;
8738 libc/ctype/ctype.tex: use doc from isupper.c
8740 * libc/string/bzero.c: new doc
8742 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
8744 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
8746 * libc/stdlib/Makefile.in: extract new doc
8747 * libc/stdlib/stdlib.tex: use new doc
8749 * libc/string/strerror.c: expanded doc.
8751 * libc/stdio/Makefile.in: extract doc from more files
8752 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
8753 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
8754 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
8755 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
8756 libc/stdio/vsprintf.c: new doc
8757 * libc/stdio/stdio.tex: use new doc
8759 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8761 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
8762 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
8764 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
8767 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
8768 * libc/stdio/setbuf.c: added ansi style definition.
8769 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
8770 buffer if none provided.
8771 * libc/stdio/tmpfile.c: lint
8772 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
8773 rather than using static, also make sure file isn't already
8774 present. Uses P_tmpdir. (tempnam): rewritten to use new
8775 subroutine, and uses P_tmpdir.
8776 * libc/stdio/siprintf.c: created
8778 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
8780 Release 1.03 for NEC, major mods. Main differences from release
8783 More tests in test/:
8784 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
8785 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
8786 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
8787 get/set mask, get/set sticky and get/set roundtoi. Tests
8788 that setting the bits changes the way arithmetic is done.
8789 * string.c: added test to make sure memcmp does it with unsigned
8791 * test.c: cleaned up and removed lint.
8792 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
8793 dvec.c: tests for string to value conversions, sprintf, scanf,
8794 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
8795 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
8796 rounding in sprintf too.
8797 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
8798 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
8799 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
8801 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
8805 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
8806 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
8807 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
8808 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
8809 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
8811 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
8812 * Method of producting float versions of double functions has
8813 changed, functions will be modified gradually. So far:
8814 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
8815 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
8817 * libc/string/memcmp.c: now uses unsigned chars
8818 * libc/string/bcmp.c, libc/string/strcpy.c,
8819 libc/stsring/strxfrm.c: fixed doc
8820 * libc/sys/sysvnecv70.tex: fix example of sbrk code
8823 version-control: never