1 2002-06-05 Jeff Johnston <jjohnstn@redhat.com>
3 * libc/include/string.h[__linux__]: Add strsignal prototype.
4 * libc/include/sys/lock.h: New file with default locking support.
5 * libc/include/sys/reent.h: Add signal buffer support for strsignal
7 * libc/posix/Makefile.am: Add support for readdir_r.c.
8 * libc/posix/Makefile.in: Regenerated.
9 * libc/posix/closedir.c: Add locking support and hash table cleanup.
10 * libc/posix/opendir.c: Add lock support.
11 * libc/posix/readdir.c: Ditto.
12 * libc/posix/rewinddir.c: Ditto.
13 * libc/posix/scandir.c: Ditto.
14 * libc/posix/seekdir.c: Ditto.
15 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
16 clean up leftover hash table entries.
17 * libc/posix/readdir_r.c: New file.
18 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
19 * libc/sys/linux/Makefile.in: Regenerated.
20 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
21 * libc/sys/linux/sys/signal.h: Add psignal prototype.
22 * libc/sys/linux/psignal.c: New file.
23 * libc/sys/linux/strsignal.c: Ditto.
25 2002-06-03 Corinna Vinschen <corinna@vinschen.de>
27 * libc/include/sys/types.h: Don't define dev_t when compiling for
30 2002-05-31 Jeff Johnston <jjohnstn@redhat.com>
32 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
33 make siglist.inc dependent on sig.c instead of signal.c.
34 * libc/sys/linux/Makefile.in: Regenerated.
35 * libc/sys/linux/sig.c: Rename from signal.c and change code to
36 use NSIG instead of _NSIG.
37 * libc/sys/linux/sigaction.c: New file.
38 * libc/sys/linux/signal.c: Changed to be linux signal() function
39 so as to override regular newlib default signal.c.
40 * libc/sys/linux/linuxthreads/config.h: Add __ASSUME_REALTIME_SIGNALS
42 * libc/sys/linux/linuxthreads/testrtsig.h: New file.
43 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
44 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
45 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
46 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
47 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
48 default linux sigset_t typedef by defining it equal to __sigset_t.
49 * libc/unix/sigset.c: Add check so code isn't compiled on systems
50 with a sigset_t that isn't implemented with a single int.
52 2002-05-30 Jeff Johnston <jjohnstn@redhat.com>
54 * libc/sys/linux/Makefile.am: Add support for new files.
55 * libc/sys/linux/Makefile.in: Regenerated.
56 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
57 * libc/sys/linux/signal.c: Change to use real-time syscalls for
58 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
59 it is in a separate file now.
60 * libc/sys/linux/machine/i386/Makefile.am
61 * libc/sys/linux/machine/i386/Makefile.in
62 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
63 * libc/sys/linux/sigaction.c: New file.
64 * libc/sys/linux/sigqueue.c: Ditto.
65 * libc/sys/linux/sigwait.c: Ditto.
66 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
67 * libc/sys/linux/kernel_sigaction.h: Ditto.
69 2002-05-28 Jeff Johnston <jjohnstn@redhat.com>
71 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
73 * libc/sys/linux/Makefile.in: Regenerated.
74 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
75 tcgetpgrp(), and tcsetpgrp() functions.
76 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
77 to get __MAX_BAUD rate.
78 * libc/sys/linux/machine/i386/include/termios.h: New file.
79 * libc/include/machine/termios.h: Ditto.
80 * libc/sys/linux/cfspeed.c: Ditto.
81 * libc/sys/linux/tcsendbrk.c: Ditto.
83 2002-05-24 Jeff Johnston <jjohnstn@redhat.com>
85 * libc/include/string.h: Add strnlen and strerror_r prototypes.
86 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
87 * libc/string/Makefile.in: Regenerated.
88 * libc/string/strerror_r.c: New file.
89 * libc/string/strnlen.c: New file.
90 * libc/sys/linux/Makefile.am: Add rename.c.
91 * libc/sys/linux/Makefile.in: Regenerated.
92 * libc/sys/linux/rename.c: New file to override default rename.
94 2002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
96 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
97 * libc/sys/linux/sys/time.h: Add conversion macros.
98 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
99 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
100 * libc/sys/linux/gethostname.c: New file.
101 * libc/sys/linux/seteuid.c: New file.
102 * libc/sys/linux/sysctl.c: New file.
104 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
106 * libc/string/Makefile.am: Add support for strsep.c.
107 * libc/string/Makefile.in: Regenerated.
108 * libc/string/strsep.c: New file.
109 * libc/string/strtok.c: Change to call __strtok_r service routine.
110 * libc/string/strtok_r.c: Add __strtok_r routine which takes
111 additional flag parameter regarding whether to skip leading delimeters.
112 Change strtok_r to call __strtok_r.
114 2002-05-23 Gareth Pearce <tilps@hotmail.com>
116 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
117 * libc/stdio/Makefile.in: Regenerated.
118 * libc/stdio/setbuffer.c: New file.
119 * libc/stdio/setlinebuf.c: New file.
121 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
123 * libc/sys/linux/Makefile.am: Add resource.c.
124 * libc/sys/linux/Makefile.in: Regenerated.
125 * libc/sys/linux/resource.c: New file.
126 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
127 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
128 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
129 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
130 are now found in libc/sys/linux/resource.c.
132 2002-05-23 Jeff Johnston <jjohnstn@redhat.com>
134 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
135 to use void * pointers and comply with Single Unix spec.
136 * libc/string/bcmp.c: Change to use void * instead of char *.
137 * libc/string/bcopy.c: Ditto.
138 * libc/string/bzero.c: Ditto.
140 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
142 * libc/sys/linux/shm_open.c: New file.
143 * libc/sys/linux/shm_unlink.c: Ditto.
144 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
146 * libc/sys/linux/Makefile.in: Regenerated.
147 * libc/sys/linux/sys/types.h: Add some additional checks to see
148 if clock_t or time_t is already defined.
150 2002-05-22 Jeff Johnston <jjohnstn@redhat.com>
152 * Makefile.am: Don't pass $toollibdir down directly in
153 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
154 Pass it under the name: top_toollibdir.
155 * Makefile.in: Regenerated.
157 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
159 * libc/include/sys/types.h: Revert previous patch.
161 2002-05-22 Corinna Vinschen <vinschen@redhat.com>
163 * libc/include/sys/types.h: Include cygwin/types.h always under
164 Cygwin, not only if _POSIX_THREADS is defined.
166 2002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
168 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
170 2002-05-17 Jeff Johnston <jjohnstn@redhat.com>
172 * Makefile.am: Copy and install headers from sys/machine/include
173 directory. Also pass $toollibdir to lower-level directories.
174 * Makefile.in: Regenerated.
175 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
176 stderr to use _REENT macro instead of _impure_ptr directly.
177 * libc/include/sys/config.h[__i386__][__linux__]: Define
179 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
180 call to __getreent() function if !__SINGLE_THREAD__ and
181 __DYNAMIC_REENT__ is set.
182 * libc/reent/Makefile.am: Add support for getreent.c.
183 * libc/reent/Makefile.in: Regenerated.
184 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
185 * libc/sys/linux/Makefile.am: Add support for new files.
186 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
187 * libc/sys/linux/Makefile.in: Regenerated.
188 * libc/sys/linux/configure: Ditto.
189 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
190 __close, __read, __write, __poll, __open, __lseek, __fcntl from
191 their __libc_ counterparts.
192 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
193 and weak-alias to regular names.
194 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
195 to pread64 and __pread64.
196 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
197 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
198 weak-alias to pwrite64.
199 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
200 __libc_sched_getscheduler, __libc_sched_get_priority_max,
201 __libc_sched_get_priority_min, and __libc_sched_setschedule to
202 name with __ instead of __libc_.
203 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
204 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
205 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
206 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
208 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
209 __libc_send to __send.
210 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
212 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
213 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
214 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
215 type and typedef __jmp_buf to jmp_buf.
216 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
218 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
219 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
221 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
222 prefix for function macros and then use weak_alias() to regular names.
223 * libc/sys/linux/machine/i386/syscall.h: Ditto.
224 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
225 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
226 to be flockfile() and funlockfile() respectively.
227 * libc/sys/linux/sys/types.h
228 * libc/reent/getreent.c: New file.
229 * libc/sys/linux/flockfile.c: Ditto.
230 * libc/sys/linux/funlockfile.c: Ditto.
231 * libc/sys/linux/getreent.c: Ditto.
232 * libc/sys/linux/pread.c: Ditto.
233 * libc/sys/linux/pwrite.c: Ditto.
234 * libc/sys/linux/raise.c: Ditto.
235 * libc/sys/linux/system.c: Ditto.
236 * libc/sys/linux/tcdrain.c: Ditto.
237 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
238 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
239 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
240 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
241 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
243 2002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
245 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
246 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
247 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
248 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
250 Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
252 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
253 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
256 2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
258 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
259 options when testing natively on i[3456]86-*-linux.
261 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
262 only one pass or fail per test file. Trim \r's from output
263 values received from test programs. Remove support for named
265 * testsuite/newlib.locale/UTF-8.exp: Update to support new
266 newlib_check_output behaviour.
267 * testsuite/newlib.locale/UTF-8.c: Likewise.
269 2002-05-15 Jeff Johnston <jjohnstn@redhat.com>
271 * libc/include/stdlib.h: Add on_exit prototype.
272 * libc/include/sys/reent.h (struct _atexit): Add argument array
273 and bits to track type of exit routine to support both on_exit
275 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
276 by default and change the setting of the atexit structure.
277 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
278 * libc/stdlib/on_exit.c: New file.
279 * libc/stdlib/Makefile.am: Add support for on_exit.
280 * libc/stdlib/Makefile.in: Regenerated.
281 * libc/stdlib/atexit.c: Change to initialize types field.
282 * libc/stdlib/exit.c: Change to look at types field for each
283 exit routine and either call an atexit-style or an on_exit-style
286 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
288 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
289 allow v specifier with n or L specifiers. For vector c format,
290 move tmp declaration to the top.
292 2002-05-13 Jeff Johnston <jjohnstn@redhat.com>
294 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
295 the original format specifier when looping for vectors to compensate
296 for any changes made in vector %g format processing.
297 Also add syntax checking for various invalid scenarios
298 involving vector format extensions.
299 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
300 return code setting for vector formats. Also treat vector
301 separator mismatch as a match error instead of an input error.
302 Perform some syntax checking for vector formats.
304 2002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
306 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
307 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
308 * libc/string/strlcat.c: New file.
309 * libc/string/strlcpy.c: New file.
311 2002-05-10 Jeff Johnston <jjohnstn@redhat.com>
313 * libc/string/strchr.c: Fix comment typo.
315 2002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
317 * acinclude.m4: Add support for --enable-newlib-multithread.
318 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
319 --enable-newlib-multithread=no.
321 * libc/stdio/getc_u.c: New file.
322 * libc/stdio/getchar_u.c: New file.
323 * libc/stdio/putc_u.c: New file.
324 * libc/stdio/putchar_u.c: New file.
325 * libc/include/stdio.h: Add declarations for getc_unlocked,
326 getchar_unlocked, putc_unlocked and putchar_unlocked.
327 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
328 (CHEWOUT_FILES): Add new files' .def's.
329 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
331 Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
333 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
334 Also handle as single quad word when destination ends at last
335 byte of first quad word. Fix byte selection in single quad code.
337 2002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
339 * libc/include/sys/stdio.h: New file.
340 * libc/sys/linux/sys/stdio.h: New file.
341 * libc/include/stdio.h: Add declarations for flockfile,
342 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
343 * libc/stdio/clearerr.c: Add file locking.
344 * libc/stdio/fclose.c: Likewise.
345 * libc/stdio/feof.c: Likewise.
346 * libc/stdio/ferror.c: Likewise.
347 * libc/stdio/fflush.c: Likewise.
348 * libc/stdio/fgetc.c: Likewise.
349 * libc/stdio/fgetpos.c: Likewise.
350 * libc/stdio/fgets.c: Likewise.
351 * libc/stdio/fileno.c: Likewise.
352 * libc/stdio/fputc.c: Likewise.
353 * libc/stdio/fputs.c: Likewise.
354 * libc/stdio/fread.c: Likewise.
355 * libc/stdio/freopen.c: Likewise.
356 * libc/stdio/fseek.c: Likewise.
357 * libc/stdio/ftell.c: Likewise.
358 * libc/stdio/fwrite.c: Likewise.
359 * libc/stdio/getc.c: Likewise.
360 * libc/stdio/putc.c: Likewise.
361 * libc/stdio/setvbuf.c: Likewise.
362 * libc/stdio/ungetc.c: Likewise.
363 * libc/stdio/vfprintf.c: Likewise.
365 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
367 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
368 support for 'p' format. Fix code to print bytes for vector
369 integer formats that do not specify 'h' or 'l'.
370 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
371 for 'p' specifier. Fix code to scan 16 bytes for vector integer
372 formats that do not specify 'h' or 'l'.
374 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
376 2002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
378 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
379 (_sbrk): Add cast of return value.
381 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
383 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
384 (_REENT_L64A_BUF): New macro for accessing area.
385 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
386 * libc/stdlib/Makefile.in: Regenerated.
387 * libc/stdlib/a64l.c: New file.
388 * libc/stdlib/l64a.c: New file.
390 2002-05-06 Jeff Johnston <jjohnstn@redhat.com>
392 * libc/unix/pread.c: Fix typo for _pread_r.
393 * libc/unix/pwrite.c: Fix type for _pwrite_r.
394 * libc/sys/linux/pread64.c: Fix typo for read syscall.
395 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
397 2002-05-03 Christopher Faylor <cgf@redhat.com>
399 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
401 2002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
403 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
405 2002-05-01 Christopher Faylor <cgf@redhat.com>
407 * utmp.h: Define more UNIX constants.
409 2002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
411 * Makefile.am: Add support for checking multilibs.
413 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
414 (SUBDEFS): Add LIBC_EXTRA_DEF.
415 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
416 (LIBC_EXTRA_DEF): Likewise.
417 (extra_dir): Likewise.
418 * libc/machine/xscale/machine: New directory.
419 * libc/machine/xscale/machine/profile.h: New file.
421 * Makefile.am (site.exp): Remove newlib_cflags. Add
423 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
424 * testsuite/lib/flags.exp: New file.
425 * testsuite/lib/newlib.exp: Load flags.exp.
426 (newlib_target_compile): Remove libgloss directory references.
427 (newlib_init): Remove newlib_cflags references.
429 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
431 * testsuite/lib/newlib.exp (newlib_target_compile): Change
432 method of finding libgloss_target_dir.
434 * Makefile.am (site.exp): Change host_alias, host_triplet,
435 target_alias, target_triplet to refer to gcc's host and target
436 variables (newlib's build and host variables).
437 * testsuite/lib/newlib.exp (newlib_init): Change build
438 references to host references, host references to target
439 references to reflect Makefile.am changes.
440 (newlib_target_compile): Likewise.
441 (newlib_finish): Likewise.
443 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
445 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
447 2002-04-29 Jonathan Larmour <jlarmour@redhat.com>
449 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
450 (_system): New function. Ditto.
451 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
452 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
455 2002-04-29 Jeff Johnston <jjohnstn@redhat.com>
457 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
458 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
459 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
460 * libc/sys/linux/Makefile.in: Regenerated.
461 * libc/unix/Makefile.in: Ditto.
462 * libc/sys/linux/pread64.c: New file.
463 * libc/sys/linux/pwrite64.c: Ditto.
464 * libc/unix/pread.c: Ditto.
465 * libc/unix/pwrite.c: Ditto.
467 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
469 * libc/sys/linux/Makefile.am: Add io64.c.
470 * libc/sys/linux/Makefile.in: Regenerated.
471 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
472 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
473 * libc/sys/linux/io64.c: New file.
475 2002-04-26 Jeff Johnston <jjohnstn@redhat.com>
477 * configure.in (CC_FOR_NEWLIB): New variable that
478 bases on $(CC) and adds targ-include and libc/include as
479 -isystem directives if they are not already part of $(CC).
480 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
482 * configure: Regenerated.
483 * Makefile.in: Ditto.
485 2002-04-25 Jeff Johnston <jjohnstn@redhat.com>
487 * libc/sys/linux/Makefile.am: Add support for sched.c.
488 * libc/sys/linux/Makefile.in: Regenerated.
489 * libc/sys/linux/sched.c: New file.
490 * libc/sys/linux/sys/types.h: Add struct timespec.
492 2002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
494 * configure.in (CC_FOR_BUILD): Set to gcc whether
495 cross-compiling or not.
496 (CC): Add -isystem's for targ-include and libc/include when they
497 do not already appear in CC.
499 2002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
501 * Makefile.am (check-DEJAGNU): New target.
502 (site.exp): Likewise.
503 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
504 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
505 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
506 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
507 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
508 * testsuite: New directory.
509 * testsuite/config: Likewise.
510 * testsuite/lib: Likewise.
511 * testsuite/newlib.locale: Likewise.
512 * testsuite/newlib.string: Likewise.
513 * testsuite/config/default.exp: New file.
514 * testsuite/lib/checkoutput.exp: New file.
515 * testsuite/lib/newlib.exp: New file.
516 * testsuite/lib/passfail.exp: New file.
517 * testsuite/newlib.locale/UTF-8.c: New file.
518 * testsuite/newlib.locale/UTF-8.exp: New file.
519 * testsuite/newlib.locale/locale.exp: New file.
520 * testsuite/newlib.string/string.exp: New file.
521 * testsuite/newlib.string/tstring.c: New file.
523 2002-04-23 Jeff Johnston <jjohnstn@redhat.com>
525 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
526 * libc/sys/linux/Makefile.am: Add support for mmap.c.
527 * libc/sys/linux/Makefile.in: Regenerated.
528 * libc/sys/linux/mmap.c: New file.
529 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
530 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
532 2002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
534 * acinclude.m4 (newlib_cflags): Remove include directories that
535 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
537 2002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
539 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
540 * libc/machine/xscale/memcmp.c: Ditto.
541 * libc/machine/xscale/memcpy.c: Ditto.
542 * libc/machine/xscale/memmove.c: Ditto.
543 * libc/machine/xscale/memset.c: Ditto.
544 * libc/machine/xscale/strchr.c: Ditto.
545 * libc/machine/xscale/strcmp.c: Ditto.
546 * libc/machine/xscale/strcpy.c: Ditto.
547 * libc/machine/xscale/strlen.c: Ditto.
549 2002-04-19 Alexandre Oliva <aoliva@redhat.com>
551 * libc/include/sys/config.h: Remove include of <limits.h>.
552 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
553 define INT_MAX and LONG_MAX. Use them in tests.
555 2002-04-19 Jeff Johnston <jjohnstn@redhat.com>
557 * configure.host: Add support for powerpc-eabialtivec*.
558 * libc/include/malloc.h: Add include of <machine/malloc.h>.
559 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
560 * libc/include/machine/malloc.h: New file.
561 * libc/include/machine/stdlib.h: Ditto.
562 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
563 * libc/machine/powerpc/Makefile.am: Add conditional objects and
564 sources based on configuration.
565 * libc/machine/powerpc/Makefile.in: Regenerated.
566 * libc/machine/powerpc/configure: Ditto.
567 * libc/machine/powerpc/configure.in: Add check for
568 powerpc-eabialtivec* in which case add in additional source files.
569 * libc/machine/powerpc/setjmp.S: Add altivec support.
570 * libc/machine/powerpc/vec_calloc.c: New file.
571 * libc/machine/powerpc/vec_free.c: Ditto.
572 * libc/machine/powerpc/vec_malloc.c: Ditto.
573 * libc/machine/powerpc/vec_mallocr.c: Ditto.
574 * libc/machine/powerpc/vec_realloc.c: Ditto.
575 * libc/machine/powerpc/machine/malloc.h: Ditto.
576 * libc/machine/powerpc/machine/stdlib.h: Ditto.
577 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
578 with added altivec format specifiers.
579 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
580 added altivec format specifiers.
582 2002-04-19 Joel Sherrill <joel@OARcorp.com>
584 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
585 while autoconf is trying to link main(){}.
587 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
589 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
590 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
592 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
594 * libc/time/time.tex: Add tzset info.
596 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
598 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
599 (strptime): Moved prototype to be within !__STRICT_ANSI__.
600 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
601 (tzname): Defined for all platforms.
602 (daylight, timezone): Defined only for CYGWIN.
603 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
605 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
606 environment variable is set.
607 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
609 * libc/time/Makefile.in: Regenerated.
610 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
611 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
612 * libc/time/lcltime_r.c (lcltime_r): Ditto.
613 * libc/time/local.h: New local header file.
614 * libc/time/mktime.c (mktime): Add timezone support.
615 * libc/time/mktm_r.c: New file which is the common engine
616 for gmtime_r and lcltime_r. This code has timezone support.
617 * libc/time/strftime.c (strftime): Add %Z timezone support.
618 * libc/time/tzlock.c: New file containing timezone lock stubs.
619 * libc/time/tzset.c: New file containing tzset() routine.
620 * libc/time/tzset_r.c: New file containing _tzset_r and
621 internal routine for calculating timezone changes for specified year.
623 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
625 * configure.in (CRT0_DIR): Set to libc/.
626 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
627 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
628 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
630 * libc/machine/xstormy16/Makefile.in: Regenerated.
631 * libc/machine/xstormy16/aclocal.m4: Regenerated.
632 * libc/machine/xstormy16/configure: Regenerated.
634 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
636 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
637 fails, don't bail out, and try to correct next time.
639 * libc/include/sys/config.h: Include limits.h.
641 2002-04-12 Eric Norum <eric.norum@usask.com>
643 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
644 routine to allow autoconf to determine that building executables
646 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
647 (rtems_gxx_mutex_once): Ditto.
649 2002-04-09 Tom Rix <trix@redhat.com>
651 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
653 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
655 * libc/include/time.h: Fix strptime declaration.
656 * libc/time/Makefile.am: Add strptime.c.
657 * libc/time/Makefile.in: Regenerated.
658 * libc/time/strptime.c: New file.
660 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
662 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
663 siglongjmp prototype, and sigsetjmp macro definition.
664 * libc/sys/linux/siglongjmp.c: New file.
665 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
666 * libc/sys/linux/Makefile.in: Regenerated.
668 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
670 * Makefile.am: Add support for installing crt1.o if one exists.
671 * configure.host: Specify crt1.o for linux.
672 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
673 * Makefile.in: Regenerated.
675 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
676 Added for non-Cygwin, non-RTEMS configurations.
677 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
678 * libc/sys/linux/Makefile.in: Regenerated.
679 * libc/sys/linux/crt1.c: New empty file to override one defaulted
680 by gcc. This fixes problem with reconfiguring linux newlib build.
681 * libc/sys/linux/sysconf.c: New file.
683 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
685 * configure.host: Add support for machine subdirectory of
687 * configure.in: Add check for sys machine subdirectory.
688 * Makefile.am: Ditto.
689 * configure: Regenerated.
690 * Makefile.in: Ditto.
691 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
692 * libc/sys/linux/sys/syscall.h: Ditto.
693 * libc/sys/linux/sleep.c: New file.
694 * libc/sys/linux/socket.c: Ditto.
695 * libc/sys/linux/sockops.h: Ditto.
696 * libc/sys/linux/stack.c: Ditto.
697 * libc/sys/linux/usleep.c: Ditto.
698 * libc/sys/linux/machine/Makefile.am: Ditto.
699 * libc/sys/linux/machine/Makefile.in: Ditto.
700 * libc/sys/linux/machine/aclocal.m4: Ditto.
701 * libc/sys/linux/machine/configure: Ditto.
702 * libc/sys/linux/machine/configure.in: Ditto.
703 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
704 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
705 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
706 * libc/sys/linux/machine/i386/configure: Ditto.
707 * libc/sys/linux/machine/i386/configure.in: Ditto.
708 * libc/sys/linux/machine/i386/crt0.c: Ditto.
709 * libc/sys/linux/machine/i386/sigset.c: Ditto.
710 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
711 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
712 * libc/sys/linux/machine/i386/syscall.h: Ditto.
713 * libc/sys/linux/sys/select.h: Ditto.
714 * libc/sys/linux/configure.in: Add support for machine directory.
715 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
716 * libc/sys/linux/Makefile.in: Regenerated.
717 * libc/sys/linux/configure: Ditto.
718 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
719 * libc/sys/linux/inode.c: Ditto.
720 * libc/sys/linux/linux.c: Ditto.
721 * libc/sys/linux/process.c: Ditto.
722 * libc/sys/linux/systat.c: Ditto.
723 * libc/sys/linux/time.c: Ditto.
724 * libc/sys/linux/wait.c: Ditto.
725 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
726 * libc/sys/linux/io.c: Change header plus add readv/writev.
727 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
728 use __sigsuspend syscall.
729 * libc/sys/linux/select.c: Change header plus change select to
730 use _newselect syscall.
731 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
732 used by glibc header files.
733 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
736 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
738 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
739 initializing a struct _reent that has been dynamically allocated.
740 (_REENT_CHECK_MISC): New macro that checks _misc struct for
741 _REENT_SMALL and does nothing otherwise.
742 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
743 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
744 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
745 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
746 [_REENT_SMALL](struct _misc_reent): New structure containing
747 miscellaneous reentrant areas needed by newlib.
748 [_REENT_SMALL](struct _reent): Add _misc pointer.
749 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
750 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
751 and _REENT_STRTOK_LAST macros.
752 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
753 and _REENT_MBLEN_STATE macros.
754 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
755 and _REENT_MBTOWC_STATE macros.
756 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
757 and _REENT_WCTOMB_STATE macros.
759 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
761 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
763 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
765 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
767 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
769 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
770 Store high part of leading bytes too.
772 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
774 * libm/math/ef_hypot.c: Increase scale factor to 68.
776 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
778 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
781 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
783 * libc/sys/go32/access.c: Change license to relaxed license
784 used in identical file throughout newlib/libgloss.
786 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
788 * libc/sys/arm/access.c: New file.
789 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
790 * libc/sys/arm/Makefile.in: Regenerate.
791 * libc/sys/arm/syscalls.c (_stat): New function.
793 2002-03-11 Michael Meissner <meissner@redhat.com>
795 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
796 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
797 * libc/machine/mips/Makefile.in: Regenerate.
798 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
799 * libc/machine/mips/memset.c: Dito.
800 * libc/machine/mips/strcmp.c: Dito.
801 * libc/machine/mips/strlen.c: Dito.
802 * libc/machine/mips/strncmp.c: Dito.
804 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
806 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
807 object so it works for shared library or statici library.
808 2002-04-17 Jeff Johnston <jjohnstn@redhat.com>
810 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
811 (strptime): Moved prototype to be within !__STRICT_ANSI__.
812 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
813 (tzname): Defined for all platforms.
814 (daylight, timezone): Defined only for CYGWIN.
815 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
817 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
818 environment variable is set.
819 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
821 * libc/time/Makefile.in: Regenerated.
822 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
823 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
824 * libc/time/lcltime_r.c (lcltime_r): Ditto.
825 * libc/time/local.h: New local header file.
826 * libc/time/mktime.c (mktime): Add timezone support.
827 * libc/time/mktm_r.c: New file which is the common engine
828 for gmtime_r and lcltime_r. This code has timezone support.
829 * libc/time/strftime.c (strftime): Add %Z timezone support.
830 * libc/time/tzlock.c: New file containing timezone lock stubs.
831 * libc/time/tzset.c: New file containing tzset() routine.
832 * libc/time/tzset_r.c: New file containing _tzset_r and
833 internal routine for calculating timezone changes for specified year.
835 2002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
837 * configure.in (CRT0_DIR): Set to libc/.
838 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
839 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
840 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
842 * libc/machine/xstormy16/Makefile.in: Regenerated.
843 * libc/machine/xstormy16/aclocal.m4: Regenerated.
844 * libc/machine/xstormy16/configure: Regenerated.
846 2002-04-13 Alexandre Oliva <aoliva@redhat.com>
848 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
849 fails, don't bail out, and try to correct next time.
851 * libc/include/sys/config.h: Include limits.h.
853 2002-04-12 Eric Norum <eric.norum@usask.com>
855 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
856 routine to allow autoconf to determine that building executables
858 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
859 (rtems_gxx_mutex_once): Ditto.
861 2002-04-09 Tom Rix <trix@redhat.com>
863 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
865 2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
867 * libc/include/time.h: Fix strptime declaration.
868 * libc/time/Makefile.am: Add strptime.c.
869 * libc/time/Makefile.in: Regenerated.
870 * libc/time/strptime.c: New file.
872 2002-04-08 Jeff Johnston <jjohnstn@redhat.com>
874 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
875 siglongjmp prototype, and sigsetjmp macro definition.
876 * libc/sys/linux/siglongjmp.c: New file.
877 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
878 * libc/sys/linux/Makefile.in: Regenerated.
880 2002-04-04 Jeff Johnston <jjohnstn@redhat.com>
882 * Makefile.am: Add support for installing crt1.o if one exists.
883 * configure.host: Specify crt1.o for linux.
884 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
885 * Makefile.in: Regenerated.
887 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
888 Added for non-Cygwin, non-RTEMS configurations.
889 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
890 * libc/sys/linux/Makefile.in: Regenerated.
891 * libc/sys/linux/crt1.c: New empty file to override one defaulted
892 by gcc. This fixes problem with reconfiguring linux newlib build.
893 * libc/sys/linux/sysconf.c: New file.
895 2002-04-03 Jeff Johnston <jjohnstn@redhat.com>
897 * configure.host: Add support for machine subdirectory of
899 * configure.in: Add check for sys machine subdirectory.
900 * Makefile.am: Ditto.
901 * configure: Regenerated.
902 * Makefile.in: Ditto.
903 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
904 * libc/sys/linux/sys/syscall.h: Ditto.
905 * libc/sys/linux/sleep.c: New file.
906 * libc/sys/linux/socket.c: Ditto.
907 * libc/sys/linux/sockops.h: Ditto.
908 * libc/sys/linux/stack.c: Ditto.
909 * libc/sys/linux/usleep.c: Ditto.
910 * libc/sys/linux/machine/Makefile.am: Ditto.
911 * libc/sys/linux/machine/Makefile.in: Ditto.
912 * libc/sys/linux/machine/aclocal.m4: Ditto.
913 * libc/sys/linux/machine/configure: Ditto.
914 * libc/sys/linux/machine/configure.in: Ditto.
915 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
916 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
917 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
918 * libc/sys/linux/machine/i386/configure: Ditto.
919 * libc/sys/linux/machine/i386/configure.in: Ditto.
920 * libc/sys/linux/machine/i386/crt0.c: Ditto.
921 * libc/sys/linux/machine/i386/sigset.c: Ditto.
922 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
923 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
924 * libc/sys/linux/machine/i386/syscall.h: Ditto.
925 * libc/sys/linux/sys/select.h: Ditto.
926 * libc/sys/linux/configure.in: Add support for machine directory.
927 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
928 * libc/sys/linux/Makefile.in: Regenerated.
929 * libc/sys/linux/configure: Ditto.
930 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
931 * libc/sys/linux/inode.c: Ditto.
932 * libc/sys/linux/linux.c: Ditto.
933 * libc/sys/linux/process.c: Ditto.
934 * libc/sys/linux/systat.c: Ditto.
935 * libc/sys/linux/time.c: Ditto.
936 * libc/sys/linux/wait.c: Ditto.
937 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
938 * libc/sys/linux/io.c: Change header plus add readv/writev.
939 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
940 use __sigsuspend syscall.
941 * libc/sys/linux/select.c: Change header plus change select to
942 use _newselect syscall.
943 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
944 used by glibc header files.
945 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
948 2002-04-01 Jeff Johnston <jjohnstn@redhat.com>
950 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
951 initializing a struct _reent that has been dynamically allocated.
952 (_REENT_CHECK_MISC): New macro that checks _misc struct for
953 _REENT_SMALL and does nothing otherwise.
954 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
955 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
956 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
957 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
958 [_REENT_SMALL](struct _misc_reent): New structure containing
959 miscellaneous reentrant areas needed by newlib.
960 [_REENT_SMALL](struct _reent): Add _misc pointer.
961 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
962 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
963 and _REENT_STRTOK_LAST macros.
964 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
965 and _REENT_MBLEN_STATE macros.
966 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
967 and _REENT_MBTOWC_STATE macros.
968 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
969 and _REENT_WCTOMB_STATE macros.
971 2002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
973 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
975 Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
977 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
979 Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
981 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
982 Store high part of leading bytes too.
984 2002-03-22 Richard Sandiford <rsandifo@redhat.com>
986 * libm/math/ef_hypot.c: Increase scale factor to 68.
988 2002-03-13 Alexandre Oliva <aoliva@redhat.com>
990 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
993 2002-03-12 Jeff Johnston <jjohnstn@redhat.com>
995 * libc/sys/go32/access.c: Change license to relaxed license
996 used in identical file throughout newlib/libgloss.
998 2002-03-12 Richard Earnshaw <rearnsha@arm.com>
1000 * libc/sys/arm/access.c: New file.
1001 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1002 * libc/sys/arm/Makefile.in: Regenerate.
1003 * libc/sys/arm/syscalls.c (_stat): New function.
1005 2002-03-11 Michael Meissner <meissner@redhat.com>
1007 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1008 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1009 * libc/machine/mips/Makefile.in: Regenerate.
1010 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1011 * libc/machine/mips/memset.c: Dito.
1012 * libc/machine/mips/strcmp.c: Dito.
1013 * libc/machine/mips/strlen.c: Dito.
1014 * libc/machine/mips/strncmp.c: Dito.
1016 2002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1018 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1019 object so it works for shared library or statici library.
1020 * libc/machine/i386/Makefile.in: Regenerated.
1022 Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
1024 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1025 Add memcpy.S, memset.S and strcpy.S.
1026 * libc/machine/sh/Makefile.in: Regenerate.
1027 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
1028 (SHHI, SHLO): Define.
1029 * libc/machine/sh/memset.S: Add code for SH5.
1030 * libc/machine/sh/memset.S: Likewise.
1031 * libc/machine/sh/strcpy.S: Likewise.
1033 2002-02-27 Jeff Johnston <jjohnstn@redhat.com>
1035 * configure.host: Add check for --disable-newlib-io-float
1036 configuration option and add -DNO_FLOATING_POINT to newlib cflags
1038 * acinclude.m4: Added --disable-newlib-io-float option.
1039 * aclocal.m4: Regenerated.
1041 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1042 * libc/*/aclocal.m4 libc/*/configure
1043 * libm/*/aclocal.m4 libm/*/configure: Ditto.
1044 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1045 if NO_FLOATING_POINT flag is not defined.
1047 2002-02-25 Jeff Johnston <jjohnstn@redhat.com>
1049 * libc/include/sys/config.h: Add __extension__ in front of
1050 long long references.
1052 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
1054 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1057 2002-02-23 Corinna Vinschen <corinna@vinschen.de>
1059 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1062 2002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1064 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1065 clobbered registers.
1067 2002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1069 * configure.host (newlib_cflags): When host is in m68* add
1072 2002-02-15 Jeff Johnston <jjohnstn@redhat.com>
1074 * libc/include/sys/config.h: Add definitions for
1075 __int16_t, __uint16_t, __int64_t, and __uint64_t.
1077 2002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
1079 * libc/sys/mmixware/link.c: New.
1080 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1082 * libc/sys/mmixware/times.c (_times): Renamed from times.
1083 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1084 properly by reading previous contents, not through BinaryReadWrite.
1085 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1086 * libc/sys/mmixware/Makefile.in: Regenerate.
1088 2002-02-10 Corinna Vinschen <corinna@vinschen.de>
1090 * libc/include/grp.h: Don't declare group functions when compiling
1093 2002-02-09 Corinna Vinschen <corinna@vinschen.de>
1095 * libc/include/grp.h: Include Cygwin specific header.
1096 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
1097 when compiling for Cygwin.
1098 * libc/include/sys/types.h: Don't define off_t, uid_t
1099 and gid_t when compiling for Cygwin.
1101 2002-02-08 matthew green <mrg@redhat.com>
1103 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1104 _REENT_EMERGENCY_SIZE, not sizeof(char *).
1106 2002-02-08 Alexandre Oliva <aoliva@redhat.com>
1108 Contribute sh64-elf.
1109 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1110 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1112 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
1113 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1115 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1116 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1117 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1118 * libc/machine/sh/configure.in: Rework conditionals.
1119 * libc/machine/sh/Makefile.am: Likewise.
1120 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1121 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1122 * configure.host: Match `sh*'.
1123 * libc/include/machine/setjmp.h: Define for SH5.
1124 * libc/machine/sh/configure.in: Detect SH5.
1125 * libc/machine/sh/configure: Rebuilt.
1126 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1127 * libc/machine/sh/Makefile.in: Rebuilt.
1128 * libc/machine/sh/asm.h: Adjust for SH5.
1129 * libc/machine/sh/setjmp.S: Implement in SHmedia.
1130 * libc/sys/sh/crt0.S: Likewise.
1131 * libc/sys/sh/trap.S: Likewise.
1133 2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
1135 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1136 (mach_add_obj): Conditionally set to setjmp.o or nothing.
1137 (LIB_SOURCES): Remove $(mach_add_src).
1138 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1139 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1140 * libc/machine/i386/Makefile.in: Regenerate.
1142 2002-02-05 Manik Raina <manik@cisco.com>
1144 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
1145 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1146 s, p, k, and outstr.
1147 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1149 2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
1151 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1152 _REENT_CHECK_EMERGENCY macro.
1154 2002-02-03 matthew green <mrg@redhat.com>
1156 * libc/reent/signgam.c (__signgam): Fix error in previous.
1158 2002-02-02 matthew green <mrg@redhat.com>
1160 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1162 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1163 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1164 * libc/include/sys/reent.h (struct _reent): Completely new version
1166 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1167 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1168 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1169 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1170 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1171 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1172 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1173 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1174 (_REENT_EMERGENCY): Likewise.
1176 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1177 the start of the real __sFILE, used for stdin, stdout and stderr until
1178 they are setup properly.
1179 (struct __sFILE): Move location of _data in _REENT_SMALL case.
1180 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1181 allocated stdin, stdout and stderr.
1182 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1183 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1184 * libc/stdio/perror.c (_perror_r): Likewise.
1185 * libc/stdio/printf.c (printf, _printf_r): Likewise.
1186 * libc/stdio/putchar.c (_putchar_r): Likewise.
1187 * libc/stdio/puts.c (_puts_r): Likewise.
1188 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1189 * libc/stdio/vprintf.c (vprintf): Likewise.
1190 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1192 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1194 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1195 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1197 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1198 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1200 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1202 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1203 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1204 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1205 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1206 * libc/stdlib/rand48.c (__dorand48): Likewise.
1207 * libc/stdlib/seed48.c (_seed48_r): Likewise.
1208 * libc/stdlib/srand48.c (_srand48_r): Likewise.
1209 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1210 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1211 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
1212 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1213 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1214 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1215 * libc/stdlib/rand.c (rand): Likewise.
1217 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1218 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1220 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
1221 _REENT_MP_FREELIST() and _REENT_MP_P5S.
1222 * libc/include/sys/reent.h (struct _mprec): New structure.
1224 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1225 _unused_strtok_last.
1226 * libc/string/strtok.c (strtok): Use a local static variable.
1228 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1229 (_REENT_EMERGENCY_SIZE): Likewise.
1230 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
1231 _REENT_ASCTIME_BUF().
1232 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
1235 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1236 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1237 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1238 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1239 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1240 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1242 2002-02-01 Geoffrey Keating <geoffk@redhat.com>
1244 * configure.host (xstormy16): Don't use the generic malloc.
1245 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1246 * libc/machine/xstormy16/Makefile.in: Regenerate.
1247 * libc/machine/xstormy16/mallocr.c: New file.
1248 * libc/machine/xstormy16/tiny-malloc.c: New file.
1250 2002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1252 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1253 when _CYGWIN_TYPES_H is not defined.
1255 2002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1257 * libc/include/sys/signal.h: Revert 2002-01-23 change.
1259 2002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1261 * libc/include/sys/signal.h: Remove pthread_kill declaration
1262 when __CYGWIN__ is defined.
1264 2002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1266 * libc/include/time.h: Add prototype for strptime for Cygwin.
1268 2002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1270 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1271 dst was not word aligned.
1273 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1274 if too much memory is requested.
1276 2002-01-11 Jeff Johnston <jjohnstn@redhat.com>
1278 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1279 reads blanks from the input file to break if EOF reached
1280 rather than end processing.
1282 2002-01-07 Jeff Johnston <jjohnstn@redhat.com>
1284 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1286 2002-01-07 Alan Matsuoka <alanm@redhat.com>
1288 * libc/include/machine/ieeefp.h: Configure d10v doubles to
1289 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
1290 libc/include/sys/config.h: Ditto.
1292 2001-12-28 Corinna Vinschen <corinna@vinschen.de>
1294 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1296 2001-12-22 Geoffrey Keating <geoffk@redhat.com>
1297 Catherine Moore <clm@redhat.com>
1298 Richard Henderson <rth@redhat.com>
1299 Corinna Vinschen <vinschen@redhat.com>
1301 * configure.host: Add support for xstormy16.
1302 * libc/include/machine/ieeefp.h: Add support for xstormy16.
1303 * libc/include/machine/setjmp.h: Add support for xstormy16.
1304 * libc/include/sys/config.h: Add support for xstormy16.
1305 * libc/machine/xstormy16/Makefile.am: New file.
1306 * libc/machine/xstormy16/Makefile.in: New file.
1307 * libc/machine/xstormy16/aclocal.m4: New file.
1308 * libc/machine/xstormy16/configure: New file.
1309 * libc/machine/xstormy16/configure.in: New file.
1310 * libc/machine/xstormy16/setjmp.S: New file.
1312 2001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1314 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1315 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1317 2001-12-19 Corinna Vinschen <corinna@vinschen.de>
1319 * libm/machine/Makefile.am: Change rules to create correct lib.a.
1320 * libm/machine/Makefile.in: Regenerated through automake.
1322 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1324 * Makefile.am (DOCDIR): Force to empty string when doc
1325 directory is not present.
1327 2001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1329 * libc/machine/i386/f_*: Move to libm/machine/i386.
1331 2001-12-18 Joel Sherrill <joel@OARcorp.com>
1333 * libm/machine/Makefile.am: Add dummy doc stub so
1336 2001-12-17 Joel Sherrill <joel@OARcorp.com>
1338 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1340 2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1342 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1343 $(COMPILE) rather than $(CC).
1344 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1345 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1346 $(LIB_COMPILE) change.
1347 (vfiprintf.$(oext)): Likewise.
1349 2001-12-17 Corinna Vinschen <vinschen@redhat.de>
1351 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1352 conditionalized including of getopt stuff.
1354 2001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1356 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1358 (vfiprintf.$(oext)): Likewise.
1360 2001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1362 * Makefile.shared: New file.
1363 * libc/sys/linux/shared.ld: New file.
1364 * libm/machine/*: New files.
1365 * libm/machine/i386/*: New files.
1366 * Makefile.am: Add libtool support. Change math and mathfp
1367 references to variables.
1368 * configure.host: Add variables for libtool support. Add
1369 libm_machine_dir variable.
1370 * configure.in: Add objectlist variables, for libtool
1371 support. Add CC_FOR_BUILD tests.
1372 * libc/Makefile.am: Add libtool support. Change crt0.o
1373 reference to be a variable reference.
1374 * libc/configure.in: Add libtool support. Change sublib
1375 names to be lib${subdir}.la when using libtool.
1376 * libc/ctype/Makefile.am: Add libtool support.
1377 * libc/errno/Makefile.am: Likewise.
1378 * libc/locale/Makefile.am: Likewise.
1379 * libc/machine/Makefile.am: Likewise.
1380 * libc/machine/configure.in: Likewise.
1381 * libc/machine/i386/Makefile.am: Likewise.
1382 * libc/machine/i386/configure.in: Likewise.
1383 * libc/misc/Makefile.am: Likewise.
1384 * libc/posix/Makefile.am: Likewise.
1385 * libc/reent/Makefile.am: Likewise.
1386 * libc/signal/Makefile.am: Likewise.
1387 * libc/stdio/Makefile.am: Likewise.
1388 * libc/stdlib/Makefile.am: Likewise.
1389 * libc/string/Makefile.am: Likewise.
1390 * libc/sys/Makefile.am: Likewise.
1391 * libc/sys/configure.in: Likewise.
1392 * libc/sys/linux/Makefile.am: Add libtool support. Change
1393 awk reference to a variable reference. Change signal.h
1394 reference to a variable reference.
1395 * libc/sys/linux/configure.in: Add libtool support.
1396 * libc/syscalls/Makefile.am: Likewise.
1397 * libc/time/Makefile.am: Likewise.
1398 * libc/unix/Makefile.am: Likewise.
1399 * libm/Makefile.am: Add libtool support. Change math and
1400 mathfp references to variables.
1401 * libm/configure.in: Add libtool support. Add
1402 LIBM_MACHINE_LIB variable.
1403 * libm/common/Makefile.am: Add libtool support.
1404 * libm/math/Makefile.am: Likewise.
1405 * libm/mathfp/Makefile.am: Likewise.
1406 Regenerate all Makefile.in, aclocal.m4, and configure.
1408 2001-12-13 Anita Kulkarni <anitak@kpit.com>
1410 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1412 2001-12-06 John Peacock <jpeacock@rowman.com>
1414 * libc/include/sys/unistd.h: Correct ualarm declaration.
1416 2001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1418 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1419 vector before calling the initialisation functions.
1421 2001-11-29 Christopher Faylor <cgf@redhat.com>
1423 * libc/include/dirent.h: Protect against multiple inclusion.
1425 2001-11-27 Christopher Faylor <cgf@redhat.com>
1427 * libc/include/sys/types.h: Define useconds_t.
1428 * libc/include/sys/ulimit.h: Declare ualarm.
1430 2001-11-21 Christopher Faylor <cgf@redhat.com>
1432 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1434 2001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
1436 * libc/sys/mmixware/*: Tweak license header in all source files.
1438 2001-11-12 Corinna Vinschen <vinschen@redhat.com>
1440 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1441 to here. Rearrange for general inclusion by stdlib.h.
1442 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1444 * libc/sys/linux/include/alloca.h: Move to libc/include.
1446 2001-11-12 Anthony Green <green@redhat.com>
1448 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1450 2001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
1452 * libc/sys/mmixware/*: Correct spacing in all source files.
1453 * libc/sys/mmixware/syscall.h: Move misplaced file...
1454 * libc/sys/mmixware/sys/syscall.h: ...here.
1456 2001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
1458 * libc/include/machine/ieeefp.h: Add support for mmix target.
1459 * libc/include/machine/setjmp.h: Ditto.
1460 * configure.host: Ditto.
1461 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1462 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1463 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1464 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1465 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1466 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1467 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1468 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1469 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1470 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1471 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1472 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1473 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1474 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1475 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1476 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1477 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1478 libc/sys/mmixware/aclocal.m4: Generate.
1480 2001-11-05 Corinna Vinschen <corinna@vinschen.de>
1482 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1483 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1484 when __CYGWIN__ is defined.
1485 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1488 2001-11-01 Arati Dikey <aratidikey@hotmail.com>
1490 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1491 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1492 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1493 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1495 2001-10-24 Christopher Faylor <cgf@redhat.com>
1497 * libc/stdio/fseek.c: Reset pointer to buffer base
1498 when forced to seek outside of current buffer contents.
1499 This prevents the code from erroneously thinking there is
1500 anything in the current buffer.
1502 2001-10-22 Geoffrey Keating <geoffk@redhat.com>
1504 * libc/include/math.h: The C++ standard adds the single-precision
1505 versions of the elementary functions.
1507 2001-10-22 Christopher Faylor <cgf@redhat.com>
1509 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1511 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1512 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1513 * system.c (_system_r): Ditto.
1515 2001-10-17 Corinna Vinschen <corinna@vinschen.de>
1517 * libc/include/sys/unistd.h: Add prototype for fchdir() when
1518 __CYGWIN__ or __rtems__ is defined.
1520 2001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
1522 * libc/include/stdlib.h: add declarations for
1523 _strtoull_r, _strtoll_r, strtoull, and strtoll.
1524 * libc/stdio/local.h: remove declarations of
1525 __strtoull_r and __strtoll_r.
1526 * libc/stdio/vfscanf.c(__svfscanf_r): call
1527 _strtoull_r instead of __strtoull_r. Ditto
1528 _strtoll_r vs. __strtoll_r.
1529 * libc/stdlib/Makefile.am: add new files to
1530 .c list and .def list
1531 * libc/stdlib/Makefile.in: regenerate
1532 * libc/stdlib/strtoll_r.c: rename __strtoll_r
1534 * libc/stdlib/strtoull_r.c: rename __strtoull_r
1536 * libc/stdlib/strtoull.c: new file
1537 * libc/stdlib/strtoll.c: new file
1539 Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
1541 * libc/include/process.h: Add getpid() declaration.
1543 2001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1545 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1546 for new style arm/elf ctor/dtor handling.
1547 Minor formatting tidy up.
1549 2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
1551 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1553 * libc/stdlib/Makefile.in: Regenerated.
1554 * libc/stdlib/strtoll_r.c: New file.
1555 * libc/stdlib/strtoull_r.c: New file.
1556 * libc/stdio/local.h: Add prototypes for long long string
1557 conversion routines.
1558 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1559 tied to %L integer conversion specifier.
1561 Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
1563 * strftime.c (strftime): Fix "%W" implementation to properly handle
1566 2001-09-07 Jeff Law <law@redhat.com>
1568 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1569 __fini with "mov.l" instead of "mov.w".
1571 2001-09-05 Corinna Vinschen <corinna@vinschen.de>
1573 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1576 2001-09-04 Jason Merrill <jason_merrill@redhat.com>
1578 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1580 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
1582 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1584 (__DIRENT_VERSION): New define.
1586 2001-09-03 Corinna Vinschen <corinna@vinschen.de>
1588 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
1589 Shrink __d_reserved accordingly to keep structure size.
1590 (dirfd): Declare external.
1592 2001-08-29 Joel Sherrill <joel@OARcorp.com>
1594 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1596 2001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1598 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1599 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1600 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1601 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1602 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1603 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1604 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1605 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1606 Add conditional compilation to avoid HW FPU instructions
1607 when compiled for soft-float.
1609 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1611 * Makefile.am: Add check for ln failing when creating libg.a
1612 so that cp gets used as a backup.
1613 * Makefile.in: Regenerated.
1615 2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1617 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1618 No longer include time.h. Add struct __tm to use for
1619 _localtime_buf in the reentrant structure. Add a
1620 _NULL definition to use in initializing the reentrant struct.
1621 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1622 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1624 * libc/include/sys/unistd.h: Include <sys/_types.h>.
1625 * libc/time/lcltime.c (localtime): Cast the reentrant struct
1626 _localtime_buf to be struct tm *.
1628 Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
1630 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1631 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1633 * libc/sys/h8300hms/syscalls.c: Include errno.h.
1634 (_unlink): New stub function.
1636 Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
1638 * libc/include/sys/errno.h: Add a cautionary comment.
1640 2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
1642 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1643 for SIZE_SZ so that alignment ends up a minimum of 8.
1645 Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
1647 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1650 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1653 2001-08-13 Jeff Johnston <jjohnstn@redhat.com>
1655 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1656 macro constants for mallopt options.
1657 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1659 2001-08-02 Jeff Johnston <jjohnstn@redhat.com>
1661 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1664 2001-07-12 Aldy Hernandez <aldyh@redhat.com>
1666 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1668 2001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1670 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1671 Define for little endian ARMs.
1673 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1674 __IEEE_BYTES_LITTLE_ENDIAN is defined.
1676 2001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1678 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1680 2001-06-11 Egor Duda <deo@logos-m.ru>
1682 * libc/ctype/ctype_.c: When compiled with gcc on platforms
1683 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1684 initialized memory region. Platform can define COMPACT_CTYPE
1685 to avoid allocation of the additional 128 bytes of data.
1686 Add pointer to _ctype_ array. Always initialize all _ctype_
1689 2001-06-08 Jonathan Larmour <jlarmour@redhat.com>
1691 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1694 2001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1696 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1698 2001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
1700 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1701 matching, non-word alignment, and the length is <= 4 but more than
1702 enough to move them over a word boundary.
1703 Add comments explaining what each instruction does.
1705 Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
1707 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
1708 * libc/include/sys/unistd.h: Ditto.
1710 2001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
1712 * libc/string/strrchr.c: Use strchr for the speed improvements.
1714 2001-05-01 Jeff Johnston <jjohnstn@redhat.com>
1716 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1717 real file systems, let __smakebuf() determine if line buffering
1718 should be used for stdout.
1720 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1722 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1724 2001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1726 * libc/include/stdlib.h: Add prototype for _strtod_r.
1728 2001-04-24 Charles Wilson <cwilson@ece.gatech.edu
1730 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1731 * libc/stdio/vprintf.c (_vprintf_r): new function
1732 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1733 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1734 _DEFUN, and call _vfprintf_r, not vfprintf.
1735 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1736 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1737 _DEFUN, and call _vfprintf_r, not vfprintf.
1739 2001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
1741 * libc/include/sys/unistd.h [X_OK]: Use better protection against
1742 Cygwin X_OK definitions in sys/file.h.
1744 Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
1746 * libc/include/sys/time.h: Define timercmp and other macros for
1749 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1751 * acinclude.m4: Added --enable-malloc-debugging configure flag.
1752 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1753 --enable-malloc-debugging selected.
1754 * aclocal.m4 configure: Regenerated.
1755 libm/aclocal.m4 libm/configure: Ditto.
1756 * libc/aclocal.m4 libc/configure: Ditto.
1757 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1758 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1759 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1760 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1761 * doc/aclocal.m4 doc/configure: Ditto.
1763 2001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1765 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1767 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1768 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1769 function prototypes.
1770 (_fscanf_r, _sscanf_r): Ditto.
1771 * libc/include/stdlib.h: Added _strtod_r prototype.
1772 * libc/stdio/Makefile.am: Add new v*scanf functions.
1773 * libc/stdio/Makefile.in: Regenerate.
1774 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1775 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
1776 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1777 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1778 (sscanf): Changed to call __svfscanf_r with _REENT argument.
1779 (_sscanf_r): New routine.
1780 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
1781 with __svfscanf_r prototype.
1782 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
1784 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
1785 structure as argument as calls reentrant versions of helper functions
1786 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
1787 to _strtol_r and _strtod_r respectively.
1788 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
1789 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
1791 * libc/stdio/vscanf.c: New file.
1792 * libc/stdio/vsscanf.c: Ditto.
1794 2001-04-19 Robert Collins <rbtcollins@hotmail.com>
1796 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
1797 Define daylight to _daylight if it is not defined
1798 Prepare a variable export of timezone based on timezonevariable.
1799 (Cannot be used with the timezone() function.)
1801 2001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
1803 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
1804 Correct the numerical values.
1806 2001-04-13 Robert Collins <rbtcollins@hotmail.com>
1808 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
1810 Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
1812 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
1813 on case insensitve file systems.
1815 2001-04-12 Robert Collins <rbtcollins@hotmail.com>
1817 * libc/include/sys/features.h: Add appropriate defines for Cygwin
1819 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
1820 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
1821 types. Include <cygwin/types.h> for the cygwin specific typedefs.
1823 2001-04-04 Richard Sandiford <rsandifo@redhat.com>
1825 * libc/include/machine/ieeefp.h: Comment about new configuration
1826 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
1827 * libm/common/fdlib.h: Define new macros for testing floats.
1828 * libm/common/sf_*: Use them.
1829 * libm/math/ef_*: Likewise.
1830 * libm/math/sf_*: Likewise.
1832 2001-03-29 Jeff Johnston <jjohnstn@redhat.com>
1834 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
1835 prolog to by-pass possible assembler error.
1837 2001-03-21 Egor Duda <deo@logos-m.ru>
1839 Allow building internal stubs for non-reentrant syscalls
1840 if target provides its own malloc
1841 * libc/reent/reent.c (errno): Move definition here.
1842 * libc/reent/sbrkr.c: From here.
1844 2001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
1846 * libc/include/sys/types.h (BSD int typedefs): Guard with
1847 _BSDTYPES_DEFINED rather than _WINSOCK_H.
1848 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
1850 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
1851 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
1853 Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
1855 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
1856 _PC_POSIX_SECURITY constants for Cygwin.
1858 Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
1860 * libc/sys/cygwin/crt0.c: Add copyright hint.
1861 * libc/sys/cygwin/sys/dirent.h: Ditto.
1862 * libc/sys/cygwin/sys/param.h: Ditto.
1863 * libc/sys/cygwin/sys/utime.h: Ditto.
1864 * libc/sys/cygwin/sys/utmp.h: Ditto.
1866 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1868 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
1869 equivalent to LONGINT.
1871 2001-03-08 Richard Sandiford <rsandifo@redhat.com>
1873 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
1874 jmpbuf on MIPS64 targets.
1875 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
1877 Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
1879 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
1882 Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
1884 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
1885 For RTEMS, define to be ssize_t. Default to int if not defined.
1886 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
1887 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
1888 * libc/stdio/local.h (__sread, __swrite): Likewise.
1889 * libc/include/sys/reent.h (_read, _write): Likewise.
1890 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
1891 * libc/syscalls/sysread.c (read): Likewise.
1892 * libc/syscalls/syswrite.c (write): Likewise.
1894 2001-03-05 Jeff Johnston <jjohnstn@redhat.com>
1896 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
1898 Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
1900 * libc/include/sys/stat.h: Use special defines for executable stat bits
1901 when compiling for Cygwin.
1902 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
1905 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1907 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
1908 of strtok_r is always defined.
1910 2001-03-02 Jeff Johnston <jjohnstn@redhat.com>
1912 * libc/include/machine/ansi.h: New dummy header file.
1914 2001-02-22 Jeff Johnston <jjohnstn@redhat.com>
1916 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
1917 changed the copyright information to allow free modification of the
1918 file with no reference to "copying.dj".
1919 * libc/include/sys/stat-dj.h: Ditto.
1920 * libc/machine/i386/setjmp.S: Ditto.
1921 * libc/sys/h8300hms/sys/file.h: Ditto.
1922 * libc/sys/sysmec/access.c: Ditto.
1923 * libc/sys/sysnecv850/access.c: Ditto.
1924 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
1925 * libc/stdlib/getenv_r.c: Ditto.
1926 * libc/stdlib/putenv_r.c: Ditto.
1927 * libc/stdlib/setenv_r.c: Ditto.
1928 * libc/stdlib/getenv.c: Removed DJ reference since any possible
1929 modifications will now be in the _r version of this file.
1930 * libc/stdlib/putenv.c: Ditto.
1931 * libc/stdlib/setenv.c: Ditto.
1932 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
1933 valid. Added a reference to DJ's web page that contains his address.
1934 * libc/sys/go32/*.s: Removed references to DJ's old address.
1935 * libc/sys/go32/*.c: Ditto.
1936 * libc/sys/go32/*.h: Ditto.
1937 * libc/sys/go32/*.S: Ditto.
1938 * libc/sys/go32/sys/*.h: Ditto.
1940 2001-02-21 Jeff Johnston <jjohnstn@redhat.com>
1942 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
1943 HAVE_FCNTL flag check.
1944 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
1945 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
1947 Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
1949 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
1951 2001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
1953 * libc/include/stdlib.h: Add declarations of rand48 functions and
1954 their reentrant versions.
1955 * libc/include/sys/reent.h: Move macros from rand48.h. Add
1956 struct _rand48 for shared parameters of rand48 functions.
1957 (struct _reent): Add a variable _r48 of struct _rand48.
1958 (_REENT_INIT): Add _r48 initialization.
1959 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
1960 (CHEWOUT_FILES): Add rand48.def.
1961 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
1962 * libc/stdlib/Makefile.in: Regenerated.
1963 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
1965 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
1966 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
1967 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
1968 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
1969 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
1970 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
1971 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
1972 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
1973 * libc/stdlib/rand48.c (__dorand48): Ditto.
1974 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
1975 parameters into macros referring them in the reentrant structure.
1977 2001-02-12 Jeff Johnston <jjohnstn@redhat.com>
1979 * libc/include/sys/stat.h: Add mknod for Cygwin now that
1980 Cygwin definition has correct prototype.
1982 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1984 * libc/include/sys/stat.h: Must revert change for mknod
1985 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
1988 2001-02-08 Jeff Johnston <jjohnstn@redhat.com>
1990 * libc/include/stdio.h: Revert putw prototype.
1992 2001-02-08 Edward M. Lee <tailbert@yahoo.com>
1994 * libc/include/grp.h: add prototype for initgroups.
1995 * libc/include/stdio.h: fix prototype for putw.
1996 * libc/include/sys/signal.h: add prototype for killpg.
1997 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
1998 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
1999 vhangup and remove duplicate sysconf prototype.
2001 2001-02-07 Jeff Johnston <jjohnstn@redhat.com>
2003 * libc/sys/rtems/sys/types.h: Removed.
2005 2001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
2007 * libc/include/locale.h: add LC_MESSAGES definition
2009 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2011 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2013 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2014 __setup_argv_and_call_main): New.
2016 2001-01-31 Jeff Johnston <jjohnstn@redhat.com>
2018 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2020 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2021 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2022 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2023 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2025 Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
2027 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2028 compiling under Cygwin.
2030 2001-01-29 Jeff Johnston <jjohnstn@redhat.com>
2032 * libc/include/math.h (signgam): Change to errno-like solution
2033 using a function to return the address of the real signgam.
2034 * libc/reent/signgam.c: New file containing __signgam().
2035 * libc/reent/Makefile.am: Added signgam.c to list of files.
2036 * libc/reent/Makefile.in: Regenerated.
2038 2001-01-25 Alexandre Oliva <aoliva@redhat.com>
2040 * libc/sys/sh/syscalls.c (_times): New.
2042 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2043 * libc/sys/sh/syscalls.c (_gettimeofday): New.
2045 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2047 * libc/include/math.h (signgam): Regress previous fix as
2048 it does not handle programs with extern int signgam in them.
2050 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2052 * libc/include/math.h (signgam): Changed to a macro refering to
2053 its location in the reentrant structure.
2055 2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2057 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2058 that suppressed . for %.0f, 0.1. Check now looks if there
2059 are padding zeroes (expt) in addition to any digits (ndig) to
2062 2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
2064 * libc/sys/arc/Makefile.am: New file.
2065 * libc/sys/arc/Makefile.in: Ditto.
2066 * libc/sys/arc/aclocal.m4: Ditto.
2067 * libc/sys/arc/configure: Ditto.
2068 * libc/sys/arc/configure.in: Ditto.
2069 * libc/sys/arc/crt0.S: Ditto.
2070 * libc/sys/arc/isatty.c: Ditto.
2071 * libc/sys/arc/mem-layout.c: Ditto.
2072 * libc/sys/arc/sbrk.c: Ditto.
2073 * libc/sys/arc/syscalls.c: Ditto.
2074 * libc/sys/arc/sys/syscall.h: Ditto.
2076 Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
2078 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2080 Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
2082 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2084 Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
2086 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2088 2001-01-09 Nick Clifton <nickc@redhat.com>
2090 * configure.host (v859): Remove unsupported compiler options.
2092 Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
2094 * src/newlib/configure.host (*-*-rtems*): add printf long long
2097 2000-12-19 Graham Stott <grahams@redhat.com>
2099 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2101 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2103 * configure.host: Turn on long double I/O for Cygwin.
2105 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2107 * MAINTAINERS: Removed Ranjith.
2108 * NEWS: Updated for 1.9.0.
2110 * acinclude.m4: Updated to release 1.9.0.
2111 * aclocal.m4 configure
2112 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2113 libc/machine/aclocal.m4 libc/machine/configure
2114 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2115 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2116 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2117 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2118 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2119 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2120 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2121 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2122 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2123 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2124 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2125 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2126 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2127 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2128 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2129 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2130 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2131 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2132 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2133 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2134 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2135 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2136 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2137 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2138 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2139 libc/sys/aclocal.m4 libc/sys/configure
2140 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2141 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2142 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2143 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2144 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2145 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2146 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2147 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2148 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2149 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2150 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2151 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2152 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2153 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2154 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2155 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2156 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2157 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2158 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2159 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2160 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2161 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2162 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2163 libm/aclocal.m4 libm/configure: Regenerated.
2165 Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2167 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2168 when __CYGWIN__ is defined.
2170 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2172 * libc/stdlib/ldtoa.c (_ldcheck): New routine
2173 that categorizes a long double as NaN, Infinity, or other.
2174 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
2175 isinfl and isnanl static routines which were i386-specific. Changed
2176 calls to the two removed routines to a single _ldcheck call.
2177 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2179 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2181 * Makefile.am: Fixed install-data-local target to use
2182 $(mkinstalldirs) for the installed header files to ensure
2183 the directories exist before copying.
2184 * Makefile.in: Regenerated.
2186 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
2188 * libc/include/sys/unistd.h: Restored Cygwin _SC
2189 constants and moved new constants appropriately
2190 so Cygwin will build.
2192 2000-12-11 Joel Sherrill <joel@OARcorp.com>
2194 * Merge RTEMS specific .h files into main libc/include.
2195 * libc/sys/rtems/include/signal.h: Removed.
2196 * libc/sys/rtems/include/time.h: Removed.
2197 * libc/sys/rtems/sys/features.h: Removed.
2198 * libc/sys/rtems/sys/sched.h: Removed.
2199 * libc/sys/rtems/sys/siginfo.h: Removed.
2200 * libc/sys/rtems/sys/signal.h: Removed.
2201 * libc/sys/rtems/sys/time.h: Removed.
2202 * libc/sys/rtems/sys/times.h: Removed.
2203 definitions for time_t and clock_t since these are
2204 no longer in time.h.
2205 * libc/include/pthread.h: New file.
2206 * libc/include/sys/sched.h: New file.
2207 * libc/include/sys/features.h: New file.
2208 * libc/include/time.h: Removed duplicate definition of clock_t
2209 and time_t, get them from <sys/types.h> instead. Add prototypes
2210 for POSIX clock and timer functionality.
2211 * libc/sys/linux/sys/types.h: Changed to include
2212 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2213 * libc/include/sys/signal.h: Add more complete set of POSIX
2214 signal functionality including real-time and threaded signals.
2215 * libc/include/sys/types.h: Add clock_t, time_t, struct
2216 timespec, and struct itimerspec. Centralizing these makes
2217 things cleaner. RTEMS uses 64-bit dev_t.
2218 Added numerous primitive definitions
2219 for pthreads including macros, pthread_attr_t,
2220 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
2221 pthread_once_t, and pthread_t.
2222 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2223 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2224 Feature flags removed and moved to new file <sys/features.h>.
2225 Full set of POSIX sysconf() constants
2227 2000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
2229 * configure.host: Added x86 linux target.
2230 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2231 definitions provided if not already defined.
2232 * libc/sys/linux/crt0.c: New file.
2233 * libc/sys/linux/Makefile.am: Ditto.
2234 * libc/sys/linux/Makefile.in: Ditto.
2235 * libc/sys/linux/aclocal.m4: Ditto.
2236 * libc/sys/linux/brk.c: Ditto.
2237 * libc/sys/linux/configure: Ditto.
2238 * libc/sys/linux/configure.in: Ditto.
2239 * libc/sys/linux/getoptlong.c: Ditto.
2240 * libc/sys/linux/ids.c: Ditto.
2241 * libc/sys/linux/inode.c: Ditto.
2242 * libc/sys/linux/io.c: Ditto.
2243 * libc/sys/linux/linux.c: Ditto.
2244 * libc/sys/linux/process.c: Ditto.
2245 * libc/sys/linux/realpath.c: Ditto.
2246 * libc/sys/linux/select.c: Ditto.
2247 * libc/sys/linux/signal.c: Ditto.
2248 * libc/sys/linux/systat.c: Ditto.
2249 * libc/sys/linux/termios.c: Ditto.
2250 * libc/sys/linux/time.c: Ditto.
2251 * libc/sys/linux/wait.c: Ditto.
2252 * libc/sys/linux/include/alloca.h: Ditto.
2253 * libc/sys/linux/include/getopt.h: Ditto.
2254 * libc/sys/linux/include/stdint.h: Ditto.
2255 * libc/sys/linux/include/unistd.h: Ditto.
2256 * libc/sys/linux/sys/cdefs.h: Ditto.
2257 * libc/sys/linux/sys/dirent.h: Ditto.
2258 * libc/sys/linux/sys/errno.h: Ditto.
2259 * libc/sys/linux/sys/fcntl.h: Ditto.
2260 * libc/sys/linux/sys/file.h: Ditto.
2261 * libc/sys/linux/sys/ioctl.h: Ditto.
2262 * libc/sys/linux/sys/resource.h: Ditto.
2263 * libc/sys/linux/sys/signal.h: Ditto.
2264 * libc/sys/linux/sys/stat.h: Ditto.
2265 * libc/sys/linux/sys/syscall.h: Ditto.
2266 * libc/sys/linux/sys/termios.h: Ditto.
2267 * libc/sys/linux/sys/time.h: Ditto.
2268 * libc/sys/linux/sys/types.h: Ditto.
2269 * libc/sys/linux/sys/utmp.h: Ditto.
2270 * libc/sys/linux/sys/utsname.h: Ditto.
2271 * libc/sys/linux/sys/wait.h: Ditto.
2273 2000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2275 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
2276 can be a relative path to $(top_srcdir)/install.sh so ensure the
2277 autoconf detected settings are properly passed recursively.
2278 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2279 properly to subdirectories.
2280 * Makefile.in: Regenerated.
2282 2000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
2284 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2285 a floating point register unless really printing a floating
2288 2000-12-07 Jeff Johnston <jjohnstn@redhat.com>
2290 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2292 (asctoeg): Replaced alloca call with stack array and malloc
2293 when storage exceeds reasonable limit.
2294 (e53toe): Fixed einfin calls missing ldp parameter.
2295 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2297 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2300 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2302 2000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2304 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2305 * libc/stdlib/Makefile.in: Regenerated.
2306 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2307 * libc/stdio/vfieeefp.h: Added long double bit structures.
2308 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2309 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2310 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2311 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2312 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2313 _strtold routines used for conversions between character
2316 Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2318 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2320 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2322 * libc/include/machine/time.h: RTEMS systems can configure clock
2323 tick rate so use sysconf() to ask.
2325 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2327 * libc/include/sys/times.h: Add reference to POSIX standard.
2329 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2331 * libc/include/sys/time.h: Added BSD timer manipulation macros
2334 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2336 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2337 referenced by code generated by gcc 2.8.1.
2338 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
2341 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2343 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2345 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2347 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2349 2000-12-04 Joel Sherrill <joel@OARcorp.com>
2351 * configure.host (or16, or32): New entries for OpenCores
2353 (*-*-rtems*): Add -DNO_EXEC.
2355 2000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
2357 * libc/include/sys/errno.h: Added comments on many error numbers.
2358 * libc/string/strerror.c: Added some more strings.
2360 2000-11-30 Jeff Johnston <jjohnstn@redhat.com>
2362 * libc/sys/sh/syscalls.c (_link): New stub.
2364 2000-11-29 Nick Clifton <nickc@redhat.com>
2366 * configure.host: Add xscale target.
2367 * libc/machine/xscale: New directory.
2368 * libc/machine/xscale/Makefile.am: New file.
2369 * libc/machine/xscale/Makefile.in: New file.
2370 * libc/machine/xscale/aclocal.m4: New file.
2371 * libc/machine/xscale/configure: New file.
2372 * libc/machine/xscale/configure.in: New file.
2373 * libc/machine/xscale/memchr.S: New file.
2374 * libc/machine/xscale/memcmp.S: New file.
2375 * libc/machine/xscale/memcpy.S: New file.
2376 * libc/machine/xscale/memmove.S: New file.
2377 * libc/machine/xscale/memset.S: New file.
2378 * libc/machine/xscale/strchr.S: New file.
2379 * libc/machine/xscale/strcmp.S: New file.
2380 * libc/machine/xscale/strcpy.S: New file.
2381 * libc/machine/xscale/strlen.S: New file.
2383 Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2385 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2386 avoid compiler warnings.
2388 2000-11-22 Michael Meissner <meissner@redhat.com>
2390 * libc/posix/execl.c (execl): Don't reference environ directly,
2391 reference it only via a static pointer to avoid problems with some
2392 shared library systems and with different uses of small data where
2393 the user specifies his own version of environ.
2394 * libc/posix/execv.c (execv): Ditto.
2395 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2396 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2397 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2399 * libc/stdlib/getenv.c (environ): Delete unused reference to
2402 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2404 * libc/stdlib/system.c: Ditto.
2406 Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
2408 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2409 including windows headers.
2411 2000-11-20 Jeff Johnston <jjohnstn@redhat.com>
2413 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2414 * libc/include/dirent.h: Added definition of MAXNAMLEN if
2415 not defined by sys/dirent.h.
2416 * libc/posix/execvp.c: Added include of dirent.h to get
2417 MAXNAMLEN value which used to be in unistd.h.
2419 Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2421 * libc/include/sys/types.h: Change type of i to `size_t' in
2422 FD_ZERO macro to avoid compiler warnings.
2424 Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
2426 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2427 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2429 Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2431 * libc/include/sys/unistd.h: Add defines for sysconf values
2432 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2435 Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
2437 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2438 declarations for __CYGWIN__.
2440 2000-09-19 Geoffrey Keating <geoffk@cygnus.com>
2442 * libc/signal/signal.c (__sigtramp_r): ISO C requires
2443 case labels to be integral constant expressions, so
2444 use an if/else tree instead.
2445 (_raise_r): Likewise.
2447 2000-09-13 Jeff Johnston <jjohnstn@redhat.com>
2449 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2450 clipping patch from e-mail reader.
2452 2000-09-13 Will Cohen <wcohen@redhat.com>
2454 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2455 Added return value 0.
2456 (_longjmp): Allow longjmp to return value of second argument
2459 2000-09-06 Jeff Johnston <jjohnstn@redhat.com>
2461 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2462 inline code to prevent having to include another header file.
2464 Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
2466 * Makefile.am: Fix space vs. tab problem in install-data-local.
2467 * Makefile.in: Regenerate.
2469 Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
2471 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2472 (_EXPARM): New macro for defining a function parameter.
2473 * libc/include/stdlib.h: Use _EXPARM.
2474 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2476 2000-09-05 Manfred Hollstein <manfredh@redhat.com>
2478 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2479 required, as documented in the gnu coding standards.
2480 * Makefile.in: Regenerate.
2482 2000-09-05 Jeff Johnston <jjohnstn@redhat.com>
2484 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2485 make O_NDELAY and O_NONBLOCK have the same value.
2487 2000-08-30 Kazu Hirata <kazu@hxi.com>
2489 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2491 2000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
2493 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2494 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2495 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2498 2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
2500 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2501 * libc/include/string.h: Don't include <sys/types.h>,
2502 as it causes really bad namespace pollution. Don't declare
2503 swab(), it is properly declared in unistd.h.
2505 2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
2507 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2508 (broken) support for non-existent /etc/passwd field "comment".
2510 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2512 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2513 only if _DIRENT_HAVE_D_NAMLEN is defined.
2514 (alphasort): aligned prototype with
2515 libc/sys/cygwin/sys/dirent.h and simplified function body.
2516 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2517 long telldir (DIR *) as mentioned in annex B of POSIX.1
2519 2000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2521 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2522 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2523 Added __CLI and __STI macros (controlled via
2524 _I386MACH_ALLOW_HW_INTERRUPTS macro).
2525 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2526 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2527 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2528 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2529 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2530 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2531 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2532 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2533 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2534 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2535 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2536 for all global entry points.
2537 * libc/machine/i386/setjmp.S: removed code replicated in
2538 libc/machine/i386/i386mach.h and included i386mach.h instead;
2539 Use __CLI and __STI instead of cli and sti.
2541 2000-08-25 DJ Delorie <dj@redhat.com>
2543 * libc/include/sys/unistd.h (environ): this one isn't from the
2546 Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
2548 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2549 environ when compiling under cygwin since it is already declared in
2552 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2554 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2555 like x << y-z to the equivalent x << (y-z).
2556 (d2b): changed if statements with assignment to perform the
2557 assignment prior to the if check.
2558 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2559 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2560 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2561 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2563 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2564 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2566 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2568 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2569 clarify && and || precendence (and to remove pascalism).
2570 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2571 * libm/math/s_infconst.c: added another pair of braces to all
2572 initializers for __infinity (need three: for __infinity[1] array,
2573 for union __dmath, and for i[2]).
2575 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2577 * libc/stdlib/abort.c: changed description: uses "raise" instead of
2578 "getpid" and "kill"; added: uses "write" and "_exit".
2579 Also included unistd.h for "_exit" prototype.
2580 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2581 reent.h for "_fork_r" and "_wait_r" prototypes.
2582 (do_system): changed extern char *environ[] to POSIX-friendly
2583 extern char **environ.
2584 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2586 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2587 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2588 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2589 * libc/reent/openr.c: included fcntl.h for "open" prototype.
2590 * libc/reent/signalr.c: included signal.h for "kill" prototype,
2591 unistd.h for "getpid" prototype.
2592 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2593 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2594 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2595 prototype. Also included stdlib.h for "abort", string.h for
2596 "strdup" and "strncmp" prototypes.
2597 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2598 "strncpy", unistd.h for "read" and "close" prototypes.
2599 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2600 "strcat" prototypes.
2602 2000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
2604 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2605 used later (ifdef __SCLE)
2606 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2607 used later (ifdef MB_CAPABLE)
2608 * libc/string/memset.c (memset): removed unused variables "count"
2609 and "unaligned_addr"
2610 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2611 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2612 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2615 2000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2617 * libc/stdlib/envlock.c: changed documented "__env_lock" and
2618 "__env_unlock" prototype from "void *" or "char *" to
2619 "struct _reent *" to match real function. Also added include
2621 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2622 "__malloc_unlock" prototype from "void *" or "char *" to
2623 "struct _reent *" to match real function.
2624 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2625 prototypes (for getenv_r.c and setenv_r.c).
2627 2000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
2629 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2630 and prototype in cygwin's utmp.h
2632 2000-08-16 Eric Fifer <efifer@sanwaint.com>
2634 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2636 2000-08-09 Nick Clifton <nickc@cygnus.com>
2638 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2639 epilogue and to allow the functions to be used in a Thumb based
2642 2000-08-08 Jeff Johnston <jjohnstn@redhat.com>
2644 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2645 so size of 0 results in nothing being written to string.
2646 Also fixed code so that when size is non-zero, there is only
2647 a maximum of size - 1 characters written to the array and
2648 a nul terminator is appended at the end.
2649 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2651 2000-08-01 DJ Delorie <dj@redhat.com>
2653 * libc/include/sys/config.h: define __IMPORT appropriately
2654 * libc/include/ctype.h (_ctype_): use __IMPORT
2655 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2656 * libc/include/math.h (__mb_cur_max): ditto
2657 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2658 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2659 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2660 * libc/include/unistd.h (environ): ditto
2662 2000-07-28 Michael Meissner <meissner@redhat.com>
2664 * libc/include/math.h (__infinity): Declare as an array without
2665 bounds to get around small data support. Rewrite Cygwin support
2667 * libm/math/s_infconst.c (__infinity): Ditto.
2668 * libm/mathfp/s_infconst.c (__infinity): Ditto.
2670 Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
2672 * libc/include/math.h: Use appropriate dll import linkage for
2673 __infinity under Cygwin.
2675 2000-07-13 DJ Delorie <dj@cygnus.com>
2677 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2679 Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
2681 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2682 to argument list for AngelSWI_Reason_GetCmdLine.
2684 Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2686 * configure.host: Add support for AVR target.
2687 * libc/include/machine/ieeefp.h: Likewise.
2688 * libc/include/sys/config.h: Likewise.
2690 Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2692 * README: Newlib 1.8.2 must be built in a separate directory
2695 Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2697 * libc/include/sys/reent.h (_rand_next): Added __extension__
2698 qualifier as long long type is not strict ANSI.
2699 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2700 to long long constant.
2702 Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
2704 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2705 `setegid' provided by Cygwin.
2707 Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
2709 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2712 Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2714 * libc/include/sys/reent.h (_rand_next): Changed to
2715 unsigned long long and moved to end of _reent struct in _new union.
2716 (_REENT_INIT): Changed to move _rand_next initialization.
2717 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2718 linear congruential algorithm that is used by DJGPP.
2720 Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2722 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2723 * libc/include/sys/config.h: Define __RAND_MAX.
2725 Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2727 * libc/stdlib/rand_r.c: New algorithm that meets minimal
2730 Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
2732 * libc/include/string.h: Work around problem with strsignal and gdb.
2734 Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
2736 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2737 * libc/include/malloc.h: Ditto.
2738 * libc/include/process.h: Ditto.
2739 * libc/include/stdio.h: Ditto.
2740 * libc/include/stdlib.h: Ditto.
2741 * libc/include/time.h: Ditto.
2742 * libc/include/machine/setjmp.h: Ditto.
2743 * libc/include/sys/errno.h: Ditto.
2744 * libc/include/sys/signal.h: Ditto.
2745 * libc/include/sys/stat.h: Ditto.
2746 * libc/include/sys/time.h: Ditto.
2747 * libc/include/sys/unistd.h: Ditto.
2748 * libc/include/string.h: Ditto. strsignal should return a const char *.
2750 2000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
2752 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2753 * libm/common/s_log1p.c (log1p): Likewise.
2754 * libm/common/s_scalbn.c (scalbn): Likewise.
2755 * libm/math/e_log.c: Likewise.
2756 * libm/math/e_asin.c: Likewise.
2757 * libm/math/ef_asin.c: Likewise.
2758 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2759 * libm/math/e_j1.c (pone, qone): Likewise.
2760 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2761 * libm/math/ef_j1.c (ponef, qonef): Likewise.
2762 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2763 * libm/mathfp/e_j1.c (pone, qone): Likewise.
2764 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2765 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2767 2000-05-19 DJ Delorie <dj@cygnus.com>
2769 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2770 (__sread): always read in binary mode
2771 (__swrite): always write in binary mode
2772 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2773 compatibility issues with different dll versions
2774 * libc/stdio/fopen.c: use __stextmode
2775 * libc/stdio/fdopen.c: ditto
2776 * libc/stdio/freopen.c: ditto
2777 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2778 * libc/stdio/local.h: declare __stextmode
2780 2000-05-18 DJ Delorie <dj@cygnus.com>
2782 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
2784 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2786 * libc/include/ctype.h: Changed tolower and toupper macros
2787 to use __extension__ to prevent pedantic warnings.
2789 Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
2791 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
2794 Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
2796 * libc/include/machine/ieeefp.h: Add ia64 support.
2797 * configure.host: Likewise.
2799 Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
2801 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
2802 month is now padded with space, not zero. This now conforms to
2805 Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
2807 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
2808 host or network path") used by cygwin. Add some comments.
2810 Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
2812 * libc/include/stdio.h (FILE): define __SCLE for "convert line
2813 endings" for Cygwin.
2814 (__sgetc): convert line endings if needed
2816 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
2817 * libc/stdio/fopen.c (_fopen_r): ditto
2818 * libc/stdio/freopen.c (freopen): ditto
2819 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
2820 * libc/stdio/fvwrite.c (__sfvwrite): ditto
2822 Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
2824 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
2825 post-increment when it is worth it, spacewise.
2827 Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2829 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
2830 * libc/stdio/findfp.c (std): Added declaration of flags and file.
2831 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
2833 * libc/stdio/putchar.c (putchar): Added return statement.
2834 * libc/stdio/refill.c (lflush): Added correct parentheses.
2835 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
2836 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
2837 prints long value to use l qualifier.
2838 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
2839 messages and initialized local values: ilim, ilim1, and spec_case.
2840 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
2841 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
2842 * libc/stdlib/mprec.c: Ditto.
2843 * libc/stdlib/setenv_r.c: Ditto.
2844 * libc/stdlib/strtod.c: Ditto.
2845 * libc/stdlib/strtol.c: Ditto.
2846 * libc/stdlib/strtoul.c: Ditto.
2847 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
2848 * libm/common/sf_log1p.c: Ditto.
2849 * libm/common/sf_scalbn.c: Ditto.
2850 * libm/math/ef_log.c: Ditto.
2852 Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
2854 * libc/posix/execvp.c (execvp): Check path for
2857 Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
2859 * libc/include/sys/unistd.h: Add prototypes for
2860 fchmod, fchown, lchown.
2862 Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2864 * acinclude.m4: Changed release to 1.8.2.
2865 * aclocal.m4 configure doc/aclocal.m4 doc/configure
2866 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
2867 libc/machine/configure libc/machine/a29k/aclocal.m4
2868 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
2869 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
2870 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
2871 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
2872 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
2873 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
2874 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
2875 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
2876 libc/machine/i386/configure libc/machine/i960/aclocal.m4
2877 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
2878 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
2879 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
2880 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
2881 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
2882 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
2883 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
2884 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
2885 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
2886 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
2887 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
2888 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
2889 libc/machine/v850/configure libc/machine/w65/aclocal.m4
2890 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
2891 libc/machine/z8k/configure libc/sys/aclocal.m4
2892 libc/sys/aclocal.m4 libc/sys/configure
2893 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2894 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2895 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2896 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2897 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2898 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2899 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2900 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2901 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2902 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2903 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2904 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2905 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2906 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2907 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2908 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2909 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2910 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2911 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2912 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2913 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2914 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2915 libm/aclocal.m4 libm/configure: Regenerated.
2917 2000-03-24 Nick Clifton <nickc@cygnus.com>
2919 * libc/sys/arm/syscalls.c: Fix compile time warnings.
2920 (do_AngelSWI): Add "cc" to list o registers clobbered.
2922 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
2924 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
2925 information to be clobbered by an Angel C library support syscall.
2927 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2929 * libc/stdlib/envlock.c: Fixed comment typo.
2931 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2933 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
2934 code to update nread as each character is processed instead
2935 of using buffer contents which throw away leading zeroes.
2937 Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
2939 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2941 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
2943 * libc/include/string.h: Include <sys/types.h>.
2945 Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2947 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
2948 with XSH5, not SVID.
2950 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2952 * libc/include/string.h: Changed last argument back to ssize_t
2953 to make it compatible with XPG4 definition which is
2954 defined in <unistd.h>. There is a conflict in the SVID 3
2955 and XPG4 definitions and newlib will settle with XPG4.
2956 * libc/string/swab.c: Ditto.
2958 Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
2960 * libc/include/string.h: Changed last argument to size_t.
2961 * libc/string/swab.c: Changed last argument to size_t.
2963 Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2965 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
2966 (CHEWOUT_FILES): Added unlinkr.def.
2967 * libc/reent/Makefile.in: Rebuilt.
2968 * libc/sys.tex: Include unlinkr.def.
2969 * libc/reent/linkr.c (_unlink_r): Moved to...
2970 * libc/reent/unlinkr.c: ... new file.
2972 Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2974 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
2975 (CHEWOUT_FILES): Added swab.def.
2976 * libc/string/Makefile.in: Rebuilt.
2977 * libc/string/string.tex: Include swab.def.
2978 * libc/include/string.h (swab): Declare.
2979 * libc/string/swab.c: New file.
2981 Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2983 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
2984 (CHEWOUT_FILES): Added getw.def and putw.def.
2985 * libc/stdio/Makefile.in: Rebuilt.
2986 * libc/stdio/stdio.tex: Include getw.def and putw.def.
2987 * libc/stdio/getw.c: New file.
2988 * libc/stdio/putw.c: New file.
2990 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
2992 * libc/stdio/flags.c (__sflags): Added check that mode[1]
2993 is non-null before looking at mode[2].
2995 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
2997 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
2998 * libm/mathfp/sf_atan.c: Ditto.
3000 Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
3002 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3004 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3006 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3009 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3011 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3012 call prior to calling _VFPRINTF_R so reentrant data area is set.
3013 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3015 Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3017 * libc/stdio/vfscanf.c (limits.h): #include.
3018 (MAX_LONG_LEN): #define.
3019 (__svfscanf): Handle floating point numbers with arbitrary amounts
3022 2000-02-15 Nick Clifton <nickc@cygnus.com>
3024 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3025 zero. Set the blocksize to 1024/
3027 Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3029 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
3030 with line buffering.
3032 Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3034 * acinclude.m4: Changed include directory for winsup headers.
3035 * aclocal.m4 configure libc/aclocal.m4
3036 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3037 libc/locale/Makefile.in libc/machine/aclocal.m4
3038 libc/machine/configure libc/machine/a29k/aclocal.m4
3039 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3040 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3041 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3042 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3043 libc/machine/fr30/configure
3044 libc/machine/h8300/aclocal.m4
3045 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3046 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3047 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3048 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3049 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3050 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3051 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3052 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3053 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3054 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3055 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3056 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3057 libc/machine/powerpc/configure
3058 libc/machine/sh/aclocal.m4
3059 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3060 libc/machine/sparc/configure
3061 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3062 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3063 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3064 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3065 libc/misc/Makefile.in libc/posix/Makefile.in
3066 libc/reent/Makefile.in
3067 libc/signal/Makefile.in
3068 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3069 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3070 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3071 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3072 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3073 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3074 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3075 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3076 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3077 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3078 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3079 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3080 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3081 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3082 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3083 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3084 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3085 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3086 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3087 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3088 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3089 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3090 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3091 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3092 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3093 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3094 libm/configure: Regenerated.
3096 Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
3098 * libc/stdlib/putenv_r.c (_putenv_r): New file.
3099 * libc/stdlib/strdup_r.c (_strdup_r): New file.
3100 * libc/include/string.h: Added _strdup_r.
3101 * libc/stdlib/putenv.c: Added call to reentrant version.
3102 * libc/stdlib/strdup.c: Ditto.
3103 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3104 * libc/include/stdlib.h: Ditto.
3105 * libc/stdlib/Makefile.in: Regenerated.
3106 * libc/string/Makefile.in: Regenerated.
3107 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3108 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3109 management calls to reentrant versions.
3110 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3111 * libc/stdlib/wctomb.c: Ditto.
3112 * libc/stdlib/mblen.c: Ditto.
3113 * libc/stdlib/mbstowcs.c: Ditto.
3114 * libc/stdlib/mbtowc.c: Ditto.
3115 * libc/stdlib/getenv.c: Ditto.
3116 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3119 Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
3121 patch from Corinna Vinschen <corinna@vinschen.de>
3122 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3124 Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
3126 * libm/mathfp/s_atangent.c: Fix exponent calculation.
3127 * libm/mathfp/s_ldexp.c: Ditto.
3128 * libm/mathfp/sf_atangent.c: Ditto.
3129 * libm/mathfp/sf_ldexp.c: Ditto.
3131 Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3133 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3134 * libc/include/locale.h: define NULL to be 0.
3136 Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
3138 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3141 Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
3143 * libc/machine/mn10300/setjmp.S: Handle am33.
3145 1999-11-26 Nick Clifton <nickc@cygnus.com>
3147 * libc/sys/arm/syscalls.c: Add function prototypes.
3148 (stack_ptr): Move declaration before function definitions.
3150 Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3152 * NEWS: Updated version information.
3155 Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
3157 * libc/machine/i386/strchr.S: Fixed alignment test.
3159 Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
3161 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3163 Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3165 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3166 ensuring that there is space between the two.
3168 Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
3170 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3173 1999-10-08 Vadim Egorov <egorovv@1c.ru>
3175 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3178 Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3180 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3181 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3183 Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
3184 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3186 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3189 1999-09-13 DJ Delorie <dj@cygnus.com>
3191 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3194 Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3196 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
3197 also note BUFSIZ as its size.
3199 Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
3201 * configure.host: Corrected feature defines for RTEMS.
3202 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3203 * libc/include/sys/stat.h: mkfifo() should take const path arg.
3204 * libc/include/sys/unistd.h: pathconf() should take const path arg.
3205 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3206 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3207 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
3208 _PC_PRIO_IO, and _PC_SYNC_IO.
3209 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3210 * libc/machine/m68k/Makefile.in: Regenerated.
3211 * libc/machine/m68k/strcpy.c: New file.
3212 * libc/machine/m68k/strlen.c: New file.
3213 * libc/stdio/tmpnam.c: Always make the returned name usable.
3214 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3215 * libc/sys/rtems/sys/dirent.h: New file.
3216 * libc/sys/rtems/sys/types.h: Added dev_t.
3218 Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
3220 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3222 Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
3224 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3227 Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
3229 patch from Jeff Johnston <jjohnstn@cygnus.com>
3230 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3231 buffer is not in a useful state.
3233 1999-09-01 Nick Clifton <nickc@cygnus.com>
3235 * libc/sys/arm/syscalls.c (_link): Add stub.
3237 Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3239 * ftell.c (ftell): Use actual position within buffer for text mode.
3240 * findfp.c (std): Initialize ptr->_bf._size.
3242 Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
3244 * libc/include/sys/unistd.h: Add nice() declaration.
3246 1999-08-09 Nick Clifton <nickc@cygnus.com>
3248 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3249 declare as a thumb function so that the disassembler will see the
3252 Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3254 * libc/reent/reent.tex: Updated list of reentrant functions.
3256 1999-07-09 Michael Meissner <meissner@cygnus.com>
3258 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3260 Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
3262 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3264 * libc/stdio/snprintf.c: New file.
3265 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3267 * libc/stdio/vsnprintf.c: New file.
3268 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3269 * libc/stdio/Makefile.in: Regenerated.
3271 Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
3273 Patch submitted by Egor Duda <deo@logos-m.ru>:
3274 * libc/include/stdio.h: Add declarations for *nprintf.
3275 * libc/stdio/sprintf.c (snprintf): New function.
3276 (_snprintf_r): New function.
3277 * libc/stdio/vsprintf.c (vsnprintf): New function.
3278 (_vnsprintf_r): New function.
3280 Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3282 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3283 * libm/Makefile.am (stmp-targetdep): Ditto.
3284 * libc/Makefile.in: Regenerated.
3285 * libm/Makefile.in: Ditto.
3287 Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3289 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3290 * libm/Makefile.am (stmp-targetdep): Ditto.
3291 * libc/Makefile.in: Regenerated.
3292 * libm/Makefile.in: Ditto.
3294 Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3296 * Makefile.am: Removed dependencies on all-recursive and added "."
3297 to the SUBDIRS list to prevent infinite recursion from occurring.
3298 Also removed any references to EXTRA_DATA.
3299 * libc/Makefile.am: Ditto.
3300 * libc/machine/Makefile.am: Ditto.
3301 * libc/machine/i386/Makefile.am: Ditto.
3302 * libm/Makefile.am: Ditto.
3303 * libc/sys/Makefile.am: Ditto.
3304 * Makefile.in: Regenerated.
3305 * aclocal.m4: Ditto.
3307 * doc/Makefile.in: Ditto.
3308 * doc/aclocal.m4: Ditto.
3309 * doc/configure: Ditto.
3310 * libc/Makefile.in: Ditto.
3311 * libc/aclocal.m4: Ditto.
3312 * libc/configure: Ditto.
3313 * libc/machine/Makefile.in: Ditto.
3314 * libc/machine/aclocal.m4: Ditto.
3315 * libc/machine/configure: Ditto.
3316 * libc/machine/mn10300/Makefile.in: Ditto.
3317 * libc/machine/mn10300/aclocal.m4: Ditto.
3318 * libc/machine/mn10300/configure: Ditto.
3319 * libc/sys/Makefile.in: Ditto.
3320 * libc/sys/aclocal.m4: Ditto.
3321 * libc/sys/configure: Ditto.
3322 * libm/Makefile.in: Ditto.
3323 * libm/aclocal.m4: Ditto.
3324 * libm/configure: Ditto.
3326 Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3328 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3330 Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3332 * libc/include/stdlib.h: Add reentrant routines.
3333 * libc/stdlib/Makefile.am: Add reentrant routines.
3334 * libc/stdlib/Makefile.in: Ditto.
3335 * libc/stdlib/envlock.c: New file.
3336 * libc/stdlib/envlock.h: New file.
3337 * libc/stdlib/getenv.c: Modify to call reentrant routine.
3338 * libc/stdlib/getenv_r.c: New file.
3339 * libc/stdlib/mblen.c: Modify to call reentrant routine.
3340 * libc/stdlib/mblen_r.c: New file.
3341 * libc/stdlib/setenv.c: Modify to call reentrant routine.
3342 * libc/stdlib/setenv_r.c: New file.
3343 * libc/stdlib/stdlib.tex: Add reentrant routines.
3345 Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
3347 * libc/include/sys/types.h: Define __MS_types__ whenever
3350 Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
3352 * libc/include/machine/ieeefp.h: Always default to little
3353 endian if Windows, regardless of architecture.
3354 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3355 regardless of architecture.
3357 Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
3359 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3360 _WIN32 isn't defined.
3362 Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
3364 * libm/common/s_rint.c (rint): Add volatile qualifier for
3365 intermediate value w.
3366 * libm/common/sf_rint.c (rintf): Ditto.
3368 Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3370 * libc/sys/arm/syscalls.c (remap_handle): Added check to
3371 ensure that std streams are initialized before being referenced.
3373 1999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
3375 * README: Update reference to newlib@cygnus.com new
3376 newlib@sourceware.cygnus.com address.
3378 Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
3380 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3381 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3382 defined, even if _WIN32 isn't defined.
3384 Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
3386 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3388 Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3390 * libc/include/sys/reent.h: Change Long and ULong to __Long and
3392 * libc/stdlib/dtoa.c: Ditto.
3393 * libc/stdlib/mprec.c: Ditto.
3394 * libc/stdlib/mprec.h: Ditto.
3395 * libc/stdlib/strtod.c: Ditto.
3397 1999-04-21 Nick Clifton <nickc@cygnus.com>
3399 * configure.host (mcore): Remove mcore machine directory.
3401 1999-04-18 Nick Clifton <nickc@cygnus.com>
3403 * libc/include/machine/ieeefp.h: Add support for mcore target.
3404 * libc/include/machine/setjmp.h: Add support for mcore target.
3405 * configure.host: Add support for mcore target.
3407 1999-04-13 Mark Salter <msalter@cygnus.com>
3409 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3410 * libc/sys/arm/syscalls.c: Added isatty.
3412 Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3414 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3415 insert zeroes after significant digits.
3417 Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3419 * libc/stdio/vfprintf.c (cvt): Changed floating point
3420 cvt routine to use union used by dtoa to properly determine
3421 if the sign bit is on or not.
3422 * libc/stdio/vfieeefp.h: New file
3424 Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3426 * aclocal.m4: Regenerated.
3427 * configure: Regenerated.
3429 Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3431 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3433 * libc/machine/i386/Makefile.in: Regenerated.
3435 Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
3437 * acinclude.m4: Changed to work with new automake.
3438 * configure: Regenerated.
3439 * libc/machine/i386/aclocal.m4: Regenerated.
3440 * libc/machine/i386/configure: Regenerated.
3442 Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
3444 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3445 for telldir() and seekdir(). Rename unused structure element
3446 for use with these two routines.
3448 Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
3450 * libc/time/mktime.c (validate_structure): Multiple fixes to
3451 code to handle cases where input fields are outside valid ranges.
3452 * libc/stdlib/div.c (div): Modified invalid rounding check.
3453 * libc/stdlib/ldiv.c (ldiv): Ditto.
3455 Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
3457 * libc/machine/i386/memcpy.S: Performance rewrite.
3458 * libc/machine/i386/memmove.S: Ditto.
3459 * libc/machine/i386/i386mach.h: Added more register definitions.
3460 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3462 * libc/include/machine/fastmath.h: Add definitions for x86
3465 Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3467 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3469 Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
3471 Adjust newlib headers for new Cygwin Win32 API header files:
3472 * libc/include/sys/time.h: Check _WINSOCK_H rather than
3473 _GNU_H_WINDOWS32_SOCKETS.
3474 * libc/include/sys/types.h: Ditto.
3476 Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3478 *include/sys/reent.h: Add checks for size of Bigint element Long.
3479 *libc/dtoa.c: Change routines to use generic Long type.
3480 *libc/mprec.c: Change routines to use generic Long type.
3481 *libc/mprec.h: Change routines to use generic Long type.
3483 Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
3485 * libc/Makefile.am: Add .def files.
3486 * libc/Makefile.in: Regenerate.
3487 * libc/e_acosh.c: Documentation update.
3488 * libc/e_atanh.c: Documentation update.
3489 * libc/e_hypot.c: Documentation update.
3490 * libc/e_remainder.c: Documentation update.
3491 * libc/er_lgamma.c: Documentation update.
3492 * libc/mathfp.tex: Documentation update.
3493 * libc/s_acos.c: Documentation update.
3494 * libc/s_atan.c: Documentation update.
3495 * libc/s_atan2.c: Documentation update.
3496 * libc/s_cosh.c: Documentation update.
3497 * libc/s_fmod.c: Documentation update.
3498 * libc/s_isnan.c: Documentation update.
3499 * libc/s_log10.c: Documentation update.
3500 * libc/s_pow.c: Documentation update.
3501 * libc/w_jn.c: Documentation update.
3503 Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
3505 * aclocal.m4: Regenerate.
3506 * configure: Regenerate.
3508 Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
3510 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3511 to return 1 if user specified return code is 0.
3512 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3514 Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
3516 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3517 to save the return address. Fixed longjmp to return to the original
3518 calling address of setjmp and to return the user specified return code
3519 rather than default to 1.
3520 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3522 Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
3524 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3526 1999-02-10 Nick Clifton <nickc@cygnus.com>
3528 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3529 volatile so that its assignments will not be discarded.
3531 Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
3533 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3534 be __STRICT_ANSI__ which is generated by compiler.
3535 * libc/include/ctype.h: Ditto.
3536 * libc/include/math.h: Ditto.
3537 * libc/include/stdio.h: Ditto.
3538 * libc/include/stdlib.h: Ditto.
3539 * libc/include/string.h: Ditto.
3540 * libc/include/sys/signal.h: Ditto.
3542 1999-02-08 Nick Clifton <nickc@cygnus.com>
3544 * configure.host: Add support for StrongARM target.
3546 Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
3548 * libc/string/strncpy.c (strncpy): Removed redundant code
3549 that was copying bytes if data unaligned.
3551 1999-02-02 Brendan Kehoe <brendan@cygnus.com>
3553 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3554 mbstowcs.def, and wcstombs.def.
3556 Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
3558 * libc/include/sys/errno.h: Add Cygwin errno.
3559 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3562 1999-01-29 Nick Clifton <nickc@cygnus.com>
3564 * libc/sys/arm/syscalls.c: Move C library functions into seperate
3567 * libc/sys/arm/libcfunc.c: New file containing C library functions
3570 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3571 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3574 1999-01-27 Michael Meissner <meissner@cygnus.com>
3576 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3577 type, and cut size in half so that the jmp_buf array is guaranteed
3578 to be aligned on a 64-bit boundary.
3580 Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
3582 * libc/string/strings.tex: Added information about
3583 strcasecmp and strncasecmp.
3584 * libc/stdlib/stdlib.tex: Added missing information
3585 about mblen, mbstowcs, and wcstombs.
3586 * libc/string/strchr.c: Changed how mask is built to use
3587 shift operators so register will be used instead of storage.
3589 1999-01-22 DJ Delorie <dj@cygnus.com>
3591 * libc/include/stdlib.h: don't use dllimport if we're building
3592 newlib, since it's inside cygwin.dll
3594 Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
3596 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3597 _ctype_ under cygwin.
3599 Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
3601 * include/stdlib.h: Fix typo from previous checkin.
3603 Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
3605 * include/ctype.h: Use __declspec(dllimport) method for exporting
3606 variable from cygwin DLL.
3607 * include/time.h: Ditto.
3608 * sys/errno.h: Ditto.
3609 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3610 * libc/locale/locale.c: Use __declspec(dllexport) method for
3611 exporting variable from cygwin DLL.
3613 Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
3615 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3616 access of bogus pointer will result in SIGSEGV.
3618 1999-01-07 Nick Clifton <nickc@cygnus.com>
3620 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3621 of an underscore prefix to function names.
3623 Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
3625 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3626 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3628 1998-12-31 Michael Meissner <meissner@cygnus.com>
3630 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3631 to `%' if not already defined.
3633 1998-12-30 Michael Meissner <meissner@cygnus.com>
3635 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3636 arguments const char *, not char *.
3637 * libc/include/stdio.h (_tempnam_r): Ditto.
3639 * libc/include/sys/reent.h (struct _reent): The _sig_func type
3640 points to a function taking an integer, not void.
3642 Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
3644 * configure.host: Add a define for Cygwin builds.
3645 * libc/include/ctype.h: Don't use dll imported variables in newlib.
3647 Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
3649 * libc/include/ctype.h: Define _ctype_ as dll imported variable
3650 for use with Cygwin.
3651 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3652 dll imported variables for use with Cygwin.
3653 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3654 as a dll imported variable for Cygwin.
3656 Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
3658 * libc/include/sys/unistd.h: Add proto for getpass.
3660 Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
3662 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3665 Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
3667 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3668 not posix_path_list_p.
3670 1998-12-15 Nick Clifton <nickc@cygnus.com>
3672 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3675 1998-12-13 Nick Clifton <nickc@cygnus.com>
3677 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3679 1998-12-12 Nick Clifton <nickc@cygnus.com>
3681 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3682 <msalter@cygnus.com>
3683 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3684 * libc/machine/fr30/Makefile.in: Regenerated.
3686 1998-12-11 Nick Clifton <nickc@cygnus.com>
3688 * configure.host: Remove use of libc/sys for FR30 port.
3689 * libc/sys/fr30: Remove directory (replaced by libgloss).
3691 1998-12-10 Ken Raeburn <raeburn@cygnus.com>
3693 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3694 * libc/string/strncat.c (ALIGNED): Ditto.
3696 Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
3698 * libc/include/sys/time.h: include sys/types.h
3700 Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
3702 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3703 comparison found when checking word at a time.
3705 1998-12-04 Nick Clifton <nickc@cygnus.com>
3707 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3709 1998-12-03 Nick Clifton <nickc@cygnus.com>
3711 * libc/sys/fr30/syscalls.c (_times): New function stub.
3713 Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3715 * configure.host (mach_add_setjmp): Replaced mach_add_objs
3716 with mach_add_setjmp flag which indicates if setjmp should
3717 be added to the machine directory objects.
3718 * acinclude.m4: Removed reference to mach_add_objs.
3719 * aclocal.m4: Regenerated.
3720 * Makefile.in: Regenerated.
3721 * configure: Regenerated.
3722 * libc/aclocal.m4: Regenerated.
3723 * libc/Makefile.in: Regenerated.
3724 * libc/configure: Regenerated.
3725 * libc/machine/aclocal.m4: Regenerated.
3726 * libc/machine/Makefile.in: Regenerated.
3727 * libc/machine/configure: Regenerated.
3728 * libc/machine/i386/aclocal.m4: Regenerated.
3729 * libc/machine/i386/Makefile.am: Altered to selectively add
3730 setjmp.S to the src files list.
3731 * libc/machine/i386/Makefile.in: Regenerated.
3732 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3733 * libc/machine/i386/configure: Regenerated.
3735 1998-12-02 Nick Clifton <nickc@cygnus.com>
3737 * libc/sys/fr30/crt0.s (_start): Fix function names.
3739 * libc/machine/fr30: New directory
3740 * libc/machine/fr30/Makefile.am: New file.
3741 * libc/machine/fr30/Makefile.in: New generated file.
3742 * libc/machine/fr30/configure.in: New file.
3743 * libc/machine/fr30/configure: New generated file.
3744 * libc/machine/fr30/aclocal.m4: New generated file.
3745 * libc/sys/fr30/Makefile.am: New file.
3746 * libc/sys/fr30/Makefile.in: New generated file.
3747 * libc/sys/fr30/configure.in: New file.
3748 * libc/sys/fr30/configure: New generated file.
3749 * libc/sys/fr30/syscalls.c: New file.
3751 Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
3753 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3755 1998-12-01 Ken Raeburn <raeburn@cygnus.com>
3757 * libc/time/strftime.c (strftime): Also handle %y for years before
3760 Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
3762 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3763 UNIX convention. Perform tolower on characters before comparing
3764 them rather than use toupper.
3765 * libc/string/strncasecmp.c (strncasecmp): Ditto.
3767 Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3769 * configure.host: Added using i386 machine directory
3770 for all x86 cross-compiler and configuring
3771 which added object files to use via new "mach_add_objs" variable.
3772 * configure: Regenerated.
3773 * libc/configure: Regenerated.
3774 * libc/Makefile.in: Regenerated.
3775 * libc/aclocal.m4: Regenerated.
3776 * libc/ctype/Makefile.in: Regenerated.
3777 * libc/errno/Makefile.in: Regenerated.
3778 * libc/locale/Makefile.in: Regenerated.
3779 * libc/machine/Makefile.in: Regenerated.
3780 * libc/machine/aclocal.m4: Regenerated.
3781 * libc/machine/configure: Regenerated.
3782 * libc/posix/Makefile.in: Regenerated.
3783 * libc/reent/Makefile.in: Regenerated.
3784 * libc/signal/Makefile.in: Regenerated.
3785 * libc/stdio/Makefile.in: Regenerated.
3786 * libc/stdlib/Makefile.in: Regenerated.
3787 * libc/string/Makefile.in: Regenerated.
3788 * libc/string/memmove.c: Optimized code to use memcpy
3789 logic when performing a non-destructive copy.
3790 * libc/string/strncmp.c: Altered code to allow building
3791 optimized for size or speed.
3792 * libc/syscalls/Makefile.in: Regenerated.
3793 * libc/time/Makefile.in: Regenerated.
3794 * libc/unix/Makefile.in: Regenerated.
3795 * libc/machine/i386/Makefile.am: Added new files and reference
3796 to "mach_add_objs" to indicate optional object files.
3797 * libc/machine/i386/Makefile.in: Regenerated.
3798 * libc/machine/i386/aclocal.m4: Regenerated.
3799 * libc/machine/i386/configure: Regenerated.
3800 * libc/machine/i386/memchr.S: New file that implements
3801 function in Intel assembler.
3802 * libc/machine/i386/memcmp.S: ditto.
3803 * libc/machine/i386/memcpy.S: ditto.
3804 * libc/machine/i386/memmove.S: ditto.
3805 * libc/machine/i386/memset.S: ditto.
3806 * libc/machine/i386/strchr.S: ditto.
3807 * libc/machine/i386/strlen.S: ditto.
3808 * libc/machine/i386/f_atan2.S: New file that implements
3809 fast version of math function to be used by compiler when
3810 --ffast_math compile option is used.
3811 * libc/machine/i386/f_atan2f.S: ditto.
3812 * libc/machine/i386/f_exp.c: ditto.
3813 * libc/machine/i386/f_expf.c: ditto.
3814 * libc/machine/i386/f_frexp.S: ditto.
3815 * libc/machine/i386/f_frexpf.S: ditto.
3816 * libc/machine/i386/f_ldexp.S: ditto.
3817 * libc/machine/i386/f_ldexpf.S: ditto.
3818 * libc/machine/i386/f_log.S: ditto.
3819 * libc/machine/i386/f_logf.S: ditto.
3820 * libc/machine/i386/f_log10.S: ditto.
3821 * libc/machine/i386/f_log10f.S: ditto.
3822 * libc/machine/i386/f_math.h: New file.
3823 * libc/machine/i386/f_pow.c: ditto.
3824 * libc/machine/i386/f_powf.S: ditto.
3825 * libc/machine/i386/f_tan.S: ditto.
3826 * libc/machine/i386/f_tan.S: ditto.
3827 * libc/machine/i386/i386mach.h: New file.
3829 Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
3831 patch from Mumit Khan <khan@xraylith.wisc.edu>
3832 * libc/include/stdio.h (tempnam): Add prototype.
3833 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
3834 (tempnam): Adhere to prototype.
3836 Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
3838 * Makefile.am: Add default for AR_FLAGS.
3839 * Makefile.in: Regenerate.
3841 Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
3843 * libc/include/time.h: move __cplusplus wrapper after includes
3844 * libc/include/sys/time.h: ditto. If Cygwin, include
3846 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
3848 1998-11-23 Ken Raeburn <raeburn@cygnus.com>
3850 * libc/time/strftime.c (strftime): Handle %y after year 2000.
3852 Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
3854 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
3855 abnormnal end-of-crt0 marker.
3857 Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
3859 * libc/sys/fr30/crt0.s: New file/directory.
3860 * libc/include/machine/setjmp.h: Add FR30 target.
3861 * libc/include/machine/ieeefp.h: Add FR30 target.
3862 * configure.host: Add FR30 target.
3864 Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3866 * libm/math: Files that are duplicated in common directory removed.
3867 * libm/math/fdlibm.h: Removed.
3868 * libm/math/s_cbrt.c: Removed.
3869 * libm/math/s_copysign.c: Removed.
3870 * libm/math/s_expm1.c: Removed.
3871 * libm/math/s_finite.c: Removed.
3872 * libm/math/s_ilogb.c: Removed.
3873 * libm/math/s_infinity.c: Removed.
3874 * libm/math/s_lib_ver.c: Removed.
3875 * libm/math/s_log1p.c: Removed.
3876 * libm/math/s_logb.c: Removed.
3877 * libm/math/s_matherr.c: Removed.
3878 * libm/math/s_modf.c: Removed.
3879 * libm/math/s_nan.c: Removed.
3880 * libm/math/s_nextafter.c: Removed.
3881 * libm/math/s_rint.c: Removed.
3882 * libm/math/s_scalbn.c: Removed.
3883 * libm/math/sf_cbrt.c: Removed.
3884 * libm/math/sf_copysign.c: Removed.
3885 * libm/math/sf_expm1.c: Removed.
3886 * libm/math/sf_finite.c: Removed.
3887 * libm/math/sf_ilogb.c: Removed.
3888 * libm/math/sf_infinity.c: Removed.
3889 * libm/math/sf_log1p.c: Removed.
3890 * libm/math/sf_logb.c: Removed.
3891 * libm/math/sf_modf.c: Removed.
3892 * libm/math/sf_nan.c: Removed.
3893 * libm/math/sf_nextafter.c: Removed.
3894 * libm/math/sf_rint.c: Removed.
3895 * libm/math/sf_scalbn.c: Removed.
3896 * libm/math/Makefile.am: Removed references to deleted files (above).
3897 * libm/math/Makefile.in: Regenerated.
3898 * libm/Makefile.am: Added common directory to math.
3899 * libm/Makefile.in: Regenerated.
3901 Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
3903 * libm/mathfp: Add non-ANSI functions.
3904 * libm/mathfp/e_acosh.c acosh(): New file.
3905 * libm/mathfp/e_atanh.c atanh(): New file.
3906 * libm/mathfp/e_hypot.c hypot(): New file.
3907 * libm/mathfp/e_j0.c j0(): New file.
3908 * libm/mathfp/e_j1.c j1(): New file.
3909 * libm/mathfp/e_remainder.c remainder(): New file.
3910 * libm/mathfp/e_scalb.c scalb(): New file.
3911 * libm/mathfp/ef_acosh.c acoshf(): New file.
3912 * libm/mathfp/ef_atanh.c atanhf(): New file.
3913 * libm/mathfp/ef_hypot.c hypotf(): New file.
3914 * libm/mathfp/ef_j0.c j0f(): New file.
3915 * libm/mathfp/ef_j1.c j1f(): New file.
3916 * libm/mathfp/ef_remainder.c remainderf(): New file.
3917 * libm/mathfp/ef_scalb.c scalbf(): New file.
3918 * libm/mathfp/er_gamma.c gamma_r: New file.
3919 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
3920 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
3921 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
3922 * libm/mathfp/w_cabs.c cabs(): New file.
3923 * libm/mathfp/w_drem.c drem(): New file.
3924 * libm/mathfp/w_jn.c jn(): New file.
3925 * libm/mathfp/wf_cabs.c cabsf(): New file.
3926 * libm/mathfp/wf_drem.c dremf(): New file.
3927 * libm/mathfp/wf_jn.c jnf(): New file.
3929 Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
3931 * libc/sys/cygwin32: remove directory and contents
3932 * libc/sys/cygwin: and add back, losing the "32".
3933 * configure.host: check for cygwin* instead of cygwin32.
3934 * acinclude.m4: ditto.
3935 * aclocal.m4: regenerate with aclocal
3936 * configure: regenerate with autoconf
3938 Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
3940 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
3943 Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
3945 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
3946 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
3947 to make rand/srand, strtok, asctime, localtime, w_gamma,
3948 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
3949 time.h to bring in struct tm definition.
3950 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
3951 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
3952 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
3953 instead of static variable.
3954 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
3955 struct reent instead of static variable.
3956 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
3957 struct reent instead of static variable.
3958 * libm/math/Makefile.am: Removed s_signgam.o.
3959 * libm/math/Makefile.in: Regenerated.
3960 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
3961 struct reent instead of global variable 'signgam'.
3962 * libm/math/w_lgamma.c (lgamma): Likewise.
3963 * libm/math/wf_gamma.c (gammaf): Likewise.
3964 * libm/math/wf_lgamma.c (lgammaf): Likewise.
3965 * libm/math/s_signgam.c: Removed.
3966 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
3968 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
3970 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
3971 libc/include/reent.h.
3972 * libc/reent/Makefile.in: Regenerated.
3973 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
3975 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
3976 'JIS_action_table' to be const.
3977 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
3979 Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
3981 * acinclude.m4: $with_target_subdir should default to '.'
3982 or confusion results when configuring in same directory as sources.
3983 * Regenerate all aclocal.m4 and configure files.
3985 Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
3987 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
3988 can be set by defining MALLOC_ALIGNMENT=16. Also added support
3989 for platforms where sizeof(size_t) < sizeof(long) via
3990 SIZE_T_SMALLER_THAN_LONG macro.
3992 Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
3994 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
3995 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
3996 which sets _CLOCKS_PER_SEC_ for selected machines.
3997 * libc/include/machine/time.h: New file.
3999 Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4001 * libc/syscalls/sysexecve.c: New file.
4002 * libc/syscalls/sysgettod.c: New file.
4003 * libc/syscalls/systimes.c: New file.
4004 * libc/syscalls/Makefile.am: Added new objects.
4005 * libc/syscalls/Makefile.in: Regenerated.
4006 * libc/include/_syslist.h (_execve): Moved define in file.
4007 * libc/include/reent.h: Added _execve_r declaration.
4008 * libc/Makefile.in: Regenerated.
4009 * libc/ctype/Makefile.in: Regenerated.
4010 * libc/errno/Makefile.in: Regenerated.
4011 * libc/locale/Makefile.in: Regenerated.
4012 * libc/machine/Makefile.in: Regenerated.
4013 * libc/misc/Makefile.in: Regenerated.
4014 * libc/posix/Makefile.in: Regenerated.
4015 * libc/reent/Makefile.in: Regenerated.
4016 * libc/reent/execr.c (_execve_r): Added _execve_r function.
4017 * libc/signal/Makefile.in: Regenerated.
4018 * libc/stdio/Makefile.in: Regenerated.
4019 * libc/time/Makefile.in: Regenerated.
4020 * libc/unix/Makefile.in: Regenerated.
4021 * libm/mathfp/Makefile.in: Regenerated.
4023 Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4025 * libc/string/Makefile.in: Regenerated.
4026 * libc/string/memchr.c (memchr): Moved code to reduce object size.
4027 * libc/string/memcpy.c (memcpy): Ditto.
4028 * libc/string/memcmp.c (memcmp): Ditto.
4029 * libc/string/memset.c (memset): Ditto.
4030 * libc/string/strchr.c (strchr): Ditto.
4031 * libc/string/strcmp.c (strcmp): Ditto.
4032 * libc/string/strcpy.c (strcpy): Ditto.
4033 * libc/string/strlen.c (strlen): Ditto.
4035 Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4037 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4038 to generate aclocal.m4.
4039 * libm/Makefile.in: Regenerated.
4040 * libm/aclocal.m4: Regenerated.
4041 * libm/configure: Regenerated.
4042 * libm/math/Makefile.in: Regenerated.
4043 * libm/mathfp/Makefile.in: Regenerated.
4045 1998-09-25 Mark Salter <msalter@cygnus.com>
4047 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4048 by adding leading and trailing underscores to symbol names.
4050 Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
4052 * Makefile.in: Add default for AR_FLAGS.
4054 Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
4056 patch from ian@airs.com (Ian Taylor):
4057 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4058 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4059 is needed for detecting the build machine. Required for
4060 cygwin native builds.
4062 * Regenerate all aclocal.m4 and configure files.
4064 Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
4066 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4067 used to start with LC.
4069 Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4071 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4072 (longjmp): Likewise.
4074 Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4076 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4077 the test for small number of bytes.
4079 Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4081 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
4082 math library that uses floating point algorithms instead of the old
4084 * Makefile.in: Regenerate with automake version 1.3b.
4085 * configure: Rebuild.
4086 * libm/Makefile.in: Regenerate with automake version 1.3b.
4087 * libm/aclocal.m4: Regenerate.
4088 * libm/configure: Rebuild.
4089 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4090 * libm/acinclude.m4: Define macros for configure.in.
4091 * libm/config.h.in: Generate.
4092 * libm/mathfp/Makefile.am: New file.
4093 * libm/mathfp/Makefile.in: Generate.
4094 * libm/mathfp/s_acos.c (acos): New file.
4095 * libm/mathfp/s_asin.c (asin): New file.
4096 * libm/mathfp/s_asine.c (asine): New file.
4097 * libm/mathfp/s_atan.c (atan): New file.
4098 * libm/mathfp/s_atan2.c (atan2): New file.
4099 * libm/mathfp/s_atangent.c (atangent): New file.
4100 * libm/mathfp/s_ceil.c (ceil): New file.
4101 * libm/mathfp/s_copysign.c (copysign): New file.
4102 * libm/mathfp/s_cos.c (cos): New file.
4103 * libm/mathfp/s_cosh.c (cosh): New file.
4104 * libm/mathfp/s_exp.c (exp): New file.
4105 * libm/mathfp/s_fabs.c (fabs): New file.
4106 * libm/mathfp/s_finite.c (finite): New file.
4107 * libm/mathfp/s_floor.c (floor): New file.
4108 * libm/mathfp/s_fmod.c (fmod): New file.
4109 * libm/mathfp/s_frexp.c (frexp): New file.
4110 * libm/mathfp/s_infconst.c: New file.
4111 * libm/mathfp/s_isinf (isinf).c: New file.
4112 * libm/mathfp/s_isnan.c (isnan): New file.
4113 * libm/mathfp/s_ispos.c (ispos): New file.
4114 * libm/mathfp/s_ldexp.c (ldexp): New file.
4115 * libm/mathfp/s_log.c (log): New file.
4116 * libm/mathfp/s_log10.c (log10): New file.
4117 * libm/mathfp/s_logarithm.c (logarithm): New file.
4118 * libm/mathfp/s_mathcnst.c: New file.
4119 * libm/mathfp/s_modf (modf).c: New file.
4120 * libm/mathfp/s_numtest.c (numtest): New file.
4121 * libm/mathfp/s_pow.c (pow): New file.
4122 * libm/mathfp/s_scalbn.c (scalbn): New file.
4123 * libm/mathfp/s_sin (sin).c: New file.
4124 * libm/mathfp/s_sine.c (sine): New file.
4125 * libm/mathfp/s_sineh.c (sineh): New file.
4126 * libm/mathfp/s_sinf.c (sinf): New file.
4127 * libm/mathfp/s_sinh.c (sinh): New file.
4128 * libm/mathfp/s_sqrt.c (sqrt): New file.
4129 * libm/mathfp/s_tan.c (tan): New file.
4130 * libm/mathfp/s_tanh.c (tanh): New file.
4131 * libm/mathfp/sf_acos.c (acosf): New file.
4132 * libm/mathfp/sf_asin.c (asinf): New file.
4133 * libm/mathfp/sf_asine.c (asinef): New file.
4134 * libm/mathfp/sf_atan.c (atanf): New file.
4135 * libm/mathfp/sf_atan2.c (atan2f): New file.
4136 * libm/mathfp/sf_atangent.c (atangent): New file.
4137 * libm/mathfp/sf_ceil.c (ceilf): New file.
4138 * libm/mathfp/sf_copysign.c (copysignf): New file.
4139 * libm/mathfp/sf_cos.c (cosf): New file.
4140 * libm/mathfp/sf_cosh.c (coshf): New file.
4141 * libm/mathfp/sf_exp.c (expf): New file.
4142 * libm/mathfp/sf_fabs.c (fabsf): New file.
4143 * libm/mathfp/sf_finite.c (finitef): New file.
4144 * libm/mathfp/sf_floor.c (floorf): New file.
4145 * libm/mathfp/sf_fmod.c (fmodf): New file.
4146 * libm/mathfp/sf_frexp.c (frexpf): New file.
4147 * libm/mathfp/sf_isinf.c (isinff): New file.
4148 * libm/mathfp/sf_isnan.c (isnanf): New file.
4149 * libm/mathfp/sf_ispos.c (isposf): New file.
4150 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4151 * libm/mathfp/sf_log.c (logf): New file.
4152 * libm/mathfp/sf_log10.c (log10f): New file.
4153 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4154 * libm/mathfp/sf_modf.c (modff): New file.
4155 * libm/mathfp/sf_numtest.c (numtestf): New file.
4156 * libm/mathfp/sf_pow.c (powf): New file.
4157 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4158 * libm/mathfp/sf_sin.c (sinf): New file.
4159 * libm/mathfp/sf_sine.c (sinef): New file.
4160 * libm/mathfp/sf_sineh.c (sinehf): New file.
4161 * libm/mathfp/sf_sinh.c (sinhf): New file.
4162 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4163 * libm/mathfp/sf_tan.c (tanf): New file.
4164 * libm/mathfp/sf_tanh.c (tanhf): New file.
4165 * libm/mathfp/zmath.h: New file.
4167 Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4169 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4170 exit if it has been overwritten by pre-fetching in delay slot.
4172 1998-09-01 Michael Meissner <meissner@cygnus.com>
4174 * Makefile.am (tooldir): Add in host_alias, so that multilib
4175 libraries are installed in the directory the compiler looks in.
4176 * Makefile.in: Regenerate.
4178 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4180 Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
4182 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4183 ahead of test for number of bytes being moved.
4185 Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
4187 * libc/include/sys/unistd.h: Nothing special needed for
4190 Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
4192 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4193 conform to user label naming conventions.
4195 Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
4197 * libc/sys/cygwin32/sys/utime.h: variable names in
4198 protos should start with two leading underscores
4199 * libc/include/string.h: ditto
4200 * libc/include/sys/signal.h: ditto
4201 * libc/include/sys/stat.h: ditto
4202 * libc/include/sys/time.h: ditto
4203 * libc/include/sys/unistd.h: ditto
4204 * libc/include/ctype.h: ditto
4205 * libc/include/stdlib.h: ditto
4206 * libc/include/sys/reent.h: struct _atexit function ptr takes a
4207 void, same with _sig_func.
4209 Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
4211 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4212 for MB_CAPABLE to reduce code size when newlib is not configured
4213 with --enable-newlib-mb.
4214 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4215 mbtowc_r.o to minimize size.
4216 * libc/stdlib/Makefile.in: Rebuild.
4218 Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
4220 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4222 * libc/sys/sparc64/Makefile.in: Rebuild.
4224 Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
4226 * Makefile.am (MAKEOVERRIDES): Define.
4227 * Makefile.in: Rebuild.
4229 Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
4231 * libc/sys/sparc64/sys/stat.h (stat): Add const.
4233 Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
4235 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4236 newlib_cflags when looking for targ-include.
4237 * */aclocal.m4, */configure: Rebuild.
4239 Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
4241 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4244 Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
4246 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4247 on SPARCs with little-endian data.
4248 * libc/include/machine/ieeefp.h: Ditto.
4250 Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
4252 * acinclude.m4: Handle a relative srcdir correctly when setting
4254 * */aclocal.m4, */configure: Rebuild.
4256 Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
4258 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4259 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4260 * libm/math/wrf_gamma.c (gammaf_r): ditto
4261 * libm/math/wr_lgamma.c (lgamma_r): ditto
4262 * libm/math/wr_gamma.c (gamma_r): ditto
4263 * libm/math/wf_sqrt.c (sqrtf): ditto
4264 * libm/math/wf_sinh.c (sinhf): ditto
4265 * libm/math/wf_scalb.c (scalbf): ditto
4266 * libm/math/wf_remainder.c (remainderf): ditto
4267 * libm/math/wf_pow.c (powf): ditto
4268 * libm/math/wf_log10.c (log10f): ditto
4269 * libm/math/wf_log.c (logf): ditto
4270 * libm/math/wf_lgamma.c (lgammaf): ditto
4271 * libm/math/wf_jn.c (jnf, ynf): ditto
4272 * libm/math/wf_j1.c (j1f, y1f): ditto
4273 * libm/math/wf_j0.c (j0f, y0f): ditto
4274 * libm/math/wf_hypot.c (hypotf): ditto
4275 * libm/math/wf_gamma.c (gammaf): ditto
4276 * libm/math/wf_fmod.c (fmodf): ditto
4277 * libm/math/wf_exp.c (expf): ditto
4278 * libm/math/wf_cosh.c (coshf): ditto
4279 * libm/math/wf_atanh.c (atanhf): ditto
4280 * libm/math/wf_atan2f.c (atan2f): ditto
4281 * libm/math/wf_asin.c (asinf): ditto
4282 * libm/math/wf_acosh.c (acoshf): ditto
4283 * libm/math/wf_acos.c (acosf): ditto
4284 * libm/math/w_sqrt.c (sqrt): ditto
4285 * libm/math/w_sinh.c (sinh): ditto
4286 * libm/math/w_scalb.c (scalb): ditto
4287 * libm/math/w_remainder.c (remainder): ditto
4288 * libm/math/w_pow.c (pow): ditto
4289 * libm/math/w_log10.c (log10): ditto
4290 * libm/math/w_log.c (log): ditto
4291 * libm/math/w_lgamma.c (lgamma): ditto
4292 * libm/math/w_jn.c (jn, yn): ditto
4293 * libm/math/w_j1.c (j1, y1): ditto
4294 * libm/math/w_j0.c (j0, y0): ditto
4295 * libm/math/w_hypot.c (hypot): ditto
4296 * libm/math/w_gamma.c (gamma): ditto
4297 * libm/math/w_fmod.c (fmod): ditto
4298 * libm/math/w_exp.c (exp): ditto
4299 * libm/math/w_cosh.c (cosh): ditto
4300 * libm/math/w_atanh.c (atanh): ditto
4301 * libm/math/w_atan2f.c (atan2): ditto
4302 * libm/math/w_asin.c (asin): ditto
4303 * libm/math/w_acosh.c (acosh): ditto
4304 * libm/math/w_acos.c (acos): ditto
4306 Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
4308 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4309 (fsrc): Add wf_cabs.c and wf_drem.c.
4310 * libm/math/Makefile.in: Rebuild.
4312 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
4313 unused directory variables. Remove duplicate CFLAGS.
4314 * Makefile.in: Rebuild.
4316 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4317 with $(CC_FOR_BUILD).
4318 (makedoc.o): Likewise.
4319 * doc/Makefile.in: Rebuild.
4321 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4322 force a definition of COMPILE.
4323 (libfoo_a_SOURCES): Define.
4324 * libc/sys/cygwin32/Makefile.in: Rebuild.
4325 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4326 force a definition of COMPILE.
4327 (libfoo_a_SOURCES): Define.
4328 * libc/sys/tic80/Makefile.in: Rebuild.
4330 Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
4332 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4335 Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
4337 * Build using autoconf and automake. Added many Makefile.am and
4338 configure.in files, plus generated files. Old configure.in files
4339 and all old Makefile.in files completely replaced. Removed
4340 host/any. Added acinclude.m4 and configure.host.
4342 Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
4344 * libc/stdio/vfprintf.c: enable long long support, sometimes.
4345 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4347 Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4349 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4350 * libc/machine/sh/Makefile.in: Add rules for new files.
4352 Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4354 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4355 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4356 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4358 Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
4360 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4363 Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
4365 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4366 internal static buffer when s is NULL, as prescribed by ANSI.
4368 1998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
4370 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4372 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
4373 libc/stdlib will be used for h8300hms.
4375 Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4377 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4378 version that can be built either for speed or size.
4379 * libc/machine/mn10300/memset.S (_memset): ditto
4380 * libc/machine/mn10300/memchr.S (_memchr): ditto
4381 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4382 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4383 * libc/machine/mn10300/strchr.S (_strchr): ditto
4384 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4385 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4386 * libc/machine/mn10300/Makefile.in: Added entries for
4387 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
4388 strcmp.o, strcpy.o, and strlen.o.
4390 Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
4392 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4393 been replaced with libgloss/mn10200.
4395 Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
4397 * libc/string/strchr.c (strchr): Make s a constant pointer to
4400 Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
4402 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4403 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4404 board SWIs instead of Demon board SWIs).
4406 Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
4408 * libc/string/strncat.c (strncat): Make -Os act the same as
4409 PREFER_SIZE_OVER_SPEED being defined.
4411 Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
4413 * libc/string/memchr.c (memchr): Make -Os act the same as
4414 PREFER_SIZE_OVER_SPEED being defined.
4415 * libc/string/memcmp.c (memcmp): Ditto.
4416 * libc/string/memcpy.c (memcpy): Ditto.
4417 * libc/string/memset.c (memset): Ditto.
4418 * libc/string/strcat.c (strcat): Ditto.
4419 * libc/string/strchr.c (strchr): Ditto.
4420 * libc/string/strcmp.c (strcmp): Ditto.
4421 * libc/string/strcpy.c (strcpy): Ditto.
4422 * libc/string/strlen.c (strlen): Ditto.
4423 * libc/string/strncat.c (strncat): Ditto.
4424 * libc/string/strncmp.c (strncmp): Ditto.
4425 * libc/string/strncpy.c (strncpy): Ditto.
4427 Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
4429 * libc/include/sys/itimer.h: remove
4430 * libc/include/sys/time.h: itimer stuff should be here
4432 Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
4434 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4435 bit instead of comparing to 0 so -0.0 can be printed correctly.
4437 Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4439 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4441 Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
4443 * libc/include/sys/unistd.h: fix sync() proto
4444 * libc/include/sys/fcntl.h: remove _close which is already
4445 defined in unistd.h.
4446 * libc/include/sys/time.h: add getitimer proto
4448 Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
4450 * libc/string/strchr.c: convert arg to unsigned char
4451 * libc/include/stdlib.h: add protos for random, srandom
4452 * libc/include/sys/stat.h: add lstat proto
4453 * libc/include/sys/time.h: add setitimer proto
4454 * libc/include/sys/unistd.h: add readlink, symlink protos
4455 * libc/include/process.h: instead of including windows.h and using
4456 HANDLEs in sexec protos, just use void *s. Need to include
4459 Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
4461 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4463 Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
4465 * libc/include/process.h: add secure exec protos
4467 Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
4469 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4470 which are accessed as both doubles and integers.
4471 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4472 * libc/stdlib/strtod.c (_strtod_r): Likewise.
4473 * libc/stdlib/mprec.h: Add "union double_union" and change
4474 word0/word1 macros to use it.
4476 Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
4478 * libc/include/sys/signal.h: add __cplusplus wrapper
4480 Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
4482 * libc/include/sys/utime.h: new generic file that gets replaced by
4483 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4485 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4486 * libc/include/time.h: remove duplicate utime proto
4487 * libc/include/utime.h: add comment
4489 Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
4491 * libc/include/sys/time.h: Add missing include to
4492 allow use of _EXFUN. Remove times function that is
4493 already defined in times.h.
4495 Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
4497 * libc/include/time.h: Fix typo in tzset.
4499 Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
4501 * libc/include/sys/time.h: add missing Cygwin32 function protos
4502 * libc/include/sys/unistd.h: ditto
4503 * libc/include/time.h: ditto
4505 Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
4507 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4509 * libc/include/sys/types.h: add a new __MS_types__ section
4510 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4511 __BIT_TYPES_DEFINED__.
4513 Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
4515 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4516 since it overrides the one in libc/include/sys. Also, start
4519 Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
4521 * libm/math/Makefile.in: add s_signgam.o to obj list
4523 Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
4525 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4527 Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
4529 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4530 so don't use defines.
4532 Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
4534 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4536 Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
4538 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4539 _current_locale as default locale.
4541 Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
4543 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4544 insufficient space in a chunk.
4546 Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
4548 * configure.in (links): Added check for --enable-newlib-mb configure
4549 option which defines the MB_CAPABLE macro.
4550 * libc/locale/locale.c (_setlocale_r): Added support for setting
4551 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4553 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4554 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4555 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4556 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4557 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4558 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4559 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4560 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4561 * libc/stdlib/Makefile.in: Added new multibyte
4562 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4563 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4564 _mbstowcs_r(), and _wcstombs_r().
4565 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4566 for JIS, SJIS, and EUC-JP characters.
4567 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4569 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4571 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4573 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4574 if MB_CAPABLE defined.
4575 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4576 if MB_CAPABLE defined.
4577 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4578 to the format string processing when MB_CAPABLE.
4579 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4582 Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
4584 The following modifications are courtesy of Anthony Thompson,
4585 athompson@cambridge.arm.com:
4586 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4587 boith RDI and RDP monitors.
4588 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4589 RDI and RDP monitors.
4591 Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
4593 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4594 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4595 (_swiopen): Fixed open flags to treat write with append as just append.
4596 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4597 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4599 Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4601 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4602 When needing to transfer an initial 2-byte-word, store as
4605 Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4607 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4609 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4610 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4612 Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
4614 * configure.in (target_cflags): If --enable-target-optspace, use
4615 -Os to compile newlib rather than -O2. Default to using -Os for
4616 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4619 Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
4621 * libc/include/machine/setjmp.h: change sigsetjmp and
4622 siglongjmp definitions to use an array instead of a struct
4625 Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
4627 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4629 Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
4631 * libc/string/strxfrm.c: fix to get correct return value
4633 Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
4635 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4636 builds. Make mode change labels global so that they will be seen
4639 Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
4641 * configure.in (links): Do not use ARM debiugging protocols for PE
4644 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4647 Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4649 * libc/stdio/findfp.c (__sinit): Made stdout default to
4650 line buffered mode as defined by ANSI.
4652 Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
4654 * libc/include/sys/itimer.h: New file.
4656 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4658 Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4660 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4663 Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
4665 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4668 Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
4670 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4672 Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
4674 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4677 * libc/include/machine/setjmp.h: Add D30V support.
4679 * configure.in (d30v-*): Add d30v machine directory.
4681 Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
4683 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4684 been replaced with libgloss/mn10300.
4686 Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
4688 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4689 it is no longer needed.
4691 Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4693 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4695 Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
4697 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4698 the file when O_APPEND is set, wherever the EOF happens to be at
4701 Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
4703 patch from cgf@bbc.com (Christopher Faylor):
4704 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4705 convention of closing fp prior to attempting to open the file
4706 argument. This allows correct operation when reopening
4707 stdin/stdout/stderr. Replaces last freopen.c patch.
4709 Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
4711 patch from cgf@bbc.com (Christopher Faylor):
4712 * libc/stdio/freopen.c: freopen was not preserving the fd
4713 of the stream being operated on. This confuses programs that
4714 expect that the handles for stdout and stderr will be 1 and 2.
4716 Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
4718 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4720 Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
4722 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4724 Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
4726 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4727 altered to not use a branch. Also added hint that last
4728 bclr in longjmp will likely result in branch.
4731 Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
4733 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4735 Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
4737 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4740 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
4742 Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
4744 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4745 that loads FR14 to specify offset of 8 rather than 4
4746 so it loads from offset 96 (where setjmp stored it).
4748 Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4750 * libc/machine/sh/memcpy.S: (_memcpy): Update to
4751 latest version supplied by customer.
4752 * libc/machine/sh/memset.S (_memset): Ditto.
4754 Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
4756 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4759 Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
4761 * libc/include/string.h: remove redefinition of ffs
4763 Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
4765 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4768 Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4770 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4771 TI Libraries to link to libc.a
4773 Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
4775 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4776 * libc/include/sys/stat.h (_{,f}stat): Ditto.
4777 * libc/include/sys/wait.h (_wait): Ditto.
4778 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4779 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4781 Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
4783 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
4784 minded stabs so function name shows up when running the simulator
4786 * libc/sys/d10v/{crt0,trap}.S: Ditto.
4788 Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
4790 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
4791 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
4792 Use R5 where we used to use R3.
4794 Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
4796 * libc/stdlib/getopt.c (getopt): replaced __progname
4797 with nargv[0] to improve portability to imbedded systems.
4799 Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
4801 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
4802 patch supplied by Tont.Thompson@arm.com to fix the creation of the
4805 Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
4807 * libc/stdio/tmpnam.c (worker): Generate a different file name
4810 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
4811 fails, try an execlp for sh.
4813 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
4814 option for the winsup include directory.
4816 Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
4818 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
4819 debugging interface from Tony.Thompson@arm.com.
4821 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
4822 * libc/sys/arm/swi.h: ditto.
4824 Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4826 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
4827 DIR struct used for readdir hashes.
4829 Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
4831 * libc/string/strchr.c: Use "unsigned chars" as necessary.
4833 Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
4835 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
4838 Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
4840 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
4841 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
4842 * libc/include/malloc.h: Add extern "C" if __cplusplus.
4843 (__malloc_copy): Declare.
4845 Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
4847 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
4849 (POINTER_UINT): Define.
4850 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
4851 (MALLOC_ALIGNMENT): Don't define if already defined.
4852 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
4855 Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
4857 * libc/string/memset.c (memset): Fiddle with code so that the long
4858 value being stored is not a stack value. Unroll storing longs 4
4861 Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
4863 * Reduce code size for libm modules.
4864 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
4865 and simply move code into sqrt.
4866 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
4867 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
4868 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
4869 * libm/math/wr_gamma.c (gamma_r): Likewise.
4870 * libm/math/wf_sinh.c (sinfh): Likewise.
4871 * libm/math/w_sinh.c (sinh): Likewise.
4872 * libm/math/wf_scalb.c (scalbf): Likewise.
4873 * libm/math/w_scalb.c (scalb): Likewise.
4874 * libm/math/wf_remainder.c (remainderf): Likewise.
4875 * libm/math/w_remainder.c (remainder): Likewise.
4876 * libm/math/wf_pow.c (powf): Likewise.
4877 * libm/math/w_pow.c (pow): Likewise.
4878 * libm/math/wf_log10.c (log10f): Likewise.
4879 * libm/math/w_log10.c (log10): Likewise.
4880 * libm/math/wf_log.c (logf): Likewise.
4881 * libm/math/w_log.c (log): Likewise.
4882 * libm/math/w_lgamma.c (lgamma): Likewise.
4883 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4884 * libm/math/wf_jn.c (jnf): Likewise.
4885 * libm/math/w_jn.c (jn): Likewise.
4886 * libm/math/wf_j1.c (j1f): Likewise.
4887 * libm/math/w_j1.c (j1): Likewise.
4888 * libm/math/wf_j0.c (j0f): Likewise.
4889 * libm/math/w_j0.c (j0): Likewise.
4890 * libm/math/wf_hypot.c (hypotf): Likewise.
4891 * libm/math/w_hypot.c (hypot): Likewise.
4892 * libm/math/wf_gamma.c (gammaf): Likewise.
4893 * libm/math/w_gamma.c (gamma): Likewise.
4894 * libm/math/wf_fmod.c (fmodf): Likewise.
4895 * libm/math/w_fmod.c (fmod): Likewise.
4896 * libm/math/wf_exp.c (expf): Likewise.
4897 * libm/math/w_exp.c (exp): Likewise.
4898 * libm/math/wf_cosh.c (coshf): Likewise.
4899 * libm/math/w_cosh.c (cosh): Likewise.
4900 * libm/math/wf_atanh.c (atanhf): Likewise.
4901 * libm/math/w_atanh.c (atanh): Likewise.
4902 * libm/math/wf_atan2.c (atan2f): Likewise.
4903 * libm/math/w_atan2.c (atan2): Likewise.
4904 * libm/math/wf_asin.c (asinf): Likewise.
4905 * libm/math/w_asin.c (asin): Likewise.
4906 * libm/math/wf_acosh.c (acoshf): Likewise.
4907 * libm/math/w_acosh.c (acosh): Likewise.
4908 * libm/math/wf_acos.c (asocf): Likewise.
4909 * libm/math/w_acos.c (acos): Likewise.
4910 * libm/math/wf_sqrt.c (sqrtf): Likewise.
4911 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
4912 for embedded systems.
4914 Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
4916 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
4917 Lea in case of a foreign sbrk.
4919 Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
4921 Incorporate Doug Lea's malloc:
4922 * libc/stdlib/mallocr.c: Completely replaced.
4923 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
4925 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
4926 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
4928 (mallinfo, malloc_stats, mallopt): New functions.
4929 (_mstats_r): Just call _malloc_stats_r.
4930 * libc/stdlib/malign.c: New file.
4931 * libc/stdlib/mlock.c: New file.
4932 * libc/stdlib/msize.c: New file.
4933 * libc/stdlib/mtrim.c: New file.
4934 * libc/stdlib/realloc.c: New file.
4935 * libc/stdlib/valloc.c: New file.
4936 * libc/stdlib/malloc.h: Remove.
4937 * libc/stdlib/callocr.c: Remove.
4938 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
4939 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
4940 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
4941 reallocr.o, valloc.o, vallocr.o.
4942 (CHEWOUT_FILES): Add mlock.def, mstats.def.
4943 (MALLOC_CFLAGS): New variable.
4944 (mallocr.o): New target, build from mallocr.c.
4945 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
4946 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
4947 (msizer.o, malloptr.o): Likewise.
4948 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
4949 (valloc.o): New target.
4950 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
4951 * libc/include/malloc.h: Declare struct mallinfo, and new
4953 * libc/include/stdlib.h (cfree): Correct declaration.
4955 Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
4957 * libc/include/machine/setjmp.h: Add support for Thumb target.
4959 * libc/include/machine/ieeefp.h: Add support for Thumb target.
4961 * configure.in (links): Add support for Thumb target.
4963 Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
4965 * libc/sys/arm/setjmp.S: Updated with version from branch.
4967 Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
4969 * libc/include/stdio.h: add POSIX-required define L_ctermid
4972 Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
4974 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
4975 addition to MISSING_SYSCALL_NAMES.
4977 Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4979 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
4981 Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
4983 * libc/include/string.h: change strsignal proto to return
4984 a char *. This eliminates compile problems in gdb resulting
4985 from gdb's definition of strsignal in defs.h.
4987 Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
4989 * libc/sys/cygwin32/sys/utime.h: new (moved here from
4990 winsup/include) so as not to conflict with the one in
4992 * libc/include/string.h: add protos for strsignal, strtosigno
4994 Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
4996 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
4998 * configure.in (d30v-*-*): Add configuration.
5000 Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
5002 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5003 to select which kind of debug monitor is in use for an ARM target.
5005 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5006 Angel and Demon debug monitors. Part of this code was supplied by
5007 Tony Thompson at ARM: athompso@arm.com.
5009 Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
5011 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5012 semantics when the count is greater than the length of the second
5015 Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
5017 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5018 * libc/include/sys/unistd.h: add protos for usleep, truncate,
5019 truncate and ftruncate take off_t, not size_t
5021 Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
5023 * libc/string/strcat.c (strcat): Add missing comment end.
5024 * libc/string/strncat.c (strncat): Likewise.
5026 Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
5028 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5030 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
5031 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5033 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5034 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5035 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5037 Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
5039 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5040 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5042 Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
5044 * libc/machine/i386/setjmp.S: New file.
5045 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5046 (OFILES): Add setjmp.o.
5047 (setjmp.o): Add rule for.
5048 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5050 Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
5051 Jeffrey A Law (law@cygnus.com)
5053 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5054 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5055 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5056 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5058 Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
5060 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5063 * libc/include/sys/config.h: Use __v850 to select v850
5066 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5069 * libc/include/machine/ieeefp.h: Use __v850 to select v850
5072 Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
5074 * libc/stdlib/setenv.c: change unsetenv definition to match
5075 style of setenv (with _DEFUN). The string should be a const.
5076 * libc/include/stdlib.h: unsetenv proto should return void.
5078 Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
5080 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5082 Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
5084 * libc/stdio/glue.h: remove.
5085 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5086 * libc/stdio/Makefile.in: remove glue.h dependencies
5088 Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
5090 * libc/sys/sysnecv850/crt0.S: Created V850e version.
5092 Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
5094 * configure.in (target_cpu): Add `arc'.
5096 Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
5098 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
5099 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5100 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5101 * newlib/libc/reent/reent.c: Add _wrapup_reent.
5102 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5104 Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
5106 * libc/machine/mips/setjmp.S: Handle mips16 builds.
5108 Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
5110 * libc/include/stdio.h (siprintf): Declare.
5112 Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
5114 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5115 TARGET_CFLAGS and NEWLIB_FLAGS.
5117 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5119 * configure.in (links): Add support for v850ea target.
5121 Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5123 * configure.in (links): Add support for v850e target.
5125 Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
5127 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5129 Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
5131 * configure.in (arc-*-*): Add support for.
5132 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5134 Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5136 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5138 Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
5140 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5141 comparison which accesses invalid memory when the key is
5142 larger than the last member of the array.
5143 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5145 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5147 Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
5149 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5152 Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
5154 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5155 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5157 Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
5159 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5160 to load/store memory.
5162 Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
5164 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5165 underscores if _WIN32.
5167 Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
5169 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5170 support ifdef _USE_WRITE missed in last change.
5171 From Anders Blomdell <anders.blomdell@control.lth.se>.
5173 Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
5175 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5176 (_tmpnam_r, _tempnam_r): Update.
5178 Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
5180 * libc/machine/sparc/setjmp.S: New file.
5181 * libc/machine/sparc/Makefile.in: Add setjmp.
5182 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5184 Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
5186 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5188 Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
5190 From Joel Sherrill <joel@oarcorp.com>.
5191 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5193 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
5194 * configure.in: Recognize *-*-rtems*.
5195 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5196 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5197 time.h,times.h,types.h}: New files.
5198 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5200 Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
5202 patch from sos@prospect.com.ru (Sergey Okhapkin):
5203 * include/sys/wait.h: correct operator precidence bug
5206 Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
5208 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5209 with newlib's unsetenv function
5210 * libc/sys/cygwin32/sys: new directory for includes
5211 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5212 here from winsup/include/sys
5214 Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
5216 * libc/include/sys/unistd.h: _exit should only be
5217 labelled noreturn when not __CYGWIN32__
5218 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5219 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5222 Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
5224 * libc/include/sys/time.h: Only define timeval and timezone if
5225 _GNU_H_WINDOWS32_SOCKETS is not defined.
5226 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5228 Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
5230 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5231 * libc/machine/mn10300/setjmp.S: Likewise.
5233 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5234 the mn10300 (more relaxing opportunities).
5236 Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
5238 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5239 Build libraries with -mstrict-align.
5241 Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
5243 * libc/string/strlwr.c: New file.
5244 * libc/string/strupr.c: New file.
5245 * libc/include/string.h: Declare strlwr and strupr.
5246 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5247 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5248 (strlwr.o, strupr.o): New targets.
5249 * libc/string/strings.tex: Include strlwr and strupr docs.
5251 * libc/include/sys/types.h: Don't define u_char, et. al., if
5252 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
5253 et. al. Make FD_SETSIZE default 64 rather than 60. Define
5254 _types_fd_set rather than fd_set, and define fd_set as a macro.
5256 * libc/include/malloc.h: New file.
5258 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5259 strnicmp if they are not already defined.
5261 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5262 _timezone, _daylight, and _tzname.
5264 Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
5266 * configure.in: Sort all configuration tables.
5268 From Joel Sherrill <joel@oarcorp.com>
5269 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5271 Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
5273 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
5274 use int when declaring kill.
5276 * libc/include/sys/timeb.h: New file.
5278 Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
5280 * libc/include/sys/time.h: add itimer support for Cygwin32
5282 Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
5284 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5285 out a message that abort was called to stderr.
5287 Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
5289 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5290 so that libio doesn't freak.
5292 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5295 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5296 memory sizes, not int.
5298 Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
5300 * libm/math/ef_hypot.c: Use long constants where
5302 * libm/math/ef_sqrt.c: Ditto.
5304 * libc/sys/sysmec/times.c(_times): Change to times.
5306 * libc/sys/sysmec/read.c(_read): The third argument is
5308 * libc/sys/sysmec/write.c (_write): Ditto.
5310 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5311 (_lseek): It's off_t for the second argument.
5313 Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
5315 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5316 as well as machine/ieeefp.h.
5318 Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
5320 * libc/include/sys/signal.h: add signal protos for winsup
5321 functions (when __CYGWIN32__), include types.h
5322 * libc/include/sys/types.h: Change __go32_types__ internal
5323 define to __MS_types__ since it's used for more than just
5324 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
5326 * libc/include/sys/unistd.h: add ftruncate proto for
5327 winsup functions (when __CYGWIN32__)
5329 Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
5331 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5333 Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
5335 * libc/include/machine/setjmp.h: Add tic80 support.
5336 * libc/machine/tic80/setjmp.S: Likewise.
5338 Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
5340 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5341 link programs from libraries only (such as in the X11
5344 Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
5346 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5347 supplied elsewhere in newlib.
5349 Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
5351 * Makefile.in (INSTALL): Change install.sh to install-sh.
5353 Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
5355 * README: update WWW address for on-line documentation.
5357 Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
5359 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5362 Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
5364 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5366 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5368 Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
5370 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5371 * libc/sys/d10v/syscalls.c: Likewise.
5372 * libc/sys/h8300hms/sbrk.c: Likewise.
5373 * libc/sys/h8500hms/syscalls.c: Likewise.
5374 * libc/sys/m88kbug/syscalls.c: Likewise.
5375 * libc/sys/sh/syscalls.c: Likewise.
5376 * libc/sys/sysmec/sbrk.c: Likewise.
5377 * libc/sys/sysnecv850/sbrk.c: Likewise.
5378 * libc/sys/w65/syscalls.c: Likewise.
5379 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5381 Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
5383 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5384 emulated syscall instead of "trap".
5386 Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
5388 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5391 Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
5393 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5395 Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
5397 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5399 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5401 * libc/sys/tic80/crt0.c: New file for TIc80.
5402 * libc/sys/tic80/Makefile.in: New file for TIc80.
5403 * libc/machine/tic80/Makefile.in: New file for TIc80.
5405 Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
5407 * libc/machine/sh/memcpy.S: New file.
5408 * libc/machine/sh/memset.S: New file.
5409 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5411 Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
5413 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5416 Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
5418 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5421 Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
5423 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5424 (patch from andrew@pogo.WV.TEK.COM).
5426 Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
5428 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5429 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5431 Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
5433 * configure.in: Add cases for "tic80" to set machine_dir,
5434 sys_dir, and syscall_dir.
5436 Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
5438 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5440 Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
5442 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5444 Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
5446 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5447 Use proper constant prefix.
5449 Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
5451 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5452 that loses on the mn10200 where ints and pointers are different
5455 Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
5457 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5458 target as signal is provided in winsup.
5460 Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
5462 * libc/include/sys/process.h: Corrected const definitions
5463 in spawn functions. Added cwait.
5465 Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
5467 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5469 * libc/include/sys/config.h: Similarly.
5471 Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5473 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5475 (i[3456]86-*-sco*): Ditto.
5477 * libc/signal/Makefile.in (OFILES): Add signal.o.
5478 (CFILES): Add signal.c.
5480 * libc/signal/raise.c (_raise_r): Only compile code if
5481 SIGNAL_PROVIDED is defined.
5483 * libc/signal/signal.c: Redo whole file so that it works with
5484 current newlib. Use _kill_r if no signal handler provided.
5486 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5488 * libc/sys/sysvnecv70/Makefile.in: Ditto.
5489 * libc/sys/sysnecv850/Makefile.in: Ditto.
5491 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5492 * libc/sys/sysmec/{raise,signal}.c: Ditto.
5493 * libc/sys/sysvnecv70/signal.s: Ditto.
5494 * libc/sys/sysnecv850/raise.c: Ditto.
5496 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5497 simulator and debugger can tell the difference between a signal
5498 being raised and an exit system call.
5500 * NEWS: Document software signals being provided.
5502 Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5504 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5505 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
5506 include/sys/config.h.
5507 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5508 Change from 'inpure_data'.
5509 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
5510 &impure_data, not &inpure_data.
5512 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5513 and and System V ABI, define so that _impure_ptr lives in the
5516 Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5518 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5519 nothing if not defined.
5520 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5523 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
5525 Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
5527 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5528 * libc/sys/sysmec/trap.s: Handle mn10200 too.
5529 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5531 Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
5533 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5535 Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
5537 * libc/include/sys/errno.h: Added net errno's.
5539 Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5541 * libc/misc/ffs.c: New file to support ffs function for GCC test
5542 gcc.c-torture/execute/960909-1.c.
5544 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5546 Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
5548 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5549 * libc/sys/sysmec/trap.S: Likewise.
5551 Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
5553 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5554 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5556 Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
5558 * libc/sys/sysmec/signal.c: Dummy file.
5559 * libc/sys/sysmec/Makefile.in: Build it.
5561 Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
5563 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5566 Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
5568 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5569 c-startup and simulator traps.
5572 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5573 * libc/sys/sysmec/trap0.S: Likewise.
5575 Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5577 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5578 round to double word alignment.
5579 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5582 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5584 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5587 Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
5589 * configure.in: Handle mn10200 and mn10300.
5590 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5591 * libc/include/sys/config.h: Likewise.
5592 * libc/sys/sysmec: New directory for mec stuff.
5593 * libc/machine/mn10300: New directory for mn10300 stuff.
5594 * libc/machine/mn10200: Similarly for mn10200 stuff.
5596 Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
5598 * libc/sys/arm/crt0.S: Use .text, not .section .text.
5599 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5601 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5602 (nlink_t): Change type from unsigned int to unsigned short.
5603 (mode_t): Ensure size is 32 bits even if int is 16.
5604 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5605 (st_spare[123]): Change type from int to long.
5607 Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5609 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5612 * configure.in (d10v*): Define SMALL_MEMORY.
5614 Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5616 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5617 -mrelocatable-lib and -mno-eabi flags.
5619 Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
5621 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5622 Fix handling of mis-aligned source operand when both the
5623 destination & length are properly aligned.
5625 Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
5627 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5628 times.o, time.o and gettime.o
5629 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5630 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5633 Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
5635 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5636 * libc/sys/sysnecv850/access.c: New file.
5638 Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
5640 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5642 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5645 Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
5647 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5649 Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
5651 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5652 * libc/include/sys/config.h: Add m32r support.
5654 Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
5656 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
5659 Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
5661 * libc/include/machine/setjmp.h: Add D10v support.
5663 Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
5665 * configure.in: Configure the "libc/syscalls" directory for
5668 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5669 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5670 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5671 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5672 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5674 Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
5676 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
5677 stack for args for main and other routines. Zero out args for
5680 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
5683 Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5685 * libc/stdio/findfp.c (std): Remove extraneous ';' after
5688 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5690 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5691 real system calls now.
5693 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5694 before casting them to int.
5695 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5697 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5699 * libc/string/memset.c (memset): Ditto.
5701 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5702 first convert ints to _POINTER_INT to eliminate GCC warning.
5704 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5707 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5708 from 65000 if ints are only 16 bits.
5710 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5711 from 50000 if ints are only 16 bits.
5713 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5714 int type that is the same size as a pointer.
5716 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5718 (get_number): Explicitly cast number to long before shifting by 16
5719 or 24, in case ints are short.
5721 * libc/include/sys/config.h (_POINTER_INT): Define as short.
5723 Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
5725 * libc/string.h: Added ffs, removed swab.
5726 * libc/sys/errno.h: Added EOPNOTSUPP.
5727 * libc/sys/unistd.h: Added swab.
5729 Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
5731 * libc/include/sys/stat.h: Added fchmod.
5732 * libc/include/sys/unistd.h: Added fsync.
5734 Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
5736 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5737 and ECONNRESET (104) for cygwin32.
5739 Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
5741 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5742 do the static destructors.
5744 Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
5746 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
5748 Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
5750 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5751 * configure.in: Recognize m32r-*-*.
5753 Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
5755 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5756 __rt_stkovf_split_small): Added default software stack overflow
5757 handlers, which just call SWI_Exit.
5758 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5759 limit initialisation.
5761 Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
5763 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5765 Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
5767 * libc/include/sys/types.h: Added ssize_t definition.
5769 Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5771 * libc/machine/d10v/setjmp.S: Use ';' for comments.
5772 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5774 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5775 branch around a single ldi instruction.
5777 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5778 Call exit, instead of just issuing a stop instruction.
5780 Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5782 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
5784 Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5786 * libc/stdlib/mprec.h: Explicitly declare all large constants as
5787 longs, and then cast them to __uint32_t.
5789 * libc/include/sys/config.h: Protect against multiple inclusions.
5791 Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
5793 * configure.in (d10v*): Set syscall_dir.
5795 Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
5797 * libc/sys/d10v/crt0.S: Set stack pointer.
5799 Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
5801 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
5802 in assembly for efficiency. Change calling convention to allow
5803 long ints to be returned.
5805 Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5807 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
5809 Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
5811 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
5812 Handle empty entries in $PATH.
5814 Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
5816 * libc/machine/d10v/setjmp.S: Make it really work.
5818 Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
5820 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
5823 Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
5825 * sys/sysnecv850/sys/file.h: Remove.
5826 * sys/sysnecv850/sys/syscall.h: New file.
5827 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
5828 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
5829 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
5830 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
5831 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
5832 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
5833 * sys/sysnec850/trap.S: New file.
5834 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
5836 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
5837 * sys/sysnec850/sbrk.c: New version.
5839 Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
5841 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
5842 as long as r6 is less than r7.
5844 Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
5846 * Makefile.in (mostlyclean): Separate from clean target. Don't
5847 remove *.a or targ-include.
5848 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
5850 Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5852 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
5854 (__SMALL_BITFIELDS): Ditto.
5856 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
5858 Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
5860 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
5863 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
5864 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
5865 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
5866 * libc/sys/sysnecv850/write.c (write): Likewise.
5868 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
5871 Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5873 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
5874 appropriately for D10V, depending on -mint16/-mint32.
5876 Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
5878 * configure.in: Add cases for D10V.
5880 Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5882 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
5884 Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
5886 * libc/include/machine/ieeefp.h: Fix typo.
5888 Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
5890 * libc/sys/d10v: New directory for D10V stuff.
5891 * libc/include/machine/ieeefp.h: Add D10V defines.
5893 Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
5895 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
5896 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
5897 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
5898 * libc/string/strerror.c (strerror): Add them.
5900 Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
5902 * libc/sys/sysnecv850: New directory for v850 stuff.
5904 * libc/machine/v850: New directory for v850 stuff.
5905 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
5907 * configure.in: Add support for the v850.
5909 * libc/include/machine/ieeefp.h: Add v850 defines.
5910 * libc/include/machine/setjmp.h: Likewise.
5911 * libc/include/sys/config.h: Add v850 defines.
5913 Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
5915 * libc/include/machine/ieeefp.h
5916 * libc/include/machine/setjmp.h
5917 * libc/include/sys/fcntl.h
5918 * libc/include/sys/signal.h
5919 * libc/include/sys/types.h
5920 * libc/stdlib/system.c:
5921 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
5922 API availability, __CYGWIN32__ for cygwin32 environment specific).
5924 Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
5926 * libc/include/stdlib.h: add multibyte character functions. Add
5927 __eprintf for assert.
5929 Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5931 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
5932 arithmetic or __alignof__ to properly get the alignment, instead
5933 of hardwiring it to 4.
5935 Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
5937 * libc/stdio/fseek.c: add fflush call to adjust seek offset
5938 on append stream (fix from NetBSD sources), adjust curoff offset
5939 for ungetc's benefit.
5940 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
5941 * libc/stdio/rewind.c: replace code with up to date NetBSD
5942 code to undo hacks made to work around above problem of not
5943 having fflush call mentioned above
5945 Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5947 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
5948 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
5949 Partially revert last changes. The thread specific errno is set
5950 iff if the underlying syscall fails and the global errno is not
5953 Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
5955 * libc/reent/filer.c: Removed files, all functions have split out
5956 into their own files.
5957 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
5958 New files containing functions formally in filer.c
5959 * libc/reent/Makefile.in: Updated for above change.
5961 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
5962 syscall fails, not if errno is changed.
5963 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
5964 _write_r): Likewise.
5965 * libc/reent/fstatr.c (_fstat_r): Likewise.
5966 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
5967 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
5968 * libc/reent/signalr.c (_kill_r): Likewise.
5969 * libc/reent/statr.c (_stat_r): Likewise.
5970 * libc/reent/timer.c (_gettimeofday_r): Likewise.
5972 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
5973 signalr.c, statr.c, timer.c} (errno): declare extern rather
5976 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
5977 instead of calling vfprintf so that i*printf will not require
5978 floating point support code.
5980 Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
5982 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
5984 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
5985 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
5987 Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
5989 * libc/include/signal.h: _sig_func_ptr function takes an int
5990 * libc/include/sys/signal.h: sa_handler function takes an int
5992 Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
5994 * libc/include/machine/ieeefp.h: Simplify H8/S support.
5995 * libc/include/sys/config.h: Add missing H8/S conditional.
5997 Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
5999 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6001 Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
6003 * libc/include/machine/setjmp.h: Handle H8/S.
6004 * libc/include/machine/ieeefp.h: Likewise.
6005 * libc/include/sys/config.h: Likewise.
6006 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6007 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6008 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6009 * libc/sys/h8300hms/crt0.S: Likewise.
6011 Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6013 * Makefile.in (datadir): Set to $(prefix)/share.
6014 (oldincludedir, docdir): Removed.
6015 * doc/Makefile.in (datadir): Set to $(prefix)/share.
6016 (oldincludedir, docdir): Removed.
6017 * libc/Makefile.in (datadir): Set to $(prefix)/share.
6018 (oldincludedir, docdir): Removed.
6019 * libm/Makefile.in (datadir): Set to $(prefix)/share.
6020 (oldincludedir, docdir): Removed.
6022 Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
6024 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6027 Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
6029 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
6030 fetch current path rules with sysconf and handler posix/win32
6033 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6035 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6036 (WAIT_CHILD): Always define.
6038 Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
6040 * libc/stdlib/eprintf.c: New file.
6041 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6042 (eprintf.o): New target.
6044 Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
6046 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6047 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6049 Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
6051 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6052 NT in PowerPC endianess cases.
6054 Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6056 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6058 Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6060 * libc/string/strtok.c: Fix doc typo.
6062 Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6064 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6065 _next, _scanpoint, _signgam fields.
6067 * libc/include/stdlib.h (rand_r): Added new declaration.
6068 (_rand_r, _srand_r): Removed declarations.
6069 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6070 have been made obsolete by rand_r.
6071 * libc/stdlib/rand_r.c: New file, rand_r function as specified
6074 * libc/string/strtok.c: Update documentation to describe
6077 Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
6079 * libc/include/sys/stat.h (stat structure): Use the expanded stat
6080 structure on Solaris, and PowerPC systems even though __svr4__ is
6083 Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
6085 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6087 Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
6089 * host/any: Use ../.. rather than .. to get to the main build
6090 directory. This matches the current layout of the build
6093 Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
6095 * libc/machine/h8300/__main.S: Delete. No longer needed.
6096 * libc/machine/h8300/Makefile.in: Corresponding changes.
6097 * libc/sys/h8300hms/crt1.c: New file.
6098 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6099 * libc/sys/h8300hms/crt0.s: Call __main.
6101 * libc/sys/h8300hms/crt0.S: Use temporary label names
6104 Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
6106 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6108 Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6110 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6111 .sdata on the PowerPC so that we can link newlib with code
6112 compiled with -msdata.
6114 Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
6116 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6118 Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
6120 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6121 exception handler to __cygwin_exception_handler.
6123 Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
6125 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6127 Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
6129 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6131 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6132 wcstombs.o): Likewise.
6134 Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
6136 * libc/stdlib/environ.c (initial_env): New static local.
6137 (environ): Point to `initial_env'.
6139 * libc/include/machine/setjmp.h: Clean up.
6140 (__H8300H__,__PPC__): Define _JBTYPE.
6141 (__arm__): Provide entry for.
6142 (sigjmp_buf): Delete.
6143 (jmp_buf): Use _JBTYPE if defined, otherwise int.
6145 Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
6147 * libc/machine/h8300/strcmp.S: Sign extend the result to
6148 32bits so we don't lose with -mint32.
6150 Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
6152 * libc/sys/go32/sys/errno.h: New file.
6153 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6154 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6155 errno's address (make compatible with rest of newlib).
6156 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6157 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6159 Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
6161 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6162 * libc/machine/sparc/Makefile.in: Build them.
6163 * libc/machine/sparc/machine/sparclet.h: New file.
6165 Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6167 * libc/machine/sh/asm.h: New file.
6168 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
6169 support for SH3e's FP registers. Use asm.h.
6171 Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
6173 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6174 as first argument. Call _dtoa_r and pass the reent structure
6175 instead of calling __dtoa.
6177 Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
6179 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6180 the h8300, h8500, and others. Add comments for some rather
6183 Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
6185 * Makefile.in (check): Check that testsuite exists before cd.
6187 Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6189 * libc/include/string.h (strsep): Correct prototype.
6191 Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
6193 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6194 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6195 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6197 Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
6199 * libc/posix/{creat.c,isatty.c}: New files.
6200 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6202 * libc/sys/sparc64/crt0.S (environ): Delete.
6203 (.LHaveBias): Renamed from HaveBias.
6205 Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
6207 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6208 (_morecore_r): Delete SBRK_IS_ALLOC support.
6210 Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6212 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6213 module rather than touch, so we don't get warning messages when
6214 all of the libraries are combined into libc.a.
6216 Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
6218 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6219 crt0.s replaced by version in libgloss.
6221 Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6223 * libc/reent/Makefile.in (OFILES): Add impure.o.
6224 * libc/reent/impure.o: New file, define initial reentrancy struct.
6225 * libc/reent/reent.c: Remove above definition.
6227 * libm/math/sf_asinh.c: Fix typo.
6229 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6232 * libm/libm.texinfo: Change documentation to reflect changes
6233 in reentrancy model.
6234 * libm/math/w_gamma.c: Likewise.
6236 Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
6238 * configure.in (*-*-cygwin32): New.
6239 (*-*-win32): Deleted.
6240 * libc/sys/win32 renamed libc/sys/cygwin32.
6242 Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6244 * libc/include/sys/file.h: New include file.
6246 Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
6248 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6250 Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
6252 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6254 Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6256 * doc/makedoc.c (realloc): Declare at file scope.
6257 (catchar): Not here.
6259 Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
6261 * Makefile.in (VERSION): Update to 1.7.0.
6262 * {libc,libm}/Makefile.in (VERSION): Likewise.
6263 * configure.in: Minor clean up of multilib stuff.
6265 From David Johnson <davidj@ICSI.Berkeley.EDU>
6266 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6268 * libc/stdlib/environ.c: New file.
6269 * libc/stdlib/Makefile.in (OFILES): Build it.
6270 * libc/sys/h8500hms/crt0.c (environ): Deleted.
6271 * libc/sys/m88kbug/crt0.c (environ): Deleted.
6272 * libc/sys/z8ksim/crt0.c (environ): Deleted.
6273 * libc/sys/netware/environ.c: Deleted.
6275 Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
6277 * configure.in (links): set sys_dir, posix_dir, syscall_dir
6279 Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6281 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6282 declaration out to external scope and declare it PTR, not char *.
6284 Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
6286 * libc/include/sys/unistd.h (getpagesize): New declaration.
6287 (_SC_PAGESIZE): New definition.
6288 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6289 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6291 Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
6293 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6294 addressing. System call returns size, not (last address + 1).
6296 Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6298 * libm/math/*.c: Removed _foo_r() reentrancy API.
6299 * libc/include/math.h: Removed _foo_r prototypes and macros.
6301 * libm/math/*.c: On systems with IEEE single precision "doubles"
6302 move foo() -> foof() wrapper code from the files that implement
6303 the standard IEEE double precision functions to the files that
6304 implement IEEE single precision functions. (ie. On those systems
6305 sin is moved from s_sin.c to sf_sin.c). There should eventually
6306 be use of a C extension (like gcc's alias attribute) so that the
6307 wrappers are not needed at all.
6309 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6310 strict NEC V810 compiler.
6311 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6314 Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6316 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6317 from NetBSD C library.
6318 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6320 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
6321 and adapted from implementation I wrote for NetBSD C library.
6322 The difference is __assert doesn't take a format argument,
6323 so that there won't be multiple copies of the same string
6324 constant in the executable if assertions are enabled in
6325 more than one source module.
6326 * libc/include/assert.h (assert): Changed to call __assert.
6328 Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6330 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6331 word1 on systems with 32 bit doubles.
6332 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6333 so that we can do arithmetic on them.
6334 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6337 Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
6339 * libc/sys/arm/crt0.S: Zero bss.
6341 Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
6343 * libc/include/unctrl.h: New file.
6344 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6345 * configure.in (subdirs): Add libc/misc.
6346 * libc/Makefile.in (SUBDIRS): Add misc.
6347 (SUBLIBS): Add misc/lib.a.
6349 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6351 Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
6353 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6354 (_vfprintf_r): Call CHECK_INIT.
6356 Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
6358 * Makefile.in (MULTITOP): Delete.
6359 (MULTISRCTOP, MULTIBUILDTOP): Add.
6360 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6361 instead of cfg-ml-pos.in.
6363 Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6365 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6366 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6369 Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6371 * libc/string/strtok.c: Include string.h to pick up strtok_r
6374 Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6376 * libc/string/strtok.c: include <_ansi.h>.
6377 * libc/time/asctime_r.c: `reresult' -> `result'.
6379 Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6381 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6382 in #ifndef _REENT_ONLY ... #endif conditional.
6384 * libc/include/string.h (_strtok_r): Remove declaration.
6385 * libc/include/time.h (_asctime_r): Remove declaration.
6386 * libc/string/strtok.c (_strtok_r): Removed.
6387 * libc/time/asctime.c (_asctime_r): Removed.
6389 * libc/string/Makefile.in (OFILES): Add new object.
6390 * libc/string/strtok_r.c: New file. strtok_r function as
6391 specified by POSIX.1c, adapted from strtok implementation
6392 from NetBSD C library.
6393 * libc/string/strtok.c (strtok): Reimplemented in terms of
6396 * libc/time/Makefile.in (OFILES): Add new objects.
6397 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6398 New files, reentrant time functions specified by POSIX.1c.
6399 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6400 reentrant time functions re-written in terms of reentrant
6402 * libc/time/lcltime.c: Renamed from localtime.c
6404 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6405 gmtime_r, and localtime_r.
6407 Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
6409 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6410 * libc/include/sys/unistd.h (getlogin): Revert change of
6412 * libc/include/sys/signal.h (sigprocmask): Change prototype
6413 so it compiles with c++.
6415 Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
6417 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6418 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
6419 to give some room in case we need to align the jmp_buf.
6421 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6422 the new ppc-asm.h include file the compiler provides to specify
6423 function prologue/epilogue. Eliminate saves of the xer and ctr
6424 registers, which are volatile. Before starting to save registers,
6425 align to 8 byte boundary.
6427 Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6429 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6430 referenced by standard libraries.
6432 Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
6434 * libc/unix/Makefile.in, libc/string/Makefile.in,
6435 libc/stdio/Makefile.in, libc/reent/Makefile.in,
6436 libc/posix/Makefile.in:
6437 Remove tabs from otherwise empty line. Confuses some
6438 older non-GNU versions of "make".
6440 Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
6442 * libc/sys/unistd.h (getlogin): Returns const char *.
6444 Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
6446 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6447 * libc/include/errno.h: Moved into and include...
6448 * libc/include/sys/errno.h: New file.
6449 * libc/include/sys/wait.h: New file.
6450 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6451 * libc/sys/win32/*: Moved out.
6452 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6453 * configure.in (i[345]86-*-win32): HAVE_RENAME
6455 Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6457 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6458 avoid macro expansion for these two names.
6460 Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
6462 * libc/machine/h8500/psi.S: r6 renamed to fp.
6464 Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6466 * configure.in (powerpc*): No longer need to define
6467 NO_LONGLONG_POINTERS to supress warnings.
6469 Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6471 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6472 through PTR instead of directly.
6474 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
6475 non-standard constructor support.
6477 Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6479 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6480 address of the Bigint instead of the address of its _x field,
6481 as the size the result buffer was calculated accordingly.
6482 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6484 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6485 from NetBSD C library. No longer special cases division by
6486 zero (which needs to be done by the application anyway), but
6487 it doesn't need to call abs() (or labs()) four times either.
6489 * libc/stdlib/qsort.c: Replaced with implementation from
6492 Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6494 * libc/stdio/vfprintf.c: Replaced with implementation from
6495 NetBSD C library (which is derived from the 4.4BSD C library).
6496 * libc/stdio/cvt.c: Removed.
6497 * libc/stdio/Makefile: Updated.
6499 Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
6501 * libc/sys/win32/syscalls.c (rename): New.
6502 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6504 Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6506 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6507 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6509 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6510 (setjmp.o): Delete rule to build setjmp.o.
6511 * libc/sys/sh/setjmp.S: Delete file.
6513 Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6515 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6516 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6517 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
6518 pow5mult and s2b to identifiers with leading underscores.
6519 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6520 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
6522 Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
6524 * libc/sys/posix/popen.c (sys/types.h): Include.
6526 Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
6528 * libc/sys/win32/syscalls.h (fhandler): New struct.
6529 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6530 (__fhandler_normal): Declare.
6531 (hinfo): New member op_handlers.
6532 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6533 (__write): Likewise.
6534 (_read, _write, _open, _close, _lseek): Validate fd here.
6535 Move file type specific stuff to foo_normal.
6536 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6538 (__lookup_fhandler): New function.
6539 (__lookup_fhandler_hook, __fhandler_normal): New variables.
6541 From anders.blomdell@control.lth.se (Anders Blomdell)
6542 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6543 Don't touch standard handles.
6544 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6545 (_execve): Only create __FD_TABLE__ if necessary.
6546 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6548 Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
6550 * libc/sys/win32/sys/termios.h (FLUSHO): New.
6551 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6552 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6553 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6554 without a handler is received.
6555 * libc/sys/win32/Makefile.in: Remove --nodelete.
6556 * libc/sys/win32/resouce.c (gettimeofday): New.
6557 * libc/sys/win32/syscalls.c (path_to_real_path): New.
6558 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6560 Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
6562 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6563 Don't append "/*" to search pattern if trailing '/' already there,
6565 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6566 like /'s, convert them to \'s. Handle //<drive>/ path names.
6567 Add space for quoted \'s in arg string. Print translated prog name
6568 and original prog name.
6569 (_execve): Handle parent doing exec a teensy bit better.
6570 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6571 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6572 path needs conversion, handle both cases. Delete `const' from result.
6573 (hash_path_name): New function.
6575 (_stat): Likewise. Fill in more fields for directories.
6576 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6577 (wait_for_any): Fix trace message.
6578 (waitpid): Explicitly test for intpid == 0.
6580 From anders.blomdell@control.lth.se (Anders Blomdell)
6581 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6584 Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
6586 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6589 Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6591 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6592 at all, not just == 1.
6593 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6595 Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6597 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6598 * libc/sys/win32/include/wintypes.h: include <winnt.h>
6599 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6602 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6604 * libc/sys/syscalls.c (getcwd): Fix off by one error.
6606 * libc/sys/signal.c (sleep): Fill it in.
6607 * libc/sys/termios.c (tcflush): Use PurgeComm
6608 (tcsetattr): Set some more of the bits.
6609 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6611 Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
6613 * libc/sys/arm/crt0.S (fp): Initialize to 0.
6614 Conditionally include .idata$3 stuff ifdef __pe__.
6616 Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6618 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6619 * libc/sys/win32/pipe.c (pipe): Ditto.
6620 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
6621 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6622 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6623 (tcgetattr): Contents are new.
6624 * libc/sys/win32/include/winkernel.h (DCB): New.
6625 (GetCommState, SetCommState): New.
6627 Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
6629 * libc/sys/arm/crt0.S (_start): Define.
6631 Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
6633 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6634 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6636 * libc/sys/win32/sysconf.c: New
6637 * libc/sys/win32/sys/winadvapi.h: New
6638 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6639 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6640 * libc/sys/win32/pipe.c (pipe): Ditto.
6641 * libc/sys/win32/signal.c (_raise): New.
6642 (_kill): Moved from spawn.c
6643 * libc/sys/win32/spawn.c (kill): Moved to signal.c
6644 * libc/sys/win32/syscalls.c (__read): Use new fields.
6646 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6647 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6648 * libc/include/sys/unistd.h (rmdir): Takes const path.
6649 * libc/include/sys/stat.h (mkdir): Takes const path.
6650 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6652 Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
6654 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6656 Add support for specifying paths as //<drive>/foo/bar.
6657 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6658 (__path_to_real_path): Declare.
6659 (PATH_TO_REAL_PATH): New macro.
6660 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6661 (__path_needs_conversion_p, __path_to_real_path): New functions.
6662 (_open): Fix test for error return from CreateFileA.
6663 Handle new path syntax.
6664 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6665 * libc/sys/win32/dirsearch.c (opendir): Likewise.
6667 Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
6669 * libc/sys/win32/include/*.h: Reorganized
6670 * libc/sys/win32/include/WINREADME: New.
6671 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6672 * libc/sys/win32/*.c: Fix for new include scheme.
6673 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6674 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6675 * libc/sys/win32/passwd.c (*): Fix.
6676 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6677 (_stat): Get directory owner and permissions right.
6678 * libc/sys/win32/syscalls.h (uinfo): New.
6679 * libc/sys/win32/version.def: Remove leading underscores.
6681 Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6683 * libc/sys/win32/key.c: include "include/wincon.h".
6685 Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
6687 * libc/sys/win32/{key, stubs}.c: New.
6688 * libc/sys/win32/Makefile: Adjust to cope.
6689 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6690 (environ_init): Change env names to upper case.
6691 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6692 * libc/sys/win32/passwd.c (*): Fill in the functions.
6693 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6694 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6695 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6696 (_open): Initialze hmap->execable_p too.
6697 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6698 (_fstat): Fill in permissions.
6699 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6701 Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
6703 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6705 (cfg-ml-pos.in invocation): Likewise.
6707 Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6709 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6710 s_isnan.o and sf_isnan.o.
6712 Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
6714 * All Makefile.in files: added maintainer-clean target as a
6715 synonym for realclean.
6717 Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
6719 * libc/include/machine/setjmp.h: Add hppa support.
6720 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6722 * libc/machine/hppa/Makefile.in: Related changes.
6724 Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
6726 * configure.in (machine_dir): Don't set for v810-*-*.
6728 Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6730 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6731 conventions correctly.
6733 Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
6735 * libc/stdio/puts.c: Update documentation of return value to match
6738 Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
6740 Fix file descriptor inheritance.
6741 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6743 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6744 close-on-exec flag not set. Initialize child's entire fd table.
6745 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6747 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6748 if CHILD_P. Initialize entire hmap entry.
6749 (dup): Only create new handle as inheritable if CHILD_P.
6750 (dup2): Likewise. Properly initialize hmap entry.
6752 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6754 (_exit): Use CHILD_P.
6755 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6758 Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6760 * libc/sys/win32/crt0.c (passover): fix up the state table.
6761 * libc/posix/popen.c: Added.
6762 * libc/posix/Makefile.in: compile popen.c.
6764 Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
6766 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6767 h8/500 define _DOUBLE_IS_32BITS.
6769 Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
6771 Get vfork/exec/spawn/cwait/wait working again.
6772 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6773 (procinfo): New member vfork_level.
6774 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6775 (vfork_init_first): Use GetCurrentProcessId to get pid.
6776 Initialize vfork_level.
6777 (vfork_init): Delete __PID__.
6778 (environ_init): New function. Undo patch of Aug 19, Posix says
6779 environment variables are case sensitive.
6780 (mainCRTStartup): Call it.
6781 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
6782 (my_longjump: Make static.
6783 (_spawn): New argument `h'. Delete setting of __PID__.
6784 Delete local `idx'. Look for chars that need quotes, rather than
6785 ones that don't. Set handle of created process in `h'.
6786 Result is process id if created task.
6787 (allocate_spawn_entry): New function.
6788 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
6789 (_execve): Set __FD_TABLE__ before spawning child.
6790 Scan our fd table when passing fds, not our parent's.
6791 Store handle and pid in procinfo entry.
6792 (vfork0): Ensure strace message always printed.
6793 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
6794 (vfork): Don't clobber result of vfork0.
6795 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
6796 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
6798 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
6800 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
6801 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
6802 adding vfork level to pseudo-pid.
6803 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
6804 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
6805 (_exit): If child, set exit code.
6806 (__vfork_record_death): Only close process handle if valid.
6807 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
6809 (wait_for_any): Likewise. Start scan after root entry.
6811 Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6813 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
6814 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
6815 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
6816 of actual file length.
6818 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
6819 * libc/include/paths.h: _PATH_BSHELL added.
6820 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
6823 Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6825 * libc/include/ar.h: Added.
6826 * libc/include/sys/types.h: ino_t goes back to 32-bits.
6827 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
6828 * libc/sys/win32/syscalls.c (_open): compute .namehash based
6830 (_fstat): use .namehash for inode number of the fd.
6832 Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
6834 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
6835 Change hinfo to __this_procinfo.
6836 * libc/sys/win32/crt0.c: Remove procinfo_list.
6838 Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6840 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
6843 Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6845 * libc/sys/win32/include/grp.h: Removed.
6846 * libc/sys/include/grp.h: Added.
6847 * libc/sys/win32/grp.c: Include <grp.h>.
6849 Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
6851 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
6852 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
6853 Defined for all but strict ANSI.
6854 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
6855 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
6856 * libc/signal/signal.c (_signal_r): Changed from using
6857 _MAX_SIGNALS to NSIG.
6858 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
6860 (__strace, __vfork_next_pid): New.
6861 (__exe_suffix): Default to 1.
6862 (passover, table): Understand quoted arguments.
6863 (vfork_init_first): New.
6864 (vfork_init): Initialize new process structure.
6865 (mainCRTStartup): Pass environ to main.
6866 * exceptions.c (__sig_mask): New
6867 (ehandler3): Ignore signals in mask.
6868 (really_exit): Remove CHILD_P test.
6869 * pipe.c (pipe, dup, dup2): Use new process and file structure.
6870 * resource.c (getrusage): Ditto.
6871 * signal.c (sigprocmask): New.
6872 * spawn.c (*): Rewritten.
6873 * syscalls.c (*): Use new process and file structure.
6874 (find_unused_handle): New.
6875 * syscalls.h (MAX_HANDLES): Deleted.
6876 (hinfo): Removed child_created_p.
6877 (MAX_CHILDREN): Deleted.
6878 (vfork_jmp_info, procinfo): New.
6879 * wait.c (*): Mostly new.
6880 * sys/strace.h (_STRACE_PARANOID): New.
6881 * sys/param.h: New file.
6883 Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6885 * libc/include/sys/stat.h: add S_BLKSIZE.
6886 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
6887 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
6889 (mode_t): add a #else to avoid multiple definitons.
6891 * libc/sys/win32/Makefile.in: add grp.c.
6892 * libc/sys/win32/grp.c: include grp.h correctly.
6893 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
6894 of the st structure with real information.
6895 * libc/sys/win32 (dirent): d_ino is of type ino_t.
6897 Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
6899 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
6900 and (maybe) sparc64.
6901 (nlink_t): Provide typedef.
6903 Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6905 * libc/sys/win32/grp.c: New file.
6906 * libc/sys/win32/include/grp.h: New file.
6908 Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6910 * libc/include/machine/ieeefp.h: Added whitespace to make this
6911 file easier to maintain.
6912 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
6913 depending on the value of __LITTLE_ENDIAN__.
6914 On the sh3e, define _DOUBLE_IS_32BITS.
6916 Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
6918 * libc/sys/vr4300/syscalls.c: Added missing support
6919 routines. _raise() and getpid().
6921 Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
6923 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
6925 Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
6927 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
6928 and VR4300 processor.
6929 * libc/sys/vr4300: Add directory.
6930 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
6931 monitor run-time support.
6933 Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6935 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
6936 * libc/stdlib/stdlib.tex: Don't include atol.def.
6938 Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6940 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
6942 Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
6944 * libc/ctype/Makefile.in: Fill in _to* dependencies.
6946 Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
6948 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
6949 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
6950 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
6951 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
6952 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
6954 Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6956 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
6958 Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6960 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
6961 * libc/stdlib/atoff.c: New file.
6962 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
6963 * libc/stdlib/atoi.c (atol): Removed.
6964 * libc/stdlib/atol.c: Removed duplicate documentation.
6966 * libc/include/ctype.h (_tolower, _toupper): Moved inside
6967 #ifndef _STRICT_ANSI conditional.
6968 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
6969 * libc/ctype/_tolower.c: New file.
6970 * libc/ctype/_toupper.c: New file.
6971 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
6972 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
6973 * libc/ctype/toascii.c (_toascii): Removed.
6975 Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
6977 * libc/sys/sparc64/sys/types.h: Deleted.
6979 Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6981 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
6982 and recognize Windows_95 systems.
6984 Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6986 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
6987 and passed fds should be opened in text mode.
6989 Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6991 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
6992 in __hmap, set to binary mode by default.
6994 Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6996 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
6997 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
7000 Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
7002 * Makefile.in (install): Install all libraries found in the
7003 top level. If there's a sys/<type>/include directory,
7004 install those headers into include.
7006 * libc/sys/win32/kernel.def351: Delete
7007 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7008 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7009 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7010 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7011 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7012 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7013 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7014 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7016 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7017 * libc/sys/win32/crt0.c: Force all env names to upper case.
7018 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7019 * libc/sys/win32/*.c: Headers have moved.
7020 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7021 __vfork_child_idx is now __vfork_child_ptr.
7023 * posix/execvp (execvp): Don't crash if no PATH envname.
7025 Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7027 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7028 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7029 through the _freelist instead of through the _reclaim list.
7030 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7031 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7034 Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7036 * libc/machine/h8500/setjmp.S: New file.
7037 * libc/include/machine/setjmp.h: Updated for H8/500.
7039 Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
7041 * libc/sys/win32/syscalls.c (_open): More stracing.
7042 (_stat): Open the file in O_BINARY.
7044 Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7046 * libc/machine/h8300/setjmp.S: New file.
7047 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7049 Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
7051 * libc/sys/win32/crt0.c (__exe_suffix): New global.
7052 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7053 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7054 __exe_suffix. Free fd_tab after setting env variable.
7055 (spawnv,_execve): Update.
7056 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7057 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7058 (__small_vfprintf): New function.
7059 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7060 * libc/sys/win32/wait.c (cwait): Validate argument.
7062 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7063 (process_deletion_queue): Likewise.
7065 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7067 Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
7069 * libc/sys/win32: Copyrights and gratuitous indenting.
7071 Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
7073 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7074 (process_deletion_queue): Likewise.
7075 (__close_all_files): New function.
7076 (_close): Only queue file deletion if really a file.
7077 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7079 (_exit): Call __close_all_files.
7081 * libc/stdlib/system.c: #include <errno.h>.
7082 (_system_r): Fix results in -DNO_EXEC case.
7084 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7085 Reorganize structure.
7086 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7087 if argument is valid. Save directory name in DIR. malloc space
7088 for dirent struct separately.
7089 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7091 * libc/include/errno.h (ENAMETOOLONG): Define.
7092 * libc/string/strerror.c (strerror): Reword ENFILE.
7093 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7095 Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
7097 * libc/sys/win32/crt0.c (__progname): New global.
7098 (mainCRTStartup): Support strace=bitmask,filename.
7099 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7100 * libc/sys/win32/syscalls.c (_write): Print parent trace message
7102 (getcwd): Handle len too small. Convert '\\' to '/'.
7103 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7104 Add prototypes for open, creat, fcntl.
7105 (O_APPEND): Change value to conform to Microsoft's value.
7106 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7108 * libc/stdlib/getopt.c: New file.
7109 * libc/stdlib/Makefile.in: Build it.
7111 Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
7113 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7114 Fix scanning of $PATH.
7115 * libc/posix/exec*.c: Call _execve, not execve.
7116 * libc/posix/execve.c: New file.
7117 * libc/posix/Makefile.in (OFILES): Add execve.o.
7119 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7120 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7121 (_STRACE): If level==0, always print. Handle new bit mask scheme.
7122 * libc/sys/win32/crt0.c: Update _STRACE calls.
7123 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7125 * libc/sys/win32/smallprint.c (rn): Fix digit list.
7127 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7128 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7129 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7130 Print __seterrno trace message first.
7131 (_execve): Renamed from execve.
7132 (vfork): Update __strace usage.
7133 (__vfork_child_pid): Deleted.
7134 (__vfork_children, __vfork_child_idx): New globals.
7135 (_spawnvp): New function.
7136 (spawnvp, spawnv, _execve): Call _spawnvp.
7137 (init_child): Record child in __vfork_children.
7138 (__vfork_get_entry, __vfork_record_death): New functions.
7139 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7140 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7141 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
7142 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7143 (children): New typedef.
7144 (__vfork_children,__vfork_child_idx): Declare.
7145 (__vfork_get_entry,__vfork_record_death): Declare.
7146 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7147 (waitpid): Handle pid == -1.
7148 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7149 * configure.in (i386-win32): Add -DNO_FORK.
7150 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7151 * libc/reent/execr.c (_fork_r): Likewise.
7152 * libc/stdlib/system.c (do_system): New function.
7153 If WIN32, try to get shell path from $SH_PATH, use vfork.
7154 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7157 Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
7159 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7160 * libc/sys/win32/fcntl.h: Don't include self.
7161 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7162 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7163 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7164 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7165 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7167 * libc/sys/win32/strace.c: New file.
7168 * libc/sys/win32/smallprint.c: New file.
7169 * libc/sys/win32/crt0.c (func): Delete.
7170 (mainCRTStartup): Fix alloca usage. Set handles explictly.
7171 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7172 * libc/sys/win32/exceptions.c: Lint.
7173 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7174 Clean up handle usage.
7175 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7176 (open.c): Default file type is text.
7177 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7178 * libc/sys/win32/advapi32.def: New
7180 Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
7182 * configure.in (posix_dir, libc_posix_lib): New variables.
7183 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7184 (i[345]86-*-win32): Define posix_dir.
7185 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
7186 (if unix_dir): Fix typo.
7187 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7188 scandir,seekdir,telldir}: New files.
7189 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7191 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7192 (SUBDIRS): Add posix.
7193 (SUBLIBS): Add $(LIBC_POSIX_LIB).
7195 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7196 (NSIG): Increase to 21.
7197 * libc/include/sys/unistd.h (pid_t): Move from here,
7198 * libc/include/sys/types.h (pid_t): to here.
7200 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7202 (hinfo): New members close_exec_p, child_created_p.
7203 (struct exception_list): Define.
7204 (__hmap): Redefine as pointer to table.
7205 (__parent_hmap, __child_hmap): New globals.
7206 (__set_errno, __really_exit): Declare.
7207 (__vfork_child_pid): Declare.
7208 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7209 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7210 (__parent_hmap, __child_hmap): New globals.
7211 (__hmap): Redefine as pointer to active map.
7212 (__get_console): New function.
7213 (mainCRTStartup): Change leading '=' in environ vars to '!'.
7214 (env __FD_TABLE__): Watch for this and initialize our fd/handle
7215 mapping table from it if defined.
7216 (argv, envp): Dump if __strace >= 4.
7218 * libc/sys/win32/exceptions.c (myp): Redefine.
7219 (__syscalls_b): Delete.
7220 (__stack_trace): New function.
7221 (ehandler3): Update to use _STRACE. Print stack trace.
7222 Call __really_exit instead of exit.
7223 (init_exceptions): Delete args argc,argv. New arg mine.
7224 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7225 FindFirstFileA, FindNextFileA, GetComputerNameA,
7226 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7227 * libc/sys/win32/signal.c (signal): Validate arg.
7228 (alarm, sleep): Define as stubs for now.
7229 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7230 (__syscalls_b, errno): Delete.
7231 (__vfork_child_pid, __vfork_jmp_buf): New globals.
7232 (__seterrno): Handle more errors.
7233 (__sys_printf): Renamed from _ptrace.
7234 (__really_exit): New function.
7235 (queue_file_deletion, process_deletion_queue): New functions.
7236 (__resume_parent): New function.
7237 (_unlink): Handle trying to delete open file.
7238 (__totime_t): Renamed from totime_t.
7239 (setsid, __read, __write): New functions.
7240 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7241 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7242 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7243 * libc/sys/win32/console.c: Update to new definition of __hmap.
7244 * libc/sys/win32/Makefile.in: Build new files.
7245 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7246 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7247 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7248 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7250 Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
7252 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7254 Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7256 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7257 have been made to the master dtoa.c sources (from netlib.att.com)
7258 since they were integrated into newlib in early 1992. Fixes
7259 problems with storage leaks and handling of numbers with very
7262 Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7264 * Makefile.in (all): set rootpre and srcrootpre before calling
7267 Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
7269 * libc/sys/win32/crt0.c: Change __hmap usage.
7270 * libc/sys/win32/exceptions.c: Use _ptrace call.
7271 * libc/sys/win32/syscalls.c: Use _ptrace call.
7272 (read, write): Cope with DOS style CRLF when in TEXT mode.
7273 * libc/sys/win32/syscalls.h: Declare hinfo struct.
7274 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7275 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7276 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7277 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7279 Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7281 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7283 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7284 wrappers for hypot() and remainder() for BSD libm compatibility.
7285 These are public domain implementations written by me for the
7286 NetBSD libm some time ago. Note cabs() is required by ucbtest.
7287 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7288 (fobj): Added wf_cabs.o and wf_drem.o.
7290 Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7292 * libc/sys/h8500hms/misc.c: New file.
7293 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7295 Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7297 * libc/time/localtime.c (localtime): Fix problem with leap year
7298 handling. Stole algorithm from Arthur David Olson's tz code.
7300 Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
7302 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7304 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7305 (_exit): Use argument.
7307 Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
7309 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7311 Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
7313 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7315 Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7317 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7320 Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
7322 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
7323 ptrace with case insensitivity
7324 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7325 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7328 Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
7330 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7331 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7332 (all, install, *clean): Use new multilib support.
7333 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7335 Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
7337 * libc/include/sys/signal.h (__WIN32__): New.
7339 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7341 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7342 (ulp, b2d): Handle 32 bit doubles.
7343 * libc/stdlib/mprec.h: Handle 32 bit doubles.
7344 * libc/stdlib/strtod.c (_strtod_r): Ditto.
7346 Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
7348 from medp@primag.co.uk:
7349 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7350 dynamically allocated buffers.
7352 Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
7354 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
7355 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
7357 Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7359 * configure.in (powerpc): Fix previous fix.
7361 Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7363 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7364 directories for this target.
7366 Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7368 * configure.in (hppa): Add machine_dir definition.
7369 * libc/machine/hppa: New directory with PA specific implementations
7370 of the basic memory/string functions.
7372 Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7374 * configure.in: Update current PowerPC multilib directories.
7375 Split big and little endian configurations.
7377 Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
7379 * configure.in: Add --enable-single-float option to configure to
7380 control use of MIPS single-float directories. Default to yes.
7382 * Makefile.in (all): Don't recurse into multilib directory if it
7385 Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7387 * libc/sys/sh/syscalls.c: Fix typo.
7389 Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
7391 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7393 * libc/include/process.h: Define WAIT_CHILD.
7394 * libc/include/types.h: Get sizes right for win32.
7395 * configure.in (i386-*-pe): Becomes i386-win32.
7396 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7397 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7398 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7401 Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
7403 * configure.in (i[345]86-*-pe): New target (NT).
7404 * host/any: DLLTOOL new.
7405 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7406 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7407 WIN32 (just enough to cross host the comp-tools).
7409 Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
7411 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7412 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
7414 Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
7416 * libc/include/machine/ieeefp.h (arm): Change to always be
7417 __IEEE_BIG_ENDIAN (even on little endian ARM's).
7419 Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
7421 * libc/sys/crt0.S: Initialze sp, and call exit after main.
7422 * libc/sys/syscalls.c (abort): New.
7423 * configure.in (arm): Define ABORT_PROVIDED.
7425 Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7427 * configure.in (powerpc): Define multidirs.
7429 Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
7431 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7433 Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
7435 * configure.in (sparclite): Delete target_cflags. Define multidirs.
7437 Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
7439 * configure.in, libc/include/machine/ieeefp.h: Modified
7441 libc/machine/arm/*, libc/sys/arm/*: New
7443 Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7445 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7446 __powerpc__ when determining endianness.
7448 Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7450 * configure.in (m68*): Add multidir for the m68332.
7452 * host/any (CC): Fix typo in last change.
7454 Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
7456 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7457 when determining endianness.
7458 * libc/include/machine/ieeefp.h: Ditto.
7459 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7462 Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
7464 * libc/include/errno.h (ENOTEMPTY): Define.
7466 Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7468 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7471 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7474 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7475 instead of only when open succeeds. ANSI requires that multiple
7476 calls to tmpnam() result in different files.
7478 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7479 objects pulled in from /lib/libc.a that must be renamed before
7480 being pulled into newlib. /lib/libc.a's div.o conflicted with
7481 newlib's file with the same name.
7483 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7485 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7486 the build tree will only be used if the executables are present
7487 (instead of just the Makefiles).
7489 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7491 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7492 versions of these functions that I orignally wrote for the
7494 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7495 versions I wrote for NetBSD.
7497 Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
7499 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7500 * libc/sys/sparclite/crt0.s: ditto.
7502 Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
7504 * configure.in: Add soft-float for proelf.
7506 Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
7508 * libc/stdlib/mprec.h (Bcopy): Copy the right number
7511 Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
7513 * Makefile.in (all): Depend on `force'.
7514 * configure.in (syscall_dir): Renamed from fake_sys_dir.
7515 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7516 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7517 * libc/Makefile.in: Likewise.
7518 * libc/include/reent.h: Update syscall references.
7519 (_fcntl_r): Add prototype.
7520 * libc/syscalls/*.c #include <reent.h>.
7521 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7523 Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
7525 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7526 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7527 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7528 (time.h, sys/types.h): Always include (even if MSDOS).
7529 (stat): Fix prototype.
7531 Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
7533 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7535 Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7537 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7539 Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
7541 * libc/include/regdef.h: New file.
7542 * libc/machine/mips/machine/regdef.h: New file.
7544 Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
7546 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7548 Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
7550 * libc/sys/sh/crt0.S: Pass main's return to exit.
7551 * libc/sys/sh/trap.S: Put errno in the right place.
7553 Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7555 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7556 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7557 * libm/math/ef_rem_pio2.c: Likewise.
7558 * libm/math/e_log10.c: Remove unused static one.
7559 * libm/math/ef_log10.c: Likewise.
7560 * libm/math/s_frexp.c: Likewise.
7561 * libm/math/sf_frexp.c: Likewise.
7563 Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
7565 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7566 longjmp.S: Upgraded.
7567 * libc/sys/go32/sys/setjmp.h: Upgraded.
7568 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7570 Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7572 * configure.in: Add many entries to multidirs for mips targets.
7574 Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7576 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7577 5.2 which fixes bug where jn(-1,x) is three times larger than
7579 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7581 Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
7583 * libc/sys/w65/sys/syscalls.h: New file
7584 * libc/include/machine/ieeefp.h: W65 support.
7585 * libc/include/sys/config.h: Ditto.
7586 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7587 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7588 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7590 Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7592 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7594 Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
7596 * Makefile.in, configure.in: Remove any references to the old
7599 Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7601 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7602 uses ... in prototype.
7605 Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7607 * libc/sys/a29khif/sys/libconfig.h: Remove.
7608 * libc/sys/go32/sys/libconfig.h: Remove.
7609 * libc/sys/sun4/sys/libconfig.h: Remove.
7610 * libc/sys/sysvi386/sys/libconfig.h: Remove.
7611 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7612 * libc/sys/sparc64/sys/libconfig.h: Remove.
7614 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7615 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7616 * libc/include/math.h: Change all uses of _FLOAT_RET and
7617 _FLOAT_ARG to float.
7618 * libm/test/math.c: Likewise.
7619 * testsuite/libm.sac/math.c: Likewise.
7620 * testsuite/libm.sac/working/math.c: Likewise.
7622 Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7624 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7625 gcc calls gas with endian option.
7626 * configure.in (sh): Build little endian version too.
7628 Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7630 * configure.in: Configure big and little endian versions for MIPS
7633 Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
7635 * libc/include/limits.h: Deleted.
7636 * libc/include/machine/limits.h: Deleted.
7638 Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
7640 * ChangeLog: Remove stub directory. This has all been rewritten
7641 and moved to devo/libgloss.
7643 Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7645 * Makefile.in (dvi): Add to info target, use $@ in sub make.
7646 (docs): Merge into info target.
7647 * libm/Makefile.in (dvi): Add $(srcdir).
7648 * libm/math/Makefile.in (chobjs): Remove underscores from file
7649 names. Texinfo doesn't like them.
7650 (wacos.def, ...): Add explicit targets for all .def files.
7651 * libm/math/math.tex: Remove underscores from @include file names.
7652 * doc/Makefile.in (dvi): Add dummy target.
7653 * testsuite/Makefile.in (dvi): Add dummy target.
7655 Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
7657 * Makefile.in (VERSION): Define. For net newlib releases.
7659 Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
7663 Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7665 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7667 Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7669 * libc/stdlib/setenv.c (_findenv): Declare.
7671 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7672 fcntl to not use _EXFUN, and change string parameters to open and
7673 creat to be ``const char *''.
7674 * libc/sys/sparc64/sys/fcntl.h: Likewise.
7675 * libc/sys/sparc64/creat.c (creat): Make PATH const.
7676 * libc/syscalls/sysopen.c: Include <fcntl.h>.
7677 (open) Make _FILE const.
7678 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7679 (_creat): Make PATH const.
7680 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7681 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7682 * libc/sys/m88kbug/syscalls.c (open): Likewise.
7683 * libc/sys/sh/syscalls.c (_open): Likewise.
7684 * stub/shared/glue.c (open): Make BUF const.
7685 * stub/ex93x/syscalls.c (open): Make FILENAME const.
7687 Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7689 * libc/include/errno.h: Add ENMFILE
7690 * libc/include/sys/config.h: Support Z8000.
7691 * libc/include/sys/signal.h: New signals for go32.
7692 * libc/machine/h8500/psi.S (__addpsir0r0): New function
7693 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7694 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7695 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7696 size is variable, depending upon CHUNK_POWER.
7697 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7699 Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7701 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7703 Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7705 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7707 Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7709 * configure.in: Change i[34]86 to i[345]86.
7711 * libc/include/math.h: Don't define HUGE_VAL if it is already
7714 Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7716 * testsuite/libm.sac/test_erfc.c: Correct some result values.
7717 * testsuite/libm.sac/test_gammaf.c: Likewise.
7718 * testsuite/libm.sac/test_sin.c: Likewise.
7719 * testsuite/libm.sac/test_tanh.c: Likewise.
7721 Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7723 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7724 already set. Define typedefs __int32_t and __uint32_t.
7725 * libc/include/math.h: Include <machine/ieeefp.h>.
7726 (union __dmath): Use __uint32_t.
7727 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7728 instead of int and unsigned int.
7730 Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7732 Replace the math library with the SunPRO fdlibm package.
7733 * libm/math: Completely changed all files.
7734 * libm/ieeefp: Remove contents and directory.
7735 * libm/Makefile.in (LIBM_FP_LIB): Remove.
7736 (SUBDIRS): Just set to math/lib.a.
7737 * libm/libm.texinfo: Updated for new library.
7738 * libc/include/math.h: Extensive changes for new math library.
7739 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7740 from _FLOAT_ARG to float.
7741 (maxpowtwo, maxpowtwof): Don't declare.
7742 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7743 (libm_fp_lib): Removed.
7744 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7745 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7746 argument to ${RUNTEST}.
7747 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7749 (RUNTESTFLAGS): Set CC and CFLAGS.
7750 (TESTS): Remove test_log2 and test_log2f.
7751 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7752 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7753 _FLOAT_ARG, for single precision argument type.
7754 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7755 expected failure. Close the input pipe.
7756 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7757 Correct misspelling of inaccurate.
7758 (test_mok): Use ``inaccurate'', not ``wrong''.
7759 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7760 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7761 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7762 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7763 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7764 test_yn.c): Correct many result values. Many are still wrong.
7766 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7767 just copy the string.
7768 (_gcvt): Always return the buffer.
7770 Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7772 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7774 Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7776 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7778 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7779 (_reclaim_reent): declare new entry point.
7780 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
7783 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
7784 ever allocated, so that we can later reclaim them all.
7785 (pow5mult): make reentrant.
7787 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
7788 so that when given NULL as a buffer, return a pointer to static
7789 space in the rent structure. This is not documented behaviour;
7790 it's only to support ecvt and fcvt, which aren't ANSI anyway.
7791 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
7792 therefore become reentrant).
7794 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
7796 Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7798 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
7800 Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7802 * Makefile.in: Make link to libg.a after libc.a; this is needed
7803 for the testsuites to build executables when everything comes
7806 Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
7808 * libc/Makefile.in: Add a VERSION variable so we can keep track.
7809 * libm/Makefile.in: Add a VERSION variable so we can keep track.
7811 Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7813 * libc/include/stdio.h: Use __VALIST, not va_list.
7815 Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
7817 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
7818 testsuite/libm.sac/execute.exp:
7819 Replace error proc calls with perror calls.
7821 Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
7823 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
7824 * libc/include/time.h: #define NULL as 0L.
7826 Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
7828 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
7831 Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7833 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
7836 Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
7838 * configure.in (TARGET_CFLAGS): Set -O2 as default.
7839 (z8k-*-*): Use syscalls fake sys dir.
7840 * libc/sys/z8k/glue.c: Rename syscalls.
7841 * libc/sys/go32/Makefile.in: Use new routines.
7842 * libc/machine/Makefile.in: Fix typo in ln stuff.
7844 Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7846 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
7847 * libc/Makefile.in (crt0.o): Likewise.
7848 * libc/machine/Makefile.in (lib.a): Likewise.
7849 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
7851 All Makefile.in files: Added mostlyclean, realclean and distclean
7854 * Makefile.in: Don't bother to unexport XTRAFLAGS or
7855 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
7856 the top level Makefile.
7858 Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
7860 * libc/sys/sparc64/sys/stat.h: New file.
7861 * libc/sys/sparc64/sys/time.h: New file.
7862 * libc/sys/sparc64/sys/types.h: New file.
7864 Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
7866 * stub/ex93x/crt0.s (start): Add code to clear bss.
7868 Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
7870 * libc/include/sys/types.h (time_t): Properly protect inside
7871 #ifndef __time_t_defined.
7873 * libc/stdio/fileno.c: New file.
7874 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
7875 (fileno.o): Add dependency.
7876 * libc/include/stdio.h (__sgetc): Rename never to _never.
7877 (fileno macro): Disable, needs to do CHECK_INIT first.
7879 Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
7881 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
7884 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
7885 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
7887 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
7890 Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
7892 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
7893 of the various constants.
7895 Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
7897 * libc/include/math.h: #ifndef __math_68881 around things which
7898 conflict with the (gcc-provided) inline functions in
7899 gcc/ginclude/math-68881.h.
7901 Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
7903 * libc/include/_syslist.h (_gettimeofday): Define.
7905 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
7906 (struct tms, timeval, timezone): Declare.
7907 (_gettimeofday_r, _times_r): Declare.
7908 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
7909 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7910 (time_t): Add multiple definition protection, __time_t_defined.
7911 * libc/include/sys/time.h: Don't #include <time.h>.
7912 Always define struct timezone (remove #ifndef _TIME_H_).
7913 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
7914 #ifdef _CLOCK_T_ surrounding definition of clock_t.
7915 * libc/reent/Makefile.in (OFILES): Add timer.o.
7916 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
7917 * libc/reent/timer.c: New file.
7918 * libc/time/clock.c: #include <reent.h>.
7919 (clock): Call _times_r instead of times.
7920 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
7921 HAVE_GET_TIME_OF_DAY.
7922 Add comment regarding supporting OS routine(s) required (for docs).
7924 (time): Call _gettimeofday_r instead of gettimeofday.
7925 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
7926 * libc/time/ctime.c: Ditto.
7927 * libc/time/strftime.c: Ditto.
7928 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
7929 (TEMPLATE_SFILES_R): Define here. Also define times.
7930 Add times_r.o/times.S dependence.
7931 (time2.c, junk.c): Deleted.
7932 * libc/sys/sparc64/time2.c: Deleted.
7933 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
7935 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
7936 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
7937 * libc/sys/sparc64/junk.c: Deleted.
7939 Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
7941 * libc/sys/sparc64/Makefile.in: Add times syscall.
7942 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
7943 be used with and without it. Add comment clarifying Medium/Anywhere
7945 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
7946 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
7949 Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
7951 * configure.in (target_cflags): Move init.
7952 (sparc64-*-*): Define HAVE_BLKSIZE.
7954 Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
7956 * libc/include/sys/_types.h: New file.
7957 * libc/include/reent.h: #include it.
7958 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
7959 MISSING_SYSCALL_NAMES.
7961 * libc/include/_syslist.h: Remove _raise.
7962 * libc/reent/signalr.c: New file.
7963 * libc/reent/Makefile.in: Compile it.
7964 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
7965 Add doc for raise and _raise_r.
7966 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
7967 (raise): Call _raise_r.
7968 (_raise_r): Call _getpid_r and _kill_r.
7969 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
7970 (abort): Loop forever calling raise and _exit.
7972 Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
7974 * configure.in: Remove extraneous echo.
7976 Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
7978 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
7979 collision with unistd.h, and fix for svr4.
7981 Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
7983 * libc/stdio/local.h (_llicvt): Declare.
7984 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
7985 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
7987 (_sicvt): Fix function header (`value' is short).
7988 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
7989 Add printing of long long's support.
7990 Add printing of 8 byte pointer support.
7992 Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
7994 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
7995 stat, chmod): New hooks.
7996 (sbrk): Abort if stack and heap collide.
7997 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
7998 shortcut when given small args.
7999 * libc/machine/sh/setjmp.s: Rewritten.
8000 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8001 of cmp/str instruction.
8003 Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8005 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8006 and machine_dir powerpc.
8007 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8008 Add cases for __powerpc__.
8009 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8012 * libc/include/stdio.h (_iprintf_r): Declare correctly.
8014 Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
8016 * libc/stdlib/callocr.c: New file with _calloc_r in it.
8017 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8019 Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
8021 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8022 (print_e): More comments to describe args, etc.
8023 "type" arg may now be 'g' or 'G' for %g/G format --> remove
8025 (_gcvt): Remove locals decpt, sign, end, p, done.
8026 More comments for print_e invocation.
8027 Pass "type" to print_e as is (g/G).
8029 Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
8031 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8034 Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
8036 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8037 works with any sized pointer, including ones bigger than ints and
8040 Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
8042 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8044 Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8046 * libc/include/stdlib.h (_calloc_r): Add prototype.
8047 * libc/machine/h8500/negsi2.c: New file.
8048 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8049 large unsigned numbers.
8050 * libc/machine/h8500/cmpsi.c: Add cmppsi.
8051 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8052 works when sizeof(size_t) != sizeof(char *).
8053 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8055 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8057 Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
8059 * libc/include/assert.h (assert): Handle -traditional.
8061 Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
8063 * Makefile.in: added ; after every "fi" and "done" that wasn't at
8064 the end of a line (ie. anything before a backslash continuation)
8065 so that bash handles them.
8067 Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8069 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8072 Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
8074 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8075 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8076 libc/machine/sh/udivsi3.s: Use new calling convention.
8078 Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
8080 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8081 chmod, access, chdir, chown by making _path const. Also fix _amode
8084 Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
8086 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8087 _khif_tmpnam, because it doesn't comply with ANSI but may be
8088 useful anyway. Real tmpnam was already in libc/stdio, and was
8089 colliding with this one (pr 2176.)
8090 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8091 the wrong idea anyhow.
8093 Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
8095 * configure.in: Remove h8300h, we have multilib now.
8097 Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
8099 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8100 functions, to get preference over the ones in libiberty (since we
8101 provide correct declarations in <string.h>.
8102 * libc/string/Makefile.in: add support for strncasecmp,
8105 Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
8107 * Change netware config not to look for cpu explicitly.
8109 Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
8111 * libc/sys/sparc64/{creat.c,junk.c}: New files.
8112 * libc/sys/sparc64/Makefile.in: Add dependencies.
8114 Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
8116 * configure.in: Clean up v9 a bit, new "os" aoutv8.
8118 Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
8120 * libc/include/sys/reent.h: make structure smaller by allocating
8121 some stuff when needed.
8122 * libc/signal/signal.c: allocate as needed
8123 * libc/stdio/findfp.c,stdio/local.h: ditto
8124 * libc/stdlib/mprec.c: ditto
8126 * libc/time/localtime.c: don't return a dangling stack ptr.
8128 Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
8130 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8132 Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8134 * libc/include/stdio.h (__sputc): comment out static inline which
8135 confuses coff toolchains.
8137 Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
8139 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8140 _write.s, getpid.c, kill.c, read.s}:
8141 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8142 through the syscalls directory.
8144 Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
8146 * configure.in: fixed double quote gotcha.
8148 Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
8150 * stub/ex931: stub library for sparclite board.
8151 * stub/idp: Renamed from mc68ec. Added contructor table
8152 stuff to linker script.
8153 * stub/mvme135: Renamed from m68kmvme. Added contructor table
8154 stuff to linker script.
8156 Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8158 * configure.in: Configure testsuites only if they exist.
8160 Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8162 * configure.in: Don't set machine_dir for i386 until there is
8163 something in libc/machine/i386 to compile. For i[34]86-*-netware*
8164 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8165 CLOCK_PROVIDED and MALLOC_PROVIDED.
8167 * libc/sys/netware: New directory. Contains simplistic and
8168 probably incorrect stubs for NetWare. Should be enough to load
8170 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8171 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8174 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8175 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8176 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8177 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8179 Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
8181 * testsuite/Makefile.in: add "docs" dummy target for consistency
8182 with rest of newlib; turn "info" and "install-info" into dummy
8183 targets, since they wouldn't have worked. (Depended on
8184 nonexistent "doc" subdir.)
8186 Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8188 * configure.in: handle mips* instead of mips
8190 Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
8192 * libc/include/sys/dirent.h: New file. If it is not overridden by
8193 a version of libc/sys/*/sys/dirent.h, it includes the next
8194 <dirent.h> file in case there is one lurking somewhere.
8196 Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8198 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8199 compliance, namely: Accept a minus sign. Consider a single 0 with
8200 a radix of 0 as being a conversion. Determine overflow correctly.
8201 If an overflow occurs, set *ptr to the end of the number, not the
8203 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8205 Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
8207 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8209 Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
8211 * Makefile.in (INSTALL): Use $srcrootpre.
8212 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8214 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8216 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8217 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8218 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8219 * libm/math/Makefile.in (matherr.o): Ditto.
8221 Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8223 * configure.in: Build multidirs for z8k.
8224 * libc/include/stdlib.h (_strtoul_r): add prototype.
8225 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8226 * libc/include/machine/setjmp.h: Add for z8k.
8227 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8228 * libc/sys/z8ksim/glue.c: tidy up.
8230 Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
8232 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8233 New files. Requires execve system call.
8234 * libc/unix/Makefile.in: Use them.
8235 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8236 Deleted, moved to libc/unix.
8237 * libc/sys/sparc64/Makefile.in: Remove them.
8239 Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
8241 * libc/sys/sparc64/{template.S template_r.S}: New files.
8242 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8244 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8245 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8246 umask.S unlink.S wait4.S write.S}: Removed, now built from
8249 Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
8251 * libc/time/time.c: #include <_ansi.h>.
8253 Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
8255 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8257 Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8259 * configure.in: match m8* rather than m88k so that m88110 is
8262 Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
8264 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8265 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8268 * configure.in: Add multilib support to h8300.
8270 Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
8272 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8273 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8274 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8276 Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8278 * configure.in: Corrected multidirs for sparc target.
8280 Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8282 Support for building newlib multiple times with different
8284 * configure.in: Only configure doc at top level. Set multidirs
8285 when appropriate for target, unless not at top level. If
8286 multidirs is set, independently configure each subdirectory.
8287 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8288 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8289 automagically set by configure.in.
8290 (all): If MULTIDIRS is set, build multiple copies of libraries.
8291 (install): If MULTIDIRS is set, install multiple copies of
8292 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
8293 MULTISUBDIR is set, don't bother to install header files.
8294 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8296 * stub/configure.in: Set MULTISUBDIR appropriately.
8297 * stub/Makefile.in (install): Install in
8298 $(tooldir)/lib/$(MULTISUBDIR).
8299 * All Makefile.in files: Define SRCTOP as well as TOP.
8301 Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
8303 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8304 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8306 Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
8308 * libc/sys/h8300hms/exit.c (_exit): New function.
8310 Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8312 * configure.in: recognize m88110.
8314 Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8316 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8317 prototype main and call with args.
8319 Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
8321 First real try at system traps for m88k-bug.
8322 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
8324 * libc/sys/m88kbug/sys/systraps.h: new file.
8326 Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8328 Patches to fix info building when target does not use sys
8330 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8331 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8333 * libc/sys/Makefile.in (doc): do nothing.
8335 Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8337 * libc/Makefile.in (CRT0): new macro.
8338 (all): depend on $(CRT0) rather than crt0.o.
8340 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8341 do not default crt0, instead, set crt0 and crt0_dir based on
8342 sys_dir and stub_dir.
8344 * Makefile.in (CRT0_DIR): new macro.
8345 (all): depend on $(CRT0) rather than crt0.o which may not exist.
8346 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8348 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8350 Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8352 * testsuite/lib/libm.exp:
8353 added code to support compiling and linking of tests for
8354 libm.sac (paranoia to be added next) and processing the
8355 pass or failure of the tests.
8357 * testsuite/config/unix-libm.exp:
8358 platform specific proc's for dealing with compiler, linker
8359 and the way we execute and process the test results.
8361 * testsuite/libm.sac/execute.exp:
8362 generic framework for the sac tests. the config and lib
8363 expect code for specific platforms tie it all together.
8365 * testsuite/libm.sac/test_is.c:
8366 changed the output of the test to be consistant with the
8367 other tests. parsing of pass nad fail messages is now fixed.
8369 Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
8371 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8372 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8373 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8374 #ifdef __cplusplus, surround by extern ""C { ... }.
8375 * libc/include/assert.h: Do *not* protect assert.h against
8376 multiple inclusion! Also, #undef it before #define, to allow
8378 * libc/include/stdio.h (getlogin, cuserid): Removed. These
8379 should be only in unistd.h.
8381 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8382 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8385 Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
8387 * libc/machine/sparc/Makefile.in: Must create a library, even
8390 Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8392 * configure.in: set machine_dir for m88k. edit crt0 definition
8395 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8397 * libc/Makefile.in (all): also build crt0.o.
8399 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8400 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8403 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8404 (all): reworked to build in place.
8405 (clean): remove lib.a
8406 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8408 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8409 (_start): key off edata rather than _start_bss.
8411 Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
8413 * libc/include/sys/unistd.h, libc/include/reent.h,
8414 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8416 Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8418 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8420 * Makefile.in (libc.a): break into two rules, one for libc.a and
8421 one for libc/libc.a. Force subdirs current before rebuilding
8423 (libm.a): break into two rules, one for libm.a and one for
8424 libm/libm.a. Force subdirs current before rebuilding library.
8426 * libc/Makefile.in (SUBLIBS): fix typo.
8428 * libc/sys/Makefile.in (all): force descent into subdirs, then
8429 rebuild library iff out of of date.
8431 Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8433 Rework so that library is built and then finished rather than
8434 being built on each invocation of make.
8436 * host/any (machine_dir, sys_dir, signal_dir): these are not
8437 shared and have been moved to their associated Makefile.in's.
8438 (AR_FLAGS): switch to qc which is faster.
8439 * configure.in: no longer assign machine_dir for m88k. set
8440 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
8441 stub_dir set, then add to configdirs. add comment about silly
8443 (configdirs): drop stub. It will be added only
8445 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8446 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8447 stub_lib, crt0): new variables for tailoring lower level
8448 makefiles. Assign accordingly and edit into makefiles.
8449 * libm/Makefile.in: updated copyright.
8450 (TARGETLIB): removed.
8451 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8452 (SUBDIRS): removed TARGETDEP_DIRS.
8453 (LIBM_FP_LIB, SUBLIBS): new macros.
8455 (force): new target to force rebuilds.
8456 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8457 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8458 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8459 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8460 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8461 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8462 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8463 stub/m68kmvme/Makefile.in: updated copyright.
8464 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8465 (all): reworked. made this the default rule.
8466 (clean): also remove lib.a.
8467 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8468 * stub/Makefile.in: updated copyright.
8469 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8470 (stub_lib): new macro.
8471 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
8474 (clean, install): assume stub_dir exists.
8475 (Makefile): depend on configure.in. call $(SHELL) rather than
8476 sh. drop redundant ./
8477 * stub/configure.in (stublib): new macro, assign it, edit it into
8479 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8482 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8483 * libc/Makefile.in (TARGETCRT0): removed.
8484 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8486 (SUBDIRS): drop TARGETDEP_DIRS.
8487 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8488 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8489 (force): new target to force rebuilds.
8490 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8491 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8493 (clean): assume sys_dir always exists.
8494 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8496 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8497 libc/locale/Makefile.in, libc/machine/Makefile.in,
8498 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8499 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8500 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8501 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8502 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8503 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8504 libc/signal/Makefile.in, libc/stdio/Makefile.in,
8505 libc/stdlib/Makefile.in, libc/string/Makefile.in,
8506 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8507 libc/time/Makefile.in, libc/unix/Makefile.in,
8508 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8509 (TARGETLIB): removed.
8511 (clean): also remove lib.a.
8512 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8513 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8515 (SUBDIRS): moved to follow frag inclusion, change stub to
8517 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8518 are now set in the libc Makefile.
8519 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8520 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8522 (force): new target to force rebuilds.
8523 * stub/configure.in: determine and set stub_lib for for Makefile.
8525 Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
8527 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8528 crt0.s renamed to crt0.S.
8529 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8531 * libc/machine/h8300/Makefile.in: Make `all' the default target.
8532 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8534 * libc/machine/h8300/defines.h: Add macros to handle pointers for
8535 h8300 (16 bits) and h8300h (32 bits).
8536 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8537 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8539 Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
8541 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8542 implementation of setjmp and longjmp for the m88k.
8543 * libc/include/machine/setjmp.h: Added __m88000__ case.
8545 Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
8547 * configure.in: Recognize h8300h as variant of h8300.
8549 Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8551 * libc/include/sys/unistd.h (read, write): get prototypes right.
8552 (sbrk): New prototype.
8553 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8554 * libc/stdio/local.h: Include unistd.h.
8555 * libc/machine/h8300/syscalls.c: Names have changed.
8557 Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
8559 * configure.in: add sys_dir assignment for m88k-bug.
8561 Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
8563 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8565 * libc/sys/sparc64: all *.S files: Use new macros.
8566 * libc/sys/sparc64/isatty.c: New file.
8567 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8568 functions beyond what newlib provides.
8570 Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
8572 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8575 Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
8577 * libc/include/machine/ieeefp.h: Add support for h8/300h.
8579 Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
8581 * configure.in: add m88k.
8582 * libc/include/machine/ieeefp.h: add case for m88k. Also add
8583 sanity check so no one else need ever chase what I did to find
8586 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8588 Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
8590 * doc/makedoc.c: Include <ctype.h>.
8592 Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
8594 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8595 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8596 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8598 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8600 Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
8602 * libc/include/errno.h (ENOSYS): Added.
8604 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8606 Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8608 * libc/stdio/fflush.c (fflush): Check for reent struct
8610 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8612 Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
8614 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8615 out of dtoa.c so it doesn't pollute the namespace.
8616 * libc/include/_syslist.h: new file -- mappings from _function to
8617 function, for systems where we can't win (by default, all of them,
8618 until we start updating system calls.)
8619 * libc/syscalls: new directory -- stubs for exporting _function
8620 names as unmodified function names.
8621 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8622 _syslist.h on all platforms by default, but put hooks in for
8623 fake_sys_dir so we can include it when we've renamed the system
8625 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8626 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8627 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8628 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8629 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8630 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8631 non ANSI functions to call _function.
8633 Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
8635 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8636 when base 16 is specified. Don't accept non-digits if radix > 10.
8638 Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
8640 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8642 Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8644 * libc/include/sys/stat.h: Surround text after #endif with
8647 Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
8649 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8650 _malloc_r, _realloc_r, and free_r call the corresponding
8651 non-reentrant functions.
8653 * libm/math/modf.c (modf): We now take the address of ipart, so
8654 don't make it a register variable.
8656 Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
8658 * libm/math/*: Rename all xxx_r fns to _xxx_r.
8660 Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
8662 * libc/libc.texinfo and embedded docn throughout: formatting
8663 improvements, minor rephrasing for clarity, and improved
8666 Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8668 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8670 * libc/stdio/cvt.c (_licvt): Print the right value on machines
8671 where sizeof(int) != sizeof(long).
8673 Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8675 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8676 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8677 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8678 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8679 libm/math/matherr.c: changes for better docn formatting (info).
8681 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8682 libc/reent/reent.tex, libc/signal/signal.tex,
8683 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8684 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8685 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8686 makeinfo node defaulting to get better Info file node structure.
8687 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8688 Also include a few formerly missing sections (subroutines).
8690 * doc/doc.str: delete fossil expansion for "func"
8692 * default.menu, no-signal.menu: delete.
8694 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8695 method used to adjust doc for missing "signals" chapter when
8696 signal_dir is empty.
8698 Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8700 * configure.in: added testsuite/libm.sac
8702 Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
8704 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8707 Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
8709 * libm/Makefile.in: Use $(MAKE) rather than make, and define
8710 MAKEOVERRIDES to be empty.
8712 Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
8714 * configure.in: Don't build mips-*-* with -msoft-float, since that
8715 makes it incompatible with hard floating point.
8717 Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8719 * Makefile.in: added recursive 'make check'
8721 Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8723 * configure.in: added ./testsuite ./testsuite/libm.paranoia
8724 * ./testsuite/Makefile.in: created
8725 * ./testsuite/libm.paranoia: paranoia tests added
8727 Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
8729 * configure.in: For mips-*-* set machine_dir to mips.
8731 * libc/machine/mips: New directory.
8732 * libc/machine/mips/Makefile.in: New file.
8733 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8735 * libc/include/machine/setjmp.h: Added __mips__ case.
8737 * libc/machine/lmips: Removed unused and useless directory.
8739 Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
8741 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8743 Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
8745 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8748 Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
8750 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8753 Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
8755 * libm/test/convert.c: structure member errno -> errno_val.
8756 Must include <errno.h> to use errno, it's a macro now.
8757 * libm/test/math.c: Ditto.
8758 * libm/test/math2.c: Include errno.h.
8759 * libm/test/string.c: Ditto.
8760 * libm/test/test.h: structure member errno -> errno_val.
8761 Remove extern int errno decl.
8763 Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
8765 * libc/stdio/Makefile.in: Added dependencies on local header
8767 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8770 Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
8772 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8774 Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
8776 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8779 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8780 * libc/stdio/local.h: Add prototype for _licvt.
8782 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
8783 instead of malloc,reealloc.
8785 * libc/stdlib/local.h: New file.
8786 * libc/stdlib/efgcvt.c: #include local.h.
8787 (gcvt): Fix call to _gcvt.
8788 * libc/stdlib/ecvtbuf.c: #include local.h.
8790 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
8791 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
8792 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
8794 * libc/stdlib/atexit.c: moved global data to struct _reent.
8795 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
8797 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
8799 Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
8801 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
8802 here from ../reent.h.
8804 Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
8806 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
8807 should be provided in both libc.a and libm.a.
8808 (libc.a): Depend on targ-include and libm.a. Copy
8809 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
8810 (libm.a): Depend on targ-include.
8811 * configure.in (subdirs): Removed libc/math.
8813 Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8815 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
8817 Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
8819 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
8820 sys/reent.h instead of reent.h.
8821 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
8822 headers moved to sys/reent.h.
8823 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
8824 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
8825 __need__MAX_SIGNALS defined.
8826 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
8827 std{in,out,err} refer to new _std{in,out,err} members.
8829 Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
8831 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
8834 Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
8836 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
8837 rather than whatever macro seterrno() has.
8839 Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
8841 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
8842 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8844 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
8847 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
8848 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
8849 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8851 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
8852 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
8854 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
8855 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
8856 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
8857 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
8858 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
8859 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
8860 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
8861 renamed to _xxx_r. struct reent_struct renamed to struct _reent
8862 for ANSI. structure members given leading "_" for ANSI. Use
8863 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8865 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
8866 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
8867 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
8868 reent_struct renamed to struct _reent for ANSI.
8869 Structure members given leading "_" for ANSI.
8870 _CONST --> const in prototypes.
8871 Use _HAVE_STDC instead of __STDC__.
8873 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
8875 struct reent_struct renamed to struct _reent for ANSI.
8876 Structure members given leading "_" for ANSI.
8878 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
8880 struct reent_struct renamed to struct _reent for ANSI.
8882 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
8883 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
8884 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
8885 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
8886 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
8888 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
8889 signal.h, stdio.h, stdlib.h, string.h, time.h}:
8890 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
8891 #ifndef _STRICT_ANSI non-ANSI routines.
8892 Reentrant routines renamed from _r_xxx to _xxx_r.
8893 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
8894 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
8895 Clean up namespace (structure members have leading "_").
8896 struct reent_struct renamed to struct _reent for ANSI compliance.
8897 _CONST --> const in function prototypes.
8899 * libc/include/string.h: Add NULL and size_t.
8901 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
8902 unlink, wait, wait4. Reentrant syscall routines close, fork,
8903 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
8905 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
8906 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
8907 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
8908 write.S}: Define reentrant versions.
8909 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
8912 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
8914 * libc/include/stdlib.h (RAND_MAX): Fix value.
8916 Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
8918 * libc/sys/a29khif/_main.c: Removed unnecessary file.
8919 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
8920 VPATH support targets after all: target.
8922 * stub/mvme135/mvme.S: Renamed exceptionhandler to
8923 exceptionHandler, which is what mvme135-stub.c expects.
8925 Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
8927 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
8929 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
8930 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
8933 Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
8935 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
8937 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
8939 libc/reent/fstatr.c (_r_fstat): Ditto.
8940 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
8941 libc/reent/sbrkr.c (_r_sbrk): Ditto.
8942 libc/reent/statr.c (_r_stat): Ditto.
8944 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
8945 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
8946 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
8947 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
8948 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
8949 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
8950 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
8951 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
8952 (__swrite): Ditto for _r_lseek, _r_write.
8953 (__sseek): Ditto for _r_lseek.
8954 (__close): Ditto for _r_close.
8955 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
8957 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
8958 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
8960 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
8961 to make reent_struct the first argument (and thus consistent with
8962 the rest of newlib).
8964 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
8965 reference to __STDC__.
8967 Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
8969 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
8972 Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
8974 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
8976 libc/stdio/fclose.c (fclose): Ditto.
8978 Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
8980 * Run through indent and rename reentrant routines for ANSI.
8981 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
8982 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
8983 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
8984 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
8985 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
8986 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
8987 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
8988 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
8989 vsprintf.c wbuf.c wsetup.c local.h}
8991 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
8993 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
8994 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
8995 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
8996 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
8997 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
8998 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9000 * Run through indent.
9001 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9002 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9003 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9004 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9007 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9008 localtime.c mktime.c strftime.c time.c}:
9009 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9011 * Reformatting + renaming (for ANSI, GNU style, consistency).
9012 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9013 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9014 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9016 Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
9018 * libc/include/stdio.h (stdin_r): Fix.
9020 Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
9022 * Makefile.in: Unexport some variables to keep GNU make from
9023 putting them in the environment and using up needed ARG_MAX space
9024 (a hack is used to let this work with older makes as well).
9026 Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
9028 * Makefile.in: Use $(MAKE) rather than make.
9029 (MAKEOVERRIDES): Define to be empty.
9030 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9031 (libc.a, libm.a): Depend on targ-include.
9032 * host/any (LD): Don't define.
9033 (INCLUDES): Use targ-include.
9034 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9035 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9036 * libc/Makefile.in: Use $(MAKE) rather than make.
9037 (MAKEOVERRIDES): Define to be empty.
9038 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9039 (all): Rewrote to be slightly smaller.
9040 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9042 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9043 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9045 Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
9047 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9050 Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
9052 * Changes for reentrancy.
9053 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9054 Use ptr->_errno, not errno.
9055 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9056 libc/stdio/remove.c (remove_r): New function.
9057 libc/stdio/rename.c (rename_r): New function.
9058 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9059 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9060 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9061 reentrant versions of system calls.
9062 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9063 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9064 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9065 libc/stdio/findfp.c: Include <string.h>.
9066 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9068 libc/stdio/wbuf.c: Include "fvwrite.h"
9070 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9072 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9073 (NULL): Don't define if already defined.
9074 libc/stdlib/system.c: Call reentrant versions of system calls.
9075 (system_r): New function.
9077 * Changes for reentrancy.
9078 libc/include/_ansi.h (_PARAMS): New macro.
9079 libc/include/errno.h: Define errno as a macro that calls __errno.
9080 (__errno_r): New macro for reentrant code.
9081 libc/include/math.h: Include reent.h. Declare many reentrant
9083 (signgam): Now a macro, not a variable.
9084 (struct exception): Added err field.
9085 libc/include/reent.h: Don't declare __sglue. Added function
9087 (struct reent_struct): Moved errno to beginning. Added _signgam.
9088 libc/include/stdio.h, libc/include/stdlib.h: Added function
9091 * More reentrancy hacking.
9092 libc/errno/errno.c (__errno): New function.
9093 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9094 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9097 * Added many new reentrant functions to libm/math/*.
9098 libm/math/error.c (__matherror): Added reent_struct pointer
9099 argument. Changed all callers.
9100 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9101 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9102 libm/math/tan.h: Removed obsolete unused header files.
9104 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9106 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9108 Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9110 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9113 Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9115 * libc/libc.texinfo: comment out reentrancy chapter (duh)
9117 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9119 * libc/reent/reent.tex: New file. (text from
9120 newlib/libc/libc.texinfo)
9121 * libc/stdio/tmpnam.c: fixed doc typo
9122 * libc/stdlib/rand.c: fixed doc typo
9124 Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9126 * libc/reent/reent.tex: New file. (text from
9127 newlib/libc/libc.texinfo)
9129 Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9131 support for reentrancy
9132 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9134 * libc/errno/errno.c, libc/include/ieeefp.h,
9135 libc/include/locale.h, libc/include/reent.h,
9136 libc/include/signal.h, libc/include/stdio.h,
9137 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9138 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9139 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9140 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9141 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9142 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9143 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9144 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9145 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9146 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9147 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9148 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9149 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9150 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9151 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9152 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9153 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9154 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9155 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9156 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9157 libc/time/strftime.c: modify to provide reentracy.
9160 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9161 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9162 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9163 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9164 mstats_r, realloc_r, localeconv_r, setlocale_r
9166 Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
9168 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9169 libc/include/sys/config.h, libc/include/sys/signal.h,
9170 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9171 provided macros (such as m68000), use the ansi version
9172 (__m68000__) so that the library can be used with code compiled
9173 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9176 Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9178 * configure.in (sparc*): Don't set -fsoft-float for sparc
9179 configurations. Do set -fsoft-float for sparclite configurations.
9181 Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9183 * default.menu, no-signal.menu: alternate forms of libc main menu
9184 (in newlib rather than newlib/libc due to configuration restrictions)
9186 * configure.in: select one of the two menus above, link to
9189 * libc/libc.texinfo: include menu from separate file
9191 Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
9193 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9194 (info): Split long shell command in half.
9195 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9196 sub-makes, just CHEW and TARGETDOC.
9197 (targetdep.tex): Removed now special handling of sys and machine
9198 subdirectories, made obsolete some time ago.
9199 * libc/machine/Makefile.in (doc): Don't pass everything to
9200 sub-make, just CHEW and TARGETDOC.
9201 (Makefile): New target.
9202 * libc/sys/Makefile.in (Makefile): New target.
9204 Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
9206 * Makefile.in (here and most subdirectories): Only pass down CHEW
9207 and TARGETDOC when making info, not for other targets.
9209 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9210 $(AR_FLAGS) rather than $(ARUPDATE).
9212 Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
9214 * Try to reduce command line length:
9215 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9216 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9217 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9218 (info): Pass CHEW to other subdirs.
9220 Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
9222 * configure.in: add signal_dir, like unix_dir, but by default it
9223 is set to "signal" so that a29khif can turn it off (since a29khif
9224 has raise() as part of machine-specific signal.s.)
9226 Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9228 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9229 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9231 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9232 libc/stdio/vfprintf: type lint.
9233 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9235 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9237 Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
9239 * stub/mvme135/mvme135-asm.S: new file.
9240 stub/mvme135mvme135-stub.c: moved all assembler routines into
9242 stub/mvme135/Makefile.in: build mvme135-stub.o.
9244 Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
9246 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9247 sub-Makefiles instead, to try to avoid line length limitations.
9249 Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
9251 * libc/include/unistd.h (read, write): Use void* instead of
9254 Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
9256 * stub/go32/resetpc: sample script to send a reset packet to the
9259 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9260 DOS environment, which compiles with Turbo C.
9262 * stub/go32/DSER32.LNK: new file, linker commands for serial
9265 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9266 start up message to identify version; call set_debug_traps.
9268 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9269 keyboard interaction); call handle_exception() in go_til_stop,
9270 rather than return, so that the remote stub gets control.
9272 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9273 rename, rather than mv), set flags that work with current Turbo C,
9274 including using the /3 flag; also, add commands to build dser32.
9276 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9277 default Turbo C installation (\tc rather than \usr)
9279 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9282 Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9284 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9286 Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9288 * libc/stdio/cvt.c (licvt): new function to convert ints when
9289 sizeof(int) != sizeof(long).
9291 * libc/include/stdio.h: added prototype for iprintf.
9292 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9294 Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
9296 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9297 __REGISTER_PREFIX__.
9299 Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
9301 * libc/sys/m68kbare: moved into stub directory.
9303 Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
9305 * configure.in, Makefile.in: created new directory stub, to hold
9306 sample code for specific targets.
9308 Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
9310 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9311 in the unified libc/include/sys/fcntl.h.
9313 Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
9315 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9316 printed .01, not 0.01.
9318 Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
9320 * configure.in: compile with -m68000 for m68* targets.
9322 Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
9324 * libm/math/remainder.c (remainder): document the svr4 and sunos
9325 references used to construct the function.
9327 Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
9329 * libm/math/remainder.c (rint, remainder): fix old typos.
9330 * libm/math/Makefile.in: actually build remainder.c (functions
9331 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9334 Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
9336 * libc/string/bcopy.c: BSD version works on overlapping strings,
9339 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9342 Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
9344 * Makefile.in (docs): new target.
9346 Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
9348 * libc/include/sys/times.h: define clock_t as required by POSIX.
9349 libc/include/time.h: protect clock_t from multiple definitions.
9351 Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9353 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9354 does not need more than the original three iterations to get
9355 within 1 ulp. (Paranoia tests for rounding to better than that,
9356 but further iterations *don't* help, only more subtle changes
9359 Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
9361 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9362 were doing nothing useful.
9364 Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
9366 * configure.in: define MALLOC_PROVIDED for vxworks targets;
9367 removed sys_dir settings of vxworks68 and vxworks960.
9368 host/any: don't pass -nostdinc to gcc, since newlib no longer
9369 provides all required header files.
9371 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9372 is not defined; this provides a hook for VxWorks.
9374 Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9376 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9377 buffer if buf is NULL, don't do it here -- it is already being
9378 done by makebuf elsewhere in stdio.
9380 Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
9382 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9383 that C programs can call functions without using initial
9386 Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
9388 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9390 Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
9392 * configure.in: set TARGET_CFLAGS for certain CPU types to
9395 Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9397 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9399 Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
9401 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9404 Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
9406 * libc/include/stdio.h: define __need___va_list before including
9407 <stdarg.h>, to avoid defining va_arg, et. al.
9409 Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
9411 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9412 (don't cd to the user's home directory).
9414 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9415 In general this is the wrong thing to do, but I can't get around
9416 GNU make's insistence on passing command line arguments any other
9419 Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
9421 * configure.in: always configure the libc/sys directory, since it
9422 now provides a required documentation file.
9424 * Makefile.in: replaced all instances of $(MAKE) with make. In
9425 general this is the wrong thing to do, but I can't get around GNU
9426 make's insistence on passing command line arguments any other way.
9428 Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
9430 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9433 * libc/stdio/local.h: include <stdarg.h> to define va_list.
9434 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9436 * libc/include/float.h, libc/include/stdarg.h,
9437 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9439 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9440 <stdarg.h>, not from <machine/types.h>. Protect definition of
9442 libc/include/time.h: get size_t from stddef.h. Protect definition
9444 libc/include/machine/limits.h: override gcc <limits.h> by defining
9445 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
9446 get correct INT_MIN and LONG_LONG values.
9447 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9448 size_t or va_list at all; they're now gotten from stddef.h
9450 libc/include/machine/varargs.h: removed; use gcc version instead.
9451 libc/include/sys/types.h: explicitly include <machine/types.h>.
9453 * libm/math/sqrt.h: using the fp-bit routines appears to require
9456 * Makefile.in, host/any: let system include files override machine
9459 Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9461 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9462 override _*_T_ definitions defaulted here.
9464 Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
9466 * Makefile.in (install): install the include files in
9467 $(tooldir)/include, not $(exec_prefix)/include.
9469 Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
9471 * Makefile.in (install): fixed typo, and changed install to not
9472 force rebuild of libc.a and libm.a.
9474 Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
9476 * libc/sys/a29khif/*: Changed all .include's to include
9477 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
9478 that they will be installed for the user.
9480 * Makefile.in (all): create targ-include, a directory holding the
9481 machine and system specific header files during the build.
9482 (install): fixed installation of machine and system specific
9485 * Makefile.in: fixed comment.
9486 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9487 we can pass $(INCLUDES) to it.
9489 Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
9491 * libc/include/sys/param.h: new generic file, which may be
9492 overridden for specific systems.
9494 * libc/include/sys/signal.h: define all ANSI signal names, and
9495 NSIG (which is not ANSI) for a29k.
9497 Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
9499 * Makefile.in: don't pass down arguments the lower level makes
9501 * libc/Makefile.in: recurse directly, rather than using subdir_do,
9502 in hopes of avoiding argument length limits.
9503 * libm/Makefile.in: recurse directly, rather using subdir_do, in
9504 hopes of avoiding argument length limits.
9506 Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
9508 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9511 Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
9513 * Fixed make info and make install-info for newlib, changing most
9514 Makefile.in and several *.tex files. Moved doc directory from
9517 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9518 Should be rewritten.
9520 * libc/string/strings.tex: renamed node index to node index
9521 function, so that it does not conflict with the top level index
9524 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9526 Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
9528 * Overhauled general configuration for newlib. Eliminated all
9529 target dependent Makefile fragments. Create libraries in newlib
9530 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
9531 than CROSS_CC, et. al. Broke make docs; will fix later.
9533 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9534 Should be rewritten.
9536 Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
9538 * libc/configure.in: cleaned up somewhat; switch on ${target}
9539 rather than ${target_alias}.
9540 * libm/configure.in: cleaned up somewhat; switch on ${target}
9541 rather than ${target_alias}.
9543 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9544 * libc/include/ctype.h: marked _ctype_ as _CONST.
9546 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9549 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9550 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9551 libc/stdio/gets.c (gets): removed non-ANSI warning message.
9552 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9554 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9555 bigtens, tinytens): marked arrays _CONST.
9556 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9557 rather than a static variable.
9559 * libc/time/asctime.c (asctime), libc/time/localtime.c
9560 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9561 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9562 mname_len, mname): Marked static arrays _CONST.
9564 * libm/math/gamma.h: made local variables non-static.
9566 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9567 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9570 * libm/math/constants.c: removed file, because the constants it
9571 defined were never referenced.
9572 libm/math/Makefile.in: removed references to constants.c.
9573 libm/math/mathimpl.h: removed declarations of constants.
9575 Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
9577 * libc/include/machine/varargs.h: only call __builtin_saveregs if
9578 it is sensibly defined in libgcc2. Checks preprocessor defines,
9579 which is not a good solution.
9581 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9583 * libm/frexp.c: handle denormalized numbers as arguments.
9585 * libm/math/Makefile.in: added some dependencies for .c files
9586 which include local .h files.
9588 Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
9590 * libc/configure.in: set target_alias for OSE*. Replace
9591 target_makefile_frag if it is blank.
9593 * libc/Makefile.in: make sure everything is passed to subsidiary
9594 makes; create all directories when installing.
9596 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9597 CROSS_ARUPDATE instead of AR.
9599 * libm/configure.in: set target_alias for OSE*. Replace
9600 target_makefile_frag if it is blank.
9602 * libm/Makefile.in: make sure everything is passed to subsidiary
9603 makes; create all directories when installing.
9605 Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
9607 * add following change from libc copy.
9609 Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9611 * libc/libc.texinfo: make copyright disclaimers appear on back of
9612 title page; make format of same slightly less ugly; avoid using
9613 underbars in section headings (avoids nasty texinfo bug in table
9616 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9617 comments only) avoid using underbars in section headings
9619 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9620 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9621 changes in comments only): shorten headings ieeefp/infinity.c,
9622 ieeefp/isnan.c: (doc, comments only) more informative headings
9624 * libc/math/bessel.c: (doc, comments only) shorten heading
9626 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9627 (doc, comments only) shorten headings
9629 * libc/time/localtime.c (doc, comments only): shorten headings
9631 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9633 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9634 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9636 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9637 only) more informative headings
9638 * libm/math/bessel.c: (doc, comments only) shorten heading
9640 Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9642 * .../Makefile.in: use CROSS_ARUPDATE consistently.
9643 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9644 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9645 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9646 defined, the one from the .mt file will be correct.
9647 * libc/include/machine, libc/include/sys: created, and populated
9648 with common files from machine/*/machine. ifdefs were used for
9649 most, typically by handling exceptions first and then filling in
9650 defaults. Files with D.J. Delorie copyright #included rather than
9651 copied. Most files in include/sys really were the same in the
9653 * libc/include/...: cleaned up use of _EXFUN.
9654 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9655 it with double quotes, not angles.
9657 Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
9659 * libc/Makefile.in: always create installation directories.
9661 Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9663 * libc/configure.in: handle host properly (using canonical
9664 triples), better error message for the case of target not found
9666 Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
9668 * libc/Makefile.in (insincdir): Ensure this directory exists
9669 before attempting installation.
9671 Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9673 * libc/stdlib/assert.c: now calls abort like it should
9674 * libc/sys/a29khif: many many patches for 29khif work
9675 * libc/machine/i386: gnulib2 expanded there.
9677 Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9679 Added accurate fp conversion routines to stdlib, moved dcvt from
9680 stdio to stdlib and called it ecvtbuf:
9681 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9682 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9684 * libc/libc.texinfo: Modifed to include the copyright info from
9686 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9687 * libc/test/ : many vector which tested for the implementation
9688 defined returns of strange conversion requests have been updated
9689 to relflect the new implementation
9691 Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9693 * libc/libc.texinfo: new chapter on variable arg lists
9694 (stdarg.h/varargs.h)
9695 * libc/libc.texinfo: new title
9696 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9697 (doc only) shorter headings for better formatting.
9699 Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9701 * libc/libc.texinfo: three more info menu entries
9702 * libc/locale/locale.tex: new chapter
9703 * libc/locale/locale.c: new doc for setlocale, localeconv
9704 * libc/locale/Makefile.in: use new locale doc
9705 * libc/signal/signal.tex: new chapter
9706 * libc/signal/raise.c, libc/signal/signal.c: new doc
9707 * libc/signal/Makefile.in: use new doc
9708 * libc/time/time.tex: new chapter
9709 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9710 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9711 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9712 * libc/time/Makefile.in: use new doc
9714 Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9716 * libm/math/log1p.c: split to use the new function way of float
9717 function definition. math/log1p.h deleted
9718 * libm/math/scalb.c: obsolete and deleted
9719 * libm/math/scalbn.c: created from part log1p.c
9720 * libm/math/Makefile.in: know about log1p and scalbn
9722 Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9724 * libc/ctype/isupper.c: revise doc;
9725 libc/ctype/ctype.tex: use doc from isupper.c
9727 * libc/string/bzero.c: new doc
9729 Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9731 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9733 * libc/stdlib/Makefile.in: extract new doc
9734 * libc/stdlib/stdlib.tex: use new doc
9736 * libc/string/strerror.c: expanded doc.
9738 * libc/stdio/Makefile.in: extract doc from more files
9739 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9740 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9741 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9742 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9743 libc/stdio/vsprintf.c: new doc
9744 * libc/stdio/stdio.tex: use new doc
9746 Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9748 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9749 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9751 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9754 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9755 * libc/stdio/setbuf.c: added ansi style definition.
9756 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9757 buffer if none provided.
9758 * libc/stdio/tmpfile.c: lint
9759 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9760 rather than using static, also make sure file isn't already
9761 present. Uses P_tmpdir. (tempnam): rewritten to use new
9762 subroutine, and uses P_tmpdir.
9763 * libc/stdio/siprintf.c: created
9765 Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9767 Release 1.03 for NEC, major mods. Main differences from release
9770 More tests in test/:
9771 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9772 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9773 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9774 get/set mask, get/set sticky and get/set roundtoi. Tests
9775 that setting the bits changes the way arithmetic is done.
9776 * string.c: added test to make sure memcmp does it with unsigned
9778 * test.c: cleaned up and removed lint.
9779 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9780 dvec.c: tests for string to value conversions, sprintf, scanf,
9781 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
9782 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
9783 rounding in sprintf too.
9784 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
9785 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
9786 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
9788 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
9792 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
9793 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
9794 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
9795 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
9796 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
9798 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
9799 * Method of producting float versions of double functions has
9800 changed, functions will be modified gradually. So far:
9801 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
9802 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
9804 * libc/string/memcmp.c: now uses unsigned chars
9805 * libc/string/bcmp.c, libc/string/strcpy.c,
9806 libc/stsring/strxfrm.c: fixed doc
9807 * libc/sys/sysvnecv70.tex: fix example of sbrk code
9810 version-control: never