]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* path.h: Add a new constant.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
a302b48c
JJ
12001-01-18 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/sys/arc/Makefile.am: New file.
4 * libc/sys/arc/Makefile.in: Ditto.
5 * libc/sys/arc/aclocal.m4: Ditto.
6 * libc/sys/arc/configure: Ditto.
7 * libc/sys/arc/configure.in: Ditto.
8 * libc/sys/arc/crt0.S: Ditto.
9 * libc/sys/arc/isatty.c: Ditto.
10 * libc/sys/arc/mem-layout.c: Ditto.
11 * libc/sys/arc/sbrk.c: Ditto.
12 * libc/sys/arc/syscalls.c: Ditto.
13 * libc/sys/arc/sys/syscall.h: Ditto.
14
d0319c3b
CF
15Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
16
17 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
18
e45ab890
CF
19Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
20
21 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
22
1376245a
DD
23Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
24
25 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
26
92b57543
NC
272001-01-09 Nick Clifton <nickc@redhat.com>
28
29 * configure.host (v859): Remove unsupported compiler options.
30
7d6d33d4
JJ
31Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
32
33 * src/newlib/configure.host (*-*-rtems*): add printf long long
34 support for RTEMS.
35
602f8b5a 362000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
37
38 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
39
9c2b8183
JJ
40Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
41
42 * configure.host: Turn on long double I/O for Cygwin.
43
804368d3
JJ
44Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
45
46 * MAINTAINERS: Removed Ranjith.
47 * NEWS: Updated for 1.9.0.
48 * README: Updated.
49 * acinclude.m4: Updated to release 1.9.0.
50 * aclocal.m4 configure
51 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
52 libc/machine/aclocal.m4 libc/machine/configure
53 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
54 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
55 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
56 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
57 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
58 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
59 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
60 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
61 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
62 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
63 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
64 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
65 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
66 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
67 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
68 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
69 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
70 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
71 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
72 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
73 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
74 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
75 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
76 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
77 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
78 libc/sys/aclocal.m4 libc/sys/configure
79 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
80 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
81 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
82 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
83 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
84 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
85 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
86 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
87 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
88 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
89 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
90 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
91 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
92 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
93 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
94 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
95 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
96 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
97 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
98 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
99 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
100 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
101 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
102 libm/aclocal.m4 libm/configure: Regenerated.
103
0985d43f
CV
104Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
105
106 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
107 when __CYGWIN__ is defined.
108
b6182a09
JJ
1092000-12-13 Jeff Johnston <jjohnstn@redhat.com>
110
111 * libc/stdlib/ldtoa.c (_ldcheck): New routine
112 that categorizes a long double as NaN, Infinity, or other.
113 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
114 isinfl and isnanl static routines which were i386-specific. Changed
115 calls to the two removed routines to a single _ldcheck call.
116 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
117
adbbb034
JJ
1182000-12-13 Jeff Johnston <jjohnstn@redhat.com>
119
120 * Makefile.am: Fixed install-data-local target to use
121 $(mkinstalldirs) for the installed header files to ensure
122 the directories exist before copying.
123 * Makefile.in: Regenerated.
124
cbd19336
JJ
1252000-12-12 Jeff Johnston <jjohnstn@redhat.com>
126
127 * libc/include/sys/unistd.h: Restored Cygwin _SC
128 constants and moved new constants appropriately
129 so Cygwin will build.
130
8fb37963
JJ
1312000-12-11 Joel Sherrill <joel@OARcorp.com>
132
133 * Merge RTEMS specific .h files into main libc/include.
134 * libc/sys/rtems/include/signal.h: Removed.
135 * libc/sys/rtems/include/time.h: Removed.
136 * libc/sys/rtems/sys/features.h: Removed.
137 * libc/sys/rtems/sys/sched.h: Removed.
138 * libc/sys/rtems/sys/siginfo.h: Removed.
139 * libc/sys/rtems/sys/signal.h: Removed.
140 * libc/sys/rtems/sys/time.h: Removed.
141 * libc/sys/rtems/sys/times.h: Removed.
142 definitions for time_t and clock_t since these are
143 no longer in time.h.
144 * libc/include/pthread.h: New file.
145 * libc/include/sys/sched.h: New file.
146 * libc/include/sys/features.h: New file.
147 * libc/include/time.h: Removed duplicate definition of clock_t
148 and time_t, get them from <sys/types.h> instead. Add prototypes
149 for POSIX clock and timer functionality.
150 * libc/sys/linux/sys/types.h: Changed to include
151 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
152 * libc/include/sys/signal.h: Add more complete set of POSIX
153 signal functionality including real-time and threaded signals.
154 * libc/include/sys/types.h: Add clock_t, time_t, struct
155 timespec, and struct itimerspec. Centralizing these makes
156 things cleaner. RTEMS uses 64-bit dev_t.
157 Added numerous primitive definitions
158 for pthreads including macros, pthread_attr_t,
159 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
160 pthread_once_t, and pthread_t.
161 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
162 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
163 Feature flags removed and moved to new file <sys/features.h>.
164 Full set of POSIX sysconf() constants
165
2efbc2a7
JJ
1662000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
167
168 * configure.host: Added x86 linux target.
169 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
170 definitions provided if not already defined.
171 * libc/sys/linux/crt0.c: New file.
172 * libc/sys/linux/Makefile.am: Ditto.
173 * libc/sys/linux/Makefile.in: Ditto.
174 * libc/sys/linux/aclocal.m4: Ditto.
175 * libc/sys/linux/brk.c: Ditto.
176 * libc/sys/linux/configure: Ditto.
177 * libc/sys/linux/configure.in: Ditto.
178 * libc/sys/linux/getoptlong.c: Ditto.
179 * libc/sys/linux/ids.c: Ditto.
180 * libc/sys/linux/inode.c: Ditto.
181 * libc/sys/linux/io.c: Ditto.
182 * libc/sys/linux/linux.c: Ditto.
183 * libc/sys/linux/process.c: Ditto.
184 * libc/sys/linux/realpath.c: Ditto.
185 * libc/sys/linux/select.c: Ditto.
186 * libc/sys/linux/signal.c: Ditto.
187 * libc/sys/linux/systat.c: Ditto.
188 * libc/sys/linux/termios.c: Ditto.
189 * libc/sys/linux/time.c: Ditto.
190 * libc/sys/linux/wait.c: Ditto.
191 * libc/sys/linux/include/alloca.h: Ditto.
192 * libc/sys/linux/include/getopt.h: Ditto.
193 * libc/sys/linux/include/stdint.h: Ditto.
194 * libc/sys/linux/include/unistd.h: Ditto.
195 * libc/sys/linux/sys/cdefs.h: Ditto.
196 * libc/sys/linux/sys/dirent.h: Ditto.
197 * libc/sys/linux/sys/errno.h: Ditto.
198 * libc/sys/linux/sys/fcntl.h: Ditto.
199 * libc/sys/linux/sys/file.h: Ditto.
200 * libc/sys/linux/sys/ioctl.h: Ditto.
201 * libc/sys/linux/sys/resource.h: Ditto.
202 * libc/sys/linux/sys/signal.h: Ditto.
203 * libc/sys/linux/sys/stat.h: Ditto.
204 * libc/sys/linux/sys/syscall.h: Ditto.
205 * libc/sys/linux/sys/termios.h: Ditto.
206 * libc/sys/linux/sys/time.h: Ditto.
207 * libc/sys/linux/sys/types.h: Ditto.
208 * libc/sys/linux/sys/utmp.h: Ditto.
209 * libc/sys/linux/sys/utsname.h: Ditto.
210 * libc/sys/linux/sys/wait.h: Ditto.
211
a08c98bb
JJ
2122000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
213
214 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
215 can be a relative path to $(top_srcdir)/install.sh so ensure the
216 autoconf detected settings are properly passed recursively.
217 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
218 properly to subdirectories.
219 * Makefile.in: Regenerated.
220
b294082c
JJ
2212000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
222
223 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
224 a floating point register unless really printing a floating
225 point number.
226
2005ab6b
JJ
2272000-12-07 Jeff Johnston <jjohnstn@redhat.com>
228
229 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
230 Also removed \r's.
231 (asctoeg): Replaced alloca call with stack array and malloc
232 when storage exceeds reasonable limit.
233 (e53toe): Fixed einfin calls missing ldp parameter.
234 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
235
9f6e8f1b
JJ
2362000-12-06 Jeff Johnston <jjohnstn@redhat.com>
237
2005ab6b 238
9f6e8f1b
JJ
239 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
240
6bdac416
JJ
2412000-12-06 Jeff Johnston <jjohnstn@redhat.com>
242
243 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
244 * libc/stdlib/Makefile.in: Regenerated.
245 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
246 * libc/stdio/vfieeefp.h: Added long double bit structures.
247 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
248 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
249 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
250 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
251 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
252 _strtold routines used for conversions between character
253 and long double.
254
ec270d31
CV
255Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
256
257 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
258
db2d9549
JJ
2592000-12-04 Joel Sherrill <joel@OARcorp.com>
260
261 * libc/include/machine/time.h: RTEMS systems can configure clock
262 tick rate so use sysconf() to ask.
263
6ba54a15
JJ
2642000-12-04 Joel Sherrill <joel@OARcorp.com>
265
266 * libc/include/sys/times.h: Add reference to POSIX standard.
267
8677b819
JJ
2682000-12-04 Joel Sherrill <joel@OARcorp.com>
269
270 * libc/include/sys/time.h: Added BSD timer manipulation macros
271 used by RTEMS code.
272
1b61a706
JJ
2732000-12-04 Joel Sherrill <joel@OARcorp.com>
274
275 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
276 referenced by code generated by gcc 2.8.1.
277 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
278 satisfy gcc.
279
f5e7c124
JJ
2802000-12-04 Joel Sherrill <joel@OARcorp.com>
281
282 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
283
768abc9c
JJ
2842000-12-04 Joel Sherrill <joel@OARcorp.com>
285
286 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
287
9e5dd5ea
JJ
2882000-12-04 Joel Sherrill <joel@OARcorp.com>
289
290 * configure.host (or16, or32): New entries for OpenCores
291 OpenRisc CPUs.
292 (*-*-rtems*): Add -DNO_EXEC.
293
768abc9c 2942000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
295
296 * libc/include/sys/errno.h: Added comments on many error numbers.
297 * libc/string/strerror.c: Added some more strings.
298
b273323f
JJ
2992000-11-30 Jeff Johnston <jjohnstn@redhat.com>
300
301 * libc/sys/sh/syscalls.c (_link): New stub.
302
0ffc3b94
NC
3032000-11-29 Nick Clifton <nickc@redhat.com>
304
305 * configure.host: Add xscale target.
306 * libc/machine/xscale: New directory.
307 * libc/machine/xscale/Makefile.am: New file.
308 * libc/machine/xscale/Makefile.in: New file.
309 * libc/machine/xscale/aclocal.m4: New file.
310 * libc/machine/xscale/configure: New file.
311 * libc/machine/xscale/configure.in: New file.
312 * libc/machine/xscale/memchr.S: New file.
313 * libc/machine/xscale/memcmp.S: New file.
314 * libc/machine/xscale/memcpy.S: New file.
315 * libc/machine/xscale/memmove.S: New file.
316 * libc/machine/xscale/memset.S: New file.
317 * libc/machine/xscale/strchr.S: New file.
318 * libc/machine/xscale/strcmp.S: New file.
319 * libc/machine/xscale/strcpy.S: New file.
320 * libc/machine/xscale/strlen.S: New file.
321
cbbf0f96
CV
322Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
323
324 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
325 avoid compiler warnings.
326
73dea790
MM
3272000-11-22 Michael Meissner <meissner@redhat.com>
328
329 * libc/posix/execl.c (execl): Don't reference environ directly,
330 reference it only via a static pointer to avoid problems with some
331 shared library systems and with different uses of small data where
332 the user specifies his own version of environ.
333 * libc/posix/execv.c (execv): Ditto.
334 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
335 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
336 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
337
338 * libc/stdlib/getenv.c (environ): Delete unused reference to
339 environ.
340
341 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
342 colorization.
343 * libc/stdlib/system.c: Ditto.
344
08eac2ae
CF
345Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
346
347 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
348 including windows headers.
349
5478bf37
JJ
3502000-11-20 Jeff Johnston <jjohnstn@redhat.com>
351
352 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
353 * libc/include/dirent.h: Added definition of MAXNAMLEN if
354 not defined by sys/dirent.h.
355 * libc/posix/execvp.c: Added include of dirent.h to get
356 MAXNAMLEN value which used to be in unistd.h.
357
3a760728
CV
358Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
359
360 * libc/include/sys/types.h: Change type of i to `size_t' in
361 FD_ZERO macro to avoid compiler warnings.
362
86fff69f
CF
363Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
364
365 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
366 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
367
ba9e88d2
CV
368Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
369
370 * libc/include/sys/unistd.h: Add defines for sysconf values
371 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
372 _SC_AVPHYS_PAGES.
373
a8018ef3
CF
374Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
375
376 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
377 declarations for __CYGWIN__.
378
b944c6f6
GK
3792000-09-19 Geoffrey Keating <geoffk@cygnus.com>
380
381 * libc/signal/signal.c (__sigtramp_r): ISO C requires
382 case labels to be integral constant expressions, so
383 use an if/else tree instead.
384 (_raise_r): Likewise.
385
7f18fcb4
JJ
3862000-09-13 Jeff Johnston <jjohnstn@redhat.com>
387
388 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
389 clipping patch from e-mail reader.
390
242361df
JJ
3912000-09-13 Will Cohen <wcohen@redhat.com>
392
393 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
394 Added return value 0.
395 (_longjmp): Allow longjmp to return value of second argument
396 passed to it.
397
8a8c59b9
JJ
3982000-09-06 Jeff Johnston <jjohnstn@redhat.com>
399
400 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
401 inline code to prevent having to include another header file.
402
a385ae75
CF
403Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
404
405 * Makefile.am: Fix space vs. tab problem in install-data-local.
406 * Makefile.in: Regenerate.
407
408Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
409
410 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
411 (_EXPARM): New macro for defining a function parameter.
412 * libc/include/stdlib.h: Use _EXPARM.
413 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
414
a36cd013
JJ
4152000-09-05 Manfred Hollstein <manfredh@redhat.com>
416
417 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
418 required, as documented in the gnu coding standards.
419 * Makefile.in: Regenerate.
420
f825dfda
JJ
4212000-09-05 Jeff Johnston <jjohnstn@redhat.com>
422
423 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
424 make O_NDELAY and O_NONBLOCK have the same value.
425
4ba9aab7
JJ
4262000-08-30 Kazu Hirata <kazu@hxi.com>
427
428 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
429
db7acc38
JJ
4302000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
431
432 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
433 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
434 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
435 everywhere else.
436
44e36af4
GK
4372000-08-30 Geoffrey Keating <geoffk@cygnus.com>
438
439 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
440 * libc/include/string.h: Don't include <sys/types.h>,
441 as it causes really bad namespace pollution. Don't declare
442 swab(), it is properly declared in unistd.h.
443
00a2f168
JJ
4442000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
445
446 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
447 (broken) support for non-existent /etc/passwd field "comment".
448
6beeb240
JJ
4492000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
450
451 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
452 only if _DIRENT_HAVE_D_NAMLEN is defined.
453 (alphasort): aligned prototype with
454 libc/sys/cygwin/sys/dirent.h and simplified function body.
455 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
456 long telldir (DIR *) as mentioned in annex B of POSIX.1
457
ef44da42
JJ
4582000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
459
460 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
461 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
462 Added __CLI and __STI macros (controlled via
463 _I386MACH_ALLOW_HW_INTERRUPTS macro).
464 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
465 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
466 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
467 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
468 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
469 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
470 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
471 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
472 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
473 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
474 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
475 for all global entry points.
476 * libc/machine/i386/setjmp.S: removed code replicated in
477 libc/machine/i386/i386mach.h and included i386mach.h instead;
478 Use __CLI and __STI instead of cli and sti.
479
14d3488d
DD
4802000-08-25 DJ Delorie <dj@redhat.com>
481
482 * libc/include/sys/unistd.h (environ): this one isn't from the
483 DLL, no __IMPORT
484
c9ca4412
CF
485Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
486
487 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
488 environ when compiling under cygwin since it is already declared in
489 unistd.h.
490
2d5862de
JJ
4912000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
492
493 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
494 like x << y-z to the equivalent x << (y-z).
495 (d2b): changed if statements with assignment to perform the
496 assignment prior to the if check.
497 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
498 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
499 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
500 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
501 precedence.
502 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
503 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
504 execve.c).
505 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
506 precedence.
507 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
508 clarify && and || precendence (and to remove pascalism).
509 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
510 * libm/math/s_infconst.c: added another pair of braces to all
511 initializers for __infinity (need three: for __infinity[1] array,
512 for union __dmath, and for i[2]).
513
0888fedd
JJ
5142000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
515
199359f0
JJ
516 * libc/stdlib/abort.c: changed description: uses "raise" instead of
517 "getpid" and "kill"; added: uses "write" and "_exit".
518 Also included unistd.h for "_exit" prototype.
519 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
520 reent.h for "_fork_r" and "_wait_r" prototypes.
521 (do_system): changed extern char *environ[] to POSIX-friendly
522 extern char **environ.
523 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
524 prototypes.
525 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
526 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
527 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
528 * libc/reent/openr.c: included fcntl.h for "open" prototype.
529 * libc/reent/signalr.c: included signal.h for "kill" prototype,
530 unistd.h for "getpid" prototype.
531 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
532 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
533 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
534 prototype. Also included stdlib.h for "abort", string.h for
535 "strdup" and "strncmp" prototypes.
536 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
537 "strncpy", unistd.h for "read" and "close" prototypes.
538 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
539 "strcat" prototypes.
540
5412000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
542
0888fedd
JJ
543 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
544 used later (ifdef __SCLE)
545 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
546 used later (ifdef MB_CAPABLE)
547 * libc/string/memset.c (memset): removed unused variables "count"
548 and "unaligned_addr"
549 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
550 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
551 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
552 and "gid"
553
a334e5ef
JJ
5542000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
555
556 * libc/stdlib/envlock.c: changed documented "__env_lock" and
557 "__env_unlock" prototype from "void *" or "char *" to
558 "struct _reent *" to match real function. Also added include
559 of envlock.h.
560 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
561 "__malloc_unlock" prototype from "void *" or "char *" to
562 "struct _reent *" to match real function.
563 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
564 prototypes (for getenv_r.c and setenv_r.c).
565
644b7f26
DD
5662000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
567
568 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
569 and prototype in cygwin's utmp.h
570
5bacbf10
JJ
5712000-08-16 Eric Fifer <efifer@sanwaint.com>
572
573 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
574
38a6bf98
NC
5752000-08-09 Nick Clifton <nickc@cygnus.com>
576
577 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
578 epilogue and to allow the functions to be used in a Thumb based
579 toolchain.
580
befe0fb3
JJ
5812000-08-08 Jeff Johnston <jjohnstn@redhat.com>
582
583 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
584 so size of 0 results in nothing being written to string.
585 Also fixed code so that when size is non-zero, there is only
586 a maximum of size - 1 characters written to the array and
587 a nul terminator is appended at the end.
588 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
589
749d9bcd
DD
5902000-08-01 DJ Delorie <dj@redhat.com>
591
592 * libc/include/sys/config.h: define __IMPORT appropriately
593 * libc/include/ctype.h (_ctype_): use __IMPORT
594 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
595 * libc/include/math.h (__mb_cur_max): ditto
596 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
597 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
598 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
599 * libc/include/unistd.h (environ): ditto
600
7c110b17
MM
6012000-07-28 Michael Meissner <meissner@redhat.com>
602
603 * libc/include/math.h (__infinity): Declare as an array without
604 bounds to get around small data support. Rewrite Cygwin support
605 to be more general.
606 * libm/math/s_infconst.c (__infinity): Ditto.
607 * libm/mathfp/s_infconst.c (__infinity): Ditto.
608
bf7be721
CF
609Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
610
611 * libc/include/math.h: Use appropriate dll import linkage for
612 __infinity under Cygwin.
613
91a8d90b
DD
6142000-07-13 DJ Delorie <dj@cygnus.com>
615
616 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
617
ba2048d3
JJ
618Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
619
620 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
621 to argument list for AngelSWI_Reason_GetCmdLine.
622
4634da64
JJ
623Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
624
625 * configure.host: Add support for AVR target.
626 * libc/include/machine/ieeefp.h: Likewise.
627 * libc/include/sys/config.h: Likewise.
628
b19f72a2
RK
629Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
630
631 * README: Newlib 1.8.2 must be built in a separate directory
632 than the sources.
633
a704d94a
JJ
634Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
635
636 * libc/include/sys/reent.h (_rand_next): Added __extension__
637 qualifier as long long type is not strict ANSI.
638 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
639 to long long constant.
640
b585720b
CV
641Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
642
643 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
644 `setegid' provided by Cygwin.
645
01c327ba
CV
646Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
647
648 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
649 account for Cygwin.
650
46a43a99
JJ
651Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
652
653 * libc/include/sys/reent.h (_rand_next): Changed to
654 unsigned long long and moved to end of _reent struct in _new union.
655 (_REENT_INIT): Changed to move _rand_next initialization.
656 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
657 linear congruential algorithm that is used by DJGPP.
658
a68078cb
RK
659Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
660
661 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
662 * libc/include/sys/config.h: Define __RAND_MAX.
663
518882f3
JJ
664Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
665
666 * libc/stdlib/rand_r.c: New algorithm that meets minimal
667 standard.
668
d51d968a
CF
669Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
670
671 * libc/include/string.h: Work around problem with strsignal and gdb.
672
d2dd5765
CF
673Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
674
675 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
676 * libc/include/malloc.h: Ditto.
677 * libc/include/process.h: Ditto.
678 * libc/include/stdio.h: Ditto.
679 * libc/include/stdlib.h: Ditto.
680 * libc/include/time.h: Ditto.
681 * libc/include/machine/setjmp.h: Ditto.
682 * libc/include/sys/errno.h: Ditto.
683 * libc/include/sys/signal.h: Ditto.
684 * libc/include/sys/stat.h: Ditto.
685 * libc/include/sys/time.h: Ditto.
686 * libc/include/sys/unistd.h: Ditto.
687 * libc/include/string.h: Ditto. strsignal should return a const char *.
688
88870218
JJ
6892000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
690
691 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
692 * libm/common/s_log1p.c (log1p): Likewise.
693 * libm/common/s_scalbn.c (scalbn): Likewise.
694 * libm/math/e_log.c: Likewise.
695 * libm/math/e_asin.c: Likewise.
696 * libm/math/ef_asin.c: Likewise.
697 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
698 * libm/math/e_j1.c (pone, qone): Likewise.
699 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
700 * libm/math/ef_j1.c (ponef, qonef): Likewise.
701 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
702 * libm/mathfp/e_j1.c (pone, qone): Likewise.
703 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
704 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
705
c4e1aa01
DD
7062000-05-19 DJ Delorie <dj@cygnus.com>
707
708 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
709 (__sread): always read in binary mode
710 (__swrite): always write in binary mode
711 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
712 compatibility issues with different dll versions
713 * libc/stdio/fopen.c: use __stextmode
714 * libc/stdio/fdopen.c: ditto
715 * libc/stdio/freopen.c: ditto
716 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
717 * libc/stdio/local.h: declare __stextmode
718
f4393261
DD
7192000-05-18 DJ Delorie <dj@cygnus.com>
720
721 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
722
2b533fac
JJ
723Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
724
725 * libc/include/ctype.h: Changed tolower and toupper macros
726 to use __extension__ to prevent pedantic warnings.
727
75362a76
RK
728Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
729
730 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
731 structures.
732
ec463fc7
JW
733Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
734
735 * libc/include/machine/ieeefp.h: Add ia64 support.
736 * configure.host: Likewise.
737
f35ceefa
JJ
738Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
739
740 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
741 month is now padded with space, not zero. This now conforms to
742 ANSI standard.
743
b96fca8c
CV
744Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
745
746 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
747 host or network path") used by cygwin. Add some comments.
748
49d64538
JJ
749Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
750
751 * libc/include/stdio.h (FILE): define __SCLE for "convert line
752 endings" for Cygwin.
753 (__sgetc): convert line endings if needed
754 (__sputc): ditto
755 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
756 * libc/stdio/fopen.c (_fopen_r): ditto
757 * libc/stdio/freopen.c (freopen): ditto
758 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
759 * libc/stdio/fvwrite.c (__sfvwrite): ditto
760
91fb1e7f
AO
761Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
762
763 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
764 post-increment when it is worth it, spacewise.
765
c87be3e4
JJ
766Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
767
768 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
769 * libc/stdio/findfp.c (std): Added declaration of flags and file.
770 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
771 return type.
772 * libc/stdio/putchar.c (putchar): Added return statement.
773 * libc/stdio/refill.c (lflush): Added correct parentheses.
774 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
775 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
776 prints long value to use l qualifier.
777 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
778 messages and initialized local values: ilim, ilim1, and spec_case.
779 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
780 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
781 * libc/stdlib/mprec.c: Ditto.
782 * libc/stdlib/setenv_r.c: Ditto.
783 * libc/stdlib/strtod.c: Ditto.
784 * libc/stdlib/strtol.c: Ditto.
785 * libc/stdlib/strtoul.c: Ditto.
786 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
787 * libm/common/sf_log1p.c: Ditto.
788 * libm/common/sf_scalbn.c: Ditto.
789 * libm/math/ef_log.c: Ditto.
790
11f5b065
CV
791Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
792
793 * libc/posix/execvp.c (execvp): Check path for
794 trailing slash.
795
796e3b20
CV
796Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
797
798 * libc/include/sys/unistd.h: Add prototypes for
799 fchmod, fchown, lchown.
800
b489803a
JJ
801Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
802
803 * acinclude.m4: Changed release to 1.8.2.
804 * aclocal.m4 configure doc/aclocal.m4 doc/configure
805 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
806 libc/machine/configure libc/machine/a29k/aclocal.m4
807 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
808 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
809 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
810 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
811 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
812 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
813 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
814 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
815 libc/machine/i386/configure libc/machine/i960/aclocal.m4
816 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
817 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
818 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
819 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
820 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
821 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
822 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
823 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
824 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
825 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
826 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
827 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
828 libc/machine/v850/configure libc/machine/w65/aclocal.m4
829 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
830 libc/machine/z8k/configure libc/sys/aclocal.m4
831 libc/sys/aclocal.m4 libc/sys/configure
832 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
833 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
834 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
835 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
836 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
837 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
838 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
839 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
840 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
841 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
842 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
843 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
844 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
845 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
846 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
847 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
848 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
849 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
850 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
851 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
852 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
853 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
854 libm/aclocal.m4 libm/configure: Regenerated.
855
79908d67
NC
8562000-03-24 Nick Clifton <nickc@cygnus.com>
857
858 * libc/sys/arm/syscalls.c: Fix compile time warnings.
859 (do_AngelSWI): Add "cc" to list o registers clobbered.
860
7684ddaf
FN
861Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
862
863 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
864 information to be clobbered by an Angel C library support syscall.
865
b8ec20c8
JJ
866Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
867
868 * libc/stdlib/envlock.c: Fixed comment typo.
869
fae4c299
JJ
870Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
871
872 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
873 code to update nread as each character is processed instead
874 of using buffer contents which throw away leading zeroes.
875
dc98804b
RK
876Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
877
878 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
879
5ed2f523
JJ
880Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
881
882 * libc/include/string.h: Include <sys/types.h>.
883
1cf0ee34
AO
884Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
885
886 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
887 with XSH5, not SVID.
888
e9c94978
JJ
889Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
890
891 * libc/include/string.h: Changed last argument back to ssize_t
892 to make it compatible with XPG4 definition which is
893 defined in <unistd.h>. There is a conflict in the SVID 3
894 and XPG4 definitions and newlib will settle with XPG4.
895 * libc/string/swab.c: Ditto.
896
3072163c
JJ
897Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
898
899 * libc/include/string.h: Changed last argument to size_t.
900 * libc/string/swab.c: Changed last argument to size_t.
901
f205ea7a
AO
902Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
903
904 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
905 (CHEWOUT_FILES): Added unlinkr.def.
906 * libc/reent/Makefile.in: Rebuilt.
907 * libc/sys.tex: Include unlinkr.def.
908 * libc/reent/linkr.c (_unlink_r): Moved to...
909 * libc/reent/unlinkr.c: ... new file.
910
85dd2e5b
AO
911Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
912
913 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
914 (CHEWOUT_FILES): Added swab.def.
915 * libc/string/Makefile.in: Rebuilt.
916 * libc/string/string.tex: Include swab.def.
917 * libc/include/string.h (swab): Declare.
918 * libc/string/swab.c: New file.
919
c5053058
AO
920Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
921
922 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
923 (CHEWOUT_FILES): Added getw.def and putw.def.
924 * libc/stdio/Makefile.in: Rebuilt.
925 * libc/stdio/stdio.tex: Include getw.def and putw.def.
926 * libc/stdio/getw.c: New file.
927 * libc/stdio/putw.c: New file.
928
dbaf37cf
JJ
929Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
930
931 * libc/stdio/flags.c (__sflags): Added check that mode[1]
932 is non-null before looking at mode[2].
933
bc019ef2
RK
934Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
935
936 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
937 * libm/mathfp/sf_atan.c: Ditto.
938
939Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
940
941 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
942
cd641b2d
RK
943Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
944
945 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
946 _DOUBLE_IS_32BITS.
947
b0ba0ac2
JJ
948Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
949
950 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
951 call prior to calling _VFPRINTF_R so reentrant data area is set.
952 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
953
8a0efa53
CF
954Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
955
956 * libc/stdio/vfscanf.c (limits.h): #include.
957 (MAX_LONG_LEN): #define.
958 (__svfscanf): Handle floating point numbers with arbitrary amounts
959 of leading zeroes.
960
9612000-02-15 Nick Clifton <nickc@cygnus.com>
962
963 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
964 zero. Set the blocksize to 1024/
965
966Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
967
968 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
969 with line buffering.
970
971Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
972
973 * acinclude.m4: Changed include directory for winsup headers.
974 * aclocal.m4 configure libc/aclocal.m4
975 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
976 libc/locale/Makefile.in libc/machine/aclocal.m4
977 libc/machine/configure libc/machine/a29k/aclocal.m4
978 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
979 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
980 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
981 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
982 libc/machine/fr30/configure
983 libc/machine/h8300/aclocal.m4
984 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
985 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
986 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
987 libc/machine/i386/configure libc/machine/i960/aclocal.m4
988 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
989 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
990 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
991 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
992 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
993 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
994 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
995 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
996 libc/machine/powerpc/configure
997 libc/machine/sh/aclocal.m4
998 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
999 libc/machine/sparc/configure
1000 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
1001 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
1002 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
1003 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
1004 libc/misc/Makefile.in libc/posix/Makefile.in
1005 libc/reent/Makefile.in
1006 libc/signal/Makefile.in
1007 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
1008 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
1009 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
1010 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
1011 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
1012 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
1013 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
1014 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
1015 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
1016 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
1017 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
1018 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
1019 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
1020 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
1021 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
1022 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
1023 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
1024 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
1025 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
1026 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
1027 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
1028 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
1029 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
1030 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
1031 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
1032 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
1033 libm/configure: Regenerated.
1034
1035Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
1036
1037 * libc/stdlib/putenv_r.c (_putenv_r): New file.
1038 * libc/stdlib/strdup_r.c (_strdup_r): New file.
1039 * libc/include/string.h: Added _strdup_r.
1040 * libc/stdlib/putenv.c: Added call to reentrant version.
1041 * libc/stdlib/strdup.c: Ditto.
1042 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
1043 * libc/include/stdlib.h: Ditto.
1044 * libc/stdlib/Makefile.in: Regenerated.
1045 * libc/string/Makefile.in: Regenerated.
1046 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
1047 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
1048 management calls to reentrant versions.
1049 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
1050 * libc/stdlib/wctomb.c: Ditto.
1051 * libc/stdlib/mblen.c: Ditto.
1052 * libc/stdlib/mbstowcs.c: Ditto.
1053 * libc/stdlib/mbtowc.c: Ditto.
1054 * libc/stdlib/getenv.c: Ditto.
1055 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
1056 and _strdup_r.
1057
1058Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
1059
1060 patch from Corinna Vinschen <corinna@vinschen.de>
1061 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
1062
bc019ef2 1063Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
1064
1065 * libm/mathfp/s_atangent.c: Fix exponent calculation.
1066 * libm/mathfp/s_ldexp.c: Ditto.
1067 * libm/mathfp/sf_atangent.c: Ditto.
1068 * libm/mathfp/sf_ldexp.c: Ditto.
1069
1070Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1071
1072 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
1073 * libc/include/locale.h: define NULL to be 0.
1074
1075Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
1076
1077 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
1078 function.
1079
1080Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
1081
1082 * libc/machine/mn10300/setjmp.S: Handle am33.
1083
10841999-11-26 Nick Clifton <nickc@cygnus.com>
1085
1086 * libc/sys/arm/syscalls.c: Add function prototypes.
1087 (stack_ptr): Move declaration before function definitions.
1088
1089Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1090
1091 * NEWS: Updated version information.
1092 * README: Ditto.
1093
1094Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
1095
1096 * libc/machine/i386/strchr.S: Fixed alignment test.
1097
1098Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
1099
1100 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
1101
1102Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
1103
1104 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
1105 ensuring that there is space between the two.
1106
1107Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
1108
1109 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
1110 only.
1111
11121999-10-08 Vadim Egorov <egorovv@1c.ru>
1113
1114 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
1115 section
1116
1117Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1118
1119 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
1120 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
1121
1122Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
1123 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
1124 per POSIX 1003.1b.
1125 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
1126 per POSIX 1003.1b.
1127
11281999-09-13 DJ Delorie <dj@cygnus.com>
1129
1130 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
1131 also.
1132
1133Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
1134
1135 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
1136 also note BUFSIZ as its size.
1137
1138Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
1139
1140 * configure.host: Corrected feature defines for RTEMS.
1141 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
1142 * libc/include/sys/stat.h: mkfifo() should take const path arg.
1143 * libc/include/sys/unistd.h: pathconf() should take const path arg.
1144 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
1145 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
1146 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
1147 _PC_PRIO_IO, and _PC_SYNC_IO.
1148 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
1149 * libc/machine/m68k/Makefile.in: Regenerated.
1150 * libc/machine/m68k/strcpy.c: New file.
1151 * libc/machine/m68k/strlen.c: New file.
1152 * libc/stdio/tmpnam.c: Always make the returned name usable.
1153 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
1154 * libc/sys/rtems/sys/dirent.h: New file.
1155 * libc/sys/rtems/sys/types.h: Added dev_t.
1156
1157Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
1158
1159 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
1160
1161Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
1162
1163 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
1164 my patch.
1165
1166Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
1167
1168 patch from Jeff Johnston <jjohnstn@cygnus.com>
1169 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
1170 buffer is not in a useful state.
1171
11721999-09-01 Nick Clifton <nickc@cygnus.com>
1173
1174 * libc/sys/arm/syscalls.c (_link): Add stub.
1175
1176Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1177
1178 * ftell.c (ftell): Use actual position within buffer for text mode.
1179 * findfp.c (std): Initialize ptr->_bf._size.
1180
1181Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
1182
1183 * libc/include/sys/unistd.h: Add nice() declaration.
1184
11851999-08-09 Nick Clifton <nickc@cygnus.com>
1186
1187 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
1188 declare as a thumb function so that the disassembler will see the
1189 mode change.
1190
1191Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1192
1193 * libc/reent/reent.tex: Updated list of reentrant functions.
1194
11951999-07-09 Michael Meissner <meissner@cygnus.com>
1196
1197 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
1198
1199Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
1200
1201 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
1202 separate file.
1203 * libc/stdio/snprintf.c: New file.
1204 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
1205 separate file.
1206 * libc/stdio/vsnprintf.c: New file.
1207 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
1208 * libc/stdio/Makefile.in: Regenerated.
1209
1210Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
1211
1212 Patch submitted by Egor Duda <deo@logos-m.ru>:
1213 * libc/include/stdio.h: Add declarations for *nprintf.
1214 * libc/stdio/sprintf.c (snprintf): New function.
1215 (_snprintf_r): New function.
1216 * libc/stdio/vsprintf.c (vsnprintf): New function.
1217 (_vnsprintf_r): New function.
1218
1219Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
1220
1221 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
1222 * libm/Makefile.am (stmp-targetdep): Ditto.
1223 * libc/Makefile.in: Regenerated.
1224 * libm/Makefile.in: Ditto.
1225
1226Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
1227
1228 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
1229 * libm/Makefile.am (stmp-targetdep): Ditto.
1230 * libc/Makefile.in: Regenerated.
1231 * libm/Makefile.in: Ditto.
1232
1233Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
1234
1235 * Makefile.am: Removed dependencies on all-recursive and added "."
1236 to the SUBDIRS list to prevent infinite recursion from occurring.
1237 Also removed any references to EXTRA_DATA.
1238 * libc/Makefile.am: Ditto.
1239 * libc/machine/Makefile.am: Ditto.
1240 * libc/machine/i386/Makefile.am: Ditto.
1241 * libm/Makefile.am: Ditto.
1242 * libc/sys/Makefile.am: Ditto.
1243 * Makefile.in: Regenerated.
1244 * aclocal.m4: Ditto.
1245 * configure: Ditto.
1246 * doc/Makefile.in: Ditto.
1247 * doc/aclocal.m4: Ditto.
1248 * doc/configure: Ditto.
1249 * libc/Makefile.in: Ditto.
1250 * libc/aclocal.m4: Ditto.
1251 * libc/configure: Ditto.
1252 * libc/machine/Makefile.in: Ditto.
1253 * libc/machine/aclocal.m4: Ditto.
1254 * libc/machine/configure: Ditto.
1255 * libc/machine/mn10300/Makefile.in: Ditto.
1256 * libc/machine/mn10300/aclocal.m4: Ditto.
1257 * libc/machine/mn10300/configure: Ditto.
1258 * libc/sys/Makefile.in: Ditto.
1259 * libc/sys/aclocal.m4: Ditto.
1260 * libc/sys/configure: Ditto.
1261 * libm/Makefile.in: Ditto.
1262 * libm/aclocal.m4: Ditto.
1263 * libm/configure: Ditto.
1264
1265Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1266
1267 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
1268
1269Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1270
1271 * libc/include/stdlib.h: Add reentrant routines.
1272 * libc/stdlib/Makefile.am: Add reentrant routines.
1273 * libc/stdlib/Makefile.in: Ditto.
1274 * libc/stdlib/envlock.c: New file.
1275 * libc/stdlib/envlock.h: New file.
1276 * libc/stdlib/getenv.c: Modify to call reentrant routine.
1277 * libc/stdlib/getenv_r.c: New file.
1278 * libc/stdlib/mblen.c: Modify to call reentrant routine.
1279 * libc/stdlib/mblen_r.c: New file.
1280 * libc/stdlib/setenv.c: Modify to call reentrant routine.
1281 * libc/stdlib/setenv_r.c: New file.
1282 * libc/stdlib/stdlib.tex: Add reentrant routines.
1283
1284Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
1285
1286 * libc/include/sys/types.h: Define __MS_types__ whenever
1287 cygwin or win32.
1288
1289Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
1290
1291 * libc/include/machine/ieeefp.h: Always default to little
1292 endian if Windows, regardless of architecture.
1293 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
1294 regardless of architecture.
1295
1296Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
1297
1298 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
1299 _WIN32 isn't defined.
1300
1301Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
1302
1303 * libm/common/s_rint.c (rint): Add volatile qualifier for
1304 intermediate value w.
1305 * libm/common/sf_rint.c (rintf): Ditto.
1306
1307Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
1308
1309 * libc/sys/arm/syscalls.c (remap_handle): Added check to
1310 ensure that std streams are initialized before being referenced.
1311
13121999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
1313
1314 * README: Update reference to newlib@cygnus.com new
1315 newlib@sourceware.cygnus.com address.
1316
1317Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
1318
1319 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
1320 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
1321 defined, even if _WIN32 isn't defined.
1322
1323Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
1324
1325 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
1326
1327Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1328
1329 * libc/include/sys/reent.h: Change Long and ULong to __Long and
1330 __ULong.
1331 * libc/stdlib/dtoa.c: Ditto.
1332 * libc/stdlib/mprec.c: Ditto.
1333 * libc/stdlib/mprec.h: Ditto.
1334 * libc/stdlib/strtod.c: Ditto.
1335
13361999-04-21 Nick Clifton <nickc@cygnus.com>
1337
1338 * configure.host (mcore): Remove mcore machine directory.
1339
13401999-04-18 Nick Clifton <nickc@cygnus.com>
1341
1342 * libc/include/machine/ieeefp.h: Add support for mcore target.
1343 * libc/include/machine/setjmp.h: Add support for mcore target.
1344 * configure.host: Add support for mcore target.
1345
13461999-04-13 Mark Salter <msalter@cygnus.com>
1347
1348 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
1349 * libc/sys/arm/syscalls.c: Added isatty.
1350
1351Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1352
1353 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
1354 insert zeroes after significant digits.
1355
1356Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1357
1358 * libc/stdio/vfprintf.c (cvt): Changed floating point
1359 cvt routine to use union used by dtoa to properly determine
1360 if the sign bit is on or not.
1361 * libc/stdio/vfieeefp.h: New file
1362
1363Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1364
1365 * aclocal.m4: Regenerated.
1366 * configure: Regenerated.
1367
1368Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
1369
1370 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
1371 f_tanf reference.
1372 * libc/machine/i386/Makefile.in: Regenerated.
1373
1374Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
1375
1376 * acinclude.m4: Changed to work with new automake.
1377 * configure: Regenerated.
1378 * libc/machine/i386/aclocal.m4: Regenerated.
1379 * libc/machine/i386/configure: Regenerated.
1380
1381Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
1382
1383 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
1384 for telldir() and seekdir(). Rename unused structure element
1385 for use with these two routines.
1386
1387Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
1388
1389 * libc/time/mktime.c (validate_structure): Multiple fixes to
1390 code to handle cases where input fields are outside valid ranges.
1391 * libc/stdlib/div.c (div): Modified invalid rounding check.
1392 * libc/stdlib/ldiv.c (ldiv): Ditto.
1393
1394Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
1395
1396 * libc/machine/i386/memcpy.S: Performance rewrite.
1397 * libc/machine/i386/memmove.S: Ditto.
1398 * libc/machine/i386/i386mach.h: Added more register definitions.
1399 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
1400 option used.
1401 * libc/include/machine/fastmath.h: Add definitions for x86
1402 fast-math routines.
1403
1404Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1405
1406 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
1407
1408Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
1409
1410 Adjust newlib headers for new Cygwin Win32 API header files:
1411 * libc/include/sys/time.h: Check _WINSOCK_H rather than
1412 _GNU_H_WINDOWS32_SOCKETS.
1413 * libc/include/sys/types.h: Ditto.
1414
1415Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
1416
1417 *include/sys/reent.h: Add checks for size of Bigint element Long.
1418 *libc/dtoa.c: Change routines to use generic Long type.
1419 *libc/mprec.c: Change routines to use generic Long type.
1420 *libc/mprec.h: Change routines to use generic Long type.
1421
1422Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
1423
1424 * libc/Makefile.am: Add .def files.
1425 * libc/Makefile.in: Regenerate.
1426 * libc/e_acosh.c: Documentation update.
1427 * libc/e_atanh.c: Documentation update.
1428 * libc/e_hypot.c: Documentation update.
1429 * libc/e_remainder.c: Documentation update.
1430 * libc/er_lgamma.c: Documentation update.
1431 * libc/mathfp.tex: Documentation update.
1432 * libc/s_acos.c: Documentation update.
1433 * libc/s_atan.c: Documentation update.
1434 * libc/s_atan2.c: Documentation update.
1435 * libc/s_cosh.c: Documentation update.
1436 * libc/s_fmod.c: Documentation update.
1437 * libc/s_isnan.c: Documentation update.
1438 * libc/s_log10.c: Documentation update.
1439 * libc/s_pow.c: Documentation update.
1440 * libc/w_jn.c: Documentation update.
1441
1442Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
1443
1444 * aclocal.m4: Regenerate.
1445 * configure: Regenerate.
1446
1447Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
1448
1449 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
1450 to return 1 if user specified return code is 0.
1451 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
1452
1453Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
1454
1455 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
1456 to save the return address. Fixed longjmp to return to the original
1457 calling address of setjmp and to return the user specified return code
1458 rather than default to 1.
1459 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
1460
1461Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
1462
1463 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
1464
14651999-02-10 Nick Clifton <nickc@cygnus.com>
1466
1467 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
1468 volatile so that its assignments will not be discarded.
1469
1470Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
1471
1472 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
1473 be __STRICT_ANSI__ which is generated by compiler.
1474 * libc/include/ctype.h: Ditto.
1475 * libc/include/math.h: Ditto.
1476 * libc/include/stdio.h: Ditto.
1477 * libc/include/stdlib.h: Ditto.
1478 * libc/include/string.h: Ditto.
1479 * libc/include/sys/signal.h: Ditto.
1480
14811999-02-08 Nick Clifton <nickc@cygnus.com>
1482
1483 * configure.host: Add support for StrongARM target.
1484
1485Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
1486
1487 * libc/string/strncpy.c (strncpy): Removed redundant code
1488 that was copying bytes if data unaligned.
1489
14901999-02-02 Brendan Kehoe <brendan@cygnus.com>
1491
1492 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
1493 mbstowcs.def, and wcstombs.def.
1494
1495Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
1496
1497 * libc/include/sys/errno.h: Add Cygwin errno.
1498 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
1499 is specified.
1500
15011999-01-29 Nick Clifton <nickc@cygnus.com>
1502
1503 * libc/sys/arm/syscalls.c: Move C library functions into seperate
1504 file.
1505
1506 * libc/sys/arm/libcfunc.c: New file containing C library functions
1507 from syscalls.c
1508
1509 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
1510 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
1511
1512
15131999-01-27 Michael Meissner <meissner@cygnus.com>
1514
1515 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
1516 type, and cut size in half so that the jmp_buf array is guaranteed
1517 to be aligned on a 64-bit boundary.
1518
1519Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
1520
1521 * libc/string/strings.tex: Added information about
1522 strcasecmp and strncasecmp.
1523 * libc/stdlib/stdlib.tex: Added missing information
1524 about mblen, mbstowcs, and wcstombs.
1525 * libc/string/strchr.c: Changed how mask is built to use
1526 shift operators so register will be used instead of storage.
1527
15281999-01-22 DJ Delorie <dj@cygnus.com>
1529
1530 * libc/include/stdlib.h: don't use dllimport if we're building
1531 newlib, since it's inside cygwin.dll
1532
1533Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
1534
1535 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
1536 _ctype_ under cygwin.
1537
1538Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
1539
1540 * include/stdlib.h: Fix typo from previous checkin.
1541
1542Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
1543
1544 * include/ctype.h: Use __declspec(dllimport) method for exporting
1545 variable from cygwin DLL.
1546 * include/time.h: Ditto.
1547 * sys/errno.h: Ditto.
1548 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
1549 * libc/locale/locale.c: Use __declspec(dllexport) method for
1550 exporting variable from cygwin DLL.
1551
1552Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
1553
1554 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
1555 access of bogus pointer will result in SIGSEGV.
1556
15571999-01-07 Nick Clifton <nickc@cygnus.com>
1558
1559 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
1560 of an underscore prefix to function names.
1561
1562Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
1563
1564 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
1565 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
1566
15671998-12-31 Michael Meissner <meissner@cygnus.com>
1568
1569 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
1570 to `%' if not already defined.
1571
15721998-12-30 Michael Meissner <meissner@cygnus.com>
1573
1574 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
1575 arguments const char *, not char *.
1576 * libc/include/stdio.h (_tempnam_r): Ditto.
1577
1578 * libc/include/sys/reent.h (struct _reent): The _sig_func type
1579 points to a function taking an integer, not void.
1580
1581Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
1582
1583 * configure.host: Add a define for Cygwin builds.
1584 * libc/include/ctype.h: Don't use dll imported variables in newlib.
1585
1586Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
1587
1588 * libc/include/ctype.h: Define _ctype_ as dll imported variable
1589 for use with Cygwin.
1590 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
1591 dll imported variables for use with Cygwin.
1592 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
1593 as a dll imported variable for Cygwin.
1594
1595Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
1596
1597 * libc/include/sys/unistd.h: Add proto for getpass.
1598
1599Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
1600
1601 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
1602 alphasort.
1603
1604Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
1605
1606 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
1607 not posix_path_list_p.
1608
16091998-12-15 Nick Clifton <nickc@cygnus.com>
1610
1611 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
1612 a signed int.
1613
16141998-12-13 Nick Clifton <nickc@cygnus.com>
1615
1616 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
1617
16181998-12-12 Nick Clifton <nickc@cygnus.com>
1619
1620 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
1621 <msalter@cygnus.com>
1622 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
1623 * libc/machine/fr30/Makefile.in: Regenerated.
1624
16251998-12-11 Nick Clifton <nickc@cygnus.com>
1626
1627 * configure.host: Remove use of libc/sys for FR30 port.
1628 * libc/sys/fr30: Remove directory (replaced by libgloss).
1629
16301998-12-10 Ken Raeburn <raeburn@cygnus.com>
1631
1632 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
1633 * libc/string/strncat.c (ALIGNED): Ditto.
1634
1635Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
1636
1637 * libc/include/sys/time.h: include sys/types.h
1638
1639Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
1640
1641 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
1642 comparison found when checking word at a time.
1643
16441998-12-04 Nick Clifton <nickc@cygnus.com>
1645
1646 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
1647
16481998-12-03 Nick Clifton <nickc@cygnus.com>
1649
1650 * libc/sys/fr30/syscalls.c (_times): New function stub.
1651
1652Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1653
1654 * configure.host (mach_add_setjmp): Replaced mach_add_objs
1655 with mach_add_setjmp flag which indicates if setjmp should
1656 be added to the machine directory objects.
1657 * acinclude.m4: Removed reference to mach_add_objs.
1658 * aclocal.m4: Regenerated.
1659 * Makefile.in: Regenerated.
1660 * configure: Regenerated.
1661 * libc/aclocal.m4: Regenerated.
1662 * libc/Makefile.in: Regenerated.
1663 * libc/configure: Regenerated.
1664 * libc/machine/aclocal.m4: Regenerated.
1665 * libc/machine/Makefile.in: Regenerated.
1666 * libc/machine/configure: Regenerated.
1667 * libc/machine/i386/aclocal.m4: Regenerated.
1668 * libc/machine/i386/Makefile.am: Altered to selectively add
1669 setjmp.S to the src files list.
1670 * libc/machine/i386/Makefile.in: Regenerated.
1671 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
1672 * libc/machine/i386/configure: Regenerated.
1673
16741998-12-02 Nick Clifton <nickc@cygnus.com>
1675
1676 * libc/sys/fr30/crt0.s (_start): Fix function names.
1677
1678 * libc/machine/fr30: New directory
1679 * libc/machine/fr30/Makefile.am: New file.
1680 * libc/machine/fr30/Makefile.in: New generated file.
1681 * libc/machine/fr30/configure.in: New file.
1682 * libc/machine/fr30/configure: New generated file.
1683 * libc/machine/fr30/aclocal.m4: New generated file.
1684 * libc/sys/fr30/Makefile.am: New file.
1685 * libc/sys/fr30/Makefile.in: New generated file.
1686 * libc/sys/fr30/configure.in: New file.
1687 * libc/sys/fr30/configure: New generated file.
1688 * libc/sys/fr30/syscalls.c: New file.
1689
1690Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
1691
1692 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
1693
16941998-12-01 Ken Raeburn <raeburn@cygnus.com>
1695
1696 * libc/time/strftime.c (strftime): Also handle %y for years before
1697 1900.
1698
1699Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
1700
1701 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
1702 UNIX convention. Perform tolower on characters before comparing
1703 them rather than use toupper.
1704 * libc/string/strncasecmp.c (strncasecmp): Ditto.
1705
1706Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
1707
1708 * configure.host: Added using i386 machine directory
1709 for all x86 cross-compiler and configuring
1710 which added object files to use via new "mach_add_objs" variable.
1711 * configure: Regenerated.
1712 * libc/configure: Regenerated.
1713 * libc/Makefile.in: Regenerated.
1714 * libc/aclocal.m4: Regenerated.
1715 * libc/ctype/Makefile.in: Regenerated.
1716 * libc/errno/Makefile.in: Regenerated.
1717 * libc/locale/Makefile.in: Regenerated.
1718 * libc/machine/Makefile.in: Regenerated.
1719 * libc/machine/aclocal.m4: Regenerated.
1720 * libc/machine/configure: Regenerated.
1721 * libc/posix/Makefile.in: Regenerated.
1722 * libc/reent/Makefile.in: Regenerated.
1723 * libc/signal/Makefile.in: Regenerated.
1724 * libc/stdio/Makefile.in: Regenerated.
1725 * libc/stdlib/Makefile.in: Regenerated.
1726 * libc/string/Makefile.in: Regenerated.
1727 * libc/string/memmove.c: Optimized code to use memcpy
1728 logic when performing a non-destructive copy.
1729 * libc/string/strncmp.c: Altered code to allow building
1730 optimized for size or speed.
1731 * libc/syscalls/Makefile.in: Regenerated.
1732 * libc/time/Makefile.in: Regenerated.
1733 * libc/unix/Makefile.in: Regenerated.
1734 * libc/machine/i386/Makefile.am: Added new files and reference
1735 to "mach_add_objs" to indicate optional object files.
1736 * libc/machine/i386/Makefile.in: Regenerated.
1737 * libc/machine/i386/aclocal.m4: Regenerated.
1738 * libc/machine/i386/configure: Regenerated.
1739 * libc/machine/i386/memchr.S: New file that implements
1740 function in Intel assembler.
1741 * libc/machine/i386/memcmp.S: ditto.
1742 * libc/machine/i386/memcpy.S: ditto.
1743 * libc/machine/i386/memmove.S: ditto.
1744 * libc/machine/i386/memset.S: ditto.
1745 * libc/machine/i386/strchr.S: ditto.
1746 * libc/machine/i386/strlen.S: ditto.
1747 * libc/machine/i386/f_atan2.S: New file that implements
1748 fast version of math function to be used by compiler when
1749 --ffast_math compile option is used.
1750 * libc/machine/i386/f_atan2f.S: ditto.
1751 * libc/machine/i386/f_exp.c: ditto.
1752 * libc/machine/i386/f_expf.c: ditto.
1753 * libc/machine/i386/f_frexp.S: ditto.
1754 * libc/machine/i386/f_frexpf.S: ditto.
1755 * libc/machine/i386/f_ldexp.S: ditto.
1756 * libc/machine/i386/f_ldexpf.S: ditto.
1757 * libc/machine/i386/f_log.S: ditto.
1758 * libc/machine/i386/f_logf.S: ditto.
1759 * libc/machine/i386/f_log10.S: ditto.
1760 * libc/machine/i386/f_log10f.S: ditto.
1761 * libc/machine/i386/f_math.h: New file.
1762 * libc/machine/i386/f_pow.c: ditto.
1763 * libc/machine/i386/f_powf.S: ditto.
1764 * libc/machine/i386/f_tan.S: ditto.
1765 * libc/machine/i386/f_tan.S: ditto.
1766 * libc/machine/i386/i386mach.h: New file.
1767
1768Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
1769
1770 patch from Mumit Khan <khan@xraylith.wisc.edu>
1771 * libc/include/stdio.h (tempnam): Add prototype.
1772 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
1773 (tempnam): Adhere to prototype.
1774
1775Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
1776
1777 * Makefile.am: Add default for AR_FLAGS.
1778 * Makefile.in: Regenerate.
1779
1780Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
1781
1782 * libc/include/time.h: move __cplusplus wrapper after includes
1783 * libc/include/sys/time.h: ditto. If Cygwin, include
1784 sys/select.h.
1785 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
1786
17871998-11-23 Ken Raeburn <raeburn@cygnus.com>
1788
1789 * libc/time/strftime.c (strftime): Handle %y after year 2000.
1790
1791Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
1792
1793 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
1794 abnormnal end-of-crt0 marker.
1795
1796Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
1797
1798 * libc/sys/fr30/crt0.s: New file/directory.
1799 * libc/include/machine/setjmp.h: Add FR30 target.
1800 * libc/include/machine/ieeefp.h: Add FR30 target.
1801 * configure.host: Add FR30 target.
1802
1803Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1804
1805 * libm/math: Files that are duplicated in common directory removed.
1806 * libm/math/fdlibm.h: Removed.
1807 * libm/math/s_cbrt.c: Removed.
1808 * libm/math/s_copysign.c: Removed.
1809 * libm/math/s_expm1.c: Removed.
1810 * libm/math/s_finite.c: Removed.
1811 * libm/math/s_ilogb.c: Removed.
1812 * libm/math/s_infinity.c: Removed.
1813 * libm/math/s_lib_ver.c: Removed.
1814 * libm/math/s_log1p.c: Removed.
1815 * libm/math/s_logb.c: Removed.
1816 * libm/math/s_matherr.c: Removed.
1817 * libm/math/s_modf.c: Removed.
1818 * libm/math/s_nan.c: Removed.
1819 * libm/math/s_nextafter.c: Removed.
1820 * libm/math/s_rint.c: Removed.
1821 * libm/math/s_scalbn.c: Removed.
1822 * libm/math/sf_cbrt.c: Removed.
1823 * libm/math/sf_copysign.c: Removed.
1824 * libm/math/sf_expm1.c: Removed.
1825 * libm/math/sf_finite.c: Removed.
1826 * libm/math/sf_ilogb.c: Removed.
1827 * libm/math/sf_infinity.c: Removed.
1828 * libm/math/sf_log1p.c: Removed.
1829 * libm/math/sf_logb.c: Removed.
1830 * libm/math/sf_modf.c: Removed.
1831 * libm/math/sf_nan.c: Removed.
1832 * libm/math/sf_nextafter.c: Removed.
1833 * libm/math/sf_rint.c: Removed.
1834 * libm/math/sf_scalbn.c: Removed.
1835 * libm/math/Makefile.am: Removed references to deleted files (above).
1836 * libm/math/Makefile.in: Regenerated.
1837 * libm/Makefile.am: Added common directory to math.
1838 * libm/Makefile.in: Regenerated.
1839
1840Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
1841
1842 * libm/mathfp: Add non-ANSI functions.
1843 * libm/mathfp/e_acosh.c acosh(): New file.
1844 * libm/mathfp/e_atanh.c atanh(): New file.
1845 * libm/mathfp/e_hypot.c hypot(): New file.
1846 * libm/mathfp/e_j0.c j0(): New file.
1847 * libm/mathfp/e_j1.c j1(): New file.
1848 * libm/mathfp/e_remainder.c remainder(): New file.
1849 * libm/mathfp/e_scalb.c scalb(): New file.
1850 * libm/mathfp/ef_acosh.c acoshf(): New file.
1851 * libm/mathfp/ef_atanh.c atanhf(): New file.
1852 * libm/mathfp/ef_hypot.c hypotf(): New file.
1853 * libm/mathfp/ef_j0.c j0f(): New file.
1854 * libm/mathfp/ef_j1.c j1f(): New file.
1855 * libm/mathfp/ef_remainder.c remainderf(): New file.
1856 * libm/mathfp/ef_scalb.c scalbf(): New file.
1857 * libm/mathfp/er_gamma.c gamma_r: New file.
1858 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
1859 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
1860 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
1861 * libm/mathfp/w_cabs.c cabs(): New file.
1862 * libm/mathfp/w_drem.c drem(): New file.
1863 * libm/mathfp/w_jn.c jn(): New file.
1864 * libm/mathfp/wf_cabs.c cabsf(): New file.
1865 * libm/mathfp/wf_drem.c dremf(): New file.
1866 * libm/mathfp/wf_jn.c jnf(): New file.
1867
1868Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
1869
1870 * libc/sys/cygwin32: remove directory and contents
1871 * libc/sys/cygwin: and add back, losing the "32".
1872 * configure.host: check for cygwin* instead of cygwin32.
1873 * acinclude.m4: ditto.
1874 * aclocal.m4: regenerate with aclocal
1875 * configure: regenerate with autoconf
1876
1877Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
1878
1879 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
1880 for length
1881
1882Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1883
1884 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
1885 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
1886 to make rand/srand, strtok, asctime, localtime, w_gamma,
1887 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
1888 time.h to bring in struct tm definition.
1889 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
1890 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
1891 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
1892 instead of static variable.
1893 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
1894 struct reent instead of static variable.
1895 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
1896 struct reent instead of static variable.
1897 * libm/math/Makefile.am: Removed s_signgam.o.
1898 * libm/math/Makefile.in: Regenerated.
1899 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
1900 struct reent instead of global variable 'signgam'.
1901 * libm/math/w_lgamma.c (lgamma): Likewise.
1902 * libm/math/wf_gamma.c (gammaf): Likewise.
1903 * libm/math/wf_lgamma.c (lgammaf): Likewise.
1904 * libm/math/s_signgam.c: Removed.
1905 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
1906 to be const.
1907 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
1908 to be const.
1909 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
1910 libc/include/reent.h.
1911 * libc/reent/Makefile.in: Regenerated.
1912 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
1913 to be const.
1914 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
1915 'JIS_action_table' to be const.
1916 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
1917
1918Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
1919
1920 * acinclude.m4: $with_target_subdir should default to '.'
1921 or confusion results when configuring in same directory as sources.
1922 * Regenerate all aclocal.m4 and configure files.
1923
1924Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
1925
1926 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
1927 can be set by defining MALLOC_ALIGNMENT=16. Also added support
1928 for platforms where sizeof(size_t) < sizeof(long) via
1929 SIZE_T_SMALLER_THAN_LONG macro.
1930
1931Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
1932
1933 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
1934 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
1935 which sets _CLOCKS_PER_SEC_ for selected machines.
1936 * libc/include/machine/time.h: New file.
1937
1938Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1939
1940 * libc/syscalls/sysexecve.c: New file.
1941 * libc/syscalls/sysgettod.c: New file.
1942 * libc/syscalls/systimes.c: New file.
1943 * libc/syscalls/Makefile.am: Added new objects.
1944 * libc/syscalls/Makefile.in: Regenerated.
1945 * libc/include/_syslist.h (_execve): Moved define in file.
1946 * libc/include/reent.h: Added _execve_r declaration.
1947 * libc/Makefile.in: Regenerated.
1948 * libc/ctype/Makefile.in: Regenerated.
1949 * libc/errno/Makefile.in: Regenerated.
1950 * libc/locale/Makefile.in: Regenerated.
1951 * libc/machine/Makefile.in: Regenerated.
1952 * libc/misc/Makefile.in: Regenerated.
1953 * libc/posix/Makefile.in: Regenerated.
1954 * libc/reent/Makefile.in: Regenerated.
1955 * libc/reent/execr.c (_execve_r): Added _execve_r function.
1956 * libc/signal/Makefile.in: Regenerated.
1957 * libc/stdio/Makefile.in: Regenerated.
1958 * libc/time/Makefile.in: Regenerated.
1959 * libc/unix/Makefile.in: Regenerated.
1960 * libm/mathfp/Makefile.in: Regenerated.
1961
1962Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1963
1964 * libc/string/Makefile.in: Regenerated.
1965 * libc/string/memchr.c (memchr): Moved code to reduce object size.
1966 * libc/string/memcpy.c (memcpy): Ditto.
1967 * libc/string/memcmp.c (memcmp): Ditto.
1968 * libc/string/memset.c (memset): Ditto.
1969 * libc/string/strchr.c (strchr): Ditto.
1970 * libc/string/strcmp.c (strcmp): Ditto.
1971 * libc/string/strcpy.c (strcpy): Ditto.
1972 * libc/string/strlen.c (strlen): Ditto.
1973
1974Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
1975
1976 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
1977 to generate aclocal.m4.
1978 * libm/Makefile.in: Regenerated.
1979 * libm/aclocal.m4: Regenerated.
1980 * libm/configure: Regenerated.
1981 * libm/math/Makefile.in: Regenerated.
1982 * libm/mathfp/Makefile.in: Regenerated.
1983
19841998-09-25 Mark Salter <msalter@cygnus.com>
1985
1986 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
1987 by adding leading and trailing underscores to symbol names.
1988
1989Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
1990
1991 * Makefile.in: Add default for AR_FLAGS.
1992
1993Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
1994
1995 patch from ian@airs.com (Ian Taylor):
1996 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
1997 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
1998 is needed for detecting the build machine. Required for
1999 cygwin native builds.
2000
2001 * Regenerate all aclocal.m4 and configure files.
2002
2003Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
2004
2005 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
2006 used to start with LC.
2007
2008Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2009
2010 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
2011 (longjmp): Likewise.
2012
2013Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2014
2015 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
2016 the test for small number of bytes.
2017
2018Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
2019
2020 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
2021 math library that uses floating point algorithms instead of the old
2022 libm.
2023 * Makefile.in: Regenerate with automake version 1.3b.
2024 * configure: Rebuild.
2025 * libm/Makefile.in: Regenerate with automake version 1.3b.
2026 * libm/aclocal.m4: Regenerate.
2027 * libm/configure: Rebuild.
2028 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
2029 * libm/acinclude.m4: Define macros for configure.in.
2030 * libm/config.h.in: Generate.
2031 * libm/mathfp/Makefile.am: New file.
2032 * libm/mathfp/Makefile.in: Generate.
2033 * libm/mathfp/s_acos.c (acos): New file.
2034 * libm/mathfp/s_asin.c (asin): New file.
2035 * libm/mathfp/s_asine.c (asine): New file.
2036 * libm/mathfp/s_atan.c (atan): New file.
2037 * libm/mathfp/s_atan2.c (atan2): New file.
2038 * libm/mathfp/s_atangent.c (atangent): New file.
2039 * libm/mathfp/s_ceil.c (ceil): New file.
2040 * libm/mathfp/s_copysign.c (copysign): New file.
2041 * libm/mathfp/s_cos.c (cos): New file.
2042 * libm/mathfp/s_cosh.c (cosh): New file.
2043 * libm/mathfp/s_exp.c (exp): New file.
2044 * libm/mathfp/s_fabs.c (fabs): New file.
2045 * libm/mathfp/s_finite.c (finite): New file.
2046 * libm/mathfp/s_floor.c (floor): New file.
2047 * libm/mathfp/s_fmod.c (fmod): New file.
2048 * libm/mathfp/s_frexp.c (frexp): New file.
2049 * libm/mathfp/s_infconst.c: New file.
2050 * libm/mathfp/s_isinf (isinf).c: New file.
2051 * libm/mathfp/s_isnan.c (isnan): New file.
2052 * libm/mathfp/s_ispos.c (ispos): New file.
2053 * libm/mathfp/s_ldexp.c (ldexp): New file.
2054 * libm/mathfp/s_log.c (log): New file.
2055 * libm/mathfp/s_log10.c (log10): New file.
2056 * libm/mathfp/s_logarithm.c (logarithm): New file.
2057 * libm/mathfp/s_mathcnst.c: New file.
2058 * libm/mathfp/s_modf (modf).c: New file.
2059 * libm/mathfp/s_numtest.c (numtest): New file.
2060 * libm/mathfp/s_pow.c (pow): New file.
2061 * libm/mathfp/s_scalbn.c (scalbn): New file.
2062 * libm/mathfp/s_sin (sin).c: New file.
2063 * libm/mathfp/s_sine.c (sine): New file.
2064 * libm/mathfp/s_sineh.c (sineh): New file.
2065 * libm/mathfp/s_sinf.c (sinf): New file.
2066 * libm/mathfp/s_sinh.c (sinh): New file.
2067 * libm/mathfp/s_sqrt.c (sqrt): New file.
2068 * libm/mathfp/s_tan.c (tan): New file.
2069 * libm/mathfp/s_tanh.c (tanh): New file.
2070 * libm/mathfp/sf_acos.c (acosf): New file.
2071 * libm/mathfp/sf_asin.c (asinf): New file.
2072 * libm/mathfp/sf_asine.c (asinef): New file.
2073 * libm/mathfp/sf_atan.c (atanf): New file.
2074 * libm/mathfp/sf_atan2.c (atan2f): New file.
2075 * libm/mathfp/sf_atangent.c (atangent): New file.
2076 * libm/mathfp/sf_ceil.c (ceilf): New file.
2077 * libm/mathfp/sf_copysign.c (copysignf): New file.
2078 * libm/mathfp/sf_cos.c (cosf): New file.
2079 * libm/mathfp/sf_cosh.c (coshf): New file.
2080 * libm/mathfp/sf_exp.c (expf): New file.
2081 * libm/mathfp/sf_fabs.c (fabsf): New file.
2082 * libm/mathfp/sf_finite.c (finitef): New file.
2083 * libm/mathfp/sf_floor.c (floorf): New file.
2084 * libm/mathfp/sf_fmod.c (fmodf): New file.
2085 * libm/mathfp/sf_frexp.c (frexpf): New file.
2086 * libm/mathfp/sf_isinf.c (isinff): New file.
2087 * libm/mathfp/sf_isnan.c (isnanf): New file.
2088 * libm/mathfp/sf_ispos.c (isposf): New file.
2089 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
2090 * libm/mathfp/sf_log.c (logf): New file.
2091 * libm/mathfp/sf_log10.c (log10f): New file.
2092 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
2093 * libm/mathfp/sf_modf.c (modff): New file.
2094 * libm/mathfp/sf_numtest.c (numtestf): New file.
2095 * libm/mathfp/sf_pow.c (powf): New file.
2096 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
2097 * libm/mathfp/sf_sin.c (sinf): New file.
2098 * libm/mathfp/sf_sine.c (sinef): New file.
2099 * libm/mathfp/sf_sineh.c (sinehf): New file.
2100 * libm/mathfp/sf_sinh.c (sinhf): New file.
2101 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
2102 * libm/mathfp/sf_tan.c (tanf): New file.
2103 * libm/mathfp/sf_tanh.c (tanhf): New file.
2104 * libm/mathfp/zmath.h: New file.
2105
2106Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2107
2108 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
2109 exit if it has been overwritten by pre-fetching in delay slot.
2110
21111998-09-01 Michael Meissner <meissner@cygnus.com>
2112
2113 * Makefile.am (tooldir): Add in host_alias, so that multilib
2114 libraries are installed in the directory the compiler looks in.
2115 * Makefile.in: Regenerate.
2116
2117 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
2118
2119Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
2120
2121 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
2122 ahead of test for number of bytes being moved.
2123
2124Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
2125
2126 * libc/include/sys/unistd.h: Nothing special needed for
2127 _exit under cygwin.
2128
2129Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
2130
2131 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
2132 conform to user label naming conventions.
2133
2134Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
2135
2136 * libc/sys/cygwin32/sys/utime.h: variable names in
2137 protos should start with two leading underscores
2138 * libc/include/string.h: ditto
2139 * libc/include/sys/signal.h: ditto
2140 * libc/include/sys/stat.h: ditto
2141 * libc/include/sys/time.h: ditto
2142 * libc/include/sys/unistd.h: ditto
2143 * libc/include/ctype.h: ditto
2144 * libc/include/stdlib.h: ditto
2145 * libc/include/sys/reent.h: struct _atexit function ptr takes a
2146 void, same with _sig_func.
2147
2148Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
2149
2150 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
2151 for MB_CAPABLE to reduce code size when newlib is not configured
2152 with --enable-newlib-mb.
2153 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
2154 mbtowc_r.o to minimize size.
2155 * libc/stdlib/Makefile.in: Rebuild.
2156
2157Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
2158
2159 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
2160 to -DREENT.
2161 * libc/sys/sparc64/Makefile.in: Rebuild.
2162
2163Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
2164
2165 * Makefile.am (MAKEOVERRIDES): Define.
2166 * Makefile.in: Rebuild.
2167
2168Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
2169
2170 * libc/sys/sparc64/sys/stat.h (stat): Add const.
2171
2172Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
2173
2174 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
2175 newlib_cflags when looking for targ-include.
2176 * */aclocal.m4, */configure: Rebuild.
2177
2178Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
2179
2180 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
2181 to "_end".
2182
2183Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
2184
2185 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
2186 on SPARCs with little-endian data.
2187 * libc/include/machine/ieeefp.h: Ditto.
2188
2189Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
2190
2191 * acinclude.m4: Handle a relative srcdir correctly when setting
2192 newlib_cflags.
2193 * */aclocal.m4, */configure: Rebuild.
2194
2195Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
2196
2197 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
2198 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
2199 * libm/math/wrf_gamma.c (gammaf_r): ditto
2200 * libm/math/wr_lgamma.c (lgamma_r): ditto
2201 * libm/math/wr_gamma.c (gamma_r): ditto
2202 * libm/math/wf_sqrt.c (sqrtf): ditto
2203 * libm/math/wf_sinh.c (sinhf): ditto
2204 * libm/math/wf_scalb.c (scalbf): ditto
2205 * libm/math/wf_remainder.c (remainderf): ditto
2206 * libm/math/wf_pow.c (powf): ditto
2207 * libm/math/wf_log10.c (log10f): ditto
2208 * libm/math/wf_log.c (logf): ditto
2209 * libm/math/wf_lgamma.c (lgammaf): ditto
2210 * libm/math/wf_jn.c (jnf, ynf): ditto
2211 * libm/math/wf_j1.c (j1f, y1f): ditto
2212 * libm/math/wf_j0.c (j0f, y0f): ditto
2213 * libm/math/wf_hypot.c (hypotf): ditto
2214 * libm/math/wf_gamma.c (gammaf): ditto
2215 * libm/math/wf_fmod.c (fmodf): ditto
2216 * libm/math/wf_exp.c (expf): ditto
2217 * libm/math/wf_cosh.c (coshf): ditto
2218 * libm/math/wf_atanh.c (atanhf): ditto
2219 * libm/math/wf_atan2f.c (atan2f): ditto
2220 * libm/math/wf_asin.c (asinf): ditto
2221 * libm/math/wf_acosh.c (acoshf): ditto
2222 * libm/math/wf_acos.c (acosf): ditto
2223 * libm/math/w_sqrt.c (sqrt): ditto
2224 * libm/math/w_sinh.c (sinh): ditto
2225 * libm/math/w_scalb.c (scalb): ditto
2226 * libm/math/w_remainder.c (remainder): ditto
2227 * libm/math/w_pow.c (pow): ditto
2228 * libm/math/w_log10.c (log10): ditto
2229 * libm/math/w_log.c (log): ditto
2230 * libm/math/w_lgamma.c (lgamma): ditto
2231 * libm/math/w_jn.c (jn, yn): ditto
2232 * libm/math/w_j1.c (j1, y1): ditto
2233 * libm/math/w_j0.c (j0, y0): ditto
2234 * libm/math/w_hypot.c (hypot): ditto
2235 * libm/math/w_gamma.c (gamma): ditto
2236 * libm/math/w_fmod.c (fmod): ditto
2237 * libm/math/w_exp.c (exp): ditto
2238 * libm/math/w_cosh.c (cosh): ditto
2239 * libm/math/w_atanh.c (atanh): ditto
2240 * libm/math/w_atan2f.c (atan2): ditto
2241 * libm/math/w_asin.c (asin): ditto
2242 * libm/math/w_acosh.c (acosh): ditto
2243 * libm/math/w_acos.c (acos): ditto
2244
2245Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
2246
2247 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
2248 (fsrc): Add wf_cabs.c and wf_drem.c.
2249 * libm/math/Makefile.in: Rebuild.
2250
2251 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
2252 unused directory variables. Remove duplicate CFLAGS.
2253 * Makefile.in: Rebuild.
2254
2255 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
2256 with $(CC_FOR_BUILD).
2257 (makedoc.o): Likewise.
2258 * doc/Makefile.in: Rebuild.
2259
2260 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
2261 force a definition of COMPILE.
2262 (libfoo_a_SOURCES): Define.
2263 * libc/sys/cygwin32/Makefile.in: Rebuild.
2264 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
2265 force a definition of COMPILE.
2266 (libfoo_a_SOURCES): Define.
2267 * libc/sys/tic80/Makefile.in: Rebuild.
2268
2269Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
2270
2271 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
2272 flag.
2273
2274Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
2275
2276 * Build using autoconf and automake. Added many Makefile.am and
2277 configure.in files, plus generated files. Old configure.in files
2278 and all old Makefile.in files completely replaced. Removed
2279 host/any. Added acinclude.m4 and configure.host.
2280
2281Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
2282
2283 * libc/stdio/vfprintf.c: enable long long support, sometimes.
2284 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
2285
2286Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2287
2288 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
2289 * libc/machine/sh/Makefile.in: Add rules for new files.
2290
2291Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2292
2293 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
2294 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
2295 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
2296
2297Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
2298
2299 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
2300 code is ignored.
2301
2302Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
2303
2304 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
2305 internal static buffer when s is NULL, as prescribed by ANSI.
2306
23071998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
2308
2309 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
2310 removed.
2311 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
2312 libc/stdlib will be used for h8300hms.
2313
2314Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
2315
2316 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
2317 version that can be built either for speed or size.
2318 * libc/machine/mn10300/memset.S (_memset): ditto
2319 * libc/machine/mn10300/memchr.S (_memchr): ditto
2320 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
2321 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
2322 * libc/machine/mn10300/strchr.S (_strchr): ditto
2323 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
2324 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
2325 * libc/machine/mn10300/Makefile.in: Added entries for
2326 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
2327 strcmp.o, strcpy.o, and strlen.o.
2328
2329Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
2330
2331 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
2332 been replaced with libgloss/mn10200.
2333
2334Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
2335
2336 * libc/string/strchr.c (strchr): Make s a constant pointer to
2337 avoid warning.
2338
2339Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
2340
2341 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
2342 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
2343 board SWIs instead of Demon board SWIs).
2344
2345Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
2346
2347 * libc/string/strncat.c (strncat): Make -Os act the same as
2348 PREFER_SIZE_OVER_SPEED being defined.
2349
2350Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
2351
2352 * libc/string/memchr.c (memchr): Make -Os act the same as
2353 PREFER_SIZE_OVER_SPEED being defined.
2354 * libc/string/memcmp.c (memcmp): Ditto.
2355 * libc/string/memcpy.c (memcpy): Ditto.
2356 * libc/string/memset.c (memset): Ditto.
2357 * libc/string/strcat.c (strcat): Ditto.
2358 * libc/string/strchr.c (strchr): Ditto.
2359 * libc/string/strcmp.c (strcmp): Ditto.
2360 * libc/string/strcpy.c (strcpy): Ditto.
2361 * libc/string/strlen.c (strlen): Ditto.
2362 * libc/string/strncat.c (strncat): Ditto.
2363 * libc/string/strncmp.c (strncmp): Ditto.
2364 * libc/string/strncpy.c (strncpy): Ditto.
2365
2366Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
2367
2368 * libc/include/sys/itimer.h: remove
2369 * libc/include/sys/time.h: itimer stuff should be here
2370
2371Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
2372
2373 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
2374 bit instead of comparing to 0 so -0.0 can be printed correctly.
2375
2376Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2377
2378 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
2379
2380Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
2381
2382 * libc/include/sys/unistd.h: fix sync() proto
2383 * libc/include/sys/fcntl.h: remove _close which is already
2384 defined in unistd.h.
2385 * libc/include/sys/time.h: add getitimer proto
2386
2387Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
2388
2389 * libc/string/strchr.c: convert arg to unsigned char
2390 * libc/include/stdlib.h: add protos for random, srandom
2391 * libc/include/sys/stat.h: add lstat proto
2392 * libc/include/sys/time.h: add setitimer proto
2393 * libc/include/sys/unistd.h: add readlink, symlink protos
2394 * libc/include/process.h: instead of including windows.h and using
2395 HANDLEs in sexec protos, just use void *s. Need to include
2396 sys/types.h.
2397
2398Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
2399
2400 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
2401
2402Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
2403
2404 * libc/include/process.h: add secure exec protos
2405
2406Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
2407
2408 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
2409 which are accessed as both doubles and integers.
2410 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
2411 * libc/stdlib/strtod.c (_strtod_r): Likewise.
2412 * libc/stdlib/mprec.h: Add "union double_union" and change
2413 word0/word1 macros to use it.
2414
2415Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
2416
2417 * libc/include/sys/signal.h: add __cplusplus wrapper
2418
2419Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
2420
2421 * libc/include/sys/utime.h: new generic file that gets replaced by
2422 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
2423 function.
2424 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
2425 * libc/include/time.h: remove duplicate utime proto
2426 * libc/include/utime.h: add comment
2427
2428Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
2429
2430 * libc/include/sys/time.h: Add missing include to
2431 allow use of _EXFUN. Remove times function that is
2432 already defined in times.h.
2433
2434Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
2435
2436 * libc/include/time.h: Fix typo in tzset.
2437
2438Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
2439
2440 * libc/include/sys/time.h: add missing Cygwin32 function protos
2441 * libc/include/sys/unistd.h: ditto
2442 * libc/include/time.h: ditto
2443
2444Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
2445
2446 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
2447 FIXME.
2448 * libc/include/sys/types.h: add a new __MS_types__ section
2449 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
2450 __BIT_TYPES_DEFINED__.
2451
2452Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
2453
2454 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
2455 since it overrides the one in libc/include/sys. Also, start
2456 including types.h.
2457
2458Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
2459
2460 * libm/math/Makefile.in: add s_signgam.o to obj list
2461
2462Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
2463
2464 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
2465
2466Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
2467
2468 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
2469 so don't use defines.
2470
2471Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
2472
2473 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
2474
2475Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
2476
2477 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
2478 _current_locale as default locale.
2479
2480Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
2481
2482 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
2483 insufficient space in a chunk.
2484
2485Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
2486
2487 * configure.in (links): Added check for --enable-newlib-mb configure
2488 option which defines the MB_CAPABLE macro.
2489 * libc/locale/locale.c (_setlocale_r): Added support for setting
2490 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
2491 defined.
2492 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
2493 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
2494 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
2495 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
2496 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
2497 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
2498 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
2499 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
2500 * libc/stdlib/Makefile.in: Added new multibyte
2501 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
2502 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
2503 _mbstowcs_r(), and _wcstombs_r().
2504 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
2505 for JIS, SJIS, and EUC-JP characters.
2506 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
2507 MB_CAPABLE defined.
2508 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
2509 MB_CAPABLE defined.
2510 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
2511 MB_CAPABLE defined.
2512 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
2513 if MB_CAPABLE defined.
2514 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
2515 if MB_CAPABLE defined.
2516 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
2517 to the format string processing when MB_CAPABLE.
2518 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
2519 call _mbtowc_r().
2520
2521Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
2522
2523 The following modifications are courtesy of Anthony Thompson,
2524 athompson@cambridge.arm.com:
2525 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
2526 boith RDI and RDP monitors.
2527 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
2528 RDI and RDP monitors.
2529
2530Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
2531
2532 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
2533 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
2534 (_swiopen): Fixed open flags to treat write with append as just append.
2535 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
2536 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
2537
2538Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2539
2540 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
2541 When needing to transfer an initial 2-byte-word, store as
2542 two single bytes.
2543
2544Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2545
2546 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
2547 __SH3E__ .
2548 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
2549 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
2550
2551Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
2552
2553 * configure.in (target_cflags): If --enable-target-optspace, use
2554 -Os to compile newlib rather than -O2. Default to using -Os for
2555 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
2556 used.
2557
2558Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
2559
2560 * libc/include/machine/setjmp.h: change sigsetjmp and
2561 siglongjmp definitions to use an array instead of a struct
2562 for __CYGWIN32__
2563
2564Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
2565
2566 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
2567
2568Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
2569
2570 * libc/string/strxfrm.c: fix to get correct return value
2571
2572Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
2573
2574 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
2575 builds. Make mode change labels global so that they will be seen
2576 by the debugger.
2577
2578Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
2579
2580 * configure.in (links): Do not use ARM debiugging protocols for PE
2581 builds.
2582
2583 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
2584 message.
2585
2586Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2587
2588 * libc/stdio/findfp.c (__sinit): Made stdout default to
2589 line buffered mode as defined by ANSI.
2590
2591Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
2592
2593 * libc/include/sys/itimer.h: New file.
2594
2595 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
2596
2597Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2598
2599 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
2600 failure.
2601
2602Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
2603
2604 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
2605 insns.
2606
2607Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
2608
2609 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
2610
2611Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
2612
2613 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
2614 support.
2615
2616 * libc/include/machine/setjmp.h: Add D30V support.
2617
2618 * configure.in (d30v-*): Add d30v machine directory.
2619
2620Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
2621
2622 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
2623 been replaced with libgloss/mn10300.
2624
2625Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
2626
2627 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
2628 it is no longer needed.
2629
2630Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2631
2632 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
2633
2634Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
2635
2636 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
2637 the file when O_APPEND is set, wherever the EOF happens to be at
2638 that time.
2639
2640Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
2641
2642 patch from cgf@bbc.com (Christopher Faylor):
2643 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
2644 convention of closing fp prior to attempting to open the file
2645 argument. This allows correct operation when reopening
2646 stdin/stdout/stderr. Replaces last freopen.c patch.
2647
2648Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
2649
2650 patch from cgf@bbc.com (Christopher Faylor):
2651 * libc/stdio/freopen.c: freopen was not preserving the fd
2652 of the stream being operated on. This confuses programs that
2653 expect that the handles for stdout and stderr will be 1 and 2.
2654
2655Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
2656
2657 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
2658
2659Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
2660
2661 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
2662
2663Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
2664
2665 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
2666 altered to not use a branch. Also added hint that last
2667 bclr in longjmp will likely result in branch.
2668
2669
2670Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
2671
2672 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
2673
2674Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
2675
2676 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
2677 v850 builds.
2678
2679 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
2680
2681Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
2682
2683 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
2684 that loads FR14 to specify offset of 8 rather than 4
2685 so it loads from offset 96 (where setjmp stored it).
2686
2687Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2688
2689 * libc/machine/sh/memcpy.S: (_memcpy): Update to
2690 latest version supplied by customer.
2691 * libc/machine/sh/memset.S (_memset): Ditto.
2692
2693Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
2694
2695 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
2696 PR14730).
2697
2698Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
2699
2700 * libc/include/string.h: remove redefinition of ffs
2701
2702Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
2703
2704 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
2705 defined
2706
2707Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
2708
2709 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
2710 TI Libraries to link to libc.a
2711
2712Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
2713
2714 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
2715 * libc/include/sys/stat.h (_{,f}stat): Ditto.
2716 * libc/include/sys/wait.h (_wait): Ditto.
2717 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
2718 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
2719
2720Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
2721
2722 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
2723 minded stabs so function name shows up when running the simulator
2724 with -t.
2725 * libc/sys/d10v/{crt0,trap}.S: Ditto.
2726
2727Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
2728
2729 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
2730 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
2731 Use R5 where we used to use R3.
2732
2733Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
2734
2735 * libc/stdlib/getopt.c (getopt): replaced __progname
2736 with nargv[0] to improve portability to imbedded systems.
2737
2738Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
2739
2740 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
2741 patch supplied by Tont.Thompson@arm.com to fix the creation of the
2742 stdout file.
2743
2744Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
2745
2746 * libc/stdio/tmpnam.c (worker): Generate a different file name
2747 each time.
2748
2749 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
2750 fails, try an execlp for sh.
2751
2752 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
2753 option for the winsup include directory.
2754
2755Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
2756
2757 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
2758 debugging interface from Tony.Thompson@arm.com.
2759
2760 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
2761 * libc/sys/arm/swi.h: ditto.
2762
2763Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
2764
2765 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
2766 DIR struct used for readdir hashes.
2767
2768Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
2769
2770 * libc/string/strchr.c: Use "unsigned chars" as necessary.
2771
2772Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
2773
2774 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
2775 integer targets.
2776
2777Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
2778
2779 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
2780 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
2781 * libc/include/malloc.h: Add extern "C" if __cplusplus.
2782 (__malloc_copy): Declare.
2783
2784Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
2785
2786 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
2787 <sys/config.h>.
2788 (POINTER_UINT): Define.
2789 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
2790 (MALLOC_ALIGNMENT): Don't define if already defined.
2791 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
2792 long.
2793
2794Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
2795
2796 * libc/string/memset.c (memset): Fiddle with code so that the long
2797 value being stored is not a stack value. Unroll storing longs 4
2798 times.
2799
2800Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
2801
2802 * Reduce code size for libm modules.
2803 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
2804 and simply move code into sqrt.
2805 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
2806 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
2807 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
2808 * libm/math/wr_gamma.c (gamma_r): Likewise.
2809 * libm/math/wf_sinh.c (sinfh): Likewise.
2810 * libm/math/w_sinh.c (sinh): Likewise.
2811 * libm/math/wf_scalb.c (scalbf): Likewise.
2812 * libm/math/w_scalb.c (scalb): Likewise.
2813 * libm/math/wf_remainder.c (remainderf): Likewise.
2814 * libm/math/w_remainder.c (remainder): Likewise.
2815 * libm/math/wf_pow.c (powf): Likewise.
2816 * libm/math/w_pow.c (pow): Likewise.
2817 * libm/math/wf_log10.c (log10f): Likewise.
2818 * libm/math/w_log10.c (log10): Likewise.
2819 * libm/math/wf_log.c (logf): Likewise.
2820 * libm/math/w_log.c (log): Likewise.
2821 * libm/math/w_lgamma.c (lgamma): Likewise.
2822 * libm/math/wf_lgamma.c (lgammaf): Likewise.
2823 * libm/math/wf_jn.c (jnf): Likewise.
2824 * libm/math/w_jn.c (jn): Likewise.
2825 * libm/math/wf_j1.c (j1f): Likewise.
2826 * libm/math/w_j1.c (j1): Likewise.
2827 * libm/math/wf_j0.c (j0f): Likewise.
2828 * libm/math/w_j0.c (j0): Likewise.
2829 * libm/math/wf_hypot.c (hypotf): Likewise.
2830 * libm/math/w_hypot.c (hypot): Likewise.
2831 * libm/math/wf_gamma.c (gammaf): Likewise.
2832 * libm/math/w_gamma.c (gamma): Likewise.
2833 * libm/math/wf_fmod.c (fmodf): Likewise.
2834 * libm/math/w_fmod.c (fmod): Likewise.
2835 * libm/math/wf_exp.c (expf): Likewise.
2836 * libm/math/w_exp.c (exp): Likewise.
2837 * libm/math/wf_cosh.c (coshf): Likewise.
2838 * libm/math/w_cosh.c (cosh): Likewise.
2839 * libm/math/wf_atanh.c (atanhf): Likewise.
2840 * libm/math/w_atanh.c (atanh): Likewise.
2841 * libm/math/wf_atan2.c (atan2f): Likewise.
2842 * libm/math/w_atan2.c (atan2): Likewise.
2843 * libm/math/wf_asin.c (asinf): Likewise.
2844 * libm/math/w_asin.c (asin): Likewise.
2845 * libm/math/wf_acosh.c (acoshf): Likewise.
2846 * libm/math/w_acosh.c (acosh): Likewise.
2847 * libm/math/wf_acos.c (asocf): Likewise.
2848 * libm/math/w_acos.c (acos): Likewise.
2849 * libm/math/wf_sqrt.c (sqrtf): Likewise.
2850 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
2851 for embedded systems.
2852
2853Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
2854
2855 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
2856 Lea in case of a foreign sbrk.
2857
2858Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
2859
2860 Incorporate Doug Lea's malloc:
2861 * libc/stdlib/mallocr.c: Completely replaced.
2862 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
2863 (realloc): Remove.
2864 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
2865 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
2866 mallopt.
2867 (mallinfo, malloc_stats, mallopt): New functions.
2868 (_mstats_r): Just call _malloc_stats_r.
2869 * libc/stdlib/malign.c: New file.
2870 * libc/stdlib/mlock.c: New file.
2871 * libc/stdlib/msize.c: New file.
2872 * libc/stdlib/mtrim.c: New file.
2873 * libc/stdlib/realloc.c: New file.
2874 * libc/stdlib/valloc.c: New file.
2875 * libc/stdlib/malloc.h: Remove.
2876 * libc/stdlib/callocr.c: Remove.
2877 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
2878 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
2879 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
2880 reallocr.o, valloc.o, vallocr.o.
2881 (CHEWOUT_FILES): Add mlock.def, mstats.def.
2882 (MALLOC_CFLAGS): New variable.
2883 (mallocr.o): New target, build from mallocr.c.
2884 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
2885 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
2886 (msizer.o, malloptr.o): Likewise.
2887 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
2888 (valloc.o): New target.
2889 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
2890 * libc/include/malloc.h: Declare struct mallinfo, and new
2891 routines.
2892 * libc/include/stdlib.h (cfree): Correct declaration.
2893
2894Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
2895
2896 * libc/include/machine/setjmp.h: Add support for Thumb target.
2897
2898 * libc/include/machine/ieeefp.h: Add support for Thumb target.
2899
2900 * configure.in (links): Add support for Thumb target.
2901
2902Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
2903
2904 * libc/sys/arm/setjmp.S: Updated with version from branch.
2905
2906Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
2907
2908 * libc/include/stdio.h: add POSIX-required define L_ctermid
2909 for ctermid
2910
2911Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
2912
2913 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
2914 addition to MISSING_SYSCALL_NAMES.
2915
2916Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2917
2918 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
2919
2920Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
2921
2922 * libc/include/string.h: change strsignal proto to return
2923 a char *. This eliminates compile problems in gdb resulting
2924 from gdb's definition of strsignal in defs.h.
2925
2926Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
2927
2928 * libc/sys/cygwin32/sys/utime.h: new (moved here from
2929 winsup/include) so as not to conflict with the one in
2930 libc/include.
2931 * libc/include/string.h: add protos for strsignal, strtosigno
2932
2933Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
2934
2935 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
2936
2937 * configure.in (d30v-*-*): Add configuration.
2938
2939Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
2940
2941 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
2942 to select which kind of debug monitor is in use for an ARM target.
2943
2944 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
2945 Angel and Demon debug monitors. Part of this code was supplied by
2946 Tony Thompson at ARM: athompso@arm.com.
2947
2948Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
2949
2950 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
2951 semantics when the count is greater than the length of the second
2952 source string.
2953
2954Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
2955
2956 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
2957 * libc/include/sys/unistd.h: add protos for usleep, truncate,
2958 truncate and ftruncate take off_t, not size_t
2959
2960Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
2961
2962 * libc/string/strcat.c (strcat): Add missing comment end.
2963 * libc/string/strncat.c (strncat): Likewise.
2964
2965Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
2966
2967 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
2968 targets.
2969 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
2970 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
2971 defined.
2972 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2973 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2974 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2975
2976Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
2977
2978 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
2979 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
2980
2981Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
2982
2983 * libc/machine/i386/setjmp.S: New file.
2984 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
2985 (OFILES): Add setjmp.o.
2986 (setjmp.o): Add rule for.
2987 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
2988
2989Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
2990 Jeffrey A Law (law@cygnus.com)
2991
2992 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
2993 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
2994 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
2995 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
2996
2997Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
2998
2999 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
3000 rules.
3001
3002 * libc/include/sys/config.h: Use __v850 to select v850
3003 endianness.
3004
3005 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
3006 buffer size.
3007
3008 * libc/include/machine/ieeefp.h: Use __v850 to select v850
3009 endianness.
3010
3011Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
3012
3013 * libc/stdlib/setenv.c: change unsetenv definition to match
3014 style of setenv (with _DEFUN). The string should be a const.
3015 * libc/include/stdlib.h: unsetenv proto should return void.
3016
3017Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
3018
3019 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
3020
3021Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
3022
3023 * libc/stdio/glue.h: remove.
3024 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
3025 * libc/stdio/Makefile.in: remove glue.h dependencies
3026
3027Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
3028
3029 * libc/sys/sysnecv850/crt0.S: Created V850e version.
3030
3031Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
3032
3033 * configure.in (target_cpu): Add `arc'.
3034
3035Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
3036
3037 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
3038 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
3039 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
3040 * newlib/libc/reent/reent.c: Add _wrapup_reent.
3041 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
3042
3043Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
3044
3045 * libc/machine/mips/setjmp.S: Handle mips16 builds.
3046
3047Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
3048
3049 * libc/include/stdio.h (siprintf): Declare.
3050
3051Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
3052
3053 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
3054 TARGET_CFLAGS and NEWLIB_FLAGS.
3055
3056Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
3057
3058 * configure.in (links): Add support for v850ea target.
3059
3060Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
3061
3062 * configure.in (links): Add support for v850e target.
3063
3064Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
3065
3066 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
3067
3068Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
3069
3070 * configure.in (arc-*-*): Add support for.
3071 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
3072
3073Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3074
3075 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
3076
3077Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
3078
3079 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
3080 comparison which accesses invalid memory when the key is
3081 larger than the last member of the array.
3082 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
3083 for CYGWIN32
3084 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
3085
3086Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
3087
3088 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
3089 not _STRICT_ANSI.
3090
3091Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
3092
3093 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
3094 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
3095
3096Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
3097
3098 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
3099 to load/store memory.
3100
3101Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
3102
3103 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
3104 underscores if _WIN32.
3105
3106Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
3107
3108 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
3109 support ifdef _USE_WRITE missed in last change.
3110 From Anders Blomdell <anders.blomdell@control.lth.se>.
3111
3112Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
3113
3114 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
3115 (_tmpnam_r, _tempnam_r): Update.
3116
3117Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
3118
3119 * libc/machine/sparc/setjmp.S: New file.
3120 * libc/machine/sparc/Makefile.in: Add setjmp.
3121 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
3122
3123Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
3124
3125 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
3126
3127Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
3128
3129 From Joel Sherrill <joel@oarcorp.com>.
3130 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
3131
3132 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
3133 * configure.in: Recognize *-*-rtems*.
3134 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
3135 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
3136 time.h,times.h,types.h}: New files.
3137 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
3138
3139Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
3140
3141 patch from sos@prospect.com.ru (Sergey Okhapkin):
3142 * include/sys/wait.h: correct operator precidence bug
3143 in WIFSIGNALED
3144
3145Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
3146
3147 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
3148 with newlib's unsetenv function
3149 * libc/sys/cygwin32/sys: new directory for includes
3150 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
3151 here from winsup/include/sys
3152
3153Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
3154
3155 * libc/include/sys/unistd.h: _exit should only be
3156 labelled noreturn when not __CYGWIN32__
3157 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
3158 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
3159 increment NSIG
3160
3161Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
3162
3163 * libc/include/sys/time.h: Only define timeval and timezone if
3164 _GNU_H_WINDOWS32_SOCKETS is not defined.
3165 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
3166
3167Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
3168
3169 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
3170 * libc/machine/mn10300/setjmp.S: Likewise.
3171
3172 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
3173 the mn10300 (more relaxing opportunities).
3174
3175Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
3176
3177 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
3178 Build libraries with -mstrict-align.
3179
3180Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
3181
3182 * libc/string/strlwr.c: New file.
3183 * libc/string/strupr.c: New file.
3184 * libc/include/string.h: Declare strlwr and strupr.
3185 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
3186 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
3187 (strlwr.o, strupr.o): New targets.
3188 * libc/string/strings.tex: Include strlwr and strupr docs.
3189
3190 * libc/include/sys/types.h: Don't define u_char, et. al., if
3191 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
3192 et. al. Make FD_SETSIZE default 64 rather than 60. Define
3193 _types_fd_set rather than fd_set, and define fd_set as a macro.
3194
3195 * libc/include/malloc.h: New file.
3196
3197 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
3198 strnicmp if they are not already defined.
3199
3200 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
3201 _timezone, _daylight, and _tzname.
3202
3203Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
3204
3205 * configure.in: Sort all configuration tables.
3206
3207 From Joel Sherrill <joel@oarcorp.com>
3208 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
3209
3210Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
3211
3212 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
3213 use int when declaring kill.
3214
3215 * libc/include/sys/timeb.h: New file.
3216
3217Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
3218
3219 * libc/include/sys/time.h: add itimer support for Cygwin32
3220
3221Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
3222
3223 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
3224 out a message that abort was called to stderr.
3225
3226Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
3227
3228 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
3229 so that libio doesn't freak.
3230
3231 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
3232 int.
3233
3234 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
3235 memory sizes, not int.
3236
3237Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
3238
3239 * libm/math/ef_hypot.c: Use long constants where
3240 appropriate.
3241 * libm/math/ef_sqrt.c: Ditto.
3242
3243 * libc/sys/sysmec/times.c(_times): Change to times.
3244
3245 * libc/sys/sysmec/read.c(_read): The third argument is
3246 size_t.
3247 * libc/sys/sysmec/write.c (_write): Ditto.
3248
3249 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
3250 (_lseek): It's off_t for the second argument.
3251
3252Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
3253
3254 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
3255 as well as machine/ieeefp.h.
3256
3257Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
3258
3259 * libc/include/sys/signal.h: add signal protos for winsup
3260 functions (when __CYGWIN32__), include types.h
3261 * libc/include/sys/types.h: Change __go32_types__ internal
3262 define to __MS_types__ since it's used for more than just
3263 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
3264 defined.
3265 * libc/include/sys/unistd.h: add ftruncate proto for
3266 winsup functions (when __CYGWIN32__)
3267
3268Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
3269
3270 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
3271
3272Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
3273
3274 * libc/include/machine/setjmp.h: Add tic80 support.
3275 * libc/machine/tic80/setjmp.S: Likewise.
3276
3277Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
3278
3279 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
3280 link programs from libraries only (such as in the X11
3281 distribution)
3282
3283Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
3284
3285 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
3286 supplied elsewhere in newlib.
3287
3288Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
3289
3290 * Makefile.in (INSTALL): Change install.sh to install-sh.
3291
3292Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
3293
3294 * README: update WWW address for on-line documentation.
3295
3296Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
3297
3298 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
3299 increment NSIG
3300
3301Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
3302
3303 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
3304 mn10300.
3305 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
3306
3307Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
3308
3309 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
3310 * libc/sys/d10v/syscalls.c: Likewise.
3311 * libc/sys/h8300hms/sbrk.c: Likewise.
3312 * libc/sys/h8500hms/syscalls.c: Likewise.
3313 * libc/sys/m88kbug/syscalls.c: Likewise.
3314 * libc/sys/sh/syscalls.c: Likewise.
3315 * libc/sys/sysmec/sbrk.c: Likewise.
3316 * libc/sys/sysnecv850/sbrk.c: Likewise.
3317 * libc/sys/w65/syscalls.c: Likewise.
3318 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
3319
3320Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
3321
3322 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
3323 emulated syscall instead of "trap".
3324
3325Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
3326
3327 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
3328 not trap 0.
3329
3330Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
3331
3332 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
3333
3334Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
3335
3336 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
3337 not "sh".
3338 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
3339 not "d10v".
3340 * libc/sys/tic80/crt0.c: New file for TIc80.
3341 * libc/sys/tic80/Makefile.in: New file for TIc80.
3342 * libc/machine/tic80/Makefile.in: New file for TIc80.
3343
3344Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
3345
3346 * libc/machine/sh/memcpy.S: New file.
3347 * libc/machine/sh/memset.S: New file.
3348 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
3349
3350Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
3351
3352 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
3353 for TIc80.
3354
3355Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
3356
3357 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
3358 the mn10200.
3359
3360Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
3361
3362 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
3363 (patch from andrew@pogo.WV.TEK.COM).
3364
3365Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
3366
3367 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
3368 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
3369
3370Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
3371
3372 * configure.in: Add cases for "tic80" to set machine_dir,
3373 sys_dir, and syscall_dir.
3374
3375Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
3376
3377 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
3378
3379Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
3380
3381 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
3382
3383Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
3384
3385 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
3386 Use proper constant prefix.
3387
3388Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
3389
3390 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
3391 that loses on the mn10200 where ints and pointers are different
3392 sizes.
3393
3394Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
3395
3396 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
3397 target as signal is provided in winsup.
3398
3399Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
3400
3401 * libc/include/sys/process.h: Corrected const definitions
3402 in spawn functions. Added cwait.
3403
3404Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
3405
3406 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
3407 doubles.
3408 * libc/include/sys/config.h: Similarly.
3409
3410Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3411
3412 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
3413 target_cflags.
3414 (i[3456]86-*-sco*): Ditto.
3415
3416 * libc/signal/Makefile.in (OFILES): Add signal.o.
3417 (CFILES): Add signal.c.
3418
3419 * libc/signal/raise.c (_raise_r): Only compile code if
3420 SIGNAL_PROVIDED is defined.
3421
3422 * libc/signal/signal.c: Redo whole file so that it works with
3423 current newlib. Use _kill_r if no signal handler provided.
3424
3425 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
3426 signal stubs.
3427 * libc/sys/sysvnecv70/Makefile.in: Ditto.
3428 * libc/sys/sysnecv850/Makefile.in: Ditto.
3429
3430 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
3431 * libc/sys/sysmec/{raise,signal}.c: Ditto.
3432 * libc/sys/sysvnecv70/signal.s: Ditto.
3433 * libc/sys/sysnecv850/raise.c: Ditto.
3434
3435 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
3436 simulator and debugger can tell the difference between a signal
3437 being raised and an exit system call.
3438
3439 * NEWS: Document software signals being provided.
3440
3441Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3442
3443 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
3444 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
3445 include/sys/config.h.
3446 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
3447 Change from 'inpure_data'.
3448 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
3449 &impure_data, not &inpure_data.
3450
3451 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
3452 and and System V ABI, define so that _impure_ptr lives in the
3453 .sdata section.
3454
3455Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3456
3457 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
3458 nothing if not defined.
3459 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
3460 its attributes.
3461
3462 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
3463
3464Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
3465
3466 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
3467 * libc/sys/sysmec/trap.s: Handle mn10200 too.
3468 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
3469
3470Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
3471
3472 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
3473
3474Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
3475
3476 * libc/include/sys/errno.h: Added net errno's.
3477
3478Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3479
3480 * libc/misc/ffs.c: New file to support ffs function for GCC test
3481 gcc.c-torture/execute/960909-1.c.
3482
3483 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
3484
3485Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
3486
3487 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
3488 * libc/sys/sysmec/trap.S: Likewise.
3489
3490Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
3491
3492 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
3493 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
3494
3495Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
3496
3497 * libc/sys/sysmec/signal.c: Dummy file.
3498 * libc/sys/sysmec/Makefile.in: Build it.
3499
3500Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
3501
3502 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
3503 mips16.
3504
3505Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
3506
3507 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
3508 c-startup and simulator traps.
3509
3510
3511 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
3512 * libc/sys/sysmec/trap0.S: Likewise.
3513
3514Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3515
3516 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
3517 round to double word alignment.
3518 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
3519 byte alignment.
3520
3521 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
3522
3523 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
3524 out of memory.
3525
3526Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
3527
3528 * configure.in: Handle mn10200 and mn10300.
3529 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
3530 * libc/include/sys/config.h: Likewise.
3531 * libc/sys/sysmec: New directory for mec stuff.
3532 * libc/machine/mn10300: New directory for mn10300 stuff.
3533 * libc/machine/mn10200: Similarly for mn10200 stuff.
3534
3535Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
3536
3537 * libc/sys/arm/crt0.S: Use .text, not .section .text.
3538 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
3539
3540 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
3541 (nlink_t): Change type from unsigned int to unsigned short.
3542 (mode_t): Ensure size is 32 bits even if int is 16.
3543 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
3544 (st_spare[123]): Change type from int to long.
3545
3546Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3547
3548 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
3549 byte boundary.
3550
3551 * configure.in (d10v*): Define SMALL_MEMORY.
3552
3553Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3554
3555 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
3556 -mrelocatable-lib and -mno-eabi flags.
3557
3558Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
3559
3560 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
3561 Fix handling of mis-aligned source operand when both the
3562 destination & length are properly aligned.
3563
3564Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
3565
3566 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
3567 times.o, time.o and gettime.o
3568 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
3569 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
3570 SYS_gettimeofday.
3571
3572Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
3573
3574 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
3575 * libc/sys/sysnecv850/access.c: New file.
3576
3577Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
3578
3579 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
3580
3581 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
3582 long.
3583
3584Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
3585
3586 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
3587
3588Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
3589
3590 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
3591 * libc/include/sys/config.h: Add m32r support.
3592
3593Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
3594
3595 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
3596 here.
3597
3598Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
3599
3600 * libc/include/machine/setjmp.h: Add D10v support.
3601
3602Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
3603
3604 * configure.in: Configure the "libc/syscalls" directory for
3605 the v850.
3606
3607 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
3608 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
3609 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
3610 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
3611 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
3612
3613Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
3614
3615 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
3616 stack for args for main and other routines. Zero out args for
3617 main.
3618
3619 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
3620 correctly.
3621
3622Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3623
3624 * libc/stdio/findfp.c (std): Remove extraneous ';' after
3625 function.
3626
3627 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
3628
3629 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
3630 real system calls now.
3631
3632 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
3633 before casting them to int.
3634 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
3635
3636 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
3637 aligning pointer.
3638 * libc/string/memset.c (memset): Ditto.
3639
3640 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
3641 first convert ints to _POINTER_INT to eliminate GCC warning.
3642
3643 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
3644 processing %p.
3645
3646 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
3647 from 65000 if ints are only 16 bits.
3648
3649 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
3650 from 50000 if ints are only 16 bits.
3651
3652 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
3653 int type that is the same size as a pointer.
3654
3655 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
3656 processing %p.
3657 (get_number): Explicitly cast number to long before shifting by 16
3658 or 24, in case ints are short.
3659
3660 * libc/include/sys/config.h (_POINTER_INT): Define as short.
3661
3662Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
3663
3664 * libc/string.h: Added ffs, removed swab.
3665 * libc/sys/errno.h: Added EOPNOTSUPP.
3666 * libc/sys/unistd.h: Added swab.
3667
3668Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
3669
3670 * libc/include/sys/stat.h: Added fchmod.
3671 * libc/include/sys/unistd.h: Added fsync.
3672
3673Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
3674
3675 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
3676 and ECONNRESET (104) for cygwin32.
3677
3678Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
3679
3680 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
3681 do the static destructors.
3682
3683Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
3684
3685 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
3686
3687Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
3688
3689 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
3690 * configure.in: Recognize m32r-*-*.
3691
3692Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
3693
3694 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
3695 __rt_stkovf_split_small): Added default software stack overflow
3696 handlers, which just call SWI_Exit.
3697 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
3698 limit initialisation.
3699
3700Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
3701
3702 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
3703
3704Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
3705
3706 * libc/include/sys/types.h: Added ssize_t definition.
3707
3708Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3709
3710 * libc/machine/d10v/setjmp.S: Use ';' for comments.
3711 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
3712
3713 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
3714 branch around a single ldi instruction.
3715
3716 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
3717 Call exit, instead of just issuing a stop instruction.
3718
3719Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3720
3721 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
3722
3723Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3724
3725 * libc/stdlib/mprec.h: Explicitly declare all large constants as
3726 longs, and then cast them to __uint32_t.
3727
3728 * libc/include/sys/config.h: Protect against multiple inclusions.
3729
3730Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
3731
3732 * configure.in (d10v*): Set syscall_dir.
3733
3734Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
3735
3736 * libc/sys/d10v/crt0.S: Set stack pointer.
3737
3738Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
3739
3740 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
3741 in assembly for efficiency. Change calling convention to allow
3742 long ints to be returned.
3743
3744Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3745
3746 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
3747
3748Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
3749
3750 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
3751 Handle empty entries in $PATH.
3752
3753Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
3754
3755 * libc/machine/d10v/setjmp.S: Make it really work.
3756
3757Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
3758
3759 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
3760 the .stack section.
3761
3762Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
3763
3764 * sys/sysnecv850/sys/file.h: Remove.
3765 * sys/sysnecv850/sys/syscall.h: New file.
3766 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
3767 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
3768 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
3769 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
3770 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
3771 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
3772 * sys/sysnec850/trap.S: New file.
3773 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
3774 syscalls.
3775 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
3776 * sys/sysnec850/sbrk.c: New version.
3777
3778Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
3779
3780 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
3781 as long as r6 is less than r7.
3782
3783Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
3784
3785 * Makefile.in (mostlyclean): Separate from clean target. Don't
3786 remove *.a or targ-include.
3787 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
3788
3789Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3790
3791 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
3792 d10v.
3793 (__SMALL_BITFIELDS): Ditto.
3794
3795 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
3796
3797Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
3798
3799 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
3800 prefix.
3801
3802 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
3803 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
3804 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
3805 * libc/sys/sysnecv850/write.c (write): Likewise.
3806
3807 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
3808 .bss.
3809
3810Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3811
3812 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
3813 appropriately for D10V, depending on -mint16/-mint32.
3814
3815Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
3816
3817 * configure.in: Add cases for D10V.
3818
3819Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3820
3821 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
3822
3823Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
3824
3825 * libc/include/machine/ieeefp.h: Fix typo.
3826
3827Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
3828
3829 * libc/sys/d10v: New directory for D10V stuff.
3830 * libc/include/machine/ieeefp.h: Add D10V defines.
3831
3832Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
3833
3834 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
3835 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
3836 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
3837 * libc/string/strerror.c (strerror): Add them.
3838
3839Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
3840
3841 * libc/sys/sysnecv850: New directory for v850 stuff.
3842
3843 * libc/machine/v850: New directory for v850 stuff.
3844 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
3845
3846 * configure.in: Add support for the v850.
3847
3848 * libc/include/machine/ieeefp.h: Add v850 defines.
3849 * libc/include/machine/setjmp.h: Likewise.
3850 * libc/include/sys/config.h: Add v850 defines.
3851
3852Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
3853
3854 * libc/include/machine/ieeefp.h
3855 * libc/include/machine/setjmp.h
3856 * libc/include/sys/fcntl.h
3857 * libc/include/sys/signal.h
3858 * libc/include/sys/types.h
3859 * libc/stdlib/system.c:
3860 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
3861 API availability, __CYGWIN32__ for cygwin32 environment specific).
3862
3863Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
3864
3865 * libc/include/stdlib.h: add multibyte character functions. Add
3866 __eprintf for assert.
3867
3868Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3869
3870 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
3871 arithmetic or __alignof__ to properly get the alignment, instead
3872 of hardwiring it to 4.
3873
3874Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
3875
3876 * libc/stdio/fseek.c: add fflush call to adjust seek offset
3877 on append stream (fix from NetBSD sources), adjust curoff offset
3878 for ungetc's benefit.
3879 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
3880 * libc/stdio/rewind.c: replace code with up to date NetBSD
3881 code to undo hacks made to work around above problem of not
3882 having fflush call mentioned above
3883
3884Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3885
3886 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
3887 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
3888 Partially revert last changes. The thread specific errno is set
3889 iff if the underlying syscall fails and the global errno is not
3890 zero.
3891
3892Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3893
3894 * libc/reent/filer.c: Removed files, all functions have split out
3895 into their own files.
3896 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
3897 New files containing functions formally in filer.c
3898 * libc/reent/Makefile.in: Updated for above change.
3899
3900 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
3901 syscall fails, not if errno is changed.
3902 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
3903 _write_r): Likewise.
3904 * libc/reent/fstatr.c (_fstat_r): Likewise.
3905 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
3906 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
3907 * libc/reent/signalr.c (_kill_r): Likewise.
3908 * libc/reent/statr.c (_stat_r): Likewise.
3909 * libc/reent/timer.c (_gettimeofday_r): Likewise.
3910
3911 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
3912 signalr.c, statr.c, timer.c} (errno): declare extern rather
3913 than as a common.
3914
3915 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
3916 instead of calling vfprintf so that i*printf will not require
3917 floating point support code.
3918
3919Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
3920
3921 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
3922 path delimiter.
3923 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
3924 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
3925
3926Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
3927
3928 * libc/include/signal.h: _sig_func_ptr function takes an int
3929 * libc/include/sys/signal.h: sa_handler function takes an int
3930
3931Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
3932
3933 * libc/include/machine/ieeefp.h: Simplify H8/S support.
3934 * libc/include/sys/config.h: Add missing H8/S conditional.
3935
3936Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
3937
3938 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
3939
3940Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
3941
3942 * libc/include/machine/setjmp.h: Handle H8/S.
3943 * libc/include/machine/ieeefp.h: Likewise.
3944 * libc/include/sys/config.h: Likewise.
3945 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
3946 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
3947 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
3948 * libc/sys/h8300hms/crt0.S: Likewise.
3949
3950Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
3951
3952 * Makefile.in (datadir): Set to $(prefix)/share.
3953 (oldincludedir, docdir): Removed.
3954 * doc/Makefile.in (datadir): Set to $(prefix)/share.
3955 (oldincludedir, docdir): Removed.
3956 * libc/Makefile.in (datadir): Set to $(prefix)/share.
3957 (oldincludedir, docdir): Removed.
3958 * libm/Makefile.in (datadir): Set to $(prefix)/share.
3959 (oldincludedir, docdir): Removed.
3960
3961Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
3962
3963 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
3964 _reent struct.
3965
3966Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
3967
3968 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
3969 fetch current path rules with sysconf and handler posix/win32
3970 appropriately.
3971
3972 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
3973
3974 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
3975 (WAIT_CHILD): Always define.
3976
3977Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
3978
3979 * libc/stdlib/eprintf.c: New file.
3980 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
3981 (eprintf.o): New target.
3982
3983Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
3984
3985 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
3986 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
3987
3988Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
3989
3990 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
3991 NT in PowerPC endianess cases.
3992
3993Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3994
3995 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
3996
3997Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
3998
3999 * libc/string/strtok.c: Fix doc typo.
4000
4001Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4002
4003 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
4004 _next, _scanpoint, _signgam fields.
4005
4006 * libc/include/stdlib.h (rand_r): Added new declaration.
4007 (_rand_r, _srand_r): Removed declarations.
4008 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
4009 have been made obsolete by rand_r.
4010 * libc/stdlib/rand_r.c: New file, rand_r function as specified
4011 by POSIX.1c.
4012
4013 * libc/string/strtok.c: Update documentation to describe
4014 strtok_r().
4015
4016Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
4017
4018 * libc/include/sys/stat.h (stat structure): Use the expanded stat
4019 structure on Solaris, and PowerPC systems even though __svr4__ is
4020 defined.
4021
4022Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
4023
4024 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
4025
4026Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
4027
4028 * host/any: Use ../.. rather than .. to get to the main build
4029 directory. This matches the current layout of the build
4030 directory.
4031
4032Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
4033
4034 * libc/machine/h8300/__main.S: Delete. No longer needed.
4035 * libc/machine/h8300/Makefile.in: Corresponding changes.
4036 * libc/sys/h8300hms/crt1.c: New file.
4037 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
4038 * libc/sys/h8300hms/crt0.s: Call __main.
4039
4040 * libc/sys/h8300hms/crt0.S: Use temporary label names
4041 for branch targets.
4042
4043Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
4044
4045 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
4046
4047Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4048
4049 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
4050 .sdata on the PowerPC so that we can link newlib with code
4051 compiled with -msdata.
4052
4053Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
4054
4055 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
4056
4057Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
4058
4059 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
4060 exception handler to __cygwin_exception_handler.
4061
4062Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
4063
4064 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
4065
4066Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
4067
4068 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
4069 SunOS VPATH.
4070 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
4071 wcstombs.o): Likewise.
4072
4073Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
4074
4075 * libc/stdlib/environ.c (initial_env): New static local.
4076 (environ): Point to `initial_env'.
4077
4078 * libc/include/machine/setjmp.h: Clean up.
4079 (__H8300H__,__PPC__): Define _JBTYPE.
4080 (__arm__): Provide entry for.
4081 (sigjmp_buf): Delete.
4082 (jmp_buf): Use _JBTYPE if defined, otherwise int.
4083
4084Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
4085
4086 * libc/machine/h8300/strcmp.S: Sign extend the result to
4087 32bits so we don't lose with -mint32.
4088
4089Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
4090
4091 * libc/sys/go32/sys/errno.h: New file.
4092 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
4093 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
4094 errno's address (make compatible with rest of newlib).
4095 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
4096 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
4097
4098Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
4099
4100 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
4101 * libc/machine/sparc/Makefile.in: Build them.
4102 * libc/machine/sparc/machine/sparclet.h: New file.
4103
4104Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4105
4106 * libc/machine/sh/asm.h: New file.
4107 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
4108 support for SH3e's FP registers. Use asm.h.
4109
4110Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
4111
4112 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
4113 as first argument. Call _dtoa_r and pass the reent structure
4114 instead of calling __dtoa.
4115
4116Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
4117
4118 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
4119 the h8300, h8500, and others. Add comments for some rather
4120 dubious code.
4121
4122Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
4123
4124 * Makefile.in (check): Check that testsuite exists before cd.
4125
4126Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4127
4128 * libc/include/string.h (strsep): Correct prototype.
4129
4130Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
4131
4132 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
4133 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
4134 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
4135
4136Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
4137
4138 * libc/posix/{creat.c,isatty.c}: New files.
4139 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
4140
4141 * libc/sys/sparc64/crt0.S (environ): Delete.
4142 (.LHaveBias): Renamed from HaveBias.
4143
4144Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
4145
4146 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
4147 (_morecore_r): Delete SBRK_IS_ALLOC support.
4148
4149Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4150
4151 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
4152 module rather than touch, so we don't get warning messages when
4153 all of the libraries are combined into libc.a.
4154
4155Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
4156
4157 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
4158 crt0.s replaced by version in libgloss.
4159
4160Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
4161
4162 * libc/reent/Makefile.in (OFILES): Add impure.o.
4163 * libc/reent/impure.o: New file, define initial reentrancy struct.
4164 * libc/reent/reent.c: Remove above definition.
4165
4166 * libm/math/sf_asinh.c: Fix typo.
4167
4168 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
4169 srf_ldexp.o.
4170
4171 * libm/libm.texinfo: Change documentation to reflect changes
4172 in reentrancy model.
4173 * libm/math/w_gamma.c: Likewise.
4174
4175Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
4176
4177 * configure.in (*-*-cygwin32): New.
4178 (*-*-win32): Deleted.
4179 * libc/sys/win32 renamed libc/sys/cygwin32.
4180
4181Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4182
4183 * libc/include/sys/file.h: New include file.
4184
4185Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
4186
4187 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
4188
4189Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
4190
4191 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
4192
4193Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
4194
4195 * doc/makedoc.c (realloc): Declare at file scope.
4196 (catchar): Not here.
4197
4198Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
4199
4200 * Makefile.in (VERSION): Update to 1.7.0.
4201 * {libc,libm}/Makefile.in (VERSION): Likewise.
4202 * configure.in: Minor clean up of multilib stuff.
4203
4204 From David Johnson <davidj@ICSI.Berkeley.EDU>
4205 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
4206
4207 * libc/stdlib/environ.c: New file.
4208 * libc/stdlib/Makefile.in (OFILES): Build it.
4209 * libc/sys/h8500hms/crt0.c (environ): Deleted.
4210 * libc/sys/m88kbug/crt0.c (environ): Deleted.
4211 * libc/sys/z8ksim/crt0.c (environ): Deleted.
4212 * libc/sys/netware/environ.c: Deleted.
4213
4214Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
4215
4216 * configure.in (links): set sys_dir, posix_dir, syscall_dir
4217
4218Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4219
4220 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
4221 declaration out to external scope and declare it PTR, not char *.
4222
4223Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
4224
4225 * libc/include/sys/unistd.h (getpagesize): New declaration.
4226 (_SC_PAGESIZE): New definition.
4227 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
4228 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
4229
4230Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
4231
4232 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
4233 addressing. System call returns size, not (last address + 1).
4234
4235Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4236
4237 * libm/math/*.c: Removed _foo_r() reentrancy API.
4238 * libc/include/math.h: Removed _foo_r prototypes and macros.
4239
4240 * libm/math/*.c: On systems with IEEE single precision "doubles"
4241 move foo() -> foof() wrapper code from the files that implement
4242 the standard IEEE double precision functions to the files that
4243 implement IEEE single precision functions. (ie. On those systems
4244 sin is moved from s_sin.c to sf_sin.c). There should eventually
4245 be use of a C extension (like gcc's alias attribute) so that the
4246 wrappers are not needed at all.
4247
4248 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
4249 strict NEC V810 compiler.
4250 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
4251 for same reason.
4252
4253Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4254
4255 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
4256 from NetBSD C library.
4257 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
4258
4259 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
4260 and adapted from implementation I wrote for NetBSD C library.
4261 The difference is __assert doesn't take a format argument,
4262 so that there won't be multiple copies of the same string
4263 constant in the executable if assertions are enabled in
4264 more than one source module.
4265 * libc/include/assert.h (assert): Changed to call __assert.
4266
4267Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4268
4269 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
4270 word1 on systems with 32 bit doubles.
4271 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
4272 so that we can do arithmetic on them.
4273 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
4274 compilers.
4275
4276Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
4277
4278 * libc/sys/arm/crt0.S: Zero bss.
4279
4280Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
4281
4282 * libc/include/unctrl.h: New file.
4283 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
4284 * configure.in (subdirs): Add libc/misc.
4285 * libc/Makefile.in (SUBDIRS): Add misc.
4286 (SUBLIBS): Add misc/lib.a.
4287
4288 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
4289
4290Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
4291
4292 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
4293 (_vfprintf_r): Call CHECK_INIT.
4294
4295Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
4296
4297 * Makefile.in (MULTITOP): Delete.
4298 (MULTISRCTOP, MULTIBUILDTOP): Add.
4299 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
4300 instead of cfg-ml-pos.in.
4301
4302Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
4303
4304 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
4305 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
4306 presence.
4307
4308Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
4309
4310 * libc/string/strtok.c: Include string.h to pick up strtok_r
4311 prototype.
4312
4313Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4314
4315 * libc/string/strtok.c: include <_ansi.h>.
4316 * libc/time/asctime_r.c: `reresult' -> `result'.
4317
4318Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4319
4320 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
4321 in #ifndef _REENT_ONLY ... #endif conditional.
4322
4323 * libc/include/string.h (_strtok_r): Remove declaration.
4324 * libc/include/time.h (_asctime_r): Remove declaration.
4325 * libc/string/strtok.c (_strtok_r): Removed.
4326 * libc/time/asctime.c (_asctime_r): Removed.
4327
4328 * libc/string/Makefile.in (OFILES): Add new object.
4329 * libc/string/strtok_r.c: New file. strtok_r function as
4330 specified by POSIX.1c, adapted from strtok implementation
4331 from NetBSD C library.
4332 * libc/string/strtok.c (strtok): Reimplemented in terms of
4333 strtok_r.
4334
4335 * libc/time/Makefile.in (OFILES): Add new objects.
4336 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
4337 New files, reentrant time functions specified by POSIX.1c.
4338 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
4339 reentrant time functions re-written in terms of reentrant
4340 functions.
4341 * libc/time/lcltime.c: Renamed from localtime.c
4342
4343 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
4344 gmtime_r, and localtime_r.
4345
4346Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
4347
4348 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
4349 * libc/include/sys/unistd.h (getlogin): Revert change of
4350 Oct 19.
4351 * libc/include/sys/signal.h (sigprocmask): Change prototype
4352 so it compiles with c++.
4353
4354Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
4355
4356 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
4357 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
4358 to give some room in case we need to align the jmp_buf.
4359
4360 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
4361 the new ppc-asm.h include file the compiler provides to specify
4362 function prologue/epilogue. Eliminate saves of the xer and ctr
4363 registers, which are volatile. Before starting to save registers,
4364 align to 8 byte boundary.
4365
4366Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
4367
4368 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
4369 referenced by standard libraries.
4370
4371Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
4372
4373 * libc/unix/Makefile.in, libc/string/Makefile.in,
4374 libc/stdio/Makefile.in, libc/reent/Makefile.in,
4375 libc/posix/Makefile.in:
4376 Remove tabs from otherwise empty line. Confuses some
4377 older non-GNU versions of "make".
4378
4379Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
4380
4381 * libc/sys/unistd.h (getlogin): Returns const char *.
4382
4383Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
4384
4385 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
4386 * libc/include/errno.h: Moved into and include...
4387 * libc/include/sys/errno.h: New file.
4388 * libc/include/sys/wait.h: New file.
4389 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
4390 * libc/sys/win32/*: Moved out.
4391 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
4392 * configure.in (i[345]86-*-win32): HAVE_RENAME
4393
4394Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
4395
4396 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
4397 avoid macro expansion for these two names.
4398
4399Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
4400
4401 * libc/machine/h8500/psi.S: r6 renamed to fp.
4402
4403Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
4404
4405 * configure.in (powerpc*): No longer need to define
4406 NO_LONGLONG_POINTERS to supress warnings.
4407
4408Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4409
4410 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
4411 through PTR instead of directly.
4412
4413 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
4414 non-standard constructor support.
4415
4416Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4417
4418 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
4419 address of the Bigint instead of the address of its _x field,
4420 as the size the result buffer was calculated accordingly.
4421 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
4422
4423 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
4424 from NetBSD C library. No longer special cases division by
4425 zero (which needs to be done by the application anyway), but
4426 it doesn't need to call abs() (or labs()) four times either.
4427
4428 * libc/stdlib/qsort.c: Replaced with implementation from
4429 NetBSD C library.
4430
4431Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4432
4433 * libc/stdio/vfprintf.c: Replaced with implementation from
4434 NetBSD C library (which is derived from the 4.4BSD C library).
4435 * libc/stdio/cvt.c: Removed.
4436 * libc/stdio/Makefile: Updated.
4437
4438Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
4439
4440 * libc/sys/win32/syscalls.c (rename): New.
4441 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
4442
4443Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
4444
4445 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
4446 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
4447
4448 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
4449 (setjmp.o): Delete rule to build setjmp.o.
4450 * libc/sys/sh/setjmp.S: Delete file.
4451
4452Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4453
4454 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
4455 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
4456 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
4457 pow5mult and s2b to identifiers with leading underscores.
4458 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
4459 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
4460
4461Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
4462
4463 * libc/sys/posix/popen.c (sys/types.h): Include.
4464
4465Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
4466
4467 * libc/sys/win32/syscalls.h (fhandler): New struct.
4468 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
4469 (__fhandler_normal): Declare.
4470 (hinfo): New member op_handlers.
4471 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
4472 (__write): Likewise.
4473 (_read, _write, _open, _close, _lseek): Validate fd here.
4474 Move file type specific stuff to foo_normal.
4475 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
4476 New functions.
4477 (__lookup_fhandler): New function.
4478 (__lookup_fhandler_hook, __fhandler_normal): New variables.
4479
4480 From anders.blomdell@control.lth.se (Anders Blomdell)
4481 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
4482 Don't touch standard handles.
4483 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
4484 (_execve): Only create __FD_TABLE__ if necessary.
4485 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
4486
4487Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
4488
4489 * libc/sys/win32/sys/termios.h (FLUSHO): New.
4490 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
4491 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
4492 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
4493 without a handler is received.
4494 * libc/sys/win32/Makefile.in: Remove --nodelete.
4495 * libc/sys/win32/resouce.c (gettimeofday): New.
4496 * libc/sys/win32/syscalls.c (path_to_real_path): New.
4497 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
4498
4499Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
4500
4501 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
4502 Don't append "/*" to search pattern if trailing '/' already there,
4503 append "*".
4504 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
4505 like /'s, convert them to \'s. Handle //<drive>/ path names.
4506 Add space for quoted \'s in arg string. Print translated prog name
4507 and original prog name.
4508 (_execve): Handle parent doing exec a teensy bit better.
4509 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
4510 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
4511 path needs conversion, handle both cases. Delete `const' from result.
4512 (hash_path_name): New function.
4513 (_open): Call it.
4514 (_stat): Likewise. Fill in more fields for directories.
4515 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
4516 (wait_for_any): Fix trace message.
4517 (waitpid): Explicitly test for intpid == 0.
4518
4519 From anders.blomdell@control.lth.se (Anders Blomdell)
4520 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
4521 so `next' is valid.
4522
4523Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
4524
4525 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
4526 complicated.
4527
4528Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4529
4530 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
4531 at all, not just == 1.
4532 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
4533
4534Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4535
4536 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
4537 * libc/sys/win32/include/wintypes.h: include <winnt.h>
4538 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
4539 file.
4540
4541Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4542
4543 * libc/sys/syscalls.c (getcwd): Fix off by one error.
4544
4545 * libc/sys/signal.c (sleep): Fill it in.
4546 * libc/sys/termios.c (tcflush): Use PurgeComm
4547 (tcsetattr): Set some more of the bits.
4548 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
4549
4550Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
4551
4552 * libc/sys/arm/crt0.S (fp): Initialize to 0.
4553 Conditionally include .idata$3 stuff ifdef __pe__.
4554
4555Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
4556
4557 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
4558 * libc/sys/win32/pipe.c (pipe): Ditto.
4559 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
4560 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
4561 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
4562 (tcgetattr): Contents are new.
4563 * libc/sys/win32/include/winkernel.h (DCB): New.
4564 (GetCommState, SetCommState): New.
4565
4566Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
4567
4568 * libc/sys/arm/crt0.S (_start): Define.
4569
4570Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
4571
4572 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
4573 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
4574
4575 * libc/sys/win32/sysconf.c: New
4576 * libc/sys/win32/sys/winadvapi.h: New
4577 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
4578 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
4579 * libc/sys/win32/pipe.c (pipe): Ditto.
4580 * libc/sys/win32/signal.c (_raise): New.
4581 (_kill): Moved from spawn.c
4582 * libc/sys/win32/spawn.c (kill): Moved to signal.c
4583 * libc/sys/win32/syscalls.c (__read): Use new fields.
4584 (_open): Ditto.
4585 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
4586 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
4587 * libc/include/sys/unistd.h (rmdir): Takes const path.
4588 * libc/include/sys/stat.h (mkdir): Takes const path.
4589 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
4590
4591Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
4592
4593 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
4594
4595 Add support for specifying paths as //<drive>/foo/bar.
4596 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
4597 (__path_to_real_path): Declare.
4598 (PATH_TO_REAL_PATH): New macro.
4599 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
4600 (__path_needs_conversion_p, __path_to_real_path): New functions.
4601 (_open): Fix test for error return from CreateFileA.
4602 Handle new path syntax.
4603 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
4604 * libc/sys/win32/dirsearch.c (opendir): Likewise.
4605
4606Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
4607
4608 * libc/sys/win32/include/*.h: Reorganized
4609 * libc/sys/win32/include/WINREADME: New.
4610 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
4611 * libc/sys/win32/*.c: Fix for new include scheme.
4612 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
4613 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
4614 * libc/sys/win32/passwd.c (*): Fix.
4615 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
4616 (_stat): Get directory owner and permissions right.
4617 * libc/sys/win32/syscalls.h (uinfo): New.
4618 * libc/sys/win32/version.def: Remove leading underscores.
4619
4620Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4621
4622 * libc/sys/win32/key.c: include "include/wincon.h".
4623
4624Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
4625
4626 * libc/sys/win32/{key, stubs}.c: New.
4627 * libc/sys/win32/Makefile: Adjust to cope.
4628 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
4629 (environ_init): Change env names to upper case.
4630 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
4631 * libc/sys/win32/passwd.c (*): Fill in the functions.
4632 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
4633 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
4634 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
4635 (_open): Initialze hmap->execable_p too.
4636 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
4637 (_fstat): Fill in permissions.
4638 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
4639
4640Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
4641
4642 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
4643 if defined.
4644 (cfg-ml-pos.in invocation): Likewise.
4645
4646Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4647
4648 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
4649 s_isnan.o and sf_isnan.o.
4650
4651Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
4652
4653 * All Makefile.in files: added maintainer-clean target as a
4654 synonym for realclean.
4655
4656Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
4657
4658 * libc/include/machine/setjmp.h: Add hppa support.
4659 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
4660 support.
4661 * libc/machine/hppa/Makefile.in: Related changes.
4662
4663Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
4664
4665 * configure.in (machine_dir): Don't set for v810-*-*.
4666
4667Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4668
4669 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
4670 conventions correctly.
4671
4672Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
4673
4674 * libc/stdio/puts.c: Update documentation of return value to match
4675 ANSI standard.
4676
4677Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
4678
4679 Fix file descriptor inheritance.
4680 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
4681 (NOT_OPEN_FD): Fix.
4682 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
4683 close-on-exec flag not set. Initialize child's entire fd table.
4684 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
4685 CHILD_P.
4686 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
4687 if CHILD_P. Initialize entire hmap entry.
4688 (dup): Only create new handle as inheritable if CHILD_P.
4689 (dup2): Likewise. Properly initialize hmap entry.
4690
4691 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
4692 _spawn.
4693 (_exit): Use CHILD_P.
4694 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
4695 (_stat): Likewise.
4696
4697Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4698
4699 * libc/sys/win32/crt0.c (passover): fix up the state table.
4700 * libc/posix/popen.c: Added.
4701 * libc/posix/Makefile.in: compile popen.c.
4702
4703Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
4704
4705 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
4706 h8/500 define _DOUBLE_IS_32BITS.
4707
4708Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
4709
4710 Get vfork/exec/spawn/cwait/wait working again.
4711 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
4712 (procinfo): New member vfork_level.
4713 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
4714 (vfork_init_first): Use GetCurrentProcessId to get pid.
4715 Initialize vfork_level.
4716 (vfork_init): Delete __PID__.
4717 (environ_init): New function. Undo patch of Aug 19, Posix says
4718 environment variables are case sensitive.
4719 (mainCRTStartup): Call it.
4720 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
4721 (my_longjump: Make static.
4722 (_spawn): New argument `h'. Delete setting of __PID__.
4723 Delete local `idx'. Look for chars that need quotes, rather than
4724 ones that don't. Set handle of created process in `h'.
4725 Result is process id if created task.
4726 (allocate_spawn_entry): New function.
4727 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
4728 (_execve): Set __FD_TABLE__ before spawning child.
4729 Scan our fd table when passing fds, not our parent's.
4730 Store handle and pid in procinfo entry.
4731 (vfork0): Ensure strace message always printed.
4732 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
4733 (vfork): Don't clobber result of vfork0.
4734 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
4735 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
4736
4737 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
4738 and `exit_code'.
4739 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
4740 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
4741 adding vfork level to pseudo-pid.
4742 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
4743 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
4744 (_exit): If child, set exit code.
4745 (__vfork_record_death): Only close process handle if valid.
4746 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
4747 didn't exec.
4748 (wait_for_any): Likewise. Start scan after root entry.
4749
4750Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4751
4752 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
4753 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
4754 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
4755 of actual file length.
4756
4757 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
4758 * libc/include/paths.h: _PATH_BSHELL added.
4759 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
4760 and STDERR_FILENO.
4761
4762Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4763
4764 * libc/include/ar.h: Added.
4765 * libc/include/sys/types.h: ino_t goes back to 32-bits.
4766 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
4767 * libc/sys/win32/syscalls.c (_open): compute .namehash based
4768 on filename.
4769 (_fstat): use .namehash for inode number of the fd.
4770
4771Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
4772
4773 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
4774 Change hinfo to __this_procinfo.
4775 * libc/sys/win32/crt0.c: Remove procinfo_list.
4776
4777Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4778
4779 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
4780 win32 environment.
4781
4782Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4783
4784 * libc/sys/win32/include/grp.h: Removed.
4785 * libc/sys/include/grp.h: Added.
4786 * libc/sys/win32/grp.c: Include <grp.h>.
4787
4788Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
4789
4790 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
4791 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
4792 Defined for all but strict ANSI.
4793 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
4794 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
4795 * libc/signal/signal.c (_signal_r): Changed from using
4796 _MAX_SIGNALS to NSIG.
4797 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
4798 __hmap): Deleted.
4799 (__strace, __vfork_next_pid): New.
4800 (__exe_suffix): Default to 1.
4801 (passover, table): Understand quoted arguments.
4802 (vfork_init_first): New.
4803 (vfork_init): Initialize new process structure.
4804 (mainCRTStartup): Pass environ to main.
4805 * exceptions.c (__sig_mask): New
4806 (ehandler3): Ignore signals in mask.
4807 (really_exit): Remove CHILD_P test.
4808 * pipe.c (pipe, dup, dup2): Use new process and file structure.
4809 * resource.c (getrusage): Ditto.
4810 * signal.c (sigprocmask): New.
4811 * spawn.c (*): Rewritten.
4812 * syscalls.c (*): Use new process and file structure.
4813 (find_unused_handle): New.
4814 * syscalls.h (MAX_HANDLES): Deleted.
4815 (hinfo): Removed child_created_p.
4816 (MAX_CHILDREN): Deleted.
4817 (vfork_jmp_info, procinfo): New.
4818 * wait.c (*): Mostly new.
4819 * sys/strace.h (_STRACE_PARANOID): New.
4820 * sys/param.h: New file.
4821
4822Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4823
4824 * libc/include/sys/stat.h: add S_BLKSIZE.
4825 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
4826 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
4827 types under win32.
4828 (mode_t): add a #else to avoid multiple definitons.
4829
4830 * libc/sys/win32/Makefile.in: add grp.c.
4831 * libc/sys/win32/grp.c: include grp.h correctly.
4832 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
4833 of the st structure with real information.
4834 * libc/sys/win32 (dirent): d_ino is of type ino_t.
4835
4836Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
4837
4838 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
4839 and (maybe) sparc64.
4840 (nlink_t): Provide typedef.
4841
4842Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4843
4844 * libc/sys/win32/grp.c: New file.
4845 * libc/sys/win32/include/grp.h: New file.
4846
4847Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4848
4849 * libc/include/machine/ieeefp.h: Added whitespace to make this
4850 file easier to maintain.
4851 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
4852 depending on the value of __LITTLE_ENDIAN__.
4853 On the sh3e, define _DOUBLE_IS_32BITS.
4854
4855Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
4856
4857 * libc/sys/vr4300/syscalls.c: Added missing support
4858 routines. _raise() and getpid().
4859
4860Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
4861
4862 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
4863
4864Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
4865
4866 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
4867 and VR4300 processor.
4868 * libc/sys/vr4300: Add directory.
4869 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
4870 monitor run-time support.
4871
4872Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4873
4874 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
4875 * libc/stdlib/stdlib.tex: Don't include atol.def.
4876
4877Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4878
4879 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
4880
4881Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
4882
4883 * libc/ctype/Makefile.in: Fill in _to* dependencies.
4884
4885Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
4886
4887 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
4888 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
4889 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
4890 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
4891 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
4892
4893Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4894
4895 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
4896
4897Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4898
4899 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
4900 * libc/stdlib/atoff.c: New file.
4901 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
4902 * libc/stdlib/atoi.c (atol): Removed.
4903 * libc/stdlib/atol.c: Removed duplicate documentation.
4904
4905 * libc/include/ctype.h (_tolower, _toupper): Moved inside
4906 #ifndef _STRICT_ANSI conditional.
4907 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
4908 * libc/ctype/_tolower.c: New file.
4909 * libc/ctype/_toupper.c: New file.
4910 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
4911 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
4912 * libc/ctype/toascii.c (_toascii): Removed.
4913
4914Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
4915
4916 * libc/sys/sparc64/sys/types.h: Deleted.
4917
4918Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4919
4920 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
4921 and recognize Windows_95 systems.
4922
4923Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4924
4925 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
4926 and passed fds should be opened in text mode.
4927
4928Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
4929
4930 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
4931 in __hmap, set to binary mode by default.
4932
4933Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4934
4935 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
4936 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
4937 vector 34.
4938
4939Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
4940
4941 * Makefile.in (install): Install all libraries found in the
4942 top level. If there's a sys/<type>/include directory,
4943 install those headers into include.
4944
4945 * libc/sys/win32/kernel.def351: Delete
4946 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
4947 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
4948 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
4949 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
4950 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
4951 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
4952 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
4953 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
4954
4955 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
4956 * libc/sys/win32/crt0.c: Force all env names to upper case.
4957 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
4958 * libc/sys/win32/*.c: Headers have moved.
4959 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
4960 __vfork_child_idx is now __vfork_child_ptr.
4961
4962 * posix/execvp (execvp): Don't crash if no PATH envname.
4963
4964Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4965
4966 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
4967 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
4968 through the _freelist instead of through the _reclaim list.
4969 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
4970 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
4971 sources.
4972
4973Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4974
4975 * libc/machine/h8500/setjmp.S: New file.
4976 * libc/include/machine/setjmp.h: Updated for H8/500.
4977
4978Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
4979
4980 * libc/sys/win32/syscalls.c (_open): More stracing.
4981 (_stat): Open the file in O_BINARY.
4982
4983Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
4984
4985 * libc/machine/h8300/setjmp.S: New file.
4986 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
4987
4988Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
4989
4990 * libc/sys/win32/crt0.c (__exe_suffix): New global.
4991 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
4992 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
4993 __exe_suffix. Free fd_tab after setting env variable.
4994 (spawnv,_execve): Update.
4995 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
4996 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
4997 (__small_vfprintf): New function.
4998 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
4999 * libc/sys/win32/wait.c (cwait): Validate argument.
5000
5001 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
5002 (process_deletion_queue): Likewise.
5003
5004 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
5005
5006Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
5007
5008 * libc/sys/win32: Copyrights and gratuitous indenting.
5009
5010Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
5011
5012 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
5013 (process_deletion_queue): Likewise.
5014 (__close_all_files): New function.
5015 (_close): Only queue file deletion if really a file.
5016 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
5017 _P_APPEND_EXE.
5018 (_exit): Call __close_all_files.
5019
5020 * libc/stdlib/system.c: #include <errno.h>.
5021 (_system_r): Fix results in -DNO_EXEC case.
5022
5023 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
5024 Reorganize structure.
5025 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
5026 if argument is valid. Save directory name in DIR. malloc space
5027 for dirent struct separately.
5028 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
5029
5030 * libc/include/errno.h (ENAMETOOLONG): Define.
5031 * libc/string/strerror.c (strerror): Reword ENFILE.
5032 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
5033
5034Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
5035
5036 * libc/sys/win32/crt0.c (__progname): New global.
5037 (mainCRTStartup): Support strace=bitmask,filename.
5038 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
5039 * libc/sys/win32/syscalls.c (_write): Print parent trace message
5040 if error.
5041 (getcwd): Handle len too small. Convert '\\' to '/'.
5042 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
5043 Add prototypes for open, creat, fcntl.
5044 (O_APPEND): Change value to conform to Microsoft's value.
5045 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
5046
5047 * libc/stdlib/getopt.c: New file.
5048 * libc/stdlib/Makefile.in: Build it.
5049
5050Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
5051
5052 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
5053 Fix scanning of $PATH.
5054 * libc/posix/exec*.c: Call _execve, not execve.
5055 * libc/posix/execve.c: New file.
5056 * libc/posix/Makefile.in (OFILES): Add execve.o.
5057
5058 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
5059 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
5060 (_STRACE): If level==0, always print. Handle new bit mask scheme.
5061 * libc/sys/win32/crt0.c: Update _STRACE calls.
5062 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
5063
5064 * libc/sys/win32/smallprint.c (rn): Fix digit list.
5065
5066 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
5067 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
5068 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
5069 Print __seterrno trace message first.
5070 (_execve): Renamed from execve.
5071 (vfork): Update __strace usage.
5072 (__vfork_child_pid): Deleted.
5073 (__vfork_children, __vfork_child_idx): New globals.
5074 (_spawnvp): New function.
5075 (spawnvp, spawnv, _execve): Call _spawnvp.
5076 (init_child): Record child in __vfork_children.
5077 (__vfork_get_entry, __vfork_record_death): New functions.
5078 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
5079 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
5080 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
5081 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
5082 (children): New typedef.
5083 (__vfork_children,__vfork_child_idx): Declare.
5084 (__vfork_get_entry,__vfork_record_death): Declare.
5085 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
5086 (waitpid): Handle pid == -1.
5087 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
5088 * configure.in (i386-win32): Add -DNO_FORK.
5089 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
5090 * libc/reent/execr.c (_fork_r): Likewise.
5091 * libc/stdlib/system.c (do_system): New function.
5092 If WIN32, try to get shell path from $SH_PATH, use vfork.
5093 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
5094 otherwise return 0.
5095
5096Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
5097
5098 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
5099 * libc/sys/win32/fcntl.h: Don't include self.
5100 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
5101 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
5102 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
5103 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
5104 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
5105 Correct prototypes.
5106 * libc/sys/win32/strace.c: New file.
5107 * libc/sys/win32/smallprint.c: New file.
5108 * libc/sys/win32/crt0.c (func): Delete.
5109 (mainCRTStartup): Fix alloca usage. Set handles explictly.
5110 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
5111 * libc/sys/win32/exceptions.c: Lint.
5112 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
5113 Clean up handle usage.
5114 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
5115 (open.c): Default file type is text.
5116 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
5117 * libc/sys/win32/advapi32.def: New
5118
5119Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
5120
5121 * configure.in (posix_dir, libc_posix_lib): New variables.
5122 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
5123 (i[345]86-*-win32): Define posix_dir.
5124 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
5125 (if unix_dir): Fix typo.
5126 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
5127 scandir,seekdir,telldir}: New files.
5128 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
5129 from libc/unix.
5130 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
5131 (SUBDIRS): Add posix.
5132 (SUBLIBS): Add $(LIBC_POSIX_LIB).
5133
5134 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
5135 (NSIG): Increase to 21.
5136 * libc/include/sys/unistd.h (pid_t): Move from here,
5137 * libc/include/sys/types.h (pid_t): to here.
5138
5139 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
5140 (__ptrace): Delete.
5141 (hinfo): New members close_exec_p, child_created_p.
5142 (struct exception_list): Define.
5143 (__hmap): Redefine as pointer to table.
5144 (__parent_hmap, __child_hmap): New globals.
5145 (__set_errno, __really_exit): Declare.
5146 (__vfork_child_pid): Declare.
5147 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
5148 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
5149 (__parent_hmap, __child_hmap): New globals.
5150 (__hmap): Redefine as pointer to active map.
5151 (__get_console): New function.
5152 (mainCRTStartup): Change leading '=' in environ vars to '!'.
5153 (env __FD_TABLE__): Watch for this and initialize our fd/handle
5154 mapping table from it if defined.
5155 (argv, envp): Dump if __strace >= 4.
5156 (main): Call here.
5157 * libc/sys/win32/exceptions.c (myp): Redefine.
5158 (__syscalls_b): Delete.
5159 (__stack_trace): New function.
5160 (ehandler3): Update to use _STRACE. Print stack trace.
5161 Call __really_exit instead of exit.
5162 (init_exceptions): Delete args argc,argv. New arg mine.
5163 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
5164 FindFirstFileA, FindNextFileA, GetComputerNameA,
5165 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
5166 * libc/sys/win32/signal.c (signal): Validate arg.
5167 (alarm, sleep): Define as stubs for now.
5168 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
5169 (__syscalls_b, errno): Delete.
5170 (__vfork_child_pid, __vfork_jmp_buf): New globals.
5171 (__seterrno): Handle more errors.
5172 (__sys_printf): Renamed from _ptrace.
5173 (__really_exit): New function.
5174 (queue_file_deletion, process_deletion_queue): New functions.
5175 (__resume_parent): New function.
5176 (_unlink): Handle trying to delete open file.
5177 (__totime_t): Renamed from totime_t.
5178 (setsid, __read, __write): New functions.
5179 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
5180 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
5181 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
5182 * libc/sys/win32/console.c: Update to new definition of __hmap.
5183 * libc/sys/win32/Makefile.in: Build new files.
5184 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
5185 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
5186 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
5187 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
5188
5189Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
5190
5191 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
5192
5193Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5194
5195 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
5196 have been made to the master dtoa.c sources (from netlib.att.com)
5197 since they were integrated into newlib in early 1992. Fixes
5198 problems with storage leaks and handling of numbers with very
5199 negative exponents.
5200
5201Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5202
5203 * Makefile.in (all): set rootpre and srcrootpre before calling
5204 sub-makes.
5205
5206Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
5207
5208 * libc/sys/win32/crt0.c: Change __hmap usage.
5209 * libc/sys/win32/exceptions.c: Use _ptrace call.
5210 * libc/sys/win32/syscalls.c: Use _ptrace call.
5211 (read, write): Cope with DOS style CRLF when in TEXT mode.
5212 * libc/sys/win32/syscalls.h: Declare hinfo struct.
5213 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
5214 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
5215 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
5216 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
5217
5218Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5219
5220 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
5221
5222 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
5223 wrappers for hypot() and remainder() for BSD libm compatibility.
5224 These are public domain implementations written by me for the
5225 NetBSD libm some time ago. Note cabs() is required by ucbtest.
5226 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
5227 (fobj): Added wf_cabs.o and wf_drem.o.
5228
5229Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5230
5231 * libc/sys/h8500hms/misc.c: New file.
5232 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
5233
5234Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5235
5236 * libc/time/localtime.c (localtime): Fix problem with leap year
5237 handling. Stole algorithm from Arthur David Olson's tz code.
5238
5239Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
5240
5241 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
5242
5243 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
5244 (_exit): Use argument.
5245
5246Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
5247
5248 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
5249
5250Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
5251
5252 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
5253
5254Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5255
5256 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
5257 target_cflags.
5258
5259Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
5260
5261 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
5262 ptrace with case insensitivity
5263 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
5264 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
5265 New files.
5266
5267Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
5268
5269 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
5270 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
5271 (all, install, *clean): Use new multilib support.
5272 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
5273
5274Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
5275
5276 * libc/include/sys/signal.h (__WIN32__): New.
5277
5278 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
5279
5280 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
5281 (ulp, b2d): Handle 32 bit doubles.
5282 * libc/stdlib/mprec.h: Handle 32 bit doubles.
5283 * libc/stdlib/strtod.c (_strtod_r): Ditto.
5284
5285Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
5286
5287 from medp@primag.co.uk:
5288 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
5289 dynamically allocated buffers.
5290
5291Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
5292
5293 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
5294 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
5295
5296Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5297
5298 * configure.in (powerpc): Fix previous fix.
5299
5300Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5301
5302 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
5303 directories for this target.
5304
5305Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
5306
5307 * configure.in (hppa): Add machine_dir definition.
5308 * libc/machine/hppa: New directory with PA specific implementations
5309 of the basic memory/string functions.
5310
5311Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
5312
5313 * configure.in: Update current PowerPC multilib directories.
5314 Split big and little endian configurations.
5315
5316Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
5317
5318 * configure.in: Add --enable-single-float option to configure to
5319 control use of MIPS single-float directories. Default to yes.
5320
5321 * Makefile.in (all): Don't recurse into multilib directory if it
5322 does not exist.
5323
5324Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5325
5326 * libc/sys/sh/syscalls.c: Fix typo.
5327
5328Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
5329
5330 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
5331 Pass down DLLTOOL.
5332 * libc/include/process.h: Define WAIT_CHILD.
5333 * libc/include/types.h: Get sizes right for win32.
5334 * configure.in (i386-*-pe): Becomes i386-win32.
5335 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
5336 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
5337 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
5338 is defined.
5339
5340Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
5341
5342 * configure.in (i[345]86-*-pe): New target (NT).
5343 * host/any: DLLTOOL new.
5344 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
5345 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
5346 WIN32 (just enough to cross host the comp-tools).
5347
5348Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
5349
5350 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
5351 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
5352
5353Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
5354
5355 * libc/include/machine/ieeefp.h (arm): Change to always be
5356 __IEEE_BIG_ENDIAN (even on little endian ARM's).
5357
5358Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
5359
5360 * libc/sys/crt0.S: Initialze sp, and call exit after main.
5361 * libc/sys/syscalls.c (abort): New.
5362 * configure.in (arm): Define ABORT_PROVIDED.
5363
5364Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5365
5366 * configure.in (powerpc): Define multidirs.
5367
5368Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
5369
5370 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
5371
5372Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
5373
5374 * configure.in (sparclite): Delete target_cflags. Define multidirs.
5375
5376Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
5377
5378 * configure.in, libc/include/machine/ieeefp.h: Modified
5379 for arm:
5380 libc/machine/arm/*, libc/sys/arm/*: New
5381
5382Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5383
5384 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
5385 __powerpc__ when determining endianness.
5386
5387Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5388
5389 * configure.in (m68*): Add multidir for the m68332.
5390
5391 * host/any (CC): Fix typo in last change.
5392
5393Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
5394
5395 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
5396 when determining endianness.
5397 * libc/include/machine/ieeefp.h: Ditto.
5398 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
5399 operands.
5400
5401Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
5402
5403 * libc/include/errno.h (ENOTEMPTY): Define.
5404
5405Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5406
5407 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
5408 target_cflags.
5409
5410 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
5411 and umultiply.o.
5412
5413 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
5414 instead of only when open succeeds. ANSI requires that multiple
5415 calls to tmpnam() result in different files.
5416
5417 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
5418 objects pulled in from /lib/libc.a that must be renamed before
5419 being pulled into newlib. /lib/libc.a's div.o conflicted with
5420 newlib's file with the same name.
5421
5422 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
5423
5424 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
5425 the build tree will only be used if the executables are present
5426 (instead of just the Makefiles).
5427
5428 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
5429 wcstombs): Define.
5430 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
5431 versions of these functions that I orignally wrote for the
5432 NetBSD C library.
5433 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
5434 versions I wrote for NetBSD.
5435
5436Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
5437
5438 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
5439 * libc/sys/sparclite/crt0.s: ditto.
5440
5441Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
5442
5443 * configure.in: Add soft-float for proelf.
5444
5445Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
5446
5447 * libc/stdlib/mprec.h (Bcopy): Copy the right number
5448 of bytes.
5449
5450Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
5451
5452 * Makefile.in (all): Depend on `force'.
5453 * configure.in (syscall_dir): Renamed from fake_sys_dir.
5454 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
5455 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
5456 * libc/Makefile.in: Likewise.
5457 * libc/include/reent.h: Update syscall references.
5458 (_fcntl_r): Add prototype.
5459 * libc/syscalls/*.c #include <reent.h>.
5460 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
5461
5462Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
5463
5464 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
5465 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
5466 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
5467 (time.h, sys/types.h): Always include (even if MSDOS).
5468 (stat): Fix prototype.
5469
5470Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
5471
5472 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
5473
5474Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
5475
5476 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
5477
5478Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
5479
5480 * libc/include/regdef.h: New file.
5481 * libc/machine/mips/machine/regdef.h: New file.
5482
5483Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
5484
5485 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
5486
5487Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
5488
5489 * libc/sys/sh/crt0.S: Pass main's return to exit.
5490 * libc/sys/sh/trap.S: Put errno in the right place.
5491
5492Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5493
5494 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
5495 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
5496 * libm/math/ef_rem_pio2.c: Likewise.
5497 * libm/math/e_log10.c: Remove unused static one.
5498 * libm/math/ef_log10.c: Likewise.
5499 * libm/math/s_frexp.c: Likewise.
5500 * libm/math/sf_frexp.c: Likewise.
5501
5502Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
5503
5504 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
5505 longjmp.S: Upgraded.
5506 * libc/sys/go32/sys/setjmp.h: Upgraded.
5507 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
5508
5509Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5510
5511 * configure.in: Add many entries to multidirs for mips targets.
5512
5513Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
5514
5515 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
5516 5.2 which fixes bug where jn(-1,x) is three times larger than
5517 the actual answer.
5518 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
5519
5520Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
5521
5522 * libc/sys/w65/sys/syscalls.h: New file
5523 * libc/include/machine/ieeefp.h: W65 support.
5524 * libc/include/sys/config.h: Ditto.
5525 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
5526 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
5527 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
5528
5529Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
5530
5531 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
5532
5533Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
5534
5535 * Makefile.in, configure.in: Remove any references to the old
5536 "stub" dir.
5537
5538Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5539
5540 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
5541 uses ... in prototype.
5542
5543
5544Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
5545
5546 * libc/sys/a29khif/sys/libconfig.h: Remove.
5547 * libc/sys/go32/sys/libconfig.h: Remove.
5548 * libc/sys/sun4/sys/libconfig.h: Remove.
5549 * libc/sys/sysvi386/sys/libconfig.h: Remove.
5550 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
5551 * libc/sys/sparc64/sys/libconfig.h: Remove.
5552
5553 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
5554 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
5555 * libc/include/math.h: Change all uses of _FLOAT_RET and
5556 _FLOAT_ARG to float.
5557 * libm/test/math.c: Likewise.
5558 * testsuite/libm.sac/math.c: Likewise.
5559 * testsuite/libm.sac/working/math.c: Likewise.
5560
5561Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5562
5563 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
5564 gcc calls gas with endian option.
5565 * configure.in (sh): Build little endian version too.
5566
5567Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5568
5569 * configure.in: Configure big and little endian versions for MIPS
5570 targets.
5571
5572Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
5573
5574 * libc/include/limits.h: Deleted.
5575 * libc/include/machine/limits.h: Deleted.
5576
5577Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
5578
5579 * ChangeLog: Remove stub directory. This has all been rewritten
5580 and moved to devo/libgloss.
5581
5582Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
5583
5584 * Makefile.in (dvi): Add to info target, use $@ in sub make.
5585 (docs): Merge into info target.
5586 * libm/Makefile.in (dvi): Add $(srcdir).
5587 * libm/math/Makefile.in (chobjs): Remove underscores from file
5588 names. Texinfo doesn't like them.
5589 (wacos.def, ...): Add explicit targets for all .def files.
5590 * libm/math/math.tex: Remove underscores from @include file names.
5591 * doc/Makefile.in (dvi): Add dummy target.
5592 * testsuite/Makefile.in (dvi): Add dummy target.
5593
5594Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
5595
5596 * Makefile.in (VERSION): Define. For net newlib releases.
5597
5598Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
5599
5600 * README: New file.
5601
5602Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5603
5604 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
5605
5606Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5607
5608 * libc/stdlib/setenv.c (_findenv): Declare.
5609
5610 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
5611 fcntl to not use _EXFUN, and change string parameters to open and
5612 creat to be ``const char *''.
5613 * libc/sys/sparc64/sys/fcntl.h: Likewise.
5614 * libc/sys/sparc64/creat.c (creat): Make PATH const.
5615 * libc/syscalls/sysopen.c: Include <fcntl.h>.
5616 (open) Make _FILE const.
5617 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
5618 (_creat): Make PATH const.
5619 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
5620 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
5621 * libc/sys/m88kbug/syscalls.c (open): Likewise.
5622 * libc/sys/sh/syscalls.c (_open): Likewise.
5623 * stub/shared/glue.c (open): Make BUF const.
5624 * stub/ex93x/syscalls.c (open): Make FILENAME const.
5625
5626Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
5627
5628 * libc/include/errno.h: Add ENMFILE
5629 * libc/include/sys/config.h: Support Z8000.
5630 * libc/include/sys/signal.h: New signals for go32.
5631 * libc/machine/h8500/psi.S (__addpsir0r0): New function
5632 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
5633 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
5634 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
5635 size is variable, depending upon CHUNK_POWER.
5636 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
5637
5638Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
5639
5640 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
5641
5642Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5643
5644 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
5645
5646Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5647
5648 * configure.in: Change i[34]86 to i[345]86.
5649
5650 * libc/include/math.h: Don't define HUGE_VAL if it is already
5651 defined.
5652
5653Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5654
5655 * testsuite/libm.sac/test_erfc.c: Correct some result values.
5656 * testsuite/libm.sac/test_gammaf.c: Likewise.
5657 * testsuite/libm.sac/test_sin.c: Likewise.
5658 * testsuite/libm.sac/test_tanh.c: Likewise.
5659
5660Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5661
5662 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
5663 already set. Define typedefs __int32_t and __uint32_t.
5664 * libc/include/math.h: Include <machine/ieeefp.h>.
5665 (union __dmath): Use __uint32_t.
5666 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
5667 instead of int and unsigned int.
5668
5669Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5670
5671 Replace the math library with the SunPRO fdlibm package.
5672 * libm/math: Completely changed all files.
5673 * libm/ieeefp: Remove contents and directory.
5674 * libm/Makefile.in (LIBM_FP_LIB): Remove.
5675 (SUBDIRS): Just set to math/lib.a.
5676 * libm/libm.texinfo: Updated for new library.
5677 * libc/include/math.h: Extensive changes for new math library.
5678 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
5679 from _FLOAT_ARG to float.
5680 (maxpowtwo, maxpowtwof): Don't declare.
5681 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
5682 (libm_fp_lib): Removed.
5683 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
5684 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
5685 argument to ${RUNTEST}.
5686 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
5687 (.c.o): New rule.
5688 (RUNTESTFLAGS): Set CC and CFLAGS.
5689 (TESTS): Remove test_log2 and test_log2f.
5690 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
5691 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
5692 _FLOAT_ARG, for single precision argument type.
5693 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
5694 expected failure. Close the input pipe.
5695 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
5696 Correct misspelling of inaccurate.
5697 (test_mok): Use ``inaccurate'', not ``wrong''.
5698 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
5699 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
5700 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
5701 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
5702 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
5703 test_yn.c): Correct many result values. Many are still wrong.
5704
5705 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
5706 just copy the string.
5707 (_gcvt): Always return the buffer.
5708
5709Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5710
5711 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
5712
5713Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
5714
5715 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
5716 structure.
5717 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
5718 (_reclaim_reent): declare new entry point.
5719 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
5720 functions.
5721
5722 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
5723 ever allocated, so that we can later reclaim them all.
5724 (pow5mult): make reentrant.
5725
5726 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
5727 so that when given NULL as a buffer, return a pointer to static
5728 space in the rent structure. This is not documented behaviour;
5729 it's only to support ecvt and fcvt, which aren't ANSI anyway.
5730 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
5731 therefore become reentrant).
5732
5733 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
5734
5735Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5736
5737 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
5738
5739Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
5740
5741 * Makefile.in: Make link to libg.a after libc.a; this is needed
5742 for the testsuites to build executables when everything comes
5743 from the tree.
5744
5745Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
5746
5747 * libc/Makefile.in: Add a VERSION variable so we can keep track.
5748 * libm/Makefile.in: Add a VERSION variable so we can keep track.
5749
5750Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
5751
5752 * libc/include/stdio.h: Use __VALIST, not va_list.
5753
5754Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
5755
5756 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
5757 testsuite/libm.sac/execute.exp:
5758 Replace error proc calls with perror calls.
5759
5760Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
5761
5762 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
5763 * libc/include/time.h: #define NULL as 0L.
5764
5765Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
5766
5767 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
5768 care of it.
5769
5770Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5771
5772 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
5773 not __unix__.
5774
5775Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
5776
5777 * configure.in (TARGET_CFLAGS): Set -O2 as default.
5778 (z8k-*-*): Use syscalls fake sys dir.
5779 * libc/sys/z8k/glue.c: Rename syscalls.
5780 * libc/sys/go32/Makefile.in: Use new routines.
5781 * libc/machine/Makefile.in: Fix typo in ln stuff.
5782
5783Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5784
5785 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
5786 * libc/Makefile.in (crt0.o): Likewise.
5787 * libc/machine/Makefile.in (lib.a): Likewise.
5788 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
5789
5790 All Makefile.in files: Added mostlyclean, realclean and distclean
5791 targets.
5792
5793 * Makefile.in: Don't bother to unexport XTRAFLAGS or
5794 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
5795 the top level Makefile.
5796
5797Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
5798
5799 * libc/sys/sparc64/sys/stat.h: New file.
5800 * libc/sys/sparc64/sys/time.h: New file.
5801 * libc/sys/sparc64/sys/types.h: New file.
5802
5803Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
5804
5805 * stub/ex93x/crt0.s (start): Add code to clear bss.
5806
5807Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
5808
5809 * libc/include/sys/types.h (time_t): Properly protect inside
5810 #ifndef __time_t_defined.
5811
5812 * libc/stdio/fileno.c: New file.
5813 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
5814 (fileno.o): Add dependency.
5815 * libc/include/stdio.h (__sgetc): Rename never to _never.
5816 (fileno macro): Disable, needs to do CHECK_INIT first.
5817
5818Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
5819
5820 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
5821 goal.
5822
5823 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
5824 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
5825 runtest.
5826 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
5827 runtest.
5828
5829Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
5830
5831 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
5832 of the various constants.
5833
5834Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
5835
5836 * libc/include/math.h: #ifndef __math_68881 around things which
5837 conflict with the (gcc-provided) inline functions in
5838 gcc/ginclude/math-68881.h.
5839
5840Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
5841
5842 * libc/include/_syslist.h (_gettimeofday): Define.
5843 (_times): Ditto.
5844 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
5845 (struct tms, timeval, timezone): Declare.
5846 (_gettimeofday_r, _times_r): Declare.
5847 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
5848 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5849 (time_t): Add multiple definition protection, __time_t_defined.
5850 * libc/include/sys/time.h: Don't #include <time.h>.
5851 Always define struct timezone (remove #ifndef _TIME_H_).
5852 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
5853 #ifdef _CLOCK_T_ surrounding definition of clock_t.
5854 * libc/reent/Makefile.in (OFILES): Add timer.o.
5855 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
5856 * libc/reent/timer.c: New file.
5857 * libc/time/clock.c: #include <reent.h>.
5858 (clock): Call _times_r instead of times.
5859 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
5860 HAVE_GET_TIME_OF_DAY.
5861 Add comment regarding supporting OS routine(s) required (for docs).
5862 #include <reent.h>.
5863 (time): Call _gettimeofday_r instead of gettimeofday.
5864 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
5865 * libc/time/ctime.c: Ditto.
5866 * libc/time/strftime.c: Ditto.
5867 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
5868 (TEMPLATE_SFILES_R): Define here. Also define times.
5869 Add times_r.o/times.S dependence.
5870 (time2.c, junk.c): Deleted.
5871 * libc/sys/sparc64/time2.c: Deleted.
5872 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
5873
5874 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
5875 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
5876 * libc/sys/sparc64/junk.c: Deleted.
5877
5878Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
5879
5880 * libc/sys/sparc64/Makefile.in: Add times syscall.
5881 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
5882 be used with and without it. Add comment clarifying Medium/Anywhere
5883 model requirements.
5884 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
5885 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
5886 even if obsolete.
5887
5888Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
5889
5890 * configure.in (target_cflags): Move init.
5891 (sparc64-*-*): Define HAVE_BLKSIZE.
5892
5893Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
5894
5895 * libc/include/sys/_types.h: New file.
5896 * libc/include/reent.h: #include it.
5897 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
5898 MISSING_SYSCALL_NAMES.
5899 Sort syscalls.
5900 * libc/include/_syslist.h: Remove _raise.
5901 * libc/reent/signalr.c: New file.
5902 * libc/reent/Makefile.in: Compile it.
5903 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
5904 Add doc for raise and _raise_r.
5905 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
5906 (raise): Call _raise_r.
5907 (_raise_r): Call _getpid_r and _kill_r.
5908 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
5909 (abort): Loop forever calling raise and _exit.
5910
5911Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5912
5913 * configure.in: Remove extraneous echo.
5914
5915Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
5916
5917 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
5918 collision with unistd.h, and fix for svr4.
5919
5920Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
5921
5922 * libc/stdio/local.h (_llicvt): Declare.
5923 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
5924 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
5925 (_llicvt): Define.
5926 (_sicvt): Fix function header (`value' is short).
5927 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
5928 Add printing of long long's support.
5929 Add printing of 8 byte pointer support.
5930
5931Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
5932
5933 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
5934 stat, chmod): New hooks.
5935 (sbrk): Abort if stack and heap collide.
5936 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
5937 shortcut when given small args.
5938 * libc/machine/sh/setjmp.s: Rewritten.
5939 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
5940 of cmp/str instruction.
5941
5942Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
5943
5944 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
5945 and machine_dir powerpc.
5946 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
5947 Add cases for __powerpc__.
5948 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
5949 New files.
5950
5951 * libc/include/stdio.h (_iprintf_r): Declare correctly.
5952
5953Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
5954
5955 * libc/stdlib/callocr.c: New file with _calloc_r in it.
5956 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
5957
5958Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
5959
5960 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
5961 (print_e): More comments to describe args, etc.
5962 "type" arg may now be 'g' or 'G' for %g/G format --> remove
5963 trailing blanks.
5964 (_gcvt): Remove locals decpt, sign, end, p, done.
5965 More comments for print_e invocation.
5966 Pass "type" to print_e as is (g/G).
5967
5968Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
5969
5970 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
5971 stock m68000.
5972
5973Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
5974
5975 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
5976 works with any sized pointer, including ones bigger than ints and
5977 longs.
5978
5979Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
5980
5981 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
5982
5983Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
5984
5985 * libc/include/stdlib.h (_calloc_r): Add prototype.
5986 * libc/machine/h8500/negsi2.c: New file.
5987 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
5988 large unsigned numbers.
5989 * libc/machine/h8500/cmpsi.c: Add cmppsi.
5990 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
5991 works when sizeof(size_t) != sizeof(char *).
5992 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
5993 get play area
5994 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
5995
5996Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
5997
5998 * libc/include/assert.h (assert): Handle -traditional.
5999
6000Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
6001
6002 * Makefile.in: added ; after every "fi" and "done" that wasn't at
6003 the end of a line (ie. anything before a backslash continuation)
6004 so that bash handles them.
6005
6006Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6007
6008 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
6009 stat to lstat
6010
6011Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
6012
6013 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
6014 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
6015 libc/machine/sh/udivsi3.s: Use new calling convention.
6016
6017Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
6018
6019 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
6020 chmod, access, chdir, chown by making _path const. Also fix _amode
6021 param of access.
6022
6023Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
6024
6025 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
6026 _khif_tmpnam, because it doesn't comply with ANSI but may be
6027 useful anyway. Real tmpnam was already in libc/stdio, and was
6028 colliding with this one (pr 2176.)
6029 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
6030 the wrong idea anyhow.
6031
6032Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
6033
6034 * configure.in: Remove h8300h, we have multilib now.
6035
6036Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
6037
6038 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
6039 functions, to get preference over the ones in libiberty (since we
6040 provide correct declarations in <string.h>.
6041 * libc/string/Makefile.in: add support for strncasecmp,
6042 strcasecmp.
6043
6044Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
6045
6046 * Change netware config not to look for cpu explicitly.
6047
6048Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
6049
6050 * libc/sys/sparc64/{creat.c,junk.c}: New files.
6051 * libc/sys/sparc64/Makefile.in: Add dependencies.
6052
6053Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
6054
6055 * configure.in: Clean up v9 a bit, new "os" aoutv8.
6056
6057Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
6058
6059 * libc/include/sys/reent.h: make structure smaller by allocating
6060 some stuff when needed.
6061 * libc/signal/signal.c: allocate as needed
6062 * libc/stdio/findfp.c,stdio/local.h: ditto
6063 * libc/stdlib/mprec.c: ditto
6064
6065 * libc/time/localtime.c: don't return a dangling stack ptr.
6066
6067Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
6068
6069 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
6070
6071Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6072
6073 * libc/include/stdio.h (__sputc): comment out static inline which
6074 confuses coff toolchains.
6075
6076Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
6077
6078 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
6079 _write.s, getpid.c, kill.c, read.s}:
6080 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
6081 through the syscalls directory.
6082
6083Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
6084
6085 * configure.in: fixed double quote gotcha.
6086
6087Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
6088
6089 * stub/ex931: stub library for sparclite board.
6090 * stub/idp: Renamed from mc68ec. Added contructor table
6091 stuff to linker script.
6092 * stub/mvme135: Renamed from m68kmvme. Added contructor table
6093 stuff to linker script.
6094
6095Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6096
6097 * configure.in: Configure testsuites only if they exist.
6098
6099Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6100
6101 * configure.in: Don't set machine_dir for i386 until there is
6102 something in libc/machine/i386 to compile. For i[34]86-*-netware*
6103 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
6104 CLOCK_PROVIDED and MALLOC_PROVIDED.
6105
6106 * libc/sys/netware: New directory. Contains simplistic and
6107 probably incorrect stubs for NetWare. Should be enough to load
6108 the library.
6109 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
6110 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
6111 stub files.
6112
6113 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
6114 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
6115 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
6116 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
6117
6118Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
6119
6120 * testsuite/Makefile.in: add "docs" dummy target for consistency
6121 with rest of newlib; turn "info" and "install-info" into dummy
6122 targets, since they wouldn't have worked. (Depended on
6123 nonexistent "doc" subdir.)
6124
6125Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
6126
6127 * configure.in: handle mips* instead of mips
6128
6129Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
6130
6131 * libc/include/sys/dirent.h: New file. If it is not overridden by
6132 a version of libc/sys/*/sys/dirent.h, it includes the next
6133 <dirent.h> file in case there is one lurking somewhere.
6134
6135Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6136
6137 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
6138 compliance, namely: Accept a minus sign. Consider a single 0 with
6139 a radix of 0 as being a conversion. Determine overflow correctly.
6140 If an overflow occurs, set *ptr to the end of the number, not the
6141 middle.
6142 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
6143
6144Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
6145
6146 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
6147
6148Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
6149
6150 * Makefile.in (INSTALL): Use $srcrootpre.
6151 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
6152 can't handle it.
6153 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
6154 it.
6155 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
6156 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
6157 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
6158 * libm/math/Makefile.in (matherr.o): Ditto.
6159
6160Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6161
6162 * configure.in: Build multidirs for z8k.
6163 * libc/include/stdlib.h (_strtoul_r): add prototype.
6164 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
6165 * libc/include/machine/setjmp.h: Add for z8k.
6166 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
6167 * libc/sys/z8ksim/glue.c: tidy up.
6168
6169Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
6170
6171 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
6172 New files. Requires execve system call.
6173 * libc/unix/Makefile.in: Use them.
6174 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
6175 Deleted, moved to libc/unix.
6176 * libc/sys/sparc64/Makefile.in: Remove them.
6177
6178Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
6179
6180 * libc/sys/sparc64/{template.S template_r.S}: New files.
6181 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
6182 from templates.
6183 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
6184 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
6185 umask.S unlink.S wait4.S write.S}: Removed, now built from
6186 templates.
6187
6188Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
6189
6190 * libc/time/time.c: #include <_ansi.h>.
6191
6192Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
6193
6194 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
6195
6196Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6197
6198 * configure.in: match m8* rather than m88k so that m88110 is
6199 recognized as well.
6200
6201Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
6202
6203 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
6204 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
6205 misc.c: New file.
6206
6207 * configure.in: Add multilib support to h8300.
6208
6209Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
6210
6211 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
6212 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
6213 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
6214
6215Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6216
6217 * configure.in: Corrected multidirs for sparc target.
6218
6219Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
6220
6221 Support for building newlib multiple times with different
6222 compilation flags.
6223 * configure.in: Only configure doc at top level. Set multidirs
6224 when appropriate for target, unless not at top level. If
6225 multidirs is set, independently configure each subdirectory.
6226 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
6227 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
6228 automagically set by configure.in.
6229 (all): If MULTIDIRS is set, build multiple copies of libraries.
6230 (install): If MULTIDIRS is set, install multiple copies of
6231 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
6232 MULTISUBDIR is set, don't bother to install header files.
6233 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
6234 ${srcrootpre}.
6235 * stub/configure.in: Set MULTISUBDIR appropriately.
6236 * stub/Makefile.in (install): Install in
6237 $(tooldir)/lib/$(MULTISUBDIR).
6238 * All Makefile.in files: Define SRCTOP as well as TOP.
6239
6240Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
6241
6242 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
6243 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
6244
6245Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
6246
6247 * libc/sys/h8300hms/exit.c (_exit): New function.
6248
6249Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6250
6251 * configure.in: recognize m88110.
6252
6253Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6254
6255 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
6256 prototype main and call with args.
6257
6258Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
6259
6260 First real try at system traps for m88k-bug.
6261 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
6262 to real trap calls.
6263 * libc/sys/m88kbug/sys/systraps.h: new file.
6264
6265Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6266
6267 Patches to fix info building when target does not use sys
6268 directory.
6269 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
6270 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
6271 libc/sys.tex.
6272 * libc/sys/Makefile.in (doc): do nothing.
6273
6274Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6275
6276 * libc/Makefile.in (CRT0): new macro.
6277 (all): depend on $(CRT0) rather than crt0.o.
6278
6279 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
6280 do not default crt0, instead, set crt0 and crt0_dir based on
6281 sys_dir and stub_dir.
6282
6283 * Makefile.in (CRT0_DIR): new macro.
6284 (all): depend on $(CRT0) rather than crt0.o which may not exist.
6285 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
6286 $(CRT0).
6287 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
6288
6289Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6290
6291 * testsuite/lib/libm.exp:
6292 added code to support compiling and linking of tests for
6293 libm.sac (paranoia to be added next) and processing the
6294 pass or failure of the tests.
6295
6296 * testsuite/config/unix-libm.exp:
6297 platform specific proc's for dealing with compiler, linker
6298 and the way we execute and process the test results.
6299
6300 * testsuite/libm.sac/execute.exp:
6301 generic framework for the sac tests. the config and lib
6302 expect code for specific platforms tie it all together.
6303
6304 * testsuite/libm.sac/test_is.c:
6305 changed the output of the test to be consistant with the
6306 other tests. parsing of pass nad fail messages is now fixed.
6307
6308Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
6309
6310 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
6311 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
6312 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
6313 #ifdef __cplusplus, surround by extern ""C { ... }.
6314 * libc/include/assert.h: Do *not* protect assert.h against
6315 multiple inclusion! Also, #undef it before #define, to allow
6316 redefinition.
6317 * libc/include/stdio.h (getlogin, cuserid): Removed. These
6318 should be only in unistd.h.
6319
6320 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
6321 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
6322 ... }.
6323
6324Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
6325
6326 * libc/machine/sparc/Makefile.in: Must create a library, even
6327 if empty.
6328
6329Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6330
6331 * configure.in: set machine_dir for m88k. edit crt0 definition
6332 into makefiles.
6333
6334 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
6335
6336 * libc/Makefile.in (all): also build crt0.o.
6337
6338 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
6339 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
6340 to remove CRT0.
6341
6342 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
6343 (all): reworked to build in place.
6344 (clean): remove lib.a
6345 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
6346
6347 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
6348 (_start): key off edata rather than _start_bss.
6349
6350Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
6351
6352 * libc/include/sys/unistd.h, libc/include/reent.h,
6353 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
6354
6355Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6356
6357 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
6358
6359 * Makefile.in (libc.a): break into two rules, one for libc.a and
6360 one for libc/libc.a. Force subdirs current before rebuilding
6361 library.
6362 (libm.a): break into two rules, one for libm.a and one for
6363 libm/libm.a. Force subdirs current before rebuilding library.
6364
6365 * libc/Makefile.in (SUBLIBS): fix typo.
6366
6367 * libc/sys/Makefile.in (all): force descent into subdirs, then
6368 rebuild library iff out of of date.
6369
6370Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
6371
6372 Rework so that library is built and then finished rather than
6373 being built on each invocation of make.
6374
6375 * host/any (machine_dir, sys_dir, signal_dir): these are not
6376 shared and have been moved to their associated Makefile.in's.
6377 (AR_FLAGS): switch to qc which is faster.
6378 * configure.in: no longer assign machine_dir for m88k. set
6379 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
6380 stub_dir set, then add to configdirs. add comment about silly
6381 configuration.
6382 (configdirs): drop stub. It will be added only
6383 when needed.
6384 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
6385 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
6386 stub_lib, crt0): new variables for tailoring lower level
6387 makefiles. Assign accordingly and edit into makefiles.
6388 * libm/Makefile.in: updated copyright.
6389 (TARGETLIB): removed.
6390 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
6391 (SUBDIRS): removed TARGETDEP_DIRS.
6392 (LIBM_FP_LIB, SUBLIBS): new macros.
6393 (all): reworked.
6394 (force): new target to force rebuilds.
6395 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6396 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
6397 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
6398 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
6399 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
6400 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
6401 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
6402 stub/m68kmvme/Makefile.in: updated copyright.
6403 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
6404 (all): reworked. made this the default rule.
6405 (clean): also remove lib.a.
6406 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6407 * stub/Makefile.in: updated copyright.
6408 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
6409 (stub_lib): new macro.
6410 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
6411 RANLIB.
6412 (all): reworked.
6413 (clean, install): assume stub_dir exists.
6414 (Makefile): depend on configure.in. call $(SHELL) rather than
6415 sh. drop redundant ./
6416 * stub/configure.in (stublib): new macro, assign it, edit it into
6417 makefiles.
6418 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
6419 updated copyright.
6420 (all): reworked.
6421 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6422 * libc/Makefile.in (TARGETCRT0): removed.
6423 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
6424 TARGETCRT0.
6425 (SUBDIRS): drop TARGETDEP_DIRS.
6426 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
6427 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
6428 (force): new target to force rebuilds.
6429 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
6430 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
6431 removed.
6432 (clean): assume sys_dir always exists.
6433 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
6434 drop redundant ./
6435 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
6436 libc/locale/Makefile.in, libc/machine/Makefile.in,
6437 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
6438 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
6439 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
6440 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
6441 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
6442 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
6443 libc/signal/Makefile.in, libc/stdio/Makefile.in,
6444 libc/stdlib/Makefile.in, libc/string/Makefile.in,
6445 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
6446 libc/time/Makefile.in, libc/unix/Makefile.in,
6447 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
6448 (TARGETLIB): removed.
6449 (all): reworked.
6450 (clean): also remove lib.a.
6451 (Makefile): call $(SHELL) rather than sh. drop redundant ./
6452 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
6453 new macros.
6454 (SUBDIRS): moved to follow frag inclusion, change stub to
6455 stub_dir.
6456 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
6457 are now set in the libc Makefile.
6458 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
6459 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
6460 TARGETCRT0.
6461 (force): new target to force rebuilds.
6462 * stub/configure.in: determine and set stub_lib for for Makefile.
6463
6464Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
6465
6466 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
6467 crt0.s renamed to crt0.S.
6468 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
6469
6470 * libc/machine/h8300/Makefile.in: Make `all' the default target.
6471 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
6472 h8300h.
6473 * libc/machine/h8300/defines.h: Add macros to handle pointers for
6474 h8300 (16 bits) and h8300h (32 bits).
6475 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
6476 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
6477
6478Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
6479
6480 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
6481 implementation of setjmp and longjmp for the m88k.
6482 * libc/include/machine/setjmp.h: Added __m88000__ case.
6483
6484Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
6485
6486 * configure.in: Recognize h8300h as variant of h8300.
6487
6488Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6489
6490 * libc/include/sys/unistd.h (read, write): get prototypes right.
6491 (sbrk): New prototype.
6492 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
6493 * libc/stdio/local.h: Include unistd.h.
6494 * libc/machine/h8300/syscalls.c: Names have changed.
6495
6496Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
6497
6498 * configure.in: add sys_dir assignment for m88k-bug.
6499
6500Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
6501
6502 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
6503 a.out or elf.
6504 * libc/sys/sparc64: all *.S files: Use new macros.
6505 * libc/sys/sparc64/isatty.c: New file.
6506 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
6507 functions beyond what newlib provides.
6508
6509Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
6510
6511 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
6512 svr4.
6513
6514Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
6515
6516 * libc/include/machine/ieeefp.h: Add support for h8/300h.
6517
6518Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
6519
6520 * configure.in: add m88k.
6521 * libc/include/machine/ieeefp.h: add case for m88k. Also add
6522 sanity check so no one else need ever chase what I did to find
6523 this.
6524
6525 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
6526
6527Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
6528
6529 * doc/makedoc.c: Include <ctype.h>.
6530
6531Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
6532
6533 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6534 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6535 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
6536
6537 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
6538
6539Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
6540
6541 * libc/include/errno.h (ENOSYS): Added.
6542
6543 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
6544
6545Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
6546
6547 * libc/stdio/fflush.c (fflush): Check for reent struct
6548 initialization.
6549 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
6550
6551Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
6552
6553 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
6554 out of dtoa.c so it doesn't pollute the namespace.
6555 * libc/include/_syslist.h: new file -- mappings from _function to
6556 function, for systems where we can't win (by default, all of them,
6557 until we start updating system calls.)
6558 * libc/syscalls: new directory -- stubs for exporting _function
6559 names as unmodified function names.
6560 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
6561 _syslist.h on all platforms by default, but put hooks in for
6562 fake_sys_dir so we can include it when we've renamed the system
6563 calls.
6564 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
6565 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
6566 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
6567 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
6568 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
6569 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
6570 non ANSI functions to call _function.
6571
6572Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
6573
6574 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
6575 when base 16 is specified. Don't accept non-digits if radix > 10.
6576
6577Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
6578
6579 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
6580
6581Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
6582
6583 * libc/include/sys/stat.h: Surround text after #endif with
6584 comments.
6585
6586Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
6587
6588 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
6589 _malloc_r, _realloc_r, and free_r call the corresponding
6590 non-reentrant functions.
6591
6592 * libm/math/modf.c (modf): We now take the address of ipart, so
6593 don't make it a register variable.
6594
6595Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
6596
6597 * libm/math/*: Rename all xxx_r fns to _xxx_r.
6598
6599Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
6600
6601 * libc/libc.texinfo and embedded docn throughout: formatting
6602 improvements, minor rephrasing for clarity, and improved
6603 reentrancy docn.
6604
6605Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6606
6607 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
6608
6609 * libc/stdio/cvt.c (_licvt): Print the right value on machines
6610 where sizeof(int) != sizeof(long).
6611
6612Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
6613
6614 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
6615 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
6616 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
6617 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
6618 libm/math/matherr.c: changes for better docn formatting (info).
6619
6620 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
6621 libc/reent/reent.tex, libc/signal/signal.tex,
6622 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
6623 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
6624 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
6625 makeinfo node defaulting to get better Info file node structure.
6626 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
6627 Also include a few formerly missing sections (subroutines).
6628
6629 * doc/doc.str: delete fossil expansion for "func"
6630
6631 * default.menu, no-signal.menu: delete.
6632
6633 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
6634 method used to adjust doc for missing "signals" chapter when
6635 signal_dir is empty.
6636
6637Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6638
6639 * configure.in: added testsuite/libm.sac
6640
6641Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
6642
6643 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
6644 code model).
6645
6646Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
6647
6648 * libm/Makefile.in: Use $(MAKE) rather than make, and define
6649 MAKEOVERRIDES to be empty.
6650
6651Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
6652
6653 * configure.in: Don't build mips-*-* with -msoft-float, since that
6654 makes it incompatible with hard floating point.
6655
6656Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6657
6658 * Makefile.in: added recursive 'make check'
6659
6660Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
6661
6662 * configure.in: added ./testsuite ./testsuite/libm.paranoia
6663 * ./testsuite/Makefile.in: created
6664 * ./testsuite/libm.paranoia: paranoia tests added
6665
6666Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
6667
6668 * configure.in: For mips-*-* set machine_dir to mips.
6669
6670 * libc/machine/mips: New directory.
6671 * libc/machine/mips/Makefile.in: New file.
6672 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
6673 setjmp and longjmp.
6674 * libc/include/machine/setjmp.h: Added __mips__ case.
6675
6676 * libc/machine/lmips: Removed unused and useless directory.
6677
6678Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
6679
6680 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
6681
6682Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
6683
6684 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
6685 start up).
6686
6687Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
6688
6689 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
6690 SETJMP_H.
6691
6692Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
6693
6694 * libm/test/convert.c: structure member errno -> errno_val.
6695 Must include <errno.h> to use errno, it's a macro now.
6696 * libm/test/math.c: Ditto.
6697 * libm/test/math2.c: Include errno.h.
6698 * libm/test/string.c: Ditto.
6699 * libm/test/test.h: structure member errno -> errno_val.
6700 Remove extern int errno decl.
6701
6702Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
6703
6704 * libc/stdio/Makefile.in: Added dependencies on local header
6705 files.
6706 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
6707 files.
6708
6709Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
6710
6711 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
6712
6713Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
6714
6715 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
6716 Initialize _data.
6717
6718 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
6719 * libc/stdio/local.h: Add prototype for _licvt.
6720
6721 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
6722 instead of malloc,reealloc.
6723
6724 * libc/stdlib/local.h: New file.
6725 * libc/stdlib/efgcvt.c: #include local.h.
6726 (gcvt): Fix call to _gcvt.
6727 * libc/stdlib/ecvtbuf.c: #include local.h.
6728
6729 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
6730 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
6731 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
6732
6733 * libc/stdlib/atexit.c: moved global data to struct _reent.
6734 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
6735
6736 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
6737
6738Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
6739
6740 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
6741 here from ../reent.h.
6742
6743Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
6744
6745 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
6746 should be provided in both libc.a and libm.a.
6747 (libc.a): Depend on targ-include and libm.a. Copy
6748 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
6749 (libm.a): Depend on targ-include.
6750 * configure.in (subdirs): Removed libc/math.
6751
6752Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
6753
6754 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
6755
6756Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
6757
6758 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
6759 sys/reent.h instead of reent.h.
6760 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
6761 headers moved to sys/reent.h.
6762 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
6763 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
6764 __need__MAX_SIGNALS defined.
6765 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
6766 std{in,out,err} refer to new _std{in,out,err} members.
6767
6768Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
6769
6770 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
6771 case.
6772
6773Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
6774
6775 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
6776 rather than whatever macro seterrno() has.
6777
6778Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
6779
6780 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
6781 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6782
6783 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
6784 __STDC__.
6785
6786 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
6787 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
6788 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6789
6790 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
6791 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
6792
6793 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
6794 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
6795 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
6796 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
6797 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
6798 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
6799 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
6800 renamed to _xxx_r. struct reent_struct renamed to struct _reent
6801 for ANSI. structure members given leading "_" for ANSI. Use
6802 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6803
6804 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
6805 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
6806 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
6807 reent_struct renamed to struct _reent for ANSI.
6808 Structure members given leading "_" for ANSI.
6809 _CONST --> const in prototypes.
6810 Use _HAVE_STDC instead of __STDC__.
6811
6812 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
6813 _xxx_r.
6814 struct reent_struct renamed to struct _reent for ANSI.
6815 Structure members given leading "_" for ANSI.
6816
6817 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
6818 _xxx_r.
6819 struct reent_struct renamed to struct _reent for ANSI.
6820
6821 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
6822 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
6823 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
6824 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
6825 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
6826
6827 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
6828 signal.h, stdio.h, stdlib.h, string.h, time.h}:
6829 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
6830 #ifndef _STRICT_ANSI non-ANSI routines.
6831 Reentrant routines renamed from _r_xxx to _xxx_r.
6832 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
6833 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
6834 Clean up namespace (structure members have leading "_").
6835 struct reent_struct renamed to struct _reent for ANSI compliance.
6836 _CONST --> const in function prototypes.
6837
6838 * libc/include/string.h: Add NULL and size_t.
6839
6840 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
6841 unlink, wait, wait4. Reentrant syscall routines close, fork,
6842 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
6843 write.
6844 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
6845 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
6846 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
6847 write.S}: Define reentrant versions.
6848 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
6849 reentrant syscalls.
6850
6851 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
6852
6853 * libc/include/stdlib.h (RAND_MAX): Fix value.
6854
6855Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
6856
6857 * libc/sys/a29khif/_main.c: Removed unnecessary file.
6858 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
6859 VPATH support targets after all: target.
6860
6861 * stub/mvme135/mvme.S: Renamed exceptionhandler to
6862 exceptionHandler, which is what mvme135-stub.c expects.
6863
6864Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
6865
6866 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
6867
6868 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
6869 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
6870 compliant).
6871
6872Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
6873
6874 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
6875 first.
6876 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
6877 _r_write): Ditto.
6878 libc/reent/fstatr.c (_r_fstat): Ditto.
6879 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
6880 libc/reent/sbrkr.c (_r_sbrk): Ditto.
6881 libc/reent/statr.c (_r_stat): Ditto.
6882
6883 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
6884 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
6885 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
6886 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
6887 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
6888 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
6889 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
6890 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
6891 (__swrite): Ditto for _r_lseek, _r_write.
6892 (__sseek): Ditto for _r_lseek.
6893 (__close): Ditto for _r_close.
6894 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
6895
6896 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
6897 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
6898
6899 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
6900 to make reent_struct the first argument (and thus consistent with
6901 the rest of newlib).
6902
6903 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
6904 reference to __STDC__.
6905
6906Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
6907
6908 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
6909 global __cleanup.
6910
6911Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
6912
6913 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
6914 first.
6915 libc/stdio/fclose.c (fclose): Ditto.
6916
6917Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
6918
6919 * Run through indent and rename reentrant routines for ANSI.
6920 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
6921 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
6922 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
6923 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
6924 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
6925 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
6926 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
6927 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
6928 vsprintf.c wbuf.c wsetup.c local.h}
6929
6930 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
6931
6932 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
6933 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
6934 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
6935 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
6936 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
6937 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
6938
6939 * Run through indent.
6940 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
6941 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
6942 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
6943 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
6944 strxfrm.c}
6945
6946 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
6947 localtime.c mktime.c strftime.c time.c}:
6948 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
6949
6950 * Reformatting + renaming (for ANSI, GNU style, consistency).
6951 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
6952 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
6953 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
6954
6955Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
6956
6957 * libc/include/stdio.h (stdin_r): Fix.
6958
6959Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
6960
6961 * Makefile.in: Unexport some variables to keep GNU make from
6962 putting them in the environment and using up needed ARG_MAX space
6963 (a hack is used to let this work with older makes as well).
6964
6965Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
6966
6967 * Makefile.in: Use $(MAKE) rather than make.
6968 (MAKEOVERRIDES): Define to be empty.
6969 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6970 (libc.a, libm.a): Depend on targ-include.
6971 * host/any (LD): Don't define.
6972 (INCLUDES): Use targ-include.
6973 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
6974 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
6975 * libc/Makefile.in: Use $(MAKE) rather than make.
6976 (MAKEOVERRIDES): Define to be empty.
6977 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6978 (all): Rewrote to be slightly smaller.
6979 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
6980 Define to be empty.
6981 (FLAGS_TO_PASS): Don't pass LD (it's not used).
6982 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
6983
6984Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
6985
6986 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
6987 with errno/errno.c.
6988
6989Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
6990
6991 * Changes for reentrancy.
6992 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
6993 Use ptr->_errno, not errno.
6994 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
6995 libc/stdio/remove.c (remove_r): New function.
6996 libc/stdio/rename.c (rename_r): New function.
6997 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
6998 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
6999 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
7000 reentrant versions of system calls.
7001 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
7002 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
7003 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
7004 libc/stdio/findfp.c: Include <string.h>.
7005 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
7006 "local.h".
7007 libc/stdio/wbuf.c: Include "fvwrite.h"
7008
7009 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
7010 <string.h>.
7011 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
7012 (NULL): Don't define if already defined.
7013 libc/stdlib/system.c: Call reentrant versions of system calls.
7014 (system_r): New function.
7015
7016 * Changes for reentrancy.
7017 libc/include/_ansi.h (_PARAMS): New macro.
7018 libc/include/errno.h: Define errno as a macro that calls __errno.
7019 (__errno_r): New macro for reentrant code.
7020 libc/include/math.h: Include reent.h. Declare many reentrant
7021 functions.
7022 (signgam): Now a macro, not a variable.
7023 (struct exception): Added err field.
7024 libc/include/reent.h: Don't declare __sglue. Added function
7025 declarations.
7026 (struct reent_struct): Moved errno to beginning. Added _signgam.
7027 libc/include/stdio.h, libc/include/stdlib.h: Added function
7028 declarations.
7029
7030 * More reentrancy hacking.
7031 libc/errno/errno.c (__errno): New function.
7032 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
7033 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
7034 files.
7035
7036 * Added many new reentrant functions to libm/math/*.
7037 libm/math/error.c (__matherror): Added reent_struct pointer
7038 argument. Changed all callers.
7039 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
7040 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
7041 libm/math/tan.h: Removed obsolete unused header files.
7042
7043 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
7044
7045 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
7046
7047Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7048
7049 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
7050 delay slots.
7051
7052Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
7053
7054 * libc/libc.texinfo: comment out reentrancy chapter (duh)
7055
7056Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
7057
7058 * libc/reent/reent.tex: New file. (text from
7059 newlib/libc/libc.texinfo)
7060 * libc/stdio/tmpnam.c: fixed doc typo
7061 * libc/stdlib/rand.c: fixed doc typo
7062
7063Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
7064
7065 * libc/reent/reent.tex: New file. (text from
7066 newlib/libc/libc.texinfo)
7067
7068Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7069
7070 support for reentrancy
7071 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
7072 new files
7073 * libc/errno/errno.c, libc/include/ieeefp.h,
7074 libc/include/locale.h, libc/include/reent.h,
7075 libc/include/signal.h, libc/include/stdio.h,
7076 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
7077 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
7078 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
7079 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
7080 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
7081 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
7082 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
7083 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
7084 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
7085 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
7086 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
7087 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
7088 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
7089 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
7090 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
7091 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
7092 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
7093 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
7094 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
7095 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
7096 libc/time/strftime.c: modify to provide reentracy.
7097
7098 new routines:
7099 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
7100 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
7101 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
7102 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
7103 mstats_r, realloc_r, localeconv_r, setlocale_r
7104
7105Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
7106
7107 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
7108 libc/include/sys/config.h, libc/include/sys/signal.h,
7109 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
7110 provided macros (such as m68000), use the ansi version
7111 (__m68000__) so that the library can be used with code compiled
7112 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
7113 and sparc.
7114
7115Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
7116
7117 * configure.in (sparc*): Don't set -fsoft-float for sparc
7118 configurations. Do set -fsoft-float for sparclite configurations.
7119
7120Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
7121
7122 * default.menu, no-signal.menu: alternate forms of libc main menu
7123 (in newlib rather than newlib/libc due to configuration restrictions)
7124
7125 * configure.in: select one of the two menus above, link to
7126 libc.menu
7127
7128 * libc/libc.texinfo: include menu from separate file
7129
7130Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
7131
7132 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
7133 (info): Split long shell command in half.
7134 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
7135 sub-makes, just CHEW and TARGETDOC.
7136 (targetdep.tex): Removed now special handling of sys and machine
7137 subdirectories, made obsolete some time ago.
7138 * libc/machine/Makefile.in (doc): Don't pass everything to
7139 sub-make, just CHEW and TARGETDOC.
7140 (Makefile): New target.
7141 * libc/sys/Makefile.in (Makefile): New target.
7142
7143Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
7144
7145 * Makefile.in (here and most subdirectories): Only pass down CHEW
7146 and TARGETDOC when making info, not for other targets.
7147
7148 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
7149 $(AR_FLAGS) rather than $(ARUPDATE).
7150
7151Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
7152
7153 * Try to reduce command line length:
7154 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
7155 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
7156 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
7157 (info): Pass CHEW to other subdirs.
7158
7159Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
7160
7161 * configure.in: add signal_dir, like unix_dir, but by default it
7162 is set to "signal" so that a29khif can turn it off (since a29khif
7163 has raise() as part of machine-specific signal.s.)
7164
7165Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
7166
7167 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
7168 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
7169 correctly.
7170 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
7171 libc/stdio/vfprintf: type lint.
7172 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
7173 initialzation code.
7174 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
7175
7176Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
7177
7178 * stub/mvme135/mvme135-asm.S: new file.
7179 stub/mvme135mvme135-stub.c: moved all assembler routines into
7180 mvme135-asm.S.
7181 stub/mvme135/Makefile.in: build mvme135-stub.o.
7182
7183Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
7184
7185 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
7186 sub-Makefiles instead, to try to avoid line length limitations.
7187
7188Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
7189
7190 * libc/include/unistd.h (read, write): Use void* instead of
7191 char*.
7192
7193Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
7194
7195 * stub/go32/resetpc: sample script to send a reset packet to the
7196 stub
7197
7198 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
7199 DOS environment, which compiles with Turbo C.
7200
7201 * stub/go32/DSER32.LNK: new file, linker commands for serial
7202 remote stub.
7203
7204 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
7205 start up message to identify version; call set_debug_traps.
7206
7207 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
7208 keyboard interaction); call handle_exception() in go_til_stop,
7209 rather than return, so that the remote stub gets control.
7210
7211 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
7212 rename, rather than mv), set flags that work with current Turbo C,
7213 including using the /3 flag; also, add commands to build dser32.
7214
7215 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
7216 default Turbo C installation (\tc rather than \usr)
7217
7218 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
7219 "&..."
7220
7221Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7222
7223 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
7224
7225Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7226
7227 * libc/stdio/cvt.c (licvt): new function to convert ints when
7228 sizeof(int) != sizeof(long).
7229
7230 * libc/include/stdio.h: added prototype for iprintf.
7231 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
7232
7233Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
7234
7235 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
7236 __REGISTER_PREFIX__.
7237
7238Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
7239
7240 * libc/sys/m68kbare: moved into stub directory.
7241
7242Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
7243
7244 * configure.in, Makefile.in: created new directory stub, to hold
7245 sample code for specific targets.
7246
7247Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
7248
7249 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
7250 in the unified libc/include/sys/fcntl.h.
7251
7252Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
7253
7254 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
7255 printed .01, not 0.01.
7256
7257Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
7258
7259 * configure.in: compile with -m68000 for m68* targets.
7260
7261Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
7262
7263 * libm/math/remainder.c (remainder): document the svr4 and sunos
7264 references used to construct the function.
7265
7266Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
7267
7268 * libm/math/remainder.c (rint, remainder): fix old typos.
7269 * libm/math/Makefile.in: actually build remainder.c (functions
7270 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
7271 page.)
7272
7273Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
7274
7275 * libc/string/bcopy.c: BSD version works on overlapping strings,
7276 so ours should too.
7277
7278 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
7279 ("SHELL").
7280
7281Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
7282
7283 * Makefile.in (docs): new target.
7284
7285Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
7286
7287 * libc/include/sys/times.h: define clock_t as required by POSIX.
7288 libc/include/time.h: protect clock_t from multiple definitions.
7289
7290Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7291
7292 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
7293 does not need more than the original three iterations to get
7294 within 1 ulp. (Paranoia tests for rounding to better than that,
7295 but further iterations *don't* help, only more subtle changes
7296 can.)
7297
7298Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
7299
7300 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
7301 were doing nothing useful.
7302
7303Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
7304
7305 * configure.in: define MALLOC_PROVIDED for vxworks targets;
7306 removed sys_dir settings of vxworks68 and vxworks960.
7307 host/any: don't pass -nostdinc to gcc, since newlib no longer
7308 provides all required header files.
7309
7310 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
7311 is not defined; this provides a hook for VxWorks.
7312
7313Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7314
7315 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
7316 buffer if buf is NULL, don't do it here -- it is already being
7317 done by makebuf elsewhere in stdio.
7318
7319Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
7320
7321 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
7322 that C programs can call functions without using initial
7323 underscores.
7324
7325Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
7326
7327 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
7328
7329Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
7330
7331 * configure.in: set TARGET_CFLAGS for certain CPU types to
7332 -msoft-float.
7333
7334Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7335
7336 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
7337
7338Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
7339
7340 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
7341 m68k*-unknown-coff.
7342
7343Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
7344
7345 * libc/include/stdio.h: define __need___va_list before including
7346 <stdarg.h>, to avoid defining va_arg, et. al.
7347
7348Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
7349
7350 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
7351 (don't cd to the user's home directory).
7352
7353 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
7354 In general this is the wrong thing to do, but I can't get around
7355 GNU make's insistence on passing command line arguments any other
7356 way.
7357
7358Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
7359
7360 * configure.in: always configure the libc/sys directory, since it
7361 now provides a required documentation file.
7362
7363 * Makefile.in: replaced all instances of $(MAKE) with make. In
7364 general this is the wrong thing to do, but I can't get around GNU
7365 make's insistence on passing command line arguments any other way.
7366
7367Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
7368
7369 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
7370 terminated.
7371
7372 * libc/stdio/local.h: include <stdarg.h> to define va_list.
7373 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
7374
7375 * libc/include/float.h, libc/include/stdarg.h,
7376 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
7377 versions instead.
7378 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
7379 <stdarg.h>, not from <machine/types.h>. Protect definition of
7380 NULL.
7381 libc/include/time.h: get size_t from stddef.h. Protect definition
7382 of NULL.
7383 libc/include/machine/limits.h: override gcc <limits.h> by defining
7384 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
7385 get correct INT_MIN and LONG_LONG values.
7386 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
7387 size_t or va_list at all; they're now gotten from stddef.h
7388 instead.
7389 libc/include/machine/varargs.h: removed; use gcc version instead.
7390 libc/include/sys/types.h: explicitly include <machine/types.h>.
7391
7392 * libm/math/sqrt.h: using the fp-bit routines appears to require
7393 more iterations.
7394
7395 * Makefile.in, host/any: let system include files override machine
7396 include files.
7397
7398Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7399
7400 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
7401 override _*_T_ definitions defaulted here.
7402
7403Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
7404
7405 * Makefile.in (install): install the include files in
7406 $(tooldir)/include, not $(exec_prefix)/include.
7407
7408Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
7409
7410 * Makefile.in (install): fixed typo, and changed install to not
7411 force rebuild of libc.a and libm.a.
7412
7413Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
7414
7415 * libc/sys/a29khif/*: Changed all .include's to include
7416 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
7417 that they will be installed for the user.
7418
7419 * Makefile.in (all): create targ-include, a directory holding the
7420 machine and system specific header files during the build.
7421 (install): fixed installation of machine and system specific
7422 header files.
7423
7424 * Makefile.in: fixed comment.
7425 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
7426 we can pass $(INCLUDES) to it.
7427
7428Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
7429
7430 * libc/include/sys/param.h: new generic file, which may be
7431 overridden for specific systems.
7432
7433 * libc/include/sys/signal.h: define all ANSI signal names, and
7434 NSIG (which is not ANSI) for a29k.
7435
7436Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
7437
7438 * Makefile.in: don't pass down arguments the lower level makes
7439 will not need.
7440 * libc/Makefile.in: recurse directly, rather than using subdir_do,
7441 in hopes of avoiding argument length limits.
7442 * libm/Makefile.in: recurse directly, rather using subdir_do, in
7443 hopes of avoiding argument length limits.
7444
7445Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
7446
7447 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
7448 mode_t is defined.
7449
7450Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
7451
7452 * Fixed make info and make install-info for newlib, changing most
7453 Makefile.in and several *.tex files. Moved doc directory from
7454 libc to top level.
7455
7456 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
7457 Should be rewritten.
7458
7459 * libc/string/strings.tex: renamed node index to node index
7460 function, so that it does not conflict with the top level index
7461 node.
7462
7463 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
7464
7465Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
7466
7467 * Overhauled general configuration for newlib. Eliminated all
7468 target dependent Makefile fragments. Create libraries in newlib
7469 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
7470 than CROSS_CC, et. al. Broke make docs; will fix later.
7471
7472 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
7473 Should be rewritten.
7474
7475Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
7476
7477 * libc/configure.in: cleaned up somewhat; switch on ${target}
7478 rather than ${target_alias}.
7479 * libm/configure.in: cleaned up somewhat; switch on ${target}
7480 rather than ${target_alias}.
7481
7482 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
7483 * libc/include/ctype.h: marked _ctype_ as _CONST.
7484
7485 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
7486 _CONST.
7487
7488 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
7489 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
7490 libc/stdio/gets.c (gets): removed non-ANSI warning message.
7491 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
7492
7493 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
7494 bigtens, tinytens): marked arrays _CONST.
7495 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
7496 rather than a static variable.
7497
7498 * libc/time/asctime.c (asctime), libc/time/localtime.c
7499 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
7500 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
7501 mname_len, mname): Marked static arrays _CONST.
7502
7503 * libm/math/gamma.h: made local variables non-static.
7504
7505 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
7506 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
7507 _CONST.
7508
7509 * libm/math/constants.c: removed file, because the constants it
7510 defined were never referenced.
7511 libm/math/Makefile.in: removed references to constants.c.
7512 libm/math/mathimpl.h: removed declarations of constants.
7513
7514Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
7515
7516 * libc/include/machine/varargs.h: only call __builtin_saveregs if
7517 it is sensibly defined in libgcc2. Checks preprocessor defines,
7518 which is not a good solution.
7519
7520 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
7521
7522 * libm/frexp.c: handle denormalized numbers as arguments.
7523
7524 * libm/math/Makefile.in: added some dependencies for .c files
7525 which include local .h files.
7526
7527Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
7528
7529 * libc/configure.in: set target_alias for OSE*. Replace
7530 target_makefile_frag if it is blank.
7531
7532 * libc/Makefile.in: make sure everything is passed to subsidiary
7533 makes; create all directories when installing.
7534
7535 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
7536 CROSS_ARUPDATE instead of AR.
7537
7538 * libm/configure.in: set target_alias for OSE*. Replace
7539 target_makefile_frag if it is blank.
7540
7541 * libm/Makefile.in: make sure everything is passed to subsidiary
7542 makes; create all directories when installing.
7543
7544Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
7545
7546 * add following change from libc copy.
7547
7548Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7549
7550 * libc/libc.texinfo: make copyright disclaimers appear on back of
7551 title page; make format of same slightly less ugly; avoid using
7552 underbars in section headings (avoids nasty texinfo bug in table
7553 of contents).
7554
7555 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
7556 comments only) avoid using underbars in section headings
7557
7558 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7559 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
7560 changes in comments only): shorten headings ieeefp/infinity.c,
7561 ieeefp/isnan.c: (doc, comments only) more informative headings
7562
7563 * libc/math/bessel.c: (doc, comments only) shorten heading
7564
7565 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
7566 (doc, comments only) shorten headings
7567
7568 * libc/time/localtime.c (doc, comments only): shorten headings
7569
7570 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
7571 isnan
7572 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
7573 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
7574 headings
7575 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
7576 only) more informative headings
7577 * libm/math/bessel.c: (doc, comments only) shorten heading
7578
7579Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
7580
7581 * .../Makefile.in: use CROSS_ARUPDATE consistently.
7582 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
7583 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
7584 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
7585 defined, the one from the .mt file will be correct.
7586 * libc/include/machine, libc/include/sys: created, and populated
7587 with common files from machine/*/machine. ifdefs were used for
7588 most, typically by handling exceptions first and then filling in
7589 defaults. Files with D.J. Delorie copyright #included rather than
7590 copied. Most files in include/sys really were the same in the
7591 original.
7592 * libc/include/...: cleaned up use of _EXFUN.
7593 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
7594 it with double quotes, not angles.
7595
7596Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
7597
7598 * libc/Makefile.in: always create installation directories.
7599
7600Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
7601
7602 * libc/configure.in: handle host properly (using canonical
7603 triples), better error message for the case of target not found
7604
7605Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
7606
7607 * libc/Makefile.in (insincdir): Ensure this directory exists
7608 before attempting installation.
7609
7610Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7611
7612 * libc/stdlib/assert.c: now calls abort like it should
7613 * libc/sys/a29khif: many many patches for 29khif work
7614 * libc/machine/i386: gnulib2 expanded there.
7615
7616Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7617
7618 Added accurate fp conversion routines to stdlib, moved dcvt from
7619 stdio to stdlib and called it ecvtbuf:
7620 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
7621 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
7622 routines
7623 * libc/libc.texinfo: Modifed to include the copyright info from
7624 the mprec files
7625 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
7626 * libc/test/ : many vector which tested for the implementation
7627 defined returns of strange conversion requests have been updated
7628 to relflect the new implementation
7629
7630Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7631
7632 * libc/libc.texinfo: new chapter on variable arg lists
7633 (stdarg.h/varargs.h)
7634 * libc/libc.texinfo: new title
7635 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
7636 (doc only) shorter headings for better formatting.
7637
7638Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7639
7640 * libc/libc.texinfo: three more info menu entries
7641 * libc/locale/locale.tex: new chapter
7642 * libc/locale/locale.c: new doc for setlocale, localeconv
7643 * libc/locale/Makefile.in: use new locale doc
7644 * libc/signal/signal.tex: new chapter
7645 * libc/signal/raise.c, libc/signal/signal.c: new doc
7646 * libc/signal/Makefile.in: use new doc
7647 * libc/time/time.tex: new chapter
7648 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
7649 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
7650 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
7651 * libc/time/Makefile.in: use new doc
7652
7653Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7654
7655 * libm/math/log1p.c: split to use the new function way of float
7656 function definition. math/log1p.h deleted
7657 * libm/math/scalb.c: obsolete and deleted
7658 * libm/math/scalbn.c: created from part log1p.c
7659 * libm/math/Makefile.in: know about log1p and scalbn
7660
7661Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7662
7663 * libc/ctype/isupper.c: revise doc;
7664 libc/ctype/ctype.tex: use doc from isupper.c
7665
7666 * libc/string/bzero.c: new doc
7667
7668Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
7669
7670 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
7671 new doc
7672 * libc/stdlib/Makefile.in: extract new doc
7673 * libc/stdlib/stdlib.tex: use new doc
7674
7675 * libc/string/strerror.c: expanded doc.
7676
7677 * libc/stdio/Makefile.in: extract doc from more files
7678 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
7679 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
7680 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
7681 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
7682 libc/stdio/vsprintf.c: new doc
7683 * libc/stdio/stdio.tex: use new doc
7684
7685Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7686
7687 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
7688 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
7689 finitef functions.
7690 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
7691 time ago.
7692
7693 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
7694 * libc/stdio/setbuf.c: added ansi style definition.
7695 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
7696 buffer if none provided.
7697 * libc/stdio/tmpfile.c: lint
7698 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
7699 rather than using static, also make sure file isn't already
7700 present. Uses P_tmpdir. (tempnam): rewritten to use new
7701 subroutine, and uses P_tmpdir.
7702 * libc/stdio/siprintf.c: created
7703
7704Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
7705
7706 Release 1.03 for NEC, major mods. Main differences from release
7707 1.02::
7708
7709 More tests in test/:
7710 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
7711 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
7712 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
7713 get/set mask, get/set sticky and get/set roundtoi. Tests
7714 that setting the bits changes the way arithmetic is done.
7715 * string.c: added test to make sure memcmp does it with unsigned
7716 chars.
7717 * test.c: cleaned up and removed lint.
7718 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
7719 dvec.c: tests for string to value conversions, sprintf, scanf,
7720 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
7721 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
7722 rounding in sprintf too.
7723 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
7724 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
7725 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
7726 and function form.
7727 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
7728 powf
7729
7730 In the library:
7731 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
7732 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
7733 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
7734 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
7735 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
7736 than sprintf.
7737 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
7738 * Method of producting float versions of double functions has
7739 changed, functions will be modified gradually. So far:
7740 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
7741 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
7742 altered
7743 * libc/string/memcmp.c: now uses unsigned chars
7744 * libc/string/bcmp.c, libc/string/strcpy.c,
7745 libc/stsring/strxfrm.c: fixed doc
7746 * libc/sys/sysvnecv70.tex: fix example of sbrk code
7747\f
7748Local Variables:
7749version-control: never
7750End:
This page took 0.742505 seconds and 5 git commands to generate.