1 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
5 * libc/sys/linux/Makefile.in: Regenerated.
6 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
7 tcgetpgrp(), and tcsetpgrp() functions.
8 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
9 to get __MAX_BAUD rate.
10 * libc/sys/linux/machine/i386/include/termios.h: New file.
11 * libc/include/machine/termios.h: Ditto.
12 * libc/sys/linux/cfspeed.c: Ditto.
13 * libc/sys/linux/tcsendbrk.c: Ditto.
15 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
17 * libc/include/string.h: Add strnlen and strerror_r prototypes.
18 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
19 * libc/string/Makefile.in: Regenerated.
20 * libc/string/strerror_r.c: New file.
21 * libc/string/strnlen.c: New file.
22 * libc/sys/linux/Makefile.am: Add rename.c.
23 * libc/sys/linux/Makefile.in: Regenerated.
24 * libc/sys/linux/rename.c: New file to override default rename.
26 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
28 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
29 * libc/sys/linux/sys/time.h: Add conversion macros.
30 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
31 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
32 * libc/sys/linux/gethostname.c: New file.
33 * libc/sys/linux/seteuid.c: New file.
34 * libc/sys/linux/sysctl.c: New file.
36 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
38 * libc/string/Makefile.am: Add support for strsep.c.
39 * libc/string/Makefile.in: Regenerated.
40 * libc/string/strsep.c: New file.
41 * libc/string/strtok.c: Change to call __strtok_r service routine.
42 * libc/string/strtok_r.c: Add __strtok_r routine which takes
43 additional flag parameter regarding whether to skip leading delimeters.
44 Change strtok_r to call __strtok_r.
46 2002-05-23 Gareth Pearce <tilps@hotmail.com>
48 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
49 * libc/stdio/Makefile.in: Regenerated.
50 * libc/stdio/setbuffer.c: New file.
51 * libc/stdio/setlinebuf.c: New file.
53 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
55 * libc/sys/linux/Makefile.am: Add resource.c.
56 * libc/sys/linux/Makefile.in: Regenerated.
57 * libc/sys/linux/resource.c: New file.
58 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
59 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
60 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
61 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
62 are now found in libc/sys/linux/resource.c.
64 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
66 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
67 to use void * pointers and comply with Single Unix spec.
68 * libc/string/bcmp.c: Change to use void * instead of char *.
69 * libc/string/bcopy.c: Ditto.
70 * libc/string/bzero.c: Ditto.
72 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
74 * libc/sys/linux/shm_open.c: New file.
75 * libc/sys/linux/shm_unlink.c: Ditto.
76 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
78 * libc/sys/linux/Makefile.in: Regenerated.
79 * libc/sys/linux/sys/types.h: Add some additional checks to see
80 if clock_t or time_t is already defined.
82 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
84 * Makefile.am: Don't pass $toollibdir down directly in
85 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
86 Pass it under the name: top_toollibdir.
87 * Makefile.in: Regenerated.
89 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
91 * libc/include/sys/types.h: Revert previous patch.
93 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
95 * libc/include/sys/types.h: Include cygwin/types.h always under
96 Cygwin, not only if _POSIX_THREADS is defined.
98 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
100 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
102 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
104 * Makefile.am: Copy and install headers from sys/machine/include
105 directory. Also pass $toollibdir to lower-level directories.
106 * Makefile.in: Regenerated.
107 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
108 stderr to use _REENT macro instead of _impure_ptr directly.
109 * libc/include/sys/config.h[__i386__][__linux__]: Define
111 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
112 call to __getreent() function if !__SINGLE_THREAD__ and
113 __DYNAMIC_REENT__ is set.
114 * libc/reent/Makefile.am: Add support for getreent.c.
115 * libc/reent/Makefile.in: Regenerated.
116 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
117 * libc/sys/linux/Makefile.am: Add support for new files.
118 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
119 * libc/sys/linux/Makefile.in: Regenerated.
120 * libc/sys/linux/configure: Ditto.
121 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
122 __close, __read, __write, __poll, __open, __lseek, __fcntl from
123 their __libc_ counterparts.
124 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
125 and weak-alias to regular names.
126 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
127 to pread64 and __pread64.
128 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
129 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
130 weak-alias to pwrite64.
131 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
132 __libc_sched_getscheduler, __libc_sched_get_priority_max,
133 __libc_sched_get_priority_min, and __libc_sched_setschedule to
134 name with __ instead of __libc_.
135 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
136 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
137 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
138 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
140 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
141 __libc_send to __send.
142 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
144 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
145 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
146 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
147 type and typedef __jmp_buf to jmp_buf.
148 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
150 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
151 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
153 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
154 prefix for function macros and then use weak_alias() to regular names.
155 * libc/sys/linux/machine/i386/syscall.h: Ditto.
156 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
157 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
158 to be flockfile() and funlockfile() respectively.
159 * libc/sys/linux/sys/types.h
160 * libc/reent/getreent.c: New file.
161 * libc/sys/linux/flockfile.c: Ditto.
162 * libc/sys/linux/funlockfile.c: Ditto.
163 * libc/sys/linux/getreent.c: Ditto.
164 * libc/sys/linux/pread.c: Ditto.
165 * libc/sys/linux/pwrite.c: Ditto.
166 * libc/sys/linux/raise.c: Ditto.
167 * libc/sys/linux/system.c: Ditto.
168 * libc/sys/linux/tcdrain.c: Ditto.
169 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
170 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
171 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
172 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
173 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
175 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
177 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
178 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
179 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
180 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
182 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
184 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
185 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
188 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
190 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
191 options when testing natively on i[3456]86-*-linux.
193 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
194 only one pass or fail per test file. Trim \r's from output
195 values received from test programs. Remove support for named
197 * testsuite/newlib.locale/UTF-8.exp: Update to support new
198 newlib_check_output behaviour.
199 * testsuite/newlib.locale/UTF-8.c: Likewise.
201 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
203 * libc/include/stdlib.h: Add on_exit prototype.
204 * libc/include/sys/reent.h (struct _atexit): Add argument array
205 and bits to track type of exit routine to support both on_exit
207 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
208 by default and change the setting of the atexit structure.
209 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
210 * libc/stdlib/on_exit.c: New file.
211 * libc/stdlib/Makefile.am: Add support for on_exit.
212 * libc/stdlib/Makefile.in: Regenerated.
213 * libc/stdlib/atexit.c: Change to initialize types field.
214 * libc/stdlib/exit.c: Change to look at types field for each
215 exit routine and either call an atexit-style or an on_exit-style
218 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
220 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
221 allow v specifier with n or L specifiers. For vector c format,
222 move tmp declaration to the top.
224 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
226 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
227 the original format specifier when looping for vectors to compensate
228 for any changes made in vector %g format processing.
229 Also add syntax checking for various invalid scenarios
230 involving vector format extensions.
231 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
232 return code setting for vector formats. Also treat vector
233 separator mismatch as a match error instead of an input error.
234 Perform some syntax checking for vector formats.
236 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
238 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
239 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
240 * libc/string/strlcat.c: New file.
241 * libc/string/strlcpy.c: New file.
243 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
245 * libc/string/strchr.c: Fix comment typo.
247 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
249 * acinclude.m4: Add support for --enable-newlib-multithread.
250 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
251 --enable-newlib-multithread=no.
253 * libc/stdio/getc_u.c: New file.
254 * libc/stdio/getchar_u.c: New file.
255 * libc/stdio/putc_u.c: New file.
256 * libc/stdio/putchar_u.c: New file.
257 * libc/include/stdio.h: Add declarations for getc_unlocked,
258 getchar_unlocked, putc_unlocked and putchar_unlocked.
259 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
260 (CHEWOUT_FILES): Add new files' .def's.
261 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
263 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
265 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
266 Also handle as single quad word when destination ends at last
267 byte of first quad word. Fix byte selection in single quad code.
269 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
271 * libc/include/sys/stdio.h: New file.
272 * libc/sys/linux/sys/stdio.h: New file.
273 * libc/include/stdio.h: Add declarations for flockfile,
274 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
275 * libc/stdio/clearerr.c: Add file locking.
276 * libc/stdio/fclose.c: Likewise.
277 * libc/stdio/feof.c: Likewise.
278 * libc/stdio/ferror.c: Likewise.
279 * libc/stdio/fflush.c: Likewise.
280 * libc/stdio/fgetc.c: Likewise.
281 * libc/stdio/fgetpos.c: Likewise.
282 * libc/stdio/fgets.c: Likewise.
283 * libc/stdio/fileno.c: Likewise.
284 * libc/stdio/fputc.c: Likewise.
285 * libc/stdio/fputs.c: Likewise.
286 * libc/stdio/fread.c: Likewise.
287 * libc/stdio/freopen.c: Likewise.
288 * libc/stdio/fseek.c: Likewise.
289 * libc/stdio/ftell.c: Likewise.
290 * libc/stdio/fwrite.c: Likewise.
291 * libc/stdio/getc.c: Likewise.
292 * libc/stdio/putc.c: Likewise.
293 * libc/stdio/setvbuf.c: Likewise.
294 * libc/stdio/ungetc.c: Likewise.
295 * libc/stdio/vfprintf.c: Likewise.
297 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
299 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
300 support for 'p' format. Fix code to print bytes for vector
301 integer formats that do not specify 'h' or 'l'.
302 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
303 for 'p' specifier. Fix code to scan 16 bytes for vector integer
304 formats that do not specify 'h' or 'l'.
306 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
308 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
310 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
311 (_sbrk): Add cast of return value.
313 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
315 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
316 (_REENT_L64A_BUF): New macro for accessing area.
317 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
318 * libc/stdlib/Makefile.in: Regenerated.
319 * libc/stdlib/a64l.c: New file.
320 * libc/stdlib/l64a.c: New file.
322 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
324 * libc/unix/pread.c: Fix typo for _pread_r.
325 * libc/unix/pwrite.c: Fix type for _pwrite_r.
326 * libc/sys/linux/pread64.c: Fix typo for read syscall.
327 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
329 2002-05-03 Christopher Faylor <cgf@redhat.com>
331 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
333 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
335 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
337 2002-05-01 Christopher Faylor <cgf@redhat.com>
339 * utmp.h: Define more UNIX constants.
341 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
343 * Makefile.am: Add support for checking multilibs.
345 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
346 (SUBDEFS): Add LIBC_EXTRA_DEF.
347 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
348 (LIBC_EXTRA_DEF): Likewise.
349 (extra_dir): Likewise.
350 * libc/machine/xscale/machine: New directory.
351 * libc/machine/xscale/machine/profile.h: New file.
353 * Makefile.am (site.exp): Remove newlib_cflags. Add
355 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
356 * testsuite/lib/flags.exp: New file.
357 * testsuite/lib/newlib.exp: Load flags.exp.
358 (newlib_target_compile): Remove libgloss directory references.
359 (newlib_init): Remove newlib_cflags references.
361 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
363 * testsuite/lib/newlib.exp (newlib_target_compile): Change
364 method of finding libgloss_target_dir.
366 * Makefile.am (site.exp): Change host_alias, host_triplet,
367 target_alias, target_triplet to refer to gcc's host and target
368 variables (newlib's build and host variables).
369 * testsuite/lib/newlib.exp (newlib_init): Change build
370 references to host references, host references to target
371 references to reflect Makefile.am changes.
372 (newlib_target_compile): Likewise.
373 (newlib_finish): Likewise.
375 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
377 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
379 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
381 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
382 (_system): New function. Ditto.
383 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
384 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
387 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
389 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
390 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
391 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
392 * libc/sys/linux/Makefile.in: Regenerated.
393 * libc/unix/Makefile.in: Ditto.
394 * libc/sys/linux/pread64.c: New file.
395 * libc/sys/linux/pwrite64.c: Ditto.
396 * libc/unix/pread.c: Ditto.
397 * libc/unix/pwrite.c: Ditto.
399 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
401 * libc/sys/linux/Makefile.am: Add io64.c.
402 * libc/sys/linux/Makefile.in: Regenerated.
403 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
404 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
405 * libc/sys/linux/io64.c: New file.
407 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
409 * configure.in (CC_FOR_NEWLIB): New variable that
410 bases on $(CC) and adds targ-include and libc/include as
411 -isystem directives if they are not already part of $(CC).
412 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
414 * configure: Regenerated.
415 * Makefile.in: Ditto.
417 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
419 * libc/sys/linux/Makefile.am: Add support for sched.c.
420 * libc/sys/linux/Makefile.in: Regenerated.
421 * libc/sys/linux/sched.c: New file.
422 * libc/sys/linux/sys/types.h: Add struct timespec.
424 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
426 * configure.in (CC_FOR_BUILD): Set to gcc whether
427 cross-compiling or not.
428 (CC): Add -isystem's for targ-include and libc/include when they
429 do not already appear in CC.
431 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
433 * Makefile.am (check-DEJAGNU): New target.
434 (site.exp): Likewise.
435 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
436 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
437 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
438 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
439 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
440 * testsuite: New directory.
441 * testsuite/config: Likewise.
442 * testsuite/lib: Likewise.
443 * testsuite/newlib.locale: Likewise.
444 * testsuite/newlib.string: Likewise.
445 * testsuite/config/default.exp: New file.
446 * testsuite/lib/checkoutput.exp: New file.
447 * testsuite/lib/newlib.exp: New file.
448 * testsuite/lib/passfail.exp: New file.
449 * testsuite/newlib.locale/UTF-8.c: New file.
450 * testsuite/newlib.locale/UTF-8.exp: New file.
451 * testsuite/newlib.locale/locale.exp: New file.
452 * testsuite/newlib.string/string.exp: New file.
453 * testsuite/newlib.string/tstring.c: New file.
455 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
457 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
458 * libc/sys/linux/Makefile.am: Add support for mmap.c.
459 * libc/sys/linux/Makefile.in: Regenerated.
460 * libc/sys/linux/mmap.c: New file.
461 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
462 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
464 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
466 * acinclude.m4 (newlib_cflags): Remove include directories that
467 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
469 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
471 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
472 * libc/machine/xscale/memcmp.c: Ditto.
473 * libc/machine/xscale/memcpy.c: Ditto.
474 * libc/machine/xscale/memmove.c: Ditto.
475 * libc/machine/xscale/memset.c: Ditto.
476 * libc/machine/xscale/strchr.c: Ditto.
477 * libc/machine/xscale/strcmp.c: Ditto.
478 * libc/machine/xscale/strcpy.c: Ditto.
479 * libc/machine/xscale/strlen.c: Ditto.
481 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
483 * libc/include/sys/config.h: Remove include of <limits.h>.
484 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
485 define INT_MAX and LONG_MAX. Use them in tests.
487 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
489 * configure.host: Add support for powerpc-eabialtivec*.
490 * libc/include/malloc.h: Add include of <machine/malloc.h>.
491 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
492 * libc/include/machine/malloc.h: New file.
493 * libc/include/machine/stdlib.h: Ditto.
494 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
495 * libc/machine/powerpc/Makefile.am: Add conditional objects and
496 sources based on configuration.
497 * libc/machine/powerpc/Makefile.in: Regenerated.
498 * libc/machine/powerpc/configure: Ditto.
499 * libc/machine/powerpc/configure.in: Add check for
500 powerpc-eabialtivec* in which case add in additional source files.
501 * libc/machine/powerpc/setjmp.S: Add altivec support.
502 * libc/machine/powerpc/vec_calloc.c: New file.
503 * libc/machine/powerpc/vec_free.c: Ditto.
504 * libc/machine/powerpc/vec_malloc.c: Ditto.
505 * libc/machine/powerpc/vec_mallocr.c: Ditto.
506 * libc/machine/powerpc/vec_realloc.c: Ditto.
507 * libc/machine/powerpc/machine/malloc.h: Ditto.
508 * libc/machine/powerpc/machine/stdlib.h: Ditto.
509 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
510 with added altivec format specifiers.
511 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
512 added altivec format specifiers.
514 2002-04-19 Joel Sherrill <joel@OARcorp.com>
516 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
517 while autoconf is trying to link main(){}.
519 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
521 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
522 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
524 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
526 * libc/time/time.tex: Add tzset info.
528 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
530 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
531 (strptime): Moved prototype to be within !__STRICT_ANSI__.
532 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
533 (tzname): Defined for all platforms.
534 (daylight, timezone): Defined only for CYGWIN.
535 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
537 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
538 environment variable is set.
539 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
541 * libc/time/Makefile.in: Regenerated.
542 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
543 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
544 * libc/time/lcltime_r.c (lcltime_r): Ditto.
545 * libc/time/local.h: New local header file.
546 * libc/time/mktime.c (mktime): Add timezone support.
547 * libc/time/mktm_r.c: New file which is the common engine
548 for gmtime_r and lcltime_r. This code has timezone support.
549 * libc/time/strftime.c (strftime): Add %Z timezone support.
550 * libc/time/tzlock.c: New file containing timezone lock stubs.
551 * libc/time/tzset.c: New file containing tzset() routine.
552 * libc/time/tzset_r.c: New file containing _tzset_r and
553 internal routine for calculating timezone changes for specified year.
555 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
557 * configure.in (CRT0_DIR): Set to libc/.
558 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
559 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
560 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
562 * libc/machine/xstormy16/Makefile.in: Regenerated.
563 * libc/machine/xstormy16/aclocal.m4: Regenerated.
564 * libc/machine/xstormy16/configure: Regenerated.
566 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
568 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
569 fails, don't bail out, and try to correct next time.
571 * libc/include/sys/config.h: Include limits.h.
573 2002-04-12 Eric Norum <eric.norum@usask.com>
575 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
576 routine to allow autoconf to determine that building executables
578 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
579 (rtems_gxx_mutex_once): Ditto.
581 2002-04-09 Tom Rix <trix@redhat.com>
583 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
585 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
587 * libc/include/time.h: Fix strptime declaration.
588 * libc/time/Makefile.am: Add strptime.c.
589 * libc/time/Makefile.in: Regenerated.
590 * libc/time/strptime.c: New file.
592 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
594 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
595 siglongjmp prototype, and sigsetjmp macro definition.
596 * libc/sys/linux/siglongjmp.c: New file.
597 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
598 * libc/sys/linux/Makefile.in: Regenerated.
600 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
602 * Makefile.am: Add support for installing crt1.o if one exists.
603 * configure.host: Specify crt1.o for linux.
604 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
605 * Makefile.in: Regenerated.
607 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
608 Added for non-Cygwin, non-RTEMS configurations.
609 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
610 * libc/sys/linux/Makefile.in: Regenerated.
611 * libc/sys/linux/crt1.c: New empty file to override one defaulted
612 by gcc. This fixes problem with reconfiguring linux newlib build.
613 * libc/sys/linux/sysconf.c: New file.
615 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
617 * configure.host: Add support for machine subdirectory of
619 * configure.in: Add check for sys machine subdirectory.
620 * Makefile.am: Ditto.
621 * configure: Regenerated.
622 * Makefile.in: Ditto.
623 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
624 * libc/sys/linux/sys/syscall.h: Ditto.
625 * libc/sys/linux/sleep.c: New file.
626 * libc/sys/linux/socket.c: Ditto.
627 * libc/sys/linux/sockops.h: Ditto.
628 * libc/sys/linux/stack.c: Ditto.
629 * libc/sys/linux/usleep.c: Ditto.
630 * libc/sys/linux/machine/Makefile.am: Ditto.
631 * libc/sys/linux/machine/Makefile.in: Ditto.
632 * libc/sys/linux/machine/aclocal.m4: Ditto.
633 * libc/sys/linux/machine/configure: Ditto.
634 * libc/sys/linux/machine/configure.in: Ditto.
635 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
636 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
637 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
638 * libc/sys/linux/machine/i386/configure: Ditto.
639 * libc/sys/linux/machine/i386/configure.in: Ditto.
640 * libc/sys/linux/machine/i386/crt0.c: Ditto.
641 * libc/sys/linux/machine/i386/sigset.c: Ditto.
642 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
643 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
644 * libc/sys/linux/machine/i386/syscall.h: Ditto.
645 * libc/sys/linux/sys/select.h: Ditto.
646 * libc/sys/linux/configure.in: Add support for machine directory.
647 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
648 * libc/sys/linux/Makefile.in: Regenerated.
649 * libc/sys/linux/configure: Ditto.
650 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
651 * libc/sys/linux/inode.c: Ditto.
652 * libc/sys/linux/linux.c: Ditto.
653 * libc/sys/linux/process.c: Ditto.
654 * libc/sys/linux/systat.c: Ditto.
655 * libc/sys/linux/time.c: Ditto.
656 * libc/sys/linux/wait.c: Ditto.
657 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
658 * libc/sys/linux/io.c: Change header plus add readv/writev.
659 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
660 use __sigsuspend syscall.
661 * libc/sys/linux/select.c: Change header plus change select to
662 use _newselect syscall.
663 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
664 used by glibc header files.
665 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
668 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
670 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
671 initializing a struct _reent that has been dynamically allocated.
672 (_REENT_CHECK_MISC): New macro that checks _misc struct for
673 _REENT_SMALL and does nothing otherwise.
674 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
675 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
676 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
677 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
678 [_REENT_SMALL](struct _misc_reent): New structure containing
679 miscellaneous reentrant areas needed by newlib.
680 [_REENT_SMALL](struct _reent): Add _misc pointer.
681 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
682 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
683 and _REENT_STRTOK_LAST macros.
684 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
685 and _REENT_MBLEN_STATE macros.
686 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
687 and _REENT_MBTOWC_STATE macros.
688 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
689 and _REENT_WCTOMB_STATE macros.
691 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
693 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
695 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
697 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
699 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
701 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
702 Store high part of leading bytes too.
704 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
706 * libm/math/ef_hypot.c: Increase scale factor to 68.
708 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
710 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
713 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
715 * libc/sys/go32/access.c: Change license to relaxed license
716 used in identical file throughout newlib/libgloss.
718 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
720 * libc/sys/arm/access.c: New file.
721 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
722 * libc/sys/arm/Makefile.in: Regenerate.
723 * libc/sys/arm/syscalls.c (_stat): New function.
725 2002-03-11 Michael Meissner <meissner@redhat.com>
727 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
728 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
729 * libc/machine/mips/Makefile.in: Regenerate.
730 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
731 * libc/machine/mips/memset.c: Dito.
732 * libc/machine/mips/strcmp.c: Dito.
733 * libc/machine/mips/strlen.c: Dito.
734 * libc/machine/mips/strncmp.c: Dito.
736 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
738 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
739 object so it works for shared library or statici library.
740 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
742 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
743 (strptime): Moved prototype to be within !__STRICT_ANSI__.
744 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
745 (tzname): Defined for all platforms.
746 (daylight, timezone): Defined only for CYGWIN.
747 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
749 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
750 environment variable is set.
751 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
753 * libc/time/Makefile.in: Regenerated.
754 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
755 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
756 * libc/time/lcltime_r.c (lcltime_r): Ditto.
757 * libc/time/local.h: New local header file.
758 * libc/time/mktime.c (mktime): Add timezone support.
759 * libc/time/mktm_r.c: New file which is the common engine
760 for gmtime_r and lcltime_r. This code has timezone support.
761 * libc/time/strftime.c (strftime): Add %Z timezone support.
762 * libc/time/tzlock.c: New file containing timezone lock stubs.
763 * libc/time/tzset.c: New file containing tzset() routine.
764 * libc/time/tzset_r.c: New file containing _tzset_r and
765 internal routine for calculating timezone changes for specified year.
767 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
769 * configure.in (CRT0_DIR): Set to libc/.
770 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
771 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
772 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
774 * libc/machine/xstormy16/Makefile.in: Regenerated.
775 * libc/machine/xstormy16/aclocal.m4: Regenerated.
776 * libc/machine/xstormy16/configure: Regenerated.
778 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
780 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
781 fails, don't bail out, and try to correct next time.
783 * libc/include/sys/config.h: Include limits.h.
785 2002-04-12 Eric Norum <eric.norum@usask.com>
787 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
788 routine to allow autoconf to determine that building executables
790 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
791 (rtems_gxx_mutex_once): Ditto.
793 2002-04-09 Tom Rix <trix@redhat.com>
795 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
797 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
799 * libc/include/time.h: Fix strptime declaration.
800 * libc/time/Makefile.am: Add strptime.c.
801 * libc/time/Makefile.in: Regenerated.
802 * libc/time/strptime.c: New file.
804 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
806 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
807 siglongjmp prototype, and sigsetjmp macro definition.
808 * libc/sys/linux/siglongjmp.c: New file.
809 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
810 * libc/sys/linux/Makefile.in: Regenerated.
812 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
814 * Makefile.am: Add support for installing crt1.o if one exists.
815 * configure.host: Specify crt1.o for linux.
816 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
817 * Makefile.in: Regenerated.
819 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
820 Added for non-Cygwin, non-RTEMS configurations.
821 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
822 * libc/sys/linux/Makefile.in: Regenerated.
823 * libc/sys/linux/crt1.c: New empty file to override one defaulted
824 by gcc. This fixes problem with reconfiguring linux newlib build.
825 * libc/sys/linux/sysconf.c: New file.
827 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
829 * configure.host: Add support for machine subdirectory of
831 * configure.in: Add check for sys machine subdirectory.
832 * Makefile.am: Ditto.
833 * configure: Regenerated.
834 * Makefile.in: Ditto.
835 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
836 * libc/sys/linux/sys/syscall.h: Ditto.
837 * libc/sys/linux/sleep.c: New file.
838 * libc/sys/linux/socket.c: Ditto.
839 * libc/sys/linux/sockops.h: Ditto.
840 * libc/sys/linux/stack.c: Ditto.
841 * libc/sys/linux/usleep.c: Ditto.
842 * libc/sys/linux/machine/Makefile.am: Ditto.
843 * libc/sys/linux/machine/Makefile.in: Ditto.
844 * libc/sys/linux/machine/aclocal.m4: Ditto.
845 * libc/sys/linux/machine/configure: Ditto.
846 * libc/sys/linux/machine/configure.in: Ditto.
847 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
848 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
849 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
850 * libc/sys/linux/machine/i386/configure: Ditto.
851 * libc/sys/linux/machine/i386/configure.in: Ditto.
852 * libc/sys/linux/machine/i386/crt0.c: Ditto.
853 * libc/sys/linux/machine/i386/sigset.c: Ditto.
854 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
855 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
856 * libc/sys/linux/machine/i386/syscall.h: Ditto.
857 * libc/sys/linux/sys/select.h: Ditto.
858 * libc/sys/linux/configure.in: Add support for machine directory.
859 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
860 * libc/sys/linux/Makefile.in: Regenerated.
861 * libc/sys/linux/configure: Ditto.
862 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
863 * libc/sys/linux/inode.c: Ditto.
864 * libc/sys/linux/linux.c: Ditto.
865 * libc/sys/linux/process.c: Ditto.
866 * libc/sys/linux/systat.c: Ditto.
867 * libc/sys/linux/time.c: Ditto.
868 * libc/sys/linux/wait.c: Ditto.
869 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
870 * libc/sys/linux/io.c: Change header plus add readv/writev.
871 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
872 use __sigsuspend syscall.
873 * libc/sys/linux/select.c: Change header plus change select to
874 use _newselect syscall.
875 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
876 used by glibc header files.
877 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
880 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
882 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
883 initializing a struct _reent that has been dynamically allocated.
884 (_REENT_CHECK_MISC): New macro that checks _misc struct for
885 _REENT_SMALL and does nothing otherwise.
886 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
887 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
888 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
889 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
890 [_REENT_SMALL](struct _misc_reent): New structure containing
891 miscellaneous reentrant areas needed by newlib.
892 [_REENT_SMALL](struct _reent): Add _misc pointer.
893 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
894 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
895 and _REENT_STRTOK_LAST macros.
896 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
897 and _REENT_MBLEN_STATE macros.
898 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
899 and _REENT_MBTOWC_STATE macros.
900 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
901 and _REENT_WCTOMB_STATE macros.
903 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
905 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
907 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
909 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
911 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
913 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
914 Store high part of leading bytes too.
916 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
918 * libm/math/ef_hypot.c: Increase scale factor to 68.
920 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
922 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
925 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
927 * libc/sys/go32/access.c: Change license to relaxed license
928 used in identical file throughout newlib/libgloss.
930 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
932 * libc/sys/arm/access.c: New file.
933 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
934 * libc/sys/arm/Makefile.in: Regenerate.
935 * libc/sys/arm/syscalls.c (_stat): New function.
937 2002-03-11 Michael Meissner <meissner@redhat.com>
939 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
940 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
941 * libc/machine/mips/Makefile.in: Regenerate.
942 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
943 * libc/machine/mips/memset.c: Dito.
944 * libc/machine/mips/strcmp.c: Dito.
945 * libc/machine/mips/strlen.c: Dito.
946 * libc/machine/mips/strncmp.c: Dito.
948 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
950 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
951 object so it works for shared library or statici library.
952 * libc/machine/i386/Makefile.in: Regenerated.
954 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
956 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
957 Add memcpy.S, memset.S and strcpy.S.
958 * libc/machine/sh/Makefile.in: Regenerate.
959 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
960 (SHHI, SHLO): Define.
961 * libc/machine/sh/memset.S: Add code for SH5.
962 * libc/machine/sh/memset.S: Likewise.
963 * libc/machine/sh/strcpy.S: Likewise.
965 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
967 * configure.host: Add check for --disable-newlib-io-float
968 configuration option and add -DNO_FLOATING_POINT to newlib cflags
970 * acinclude.m4: Added --disable-newlib-io-float option.
971 * aclocal.m4: Regenerated.
973 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
974 * libc/*/aclocal.m4 libc/*/configure
975 * libm/*/aclocal.m4 libm/*/configure: Ditto.
976 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
977 if NO_FLOATING_POINT flag is not defined.
979 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
981 * libc/include/sys/config.h: Add __extension__ in front of
982 long long references.
984 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
986 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
989 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
991 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
994 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
996 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
999 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1001 * configure.host (newlib_cflags): When host is in m68* add
1004 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
1006 * libc/include/sys/config.h: Add definitions for
1007 __int16_t, __uint16_t, __int64_t, and __uint64_t.
1009 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
1011 * libc/sys/mmixware/link.c: New.
1012 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1014 * libc/sys/mmixware/times.c (_times): Renamed from times.
1015 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1016 properly by reading previous contents, not through BinaryReadWrite.
1017 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1018 * libc/sys/mmixware/Makefile.in: Regenerate.
1020 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
1022 * libc/include/grp.h: Don't declare group functions when compiling
1025 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
1027 * libc/include/grp.h: Include Cygwin specific header.
1028 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
1029 when compiling for Cygwin.
1030 * libc/include/sys/types.h: Don't define off_t, uid_t
1031 and gid_t when compiling for Cygwin.
1033 2002-02-08 matthew green <mrg@redhat.com>
1035 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1036 _REENT_EMERGENCY_SIZE, not sizeof(char *).
1038 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1040 Contribute sh64-elf.
1041 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1042 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1044 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
1045 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1047 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1048 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1049 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1050 * libc/machine/sh/configure.in: Rework conditionals.
1051 * libc/machine/sh/Makefile.am: Likewise.
1052 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1053 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1054 * configure.host: Match `sh*'.
1055 * libc/include/machine/setjmp.h: Define for SH5.
1056 * libc/machine/sh/configure.in: Detect SH5.
1057 * libc/machine/sh/configure: Rebuilt.
1058 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1059 * libc/machine/sh/Makefile.in: Rebuilt.
1060 * libc/machine/sh/asm.h: Adjust for SH5.
1061 * libc/machine/sh/setjmp.S: Implement in SHmedia.
1062 * libc/sys/sh/crt0.S: Likewise.
1063 * libc/sys/sh/trap.S: Likewise.
1065 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
1067 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1068 (mach_add_obj): Conditionally set to setjmp.o or nothing.
1069 (LIB_SOURCES): Remove $(mach_add_src).
1070 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1071 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1072 * libc/machine/i386/Makefile.in: Regenerate.
1074 2002-02-05 Manik Raina <manik@cisco.com>
1076 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1077 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1078 s, p, k, and outstr.
1079 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1081 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
1083 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1084 _REENT_CHECK_EMERGENCY macro.
1086 2002-02-03 matthew green <mrg@redhat.com>
1088 * libc/reent/signgam.c (__signgam): Fix error in previous.
1090 2002-02-02 matthew green <mrg@redhat.com>
1092 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1094 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1095 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1096 * libc/include/sys/reent.h (struct _reent): Completely new version
1098 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1099 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1100 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1101 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1102 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1103 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1104 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1105 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1106 (_REENT_EMERGENCY): Likewise.
1108 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1109 the start of the real __sFILE, used for stdin, stdout and stderr until
1110 they are setup properly.
1111 (struct __sFILE): Move location of _data in _REENT_SMALL case.
1112 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1113 allocated stdin, stdout and stderr.
1114 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1115 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1116 * libc/stdio/perror.c (_perror_r): Likewise.
1117 * libc/stdio/printf.c (printf, _printf_r): Likewise.
1118 * libc/stdio/putchar.c (_putchar_r): Likewise.
1119 * libc/stdio/puts.c (_puts_r): Likewise.
1120 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1121 * libc/stdio/vprintf.c (vprintf): Likewise.
1122 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1124 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1126 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1127 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1129 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1130 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1132 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1134 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1135 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1136 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1137 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1138 * libc/stdlib/rand48.c (__dorand48): Likewise.
1139 * libc/stdlib/seed48.c (_seed48_r): Likewise.
1140 * libc/stdlib/srand48.c (_srand48_r): Likewise.
1141 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1142 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1143 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
1144 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1145 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1146 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1147 * libc/stdlib/rand.c (rand): Likewise.
1149 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1150 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1152 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
1153 _REENT_MP_FREELIST() and _REENT_MP_P5S.
1154 * libc/include/sys/reent.h (struct _mprec): New structure.
1156 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1157 _unused_strtok_last.
1158 * libc/string/strtok.c (strtok): Use a local static variable.
1160 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1161 (_REENT_EMERGENCY_SIZE): Likewise.
1162 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
1163 _REENT_ASCTIME_BUF().
1164 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
1167 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1168 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1169 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1170 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1171 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1172 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1174 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
1176 * configure.host (xstormy16): Don't use the generic malloc.
1177 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1178 * libc/machine/xstormy16/Makefile.in: Regenerate.
1179 * libc/machine/xstormy16/mallocr.c: New file.
1180 * libc/machine/xstormy16/tiny-malloc.c: New file.
1182 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1184 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1185 when _CYGWIN_TYPES_H is not defined.
1187 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1189 * libc/include/sys/signal.h: Revert 2002-01-23 change.
1191 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1193 * libc/include/sys/signal.h: Remove pthread_kill declaration
1194 when __CYGWIN__ is defined.
1196 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1198 * libc/include/time.h: Add prototype for strptime for Cygwin.
1200 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1202 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1203 dst was not word aligned.
1205 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1206 if too much memory is requested.
1208 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
1210 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1211 reads blanks from the input file to break if EOF reached
1212 rather than end processing.
1214 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
1216 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1218 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1220 * libc/include/machine/ieeefp.h: Configure d10v doubles to
1221 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
1222 libc/include/sys/config.h: Ditto.
1224 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
1226 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1228 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
1229 Catherine Moore <clm@redhat.com>
1230 Richard Henderson <rth@redhat.com>
1231 Corinna Vinschen <vinschen@redhat.com>
1233 * configure.host: Add support for xstormy16.
1234 * libc/include/machine/ieeefp.h: Add support for xstormy16.
1235 * libc/include/machine/setjmp.h: Add support for xstormy16.
1236 * libc/include/sys/config.h: Add support for xstormy16.
1237 * libc/machine/xstormy16/Makefile.am: New file.
1238 * libc/machine/xstormy16/Makefile.in: New file.
1239 * libc/machine/xstormy16/aclocal.m4: New file.
1240 * libc/machine/xstormy16/configure: New file.
1241 * libc/machine/xstormy16/configure.in: New file.
1242 * libc/machine/xstormy16/setjmp.S: New file.
1244 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1246 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1247 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1249 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
1251 * libm/machine/Makefile.am: Change rules to create correct lib.a.
1252 * libm/machine/Makefile.in: Regenerated through automake.
1254 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1256 * Makefile.am (DOCDIR): Force to empty string when doc
1257 directory is not present.
1259 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1261 * libc/machine/i386/f_*: Move to libm/machine/i386.
1263 2001-12-18 Joel Sherrill <joel@OARcorp.com>
1265 * libm/machine/Makefile.am: Add dummy doc stub so
1268 2001-12-17 Joel Sherrill <joel@OARcorp.com>
1270 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1272 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1274 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1275 $(COMPILE) rather than $(CC).
1276 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1277 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1278 $(LIB_COMPILE) change.
1279 (vfiprintf.$(oext)): Likewise.
1281 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
1283 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1284 conditionalized including of getopt stuff.
1286 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1288 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1290 (vfiprintf.$(oext)): Likewise.
1292 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1294 * Makefile.shared: New file.
1295 * libc/sys/linux/shared.ld: New file.
1296 * libm/machine/*: New files.
1297 * libm/machine/i386/*: New files.
1298 * Makefile.am: Add libtool support. Change math and mathfp
1299 references to variables.
1300 * configure.host: Add variables for libtool support. Add
1301 libm_machine_dir variable.
1302 * configure.in: Add objectlist variables, for libtool
1303 support. Add CC_FOR_BUILD tests.
1304 * libc/Makefile.am: Add libtool support. Change crt0.o
1305 reference to be a variable reference.
1306 * libc/configure.in: Add libtool support. Change sublib
1307 names to be lib${subdir}.la when using libtool.
1308 * libc/ctype/Makefile.am: Add libtool support.
1309 * libc/errno/Makefile.am: Likewise.
1310 * libc/locale/Makefile.am: Likewise.
1311 * libc/machine/Makefile.am: Likewise.
1312 * libc/machine/configure.in: Likewise.
1313 * libc/machine/i386/Makefile.am: Likewise.
1314 * libc/machine/i386/configure.in: Likewise.
1315 * libc/misc/Makefile.am: Likewise.
1316 * libc/posix/Makefile.am: Likewise.
1317 * libc/reent/Makefile.am: Likewise.
1318 * libc/signal/Makefile.am: Likewise.
1319 * libc/stdio/Makefile.am: Likewise.
1320 * libc/stdlib/Makefile.am: Likewise.
1321 * libc/string/Makefile.am: Likewise.
1322 * libc/sys/Makefile.am: Likewise.
1323 * libc/sys/configure.in: Likewise.
1324 * libc/sys/linux/Makefile.am: Add libtool support. Change
1325 awk reference to a variable reference. Change signal.h
1326 reference to a variable reference.
1327 * libc/sys/linux/configure.in: Add libtool support.
1328 * libc/syscalls/Makefile.am: Likewise.
1329 * libc/time/Makefile.am: Likewise.
1330 * libc/unix/Makefile.am: Likewise.
1331 * libm/Makefile.am: Add libtool support. Change math and
1332 mathfp references to variables.
1333 * libm/configure.in: Add libtool support. Add
1334 LIBM_MACHINE_LIB variable.
1335 * libm/common/Makefile.am: Add libtool support.
1336 * libm/math/Makefile.am: Likewise.
1337 * libm/mathfp/Makefile.am: Likewise.
1338 Regenerate all Makefile.in, aclocal.m4, and configure.
1340 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1342 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1344 2001-12-06 John Peacock <jpeacock@rowman.com>
1346 * libc/include/sys/unistd.h: Correct ualarm declaration.
1348 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1350 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1351 vector before calling the initialisation functions.
1353 2001-11-29 Christopher Faylor <cgf@redhat.com>
1355 * libc/include/dirent.h: Protect against multiple inclusion.
1357 2001-11-27 Christopher Faylor <cgf@redhat.com>
1359 * libc/include/sys/types.h: Define useconds_t.
1360 * libc/include/sys/ulimit.h: Declare ualarm.
1362 2001-11-21 Christopher Faylor <cgf@redhat.com>
1364 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1366 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
1368 * libc/sys/mmixware/*: Tweak license header in all source files.
1370 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
1372 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1373 to here. Rearrange for general inclusion by stdlib.h.
1374 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1376 * libc/sys/linux/include/alloca.h: Move to libc/include.
1378 2001-11-12 Anthony Green <green@redhat.com>
1380 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1382 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
1384 * libc/sys/mmixware/*: Correct spacing in all source files.
1385 * libc/sys/mmixware/syscall.h: Move misplaced file...
1386 * libc/sys/mmixware/sys/syscall.h: ...here.
1388 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
1390 * libc/include/machine/ieeefp.h: Add support for mmix target.
1391 * libc/include/machine/setjmp.h: Ditto.
1392 * configure.host: Ditto.
1393 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1394 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1395 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1396 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1397 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1398 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1399 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1400 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1401 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1402 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1403 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1404 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1405 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1406 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1407 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1408 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1409 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1410 libc/sys/mmixware/aclocal.m4: Generate.
1412 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
1414 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1415 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1416 when __CYGWIN__ is defined.
1417 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1420 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
1422 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1423 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1424 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1425 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1427 2001-10-24 Christopher Faylor <cgf@redhat.com>
1429 * libc/stdio/fseek.c: Reset pointer to buffer base
1430 when forced to seek outside of current buffer contents.
1431 This prevents the code from erroneously thinking there is
1432 anything in the current buffer.
1434 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
1436 * libc/include/math.h: The C++ standard adds the single-precision
1437 versions of the elementary functions.
1439 2001-10-22 Christopher Faylor <cgf@redhat.com>
1441 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1443 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1444 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1445 * system.c (_system_r): Ditto.
1447 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
1449 * libc/include/sys/unistd.h: Add prototype for fchdir() when
1450 __CYGWIN__ or __rtems__ is defined.
1452 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
1454 * libc/include/stdlib.h: add declarations for
1455 _strtoull_r, _strtoll_r, strtoull, and strtoll.
1456 * libc/stdio/local.h: remove declarations of
1457 __strtoull_r and __strtoll_r.
1458 * libc/stdio/vfscanf.c(__svfscanf_r): call
1459 _strtoull_r instead of __strtoull_r. Ditto
1460 _strtoll_r vs. __strtoll_r.
1461 * libc/stdlib/Makefile.am: add new files to
1462 .c list and .def list
1463 * libc/stdlib/Makefile.in: regenerate
1464 * libc/stdlib/strtoll_r.c: rename __strtoll_r
1466 * libc/stdlib/strtoull_r.c: rename __strtoull_r
1468 * libc/stdlib/strtoull.c: new file
1469 * libc/stdlib/strtoll.c: new file
1471 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
1473 * libc/include/process.h: Add getpid() declaration.
1475 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1477 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1478 for new style arm/elf ctor/dtor handling.
1479 Minor formatting tidy up.
1481 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
1483 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1485 * libc/stdlib/Makefile.in: Regenerated.
1486 * libc/stdlib/strtoll_r.c: New file.
1487 * libc/stdlib/strtoull_r.c: New file.
1488 * libc/stdio/local.h: Add prototypes for long long string
1489 conversion routines.
1490 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1491 tied to %L integer conversion specifier.
1493 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
1495 * strftime.c (strftime): Fix "%W" implementation to properly handle
1498 2001-09-07 Jeff Law <law@redhat.com>
1500 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1501 __fini with "mov.l" instead of "mov.w".
1503 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
1505 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1508 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
1510 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1512 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
1514 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1516 (__DIRENT_VERSION): New define.
1518 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
1520 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1521 Shrink __d_reserved accordingly to keep structure size.
1522 (dirfd): Declare external.
1524 2001-08-29 Joel Sherrill <joel@OARcorp.com>
1526 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1528 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1530 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1531 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1532 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1533 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1534 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1535 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1536 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1537 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1538 Add conditional compilation to avoid HW FPU instructions
1539 when compiled for soft-float.
1541 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1543 * Makefile.am: Add check for ln failing when creating libg.a
1544 so that cp gets used as a backup.
1545 * Makefile.in: Regenerated.
1547 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1549 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1550 No longer include time.h. Add struct __tm to use for
1551 _localtime_buf in the reentrant structure. Add a
1552 _NULL definition to use in initializing the reentrant struct.
1553 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1554 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1556 * libc/include/sys/unistd.h: Include <sys/_types.h>.
1557 * libc/time/lcltime.c (localtime): Cast the reentrant struct
1558 _localtime_buf to be struct tm *.
1560 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
1562 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1563 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1565 * libc/sys/h8300hms/syscalls.c: Include errno.h.
1566 (_unlink): New stub function.
1568 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
1570 * libc/include/sys/errno.h: Add a cautionary comment.
1572 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
1574 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1575 for SIZE_SZ so that alignment ends up a minimum of 8.
1577 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
1579 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1582 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1585 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
1587 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1588 macro constants for mallopt options.
1589 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1591 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
1593 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1596 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
1598 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1600 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1602 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1603 Define for little endian ARMs.
1605 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1606 __IEEE_BYTES_LITTLE_ENDIAN is defined.
1608 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1610 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1612 2001-06-11 Egor Duda <deo@logos-m.ru>
1614 * libc/ctype/ctype_.c: When compiled with gcc on platforms
1615 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1616 initialized memory region. Platform can define COMPACT_CTYPE
1617 to avoid allocation of the additional 128 bytes of data.
1618 Add pointer to _ctype_ array. Always initialize all _ctype_
1621 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
1623 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1626 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1628 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1630 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
1632 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1633 matching, non-word alignment, and the length is <= 4 but more than
1634 enough to move them over a word boundary.
1635 Add comments explaining what each instruction does.
1637 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
1639 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1640 * libc/include/sys/unistd.h: Ditto.
1642 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
1644 * libc/string/strrchr.c: Use strchr for the speed improvements.
1646 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
1648 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1649 real file systems, let __smakebuf() determine if line buffering
1650 should be used for stdout.
1652 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1654 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1656 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1658 * libc/include/stdlib.h: Add prototype for _strtod_r.
1660 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
1662 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1663 * libc/stdio/vprintf.c (_vprintf_r): new function
1664 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1665 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1666 _DEFUN, and call _vfprintf_r, not vfprintf.
1667 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1668 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1669 _DEFUN, and call _vfprintf_r, not vfprintf.
1671 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
1673 * libc/include/sys/unistd.h [X_OK]: Use better protection against
1674 Cygwin X_OK definitions in sys/file.h.
1676 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
1678 * libc/include/sys/time.h: Define timercmp and other macros for
1681 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1683 * acinclude.m4: Added --enable-malloc-debugging configure flag.
1684 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1685 --enable-malloc-debugging selected.
1686 * aclocal.m4 configure: Regenerated.
1687 libm/aclocal.m4 libm/configure: Ditto.
1688 * libc/aclocal.m4 libc/configure: Ditto.
1689 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1690 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1691 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1692 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1693 * doc/aclocal.m4 doc/configure: Ditto.
1695 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1697 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1699 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1700 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1701 function prototypes.
1702 (_fscanf_r, _sscanf_r): Ditto.
1703 * libc/include/stdlib.h: Added _strtod_r prototype.
1704 * libc/stdio/Makefile.am: Add new v*scanf functions.
1705 * libc/stdio/Makefile.in: Regenerate.
1706 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1707 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
1708 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1709 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1710 (sscanf): Changed to call __svfscanf_r with _REENT argument.
1711 (_sscanf_r): New routine.
1712 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1713 with __svfscanf_r prototype.
1714 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1716 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1717 structure as argument as calls reentrant versions of helper functions
1718 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1719 to _strtol_r and _strtod_r respectively.
1720 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1721 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1723 * libc/stdio/vscanf.c: New file.
1724 * libc/stdio/vsscanf.c: Ditto.
1726 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
1728 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
1729 Define daylight to _daylight if it is not defined
1730 Prepare a variable export of timezone based on timezonevariable.
1731 (Cannot be used with the timezone() function.)
1733 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
1735 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1736 Correct the numerical values.
1738 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
1740 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1742 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
1744 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1745 on case insensitve file systems.
1747 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
1749 * libc/include/sys/features.h: Add appropriate defines for Cygwin
1751 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1752 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1753 types. Include <cygwin/types.h> for the cygwin specific typedefs.
1755 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
1757 * libc/include/machine/ieeefp.h: Comment about new configuration
1758 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1759 * libm/common/fdlib.h: Define new macros for testing floats.
1760 * libm/common/sf_*: Use them.
1761 * libm/math/ef_*: Likewise.
1762 * libm/math/sf_*: Likewise.
1764 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
1766 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1767 prolog to by-pass possible assembler error.
1769 2001-03-21 Egor Duda <deo@logos-m.ru>
1771 Allow building internal stubs for non-reentrant syscalls
1772 if target provides its own malloc
1773 * libc/reent/reent.c (errno): Move definition here.
1774 * libc/reent/sbrkr.c: From here.
1776 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
1778 * libc/include/sys/types.h (BSD int typedefs): Guard with
1779 _BSDTYPES_DEFINED rather than _WINSOCK_H.
1780 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1782 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1783 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1785 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
1787 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1788 _PC_POSIX_SECURITY constants for Cygwin.
1790 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
1792 * libc/sys/cygwin/crt0.c: Add copyright hint.
1793 * libc/sys/cygwin/sys/dirent.h: Ditto.
1794 * libc/sys/cygwin/sys/param.h: Ditto.
1795 * libc/sys/cygwin/sys/utime.h: Ditto.
1796 * libc/sys/cygwin/sys/utmp.h: Ditto.
1798 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1800 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1801 equivalent to LONGINT.
1803 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
1805 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1806 jmpbuf on MIPS64 targets.
1807 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1809 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
1811 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
1814 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
1816 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1817 For RTEMS, define to be ssize_t. Default to int if not defined.
1818 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1819 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1820 * libc/stdio/local.h (__sread, __swrite): Likewise.
1821 * libc/include/sys/reent.h (_read, _write): Likewise.
1822 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1823 * libc/syscalls/sysread.c (read): Likewise.
1824 * libc/syscalls/syswrite.c (write): Likewise.
1826 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
1828 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1830 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
1832 * libc/include/sys/stat.h: Use special defines for executable stat bits
1833 when compiling for Cygwin.
1834 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1837 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1839 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1840 of strtok_r is always defined.
1842 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1844 * libc/include/machine/ansi.h: New dummy header file.
1846 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
1848 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1849 changed the copyright information to allow free modification of the
1850 file with no reference to "copying.dj".
1851 * libc/include/sys/stat-dj.h: Ditto.
1852 * libc/machine/i386/setjmp.S: Ditto.
1853 * libc/sys/h8300hms/sys/file.h: Ditto.
1854 * libc/sys/sysmec/access.c: Ditto.
1855 * libc/sys/sysnecv850/access.c: Ditto.
1856 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1857 * libc/stdlib/getenv_r.c: Ditto.
1858 * libc/stdlib/putenv_r.c: Ditto.
1859 * libc/stdlib/setenv_r.c: Ditto.
1860 * libc/stdlib/getenv.c: Removed DJ reference since any possible
1861 modifications will now be in the _r version of this file.
1862 * libc/stdlib/putenv.c: Ditto.
1863 * libc/stdlib/setenv.c: Ditto.
1864 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1865 valid. Added a reference to DJ's web page that contains his address.
1866 * libc/sys/go32/*.s: Removed references to DJ's old address.
1867 * libc/sys/go32/*.c: Ditto.
1868 * libc/sys/go32/*.h: Ditto.
1869 * libc/sys/go32/*.S: Ditto.
1870 * libc/sys/go32/sys/*.h: Ditto.
1872 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
1874 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1875 HAVE_FCNTL flag check.
1876 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1877 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1879 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
1881 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1883 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1885 * libc/include/stdlib.h: Add declarations of rand48 functions and
1886 their reentrant versions.
1887 * libc/include/sys/reent.h: Move macros from rand48.h. Add
1888 struct _rand48 for shared parameters of rand48 functions.
1889 (struct _reent): Add a variable _r48 of struct _rand48.
1890 (_REENT_INIT): Add _r48 initialization.
1891 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1892 (CHEWOUT_FILES): Add rand48.def.
1893 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1894 * libc/stdlib/Makefile.in: Regenerated.
1895 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1897 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1898 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1899 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1900 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1901 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1902 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1903 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1904 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1905 * libc/stdlib/rand48.c (__dorand48): Ditto.
1906 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1907 parameters into macros referring them in the reentrant structure.
1909 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
1911 * libc/include/sys/stat.h: Add mknod for Cygwin now that
1912 Cygwin definition has correct prototype.
1914 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1916 * libc/include/sys/stat.h: Must revert change for mknod
1917 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1920 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1922 * libc/include/stdio.h: Revert putw prototype.
1924 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
1926 * libc/include/grp.h: add prototype for initgroups.
1927 * libc/include/stdio.h: fix prototype for putw.
1928 * libc/include/sys/signal.h: add prototype for killpg.
1929 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1930 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1931 vhangup and remove duplicate sysconf prototype.
1933 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
1935 * libc/sys/rtems/sys/types.h: Removed.
1937 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
1939 * libc/include/locale.h: add LC_MESSAGES definition
1941 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
1943 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
1945 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
1946 __setup_argv_and_call_main): New.
1948 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
1950 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
1952 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
1953 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
1954 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
1955 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
1957 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
1959 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
1960 compiling under Cygwin.
1962 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
1964 * libc/include/math.h (signgam): Change to errno-like solution
1965 using a function to return the address of the real signgam.
1966 * libc/reent/signgam.c: New file containing __signgam().
1967 * libc/reent/Makefile.am: Added signgam.c to list of files.
1968 * libc/reent/Makefile.in: Regenerated.
1970 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
1972 * libc/sys/sh/syscalls.c (_times): New.
1974 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
1975 * libc/sys/sh/syscalls.c (_gettimeofday): New.
1977 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1979 * libc/include/math.h (signgam): Regress previous fix as
1980 it does not handle programs with extern int signgam in them.
1982 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1984 * libc/include/math.h (signgam): Changed to a macro refering to
1985 its location in the reentrant structure.
1987 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
1989 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
1990 that suppressed . for %.0f, 0.1. Check now looks if there
1991 are padding zeroes (expt) in addition to any digits (ndig) to
1994 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
1996 * libc/sys/arc/Makefile.am: New file.
1997 * libc/sys/arc/Makefile.in: Ditto.
1998 * libc/sys/arc/aclocal.m4: Ditto.
1999 * libc/sys/arc/configure: Ditto.
2000 * libc/sys/arc/configure.in: Ditto.
2001 * libc/sys/arc/crt0.S: Ditto.
2002 * libc/sys/arc/isatty.c: Ditto.
2003 * libc/sys/arc/mem-layout.c: Ditto.
2004 * libc/sys/arc/sbrk.c: Ditto.
2005 * libc/sys/arc/syscalls.c: Ditto.
2006 * libc/sys/arc/sys/syscall.h: Ditto.
2008 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
2010 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2012 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
2014 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2016 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
2018 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2020 2001-01-09 Nick Clifton <nickc@redhat.com>
2022 * configure.host (v859): Remove unsupported compiler options.
2024 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
2026 * src/newlib/configure.host (*-*-rtems*): add printf long long
2029 2000-12-19 Graham Stott <grahams@redhat.com>
2031 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2033 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2035 * configure.host: Turn on long double I/O for Cygwin.
2037 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2039 * MAINTAINERS: Removed Ranjith.
2040 * NEWS: Updated for 1.9.0.
2042 * acinclude.m4: Updated to release 1.9.0.
2043 * aclocal.m4 configure
2044 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2045 libc/machine/aclocal.m4 libc/machine/configure
2046 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2047 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2048 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2049 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2050 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2051 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2052 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2053 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2054 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2055 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2056 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2057 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2058 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2059 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2060 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2061 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2062 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2063 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2064 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2065 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2066 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2067 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2068 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2069 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2070 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2071 libc/sys/aclocal.m4 libc/sys/configure
2072 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2073 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2074 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2075 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2076 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2077 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2078 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2079 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2080 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2081 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2082 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2083 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2084 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2085 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2086 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2087 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2088 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2089 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2090 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2091 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2092 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2093 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2094 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2095 libm/aclocal.m4 libm/configure: Regenerated.
2097 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2099 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2100 when __CYGWIN__ is defined.
2102 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2104 * libc/stdlib/ldtoa.c (_ldcheck): New routine
2105 that categorizes a long double as NaN, Infinity, or other.
2106 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
2107 isinfl and isnanl static routines which were i386-specific. Changed
2108 calls to the two removed routines to a single _ldcheck call.
2109 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2111 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2113 * Makefile.am: Fixed install-data-local target to use
2114 $(mkinstalldirs) for the installed header files to ensure
2115 the directories exist before copying.
2116 * Makefile.in: Regenerated.
2118 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
2120 * libc/include/sys/unistd.h: Restored Cygwin _SC
2121 constants and moved new constants appropriately
2122 so Cygwin will build.
2124 2000-12-11 Joel Sherrill <joel@OARcorp.com>
2126 * Merge RTEMS specific .h files into main libc/include.
2127 * libc/sys/rtems/include/signal.h: Removed.
2128 * libc/sys/rtems/include/time.h: Removed.
2129 * libc/sys/rtems/sys/features.h: Removed.
2130 * libc/sys/rtems/sys/sched.h: Removed.
2131 * libc/sys/rtems/sys/siginfo.h: Removed.
2132 * libc/sys/rtems/sys/signal.h: Removed.
2133 * libc/sys/rtems/sys/time.h: Removed.
2134 * libc/sys/rtems/sys/times.h: Removed.
2135 definitions for time_t and clock_t since these are
2136 no longer in time.h.
2137 * libc/include/pthread.h: New file.
2138 * libc/include/sys/sched.h: New file.
2139 * libc/include/sys/features.h: New file.
2140 * libc/include/time.h: Removed duplicate definition of clock_t
2141 and time_t, get them from <sys/types.h> instead. Add prototypes
2142 for POSIX clock and timer functionality.
2143 * libc/sys/linux/sys/types.h: Changed to include
2144 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2145 * libc/include/sys/signal.h: Add more complete set of POSIX
2146 signal functionality including real-time and threaded signals.
2147 * libc/include/sys/types.h: Add clock_t, time_t, struct
2148 timespec, and struct itimerspec. Centralizing these makes
2149 things cleaner. RTEMS uses 64-bit dev_t.
2150 Added numerous primitive definitions
2151 for pthreads including macros, pthread_attr_t,
2152 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
2153 pthread_once_t, and pthread_t.
2154 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2155 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2156 Feature flags removed and moved to new file <sys/features.h>.
2157 Full set of POSIX sysconf() constants
2159 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
2161 * configure.host: Added x86 linux target.
2162 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2163 definitions provided if not already defined.
2164 * libc/sys/linux/crt0.c: New file.
2165 * libc/sys/linux/Makefile.am: Ditto.
2166 * libc/sys/linux/Makefile.in: Ditto.
2167 * libc/sys/linux/aclocal.m4: Ditto.
2168 * libc/sys/linux/brk.c: Ditto.
2169 * libc/sys/linux/configure: Ditto.
2170 * libc/sys/linux/configure.in: Ditto.
2171 * libc/sys/linux/getoptlong.c: Ditto.
2172 * libc/sys/linux/ids.c: Ditto.
2173 * libc/sys/linux/inode.c: Ditto.
2174 * libc/sys/linux/io.c: Ditto.
2175 * libc/sys/linux/linux.c: Ditto.
2176 * libc/sys/linux/process.c: Ditto.
2177 * libc/sys/linux/realpath.c: Ditto.
2178 * libc/sys/linux/select.c: Ditto.
2179 * libc/sys/linux/signal.c: Ditto.
2180 * libc/sys/linux/systat.c: Ditto.
2181 * libc/sys/linux/termios.c: Ditto.
2182 * libc/sys/linux/time.c: Ditto.
2183 * libc/sys/linux/wait.c: Ditto.
2184 * libc/sys/linux/include/alloca.h: Ditto.
2185 * libc/sys/linux/include/getopt.h: Ditto.
2186 * libc/sys/linux/include/stdint.h: Ditto.
2187 * libc/sys/linux/include/unistd.h: Ditto.
2188 * libc/sys/linux/sys/cdefs.h: Ditto.
2189 * libc/sys/linux/sys/dirent.h: Ditto.
2190 * libc/sys/linux/sys/errno.h: Ditto.
2191 * libc/sys/linux/sys/fcntl.h: Ditto.
2192 * libc/sys/linux/sys/file.h: Ditto.
2193 * libc/sys/linux/sys/ioctl.h: Ditto.
2194 * libc/sys/linux/sys/resource.h: Ditto.
2195 * libc/sys/linux/sys/signal.h: Ditto.
2196 * libc/sys/linux/sys/stat.h: Ditto.
2197 * libc/sys/linux/sys/syscall.h: Ditto.
2198 * libc/sys/linux/sys/termios.h: Ditto.
2199 * libc/sys/linux/sys/time.h: Ditto.
2200 * libc/sys/linux/sys/types.h: Ditto.
2201 * libc/sys/linux/sys/utmp.h: Ditto.
2202 * libc/sys/linux/sys/utsname.h: Ditto.
2203 * libc/sys/linux/sys/wait.h: Ditto.
2205 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2207 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
2208 can be a relative path to $(top_srcdir)/install.sh so ensure the
2209 autoconf detected settings are properly passed recursively.
2210 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2211 properly to subdirectories.
2212 * Makefile.in: Regenerated.
2214 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
2216 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2217 a floating point register unless really printing a floating
2220 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
2222 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2224 (asctoeg): Replaced alloca call with stack array and malloc
2225 when storage exceeds reasonable limit.
2226 (e53toe): Fixed einfin calls missing ldp parameter.
2227 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2229 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2232 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2234 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2236 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2237 * libc/stdlib/Makefile.in: Regenerated.
2238 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2239 * libc/stdio/vfieeefp.h: Added long double bit structures.
2240 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2241 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2242 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2243 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2244 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2245 _strtold routines used for conversions between character
2248 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2250 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2252 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2254 * libc/include/machine/time.h: RTEMS systems can configure clock
2255 tick rate so use sysconf() to ask.
2257 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2259 * libc/include/sys/times.h: Add reference to POSIX standard.
2261 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2263 * libc/include/sys/time.h: Added BSD timer manipulation macros
2266 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2268 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2269 referenced by code generated by gcc 2.8.1.
2270 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
2273 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2275 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2277 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2279 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2281 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2283 * configure.host (or16, or32): New entries for OpenCores
2285 (*-*-rtems*): Add -DNO_EXEC.
2287 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2289 * libc/include/sys/errno.h: Added comments on many error numbers.
2290 * libc/string/strerror.c: Added some more strings.
2292 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
2294 * libc/sys/sh/syscalls.c (_link): New stub.
2296 2000-11-29 Nick Clifton <nickc@redhat.com>
2298 * configure.host: Add xscale target.
2299 * libc/machine/xscale: New directory.
2300 * libc/machine/xscale/Makefile.am: New file.
2301 * libc/machine/xscale/Makefile.in: New file.
2302 * libc/machine/xscale/aclocal.m4: New file.
2303 * libc/machine/xscale/configure: New file.
2304 * libc/machine/xscale/configure.in: New file.
2305 * libc/machine/xscale/memchr.S: New file.
2306 * libc/machine/xscale/memcmp.S: New file.
2307 * libc/machine/xscale/memcpy.S: New file.
2308 * libc/machine/xscale/memmove.S: New file.
2309 * libc/machine/xscale/memset.S: New file.
2310 * libc/machine/xscale/strchr.S: New file.
2311 * libc/machine/xscale/strcmp.S: New file.
2312 * libc/machine/xscale/strcpy.S: New file.
2313 * libc/machine/xscale/strlen.S: New file.
2315 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2317 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2318 avoid compiler warnings.
2320 2000-11-22 Michael Meissner <meissner@redhat.com>
2322 * libc/posix/execl.c (execl): Don't reference environ directly,
2323 reference it only via a static pointer to avoid problems with some
2324 shared library systems and with different uses of small data where
2325 the user specifies his own version of environ.
2326 * libc/posix/execv.c (execv): Ditto.
2327 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2328 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2329 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2331 * libc/stdlib/getenv.c (environ): Delete unused reference to
2334 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2336 * libc/stdlib/system.c: Ditto.
2338 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
2340 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2341 including windows headers.
2343 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
2345 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2346 * libc/include/dirent.h: Added definition of MAXNAMLEN if
2347 not defined by sys/dirent.h.
2348 * libc/posix/execvp.c: Added include of dirent.h to get
2349 MAXNAMLEN value which used to be in unistd.h.
2351 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2353 * libc/include/sys/types.h: Change type of i to `size_t' in
2354 FD_ZERO macro to avoid compiler warnings.
2356 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
2358 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2359 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2361 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2363 * libc/include/sys/unistd.h: Add defines for sysconf values
2364 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2367 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
2369 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2370 declarations for __CYGWIN__.
2372 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
2374 * libc/signal/signal.c (__sigtramp_r): ISO C requires
2375 case labels to be integral constant expressions, so
2376 use an if/else tree instead.
2377 (_raise_r): Likewise.
2379 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
2381 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2382 clipping patch from e-mail reader.
2384 2000-09-13 Will Cohen <wcohen@redhat.com>
2386 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2387 Added return value 0.
2388 (_longjmp): Allow longjmp to return value of second argument
2391 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
2393 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2394 inline code to prevent having to include another header file.
2396 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
2398 * Makefile.am: Fix space vs. tab problem in install-data-local.
2399 * Makefile.in: Regenerate.
2401 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
2403 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2404 (_EXPARM): New macro for defining a function parameter.
2405 * libc/include/stdlib.h: Use _EXPARM.
2406 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2408 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
2410 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2411 required, as documented in the gnu coding standards.
2412 * Makefile.in: Regenerate.
2414 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
2416 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2417 make O_NDELAY and O_NONBLOCK have the same value.
2419 2000-08-30 Kazu Hirata <kazu@hxi.com>
2421 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2423 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
2425 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2426 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2427 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2430 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
2432 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2433 * libc/include/string.h: Don't include <sys/types.h>,
2434 as it causes really bad namespace pollution. Don't declare
2435 swab(), it is properly declared in unistd.h.
2437 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
2439 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2440 (broken) support for non-existent /etc/passwd field "comment".
2442 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2444 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2445 only if _DIRENT_HAVE_D_NAMLEN is defined.
2446 (alphasort): aligned prototype with
2447 libc/sys/cygwin/sys/dirent.h and simplified function body.
2448 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2449 long telldir (DIR *) as mentioned in annex B of POSIX.1
2451 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2453 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2454 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2455 Added __CLI and __STI macros (controlled via
2456 _I386MACH_ALLOW_HW_INTERRUPTS macro).
2457 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2458 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2459 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2460 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2461 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2462 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2463 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2464 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2465 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2466 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2467 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2468 for all global entry points.
2469 * libc/machine/i386/setjmp.S: removed code replicated in
2470 libc/machine/i386/i386mach.h and included i386mach.h instead;
2471 Use __CLI and __STI instead of cli and sti.
2473 2000-08-25 DJ Delorie <dj@redhat.com>
2475 * libc/include/sys/unistd.h (environ): this one isn't from the
2478 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
2480 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2481 environ when compiling under cygwin since it is already declared in
2484 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2486 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2487 like x << y-z to the equivalent x << (y-z).
2488 (d2b): changed if statements with assignment to perform the
2489 assignment prior to the if check.
2490 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2491 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2492 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2493 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2495 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2496 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2498 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2500 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2501 clarify && and || precendence (and to remove pascalism).
2502 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2503 * libm/math/s_infconst.c: added another pair of braces to all
2504 initializers for __infinity (need three: for __infinity[1] array,
2505 for union __dmath, and for i[2]).
2507 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2509 * libc/stdlib/abort.c: changed description: uses "raise" instead of
2510 "getpid" and "kill"; added: uses "write" and "_exit".
2511 Also included unistd.h for "_exit" prototype.
2512 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2513 reent.h for "_fork_r" and "_wait_r" prototypes.
2514 (do_system): changed extern char *environ[] to POSIX-friendly
2515 extern char **environ.
2516 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2518 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2519 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2520 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2521 * libc/reent/openr.c: included fcntl.h for "open" prototype.
2522 * libc/reent/signalr.c: included signal.h for "kill" prototype,
2523 unistd.h for "getpid" prototype.
2524 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2525 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2526 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2527 prototype. Also included stdlib.h for "abort", string.h for
2528 "strdup" and "strncmp" prototypes.
2529 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2530 "strncpy", unistd.h for "read" and "close" prototypes.
2531 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2532 "strcat" prototypes.
2534 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
2536 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2537 used later (ifdef __SCLE)
2538 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2539 used later (ifdef MB_CAPABLE)
2540 * libc/string/memset.c (memset): removed unused variables "count"
2541 and "unaligned_addr"
2542 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2543 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2544 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2547 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2549 * libc/stdlib/envlock.c: changed documented "__env_lock" and
2550 "__env_unlock" prototype from "void *" or "char *" to
2551 "struct _reent *" to match real function. Also added include
2553 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2554 "__malloc_unlock" prototype from "void *" or "char *" to
2555 "struct _reent *" to match real function.
2556 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2557 prototypes (for getenv_r.c and setenv_r.c).
2559 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
2561 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2562 and prototype in cygwin's utmp.h
2564 2000-08-16 Eric Fifer <efifer@sanwaint.com>
2566 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2568 2000-08-09 Nick Clifton <nickc@cygnus.com>
2570 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2571 epilogue and to allow the functions to be used in a Thumb based
2574 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
2576 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2577 so size of 0 results in nothing being written to string.
2578 Also fixed code so that when size is non-zero, there is only
2579 a maximum of size - 1 characters written to the array and
2580 a nul terminator is appended at the end.
2581 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2583 2000-08-01 DJ Delorie <dj@redhat.com>
2585 * libc/include/sys/config.h: define __IMPORT appropriately
2586 * libc/include/ctype.h (_ctype_): use __IMPORT
2587 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2588 * libc/include/math.h (__mb_cur_max): ditto
2589 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2590 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2591 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2592 * libc/include/unistd.h (environ): ditto
2594 2000-07-28 Michael Meissner <meissner@redhat.com>
2596 * libc/include/math.h (__infinity): Declare as an array without
2597 bounds to get around small data support. Rewrite Cygwin support
2599 * libm/math/s_infconst.c (__infinity): Ditto.
2600 * libm/mathfp/s_infconst.c (__infinity): Ditto.
2602 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
2604 * libc/include/math.h: Use appropriate dll import linkage for
2605 __infinity under Cygwin.
2607 2000-07-13 DJ Delorie <dj@cygnus.com>
2609 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2611 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
2613 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2614 to argument list for AngelSWI_Reason_GetCmdLine.
2616 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2618 * configure.host: Add support for AVR target.
2619 * libc/include/machine/ieeefp.h: Likewise.
2620 * libc/include/sys/config.h: Likewise.
2622 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2624 * README: Newlib 1.8.2 must be built in a separate directory
2627 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2629 * libc/include/sys/reent.h (_rand_next): Added __extension__
2630 qualifier as long long type is not strict ANSI.
2631 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2632 to long long constant.
2634 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
2636 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2637 `setegid' provided by Cygwin.
2639 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
2641 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2644 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2646 * libc/include/sys/reent.h (_rand_next): Changed to
2647 unsigned long long and moved to end of _reent struct in _new union.
2648 (_REENT_INIT): Changed to move _rand_next initialization.
2649 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2650 linear congruential algorithm that is used by DJGPP.
2652 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2654 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2655 * libc/include/sys/config.h: Define __RAND_MAX.
2657 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2659 * libc/stdlib/rand_r.c: New algorithm that meets minimal
2662 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
2664 * libc/include/string.h: Work around problem with strsignal and gdb.
2666 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
2668 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2669 * libc/include/malloc.h: Ditto.
2670 * libc/include/process.h: Ditto.
2671 * libc/include/stdio.h: Ditto.
2672 * libc/include/stdlib.h: Ditto.
2673 * libc/include/time.h: Ditto.
2674 * libc/include/machine/setjmp.h: Ditto.
2675 * libc/include/sys/errno.h: Ditto.
2676 * libc/include/sys/signal.h: Ditto.
2677 * libc/include/sys/stat.h: Ditto.
2678 * libc/include/sys/time.h: Ditto.
2679 * libc/include/sys/unistd.h: Ditto.
2680 * libc/include/string.h: Ditto. strsignal should return a const char *.
2682 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
2684 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2685 * libm/common/s_log1p.c (log1p): Likewise.
2686 * libm/common/s_scalbn.c (scalbn): Likewise.
2687 * libm/math/e_log.c: Likewise.
2688 * libm/math/e_asin.c: Likewise.
2689 * libm/math/ef_asin.c: Likewise.
2690 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2691 * libm/math/e_j1.c (pone, qone): Likewise.
2692 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2693 * libm/math/ef_j1.c (ponef, qonef): Likewise.
2694 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2695 * libm/mathfp/e_j1.c (pone, qone): Likewise.
2696 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2697 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2699 2000-05-19 DJ Delorie <dj@cygnus.com>
2701 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2702 (__sread): always read in binary mode
2703 (__swrite): always write in binary mode
2704 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2705 compatibility issues with different dll versions
2706 * libc/stdio/fopen.c: use __stextmode
2707 * libc/stdio/fdopen.c: ditto
2708 * libc/stdio/freopen.c: ditto
2709 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2710 * libc/stdio/local.h: declare __stextmode
2712 2000-05-18 DJ Delorie <dj@cygnus.com>
2714 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2716 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2718 * libc/include/ctype.h: Changed tolower and toupper macros
2719 to use __extension__ to prevent pedantic warnings.
2721 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
2723 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2726 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
2728 * libc/include/machine/ieeefp.h: Add ia64 support.
2729 * configure.host: Likewise.
2731 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
2733 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2734 month is now padded with space, not zero. This now conforms to
2737 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
2739 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2740 host or network path") used by cygwin. Add some comments.
2742 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
2744 * libc/include/stdio.h (FILE): define __SCLE for "convert line
2745 endings" for Cygwin.
2746 (__sgetc): convert line endings if needed
2748 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2749 * libc/stdio/fopen.c (_fopen_r): ditto
2750 * libc/stdio/freopen.c (freopen): ditto
2751 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2752 * libc/stdio/fvwrite.c (__sfvwrite): ditto
2754 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
2756 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2757 post-increment when it is worth it, spacewise.
2759 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2761 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2762 * libc/stdio/findfp.c (std): Added declaration of flags and file.
2763 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
2765 * libc/stdio/putchar.c (putchar): Added return statement.
2766 * libc/stdio/refill.c (lflush): Added correct parentheses.
2767 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2768 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
2769 prints long value to use l qualifier.
2770 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2771 messages and initialized local values: ilim, ilim1, and spec_case.
2772 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2773 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2774 * libc/stdlib/mprec.c: Ditto.
2775 * libc/stdlib/setenv_r.c: Ditto.
2776 * libc/stdlib/strtod.c: Ditto.
2777 * libc/stdlib/strtol.c: Ditto.
2778 * libc/stdlib/strtoul.c: Ditto.
2779 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2780 * libm/common/sf_log1p.c: Ditto.
2781 * libm/common/sf_scalbn.c: Ditto.
2782 * libm/math/ef_log.c: Ditto.
2784 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
2786 * libc/posix/execvp.c (execvp): Check path for
2789 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
2791 * libc/include/sys/unistd.h: Add prototypes for
2792 fchmod, fchown, lchown.
2794 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2796 * acinclude.m4: Changed release to 1.8.2.
2797 * aclocal.m4 configure doc/aclocal.m4 doc/configure
2798 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2799 libc/machine/configure libc/machine/a29k/aclocal.m4
2800 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2801 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2802 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2803 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2804 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2805 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2806 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2807 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2808 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2809 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2810 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2811 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2812 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2813 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2814 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2815 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2816 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2817 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2818 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2819 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2820 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2821 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2822 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2823 libc/machine/z8k/configure libc/sys/aclocal.m4
2824 libc/sys/aclocal.m4 libc/sys/configure
2825 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2826 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2827 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2828 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2829 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2830 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2831 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2832 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2833 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2834 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2835 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2836 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2837 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2838 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2839 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2840 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2841 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2842 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2843 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2844 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2845 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2846 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2847 libm/aclocal.m4 libm/configure: Regenerated.
2849 2000-03-24 Nick Clifton <nickc@cygnus.com>
2851 * libc/sys/arm/syscalls.c: Fix compile time warnings.
2852 (do_AngelSWI): Add "cc" to list o registers clobbered.
2854 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2856 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2857 information to be clobbered by an Angel C library support syscall.
2859 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2861 * libc/stdlib/envlock.c: Fixed comment typo.
2863 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2865 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2866 code to update nread as each character is processed instead
2867 of using buffer contents which throw away leading zeroes.
2869 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
2871 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2873 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
2875 * libc/include/string.h: Include <sys/types.h>.
2877 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2879 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2880 with XSH5, not SVID.
2882 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2884 * libc/include/string.h: Changed last argument back to ssize_t
2885 to make it compatible with XPG4 definition which is
2886 defined in <unistd.h>. There is a conflict in the SVID 3
2887 and XPG4 definitions and newlib will settle with XPG4.
2888 * libc/string/swab.c: Ditto.
2890 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2892 * libc/include/string.h: Changed last argument to size_t.
2893 * libc/string/swab.c: Changed last argument to size_t.
2895 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2897 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2898 (CHEWOUT_FILES): Added unlinkr.def.
2899 * libc/reent/Makefile.in: Rebuilt.
2900 * libc/sys.tex: Include unlinkr.def.
2901 * libc/reent/linkr.c (_unlink_r): Moved to...
2902 * libc/reent/unlinkr.c: ... new file.
2904 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2906 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2907 (CHEWOUT_FILES): Added swab.def.
2908 * libc/string/Makefile.in: Rebuilt.
2909 * libc/string/string.tex: Include swab.def.
2910 * libc/include/string.h (swab): Declare.
2911 * libc/string/swab.c: New file.
2913 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2915 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2916 (CHEWOUT_FILES): Added getw.def and putw.def.
2917 * libc/stdio/Makefile.in: Rebuilt.
2918 * libc/stdio/stdio.tex: Include getw.def and putw.def.
2919 * libc/stdio/getw.c: New file.
2920 * libc/stdio/putw.c: New file.
2922 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2924 * libc/stdio/flags.c (__sflags): Added check that mode[1]
2925 is non-null before looking at mode[2].
2927 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2929 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2930 * libm/mathfp/sf_atan.c: Ditto.
2932 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
2934 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2936 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2938 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
2941 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2943 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
2944 call prior to calling _VFPRINTF_R so reentrant data area is set.
2945 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2947 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2949 * libc/stdio/vfscanf.c (limits.h): #include.
2950 (MAX_LONG_LEN): #define.
2951 (__svfscanf): Handle floating point numbers with arbitrary amounts
2954 2000-02-15 Nick Clifton <nickc@cygnus.com>
2956 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
2957 zero. Set the blocksize to 1024/
2959 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2961 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
2962 with line buffering.
2964 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2966 * acinclude.m4: Changed include directory for winsup headers.
2967 * aclocal.m4 configure libc/aclocal.m4
2968 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
2969 libc/locale/Makefile.in libc/machine/aclocal.m4
2970 libc/machine/configure libc/machine/a29k/aclocal.m4
2971 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2972 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2973 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2974 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2975 libc/machine/fr30/configure
2976 libc/machine/h8300/aclocal.m4
2977 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2978 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2979 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2980 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2981 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2982 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2983 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2984 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2985 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2986 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2987 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2988 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2989 libc/machine/powerpc/configure
2990 libc/machine/sh/aclocal.m4
2991 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2992 libc/machine/sparc/configure
2993 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2994 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2995 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2996 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2997 libc/misc/Makefile.in libc/posix/Makefile.in
2998 libc/reent/Makefile.in
2999 libc/signal/Makefile.in
3000 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3001 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3002 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3003 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3004 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3005 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3006 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3007 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3008 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3009 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3010 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3011 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3012 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3013 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3014 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3015 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3016 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3017 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3018 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3019 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3020 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3021 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3022 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3023 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3024 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3025 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3026 libm/configure: Regenerated.
3028 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
3030 * libc/stdlib/putenv_r.c (_putenv_r): New file.
3031 * libc/stdlib/strdup_r.c (_strdup_r): New file.
3032 * libc/include/string.h: Added _strdup_r.
3033 * libc/stdlib/putenv.c: Added call to reentrant version.
3034 * libc/stdlib/strdup.c: Ditto.
3035 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3036 * libc/include/stdlib.h: Ditto.
3037 * libc/stdlib/Makefile.in: Regenerated.
3038 * libc/string/Makefile.in: Regenerated.
3039 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3040 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3041 management calls to reentrant versions.
3042 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3043 * libc/stdlib/wctomb.c: Ditto.
3044 * libc/stdlib/mblen.c: Ditto.
3045 * libc/stdlib/mbstowcs.c: Ditto.
3046 * libc/stdlib/mbtowc.c: Ditto.
3047 * libc/stdlib/getenv.c: Ditto.
3048 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3051 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
3053 patch from Corinna Vinschen <corinna@vinschen.de>
3054 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3056 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
3058 * libm/mathfp/s_atangent.c: Fix exponent calculation.
3059 * libm/mathfp/s_ldexp.c: Ditto.
3060 * libm/mathfp/sf_atangent.c: Ditto.
3061 * libm/mathfp/sf_ldexp.c: Ditto.
3063 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3065 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3066 * libc/include/locale.h: define NULL to be 0.
3068 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
3070 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3073 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
3075 * libc/machine/mn10300/setjmp.S: Handle am33.
3077 1999-11-26 Nick Clifton <nickc@cygnus.com>
3079 * libc/sys/arm/syscalls.c: Add function prototypes.
3080 (stack_ptr): Move declaration before function definitions.
3082 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3084 * NEWS: Updated version information.
3087 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
3089 * libc/machine/i386/strchr.S: Fixed alignment test.
3091 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
3093 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3095 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3097 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3098 ensuring that there is space between the two.
3100 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
3102 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3105 1999-10-08 Vadim Egorov <egorovv@1c.ru>
3107 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3110 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3112 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3113 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3115 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
3116 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3118 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3121 1999-09-13 DJ Delorie <dj@cygnus.com>
3123 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3126 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3128 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
3129 also note BUFSIZ as its size.
3131 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
3133 * configure.host: Corrected feature defines for RTEMS.
3134 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3135 * libc/include/sys/stat.h: mkfifo() should take const path arg.
3136 * libc/include/sys/unistd.h: pathconf() should take const path arg.
3137 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3138 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3139 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
3140 _PC_PRIO_IO, and _PC_SYNC_IO.
3141 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3142 * libc/machine/m68k/Makefile.in: Regenerated.
3143 * libc/machine/m68k/strcpy.c: New file.
3144 * libc/machine/m68k/strlen.c: New file.
3145 * libc/stdio/tmpnam.c: Always make the returned name usable.
3146 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3147 * libc/sys/rtems/sys/dirent.h: New file.
3148 * libc/sys/rtems/sys/types.h: Added dev_t.
3150 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
3152 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3154 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
3156 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3159 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
3161 patch from Jeff Johnston <jjohnstn@cygnus.com>
3162 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3163 buffer is not in a useful state.
3165 1999-09-01 Nick Clifton <nickc@cygnus.com>
3167 * libc/sys/arm/syscalls.c (_link): Add stub.
3169 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3171 * ftell.c (ftell): Use actual position within buffer for text mode.
3172 * findfp.c (std): Initialize ptr->_bf._size.
3174 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
3176 * libc/include/sys/unistd.h: Add nice() declaration.
3178 1999-08-09 Nick Clifton <nickc@cygnus.com>
3180 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3181 declare as a thumb function so that the disassembler will see the
3184 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3186 * libc/reent/reent.tex: Updated list of reentrant functions.
3188 1999-07-09 Michael Meissner <meissner@cygnus.com>
3190 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3192 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
3194 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3196 * libc/stdio/snprintf.c: New file.
3197 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3199 * libc/stdio/vsnprintf.c: New file.
3200 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3201 * libc/stdio/Makefile.in: Regenerated.
3203 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
3205 Patch submitted by Egor Duda <deo@logos-m.ru>:
3206 * libc/include/stdio.h: Add declarations for *nprintf.
3207 * libc/stdio/sprintf.c (snprintf): New function.
3208 (_snprintf_r): New function.
3209 * libc/stdio/vsprintf.c (vsnprintf): New function.
3210 (_vnsprintf_r): New function.
3212 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3214 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3215 * libm/Makefile.am (stmp-targetdep): Ditto.
3216 * libc/Makefile.in: Regenerated.
3217 * libm/Makefile.in: Ditto.
3219 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3221 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3222 * libm/Makefile.am (stmp-targetdep): Ditto.
3223 * libc/Makefile.in: Regenerated.
3224 * libm/Makefile.in: Ditto.
3226 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3228 * Makefile.am: Removed dependencies on all-recursive and added "."
3229 to the SUBDIRS list to prevent infinite recursion from occurring.
3230 Also removed any references to EXTRA_DATA.
3231 * libc/Makefile.am: Ditto.
3232 * libc/machine/Makefile.am: Ditto.
3233 * libc/machine/i386/Makefile.am: Ditto.
3234 * libm/Makefile.am: Ditto.
3235 * libc/sys/Makefile.am: Ditto.
3236 * Makefile.in: Regenerated.
3237 * aclocal.m4: Ditto.
3239 * doc/Makefile.in: Ditto.
3240 * doc/aclocal.m4: Ditto.
3241 * doc/configure: Ditto.
3242 * libc/Makefile.in: Ditto.
3243 * libc/aclocal.m4: Ditto.
3244 * libc/configure: Ditto.
3245 * libc/machine/Makefile.in: Ditto.
3246 * libc/machine/aclocal.m4: Ditto.
3247 * libc/machine/configure: Ditto.
3248 * libc/machine/mn10300/Makefile.in: Ditto.
3249 * libc/machine/mn10300/aclocal.m4: Ditto.
3250 * libc/machine/mn10300/configure: Ditto.
3251 * libc/sys/Makefile.in: Ditto.
3252 * libc/sys/aclocal.m4: Ditto.
3253 * libc/sys/configure: Ditto.
3254 * libm/Makefile.in: Ditto.
3255 * libm/aclocal.m4: Ditto.
3256 * libm/configure: Ditto.
3258 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3260 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3262 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3264 * libc/include/stdlib.h: Add reentrant routines.
3265 * libc/stdlib/Makefile.am: Add reentrant routines.
3266 * libc/stdlib/Makefile.in: Ditto.
3267 * libc/stdlib/envlock.c: New file.
3268 * libc/stdlib/envlock.h: New file.
3269 * libc/stdlib/getenv.c: Modify to call reentrant routine.
3270 * libc/stdlib/getenv_r.c: New file.
3271 * libc/stdlib/mblen.c: Modify to call reentrant routine.
3272 * libc/stdlib/mblen_r.c: New file.
3273 * libc/stdlib/setenv.c: Modify to call reentrant routine.
3274 * libc/stdlib/setenv_r.c: New file.
3275 * libc/stdlib/stdlib.tex: Add reentrant routines.
3277 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
3279 * libc/include/sys/types.h: Define __MS_types__ whenever
3282 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
3284 * libc/include/machine/ieeefp.h: Always default to little
3285 endian if Windows, regardless of architecture.
3286 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3287 regardless of architecture.
3289 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
3291 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3292 _WIN32 isn't defined.
3294 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
3296 * libm/common/s_rint.c (rint): Add volatile qualifier for
3297 intermediate value w.
3298 * libm/common/sf_rint.c (rintf): Ditto.
3300 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3302 * libc/sys/arm/syscalls.c (remap_handle): Added check to
3303 ensure that std streams are initialized before being referenced.
3305 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
3307 * README: Update reference to newlib@cygnus.com new
3308 newlib@sourceware.cygnus.com address.
3310 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
3312 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3313 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3314 defined, even if _WIN32 isn't defined.
3316 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
3318 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3320 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3322 * libc/include/sys/reent.h: Change Long and ULong to __Long and
3324 * libc/stdlib/dtoa.c: Ditto.
3325 * libc/stdlib/mprec.c: Ditto.
3326 * libc/stdlib/mprec.h: Ditto.
3327 * libc/stdlib/strtod.c: Ditto.
3329 1999-04-21 Nick Clifton <nickc@cygnus.com>
3331 * configure.host (mcore): Remove mcore machine directory.
3333 1999-04-18 Nick Clifton <nickc@cygnus.com>
3335 * libc/include/machine/ieeefp.h: Add support for mcore target.
3336 * libc/include/machine/setjmp.h: Add support for mcore target.
3337 * configure.host: Add support for mcore target.
3339 1999-04-13 Mark Salter <msalter@cygnus.com>
3341 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3342 * libc/sys/arm/syscalls.c: Added isatty.
3344 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3346 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3347 insert zeroes after significant digits.
3349 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3351 * libc/stdio/vfprintf.c (cvt): Changed floating point
3352 cvt routine to use union used by dtoa to properly determine
3353 if the sign bit is on or not.
3354 * libc/stdio/vfieeefp.h: New file
3356 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3358 * aclocal.m4: Regenerated.
3359 * configure: Regenerated.
3361 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3363 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3365 * libc/machine/i386/Makefile.in: Regenerated.
3367 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
3369 * acinclude.m4: Changed to work with new automake.
3370 * configure: Regenerated.
3371 * libc/machine/i386/aclocal.m4: Regenerated.
3372 * libc/machine/i386/configure: Regenerated.
3374 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
3376 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3377 for telldir() and seekdir(). Rename unused structure element
3378 for use with these two routines.
3380 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
3382 * libc/time/mktime.c (validate_structure): Multiple fixes to
3383 code to handle cases where input fields are outside valid ranges.
3384 * libc/stdlib/div.c (div): Modified invalid rounding check.
3385 * libc/stdlib/ldiv.c (ldiv): Ditto.
3387 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
3389 * libc/machine/i386/memcpy.S: Performance rewrite.
3390 * libc/machine/i386/memmove.S: Ditto.
3391 * libc/machine/i386/i386mach.h: Added more register definitions.
3392 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3394 * libc/include/machine/fastmath.h: Add definitions for x86
3397 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3399 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3401 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
3403 Adjust newlib headers for new Cygwin Win32 API header files:
3404 * libc/include/sys/time.h: Check _WINSOCK_H rather than
3405 _GNU_H_WINDOWS32_SOCKETS.
3406 * libc/include/sys/types.h: Ditto.
3408 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3410 *include/sys/reent.h: Add checks for size of Bigint element Long.
3411 *libc/dtoa.c: Change routines to use generic Long type.
3412 *libc/mprec.c: Change routines to use generic Long type.
3413 *libc/mprec.h: Change routines to use generic Long type.
3415 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
3417 * libc/Makefile.am: Add .def files.
3418 * libc/Makefile.in: Regenerate.
3419 * libc/e_acosh.c: Documentation update.
3420 * libc/e_atanh.c: Documentation update.
3421 * libc/e_hypot.c: Documentation update.
3422 * libc/e_remainder.c: Documentation update.
3423 * libc/er_lgamma.c: Documentation update.
3424 * libc/mathfp.tex: Documentation update.
3425 * libc/s_acos.c: Documentation update.
3426 * libc/s_atan.c: Documentation update.
3427 * libc/s_atan2.c: Documentation update.
3428 * libc/s_cosh.c: Documentation update.
3429 * libc/s_fmod.c: Documentation update.
3430 * libc/s_isnan.c: Documentation update.
3431 * libc/s_log10.c: Documentation update.
3432 * libc/s_pow.c: Documentation update.
3433 * libc/w_jn.c: Documentation update.
3435 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
3437 * aclocal.m4: Regenerate.
3438 * configure: Regenerate.
3440 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
3442 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3443 to return 1 if user specified return code is 0.
3444 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3446 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
3448 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3449 to save the return address. Fixed longjmp to return to the original
3450 calling address of setjmp and to return the user specified return code
3451 rather than default to 1.
3452 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3454 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
3456 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3458 1999-02-10 Nick Clifton <nickc@cygnus.com>
3460 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3461 volatile so that its assignments will not be discarded.
3463 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
3465 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3466 be __STRICT_ANSI__ which is generated by compiler.
3467 * libc/include/ctype.h: Ditto.
3468 * libc/include/math.h: Ditto.
3469 * libc/include/stdio.h: Ditto.
3470 * libc/include/stdlib.h: Ditto.
3471 * libc/include/string.h: Ditto.
3472 * libc/include/sys/signal.h: Ditto.
3474 1999-02-08 Nick Clifton <nickc@cygnus.com>
3476 * configure.host: Add support for StrongARM target.
3478 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
3480 * libc/string/strncpy.c (strncpy): Removed redundant code
3481 that was copying bytes if data unaligned.
3483 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
3485 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3486 mbstowcs.def, and wcstombs.def.
3488 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
3490 * libc/include/sys/errno.h: Add Cygwin errno.
3491 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3494 1999-01-29 Nick Clifton <nickc@cygnus.com>
3496 * libc/sys/arm/syscalls.c: Move C library functions into seperate
3499 * libc/sys/arm/libcfunc.c: New file containing C library functions
3502 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3503 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3506 1999-01-27 Michael Meissner <meissner@cygnus.com>
3508 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3509 type, and cut size in half so that the jmp_buf array is guaranteed
3510 to be aligned on a 64-bit boundary.
3512 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
3514 * libc/string/strings.tex: Added information about
3515 strcasecmp and strncasecmp.
3516 * libc/stdlib/stdlib.tex: Added missing information
3517 about mblen, mbstowcs, and wcstombs.
3518 * libc/string/strchr.c: Changed how mask is built to use
3519 shift operators so register will be used instead of storage.
3521 1999-01-22 DJ Delorie <dj@cygnus.com>
3523 * libc/include/stdlib.h: don't use dllimport if we're building
3524 newlib, since it's inside cygwin.dll
3526 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
3528 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3529 _ctype_ under cygwin.
3531 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
3533 * include/stdlib.h: Fix typo from previous checkin.
3535 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
3537 * include/ctype.h: Use __declspec(dllimport) method for exporting
3538 variable from cygwin DLL.
3539 * include/time.h: Ditto.
3540 * sys/errno.h: Ditto.
3541 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3542 * libc/locale/locale.c: Use __declspec(dllexport) method for
3543 exporting variable from cygwin DLL.
3545 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
3547 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3548 access of bogus pointer will result in SIGSEGV.
3550 1999-01-07 Nick Clifton <nickc@cygnus.com>
3552 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3553 of an underscore prefix to function names.
3555 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
3557 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3558 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3560 1998-12-31 Michael Meissner <meissner@cygnus.com>
3562 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3563 to `%' if not already defined.
3565 1998-12-30 Michael Meissner <meissner@cygnus.com>
3567 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3568 arguments const char *, not char *.
3569 * libc/include/stdio.h (_tempnam_r): Ditto.
3571 * libc/include/sys/reent.h (struct _reent): The _sig_func type
3572 points to a function taking an integer, not void.
3574 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
3576 * configure.host: Add a define for Cygwin builds.
3577 * libc/include/ctype.h: Don't use dll imported variables in newlib.
3579 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
3581 * libc/include/ctype.h: Define _ctype_ as dll imported variable
3582 for use with Cygwin.
3583 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3584 dll imported variables for use with Cygwin.
3585 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3586 as a dll imported variable for Cygwin.
3588 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
3590 * libc/include/sys/unistd.h: Add proto for getpass.
3592 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
3594 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3597 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
3599 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3600 not posix_path_list_p.
3602 1998-12-15 Nick Clifton <nickc@cygnus.com>
3604 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3607 1998-12-13 Nick Clifton <nickc@cygnus.com>
3609 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3611 1998-12-12 Nick Clifton <nickc@cygnus.com>
3613 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3614 <msalter@cygnus.com>
3615 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3616 * libc/machine/fr30/Makefile.in: Regenerated.
3618 1998-12-11 Nick Clifton <nickc@cygnus.com>
3620 * configure.host: Remove use of libc/sys for FR30 port.
3621 * libc/sys/fr30: Remove directory (replaced by libgloss).
3623 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
3625 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3626 * libc/string/strncat.c (ALIGNED): Ditto.
3628 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
3630 * libc/include/sys/time.h: include sys/types.h
3632 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
3634 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3635 comparison found when checking word at a time.
3637 1998-12-04 Nick Clifton <nickc@cygnus.com>
3639 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3641 1998-12-03 Nick Clifton <nickc@cygnus.com>
3643 * libc/sys/fr30/syscalls.c (_times): New function stub.
3645 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3647 * configure.host (mach_add_setjmp): Replaced mach_add_objs
3648 with mach_add_setjmp flag which indicates if setjmp should
3649 be added to the machine directory objects.
3650 * acinclude.m4: Removed reference to mach_add_objs.
3651 * aclocal.m4: Regenerated.
3652 * Makefile.in: Regenerated.
3653 * configure: Regenerated.
3654 * libc/aclocal.m4: Regenerated.
3655 * libc/Makefile.in: Regenerated.
3656 * libc/configure: Regenerated.
3657 * libc/machine/aclocal.m4: Regenerated.
3658 * libc/machine/Makefile.in: Regenerated.
3659 * libc/machine/configure: Regenerated.
3660 * libc/machine/i386/aclocal.m4: Regenerated.
3661 * libc/machine/i386/Makefile.am: Altered to selectively add
3662 setjmp.S to the src files list.
3663 * libc/machine/i386/Makefile.in: Regenerated.
3664 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3665 * libc/machine/i386/configure: Regenerated.
3667 1998-12-02 Nick Clifton <nickc@cygnus.com>
3669 * libc/sys/fr30/crt0.s (_start): Fix function names.
3671 * libc/machine/fr30: New directory
3672 * libc/machine/fr30/Makefile.am: New file.
3673 * libc/machine/fr30/Makefile.in: New generated file.
3674 * libc/machine/fr30/configure.in: New file.
3675 * libc/machine/fr30/configure: New generated file.
3676 * libc/machine/fr30/aclocal.m4: New generated file.
3677 * libc/sys/fr30/Makefile.am: New file.
3678 * libc/sys/fr30/Makefile.in: New generated file.
3679 * libc/sys/fr30/configure.in: New file.
3680 * libc/sys/fr30/configure: New generated file.
3681 * libc/sys/fr30/syscalls.c: New file.
3683 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
3685 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3687 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
3689 * libc/time/strftime.c (strftime): Also handle %y for years before
3692 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
3694 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3695 UNIX convention. Perform tolower on characters before comparing
3696 them rather than use toupper.
3697 * libc/string/strncasecmp.c (strncasecmp): Ditto.
3699 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3701 * configure.host: Added using i386 machine directory
3702 for all x86 cross-compiler and configuring
3703 which added object files to use via new "mach_add_objs" variable.
3704 * configure: Regenerated.
3705 * libc/configure: Regenerated.
3706 * libc/Makefile.in: Regenerated.
3707 * libc/aclocal.m4: Regenerated.
3708 * libc/ctype/Makefile.in: Regenerated.
3709 * libc/errno/Makefile.in: Regenerated.
3710 * libc/locale/Makefile.in: Regenerated.
3711 * libc/machine/Makefile.in: Regenerated.
3712 * libc/machine/aclocal.m4: Regenerated.
3713 * libc/machine/configure: Regenerated.
3714 * libc/posix/Makefile.in: Regenerated.
3715 * libc/reent/Makefile.in: Regenerated.
3716 * libc/signal/Makefile.in: Regenerated.
3717 * libc/stdio/Makefile.in: Regenerated.
3718 * libc/stdlib/Makefile.in: Regenerated.
3719 * libc/string/Makefile.in: Regenerated.
3720 * libc/string/memmove.c: Optimized code to use memcpy
3721 logic when performing a non-destructive copy.
3722 * libc/string/strncmp.c: Altered code to allow building
3723 optimized for size or speed.
3724 * libc/syscalls/Makefile.in: Regenerated.
3725 * libc/time/Makefile.in: Regenerated.
3726 * libc/unix/Makefile.in: Regenerated.
3727 * libc/machine/i386/Makefile.am: Added new files and reference
3728 to "mach_add_objs" to indicate optional object files.
3729 * libc/machine/i386/Makefile.in: Regenerated.
3730 * libc/machine/i386/aclocal.m4: Regenerated.
3731 * libc/machine/i386/configure: Regenerated.
3732 * libc/machine/i386/memchr.S: New file that implements
3733 function in Intel assembler.
3734 * libc/machine/i386/memcmp.S: ditto.
3735 * libc/machine/i386/memcpy.S: ditto.
3736 * libc/machine/i386/memmove.S: ditto.
3737 * libc/machine/i386/memset.S: ditto.
3738 * libc/machine/i386/strchr.S: ditto.
3739 * libc/machine/i386/strlen.S: ditto.
3740 * libc/machine/i386/f_atan2.S: New file that implements
3741 fast version of math function to be used by compiler when
3742 --ffast_math compile option is used.
3743 * libc/machine/i386/f_atan2f.S: ditto.
3744 * libc/machine/i386/f_exp.c: ditto.
3745 * libc/machine/i386/f_expf.c: ditto.
3746 * libc/machine/i386/f_frexp.S: ditto.
3747 * libc/machine/i386/f_frexpf.S: ditto.
3748 * libc/machine/i386/f_ldexp.S: ditto.
3749 * libc/machine/i386/f_ldexpf.S: ditto.
3750 * libc/machine/i386/f_log.S: ditto.
3751 * libc/machine/i386/f_logf.S: ditto.
3752 * libc/machine/i386/f_log10.S: ditto.
3753 * libc/machine/i386/f_log10f.S: ditto.
3754 * libc/machine/i386/f_math.h: New file.
3755 * libc/machine/i386/f_pow.c: ditto.
3756 * libc/machine/i386/f_powf.S: ditto.
3757 * libc/machine/i386/f_tan.S: ditto.
3758 * libc/machine/i386/f_tan.S: ditto.
3759 * libc/machine/i386/i386mach.h: New file.
3761 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
3763 patch from Mumit Khan <khan@xraylith.wisc.edu>
3764 * libc/include/stdio.h (tempnam): Add prototype.
3765 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3766 (tempnam): Adhere to prototype.
3768 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
3770 * Makefile.am: Add default for AR_FLAGS.
3771 * Makefile.in: Regenerate.
3773 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3775 * libc/include/time.h: move __cplusplus wrapper after includes
3776 * libc/include/sys/time.h: ditto. If Cygwin, include
3778 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3780 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
3782 * libc/time/strftime.c (strftime): Handle %y after year 2000.
3784 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
3786 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3787 abnormnal end-of-crt0 marker.
3789 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
3791 * libc/sys/fr30/crt0.s: New file/directory.
3792 * libc/include/machine/setjmp.h: Add FR30 target.
3793 * libc/include/machine/ieeefp.h: Add FR30 target.
3794 * configure.host: Add FR30 target.
3796 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3798 * libm/math: Files that are duplicated in common directory removed.
3799 * libm/math/fdlibm.h: Removed.
3800 * libm/math/s_cbrt.c: Removed.
3801 * libm/math/s_copysign.c: Removed.
3802 * libm/math/s_expm1.c: Removed.
3803 * libm/math/s_finite.c: Removed.
3804 * libm/math/s_ilogb.c: Removed.
3805 * libm/math/s_infinity.c: Removed.
3806 * libm/math/s_lib_ver.c: Removed.
3807 * libm/math/s_log1p.c: Removed.
3808 * libm/math/s_logb.c: Removed.
3809 * libm/math/s_matherr.c: Removed.
3810 * libm/math/s_modf.c: Removed.
3811 * libm/math/s_nan.c: Removed.
3812 * libm/math/s_nextafter.c: Removed.
3813 * libm/math/s_rint.c: Removed.
3814 * libm/math/s_scalbn.c: Removed.
3815 * libm/math/sf_cbrt.c: Removed.
3816 * libm/math/sf_copysign.c: Removed.
3817 * libm/math/sf_expm1.c: Removed.
3818 * libm/math/sf_finite.c: Removed.
3819 * libm/math/sf_ilogb.c: Removed.
3820 * libm/math/sf_infinity.c: Removed.
3821 * libm/math/sf_log1p.c: Removed.
3822 * libm/math/sf_logb.c: Removed.
3823 * libm/math/sf_modf.c: Removed.
3824 * libm/math/sf_nan.c: Removed.
3825 * libm/math/sf_nextafter.c: Removed.
3826 * libm/math/sf_rint.c: Removed.
3827 * libm/math/sf_scalbn.c: Removed.
3828 * libm/math/Makefile.am: Removed references to deleted files (above).
3829 * libm/math/Makefile.in: Regenerated.
3830 * libm/Makefile.am: Added common directory to math.
3831 * libm/Makefile.in: Regenerated.
3833 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3835 * libm/mathfp: Add non-ANSI functions.
3836 * libm/mathfp/e_acosh.c acosh(): New file.
3837 * libm/mathfp/e_atanh.c atanh(): New file.
3838 * libm/mathfp/e_hypot.c hypot(): New file.
3839 * libm/mathfp/e_j0.c j0(): New file.
3840 * libm/mathfp/e_j1.c j1(): New file.
3841 * libm/mathfp/e_remainder.c remainder(): New file.
3842 * libm/mathfp/e_scalb.c scalb(): New file.
3843 * libm/mathfp/ef_acosh.c acoshf(): New file.
3844 * libm/mathfp/ef_atanh.c atanhf(): New file.
3845 * libm/mathfp/ef_hypot.c hypotf(): New file.
3846 * libm/mathfp/ef_j0.c j0f(): New file.
3847 * libm/mathfp/ef_j1.c j1f(): New file.
3848 * libm/mathfp/ef_remainder.c remainderf(): New file.
3849 * libm/mathfp/ef_scalb.c scalbf(): New file.
3850 * libm/mathfp/er_gamma.c gamma_r: New file.
3851 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3852 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3853 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3854 * libm/mathfp/w_cabs.c cabs(): New file.
3855 * libm/mathfp/w_drem.c drem(): New file.
3856 * libm/mathfp/w_jn.c jn(): New file.
3857 * libm/mathfp/wf_cabs.c cabsf(): New file.
3858 * libm/mathfp/wf_drem.c dremf(): New file.
3859 * libm/mathfp/wf_jn.c jnf(): New file.
3861 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
3863 * libc/sys/cygwin32: remove directory and contents
3864 * libc/sys/cygwin: and add back, losing the "32".
3865 * configure.host: check for cygwin* instead of cygwin32.
3866 * acinclude.m4: ditto.
3867 * aclocal.m4: regenerate with aclocal
3868 * configure: regenerate with autoconf
3870 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
3872 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3875 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3877 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3878 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3879 to make rand/srand, strtok, asctime, localtime, w_gamma,
3880 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
3881 time.h to bring in struct tm definition.
3882 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3883 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3884 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3885 instead of static variable.
3886 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3887 struct reent instead of static variable.
3888 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3889 struct reent instead of static variable.
3890 * libm/math/Makefile.am: Removed s_signgam.o.
3891 * libm/math/Makefile.in: Regenerated.
3892 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3893 struct reent instead of global variable 'signgam'.
3894 * libm/math/w_lgamma.c (lgamma): Likewise.
3895 * libm/math/wf_gamma.c (gammaf): Likewise.
3896 * libm/math/wf_lgamma.c (lgammaf): Likewise.
3897 * libm/math/s_signgam.c: Removed.
3898 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3900 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3902 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3903 libc/include/reent.h.
3904 * libc/reent/Makefile.in: Regenerated.
3905 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3907 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3908 'JIS_action_table' to be const.
3909 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3911 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
3913 * acinclude.m4: $with_target_subdir should default to '.'
3914 or confusion results when configuring in same directory as sources.
3915 * Regenerate all aclocal.m4 and configure files.
3917 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
3919 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3920 can be set by defining MALLOC_ALIGNMENT=16. Also added support
3921 for platforms where sizeof(size_t) < sizeof(long) via
3922 SIZE_T_SMALLER_THAN_LONG macro.
3924 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
3926 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3927 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3928 which sets _CLOCKS_PER_SEC_ for selected machines.
3929 * libc/include/machine/time.h: New file.
3931 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3933 * libc/syscalls/sysexecve.c: New file.
3934 * libc/syscalls/sysgettod.c: New file.
3935 * libc/syscalls/systimes.c: New file.
3936 * libc/syscalls/Makefile.am: Added new objects.
3937 * libc/syscalls/Makefile.in: Regenerated.
3938 * libc/include/_syslist.h (_execve): Moved define in file.
3939 * libc/include/reent.h: Added _execve_r declaration.
3940 * libc/Makefile.in: Regenerated.
3941 * libc/ctype/Makefile.in: Regenerated.
3942 * libc/errno/Makefile.in: Regenerated.
3943 * libc/locale/Makefile.in: Regenerated.
3944 * libc/machine/Makefile.in: Regenerated.
3945 * libc/misc/Makefile.in: Regenerated.
3946 * libc/posix/Makefile.in: Regenerated.
3947 * libc/reent/Makefile.in: Regenerated.
3948 * libc/reent/execr.c (_execve_r): Added _execve_r function.
3949 * libc/signal/Makefile.in: Regenerated.
3950 * libc/stdio/Makefile.in: Regenerated.
3951 * libc/time/Makefile.in: Regenerated.
3952 * libc/unix/Makefile.in: Regenerated.
3953 * libm/mathfp/Makefile.in: Regenerated.
3955 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3957 * libc/string/Makefile.in: Regenerated.
3958 * libc/string/memchr.c (memchr): Moved code to reduce object size.
3959 * libc/string/memcpy.c (memcpy): Ditto.
3960 * libc/string/memcmp.c (memcmp): Ditto.
3961 * libc/string/memset.c (memset): Ditto.
3962 * libc/string/strchr.c (strchr): Ditto.
3963 * libc/string/strcmp.c (strcmp): Ditto.
3964 * libc/string/strcpy.c (strcpy): Ditto.
3965 * libc/string/strlen.c (strlen): Ditto.
3967 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3969 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
3970 to generate aclocal.m4.
3971 * libm/Makefile.in: Regenerated.
3972 * libm/aclocal.m4: Regenerated.
3973 * libm/configure: Regenerated.
3974 * libm/math/Makefile.in: Regenerated.
3975 * libm/mathfp/Makefile.in: Regenerated.
3977 1998-09-25 Mark Salter <msalter@cygnus.com>
3979 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
3980 by adding leading and trailing underscores to symbol names.
3982 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
3984 * Makefile.in: Add default for AR_FLAGS.
3986 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
3988 patch from ian@airs.com (Ian Taylor):
3989 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
3990 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
3991 is needed for detecting the build machine. Required for
3992 cygwin native builds.
3994 * Regenerate all aclocal.m4 and configure files.
3996 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
3998 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
3999 used to start with LC.
4001 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4003 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4004 (longjmp): Likewise.
4006 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4008 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4009 the test for small number of bytes.
4011 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4013 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
4014 math library that uses floating point algorithms instead of the old
4016 * Makefile.in: Regenerate with automake version 1.3b.
4017 * configure: Rebuild.
4018 * libm/Makefile.in: Regenerate with automake version 1.3b.
4019 * libm/aclocal.m4: Regenerate.
4020 * libm/configure: Rebuild.
4021 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4022 * libm/acinclude.m4: Define macros for configure.in.
4023 * libm/config.h.in: Generate.
4024 * libm/mathfp/Makefile.am: New file.
4025 * libm/mathfp/Makefile.in: Generate.
4026 * libm/mathfp/s_acos.c (acos): New file.
4027 * libm/mathfp/s_asin.c (asin): New file.
4028 * libm/mathfp/s_asine.c (asine): New file.
4029 * libm/mathfp/s_atan.c (atan): New file.
4030 * libm/mathfp/s_atan2.c (atan2): New file.
4031 * libm/mathfp/s_atangent.c (atangent): New file.
4032 * libm/mathfp/s_ceil.c (ceil): New file.
4033 * libm/mathfp/s_copysign.c (copysign): New file.
4034 * libm/mathfp/s_cos.c (cos): New file.
4035 * libm/mathfp/s_cosh.c (cosh): New file.
4036 * libm/mathfp/s_exp.c (exp): New file.
4037 * libm/mathfp/s_fabs.c (fabs): New file.
4038 * libm/mathfp/s_finite.c (finite): New file.
4039 * libm/mathfp/s_floor.c (floor): New file.
4040 * libm/mathfp/s_fmod.c (fmod): New file.
4041 * libm/mathfp/s_frexp.c (frexp): New file.
4042 * libm/mathfp/s_infconst.c: New file.
4043 * libm/mathfp/s_isinf (isinf).c: New file.
4044 * libm/mathfp/s_isnan.c (isnan): New file.
4045 * libm/mathfp/s_ispos.c (ispos): New file.
4046 * libm/mathfp/s_ldexp.c (ldexp): New file.
4047 * libm/mathfp/s_log.c (log): New file.
4048 * libm/mathfp/s_log10.c (log10): New file.
4049 * libm/mathfp/s_logarithm.c (logarithm): New file.
4050 * libm/mathfp/s_mathcnst.c: New file.
4051 * libm/mathfp/s_modf (modf).c: New file.
4052 * libm/mathfp/s_numtest.c (numtest): New file.
4053 * libm/mathfp/s_pow.c (pow): New file.
4054 * libm/mathfp/s_scalbn.c (scalbn): New file.
4055 * libm/mathfp/s_sin (sin).c: New file.
4056 * libm/mathfp/s_sine.c (sine): New file.
4057 * libm/mathfp/s_sineh.c (sineh): New file.
4058 * libm/mathfp/s_sinf.c (sinf): New file.
4059 * libm/mathfp/s_sinh.c (sinh): New file.
4060 * libm/mathfp/s_sqrt.c (sqrt): New file.
4061 * libm/mathfp/s_tan.c (tan): New file.
4062 * libm/mathfp/s_tanh.c (tanh): New file.
4063 * libm/mathfp/sf_acos.c (acosf): New file.
4064 * libm/mathfp/sf_asin.c (asinf): New file.
4065 * libm/mathfp/sf_asine.c (asinef): New file.
4066 * libm/mathfp/sf_atan.c (atanf): New file.
4067 * libm/mathfp/sf_atan2.c (atan2f): New file.
4068 * libm/mathfp/sf_atangent.c (atangent): New file.
4069 * libm/mathfp/sf_ceil.c (ceilf): New file.
4070 * libm/mathfp/sf_copysign.c (copysignf): New file.
4071 * libm/mathfp/sf_cos.c (cosf): New file.
4072 * libm/mathfp/sf_cosh.c (coshf): New file.
4073 * libm/mathfp/sf_exp.c (expf): New file.
4074 * libm/mathfp/sf_fabs.c (fabsf): New file.
4075 * libm/mathfp/sf_finite.c (finitef): New file.
4076 * libm/mathfp/sf_floor.c (floorf): New file.
4077 * libm/mathfp/sf_fmod.c (fmodf): New file.
4078 * libm/mathfp/sf_frexp.c (frexpf): New file.
4079 * libm/mathfp/sf_isinf.c (isinff): New file.
4080 * libm/mathfp/sf_isnan.c (isnanf): New file.
4081 * libm/mathfp/sf_ispos.c (isposf): New file.
4082 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4083 * libm/mathfp/sf_log.c (logf): New file.
4084 * libm/mathfp/sf_log10.c (log10f): New file.
4085 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4086 * libm/mathfp/sf_modf.c (modff): New file.
4087 * libm/mathfp/sf_numtest.c (numtestf): New file.
4088 * libm/mathfp/sf_pow.c (powf): New file.
4089 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4090 * libm/mathfp/sf_sin.c (sinf): New file.
4091 * libm/mathfp/sf_sine.c (sinef): New file.
4092 * libm/mathfp/sf_sineh.c (sinehf): New file.
4093 * libm/mathfp/sf_sinh.c (sinhf): New file.
4094 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4095 * libm/mathfp/sf_tan.c (tanf): New file.
4096 * libm/mathfp/sf_tanh.c (tanhf): New file.
4097 * libm/mathfp/zmath.h: New file.
4099 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4101 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4102 exit if it has been overwritten by pre-fetching in delay slot.
4104 1998-09-01 Michael Meissner <meissner@cygnus.com>
4106 * Makefile.am (tooldir): Add in host_alias, so that multilib
4107 libraries are installed in the directory the compiler looks in.
4108 * Makefile.in: Regenerate.
4110 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4112 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
4114 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4115 ahead of test for number of bytes being moved.
4117 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
4119 * libc/include/sys/unistd.h: Nothing special needed for
4122 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
4124 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4125 conform to user label naming conventions.
4127 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
4129 * libc/sys/cygwin32/sys/utime.h: variable names in
4130 protos should start with two leading underscores
4131 * libc/include/string.h: ditto
4132 * libc/include/sys/signal.h: ditto
4133 * libc/include/sys/stat.h: ditto
4134 * libc/include/sys/time.h: ditto
4135 * libc/include/sys/unistd.h: ditto
4136 * libc/include/ctype.h: ditto
4137 * libc/include/stdlib.h: ditto
4138 * libc/include/sys/reent.h: struct _atexit function ptr takes a
4139 void, same with _sig_func.
4141 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
4143 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4144 for MB_CAPABLE to reduce code size when newlib is not configured
4145 with --enable-newlib-mb.
4146 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4147 mbtowc_r.o to minimize size.
4148 * libc/stdlib/Makefile.in: Rebuild.
4150 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
4152 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4154 * libc/sys/sparc64/Makefile.in: Rebuild.
4156 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
4158 * Makefile.am (MAKEOVERRIDES): Define.
4159 * Makefile.in: Rebuild.
4161 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
4163 * libc/sys/sparc64/sys/stat.h (stat): Add const.
4165 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
4167 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4168 newlib_cflags when looking for targ-include.
4169 * */aclocal.m4, */configure: Rebuild.
4171 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
4173 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4176 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
4178 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4179 on SPARCs with little-endian data.
4180 * libc/include/machine/ieeefp.h: Ditto.
4182 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
4184 * acinclude.m4: Handle a relative srcdir correctly when setting
4186 * */aclocal.m4, */configure: Rebuild.
4188 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
4190 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4191 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4192 * libm/math/wrf_gamma.c (gammaf_r): ditto
4193 * libm/math/wr_lgamma.c (lgamma_r): ditto
4194 * libm/math/wr_gamma.c (gamma_r): ditto
4195 * libm/math/wf_sqrt.c (sqrtf): ditto
4196 * libm/math/wf_sinh.c (sinhf): ditto
4197 * libm/math/wf_scalb.c (scalbf): ditto
4198 * libm/math/wf_remainder.c (remainderf): ditto
4199 * libm/math/wf_pow.c (powf): ditto
4200 * libm/math/wf_log10.c (log10f): ditto
4201 * libm/math/wf_log.c (logf): ditto
4202 * libm/math/wf_lgamma.c (lgammaf): ditto
4203 * libm/math/wf_jn.c (jnf, ynf): ditto
4204 * libm/math/wf_j1.c (j1f, y1f): ditto
4205 * libm/math/wf_j0.c (j0f, y0f): ditto
4206 * libm/math/wf_hypot.c (hypotf): ditto
4207 * libm/math/wf_gamma.c (gammaf): ditto
4208 * libm/math/wf_fmod.c (fmodf): ditto
4209 * libm/math/wf_exp.c (expf): ditto
4210 * libm/math/wf_cosh.c (coshf): ditto
4211 * libm/math/wf_atanh.c (atanhf): ditto
4212 * libm/math/wf_atan2f.c (atan2f): ditto
4213 * libm/math/wf_asin.c (asinf): ditto
4214 * libm/math/wf_acosh.c (acoshf): ditto
4215 * libm/math/wf_acos.c (acosf): ditto
4216 * libm/math/w_sqrt.c (sqrt): ditto
4217 * libm/math/w_sinh.c (sinh): ditto
4218 * libm/math/w_scalb.c (scalb): ditto
4219 * libm/math/w_remainder.c (remainder): ditto
4220 * libm/math/w_pow.c (pow): ditto
4221 * libm/math/w_log10.c (log10): ditto
4222 * libm/math/w_log.c (log): ditto
4223 * libm/math/w_lgamma.c (lgamma): ditto
4224 * libm/math/w_jn.c (jn, yn): ditto
4225 * libm/math/w_j1.c (j1, y1): ditto
4226 * libm/math/w_j0.c (j0, y0): ditto
4227 * libm/math/w_hypot.c (hypot): ditto
4228 * libm/math/w_gamma.c (gamma): ditto
4229 * libm/math/w_fmod.c (fmod): ditto
4230 * libm/math/w_exp.c (exp): ditto
4231 * libm/math/w_cosh.c (cosh): ditto
4232 * libm/math/w_atanh.c (atanh): ditto
4233 * libm/math/w_atan2f.c (atan2): ditto
4234 * libm/math/w_asin.c (asin): ditto
4235 * libm/math/w_acosh.c (acosh): ditto
4236 * libm/math/w_acos.c (acos): ditto
4238 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
4240 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4241 (fsrc): Add wf_cabs.c and wf_drem.c.
4242 * libm/math/Makefile.in: Rebuild.
4244 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
4245 unused directory variables. Remove duplicate CFLAGS.
4246 * Makefile.in: Rebuild.
4248 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4249 with $(CC_FOR_BUILD).
4250 (makedoc.o): Likewise.
4251 * doc/Makefile.in: Rebuild.
4253 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4254 force a definition of COMPILE.
4255 (libfoo_a_SOURCES): Define.
4256 * libc/sys/cygwin32/Makefile.in: Rebuild.
4257 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4258 force a definition of COMPILE.
4259 (libfoo_a_SOURCES): Define.
4260 * libc/sys/tic80/Makefile.in: Rebuild.
4262 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
4264 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4267 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
4269 * Build using autoconf and automake. Added many Makefile.am and
4270 configure.in files, plus generated files. Old configure.in files
4271 and all old Makefile.in files completely replaced. Removed
4272 host/any. Added acinclude.m4 and configure.host.
4274 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
4276 * libc/stdio/vfprintf.c: enable long long support, sometimes.
4277 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4279 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4281 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4282 * libc/machine/sh/Makefile.in: Add rules for new files.
4284 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4286 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4287 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4288 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4290 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
4292 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4295 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
4297 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4298 internal static buffer when s is NULL, as prescribed by ANSI.
4300 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
4302 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4304 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
4305 libc/stdlib will be used for h8300hms.
4307 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4309 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4310 version that can be built either for speed or size.
4311 * libc/machine/mn10300/memset.S (_memset): ditto
4312 * libc/machine/mn10300/memchr.S (_memchr): ditto
4313 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4314 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4315 * libc/machine/mn10300/strchr.S (_strchr): ditto
4316 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4317 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4318 * libc/machine/mn10300/Makefile.in: Added entries for
4319 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
4320 strcmp.o, strcpy.o, and strlen.o.
4322 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
4324 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4325 been replaced with libgloss/mn10200.
4327 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
4329 * libc/string/strchr.c (strchr): Make s a constant pointer to
4332 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
4334 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4335 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4336 board SWIs instead of Demon board SWIs).
4338 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
4340 * libc/string/strncat.c (strncat): Make -Os act the same as
4341 PREFER_SIZE_OVER_SPEED being defined.
4343 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
4345 * libc/string/memchr.c (memchr): Make -Os act the same as
4346 PREFER_SIZE_OVER_SPEED being defined.
4347 * libc/string/memcmp.c (memcmp): Ditto.
4348 * libc/string/memcpy.c (memcpy): Ditto.
4349 * libc/string/memset.c (memset): Ditto.
4350 * libc/string/strcat.c (strcat): Ditto.
4351 * libc/string/strchr.c (strchr): Ditto.
4352 * libc/string/strcmp.c (strcmp): Ditto.
4353 * libc/string/strcpy.c (strcpy): Ditto.
4354 * libc/string/strlen.c (strlen): Ditto.
4355 * libc/string/strncat.c (strncat): Ditto.
4356 * libc/string/strncmp.c (strncmp): Ditto.
4357 * libc/string/strncpy.c (strncpy): Ditto.
4359 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
4361 * libc/include/sys/itimer.h: remove
4362 * libc/include/sys/time.h: itimer stuff should be here
4364 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
4366 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4367 bit instead of comparing to 0 so -0.0 can be printed correctly.
4369 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4371 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4373 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
4375 * libc/include/sys/unistd.h: fix sync() proto
4376 * libc/include/sys/fcntl.h: remove _close which is already
4377 defined in unistd.h.
4378 * libc/include/sys/time.h: add getitimer proto
4380 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
4382 * libc/string/strchr.c: convert arg to unsigned char
4383 * libc/include/stdlib.h: add protos for random, srandom
4384 * libc/include/sys/stat.h: add lstat proto
4385 * libc/include/sys/time.h: add setitimer proto
4386 * libc/include/sys/unistd.h: add readlink, symlink protos
4387 * libc/include/process.h: instead of including windows.h and using
4388 HANDLEs in sexec protos, just use void *s. Need to include
4391 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
4393 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4395 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
4397 * libc/include/process.h: add secure exec protos
4399 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
4401 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4402 which are accessed as both doubles and integers.
4403 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4404 * libc/stdlib/strtod.c (_strtod_r): Likewise.
4405 * libc/stdlib/mprec.h: Add "union double_union" and change
4406 word0/word1 macros to use it.
4408 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
4410 * libc/include/sys/signal.h: add __cplusplus wrapper
4412 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
4414 * libc/include/sys/utime.h: new generic file that gets replaced by
4415 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4417 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4418 * libc/include/time.h: remove duplicate utime proto
4419 * libc/include/utime.h: add comment
4421 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
4423 * libc/include/sys/time.h: Add missing include to
4424 allow use of _EXFUN. Remove times function that is
4425 already defined in times.h.
4427 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
4429 * libc/include/time.h: Fix typo in tzset.
4431 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
4433 * libc/include/sys/time.h: add missing Cygwin32 function protos
4434 * libc/include/sys/unistd.h: ditto
4435 * libc/include/time.h: ditto
4437 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
4439 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4441 * libc/include/sys/types.h: add a new __MS_types__ section
4442 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4443 __BIT_TYPES_DEFINED__.
4445 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
4447 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4448 since it overrides the one in libc/include/sys. Also, start
4451 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
4453 * libm/math/Makefile.in: add s_signgam.o to obj list
4455 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
4457 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4459 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
4461 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4462 so don't use defines.
4464 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
4466 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4468 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
4470 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4471 _current_locale as default locale.
4473 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
4475 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4476 insufficient space in a chunk.
4478 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
4480 * configure.in (links): Added check for --enable-newlib-mb configure
4481 option which defines the MB_CAPABLE macro.
4482 * libc/locale/locale.c (_setlocale_r): Added support for setting
4483 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4485 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4486 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4487 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4488 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4489 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4490 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4491 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4492 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4493 * libc/stdlib/Makefile.in: Added new multibyte
4494 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4495 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4496 _mbstowcs_r(), and _wcstombs_r().
4497 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4498 for JIS, SJIS, and EUC-JP characters.
4499 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4501 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4503 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4505 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4506 if MB_CAPABLE defined.
4507 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4508 if MB_CAPABLE defined.
4509 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4510 to the format string processing when MB_CAPABLE.
4511 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4514 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
4516 The following modifications are courtesy of Anthony Thompson,
4517 athompson@cambridge.arm.com:
4518 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4519 boith RDI and RDP monitors.
4520 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4521 RDI and RDP monitors.
4523 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
4525 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4526 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4527 (_swiopen): Fixed open flags to treat write with append as just append.
4528 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4529 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4531 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4533 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4534 When needing to transfer an initial 2-byte-word, store as
4537 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4539 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4541 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4542 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4544 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
4546 * configure.in (target_cflags): If --enable-target-optspace, use
4547 -Os to compile newlib rather than -O2. Default to using -Os for
4548 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4551 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
4553 * libc/include/machine/setjmp.h: change sigsetjmp and
4554 siglongjmp definitions to use an array instead of a struct
4557 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
4559 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4561 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
4563 * libc/string/strxfrm.c: fix to get correct return value
4565 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
4567 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4568 builds. Make mode change labels global so that they will be seen
4571 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
4573 * configure.in (links): Do not use ARM debiugging protocols for PE
4576 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4579 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4581 * libc/stdio/findfp.c (__sinit): Made stdout default to
4582 line buffered mode as defined by ANSI.
4584 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
4586 * libc/include/sys/itimer.h: New file.
4588 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4590 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4592 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4595 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
4597 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4600 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
4602 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4604 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
4606 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4609 * libc/include/machine/setjmp.h: Add D30V support.
4611 * configure.in (d30v-*): Add d30v machine directory.
4613 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
4615 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4616 been replaced with libgloss/mn10300.
4618 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
4620 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4621 it is no longer needed.
4623 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4625 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4627 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
4629 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4630 the file when O_APPEND is set, wherever the EOF happens to be at
4633 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
4635 patch from cgf@bbc.com (Christopher Faylor):
4636 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4637 convention of closing fp prior to attempting to open the file
4638 argument. This allows correct operation when reopening
4639 stdin/stdout/stderr. Replaces last freopen.c patch.
4641 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
4643 patch from cgf@bbc.com (Christopher Faylor):
4644 * libc/stdio/freopen.c: freopen was not preserving the fd
4645 of the stream being operated on. This confuses programs that
4646 expect that the handles for stdout and stderr will be 1 and 2.
4648 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
4650 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4652 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
4654 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4656 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
4658 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4659 altered to not use a branch. Also added hint that last
4660 bclr in longjmp will likely result in branch.
4663 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
4665 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4667 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
4669 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4672 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
4674 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
4676 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4677 that loads FR14 to specify offset of 8 rather than 4
4678 so it loads from offset 96 (where setjmp stored it).
4680 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4682 * libc/machine/sh/memcpy.S: (_memcpy): Update to
4683 latest version supplied by customer.
4684 * libc/machine/sh/memset.S (_memset): Ditto.
4686 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
4688 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4691 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
4693 * libc/include/string.h: remove redefinition of ffs
4695 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
4697 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4700 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4702 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4703 TI Libraries to link to libc.a
4705 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
4707 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4708 * libc/include/sys/stat.h (_{,f}stat): Ditto.
4709 * libc/include/sys/wait.h (_wait): Ditto.
4710 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4711 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4713 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
4715 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
4716 minded stabs so function name shows up when running the simulator
4718 * libc/sys/d10v/{crt0,trap}.S: Ditto.
4720 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
4722 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
4723 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4724 Use R5 where we used to use R3.
4726 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
4728 * libc/stdlib/getopt.c (getopt): replaced __progname
4729 with nargv[0] to improve portability to imbedded systems.
4731 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
4733 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4734 patch supplied by Tont.Thompson@arm.com to fix the creation of the
4737 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
4739 * libc/stdio/tmpnam.c (worker): Generate a different file name
4742 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4743 fails, try an execlp for sh.
4745 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4746 option for the winsup include directory.
4748 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
4750 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4751 debugging interface from Tony.Thompson@arm.com.
4753 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4754 * libc/sys/arm/swi.h: ditto.
4756 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4758 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4759 DIR struct used for readdir hashes.
4761 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
4763 * libc/string/strchr.c: Use "unsigned chars" as necessary.
4765 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
4767 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4770 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
4772 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4773 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4774 * libc/include/malloc.h: Add extern "C" if __cplusplus.
4775 (__malloc_copy): Declare.
4777 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
4779 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4781 (POINTER_UINT): Define.
4782 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4783 (MALLOC_ALIGNMENT): Don't define if already defined.
4784 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4787 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
4789 * libc/string/memset.c (memset): Fiddle with code so that the long
4790 value being stored is not a stack value. Unroll storing longs 4
4793 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
4795 * Reduce code size for libm modules.
4796 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4797 and simply move code into sqrt.
4798 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4799 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4800 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4801 * libm/math/wr_gamma.c (gamma_r): Likewise.
4802 * libm/math/wf_sinh.c (sinfh): Likewise.
4803 * libm/math/w_sinh.c (sinh): Likewise.
4804 * libm/math/wf_scalb.c (scalbf): Likewise.
4805 * libm/math/w_scalb.c (scalb): Likewise.
4806 * libm/math/wf_remainder.c (remainderf): Likewise.
4807 * libm/math/w_remainder.c (remainder): Likewise.
4808 * libm/math/wf_pow.c (powf): Likewise.
4809 * libm/math/w_pow.c (pow): Likewise.
4810 * libm/math/wf_log10.c (log10f): Likewise.
4811 * libm/math/w_log10.c (log10): Likewise.
4812 * libm/math/wf_log.c (logf): Likewise.
4813 * libm/math/w_log.c (log): Likewise.
4814 * libm/math/w_lgamma.c (lgamma): Likewise.
4815 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4816 * libm/math/wf_jn.c (jnf): Likewise.
4817 * libm/math/w_jn.c (jn): Likewise.
4818 * libm/math/wf_j1.c (j1f): Likewise.
4819 * libm/math/w_j1.c (j1): Likewise.
4820 * libm/math/wf_j0.c (j0f): Likewise.
4821 * libm/math/w_j0.c (j0): Likewise.
4822 * libm/math/wf_hypot.c (hypotf): Likewise.
4823 * libm/math/w_hypot.c (hypot): Likewise.
4824 * libm/math/wf_gamma.c (gammaf): Likewise.
4825 * libm/math/w_gamma.c (gamma): Likewise.
4826 * libm/math/wf_fmod.c (fmodf): Likewise.
4827 * libm/math/w_fmod.c (fmod): Likewise.
4828 * libm/math/wf_exp.c (expf): Likewise.
4829 * libm/math/w_exp.c (exp): Likewise.
4830 * libm/math/wf_cosh.c (coshf): Likewise.
4831 * libm/math/w_cosh.c (cosh): Likewise.
4832 * libm/math/wf_atanh.c (atanhf): Likewise.
4833 * libm/math/w_atanh.c (atanh): Likewise.
4834 * libm/math/wf_atan2.c (atan2f): Likewise.
4835 * libm/math/w_atan2.c (atan2): Likewise.
4836 * libm/math/wf_asin.c (asinf): Likewise.
4837 * libm/math/w_asin.c (asin): Likewise.
4838 * libm/math/wf_acosh.c (acoshf): Likewise.
4839 * libm/math/w_acosh.c (acosh): Likewise.
4840 * libm/math/wf_acos.c (asocf): Likewise.
4841 * libm/math/w_acos.c (acos): Likewise.
4842 * libm/math/wf_sqrt.c (sqrtf): Likewise.
4843 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4844 for embedded systems.
4846 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
4848 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4849 Lea in case of a foreign sbrk.
4851 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
4853 Incorporate Doug Lea's malloc:
4854 * libc/stdlib/mallocr.c: Completely replaced.
4855 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4857 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4858 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4860 (mallinfo, malloc_stats, mallopt): New functions.
4861 (_mstats_r): Just call _malloc_stats_r.
4862 * libc/stdlib/malign.c: New file.
4863 * libc/stdlib/mlock.c: New file.
4864 * libc/stdlib/msize.c: New file.
4865 * libc/stdlib/mtrim.c: New file.
4866 * libc/stdlib/realloc.c: New file.
4867 * libc/stdlib/valloc.c: New file.
4868 * libc/stdlib/malloc.h: Remove.
4869 * libc/stdlib/callocr.c: Remove.
4870 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4871 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4872 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4873 reallocr.o, valloc.o, vallocr.o.
4874 (CHEWOUT_FILES): Add mlock.def, mstats.def.
4875 (MALLOC_CFLAGS): New variable.
4876 (mallocr.o): New target, build from mallocr.c.
4877 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4878 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4879 (msizer.o, malloptr.o): Likewise.
4880 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4881 (valloc.o): New target.
4882 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4883 * libc/include/malloc.h: Declare struct mallinfo, and new
4885 * libc/include/stdlib.h (cfree): Correct declaration.
4887 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
4889 * libc/include/machine/setjmp.h: Add support for Thumb target.
4891 * libc/include/machine/ieeefp.h: Add support for Thumb target.
4893 * configure.in (links): Add support for Thumb target.
4895 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
4897 * libc/sys/arm/setjmp.S: Updated with version from branch.
4899 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
4901 * libc/include/stdio.h: add POSIX-required define L_ctermid
4904 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
4906 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4907 addition to MISSING_SYSCALL_NAMES.
4909 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4911 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
4913 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
4915 * libc/include/string.h: change strsignal proto to return
4916 a char *. This eliminates compile problems in gdb resulting
4917 from gdb's definition of strsignal in defs.h.
4919 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
4921 * libc/sys/cygwin32/sys/utime.h: new (moved here from
4922 winsup/include) so as not to conflict with the one in
4924 * libc/include/string.h: add protos for strsignal, strtosigno
4926 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
4928 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4930 * configure.in (d30v-*-*): Add configuration.
4932 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
4934 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
4935 to select which kind of debug monitor is in use for an ARM target.
4937 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
4938 Angel and Demon debug monitors. Part of this code was supplied by
4939 Tony Thompson at ARM: athompso@arm.com.
4941 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
4943 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
4944 semantics when the count is greater than the length of the second
4947 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
4949 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
4950 * libc/include/sys/unistd.h: add protos for usleep, truncate,
4951 truncate and ftruncate take off_t, not size_t
4953 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
4955 * libc/string/strcat.c (strcat): Add missing comment end.
4956 * libc/string/strncat.c (strncat): Likewise.
4958 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
4960 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
4962 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
4963 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
4965 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4966 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4967 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4969 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
4971 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
4972 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
4974 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
4976 * libc/machine/i386/setjmp.S: New file.
4977 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
4978 (OFILES): Add setjmp.o.
4979 (setjmp.o): Add rule for.
4980 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
4982 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
4983 Jeffrey A Law (law@cygnus.com)
4985 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
4986 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
4987 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
4988 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
4990 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
4992 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
4995 * libc/include/sys/config.h: Use __v850 to select v850
4998 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5001 * libc/include/machine/ieeefp.h: Use __v850 to select v850
5004 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
5006 * libc/stdlib/setenv.c: change unsetenv definition to match
5007 style of setenv (with _DEFUN). The string should be a const.
5008 * libc/include/stdlib.h: unsetenv proto should return void.
5010 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
5012 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5014 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
5016 * libc/stdio/glue.h: remove.
5017 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5018 * libc/stdio/Makefile.in: remove glue.h dependencies
5020 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
5022 * libc/sys/sysnecv850/crt0.S: Created V850e version.
5024 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
5026 * configure.in (target_cpu): Add `arc'.
5028 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
5030 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
5031 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5032 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5033 * newlib/libc/reent/reent.c: Add _wrapup_reent.
5034 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5036 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
5038 * libc/machine/mips/setjmp.S: Handle mips16 builds.
5040 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
5042 * libc/include/stdio.h (siprintf): Declare.
5044 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
5046 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5047 TARGET_CFLAGS and NEWLIB_FLAGS.
5049 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5051 * configure.in (links): Add support for v850ea target.
5053 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5055 * configure.in (links): Add support for v850e target.
5057 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
5059 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5061 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
5063 * configure.in (arc-*-*): Add support for.
5064 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5066 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5068 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5070 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
5072 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5073 comparison which accesses invalid memory when the key is
5074 larger than the last member of the array.
5075 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5077 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5079 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
5081 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5084 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
5086 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5087 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5089 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
5091 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5092 to load/store memory.
5094 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
5096 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5097 underscores if _WIN32.
5099 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
5101 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5102 support ifdef _USE_WRITE missed in last change.
5103 From Anders Blomdell <anders.blomdell@control.lth.se>.
5105 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
5107 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5108 (_tmpnam_r, _tempnam_r): Update.
5110 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
5112 * libc/machine/sparc/setjmp.S: New file.
5113 * libc/machine/sparc/Makefile.in: Add setjmp.
5114 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5116 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
5118 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5120 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
5122 From Joel Sherrill <joel@oarcorp.com>.
5123 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5125 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
5126 * configure.in: Recognize *-*-rtems*.
5127 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5128 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5129 time.h,times.h,types.h}: New files.
5130 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5132 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
5134 patch from sos@prospect.com.ru (Sergey Okhapkin):
5135 * include/sys/wait.h: correct operator precidence bug
5138 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
5140 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5141 with newlib's unsetenv function
5142 * libc/sys/cygwin32/sys: new directory for includes
5143 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5144 here from winsup/include/sys
5146 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
5148 * libc/include/sys/unistd.h: _exit should only be
5149 labelled noreturn when not __CYGWIN32__
5150 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5151 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5154 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
5156 * libc/include/sys/time.h: Only define timeval and timezone if
5157 _GNU_H_WINDOWS32_SOCKETS is not defined.
5158 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5160 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
5162 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5163 * libc/machine/mn10300/setjmp.S: Likewise.
5165 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5166 the mn10300 (more relaxing opportunities).
5168 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
5170 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5171 Build libraries with -mstrict-align.
5173 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
5175 * libc/string/strlwr.c: New file.
5176 * libc/string/strupr.c: New file.
5177 * libc/include/string.h: Declare strlwr and strupr.
5178 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5179 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5180 (strlwr.o, strupr.o): New targets.
5181 * libc/string/strings.tex: Include strlwr and strupr docs.
5183 * libc/include/sys/types.h: Don't define u_char, et. al., if
5184 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
5185 et. al. Make FD_SETSIZE default 64 rather than 60. Define
5186 _types_fd_set rather than fd_set, and define fd_set as a macro.
5188 * libc/include/malloc.h: New file.
5190 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5191 strnicmp if they are not already defined.
5193 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5194 _timezone, _daylight, and _tzname.
5196 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
5198 * configure.in: Sort all configuration tables.
5200 From Joel Sherrill <joel@oarcorp.com>
5201 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5203 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
5205 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
5206 use int when declaring kill.
5208 * libc/include/sys/timeb.h: New file.
5210 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
5212 * libc/include/sys/time.h: add itimer support for Cygwin32
5214 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
5216 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5217 out a message that abort was called to stderr.
5219 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
5221 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5222 so that libio doesn't freak.
5224 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5227 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5228 memory sizes, not int.
5230 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
5232 * libm/math/ef_hypot.c: Use long constants where
5234 * libm/math/ef_sqrt.c: Ditto.
5236 * libc/sys/sysmec/times.c(_times): Change to times.
5238 * libc/sys/sysmec/read.c(_read): The third argument is
5240 * libc/sys/sysmec/write.c (_write): Ditto.
5242 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5243 (_lseek): It's off_t for the second argument.
5245 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
5247 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5248 as well as machine/ieeefp.h.
5250 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
5252 * libc/include/sys/signal.h: add signal protos for winsup
5253 functions (when __CYGWIN32__), include types.h
5254 * libc/include/sys/types.h: Change __go32_types__ internal
5255 define to __MS_types__ since it's used for more than just
5256 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
5258 * libc/include/sys/unistd.h: add ftruncate proto for
5259 winsup functions (when __CYGWIN32__)
5261 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
5263 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5265 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
5267 * libc/include/machine/setjmp.h: Add tic80 support.
5268 * libc/machine/tic80/setjmp.S: Likewise.
5270 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
5272 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5273 link programs from libraries only (such as in the X11
5276 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
5278 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5279 supplied elsewhere in newlib.
5281 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
5283 * Makefile.in (INSTALL): Change install.sh to install-sh.
5285 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
5287 * README: update WWW address for on-line documentation.
5289 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
5291 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5294 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
5296 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5298 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5300 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
5302 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5303 * libc/sys/d10v/syscalls.c: Likewise.
5304 * libc/sys/h8300hms/sbrk.c: Likewise.
5305 * libc/sys/h8500hms/syscalls.c: Likewise.
5306 * libc/sys/m88kbug/syscalls.c: Likewise.
5307 * libc/sys/sh/syscalls.c: Likewise.
5308 * libc/sys/sysmec/sbrk.c: Likewise.
5309 * libc/sys/sysnecv850/sbrk.c: Likewise.
5310 * libc/sys/w65/syscalls.c: Likewise.
5311 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5313 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
5315 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5316 emulated syscall instead of "trap".
5318 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
5320 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5323 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
5325 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5327 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
5329 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5331 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5333 * libc/sys/tic80/crt0.c: New file for TIc80.
5334 * libc/sys/tic80/Makefile.in: New file for TIc80.
5335 * libc/machine/tic80/Makefile.in: New file for TIc80.
5337 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
5339 * libc/machine/sh/memcpy.S: New file.
5340 * libc/machine/sh/memset.S: New file.
5341 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5343 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
5345 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5348 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
5350 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5353 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
5355 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5356 (patch from andrew@pogo.WV.TEK.COM).
5358 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
5360 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5361 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5363 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
5365 * configure.in: Add cases for "tic80" to set machine_dir,
5366 sys_dir, and syscall_dir.
5368 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
5370 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5372 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
5374 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5376 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
5378 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5379 Use proper constant prefix.
5381 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
5383 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5384 that loses on the mn10200 where ints and pointers are different
5387 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
5389 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5390 target as signal is provided in winsup.
5392 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
5394 * libc/include/sys/process.h: Corrected const definitions
5395 in spawn functions. Added cwait.
5397 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
5399 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5401 * libc/include/sys/config.h: Similarly.
5403 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5405 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5407 (i[3456]86-*-sco*): Ditto.
5409 * libc/signal/Makefile.in (OFILES): Add signal.o.
5410 (CFILES): Add signal.c.
5412 * libc/signal/raise.c (_raise_r): Only compile code if
5413 SIGNAL_PROVIDED is defined.
5415 * libc/signal/signal.c: Redo whole file so that it works with
5416 current newlib. Use _kill_r if no signal handler provided.
5418 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5420 * libc/sys/sysvnecv70/Makefile.in: Ditto.
5421 * libc/sys/sysnecv850/Makefile.in: Ditto.
5423 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5424 * libc/sys/sysmec/{raise,signal}.c: Ditto.
5425 * libc/sys/sysvnecv70/signal.s: Ditto.
5426 * libc/sys/sysnecv850/raise.c: Ditto.
5428 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5429 simulator and debugger can tell the difference between a signal
5430 being raised and an exit system call.
5432 * NEWS: Document software signals being provided.
5434 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5436 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5437 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
5438 include/sys/config.h.
5439 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5440 Change from 'inpure_data'.
5441 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
5442 &impure_data, not &inpure_data.
5444 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5445 and and System V ABI, define so that _impure_ptr lives in the
5448 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5450 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5451 nothing if not defined.
5452 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5455 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
5457 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
5459 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5460 * libc/sys/sysmec/trap.s: Handle mn10200 too.
5461 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5463 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
5465 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5467 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
5469 * libc/include/sys/errno.h: Added net errno's.
5471 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5473 * libc/misc/ffs.c: New file to support ffs function for GCC test
5474 gcc.c-torture/execute/960909-1.c.
5476 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5478 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
5480 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5481 * libc/sys/sysmec/trap.S: Likewise.
5483 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
5485 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5486 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5488 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
5490 * libc/sys/sysmec/signal.c: Dummy file.
5491 * libc/sys/sysmec/Makefile.in: Build it.
5493 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
5495 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5498 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
5500 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5501 c-startup and simulator traps.
5504 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5505 * libc/sys/sysmec/trap0.S: Likewise.
5507 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5509 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5510 round to double word alignment.
5511 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5514 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5516 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5519 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
5521 * configure.in: Handle mn10200 and mn10300.
5522 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5523 * libc/include/sys/config.h: Likewise.
5524 * libc/sys/sysmec: New directory for mec stuff.
5525 * libc/machine/mn10300: New directory for mn10300 stuff.
5526 * libc/machine/mn10200: Similarly for mn10200 stuff.
5528 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
5530 * libc/sys/arm/crt0.S: Use .text, not .section .text.
5531 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5533 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5534 (nlink_t): Change type from unsigned int to unsigned short.
5535 (mode_t): Ensure size is 32 bits even if int is 16.
5536 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5537 (st_spare[123]): Change type from int to long.
5539 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5541 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5544 * configure.in (d10v*): Define SMALL_MEMORY.
5546 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5548 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5549 -mrelocatable-lib and -mno-eabi flags.
5551 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
5553 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5554 Fix handling of mis-aligned source operand when both the
5555 destination & length are properly aligned.
5557 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
5559 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5560 times.o, time.o and gettime.o
5561 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5562 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5565 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
5567 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5568 * libc/sys/sysnecv850/access.c: New file.
5570 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
5572 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5574 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5577 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
5579 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5581 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
5583 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5584 * libc/include/sys/config.h: Add m32r support.
5586 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
5588 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
5591 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
5593 * libc/include/machine/setjmp.h: Add D10v support.
5595 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
5597 * configure.in: Configure the "libc/syscalls" directory for
5600 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5601 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5602 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5603 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5604 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5606 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
5608 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
5609 stack for args for main and other routines. Zero out args for
5612 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
5615 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5617 * libc/stdio/findfp.c (std): Remove extraneous ';' after
5620 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5622 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5623 real system calls now.
5625 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5626 before casting them to int.
5627 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5629 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5631 * libc/string/memset.c (memset): Ditto.
5633 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5634 first convert ints to _POINTER_INT to eliminate GCC warning.
5636 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5639 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5640 from 65000 if ints are only 16 bits.
5642 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5643 from 50000 if ints are only 16 bits.
5645 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5646 int type that is the same size as a pointer.
5648 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5650 (get_number): Explicitly cast number to long before shifting by 16
5651 or 24, in case ints are short.
5653 * libc/include/sys/config.h (_POINTER_INT): Define as short.
5655 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
5657 * libc/string.h: Added ffs, removed swab.
5658 * libc/sys/errno.h: Added EOPNOTSUPP.
5659 * libc/sys/unistd.h: Added swab.
5661 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
5663 * libc/include/sys/stat.h: Added fchmod.
5664 * libc/include/sys/unistd.h: Added fsync.
5666 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
5668 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5669 and ECONNRESET (104) for cygwin32.
5671 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
5673 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5674 do the static destructors.
5676 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
5678 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
5680 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
5682 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5683 * configure.in: Recognize m32r-*-*.
5685 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
5687 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5688 __rt_stkovf_split_small): Added default software stack overflow
5689 handlers, which just call SWI_Exit.
5690 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5691 limit initialisation.
5693 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
5695 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5697 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
5699 * libc/include/sys/types.h: Added ssize_t definition.
5701 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5703 * libc/machine/d10v/setjmp.S: Use ';' for comments.
5704 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5706 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5707 branch around a single ldi instruction.
5709 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5710 Call exit, instead of just issuing a stop instruction.
5712 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5714 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5716 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5718 * libc/stdlib/mprec.h: Explicitly declare all large constants as
5719 longs, and then cast them to __uint32_t.
5721 * libc/include/sys/config.h: Protect against multiple inclusions.
5723 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
5725 * configure.in (d10v*): Set syscall_dir.
5727 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
5729 * libc/sys/d10v/crt0.S: Set stack pointer.
5731 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
5733 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5734 in assembly for efficiency. Change calling convention to allow
5735 long ints to be returned.
5737 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5739 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5741 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
5743 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5744 Handle empty entries in $PATH.
5746 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
5748 * libc/machine/d10v/setjmp.S: Make it really work.
5750 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
5752 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5755 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
5757 * sys/sysnecv850/sys/file.h: Remove.
5758 * sys/sysnecv850/sys/syscall.h: New file.
5759 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5760 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5761 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5762 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5763 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5764 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5765 * sys/sysnec850/trap.S: New file.
5766 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5768 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5769 * sys/sysnec850/sbrk.c: New version.
5771 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
5773 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
5774 as long as r6 is less than r7.
5776 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
5778 * Makefile.in (mostlyclean): Separate from clean target. Don't
5779 remove *.a or targ-include.
5780 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5782 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5784 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5786 (__SMALL_BITFIELDS): Ditto.
5788 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5790 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
5792 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5795 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5796 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5797 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5798 * libc/sys/sysnecv850/write.c (write): Likewise.
5800 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5803 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5805 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5806 appropriately for D10V, depending on -mint16/-mint32.
5808 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
5810 * configure.in: Add cases for D10V.
5812 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5814 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5816 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
5818 * libc/include/machine/ieeefp.h: Fix typo.
5820 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
5822 * libc/sys/d10v: New directory for D10V stuff.
5823 * libc/include/machine/ieeefp.h: Add D10V defines.
5825 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
5827 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5828 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5829 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5830 * libc/string/strerror.c (strerror): Add them.
5832 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
5834 * libc/sys/sysnecv850: New directory for v850 stuff.
5836 * libc/machine/v850: New directory for v850 stuff.
5837 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5839 * configure.in: Add support for the v850.
5841 * libc/include/machine/ieeefp.h: Add v850 defines.
5842 * libc/include/machine/setjmp.h: Likewise.
5843 * libc/include/sys/config.h: Add v850 defines.
5845 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
5847 * libc/include/machine/ieeefp.h
5848 * libc/include/machine/setjmp.h
5849 * libc/include/sys/fcntl.h
5850 * libc/include/sys/signal.h
5851 * libc/include/sys/types.h
5852 * libc/stdlib/system.c:
5853 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5854 API availability, __CYGWIN32__ for cygwin32 environment specific).
5856 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
5858 * libc/include/stdlib.h: add multibyte character functions. Add
5859 __eprintf for assert.
5861 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5863 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5864 arithmetic or __alignof__ to properly get the alignment, instead
5865 of hardwiring it to 4.
5867 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
5869 * libc/stdio/fseek.c: add fflush call to adjust seek offset
5870 on append stream (fix from NetBSD sources), adjust curoff offset
5871 for ungetc's benefit.
5872 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5873 * libc/stdio/rewind.c: replace code with up to date NetBSD
5874 code to undo hacks made to work around above problem of not
5875 having fflush call mentioned above
5877 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5879 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5880 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5881 Partially revert last changes. The thread specific errno is set
5882 iff if the underlying syscall fails and the global errno is not
5885 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5887 * libc/reent/filer.c: Removed files, all functions have split out
5888 into their own files.
5889 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
5890 New files containing functions formally in filer.c
5891 * libc/reent/Makefile.in: Updated for above change.
5893 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5894 syscall fails, not if errno is changed.
5895 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
5896 _write_r): Likewise.
5897 * libc/reent/fstatr.c (_fstat_r): Likewise.
5898 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5899 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5900 * libc/reent/signalr.c (_kill_r): Likewise.
5901 * libc/reent/statr.c (_stat_r): Likewise.
5902 * libc/reent/timer.c (_gettimeofday_r): Likewise.
5904 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5905 signalr.c, statr.c, timer.c} (errno): declare extern rather
5908 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5909 instead of calling vfprintf so that i*printf will not require
5910 floating point support code.
5912 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
5914 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5916 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5917 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5919 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
5921 * libc/include/signal.h: _sig_func_ptr function takes an int
5922 * libc/include/sys/signal.h: sa_handler function takes an int
5924 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
5926 * libc/include/machine/ieeefp.h: Simplify H8/S support.
5927 * libc/include/sys/config.h: Add missing H8/S conditional.
5929 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
5931 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
5933 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
5935 * libc/include/machine/setjmp.h: Handle H8/S.
5936 * libc/include/machine/ieeefp.h: Likewise.
5937 * libc/include/sys/config.h: Likewise.
5938 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
5939 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
5940 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
5941 * libc/sys/h8300hms/crt0.S: Likewise.
5943 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
5945 * Makefile.in (datadir): Set to $(prefix)/share.
5946 (oldincludedir, docdir): Removed.
5947 * doc/Makefile.in (datadir): Set to $(prefix)/share.
5948 (oldincludedir, docdir): Removed.
5949 * libc/Makefile.in (datadir): Set to $(prefix)/share.
5950 (oldincludedir, docdir): Removed.
5951 * libm/Makefile.in (datadir): Set to $(prefix)/share.
5952 (oldincludedir, docdir): Removed.
5954 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
5956 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
5959 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
5961 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
5962 fetch current path rules with sysconf and handler posix/win32
5965 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
5967 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
5968 (WAIT_CHILD): Always define.
5970 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
5972 * libc/stdlib/eprintf.c: New file.
5973 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
5974 (eprintf.o): New target.
5976 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
5978 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
5979 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
5981 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
5983 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
5984 NT in PowerPC endianess cases.
5986 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5988 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
5990 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5992 * libc/string/strtok.c: Fix doc typo.
5994 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5996 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
5997 _next, _scanpoint, _signgam fields.
5999 * libc/include/stdlib.h (rand_r): Added new declaration.
6000 (_rand_r, _srand_r): Removed declarations.
6001 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6002 have been made obsolete by rand_r.
6003 * libc/stdlib/rand_r.c: New file, rand_r function as specified
6006 * libc/string/strtok.c: Update documentation to describe
6009 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
6011 * libc/include/sys/stat.h (stat structure): Use the expanded stat
6012 structure on Solaris, and PowerPC systems even though __svr4__ is
6015 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
6017 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6019 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
6021 * host/any: Use ../.. rather than .. to get to the main build
6022 directory. This matches the current layout of the build
6025 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
6027 * libc/machine/h8300/__main.S: Delete. No longer needed.
6028 * libc/machine/h8300/Makefile.in: Corresponding changes.
6029 * libc/sys/h8300hms/crt1.c: New file.
6030 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6031 * libc/sys/h8300hms/crt0.s: Call __main.
6033 * libc/sys/h8300hms/crt0.S: Use temporary label names
6036 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
6038 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6040 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6042 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6043 .sdata on the PowerPC so that we can link newlib with code
6044 compiled with -msdata.
6046 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
6048 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6050 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
6052 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6053 exception handler to __cygwin_exception_handler.
6055 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
6057 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6059 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
6061 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6063 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6064 wcstombs.o): Likewise.
6066 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
6068 * libc/stdlib/environ.c (initial_env): New static local.
6069 (environ): Point to `initial_env'.
6071 * libc/include/machine/setjmp.h: Clean up.
6072 (__H8300H__,__PPC__): Define _JBTYPE.
6073 (__arm__): Provide entry for.
6074 (sigjmp_buf): Delete.
6075 (jmp_buf): Use _JBTYPE if defined, otherwise int.
6077 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
6079 * libc/machine/h8300/strcmp.S: Sign extend the result to
6080 32bits so we don't lose with -mint32.
6082 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
6084 * libc/sys/go32/sys/errno.h: New file.
6085 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6086 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6087 errno's address (make compatible with rest of newlib).
6088 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6089 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6091 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
6093 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6094 * libc/machine/sparc/Makefile.in: Build them.
6095 * libc/machine/sparc/machine/sparclet.h: New file.
6097 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6099 * libc/machine/sh/asm.h: New file.
6100 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
6101 support for SH3e's FP registers. Use asm.h.
6103 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
6105 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6106 as first argument. Call _dtoa_r and pass the reent structure
6107 instead of calling __dtoa.
6109 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
6111 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6112 the h8300, h8500, and others. Add comments for some rather
6115 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
6117 * Makefile.in (check): Check that testsuite exists before cd.
6119 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6121 * libc/include/string.h (strsep): Correct prototype.
6123 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
6125 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6126 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6127 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6129 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
6131 * libc/posix/{creat.c,isatty.c}: New files.
6132 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6134 * libc/sys/sparc64/crt0.S (environ): Delete.
6135 (.LHaveBias): Renamed from HaveBias.
6137 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
6139 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6140 (_morecore_r): Delete SBRK_IS_ALLOC support.
6142 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6144 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6145 module rather than touch, so we don't get warning messages when
6146 all of the libraries are combined into libc.a.
6148 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
6150 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6151 crt0.s replaced by version in libgloss.
6153 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6155 * libc/reent/Makefile.in (OFILES): Add impure.o.
6156 * libc/reent/impure.o: New file, define initial reentrancy struct.
6157 * libc/reent/reent.c: Remove above definition.
6159 * libm/math/sf_asinh.c: Fix typo.
6161 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6164 * libm/libm.texinfo: Change documentation to reflect changes
6165 in reentrancy model.
6166 * libm/math/w_gamma.c: Likewise.
6168 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
6170 * configure.in (*-*-cygwin32): New.
6171 (*-*-win32): Deleted.
6172 * libc/sys/win32 renamed libc/sys/cygwin32.
6174 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6176 * libc/include/sys/file.h: New include file.
6178 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
6180 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6182 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
6184 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6186 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6188 * doc/makedoc.c (realloc): Declare at file scope.
6189 (catchar): Not here.
6191 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
6193 * Makefile.in (VERSION): Update to 1.7.0.
6194 * {libc,libm}/Makefile.in (VERSION): Likewise.
6195 * configure.in: Minor clean up of multilib stuff.
6197 From David Johnson <davidj@ICSI.Berkeley.EDU>
6198 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6200 * libc/stdlib/environ.c: New file.
6201 * libc/stdlib/Makefile.in (OFILES): Build it.
6202 * libc/sys/h8500hms/crt0.c (environ): Deleted.
6203 * libc/sys/m88kbug/crt0.c (environ): Deleted.
6204 * libc/sys/z8ksim/crt0.c (environ): Deleted.
6205 * libc/sys/netware/environ.c: Deleted.
6207 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
6209 * configure.in (links): set sys_dir, posix_dir, syscall_dir
6211 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6213 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6214 declaration out to external scope and declare it PTR, not char *.
6216 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
6218 * libc/include/sys/unistd.h (getpagesize): New declaration.
6219 (_SC_PAGESIZE): New definition.
6220 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6221 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6223 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
6225 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6226 addressing. System call returns size, not (last address + 1).
6228 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6230 * libm/math/*.c: Removed _foo_r() reentrancy API.
6231 * libc/include/math.h: Removed _foo_r prototypes and macros.
6233 * libm/math/*.c: On systems with IEEE single precision "doubles"
6234 move foo() -> foof() wrapper code from the files that implement
6235 the standard IEEE double precision functions to the files that
6236 implement IEEE single precision functions. (ie. On those systems
6237 sin is moved from s_sin.c to sf_sin.c). There should eventually
6238 be use of a C extension (like gcc's alias attribute) so that the
6239 wrappers are not needed at all.
6241 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6242 strict NEC V810 compiler.
6243 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6246 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6248 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6249 from NetBSD C library.
6250 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6252 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
6253 and adapted from implementation I wrote for NetBSD C library.
6254 The difference is __assert doesn't take a format argument,
6255 so that there won't be multiple copies of the same string
6256 constant in the executable if assertions are enabled in
6257 more than one source module.
6258 * libc/include/assert.h (assert): Changed to call __assert.
6260 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6262 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6263 word1 on systems with 32 bit doubles.
6264 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6265 so that we can do arithmetic on them.
6266 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6269 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
6271 * libc/sys/arm/crt0.S: Zero bss.
6273 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
6275 * libc/include/unctrl.h: New file.
6276 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6277 * configure.in (subdirs): Add libc/misc.
6278 * libc/Makefile.in (SUBDIRS): Add misc.
6279 (SUBLIBS): Add misc/lib.a.
6281 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6283 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
6285 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6286 (_vfprintf_r): Call CHECK_INIT.
6288 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
6290 * Makefile.in (MULTITOP): Delete.
6291 (MULTISRCTOP, MULTIBUILDTOP): Add.
6292 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6293 instead of cfg-ml-pos.in.
6295 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6297 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6298 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6301 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6303 * libc/string/strtok.c: Include string.h to pick up strtok_r
6306 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6308 * libc/string/strtok.c: include <_ansi.h>.
6309 * libc/time/asctime_r.c: `reresult' -> `result'.
6311 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6313 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6314 in #ifndef _REENT_ONLY ... #endif conditional.
6316 * libc/include/string.h (_strtok_r): Remove declaration.
6317 * libc/include/time.h (_asctime_r): Remove declaration.
6318 * libc/string/strtok.c (_strtok_r): Removed.
6319 * libc/time/asctime.c (_asctime_r): Removed.
6321 * libc/string/Makefile.in (OFILES): Add new object.
6322 * libc/string/strtok_r.c: New file. strtok_r function as
6323 specified by POSIX.1c, adapted from strtok implementation
6324 from NetBSD C library.
6325 * libc/string/strtok.c (strtok): Reimplemented in terms of
6328 * libc/time/Makefile.in (OFILES): Add new objects.
6329 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6330 New files, reentrant time functions specified by POSIX.1c.
6331 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6332 reentrant time functions re-written in terms of reentrant
6334 * libc/time/lcltime.c: Renamed from localtime.c
6336 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6337 gmtime_r, and localtime_r.
6339 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
6341 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6342 * libc/include/sys/unistd.h (getlogin): Revert change of
6344 * libc/include/sys/signal.h (sigprocmask): Change prototype
6345 so it compiles with c++.
6347 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
6349 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6350 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
6351 to give some room in case we need to align the jmp_buf.
6353 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6354 the new ppc-asm.h include file the compiler provides to specify
6355 function prologue/epilogue. Eliminate saves of the xer and ctr
6356 registers, which are volatile. Before starting to save registers,
6357 align to 8 byte boundary.
6359 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6361 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6362 referenced by standard libraries.
6364 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
6366 * libc/unix/Makefile.in, libc/string/Makefile.in,
6367 libc/stdio/Makefile.in, libc/reent/Makefile.in,
6368 libc/posix/Makefile.in:
6369 Remove tabs from otherwise empty line. Confuses some
6370 older non-GNU versions of "make".
6372 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
6374 * libc/sys/unistd.h (getlogin): Returns const char *.
6376 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
6378 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6379 * libc/include/errno.h: Moved into and include...
6380 * libc/include/sys/errno.h: New file.
6381 * libc/include/sys/wait.h: New file.
6382 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6383 * libc/sys/win32/*: Moved out.
6384 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6385 * configure.in (i[345]86-*-win32): HAVE_RENAME
6387 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6389 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6390 avoid macro expansion for these two names.
6392 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
6394 * libc/machine/h8500/psi.S: r6 renamed to fp.
6396 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6398 * configure.in (powerpc*): No longer need to define
6399 NO_LONGLONG_POINTERS to supress warnings.
6401 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6403 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6404 through PTR instead of directly.
6406 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
6407 non-standard constructor support.
6409 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6411 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6412 address of the Bigint instead of the address of its _x field,
6413 as the size the result buffer was calculated accordingly.
6414 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6416 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6417 from NetBSD C library. No longer special cases division by
6418 zero (which needs to be done by the application anyway), but
6419 it doesn't need to call abs() (or labs()) four times either.
6421 * libc/stdlib/qsort.c: Replaced with implementation from
6424 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6426 * libc/stdio/vfprintf.c: Replaced with implementation from
6427 NetBSD C library (which is derived from the 4.4BSD C library).
6428 * libc/stdio/cvt.c: Removed.
6429 * libc/stdio/Makefile: Updated.
6431 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
6433 * libc/sys/win32/syscalls.c (rename): New.
6434 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6436 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6438 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6439 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6441 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6442 (setjmp.o): Delete rule to build setjmp.o.
6443 * libc/sys/sh/setjmp.S: Delete file.
6445 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6447 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6448 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6449 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
6450 pow5mult and s2b to identifiers with leading underscores.
6451 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6452 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
6454 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
6456 * libc/sys/posix/popen.c (sys/types.h): Include.
6458 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
6460 * libc/sys/win32/syscalls.h (fhandler): New struct.
6461 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6462 (__fhandler_normal): Declare.
6463 (hinfo): New member op_handlers.
6464 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6465 (__write): Likewise.
6466 (_read, _write, _open, _close, _lseek): Validate fd here.
6467 Move file type specific stuff to foo_normal.
6468 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6470 (__lookup_fhandler): New function.
6471 (__lookup_fhandler_hook, __fhandler_normal): New variables.
6473 From anders.blomdell@control.lth.se (Anders Blomdell)
6474 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6475 Don't touch standard handles.
6476 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6477 (_execve): Only create __FD_TABLE__ if necessary.
6478 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6480 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
6482 * libc/sys/win32/sys/termios.h (FLUSHO): New.
6483 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6484 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6485 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6486 without a handler is received.
6487 * libc/sys/win32/Makefile.in: Remove --nodelete.
6488 * libc/sys/win32/resouce.c (gettimeofday): New.
6489 * libc/sys/win32/syscalls.c (path_to_real_path): New.
6490 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6492 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
6494 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6495 Don't append "/*" to search pattern if trailing '/' already there,
6497 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6498 like /'s, convert them to \'s. Handle //<drive>/ path names.
6499 Add space for quoted \'s in arg string. Print translated prog name
6500 and original prog name.
6501 (_execve): Handle parent doing exec a teensy bit better.
6502 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6503 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6504 path needs conversion, handle both cases. Delete `const' from result.
6505 (hash_path_name): New function.
6507 (_stat): Likewise. Fill in more fields for directories.
6508 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6509 (wait_for_any): Fix trace message.
6510 (waitpid): Explicitly test for intpid == 0.
6512 From anders.blomdell@control.lth.se (Anders Blomdell)
6513 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6516 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
6518 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6521 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6523 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6524 at all, not just == 1.
6525 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6527 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6529 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6530 * libc/sys/win32/include/wintypes.h: include <winnt.h>
6531 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6534 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6536 * libc/sys/syscalls.c (getcwd): Fix off by one error.
6538 * libc/sys/signal.c (sleep): Fill it in.
6539 * libc/sys/termios.c (tcflush): Use PurgeComm
6540 (tcsetattr): Set some more of the bits.
6541 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6543 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
6545 * libc/sys/arm/crt0.S (fp): Initialize to 0.
6546 Conditionally include .idata$3 stuff ifdef __pe__.
6548 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6550 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6551 * libc/sys/win32/pipe.c (pipe): Ditto.
6552 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
6553 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6554 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6555 (tcgetattr): Contents are new.
6556 * libc/sys/win32/include/winkernel.h (DCB): New.
6557 (GetCommState, SetCommState): New.
6559 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
6561 * libc/sys/arm/crt0.S (_start): Define.
6563 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
6565 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6566 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6568 * libc/sys/win32/sysconf.c: New
6569 * libc/sys/win32/sys/winadvapi.h: New
6570 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6571 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6572 * libc/sys/win32/pipe.c (pipe): Ditto.
6573 * libc/sys/win32/signal.c (_raise): New.
6574 (_kill): Moved from spawn.c
6575 * libc/sys/win32/spawn.c (kill): Moved to signal.c
6576 * libc/sys/win32/syscalls.c (__read): Use new fields.
6578 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6579 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6580 * libc/include/sys/unistd.h (rmdir): Takes const path.
6581 * libc/include/sys/stat.h (mkdir): Takes const path.
6582 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6584 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
6586 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6588 Add support for specifying paths as //<drive>/foo/bar.
6589 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6590 (__path_to_real_path): Declare.
6591 (PATH_TO_REAL_PATH): New macro.
6592 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6593 (__path_needs_conversion_p, __path_to_real_path): New functions.
6594 (_open): Fix test for error return from CreateFileA.
6595 Handle new path syntax.
6596 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6597 * libc/sys/win32/dirsearch.c (opendir): Likewise.
6599 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
6601 * libc/sys/win32/include/*.h: Reorganized
6602 * libc/sys/win32/include/WINREADME: New.
6603 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6604 * libc/sys/win32/*.c: Fix for new include scheme.
6605 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6606 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6607 * libc/sys/win32/passwd.c (*): Fix.
6608 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6609 (_stat): Get directory owner and permissions right.
6610 * libc/sys/win32/syscalls.h (uinfo): New.
6611 * libc/sys/win32/version.def: Remove leading underscores.
6613 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6615 * libc/sys/win32/key.c: include "include/wincon.h".
6617 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
6619 * libc/sys/win32/{key, stubs}.c: New.
6620 * libc/sys/win32/Makefile: Adjust to cope.
6621 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6622 (environ_init): Change env names to upper case.
6623 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6624 * libc/sys/win32/passwd.c (*): Fill in the functions.
6625 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6626 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6627 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6628 (_open): Initialze hmap->execable_p too.
6629 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6630 (_fstat): Fill in permissions.
6631 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6633 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
6635 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6637 (cfg-ml-pos.in invocation): Likewise.
6639 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6641 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6642 s_isnan.o and sf_isnan.o.
6644 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
6646 * All Makefile.in files: added maintainer-clean target as a
6647 synonym for realclean.
6649 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
6651 * libc/include/machine/setjmp.h: Add hppa support.
6652 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6654 * libc/machine/hppa/Makefile.in: Related changes.
6656 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
6658 * configure.in (machine_dir): Don't set for v810-*-*.
6660 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6662 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6663 conventions correctly.
6665 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
6667 * libc/stdio/puts.c: Update documentation of return value to match
6670 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
6672 Fix file descriptor inheritance.
6673 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6675 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6676 close-on-exec flag not set. Initialize child's entire fd table.
6677 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6679 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6680 if CHILD_P. Initialize entire hmap entry.
6681 (dup): Only create new handle as inheritable if CHILD_P.
6682 (dup2): Likewise. Properly initialize hmap entry.
6684 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6686 (_exit): Use CHILD_P.
6687 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6690 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6692 * libc/sys/win32/crt0.c (passover): fix up the state table.
6693 * libc/posix/popen.c: Added.
6694 * libc/posix/Makefile.in: compile popen.c.
6696 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
6698 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6699 h8/500 define _DOUBLE_IS_32BITS.
6701 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
6703 Get vfork/exec/spawn/cwait/wait working again.
6704 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6705 (procinfo): New member vfork_level.
6706 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6707 (vfork_init_first): Use GetCurrentProcessId to get pid.
6708 Initialize vfork_level.
6709 (vfork_init): Delete __PID__.
6710 (environ_init): New function. Undo patch of Aug 19, Posix says
6711 environment variables are case sensitive.
6712 (mainCRTStartup): Call it.
6713 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6714 (my_longjump: Make static.
6715 (_spawn): New argument `h'. Delete setting of __PID__.
6716 Delete local `idx'. Look for chars that need quotes, rather than
6717 ones that don't. Set handle of created process in `h'.
6718 Result is process id if created task.
6719 (allocate_spawn_entry): New function.
6720 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
6721 (_execve): Set __FD_TABLE__ before spawning child.
6722 Scan our fd table when passing fds, not our parent's.
6723 Store handle and pid in procinfo entry.
6724 (vfork0): Ensure strace message always printed.
6725 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6726 (vfork): Don't clobber result of vfork0.
6727 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6728 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6730 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6732 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6733 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
6734 adding vfork level to pseudo-pid.
6735 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6736 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6737 (_exit): If child, set exit code.
6738 (__vfork_record_death): Only close process handle if valid.
6739 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6741 (wait_for_any): Likewise. Start scan after root entry.
6743 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6745 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6746 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6747 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6748 of actual file length.
6750 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6751 * libc/include/paths.h: _PATH_BSHELL added.
6752 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6755 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6757 * libc/include/ar.h: Added.
6758 * libc/include/sys/types.h: ino_t goes back to 32-bits.
6759 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6760 * libc/sys/win32/syscalls.c (_open): compute .namehash based
6762 (_fstat): use .namehash for inode number of the fd.
6764 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
6766 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6767 Change hinfo to __this_procinfo.
6768 * libc/sys/win32/crt0.c: Remove procinfo_list.
6770 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6772 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6775 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6777 * libc/sys/win32/include/grp.h: Removed.
6778 * libc/sys/include/grp.h: Added.
6779 * libc/sys/win32/grp.c: Include <grp.h>.
6781 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
6783 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6784 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6785 Defined for all but strict ANSI.
6786 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6787 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6788 * libc/signal/signal.c (_signal_r): Changed from using
6789 _MAX_SIGNALS to NSIG.
6790 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6792 (__strace, __vfork_next_pid): New.
6793 (__exe_suffix): Default to 1.
6794 (passover, table): Understand quoted arguments.
6795 (vfork_init_first): New.
6796 (vfork_init): Initialize new process structure.
6797 (mainCRTStartup): Pass environ to main.
6798 * exceptions.c (__sig_mask): New
6799 (ehandler3): Ignore signals in mask.
6800 (really_exit): Remove CHILD_P test.
6801 * pipe.c (pipe, dup, dup2): Use new process and file structure.
6802 * resource.c (getrusage): Ditto.
6803 * signal.c (sigprocmask): New.
6804 * spawn.c (*): Rewritten.
6805 * syscalls.c (*): Use new process and file structure.
6806 (find_unused_handle): New.
6807 * syscalls.h (MAX_HANDLES): Deleted.
6808 (hinfo): Removed child_created_p.
6809 (MAX_CHILDREN): Deleted.
6810 (vfork_jmp_info, procinfo): New.
6811 * wait.c (*): Mostly new.
6812 * sys/strace.h (_STRACE_PARANOID): New.
6813 * sys/param.h: New file.
6815 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6817 * libc/include/sys/stat.h: add S_BLKSIZE.
6818 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6819 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6821 (mode_t): add a #else to avoid multiple definitons.
6823 * libc/sys/win32/Makefile.in: add grp.c.
6824 * libc/sys/win32/grp.c: include grp.h correctly.
6825 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6826 of the st structure with real information.
6827 * libc/sys/win32 (dirent): d_ino is of type ino_t.
6829 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
6831 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6832 and (maybe) sparc64.
6833 (nlink_t): Provide typedef.
6835 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6837 * libc/sys/win32/grp.c: New file.
6838 * libc/sys/win32/include/grp.h: New file.
6840 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6842 * libc/include/machine/ieeefp.h: Added whitespace to make this
6843 file easier to maintain.
6844 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6845 depending on the value of __LITTLE_ENDIAN__.
6846 On the sh3e, define _DOUBLE_IS_32BITS.
6848 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
6850 * libc/sys/vr4300/syscalls.c: Added missing support
6851 routines. _raise() and getpid().
6853 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
6855 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6857 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
6859 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6860 and VR4300 processor.
6861 * libc/sys/vr4300: Add directory.
6862 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6863 monitor run-time support.
6865 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6867 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6868 * libc/stdlib/stdlib.tex: Don't include atol.def.
6870 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6872 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6874 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
6876 * libc/ctype/Makefile.in: Fill in _to* dependencies.
6878 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
6880 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6881 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6882 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6883 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6884 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6886 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6888 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6890 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6892 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6893 * libc/stdlib/atoff.c: New file.
6894 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6895 * libc/stdlib/atoi.c (atol): Removed.
6896 * libc/stdlib/atol.c: Removed duplicate documentation.
6898 * libc/include/ctype.h (_tolower, _toupper): Moved inside
6899 #ifndef _STRICT_ANSI conditional.
6900 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6901 * libc/ctype/_tolower.c: New file.
6902 * libc/ctype/_toupper.c: New file.
6903 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6904 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6905 * libc/ctype/toascii.c (_toascii): Removed.
6907 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
6909 * libc/sys/sparc64/sys/types.h: Deleted.
6911 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6913 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6914 and recognize Windows_95 systems.
6916 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6918 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6919 and passed fds should be opened in text mode.
6921 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6923 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6924 in __hmap, set to binary mode by default.
6926 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6928 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6929 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
6932 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
6934 * Makefile.in (install): Install all libraries found in the
6935 top level. If there's a sys/<type>/include directory,
6936 install those headers into include.
6938 * libc/sys/win32/kernel.def351: Delete
6939 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
6940 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
6941 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
6942 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
6943 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
6944 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
6945 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
6946 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
6948 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
6949 * libc/sys/win32/crt0.c: Force all env names to upper case.
6950 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
6951 * libc/sys/win32/*.c: Headers have moved.
6952 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
6953 __vfork_child_idx is now __vfork_child_ptr.
6955 * posix/execvp (execvp): Don't crash if no PATH envname.
6957 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6959 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
6960 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
6961 through the _freelist instead of through the _reclaim list.
6962 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
6963 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
6966 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6968 * libc/machine/h8500/setjmp.S: New file.
6969 * libc/include/machine/setjmp.h: Updated for H8/500.
6971 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
6973 * libc/sys/win32/syscalls.c (_open): More stracing.
6974 (_stat): Open the file in O_BINARY.
6976 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6978 * libc/machine/h8300/setjmp.S: New file.
6979 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
6981 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
6983 * libc/sys/win32/crt0.c (__exe_suffix): New global.
6984 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
6985 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
6986 __exe_suffix. Free fd_tab after setting env variable.
6987 (spawnv,_execve): Update.
6988 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
6989 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
6990 (__small_vfprintf): New function.
6991 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
6992 * libc/sys/win32/wait.c (cwait): Validate argument.
6994 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
6995 (process_deletion_queue): Likewise.
6997 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
6999 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
7001 * libc/sys/win32: Copyrights and gratuitous indenting.
7003 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
7005 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7006 (process_deletion_queue): Likewise.
7007 (__close_all_files): New function.
7008 (_close): Only queue file deletion if really a file.
7009 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7011 (_exit): Call __close_all_files.
7013 * libc/stdlib/system.c: #include <errno.h>.
7014 (_system_r): Fix results in -DNO_EXEC case.
7016 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7017 Reorganize structure.
7018 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7019 if argument is valid. Save directory name in DIR. malloc space
7020 for dirent struct separately.
7021 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7023 * libc/include/errno.h (ENAMETOOLONG): Define.
7024 * libc/string/strerror.c (strerror): Reword ENFILE.
7025 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7027 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
7029 * libc/sys/win32/crt0.c (__progname): New global.
7030 (mainCRTStartup): Support strace=bitmask,filename.
7031 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7032 * libc/sys/win32/syscalls.c (_write): Print parent trace message
7034 (getcwd): Handle len too small. Convert '\\' to '/'.
7035 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7036 Add prototypes for open, creat, fcntl.
7037 (O_APPEND): Change value to conform to Microsoft's value.
7038 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7040 * libc/stdlib/getopt.c: New file.
7041 * libc/stdlib/Makefile.in: Build it.
7043 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
7045 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7046 Fix scanning of $PATH.
7047 * libc/posix/exec*.c: Call _execve, not execve.
7048 * libc/posix/execve.c: New file.
7049 * libc/posix/Makefile.in (OFILES): Add execve.o.
7051 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7052 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7053 (_STRACE): If level==0, always print. Handle new bit mask scheme.
7054 * libc/sys/win32/crt0.c: Update _STRACE calls.
7055 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7057 * libc/sys/win32/smallprint.c (rn): Fix digit list.
7059 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7060 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7061 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7062 Print __seterrno trace message first.
7063 (_execve): Renamed from execve.
7064 (vfork): Update __strace usage.
7065 (__vfork_child_pid): Deleted.
7066 (__vfork_children, __vfork_child_idx): New globals.
7067 (_spawnvp): New function.
7068 (spawnvp, spawnv, _execve): Call _spawnvp.
7069 (init_child): Record child in __vfork_children.
7070 (__vfork_get_entry, __vfork_record_death): New functions.
7071 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7072 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7073 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
7074 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7075 (children): New typedef.
7076 (__vfork_children,__vfork_child_idx): Declare.
7077 (__vfork_get_entry,__vfork_record_death): Declare.
7078 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7079 (waitpid): Handle pid == -1.
7080 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7081 * configure.in (i386-win32): Add -DNO_FORK.
7082 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7083 * libc/reent/execr.c (_fork_r): Likewise.
7084 * libc/stdlib/system.c (do_system): New function.
7085 If WIN32, try to get shell path from $SH_PATH, use vfork.
7086 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7089 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
7091 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7092 * libc/sys/win32/fcntl.h: Don't include self.
7093 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7094 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7095 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7096 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7097 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7099 * libc/sys/win32/strace.c: New file.
7100 * libc/sys/win32/smallprint.c: New file.
7101 * libc/sys/win32/crt0.c (func): Delete.
7102 (mainCRTStartup): Fix alloca usage. Set handles explictly.
7103 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7104 * libc/sys/win32/exceptions.c: Lint.
7105 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7106 Clean up handle usage.
7107 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7108 (open.c): Default file type is text.
7109 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7110 * libc/sys/win32/advapi32.def: New
7112 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
7114 * configure.in (posix_dir, libc_posix_lib): New variables.
7115 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7116 (i[345]86-*-win32): Define posix_dir.
7117 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
7118 (if unix_dir): Fix typo.
7119 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7120 scandir,seekdir,telldir}: New files.
7121 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7123 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7124 (SUBDIRS): Add posix.
7125 (SUBLIBS): Add $(LIBC_POSIX_LIB).
7127 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7128 (NSIG): Increase to 21.
7129 * libc/include/sys/unistd.h (pid_t): Move from here,
7130 * libc/include/sys/types.h (pid_t): to here.
7132 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7134 (hinfo): New members close_exec_p, child_created_p.
7135 (struct exception_list): Define.
7136 (__hmap): Redefine as pointer to table.
7137 (__parent_hmap, __child_hmap): New globals.
7138 (__set_errno, __really_exit): Declare.
7139 (__vfork_child_pid): Declare.
7140 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7141 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7142 (__parent_hmap, __child_hmap): New globals.
7143 (__hmap): Redefine as pointer to active map.
7144 (__get_console): New function.
7145 (mainCRTStartup): Change leading '=' in environ vars to '!'.
7146 (env __FD_TABLE__): Watch for this and initialize our fd/handle
7147 mapping table from it if defined.
7148 (argv, envp): Dump if __strace >= 4.
7150 * libc/sys/win32/exceptions.c (myp): Redefine.
7151 (__syscalls_b): Delete.
7152 (__stack_trace): New function.
7153 (ehandler3): Update to use _STRACE. Print stack trace.
7154 Call __really_exit instead of exit.
7155 (init_exceptions): Delete args argc,argv. New arg mine.
7156 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7157 FindFirstFileA, FindNextFileA, GetComputerNameA,
7158 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7159 * libc/sys/win32/signal.c (signal): Validate arg.
7160 (alarm, sleep): Define as stubs for now.
7161 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7162 (__syscalls_b, errno): Delete.
7163 (__vfork_child_pid, __vfork_jmp_buf): New globals.
7164 (__seterrno): Handle more errors.
7165 (__sys_printf): Renamed from _ptrace.
7166 (__really_exit): New function.
7167 (queue_file_deletion, process_deletion_queue): New functions.
7168 (__resume_parent): New function.
7169 (_unlink): Handle trying to delete open file.
7170 (__totime_t): Renamed from totime_t.
7171 (setsid, __read, __write): New functions.
7172 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7173 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7174 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7175 * libc/sys/win32/console.c: Update to new definition of __hmap.
7176 * libc/sys/win32/Makefile.in: Build new files.
7177 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7178 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7179 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7180 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7182 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
7184 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7186 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7188 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7189 have been made to the master dtoa.c sources (from netlib.att.com)
7190 since they were integrated into newlib in early 1992. Fixes
7191 problems with storage leaks and handling of numbers with very
7194 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7196 * Makefile.in (all): set rootpre and srcrootpre before calling
7199 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
7201 * libc/sys/win32/crt0.c: Change __hmap usage.
7202 * libc/sys/win32/exceptions.c: Use _ptrace call.
7203 * libc/sys/win32/syscalls.c: Use _ptrace call.
7204 (read, write): Cope with DOS style CRLF when in TEXT mode.
7205 * libc/sys/win32/syscalls.h: Declare hinfo struct.
7206 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7207 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7208 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7209 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7211 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7213 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7215 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7216 wrappers for hypot() and remainder() for BSD libm compatibility.
7217 These are public domain implementations written by me for the
7218 NetBSD libm some time ago. Note cabs() is required by ucbtest.
7219 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7220 (fobj): Added wf_cabs.o and wf_drem.o.
7222 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7224 * libc/sys/h8500hms/misc.c: New file.
7225 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7227 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7229 * libc/time/localtime.c (localtime): Fix problem with leap year
7230 handling. Stole algorithm from Arthur David Olson's tz code.
7232 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
7234 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7236 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7237 (_exit): Use argument.
7239 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
7241 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7243 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
7245 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7247 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7249 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7252 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
7254 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
7255 ptrace with case insensitivity
7256 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7257 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7260 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
7262 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7263 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7264 (all, install, *clean): Use new multilib support.
7265 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7267 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
7269 * libc/include/sys/signal.h (__WIN32__): New.
7271 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7273 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7274 (ulp, b2d): Handle 32 bit doubles.
7275 * libc/stdlib/mprec.h: Handle 32 bit doubles.
7276 * libc/stdlib/strtod.c (_strtod_r): Ditto.
7278 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
7280 from medp@primag.co.uk:
7281 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7282 dynamically allocated buffers.
7284 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
7286 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
7287 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
7289 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7291 * configure.in (powerpc): Fix previous fix.
7293 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7295 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7296 directories for this target.
7298 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7300 * configure.in (hppa): Add machine_dir definition.
7301 * libc/machine/hppa: New directory with PA specific implementations
7302 of the basic memory/string functions.
7304 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7306 * configure.in: Update current PowerPC multilib directories.
7307 Split big and little endian configurations.
7309 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
7311 * configure.in: Add --enable-single-float option to configure to
7312 control use of MIPS single-float directories. Default to yes.
7314 * Makefile.in (all): Don't recurse into multilib directory if it
7317 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7319 * libc/sys/sh/syscalls.c: Fix typo.
7321 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
7323 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7325 * libc/include/process.h: Define WAIT_CHILD.
7326 * libc/include/types.h: Get sizes right for win32.
7327 * configure.in (i386-*-pe): Becomes i386-win32.
7328 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7329 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7330 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7333 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
7335 * configure.in (i[345]86-*-pe): New target (NT).
7336 * host/any: DLLTOOL new.
7337 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7338 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7339 WIN32 (just enough to cross host the comp-tools).
7341 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
7343 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7344 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
7346 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
7348 * libc/include/machine/ieeefp.h (arm): Change to always be
7349 __IEEE_BIG_ENDIAN (even on little endian ARM's).
7351 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
7353 * libc/sys/crt0.S: Initialze sp, and call exit after main.
7354 * libc/sys/syscalls.c (abort): New.
7355 * configure.in (arm): Define ABORT_PROVIDED.
7357 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7359 * configure.in (powerpc): Define multidirs.
7361 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
7363 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7365 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
7367 * configure.in (sparclite): Delete target_cflags. Define multidirs.
7369 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
7371 * configure.in, libc/include/machine/ieeefp.h: Modified
7373 libc/machine/arm/*, libc/sys/arm/*: New
7375 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7377 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7378 __powerpc__ when determining endianness.
7380 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7382 * configure.in (m68*): Add multidir for the m68332.
7384 * host/any (CC): Fix typo in last change.
7386 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
7388 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7389 when determining endianness.
7390 * libc/include/machine/ieeefp.h: Ditto.
7391 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7394 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
7396 * libc/include/errno.h (ENOTEMPTY): Define.
7398 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7400 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7403 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7406 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7407 instead of only when open succeeds. ANSI requires that multiple
7408 calls to tmpnam() result in different files.
7410 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7411 objects pulled in from /lib/libc.a that must be renamed before
7412 being pulled into newlib. /lib/libc.a's div.o conflicted with
7413 newlib's file with the same name.
7415 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7417 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7418 the build tree will only be used if the executables are present
7419 (instead of just the Makefiles).
7421 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7423 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7424 versions of these functions that I orignally wrote for the
7426 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7427 versions I wrote for NetBSD.
7429 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
7431 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7432 * libc/sys/sparclite/crt0.s: ditto.
7434 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
7436 * configure.in: Add soft-float for proelf.
7438 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
7440 * libc/stdlib/mprec.h (Bcopy): Copy the right number
7443 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
7445 * Makefile.in (all): Depend on `force'.
7446 * configure.in (syscall_dir): Renamed from fake_sys_dir.
7447 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7448 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7449 * libc/Makefile.in: Likewise.
7450 * libc/include/reent.h: Update syscall references.
7451 (_fcntl_r): Add prototype.
7452 * libc/syscalls/*.c #include <reent.h>.
7453 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7455 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
7457 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7458 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7459 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7460 (time.h, sys/types.h): Always include (even if MSDOS).
7461 (stat): Fix prototype.
7463 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
7465 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7467 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7469 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7471 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
7473 * libc/include/regdef.h: New file.
7474 * libc/machine/mips/machine/regdef.h: New file.
7476 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
7478 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7480 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
7482 * libc/sys/sh/crt0.S: Pass main's return to exit.
7483 * libc/sys/sh/trap.S: Put errno in the right place.
7485 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7487 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7488 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7489 * libm/math/ef_rem_pio2.c: Likewise.
7490 * libm/math/e_log10.c: Remove unused static one.
7491 * libm/math/ef_log10.c: Likewise.
7492 * libm/math/s_frexp.c: Likewise.
7493 * libm/math/sf_frexp.c: Likewise.
7495 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
7497 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7498 longjmp.S: Upgraded.
7499 * libc/sys/go32/sys/setjmp.h: Upgraded.
7500 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7502 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7504 * configure.in: Add many entries to multidirs for mips targets.
7506 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7508 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7509 5.2 which fixes bug where jn(-1,x) is three times larger than
7511 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7513 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
7515 * libc/sys/w65/sys/syscalls.h: New file
7516 * libc/include/machine/ieeefp.h: W65 support.
7517 * libc/include/sys/config.h: Ditto.
7518 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7519 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7520 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7522 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7524 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7526 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
7528 * Makefile.in, configure.in: Remove any references to the old
7531 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7533 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7534 uses ... in prototype.
7537 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7539 * libc/sys/a29khif/sys/libconfig.h: Remove.
7540 * libc/sys/go32/sys/libconfig.h: Remove.
7541 * libc/sys/sun4/sys/libconfig.h: Remove.
7542 * libc/sys/sysvi386/sys/libconfig.h: Remove.
7543 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7544 * libc/sys/sparc64/sys/libconfig.h: Remove.
7546 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7547 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7548 * libc/include/math.h: Change all uses of _FLOAT_RET and
7549 _FLOAT_ARG to float.
7550 * libm/test/math.c: Likewise.
7551 * testsuite/libm.sac/math.c: Likewise.
7552 * testsuite/libm.sac/working/math.c: Likewise.
7554 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7556 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7557 gcc calls gas with endian option.
7558 * configure.in (sh): Build little endian version too.
7560 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7562 * configure.in: Configure big and little endian versions for MIPS
7565 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
7567 * libc/include/limits.h: Deleted.
7568 * libc/include/machine/limits.h: Deleted.
7570 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
7572 * ChangeLog: Remove stub directory. This has all been rewritten
7573 and moved to devo/libgloss.
7575 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7577 * Makefile.in (dvi): Add to info target, use $@ in sub make.
7578 (docs): Merge into info target.
7579 * libm/Makefile.in (dvi): Add $(srcdir).
7580 * libm/math/Makefile.in (chobjs): Remove underscores from file
7581 names. Texinfo doesn't like them.
7582 (wacos.def, ...): Add explicit targets for all .def files.
7583 * libm/math/math.tex: Remove underscores from @include file names.
7584 * doc/Makefile.in (dvi): Add dummy target.
7585 * testsuite/Makefile.in (dvi): Add dummy target.
7587 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
7589 * Makefile.in (VERSION): Define. For net newlib releases.
7591 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
7595 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7597 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7599 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7601 * libc/stdlib/setenv.c (_findenv): Declare.
7603 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7604 fcntl to not use _EXFUN, and change string parameters to open and
7605 creat to be ``const char *''.
7606 * libc/sys/sparc64/sys/fcntl.h: Likewise.
7607 * libc/sys/sparc64/creat.c (creat): Make PATH const.
7608 * libc/syscalls/sysopen.c: Include <fcntl.h>.
7609 (open) Make _FILE const.
7610 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7611 (_creat): Make PATH const.
7612 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7613 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7614 * libc/sys/m88kbug/syscalls.c (open): Likewise.
7615 * libc/sys/sh/syscalls.c (_open): Likewise.
7616 * stub/shared/glue.c (open): Make BUF const.
7617 * stub/ex93x/syscalls.c (open): Make FILENAME const.
7619 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7621 * libc/include/errno.h: Add ENMFILE
7622 * libc/include/sys/config.h: Support Z8000.
7623 * libc/include/sys/signal.h: New signals for go32.
7624 * libc/machine/h8500/psi.S (__addpsir0r0): New function
7625 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7626 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7627 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7628 size is variable, depending upon CHUNK_POWER.
7629 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7631 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7633 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7635 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7637 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7639 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7641 * configure.in: Change i[34]86 to i[345]86.
7643 * libc/include/math.h: Don't define HUGE_VAL if it is already
7646 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7648 * testsuite/libm.sac/test_erfc.c: Correct some result values.
7649 * testsuite/libm.sac/test_gammaf.c: Likewise.
7650 * testsuite/libm.sac/test_sin.c: Likewise.
7651 * testsuite/libm.sac/test_tanh.c: Likewise.
7653 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7655 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7656 already set. Define typedefs __int32_t and __uint32_t.
7657 * libc/include/math.h: Include <machine/ieeefp.h>.
7658 (union __dmath): Use __uint32_t.
7659 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7660 instead of int and unsigned int.
7662 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7664 Replace the math library with the SunPRO fdlibm package.
7665 * libm/math: Completely changed all files.
7666 * libm/ieeefp: Remove contents and directory.
7667 * libm/Makefile.in (LIBM_FP_LIB): Remove.
7668 (SUBDIRS): Just set to math/lib.a.
7669 * libm/libm.texinfo: Updated for new library.
7670 * libc/include/math.h: Extensive changes for new math library.
7671 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7672 from _FLOAT_ARG to float.
7673 (maxpowtwo, maxpowtwof): Don't declare.
7674 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7675 (libm_fp_lib): Removed.
7676 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7677 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7678 argument to ${RUNTEST}.
7679 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7681 (RUNTESTFLAGS): Set CC and CFLAGS.
7682 (TESTS): Remove test_log2 and test_log2f.
7683 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7684 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7685 _FLOAT_ARG, for single precision argument type.
7686 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7687 expected failure. Close the input pipe.
7688 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7689 Correct misspelling of inaccurate.
7690 (test_mok): Use ``inaccurate'', not ``wrong''.
7691 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7692 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7693 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7694 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7695 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7696 test_yn.c): Correct many result values. Many are still wrong.
7698 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7699 just copy the string.
7700 (_gcvt): Always return the buffer.
7702 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7704 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7706 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7708 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7710 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7711 (_reclaim_reent): declare new entry point.
7712 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7715 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7716 ever allocated, so that we can later reclaim them all.
7717 (pow5mult): make reentrant.
7719 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7720 so that when given NULL as a buffer, return a pointer to static
7721 space in the rent structure. This is not documented behaviour;
7722 it's only to support ecvt and fcvt, which aren't ANSI anyway.
7723 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7724 therefore become reentrant).
7726 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7728 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7730 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7732 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7734 * Makefile.in: Make link to libg.a after libc.a; this is needed
7735 for the testsuites to build executables when everything comes
7738 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
7740 * libc/Makefile.in: Add a VERSION variable so we can keep track.
7741 * libm/Makefile.in: Add a VERSION variable so we can keep track.
7743 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7745 * libc/include/stdio.h: Use __VALIST, not va_list.
7747 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
7749 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7750 testsuite/libm.sac/execute.exp:
7751 Replace error proc calls with perror calls.
7753 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
7755 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7756 * libc/include/time.h: #define NULL as 0L.
7758 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
7760 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7763 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7765 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7768 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
7770 * configure.in (TARGET_CFLAGS): Set -O2 as default.
7771 (z8k-*-*): Use syscalls fake sys dir.
7772 * libc/sys/z8k/glue.c: Rename syscalls.
7773 * libc/sys/go32/Makefile.in: Use new routines.
7774 * libc/machine/Makefile.in: Fix typo in ln stuff.
7776 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7778 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7779 * libc/Makefile.in (crt0.o): Likewise.
7780 * libc/machine/Makefile.in (lib.a): Likewise.
7781 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7783 All Makefile.in files: Added mostlyclean, realclean and distclean
7786 * Makefile.in: Don't bother to unexport XTRAFLAGS or
7787 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7788 the top level Makefile.
7790 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
7792 * libc/sys/sparc64/sys/stat.h: New file.
7793 * libc/sys/sparc64/sys/time.h: New file.
7794 * libc/sys/sparc64/sys/types.h: New file.
7796 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
7798 * stub/ex93x/crt0.s (start): Add code to clear bss.
7800 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
7802 * libc/include/sys/types.h (time_t): Properly protect inside
7803 #ifndef __time_t_defined.
7805 * libc/stdio/fileno.c: New file.
7806 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7807 (fileno.o): Add dependency.
7808 * libc/include/stdio.h (__sgetc): Rename never to _never.
7809 (fileno macro): Disable, needs to do CHECK_INIT first.
7811 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
7813 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7816 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7817 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7819 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7822 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
7824 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7825 of the various constants.
7827 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
7829 * libc/include/math.h: #ifndef __math_68881 around things which
7830 conflict with the (gcc-provided) inline functions in
7831 gcc/ginclude/math-68881.h.
7833 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
7835 * libc/include/_syslist.h (_gettimeofday): Define.
7837 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7838 (struct tms, timeval, timezone): Declare.
7839 (_gettimeofday_r, _times_r): Declare.
7840 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
7841 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7842 (time_t): Add multiple definition protection, __time_t_defined.
7843 * libc/include/sys/time.h: Don't #include <time.h>.
7844 Always define struct timezone (remove #ifndef _TIME_H_).
7845 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
7846 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7847 * libc/reent/Makefile.in (OFILES): Add timer.o.
7848 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
7849 * libc/reent/timer.c: New file.
7850 * libc/time/clock.c: #include <reent.h>.
7851 (clock): Call _times_r instead of times.
7852 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7853 HAVE_GET_TIME_OF_DAY.
7854 Add comment regarding supporting OS routine(s) required (for docs).
7856 (time): Call _gettimeofday_r instead of gettimeofday.
7857 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7858 * libc/time/ctime.c: Ditto.
7859 * libc/time/strftime.c: Ditto.
7860 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7861 (TEMPLATE_SFILES_R): Define here. Also define times.
7862 Add times_r.o/times.S dependence.
7863 (time2.c, junk.c): Deleted.
7864 * libc/sys/sparc64/time2.c: Deleted.
7865 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7867 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7868 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7869 * libc/sys/sparc64/junk.c: Deleted.
7871 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
7873 * libc/sys/sparc64/Makefile.in: Add times syscall.
7874 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7875 be used with and without it. Add comment clarifying Medium/Anywhere
7877 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7878 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7881 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
7883 * configure.in (target_cflags): Move init.
7884 (sparc64-*-*): Define HAVE_BLKSIZE.
7886 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
7888 * libc/include/sys/_types.h: New file.
7889 * libc/include/reent.h: #include it.
7890 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7891 MISSING_SYSCALL_NAMES.
7893 * libc/include/_syslist.h: Remove _raise.
7894 * libc/reent/signalr.c: New file.
7895 * libc/reent/Makefile.in: Compile it.
7896 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7897 Add doc for raise and _raise_r.
7898 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7899 (raise): Call _raise_r.
7900 (_raise_r): Call _getpid_r and _kill_r.
7901 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7902 (abort): Loop forever calling raise and _exit.
7904 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7906 * configure.in: Remove extraneous echo.
7908 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
7910 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7911 collision with unistd.h, and fix for svr4.
7913 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
7915 * libc/stdio/local.h (_llicvt): Declare.
7916 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7917 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7919 (_sicvt): Fix function header (`value' is short).
7920 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7921 Add printing of long long's support.
7922 Add printing of 8 byte pointer support.
7924 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
7926 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7927 stat, chmod): New hooks.
7928 (sbrk): Abort if stack and heap collide.
7929 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7930 shortcut when given small args.
7931 * libc/machine/sh/setjmp.s: Rewritten.
7932 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
7933 of cmp/str instruction.
7935 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7937 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
7938 and machine_dir powerpc.
7939 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
7940 Add cases for __powerpc__.
7941 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
7944 * libc/include/stdio.h (_iprintf_r): Declare correctly.
7946 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
7948 * libc/stdlib/callocr.c: New file with _calloc_r in it.
7949 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
7951 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
7953 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
7954 (print_e): More comments to describe args, etc.
7955 "type" arg may now be 'g' or 'G' for %g/G format --> remove
7957 (_gcvt): Remove locals decpt, sign, end, p, done.
7958 More comments for print_e invocation.
7959 Pass "type" to print_e as is (g/G).
7961 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
7963 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
7966 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
7968 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
7969 works with any sized pointer, including ones bigger than ints and
7972 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
7974 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
7976 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7978 * libc/include/stdlib.h (_calloc_r): Add prototype.
7979 * libc/machine/h8500/negsi2.c: New file.
7980 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
7981 large unsigned numbers.
7982 * libc/machine/h8500/cmpsi.c: Add cmppsi.
7983 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
7984 works when sizeof(size_t) != sizeof(char *).
7985 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
7987 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
7989 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
7991 * libc/include/assert.h (assert): Handle -traditional.
7993 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
7995 * Makefile.in: added ; after every "fi" and "done" that wasn't at
7996 the end of a line (ie. anything before a backslash continuation)
7997 so that bash handles them.
7999 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8001 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8004 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
8006 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8007 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8008 libc/machine/sh/udivsi3.s: Use new calling convention.
8010 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
8012 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8013 chmod, access, chdir, chown by making _path const. Also fix _amode
8016 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
8018 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8019 _khif_tmpnam, because it doesn't comply with ANSI but may be
8020 useful anyway. Real tmpnam was already in libc/stdio, and was
8021 colliding with this one (pr 2176.)
8022 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8023 the wrong idea anyhow.
8025 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
8027 * configure.in: Remove h8300h, we have multilib now.
8029 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
8031 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8032 functions, to get preference over the ones in libiberty (since we
8033 provide correct declarations in <string.h>.
8034 * libc/string/Makefile.in: add support for strncasecmp,
8037 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
8039 * Change netware config not to look for cpu explicitly.
8041 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
8043 * libc/sys/sparc64/{creat.c,junk.c}: New files.
8044 * libc/sys/sparc64/Makefile.in: Add dependencies.
8046 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
8048 * configure.in: Clean up v9 a bit, new "os" aoutv8.
8050 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
8052 * libc/include/sys/reent.h: make structure smaller by allocating
8053 some stuff when needed.
8054 * libc/signal/signal.c: allocate as needed
8055 * libc/stdio/findfp.c,stdio/local.h: ditto
8056 * libc/stdlib/mprec.c: ditto
8058 * libc/time/localtime.c: don't return a dangling stack ptr.
8060 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
8062 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8064 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8066 * libc/include/stdio.h (__sputc): comment out static inline which
8067 confuses coff toolchains.
8069 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
8071 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8072 _write.s, getpid.c, kill.c, read.s}:
8073 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8074 through the syscalls directory.
8076 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
8078 * configure.in: fixed double quote gotcha.
8080 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
8082 * stub/ex931: stub library for sparclite board.
8083 * stub/idp: Renamed from mc68ec. Added contructor table
8084 stuff to linker script.
8085 * stub/mvme135: Renamed from m68kmvme. Added contructor table
8086 stuff to linker script.
8088 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8090 * configure.in: Configure testsuites only if they exist.
8092 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8094 * configure.in: Don't set machine_dir for i386 until there is
8095 something in libc/machine/i386 to compile. For i[34]86-*-netware*
8096 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8097 CLOCK_PROVIDED and MALLOC_PROVIDED.
8099 * libc/sys/netware: New directory. Contains simplistic and
8100 probably incorrect stubs for NetWare. Should be enough to load
8102 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8103 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8106 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8107 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8108 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8109 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8111 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
8113 * testsuite/Makefile.in: add "docs" dummy target for consistency
8114 with rest of newlib; turn "info" and "install-info" into dummy
8115 targets, since they wouldn't have worked. (Depended on
8116 nonexistent "doc" subdir.)
8118 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8120 * configure.in: handle mips* instead of mips
8122 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
8124 * libc/include/sys/dirent.h: New file. If it is not overridden by
8125 a version of libc/sys/*/sys/dirent.h, it includes the next
8126 <dirent.h> file in case there is one lurking somewhere.
8128 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8130 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8131 compliance, namely: Accept a minus sign. Consider a single 0 with
8132 a radix of 0 as being a conversion. Determine overflow correctly.
8133 If an overflow occurs, set *ptr to the end of the number, not the
8135 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8137 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
8139 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8141 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
8143 * Makefile.in (INSTALL): Use $srcrootpre.
8144 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8146 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8148 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8149 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8150 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8151 * libm/math/Makefile.in (matherr.o): Ditto.
8153 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8155 * configure.in: Build multidirs for z8k.
8156 * libc/include/stdlib.h (_strtoul_r): add prototype.
8157 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8158 * libc/include/machine/setjmp.h: Add for z8k.
8159 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8160 * libc/sys/z8ksim/glue.c: tidy up.
8162 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
8164 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8165 New files. Requires execve system call.
8166 * libc/unix/Makefile.in: Use them.
8167 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8168 Deleted, moved to libc/unix.
8169 * libc/sys/sparc64/Makefile.in: Remove them.
8171 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
8173 * libc/sys/sparc64/{template.S template_r.S}: New files.
8174 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8176 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8177 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8178 umask.S unlink.S wait4.S write.S}: Removed, now built from
8181 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
8183 * libc/time/time.c: #include <_ansi.h>.
8185 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
8187 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8189 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8191 * configure.in: match m8* rather than m88k so that m88110 is
8194 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
8196 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8197 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8200 * configure.in: Add multilib support to h8300.
8202 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
8204 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8205 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8206 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8208 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8210 * configure.in: Corrected multidirs for sparc target.
8212 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8214 Support for building newlib multiple times with different
8216 * configure.in: Only configure doc at top level. Set multidirs
8217 when appropriate for target, unless not at top level. If
8218 multidirs is set, independently configure each subdirectory.
8219 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8220 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8221 automagically set by configure.in.
8222 (all): If MULTIDIRS is set, build multiple copies of libraries.
8223 (install): If MULTIDIRS is set, install multiple copies of
8224 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
8225 MULTISUBDIR is set, don't bother to install header files.
8226 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8228 * stub/configure.in: Set MULTISUBDIR appropriately.
8229 * stub/Makefile.in (install): Install in
8230 $(tooldir)/lib/$(MULTISUBDIR).
8231 * All Makefile.in files: Define SRCTOP as well as TOP.
8233 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
8235 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8236 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8238 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
8240 * libc/sys/h8300hms/exit.c (_exit): New function.
8242 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8244 * configure.in: recognize m88110.
8246 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8248 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8249 prototype main and call with args.
8251 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
8253 First real try at system traps for m88k-bug.
8254 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
8256 * libc/sys/m88kbug/sys/systraps.h: new file.
8258 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8260 Patches to fix info building when target does not use sys
8262 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8263 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8265 * libc/sys/Makefile.in (doc): do nothing.
8267 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8269 * libc/Makefile.in (CRT0): new macro.
8270 (all): depend on $(CRT0) rather than crt0.o.
8272 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8273 do not default crt0, instead, set crt0 and crt0_dir based on
8274 sys_dir and stub_dir.
8276 * Makefile.in (CRT0_DIR): new macro.
8277 (all): depend on $(CRT0) rather than crt0.o which may not exist.
8278 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8280 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8282 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8284 * testsuite/lib/libm.exp:
8285 added code to support compiling and linking of tests for
8286 libm.sac (paranoia to be added next) and processing the
8287 pass or failure of the tests.
8289 * testsuite/config/unix-libm.exp:
8290 platform specific proc's for dealing with compiler, linker
8291 and the way we execute and process the test results.
8293 * testsuite/libm.sac/execute.exp:
8294 generic framework for the sac tests. the config and lib
8295 expect code for specific platforms tie it all together.
8297 * testsuite/libm.sac/test_is.c:
8298 changed the output of the test to be consistant with the
8299 other tests. parsing of pass nad fail messages is now fixed.
8301 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
8303 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8304 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8305 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8306 #ifdef __cplusplus, surround by extern ""C { ... }.
8307 * libc/include/assert.h: Do *not* protect assert.h against
8308 multiple inclusion! Also, #undef it before #define, to allow
8310 * libc/include/stdio.h (getlogin, cuserid): Removed. These
8311 should be only in unistd.h.
8313 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8314 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8317 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
8319 * libc/machine/sparc/Makefile.in: Must create a library, even
8322 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8324 * configure.in: set machine_dir for m88k. edit crt0 definition
8327 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8329 * libc/Makefile.in (all): also build crt0.o.
8331 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8332 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8335 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8336 (all): reworked to build in place.
8337 (clean): remove lib.a
8338 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8340 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8341 (_start): key off edata rather than _start_bss.
8343 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
8345 * libc/include/sys/unistd.h, libc/include/reent.h,
8346 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8348 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8350 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8352 * Makefile.in (libc.a): break into two rules, one for libc.a and
8353 one for libc/libc.a. Force subdirs current before rebuilding
8355 (libm.a): break into two rules, one for libm.a and one for
8356 libm/libm.a. Force subdirs current before rebuilding library.
8358 * libc/Makefile.in (SUBLIBS): fix typo.
8360 * libc/sys/Makefile.in (all): force descent into subdirs, then
8361 rebuild library iff out of of date.
8363 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8365 Rework so that library is built and then finished rather than
8366 being built on each invocation of make.
8368 * host/any (machine_dir, sys_dir, signal_dir): these are not
8369 shared and have been moved to their associated Makefile.in's.
8370 (AR_FLAGS): switch to qc which is faster.
8371 * configure.in: no longer assign machine_dir for m88k. set
8372 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
8373 stub_dir set, then add to configdirs. add comment about silly
8375 (configdirs): drop stub. It will be added only
8377 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8378 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8379 stub_lib, crt0): new variables for tailoring lower level
8380 makefiles. Assign accordingly and edit into makefiles.
8381 * libm/Makefile.in: updated copyright.
8382 (TARGETLIB): removed.
8383 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8384 (SUBDIRS): removed TARGETDEP_DIRS.
8385 (LIBM_FP_LIB, SUBLIBS): new macros.
8387 (force): new target to force rebuilds.
8388 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8389 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8390 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8391 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8392 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8393 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8394 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8395 stub/m68kmvme/Makefile.in: updated copyright.
8396 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8397 (all): reworked. made this the default rule.
8398 (clean): also remove lib.a.
8399 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8400 * stub/Makefile.in: updated copyright.
8401 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8402 (stub_lib): new macro.
8403 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
8406 (clean, install): assume stub_dir exists.
8407 (Makefile): depend on configure.in. call $(SHELL) rather than
8408 sh. drop redundant ./
8409 * stub/configure.in (stublib): new macro, assign it, edit it into
8411 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8414 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8415 * libc/Makefile.in (TARGETCRT0): removed.
8416 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8418 (SUBDIRS): drop TARGETDEP_DIRS.
8419 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8420 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8421 (force): new target to force rebuilds.
8422 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8423 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8425 (clean): assume sys_dir always exists.
8426 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8428 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8429 libc/locale/Makefile.in, libc/machine/Makefile.in,
8430 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8431 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8432 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8433 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8434 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8435 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8436 libc/signal/Makefile.in, libc/stdio/Makefile.in,
8437 libc/stdlib/Makefile.in, libc/string/Makefile.in,
8438 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8439 libc/time/Makefile.in, libc/unix/Makefile.in,
8440 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8441 (TARGETLIB): removed.
8443 (clean): also remove lib.a.
8444 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8445 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8447 (SUBDIRS): moved to follow frag inclusion, change stub to
8449 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8450 are now set in the libc Makefile.
8451 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8452 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8454 (force): new target to force rebuilds.
8455 * stub/configure.in: determine and set stub_lib for for Makefile.
8457 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
8459 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8460 crt0.s renamed to crt0.S.
8461 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8463 * libc/machine/h8300/Makefile.in: Make `all' the default target.
8464 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8466 * libc/machine/h8300/defines.h: Add macros to handle pointers for
8467 h8300 (16 bits) and h8300h (32 bits).
8468 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8469 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8471 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
8473 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8474 implementation of setjmp and longjmp for the m88k.
8475 * libc/include/machine/setjmp.h: Added __m88000__ case.
8477 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
8479 * configure.in: Recognize h8300h as variant of h8300.
8481 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8483 * libc/include/sys/unistd.h (read, write): get prototypes right.
8484 (sbrk): New prototype.
8485 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8486 * libc/stdio/local.h: Include unistd.h.
8487 * libc/machine/h8300/syscalls.c: Names have changed.
8489 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
8491 * configure.in: add sys_dir assignment for m88k-bug.
8493 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
8495 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8497 * libc/sys/sparc64: all *.S files: Use new macros.
8498 * libc/sys/sparc64/isatty.c: New file.
8499 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8500 functions beyond what newlib provides.
8502 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
8504 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8507 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
8509 * libc/include/machine/ieeefp.h: Add support for h8/300h.
8511 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
8513 * configure.in: add m88k.
8514 * libc/include/machine/ieeefp.h: add case for m88k. Also add
8515 sanity check so no one else need ever chase what I did to find
8518 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8520 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
8522 * doc/makedoc.c: Include <ctype.h>.
8524 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
8526 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8527 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8528 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8530 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8532 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
8534 * libc/include/errno.h (ENOSYS): Added.
8536 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8538 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8540 * libc/stdio/fflush.c (fflush): Check for reent struct
8542 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8544 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
8546 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8547 out of dtoa.c so it doesn't pollute the namespace.
8548 * libc/include/_syslist.h: new file -- mappings from _function to
8549 function, for systems where we can't win (by default, all of them,
8550 until we start updating system calls.)
8551 * libc/syscalls: new directory -- stubs for exporting _function
8552 names as unmodified function names.
8553 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8554 _syslist.h on all platforms by default, but put hooks in for
8555 fake_sys_dir so we can include it when we've renamed the system
8557 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8558 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8559 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8560 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8561 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8562 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8563 non ANSI functions to call _function.
8565 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
8567 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8568 when base 16 is specified. Don't accept non-digits if radix > 10.
8570 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
8572 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8574 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8576 * libc/include/sys/stat.h: Surround text after #endif with
8579 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
8581 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8582 _malloc_r, _realloc_r, and free_r call the corresponding
8583 non-reentrant functions.
8585 * libm/math/modf.c (modf): We now take the address of ipart, so
8586 don't make it a register variable.
8588 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
8590 * libm/math/*: Rename all xxx_r fns to _xxx_r.
8592 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
8594 * libc/libc.texinfo and embedded docn throughout: formatting
8595 improvements, minor rephrasing for clarity, and improved
8598 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8600 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8602 * libc/stdio/cvt.c (_licvt): Print the right value on machines
8603 where sizeof(int) != sizeof(long).
8605 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8607 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8608 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8609 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8610 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8611 libm/math/matherr.c: changes for better docn formatting (info).
8613 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8614 libc/reent/reent.tex, libc/signal/signal.tex,
8615 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8616 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8617 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8618 makeinfo node defaulting to get better Info file node structure.
8619 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8620 Also include a few formerly missing sections (subroutines).
8622 * doc/doc.str: delete fossil expansion for "func"
8624 * default.menu, no-signal.menu: delete.
8626 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8627 method used to adjust doc for missing "signals" chapter when
8628 signal_dir is empty.
8630 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8632 * configure.in: added testsuite/libm.sac
8634 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
8636 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8639 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
8641 * libm/Makefile.in: Use $(MAKE) rather than make, and define
8642 MAKEOVERRIDES to be empty.
8644 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
8646 * configure.in: Don't build mips-*-* with -msoft-float, since that
8647 makes it incompatible with hard floating point.
8649 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8651 * Makefile.in: added recursive 'make check'
8653 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8655 * configure.in: added ./testsuite ./testsuite/libm.paranoia
8656 * ./testsuite/Makefile.in: created
8657 * ./testsuite/libm.paranoia: paranoia tests added
8659 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
8661 * configure.in: For mips-*-* set machine_dir to mips.
8663 * libc/machine/mips: New directory.
8664 * libc/machine/mips/Makefile.in: New file.
8665 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8667 * libc/include/machine/setjmp.h: Added __mips__ case.
8669 * libc/machine/lmips: Removed unused and useless directory.
8671 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
8673 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8675 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
8677 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8680 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
8682 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8685 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
8687 * libm/test/convert.c: structure member errno -> errno_val.
8688 Must include <errno.h> to use errno, it's a macro now.
8689 * libm/test/math.c: Ditto.
8690 * libm/test/math2.c: Include errno.h.
8691 * libm/test/string.c: Ditto.
8692 * libm/test/test.h: structure member errno -> errno_val.
8693 Remove extern int errno decl.
8695 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
8697 * libc/stdio/Makefile.in: Added dependencies on local header
8699 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8702 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
8704 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8706 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
8708 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8711 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8712 * libc/stdio/local.h: Add prototype for _licvt.
8714 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8715 instead of malloc,reealloc.
8717 * libc/stdlib/local.h: New file.
8718 * libc/stdlib/efgcvt.c: #include local.h.
8719 (gcvt): Fix call to _gcvt.
8720 * libc/stdlib/ecvtbuf.c: #include local.h.
8722 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8723 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8724 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8726 * libc/stdlib/atexit.c: moved global data to struct _reent.
8727 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8729 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8731 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
8733 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8734 here from ../reent.h.
8736 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
8738 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8739 should be provided in both libc.a and libm.a.
8740 (libc.a): Depend on targ-include and libm.a. Copy
8741 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8742 (libm.a): Depend on targ-include.
8743 * configure.in (subdirs): Removed libc/math.
8745 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8747 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8749 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
8751 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8752 sys/reent.h instead of reent.h.
8753 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8754 headers moved to sys/reent.h.
8755 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8756 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8757 __need__MAX_SIGNALS defined.
8758 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8759 std{in,out,err} refer to new _std{in,out,err} members.
8761 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
8763 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8766 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
8768 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8769 rather than whatever macro seterrno() has.
8771 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
8773 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8774 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8776 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8779 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8780 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8781 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8783 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8784 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8786 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8787 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8788 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8789 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8790 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8791 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8792 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8793 renamed to _xxx_r. struct reent_struct renamed to struct _reent
8794 for ANSI. structure members given leading "_" for ANSI. Use
8795 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8797 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8798 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8799 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
8800 reent_struct renamed to struct _reent for ANSI.
8801 Structure members given leading "_" for ANSI.
8802 _CONST --> const in prototypes.
8803 Use _HAVE_STDC instead of __STDC__.
8805 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8807 struct reent_struct renamed to struct _reent for ANSI.
8808 Structure members given leading "_" for ANSI.
8810 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8812 struct reent_struct renamed to struct _reent for ANSI.
8814 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8815 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8816 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8817 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8818 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8820 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8821 signal.h, stdio.h, stdlib.h, string.h, time.h}:
8822 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8823 #ifndef _STRICT_ANSI non-ANSI routines.
8824 Reentrant routines renamed from _r_xxx to _xxx_r.
8825 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8826 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8827 Clean up namespace (structure members have leading "_").
8828 struct reent_struct renamed to struct _reent for ANSI compliance.
8829 _CONST --> const in function prototypes.
8831 * libc/include/string.h: Add NULL and size_t.
8833 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8834 unlink, wait, wait4. Reentrant syscall routines close, fork,
8835 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8837 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8838 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8839 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8840 write.S}: Define reentrant versions.
8841 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8844 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8846 * libc/include/stdlib.h (RAND_MAX): Fix value.
8848 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
8850 * libc/sys/a29khif/_main.c: Removed unnecessary file.
8851 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8852 VPATH support targets after all: target.
8854 * stub/mvme135/mvme.S: Renamed exceptionhandler to
8855 exceptionHandler, which is what mvme135-stub.c expects.
8857 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
8859 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8861 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8862 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8865 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
8867 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8869 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8871 libc/reent/fstatr.c (_r_fstat): Ditto.
8872 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8873 libc/reent/sbrkr.c (_r_sbrk): Ditto.
8874 libc/reent/statr.c (_r_stat): Ditto.
8876 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8877 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8878 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8879 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8880 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8881 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8882 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8883 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8884 (__swrite): Ditto for _r_lseek, _r_write.
8885 (__sseek): Ditto for _r_lseek.
8886 (__close): Ditto for _r_close.
8887 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8889 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8890 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8892 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8893 to make reent_struct the first argument (and thus consistent with
8894 the rest of newlib).
8896 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8897 reference to __STDC__.
8899 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
8901 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8904 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
8906 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8908 libc/stdio/fclose.c (fclose): Ditto.
8910 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
8912 * Run through indent and rename reentrant routines for ANSI.
8913 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8914 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8915 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8916 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8917 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8918 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8919 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8920 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8921 vsprintf.c wbuf.c wsetup.c local.h}
8923 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8925 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8926 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8927 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8928 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8929 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8930 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
8932 * Run through indent.
8933 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
8934 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
8935 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
8936 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
8939 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
8940 localtime.c mktime.c strftime.c time.c}:
8941 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
8943 * Reformatting + renaming (for ANSI, GNU style, consistency).
8944 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
8945 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
8946 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
8948 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
8950 * libc/include/stdio.h (stdin_r): Fix.
8952 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
8954 * Makefile.in: Unexport some variables to keep GNU make from
8955 putting them in the environment and using up needed ARG_MAX space
8956 (a hack is used to let this work with older makes as well).
8958 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
8960 * Makefile.in: Use $(MAKE) rather than make.
8961 (MAKEOVERRIDES): Define to be empty.
8962 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8963 (libc.a, libm.a): Depend on targ-include.
8964 * host/any (LD): Don't define.
8965 (INCLUDES): Use targ-include.
8966 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
8967 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
8968 * libc/Makefile.in: Use $(MAKE) rather than make.
8969 (MAKEOVERRIDES): Define to be empty.
8970 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8971 (all): Rewrote to be slightly smaller.
8972 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
8974 (FLAGS_TO_PASS): Don't pass LD (it's not used).
8975 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
8977 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
8979 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
8982 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
8984 * Changes for reentrancy.
8985 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
8986 Use ptr->_errno, not errno.
8987 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
8988 libc/stdio/remove.c (remove_r): New function.
8989 libc/stdio/rename.c (rename_r): New function.
8990 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
8991 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
8992 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
8993 reentrant versions of system calls.
8994 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
8995 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
8996 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
8997 libc/stdio/findfp.c: Include <string.h>.
8998 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9000 libc/stdio/wbuf.c: Include "fvwrite.h"
9002 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9004 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9005 (NULL): Don't define if already defined.
9006 libc/stdlib/system.c: Call reentrant versions of system calls.
9007 (system_r): New function.
9009 * Changes for reentrancy.
9010 libc/include/_ansi.h (_PARAMS): New macro.
9011 libc/include/errno.h: Define errno as a macro that calls __errno.
9012 (__errno_r): New macro for reentrant code.
9013 libc/include/math.h: Include reent.h. Declare many reentrant
9015 (signgam): Now a macro, not a variable.
9016 (struct exception): Added err field.
9017 libc/include/reent.h: Don't declare __sglue. Added function
9019 (struct reent_struct): Moved errno to beginning. Added _signgam.
9020 libc/include/stdio.h, libc/include/stdlib.h: Added function
9023 * More reentrancy hacking.
9024 libc/errno/errno.c (__errno): New function.
9025 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9026 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9029 * Added many new reentrant functions to libm/math/*.
9030 libm/math/error.c (__matherror): Added reent_struct pointer
9031 argument. Changed all callers.
9032 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9033 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9034 libm/math/tan.h: Removed obsolete unused header files.
9036 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9038 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9040 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9042 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9045 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9047 * libc/libc.texinfo: comment out reentrancy chapter (duh)
9049 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9051 * libc/reent/reent.tex: New file. (text from
9052 newlib/libc/libc.texinfo)
9053 * libc/stdio/tmpnam.c: fixed doc typo
9054 * libc/stdlib/rand.c: fixed doc typo
9056 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9058 * libc/reent/reent.tex: New file. (text from
9059 newlib/libc/libc.texinfo)
9061 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9063 support for reentrancy
9064 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9066 * libc/errno/errno.c, libc/include/ieeefp.h,
9067 libc/include/locale.h, libc/include/reent.h,
9068 libc/include/signal.h, libc/include/stdio.h,
9069 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9070 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9071 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9072 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9073 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9074 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9075 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9076 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9077 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9078 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9079 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9080 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9081 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9082 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9083 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9084 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9085 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9086 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9087 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9088 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9089 libc/time/strftime.c: modify to provide reentracy.
9092 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9093 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9094 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9095 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9096 mstats_r, realloc_r, localeconv_r, setlocale_r
9098 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
9100 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9101 libc/include/sys/config.h, libc/include/sys/signal.h,
9102 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9103 provided macros (such as m68000), use the ansi version
9104 (__m68000__) so that the library can be used with code compiled
9105 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9108 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9110 * configure.in (sparc*): Don't set -fsoft-float for sparc
9111 configurations. Do set -fsoft-float for sparclite configurations.
9113 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9115 * default.menu, no-signal.menu: alternate forms of libc main menu
9116 (in newlib rather than newlib/libc due to configuration restrictions)
9118 * configure.in: select one of the two menus above, link to
9121 * libc/libc.texinfo: include menu from separate file
9123 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
9125 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9126 (info): Split long shell command in half.
9127 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9128 sub-makes, just CHEW and TARGETDOC.
9129 (targetdep.tex): Removed now special handling of sys and machine
9130 subdirectories, made obsolete some time ago.
9131 * libc/machine/Makefile.in (doc): Don't pass everything to
9132 sub-make, just CHEW and TARGETDOC.
9133 (Makefile): New target.
9134 * libc/sys/Makefile.in (Makefile): New target.
9136 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
9138 * Makefile.in (here and most subdirectories): Only pass down CHEW
9139 and TARGETDOC when making info, not for other targets.
9141 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9142 $(AR_FLAGS) rather than $(ARUPDATE).
9144 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
9146 * Try to reduce command line length:
9147 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9148 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9149 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9150 (info): Pass CHEW to other subdirs.
9152 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
9154 * configure.in: add signal_dir, like unix_dir, but by default it
9155 is set to "signal" so that a29khif can turn it off (since a29khif
9156 has raise() as part of machine-specific signal.s.)
9158 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9160 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9161 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9163 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9164 libc/stdio/vfprintf: type lint.
9165 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9167 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9169 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
9171 * stub/mvme135/mvme135-asm.S: new file.
9172 stub/mvme135mvme135-stub.c: moved all assembler routines into
9174 stub/mvme135/Makefile.in: build mvme135-stub.o.
9176 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
9178 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9179 sub-Makefiles instead, to try to avoid line length limitations.
9181 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
9183 * libc/include/unistd.h (read, write): Use void* instead of
9186 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
9188 * stub/go32/resetpc: sample script to send a reset packet to the
9191 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9192 DOS environment, which compiles with Turbo C.
9194 * stub/go32/DSER32.LNK: new file, linker commands for serial
9197 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9198 start up message to identify version; call set_debug_traps.
9200 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9201 keyboard interaction); call handle_exception() in go_til_stop,
9202 rather than return, so that the remote stub gets control.
9204 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9205 rename, rather than mv), set flags that work with current Turbo C,
9206 including using the /3 flag; also, add commands to build dser32.
9208 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9209 default Turbo C installation (\tc rather than \usr)
9211 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9214 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9216 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9218 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9220 * libc/stdio/cvt.c (licvt): new function to convert ints when
9221 sizeof(int) != sizeof(long).
9223 * libc/include/stdio.h: added prototype for iprintf.
9224 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9226 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
9228 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9229 __REGISTER_PREFIX__.
9231 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
9233 * libc/sys/m68kbare: moved into stub directory.
9235 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
9237 * configure.in, Makefile.in: created new directory stub, to hold
9238 sample code for specific targets.
9240 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
9242 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9243 in the unified libc/include/sys/fcntl.h.
9245 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
9247 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9248 printed .01, not 0.01.
9250 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
9252 * configure.in: compile with -m68000 for m68* targets.
9254 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
9256 * libm/math/remainder.c (remainder): document the svr4 and sunos
9257 references used to construct the function.
9259 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
9261 * libm/math/remainder.c (rint, remainder): fix old typos.
9262 * libm/math/Makefile.in: actually build remainder.c (functions
9263 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9266 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
9268 * libc/string/bcopy.c: BSD version works on overlapping strings,
9271 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9274 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
9276 * Makefile.in (docs): new target.
9278 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
9280 * libc/include/sys/times.h: define clock_t as required by POSIX.
9281 libc/include/time.h: protect clock_t from multiple definitions.
9283 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9285 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9286 does not need more than the original three iterations to get
9287 within 1 ulp. (Paranoia tests for rounding to better than that,
9288 but further iterations *don't* help, only more subtle changes
9291 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
9293 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9294 were doing nothing useful.
9296 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
9298 * configure.in: define MALLOC_PROVIDED for vxworks targets;
9299 removed sys_dir settings of vxworks68 and vxworks960.
9300 host/any: don't pass -nostdinc to gcc, since newlib no longer
9301 provides all required header files.
9303 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9304 is not defined; this provides a hook for VxWorks.
9306 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9308 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9309 buffer if buf is NULL, don't do it here -- it is already being
9310 done by makebuf elsewhere in stdio.
9312 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
9314 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9315 that C programs can call functions without using initial
9318 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
9320 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9322 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
9324 * configure.in: set TARGET_CFLAGS for certain CPU types to
9327 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9329 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9331 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
9333 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9336 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
9338 * libc/include/stdio.h: define __need___va_list before including
9339 <stdarg.h>, to avoid defining va_arg, et. al.
9341 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
9343 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9344 (don't cd to the user's home directory).
9346 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9347 In general this is the wrong thing to do, but I can't get around
9348 GNU make's insistence on passing command line arguments any other
9351 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
9353 * configure.in: always configure the libc/sys directory, since it
9354 now provides a required documentation file.
9356 * Makefile.in: replaced all instances of $(MAKE) with make. In
9357 general this is the wrong thing to do, but I can't get around GNU
9358 make's insistence on passing command line arguments any other way.
9360 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
9362 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9365 * libc/stdio/local.h: include <stdarg.h> to define va_list.
9366 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9368 * libc/include/float.h, libc/include/stdarg.h,
9369 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9371 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9372 <stdarg.h>, not from <machine/types.h>. Protect definition of
9374 libc/include/time.h: get size_t from stddef.h. Protect definition
9376 libc/include/machine/limits.h: override gcc <limits.h> by defining
9377 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
9378 get correct INT_MIN and LONG_LONG values.
9379 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9380 size_t or va_list at all; they're now gotten from stddef.h
9382 libc/include/machine/varargs.h: removed; use gcc version instead.
9383 libc/include/sys/types.h: explicitly include <machine/types.h>.
9385 * libm/math/sqrt.h: using the fp-bit routines appears to require
9388 * Makefile.in, host/any: let system include files override machine
9391 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9393 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9394 override _*_T_ definitions defaulted here.
9396 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
9398 * Makefile.in (install): install the include files in
9399 $(tooldir)/include, not $(exec_prefix)/include.
9401 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
9403 * Makefile.in (install): fixed typo, and changed install to not
9404 force rebuild of libc.a and libm.a.
9406 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
9408 * libc/sys/a29khif/*: Changed all .include's to include
9409 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
9410 that they will be installed for the user.
9412 * Makefile.in (all): create targ-include, a directory holding the
9413 machine and system specific header files during the build.
9414 (install): fixed installation of machine and system specific
9417 * Makefile.in: fixed comment.
9418 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9419 we can pass $(INCLUDES) to it.
9421 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
9423 * libc/include/sys/param.h: new generic file, which may be
9424 overridden for specific systems.
9426 * libc/include/sys/signal.h: define all ANSI signal names, and
9427 NSIG (which is not ANSI) for a29k.
9429 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
9431 * Makefile.in: don't pass down arguments the lower level makes
9433 * libc/Makefile.in: recurse directly, rather than using subdir_do,
9434 in hopes of avoiding argument length limits.
9435 * libm/Makefile.in: recurse directly, rather using subdir_do, in
9436 hopes of avoiding argument length limits.
9438 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
9440 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9443 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
9445 * Fixed make info and make install-info for newlib, changing most
9446 Makefile.in and several *.tex files. Moved doc directory from
9449 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9450 Should be rewritten.
9452 * libc/string/strings.tex: renamed node index to node index
9453 function, so that it does not conflict with the top level index
9456 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9458 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
9460 * Overhauled general configuration for newlib. Eliminated all
9461 target dependent Makefile fragments. Create libraries in newlib
9462 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
9463 than CROSS_CC, et. al. Broke make docs; will fix later.
9465 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9466 Should be rewritten.
9468 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
9470 * libc/configure.in: cleaned up somewhat; switch on ${target}
9471 rather than ${target_alias}.
9472 * libm/configure.in: cleaned up somewhat; switch on ${target}
9473 rather than ${target_alias}.
9475 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9476 * libc/include/ctype.h: marked _ctype_ as _CONST.
9478 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9481 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9482 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9483 libc/stdio/gets.c (gets): removed non-ANSI warning message.
9484 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9486 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9487 bigtens, tinytens): marked arrays _CONST.
9488 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9489 rather than a static variable.
9491 * libc/time/asctime.c (asctime), libc/time/localtime.c
9492 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9493 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9494 mname_len, mname): Marked static arrays _CONST.
9496 * libm/math/gamma.h: made local variables non-static.
9498 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9499 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9502 * libm/math/constants.c: removed file, because the constants it
9503 defined were never referenced.
9504 libm/math/Makefile.in: removed references to constants.c.
9505 libm/math/mathimpl.h: removed declarations of constants.
9507 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
9509 * libc/include/machine/varargs.h: only call __builtin_saveregs if
9510 it is sensibly defined in libgcc2. Checks preprocessor defines,
9511 which is not a good solution.
9513 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9515 * libm/frexp.c: handle denormalized numbers as arguments.
9517 * libm/math/Makefile.in: added some dependencies for .c files
9518 which include local .h files.
9520 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
9522 * libc/configure.in: set target_alias for OSE*. Replace
9523 target_makefile_frag if it is blank.
9525 * libc/Makefile.in: make sure everything is passed to subsidiary
9526 makes; create all directories when installing.
9528 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9529 CROSS_ARUPDATE instead of AR.
9531 * libm/configure.in: set target_alias for OSE*. Replace
9532 target_makefile_frag if it is blank.
9534 * libm/Makefile.in: make sure everything is passed to subsidiary
9535 makes; create all directories when installing.
9537 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
9539 * add following change from libc copy.
9541 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9543 * libc/libc.texinfo: make copyright disclaimers appear on back of
9544 title page; make format of same slightly less ugly; avoid using
9545 underbars in section headings (avoids nasty texinfo bug in table
9548 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9549 comments only) avoid using underbars in section headings
9551 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9552 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9553 changes in comments only): shorten headings ieeefp/infinity.c,
9554 ieeefp/isnan.c: (doc, comments only) more informative headings
9556 * libc/math/bessel.c: (doc, comments only) shorten heading
9558 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9559 (doc, comments only) shorten headings
9561 * libc/time/localtime.c (doc, comments only): shorten headings
9563 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9565 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9566 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9568 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9569 only) more informative headings
9570 * libm/math/bessel.c: (doc, comments only) shorten heading
9572 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9574 * .../Makefile.in: use CROSS_ARUPDATE consistently.
9575 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9576 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9577 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9578 defined, the one from the .mt file will be correct.
9579 * libc/include/machine, libc/include/sys: created, and populated
9580 with common files from machine/*/machine. ifdefs were used for
9581 most, typically by handling exceptions first and then filling in
9582 defaults. Files with D.J. Delorie copyright #included rather than
9583 copied. Most files in include/sys really were the same in the
9585 * libc/include/...: cleaned up use of _EXFUN.
9586 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9587 it with double quotes, not angles.
9589 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
9591 * libc/Makefile.in: always create installation directories.
9593 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9595 * libc/configure.in: handle host properly (using canonical
9596 triples), better error message for the case of target not found
9598 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
9600 * libc/Makefile.in (insincdir): Ensure this directory exists
9601 before attempting installation.
9603 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9605 * libc/stdlib/assert.c: now calls abort like it should
9606 * libc/sys/a29khif: many many patches for 29khif work
9607 * libc/machine/i386: gnulib2 expanded there.
9609 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9611 Added accurate fp conversion routines to stdlib, moved dcvt from
9612 stdio to stdlib and called it ecvtbuf:
9613 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9614 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9616 * libc/libc.texinfo: Modifed to include the copyright info from
9618 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9619 * libc/test/ : many vector which tested for the implementation
9620 defined returns of strange conversion requests have been updated
9621 to relflect the new implementation
9623 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9625 * libc/libc.texinfo: new chapter on variable arg lists
9626 (stdarg.h/varargs.h)
9627 * libc/libc.texinfo: new title
9628 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9629 (doc only) shorter headings for better formatting.
9631 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9633 * libc/libc.texinfo: three more info menu entries
9634 * libc/locale/locale.tex: new chapter
9635 * libc/locale/locale.c: new doc for setlocale, localeconv
9636 * libc/locale/Makefile.in: use new locale doc
9637 * libc/signal/signal.tex: new chapter
9638 * libc/signal/raise.c, libc/signal/signal.c: new doc
9639 * libc/signal/Makefile.in: use new doc
9640 * libc/time/time.tex: new chapter
9641 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9642 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9643 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9644 * libc/time/Makefile.in: use new doc
9646 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9648 * libm/math/log1p.c: split to use the new function way of float
9649 function definition. math/log1p.h deleted
9650 * libm/math/scalb.c: obsolete and deleted
9651 * libm/math/scalbn.c: created from part log1p.c
9652 * libm/math/Makefile.in: know about log1p and scalbn
9654 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9656 * libc/ctype/isupper.c: revise doc;
9657 libc/ctype/ctype.tex: use doc from isupper.c
9659 * libc/string/bzero.c: new doc
9661 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9663 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9665 * libc/stdlib/Makefile.in: extract new doc
9666 * libc/stdlib/stdlib.tex: use new doc
9668 * libc/string/strerror.c: expanded doc.
9670 * libc/stdio/Makefile.in: extract doc from more files
9671 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9672 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9673 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9674 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9675 libc/stdio/vsprintf.c: new doc
9676 * libc/stdio/stdio.tex: use new doc
9678 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9680 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9681 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9683 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9686 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9687 * libc/stdio/setbuf.c: added ansi style definition.
9688 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9689 buffer if none provided.
9690 * libc/stdio/tmpfile.c: lint
9691 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9692 rather than using static, also make sure file isn't already
9693 present. Uses P_tmpdir. (tempnam): rewritten to use new
9694 subroutine, and uses P_tmpdir.
9695 * libc/stdio/siprintf.c: created
9697 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9699 Release 1.03 for NEC, major mods. Main differences from release
9702 More tests in test/:
9703 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9704 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9705 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9706 get/set mask, get/set sticky and get/set roundtoi. Tests
9707 that setting the bits changes the way arithmetic is done.
9708 * string.c: added test to make sure memcmp does it with unsigned
9710 * test.c: cleaned up and removed lint.
9711 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9712 dvec.c: tests for string to value conversions, sprintf, scanf,
9713 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9714 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
9715 rounding in sprintf too.
9716 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
9717 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9718 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9720 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9724 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9725 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9726 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9727 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9728 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9730 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
9731 * Method of producting float versions of double functions has
9732 changed, functions will be modified gradually. So far:
9733 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9734 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9736 * libc/string/memcmp.c: now uses unsigned chars
9737 * libc/string/bcmp.c, libc/string/strcpy.c,
9738 libc/stsring/strxfrm.c: fixed doc
9739 * libc/sys/sysvnecv70.tex: fix example of sbrk code
9742 version-control: never