]> sourceware.org Git - newlib-cygwin.git/blame - newlib/ChangeLog
* what.texinfo: Fix typo.
[newlib-cygwin.git] / newlib / ChangeLog
CommitLineData
4a2bfab7
JJ
12002-06-21 Jeff Johnston <jjohnstn@redhat.com>
2
3 * libc/include/errno.h: Protect from multiple inclusion.
4
f42d18ea
NC
52002-06-21 Nick Clifton <nickc@cambridge.redhat.com>
6
7 * libc/sys/arm/swi.h (ADP_Stopped_RunTimeError): Set correct value.
8
a7b23a8f
TF
92002-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10
11 * Makefile.am (LIB_OBJECTLISTS): Add
12 libc/search/objectlist.awk.in.
13 * libc/Makefile.am (SUBDIRS): Add search.
14 (SUBLIBS): Add search/libsearch.la.
15 * libc/configure.in (AC_OUTPUT): Add search/Makefile.
16 * libc/search: New directory.
17 * libc/search/Makefile.am: New file.
18 * libc/search/extern.h: New file.
19 * libc/search/hash.c: New file.
20 * libc/search/hash.h: New file.
21 * libc/search/hash_bigkey.c: New file.
22 * libc/search/hash_buf.c: New file.
23 * libc/search/hash_func.c: New file.
24 * libc/search/hash_log2.c: New file.
25 * libc/search/hash_page.c: New file.
26 * libc/search/hcreate.3: New file.
27 * libc/search/hcreate.c: New file.
28 * libc/search/hcreate.c~: New file.
29 * libc/search/hcreate_r.c: New file.
30 * libc/search/ndbm.c: New file.
31 * libc/search/page.h: New file.
32 * libc/search/tdelete.c: New file.
33 * libc/search/tdestroy.c: New file.
34 * libc/search/tfind.c: New file.
35 * libc/search/tsearch.3: New file.
36 * libc/search/tsearch.c: New file.
37 * libc/search/twalk.c: New file.
38 * libc/include/db.h: New file.
39 * libc/include/ndbm.h: New file.
40 * libc/include/search.h: New file.
41 * libc/include/sys/queue.h: New file.
42 * libc/include/sys/cdefs.h: New file.
43 * libc/include/sys/param.h
44 [__IEEE_LITTLE_ENDIAN,__IEEE_BIG_ENDIAN]: Set BYTE_ORDER to
45 LITTLE_ENDIAN or BIG_ENDIAN.
46 * libc/include/sys/errno.h (EFTYPE): New macro.
47 * libc/search/bsearch.c: Move from libc/stdlib.
48 * libc/search/qsort.c: Likewise.
49 * libc/stdlib/Makefile.am (LIB_SOURCES): Remove bsearch.c and
50 qsort.c.
51 (CHEWOUT_FILES): Remove bsearch.def and qsort.def.
52 * libc/stdlib/stdlib.tex: Remove references to bsearch and qsort.
53
ef467338
JJ
542002-06-19 Jeff Johnston <jjohnstn@redhat.com>
55
56 * libc/sys/linux/Makefile.am: Add support for message queue routines,
57 ipc routines, and ftok.
58 * libc/sys/linux/Makefile.in: Regenerated.
59 * libc/sys/linux/ftok.c: New file.
60 * libc/sys/linux/ipc.c: Ditto.
61 * libc/sys/linux/mq_close.c: Ditto.
62 * libc/sys/linux/mq_getattr.c: Ditto.
63 * libc/sys/linux/mq_notify.c: Ditto.
64 * libc/sys/linux/mq_open.c: Ditto.
65 * libc/sys/linux/mq_receive.c: Ditto.
66 * libc/sys/linux/mq_send.c: Ditto.
67 * libc/sys/linux/mq_setattr.c: Ditto.
68 * libc/sys/linux/mq_unlink.c: Ditto.
69 * libc/sys/linux/mqlocal.h: Ditto.
70 * libc/sys/linux/include/mqueue.h: Ditto.
71 * libc/sys/linux/sys/types.h: Define __gid_t_defined and
72 __uid_t_defined.
73
7f55c08c
TF
742002-06-19 J"orn Rennecke <joern.rennecke@superh.com>
75
76 * libm/common/sf_lround.c (round): Change name to: (lround).
77 * libm/common/sf_remquo.c (remquo): Pass all arguemnts to
78 remquof.
79
c9ca68d7
TF
802002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
81
82 * testsuite/lib/passfail.exp (newlib_pass_fail_all): New
83 procedure.
84 (newlib_pass_fail): Change to compile and run only one file.
85 * testsuite/newlib.locale/locale.exp: Use new
86 newlib_pass_fail_all procedure.
87 * testsuite/newlib.string/string.exp: Likewise.
88
4ecedd09
DB
892002-06-18 Dave Brolley <brolley@redhat.com>
90
91 From Catherine Moore, Michael Meissner, Richard Sandiford:
92 * libc/include/machine/setjmp.h (_JBLEN): Define for __frv__.
93 (_JBTYPE): Ditto.
94 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Ditto.
95 (__ATTRIBUTE_IMPURE_PTR__): Ditto.
96 * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Ditto.
97 * configure.host: Support frv-*-*.
98 * libc/machine/frv/Makefile.am: New file.
99 * libc/machine/frv/configure.in: New file.
100 * libc/machine/frv/setjmp.S: New file.
101
af1c257a
TF
1022002-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
103
104 * libc/include/ctype.h: Remove isblank macro.
105
106 * libc/ctype/Makefile.am (LIB_SOURCES): Add isblank.c.
107 * libc/ctype/isblank.c: New file.
108 * libc/include/ctype.h [!__STRICT_ANSI__]: Add isblank
109 declaration. Add isblank macro.
110
4e04fa90
JJ
1112002-06-18 Jeff Johnston <jjohnstn@redhat.com>
112
113 * testsuite/newlib.stdlib/atexit.c: New file.
114 * testsuite/newlib.stdlib/atexit.exp: Ditto.
115 * testsuite/newlib.string/tstring.c: Change default start size
116 to something more reasonable for embedded platforms.
117
b56d7e79
TF
1182002-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
119
ece3c72f
TF
120 * libc/sys/linux/sys/errno.h (EFTYPE): Add macro.
121
b56d7e79
TF
122 * libc/argz: New directory.
123 * libc/argz/*: New files.
124 * libc/argz/argz_add.c: New file.
125 * libc/argz/argz_add_sep.c: New file.
126 * libc/argz/argz_append.c: New file.
127 * libc/argz/argz_count.c: New file.
128 * libc/argz/argz_create.c: New file.
129 * libc/argz/argz_create_sep.c: New file.
130 * libc/argz/argz_delete.c: New file.
131 * libc/argz/argz_extract.c: New file.
132 * libc/argz/argz_insert.c: New file.
133 * libc/argz/argz_next.c: New file.
134 * libc/argz/argz_replace.c: New file.
135 * libc/argz/argz_stringify.c: New file.
136 * libc/argz/buf_findstr.c: New file.
137 * libc/argz/envz_add.c: New file.
138 * libc/argz/envz_entry.c: New file.
139 * libc/argz/envz_get.c: New file.
140 * libc/argz/envz_merge.c: New file.
141 * libc/argz/envz_remove.c: New file.
142 * libc/argz/envz_strip.c: New file.
143 * libc/include/argz.h: New file.
144 * libc/include/envz.h: New file.
145 * Makefile.am (LIBC_OBJECTLISTS): Add
146 libc/argz/objectlist.awk.in.
147 * libc/Makefile.am (SUBDIRS): Add argz.
148 (SUBLIBS): Add argz/libargz.la.
149 * libc/configure.in (AC_OUTPUT): Add argz/Makefile.
150 * libc/include/errno.h: Add error_t typedef.
151
d062d3dd
JJ
1522002-06-13 Jeff Johnston <jjohnstn@redhat.com>
153
154 * libc/include/stdlib.h: Add _Exit prototype.
155 * libc/stdlib/Makefile.am: Add _Exit.c support.
156 * libc/stdlib/Makefile.in: Ditto.
157 * libc/stdlib/_Exit.c: New file.
158
a47e66ae
JJ
1592002-06-13 Stephen L. Moshier <steve@moshier.net>
160
161 * libm/math/e_pow.c (__ieee754_pow): Fix case whereby
162 x is close to -1.0 and y is very large to use ax (absolute value)
163 instead of x.
164 * libm/math/ef_pow.c (__ieee754_powf): Ditto.
165
13f7d71f
JR
166Thu Jun 13 19:23:40 2002 J"orn Rennecke <joern.rennecke@superh.com>
167
168 * libc/machine/sh/strcpy.S (strcpy, __SHMEDIA__ code):
169 Fix clobbering bytes before destination if src and dst have same
170 non-zero misalignment.
1f1fb421
JR
171
172 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
173 Fixed bug in writing end of set region.
174
b2e8018f
CF
1752002-06-10 Christopher Faylor <cgf@redhat.com>
176
177 * libc/include/process.h: Remove cygwin-only sexec* declarations. Fix
178 spawnve declaration.
179
0953fe64
TF
1802002-06-06 Thomas Fitzsimmons <fitzsim@redhat.com>
181
182 * libm/common/s_fdim.c: New file.
183 * libm/common/s_fma.c: Likewise.
184 * libm/common/s_fmax.c: Likewise.
185 * libm/common/s_fmin.c: Likewise.
186 * libm/common/s_fpclassify.c: Likewise.
187 * libm/common/s_lrint.c: Likewise.
188 * libm/common/s_lround.c: Likewise.
189 * libm/common/s_nearbyint.c: Likewise.
190 * libm/common/s_remquo.c: Likewise.
191 * libm/common/s_round.c: Likewise.
192 * libm/common/s_scalbln.c: Likewise.
193 * libm/common/s_signbit.c: Likewise.
194 * libm/common/s_trunc.c: Likewise.
195 * libm/common/sf_fdim.c: Likewise.
196 * libm/common/sf_fma.c: Likewise.
197 * libm/common/sf_fmax.c: Likewise.
198 * libm/common/sf_fmin.c: Likewise.
199 * libm/common/sf_lrint.c: Likewise.
200 * libm/common/sf_lround.c: Likewise.
201 * libm/common/sf_nearbyint.c: Likewise.
202 * libm/common/sf_remquo.c: Likewise.
203 * libm/common/sf_round.c: Likewise.
204 * libm/common/sf_scalbln.c: Likewise.
205 * libm/common/sf_trunc.c: Likewise.
206 * libm/math/w_exp2.c: Likewise.
207 * libm/math/w_tgamma.c: Likewise.
208 * libm/math/wf_exp2.c: Likewise.
209 * libm/math/wf_tgamma.c: Likewise.
210 * libm/mathfp/s_exp2.c: Likewise.
211 * libm/mathfp/s_tgamma.c: Likewise.
212 * libm/mathfp/sf_exp2.c: Likewise.
213 * libm/mathfp/sf_tgamma.c: Likewise.
214 * libm/math/er_gamma.c: Fix return value.
215 * libm/math/erf_gamma.c: Likewise.
216 * libm/mathfp/er_gamma.c: Likewise.
217 * libm/mathfp/erf_gamma.c: Likewise.
218 * libc/include/math.h (!__STRICT_ANSI__): Include ISOC99-specific
219 declarations and macros.
220 Regenerated all Makefile.in, aclocal.m4 and configure files to
221 use new libtool macros in top-level libtool.m4
222
39e65e01
JJ
2232002-06-05 Jeff Johnston <jjohnstn@redhat.com>
224
225 * libc/include/string.h[__linux__]: Add strsignal prototype.
226 * libc/include/sys/lock.h: New file with default locking support.
227 * libc/include/sys/reent.h: Add signal buffer support for strsignal
228 and psignal.
229 * libc/posix/Makefile.am: Add support for readdir_r.c.
230 * libc/posix/Makefile.in: Regenerated.
231 * libc/posix/closedir.c: Add locking support and hash table cleanup.
232 * libc/posix/opendir.c: Add lock support.
233 * libc/posix/readdir.c: Ditto.
234 * libc/posix/rewinddir.c: Ditto.
235 * libc/posix/scandir.c: Ditto.
236 * libc/posix/seekdir.c: Ditto.
237 * libc/posix/telldir.c: Ditto plus add _cleanupdir routine to
238 clean up leftover hash table entries.
239 * libc/posix/readdir_r.c: New file.
240 * libc/sys/linux/Makefile.am: Add psignal.c and strsignal.c support.
241 * libc/sys/linux/Makefile.in: Regenerated.
242 * libc/sys/linux/sys/dirent.h: Add dd_lock to DIR structure.
243 * libc/sys/linux/sys/signal.h: Add psignal prototype.
244 * libc/sys/linux/psignal.c: New file.
245 * libc/sys/linux/strsignal.c: Ditto.
246
cc890e89
CV
2472002-06-03 Corinna Vinschen <corinna@vinschen.de>
248
249 * libc/include/sys/types.h: Don't define dev_t when compiling for
250 Cygwin.
251
ea55e3f7
JJ
2522002-05-31 Jeff Johnston <jjohnstn@redhat.com>
253
254 * libc/sys/linux/Makefile.am: Add sig.c and sigaction.c. Also
255 make siglist.inc dependent on sig.c instead of signal.c.
256 * libc/sys/linux/Makefile.in: Regenerated.
257 * libc/sys/linux/sig.c: Rename from signal.c and change code to
258 use NSIG instead of _NSIG.
259 * libc/sys/linux/sigaction.c: New file.
260 * libc/sys/linux/signal.c: Changed to be linux signal() function
261 so as to override regular newlib default signal.c.
ea55e3f7
JJ
262 * libc/sys/linux/machine/i386/Makefile.am: Remove sigset.c.
263 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
264 * libc/sys/linux/machine/i386/sigset.c: Moved to linux main directory.
265 * libc/sys/linux/sigset.c: Moved from machine/i386 directory.
266 * libc/sys/linux/sys/signal.h: Redefine NSIG to _NSIG and override
267 default linux sigset_t typedef by defining it equal to __sigset_t.
268 * libc/unix/sigset.c: Add check so code isn't compiled on systems
269 with a sigset_t that isn't implemented with a single int.
270
9d362914
JJ
2712002-05-30 Jeff Johnston <jjohnstn@redhat.com>
272
273 * libc/sys/linux/Makefile.am: Add support for new files.
274 * libc/sys/linux/Makefile.in: Regenerated.
275 * libc/sys/linux/ids.c: Add __getuid weak alias for getuid.
276 * libc/sys/linux/signal.c: Change to use real-time syscalls for
277 sigsuspend, sigprocmask, and sigpending. Also remove sigaction as
278 it is in a separate file now.
279 * libc/sys/linux/machine/i386/Makefile.am
280 * libc/sys/linux/machine/i386/Makefile.in
281 * libc/sys/linux/sys/signal.h: Add include of <bits/signum.h>.
282 * libc/sys/linux/sigaction.c: New file.
283 * libc/sys/linux/sigqueue.c: Ditto.
284 * libc/sys/linux/sigwait.c: Ditto.
285 * libc/sys/linux/machine/i386/sigaction.c: Ditto.
286 * libc/sys/linux/kernel_sigaction.h: Ditto.
287
b1f07180
JJ
2882002-05-28 Jeff Johnston <jjohnstn@redhat.com>
289
290 * libc/sys/linux/Makefile.am: Add support for cfspeed.c and
291 tcsendbrk.c.
292 * libc/sys/linux/Makefile.in: Regenerated.
293 * libc/sys/linux/termios.c: Add tcflow(), tcflush(),
294 tcgetpgrp(), and tcsetpgrp() functions.
295 * libc/sys/linux/sys/termios.h: Add include of machine/termios.h
296 to get __MAX_BAUD rate.
297 * libc/sys/linux/machine/i386/include/termios.h: New file.
298 * libc/include/machine/termios.h: Ditto.
299 * libc/sys/linux/cfspeed.c: Ditto.
300 * libc/sys/linux/tcsendbrk.c: Ditto.
301
d29587b4
JJ
3022002-05-24 Jeff Johnston <jjohnstn@redhat.com>
303
304 * libc/include/string.h: Add strnlen and strerror_r prototypes.
305 * libc/string/Makefile.am: Add strnlen.c and strerror_r.c support.
306 * libc/string/Makefile.in: Regenerated.
307 * libc/string/strerror_r.c: New file.
308 * libc/string/strnlen.c: New file.
309 * libc/sys/linux/Makefile.am: Add rename.c.
310 * libc/sys/linux/Makefile.in: Regenerated.
311 * libc/sys/linux/rename.c: New file to override default rename.
312
9a292385
TF
3132002-05-24 Thomas Fitzsimmons <fitzsim@redhat.com>
314
315 * libc/sys/linux/sys/cdefs.h: Add __weak_reference macros.
316 * libc/sys/linux/sys/time.h: Add conversion macros.
317 * libc/sys/linux/sys/types.h: Add FD_ macros. Include <bits/types.h>.
318 * libc/sys/linux/ids.c: Add setresuid and syslog syscalls.
319 * libc/sys/linux/gethostname.c: New file.
320 * libc/sys/linux/seteuid.c: New file.
321 * libc/sys/linux/sysctl.c: New file.
322
7a364eb3
JJ
3232002-05-23 Jeff Johnston <jjohnstn@redhat.com>
324
325 * libc/string/Makefile.am: Add support for strsep.c.
326 * libc/string/Makefile.in: Regenerated.
327 * libc/string/strsep.c: New file.
328 * libc/string/strtok.c: Change to call __strtok_r service routine.
329 * libc/string/strtok_r.c: Add __strtok_r routine which takes
330 additional flag parameter regarding whether to skip leading delimeters.
331 Change strtok_r to call __strtok_r.
332
164ee5b0
JJ
3332002-05-23 Gareth Pearce <tilps@hotmail.com>
334
335 * libc/stdio/Makefile.am: Modify to add setbuffer.c and setlinebuf.c.
336 * libc/stdio/Makefile.in: Regenerated.
337 * libc/stdio/setbuffer.c: New file.
338 * libc/stdio/setlinebuf.c: New file.
339
f6b2b567
JJ
3402002-05-23 Jeff Johnston <jjohnstn@redhat.com>
341
342 * libc/sys/linux/Makefile.am: Add resource.c.
343 * libc/sys/linux/Makefile.in: Regenerated.
344 * libc/sys/linux/resource.c: New file.
345 * libc/sys/linux/time.c: Add settimeofday, getitimer, and setitimer.
346 * libc/sys/linux/machine/i386/Makefile.am: Remove syscalls.c.
347 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
348 * libc/sys/linux/machine/i386/syscalls.c: Removed as functions
349 are now found in libc/sys/linux/resource.c.
350
afe56517
JJ
3512002-05-23 Jeff Johnston <jjohnstn@redhat.com>
352
353 * libc/include/string.h (bcmp, bcopy, bzero): Change prototypes
354 to use void * pointers and comply with Single Unix spec.
355 * libc/string/bcmp.c: Change to use void * instead of char *.
356 * libc/string/bcopy.c: Ditto.
357 * libc/string/bzero.c: Ditto.
358
7736feb2
JJ
3592002-05-22 Jeff Johnston <jjohnstn@redhat.com>
360
361 * libc/sys/linux/shm_open.c: New file.
362 * libc/sys/linux/shm_unlink.c: Ditto.
363 * libc/sys/linux/Makefile.am: Add support for shm_open.c and
364 shm_unlink.c.
365 * libc/sys/linux/Makefile.in: Regenerated.
366 * libc/sys/linux/sys/types.h: Add some additional checks to see
367 if clock_t or time_t is already defined.
368
19f111bd
JJ
3692002-05-22 Jeff Johnston <jjohnstn@redhat.com>
370
371 * Makefile.am: Don't pass $toollibdir down directly in
372 AM_MAKEFLAGS as it causes all multilibs to use the same toollibdir.
373 Pass it under the name: top_toollibdir.
374 * Makefile.in: Regenerated.
375
c811b1ee
CV
3762002-05-22 Corinna Vinschen <vinschen@redhat.com>
377
378 * libc/include/sys/types.h: Revert previous patch.
379
2b43ad33
CV
3802002-05-22 Corinna Vinschen <vinschen@redhat.com>
381
382 * libc/include/sys/types.h: Include cygwin/types.h always under
383 Cygwin, not only if _POSIX_THREADS is defined.
384
dd671cde
TF
3852002-05-21 Dhananjay Deshpande <dhananjayd@kpit.com>
386
387 * configure.host: Specify sys_dir=h8300hms for h8300-*-coff* target.
388
5e2cbfb6
JJ
3892002-05-17 Jeff Johnston <jjohnstn@redhat.com>
390
391 * Makefile.am: Copy and install headers from sys/machine/include
392 directory. Also pass $toollibdir to lower-level directories.
393 * Makefile.in: Regenerated.
394 * libc/include/stdio.h[!_REENT_ONLY]: Change stdin, stdout, and
395 stderr to use _REENT macro instead of _impure_ptr directly.
396 * libc/include/sys/config.h[__i386__][__linux__]: Define
397 __DYNAMIC_REENT__.
398 * libc/include/sys/reent.h[!_REENT_ONLY]: Change _REENT macro to be
399 call to __getreent() function if !__SINGLE_THREAD__ and
400 __DYNAMIC_REENT__ is set.
401 * libc/reent/Makefile.am: Add support for getreent.c.
402 * libc/reent/Makefile.in: Regenerated.
403 * libc/string/strerror.c: Add check if EOPNOTSUPP and ENOTSUP are same.
404 * libc/sys/linux/Makefile.am: Add support for new files.
405 * libc/sys/linux/configure.in: Add $EXTRA_DIRS variable.
406 * libc/sys/linux/Makefile.in: Regenerated.
407 * libc/sys/linux/configure: Ditto.
408 * libc/sys/linux/io.c: Add poll syscall. Also weak-alias
409 __close, __read, __write, __poll, __open, __lseek, __fcntl from
410 their __libc_ counterparts.
411 * libc/sys/linux/io64.c: Add __libc_ prefix to lseek64 and open64
412 and weak-alias to regular names.
413 * libc/sys/linux/pread64.c: Rename to __libc_pread64 and weak-alias
414 to pread64 and __pread64.
415 * libc/sys/linux/process.c: Weak_alias __libc_getpid to __getpid.
416 * libc/sys/linux/pwrite64.c: Rename to __libc_pwrite64 and
417 weak-alias to pwrite64.
418 * libc/sys/linux/sched.c: Weak-alias __libc_sched_getparam,
419 __libc_sched_getscheduler, __libc_sched_get_priority_max,
420 __libc_sched_get_priority_min, and __libc_sched_setschedule to
421 name with __ instead of __libc_.
422 * libc/sys/linux/siglongjmp.c: Include <machine/weakalias.h>.
423 Rename siglongjmp to __libc_siglongjmp and weak-alias to siglongjmp.
424 Call __libc_longjmp instead of longjmp, from __libc_siglongjmp.
425 * libc/sys/linux/signal.c: Rename raise to __libc_raise and weak-alias
426 to raise.
427 * libc/sys/linux/socket.c: Weak-alias __libc_connect to __connect and
428 __libc_send to __send.
429 * libc/sys/linux/time.c: Weak-alias __libc_gettimeofday to
430 __gettimeofday.
431 * libc/sys/linux/wait.c: Rename wait to __libc_wait and weak-alias
432 it to wait. Rename wait3 to __libc_wait3 and weak-alias it to wait3.
433 * libc/sys/linux/include/setjmp.h: Use __jmp_buf in sigjmp_buf
434 type and typedef __jmp_buf to jmp_buf.
435 * libc/sys/linux/machine/i386/Makefile.am: Add syscalls.c and
436 setjmp.S.
437 * libc/sys/linux/machine/i386/Makefile.in: Regenerated.
438 * libc/sys/linux/machine/i386/crt0.c: Add support to clear .bss
439 section.
440 * libc/sys/linux/machine/i386/socketcall.h: Change to use __libc_
441 prefix for function macros and then use weak_alias() to regular names.
442 * libc/sys/linux/machine/i386/syscall.h: Ditto.
443 * libc/sys/linux/sys/errno.h: Define EOPNOTSUP to be ENOTSUP.
444 * libc/sys/linux/sys/stdio.h: Define _flockfile and _funlockfile
445 to be flockfile() and funlockfile() respectively.
446 * libc/sys/linux/sys/types.h
447 * libc/reent/getreent.c: New file.
448 * libc/sys/linux/flockfile.c: Ditto.
449 * libc/sys/linux/funlockfile.c: Ditto.
450 * libc/sys/linux/getreent.c: Ditto.
451 * libc/sys/linux/pread.c: Ditto.
452 * libc/sys/linux/pwrite.c: Ditto.
453 * libc/sys/linux/raise.c: Ditto.
454 * libc/sys/linux/system.c: Ditto.
455 * libc/sys/linux/tcdrain.c: Ditto.
456 * libc/sys/linux/machine/i386/i386mach.h: Ditto.
457 * libc/sys/linux/machine/i386/setjmp.S: Ditto.
458 * libc/sys/linux/machine/i386/syscalls.c: Ditto.
459 * libc/sys/linux/machine/i386/weakalias.h: Ditto.
460 * libc/sys/linux/machine/i386/include/setjmp.h: Ditto.
461
7fc85bd1
TF
4622002-05-14 Dhananjay Deshpande <dhananjayd@kpit.com>
463
464 * newlib/libc/sys/h8300hms/Makeile.am (lib_a_SOURCES): Add read.c.
465 * newlib/libc/sys/h8300hms/read.c: New file. Magic trap 0xC8 for sim.
466 * newlib/libc/sys/h8300hms/syscalls.c: Move _read() to read.c.
467 * newlib/libs/sys/h8300hms/sys/syscall.h: New file.
468
6935231f 469Thu May 16 17:24:57 2002 J"orn Rennecke <joern.rennecke@superh.com>
d7a2f413
JR
470
471 * libc/machine/sh/strcpy.S (strcpy): Replace LITTLE_ENDIAN with
6935231f
JR
472 __LITTLE_ENDIAN__. make sure r0 has right value at first loop
473 exit point.
d7a2f413 474
3a6cb01b
TF
4752002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
476
a68fa571
TF
477 * testsuite/lib/newlib.exp: Add newlib_include_flags to compile
478 options when testing natively on i[3456]86-*-linux.
479
3a6cb01b
TF
480 * testsuite/lib/checkoutput.exp (newlib_check_output): Output
481 only one pass or fail per test file. Trim \r's from output
482 values received from test programs. Remove support for named
483 tests.
484 * testsuite/newlib.locale/UTF-8.exp: Update to support new
485 newlib_check_output behaviour.
486 * testsuite/newlib.locale/UTF-8.c: Likewise.
487
dc824ef7
JJ
4882002-05-15 Jeff Johnston <jjohnstn@redhat.com>
489
490 * libc/include/stdlib.h: Add on_exit prototype.
491 * libc/include/sys/reent.h (struct _atexit): Add argument array
492 and bits to track type of exit routine to support both on_exit
493 and atexit.
494 (_REENT_INIT_PTR): Add missing fields that won't be zeroed out
495 by default and change the setting of the atexit structure.
496 (_REENT_INIT)[!_REENT_SMALL]: Remove extraneous end brace.
497 * libc/stdlib/on_exit.c: New file.
498 * libc/stdlib/Makefile.am: Add support for on_exit.
499 * libc/stdlib/Makefile.in: Regenerated.
500 * libc/stdlib/atexit.c: Change to initialize types field.
501 * libc/stdlib/exit.c: Change to look at types field for each
502 exit routine and either call an atexit-style or an on_exit-style
503 routine accordingly.
504
48d91b4a
JJ
5052002-05-13 Jeff Johnston <jjohnstn@redhat.com>
506
507 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Don't
508 allow v specifier with n or L specifiers. For vector c format,
509 move tmp declaration to the top.
510
024739eb
JJ
5112002-05-13 Jeff Johnston <jjohnstn@redhat.com>
512
513 * libc/machine/powerpc/vfprintf.c(__VFPRINTF_R)[__ALTIVEC__]: Restore
514 the original format specifier when looping for vectors to compensate
515 for any changes made in vector %g format processing.
516 Also add syntax checking for various invalid scenarios
517 involving vector format extensions.
518 * libc/machine/powerpc/vfscanf.c(__VFSCANF_R)[__ALTIVEC__]: Fix
519 return code setting for vector formats. Also treat vector
520 separator mismatch as a match error instead of an input error.
521 Perform some syntax checking for vector formats.
522
7d2ce898
TF
5232002-05-10 Mark Bradshaw <bradshaw@staff.crosswalk.com>
524
525 * libc/include/string.h (!__STRICT_ANSI__): Add strlcat and strlcpy.
526 * libc/string/Makefile.am: Add strlcat.c and strlcpy.c.
527 * libc/string/strlcat.c: New file.
528 * libc/string/strlcpy.c: New file.
529
809b6ce7
JJ
5302002-05-10 Jeff Johnston <jjohnstn@redhat.com>
531
532 * libc/string/strchr.c: Fix comment typo.
533
76490806
TF
5342002-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
535
0c048a9a
TF
536 * acinclude.m4: Add support for --enable-newlib-multithread.
537 * configure.host (newlib_cflags): Add -D__SINGLE_THREAD__ if
538 --enable-newlib-multithread=no.
539
76490806
TF
540 * libc/stdio/getc_u.c: New file.
541 * libc/stdio/getchar_u.c: New file.
542 * libc/stdio/putc_u.c: New file.
543 * libc/stdio/putchar_u.c: New file.
544 * libc/include/stdio.h: Add declarations for getc_unlocked,
545 getchar_unlocked, putc_unlocked and putchar_unlocked.
546 * libc/stdio/Makefile.am (LIB_SOURCES): Add new files.
547 (CHEWOUT_FILES): Add new files' .def's.
548 * libc/stdio/putchar.c (_putchar_r): Replace __sputc with putc.
549
96bff22c
JR
550Wed May 8 17:47:35 2002 J"orn Rennecke <joern.rennecke@superh.com>
551
552 * libc/machine/sh/memset.S (memset, __SHMEDIA__ code):
553 Also handle as single quad word when destination ends at last
554 byte of first quad word. Fix byte selection in single quad code.
555
e71372fa
TF
5562002-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
557
558 * libc/include/sys/stdio.h: New file.
559 * libc/sys/linux/sys/stdio.h: New file.
560 * libc/include/stdio.h: Add declarations for flockfile,
561 ftrylockfile, and funlockfile. Include <sys/stdio.h>.
562 * libc/stdio/clearerr.c: Add file locking.
563 * libc/stdio/fclose.c: Likewise.
564 * libc/stdio/feof.c: Likewise.
565 * libc/stdio/ferror.c: Likewise.
566 * libc/stdio/fflush.c: Likewise.
567 * libc/stdio/fgetc.c: Likewise.
568 * libc/stdio/fgetpos.c: Likewise.
569 * libc/stdio/fgets.c: Likewise.
570 * libc/stdio/fileno.c: Likewise.
571 * libc/stdio/fputc.c: Likewise.
572 * libc/stdio/fputs.c: Likewise.
573 * libc/stdio/fread.c: Likewise.
574 * libc/stdio/freopen.c: Likewise.
575 * libc/stdio/fseek.c: Likewise.
576 * libc/stdio/ftell.c: Likewise.
577 * libc/stdio/fwrite.c: Likewise.
578 * libc/stdio/getc.c: Likewise.
579 * libc/stdio/putc.c: Likewise.
580 * libc/stdio/setvbuf.c: Likewise.
581 * libc/stdio/ungetc.c: Likewise.
582 * libc/stdio/vfprintf.c: Likewise.
583
a03790e4
JJ
5842002-05-06 Jeff Johnston <jjohnstn@redhat.com>
585
60b2107c
TF
586 * libc/machine/powerpc/vfprintf.c[__ALTIVEC__]: Add vector
587 support for 'p' format. Fix code to print bytes for vector
588 integer formats that do not specify 'h' or 'l'.
589 * libc/machine/powerpc/vfscanf.c[__ALTIVEC__]: Add vector support
590 for 'p' specifier. Fix code to scan 16 bytes for vector integer
591 formats that do not specify 'h' or 'l'.
592
593 * libc/include/stdlib.h (a64l, l64a, _l64a_r): Added prototypes.
594
9c7d6a9d
TF
5952002-05-06 Nick Clifton <nickc@cambridge.redhat.com>
596
597 * libc/sys/arm/syscalls.c (_rename): Add parameter names.
598 (_sbrk): Add cast of return value.
599
c33c3635
JJ
6002002-05-06 Jeff Johnston <jjohnstn@redhat.com>
601
602 * libc/include/sys/reent.h (_l64a_buf): New reentrant area.
603 (_REENT_L64A_BUF): New macro for accessing area.
604 * libc/stdlib/Makefile.am: Add a64l.c and l64a.c.
605 * libc/stdlib/Makefile.in: Regenerated.
606 * libc/stdlib/a64l.c: New file.
607 * libc/stdlib/l64a.c: New file.
608
f78e59a8
JJ
6092002-05-06 Jeff Johnston <jjohnstn@redhat.com>
610
611 * libc/unix/pread.c: Fix typo for _pread_r.
612 * libc/unix/pwrite.c: Fix type for _pwrite_r.
613 * libc/sys/linux/pread64.c: Fix typo for read syscall.
614 * libc/sys/linux/pwrite64.c: Fix typo for write syscall.
615
4b3f6588
CF
6162002-05-03 Christopher Faylor <cgf@redhat.com>
617
618 * libc/include/sys/unistd.h: Define getdomainname under cygwin.
619
e911832c
TF
6202002-05-03 Thomas Fitzsimmons <fitzsim@redhat.com>
621
622 * configure.in (CC_FOR_NEWLIB): Change -isystem's to -I's.
623
0d0fdc8d
CF
6242002-05-01 Christopher Faylor <cgf@redhat.com>
625
626 * utmp.h: Define more UNIX constants.
627
1e997c56
TF
6282002-05-01 Thomas Fitzsimmons <fitzsim@redhat.com>
629
0717f01c
TF
630 * Makefile.am: Add support for checking multilibs.
631
09841445
TF
632 * libc/Makefile.am (SUBLIBS): Add LIBC_EXTRA_LIB.
633 (SUBDEFS): Add LIBC_EXTRA_DEF.
634 * libc/configure.in (LIBC_EXTRA_LIB): New variable.
635 (LIBC_EXTRA_DEF): Likewise.
636 (extra_dir): Likewise.
637 * libc/machine/xscale/machine: New directory.
638 * libc/machine/xscale/machine/profile.h: New file.
639
1e997c56
TF
640 * Makefile.am (site.exp): Remove newlib_cflags. Add
641 multibuildtop.
642 * testsuite/newlib.locale/UTF-8.c: Change fprintf's to printf's.
643 * testsuite/lib/flags.exp: New file.
644 * testsuite/lib/newlib.exp: Load flags.exp.
645 (newlib_target_compile): Remove libgloss directory references.
646 (newlib_init): Remove newlib_cflags references.
647
4cf4f010
TF
6482002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
649
f6bdb6f9
TF
650 * testsuite/lib/newlib.exp (newlib_target_compile): Change
651 method of finding libgloss_target_dir.
652
4cf4f010
TF
653 * Makefile.am (site.exp): Change host_alias, host_triplet,
654 target_alias, target_triplet to refer to gcc's host and target
655 variables (newlib's build and host variables).
656 * testsuite/lib/newlib.exp (newlib_init): Change build
657 references to host references, host references to target
658 references to reflect Makefile.am changes.
659 (newlib_target_compile): Likewise.
660 (newlib_finish): Likewise.
661
83096ae8
JJ
6622002-04-29 Jeff Johnston <jjohnstn@redhat.com>
663
664 * libc/sys/linux/io64.c (fstat64, lstat64): New syscalls added.
665
822afa53
JL
6662002-04-29 Jonathan Larmour <jlarmour@redhat.com>
667
668 * libc/sys/arm/syscalls.c (_rename): New function. Just a stub.
669 (_system): New function. Ditto.
670 * libc/stdlib/system.c (_system_r): Call _system if HAVE_SYSTEM.
671 * configure.host: define HAVE_SYSTEM and HAVE_RENAME for xscale
672 targets.
673
29798f0d
JJ
6742002-04-29 Jeff Johnston <jjohnstn@redhat.com>
675
676 * libc/include/sys/unistd.h (pread, pwrite): Added prototypes.
677 * libc/unix/Makefile.am: Add pread.c and pwrite.c.
678 * libc/sys/linux/Makefile.am: Add pread64.c and pwrite64.c.
679 * libc/sys/linux/Makefile.in: Regenerated.
680 * libc/unix/Makefile.in: Ditto.
681 * libc/sys/linux/pread64.c: New file.
682 * libc/sys/linux/pwrite64.c: Ditto.
683 * libc/unix/pread.c: Ditto.
684 * libc/unix/pwrite.c: Ditto.
685
557856bd
JJ
6862002-04-26 Jeff Johnston <jjohnstn@redhat.com>
687
688 * libc/sys/linux/Makefile.am: Add io64.c.
689 * libc/sys/linux/Makefile.in: Regenerated.
690 * libc/sys/linux/io.c(mkfifo, fsync, fdatasync): Added syscalls.
691 * libc/sys/linux/signal.c (sigwaitinfo, sigtimedwait): Ditto.
692 * libc/sys/linux/io64.c: New file.
693
7b2b12d5
JJ
6942002-04-26 Jeff Johnston <jjohnstn@redhat.com>
695
696 * configure.in (CC_FOR_NEWLIB): New variable that
697 bases on $(CC) and adds targ-include and libc/include as
698 -isystem directives if they are not already part of $(CC).
699 * Makefile.am (AM_MAKEFLAGS): Change setting of CC to equal
700 $(CC_FOR_NEWLIB).
701 * configure: Regenerated.
702 * Makefile.in: Ditto.
703
c62adacc
JJ
7042002-04-25 Jeff Johnston <jjohnstn@redhat.com>
705
706 * libc/sys/linux/Makefile.am: Add support for sched.c.
707 * libc/sys/linux/Makefile.in: Regenerated.
708 * libc/sys/linux/sched.c: New file.
709 * libc/sys/linux/sys/types.h: Add struct timespec.
710
217ad4a0
TF
7112002-04-25 Thomas Fitzsimmons <fitzsim@redhat.com>
712
713 * configure.in (CC_FOR_BUILD): Set to gcc whether
714 cross-compiling or not.
715 (CC): Add -isystem's for targ-include and libc/include when they
716 do not already appear in CC.
717
eaa75b70
TF
7182002-04-24 Thomas Fitzsimmons <fitzsim@redhat.com>
719
720 * Makefile.am (check-DEJAGNU): New target.
721 (site.exp): Likewise.
722 * acinclude.m4 (NEWLIB_CONFIGURE): Replace AC_CANONICAL_HOST
723 with AC_CANONICAL_SYSTEM. Remove AC_CANONICAL_BUILD.
724 * libc/locale/locale.c (_setlocale_r): Add UTF-8 support.
725 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Likewise.
726 * libc/stdlib/wctomb_r.c (_wctomb_r): Likewise.
727 * testsuite: New directory.
728 * testsuite/config: Likewise.
729 * testsuite/lib: Likewise.
730 * testsuite/newlib.locale: Likewise.
731 * testsuite/newlib.string: Likewise.
732 * testsuite/config/default.exp: New file.
733 * testsuite/lib/checkoutput.exp: New file.
734 * testsuite/lib/newlib.exp: New file.
735 * testsuite/lib/passfail.exp: New file.
736 * testsuite/newlib.locale/UTF-8.c: New file.
737 * testsuite/newlib.locale/UTF-8.exp: New file.
738 * testsuite/newlib.locale/locale.exp: New file.
739 * testsuite/newlib.string/string.exp: New file.
740 * testsuite/newlib.string/tstring.c: New file.
741
b9f9f699
JJ
7422002-04-23 Jeff Johnston <jjohnstn@redhat.com>
743
744 * libc/include/machine/types.h (__pid_t, __off_t, __loff_t): Added.
745 * libc/sys/linux/Makefile.am: Add support for mmap.c.
746 * libc/sys/linux/Makefile.in: Regenerated.
747 * libc/sys/linux/mmap.c: New file.
748 * libc/sys/linux/machine/i386/syscall.h: Add _syscall6 macro.
749 * libc/sys/linux/sys/types.h (pid_t, off_t, loff_t): Added.
750
7394edbb
TF
7512002-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
752
753 * acinclude.m4 (newlib_cflags): Remove include directories that
754 are already specified in the top-level configure.in's FLAGS_FOR_TARGET.
755
b9f9f699 7562002-04-19 Bill Siegmund <ctc-dsl@pacbell.net>
59be2290
JJ
757
758 * libc/machine/xscale/memchr.c: Don't use multi-line strings.
759 * libc/machine/xscale/memcmp.c: Ditto.
760 * libc/machine/xscale/memcpy.c: Ditto.
761 * libc/machine/xscale/memmove.c: Ditto.
762 * libc/machine/xscale/memset.c: Ditto.
763 * libc/machine/xscale/strchr.c: Ditto.
764 * libc/machine/xscale/strcmp.c: Ditto.
765 * libc/machine/xscale/strcpy.c: Ditto.
766 * libc/machine/xscale/strlen.c: Ditto.
767
2dd4c4dc
JJ
7682002-04-19 Alexandre Oliva <aoliva@redhat.com>
769
770 * libc/include/sys/config.h: Remove include of <limits.h>.
771 (__INT_MAX__, __LONG_MAX__): Define like GCC's limits.h would
772 define INT_MAX and LONG_MAX. Use them in tests.
773
0d844014
JJ
7742002-04-19 Jeff Johnston <jjohnstn@redhat.com>
775
776 * configure.host: Add support for powerpc-eabialtivec*.
777 * libc/include/malloc.h: Add include of <machine/malloc.h>.
778 * libc/include/stdlib.h: Add include of <machine/stdlib.h>.
779 * libc/include/machine/malloc.h: New file.
780 * libc/include/machine/stdlib.h: Ditto.
781 * libc/include/machine/setjmp.h: Add support for powerpc altivec.
782 * libc/machine/powerpc/Makefile.am: Add conditional objects and
783 sources based on configuration.
784 * libc/machine/powerpc/Makefile.in: Regenerated.
785 * libc/machine/powerpc/configure: Ditto.
786 * libc/machine/powerpc/configure.in: Add check for
787 powerpc-eabialtivec* in which case add in additional source files.
788 * libc/machine/powerpc/setjmp.S: Add altivec support.
789 * libc/machine/powerpc/vec_calloc.c: New file.
790 * libc/machine/powerpc/vec_free.c: Ditto.
791 * libc/machine/powerpc/vec_malloc.c: Ditto.
792 * libc/machine/powerpc/vec_mallocr.c: Ditto.
793 * libc/machine/powerpc/vec_realloc.c: Ditto.
794 * libc/machine/powerpc/machine/malloc.h: Ditto.
795 * libc/machine/powerpc/machine/stdlib.h: Ditto.
796 * libc/machine/powerpc/vfprintf.c: New file that is vfprintf.c
797 with added altivec format specifiers.
798 * libc/machine/powerpc/vfscanf.c: New file that is vfscanf.c with
799 added altivec format specifiers.
800
d413aadc
JS
8012002-04-19 Joel Sherrill <joel@OARcorp.com>
802
803 * libs/sys/rtems/crt0.c: Satisfy gcc's references to libc functions
804 while autoconf is trying to link main(){}.
805
27193895
JJ
8062002-04-17 Jeff Johnston <jjohnstn@redhat.com>
807
808 * libc/sys/linux/signal.c: Remove include of <bits/sigset.h>.
809 * libc/sys/linux/sys/signal.h: Add include of <bits/sigset.h>.
810
10d00216
JJ
8112002-04-17 Jeff Johnston <jjohnstn@redhat.com>
812
6b0f808e
JJ
813 * libc/time/time.tex: Add tzset info.
814
8152002-04-17 Jeff Johnston <jjohnstn@redhat.com>
816
817 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
818 (strptime): Moved prototype to be within !__STRICT_ANSI__.
819 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
820 (tzname): Defined for all platforms.
821 (daylight, timezone): Defined only for CYGWIN.
822 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
823 environment set up.
824 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
825 environment variable is set.
826 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
827 tzset_r.c.
828 * libc/time/Makefile.in: Regenerated.
829 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
830 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
831 * libc/time/lcltime_r.c (lcltime_r): Ditto.
832 * libc/time/local.h: New local header file.
833 * libc/time/mktime.c (mktime): Add timezone support.
834 * libc/time/mktm_r.c: New file which is the common engine
835 for gmtime_r and lcltime_r. This code has timezone support.
836 * libc/time/strftime.c (strftime): Add %Z timezone support.
837 * libc/time/tzlock.c: New file containing timezone lock stubs.
838 * libc/time/tzset.c: New file containing tzset() routine.
839 * libc/time/tzset_r.c: New file containing _tzset_r and
840 internal routine for calculating timezone changes for specified year.
841
8422002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
843
844 * configure.in (CRT0_DIR): Set to libc/.
845 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
846 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
847 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
848 $(CRT1_DIR)/$(CRT1).
849 * libc/machine/xstormy16/Makefile.in: Regenerated.
850 * libc/machine/xstormy16/aclocal.m4: Regenerated.
851 * libc/machine/xstormy16/configure: Regenerated.
852
8532002-04-13 Alexandre Oliva <aoliva@redhat.com>
854
855 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
856 fails, don't bail out, and try to correct next time.
857
858 * libc/include/sys/config.h: Include limits.h.
859
8602002-04-12 Eric Norum <eric.norum@usask.com>
861
862 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
863 routine to allow autoconf to determine that building executables
864 for rtems works.
865 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
866 (rtems_gxx_mutex_once): Ditto.
867
8682002-04-09 Tom Rix <trix@redhat.com>
869
870 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
871
8722002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
873
874 * libc/include/time.h: Fix strptime declaration.
875 * libc/time/Makefile.am: Add strptime.c.
876 * libc/time/Makefile.in: Regenerated.
877 * libc/time/strptime.c: New file.
878
8792002-04-08 Jeff Johnston <jjohnstn@redhat.com>
880
881 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
882 siglongjmp prototype, and sigsetjmp macro definition.
883 * libc/sys/linux/siglongjmp.c: New file.
884 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
885 * libc/sys/linux/Makefile.in: Regenerated.
886
8872002-04-04 Jeff Johnston <jjohnstn@redhat.com>
888
889 * Makefile.am: Add support for installing crt1.o if one exists.
890 * configure.host: Specify crt1.o for linux.
891 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
892 * Makefile.in: Regenerated.
893 * configure: Ditto.
894 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
895 Added for non-Cygwin, non-RTEMS configurations.
896 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
897 * libc/sys/linux/Makefile.in: Regenerated.
898 * libc/sys/linux/crt1.c: New empty file to override one defaulted
899 by gcc. This fixes problem with reconfiguring linux newlib build.
900 * libc/sys/linux/sysconf.c: New file.
901
9022002-04-03 Jeff Johnston <jjohnstn@redhat.com>
903
904 * configure.host: Add support for machine subdirectory of
905 sys subdirectory.
906 * configure.in: Add check for sys machine subdirectory.
907 * Makefile.am: Ditto.
908 * configure: Regenerated.
909 * Makefile.in: Ditto.
910 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
911 * libc/sys/linux/sys/syscall.h: Ditto.
912 * libc/sys/linux/sleep.c: New file.
913 * libc/sys/linux/socket.c: Ditto.
914 * libc/sys/linux/sockops.h: Ditto.
915 * libc/sys/linux/stack.c: Ditto.
916 * libc/sys/linux/usleep.c: Ditto.
917 * libc/sys/linux/machine/Makefile.am: Ditto.
918 * libc/sys/linux/machine/Makefile.in: Ditto.
919 * libc/sys/linux/machine/aclocal.m4: Ditto.
920 * libc/sys/linux/machine/configure: Ditto.
921 * libc/sys/linux/machine/configure.in: Ditto.
922 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
923 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
924 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
925 * libc/sys/linux/machine/i386/configure: Ditto.
926 * libc/sys/linux/machine/i386/configure.in: Ditto.
927 * libc/sys/linux/machine/i386/crt0.c: Ditto.
928 * libc/sys/linux/machine/i386/sigset.c: Ditto.
929 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
930 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
931 * libc/sys/linux/machine/i386/syscall.h: Ditto.
932 * libc/sys/linux/sys/select.h: Ditto.
933 * libc/sys/linux/configure.in: Add support for machine directory.
934 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
935 * libc/sys/linux/Makefile.in: Regenerated.
936 * libc/sys/linux/configure: Ditto.
937 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
938 * libc/sys/linux/inode.c: Ditto.
939 * libc/sys/linux/linux.c: Ditto.
940 * libc/sys/linux/process.c: Ditto.
941 * libc/sys/linux/systat.c: Ditto.
942 * libc/sys/linux/time.c: Ditto.
943 * libc/sys/linux/wait.c: Ditto.
944 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
945 * libc/sys/linux/io.c: Change header plus add readv/writev.
946 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
947 use __sigsuspend syscall.
948 * libc/sys/linux/select.c: Change header plus change select to
949 use _newselect syscall.
950 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
951 used by glibc header files.
952 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
953 types.
954
9552002-04-01 Jeff Johnston <jjohnstn@redhat.com>
956
957 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
958 initializing a struct _reent that has been dynamically allocated.
959 (_REENT_CHECK_MISC): New macro that checks _misc struct for
960 _REENT_SMALL and does nothing otherwise.
961 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
962 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
963 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
964 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
965 [_REENT_SMALL](struct _misc_reent): New structure containing
966 miscellaneous reentrant areas needed by newlib.
967 [_REENT_SMALL](struct _reent): Add _misc pointer.
968 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
969 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
970 and _REENT_STRTOK_LAST macros.
971 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
972 and _REENT_MBLEN_STATE macros.
973 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
974 and _REENT_MBTOWC_STATE macros.
975 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
976 and _REENT_WCTOMB_STATE macros.
977
9782002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
979
980 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
981
982Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
983
984 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
985
986Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
987
988 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
989 Store high part of leading bytes too.
990
9912002-03-22 Richard Sandiford <rsandifo@redhat.com>
992
993 * libm/math/ef_hypot.c: Increase scale factor to 68.
994
9952002-03-13 Alexandre Oliva <aoliva@redhat.com>
996
997 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
998 error.
999
10002002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1001
1002 * libc/sys/go32/access.c: Change license to relaxed license
1003 used in identical file throughout newlib/libgloss.
1004
10052002-03-12 Richard Earnshaw <rearnsha@arm.com>
1006
1007 * libc/sys/arm/access.c: New file.
1008 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1009 * libc/sys/arm/Makefile.in: Regenerate.
1010 * libc/sys/arm/syscalls.c (_stat): New function.
1011
10122002-03-11 Michael Meissner <meissner@redhat.com>
1013
1014 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1015 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1016 * libc/machine/mips/Makefile.in: Regenerate.
1017 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1018 * libc/machine/mips/memset.c: Dito.
1019 * libc/machine/mips/strcmp.c: Dito.
1020 * libc/machine/mips/strlen.c: Dito.
1021 * libc/machine/mips/strncmp.c: Dito.
1022
10232002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1024
1025 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1026 object so it works for shared library or statici library.
10272002-04-17 Jeff Johnston <jjohnstn@redhat.com>
1028
10d00216
JJ
1029 * libc/include/time.h (tzset, _tzset_r): Added prototypes.
1030 (strptime): Moved prototype to be within !__STRICT_ANSI__.
1031 (_tzname, _daylight, _timezone): No long __CYGWIN__ only.
1032 (tzname): Defined for all platforms.
1033 (daylight, timezone): Defined only for CYGWIN.
1034 * libc/sys/linux/machine/i386/crt0.c: Add call to tzset() after
1035 environment set up.
1036 * libc/stdlib/setenv_r.c (_setenv_r): Call tzset() if the TZ
1037 environment variable is set.
1038 * libc/time/Makefile.am: Add support for tzset.c, tzlock.c, and
1039 tzset_r.c.
1040 * libc/time/Makefile.in: Regenerated.
1041 * libc/time/gmtime.c (gmtime): Changed to call gmtime_r.
1042 * libc/time/gmtime_r.c (gmtime_r): Changed to call _mktm_r.
1043 * libc/time/lcltime_r.c (lcltime_r): Ditto.
1044 * libc/time/local.h: New local header file.
1045 * libc/time/mktime.c (mktime): Add timezone support.
1046 * libc/time/mktm_r.c: New file which is the common engine
1047 for gmtime_r and lcltime_r. This code has timezone support.
1048 * libc/time/strftime.c (strftime): Add %Z timezone support.
1049 * libc/time/tzlock.c: New file containing timezone lock stubs.
1050 * libc/time/tzset.c: New file containing tzset() routine.
1051 * libc/time/tzset_r.c: New file containing _tzset_r and
1052 internal routine for calculating timezone changes for specified year.
1053
5f1c13c6
TF
10542002-04-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1055
1056 * configure.in (CRT0_DIR): Set to libc/.
1057 (CRT1_DIR): Set to ${crt1_dir}/ if crt1_dir is non-empty.
1058 * Makefile.am: Change all occurrences of $(CRT0_DIR)/$(CRT0) to
1059 $(CRT0_DIR)$(CRT0) to prevent make warnings. Likewise for
1060 $(CRT1_DIR)/$(CRT1).
1061 * libc/machine/xstormy16/Makefile.in: Regenerated.
1062 * libc/machine/xstormy16/aclocal.m4: Regenerated.
1063 * libc/machine/xstormy16/configure: Regenerated.
1064
0cc261b1
AO
10652002-04-13 Alexandre Oliva <aoliva@redhat.com>
1066
2f3009bd
AO
1067 * libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
1068 fails, don't bail out, and try to correct next time.
1069
0cc261b1
AO
1070 * libc/include/sys/config.h: Include limits.h.
1071
26116455
JJ
10722002-04-12 Eric Norum <eric.norum@usask.com>
1073
1074 * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
1075 routine to allow autoconf to determine that building executables
1076 for rtems works.
1077 (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
1078 (rtems_gxx_mutex_once): Ditto.
1079
4608280d
TR
10802002-04-09 Tom Rix <trix@redhat.com>
1081
1082 * libc/include/sys/reent.h (_REENT_INIT_PTR): Fix typo.
1083
dea7e25c
JJ
10842002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1085
1086 * libc/include/time.h: Fix strptime declaration.
1087 * libc/time/Makefile.am: Add strptime.c.
1088 * libc/time/Makefile.in: Regenerated.
1089 * libc/time/strptime.c: New file.
1090
c5ef1e95
JJ
10912002-04-08 Jeff Johnston <jjohnstn@redhat.com>
1092
1093 * libc/sys/linux/include/setjmp.h: Add sigjmp_buf type,
1094 siglongjmp prototype, and sigsetjmp macro definition.
1095 * libc/sys/linux/siglongjmp.c: New file.
1096 * libc/sys/linux/Makefile.am: Add support for siglongjmp.
1097 * libc/sys/linux/Makefile.in: Regenerated.
1098
6e6cd5bd
JJ
10992002-04-04 Jeff Johnston <jjohnstn@redhat.com>
1100
1101 * Makefile.am: Add support for installing crt1.o if one exists.
1102 * configure.host: Specify crt1.o for linux.
1103 * configure.in: Expose CRT1 and CRT1_DIR for Makefile.am to use.
1104 * Makefile.in: Regenerated.
1105 * configure: Ditto.
1106 * libc/include/sys/unistd.h (_SC_STREAM_MAX, _SC_PRIORITY_SCHEDULING):
1107 Added for non-Cygwin, non-RTEMS configurations.
1108 * libc/sys/linux/Makefile.am: Add support for crt1 and sysconf.
1109 * libc/sys/linux/Makefile.in: Regenerated.
1110 * libc/sys/linux/crt1.c: New empty file to override one defaulted
1111 by gcc. This fixes problem with reconfiguring linux newlib build.
1112 * libc/sys/linux/sysconf.c: New file.
1113
fa4a16a1
JJ
11142002-04-03 Jeff Johnston <jjohnstn@redhat.com>
1115
1116 * configure.host: Add support for machine subdirectory of
1117 sys subdirectory.
1118 * configure.in: Add check for sys machine subdirectory.
1119 * Makefile.am: Ditto.
1120 * configure: Regenerated.
1121 * Makefile.in: Ditto.
1122 * libc/sys/linux/crt0.c: Moved to machine/i386 directory.
1123 * libc/sys/linux/sys/syscall.h: Ditto.
1124 * libc/sys/linux/sleep.c: New file.
1125 * libc/sys/linux/socket.c: Ditto.
1126 * libc/sys/linux/sockops.h: Ditto.
1127 * libc/sys/linux/stack.c: Ditto.
1128 * libc/sys/linux/usleep.c: Ditto.
1129 * libc/sys/linux/machine/Makefile.am: Ditto.
1130 * libc/sys/linux/machine/Makefile.in: Ditto.
1131 * libc/sys/linux/machine/aclocal.m4: Ditto.
1132 * libc/sys/linux/machine/configure: Ditto.
1133 * libc/sys/linux/machine/configure.in: Ditto.
1134 * libc/sys/linux/machine/i386/Makefile.am: Ditto.
1135 * libc/sys/linux/machine/i386/Makefile.in: Ditto.
1136 * libc/sys/linux/machine/i386/aclocal.m4: Ditto.
1137 * libc/sys/linux/machine/i386/configure: Ditto.
1138 * libc/sys/linux/machine/i386/configure.in: Ditto.
1139 * libc/sys/linux/machine/i386/crt0.c: Ditto.
1140 * libc/sys/linux/machine/i386/sigset.c: Ditto.
1141 * libc/sys/linux/machine/i386/sigstack.h: Ditto.
1142 * libc/sys/linux/machine/i386/socketcall.h: Ditto.
1143 * libc/sys/linux/machine/i386/syscall.h: Ditto.
1144 * libc/sys/linux/sys/select.h: Ditto.
1145 * libc/sys/linux/configure.in: Add support for machine directory.
1146 * libc/sys/linux/Makefile.am: Ditto plus add new files above.
1147 * libc/sys/linux/Makefile.in: Regenerated.
1148 * libc/sys/linux/configure: Ditto.
1149 * libc/sys/linux/brk.c: Use machine/syscall.h instead of sys/syscall.h.
1150 * libc/sys/linux/inode.c: Ditto.
1151 * libc/sys/linux/linux.c: Ditto.
1152 * libc/sys/linux/process.c: Ditto.
1153 * libc/sys/linux/systat.c: Ditto.
1154 * libc/sys/linux/time.c: Ditto.
1155 * libc/sys/linux/wait.c: Ditto.
1156 * libc/sys/linux/ids.c: Change header plus add setfsgid/setfsuid.
1157 * libc/sys/linux/io.c: Change header plus add readv/writev.
1158 * libc/sys/linux/signal.c: Change header plus change sigsuspend to
1159 use __sigsuspend syscall.
1160 * libc/sys/linux/select.c: Change header plus change select to
1161 use _newselect syscall.
1162 * libc/sys/linux/sys/cdefs.h: Add a number of standard definitions
1163 used by glibc header files.
1164 * libc/sys/linux/sys/types.h: Add __socklen_t and __useconds_t
1165 types.
1166
d4dca0e4
JJ
11672002-04-01 Jeff Johnston <jjohnstn@redhat.com>
1168
1169 * libc/include/sys/reent.h (_REENT_INIT_PTR): New macro for
1170 initializing a struct _reent that has been dynamically allocated.
1171 (_REENT_CHECK_MISC): New macro that checks _misc struct for
1172 _REENT_SMALL and does nothing otherwise.
1173 (_REENT_STRTOK_LAST): New macro for reentrant strtok.
1174 (_REENT_MBLEN_STATE): New macro for reentrant mblen.
1175 (_REENT_MBTOWC_STATE): New macro for reentrant mbtowc.
1176 (_REENT_WCTOMB_STATE): New macro for reentrant wctomb.
1177 [_REENT_SMALL](struct _misc_reent): New structure containing
1178 miscellaneous reentrant areas needed by newlib.
1179 [_REENT_SMALL](struct _reent): Add _misc pointer.
1180 [_REENT_SMALL](_REENT_INIT_MISC): New macro.
1181 * libc/string/strtok (strtok): Change to use _REENT_CHECK_MISC
1182 and _REENT_STRTOK_LAST macros.
1183 * libc/stdlib/mblen (mblen): Change to use _REENT_CHECK_MISC
1184 and _REENT_MBLEN_STATE macros.
1185 * libc/stdlib/mbtowc (mbtowc): Change to use _REENT_CHECK_MISC
1186 and _REENT_MBTOWC_STATE macros.
1187 * libc/stdlib/wctomb (wctomb): Change to use _REENT_CHECK_MISC
1188 and _REENT_WCTOMB_STATE macros.
1189
54a7c6d2
JJ
11902002-04-01 Till Straumann <strauman@SLAC.Stanford.EDU>
1191
1192 * libc/stdlib/getenv_r.c (_findenv_r): Add missing ENV_UNLOCK.
1193
c82479b1
CF
1194Wed Mar 27 07:34:44 2002 Jason Tishler <jason@tishler.net>
1195
1196 * libc/include/sys/features.h (_POSIX_SEMAPHORES): New Cygwin define.
1197
43ecf6e8
JR
1198Tue Mar 26 17:17:10 2002 J"orn Rennecke <joern.rennecke@superh.com>
1199
1200 * libc/machine/sh/memcpy.S (Large): Fix alignment rounding.
1201 Store high part of leading bytes too.
1202
a485d93f
RS
12032002-03-22 Richard Sandiford <rsandifo@redhat.com>
1204
1205 * libm/math/ef_hypot.c: Increase scale factor to 68.
1206
62a963ee
AO
12072002-03-13 Alexandre Oliva <aoliva@redhat.com>
1208
1209 * libc/machine/mips/strlen.c (strlen) [__mips16]: Fix off-by-two
1210 error.
1211
c53d8453
JJ
12122002-03-12 Jeff Johnston <jjohnstn@redhat.com>
1213
1214 * libc/sys/go32/access.c: Change license to relaxed license
1215 used in identical file throughout newlib/libgloss.
1216
d2a246ad
JJ
12172002-03-12 Richard Earnshaw <rearnsha@arm.com>
1218
1219 * libc/sys/arm/access.c: New file.
1220 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add access.c.
1221 * libc/sys/arm/Makefile.in: Regenerate.
1222 * libc/sys/arm/syscalls.c (_stat): New function.
1223
eabb48d5
MM
12242002-03-11 Michael Meissner <meissner@redhat.com>
1225
1226 * libc/machine/mips/Makefile.am (lib_a_SOURCES): Add Mips specific
1227 variants strlen.c, strcmp.c, strncpy.c, memset.c and memcpy.c.
1228 * libc/machine/mips/Makefile.in: Regenerate.
1229 * libc/machine/mips/memcpy.c: New file, optimized for MIPS.
1230 * libc/machine/mips/memset.c: Dito.
1231 * libc/machine/mips/strcmp.c: Dito.
1232 * libc/machine/mips/strlen.c: Dito.
1233 * libc/machine/mips/strncmp.c: Dito.
1234
2a606041
JJ
12352002-03-06 Jeff Johnston <jjohnstn@redhat.com>
1236
eabb48d5
MM
1237 * libc/machine/i386/Makefile.am: Add $(oext) for setjmp
1238 object so it works for shared library or statici library.
1239 * libc/machine/i386/Makefile.in: Regenerated.
2a606041 1240
55f26f11
JR
1241Wed Mar 6 10:24:26 2002 J"orn Rennecke <joern.rennecke@superh.com>
1242
96bff22c
JR
1243 * libc/machine/sh/Makefile.am (lib_a_SOURCES, SH64 case):
1244 Add memcpy.S, memset.S and strcpy.S.
1245 * libc/machine/sh/Makefile.in: Regenerate.
1246 * libc/machine/sh/asm.h (_ENTRY): Set SH5 alignment to 8 bytes.
55f26f11 1247 (SHHI, SHLO): Define.
96bff22c
JR
1248 * libc/machine/sh/memset.S: Add code for SH5.
1249 * libc/machine/sh/memset.S: Likewise.
1250 * libc/machine/sh/strcpy.S: Likewise.
55f26f11 1251
afecf2fa
JJ
12522002-02-27 Jeff Johnston <jjohnstn@redhat.com>
1253
1254 * configure.host: Add check for --disable-newlib-io-float
1255 configuration option and add -DNO_FLOATING_POINT to newlib cflags
1256 if appropriate.
1257 * acinclude.m4: Added --disable-newlib-io-float option.
1258 * aclocal.m4: Regenerated.
1259 * configure: Ditto.
1260 * doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
1261 * libc/*/aclocal.m4 libc/*/configure
1262 * libm/*/aclocal.m4 libm/*/configure: Ditto.
1263 * libc/stdio/vfprintf.c [!INTEGER_ONLY]: Only set FLOATING_POINT
1264 if NO_FLOATING_POINT flag is not defined.
1265
c1010a63
JJ
12662002-02-25 Jeff Johnston <jjohnstn@redhat.com>
1267
1268 * libc/include/sys/config.h: Add __extension__ in front of
1269 long long references.
1270
630c657e
CV
12712002-02-23 Corinna Vinschen <corinna@vinschen.de>
1272
1273 * libc/include/sys/stat.h (_fstat): Don't declare when compiling Cygwin.
1274 (_stat): Ditto.
1275
59ee2e20
CV
12762002-02-23 Corinna Vinschen <corinna@vinschen.de>
1277
1278 * libc/sys/cygwin/sys/dirent.h (struct __DIR): Use __off32_t instead
1279 of off_t.
1280
2dd68dc2
NC
12812002-02-20 Nick Clifton <nickc@cambridge.redhat.com>
1282
1283 * libc/machine/xscale/strchr.c (strchr): Add 'r1' to the list of
1284 clobbered registers.
1285
55500bf1
TF
12862002-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1287
1288 * configure.host (newlib_cflags): When host is in m68* add
1289 -DCOMPACT_CTYPE.
1290
ba0173f0
JJ
12912002-02-15 Jeff Johnston <jjohnstn@redhat.com>
1292
1293 * libc/include/sys/config.h: Add definitions for
1294 __int16_t, __uint16_t, __int64_t, and __uint64_t.
1295
7b61d0c5
JJ
12962002-02-12 Hans-Peter Nilsson <hp@bitrange.com>
1297
1298 * libc/sys/mmixware/link.c: New.
1299 * libc/sys/mmixware/sys/syscall.h (TRAP1i, I3f): Make asm
1300 volatile.
1301 * libc/sys/mmixware/times.c (_times): Renamed from times.
1302 * libc/sys/mmixware/open.c (_open): Attempt to handle O_APPEND
1303 properly by reading previous contents, not through BinaryReadWrite.
1304 * libc/sys/mmixware/Makefile.am (lib_a_SOURCES): Add link.c
1305 * libc/sys/mmixware/Makefile.in: Regenerate.
1306
a505db65
CV
13072002-02-10 Corinna Vinschen <corinna@vinschen.de>
1308
1309 * libc/include/grp.h: Don't declare group functions when compiling
1310 Cygwin.
1311
f3b39c45
CV
13122002-02-09 Corinna Vinschen <corinna@vinschen.de>
1313
1314 * libc/include/grp.h: Include Cygwin specific header.
1315 * libc/include/sys/stat.h: Ditto. Don't define `struct stat'
1316 when compiling for Cygwin.
1317 * libc/include/sys/types.h: Don't define off_t, uid_t
1318 and gid_t when compiling for Cygwin.
1319
82b3ac56
MG
13202002-02-08 matthew green <mrg@redhat.com>
1321
1322 * libc/include/sys/reent.h (_REENT_CHECK_EMERGENCY): Allocate
1323 _REENT_EMERGENCY_SIZE, not sizeof(char *).
1324
9f25eed9
AO
13252002-02-08 Alexandre Oliva <aoliva@redhat.com>
1326
1327 Contribute sh64-elf.
1328 2001-03-13 Alexandre Oliva <aoliva@redhat.com>
1329 * configure.host (newlib_cflags) [sh*-*-*]: Enable long long
1330 support in printf.
1331 2001-01-29 Alexandre Oliva <aoliva@redhat.com>
1332 * libc/machine/sh/setjmp.S [SH5]: Switch to SHmedia mode before
1333 any labels.
1334 2001-01-24 Alexandre Oliva <aoliva@redhat.com>
1335 * libc/sys/sh/trap.S (___trap34) [SH5]: Don't trash r2.
1336 2000-12-16 Alexandre Oliva <aoliva@redhat.com>
1337 * libc/machine/sh/configure.in: Rework conditionals.
1338 * libc/machine/sh/Makefile.am: Likewise.
1339 * libc/machine/sh/configure, libc/machine/sh/Makefile.in: Rebuilt.
1340 2000-12-01 Alexandre Oliva <aoliva@redhat.com>
1341 * configure.host: Match `sh*'.
1342 * libc/include/machine/setjmp.h: Define for SH5.
1343 * libc/machine/sh/configure.in: Detect SH5.
1344 * libc/machine/sh/configure: Rebuilt.
1345 * libc/machine/sh/Makefile.am: Use only setjmp.S for SH5.
1346 * libc/machine/sh/Makefile.in: Rebuilt.
1347 * libc/machine/sh/asm.h: Adjust for SH5.
1348 * libc/machine/sh/setjmp.S: Implement in SHmedia.
1349 * libc/sys/sh/crt0.S: Likewise.
1350 * libc/sys/sh/trap.S: Likewise.
1351
a2a405ae
JJ
13522002-02-07 Jeff Johnston <jjohnstn@redhat.com>
1353
1354 * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
1355 (mach_add_obj): Conditionally set to setjmp.o or nothing.
1356 (LIB_SOURCES): Remove $(mach_add_src).
1357 (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
1358 (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
1359 * libc/machine/i386/Makefile.in: Regenerate.
1360
27478365
JJ
13612002-02-05 Manik Raina <manik@cisco.com>
1362
994fa212 1363 * libc/misc/dprintf.c (parse_number): #if 0 unused function.
27478365
JJ
1364 * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
1365 s, p, k, and outstr.
1366 * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.
1367
815a37f7
JJ
13682002-02-04 Jeff Johnston <jjohnstn@redhat.com>
1369
1370 * libc/include/sys/reent.h [(!_REENT_SMALL]: Add
1371 _REENT_CHECK_EMERGENCY macro.
1372
a4139c12
MG
13732002-02-03 matthew green <mrg@redhat.com>
1374
1375 * libc/reent/signgam.c (__signgam): Fix error in previous.
1376
8195aff7
MG
13772002-02-02 matthew green <mrg@redhat.com>
1378
1379 * libc/include/sys/config.h (_REENT_SMALL): Define for Xstormy16.
1380
1381 * libc/reent/reent.c (_reclaim_reent): Clean for _REENT_SMALL case.
1382 * libc/reent/reent.tex: Add blurb about _REENT_SMALL.
1383 * libc/include/sys/reent.h (struct _reent): Completely new version
1384 for _REENT_SMALL.
1385 (_REENT_INIT): New defines, different defintion depending on _REENT_SMALL.
1386 (_REENT_CHECK, _REENT_CHECK_TM): Likewise.
1387 (_REENT_CHECK_ASCTIME_BUF, _REENT_INIT_RAND48): Likewise.
1388 (_REENT_CHECK_RAND48, _REENT_INIT_MP, _REENT_CHECK_MP): Likewise.
1389 (_REENT_CHECK_EMERGENCY, _REENT_SIGNGAM, _REENT_RAND_NEXT): Likewise.
1390 (_REENT_RAND48_SEED, _REENT_RAND48_MULT, _REENT_RAND48_ADD): Likewise.
1391 (_REENT_MP_RESULT, _REENT_MP_RESULT_K, _REENT_MP_P5S): Likewise.
1392 (_REENT_MP_FREELIST, _REENT_ASCTIME_BUF, _REENT_TM): Likewise.
1393 (_REENT_EMERGENCY): Likewise.
1394
1395 * libc/include/sys/reent.h (struct __sFILE_fake): New struct, same as
1396 the start of the real __sFILE, used for stdin, stdout and stderr until
1397 they are setup properly.
1398 (struct __sFILE): Move location of _data in _REENT_SMALL case.
1399 * libc/stdio/findfp.c (__sinit): Rearrange for _REENT_SMALL case by
1400 allocated stdin, stdout and stderr.
1401 * libc/stdio/getchar.c (_getchar_r): Call _REENT_SMALL_CHECK_INIT().
1402 * libc/stdio/iprintf.c (iprintf, _iprintf_r): Likewise.
1403 * libc/stdio/perror.c (_perror_r): Likewise.
1404 * libc/stdio/printf.c (printf, _printf_r): Likewise.
1405 * libc/stdio/putchar.c (_putchar_r): Likewise.
1406 * libc/stdio/puts.c (_puts_r): Likewise.
1407 * libc/stdio/scanf.c (scanf, _scanf_r): Likewise.
1408 * libc/stdio/vprintf.c (vprintf): Likewise.
1409 * libc/stdio/vscanf.c (vscanf, _vscanf_r): Likewise.
1410
1411 * libc/stdio/tmpnam.c (_tmpnam_r): Use _REENT_EMERGENCY().
1412
1413 * libc/reent/reent.c (_wrapup_reent): Adjust for _REENT_SMALL atexit.
1414 * libc/include/sys/reent.h (_atexit): Limit atexit() entries to 32
1415 for _REENT_SMALL.
1416 * libc/stdlib/atexit.c (atexit): Rearrange for _REENT_SMALL case.
1417 * libc/stdlib/exit.c (exit): Rearrange for _REENT_SMALL case.
1418
1419 * libc/include/sys/reent.h (struct _rand48): Keep _rand_next if
1420 _REENT_SMALL.
1421 * libc/stdlib/drand48.c (_drand48_r): Call _REENT_CHECK_RAND48().
1422 * libc/stdlib/lcong48.c (_lcong48_r): Likewise.
1423 * libc/stdlib/lrand48.c (_lrand48_r): Likewise.
1424 * libc/stdlib/mrand48.c (_mrand48_r): Likewise.
1425 * libc/stdlib/rand48.c (__dorand48): Likewise.
1426 * libc/stdlib/seed48.c (_seed48_r): Likewise.
1427 * libc/stdlib/srand48.c (_srand48_r): Likewise.
1428 * libc/stdlib/rand48.h (__rand48_seed, __rand48_mult, __rand48_add): Define
1429 as _REENT_RAND48_SEED(), _REENT_RAND48_MULT() and _REENT_RAND48_ADD().
1430 * libc/stdlib/dtoa.c (_dtoa_r): Call _REENT_CHECK_MP(). Use
1431 _REENT_MP_RESULT() and _REENT_MP_RESULT_K().
1432 * libc/stdlib/ldtoa.c (_ldtoa_r): Likewise.
1433 * libc/stdlib/rand.c (srand): Use _REENT_RAND_NEXT().
1434 * libc/stdlib/rand.c (rand): Likewise.
1435
1436 * libc/stdlib/mallocr.c (malloc_stats): Call _REENT_SMALL_CHECK_INIT().
1437 * libc/stdlib/mstats.c (_mstats_r): Call _REENT_SMALL_CHECK_INIT().
1438
1439 * libc/stdlib/mprec.c (Balloc): Call _REENT_CHECK_MP. Use
1440 _REENT_MP_FREELIST() and _REENT_MP_P5S.
1441 * libc/include/sys/reent.h (struct _mprec): New structure.
1442
1443 * libc/include/sys/reent.h (struct _reent): Rename _strtok_last to
1444 _unused_strtok_last.
1445 * libc/string/strtok.c (strtok): Use a local static variable.
1446
1447 * libc/include/sys/reent.h (_REENT_ASCTIME_SIZE): New define.
1448 (_REENT_EMERGENCY_SIZE): Likewise.
1449 * libc/time/asctime.c (asctime): Call _REENT_CHECK_ASCTIME_BUF(). Use
1450 _REENT_ASCTIME_BUF().
1451 * libc/time/lcltime.c (localtime): Call _REENT_CHECK_TM(). Use
1452 _REENT_TM().
1453
1454 * libc/include/math.h (__singam_r): Use _REENT_SIGNGAM().
1455 * libc/reent/signgam.c (__signgam): Use _REENT_SIGNGAM().
1456 * libm/math/w_gamma.c (gamma): Use _REENT_SIGNGAM().
1457 * libm/math/w_lgamma.c (lgamma): Use _REENT_SIGNGAM().
1458 * libm/math/wf_gamma.c (gammaf): Use _REENT_SIGNGAM().
1459 * libm/math/wf_lgamma.c (lgammaf): Use _REENT_SIGNGAM().
1460
9c2e7642
GK
14612002-02-01 Geoffrey Keating <geoffk@redhat.com>
1462
1463 * configure.host (xstormy16): Don't use the generic malloc.
1464 * libc/machine/xstormy16/Makefile.am: Build tiny-malloc.
1465 * libc/machine/xstormy16/Makefile.in: Regenerate.
1466 * libc/machine/xstormy16/mallocr.c: New file.
1467 * libc/machine/xstormy16/tiny-malloc.c: New file.
1468
4bb6112f
TF
14692002-01-28 Thomas Fitzsimmons <fitzsim@redhat.com>
1470
1471 * libc/include/sys/signal.h [__CYGWIN__]: Issue error message
1472 when _CYGWIN_TYPES_H is not defined.
1473
8d345552
TF
14742002-01-24 Thomas Fitzsimmons <fitzsim@redhat.com>
1475
1476 * libc/include/sys/signal.h: Revert 2002-01-23 change.
1477
bcc49082
TF
14782002-01-23 Thomas Fitzsimmons <fitzsim@redhat.com>
1479
1480 * libc/include/sys/signal.h: Remove pthread_kill declaration
1481 when __CYGWIN__ is defined.
1482
13baedeb
CF
14832002-01-18 Mark Bradshaw <bradshaw@staff.crosswalk.com>
1484
1485 * libc/include/time.h: Add prototype for strptime for Cygwin.
1486
b2db0ebc
NC
14872002-01-17 Nick Clifton <nickc@cambridge.redhat.com>
1488
ebf139fb
NC
1489 * libc/machine/xscale/memset.c (memset): Fix bug when len == 1 and
1490 dst was not word aligned.
1491
b2db0ebc
NC
1492 * libc/sys/arm/syscalls.c (_sbrk): Return -1 rather than aborting
1493 if too much memory is requested.
1494
798c015d
JJ
14952002-01-11 Jeff Johnston <jjohnstn@redhat.com>
1496
1497 * libc/stdio/vfscanf.c (__svfscanf_r): Change loop that
1498 reads blanks from the input file to break if EOF reached
1499 rather than end processing.
1500
46ad2ef4
JJ
15012002-01-07 Jeff Johnston <jjohnstn@redhat.com>
1502
1503 * MAINTAINERS: Change e-mail addresses to refer to redhat domain.
1504
86b06396
JJ
15052002-01-07 Alan Matsuoka <alanm@redhat.com>
1506
1507 * libc/include/machine/ieeefp.h: Configure d10v doubles to
1508 be 32 bits if __DOUBLE__ == 32 otherwise doubles are 64 bits.
1509 libc/include/sys/config.h: Ditto.
1510
423d5064
CV
15112001-12-28 Corinna Vinschen <corinna@vinschen.de>
1512
1513 * libc/sys/cygwin/sys/utmp.h: Add definition of UTMP_FILE.
1514
f6eff1c0
GK
15152001-12-22 Geoffrey Keating <geoffk@redhat.com>
1516 Catherine Moore <clm@redhat.com>
1517 Richard Henderson <rth@redhat.com>
1518 Corinna Vinschen <vinschen@redhat.com>
1519
1520 * configure.host: Add support for xstormy16.
1521 * libc/include/machine/ieeefp.h: Add support for xstormy16.
1522 * libc/include/machine/setjmp.h: Add support for xstormy16.
1523 * libc/include/sys/config.h: Add support for xstormy16.
1524 * libc/machine/xstormy16/Makefile.am: New file.
1525 * libc/machine/xstormy16/Makefile.in: New file.
1526 * libc/machine/xstormy16/aclocal.m4: New file.
1527 * libc/machine/xstormy16/configure: New file.
1528 * libc/machine/xstormy16/configure.in: New file.
1529 * libc/machine/xstormy16/setjmp.S: New file.
1530
1f93c55f
TF
15312001-12-19 Thomas Fitzsimmons <fitzsim@redhat.com>
1532
1533 * libm/machine/configure.in (HAVE_LIBM_MACHINE_DIR): New conditional.
1534 * libm/machine/Makefile.am [HAVE_LIBM_MACHINE_DIR] (LIBM_MACHLIB): New variable.
1535
13b918be
CV
15362001-12-19 Corinna Vinschen <corinna@vinschen.de>
1537
1538 * libm/machine/Makefile.am: Change rules to create correct lib.a.
1539 * libm/machine/Makefile.in: Regenerated through automake.
1540
08e857b4
TF
15412001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1542
1543 * Makefile.am (DOCDIR): Force to empty string when doc
1544 directory is not present.
1545
60565ed6
TF
15462001-12-18 Thomas Fitzsimmons <fitzsim@redhat.com>
1547
1548 * libc/machine/i386/f_*: Move to libm/machine/i386.
1549
15502001-12-18 Joel Sherrill <joel@OARcorp.com>
1551
1552 * libm/machine/Makefile.am: Add dummy doc stub so
1553 "make info" works.
1554
15552001-12-17 Joel Sherrill <joel@OARcorp.com>
1556
1557 * libc/include/sys/types.h (ino_t): RTEMS uses long also.
1558
fc504135
TF
15592001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
1560
1561 * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal
1562 $(COMPILE) rather than $(CC).
1563 * libc/stdio/Makefile.am (LIB_COMPILE): Likewise.
1564 (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by
1565 $(LIB_COMPILE) change.
1566 (vfiprintf.$(oext)): Likewise.
1567
efeae9a3
CV
15682001-12-17 Corinna Vinschen <vinschen@redhat.de>
1569
1570 * libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow
1571 conditionalized including of getopt stuff.
1572
cdf7120d
TF
15732001-12-14 Thomas Fitzsimmons <fitzsim@redhat.com>
1574
1575 * libc/stdio/Makefile.am (vfprintf.$(oext)): Add $(INCLUDES) to
1576 compile line.
f85be99c 1577 (vfiprintf.$(oext)): Likewise.
cdf7120d 1578
2e1a7175
TF
15792001-12-13 Thomas Fitzsimmons <fitzsim@redhat.com>
1580
1581 * Makefile.shared: New file.
1582 * libc/sys/linux/shared.ld: New file.
1583 * libm/machine/*: New files.
1584 * libm/machine/i386/*: New files.
1585 * Makefile.am: Add libtool support. Change math and mathfp
1586 references to variables.
1587 * configure.host: Add variables for libtool support. Add
1588 libm_machine_dir variable.
1589 * configure.in: Add objectlist variables, for libtool
1590 support. Add CC_FOR_BUILD tests.
1591 * libc/Makefile.am: Add libtool support. Change crt0.o
1592 reference to be a variable reference.
1593 * libc/configure.in: Add libtool support. Change sublib
1594 names to be lib${subdir}.la when using libtool.
1595 * libc/ctype/Makefile.am: Add libtool support.
1596 * libc/errno/Makefile.am: Likewise.
1597 * libc/locale/Makefile.am: Likewise.
1598 * libc/machine/Makefile.am: Likewise.
1599 * libc/machine/configure.in: Likewise.
1600 * libc/machine/i386/Makefile.am: Likewise.
1601 * libc/machine/i386/configure.in: Likewise.
1602 * libc/misc/Makefile.am: Likewise.
1603 * libc/posix/Makefile.am: Likewise.
1604 * libc/reent/Makefile.am: Likewise.
1605 * libc/signal/Makefile.am: Likewise.
1606 * libc/stdio/Makefile.am: Likewise.
1607 * libc/stdlib/Makefile.am: Likewise.
1608 * libc/string/Makefile.am: Likewise.
1609 * libc/sys/Makefile.am: Likewise.
1610 * libc/sys/configure.in: Likewise.
1611 * libc/sys/linux/Makefile.am: Add libtool support. Change
1612 awk reference to a variable reference. Change signal.h
1613 reference to a variable reference.
1614 * libc/sys/linux/configure.in: Add libtool support.
1615 * libc/syscalls/Makefile.am: Likewise.
1616 * libc/time/Makefile.am: Likewise.
1617 * libc/unix/Makefile.am: Likewise.
1618 * libm/Makefile.am: Add libtool support. Change math and
1619 mathfp references to variables.
1620 * libm/configure.in: Add libtool support. Add
1621 LIBM_MACHINE_LIB variable.
1622 * libm/common/Makefile.am: Add libtool support.
1623 * libm/math/Makefile.am: Likewise.
1624 * libm/mathfp/Makefile.am: Likewise.
1625 Regenerate all Makefile.in, aclocal.m4, and configure.
1626
b92591a1
JJ
16272001-12-13 Anita Kulkarni <anitak@kpit.com>
1628
1629 * libc/sys/sh/crt0.S: Remove stack symbol definition 0xdeaddead.
1630
355b664e
CF
16312001-12-06 John Peacock <jpeacock@rowman.com>
1632
1633 * libc/include/sys/unistd.h: Correct ualarm declaration.
1634
e9853806
NC
16352001-12-05 Nick Clifton <nickc@cambridge.redhat.com>
1636
1637 * libc/sys/arm/crt0.S: For __USES_INITFINI__ preserve the argument
1638 vector before calling the initialisation functions.
1639
a8e091b0
CF
16402001-11-29 Christopher Faylor <cgf@redhat.com>
1641
1642 * libc/include/dirent.h: Protect against multiple inclusion.
1643
ab634123
CF
16442001-11-27 Christopher Faylor <cgf@redhat.com>
1645
1646 * libc/include/sys/types.h: Define useconds_t.
1647 * libc/include/sys/ulimit.h: Declare ualarm.
1648
d37e401e
CF
16492001-11-21 Christopher Faylor <cgf@redhat.com>
1650
1651 * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.
1652
8ac90051
HPN
16532001-11-19 Hans-Peter Nilsson <hp@bitrange.com>
1654
1655 * libc/sys/mmixware/*: Tweak license header in all source files.
1656
d7ca37e4
CV
16572001-11-12 Corinna Vinschen <vinschen@redhat.com>
1658
1659 * libc/include/alloca.h: Move libc/sys/linux/include/alloca.h
1660 to here. Rearrange for general inclusion by stdlib.h.
1661 * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__
1662 isn't defined.
1663 * libc/sys/linux/include/alloca.h: Move to libc/include.
1664
28f8744e
AG
16652001-11-12 Anthony Green <green@redhat.com>
1666
1667 * libc/sys/arm/crt0.S (__stack_base__): New symbol.
1668
4cede8c4
HPN
16692001-11-13 Hans-Peter Nilsson <hp@bitrange.com>
1670
1671 * libc/sys/mmixware/*: Correct spacing in all source files.
1672 * libc/sys/mmixware/syscall.h: Move misplaced file...
1673 * libc/sys/mmixware/sys/syscall.h: ...here.
1674
8be9b48b
JJ
16752001-11-12 Hans-Peter Nilsson <hp@bitrange.com>
1676
1677 * libc/include/machine/ieeefp.h: Add support for mmix target.
1678 * libc/include/machine/setjmp.h: Ditto.
1679 * configure.host: Ditto.
1680 * libc/sys/mmixware/Makefile.am, libc/sys/mmixware/_exit.c,
1681 libc/sys/mmixware/access.c, libc/sys/mmixware/aclocal.m4,
1682 libc/sys/mmixware/chmod.c, libc/sys/mmixware/chown.c,
1683 libc/sys/mmixware/close.c, libc/sys/mmixware/configure.in,
1684 libc/sys/mmixware/creat.c, libc/sys/mmixware/crt0.c,
1685 libc/sys/mmixware/execv.c, libc/sys/mmixware/execve.c,
1686 libc/sys/mmixware/fork.c, libc/sys/mmixware/fstat.c,
1687 libc/sys/mmixware/getpid.c, libc/sys/mmixware/gettime.c,
1688 libc/sys/mmixware/isatty.c, libc/sys/mmixware/kill.c,
1689 libc/sys/mmixware/lseek.c, libc/sys/mmixware/open.c,
1690 libc/sys/mmixware/pipe.c, libc/sys/mmixware/read.c,
1691 libc/sys/mmixware/sbrk.c, libc/sys/mmixware/setjmp.S,
1692 libc/sys/mmixware/stat.c, libc/sys/mmixware/sys/syscall.h,
1693 libc/sys/mmixware/time.c, libc/sys/mmixware/times.c,
1694 libc/sys/mmixware/unlink.c, libc/sys/mmixware/utime.c,
1695 libc/sys/mmixware/wait.c, libc/sys/mmixware/write.c: New files.
1696 * libc/sys/mmixware/configure, libc/sys/mmixware/Makefile.in,
1697 libc/sys/mmixware/aclocal.m4: Generate.
1698
c7dd4f95
CV
16992001-11-05 Corinna Vinschen <corinna@vinschen.de>
1700
1701 * libc/include/sys/unistd.h: Add prototypes for endusershell(),
1702 getusershell(), iruserok(), revoke(), ruserok() and setusershell()
1703 when __CYGWIN__ is defined.
1704 * libc/sys/cygwin/sys/utmp.h: Add prototypes for login_tty() and
1705 logwtmp().
1706
a6a6f9fe
JJ
17072001-11-01 Arati Dikey <aratidikey@hotmail.com>
1708
1709 * libm/mathfp/sf_isinf.c (isinff): Change to use _DEFUN macro.
1710 [_DOUBLE_IS_32BITS](isinf): New function that calls isinff.
1711 * libm/mathfp/sf_isnan.c (isnanf): Change to use _DEFUN macro.
1712 [_DOUBLE_IS_32BITS](isnan): New function that calls isnanf.
1713
d0504c35
JJ
17142001-10-24 Christopher Faylor <cgf@redhat.com>
1715
1716 * libc/stdio/fseek.c: Reset pointer to buffer base
1717 when forced to seek outside of current buffer contents.
1718 This prevents the code from erroneously thinking there is
1719 anything in the current buffer.
1720
0280c8c0
GK
17212001-10-22 Geoffrey Keating <geoffk@redhat.com>
1722
1723 * libc/include/math.h: The C++ standard adds the single-precision
1724 versions of the elementary functions.
1725
333d6098
CF
17262001-10-22 Christopher Faylor <cgf@redhat.com>
1727
1728 * libc/posix/execvp.c: Remove obsolete CYGWIN32 considerations
1729 throughout.
1730 * signal.h: Change comment to reflect __CYGWIN__ rather than __CYGWIN32__.
1731 * popen.c (popen): Use __CYGWIN_ rather than __CYGWIN32__.
1732 * system.c (_system_r): Ditto.
1733
c7118319
CV
17342001-10-17 Corinna Vinschen <corinna@vinschen.de>
1735
1736 * libc/include/sys/unistd.h: Add prototype for fchdir() when
b4e98df6 1737 __CYGWIN__ or __rtems__ is defined.
c7118319 1738
5665b0e1
JJ
17392001-10-01 Charles Wilson <cwilson@ece.gatech.edu>
1740
1741 * libc/include/stdlib.h: add declarations for
1742 _strtoull_r, _strtoll_r, strtoull, and strtoll.
1743 * libc/stdio/local.h: remove declarations of
1744 __strtoull_r and __strtoll_r.
1745 * libc/stdio/vfscanf.c(__svfscanf_r): call
1746 _strtoull_r instead of __strtoull_r. Ditto
1747 _strtoll_r vs. __strtoll_r.
1748 * libc/stdlib/Makefile.am: add new files to
1749 .c list and .def list
1750 * libc/stdlib/Makefile.in: regenerate
1751 * libc/stdlib/strtoll_r.c: rename __strtoll_r
1752 as _strtoll_r
1753 * libc/stdlib/strtoull_r.c: rename __strtoull_r
1754 as _strtoull_r
1755 * libc/stdlib/strtoull.c: new file
1756 * libc/stdlib/strtoll.c: new file
1757
d2d5eb41
CF
1758Mon Sep 17 17:29:47 2001 Christopher Faylor <cgf@cygnus.com>
1759
1760 * libc/include/process.h: Add getpid() declaration.
1761
448e3c14
NC
17622001-09-14 Nick Clifton <nickc@cambridge.redhat.com>
1763
1764 * libc/sys/arm/crt0.S: Add calls to _init and _fini (via atexit)
1765 for new style arm/elf ctor/dtor handling.
1766 Minor formatting tidy up.
1767
7a2afbbb
JJ
17682001-09-13 Jeff Johnston <jjohnstn@redhat.com>
1769
1770 * libc/stdlib/Makefile.am: Add support to build strtoll_r.c
1771 and strtoull_r.c.
1772 * libc/stdlib/Makefile.in: Regenerated.
1773 * libc/stdlib/strtoll_r.c: New file.
1774 * libc/stdlib/strtoull_r.c: New file.
1775 * libc/stdio/local.h: Add prototypes for long long string
1776 conversion routines.
1777 * libc/stdio/vfscanf.c (__svfscanf_r): Add optional long long support
1778 tied to %L integer conversion specifier.
1779
6342caa4
JJ
1780Thu Sep 13 08:49:49 2001 Jason Tishler <jason@tishler.net>
1781
1782 * strftime.c (strftime): Fix "%W" implementation to properly handle
1783 Mondays too.
1784
b2d319cb
JJ
17852001-09-07 Jeff Law <law@redhat.com>
1786
1787 * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
1788 __fini with "mov.l" instead of "mov.w".
1789
233823ba
CV
17902001-09-05 Corinna Vinschen <corinna@vinschen.de>
1791
1792 * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
1793 and getopt.h.
1794
63c17b54
JJ
17952001-09-04 Jason Merrill <jason_merrill@redhat.com>
1796
1797 * libc/sys/h8300hms/crt0.S: Support ELF initialization.
1798
a3e67ddf
CV
17992001-09-03 Corinna Vinschen <corinna@vinschen.de>
1800
1801 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
1802 field.
1803 (__DIRENT_VERSION): New define.
1804
6d47f33a
CV
18052001-09-03 Corinna Vinschen <corinna@vinschen.de>
1806
1807 * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
4f79e37e
CV
1808 Shrink __d_reserved accordingly to keep structure size.
1809 (dirfd): Declare external.
6d47f33a 1810
348c5e06
JJ
18112001-08-29 Joel Sherrill <joel@OARcorp.com>
1812
1813 * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.
1814
18152001-08-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1816
1817 * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
1818 libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
1819 libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
1820 libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
1821 libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
1822 libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
1823 libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
1824 libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
1825 Add conditional compilation to avoid HW FPU instructions
1826 when compiled for soft-float.
1827
f29865c5
JJ
18282001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1829
1830 * Makefile.am: Add check for ln failing when creating libg.a
1831 so that cp gets used as a backup.
1832 * Makefile.in: Regenerated.
1833
9e2a4ef8
JJ
18342001-08-29 Jeff Johnston <jjohnstn@redhat.com>
1835
1836 * libc/include/sys/reent.h: Add include of <sys/_types.h>.
1837 No longer include time.h. Add struct __tm to use for
1838 _localtime_buf in the reentrant structure. Add a
1839 _NULL definition to use in initializing the reentrant struct.
1840 * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
1841 the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
1842 <sys/_types.h>.
1843 * libc/include/sys/unistd.h: Include <sys/_types.h>.
1844 * libc/time/lcltime.c (localtime): Cast the reentrant struct
1845 _localtime_buf to be struct tm *.
1846
1ae900d6
JR
1847Wed Aug 29 14:17:38 2001 J"orn Rennecke <amylaar@redhat.com>
1848
1849 * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
1850 * libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
1851 __ctors_end.
1852 * libc/sys/h8300hms/syscalls.c: Include errno.h.
1853 (_unlink): New stub function.
1854
8e26d5b5
CF
1855Sat Aug 25 22:22:25 2001 Christopher Faylor <cgf@cygnus.com>
1856
1857 * libc/include/sys/errno.h: Add a cautionary comment.
1858
e8267664
JJ
18592001-08-21 Jeff Johnston <jjohnstn@redhat.com>
1860
1861 * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
1862 for SIZE_SZ so that alignment ends up a minimum of 8.
1863
4acf3edf
CF
1864Mon Aug 13 22:26:01 2001 Christopher Faylor <cgf@cygnus.com>
1865
1866 * libc/include/machine/setjmp.h: Protect sigsetjmp/siglongjmp macro
1867 arguments.
1868
1869 * libc/include/sys/errno.h: Declare sys_errlist and sys_nerr, under
1870 Cygwin.
1871
52c80be8
JJ
18722001-08-13 Jeff Johnston <jjohnstn@redhat.com>
1873
1874 * libc/include/malloc.h (M_MXFAST, M_NLBLKS, M_GRAIN, M_KEEP): New
1875 macro constants for mallopt options.
1876 (M_TRIM_THRESHOLD, M_TOP_PAD, M_MMAP_THRESHOLD, M_MMAP_MAX): Ditto.
1877
a7061f7f
JJ
18782001-08-02 Jeff Johnston <jjohnstn@redhat.com>
1879
1880 * libc/include/stdio.h (BUFSIZ): Define to __BUFSIZ__ if provided,
1881 otherwise default.
1882
0b4bfdd5
AH
18832001-07-12 Aldy Hernandez <aldyh@redhat.com>
1884
1885 * libc/machine/mips/setjmp.S: Allow mips16 and mips64 to coexist.
1886
2b6b730c
NC
18872001-06-27 Nick Clifton <nickc@cambridge.redhat.com>
1888
1889 * libc/include/machine/ieeefp.h (__IEEE_BYTES_LITTLE_ENDIAN):
1890 Define for little endian ARMs.
1891
1892 * libc/stdlib/mprec.h (Storeinc): Use little endian version if
1893 __IEEE_BYTES_LITTLE_ENDIAN is defined.
1894
25842b68
JJ
18952001-06-11 Danny Smith <dannysmith@users.sourceforge.net>
1896
1897 * /libc/include/ctype.h (is* and to* macros): Do not define if C++.
1898
371b76ef
JJ
18992001-06-11 Egor Duda <deo@logos-m.ru>
1900
1901 * libc/ctype/ctype_.c: When compiled with gcc on platforms
1902 with signed char, make _ctype_[-128] ... _ctype[-1] refer to
1903 initialized memory region. Platform can define COMPACT_CTYPE
1904 to avoid allocation of the additional 128 bytes of data.
1905 Add pointer to _ctype_ array. Always initialize all _ctype_
1906 array elements.
1907
43b44bc5
JL
19082001-06-08 Jonathan Larmour <jlarmour@redhat.com>
1909
1910 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Avoid dereferencing
1911 NULL pointer.
1912
188bc140
NC
19132001-05-28 Nick Clifton <nickc@cambridge.redhat.com>
1914
1915 * libc/stdio/vfprintf.c (_VFPRINTF_R): Handle printf ("%#.0o",0)
1916
2ce88418
NC
19172001-05-25 Nick Clifton <nickc@cambridge.redhat.com>
1918
1919 * libc/machine/xscale/memcmp.c: Fix bug when both pointers have
1920 matching, non-word alignment, and the length is <= 4 but more than
1921 enough to move them over a word boundary.
1922 Add comments explaining what each instruction does.
1923
ca60ed47
CF
1924Mon May 7 20:39:25 2001 Christopher Faylor <cgf@cygnus.com>
1925
1926 * libc/include/sys/stat.h: Revert March 3, Cygwin change.
c63e9997 1927 * libc/include/sys/unistd.h: Ditto.
ca60ed47 1928
8b3bcfba
JJ
19292001-05-04 Earnie Boyd <earnie@users.sourceforge.net>
1930
1931 * libc/string/strrchr.c: Use strchr for the speed improvements.
1932
b09e3cf8
JJ
19332001-05-01 Jeff Johnston <jjohnstn@redhat.com>
1934
1935 * libc/stdio/findfp (__sinit)[HAVE_FCNTL]: For platforms that have
1936 real file systems, let __smakebuf() determine if line buffering
1937 should be used for stdout.
1938
0ca66974
JJ
19392001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1940
1941 * libc/stdio/vfscanf.c (__svfscanf_r): Initialize new_exp local var.
1942
7cb7017a
JJ
19432001-04-27 Jeff Johnston <jjohnstn@redhat.com>
1944
1945 * libc/include/stdlib.h: Add prototype for _strtod_r.
1946
a874cd21
JJ
19472001-04-24 Charles Wilson <cwilson@ece.gatech.edu
1948
1949 * libc/stdio/vprintf.c (vprintf): fix signature to use _DEFUN
1950 * libc/stdio/vprintf.c (_vprintf_r): new function
1951 * libc/stdio/vsnprintf.c (vsnprintf): fix signature to use _DEFUN
1952 * libc/stdio/vsnprintf.c (_vsnprintf_r): fix signature to use
1953 _DEFUN, and call _vfprintf_r, not vfprintf.
1954 * libc/stdio/vsprintf.c (vsprintf.c): fix signature to use _DEFUN
1955 * libc/stdio/vsprintf.c (_vsprintf_r): fix signature to use
1956 _DEFUN, and call _vfprintf_r, not vfprintf.
1957
cb4cc283
CF
19582001-04-22 Earnie Boyd <earnie@users.sourceforge.net>
1959
1960 * libc/include/sys/unistd.h [X_OK]: Use better protection against
1961 Cygwin X_OK definitions in sys/file.h.
1962
8c9df1d5
CF
1963Fri Apr 20 23:17:51 2001 Christopher Faylor <cgf@cygnus.com>
1964
1965 * libc/include/sys/time.h: Define timercmp and other macros for
1966 __CYGWIN__, too.
1967
3ac6f3a7
JJ
19682001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1969
1970 * acinclude.m4: Added --enable-malloc-debugging configure flag.
1971 * configure.host: For Cygwin specify -DMALLOC_PROVIDED if
1972 --enable-malloc-debugging selected.
1973 * aclocal.m4 configure: Regenerated.
1974 libm/aclocal.m4 libm/configure: Ditto.
1975 * libc/aclocal.m4 libc/configure: Ditto.
1976 * libc/machine/aclocal.m4 libc/machine/configure: Ditto.
1977 * libc/machine/*/aclocal.m4 libc/machine/*/configure: Ditto.
1978 * libc/sys/aclocal.m4 libc/sys/configure: Ditto.
1979 * libc/sys/*/aclocal.m4 libc/sys/*/configure: Ditto.
1980 * doc/aclocal.m4 doc/configure: Ditto.
1981
52cb9e69
JJ
19822001-04-20 Jeff Johnston <jjohnstn@redhat.com>
1983
1984 * libc/include/stdio.h[!_REENT_ONLY]: Moved various functions together
1985 into one list.
1986 [!__STRICT_ANSI__]: Moved non-ANSI I/O functions in this list.
1987 (vfscanf, vscanf, vsscanf, _vfscanf_r, _vscanf_r, _vsscanf_r): New
1988 function prototypes.
1989 (_fscanf_r, _sscanf_r): Ditto.
1990 * libc/include/stdlib.h: Added _strtod_r prototype.
1991 * libc/stdio/Makefile.am: Add new v*scanf functions.
1992 * libc/stdio/Makefile.in: Regenerate.
1993 * libc/stdio/fscanf.c: Reorganized so HAVE_STDC only affects prototype
1994 and code is shared. Added reentrant _fscanf_r which calls __svfscanf_r.
1995 * libc/stdio/scanf.c: Changed to call __svfscanf_r.
1996 * libc/stdio/sscanf.c: Changed documentation to add reentrant routines.
1997 (sscanf): Changed to call __svfscanf_r with _REENT argument.
1998 (_sscanf_r): New routine.
1999 * libc/stdio/local.h: Removed __svfscanf prototype and replaced it
2000 with __svfscanf_r prototype.
2001 * libc/stdio/vfscanf.c (vfscanf, _vfscanf_r: New
2002 routines.
2003 (__svfscanf_r): Reentrant version of __svfscanf which takes reetrancy
2004 structure as argument as calls reentrant versions of helper functions
2005 (e.g. _strtol_r, _strtoul_r). Also replaced calls to atol and atof
2006 to _strtol_r and _strtod_r respectively.
2007 * libc/stdio/vfscanf.c: Also changed __svfscanf to call __svfscanf_r.
2008 * libc/stdlib/strtod.c (strtod): Changed to call _strtod_r with
2009 _REENT argument.
2010 * libc/stdio/vscanf.c: New file.
2011 * libc/stdio/vsscanf.c: Ditto.
2012
ee9f39fb
JJ
20132001-04-19 Robert Collins <rbtcollins@hotmail.com>
2014
2015 * include/time.h[__CYGWIN__]: Define tzname to _tzname if not defined.
2016 Define daylight to _daylight if it is not defined
2017 Prepare a variable export of timezone based on timezonevariable.
2018 (Cannot be used with the timezone() function.)
2019
273861e3
JJ
20202001-04-17 Stephen L. Moshier <moshier@moshier.ne.mediaone.net>
2021
2022 * newlib/libm/math/ef_asin.c (pio2_hi, pio2_lo, pio4_hi):
2023 Correct the numerical values.
2024
a25b8414
CF
20252001-04-13 Robert Collins <rbtcollins@hotmail.com>
2026
2027 * libc/include/sys/unistd.h: Add pthread_atfork (Cygwin only).
2028
b8a8c59d
CV
2029Thu Apr 12 23:11:00 2001 Corinna Vinschen <corinna@vinschen.de>
2030
2031 * libc/include/sys/errno.h: Add ECASECLASH to indicate case clash
2032 on case insensitve file systems.
2033
74f8cc63
CF
20342001-04-12 Robert Collins <rbtcollins@hotmail.com>
2035
2036 * libc/include/sys/features.h: Add appropriate defines for Cygwin
2037 pthread support.
2038 * libc/include/sys/signal.h: Remove unneeded __CYGWIN__ protection.
2039 * libc/include/sys/types.h: Protect __CYGWIN__ from the rtems pthreads
2040 types. Include <cygwin/types.h> for the cygwin specific typedefs.
2041
16740220
RS
20422001-04-04 Richard Sandiford <rsandifo@redhat.com>
2043
2044 * libc/include/machine/ieeefp.h: Comment about new configuration
2045 macros _FLT_LARGEST_EXPONENT_IS_NORMAL and _FLT_NO_DENORMALS.
2046 * libm/common/fdlib.h: Define new macros for testing floats.
2047 * libm/common/sf_*: Use them.
2048 * libm/math/ef_*: Likewise.
2049 * libm/math/sf_*: Likewise.
2050
0694d8d3
JJ
20512001-03-29 Jeff Johnston <jjohnstn@redhat.com>
2052
2053 * libc/sys/arm/setjmp.S: Added .code 16 specifier for thumb-mode
2054 prolog to by-pass possible assembler error.
2055
4833b38c
JJ
20562001-03-21 Egor Duda <deo@logos-m.ru>
2057
2058 Allow building internal stubs for non-reentrant syscalls
2059 if target provides its own malloc
2060 * libc/reent/reent.c (errno): Move definition here.
2061 * libc/reent/sbrkr.c: From here.
2062
d17d6d42
CF
20632001-03-20 Danny Smith <dannysmith@users.sourceforge.net>
2064
2065 * libc/include/sys/types.h (BSD int typedefs): Guard with
2066 _BSDTYPES_DEFINED rather than _WINSOCK_H.
2067 (fd_set): Add !defined __USE_W32_SOCKETS to guard; define
2068 _SYS_TYPES_FD_SET.
2069 * libc/include/sys/unistd.h (gethostname): Don't declare if defined
2070 (_WINSOCK_H) || defined (__USE_W32_SOCKETS).
2071
c7ee75cd
CV
2072Sat Mar 17 18:30:00 2001 Corinna Vinschen <corinna@vinschen.de>
2073
2074 * libc/include/sys/unistd.h: Add _PC_POSIX_PERMISSONS and
2075 _PC_POSIX_SECURITY constants for Cygwin.
2076
63dc5d80
CV
2077Wed Mar 14 9:34:00 2001 Corinna Vinschen <corinna@vinschen.de>
2078
2079 * libc/sys/cygwin/crt0.c: Add copyright hint.
2080 * libc/sys/cygwin/sys/dirent.h: Ditto.
2081 * libc/sys/cygwin/sys/param.h: Ditto.
2082 * libc/sys/cygwin/sys/utime.h: Ditto.
2083 * libc/sys/cygwin/sys/utmp.h: Ditto.
2084
6f637037
AO
20852001-03-13 Alexandre Oliva <aoliva@redhat.com>
2086
2087 * libc/stdio/vfprintf.c (QUADINT) [_NO_LONGLONG]: Make it
2088 equivalent to LONGINT.
2089
e69b6f73
JJ
20902001-03-08 Richard Sandiford <rsandifo@redhat.com>
2091
2092 * (libc/include/machine/setjmp.h): Use 23 long long ints for a
2093 jmpbuf on MIPS64 targets.
2094 * (libc/machine/mips/setjmp.S): Add MIPS64 version.
2095
6198dece
CF
2096Wed Mar 7 16:02:07 2001 Christopher Faylor <cgf@cygnus.com>
2097
e69b6f73
JJ
2098 * libc/include/sys/config.h: Use ssize_t for Cygwin read/write
2099 declarations.
6198dece 2100
cfc05d96
JJ
2101Mon Mar 5 21:48:54 2001 J"orn Rennecke <amylaar@redhat.com>
2102
2103 * libc/include/sys/config.h (_READ_WRITE_RETURN_TYPE): Define.
2104 For RTEMS, define to be ssize_t. Default to int if not defined.
2105 * libc/stdio/sscanf.c (eofread): Return _READ_WRITE_RETURN_TYPE.
2106 * libc/stdio/stdio.c (__sread, __swrite): Likewise.
2107 * libc/stdio/local.h (__sread, __swrite): Likewise.
2108 * libc/include/sys/reent.h (_read, _write): Likewise.
2109 * libc/include/sys/unistd.h (read, write, _read, _write): Likewise.
2110 * libc/syscalls/sysread.c (read): Likewise.
2111 * libc/syscalls/syswrite.c (write): Likewise.
2112
6249353a
JJ
21132001-03-05 Jeff Johnston <jjohnstn@redhat.com>
2114
2115 * libc/time/mktime.c: Add L suffix to _SEC_IN_xxxx constants.
2116
658b5db9
CF
2117Sat Mar 3 00:34:14 2001 Christopher Faylor <cgf@cygnus.com>
2118
2119 * libc/include/sys/stat.h: Use special defines for executable stat bits
2120 when compiling for Cygwin.
2121 * libc/include/sys/unistd.h: Use special define for X_OK when compiling
2122 for Cygwin.
2123
19ca46d5
JJ
21242001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2125
2126 * libc/string/strtok.c: Add #undef of __STRICT_ANSI__ so prototype
2127 of strtok_r is always defined.
2128
b73ed85e
JJ
21292001-03-02 Jeff Johnston <jjohnstn@redhat.com>
2130
2131 * libc/include/machine/ansi.h: New dummy header file.
2132
ee37ede1
JJ
21332001-02-22 Jeff Johnston <jjohnstn@redhat.com>
2134
2135 * libc/include/machine/setjmp-dj.h: With DJ Delorie's permission,
2136 changed the copyright information to allow free modification of the
2137 file with no reference to "copying.dj".
2138 * libc/include/sys/stat-dj.h: Ditto.
2139 * libc/machine/i386/setjmp.S: Ditto.
2140 * libc/sys/h8300hms/sys/file.h: Ditto.
2141 * libc/sys/sysmec/access.c: Ditto.
2142 * libc/sys/sysnecv850/access.c: Ditto.
2143 * libc/stdio/mktemp.c: Fixed typo for the word copyright.
2144 * libc/stdlib/getenv_r.c: Ditto.
2145 * libc/stdlib/putenv_r.c: Ditto.
2146 * libc/stdlib/setenv_r.c: Ditto.
2147 * libc/stdlib/getenv.c: Removed DJ reference since any possible
2148 modifications will now be in the _r version of this file.
2149 * libc/stdlib/putenv.c: Ditto.
2150 * libc/stdlib/setenv.c: Ditto.
2151 * libc/sys/go32/copying.dj: Removed DJ's address which is no longer
2152 valid. Added a reference to DJ's web page that contains his address.
2153 * libc/sys/go32/*.s: Removed references to DJ's old address.
2154 * libc/sys/go32/*.c: Ditto.
2155 * libc/sys/go32/*.h: Ditto.
2156 * libc/sys/go32/*.S: Ditto.
2157 * libc/sys/go32/sys/*.h: Ditto.
2158
3a8fc0e4
JJ
21592001-02-21 Jeff Johnston <jjohnstn@redhat.com>
2160
2161 * libc/stdio/fdopen.c (fdopen): Protect calls to _fcntl() with
2162 HAVE_FCNTL flag check.
2163 * configure.host: Define HAVE_FCNTL for Cygwin, go32, RTEMS, sparc64,
2164 powerpcle, x86 netware, x86 sco, x86 Linux and Vxworks.
2165
b24ee749
CF
2166Thu Feb 15 01:39:51 2001 Christopher Faylor <cgf@cygnus.com>
2167
2168 * libc/include/sys/signal.h: Always include sys/types.h under Cygwin.
2169
ab4745dc
JJ
21702001-02-14 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
2171
2172 * libc/include/stdlib.h: Add declarations of rand48 functions and
2173 their reentrant versions.
2174 * libc/include/sys/reent.h: Move macros from rand48.h. Add
2175 struct _rand48 for shared parameters of rand48 functions.
2176 (struct _reent): Add a variable _r48 of struct _rand48.
2177 (_REENT_INIT): Add _r48 initialization.
2178 * libc/stdlib/Makefile.am (lib_a_SOURCES): Add rand48 functions.
2179 (CHEWOUT_FILES): Add rand48.def.
2180 * libc/stdlib/Makefile.am: Add dependencies for rand48 functions.
2181 * libc/stdlib/Makefile.in: Regenerated.
2182 * libc/stdlib/drand48.c (drand48, _drand48_r): Derived from the
2183 NetBSD C library.
2184 * libc/stdlib/erand48.c (erand48, _erand48_r): Ditto.
2185 * libc/stdlib/jrand48.c (jrand48, _jrand48_r): Ditto.
2186 * libc/stdlib/lcong48.c (lcong48, _lcong48_r): Ditto.
2187 * libc/stdlib/lrand48.c (lrand48, _lrand48_r): Ditto.
2188 * libc/stdlib/mrand48.c (mrand48, _mrand48_r): Ditto.
2189 * libc/stdlib/nrand48.c (nrand48, _nrand48_r): Ditto.
2190 * libc/stdlib/seed48.c (seed48, _seed48_r): Ditto.
2191 * libc/stdlib/srand48.c (srand48, _srand48_r): Ditto.
2192 * libc/stdlib/rand48.c (__dorand48): Ditto.
2193 * libc/stdlib/rand48.h: Ditto, and modify declarations of global
2194 parameters into macros referring them in the reentrant structure.
2195
a34c461f
JJ
21962001-02-12 Jeff Johnston <jjohnstn@redhat.com>
2197
2198 * libc/include/sys/stat.h: Add mknod for Cygwin now that
2199 Cygwin definition has correct prototype.
2200
34f31ff2
JJ
22012001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2202
2203 * libc/include/sys/stat.h: Must revert change for mknod
2204 for CYGWIN until winsup/cygwin/syscalls.cc changes mknod
2205 prototype.
2206
5336d6de
JJ
22072001-02-08 Jeff Johnston <jjohnstn@redhat.com>
2208
2209 * libc/include/stdio.h: Revert putw prototype.
2210
8915d10a
JJ
22112001-02-08 Edward M. Lee <tailbert@yahoo.com>
2212
2213 * libc/include/grp.h: add prototype for initgroups.
2214 * libc/include/stdio.h: fix prototype for putw.
2215 * libc/include/sys/signal.h: add prototype for killpg.
2216 * libc/include/sys/stat.h: enable mknod/lstat for CYGWIN.
2217 * libc/include/sys/unistd.h: add prototypes for getpgid, setpgrp,
2218 vhangup and remove duplicate sysconf prototype.
2219
93ac4487
JJ
22202001-02-07 Jeff Johnston <jjohnstn@redhat.com>
2221
2222 * libc/sys/rtems/sys/types.h: Removed.
2223
31f5feea
JJ
22242001-02-05 Charles Wilson <cwilson@ece.gatech.edu>
2225
2226 * libc/include/locale.h: add LC_MESSAGES definition
2227
b5139f59
AO
22282001-02-01 Alexandre Oliva <aoliva@redhat.com>
2229
2230 * libc/sys/sh/sys/syscall.h (SYS_get_argc, SYS_get_argN_len,
2231 SYS_get_argN):
2232 * libc/sys/sh/syscalls.c (__setup_argv_for_main,
2233 __setup_argv_and_call_main): New.
2234
e29d8355
JJ
22352001-01-31 Jeff Johnston <jjohnstn@redhat.com>
2236
2237 * libc/include/stdio.h (FILENAME_MAX): Changed to use __FILENAME_MAX__
2238 if defined.
2239 (FOPEN_MAX): Changed to use __FOPEN_MAX__ if defined.
2240 (L_tmpnam): Changed to use __L_tmpnam__ if defined.
2241 * libc/include/sys/config.h: Changed to set __FILENAME_MAX__
2242 appropriately for Cygwin and RTEMS so not to exceed PATH_MAX.
2243
82ea92f3
CF
2244Mon Jan 29 23:03:06 2001 Christopher Faylor <cgf@cygnus.com>
2245
2246 * libc/stdlib/mallocr.c: Undefine windows preprocessor variables when
2247 compiling under Cygwin.
2248
3aaa66f8
JJ
22492001-01-29 Jeff Johnston <jjohnstn@redhat.com>
2250
2251 * libc/include/math.h (signgam): Change to errno-like solution
2252 using a function to return the address of the real signgam.
2253 * libc/reent/signgam.c: New file containing __signgam().
2254 * libc/reent/Makefile.am: Added signgam.c to list of files.
2255 * libc/reent/Makefile.in: Regenerated.
2256
610b895a
AO
22572001-01-25 Alexandre Oliva <aoliva@redhat.com>
2258
b0913397
AO
2259 * libc/sys/sh/syscalls.c (_times): New.
2260
610b895a
AO
2261 * configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
2262 * libc/sys/sh/syscalls.c (_gettimeofday): New.
2263
3643210e
JJ
22642001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2265
2266 * libc/include/math.h (signgam): Regress previous fix as
2267 it does not handle programs with extern int signgam in them.
2268
841081c9
JJ
22692001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2270
2271 * libc/include/math.h (signgam): Changed to a macro refering to
2272 its location in the reentrant structure.
2273
e9cd87b8
JJ
22742001-01-23 Jeff Johnston <jjohnstn@redhat.com>
2275
2276 * libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
2277 that suppressed . for %.0f, 0.1. Check now looks if there
2278 are padding zeroes (expt) in addition to any digits (ndig) to
2279 print.
2280
a302b48c
JJ
22812001-01-18 Jeff Johnston <jjohnstn@redhat.com>
2282
2283 * libc/sys/arc/Makefile.am: New file.
2284 * libc/sys/arc/Makefile.in: Ditto.
2285 * libc/sys/arc/aclocal.m4: Ditto.
2286 * libc/sys/arc/configure: Ditto.
2287 * libc/sys/arc/configure.in: Ditto.
2288 * libc/sys/arc/crt0.S: Ditto.
2289 * libc/sys/arc/isatty.c: Ditto.
2290 * libc/sys/arc/mem-layout.c: Ditto.
2291 * libc/sys/arc/sbrk.c: Ditto.
2292 * libc/sys/arc/syscalls.c: Ditto.
2293 * libc/sys/arc/sys/syscall.h: Ditto.
2294
d0319c3b
CF
2295Wed Jan 17 23:20:56 2001 Christopher Faylor <cgf@cygnus.com>
2296
2297 * libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2298
e45ab890
CF
2299Fri Jan 12 00:34:31 2001 Christopher Faylor <cgf@cygnus.com>
2300
2301 * libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2302
1376245a
DD
2303Thu Jan 11 20:42:06 2001 Earnie Boyd <earnie_boyd@yahoo.com>
2304
2305 * libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2306
92b57543
NC
23072001-01-09 Nick Clifton <nickc@redhat.com>
2308
2309 * configure.host (v859): Remove unsupported compiler options.
2310
7d6d33d4
JJ
2311Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
2312
2313 * src/newlib/configure.host (*-*-rtems*): add printf long long
2314 support for RTEMS.
2315
602f8b5a 23162000-12-19 Graham Stott <grahams@redhat.com>
6286746a
NC
2317
2318 * libc/machine/xscale/memcmp.c (memcmp): Add clobber for "lr".
2319
9c2b8183
JJ
2320Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2321
2322 * configure.host: Turn on long double I/O for Cygwin.
2323
804368d3
JJ
2324Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
2325
2326 * MAINTAINERS: Removed Ranjith.
2327 * NEWS: Updated for 1.9.0.
2328 * README: Updated.
2329 * acinclude.m4: Updated to release 1.9.0.
2330 * aclocal.m4 configure
2331 doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
2332 libc/machine/aclocal.m4 libc/machine/configure
2333 libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
2334 libc/machine/arm/aclocal.m4 libc/machine/arm/configure
2335 libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
2336 libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
2337 libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
2338 libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
2339 libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
2340 libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
2341 libc/machine/i386/aclocal.m4 libc/machine/i386/configure
2342 libc/machine/i960/aclocal.m4 libc/machine/i960/configure
2343 libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
2344 libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
2345 libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
2346 libc/machine/mips/aclocal.m4 libc/machine/mips/configure
2347 libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
2348 libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
2349 libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
2350 libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
2351 libc/machine/sh/aclocal.m4 libc/machine/sh/configure
2352 libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
2353 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
2354 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
2355 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
2356 libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
2357 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
2358 libc/sys/aclocal.m4 libc/sys/configure
2359 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
2360 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
2361 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
2362 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
2363 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
2364 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
2365 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
2366 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
2367 libc/sys/linux/aclocal.m4 libc/sys/linux/configure
2368 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
2369 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
2370 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
2371 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
2372 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
2373 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
2374 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
2375 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
2376 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
2377 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
2378 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
2379 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
2380 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
2381 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
2382 libm/aclocal.m4 libm/configure: Regenerated.
2383
0985d43f
CV
2384Wed Dec 13 11:52:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2385
2386 * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
2387 when __CYGWIN__ is defined.
2388
b6182a09
JJ
23892000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2390
2391 * libc/stdlib/ldtoa.c (_ldcheck): New routine
2392 that categorizes a long double as NaN, Infinity, or other.
2393 * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
2394 isinfl and isnanl static routines which were i386-specific. Changed
2395 calls to the two removed routines to a single _ldcheck call.
2396 * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2397
adbbb034
JJ
23982000-12-13 Jeff Johnston <jjohnstn@redhat.com>
2399
2400 * Makefile.am: Fixed install-data-local target to use
2401 $(mkinstalldirs) for the installed header files to ensure
2402 the directories exist before copying.
2403 * Makefile.in: Regenerated.
2404
cbd19336
JJ
24052000-12-12 Jeff Johnston <jjohnstn@redhat.com>
2406
2407 * libc/include/sys/unistd.h: Restored Cygwin _SC
2408 constants and moved new constants appropriately
2409 so Cygwin will build.
2410
8fb37963
JJ
24112000-12-11 Joel Sherrill <joel@OARcorp.com>
2412
2413 * Merge RTEMS specific .h files into main libc/include.
2414 * libc/sys/rtems/include/signal.h: Removed.
2415 * libc/sys/rtems/include/time.h: Removed.
2416 * libc/sys/rtems/sys/features.h: Removed.
2417 * libc/sys/rtems/sys/sched.h: Removed.
2418 * libc/sys/rtems/sys/siginfo.h: Removed.
2419 * libc/sys/rtems/sys/signal.h: Removed.
2420 * libc/sys/rtems/sys/time.h: Removed.
2421 * libc/sys/rtems/sys/times.h: Removed.
2422 definitions for time_t and clock_t since these are
2423 no longer in time.h.
2424 * libc/include/pthread.h: New file.
2425 * libc/include/sys/sched.h: New file.
2426 * libc/include/sys/features.h: New file.
2427 * libc/include/time.h: Removed duplicate definition of clock_t
2428 and time_t, get them from <sys/types.h> instead. Add prototypes
2429 for POSIX clock and timer functionality.
2430 * libc/sys/linux/sys/types.h: Changed to include
2431 * libc/include/machine/types.h: Add _CLOCKID_T_ and _TIMER_T_.
2432 * libc/include/sys/signal.h: Add more complete set of POSIX
2433 signal functionality including real-time and threaded signals.
2434 * libc/include/sys/types.h: Add clock_t, time_t, struct
2435 timespec, and struct itimerspec. Centralizing these makes
2436 things cleaner. RTEMS uses 64-bit dev_t.
2437 Added numerous primitive definitions
2438 for pthreads including macros, pthread_attr_t,
2439 pthread_mutexattr_t, pthread_condattr_t, pthread_key_t,
2440 pthread_once_t, and pthread_t.
2441 * libc/include/sys/unistd.h: Added getlogin_r() prototype.
2442 If RTEMS follow POSIX on read(), write() and sbrk() prototype.
2443 Feature flags removed and moved to new file <sys/features.h>.
2444 Full set of POSIX sysconf() constants
2445
2efbc2a7
JJ
24462000-12-08 Werner Almesberger <Werner.Almesberger@epfl.ch>
2447
2448 * configure.host: Added x86 linux target.
2449 * libc/unix/getpass.c (_PATH_PASSWD, _PASSWORD_LEN): Default
2450 definitions provided if not already defined.
2451 * libc/sys/linux/crt0.c: New file.
2452 * libc/sys/linux/Makefile.am: Ditto.
2453 * libc/sys/linux/Makefile.in: Ditto.
2454 * libc/sys/linux/aclocal.m4: Ditto.
2455 * libc/sys/linux/brk.c: Ditto.
2456 * libc/sys/linux/configure: Ditto.
2457 * libc/sys/linux/configure.in: Ditto.
2458 * libc/sys/linux/getoptlong.c: Ditto.
2459 * libc/sys/linux/ids.c: Ditto.
2460 * libc/sys/linux/inode.c: Ditto.
2461 * libc/sys/linux/io.c: Ditto.
2462 * libc/sys/linux/linux.c: Ditto.
2463 * libc/sys/linux/process.c: Ditto.
2464 * libc/sys/linux/realpath.c: Ditto.
2465 * libc/sys/linux/select.c: Ditto.
2466 * libc/sys/linux/signal.c: Ditto.
2467 * libc/sys/linux/systat.c: Ditto.
2468 * libc/sys/linux/termios.c: Ditto.
2469 * libc/sys/linux/time.c: Ditto.
2470 * libc/sys/linux/wait.c: Ditto.
2471 * libc/sys/linux/include/alloca.h: Ditto.
2472 * libc/sys/linux/include/getopt.h: Ditto.
2473 * libc/sys/linux/include/stdint.h: Ditto.
2474 * libc/sys/linux/include/unistd.h: Ditto.
2475 * libc/sys/linux/sys/cdefs.h: Ditto.
2476 * libc/sys/linux/sys/dirent.h: Ditto.
2477 * libc/sys/linux/sys/errno.h: Ditto.
2478 * libc/sys/linux/sys/fcntl.h: Ditto.
2479 * libc/sys/linux/sys/file.h: Ditto.
2480 * libc/sys/linux/sys/ioctl.h: Ditto.
2481 * libc/sys/linux/sys/resource.h: Ditto.
2482 * libc/sys/linux/sys/signal.h: Ditto.
2483 * libc/sys/linux/sys/stat.h: Ditto.
2484 * libc/sys/linux/sys/syscall.h: Ditto.
2485 * libc/sys/linux/sys/termios.h: Ditto.
2486 * libc/sys/linux/sys/time.h: Ditto.
2487 * libc/sys/linux/sys/types.h: Ditto.
2488 * libc/sys/linux/sys/utmp.h: Ditto.
2489 * libc/sys/linux/sys/utsname.h: Ditto.
2490 * libc/sys/linux/sys/wait.h: Ditto.
2491
a08c98bb
JJ
24922000-12-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2493
2494 * Makefile.am: $(INSTALL), $(INSTALL_DATA), and $(INSTALL_PROGRAM)
2495 can be a relative path to $(top_srcdir)/install.sh so ensure the
2496 autoconf detected settings are properly passed recursively.
2497 Similarly, add AM_MAKEFLAGS to FLAGS_TO_PASS so they also get passed
2498 properly to subdirectories.
2499 * Makefile.in: Regenerated.
2500
b294082c
JJ
25012000-12-07 Jay Kulpinski <jskulpin@eng01.gdds.com>
2502
2503 * libc/stdio/vfprintf.c: Minor modification to avoid requiring
2504 a floating point register unless really printing a floating
2505 point number.
2506
2005ab6b
JJ
25072000-12-07 Jeff Johnston <jjohnstn@redhat.com>
2508
2509 * libc/stdlib/ldtoa.c: Removed include of alloca.h.
2510 Also removed \r's.
2511 (asctoeg): Replaced alloca call with stack array and malloc
2512 when storage exceeds reasonable limit.
2513 (e53toe): Fixed einfin calls missing ldp parameter.
2514 (eiisinf): Hide behind check for LDBL_MANT_DIG == 64.
2515
9f6e8f1b
JJ
25162000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2517
2005ab6b 2518
9f6e8f1b
JJ
2519 * libc/stdio/vfscanf.c: Fix typo for _NO_LONGDBL macro.
2520
6bdac416
JJ
25212000-12-06 Jeff Johnston <jjohnstn@redhat.com>
2522
2523 * libc/stdlib/Makefile.am: Added ldtoa.c to list of sources.
2524 * libc/stdlib/Makefile.in: Regenerated.
2525 * libc/stdio/floatio.h: Added suitable MAXEXP for long double.
2526 * libc/stdio/vfieeefp.h: Added long double bit structures.
2527 * libc/stdio/vfprintf.c[WANT_IO_LONG_DBL]: Added long double support.
2528 [WANT_IO_LONG_DBL](isinfl, isnanl): New static long double routines.
2529 (exponent): Changed expbuf to reasonable maximum instead of MAXEXP.
2530 * libc/stdio/vfscanf.c[WANT_IO_LONG_DBL]: Added long double support.
2531 * libc/stdlib/ldtoa.c: New file containing _ldtoa_r and
2532 _strtold routines used for conversions between character
2533 and long double.
2534
ec270d31
CV
2535Wed Dec 6 12:01:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2536
2537 * libc/include/stdlib.h: Add declarations for `mkstemp' and `mktemp'.
2538
db2d9549
JJ
25392000-12-04 Joel Sherrill <joel@OARcorp.com>
2540
2541 * libc/include/machine/time.h: RTEMS systems can configure clock
2542 tick rate so use sysconf() to ask.
2543
6ba54a15
JJ
25442000-12-04 Joel Sherrill <joel@OARcorp.com>
2545
2546 * libc/include/sys/times.h: Add reference to POSIX standard.
2547
8677b819
JJ
25482000-12-04 Joel Sherrill <joel@OARcorp.com>
2549
2550 * libc/include/sys/time.h: Added BSD timer manipulation macros
2551 used by RTEMS code.
2552
1b61a706
JJ
25532000-12-04 Joel Sherrill <joel@OARcorp.com>
2554
2555 * libc/sys/rtems/crt0.c: Add stubs for functions implicitly
2556 referenced by code generated by gcc 2.8.1.
2557 (a29k): Add stubs for V_SPILL, V_FILL, V_BSD_OS, V_EPI_OS to
2558 satisfy gcc.
2559
f5e7c124
JJ
25602000-12-04 Joel Sherrill <joel@OARcorp.com>
2561
2562 * libc/stdlib/system.c: Avoid compiling do_system() for RTEMS.
2563
768abc9c
JJ
25642000-12-04 Joel Sherrill <joel@OARcorp.com>
2565
2566 * libc/include/ieeefp.h: Added entries for OpenCores CPUs.
2567
9e5dd5ea
JJ
25682000-12-04 Joel Sherrill <joel@OARcorp.com>
2569
2570 * configure.host (or16, or32): New entries for OpenCores
2571 OpenRisc CPUs.
2572 (*-*-rtems*): Add -DNO_EXEC.
2573
768abc9c 25742000-12-04 Keith Outwater <vac4050@cae597.rsc.raytheon.com>
7713fb6f
JJ
2575
2576 * libc/include/sys/errno.h: Added comments on many error numbers.
2577 * libc/string/strerror.c: Added some more strings.
2578
b273323f
JJ
25792000-11-30 Jeff Johnston <jjohnstn@redhat.com>
2580
2581 * libc/sys/sh/syscalls.c (_link): New stub.
2582
0ffc3b94
NC
25832000-11-29 Nick Clifton <nickc@redhat.com>
2584
2585 * configure.host: Add xscale target.
2586 * libc/machine/xscale: New directory.
2587 * libc/machine/xscale/Makefile.am: New file.
2588 * libc/machine/xscale/Makefile.in: New file.
2589 * libc/machine/xscale/aclocal.m4: New file.
2590 * libc/machine/xscale/configure: New file.
2591 * libc/machine/xscale/configure.in: New file.
2592 * libc/machine/xscale/memchr.S: New file.
2593 * libc/machine/xscale/memcmp.S: New file.
2594 * libc/machine/xscale/memcpy.S: New file.
2595 * libc/machine/xscale/memmove.S: New file.
2596 * libc/machine/xscale/memset.S: New file.
2597 * libc/machine/xscale/strchr.S: New file.
2598 * libc/machine/xscale/strcmp.S: New file.
2599 * libc/machine/xscale/strcpy.S: New file.
2600 * libc/machine/xscale/strlen.S: New file.
2601
cbbf0f96
CV
2602Sat Nov 25 11:24:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2603
2604 * libc/include/sys/types.h: Change i to `__i' in FD_ZERO macro to
2605 avoid compiler warnings.
2606
73dea790
MM
26072000-11-22 Michael Meissner <meissner@redhat.com>
2608
2609 * libc/posix/execl.c (execl): Don't reference environ directly,
2610 reference it only via a static pointer to avoid problems with some
2611 shared library systems and with different uses of small data where
2612 the user specifies his own version of environ.
2613 * libc/posix/execv.c (execv): Ditto.
2614 * libc/stdlib/getenv_r.c (_findenv_r): Ditto.
2615 * libc/stdlib/setenv_r.c (_setenv_r,_unsetenv_r): Ditto.
2616 * libc/stdlib/system.c (system, !cygwin32 case): Ditto.
2617
2618 * libc/stdlib/getenv.c (environ): Delete unused reference to
2619 environ.
2620
2621 * libc/stdlib/getenv_r.c: Make initial comment friendlier to emacs
2622 colorization.
2623 * libc/stdlib/system.c: Ditto.
2624
08eac2ae
CF
2625Tue Nov 21 20:32:21 2000 Christopher Faylor <cgf@cygnus.com>
2626
2627 * libc/sys/cygwin/sys/dirent.h: Change definition to avoid necessity of
2628 including windows headers.
2629
5478bf37
JJ
26302000-11-20 Jeff Johnston <jjohnstn@redhat.com>
2631
2632 * libc/include/sys/unistd.h: Removed definition of MAXNAMLEN.
2633 * libc/include/dirent.h: Added definition of MAXNAMLEN if
2634 not defined by sys/dirent.h.
2635 * libc/posix/execvp.c: Added include of dirent.h to get
2636 MAXNAMLEN value which used to be in unistd.h.
2637
3a760728
CV
2638Mon Nov 6 12:56:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2639
2640 * libc/include/sys/types.h: Change type of i to `size_t' in
2641 FD_ZERO macro to avoid compiler warnings.
2642
86fff69f
CF
2643Sun Oct 29 20:06:41 2000 Christopher Faylor <cgf@cygnus.com>
2644
2645 * libc/include/stdlib.h: Avoid declaring cfree under Cygwin.
2646 * libc/include/malloc.h: Ditto. Also remove obsolete declaration.
2647
ba9e88d2
CV
2648Tue Oct 24 20:16:00 2000 Corinna Vinschen <vinschen@cygnus.com>
2649
2650 * libc/include/sys/unistd.h: Add defines for sysconf values
2651 _SC_NPROCESSORS_CONF, _SC_NPROCESSORS_ONLN, _SC_PHYS_PAGES and
2652 _SC_AVPHYS_PAGES.
2653
a8018ef3
CF
2654Mon Oct 9 20:26:33 2000 Christopher Faylor <cgf@cygnus.com>
2655
2656 * libc/include/sys/unistd.h: Add getdtablesize and setdtablesize
2657 declarations for __CYGWIN__.
2658
b944c6f6
GK
26592000-09-19 Geoffrey Keating <geoffk@cygnus.com>
2660
2661 * libc/signal/signal.c (__sigtramp_r): ISO C requires
2662 case labels to be integral constant expressions, so
2663 use an if/else tree instead.
2664 (_raise_r): Likewise.
2665
7f18fcb4
JJ
26662000-09-13 Jeff Johnston <jjohnstn@redhat.com>
2667
2668 * libc/machine/v850/setjmp.S: Fixed tab problems caused by
2669 clipping patch from e-mail reader.
2670
242361df
JJ
26712000-09-13 Will Cohen <wcohen@redhat.com>
2672
2673 * libc/machine/v850/setjmp.S (_setjmp): Save r1 rather than r0.
2674 Added return value 0.
2675 (_longjmp): Allow longjmp to return value of second argument
2676 passed to it.
2677
8a8c59b9
JJ
26782000-09-06 Jeff Johnston <jjohnstn@redhat.com>
2679
2680 * libc/include/sys/types.h (FD_ZERO): Remove call to bzero and
2681 inline code to prevent having to include another header file.
2682
a385ae75
CF
2683Wed Sep 6 15:06:40 2000 Christopher Faylor <cgf@cygnus.com>
2684
2685 * Makefile.am: Fix space vs. tab problem in install-data-local.
2686 * Makefile.in: Regenerate.
2687
2688Wed Sep 6 13:49:51 2000 Christopher Faylor <cgf@cygnus.com>
2689
2690 * libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
2691 (_EXPARM): New macro for defining a function parameter.
2692 * libc/include/stdlib.h: Use _EXPARM.
2693 * libc/stdlib/mallocr.c: Don't build cfree for Cygwin.
2694
a36cd013
JJ
26952000-09-05 Manfred Hollstein <manfredh@redhat.com>
2696
2697 * Makefile.am (install-data-local): Use optional $(DESTDIR) where
2698 required, as documented in the gnu coding standards.
2699 * Makefile.in: Regenerate.
2700
f825dfda
JJ
27012000-09-05 Jeff Johnston <jjohnstn@redhat.com>
2702
2703 * libc/include/fcntl.h (_FNDELAY): Changed to be _FNONBLOCK to
2704 make O_NDELAY and O_NONBLOCK have the same value.
2705
4ba9aab7
JJ
27062000-08-30 Kazu Hirata <kazu@hxi.com>
2707
2708 * libc/sys/h8300hms/crt0.S: Optimize for both speed and code size.
2709
db7acc38
JJ
27102000-08-30 Werner Almesberger <Werner.Almesberger@epfl.ch>
2711
2712 * libc/posix/execve.c: included unistd.h for "_execve" prototype.
2713 * libc/misc/unctrl.c libc/sys/sysvi386/crt0.c (sccsid): changed
2714 "#ifndef lint" to "#if defined(LIBC_SCCS) && !defined(lint)" like
2715 everywhere else.
2716
44e36af4
GK
27172000-08-30 Geoffrey Keating <geoffk@cygnus.com>
2718
2719 * libc/string/swab.c: Specify that it's defined in <unistd.h>.
2720 * libc/include/string.h: Don't include <sys/types.h>,
2721 as it causes really bad namespace pollution. Don't declare
2722 swab(), it is properly declared in unistd.h.
2723
00a2f168
JJ
27242000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
2725
2726 * libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
2727 (broken) support for non-existent /etc/passwd field "comment".
2728
6beeb240
JJ
27292000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2730
2731 * libc/posix/scandir.c (DIRSIZ, scandir): use struct dirent.d_namlen
2732 only if _DIRENT_HAVE_D_NAMLEN is defined.
2733 (alphasort): aligned prototype with
2734 libc/sys/cygwin/sys/dirent.h and simplified function body.
2735 * libc/posix/telldir.c (telldir): changed "telldir" prototype to
2736 long telldir (DIR *) as mentioned in annex B of POSIX.1
2737
ef44da42
JJ
27382000-08-27 Werner Almesberger <Werner.Almesberger@epfl.ch>
2739
2740 * libc/machine/i386/i386mach.h: added SOTYPE_FUNCTION to set type
2741 of global entry points if _I386MACH_NEED_SOTYPE_FUNCTION is defined;
2742 Added __CLI and __STI macros (controlled via
2743 _I386MACH_ALLOW_HW_INTERRUPTS macro).
2744 * libc/machine/i386/f_atan2.S libc/machine/i386/f_atan2f.S
2745 libc/machine/i386/f_frexp.S libc/machine/i386/f_frexpf.S
2746 libc/machine/i386/f_ldexp.S libc/machine/i386/f_ldexpf.S
2747 libc/machine/i386/f_log.S libc/machine/i386/f_log10.S
2748 libc/machine/i386/f_log10f.S libc/machine/i386/f_logf.S
2749 libc/machine/i386/f_tan.S libc/machine/i386/f_tanf.S
2750 libc/machine/i386/memchr.S libc/machine/i386/memcmp.S
2751 libc/machine/i386/memcpy.S libc/machine/i386/memmove.S
2752 libc/machine/i386/memset.S libc/machine/i386/setjmp.S
2753 libc/machine/i386/strchr.S libc/machine/i386/strlen.S:
2754 (that's libc/machine/i386/*.S) added SOTYPE_FUNCTION(symbol)
2755 for all global entry points.
2756 * libc/machine/i386/setjmp.S: removed code replicated in
2757 libc/machine/i386/i386mach.h and included i386mach.h instead;
2758 Use __CLI and __STI instead of cli and sti.
2759
14d3488d
DD
27602000-08-25 DJ Delorie <dj@redhat.com>
2761
2762 * libc/include/sys/unistd.h (environ): this one isn't from the
2763 DLL, no __IMPORT
2764
c9ca4412
CF
2765Fri Aug 25 13:37:11 2000 Christopher Faylor <cgf@cygnus.com>
2766
2767 * libc/stdlib/system.c (do_system): Eliminate explicit declaration of
2768 environ when compiling under cygwin since it is already declared in
2769 unistd.h.
2770
2d5862de
JJ
27712000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2772
2773 * libc/stdlib/mprec.c (ulp, b2d, d2b): changed a few expressions
2774 like x << y-z to the equivalent x << (y-z).
2775 (d2b): changed if statements with assignment to perform the
2776 assignment prior to the if check.
2777 * libc/reent/reent.c: included stdlib.h for "_free_r" prototype.
2778 * libc/unix/getpass.c (getpass): moved "echo" assignment out of if.
2779 * libc/unix/ttyname.c: included string.h for "strcpy" prototype.
2780 * libc/unix/getcwd.c (ISDOT): added parentheses to clarify && and ||
2781 precedence.
2782 * libc/include/sys/unistd.h: added "vfork" prototype (for popen.c).
2783 Added "_execve" prototype (for execl.c, execle.c, execv.c, and
2784 execve.c).
2785 * libc/posix/popen.c (popen): added parentheses to clarify && and ||
2786 precedence.
2787 * libm/math/e_cosh.c (__ieee754_cosh): changed parentheses to
2788 clarify && and || precendence (and to remove pascalism).
2789 * libm/math/e_sinh.c (__ieee754_sinh): Ditto.
2790 * libm/math/s_infconst.c: added another pair of braces to all
2791 initializers for __infinity (need three: for __infinity[1] array,
2792 for union __dmath, and for i[2]).
2793
0888fedd
JJ
27942000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2795
199359f0
JJ
2796 * libc/stdlib/abort.c: changed description: uses "raise" instead of
2797 "getpid" and "kill"; added: uses "write" and "_exit".
2798 Also included unistd.h for "_exit" prototype.
2799 * libc/stdlib/system.c: included unistd.h for "execve" prototype,
2800 reent.h for "_fork_r" and "_wait_r" prototypes.
2801 (do_system): changed extern char *environ[] to POSIX-friendly
2802 extern char **environ.
2803 * libc/stdlib/wctomb_r.c: included string.h for "strlen" and "strcmp"
2804 prototypes.
2805 * libc/stdlib/remove.c: included reent.h for "_unlink_r" prototype.
2806 * libc/reent/execr.c: included sys/wait.h for "wait" prototype.
2807 * libc/reent/fstatr.c: included sys/stat.h for "fstat" prototype.
2808 * libc/reent/openr.c: included fcntl.h for "open" prototype.
2809 * libc/reent/signalr.c: included signal.h for "kill" prototype,
2810 unistd.h for "getpid" prototype.
2811 * libc/reent/statr.c: included sys/stat.h for "stat" prototype.
2812 * libc/reent/timer.c: included sys/time.h for "gettimeofday" prototype.
2813 * libc/unix/getut.c (utmpname): removed local, incorrect "strdup"
2814 prototype. Also included stdlib.h for "abort", string.h for
2815 "strdup" and "strncmp" prototypes.
2816 * libc/unix/getlogin.c: included string.h for "strncmp", "memset", and
2817 "strncpy", unistd.h for "read" and "close" prototypes.
2818 * libc/posix/execvp.c: included string.h for "strchr", "strlen", and
2819 "strcat" prototypes.
2820
28212000-08-23 Werner Almesberger <Wernen Almesberger@epfl.ch>
2822
0888fedd
JJ
2823 * libc/stdio/stdio.c (__swrite): declare "oldmode" only if it's
2824 used later (ifdef __SCLE)
2825 * libc/stdio/vfscanf.c (__svfscanf): declare "state" only if it's
2826 used later (ifdef MB_CAPABLE)
2827 * libc/string/memset.c (memset): removed unused variables "count"
2828 and "unaligned_addr"
2829 * libc/locale/locale.c (_setlocale_r): declare "lc_ctype" and
2830 "last_lc_ctype" only of they're used later (ifdef MB_CAPABLE)
2831 * libc/unix/getpwent.c (getpwnam): removed unused variables "uid"
2832 and "gid"
2833
a334e5ef
JJ
28342000-08-23 Werner Almesberger <Werner.Almesberger@epfl.ch>
2835
2836 * libc/stdlib/envlock.c: changed documented "__env_lock" and
2837 "__env_unlock" prototype from "void *" or "char *" to
2838 "struct _reent *" to match real function. Also added include
2839 of envlock.h.
2840 * libc/stdlib/mlock.c: changed documented "__malloc_lock" and
2841 "__malloc_unlock" prototype from "void *" or "char *" to
2842 "struct _reent *" to match real function.
2843 * libc/stdlib/envlock.h: added "__env_lock" and "__env_unlock"
2844 prototypes (for getenv_r.c and setenv_r.c).
2845
644b7f26
DD
28462000-08-22 Werner Almesberger <Werner.Almesberger@epfl.ch>
2847
2848 * libc/unix/getut.c (utmpname): added _CONST to reflect common use
2849 and prototype in cygwin's utmp.h
2850
5bacbf10
JJ
28512000-08-16 Eric Fifer <efifer@sanwaint.com>
2852
2853 * libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
2854
38a6bf98
NC
28552000-08-09 Nick Clifton <nickc@cygnus.com>
2856
2857 * libc/sys/arm/setjmp.S: Recode to clean up function prologues and
2858 epilogue and to allow the functions to be used in a Thumb based
2859 toolchain.
2860
befe0fb3
JJ
28612000-08-08 Jeff Johnston <jjohnstn@redhat.com>
2862
2863 * libc/stdio/snprintf.c (snprintf, _snprintf_r): Fixed code
2864 so size of 0 results in nothing being written to string.
2865 Also fixed code so that when size is non-zero, there is only
2866 a maximum of size - 1 characters written to the array and
2867 a nul terminator is appended at the end.
2868 * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto.
2869
749d9bcd
DD
28702000-08-01 DJ Delorie <dj@redhat.com>
2871
2872 * libc/include/sys/config.h: define __IMPORT appropriately
2873 * libc/include/ctype.h (_ctype_): use __IMPORT
2874 * libc/include/math.h (__infinity, signam, _LIB_VERSION): ditto
2875 * libc/include/math.h (__mb_cur_max): ditto
2876 * libc/include/time.h (_timezone, _daylight, _tzname): ditto
2877 * libc/include/unctrl.h (__unctrl, __unctrllen): ditto
2878 * libc/include/errno.h (_sys_errlist, _sys_nerr): ditto
2879 * libc/include/unistd.h (environ): ditto
2880
7c110b17
MM
28812000-07-28 Michael Meissner <meissner@redhat.com>
2882
2883 * libc/include/math.h (__infinity): Declare as an array without
2884 bounds to get around small data support. Rewrite Cygwin support
2885 to be more general.
2886 * libm/math/s_infconst.c (__infinity): Ditto.
2887 * libm/mathfp/s_infconst.c (__infinity): Ditto.
2888
bf7be721
CF
2889Thu Jul 27 10:46:01 2000 Christopher Faylor <cgf@cygnus.com>
2890
2891 * libc/include/math.h: Use appropriate dll import linkage for
2892 __infinity under Cygwin.
2893
91a8d90b
DD
28942000-07-13 DJ Delorie <dj@cygnus.com>
2895
2896 * libc/stdio/vfprintf.c: pad 0.0 correctly with %e
2897
ba2048d3
JJ
2898Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
2899
2900 * libc/sys/arm/crt0.S (.LC30): Added missing length parameter
2901 to argument list for AngelSWI_Reason_GetCmdLine.
2902
4634da64
JJ
2903Tue Jun 27 15:49:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
2904
2905 * configure.host: Add support for AVR target.
2906 * libc/include/machine/ieeefp.h: Likewise.
2907 * libc/include/sys/config.h: Likewise.
2908
b19f72a2
RK
2909Thu Jun 22 18:35:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2910
2911 * README: Newlib 1.8.2 must be built in a separate directory
2912 than the sources.
2913
a704d94a
JJ
2914Tue Jun 20 14:30:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2915
2916 * libc/include/sys/reent.h (_rand_next): Added __extension__
2917 qualifier as long long type is not strict ANSI.
2918 * libc/stdlib/rand.c (rand): Added __extension__ qualifier
2919 to long long constant.
2920
b585720b
CV
2921Fri Jun 16 23:02:00 2000 Corinna Vinschen <corinna@vinschen.de>
2922
2923 * libc/include/sys/unistd.h: Add prototypes for `seteuid' and
2924 `setegid' provided by Cygwin.
2925
01c327ba
CV
2926Thu Jun 15 0:21:00 2000 Corinna Vinschen <corinna@vinschen.de>
2927
2928 * libc/stdio/fdopen.c: Take explicit given bin/textmode into
2929 account for Cygwin.
2930
46a43a99
JJ
2931Fri Jun 9 14:28:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2932
2933 * libc/include/sys/reent.h (_rand_next): Changed to
2934 unsigned long long and moved to end of _reent struct in _new union.
2935 (_REENT_INIT): Changed to move _rand_next initialization.
2936 * libc/stdlib/rand.c (rand): Changed to use unsigned long long
2937 linear congruential algorithm that is used by DJGPP.
2938
a68078cb
RK
2939Thu Jun 8 21:18:00 2000 Ranjith Kumaran <ranjith@cygnus.com>
2940
2941 * libc/include/stdlib.h: Set RAND_MAX to __RAND_MAX.
2942 * libc/include/sys/config.h: Define __RAND_MAX.
2943
518882f3
JJ
2944Thu Jun 8 17:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
2945
2946 * libc/stdlib/rand_r.c: New algorithm that meets minimal
2947 standard.
2948
d51d968a
CF
2949Fri Jun 2 23:02:11 2000 Christopher Faylor <cgf@cygnus.com>
2950
2951 * libc/include/string.h: Work around problem with strsignal and gdb.
2952
d2dd5765
CF
2953Tue May 30 13:13:01 2000 Christopher Faylor <cgf@cygnus.com>
2954
2955 * libc/include/ctype.h: __CYGWIN32__ -> __CYGWIN__
2956 * libc/include/malloc.h: Ditto.
2957 * libc/include/process.h: Ditto.
2958 * libc/include/stdio.h: Ditto.
2959 * libc/include/stdlib.h: Ditto.
2960 * libc/include/time.h: Ditto.
2961 * libc/include/machine/setjmp.h: Ditto.
2962 * libc/include/sys/errno.h: Ditto.
2963 * libc/include/sys/signal.h: Ditto.
2964 * libc/include/sys/stat.h: Ditto.
2965 * libc/include/sys/time.h: Ditto.
2966 * libc/include/sys/unistd.h: Ditto.
2967 * libc/include/string.h: Ditto. strsignal should return a const char *.
2968
88870218
JJ
29692000-05-26 Marek Michalkiewicz <marekm@linux.org.pl>
2970
2971 * libm/common/s_expm1.c (expm1): Add curly braces, avoid warnings.
2972 * libm/common/s_log1p.c (log1p): Likewise.
2973 * libm/common/s_scalbn.c (scalbn): Likewise.
2974 * libm/math/e_log.c: Likewise.
2975 * libm/math/e_asin.c: Likewise.
2976 * libm/math/ef_asin.c: Likewise.
2977 * libm/math/e_j0.c (pzero, qzero): Remove redundant test.
2978 * libm/math/e_j1.c (pone, qone): Likewise.
2979 * libm/math/ef_j0.c (pzerof, qzerof): Likewise.
2980 * libm/math/ef_j1.c (ponef, qonef): Likewise.
2981 * libm/mathfp/e_j0.c (pzero, qzero): Likewise.
2982 * libm/mathfp/e_j1.c (pone, qone): Likewise.
2983 * libm/mathfp/ef_j0.c (pzerof, qzerof): Likewise.
2984 * libm/mathfp/ef_j1.c (ponef, qonef): Likewise.
2985
c4e1aa01
DD
29862000-05-19 DJ Delorie <dj@cygnus.com>
2987
2988 * libc/stdio/stdio.c (__stextmode): new, see if file is text mode
2989 (__sread): always read in binary mode
2990 (__swrite): always write in binary mode
2991 * libc/include/stdio.h: no getc/putc macros for cygwin; causes
2992 compatibility issues with different dll versions
2993 * libc/stdio/fopen.c: use __stextmode
2994 * libc/stdio/fdopen.c: ditto
2995 * libc/stdio/freopen.c: ditto
2996 * libc/stdio/findfp.c: set up __SCLE for std{in,out,err}
2997 * libc/stdio/local.h: declare __stextmode
2998
f4393261
DD
29992000-05-18 DJ Delorie <dj@cygnus.com>
3000
3001 * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE
3002
2b533fac
JJ
3003Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3004
3005 * libc/include/ctype.h: Changed tolower and toupper macros
3006 to use __extension__ to prevent pedantic warnings.
3007
75362a76
RK
3008Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
3009
3010 * libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
3011 structures.
3012
ec463fc7
JW
3013Wed May 10 19:24:53 2000 Jim Wilson <wilson@cygnus.com>
3014
3015 * libc/include/machine/ieeefp.h: Add ia64 support.
3016 * configure.host: Likewise.
3017
f35ceefa
JJ
3018Wed May 10 13:52:24 2000 Egor Duda <deo@logos-m.ru>
3019
3020 * libc/time/asctime_r.c (asctime_r): Change output format. Day of
3021 month is now padded with space, not zero. This now conforms to
3022 ANSI standard.
3023
b96fca8c
CV
3024Wed May 03 17:57:00 2000 Corinna Vinschen <corinna@vinschen.de>
3025
3026 * libc/include/sys/errno.h: Add define for ENOSHARE ("No such
3027 host or network path") used by cygwin. Add some comments.
3028
49d64538
JJ
3029Tue May 02 23:45:48 2000 DJ Delorie <dj@cygnus.com>
3030
3031 * libc/include/stdio.h (FILE): define __SCLE for "convert line
3032 endings" for Cygwin.
3033 (__sgetc): convert line endings if needed
3034 (__sputc): ditto
3035 * libc/stdio/fdopen.c (_fdopen_r): Remember if we opened in text mode
3036 * libc/stdio/fopen.c (_fopen_r): ditto
3037 * libc/stdio/freopen.c (freopen): ditto
3038 * libc/stdio/fread.c (fread): perform CRLF conversions if __SCLE
3039 * libc/stdio/fvwrite.c (__sfvwrite): ditto
3040
91fb1e7f
AO
3041Thu Apr 27 07:45:48 2000 Alexandre Oliva <aoliva@cygnus.com>
3042
3043 * libc/machine/mn10300/setjmp.S (setjmp, longjmp): Use
3044 post-increment when it is worth it, spacewise.
3045
c87be3e4
JJ
3046Mon Apr 17 12:46:00 2000 Marek Michalkiewicz <marekm@linux.org.pl>
3047
3048 * libc/signal/signal.c (_signal_r) : Removed unused local variable temp.
3049 * libc/stdio/findfp.c (std): Added declaration of flags and file.
3050 * libc/stdio/mktemp.c (_gettemp, _mkstemp_r, mkstemp): Added int
3051 return type.
3052 * libc/stdio/putchar.c (putchar): Added return statement.
3053 * libc/stdio/refill.c (lflush): Added correct parentheses.
3054 * libc/stdio/vfprintf.c (_VFPRINTF_R): Ditto.
3055 * libc/stdio/vfscanf.c (__svfscanf): Changed sprintf call which
3056 prints long value to use l qualifier.
3057 * libc/stdlib/dtoa.c (_dtoa_r): Added parentheses to remove warning
3058 messages and initialized local values: ilim, ilim1, and spec_case.
3059 * libc/stdlib/ecvtbuf.c (print_e): Removed unused variable dp.
3060 * libc/stdlib/mbctype.h (_issjis1, _issjis2): Added parentheses.
3061 * libc/stdlib/mprec.c: Ditto.
3062 * libc/stdlib/setenv_r.c: Ditto.
3063 * libc/stdlib/strtod.c: Ditto.
3064 * libc/stdlib/strtol.c: Ditto.
3065 * libc/stdlib/strtoul.c: Ditto.
3066 * libm/common/sf_expm1.c: Added curly braces to if else clauses.
3067 * libm/common/sf_log1p.c: Ditto.
3068 * libm/common/sf_scalbn.c: Ditto.
3069 * libm/math/ef_log.c: Ditto.
3070
11f5b065
CV
3071Sun Apr 16 12:45:00 2000 Corinna Vinschen <corinna@vinschen.de>
3072
3073 * libc/posix/execvp.c (execvp): Check path for
3074 trailing slash.
3075
796e3b20
CV
3076Fri Mar 31 20:39:00 2000 Corinna Vinschen <corinna@vinschen.de>
3077
3078 * libc/include/sys/unistd.h: Add prototypes for
3079 fchmod, fchown, lchown.
3080
b489803a
JJ
3081Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3082
3083 * acinclude.m4: Changed release to 1.8.2.
3084 * aclocal.m4 configure doc/aclocal.m4 doc/configure
3085 libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
3086 libc/machine/configure libc/machine/a29k/aclocal.m4
3087 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3088 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3089 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3090 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3091 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
3092 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3093 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3094 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3095 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3096 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3097 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3098 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3099 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3100 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3101 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3102 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3103 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3104 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
3105 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3106 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
3107 libc/machine/tic80/configure libc/machine/v850/aclocal.m4
3108 libc/machine/v850/configure libc/machine/w65/aclocal.m4
3109 libc/machine/w65/configure libc/machine/z8k/aclocal.m4
3110 libc/machine/z8k/configure libc/sys/aclocal.m4
3111 libc/sys/aclocal.m4 libc/sys/configure
3112 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3113 libc/sys/arm/aclocal.m4 libc/sys/arm/configure
3114 libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
3115 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3116 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3117 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3118 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3119 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3120 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3121 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3122 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3123 libc/sys/sh/aclocal.m4 libc/sys/sh/configure
3124 libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
3125 libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
3126 libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
3127 libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
3128 libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
3129 libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
3130 libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
3131 libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
3132 libc/sys/w65/aclocal.m4 libc/sys/w65/configure
3133 libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
3134 libm/aclocal.m4 libm/configure: Regenerated.
3135
79908d67
NC
31362000-03-24 Nick Clifton <nickc@cygnus.com>
3137
3138 * libc/sys/arm/syscalls.c: Fix compile time warnings.
3139 (do_AngelSWI): Add "cc" to list o registers clobbered.
3140
7684ddaf
FN
3141Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3142
3143 * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
3144 information to be clobbered by an Angel C library support syscall.
3145
b8ec20c8
JJ
3146Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3147
3148 * libc/stdlib/envlock.c: Fixed comment typo.
3149
fae4c299
JJ
3150Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3151
3152 * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
3153 code to update nread as each character is processed instead
3154 of using buffer contents which throw away leading zeroes.
3155
dc98804b
RK
3156Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
3157
3158 * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
3159
5ed2f523
JJ
3160Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
3161
3162 * libc/include/string.h: Include <sys/types.h>.
3163
1cf0ee34
AO
3164Fri Mar 10 14:53:50 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3165
3166 * libc/stdio/putw.c (putw): Return 0 on success, to be compliant
3167 with XSH5, not SVID.
3168
e9c94978
JJ
3169Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3170
3171 * libc/include/string.h: Changed last argument back to ssize_t
3172 to make it compatible with XPG4 definition which is
3173 defined in <unistd.h>. There is a conflict in the SVID 3
3174 and XPG4 definitions and newlib will settle with XPG4.
3175 * libc/string/swab.c: Ditto.
3176
3072163c
JJ
3177Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
3178
3179 * libc/include/string.h: Changed last argument to size_t.
3180 * libc/string/swab.c: Changed last argument to size_t.
3181
f205ea7a
AO
3182Wed Mar 8 00:46:41 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3183
3184 * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
3185 (CHEWOUT_FILES): Added unlinkr.def.
3186 * libc/reent/Makefile.in: Rebuilt.
3187 * libc/sys.tex: Include unlinkr.def.
3188 * libc/reent/linkr.c (_unlink_r): Moved to...
3189 * libc/reent/unlinkr.c: ... new file.
3190
85dd2e5b
AO
3191Wed Mar 8 00:43:07 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3192
3193 * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
3194 (CHEWOUT_FILES): Added swab.def.
3195 * libc/string/Makefile.in: Rebuilt.
3196 * libc/string/string.tex: Include swab.def.
3197 * libc/include/string.h (swab): Declare.
3198 * libc/string/swab.c: New file.
3199
c5053058
AO
3200Wed Mar 8 00:38:35 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3201
3202 * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
3203 (CHEWOUT_FILES): Added getw.def and putw.def.
3204 * libc/stdio/Makefile.in: Rebuilt.
3205 * libc/stdio/stdio.tex: Include getw.def and putw.def.
3206 * libc/stdio/getw.c: New file.
3207 * libc/stdio/putw.c: New file.
3208
dbaf37cf
JJ
3209Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3210
3211 * libc/stdio/flags.c (__sflags): Added check that mode[1]
3212 is non-null before looking at mode[2].
3213
bc019ef2
RK
3214Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3215
3216 * libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
3217 * libm/mathfp/sf_atan.c: Ditto.
3218
3219Thu Feb 24 11:39:00 2000 Joel Sherrill <joel@OARcorp.com>
3220
3221 * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
3222
cd641b2d
RK
3223Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
3224
3225 * libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
3226 _DOUBLE_IS_32BITS.
3227
b0ba0ac2
JJ
3228Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
3229
3230 * libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
3231 call prior to calling _VFPRINTF_R so reentrant data area is set.
3232 (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
3233
8a0efa53
CF
3234Thu Feb 17 01:42:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3235
3236 * libc/stdio/vfscanf.c (limits.h): #include.
3237 (MAX_LONG_LEN): #define.
3238 (__svfscanf): Handle floating point numbers with arbitrary amounts
3239 of leading zeroes.
3240
32412000-02-15 Nick Clifton <nickc@cygnus.com>
3242
3243 * libc/sys/arm/syscalls.c (_fstat): Initialise all fields to
3244 zero. Set the blocksize to 1024/
3245
3246Thu Jan 20 18:57:00 2000 Fernando Nasser <fnasser@redhat.com>
3247
3248 * setvbuf.c (setvbuf): Set size to BUFSIZ when passed a zero size
3249 with line buffering.
3250
3251Mon Jan 10 18:43:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
3252
3253 * acinclude.m4: Changed include directory for winsup headers.
3254 * aclocal.m4 configure libc/aclocal.m4
3255 libc/configure libc/ctype/Makefile.in libc/errno/Makefile.in
3256 libc/locale/Makefile.in libc/machine/aclocal.m4
3257 libc/machine/configure libc/machine/a29k/aclocal.m4
3258 libc/machine/a29k/configure libc/machine/arm/aclocal.m4
3259 libc/machine/arm/configure libc/machine/d10v/aclocal.m4
3260 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
3261 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
3262 libc/machine/fr30/configure
3263 libc/machine/h8300/aclocal.m4
3264 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
3265 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
3266 libc/machine/hppa/configure libc/machine/i386/aclocal.m4
3267 libc/machine/i386/configure libc/machine/i960/aclocal.m4
3268 libc/machine/i960/configure libc/machine/m32r/aclocal.m4
3269 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
3270 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
3271 libc/machine/m88k/configure libc/machine/mips/aclocal.m4
3272 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
3273 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
3274 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
3275 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
3276 libc/machine/powerpc/configure
3277 libc/machine/sh/aclocal.m4
3278 libc/machine/sh/configure libc/machine/sparc/aclocal.m4
3279 libc/machine/sparc/configure
3280 libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
3281 libc/machine/v850/aclocal.m4 libc/machine/v850/configure
3282 libc/machine/w65/aclocal.m4 libc/machine/w65/configure
3283 libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
3284 libc/misc/Makefile.in libc/posix/Makefile.in
3285 libc/reent/Makefile.in
3286 libc/signal/Makefile.in
3287 libc/string/Makefile.in libc/sys/aclocal.m4 libc/sys/configure
3288 libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
3289 libc/sys/arm/Makefile.in libc/sys/arm/aclocal.m4
3290 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
3291 libc/sys/cygwin/configure libc/sys/d10v/Makefile.in
3292 libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
3293 libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
3294 libc/sys/go32/aclocal.m4 libc/sys/go32/configure
3295 libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
3296 libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
3297 libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
3298 libc/sys/netware/aclocal.m4 libc/sys/netware/configure
3299 libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
3300 libc/sys/sh/Makefile.in libc/sys/sh/aclocal.m4
3301 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4
3302 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4
3303 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4
3304 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4
3305 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4
3306 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4
3307 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4
3308 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4
3309 libc/sys/tic80/configure libc/sys/w65/aclocal.m4
3310 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4
3311 libc/sys/z8ksim/configure libc/syscalls/Makefile.in
3312 libc/time/Makefile.in libc/unix/Makefile.in libm/aclocal.m4
3313 libm/configure: Regenerated.
3314
3315Mon Jan 10 18:43:46 2000 Jeff Johnston <jjohnstn@cygnus.com>
3316
3317 * libc/stdlib/putenv_r.c (_putenv_r): New file.
3318 * libc/stdlib/strdup_r.c (_strdup_r): New file.
3319 * libc/include/string.h: Added _strdup_r.
3320 * libc/stdlib/putenv.c: Added call to reentrant version.
3321 * libc/stdlib/strdup.c: Ditto.
3322 * libc/stdlib/Makefile.am: Added _putenv_r and _unsetenv_r.
3323 * libc/include/stdlib.h: Ditto.
3324 * libc/stdlib/Makefile.in: Regenerated.
3325 * libc/string/Makefile.in: Regenerated.
3326 * libc/stdlib/setenv.c: Added reentrant version of unsetenv.
3327 * libc/stdlib/setenv_r.c: Added unsetenv_r and changed memory
3328 management calls to reentrant versions.
3329 * libc/stdlib/wcstombs.c: Added #ifndef _REENT_ONLY wrapper.
3330 * libc/stdlib/wctomb.c: Ditto.
3331 * libc/stdlib/mblen.c: Ditto.
3332 * libc/stdlib/mbstowcs.c: Ditto.
3333 * libc/stdlib/mbtowc.c: Ditto.
3334 * libc/stdlib/getenv.c: Ditto.
3335 * libc/reent/reent.tex: Added references to _putenv_r, _setenv_r,
3336 and _strdup_r.
3337
3338Thu Jan 6 15:33:46 2000 Christopher Faylor <cgf@cygnus.com>
3339
3340 patch from Corinna Vinschen <corinna@vinschen.de>
3341 * libc/sys/cygwin/sys/param.h: Define NGROUP_MAX as 16.
3342
bc019ef2 3343Mon Jan 03 14:36:00 2000 Sergei Organov <osv@javad.ru>
8a0efa53
CF
3344
3345 * libm/mathfp/s_atangent.c: Fix exponent calculation.
3346 * libm/mathfp/s_ldexp.c: Ditto.
3347 * libm/mathfp/sf_atangent.c: Ditto.
3348 * libm/mathfp/sf_ldexp.c: Ditto.
3349
3350Tue Dec 14 5:42:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3351
3352 * libc/machine/i960/setjmp.S: fix typo leaving .link_pix uncommented
3353 * libc/include/locale.h: define NULL to be 0.
3354
3355Tue Dec 7 15:41:45 1999 Jim Wilson <wilson@cygnus.com>
3356
3357 * libc/sys/sh/syscalls.c (stack_ptr): Move definition before first
3358 function.
3359
3360Wed Dec 1 17:39:29 1999 Jeffrey A Law (law@cygnus.com)
3361
3362 * libc/machine/mn10300/setjmp.S: Handle am33.
3363
33641999-11-26 Nick Clifton <nickc@cygnus.com>
3365
3366 * libc/sys/arm/syscalls.c: Add function prototypes.
3367 (stack_ptr): Move declaration before function definitions.
3368
3369Sat Nov 20 17:13:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3370
3371 * NEWS: Updated version information.
3372 * README: Ditto.
3373
3374Tue Nov 09 12:19:21 1999 Jeff Johnston <jjohnstn@cygnus.com>
3375
3376 * libc/machine/i386/strchr.S: Fixed alignment test.
3377
3378Thu Oct 28 05:30:46 1999 Andrew Cagney <cagney@makita.cygnus.com>
3379
3380 * libc/sys/d10v/crt0.S (_start): Construct a real stack frame.
3381
3382Thu Oct 28 15:29:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3383
3384 * libc/sys/d10v/crt0.S (_start): Initialize both SPI and SPU
3385 ensuring that there is space between the two.
3386
3387Thu Oct 14 13:39:21 1999 Christopher Faylor <cgf@cygnus.com>
3388
3389 * libc/stdio/flags.c: Conditionalize check for 't' for cygwin case
3390 only.
3391
33921999-10-08 Vadim Egorov <egorovv@1c.ru>
3393
3394 * libc/include/stdlib.h: add ptsname, grantpt, unlockpt to cygwin
3395 section
3396
3397Sat Oct 2 02:02:00 MEST 1999 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3398
3399 * libc/machine/sh/asm.h: Added __SH4_SINGLE__ to DELAYED_BRANCHES
3400 * libc/machine/sh/memcpy.S: Fix line wrapping in SL macro
3401
3402Fri Oct 1 13:17:59 CDT 1999 <joel@OARcorp.com>
3403 * libc/include/grp.h: Added getgrnam_r and getgrgid_r prototypes
3404 per POSIX 1003.1b.
3405 * libc/include/pwd.h: Added getpwnam_r and getpwuid_r prototypes
3406 per POSIX 1003.1b.
3407
34081999-09-13 DJ Delorie <dj@cygnus.com>
3409
3410 * libc/stdio/mktemp.c (_gettemp): on cygwin, check for EACCESS
3411 also.
3412
3413Thu Sep 9 15:31:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3414
3415 * setvbuf.c (setvbuf): When mallocing a buffer of size BUFSIZ,
3416 also note BUFSIZ as its size.
3417
3418Tue Sep 7 17:15:00 1999 Joel Sherrill <joel@OARcorp.com>
3419
3420 * configure.host: Corrected feature defines for RTEMS.
3421 * libc/include/sys/stat.h: Added protototype for RTEMS mknod.
3422 * libc/include/sys/stat.h: mkfifo() should take const path arg.
3423 * libc/include/sys/unistd.h: pathconf() should take const path arg.
3424 Enabled usleep(), ftruncate(), and truncate() prototypes for RTEMS.
3425 Added defines for _POSIX_JOB_CONTROL, _POSIX_SAVED_IDS, and
3426 _POSIX_VERSION for RTEMS. Added defines for _PC_ASYNC_IO,
3427 _PC_PRIO_IO, and _PC_SYNC_IO.
3428 * libc/machine/m68k/Makefile.am: Added strcpy.c and strlen.c.
3429 * libc/machine/m68k/Makefile.in: Regenerated.
3430 * libc/machine/m68k/strcpy.c: New file.
3431 * libc/machine/m68k/strlen.c: New file.
3432 * libc/stdio/tmpnam.c: Always make the returned name usable.
3433 * libc/sys/rtems/crt0.c: New version that passes all autoconf tests.
3434 * libc/sys/rtems/sys/dirent.h: New file.
3435 * libc/sys/rtems/sys/types.h: Added dev_t.
3436
3437Tue Sep 7 17:15:00 1999 Jay Kulpinski <jskulpin@eng01.gdds.com>
3438
3439 * libc/stdlib/mprec.c: Fixed unitialized variable problem.
3440
3441Fri Sep 3 12:35:20 1999 Jeff Johnston <jjohnstn@cygnus.com>
3442
3443 * libc/stdio/ftell.c (ftell): Backing off Joern's fix and
3444 my patch.
3445
3446Thu Sep 2 22:05:20 1999 Christopher Faylor <cgf@cygnus.com>
3447
3448 patch from Jeff Johnston <jjohnstn@cygnus.com>
3449 * libc/stdio/ftell.c (ftell): Avoid using buffer position when the
3450 buffer is not in a useful state.
3451
34521999-09-01 Nick Clifton <nickc@cygnus.com>
3453
3454 * libc/sys/arm/syscalls.c (_link): Add stub.
3455
3456Fri Aug 27 23:09:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3457
3458 * ftell.c (ftell): Use actual position within buffer for text mode.
3459 * findfp.c (std): Initialize ptr->_bf._size.
3460
3461Wed Aug 18 18:48:02 1999 Christopher Faylor <cgf@cygnus.com>
3462
3463 * libc/include/sys/unistd.h: Add nice() declaration.
3464
34651999-08-09 Nick Clifton <nickc@cygnus.com>
3466
3467 * libc/sys/arm/crt0.S (change_mode): Rename to __change_mode and
3468 declare as a thumb function so that the disassembler will see the
3469 mode change.
3470
3471Thu Aug 5 17:37:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3472
3473 * libc/reent/reent.tex: Updated list of reentrant functions.
3474
34751999-07-09 Michael Meissner <meissner@cygnus.com>
3476
3477 * libc/include/stdlib.h (_findenv{,_r}): Add prototypes.
3478
3479Tue Jul 6 10:46:24 1999 Jeff Johnston <jjohnstn@cygnus.com>
3480
3481 * libc/stdio/sprintf.c: Moved snprintf and _snprintf_r to
3482 separate file.
3483 * libc/stdio/snprintf.c: New file.
3484 * libc/stdio/vsprintf.c: Moved vsnprintf and _vsnprintf_r to
3485 separate file.
3486 * libc/stdio/vsnprintf.c: New file.
3487 * libc/stdio/Makefile.am: Added snprintf.c and vsnprintf.c.
3488 * libc/stdio/Makefile.in: Regenerated.
3489
3490Mon Jul 5 14:43:24 1999 Christopher Faylor <cgf@cygnus.com>
3491
3492 Patch submitted by Egor Duda <deo@logos-m.ru>:
3493 * libc/include/stdio.h: Add declarations for *nprintf.
3494 * libc/stdio/sprintf.c (snprintf): New function.
3495 (_snprintf_r): New function.
3496 * libc/stdio/vsprintf.c (vsnprintf): New function.
3497 (_vnsprintf_r): New function.
3498
3499Wed Jun 30 16:36:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3500
3501 * libc/Makefile.am (stmp-targetdep): Remove extraneous blank.
3502 * libm/Makefile.am (stmp-targetdep): Ditto.
3503 * libc/Makefile.in: Regenerated.
3504 * libm/Makefile.in: Ditto.
3505
3506Fri Jun 25 10:49:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3507
3508 * libc/Makefile.am (stmp-targetdep): Ignore "." in SUBDIRS.
3509 * libm/Makefile.am (stmp-targetdep): Ditto.
3510 * libc/Makefile.in: Regenerated.
3511 * libm/Makefile.in: Ditto.
3512
3513Thu June 03 16:25:00 1999 Jeff Johnston <jjohnstn@cygnus.com>
3514
3515 * Makefile.am: Removed dependencies on all-recursive and added "."
3516 to the SUBDIRS list to prevent infinite recursion from occurring.
3517 Also removed any references to EXTRA_DATA.
3518 * libc/Makefile.am: Ditto.
3519 * libc/machine/Makefile.am: Ditto.
3520 * libc/machine/i386/Makefile.am: Ditto.
3521 * libm/Makefile.am: Ditto.
3522 * libc/sys/Makefile.am: Ditto.
3523 * Makefile.in: Regenerated.
3524 * aclocal.m4: Ditto.
3525 * configure: Ditto.
3526 * doc/Makefile.in: Ditto.
3527 * doc/aclocal.m4: Ditto.
3528 * doc/configure: Ditto.
3529 * libc/Makefile.in: Ditto.
3530 * libc/aclocal.m4: Ditto.
3531 * libc/configure: Ditto.
3532 * libc/machine/Makefile.in: Ditto.
3533 * libc/machine/aclocal.m4: Ditto.
3534 * libc/machine/configure: Ditto.
3535 * libc/machine/mn10300/Makefile.in: Ditto.
3536 * libc/machine/mn10300/aclocal.m4: Ditto.
3537 * libc/machine/mn10300/configure: Ditto.
3538 * libc/sys/Makefile.in: Ditto.
3539 * libc/sys/aclocal.m4: Ditto.
3540 * libc/sys/configure: Ditto.
3541 * libm/Makefile.in: Ditto.
3542 * libm/aclocal.m4: Ditto.
3543 * libm/configure: Ditto.
3544
3545Thu June 03 16:20:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3546
3547 * libc/include/stdlib/stdlib.tex: Add link to env_lock.
3548
3549Fri May 28 17:09:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3550
3551 * libc/include/stdlib.h: Add reentrant routines.
3552 * libc/stdlib/Makefile.am: Add reentrant routines.
3553 * libc/stdlib/Makefile.in: Ditto.
3554 * libc/stdlib/envlock.c: New file.
3555 * libc/stdlib/envlock.h: New file.
3556 * libc/stdlib/getenv.c: Modify to call reentrant routine.
3557 * libc/stdlib/getenv_r.c: New file.
3558 * libc/stdlib/mblen.c: Modify to call reentrant routine.
3559 * libc/stdlib/mblen_r.c: New file.
3560 * libc/stdlib/setenv.c: Modify to call reentrant routine.
3561 * libc/stdlib/setenv_r.c: New file.
3562 * libc/stdlib/stdlib.tex: Add reentrant routines.
3563
3564Mon May 17 22:01:38 1999 Christopher Faylor <cgf@cygnus.com>
3565
3566 * libc/include/sys/types.h: Define __MS_types__ whenever
3567 cygwin or win32.
3568
3569Sun May 16 16:02:41 1999 Christopher Faylor <cgf@cygnus.com>
3570
3571 * libc/include/machine/ieeefp.h: Always default to little
3572 endian if Windows, regardless of architecture.
3573 * libc/include/machine/sethmp.h: Define JBLEN if CYGWIN
3574 regardless of architecture.
3575
3576Mon May 3 11:49:18 1999 Geoffrey Noer <noer@cygnus.com>
3577
3578 * libc/include/machine/setjmp.h: Accept CYGWIN define, even if
3579 _WIN32 isn't defined.
3580
3581Mon May 3 11:41:51 1999 Jeff Johnston <jjohnstn@cygnus.com>
3582
3583 * libm/common/s_rint.c (rint): Add volatile qualifier for
3584 intermediate value w.
3585 * libm/common/sf_rint.c (rintf): Ditto.
3586
3587Thu Apr 29 20:34:27 1999 Jeff Johnston <jjohnstn@cygnus.com>
3588
3589 * libc/sys/arm/syscalls.c (remap_handle): Added check to
3590 ensure that std streams are initialized before being referenced.
3591
35921999-04-27 Jason Molenda (jsm@bugshack.cygnus.com)
3593
3594 * README: Update reference to newlib@cygnus.com new
3595 newlib@sourceware.cygnus.com address.
3596
3597Mon Apr 26 18:17:33 1999 Geoffrey Noer <noer@cygnus.com>
3598
3599 * libc/include/sys/types.h: Define MS_types if CYGWIN is defined.
3600 * libc/include/sys/fcntl.h: Define _O_BINARY et al if CYGWIN is
3601 defined, even if _WIN32 isn't defined.
3602
3603Sat Apr 24 19:59:55 1999 Christopher Faylor <cgf@cygnus.com>
3604
3605 * libc/include/sys/fcntl.h: Correct _O_CREATE to _O_CREAT.
3606
3607Wed Apr 21 18:01:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3608
3609 * libc/include/sys/reent.h: Change Long and ULong to __Long and
3610 __ULong.
3611 * libc/stdlib/dtoa.c: Ditto.
3612 * libc/stdlib/mprec.c: Ditto.
3613 * libc/stdlib/mprec.h: Ditto.
3614 * libc/stdlib/strtod.c: Ditto.
3615
36161999-04-21 Nick Clifton <nickc@cygnus.com>
3617
3618 * configure.host (mcore): Remove mcore machine directory.
3619
36201999-04-18 Nick Clifton <nickc@cygnus.com>
3621
3622 * libc/include/machine/ieeefp.h: Add support for mcore target.
3623 * libc/include/machine/setjmp.h: Add support for mcore target.
3624 * configure.host: Add support for mcore target.
3625
36261999-04-13 Mark Salter <msalter@cygnus.com>
3627
3628 * libc/sys/arm/libcfunc.c: Moved isatty to syscall.c
3629 * libc/sys/arm/syscalls.c: Added isatty.
3630
3631Wed Apr 07 16:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3632
3633 * libc/stdlib/ecvtbuf.c (fcvtbuf): Fixed code to properly
3634 insert zeroes after significant digits.
3635
3636Wed Mar 17 22:06:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3637
3638 * libc/stdio/vfprintf.c (cvt): Changed floating point
3639 cvt routine to use union used by dtoa to properly determine
3640 if the sign bit is on or not.
3641 * libc/stdio/vfieeefp.h: New file
3642
3643Wed Mar 17 17:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3644
3645 * aclocal.m4: Regenerated.
3646 * configure: Regenerated.
3647
3648Wed Mar 17 16:35:04 1999 Jeff Johnston <jjohnstn@cygnus.com>
3649
3650 * libc/machine/i386/Makefile.am (lib_a_SOURCES): Added missing
3651 f_tanf reference.
3652 * libc/machine/i386/Makefile.in: Regenerated.
3653
3654Tue Mar 16 14:56:36 1999 Jeff Johnston <jjohnstn@cygnus.com>
3655
3656 * acinclude.m4: Changed to work with new automake.
3657 * configure: Regenerated.
3658 * libc/machine/i386/aclocal.m4: Regenerated.
3659 * libc/machine/i386/configure: Regenerated.
3660
3661Tue Mar 16 13:55:36 1999 Corinna Vinschen <corinna.vinschen@cityweb.de>
3662
3663 * libc/sys/cygwin/sys/dirent.h: Add additional prototypes
3664 for telldir() and seekdir(). Rename unused structure element
3665 for use with these two routines.
3666
3667Fri Mar 12 19:11:58 1999 Jeff Johnston <jjohnstn@cygnus.com>
3668
3669 * libc/time/mktime.c (validate_structure): Multiple fixes to
3670 code to handle cases where input fields are outside valid ranges.
3671 * libc/stdlib/div.c (div): Modified invalid rounding check.
3672 * libc/stdlib/ldiv.c (ldiv): Ditto.
3673
3674Thu Mar 11 21:32:13 1999 Jeff Johnston <jjohnstn@cygnus.com>
3675
3676 * libc/machine/i386/memcpy.S: Performance rewrite.
3677 * libc/machine/i386/memmove.S: Ditto.
3678 * libc/machine/i386/i386mach.h: Added more register definitions.
3679 * libc/include/math.h: Include <machine/fastmath.h> if -ffast-math
3680 option used.
3681 * libc/include/machine/fastmath.h: Add definitions for x86
3682 fast-math routines.
3683
3684Wed Mar 10 17:56:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3685
3686 * libc/stdlib/strtod.c: Change from unsigned long to ULong.
3687
3688Tue Mar 9 14:31:58 1999 Geoffrey Noer <noer@cygnus.com>
3689
3690 Adjust newlib headers for new Cygwin Win32 API header files:
3691 * libc/include/sys/time.h: Check _WINSOCK_H rather than
3692 _GNU_H_WINDOWS32_SOCKETS.
3693 * libc/include/sys/types.h: Ditto.
3694
3695Tue Mar 09 15:55:00 1999 Ranjith Kumaran <ranjith@cygnus.com>
3696
3697 *include/sys/reent.h: Add checks for size of Bigint element Long.
3698 *libc/dtoa.c: Change routines to use generic Long type.
3699 *libc/mprec.c: Change routines to use generic Long type.
3700 *libc/mprec.h: Change routines to use generic Long type.
3701
3702Tue Mar 02 18:07:49 1999 Ranjith Kumaran <ranjith@cygnus.com>
3703
3704 * libc/Makefile.am: Add .def files.
3705 * libc/Makefile.in: Regenerate.
3706 * libc/e_acosh.c: Documentation update.
3707 * libc/e_atanh.c: Documentation update.
3708 * libc/e_hypot.c: Documentation update.
3709 * libc/e_remainder.c: Documentation update.
3710 * libc/er_lgamma.c: Documentation update.
3711 * libc/mathfp.tex: Documentation update.
3712 * libc/s_acos.c: Documentation update.
3713 * libc/s_atan.c: Documentation update.
3714 * libc/s_atan2.c: Documentation update.
3715 * libc/s_cosh.c: Documentation update.
3716 * libc/s_fmod.c: Documentation update.
3717 * libc/s_isnan.c: Documentation update.
3718 * libc/s_log10.c: Documentation update.
3719 * libc/s_pow.c: Documentation update.
3720 * libc/w_jn.c: Documentation update.
3721
3722Sun Feb 28 23:18:49 1999 Geoffrey Noer <noer@cygnus.com>
3723
3724 * aclocal.m4: Regenerate.
3725 * configure: Regenerate.
3726
3727Tue Feb 23 13:57:26 1999 Jeff Johnston <jjohnstn@cygnus.com>
3728
3729 * libc/machine/mn10300/setjmp.S (_longjmp): Fixed longjmp
3730 to return 1 if user specified return code is 0.
3731 * libc/machine/mn10200/setjmp.S (_longjmp): Ditto.
3732
3733Thu Feb 18 11:13:28 1999 Jeff Johnston <jjohnstn@cygnus.com>
3734
3735 * libc/machine/mn10200/setjmp.S (_setjmp/_longjmp): Fixed setjmp
3736 to save the return address. Fixed longjmp to return to the original
3737 calling address of setjmp and to return the user specified return code
3738 rather than default to 1.
3739 * libc/machine/mn10300/setjmp.S (_setjmp/_longjmp): Ditto.
3740
3741Mon Feb 15 17:48:17 1999 Jeff Johnston <jjohnstn@cygnus.com>
3742
3743 * libc/stdlib/mprec.h (mult): Define mult to be _multiply instead of _mult.
3744
37451999-02-10 Nick Clifton <nickc@cygnus.com>
3746
3747 * libc/sys/arm/syscalls.c (initialise_monitor_handles): Make block
3748 volatile so that its assignments will not be discarded.
3749
3750Wed Feb 10 17:19:40 1999 Jeff Johnston <jjohnstn@cygnus.com>
3751
3752 * libc/include/_ansi.h: Corrected _STRICT_ANSI reference to
3753 be __STRICT_ANSI__ which is generated by compiler.
3754 * libc/include/ctype.h: Ditto.
3755 * libc/include/math.h: Ditto.
3756 * libc/include/stdio.h: Ditto.
3757 * libc/include/stdlib.h: Ditto.
3758 * libc/include/string.h: Ditto.
3759 * libc/include/sys/signal.h: Ditto.
3760
37611999-02-08 Nick Clifton <nickc@cygnus.com>
3762
3763 * configure.host: Add support for StrongARM target.
3764
3765Fri Feb 5 11:13:14 1999 Jeff Johnston <jjohnstn@cygnus.com>
3766
3767 * libc/string/strncpy.c (strncpy): Removed redundant code
3768 that was copying bytes if data unaligned.
3769
37701999-02-02 Brendan Kehoe <brendan@cygnus.com>
3771
3772 * libc/stdlib/Makefile.{am,in} (CHEWOUT_FILES): Add mblen.def,
3773 mbstowcs.def, and wcstombs.def.
3774
3775Sat Jan 30 02:36:33 1999 Christopher Faylor <cgf@cygnus.com>
3776
3777 * libc/include/sys/errno.h: Add Cygwin errno.
3778 * libc/stdio/flags.c: Don't default to O_TEXT if no other flag
3779 is specified.
3780
37811999-01-29 Nick Clifton <nickc@cygnus.com>
3782
3783 * libc/sys/arm/syscalls.c: Move C library functions into seperate
3784 file.
3785
3786 * libc/sys/arm/libcfunc.c: New file containing C library functions
3787 from syscalls.c
3788
3789 * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add libcfuncs.c
3790 * libc/sys/arm/Makefile.in (lib_a_SOURCES): Regenerate.
3791
3792
37931999-01-27 Michael Meissner <meissner@cygnus.com>
3794
3795 * libc/include/machine/setjmp.h (D30V _JBLEN/_JBTYPE): Use double
3796 type, and cut size in half so that the jmp_buf array is guaranteed
3797 to be aligned on a 64-bit boundary.
3798
3799Mon Jan 25 12:05:38 1999 Jeff Johnston <jjohnstn@cygnus.com>
3800
3801 * libc/string/strings.tex: Added information about
3802 strcasecmp and strncasecmp.
3803 * libc/stdlib/stdlib.tex: Added missing information
3804 about mblen, mbstowcs, and wcstombs.
3805 * libc/string/strchr.c: Changed how mask is built to use
3806 shift operators so register will be used instead of storage.
3807
38081999-01-22 DJ Delorie <dj@cygnus.com>
3809
3810 * libc/include/stdlib.h: don't use dllimport if we're building
3811 newlib, since it's inside cygwin.dll
3812
3813Fri Jan 22 14:57:18 1999 Christopher Faylor <cgf@cygnus.com>
3814
3815 * libc/ctype/ctype_.c: Need to use __declspec(dllexport) for
3816 _ctype_ under cygwin.
3817
3818Fri Jan 22 09:50:19 1999 Christopher Faylor <cgf@cygnus.com>
3819
3820 * include/stdlib.h: Fix typo from previous checkin.
3821
3822Thu Jan 21 22:42:21 1999 Christopher Faylor <cgf@cygnus.com>
3823
3824 * include/ctype.h: Use __declspec(dllimport) method for exporting
3825 variable from cygwin DLL.
3826 * include/time.h: Ditto.
3827 * sys/errno.h: Ditto.
3828 * include/stdlib.h: Export __mb_cur_max from cygwin DLL.
3829 * libc/locale/locale.c: Use __declspec(dllexport) method for
3830 exporting variable from cygwin DLL.
3831
3832Sat Jan 16 13:29:54 1999 Christopher Faylor <cgf@cygnus.com>
3833
3834 * libc/stdio/setvbuf.c: Always clean up when _IONBF or possible
3835 access of bogus pointer will result in SIGSEGV.
3836
38371999-01-07 Nick Clifton <nickc@cygnus.com>
3838
3839 * libc/sys/arm/setjmp.S: Use C macros to cope with the possibility
3840 of an underscore prefix to function names.
3841
3842Fri Jan 8 19:00:07 1999 Jeff Johnston <jjohnstn@cygnus.com>
3843
3844 * libc/machine/i386/i386mach.h (__REG_PREFIX__): Create new
3845 define __REG_PREFIX__ instead of using __REGISTER_PREFIX__.
3846
38471998-12-31 Michael Meissner <meissner@cygnus.com>
3848
3849 * libc/machine/i386/i386mach.h (__REGISTER_PREFIX__): Only define
3850 to `%' if not already defined.
3851
38521998-12-30 Michael Meissner <meissner@cygnus.com>
3853
3854 * libc/stdio/tmpnam.c (_tempnam_r): Make directory and prefix
3855 arguments const char *, not char *.
3856 * libc/include/stdio.h (_tempnam_r): Ditto.
3857
3858 * libc/include/sys/reent.h (struct _reent): The _sig_func type
3859 points to a function taking an integer, not void.
3860
3861Tue Dec 29 14:35:53 1998 Christopher Faylor <cgf@cygnus.com>
3862
3863 * configure.host: Add a define for Cygwin builds.
3864 * libc/include/ctype.h: Don't use dll imported variables in newlib.
3865
3866Mon Dec 28 09:19:56 1998 Christopher Faylor <cgf@cygnus.com>
3867
3868 * libc/include/ctype.h: Define _ctype_ as dll imported variable
3869 for use with Cygwin.
3870 * libc/include/sys/errno.h: Define _sys_errlist and _sys_nerr as
3871 dll imported variables for use with Cygwin.
3872 * libc/ctype/ctype_.c: Undefine _ctype_ in case it has been defined
3873 as a dll imported variable for Cygwin.
3874
3875Sat Dec 26 00:13:53 1998 Christopher Faylor <cgf@cygnus.com>
3876
3877 * libc/include/sys/unistd.h: Add proto for getpass.
3878
3879Fri Dec 18 19:28:19 1998 Geoffrey Noer <noer@cygnus.com>
3880
3881 * libc/sys/cygwin/sys/dirent.h: add protos for scandir and
3882 alphasort.
3883
3884Fri Dec 18 16:33:25 1998 Geoffrey Noer <noer@cygnus.com>
3885
3886 * libc/posix/execvp.c (execvp): call cygwin_posix_path_list_p,
3887 not posix_path_list_p.
3888
38891998-12-15 Nick Clifton <nickc@cygnus.com>
3890
3891 * libc/string/memchr.c: Treat 'c' argument as an unsigned byte not
3892 a signed int.
3893
38941998-12-13 Nick Clifton <nickc@cygnus.com>
3895
3896 * libc/include/machine/setjmp.h (_JBLEN): Set to 10.
3897
38981998-12-12 Nick Clifton <nickc@cygnus.com>
3899
3900 * libc/machine/fr30/setjmp.S: New file, supplied by Mark Slater
3901 <msalter@cygnus.com>
3902 * libc/machine/fr30/Makefile.am: Add build of setjmp.S
3903 * libc/machine/fr30/Makefile.in: Regenerated.
3904
39051998-12-11 Nick Clifton <nickc@cygnus.com>
3906
3907 * configure.host: Remove use of libc/sys for FR30 port.
3908 * libc/sys/fr30: Remove directory (replaced by libgloss).
3909
39101998-12-10 Ken Raeburn <raeburn@cygnus.com>
3911
3912 * libc/string/strcat.c (ALIGNED): Sense of result was reversed.
3913 * libc/string/strncat.c (ALIGNED): Ditto.
3914
3915Wed Dec 9 14:37:57 1998 Geoffrey Noer <noer@cygnus.com>
3916
3917 * libc/include/sys/time.h: include sys/types.h
3918
3919Tue Dec 8 15:53:18 1998 Jeff Johnston <jjohnstn@cygnus.com>
3920
3921 * libc/machine/i386/memcmp.S (memcmp): Fix for unequal
3922 comparison found when checking word at a time.
3923
39241998-12-04 Nick Clifton <nickc@cygnus.com>
3925
3926 * libc/sys/fr30/crt0.s (_start): Initialise frame pointer.
3927
39281998-12-03 Nick Clifton <nickc@cygnus.com>
3929
3930 * libc/sys/fr30/syscalls.c (_times): New function stub.
3931
3932Thu Dec 3 15:59:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3933
3934 * configure.host (mach_add_setjmp): Replaced mach_add_objs
3935 with mach_add_setjmp flag which indicates if setjmp should
3936 be added to the machine directory objects.
3937 * acinclude.m4: Removed reference to mach_add_objs.
3938 * aclocal.m4: Regenerated.
3939 * Makefile.in: Regenerated.
3940 * configure: Regenerated.
3941 * libc/aclocal.m4: Regenerated.
3942 * libc/Makefile.in: Regenerated.
3943 * libc/configure: Regenerated.
3944 * libc/machine/aclocal.m4: Regenerated.
3945 * libc/machine/Makefile.in: Regenerated.
3946 * libc/machine/configure: Regenerated.
3947 * libc/machine/i386/aclocal.m4: Regenerated.
3948 * libc/machine/i386/Makefile.am: Altered to selectively add
3949 setjmp.S to the src files list.
3950 * libc/machine/i386/Makefile.in: Regenerated.
3951 * libc/machine/i386/configure.in: Altered to test mach_add_setjmp.
3952 * libc/machine/i386/configure: Regenerated.
3953
39541998-12-02 Nick Clifton <nickc@cygnus.com>
3955
3956 * libc/sys/fr30/crt0.s (_start): Fix function names.
3957
3958 * libc/machine/fr30: New directory
3959 * libc/machine/fr30/Makefile.am: New file.
3960 * libc/machine/fr30/Makefile.in: New generated file.
3961 * libc/machine/fr30/configure.in: New file.
3962 * libc/machine/fr30/configure: New generated file.
3963 * libc/machine/fr30/aclocal.m4: New generated file.
3964 * libc/sys/fr30/Makefile.am: New file.
3965 * libc/sys/fr30/Makefile.in: New generated file.
3966 * libc/sys/fr30/configure.in: New file.
3967 * libc/sys/fr30/configure: New generated file.
3968 * libc/sys/fr30/syscalls.c: New file.
3969
3970Tue Dec 1 16:28:56 1998 Geoffrey Noer <noer@cygnus.com>
3971
3972 * libc/sys/cygwin/sys/utmp.h: new file, moved from winsup/include.
3973
39741998-12-01 Ken Raeburn <raeburn@cygnus.com>
3975
3976 * libc/time/strftime.c (strftime): Also handle %y for years before
3977 1900.
3978
3979Tue Dec 1 13:26:07 1998 Christopher Faylor <cgf@cygnus.com>
3980
3981 * libc/string/strcasecmp.c (strcasecmp): Adhere to standard
3982 UNIX convention. Perform tolower on characters before comparing
3983 them rather than use toupper.
3984 * libc/string/strncasecmp.c (strncasecmp): Ditto.
3985
3986Mon Nov 30 16:24:19 1998 Jeff Johnston <jjohnstn@cygnus.com>
3987
3988 * configure.host: Added using i386 machine directory
3989 for all x86 cross-compiler and configuring
3990 which added object files to use via new "mach_add_objs" variable.
3991 * configure: Regenerated.
3992 * libc/configure: Regenerated.
3993 * libc/Makefile.in: Regenerated.
3994 * libc/aclocal.m4: Regenerated.
3995 * libc/ctype/Makefile.in: Regenerated.
3996 * libc/errno/Makefile.in: Regenerated.
3997 * libc/locale/Makefile.in: Regenerated.
3998 * libc/machine/Makefile.in: Regenerated.
3999 * libc/machine/aclocal.m4: Regenerated.
4000 * libc/machine/configure: Regenerated.
4001 * libc/posix/Makefile.in: Regenerated.
4002 * libc/reent/Makefile.in: Regenerated.
4003 * libc/signal/Makefile.in: Regenerated.
4004 * libc/stdio/Makefile.in: Regenerated.
4005 * libc/stdlib/Makefile.in: Regenerated.
4006 * libc/string/Makefile.in: Regenerated.
4007 * libc/string/memmove.c: Optimized code to use memcpy
4008 logic when performing a non-destructive copy.
4009 * libc/string/strncmp.c: Altered code to allow building
4010 optimized for size or speed.
4011 * libc/syscalls/Makefile.in: Regenerated.
4012 * libc/time/Makefile.in: Regenerated.
4013 * libc/unix/Makefile.in: Regenerated.
4014 * libc/machine/i386/Makefile.am: Added new files and reference
4015 to "mach_add_objs" to indicate optional object files.
4016 * libc/machine/i386/Makefile.in: Regenerated.
4017 * libc/machine/i386/aclocal.m4: Regenerated.
4018 * libc/machine/i386/configure: Regenerated.
4019 * libc/machine/i386/memchr.S: New file that implements
4020 function in Intel assembler.
4021 * libc/machine/i386/memcmp.S: ditto.
4022 * libc/machine/i386/memcpy.S: ditto.
4023 * libc/machine/i386/memmove.S: ditto.
4024 * libc/machine/i386/memset.S: ditto.
4025 * libc/machine/i386/strchr.S: ditto.
4026 * libc/machine/i386/strlen.S: ditto.
4027 * libc/machine/i386/f_atan2.S: New file that implements
4028 fast version of math function to be used by compiler when
4029 --ffast_math compile option is used.
4030 * libc/machine/i386/f_atan2f.S: ditto.
4031 * libc/machine/i386/f_exp.c: ditto.
4032 * libc/machine/i386/f_expf.c: ditto.
4033 * libc/machine/i386/f_frexp.S: ditto.
4034 * libc/machine/i386/f_frexpf.S: ditto.
4035 * libc/machine/i386/f_ldexp.S: ditto.
4036 * libc/machine/i386/f_ldexpf.S: ditto.
4037 * libc/machine/i386/f_log.S: ditto.
4038 * libc/machine/i386/f_logf.S: ditto.
4039 * libc/machine/i386/f_log10.S: ditto.
4040 * libc/machine/i386/f_log10f.S: ditto.
4041 * libc/machine/i386/f_math.h: New file.
4042 * libc/machine/i386/f_pow.c: ditto.
4043 * libc/machine/i386/f_powf.S: ditto.
4044 * libc/machine/i386/f_tan.S: ditto.
4045 * libc/machine/i386/f_tan.S: ditto.
4046 * libc/machine/i386/i386mach.h: New file.
4047
4048Mon Nov 30 13:02:17 1998 Christopher Faylor <cgf@cygnus.com>
4049
4050 patch from Mumit Khan <khan@xraylith.wisc.edu>
4051 * libc/include/stdio.h (tempnam): Add prototype.
4052 * libc/stdio/tmpnam.c (_tempnam_r): Handle NULL prefix.
4053 (tempnam): Adhere to prototype.
4054
4055Thu Nov 26 00:21:32 1998 Christopher Faylor <cgf@cygnus.com>
4056
4057 * Makefile.am: Add default for AR_FLAGS.
4058 * Makefile.in: Regenerate.
4059
4060Tue Nov 24 18:48:56 1998 Geoffrey Noer <noer@cygnus.com>
4061
4062 * libc/include/time.h: move __cplusplus wrapper after includes
4063 * libc/include/sys/time.h: ditto. If Cygwin, include
4064 sys/select.h.
4065 * libc/include/sys/types.h: lose "32" in comment about Cygwin.
4066
40671998-11-23 Ken Raeburn <raeburn@cygnus.com>
4068
4069 * libc/time/strftime.c (strftime): Handle %y after year 2000.
4070
4071Wed Nov 18 12:22:41 1998 Nick Clifton <nickc@cygnus.com>
4072
4073 * libc/sys/fr30/crt0.s (_start): Switch over to using int #9 as
4074 abnormnal end-of-crt0 marker.
4075
4076Tue Nov 17 16:27:58 1998 Nick Clifton <nickc@cygnus.com>
4077
4078 * libc/sys/fr30/crt0.s: New file/directory.
4079 * libc/include/machine/setjmp.h: Add FR30 target.
4080 * libc/include/machine/ieeefp.h: Add FR30 target.
4081 * configure.host: Add FR30 target.
4082
4083Mon Nov 16 23:15:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4084
4085 * libm/math: Files that are duplicated in common directory removed.
4086 * libm/math/fdlibm.h: Removed.
4087 * libm/math/s_cbrt.c: Removed.
4088 * libm/math/s_copysign.c: Removed.
4089 * libm/math/s_expm1.c: Removed.
4090 * libm/math/s_finite.c: Removed.
4091 * libm/math/s_ilogb.c: Removed.
4092 * libm/math/s_infinity.c: Removed.
4093 * libm/math/s_lib_ver.c: Removed.
4094 * libm/math/s_log1p.c: Removed.
4095 * libm/math/s_logb.c: Removed.
4096 * libm/math/s_matherr.c: Removed.
4097 * libm/math/s_modf.c: Removed.
4098 * libm/math/s_nan.c: Removed.
4099 * libm/math/s_nextafter.c: Removed.
4100 * libm/math/s_rint.c: Removed.
4101 * libm/math/s_scalbn.c: Removed.
4102 * libm/math/sf_cbrt.c: Removed.
4103 * libm/math/sf_copysign.c: Removed.
4104 * libm/math/sf_expm1.c: Removed.
4105 * libm/math/sf_finite.c: Removed.
4106 * libm/math/sf_ilogb.c: Removed.
4107 * libm/math/sf_infinity.c: Removed.
4108 * libm/math/sf_log1p.c: Removed.
4109 * libm/math/sf_logb.c: Removed.
4110 * libm/math/sf_modf.c: Removed.
4111 * libm/math/sf_nan.c: Removed.
4112 * libm/math/sf_nextafter.c: Removed.
4113 * libm/math/sf_rint.c: Removed.
4114 * libm/math/sf_scalbn.c: Removed.
4115 * libm/math/Makefile.am: Removed references to deleted files (above).
4116 * libm/math/Makefile.in: Regenerated.
4117 * libm/Makefile.am: Added common directory to math.
4118 * libm/Makefile.in: Regenerated.
4119
4120Mon Nov 2 23:12:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4121
4122 * libm/mathfp: Add non-ANSI functions.
4123 * libm/mathfp/e_acosh.c acosh(): New file.
4124 * libm/mathfp/e_atanh.c atanh(): New file.
4125 * libm/mathfp/e_hypot.c hypot(): New file.
4126 * libm/mathfp/e_j0.c j0(): New file.
4127 * libm/mathfp/e_j1.c j1(): New file.
4128 * libm/mathfp/e_remainder.c remainder(): New file.
4129 * libm/mathfp/e_scalb.c scalb(): New file.
4130 * libm/mathfp/ef_acosh.c acoshf(): New file.
4131 * libm/mathfp/ef_atanh.c atanhf(): New file.
4132 * libm/mathfp/ef_hypot.c hypotf(): New file.
4133 * libm/mathfp/ef_j0.c j0f(): New file.
4134 * libm/mathfp/ef_j1.c j1f(): New file.
4135 * libm/mathfp/ef_remainder.c remainderf(): New file.
4136 * libm/mathfp/ef_scalb.c scalbf(): New file.
4137 * libm/mathfp/er_gamma.c gamma_r: New file.
4138 * libm/mathfp/er_lgamma.c lgamma_r(): New file.
4139 * libm/mathfp/erf_gamma.c gamma_rf(): New file.
4140 * libm/mathfp/erf_lgamma.c lgamma_rf(): New file.
4141 * libm/mathfp/w_cabs.c cabs(): New file.
4142 * libm/mathfp/w_drem.c drem(): New file.
4143 * libm/mathfp/w_jn.c jn(): New file.
4144 * libm/mathfp/wf_cabs.c cabsf(): New file.
4145 * libm/mathfp/wf_drem.c dremf(): New file.
4146 * libm/mathfp/wf_jn.c jnf(): New file.
4147
4148Mon Nov 2 16:43:18 1998 Geoffrey Noer <noer@cygnus.com>
4149
4150 * libc/sys/cygwin32: remove directory and contents
4151 * libc/sys/cygwin: and add back, losing the "32".
4152 * configure.host: check for cygwin* instead of cygwin32.
4153 * acinclude.m4: ditto.
4154 * aclocal.m4: regenerate with aclocal
4155 * configure: regenerate with autoconf
4156
4157Tue Oct 20 17:28:28 1998 Geoffrey Noer <noer@cygnus.com>
4158
4159 * libc/stdio/tmpnam.c (_tempnam_r): not enough memory allocated
4160 for length
4161
4162Tue Oct 20 18:49:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4163
4164 * libc/include/sys/reent.h (struct _reent): Added variables _rand_next, _strtok_last,
4165 _asctime_buf, _localtime_buf and _gamma_signgam to struct reent
4166 to make rand/srand, strtok, asctime, localtime, w_gamma,
4167 w_lgamma, wf_gamma, and wf_lgamma reentrant. Included
4168 time.h to bring in struct tm definition.
4169 * libc/stdlib/rand.c (rand, srand): Don't emit functions 'rand' and 'srand' if
4170 '_REENT_ONLY' is set. Used variable '_rand_next' from struct reent.
4171 * libc/stdlib/strtok.c (strtok): Used variable '_strtok_last' from struct reent
4172 instead of static variable.
4173 * libc/stdlib/asctime.c (asctime): Used variable '_asctime_buf' from
4174 struct reent instead of static variable.
4175 * libc/stdlib/lcltime.c (localtime): Used variable '_localtime_buf' from
4176 struct reent instead of static variable.
4177 * libm/math/Makefile.am: Removed s_signgam.o.
4178 * libm/math/Makefile.in: Regenerated.
4179 * libm/math/w_gamma.c (gamma): Used variable '_gamma_signgam' from
4180 struct reent instead of global variable 'signgam'.
4181 * libm/math/w_lgamma.c (lgamma): Likewise.
4182 * libm/math/wf_gamma.c (gammaf): Likewise.
4183 * libm/math/wf_lgamma.c (lgammaf): Likewise.
4184 * libm/math/s_signgam.c: Removed.
4185 * libc/include/unctrl.h: Defined arrays __unctrl and __unctrllen
4186 to be const.
4187 * libc/misc/unctrl.c: Defined arrays __unctrl and __unctrllen
4188 to be const.
4189 * libc/reent/Makefile.am: Added dependence for impure.o on impure.c and
4190 libc/include/reent.h.
4191 * libc/reent/Makefile.in: Regenerated.
4192 * libc/stdio/vfprintf.c (_vfprintf_r): Defined arrays 'blanks' and 'zeroes'
4193 to be const.
4194 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Defined arrays 'JIS_state_table' and
4195 'JIS_action_table' to be const.
4196 * libm/math/s_lib_ver.c: define variable _LIB_VERSION to be const.
4197
4198Mon Oct 12 00:26:33 1998 Christopher Faylor <cgf@cygnus.com>
4199
4200 * acinclude.m4: $with_target_subdir should default to '.'
4201 or confusion results when configuring in same directory as sources.
4202 * Regenerate all aclocal.m4 and configure files.
4203
4204Fri Oct 9 16:27:36 1998 Jeff Johnston <jjohnstn@cygnus.com>
4205
4206 * libc/stdlib/mallocr.c: Added 16 byte alignment support which
4207 can be set by defining MALLOC_ALIGNMENT=16. Also added support
4208 for platforms where sizeof(size_t) < sizeof(long) via
4209 SIZE_T_SMALLER_THAN_LONG macro.
4210
4211Wed Oct 7 14:02:40 1998 Jeff Johnston <jjohnstn@cygnus.com>
4212
4213 * libc/include/time.h (CLOCKS_PER_SEC): Change CLOCKS_PER_SEC
4214 to refer to _CLOCKS_PER_SEC_ and added including <machine/time.h>
4215 which sets _CLOCKS_PER_SEC_ for selected machines.
4216 * libc/include/machine/time.h: New file.
4217
4218Tue Oct 6 16:08:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4219
4220 * libc/syscalls/sysexecve.c: New file.
4221 * libc/syscalls/sysgettod.c: New file.
4222 * libc/syscalls/systimes.c: New file.
4223 * libc/syscalls/Makefile.am: Added new objects.
4224 * libc/syscalls/Makefile.in: Regenerated.
4225 * libc/include/_syslist.h (_execve): Moved define in file.
4226 * libc/include/reent.h: Added _execve_r declaration.
4227 * libc/Makefile.in: Regenerated.
4228 * libc/ctype/Makefile.in: Regenerated.
4229 * libc/errno/Makefile.in: Regenerated.
4230 * libc/locale/Makefile.in: Regenerated.
4231 * libc/machine/Makefile.in: Regenerated.
4232 * libc/misc/Makefile.in: Regenerated.
4233 * libc/posix/Makefile.in: Regenerated.
4234 * libc/reent/Makefile.in: Regenerated.
4235 * libc/reent/execr.c (_execve_r): Added _execve_r function.
4236 * libc/signal/Makefile.in: Regenerated.
4237 * libc/stdio/Makefile.in: Regenerated.
4238 * libc/time/Makefile.in: Regenerated.
4239 * libc/unix/Makefile.in: Regenerated.
4240 * libm/mathfp/Makefile.in: Regenerated.
4241
4242Tue Oct 6 14:14:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4243
4244 * libc/string/Makefile.in: Regenerated.
4245 * libc/string/memchr.c (memchr): Moved code to reduce object size.
4246 * libc/string/memcpy.c (memcpy): Ditto.
4247 * libc/string/memcmp.c (memcmp): Ditto.
4248 * libc/string/memset.c (memset): Ditto.
4249 * libc/string/strchr.c (strchr): Ditto.
4250 * libc/string/strcmp.c (strcmp): Ditto.
4251 * libc/string/strcpy.c (strcpy): Ditto.
4252 * libc/string/strlen.c (strlen): Ditto.
4253
4254Tue Oct 6 13:58:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4255
4256 * libm/acinclude.m4: Removed since newlib/acinclude.m4 can be used
4257 to generate aclocal.m4.
4258 * libm/Makefile.in: Regenerated.
4259 * libm/aclocal.m4: Regenerated.
4260 * libm/configure: Regenerated.
4261 * libm/math/Makefile.in: Regenerated.
4262 * libm/mathfp/Makefile.in: Regenerated.
4263
42641998-09-25 Mark Salter <msalter@cygnus.com>
4265
4266 * libc/include/machine/setjmp.h: Fixed test for mn10300 and mn10200
4267 by adding leading and trailing underscores to symbol names.
4268
4269Tue Sep 22 15:33:41 1998 Christopher Faylor <cgf@cygnus.com>
4270
4271 * Makefile.in: Add default for AR_FLAGS.
4272
4273Tue Sep 22 15:02:49 1998 Christopher Faylor <cgf@cygnus.com>
4274
4275 patch from ian@airs.com (Ian Taylor):
4276 * acinclude.m4: Run AC_CANONICAL_BUILD explicitly before
4277 NEWLIB_CONFIGURE so AC_CANONICAL_HOST will be run before it
4278 is needed for detecting the build machine. Required for
4279 cygwin native builds.
4280
4281 * Regenerate all aclocal.m4 and configure files.
4282
4283Mon Sep 21 14:44:16 1998 Nick Clifton <nickc@cygnus.com>
4284
4285 * libc/sys/arm/crt0.S: Prepend a period to all local labels that
4286 used to start with LC.
4287
4288Thu Sep 17 18:18:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4289
4290 * libc/machine/sh/setjmp.S (setjmp): Handle __SH4* like __SH3E__ .
4291 (longjmp): Likewise.
4292
4293Thu Sep 17 16:25:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4294
4295 * libc/machine/sh/memset.S (memset): Move copy from r4 to r4 before
4296 the test for small number of bytes.
4297
4298Thu Sep 10 11:40:00 1998 Ranjith Kumaran <ranjith@cygnus.com>
4299
4300 * Makefile.am: Add --enable-newlib-hw-fp check. This builds the new
4301 math library that uses floating point algorithms instead of the old
4302 libm.
4303 * Makefile.in: Regenerate with automake version 1.3b.
4304 * configure: Rebuild.
4305 * libm/Makefile.in: Regenerate with automake version 1.3b.
4306 * libm/aclocal.m4: Regenerate.
4307 * libm/configure: Rebuild.
4308 * libm/configure.in: Add newlib_hw_fp definition and mathfp directory.
4309 * libm/acinclude.m4: Define macros for configure.in.
4310 * libm/config.h.in: Generate.
4311 * libm/mathfp/Makefile.am: New file.
4312 * libm/mathfp/Makefile.in: Generate.
4313 * libm/mathfp/s_acos.c (acos): New file.
4314 * libm/mathfp/s_asin.c (asin): New file.
4315 * libm/mathfp/s_asine.c (asine): New file.
4316 * libm/mathfp/s_atan.c (atan): New file.
4317 * libm/mathfp/s_atan2.c (atan2): New file.
4318 * libm/mathfp/s_atangent.c (atangent): New file.
4319 * libm/mathfp/s_ceil.c (ceil): New file.
4320 * libm/mathfp/s_copysign.c (copysign): New file.
4321 * libm/mathfp/s_cos.c (cos): New file.
4322 * libm/mathfp/s_cosh.c (cosh): New file.
4323 * libm/mathfp/s_exp.c (exp): New file.
4324 * libm/mathfp/s_fabs.c (fabs): New file.
4325 * libm/mathfp/s_finite.c (finite): New file.
4326 * libm/mathfp/s_floor.c (floor): New file.
4327 * libm/mathfp/s_fmod.c (fmod): New file.
4328 * libm/mathfp/s_frexp.c (frexp): New file.
4329 * libm/mathfp/s_infconst.c: New file.
4330 * libm/mathfp/s_isinf (isinf).c: New file.
4331 * libm/mathfp/s_isnan.c (isnan): New file.
4332 * libm/mathfp/s_ispos.c (ispos): New file.
4333 * libm/mathfp/s_ldexp.c (ldexp): New file.
4334 * libm/mathfp/s_log.c (log): New file.
4335 * libm/mathfp/s_log10.c (log10): New file.
4336 * libm/mathfp/s_logarithm.c (logarithm): New file.
4337 * libm/mathfp/s_mathcnst.c: New file.
4338 * libm/mathfp/s_modf (modf).c: New file.
4339 * libm/mathfp/s_numtest.c (numtest): New file.
4340 * libm/mathfp/s_pow.c (pow): New file.
4341 * libm/mathfp/s_scalbn.c (scalbn): New file.
4342 * libm/mathfp/s_sin (sin).c: New file.
4343 * libm/mathfp/s_sine.c (sine): New file.
4344 * libm/mathfp/s_sineh.c (sineh): New file.
4345 * libm/mathfp/s_sinf.c (sinf): New file.
4346 * libm/mathfp/s_sinh.c (sinh): New file.
4347 * libm/mathfp/s_sqrt.c (sqrt): New file.
4348 * libm/mathfp/s_tan.c (tan): New file.
4349 * libm/mathfp/s_tanh.c (tanh): New file.
4350 * libm/mathfp/sf_acos.c (acosf): New file.
4351 * libm/mathfp/sf_asin.c (asinf): New file.
4352 * libm/mathfp/sf_asine.c (asinef): New file.
4353 * libm/mathfp/sf_atan.c (atanf): New file.
4354 * libm/mathfp/sf_atan2.c (atan2f): New file.
4355 * libm/mathfp/sf_atangent.c (atangent): New file.
4356 * libm/mathfp/sf_ceil.c (ceilf): New file.
4357 * libm/mathfp/sf_copysign.c (copysignf): New file.
4358 * libm/mathfp/sf_cos.c (cosf): New file.
4359 * libm/mathfp/sf_cosh.c (coshf): New file.
4360 * libm/mathfp/sf_exp.c (expf): New file.
4361 * libm/mathfp/sf_fabs.c (fabsf): New file.
4362 * libm/mathfp/sf_finite.c (finitef): New file.
4363 * libm/mathfp/sf_floor.c (floorf): New file.
4364 * libm/mathfp/sf_fmod.c (fmodf): New file.
4365 * libm/mathfp/sf_frexp.c (frexpf): New file.
4366 * libm/mathfp/sf_isinf.c (isinff): New file.
4367 * libm/mathfp/sf_isnan.c (isnanf): New file.
4368 * libm/mathfp/sf_ispos.c (isposf): New file.
4369 * libm/mathfp/sf_ldexp.c (ldexpf): New file.
4370 * libm/mathfp/sf_log.c (logf): New file.
4371 * libm/mathfp/sf_log10.c (log10f): New file.
4372 * libm/mathfp/sf_logarithm.c (logarithmf): New file.
4373 * libm/mathfp/sf_modf.c (modff): New file.
4374 * libm/mathfp/sf_numtest.c (numtestf): New file.
4375 * libm/mathfp/sf_pow.c (powf): New file.
4376 * libm/mathfp/sf_scalbn.c (scalbnf): New file.
4377 * libm/mathfp/sf_sin.c (sinf): New file.
4378 * libm/mathfp/sf_sine.c (sinef): New file.
4379 * libm/mathfp/sf_sineh.c (sinehf): New file.
4380 * libm/mathfp/sf_sinh.c (sinhf): New file.
4381 * libm/mathfp/sf_sqrt.c (sqrtf): New file.
4382 * libm/mathfp/sf_tan.c (tanf): New file.
4383 * libm/mathfp/sf_tanh.c (tanhf): New file.
4384 * libm/mathfp/zmath.h: New file.
4385
4386Wed Sep 2 02:49:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4387
4388 * libc/machine/sh/strcmp.S (L_char_loop): Re-load r0 at loop
4389 exit if it has been overwritten by pre-fetching in delay slot.
4390
43911998-09-01 Michael Meissner <meissner@cygnus.com>
4392
4393 * Makefile.am (tooldir): Add in host_alias, so that multilib
4394 libraries are installed in the directory the compiler looks in.
4395 * Makefile.in: Regenerate.
4396
4397 * libc/stdlib/Makefile.in: Regenerate with automake version 1.3b.
4398
4399Mon Aug 31 11:39:31 1998 Jeff Johnston <jjohnstn@cygnus.com>
4400
4401 * libc/machine/mn10300/memcpy.S (_memcpy): Move alignment test
4402 ahead of test for number of bytes being moved.
4403
4404Thu Aug 27 14:07:53 1998 Christopher Faylor <cgf@cygnus.com>
4405
4406 * libc/include/sys/unistd.h: Nothing special needed for
4407 _exit under cygwin.
4408
4409Wed Aug 26 15:05:21 1998 Nick Clifton <nickc@cygnus.com>
4410
4411 * libc/sys/arm/syscalls.c (_sbrk): Rename '_end' to 'end' to
4412 conform to user label naming conventions.
4413
4414Mon Aug 24 14:46:19 1998 Geoffrey Noer <noer@cygnus.com>
4415
4416 * libc/sys/cygwin32/sys/utime.h: variable names in
4417 protos should start with two leading underscores
4418 * libc/include/string.h: ditto
4419 * libc/include/sys/signal.h: ditto
4420 * libc/include/sys/stat.h: ditto
4421 * libc/include/sys/time.h: ditto
4422 * libc/include/sys/unistd.h: ditto
4423 * libc/include/ctype.h: ditto
4424 * libc/include/stdlib.h: ditto
4425 * libc/include/sys/reent.h: struct _atexit function ptr takes a
4426 void, same with _sig_func.
4427
4428Fri Aug 21 14:44:14 1998 Jeff Johnston <jjohnstn@cygnus.com>
4429
4430 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Added preprocessor checks
4431 for MB_CAPABLE to reduce code size when newlib is not configured
4432 with --enable-newlib-mb.
4433 * libc/stdlib/Makefile.am: Specified -fshort-enums when building
4434 mbtowc_r.o to minimize size.
4435 * libc/stdlib/Makefile.in: Rebuild.
4436
4437Wed Aug 19 16:20:13 1998 Jim Wilson <wilson@cygnus.com>
4438
4439 * libc/sys/sparc64/Makefile.am (.S_r.o, .c_r.o): Change -DREENTRANT
4440 to -DREENT.
4441 * libc/sys/sparc64/Makefile.in: Rebuild.
4442
4443Tue Aug 18 22:38:29 1998 Ian Lance Taylor <ian@cygnus.com>
4444
4445 * Makefile.am (MAKEOVERRIDES): Define.
4446 * Makefile.in: Rebuild.
4447
4448Tue Aug 18 12:38:47 1998 Jim Wilson <wilson@cygnus.com>
4449
4450 * libc/sys/sparc64/sys/stat.h (stat): Add const.
4451
4452Mon Aug 17 22:27:06 1998 Ian Lance Taylor <ian@cygnus.com>
4453
4454 * acinclude.m4 (NEWLIB_CONFIGURE): Use top_builddir in
4455 newlib_cflags when looking for targ-include.
4456 * */aclocal.m4, */configure: Rebuild.
4457
4458Fri Jul 31 10:57:42 1998 Catherine Moore <clm@cygnus.com>
4459
4460 * libc/sys/arm/syscalls.c (_sbrk): Change "__end__"
4461 to "_end".
4462
4463Wed Jul 29 00:02:01 1998 Mark Alexander <marka@cygnus.com>
4464
4465 * libc/include/sys/config.h: Define __IEEE_LITTLE_ENDIAN
4466 on SPARCs with little-endian data.
4467 * libc/include/machine/ieeefp.h: Ditto.
4468
4469Wed Jul 22 18:00:10 1998 Ian Lance Taylor <ian@cygnus.com>
4470
4471 * acinclude.m4: Handle a relative srcdir correctly when setting
4472 newlib_cflags.
4473 * */aclocal.m4, */configure: Rebuild.
4474
4475Wed Jul 22 17:11:33 1998 Jeff Johnston <jjohnstn@cygnus.com>
4476
4477 * libm/math/wrf_lgamma.c (lgammaf_r): Initialize exc.err to 0 and
4478 also set exc.arg1, exc.arg2 appropriately in case matherr is supplied.
4479 * libm/math/wrf_gamma.c (gammaf_r): ditto
4480 * libm/math/wr_lgamma.c (lgamma_r): ditto
4481 * libm/math/wr_gamma.c (gamma_r): ditto
4482 * libm/math/wf_sqrt.c (sqrtf): ditto
4483 * libm/math/wf_sinh.c (sinhf): ditto
4484 * libm/math/wf_scalb.c (scalbf): ditto
4485 * libm/math/wf_remainder.c (remainderf): ditto
4486 * libm/math/wf_pow.c (powf): ditto
4487 * libm/math/wf_log10.c (log10f): ditto
4488 * libm/math/wf_log.c (logf): ditto
4489 * libm/math/wf_lgamma.c (lgammaf): ditto
4490 * libm/math/wf_jn.c (jnf, ynf): ditto
4491 * libm/math/wf_j1.c (j1f, y1f): ditto
4492 * libm/math/wf_j0.c (j0f, y0f): ditto
4493 * libm/math/wf_hypot.c (hypotf): ditto
4494 * libm/math/wf_gamma.c (gammaf): ditto
4495 * libm/math/wf_fmod.c (fmodf): ditto
4496 * libm/math/wf_exp.c (expf): ditto
4497 * libm/math/wf_cosh.c (coshf): ditto
4498 * libm/math/wf_atanh.c (atanhf): ditto
4499 * libm/math/wf_atan2f.c (atan2f): ditto
4500 * libm/math/wf_asin.c (asinf): ditto
4501 * libm/math/wf_acosh.c (acoshf): ditto
4502 * libm/math/wf_acos.c (acosf): ditto
4503 * libm/math/w_sqrt.c (sqrt): ditto
4504 * libm/math/w_sinh.c (sinh): ditto
4505 * libm/math/w_scalb.c (scalb): ditto
4506 * libm/math/w_remainder.c (remainder): ditto
4507 * libm/math/w_pow.c (pow): ditto
4508 * libm/math/w_log10.c (log10): ditto
4509 * libm/math/w_log.c (log): ditto
4510 * libm/math/w_lgamma.c (lgamma): ditto
4511 * libm/math/w_jn.c (jn, yn): ditto
4512 * libm/math/w_j1.c (j1, y1): ditto
4513 * libm/math/w_j0.c (j0, y0): ditto
4514 * libm/math/w_hypot.c (hypot): ditto
4515 * libm/math/w_gamma.c (gamma): ditto
4516 * libm/math/w_fmod.c (fmod): ditto
4517 * libm/math/w_exp.c (exp): ditto
4518 * libm/math/w_cosh.c (cosh): ditto
4519 * libm/math/w_atanh.c (atanh): ditto
4520 * libm/math/w_atan2f.c (atan2): ditto
4521 * libm/math/w_asin.c (asin): ditto
4522 * libm/math/w_acosh.c (acosh): ditto
4523 * libm/math/w_acos.c (acos): ditto
4524
4525Tue Jul 21 12:34:54 1998 Ian Lance Taylor <ian@cygnus.com>
4526
4527 * libm/math/Makefile.am (src): Add w_cabs.c and w_drem.c.
4528 (fsrc): Add wf_cabs.c and wf_drem.c.
4529 * libm/math/Makefile.in: Rebuild.
4530
4531 * Makefile.am (AM_MAKEFLAGS): Add CFLAGS_FOR_BUILD. Remove some
4532 unused directory variables. Remove duplicate CFLAGS.
4533 * Makefile.in: Rebuild.
4534
4535 * doc/Makefile.am ($(MKDOC)): Don't use $(CFLAGS) when building
4536 with $(CC_FOR_BUILD).
4537 (makedoc.o): Likewise.
4538 * doc/Makefile.in: Rebuild.
4539
4540 * libc/sys/cygwin32/Makefile.am (EXTRA_LIBRARIES): Define, to
4541 force a definition of COMPILE.
4542 (libfoo_a_SOURCES): Define.
4543 * libc/sys/cygwin32/Makefile.in: Rebuild.
4544 * libc/sys/tic80/Makefile.am (EXTRA_LIBRARIES): Define, to
4545 force a definition of COMPILE.
4546 (libfoo_a_SOURCES): Define.
4547 * libc/sys/tic80/Makefile.in: Rebuild.
4548
4549Mon Jul 20 20:49:24 1998 Christopher Faylor <cgf@cygnus.com>
4550
4551 * libc/include/sys/fcntl.h: Add O_NOINHERIT, Win32-specific
4552 flag.
4553
4554Fri Jul 17 16:13:16 1998 Ian Lance Taylor <ian@cygnus.com>
4555
4556 * Build using autoconf and automake. Added many Makefile.am and
4557 configure.in files, plus generated files. Old configure.in files
4558 and all old Makefile.in files completely replaced. Removed
4559 host/any. Added acinclude.m4 and configure.host.
4560
4561Sat Jul 11 18:14:49 1998 Felix Lee <flee@cygnus.com>
4562
4563 * libc/stdio/vfprintf.c: enable long long support, sometimes.
4564 * configure.in (*-*-cygwin32): add -DWANT_PRINTF_LONG_LONG.
4565
4566Tue Jul 7 01:51:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4567
4568 * libc/machine/sh/strcmp.S, libc/machine/sh/strcpy.S: New files.
4569 * libc/machine/sh/Makefile.in: Add rules for new files.
4570
4571Tue Jul 7 01:40:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4572
4573 * libc/machine/sh/asm.h (SL, DELAYED_BRANCHES): Define.
4574 * libc/machine/sh/memset.S (memset): Remove uses of dt; shorten code.
4575 * libc/machine/sh/memcpy.S (SL, DELAYED_BRANCHES): Don't define.
4576
4577Thu Jul 2 10:33:16 1998 Nick Clifton <nickc@cygnus.com>
4578
4579 * libc/sys/arm/syscalls.c (_exit): Add comment, noting that exit
4580 code is ignored.
4581
4582Wed Jun 24 13:56:54 1998 Jeff Johnston <jjohnstn@cygnus.com>
4583
4584 * libc/stdio/tmpnam.c (_tmpnam_r): Changed routine to use
4585 internal static buffer when s is NULL, as prescribed by ANSI.
4586
45871998-06-22 Vladimir N. Makarov <vmakarov@cygnus.com>
4588
4589 * libc/sys/h8300hms/Makefile.in (OFILES): malloc.o has been
4590 removed.
4591 * libc/sys/h8300hms/malloc.c: has been removed. Now malloc.c from
4592 libc/stdlib will be used for h8300hms.
4593
4594Thu Jun 18 16:56:05 1998 Jeff Johnston <jjohnstn@cygnus.com>
4595
4596 * libc/machine/mn10300/strlen.S (_strlen): New optimized assembler
4597 version that can be built either for speed or size.
4598 * libc/machine/mn10300/memset.S (_memset): ditto
4599 * libc/machine/mn10300/memchr.S (_memchr): ditto
4600 * libc/machine/mn10300/memcpy.S (_memcpy): ditto
4601 * libc/machine/mn10300/memcmp.S (_memcmp): ditto
4602 * libc/machine/mn10300/strchr.S (_strchr): ditto
4603 * libc/machine/mn10300/strcmp.S (_strcmp): ditto
4604 * libc/machine/mn10300/strcpy.S (_strcpy): ditto
4605 * libc/machine/mn10300/Makefile.in: Added entries for
4606 memchr.o, memcmp.o, memcpy.o, memset.o, strchr.o,
4607 strcmp.o, strcpy.o, and strlen.o.
4608
4609Wed Jun 17 12:50:26 1998 Mark Alexander <marka@cygnus.com>
4610
4611 * configure.in: Don't use libc/sys/sysmec for MN10200; it's
4612 been replaced with libgloss/mn10200.
4613
4614Fri Jun 12 14:34:39 1998 Michael Meissner <meissner@cygnus.com>
4615
4616 * libc/string/strchr.c (strchr): Make s a constant pointer to
4617 avoid warning.
4618
4619Tue Jun 9 16:29:30 1998 Jason Molenda (crash@bugshack.cygnus.com)
4620
4621 * configure.in (target == arm* or thumb*): Define ARM_RDI_MONITOR
4622 instead of ARM_RDP_MONITOR (sys/libc/arm/crt0.S to assume Angel
4623 board SWIs instead of Demon board SWIs).
4624
4625Thu Jun 4 12:16:46 1998 Michael Meissner <meissner@cygnus.com>
4626
4627 * libc/string/strncat.c (strncat): Make -Os act the same as
4628 PREFER_SIZE_OVER_SPEED being defined.
4629
4630Wed Jun 3 17:52:33 1998 Michael Meissner <meissner@cygnus.com>
4631
4632 * libc/string/memchr.c (memchr): Make -Os act the same as
4633 PREFER_SIZE_OVER_SPEED being defined.
4634 * libc/string/memcmp.c (memcmp): Ditto.
4635 * libc/string/memcpy.c (memcpy): Ditto.
4636 * libc/string/memset.c (memset): Ditto.
4637 * libc/string/strcat.c (strcat): Ditto.
4638 * libc/string/strchr.c (strchr): Ditto.
4639 * libc/string/strcmp.c (strcmp): Ditto.
4640 * libc/string/strcpy.c (strcpy): Ditto.
4641 * libc/string/strlen.c (strlen): Ditto.
4642 * libc/string/strncat.c (strncat): Ditto.
4643 * libc/string/strncmp.c (strncmp): Ditto.
4644 * libc/string/strncpy.c (strncpy): Ditto.
4645
4646Mon Jun 1 15:25:07 1998 Geoffrey Noer <noer@cygnus.com>
4647
4648 * libc/include/sys/itimer.h: remove
4649 * libc/include/sys/time.h: itimer stuff should be here
4650
4651Mon Jun 1 16:31:29 1998 Jeff Johnston <jjohnstn@cygnus.com>
4652
4653 * libc/stdio/vfprintf.c (cvt): Changed code to look at sign
4654 bit instead of comparing to 0 so -0.0 can be printed correctly.
4655
4656Sat May 30 09:33:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4657
4658 * libc/stdlib/mprec.c (b2d): Inilialize d in non-VAX case too.
4659
4660Fri May 29 22:25:10 1998 Geoffrey Noer <noer@cygnus.com>
4661
4662 * libc/include/sys/unistd.h: fix sync() proto
4663 * libc/include/sys/fcntl.h: remove _close which is already
4664 defined in unistd.h.
4665 * libc/include/sys/time.h: add getitimer proto
4666
4667Fri May 29 16:10:28 1998 Geoffrey Noer <noer@cygnus.com>
4668
4669 * libc/string/strchr.c: convert arg to unsigned char
4670 * libc/include/stdlib.h: add protos for random, srandom
4671 * libc/include/sys/stat.h: add lstat proto
4672 * libc/include/sys/time.h: add setitimer proto
4673 * libc/include/sys/unistd.h: add readlink, symlink protos
4674 * libc/include/process.h: instead of including windows.h and using
4675 HANDLEs in sexec protos, just use void *s. Need to include
4676 sys/types.h.
4677
4678Fri May 29 03:04:29 1998 Geoffrey Noer <noer@cygnus.com>
4679
4680 * libc/include/sys/fcntl.h: add _close proto for Cygwin32
4681
4682Thu May 28 16:34:21 1998 Geoffrey Noer <noer@cygnus.com>
4683
4684 * libc/include/process.h: add secure exec protos
4685
4686Wed May 27 13:54:51 1998 Jeffrey A Law (law@cygnus.com)
4687
4688 * libc/stdlib/dtoa.c (_dtoa_r): Use "double_union" for variables
4689 which are accessed as both doubles and integers.
4690 * libc/stdlib/mprec.c (ulp, b2d, ratio): Likewise.
4691 * libc/stdlib/strtod.c (_strtod_r): Likewise.
4692 * libc/stdlib/mprec.h: Add "union double_union" and change
4693 word0/word1 macros to use it.
4694
4695Tue May 26 18:04:21 1998 Geoffrey Noer <noer@cygnus.com>
4696
4697 * libc/include/sys/signal.h: add __cplusplus wrapper
4698
4699Tue May 26 15:10:22 1998 Geoffrey Noer <noer@cygnus.com>
4700
4701 * libc/include/sys/utime.h: new generic file that gets replaced by
4702 libc/sys/SYSDIR/sys/utime.h on systems that support the utime
4703 function.
4704 * sys/cygwin32/sys/utime.h: use _EXFUN in utime proto
4705 * libc/include/time.h: remove duplicate utime proto
4706 * libc/include/utime.h: add comment
4707
4708Sun May 24 23:56:20 1998 Christopher Faylor <cgf@cygnus.com>
4709
4710 * libc/include/sys/time.h: Add missing include to
4711 allow use of _EXFUN. Remove times function that is
4712 already defined in times.h.
4713
4714Sun May 24 01:32:14 1998 Christopher Faylor <cgf@cygnus.com>
4715
4716 * libc/include/time.h: Fix typo in tzset.
4717
4718Fri May 22 17:00:48 1998 Geoffrey Noer <noer@cygnus.com>
4719
4720 * libc/include/sys/time.h: add missing Cygwin32 function protos
4721 * libc/include/sys/unistd.h: ditto
4722 * libc/include/time.h: ditto
4723
4724Wed May 20 20:35:11 1998 Geoffrey Noer <noer@cygnus.com>
4725
4726 * libc/sys/cygwin32/sys/param.h: add protected NULL def, remove
4727 FIXME.
4728 * libc/include/sys/types.h: add a new __MS_types__ section
4729 to define vm_offset_t, vm_size_t, int32_t et al, register_t,
4730 __BIT_TYPES_DEFINED__.
4731
4732Wed May 20 18:49:21 1998 Geoffrey Noer <noer@cygnus.com>
4733
4734 * libc/sys/cygwin32/sys/param.h: move here from winsup/include/sys
4735 since it overrides the one in libc/include/sys. Also, start
4736 including types.h.
4737
4738Wed May 20 14:45:40 1998 Geoffrey Noer <noer@cygnus.com>
4739
4740 * libm/math/Makefile.in: add s_signgam.o to obj list
4741
4742Tue May 19 11:57:11 1998 Jeff Johnston <jjohnstn@cygnus.com>
4743
4744 * libc/include/sys/reent.h (_REENT_INIT): Initialize current locale to "C".
4745
4746Mon May 18 22:36:12 1998 Christopher Faylor <cgf@cygnus.com>
4747
4748 * libc/include/sys/signal.h: cygwin32 exports sig{empty,add}set,
4749 so don't use defines.
4750
4751Mon May 18 19:01:02 1998 Michael Meissner <meissner@cygnus.com>
4752
4753 * libc/sys/d10v/crt0.S: Use correct stab for 16-bit ints.
4754
4755Sun May 17 18:40:32 1998 Frank Ch. Eigler <fche@cygnus.com>
4756
4757 * libc/stdlib/mbtowc_r.c (_mbtowc_r): Accept a NULL
4758 _current_locale as default locale.
4759
4760Sat May 16 21:59:59 1998 Bob Manson <manson@charmed.cygnus.com>
4761
4762 * libc/stdlib/mallocr.c (mALLOc): Add explicit tests for
4763 insufficient space in a chunk.
4764
4765Tue May 12 14:41:01 1998 Jeff Johnston <jjohnstn@cygnus.com>
4766
4767 * configure.in (links): Added check for --enable-newlib-mb configure
4768 option which defines the MB_CAPABLE macro.
4769 * libc/locale/locale.c (_setlocale_r): Added support for setting
4770 LC_CTYPE to "C-JIS", "C-SJIS" or "C-EUCJP", when MB_CAPABLE is
4771 defined.
4772 * libc/stdlib/mbtowc_r.c (_mbtowc_r): New function _mbtowc_r that
4773 implements mbtowc() with multibyte support for JIS, SJIS, and EUC-JP.
4774 * libc/stdlib/wctomb_r.c (_wctomb_r): New function _wctomb_r that
4775 implements wctomb() with multibyte support for JIS, SJIS, and EUC-JP.
4776 * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): New function _mbstowcs_r that
4777 implements mbstowcs() with multibyte support for JIS, SJIS, and EUC-JP.
4778 * libc/stdlib/wcstombs_r.c (_wcstombs_r): New function _wcstomb_r that implements
4779 wcstombs() with multibyte support for JIS, SJIS, and EUC-JP.
4780 * libc/stdlib/Makefile.in: Added new multibyte
4781 routines: _mbtowc_r(), _wctomb_r(), _mbstowcs_r(), and _wcstombs_r().
4782 * libc/include/stdlib.h: Added declarations of _mbtowc_r(), _wctomb_r(),
4783 _mbstowcs_r(), and _wcstombs_r().
4784 * libc/stdlib/mbctype.h: New internal header file that contains macros to test
4785 for JIS, SJIS, and EUC-JP characters.
4786 * libc/stdlib/mblen.c (mblen): Added code to call _mbtowc_r() if
4787 MB_CAPABLE defined.
4788 * libc/stdlib/mbtowc.c (mbtowc): Added code to call _mbtowc_r() if
4789 MB_CAPABLE defined.
4790 * libc/stdlib/wctomb.c (wctomb): Added code to call _wctomb_r() if
4791 MB_CAPABLE defined.
4792 * libc/stdlib/mbstowcs.c (mbstowcs): Added code to call _mbstowcs_r()
4793 if MB_CAPABLE defined.
4794 * libc/stdlib/wcstombs.c (wcstombs): Added code to call _wcstombs_r()
4795 if MB_CAPABLE defined.
4796 * libc/stdio/vfscanf.c (__svfscanf): Added multibyte tolerance
4797 to the format string processing when MB_CAPABLE.
4798 * libc/stdio/vfprintf.c (_VFPRINTF_R): Changed mbtowc() call to
4799 call _mbtowc_r().
4800
4801Tue May 5 16:07:23 1998 Nick Clifton <nickc@cygnus.com>
4802
4803 The following modifications are courtesy of Anthony Thompson,
4804 athompson@cambridge.arm.com:
4805 * libc/sys/arm/syscalls.c: Initialise and track stdin/out/err for
4806 boith RDI and RDP monitors.
4807 * libc/sys/arm/crt0.S: Call initialise_monitor_handles() for both
4808 RDI and RDP monitors.
4809
4810Wed Apr 29 15:22:15 1998 Jeff Johnston <jjohnstn@cygnus.com>
4811
4812 * configure.in (links): Added -DHAVE_GETTIMEOFDAY for arm and thumb.
4813 * libc/sys/arm/syscalls.c (_gettimeofday _times): Added functions.
4814 (_swiopen): Fixed open flags to treat write with append as just append.
4815 (_swilseek): Fixed lseek support to properly handle offsets from SEEK_END.
4816 * libc/sys/arm/sys/param.h: New file to override param.h for ARM.
4817
4818Fri Apr 24 18:00:09 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4819
4820 * libc/machine/sh/memcpy.S (L_odddst, big endian version):
4821 When needing to transfer an initial 2-byte-word, store as
4822 two single bytes.
4823
4824Wed Apr 22 17:56:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4825
4826 * libc/sys/sh/crt0.S (start): Handle __SH4_SINGLE_ONLY__ like
4827 __SH3E__ .
4828 * libc/machine/sh/memcpy.S (DELAYED_BRANCHES, SL): Likewise.
4829 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Likewise.
4830
4831Wed Apr 22 12:28:03 1998 Michael Meissner <meissner@cygnus.com>
4832
4833 * configure.in (target_cflags): If --enable-target-optspace, use
4834 -Os to compile newlib rather than -O2. Default to using -Os for
4835 d10v, d30v and m32r if --{enable,disable}-target-optspace is not
4836 used.
4837
4838Tue Apr 21 23:13:34 1998 Geoffrey Noer <noer@cygnus.com>
4839
4840 * libc/include/machine/setjmp.h: change sigsetjmp and
4841 siglongjmp definitions to use an array instead of a struct
4842 for __CYGWIN32__
4843
4844Tue Apr 14 11:47:47 1998 Doug Evans <devans@canuck.cygnus.com>
4845
4846 * libc/reent/impure.c (__ATTRIBUTE_IMPURE_DATA__): Fix spelling.
4847
4848Mon Apr 6 15:05:08 1998 Jonathan Larmour <jlarmour@cygnus.co.uk>
4849
4850 * libc/string/strxfrm.c: fix to get correct return value
4851
4852Wed Apr 1 16:09:05 1998 Nick Clifton <nickc@cygnus.com>
4853
4854 * libc/sys/arm/crt0.S: Set top of RAM to be 0x800000 for PE
4855 builds. Make mode change labels global so that they will be seen
4856 by the debugger.
4857
4858Wed Mar 18 09:45:10 1998 Nick Clifton <nickc@cygnus.com>
4859
4860 * configure.in (links): Do not use ARM debiugging protocols for PE
4861 builds.
4862
4863 * libc/sys/arm/syscalls.c (_sbrk): Add "_sbrk: " to error
4864 message.
4865
4866Fri Mar 13 11:24:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4867
4868 * libc/stdio/findfp.c (__sinit): Made stdout default to
4869 line buffered mode as defined by ANSI.
4870
4871Tue Mar 10 11:41:26 1997 Bob Manson <manson@charmed.cygnus.com>
4872
4873 * libc/include/sys/itimer.h: New file.
4874
4875 * libc/signal/signal.c (__sigtramp_r,__sigtramp): New functions.
4876
4877Mon Mar 9 14:19:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4878
4879 * libc/machine/sh/memcpy.S: (_memcpy): Fix for execute/memcpy-1.c
4880 failure.
4881
4882Fri Feb 27 13:56:10 1998 Michael Meissner <meissner@cygnus.com>
4883
4884 * libc/machine/d30v/setjmp.S (longjmp): Fix order of parallel
4885 insns.
4886
4887Wed Feb 25 09:29:54 1998 Nick Clifton <nickc@cygnus.com>
4888
4889 * libc/sys/arm/syscalls.c (_open): Add varags to conform to prototype.
4890
4891Tue Feb 24 18:00:13 1998 Michael Meissner <meissner@cygnus.com>
4892
4893 * libc/machine/d30v/{setjmp.S,Makefile.in}: New files for D30V
4894 support.
4895
4896 * libc/include/machine/setjmp.h: Add D30V support.
4897
4898 * configure.in (d30v-*): Add d30v machine directory.
4899
4900Mon Feb 23 09:32:58 1998 Mark Alexander <marka@cygnus.com>
4901
4902 * configure.in: Don't use libc/sys/sysmec for MN10300; it's
4903 been replaced with libgloss/mn10300.
4904
4905Sat Feb 21 17:44:43 1998 Geoffrey Noer <noer@cygnus.com>
4906
4907 * libc/stdlib/mallocr.c: remove __malloc_copy routine now that
4908 it is no longer needed.
4909
4910Thu Feb 19 16:15:10 1998 Geoffrey Noer <noer@cygnus.com>
4911
4912 * libc/include/sys/signal.h: add sigpause proto for Cygwin32
4913
4914Wed Feb 18 23:51:08 1998 Geoffrey Noer <noer@cygnus.com>
4915
4916 * libc/stdio/fdopen.c (fdopen): Make all writes go to the end of
4917 the file when O_APPEND is set, wherever the EOF happens to be at
4918 that time.
4919
4920Wed Feb 18 23:25:02 1998 Geoffrey Noer <noer@cygnus.com>
4921
4922 patch from cgf@bbc.com (Christopher Faylor):
4923 * libc/stdio/freopen.c (freopen): Conform to standard UNIX
4924 convention of closing fp prior to attempting to open the file
4925 argument. This allows correct operation when reopening
4926 stdin/stdout/stderr. Replaces last freopen.c patch.
4927
4928Wed Feb 18 16:27:40 1998 Geoffrey Noer <noer@cygnus.com>
4929
4930 patch from cgf@bbc.com (Christopher Faylor):
4931 * libc/stdio/freopen.c: freopen was not preserving the fd
4932 of the stream being operated on. This confuses programs that
4933 expect that the handles for stdout and stderr will be 1 and 2.
4934
4935Mon Feb 16 23:34:07 1998 Andrew Cagney <cagney@b1.cygnus.com>
4936
4937 * libc/sys/d10v/crt0.S (_start): Set PSW{SW} - select SPU.
4938
4939Thu Feb 12 15:09:20 1998 Ranjith Kumaran <ranjith@cygnus.com>
4940
4941 * libc/sys/go32/longjmp.S: Fix longjmp to not return 0.
4942
4943Wed Feb 11 17:50:45 1998 Jeff Johnston <jjohnstn@cygnus.com>
4944
4945 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Alignment code
4946 altered to not use a branch. Also added hint that last
4947 bclr in longjmp will likely result in branch.
4948
4949
4950Mon Feb 9 03:44:02 1998 Geoffrey Noer <noer@cygnus.com>
4951
4952 * libc/sys/cygwin32/crt0.c: add missing args to main() extern
4953
4954Fri Feb 6 16:32:32 1998 Nick Clifton <nickc@cygnus.com>
4955
4956 * libc/sys/sysnecv850/crt0.S (_start): Initialise _ctbp even for
4957 v850 builds.
4958
4959 * configure.in: Add -msmall-sld to target_cflags for v850 builds.
4960
4961Wed Feb 4 16:56:20 1998 Jeff Johnston <jjohnstn@cygnus.com>
4962
4963 * libc/machine/powerpc/setjmp.S (longjmp): Fixed code
4964 that loads FR14 to specify offset of 8 rather than 4
4965 so it loads from offset 96 (where setjmp stored it).
4966
4967Tue Feb 3 18:08:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4968
4969 * libc/machine/sh/memcpy.S: (_memcpy): Update to
4970 latest version supplied by customer.
4971 * libc/machine/sh/memset.S (_memset): Ditto.
4972
4973Mon Feb 2 16:20:39 1998 Nick Clifton <nickc@cygnus.com>
4974
4975 * libc/sys/sysnecv850/Makefile.in (OFILES): Add link.o (for
4976 PR14730).
4977
4978Mon Feb 2 15:13:26 1998 Geoffrey Noer <noer@cygnus.com>
4979
4980 * libc/include/string.h: remove redefinition of ffs
4981
4982Wed Jan 28 13:30:14 1998 Geoffrey Noer <noer@cygnus.com>
4983
4984 * libc/include/sys/signal.h: include _ansi.h so _EXFUN is
4985 defined
4986
4987Wed Jan 28 10:38:34 1998 Jeff Johnston <jjohnstn@cygnus.com>
4988
4989 * libc/machine/tic80/setjmp.S: Adding _setjmp to allow
4990 TI Libraries to link to libc.a
4991
4992Sat Jan 24 10:15:56 1998 Michael Meissner <meissner@cygnus.com>
4993
4994 * libc/include/sys/fcntl.h (_open,_fcntl): Add prototypes.
4995 * libc/include/sys/stat.h (_{,f}stat): Ditto.
4996 * libc/include/sys/wait.h (_wait): Ditto.
4997 * libc/include/sys/unistd.h (_close,_fork,_getpid): Ditto.
4998 (_link,_lseek,_read,_sbrk,_unlink,_write): Ditto.
4999
5000Fri Jan 23 11:32:10 1998 Michael Meissner <meissner@cygnus.com>
5001
5002 * libc/machine/d10v/setjmp.S: Change to new ABI. Add simple
5003 minded stabs so function name shows up when running the simulator
5004 with -t.
5005 * libc/sys/d10v/{crt0,trap}.S: Ditto.
5006
5007Thu Jan 22 15:57:14 1998 Fred Fish <fnf@cygnus.com>
5008
5009 * libc/sys/d10v/trap.S: Change syscalls to use trap 15.
5010 * libc/sys/d10v/crt0.S: Use R6 where we used to use R2.
5011 Use R5 where we used to use R3.
5012
5013Wed Jan 21 14:22:23 1998 Bill Moyer <billm@cygnus.com>
5014
5015 * libc/stdlib/getopt.c (getopt): replaced __progname
5016 with nargv[0] to improve portability to imbedded systems.
5017
5018Thu Jan 15 12:32:38 1998 Nick Clifton <nickc@cygnus.com>
5019
5020 * libc/sys/arm/syscalls.c (initialise_angel_handles): Applied
5021 patch supplied by Tont.Thompson@arm.com to fix the creation of the
5022 stdout file.
5023
5024Wed Jan 14 13:00:19 1998 Ian Lance Taylor <ian@cygnus.com>
5025
5026 * libc/stdio/tmpnam.c (worker): Generate a different file name
5027 each time.
5028
5029 * libc/posix/popen.c (popen): If __CYGWIN32__, and execing /bin/sh
5030 fails, try an execlp for sh.
5031
5032 * host/any (INCLUDES): If target_os is cygwin32, then add a -I
5033 option for the winsup include directory.
5034
5035Wed Jan 7 17:02:58 1998 Nick Clifton <nickc@cygnus.com>
5036
5037 * libc/sys/arm/syscalls.c: Applied patches for Angel based remote
5038 debugging interface from Tony.Thompson@arm.com.
5039
5040 * libc/sys/arm/crt0.S (_mainCRTStartup): ditto.
5041 * libc/sys/arm/swi.h: ditto.
5042
5043Tue Jan 6 14:15:10 1998 Geoffrey Noer <noer@cygnus.com>
5044
5045 * libc/sys/cygwin32/sys/dirent.h: add __d_dirhash field to
5046 DIR struct used for readdir hashes.
5047
5048Thu Jan 1 11:22:22 1998 Jeffrey A Law (law@cygnus.com)
5049
5050 * libc/string/strchr.c: Use "unsigned chars" as necessary.
5051
5052Wed Dec 31 04:25:30 1997 Jeffrey A Law (law@cygnus.com)
5053
5054 * libc/stdlib/mallocr.c (idx2binblock): Don't lose on 16bit
5055 integer targets.
5056
5057Sat Dec 13 15:11:06 1997 Ian Lance Taylor <ian@cygnus.com>
5058
5059 * libc/stdlib/mallocr.c (__malloc_copy): New function, compiled if
5060 INTERNAL_NEWLIB and __CYGWIN32__ and DEFINE_MALLOC.
5061 * libc/include/malloc.h: Add extern "C" if __cplusplus.
5062 (__malloc_copy): Declare.
5063
5064Wed Dec 10 12:15:54 1997 Ian Lance Taylor <ian@cygnus.com>
5065
5066 * libc/stdlib/mallocr.c: If INTERNAL_NEWLIB, include
5067 <sys/config.h>.
5068 (POINTER_UINT): Define.
5069 (DEFAULT_TRIM_THRESHOLD): Mark constants as long.
5070 (MALLOC_ALIGNMENT): Don't define if already defined.
5071 (malloc_extend_top): Cast pointers to POINTER_UINT, not unsigned
5072 long.
5073
5074Tue Dec 9 19:23:42 1997 Michael Meissner <meissner@cygnus.com>
5075
5076 * libc/string/memset.c (memset): Fiddle with code so that the long
5077 value being stored is not a stack value. Unroll storing longs 4
5078 times.
5079
5080Tue Dec 9 14:13:18 1997 Jeff Johnston <jjohnstn@cygnus.com>
5081
5082 * Reduce code size for libm modules.
5083 * libm/math/w_sqrt.c (sqrt): Remove call to kernel_standard
5084 and simply move code into sqrt.
5085 * libm/math/wrf_lgamma.c (lgammaf_r): Likewise.
5086 * libm/math/wr_lgamma.c (lgamma_r): Likewise.
5087 * libm/math/wrf_gamma.c (gammaf_r): Likewise.
5088 * libm/math/wr_gamma.c (gamma_r): Likewise.
5089 * libm/math/wf_sinh.c (sinfh): Likewise.
5090 * libm/math/w_sinh.c (sinh): Likewise.
5091 * libm/math/wf_scalb.c (scalbf): Likewise.
5092 * libm/math/w_scalb.c (scalb): Likewise.
5093 * libm/math/wf_remainder.c (remainderf): Likewise.
5094 * libm/math/w_remainder.c (remainder): Likewise.
5095 * libm/math/wf_pow.c (powf): Likewise.
5096 * libm/math/w_pow.c (pow): Likewise.
5097 * libm/math/wf_log10.c (log10f): Likewise.
5098 * libm/math/w_log10.c (log10): Likewise.
5099 * libm/math/wf_log.c (logf): Likewise.
5100 * libm/math/w_log.c (log): Likewise.
5101 * libm/math/w_lgamma.c (lgamma): Likewise.
5102 * libm/math/wf_lgamma.c (lgammaf): Likewise.
5103 * libm/math/wf_jn.c (jnf): Likewise.
5104 * libm/math/w_jn.c (jn): Likewise.
5105 * libm/math/wf_j1.c (j1f): Likewise.
5106 * libm/math/w_j1.c (j1): Likewise.
5107 * libm/math/wf_j0.c (j0f): Likewise.
5108 * libm/math/w_j0.c (j0): Likewise.
5109 * libm/math/wf_hypot.c (hypotf): Likewise.
5110 * libm/math/w_hypot.c (hypot): Likewise.
5111 * libm/math/wf_gamma.c (gammaf): Likewise.
5112 * libm/math/w_gamma.c (gamma): Likewise.
5113 * libm/math/wf_fmod.c (fmodf): Likewise.
5114 * libm/math/w_fmod.c (fmod): Likewise.
5115 * libm/math/wf_exp.c (expf): Likewise.
5116 * libm/math/w_exp.c (exp): Likewise.
5117 * libm/math/wf_cosh.c (coshf): Likewise.
5118 * libm/math/w_cosh.c (cosh): Likewise.
5119 * libm/math/wf_atanh.c (atanhf): Likewise.
5120 * libm/math/w_atanh.c (atanh): Likewise.
5121 * libm/math/wf_atan2.c (atan2f): Likewise.
5122 * libm/math/w_atan2.c (atan2): Likewise.
5123 * libm/math/wf_asin.c (asinf): Likewise.
5124 * libm/math/w_asin.c (asin): Likewise.
5125 * libm/math/wf_acosh.c (acoshf): Likewise.
5126 * libm/math/w_acosh.c (acosh): Likewise.
5127 * libm/math/wf_acos.c (asocf): Likewise.
5128 * libm/math/w_acos.c (acos): Likewise.
5129 * libm/math/wf_sqrt.c (sqrtf): Likewise.
5130 * libm/math/k_standard.c (_k_standard): Don't require SVID behavior
5131 for embedded systems.
5132
5133Mon Dec 8 12:12:58 1997 Ian Lance Taylor <ian@cygnus.com>
5134
5135 * libc/stdlib/mallocr.c (malloc_extend_top): Add patch from Doug
5136 Lea in case of a foreign sbrk.
5137
5138Fri Dec 5 23:27:28 1997 Ian Lance Taylor <ian@cygnus.com>
5139
5140 Incorporate Doug Lea's malloc:
5141 * libc/stdlib/mallocr.c: Completely replaced.
5142 * libc/stdlib/malloc.c: Document malloc_usable_size and memalign.
5143 (realloc): Remove.
5144 * libc/stdlib/calloc.c (calloc): Just call _calloc_r.
5145 * libc/stdlib/mstats.c: Document mallinfo, malloc_stats, and
5146 mallopt.
5147 (mallinfo, malloc_stats, mallopt): New functions.
5148 (_mstats_r): Just call _malloc_stats_r.
5149 * libc/stdlib/malign.c: New file.
5150 * libc/stdlib/mlock.c: New file.
5151 * libc/stdlib/msize.c: New file.
5152 * libc/stdlib/mtrim.c: New file.
5153 * libc/stdlib/realloc.c: New file.
5154 * libc/stdlib/valloc.c: New file.
5155 * libc/stdlib/malloc.h: Remove.
5156 * libc/stdlib/callocr.c: Remove.
5157 * libc/stdlib/Makefile.in (OFILES): Add cfreer.o, freer.o,
5158 malign.o, malignr.o, mallinfor.o, malloptr.o, mallstatsr.o,
5159 mlock.o, msize.o, msizer.o, mtrim.o, pvallocr.o, realloc.o,
5160 reallocr.o, valloc.o, vallocr.o.
5161 (CHEWOUT_FILES): Add mlock.def, mstats.def.
5162 (MALLOC_CFLAGS): New variable.
5163 (mallocr.o): New target, build from mallocr.c.
5164 (freer.o, reallocr.o, callocr.o, cfreer.o, malignr.o): Likewise.
5165 (vallocr.o, pvallocr.o, mallinfor.o, mallstatsr.o): Likewise.
5166 (msizer.o, malloptr.o): Likewise.
5167 (malign.o, mlock.o, msize.o, mtrim.o, realloc.o): New targets.
5168 (valloc.o): New target.
5169 * libc/stdlib/stdlib.tex: Include mlock.def and mstats.def.
5170 * libc/include/malloc.h: Declare struct mallinfo, and new
5171 routines.
5172 * libc/include/stdlib.h (cfree): Correct declaration.
5173
5174Tue Dec 2 10:12:16 1997 Nick Clifton <nickc@cygnus.com>
5175
5176 * libc/include/machine/setjmp.h: Add support for Thumb target.
5177
5178 * libc/include/machine/ieeefp.h: Add support for Thumb target.
5179
5180 * configure.in (links): Add support for Thumb target.
5181
5182Wed Nov 26 09:56:17 1997 Nick Clifton <nickc@cygnus.com>
5183
5184 * libc/sys/arm/setjmp.S: Updated with version from branch.
5185
5186Thu Nov 20 01:21:43 1997 Geoffrey Noer <noer@cygnus.com>
5187
5188 * libc/include/stdio.h: add POSIX-required define L_ctermid
5189 for ctermid
5190
5191Wed Nov 19 16:11:40 1997 Michael Meissner <meissner@cygnus.com>
5192
5193 * configure.in (d30v-*-*): Define ABORT_MESSAGE, SMALL_MEMORY, in
5194 addition to MISSING_SYSCALL_NAMES.
5195
5196Mon Nov 17 20:05:05 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5197
5198 * libc/include/sys/config.h: (UINT_MAX, for D10V): Make unsigned.
5199
5200Mon Nov 10 22:26:55 1997 Geoffrey Noer <noer@cygnus.com>
5201
5202 * libc/include/string.h: change strsignal proto to return
5203 a char *. This eliminates compile problems in gdb resulting
5204 from gdb's definition of strsignal in defs.h.
5205
5206Mon Nov 10 17:11:08 1997 Geoffrey Noer <noer@cygnus.com>
5207
5208 * libc/sys/cygwin32/sys/utime.h: new (moved here from
5209 winsup/include) so as not to conflict with the one in
5210 libc/include.
5211 * libc/include/string.h: add protos for strsignal, strtosigno
5212
5213Mon Nov 10 13:49:54 1997 Michael Meissner <meissner@cygnus.com>
5214
5215 * libc/include/sys/config.h: Define __IEEE_BIG_ENDIAN if d30v.
5216
5217 * configure.in (d30v-*-*): Add configuration.
5218
5219Thu Oct 30 14:01:23 1997 Nick Clifton <nickc@cygnus.com>
5220
5221 * configure.in (links): Add -DARM_RD[P|I]_MONITOR to target_cflags
5222 to select which kind of debug monitor is in use for an ARM target.
5223
5224 * libc/sys/arm/crt0.S: New version: Supports Thumb startups and
5225 Angel and Demon debug monitors. Part of this code was supplied by
5226 Tony Thompson at ARM: athompso@arm.com.
5227
5228Fri Oct 24 18:57:05 1997 Jeffrey A Law (law@cygnus.com)
5229
5230 * strncat.c (strncat): Don't call strncpy; strncay has the wrong
5231 semantics when the count is greater than the length of the second
5232 source string.
5233
5234Thu Oct 23 01:37:41 1997 Geoffrey Noer <noer@cygnus.com>
5235
5236 * libc/include/sys/signal.h: reorder CYGWIN32 signal numbers
5237 * libc/include/sys/unistd.h: add protos for usleep, truncate,
5238 truncate and ftruncate take off_t, not size_t
5239
5240Tue Oct 21 18:42:00 1997 Jim Wilson <wilson@cygnus.com>
5241
5242 * libc/string/strcat.c (strcat): Add missing comment end.
5243 * libc/string/strncat.c (strncat): Likewise.
5244
5245Tue Oct 21 17:23:34 1997 Nick Clifton <nickc@cygnus.com>
5246
5247 * configure.in (links): Define PREFER_SIZE_OVER_SPEED for v850
5248 targets.
5249 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Add space
5250 optimised version which is selected if PREFER_SIZE_OVER_SPEED is
5251 defined.
5252 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5253 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5254 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5255
5256Mon Oct 13 15:12:35 1997 Ian Lance Taylor <ian@cygnus.com>
5257
5258 * libc/include/sys/param.h (BIG_ENDIAN): Define if __i386__.
5259 (LITTLE_ENDIAN, BYTE_ORDER): Likewise.
5260
5261Thu Oct 9 13:54:44 1997 Doug Evans <dje@canuck.cygnus.com>
5262
5263 * libc/machine/i386/setjmp.S: New file.
5264 * libc/machine/i386/Makefile.in: Delete COPYOFILES.
5265 (OFILES): Add setjmp.o.
5266 (setjmp.o): Add rule for.
5267 * configure.in: Don't set machine_dir for *-*-{go32,sco*,cygwin32}.
5268
5269Tue Oct 7 14:01:29 1997 Bill Moyer (billm@cygnus.com)
5270 Jeffrey A Law (law@cygnus.com)
5271
5272 * libc/string/{memchr.c, memcmp.c, memcpy.c}: Reimplement to run faster.
5273 * libc/string/{memset.c, strcat.c, strchr.c}: Likewise.
5274 * libc/string/{strcmp.c, strcpy.c, strlen.c}: Likewise.
5275 * libc/string/{strncat.c, strncmp.c, strncpy.c}: Likewise.
5276
5277Mon Oct 6 14:07:59 1997 Nick Clifton <nickc@cygnus.com>
5278
5279 * libc/sys/sysnecv850/Makefile.in (crt0.o trap.o): Explicit
5280 rules.
5281
5282 * libc/include/sys/config.h: Use __v850 to select v850
5283 endianness.
5284
5285 * libc/include/machine/setjmp.h: Use __v850 to select v850 jump
5286 buffer size.
5287
5288 * libc/include/machine/ieeefp.h: Use __v850 to select v850
5289 endianness.
5290
5291Thu Sep 25 14:11:37 1997 Geoffrey Noer <noer@cygnus.com>
5292
5293 * libc/stdlib/setenv.c: change unsetenv definition to match
5294 style of setenv (with _DEFUN). The string should be a const.
5295 * libc/include/stdlib.h: unsetenv proto should return void.
5296
5297Tue Sep 23 18:17:20 1997 Geoffrey Noer <noer@cygnus.com>
5298
5299 * libc/include/stdlib.h: define unsetenv proto for __CYGWIN32__
5300
5301Thu Sep 18 12:50:15 1997 Angela Marie Thomas (angela@cygnus.com)
5302
5303 * libc/stdio/glue.h: remove.
5304 * libc/stdio/findfp.c, libc/stdio/fwalk.c: remove #include "glue.h"
5305 * libc/stdio/Makefile.in: remove glue.h dependencies
5306
5307Wed Sep 17 17:42:27 1997 Nick Clifton <nickc@cygnus.com>
5308
5309 * libc/sys/sysnecv850/crt0.S: Created V850e version.
5310
5311Tue Sep 9 10:40:57 1997 Doug Evans <dje@canuck.cygnus.com>
5312
5313 * configure.in (target_cpu): Add `arc'.
5314
5315Tue Sep 9 10:40:42 1997 Joel Sherrill <joel@OARcorp.com>
5316
5317 * newlib/configure.in (*-*-rtems*): Add -DSIGNAL_PROVIDED and
5318 -DREENTRANT_SYSCALLS_PROVIDED to the target_cflags.
5319 * newlib/libc/include/sys/errno.h: Add ENOTSUP.
5320 * newlib/libc/reent/reent.c: Add _wrapup_reent.
5321 * newlib/libc/sys/rtems/sys/types.h: Avoid redefinitions for go32.
5322
5323Sun Sep 7 16:41:41 1997 Gavin Koch <gavin@cygnus.com>
5324
5325 * libc/machine/mips/setjmp.S: Handle mips16 builds.
5326
5327Thu Aug 21 20:05:38 1997 Ian Lance Taylor <ian@cygnus.com>
5328
5329 * libc/include/stdio.h (siprintf): Declare.
5330
5331Mon Aug 18 11:19:13 1997 Nick Clifton <nickc@cygnus.com>
5332
5333 * libc/sys/sysnecv850/Makefile.in (.c.o): Add rule that includes
5334 TARGET_CFLAGS and NEWLIB_FLAGS.
5335
5336Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5337
5338 * configure.in (links): Add support for v850ea target.
5339
5340Mon Aug 18 11:15:43 1997 Nick Clifton <nickc@cygnus.com>
5341
5342 * configure.in (links): Add support for v850e target.
5343
5344Wed Aug 13 19:16:54 1997 Nick Clifton <nickc@cygnus.com>
5345
5346 * libc/sys/sysnecv850/crt0.S: Remove initial setting of r0 to 0.
5347
5348Mon Aug 11 15:49:54 1997 Doug Evans <dje@canuck.cygnus.com>
5349
5350 * configure.in (arc-*-*): Add support for.
5351 * libc/include/machine/ieeefp.h (__arc__): Add support for the ARC.
5352
5353Fri Jul 25 17:37:41 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5354
5355 * libc/sys/sh/crt0.S (start): Add fpscr initialization for SH4.
5356
5357Thu Jul 24 18:32:17 1997 Geoffrey Noer <noer@cygnus.com>
5358
5359 * libc/stdlib/bsearch.c (bsearch): remove last unneeded
5360 comparison which accesses invalid memory when the key is
5361 larger than the last member of the array.
5362 * libc/include/machine/setjmp.h: add sigsetjmp, siglongjmp
5363 for CYGWIN32
5364 * libc/include/sys/unistd.h: add _POSIX defines for CYGWIN32
5365
5366Tue Jul 22 16:03:06 1997 Ian Lance Taylor <ian@cygnus.com>
5367
5368 * libc/include/stdlib.h (realpath): Declare if __CYGWIN32__ and
5369 not _STRICT_ANSI.
5370
5371Thu Jul 10 15:11:52 1997 Doug Evans <dje@canuck.cygnus.com>
5372
5373 * libm/math/k_standard.c (__kernel_standard): Call fflush(stdout)
5374 ifndef _USE_WRITE, instead of ifdef _USE_WRITE.
5375
5376Thu Jul 10 16:00:09 1997 Mike Meissner <meissner@cygnus.com>
5377
5378 * libc/machine/tic80/setjmp.S (setjmp,longjmp): Use ld.d and st.d
5379 to load/store memory.
5380
5381Mon Jul 7 17:38:17 1997 Ian Lance Taylor <ian@cygnus.com>
5382
5383 * libc/include/sys/fcntl.h: Define _O_* symbols with leading
5384 underscores if _WIN32.
5385
5386Wed Jul 2 10:07:20 1997 Doug Evans <dje@canuck.cygnus.com>
5387
5388 * libm/math/k_standard.c (__kernel_standard): Delete reentrancy
5389 support ifdef _USE_WRITE missed in last change.
5390 From Anders Blomdell <anders.blomdell@control.lth.se>.
5391
5392Wed Jun 25 10:18:49 1997 Doug Evans <dje@canuck.cygnus.com>
5393
5394 * libc/stdio/tmpnam.c (worker): Handle _open_r being stubbed out.
5395 (_tmpnam_r, _tempnam_r): Update.
5396
5397Wed Jun 25 00:16:55 1997 Mark Alexander <marka@cygnus.com>
5398
5399 * libc/machine/sparc/setjmp.S: New file.
5400 * libc/machine/sparc/Makefile.in: Add setjmp.
5401 * libc/include/machine/setjmp.h: Increase jmpbuf size for sparc.
5402
5403Tue Jun 24 23:27:38 1997 Mark Alexander <marka@cygnus.com>
5404
5405 * libc/include/machine/setjmp.h: Use __TIC80__ instead of __tic80__.
5406
5407Tue Jun 24 14:53:40 1997 Doug Evans <dje@canuck.cygnus.com>
5408
5409 From Joel Sherrill <joel@oarcorp.com>.
5410 * libc/stdlib/getenv.c (_findenv): Avoid dereferencing null `environ'.
5411
5412 Add rtems support. From Joel Sherrill <joel@oarcorp.com>.
5413 * configure.in: Recognize *-*-rtems*.
5414 * libc/sys/rtems/{Makefile.in,crt0.c,dummysys.c}: New files.
5415 * libc/sys/rtems/sys/{features.h,sched.h,siginfo.h,signal.h,
5416 time.h,times.h,types.h}: New files.
5417 * libc/sys/rtems/include/{limits.h,signal.h,time.h}. New files.
5418
5419Fri Jun 20 11:13:16 1997 Geoffrey Noer <noer@cygnus.com>
5420
5421 patch from sos@prospect.com.ru (Sergey Okhapkin):
5422 * include/sys/wait.h: correct operator precidence bug
5423 in WIFSIGNALED
5424
5425Wed Jun 18 22:08:27 1997 Geoffrey Noer <noer@cygnus.com>
5426
5427 * libc/include/stdlib.h: remove unsetenv proto since it conflicts
5428 with newlib's unsetenv function
5429 * libc/sys/cygwin32/sys: new directory for includes
5430 * libc/sys/cygwin32/sys/dirent.h: move cygwin32's dirent.h
5431 here from winsup/include/sys
5432
5433Mon Jun 16 21:02:22 1997 Geoffrey Noer <noer@cygnus.com>
5434
5435 * libc/include/sys/unistd.h: _exit should only be
5436 labelled noreturn when not __CYGWIN32__
5437 * libc/include/stdlib.h: for __CYGWIN32__, add proto for unsetenv
5438 * libc/include/sys/signal.h: add SIGIO to _WIN32 list and
5439 increment NSIG
5440
5441Thu Jun 12 18:52:41 1997 Ian Lance Taylor <ian@cygnus.com>
5442
5443 * libc/include/sys/time.h: Only define timeval and timezone if
5444 _GNU_H_WINDOWS32_SOCKETS is not defined.
5445 * libc/include/sys/stat.h: If _WIN32, define _S_IFMT, etc.
5446
5447Wed Jun 11 09:46:26 1997 Jeffrey A Law (law@cygnus.com)
5448
5449 * libc/machine/mn10200/setjmp.S: Implement setjmp/longjmp
5450 * libc/machine/mn10300/setjmp.S: Likewise.
5451
5452 * libc/sys/sysmec/crt0.S: Use "call" instead of "calls" for
5453 the mn10300 (more relaxing opportunities).
5454
5455Tue Jun 10 17:24:45 1997 Mike Meissner <meissner@cygnus.com>
5456
5457 * configure.in (powerpc*-*-{eabi,elf,linux,rtems,sysv,solaris}):
5458 Build libraries with -mstrict-align.
5459
5460Fri Jun 6 14:07:59 1997 Ian Lance Taylor <ian@cygnus.com>
5461
5462 * libc/string/strlwr.c: New file.
5463 * libc/string/strupr.c: New file.
5464 * libc/include/string.h: Declare strlwr and strupr.
5465 * libc/string/Makefile.in (OFILES): Add strlwr.o and strupr.o.
5466 (CHEWOUT_FILES): Add strlwr.def and strupr.def.
5467 (strlwr.o, strupr.o): New targets.
5468 * libc/string/strings.tex: Include strlwr and strupr docs.
5469
5470 * libc/include/sys/types.h: Don't define u_char, et. al., if
5471 _GNU_H_WINDOWS32_SOCKETS is defined. Likewise for fd_set,
5472 et. al. Make FD_SETSIZE default 64 rather than 60. Define
5473 _types_fd_set rather than fd_set, and define fd_set as a macro.
5474
5475 * libc/include/malloc.h: New file.
5476
5477 * libc/include/string.h: Define strcmpi, stricmp, strncmpi, and
5478 strnicmp if they are not already defined.
5479
5480 * libc/include/time.h: If __CYGWIN32__, declare tzset and define
5481 _timezone, _daylight, and _tzname.
5482
5483Wed Jun 4 12:51:16 1997 Doug Evans <dje@canuck.cygnus.com>
5484
5485 * configure.in: Sort all configuration tables.
5486
5487 From Joel Sherrill <joel@oarcorp.com>
5488 * Makefile.in (stmp-targ-include): Copy $(sys_dir)/include/*.h.
5489
5490Tue Jun 3 14:47:46 1997 Ian Lance Taylor <ian@cygnus.com>
5491
5492 * libc/include/sys/signal.h: Don't include <sys/types.h>. Just
5493 use int when declaring kill.
5494
5495 * libc/include/sys/timeb.h: New file.
5496
5497Mon Jun 2 12:06:58 1997 Geoffrey Noer <noer@cirdan.cygnus.com>
5498
5499 * libc/include/sys/time.h: add itimer support for Cygwin32
5500
5501Mon May 19 11:56:46 1997 Mike Meissner <meissner@cygnus.com>
5502
5503 * libc/stdlib/abort.c (abort): If ABORT_MESSAGE is defined, write
5504 out a message that abort was called to stderr.
5505
5506Fri May 16 15:02:59 1997 Bob Manson <manson@charmed.cygnus.com>
5507
5508 * libc/sys/sysmec/fstat.c (_fstat): Set st_blksize to 4096
5509 so that libio doesn't freak.
5510
5511 * libc/sys/sysmec/sbrk.c (_sbrk): The argument is a size_t, not
5512 int.
5513
5514 * libc/stdlib/mallocr.c (_morecore_r): Use size_t for
5515 memory sizes, not int.
5516
5517Wed May 14 21:16:58 1997 Bob Manson <manson@charmed.cygnus.com>
5518
5519 * libm/math/ef_hypot.c: Use long constants where
5520 appropriate.
5521 * libm/math/ef_sqrt.c: Ditto.
5522
5523 * libc/sys/sysmec/times.c(_times): Change to times.
5524
5525 * libc/sys/sysmec/read.c(_read): The third argument is
5526 size_t.
5527 * libc/sys/sysmec/write.c (_write): Ditto.
5528
5529 * libc/sys/sysmec/lseek.c: Include unistd.h for off_t.
5530 (_lseek): It's off_t for the second argument.
5531
5532Wed May 14 15:23:36 1997 Mike Meissner <meissner@cygnus.com>
5533
5534 * libc/include/sys/config.h (__IEEE_LITTLE_ENDIAN): Define here,
5535 as well as machine/ieeefp.h.
5536
5537Thu May 8 15:47:25 1997 Geoffrey Noer <noer@cygnus.com>
5538
5539 * libc/include/sys/signal.h: add signal protos for winsup
5540 functions (when __CYGWIN32__), include types.h
5541 * libc/include/sys/types.h: Change __go32_types__ internal
5542 define to __MS_types__ since it's used for more than just
5543 GO32 configs. Define this if GO32, __MSDOS__, or _WIN32 are
5544 defined.
5545 * libc/include/sys/unistd.h: add ftruncate proto for
5546 winsup functions (when __CYGWIN32__)
5547
5548Fri Apr 25 10:10:16 1997 Doug Evans <dje@canuck.cygnus.com>
5549
5550 * libc/sys/h8300hms/sbrk.c (stack_ptr): Add definition.
5551
5552Thu Apr 24 15:46:51 1997 Mike Stump <mrs@cygnus.com>
5553
5554 * libc/include/machine/setjmp.h: Add tic80 support.
5555 * libc/machine/tic80/setjmp.S: Likewise.
5556
5557Tue Apr 22 16:54:40 1997 Geoffrey Noer <noer@pizza.cygnus.com>
5558
5559 * libc/sys/cygwin32/crt0.c: Add reference to main() so we can
5560 link programs from libraries only (such as in the X11
5561 distribution)
5562
5563Mon Apr 21 15:02:12 1997 Fred Fish <fnf@cygnus.com>
5564
5565 * libc/sys/arm/syscalls.c (signal): Remove stub, signal()
5566 supplied elsewhere in newlib.
5567
5568Mon Apr 14 16:25:55 1997 Ian Lance Taylor <ian@cygnus.com>
5569
5570 * Makefile.in (INSTALL): Change install.sh to install-sh.
5571
5572Fri Apr 11 17:04:02 1997 Jason Molenda (crash@godzilla.cygnus.co.jp)
5573
5574 * README: update WWW address for on-line documentation.
5575
5576Wed Apr 9 00:38:13 1997 Geoffrey Noer <noer@cygnus.com>
5577
5578 * libc/include/sys/signal.h: for _WIN32, define SIGCONT and
5579 increment NSIG
5580
5581Mon Apr 7 23:54:00 1997 Jeffrey A Law (law@cygnus.com)
5582
5583 * libc/sys/sysmec/crt0.S: Update for new calling conventions on the
5584 mn10300.
5585 * libc/sys/sysmec/trap.S: Don't compare a register to itself.
5586
5587Tue Mar 25 08:47:43 1997 Jeffrey A Law (law@cygnus.com)
5588
5589 * libc/sys/arm/syscalls.c: Fix/add stack/heap collision detection.
5590 * libc/sys/d10v/syscalls.c: Likewise.
5591 * libc/sys/h8300hms/sbrk.c: Likewise.
5592 * libc/sys/h8500hms/syscalls.c: Likewise.
5593 * libc/sys/m88kbug/syscalls.c: Likewise.
5594 * libc/sys/sh/syscalls.c: Likewise.
5595 * libc/sys/sysmec/sbrk.c: Likewise.
5596 * libc/sys/sysnecv850/sbrk.c: Likewise.
5597 * libc/sys/w65/syscalls.c: Likewise.
5598 * libc/sys.tex: Update sbrk sample code to include stack/heap collision.
5599
5600Tue Mar 18 14:14:34 1997 Jeffrey A Law (law@cygnus.com)
5601
5602 * libc/sys/sysmec/trap.S: Use "syscall" to trigger an
5603 emulated syscall instead of "trap".
5604
5605Fri Mar 14 11:26:13 1997 Michael Meissner <meissner@cygnus.com>
5606
5607 * libc/sys/d10v/trap.S (__trap0): Use trap 15 for system calls,
5608 not trap 0.
5609
5610Sun Mar 9 23:27:04 1997 Doug Evans <dje@seba.cygnus.com>
5611
5612 * configure.in (m32r-*-*): Add -msdata=sdata to target_cflags.
5613
5614Sat Mar 8 09:05:01 1997 Fred Fish <fnf@cygnus.com>
5615
5616 * libc/machine/arm/Makefile.in: Fix comment, is for "arm"
5617 not "sh".
5618 * libc/machine/m32r/Makefile.in: Fix comment, is for "m32r"
5619 not "d10v".
5620 * libc/sys/tic80/crt0.c: New file for TIc80.
5621 * libc/sys/tic80/Makefile.in: New file for TIc80.
5622 * libc/machine/tic80/Makefile.in: New file for TIc80.
5623
5624Wed Mar 5 11:32:12 1997 J.T. Conklin <jtc@cygnus.com>
5625
5626 * libc/machine/sh/memcpy.S: New file.
5627 * libc/machine/sh/memset.S: New file.
5628 * libc/machine/sh/Makefile.in (OFILES): Add memcpy.o and memset.o
5629
5630Thu Feb 27 16:27:55 1997 Fred Fish <fnf@cygnus.com>
5631
5632 * libc/include/machine/ieeefp.h (_IEEE_LITTLE_ENDIAN): Define
5633 for TIc80.
5634
5635Wed Feb 26 13:43:39 1997 Jeffrey A Law (law@cygnus.com)
5636
5637 * libc/sys/sysmec/crt0.S: Handle new calling conventions for
5638 the mn10200.
5639
5640Wed Feb 26 07:11:03 1997 Michael Meissner <meissner@cygnus.com>
5641
5642 * libc/machine/powerpc/setjmp.S (longjmp): Correct return status
5643 (patch from andrew@pogo.WV.TEK.COM).
5644
5645Fri Feb 14 11:49:28 1997 Doug Evans <dje@canuck.cygnus.com>
5646
5647 * libc/machine/m32r/setjmp.S (setjmp): Save r12.
5648 (longjmp): Restore r12. Fix code that handles returning 1 if passed 0.
5649
5650Mon Feb 10 10:02:34 1997 Fred Fish <fnf@cygnus.com>
5651
5652 * configure.in: Add cases for "tic80" to set machine_dir,
5653 sys_dir, and syscall_dir.
5654
5655Sun Feb 2 17:57:15 1997 Geoffrey Noer <noer@cygnus.com>
5656
5657 * libc/sys/cygwin32/crt0.c: initialize floating pt registers
5658
5659Wed Jan 29 15:57:38 1997 Geoffrey Noer <noer@cygnus.com>
5660
5661 * libc/include/math.h: avoid conflicts with ANSI C++ <exception>
5662
5663Mon Jan 27 12:50:01 1997 Doug Evans <dje@seba.cygnus.com>
5664
5665 * libc/machine/m32r/setjmp.S: Use proper comment delimiter.
5666 Use proper constant prefix.
5667
5668Fri Jan 24 10:59:04 1997 Jeffrey A Law (law@cygnus.com)
5669
5670 * libc/sys/sysmec/*.c: Don't cast args to syscall to integers,
5671 that loses on the mn10200 where ints and pointers are different
5672 sizes.
5673
5674Tue Jan 14 13:29:55 PST 1997 Jeremy Allison <jra@cygnus.com>
5675
5676 * configure.in: Added -DSIGNAL_PROVIDED to cygwin32
5677 target as signal is provided in winsup.
5678
5679Tue Jan 14 11:10:13 1997 Jeremy Allison <jra@cygnus.com>
5680
5681 * libc/include/sys/process.h: Corrected const definitions
5682 in spawn functions. Added cwait.
5683
5684Thu Jan 2 12:22:41 1997 Jeffrey A Law (law@cygnus.com)
5685
5686 * libc/include/machine/ieeefp.h: mn10200 uses 16bit ints and 32bit
5687 doubles.
5688 * libc/include/sys/config.h: Similarly.
5689
5690Tue Dec 31 18:36:14 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5691
5692 * configure.in (sparc-sun-sunos*): Add -DSIGNAL_PROVIDED to the
5693 target_cflags.
5694 (i[3456]86-*-sco*): Ditto.
5695
5696 * libc/signal/Makefile.in (OFILES): Add signal.o.
5697 (CFILES): Add signal.c.
5698
5699 * libc/signal/raise.c (_raise_r): Only compile code if
5700 SIGNAL_PROVIDED is defined.
5701
5702 * libc/signal/signal.c: Redo whole file so that it works with
5703 current newlib. Use _kill_r if no signal handler provided.
5704
5705 * libc/sys/{go32,sparc64,sysmec}/Makefile.in: Delete raise and
5706 signal stubs.
5707 * libc/sys/sysvnecv70/Makefile.in: Ditto.
5708 * libc/sys/sysnecv850/Makefile.in: Ditto.
5709
5710 * libc/sys/{go32,sparc64}/signal.c: Delete, stub no longer used.
5711 * libc/sys/sysmec/{raise,signal}.c: Ditto.
5712 * libc/sys/sysvnecv70/signal.s: Ditto.
5713 * libc/sys/sysnecv850/raise.c: Ditto.
5714
5715 * libc/sys/sysnecv850/kill.c (_kill): Encode signal # so that
5716 simulator and debugger can tell the difference between a signal
5717 being raised and an exit system call.
5718
5719 * NEWS: Document software signals being provided.
5720
5721Mon Dec 23 11:54:19 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5722
5723 * libc/reent/impure.c (_REENT_ATTR): Delete in favor of
5724 __ATTRIBUTE_IMPURE_PTR__. Move PowerPC definition to
5725 include/sys/config.h.
5726 (impure_data): Use __ATTRIBUTE_IMPURE_DATA__ for attributes.
5727 Change from 'inpure_data'.
5728 (_impure_ptr): Use __ATTRIBUTE_IMPURE_PTR__ for attributes. Use
5729 &impure_data, not &inpure_data.
5730
5731 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): If PowerPC
5732 and and System V ABI, define so that _impure_ptr lives in the
5733 .sdata section.
5734
5735Sun Dec 22 23:33:05 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5736
5737 * libc/include/sys/reent.h (__ATTRIBUTE_IMPURE_PTR__): Define as
5738 nothing if not defined.
5739 (_impure_ptr): Use __ATTRIBUTRE_IMPURE_PTR__, so a machine can set
5740 its attributes.
5741
5742 * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__):
5743
5744Wed Dec 18 10:12:04 1996 Jeffrey A Law (law@cygnus.com)
5745
5746 * libc/sys/sysmec/crt0.S: Fix mn10200 stuff.
5747 * libc/sys/sysmec/trap.s: Handle mn10200 too.
5748 * libc/machine/mn10200/setjmp.S: Fix mn10200 stuff.
5749
5750Mon Dec 16 10:05:36 1996 Jeffrey A Law (law@cygnus.com)
5751
5752 * libc/sys/sysmec/crt0.S: Handle mn10200 too.
5753
5754Fri Dec 13 11:05:20 1996 Jeremy Allison <jra@cygnus.com>
5755
5756 * libc/include/sys/errno.h: Added net errno's.
5757
5758Wed Dec 11 16:24:25 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5759
5760 * libc/misc/ffs.c: New file to support ffs function for GCC test
5761 gcc.c-torture/execute/960909-1.c.
5762
5763 * libc/misc/Makefile.in ({O,CHEWOUT_}FILES): Add ffs.
5764
5765Sat Dec 7 10:12:37 1996 Jeffrey A Law (law@cygnus.com)
5766
5767 * libc/sys/sysmec/crt0.S: Handle underscore prefix.
5768 * libc/sys/sysmec/trap.S: Likewise.
5769
5770Fri Dec 6 15:08:49 1996 Jim Wilson <wilson@cygnus.com>
5771
5772 * configure.in (mips*vr4300*-*-*): Delete use of sys/vr4300.
5773 * libc/sys/vr4300/{Makefile.in,crt0.S,syscalls.c}: Delete.
5774
5775Wed Dec 4 16:25:27 1996 Jeffrey A Law (law@cygnus.com)
5776
5777 * libc/sys/sysmec/signal.c: Dummy file.
5778 * libc/sys/sysmec/Makefile.in: Build it.
5779
5780Wed Nov 27 13:10:18 1996 Ian Lance Taylor <ian@cygnus.com>
5781
5782 * libc/machine/mips/machine/regdef.h: Define pc as $pc for
5783 mips16.
5784
5785Mon Nov 25 09:58:28 1996 Jeffrey A Law (law@cygnus.com)
5786
5787 * libc/sys/sysmec/{crt0.S,trap0.S}: Actually try to implement
5788 c-startup and simulator traps.
5789
5790
5791 * libc/sys/sysmec/crt0.S: Remove bogus '_' symbol prefixing
5792 * libc/sys/sysmec/trap0.S: Likewise.
5793
5794Sat Nov 23 09:01:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5795
5796 * libc/stdlib/mallocr.c (ROUND_TO): If SMALL_MEMORY, set to 0x7 to
5797 round to double word alignment.
5798 (_morecore_r): Combine rounding up pointers to both ROUND_TO and 8
5799 byte alignment.
5800
5801 * libc/include/sys/config.h (__IEEE_BIG_ENDIAN): Define if d10v.
5802
5803 * libc/sys/d10v/syscalls.c (_sbrk): Add better checks for running
5804 out of memory.
5805
5806Mon Nov 18 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
5807
5808 * configure.in: Handle mn10200 and mn10300.
5809 * libc/include/machine/{ieeefp.h,setjmp.h}: Likewise.
5810 * libc/include/sys/config.h: Likewise.
5811 * libc/sys/sysmec: New directory for mec stuff.
5812 * libc/machine/mn10300: New directory for mn10300 stuff.
5813 * libc/machine/mn10200: Similarly for mn10200 stuff.
5814
5815Fri Nov 15 16:41:41 1996 Doug Evans <dje@canuck.cygnus.com>
5816
5817 * libc/sys/arm/crt0.S: Use .text, not .section .text.
5818 * libc/sys/arm/syscalls.c: Rewrite to set errno properly.
5819
5820 * libc/include/sys/types.h (_ST_INT32): New macro, local to file.
5821 (nlink_t): Change type from unsigned int to unsigned short.
5822 (mode_t): Ensure size is 32 bits even if int is 16.
5823 * libc/include/sys/stat.h (st_nlink): Change type to nlink_t.
5824 (st_spare[123]): Change type from int to long.
5825
5826Fri Nov 15 11:41:50 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5827
5828 * libc/sys/d10v/syscalls.c (_sbrk): Align initial heap_end to 8
5829 byte boundary.
5830
5831 * configure.in (d10v*): Define SMALL_MEMORY.
5832
5833Mon Nov 11 10:30:44 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5834
5835 * configure.in (powerpc*-{eabi,elf,linux,rtem,sysv,solaris}*): Add
5836 -mrelocatable-lib and -mno-eabi flags.
5837
5838Mon Nov 11 09:01:39 1996 Jeffrey A Law (law@cygnus.com)
5839
5840 * libc/machine/h8300/memcpy.S: Fix comments to reflect reality.
5841 Fix handling of mis-aligned source operand when both the
5842 destination & length are properly aligned.
5843
5844Wed Oct 30 09:41:11 1996 Jeffrey A Law (law@cygnus.com)
5845
5846 * libc/sys/sysnecv850/Makefile.in (OFILES): Add
5847 times.o, time.o and gettime.o
5848 * libc/sys/sysnecv850/{time.c, times.c, gettime.c}: New files.
5849 * libc/sys/sysnecv850/sys/syscall.h: Add SYS_times and
5850 SYS_gettimeofday.
5851
5852Tue Oct 29 13:40:09 1996 Jeffrey A Law (law@cygnus.com)
5853
5854 * libc/sys/sysnecv850/Makefile.in (OFILES): Add access.o
5855 * libc/sys/sysnecv850/access.c: New file.
5856
5857Mon Oct 21 19:47:02 1996 Ian Lance Taylor <ian@cygnus.com>
5858
5859 * libc/sys/vr4300/Makefile.in (clean): Remove $(OFILES).
5860
5861 * libc/stdlib/mprec.h (word0, word1): Use __uint32_t, not unsigned
5862 long.
5863
5864Mon Oct 21 14:43:07 1996 Jeffrey A Law (law@cygnus.com)
5865
5866 * libc/sys/sysnecv850/crt0.S: Initialize ep and gp registers.
5867
5868Thu Oct 17 11:47:16 1996 Doug Evans <dje@seba.cygnus.com>
5869
5870 * libc/include/machine/{ieeefp.h,setjmp.h}: Add m32r support.
5871 * libc/include/sys/config.h: Add m32r support.
5872
5873Wed Oct 16 23:08:05 1996 Jeffrey A Law (law@cygnus.com)
5874
5875 * libc/sys/sysnecv850/v850.ld: Remove. It doesn't belong
5876 here.
5877
5878Wed Oct 16 21:18:07 1996 Mark Alexander <marka@cygnus.com>
5879
5880 * libc/include/machine/setjmp.h: Add D10v support.
5881
5882Tue Oct 15 22:28:26 1996 Jeffrey A Law (law@cygnus.com)
5883
5884 * configure.in: Configure the "libc/syscalls" directory for
5885 the v850.
5886
5887 * libc/sys/sysnecv850/{close.c, execve.c, fork.c}: Add missing '_'.
5888 * libc/sys/sysnecv850/{fstat.c, getpid.c, kill.c}: Likewise.
5889 * libc/sys/sysnecv850/{lseek.c, open.c, read.c}: Likewise.
5890 * libc/sys/sysnecv850/{sbrk.c, stat.c, unlink.c}: Likewise.
5891 * libc/sys/sysnecv850/{wait.c, write.c}: Likewise.
5892
5893Tue Oct 15 16:24:39 1996 Stu Grossman (grossman@critters.cygnus.com)
5894
5895 * libc/sys/sysnecv850/crt0.S (start): Allocate spill space on
5896 stack for args for main and other routines. Zero out args for
5897 main.
5898
5899 * libc/sys/sysnecv850/v850.ld: New. Linker script to layout memory
5900 correctly.
5901
5902Tue Oct 15 11:51:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5903
5904 * libc/stdio/findfp.c (std): Remove extraneous ';' after
5905 function.
5906
5907 * libc/sys/d10v/sys/syscall.h (SYS_kill): Add.
5908
5909 * libc/sys/d10v/{syscalls.c,trap.S} (_kill,_getpid): Make these
5910 real system calls now.
5911
5912 * libc/stdio/setvbuf (setvbuf): Cast pointers to _POINTER_INT
5913 before casting them to int.
5914 * libc/stdio/tmpnam.c (_tempnam_r): Ditto.
5915
5916 * libc/stdlib/mallocr.c (_morecore_r): Use _POINTER_INT when
5917 aligning pointer.
5918 * libc/string/memset.c (memset): Ditto.
5919
5920 * libc/stdio/vfscanf.c (__svfscanf): When converting to pointer,
5921 first convert ints to _POINTER_INT to eliminate GCC warning.
5922
5923 * libc/stdio/vfprintf.c (_vfprintf_r): Use _POINTER_INT when
5924 processing %p.
5925
5926 * libm/math/ef_scalb.c (__ieee754_scalbf): Cut down range to 32000
5927 from 65000 if ints are only 16 bits.
5928
5929 * libm/math/sf_scalbn.c (scalbnf): Cut down overflow test to 30000
5930 from 50000 if ints are only 16 bits.
5931
5932 * libc/include/sys/config.h (_POINTER_INT): New macro, to give an
5933 int type that is the same size as a pointer.
5934
5935 * libc/misc/dprintf.c (__dprintf): Use _POINTER_INT when
5936 processing %p.
5937 (get_number): Explicitly cast number to long before shifting by 16
5938 or 24, in case ints are short.
5939
5940 * libc/include/sys/config.h (_POINTER_INT): Define as short.
5941
5942Wed Oct 9 16:54:32 1996 Jeremy Allison <jra@cygnus.com>
5943
5944 * libc/string.h: Added ffs, removed swab.
5945 * libc/sys/errno.h: Added EOPNOTSUPP.
5946 * libc/sys/unistd.h: Added swab.
5947
5948Thu Oct 3 17:08:50 1996 Jeremy Allison <jra@cygnus.com>
5949
5950 * libc/include/sys/stat.h: Added fchmod.
5951 * libc/include/sys/unistd.h: Added fsync.
5952
5953Tue Oct 1 17:34:08 1996 Jeremy Allison <jra@cygnus.com>
5954
5955 * libc/include/sys/errno.h: Added defines for EPFNOSUPPORT (96)
5956 and ECONNRESET (104) for cygwin32.
5957
5958Tue Oct 1 16:24:05 1996 Gavin Koch <gavin@cygnus.com>
5959
5960 * libc/sys/sysnecv850/_exit.c: added _do_dtors to
5961 do the static destructors.
5962
5963Mon Sep 30 15:59:05 1996 Stu Grossman (grossman@critters.cygnus.com)
5964
5965 * libc/sys/sysnecv850/trap.S: Change I/O to use trap 31.
5966
5967Mon Sep 30 12:02:50 1996 Doug Evans <dje@canuck.cygnus.com>
5968
5969 * libc/machine/m32r/{Makefile.in,setjmp.S}: New files.
5970 * configure.in: Recognize m32r-*-*.
5971
5972Mon Sep 30 00:34:41 1996 James G. Smith <jsmith@cygnus.co.uk>
5973
5974 * libc/sys/arm/trap.S (__rt_stkovf_split_big,
5975 __rt_stkovf_split_small): Added default software stack overflow
5976 handlers, which just call SWI_Exit.
5977 * libc/sys/arm/crt0.S (_mainCRTStartup): Simple software stack
5978 limit initialisation.
5979
5980Fri Sep 27 13:08:03 1996 Mark Alexander <marka@cygnus.com>
5981
5982 * libc/sys/d10v/{trap.S,sys/syscall.h}: Add time() function.
5983
5984Fri Sep 27 12:32:00 1996 Jeremy Allison <jra@cygnus.com>
5985
5986 * libc/include/sys/types.h: Added ssize_t definition.
5987
5988Wed Sep 25 14:52:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
5989
5990 * libc/machine/d10v/setjmp.S: Use ';' for comments.
5991 * libc/sys/d10v/{crt0.S,trap.S}: Ditto.
5992
5993 * libc/machine/d10v/setjmp.S (longjmp): Use exef0t || instead of
5994 branch around a single ldi instruction.
5995
5996 * libc/sys/d10v/crt0.S (_start): Use auto-increment to zero bss.
5997 Call exit, instead of just issuing a stop instruction.
5998
5999Sun Sep 22 17:26:55 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6000
6001 * libc/sys/d10v/{trap.S,syscalls.c}: Add -mint32 support.
6002
6003Fri Sep 20 13:23:12 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6004
6005 * libc/stdlib/mprec.h: Explicitly declare all large constants as
6006 longs, and then cast them to __uint32_t.
6007
6008 * libc/include/sys/config.h: Protect against multiple inclusions.
6009
6010Tue Sep 17 13:10:33 1996 Mark Alexander <marka@cygnus.com>
6011
6012 * configure.in (d10v*): Set syscall_dir.
6013
6014Sun Sep 15 10:41:59 1996 Mark Alexander <marka@cygnus.com>
6015
6016 * libc/sys/d10v/crt0.S: Set stack pointer.
6017
6018Thu Sep 12 13:02:38 1996 Mark Alexander <marka@cygnus.com>
6019
6020 * libc/sys/d10v/{trap.S, syscalls.c}: Rewrite most system calls
6021 in assembly for efficiency. Change calling convention to allow
6022 long ints to be returned.
6023
6024Wed Sep 11 10:28:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6025
6026 * libc/machine/v850/Makefile.in (setjmp.o): Fix dependency.
6027
6028Thu Sep 5 19:23:06 1996 Doug Evans <dje@canuck.cygnus.com>
6029
6030 * libc/posix/execvp.c (execvp): Don't search PATH if file has '/'.
6031 Handle empty entries in $PATH.
6032
6033Tue Sep 03 18:15:02 1996 Mark Alexander <marka@cygnus.com>
6034
6035 * libc/machine/d10v/setjmp.S: Make it really work.
6036
6037Tue Sep 3 12:16:26 1996 Ian Lance Taylor <ian@cygnus.com>
6038
6039 * libc/sys/sh/crt0.S: If __ELF__, use ELF section attributes for
6040 the .stack section.
6041
6042Tue Sep 3 10:08:45 1996 Jeffrey A Law (law@cygnus.com)
6043
6044 * sys/sysnecv850/sys/file.h: Remove.
6045 * sys/sysnecv850/sys/syscall.h: New file.
6046 * sys/sysnecv850/{misc.c,syscalls.c,malloc.c}: Deleted.
6047 * sys/sysnecv850/{chmod.c, chown.c, close.c, creat.c} New files.
6048 * sys/sysnecv850/{execv.c, execve.c, fork.c, fstat.c} New files.
6049 * sys/sysnecv850/{getpid.c, isatty.c, kill.c, lseek.c} New files.
6050 * sys/sysnecv850/{open.c, pipe.c, raise.c, read.c} New files.
6051 * sys/sysnecv850/{stat.c, unlink.c, utime.c, wait.c} New files.
6052 * sys/sysnec850/trap.S: New file.
6053 * sys/sysnecv850/{_exit.c, write.c}: Use new TRAP0 mechanism for
6054 syscalls.
6055 * sys/sysnecv850/crt0.S: Use cmp/bl, not tst/bz.
6056 * sys/sysnec850/sbrk.c: New version.
6057
6058Sun Sep 1 20:08:27 1996 Jeffrey A Law (law@cygnus.com)
6059
6060 * sys/sysnecv850/crt0.S: Fix order of comparison args. Loop
6061 as long as r6 is less than r7.
6062
6063Sun Sep 1 13:54:19 1996 Ian Lance Taylor <ian@cygnus.com>
6064
6065 * Makefile.in (mostlyclean): Separate from clean target. Don't
6066 remove *.a or targ-include.
6067 * libc/machine/sparc/Makefile.in (mostlyclean): New target.
6068
6069Sun Sep 1 11:35:26 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6070
6071 * libc/include/machine/ieeefp.h (_DOUBLE_IS_32BITS): Define for
6072 d10v.
6073 (__SMALL_BITFIELDS): Ditto.
6074
6075 * libc/include/sys/config.h (_DOUBLE_IS_32BITS): Define for d10v.
6076
6077Sat Aug 31 16:42:36 1996 Jeffrey A Law (law@cygnus.com)
6078
6079 * libc/sys/sysnecv850/misc.c (raise, getpid, kill): Remove '_'
6080 prefix.
6081
6082 * libc/sys/sysnecv850/sbrk.c (sbrk): Remove '_' prefix.
6083 * libc/sys/sysnecv850/syscalls.c (read, lseek, close): Likewise.
6084 * libc/sys/sysnecv850/syscalls.c (fstat, open, close): Likewise.
6085 * libc/sys/sysnecv850/write.c (write): Likewise.
6086
6087 * libc/sys/sysnecv850/crt0.S: Don't try to zero out an empty
6088 .bss.
6089
6090Fri Aug 30 11:18:45 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6091
6092 * libc/include/sys/config.h: Define INT_MAX, UINT_MAX
6093 appropriately for D10V, depending on -mint16/-mint32.
6094
6095Thu Aug 29 16:09:37 1996 Mark Alexander <marka@cygnus.com>
6096
6097 * configure.in: Add cases for D10V.
6098
6099Thu Aug 29 17:03:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6100
6101 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
6102
6103Wed Aug 28 21:05:52 1996 Jeffrey A Law (law@cygnus.com)
6104
6105 * libc/include/machine/ieeefp.h: Fix typo.
6106
6107Wed Aug 28 19:47:55 1996 Mark Alexander <marka@cygnus.com>
6108
6109 * libc/sys/d10v: New directory for D10V stuff.
6110 * libc/include/machine/ieeefp.h: Add D10V defines.
6111
6112Mon Aug 26 13:34:58 1996 Doug Evans <dje@canuck.cygnus.com>
6113
6114 * libc/include/sys/errno.h: Add winsup/include/sys/errno.h values:
6115 ELOOP, ENOBUFS, EAFNOSUPPORT, EPROTOTYPE, ENOTSOCK, ENOPROTOOPT,
6116 ESHUTDOWN, ECONNREFUSED, EADDRINUSE, ECONNABORTED, EWOULDBLOCK.
6117 * libc/string/strerror.c (strerror): Add them.
6118
6119Thu Aug 22 16:38:19 1996 Jeffrey A Law (law@cygnus.com)
6120
6121 * libc/sys/sysnecv850: New directory for v850 stuff.
6122
6123 * libc/machine/v850: New directory for v850 stuff.
6124 * libc/machine/v850/setjmp.S: setjmp/longjmp support.
6125
6126 * configure.in: Add support for the v850.
6127
6128 * libc/include/machine/ieeefp.h: Add v850 defines.
6129 * libc/include/machine/setjmp.h: Likewise.
6130 * libc/include/sys/config.h: Add v850 defines.
6131
6132Sat Aug 17 04:06:36 1996 Geoffrey Noer <noer@cygnus.com>
6133
6134 * libc/include/machine/ieeefp.h
6135 * libc/include/machine/setjmp.h
6136 * libc/include/sys/fcntl.h
6137 * libc/include/sys/signal.h
6138 * libc/include/sys/types.h
6139 * libc/stdlib/system.c:
6140 Fix preprocessor defines to match new scheme (_WIN32 for WIN32
6141 API availability, __CYGWIN32__ for cygwin32 environment specific).
6142
6143Thu Aug 15 17:09:21 1996 Geoffrey Noer <noer@cygnus.com>
6144
6145 * libc/include/stdlib.h: add multibyte character functions. Add
6146 __eprintf for assert.
6147
6148Thu Aug 15 11:15:40 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6149
6150 * libc/stdlib/malloc.h (MALLOC_ALIGNMENT): Use either pointer
6151 arithmetic or __alignof__ to properly get the alignment, instead
6152 of hardwiring it to 4.
6153
6154Wed Aug 14 23:43:28 1996 Geoffrey Noer <noer@cygnus.com>
6155
6156 * libc/stdio/fseek.c: add fflush call to adjust seek offset
6157 on append stream (fix from NetBSD sources), adjust curoff offset
6158 for ungetc's benefit.
6159 * libc/stdio/ftell.c: adjust curoff offset for ungetc's benefit.
6160 * libc/stdio/rewind.c: replace code with up to date NetBSD
6161 code to undo hacks made to work around above problem of not
6162 having fflush call mentioned above
6163
6164Fri Aug 2 18:28:07 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6165
6166 * libc/reent/{closer.c, execr.c, fstatr.c, linkr.c, lseekr.c,
6167 openr.c, readr.c, sbrkr.c, signalr.c, statr.c, timer.c, writer.c}:
6168 Partially revert last changes. The thread specific errno is set
6169 iff if the underlying syscall fails and the global errno is not
6170 zero.
6171
6172Fri Jul 19 11:41:52 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6173
6174 * libc/reent/filer.c: Removed files, all functions have split out
6175 into their own files.
6176 * libc/reent/{closer.c, lseekr.c, openr.c, readr.c, writer.c}:
6177 New files containing functions formally in filer.c
6178 * libc/reent/Makefile.in: Updated for above change.
6179
6180 * libc/reent/execr.c (_fork_r, _wait_r): Set errno if underlying
6181 syscall fails, not if errno is changed.
6182 * libc/reent/filer.c (_open_r, _close_r, _lseek_r, _read_r,
6183 _write_r): Likewise.
6184 * libc/reent/fstatr.c (_fstat_r): Likewise.
6185 * libc/reent/linkr.c (_link_r, _unlink_r): Likewise.
6186 * libc/reent/sbrkr.c (_sbrk_r): Likewise.
6187 * libc/reent/signalr.c (_kill_r): Likewise.
6188 * libc/reent/statr.c (_stat_r): Likewise.
6189 * libc/reent/timer.c (_gettimeofday_r): Likewise.
6190
6191 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, sbrkr.c,
6192 signalr.c, statr.c, timer.c} (errno): declare extern rather
6193 than as a common.
6194
6195 * libc/stdio/vfprintf.c (__sbprintf): Use the VFPRINTF macro
6196 instead of calling vfprintf so that i*printf will not require
6197 floating point support code.
6198
6199Mon Jul 15 16:50:59 1996 Doug Evans <dje@canuck.cygnus.com>
6200
6201 * libc/posix/execvp.c (execvp): Use posix_path_list_p to determine
6202 path delimiter.
6203 * libc/include/sys/unistd.h (_SC_PATH_RULES): Delete.
6204 (_PATH_RULES_{UNKNOWN,WIN32,POSIX}): Delete.
6205
6206Thu Jul 11 14:34:14 1996 Geoffrey Noer <noer@cygnus.com>
6207
6208 * libc/include/signal.h: _sig_func_ptr function takes an int
6209 * libc/include/sys/signal.h: sa_handler function takes an int
6210
6211Tue Jul 9 21:22:32 1996 Jeffrey A Law (law@cygnus.com)
6212
6213 * libc/include/machine/ieeefp.h: Simplify H8/S support.
6214 * libc/include/sys/config.h: Add missing H8/S conditional.
6215
6216Sun Jun 30 12:05:46 1996 Doug Evans <dje@canuck.cygnus.com>
6217
6218 * libc/include/sys/unistd.h (MAXPATHLEN): Add cygwin32 value.
6219
6220Wed Jun 26 09:57:54 1996 Jeffrey A Law (law@cygnus.com)
6221
6222 * libc/include/machine/setjmp.h: Handle H8/S.
6223 * libc/include/machine/ieeefp.h: Likewise.
6224 * libc/include/sys/config.h: Likewise.
6225 * libc/machine/h8300/{defines.h, memcpy.S, memset.S}: Likewise.
6226 * libc/machine/h8300/{reg_memcpy.S, reg_memset.S}: Likewise.
6227 * libc/machine/h8300/{strcmp.S, setjmp.S}: Likewise.
6228 * libc/sys/h8300hms/crt0.S: Likewise.
6229
6230Tue Jun 25 23:15:45 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
6231
6232 * Makefile.in (datadir): Set to $(prefix)/share.
6233 (oldincludedir, docdir): Removed.
6234 * doc/Makefile.in (datadir): Set to $(prefix)/share.
6235 (oldincludedir, docdir): Removed.
6236 * libc/Makefile.in (datadir): Set to $(prefix)/share.
6237 (oldincludedir, docdir): Removed.
6238 * libm/Makefile.in (datadir): Set to $(prefix)/share.
6239 (oldincludedir, docdir): Removed.
6240
6241Fri Jun 21 19:24:41 1996 Ian Lance Taylor <ian@cygnus.com>
6242
6243 * libc/include/sys/reent.h (_REENT_INIT): Update for change to
6244 _reent struct.
6245
6246Wed Jun 19 14:00:09 1996 Doug Evans <dje@canuck.cygnus.com>
6247
6248 * libc/posix/execvp.c: Delete _WIN32 support. For __CYGWIN32__
6249 fetch current path rules with sysconf and handler posix/win32
6250 appropriately.
6251
6252 * libc/include/sys/unistd.h (_PATH_RULES{,_POSIX,_WIN32}): Define.
6253
6254 * libc/include/process.h: Prepend '_' to P_{WAIT,NOWAIT,OVERLAY}.
6255 (WAIT_CHILD): Always define.
6256
6257Sat Jun 15 17:50:42 1996 Ian Lance Taylor <ian@cygnus.com>
6258
6259 * libc/stdlib/eprintf.c: New file.
6260 * libc/stdlib/Makefile.in (OFILES): Add eprintf.o.
6261 (eprintf.o): New target.
6262
6263Thu Jun 13 16:44:32 1996 Doug Evans <dje@canuck.cygnus.com>
6264
6265 * libc/sys/cygwin32/crt0.c (__cygwin_crt0_bp): New global.
6266 (mainCRTStartup): Do int3 if __cygwin_crt0_bp non-zero.
6267
6268Thu Jun 13 17:45:17 1996 Mike Meissner <meissner@rtl.cygnus.com>
6269
6270 * libc/include/machine/ieeefp.h: Add support for AIX and Windows
6271 NT in PowerPC endianess cases.
6272
6273Tue Jun 11 12:26:28 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6274
6275 * libc/include/machine/ieeefp.h: Clean up PowerPC endianess.
6276
6277Thu Jun 6 11:34:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6278
6279 * libc/string/strtok.c: Fix doc typo.
6280
6281Mon Jun 3 11:30:00 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6282
6283 * libc/include/sys/reent.h (struct _reent): Removed _asctime,
6284 _next, _scanpoint, _signgam fields.
6285
6286 * libc/include/stdlib.h (rand_r): Added new declaration.
6287 (_rand_r, _srand_r): Removed declarations.
6288 * libc/stdlib/rand.c (_rand_r, _srand_r): Removed, these functions
6289 have been made obsolete by rand_r.
6290 * libc/stdlib/rand_r.c: New file, rand_r function as specified
6291 by POSIX.1c.
6292
6293 * libc/string/strtok.c: Update documentation to describe
6294 strtok_r().
6295
6296Sat Jun 1 23:50:39 1996 Michael Meissner <meissner@cygnus.com>
6297
6298 * libc/include/sys/stat.h (stat structure): Use the expanded stat
6299 structure on Solaris, and PowerPC systems even though __svr4__ is
6300 defined.
6301
6302Tue May 28 13:02:42 1996 Doug Evans <dje@canuck.cygnus.com>
6303
6304 * libc/sys/go32/sys/errno.h (ENOSYS,ESPIPE): Keep values <= 255.
6305
6306Fri May 17 10:34:44 1996 Ian Lance Taylor <ian@cygnus.com>
6307
6308 * host/any: Use ../.. rather than .. to get to the main build
6309 directory. This matches the current layout of the build
6310 directory.
6311
6312Wed May 15 15:52:27 1996 Jeffrey A Law (law@cygnus.com)
6313
6314 * libc/machine/h8300/__main.S: Delete. No longer needed.
6315 * libc/machine/h8300/Makefile.in: Corresponding changes.
6316 * libc/sys/h8300hms/crt1.c: New file.
6317 * libc/sys/h8300hms/Makefile.in: Corresponding changes.
6318 * libc/sys/h8300hms/crt0.s: Call __main.
6319
6320 * libc/sys/h8300hms/crt0.S: Use temporary label names
6321 for branch targets.
6322
6323Mon May 13 14:26:30 1996 Doug Evans <dje@canuck.cygnus.com>
6324
6325 * libc/stdio/fopen.c (_fopen_r): Fix arguments to fseek.
6326
6327Fri May 3 16:38:23 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6328
6329 * libc/reent/impure.c (_impure_ptr): Force the impure pointer into
6330 .sdata on the PowerPC so that we can link newlib with code
6331 compiled with -msdata.
6332
6333Mon Apr 29 21:38:02 1996 Doug Evans <dje@canuck.cygnus.com>
6334
6335 * libc/sys/arm/syscalls.c (_sbrk): Rename end to __end__.
6336
6337Thu Apr 25 06:38:59 1996 Michael Meissner <meissner@cygnus.com>
6338
6339 * libc/sys/cygwin32/crt0.c (mainCRTStartup): On PowerPC, set the
6340 exception handler to __cygwin_exception_handler.
6341
6342Tue Apr 23 15:14:20 1996 Ian Lance Taylor <ian@cygnus.com>
6343
6344 * libc/include/machine/setjmp.h: Check _AM29K, not ___AM29K__.
6345
6346Sun Apr 21 12:11:51 1996 Doug Evans <dje@blues.cygnus.com>
6347
6348 * libm/math/Makefile.in ({w,wf}_cabs.o,{w,wf}_drem.o): Add rule for
6349 SunOS VPATH.
6350 * libc/stdlib/Makefile.in (atoff.o,atol.o,mblen.o,mbstowcs.o,
6351 wcstombs.o): Likewise.
6352
6353Thu Apr 18 12:37:01 1996 Doug Evans <dje@canuck.cygnus.com>
6354
6355 * libc/stdlib/environ.c (initial_env): New static local.
6356 (environ): Point to `initial_env'.
6357
6358 * libc/include/machine/setjmp.h: Clean up.
6359 (__H8300H__,__PPC__): Define _JBTYPE.
6360 (__arm__): Provide entry for.
6361 (sigjmp_buf): Delete.
6362 (jmp_buf): Use _JBTYPE if defined, otherwise int.
6363
6364Thu Apr 18 12:10:52 1996 Jeffrey A Law (law@cygnus.com)
6365
6366 * libc/machine/h8300/strcmp.S: Sign extend the result to
6367 32bits so we don't lose with -mint32.
6368
6369Sun Apr 14 19:59:52 1996 Doug Evans <dje@canuck.cygnus.com>
6370
6371 * libc/sys/go32/sys/errno.h: New file.
6372 * libc/sys/go32/Makefile.in (stat.o): Depend on stat.c.
6373 * libc/sys/go32/gerrno.s (syscall_error): Call __errno to get
6374 errno's address (make compatible with rest of newlib).
6375 * libc/sys/go32/stat.c (fixinode): Set errno upon failure.
6376 * libc/string/strerror.c (strerror): Surround each case with #ifdef.
6377
6378Thu Mar 28 13:44:42 1996 Doug Evans <dje@canuck.cygnus.com>
6379
6380 * libc/machine/sparc/{scan.c,shuffle.c}: New files.
6381 * libc/machine/sparc/Makefile.in: Build them.
6382 * libc/machine/sparc/machine/sparclet.h: New file.
6383
6384Mon Mar 25 15:29:14 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6385
6386 * libc/machine/sh/asm.h: New file.
6387 * libc/machine/sh/setjmp.S: Only save clobbered registers. Added
6388 support for SH3e's FP registers. Use asm.h.
6389
6390Mon Mar 25 11:59:23 1996 Jeffrey A Law (law@cygnus.com)
6391
6392 * libc/stdio/vfprintf.c (cvt): Accept a reent structure
6393 as first argument. Call _dtoa_r and pass the reent structure
6394 instead of calling __dtoa.
6395
6396Fri Mar 22 13:59:37 1996 Jeffrey A Law (law@cygnus.com)
6397
6398 * libc/include/sys/config.h: Define DOUBLE_IS_32BITS for
6399 the h8300, h8500, and others. Add comments for some rather
6400 dubious code.
6401
6402Thu Mar 14 18:04:43 1996 Ian Lance Taylor <ian@cygnus.com>
6403
6404 * Makefile.in (check): Check that testsuite exists before cd.
6405
6406Tue Mar 12 11:46:47 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6407
6408 * libc/include/string.h (strsep): Correct prototype.
6409
6410Mon Mar 11 09:55:19 1996 Doug Evans <dje@charmed.cygnus.com>
6411
6412 * libc/sys/h8300/_exit.c (_exit,__exit): Set r0 to 0 before `sleep'.
6413 * libc/sys/h8300/misc.c (_kill): Set r0 to indicate abort and `sleep'.
6414 * libc/sys/h8300/crt0.S (_start): Call exit instead of `sleep'.
6415
6416Wed Mar 6 11:51:55 1996 Doug Evans <dje@charmed.cygnus.com>
6417
6418 * libc/posix/{creat.c,isatty.c}: New files.
6419 * libc/posix/Makefile.in (OFILES): Add creat.o, isatty.o.
6420
6421 * libc/sys/sparc64/crt0.S (environ): Delete.
6422 (.LHaveBias): Renamed from HaveBias.
6423
6424Thu Feb 15 10:48:37 1996 Doug Evans <dje@charmed.cygnus.com>
6425
6426 * libc/stdlib/mallocr.c (etext): Move decl inside ifdef WARN_VLIMIT.
6427 (_morecore_r): Delete SBRK_IS_ALLOC support.
6428
6429Tue Feb 13 09:44:09 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6430
6431 * libc/sys/cygwin32/Makefile.in (lib.a): Make lib.a with a dummy
6432 module rather than touch, so we don't get warning messages when
6433 all of the libraries are combined into libc.a.
6434
6435Tue Feb 13 06:32:07 1996 Doug Evans <dje@charmed.cygnus.com>
6436
6437 * libc/sys/sparclite/{Makefile.in,crt0.s}: Deleted.
6438 crt0.s replaced by version in libgloss.
6439
6440Mon Feb 5 15:17:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
6441
6442 * libc/reent/Makefile.in (OFILES): Add impure.o.
6443 * libc/reent/impure.o: New file, define initial reentrancy struct.
6444 * libc/reent/reent.c: Remove above definition.
6445
6446 * libm/math/sf_asinh.c: Fix typo.
6447
6448 * Makefile.in (MATHOBJS_IN_LIBC): Removed sr_ldexp.o and
6449 srf_ldexp.o.
6450
6451 * libm/libm.texinfo: Change documentation to reflect changes
6452 in reentrancy model.
6453 * libm/math/w_gamma.c: Likewise.
6454
6455Wed Jan 31 18:49:45 1996 Steve Chamberlain <sac@slash.cygnus.com>
6456
6457 * configure.in (*-*-cygwin32): New.
6458 (*-*-win32): Deleted.
6459 * libc/sys/win32 renamed libc/sys/cygwin32.
6460
6461Tue Jan 30 22:09:03 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6462
6463 * libc/include/sys/file.h: New include file.
6464
6465Fri Jan 26 15:52:54 1996 Steve Chamberlain <sac@slash.cygnus.com>
6466
6467 * libc/include/machine/setjmp.h: Increase size of PPC jmp_buf.
6468
6469Tue Jan 23 17:49:16 1996 Steve Chamberlain <sac@slash.cygnus.com>
6470
6471 * libc/include/sys/wait.h (WIFSIGNALED): Fix.
6472
6473Tue Jan 16 09:28:10 1996 Michael Meissner <meissner@tiktok.cygnus.com>
6474
6475 * doc/makedoc.c (realloc): Declare at file scope.
6476 (catchar): Not here.
6477
6478Wed Dec 27 15:45:23 1995 Doug Evans <dje@canuck.cygnus.com>
6479
6480 * Makefile.in (VERSION): Update to 1.7.0.
6481 * {libc,libm}/Makefile.in (VERSION): Likewise.
6482 * configure.in: Minor clean up of multilib stuff.
6483
6484 From David Johnson <davidj@ICSI.Berkeley.EDU>
6485 * {libc,libm}/Makefile.in (lib[cm].a): Delete library first.
6486
6487 * libc/stdlib/environ.c: New file.
6488 * libc/stdlib/Makefile.in (OFILES): Build it.
6489 * libc/sys/h8500hms/crt0.c (environ): Deleted.
6490 * libc/sys/m88kbug/crt0.c (environ): Deleted.
6491 * libc/sys/z8ksim/crt0.c (environ): Deleted.
6492 * libc/sys/netware/environ.c: Deleted.
6493
6494Tue Dec 19 15:24:46 1995 Kim Knuttila <krk@cygnus.com>
6495
6496 * configure.in (links): set sys_dir, posix_dir, syscall_dir
6497
6498Wed Dec 13 04:16:25 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6499
6500 * doc/makedoc.c (init_string_with_size,nextword): Move malloc
6501 declaration out to external scope and declare it PTR, not char *.
6502
6503Mon Dec 11 17:35:12 1995 steve chamberlain <sac@slash.cygnus.com>
6504
6505 * libc/include/sys/unistd.h (getpagesize): New declaration.
6506 (_SC_PAGESIZE): New definition.
6507 * libc/include/time.h (CLK_TCK): Defined as CLOCKS_PER_SEC.
6508 * libc/configure.in (i[345]86-*-win32): Remove -DNO_FORK.
6509
6510Fri Dec 1 16:48:46 1995 James G. Smith <jsmith@cygnus.co.uk>
6511
6512 * libc/sys/vr4300/syscalls.c (sbrk): Fixed memory
6513 addressing. System call returns size, not (last address + 1).
6514
6515Thu Nov 30 15:05:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6516
6517 * libm/math/*.c: Removed _foo_r() reentrancy API.
6518 * libc/include/math.h: Removed _foo_r prototypes and macros.
6519
6520 * libm/math/*.c: On systems with IEEE single precision "doubles"
6521 move foo() -> foof() wrapper code from the files that implement
6522 the standard IEEE double precision functions to the files that
6523 implement IEEE single precision functions. (ie. On those systems
6524 sin is moved from s_sin.c to sf_sin.c). There should eventually
6525 be use of a C extension (like gcc's alias attribute) so that the
6526 wrappers are not needed at all.
6527
6528 * libc/sys/sysnec810/sbrk.c: Cast &end to char * to get around
6529 strict NEC V810 compiler.
6530 * libc/misc/dprintf.c (getnumber): Cast char * to unsigned char *
6531 for same reason.
6532
6533Wed Nov 29 14:25:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6534
6535 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
6536 from NetBSD C library.
6537 * libc/stdlib/strtoul.c (_strtoul_r): Likewise.
6538
6539 * libc/stdlib/assert.c (__assert): Renamed from __assertfail
6540 and adapted from implementation I wrote for NetBSD C library.
6541 The difference is __assert doesn't take a format argument,
6542 so that there won't be multiple copies of the same string
6543 constant in the executable if assertions are enabled in
6544 more than one source module.
6545 * libc/include/assert.h (assert): Changed to call __assert.
6546
6547Tue Nov 28 16:54:26 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6548
6549 * libc/stdlib/strtod.c (_strtod_r): Changed to not assign to
6550 word1 on systems with 32 bit doubles.
6551 * libc/stdlib/qsort.c (qsort): Cast some void *'s to char *'s
6552 so that we can do arithmetic on them.
6553 * libc/misc/dprintf.c: Changed to support stdarg.h for ANSI
6554 compilers.
6555
6556Tue Nov 28 16:03:32 1995 Doug Evans <dje@canuck.cygnus.com>
6557
6558 * libc/sys/arm/crt0.S: Zero bss.
6559
6560Fri Nov 24 16:09:23 1995 Doug Evans <dje@deneb.cygnus.com>
6561
6562 * libc/include/unctrl.h: New file.
6563 * libc/misc/{Makefile.in,dprintf.c,unctrl.c,misc.tex}: New files.
6564 * configure.in (subdirs): Add libc/misc.
6565 * libc/Makefile.in (SUBDIRS): Add misc.
6566 (SUBLIBS): Add misc/lib.a.
6567
6568 * libc/include/sys/reent.h (struct _reent): Make __sf last member.
6569
6570Wed Nov 22 19:49:47 1995 Doug Evans <dje@deneb.cygnus.com>
6571
6572 * libc/stdio/vfprintf.c (__sbprintf): Init fake._data.
6573 (_vfprintf_r): Call CHECK_INIT.
6574
6575Tue Nov 14 02:52:12 1995 Doug Evans <dje@canuck.cygnus.com>
6576
6577 * Makefile.in (MULTITOP): Delete.
6578 (MULTISRCTOP, MULTIBUILDTOP): Add.
6579 * configure.in: Delete call to cfg-ml-com.in. Call config-ml.in
6580 instead of cfg-ml-pos.in.
6581
6582Wed Nov 8 01:24:08 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6583
6584 * libc/sys/vr4300/syscalls.c: Added clean version of sbrk().
6585 * libc/sys/vr4300/crt0.S: Cleaned up. Added check for FPU
6586 presence.
6587
6588Thu Nov 2 22:25:06 1995 Michael Meissner <meissner@tiktok.cygnus.com>
6589
6590 * libc/string/strtok.c: Include string.h to pick up strtok_r
6591 prototype.
6592
6593Wed Nov 1 18:54:11 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6594
6595 * libc/string/strtok.c: include <_ansi.h>.
6596 * libc/time/asctime_r.c: `reresult' -> `result'.
6597
6598Wed Nov 1 14:35:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6599
6600 * libc/time/{ctime.c, gmtime.c, lcltime.c}: Wrap functions
6601 in #ifndef _REENT_ONLY ... #endif conditional.
6602
6603 * libc/include/string.h (_strtok_r): Remove declaration.
6604 * libc/include/time.h (_asctime_r): Remove declaration.
6605 * libc/string/strtok.c (_strtok_r): Removed.
6606 * libc/time/asctime.c (_asctime_r): Removed.
6607
6608 * libc/string/Makefile.in (OFILES): Add new object.
6609 * libc/string/strtok_r.c: New file. strtok_r function as
6610 specified by POSIX.1c, adapted from strtok implementation
6611 from NetBSD C library.
6612 * libc/string/strtok.c (strtok): Reimplemented in terms of
6613 strtok_r.
6614
6615 * libc/time/Makefile.in (OFILES): Add new objects.
6616 * libc/time/{asctime_r.c, ctime_r.c, gmtime_r.c, lcltime_r.c}:
6617 New files, reentrant time functions specified by POSIX.1c.
6618 * libc/time/{asctime.c, ctime.c, gmtime.c, lcltime.c}: Non-
6619 reentrant time functions re-written in terms of reentrant
6620 functions.
6621 * libc/time/lcltime.c: Renamed from localtime.c
6622
6623 * libc/include/time.h: Add prototypes for asctime_r, ctime_r,
6624 gmtime_r, and localtime_r.
6625
6626Sat Oct 28 14:34:31 1995 steve chamberlain <sac@slash.cygnus.com>
6627
6628 * libc/sys/win32/crt0.c (mainCRTStartup): Call cygwin_crt0.
6629 * libc/include/sys/unistd.h (getlogin): Revert change of
6630 Oct 19.
6631 * libc/include/sys/signal.h (sigprocmask): Change prototype
6632 so it compiles with c++.
6633
6634Wed Oct 25 15:43:18 1995 Michael Meissner <meissner@cygnus.com>
6635
6636 * libc/include/machine/setjmp.h (PowerPC _JBLEN): Consider it a
6637 PowerPC if __PPC__ is defined. Bump jump_buf length to 62 ints,
6638 to give some room in case we need to align the jmp_buf.
6639
6640 * libc/machine/powerpc/setjmp.S (setjmp, longjmp): Rewrite to use
6641 the new ppc-asm.h include file the compiler provides to specify
6642 function prologue/epilogue. Eliminate saves of the xer and ctr
6643 registers, which are volatile. Before starting to save registers,
6644 align to 8 byte boundary.
6645
6646Mon Oct 23 11:20:51 1995 James G. Smith <jsmith@pasanda.cygnus.co.uk>
6647
6648 * libc/sys/vr4300/syscalls.c: Added empty kill() function,
6649 referenced by standard libraries.
6650
6651Thu Oct 19 21:39:47 1995 Fred Fish <fnf@cygnus.com>
6652
6653 * libc/unix/Makefile.in, libc/string/Makefile.in,
6654 libc/stdio/Makefile.in, libc/reent/Makefile.in,
6655 libc/posix/Makefile.in:
6656 Remove tabs from otherwise empty line. Confuses some
6657 older non-GNU versions of "make".
6658
6659Thu Oct 19 16:32:17 1995 steve chamberlain <sac@slash.cygnus.com>
6660
6661 * libc/sys/unistd.h (getlogin): Returns const char *.
6662
6663Wed Oct 18 12:57:50 1995 steve chamberlain <sac@slash.cygnus.com>
6664
6665 * libc/include/fcntl.h (O_BINARY, O_TEXT): New.
6666 * libc/include/errno.h: Moved into and include...
6667 * libc/include/sys/errno.h: New file.
6668 * libc/include/sys/wait.h: New file.
6669 * libc/stdio/rename.c (_rename_r): Use _rename system call if available.
6670 * libc/sys/win32/*: Moved out.
6671 * libc/sys/win32/crt0.c: Rewritten to cope with shared library.
6672 * configure.in (i[345]86-*-win32): HAVE_RENAME
6673
6674Wed Oct 18 09:58:27 1995 Brendan Kehoe <brendan@lisa.cygnus.com>
6675
6676 * libc/unix/sigset.c (sigemptyset, sigaddset): Prefix #undef to
6677 avoid macro expansion for these two names.
6678
6679Tue Oct 17 08:45:33 1995 Doug Evans <dje@canuck.cygnus.com>
6680
6681 * libc/machine/h8500/psi.S: r6 renamed to fp.
6682
6683Sun Oct 15 12:58:10 1995 Michael Meissner <meissner@wogglebug.tiac.net>
6684
6685 * configure.in (powerpc*): No longer need to define
6686 NO_LONGLONG_POINTERS to supress warnings.
6687
6688Sat Oct 14 12:55:08 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6689
6690 * libc/reent/reent.c (_reclaim_reent): Call cleanup indirectly
6691 through PTR instead of directly.
6692
6693 * libc/sys/sh/crt0.S: Clean up formatting. Delete unused
6694 non-standard constructor support.
6695
6696Thu Oct 12 11:39:42 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6697
6698 * libc/stdlib/dtoa.c (_dtoa_r): Set result pointer to the
6699 address of the Bigint instead of the address of its _x field,
6700 as the size the result buffer was calculated accordingly.
6701 Fix from Jim Wilson <wilson@chestnut@cygnus.com>.
6702
6703 * libc/stdlib/{div.c, ldiv.c}: Replaced with implementation
6704 from NetBSD C library. No longer special cases division by
6705 zero (which needs to be done by the application anyway), but
6706 it doesn't need to call abs() (or labs()) four times either.
6707
6708 * libc/stdlib/qsort.c: Replaced with implementation from
6709 NetBSD C library.
6710
6711Tue Oct 10 14:01:10 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6712
6713 * libc/stdio/vfprintf.c: Replaced with implementation from
6714 NetBSD C library (which is derived from the 4.4BSD C library).
6715 * libc/stdio/cvt.c: Removed.
6716 * libc/stdio/Makefile: Updated.
6717
6718Tue Oct 10 12:15:23 1995 steve chamberlain <sac@slash.cygnus.com>
6719
6720 * libc/sys/win32/syscalls.c (rename): New.
6721 * libc/sys/win32/include/winkernel.h (MoveFileExA): New.
6722
6723Fri Oct 6 12:18:43 1995 Jim Wilson <wilson@chestnut.cygnus.com>
6724
6725 * libc/machine/sh/Makefile.in (setjmp.o): Depend on setjmp.S.
6726 * libc/machine/sh/setjmp.S: Rename from setjmp.s.
6727
6728 * libc/sys/sh/Makefile.in (OFILES, all): Delete setjmp.o.
6729 (setjmp.o): Delete rule to build setjmp.o.
6730 * libc/sys/sh/setjmp.S: Delete file.
6731
6732Fri Oct 6 11:19:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6733
6734 * libc/stdlib/mprec.c (d2b): Added support for _DOUBLE_IS_32BITS.
6735 * libc/stdlib/mprec.h: Fixed constants used for IEEE single float
6736 format. Added #defines to map d2b, i2b, low0bits, lshift, mult,
6737 pow5mult and s2b to identifiers with leading underscores.
6738 * libc/stdlib/Makefile.in: Add mprec.h as a dependency to dtoa.o,
6739 ecvtbuf.o, mprec.o and strtod.o. Sort dependencies.
6740
6741Thu Oct 5 17:27:30 1995 steve chamberlain <sac@slash.cygnus.com>
6742
6743 * libc/sys/posix/popen.c (sys/types.h): Include.
6744
6745Thu Oct 5 16:33:01 1995 Doug Evans <dje@canuck.cygnus.com>
6746
6747 * libc/sys/win32/syscalls.h (fhandler): New struct.
6748 (__lookup_fhandler, __lookup_fhandler_hook): Declare.
6749 (__fhandler_normal): Declare.
6750 (hinfo): New member op_handlers.
6751 * libc/sys/win32/syscalls.c (__read): Don't validate fd.
6752 (__write): Likewise.
6753 (_read, _write, _open, _close, _lseek): Validate fd here.
6754 Move file type specific stuff to foo_normal.
6755 (read_normal, write_normal, open_normal, close_normal, lseek_normal):
6756 New functions.
6757 (__lookup_fhandler): New function.
6758 (__lookup_fhandler_hook, __fhandler_normal): New variables.
6759
6760 From anders.blomdell@control.lth.se (Anders Blomdell)
6761 * libc/sys/win32/crt0.c (vfork_init): Unset __FD_TABLE__.
6762 Don't touch standard handles.
6763 * libc/sys/win32/spawn.c (_spawn): Use STARTF_USESTDHANDLES.
6764 (_execve): Only create __FD_TABLE__ if necessary.
6765 * libc/sys/win32/include/winkernel.h (STARTF_*): Define.
6766
6767Thu Oct 5 14:25:14 1995 steve chamberlain <sac@slash.cygnus.com>
6768
6769 * libc/sys/win32/sys/termios.h (FLUSHO): New.
6770 * libc/sys/win32/include/win*.h: Moved a load of prototypes around.
6771 * libc/sys/win32/pipe.c (_fctnl): Ignore F_SETFL without errors.
6772 * libc/sys/win32/exception.c (ehandler3): set strace when a signal
6773 without a handler is received.
6774 * libc/sys/win32/Makefile.in: Remove --nodelete.
6775 * libc/sys/win32/resouce.c (gettimeofday): New.
6776 * libc/sys/win32/syscalls.c (path_to_real_path): New.
6777 * libc/sys/win32/syscalls.h (include/wincon.h): Don't include.
6778
6779Wed Oct 4 13:10:35 1995 Doug Evans <dje@canuck.cygnus.com>
6780
6781 * libc/sys/win32/dirsearch.c (opendir): stat real path name.
6782 Don't append "/*" to search pattern if trailing '/' already there,
6783 append "*".
6784 * libc/sys/win32/spawn.c (_spawn): CreateProcess doesn't seem to
6785 like /'s, convert them to \'s. Handle //<drive>/ path names.
6786 Add space for quoted \'s in arg string. Print translated prog name
6787 and original prog name.
6788 (_execve): Handle parent doing exec a teensy bit better.
6789 * libc/sys/win32/syscalls.h (__path_to_real_path): Update prototype.
6790 * libc/sys/win32/syscalls.c (__path_to_real_path): Don't assume
6791 path needs conversion, handle both cases. Delete `const' from result.
6792 (hash_path_name): New function.
6793 (_open): Call it.
6794 (_stat): Likewise. Fill in more fields for directories.
6795 * libc/sys/win32/wait.c (_wait): Explicitly pass -1 to waitpid.
6796 (wait_for_any): Fix trace message.
6797 (waitpid): Explicitly test for intpid == 0.
6798
6799 From anders.blomdell@control.lth.se (Anders Blomdell)
6800 * libc/sys/win32/spawn.c (__vfork_get_empty_entry): zero fill result
6801 so `next' is valid.
6802
6803Sat Sep 30 15:00:15 1995 Jason Molenda (crash@phyeaux.cygnus.com)
6804
6805 * libc/sys/win32/spawn.c (_spawn): Make quoting rules more
6806 complicated.
6807
6808Sat Sep 30 10:25:57 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6809
6810 * libc/include/_ansi.h: set _HAVE_STDC if __STDC__ is defined
6811 at all, not just == 1.
6812 * libm/math/wf_acos.c (acosf): check for _HAVE_STDC, not __STDC__.
6813
6814Sat Sep 30 04:30:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6815
6816 * libc/sys/win32/include/winbase.h: include <wintypes.h> and <winnt.h>
6817 * libc/sys/win32/include/wintypes.h: include <winnt.h>
6818 * libc/sys/win32/include/winnt.h: avoid multiple inclusion of this
6819 file.
6820
6821Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6822
6823 * libc/sys/syscalls.c (getcwd): Fix off by one error.
6824
6825 * libc/sys/signal.c (sleep): Fill it in.
6826 * libc/sys/termios.c (tcflush): Use PurgeComm
6827 (tcsetattr): Set some more of the bits.
6828 * libc/sys/include/winkernel.h: Add PurgeComm and Sleep.
6829
6830Fri Sep 29 04:33:53 1995 Doug Evans <dje@deneb.cygnus.com>
6831
6832 * libc/sys/arm/crt0.S (fp): Initialize to 0.
6833 Conditionally include .idata$3 stuff ifdef __pe__.
6834
6835Fri Sep 29 01:49:17 1995 steve chamberlain <sac@slash.cygnus.com>
6836
6837 * libc/sys/win32/crt0.c (hmap_init): Call __init_hinfo.
6838 * libc/sys/win32/pipe.c (pipe): Ditto.
6839 * libc/sys/win32/syscalls.c (__read): Use new vtime and vmin fields.
6840 * libc/sys/win32/syscalls.h (hinfo): vtime, vmin are new.
6841 * libc/sys/win32/termios.c (tcsetattr): Init new fields.
6842 (tcgetattr): Contents are new.
6843 * libc/sys/win32/include/winkernel.h (DCB): New.
6844 (GetCommState, SetCommState): New.
6845
6846Thu Sep 28 16:29:09 1995 Doug Evans <dje@deneb.cygnus.com>
6847
6848 * libc/sys/arm/crt0.S (_start): Define.
6849
6850Thu Sep 28 12:26:45 1995 steve chamberlain <sac@slash.cygnus.com>
6851
6852 * libc/sys/arm/crt0.S: Move stack to top of RAM on PIE board.
6853 * libc/sys/arm/syscalls.c (_read, _write): Use the SWI properly.
6854
6855 * libc/sys/win32/sysconf.c: New
6856 * libc/sys/win32/sys/winadvapi.h: New
6857 * libc/sys/win32/syscalls.h (hinfo): Added timeout_len, w_binary, r_binary.
6858 * libc/sys/win32/crt0.c (hmap_init): Initialize new fields.
6859 * libc/sys/win32/pipe.c (pipe): Ditto.
6860 * libc/sys/win32/signal.c (_raise): New.
6861 (_kill): Moved from spawn.c
6862 * libc/sys/win32/spawn.c (kill): Moved to signal.c
6863 * libc/sys/win32/syscalls.c (__read): Use new fields.
6864 (_open): Ditto.
6865 * libc/sys/win32/termios.c (tcflush, tcsetattr, tcgetattr): Fill in.
6866 * libc/sys/win32/exceptions.c (__stack_trace): Keep going for longer.
6867 * libc/include/sys/unistd.h (rmdir): Takes const path.
6868 * libc/include/sys/stat.h (mkdir): Takes const path.
6869 * libc/include/sys/signal.h (SIGTTOU, SIGTTIN): New for win32.
6870
6871Thu Sep 28 10:11:27 1995 Doug Evans <dje@canuck.cygnus.com>
6872
6873 * libc/sys/win32/spawn.c (_spawn): Fix quoting.
6874
6875 Add support for specifying paths as //<drive>/foo/bar.
6876 * libc/sys/win32/syscalls.h (__path_needs_conversion_p): Declare.
6877 (__path_to_real_path): Declare.
6878 (PATH_TO_REAL_PATH): New macro.
6879 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): Minor cleanup.
6880 (__path_needs_conversion_p, __path_to_real_path): New functions.
6881 (_open): Fix test for error return from CreateFileA.
6882 Handle new path syntax.
6883 (_link, mkdir, rmdir, getcwd, chdir, stat): Handle new path syntax.
6884 * libc/sys/win32/dirsearch.c (opendir): Likewise.
6885
6886Wed Sep 27 16:36:46 1995 steve chamberlain <sac@slash.cygnus.com>
6887
6888 * libc/sys/win32/include/*.h: Reorganized
6889 * libc/sys/win32/include/WINREADME: New.
6890 * libc/sys/win32/Makefile.in (DLLS): Build version.a.
6891 * libc/sys/win32/*.c: Fix for new include scheme.
6892 * libc/sys/win32/crt0.c (__this_uinfo_buf, __this_uinfo): New.
6893 * libc/sys/win32/getlogin.c (getlogin): Use uinfo.
6894 * libc/sys/win32/passwd.c (*): Fix.
6895 * libc/sys/win32/syscalls.c (get[e|][g|u]id): Use passwd info.
6896 (_stat): Get directory owner and permissions right.
6897 * libc/sys/win32/syscalls.h (uinfo): New.
6898 * libc/sys/win32/version.def: Remove leading underscores.
6899
6900Tue Sep 26 18:18:47 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6901
6902 * libc/sys/win32/key.c: include "include/wincon.h".
6903
6904Tue Sep 26 07:21:48 1995 steve chamberlain <sac@slash.cygnus.com>
6905
6906 * libc/sys/win32/{key, stubs}.c: New.
6907 * libc/sys/win32/Makefile: Adjust to cope.
6908 * libc/sys/win32/crt0.c (vfork_init_first): Cope with -ve pids.
6909 (environ_init): Change env names to upper case.
6910 * libc/sys/win32/dirsearch.c (readdir): Don't fill in inode number.
6911 * libc/sys/win32/passwd.c (*): Fill in the functions.
6912 * libc/sys/win32/pipe.c (_fcntl): F_GETFL returns O_RDWR.
6913 * libc/sys/win32/spawn.c (_spawn): Cope with -ve pids.
6914 * libc/sys/win32/syscalls.c (__win32_pid_to_posix_pid): New function.
6915 (_open): Initialze hmap->execable_p too.
6916 * libc/sys/win32/syscalls.c (getuid, getgid, geteuid, getegid): Return from macros.
6917 (_fstat): Fill in permissions.
6918 * libc/sys/win32/syscalls.h (hinfo): Add execable_p.
6919
6920Fri Sep 22 13:47:27 1995 Doug Evans <dje@canuck.cygnus.com>
6921
6922 * configure.in (cfg-ml-com.in invocation): Use ${with_multilib_top}
6923 if defined.
6924 (cfg-ml-pos.in invocation): Likewise.
6925
6926Fri Sep 22 11:43:44 1995 J.T. Conklin <jtc@rtl.cygnus.com>
6927
6928 * Makefile.in (MATHOBJS_IN_LIBC): Added s_isinf.o, sf_isinf.o,
6929 s_isnan.o and sf_isnan.o.
6930
6931Wed Sep 20 14:50:19 1995 Ian Lance Taylor <ian@cygnus.com>
6932
6933 * All Makefile.in files: added maintainer-clean target as a
6934 synonym for realclean.
6935
6936Wed Sep 20 11:02:50 1995 Jeff Law (law@snake.cs.utah.edu)
6937
6938 * libc/include/machine/setjmp.h: Add hppa support.
6939 * libc/machine/hppa/setjmp.S: New file with setjmp/longjmp
6940 support.
6941 * libc/machine/hppa/Makefile.in: Related changes.
6942
6943Tue Sep 19 12:09:01 1995 J.T. Conklin <jtc@blues.cygnus.com>
6944
6945 * configure.in (machine_dir): Don't set for v810-*-*.
6946
6947Fri Sep 15 20:22:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6948
6949 * libc/sys/win32/crt0.c (passover): Change to handle MKS quoting
6950 conventions correctly.
6951
6952Thu Sep 14 13:37:22 1995 J.T. Conklin <jtc@blues.cygnus.com>
6953
6954 * libc/stdio/puts.c: Update documentation of return value to match
6955 ANSI standard.
6956
6957Thu Sep 14 01:52:37 1995 Doug Evans <dje@canuck.cygnus.com>
6958
6959 Fix file descriptor inheritance.
6960 * libc/sys/win32/syscalls.h (CHILD_P): Define again.
6961 (NOT_OPEN_FD): Fix.
6962 * libc/sys/win32/spawn.c (vfork0): Only create inheritable handle if
6963 close-on-exec flag not set. Initialize child's entire fd table.
6964 * libc/sys/win32/syscalls.c (_open): Only create inheritable handle if
6965 CHILD_P.
6966 * libc/sys/win32/pipe.c (pipe): Only create new handle as inheritable
6967 if CHILD_P. Initialize entire hmap entry.
6968 (dup): Only create new handle as inheritable if CHILD_P.
6969 (dup2): Likewise. Properly initialize hmap entry.
6970
6971 * libc/sys/win32/spawn.c (_execve): Don't pass _P_SEARCH_PATH to
6972 _spawn.
6973 (_exit): Use CHILD_P.
6974 * libc/sys/win32/syscalls.c (_fstat): Fix call to memset.
6975 (_stat): Likewise.
6976
6977Mon Sep 11 23:09:39 1995 Jason Molenda (crash@phydeaux.cygnus.com)
6978
6979 * libc/sys/win32/crt0.c (passover): fix up the state table.
6980 * libc/posix/popen.c: Added.
6981 * libc/posix/Makefile.in: compile popen.c.
6982
6983Mon Sep 11 11:43:38 1995 J.T. Conklin <jtc@cygnus.com>
6984
6985 * libc/include/machine/ieeefp.h: On the h8/300, h8/300h and
6986 h8/500 define _DOUBLE_IS_32BITS.
6987
6988Sat Sep 9 17:55:54 1995 Doug Evans <dje@canuck.cygnus.com>
6989
6990 Get vfork/exec/spawn/cwait/wait working again.
6991 * libc/sys/win32/syscalls.h (VFORK_NEWBORN_PSEUDO_PID): Define.
6992 (procinfo): New member vfork_level.
6993 * libc/sys/win32/crt0.c (__vfork_next_pid): Delete.
6994 (vfork_init_first): Use GetCurrentProcessId to get pid.
6995 Initialize vfork_level.
6996 (vfork_init): Delete __PID__.
6997 (environ_init): New function. Undo patch of Aug 19, Posix says
6998 environment variables are case sensitive.
6999 (mainCRTStartup): Call it.
7000 * libc/sys/win32/spawn.c (__vfork_next_pid): Delete.
7001 (my_longjump: Make static.
7002 (_spawn): New argument `h'. Delete setting of __PID__.
7003 Delete local `idx'. Look for chars that need quotes, rather than
7004 ones that don't. Set handle of created process in `h'.
7005 Result is process id if created task.
7006 (allocate_spawn_entry): New function.
7007 (spawnvp, spawnv): Call it. Store handle and pid in procinfo entry.
7008 (_execve): Set __FD_TABLE__ before spawning child.
7009 Scan our fd table when passing fds, not our parent's.
7010 Store handle and pid in procinfo entry.
7011 (vfork0): Ensure strace message always printed.
7012 Set child pid to VFORK_NEWBORN_PSEUDO_PID.
7013 (vfork): Don't clobber result of vfork0.
7014 * libc/sys/win32/wait.c (cwait): Fix non-error result (is pid).
7015 (wait_for_any): Ignore processes in state FORK_STATE_VFORK_0.
7016
7017 * libc/sys/win32/syscalls.h (procinfo): New members `handle_valid_p'
7018 and `exit_code'.
7019 * libc/sys/win32/spawn.c (allocate_spawn_entry): Initialize them.
7020 (vfork0): Likewise. Distinguish children, grandchildren, etc. by
7021 adding vfork level to pseudo-pid.
7022 (vfork1): If not root, set state back to FORK_STATE_VFORK_0.
7023 (spawnvp, spawnv, _execve): Set handle_valid_p if success.
7024 (_exit): If child, set exit code.
7025 (__vfork_record_death): Only close process handle if valid.
7026 * libc/sys/win32/wait.c (wait_for_single): Watch for children that
7027 didn't exec.
7028 (wait_for_any): Likewise. Start scan after root entry.
7029
7030Fri Sep 8 18:48:02 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7031
7032 * libc/include/sys/types.h (off_t): off_t back to 32 bits.
7033 * libc/include/sys/_types.h (_off_t): _off_t back to 32 bits.
7034 * libc/sys/win32/syscalls.c (_fstat): st_size is lower 32-bits
7035 of actual file length.
7036
7037 * libc/sys/win32/sys/wait.h: include <sys/types.h>.
7038 * libc/include/paths.h: _PATH_BSHELL added.
7039 * libc/include/sys/unistd.h: define STDIN_FILENO, STDOUT_FILENO,
7040 and STDERR_FILENO.
7041
7042Thu Sep 7 21:02:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7043
7044 * libc/include/ar.h: Added.
7045 * libc/include/sys/types.h: ino_t goes back to 32-bits.
7046 * libc/sys/win32/syscalls.h (hinfo): added .namehash field.
7047 * libc/sys/win32/syscalls.c (_open): compute .namehash based
7048 on filename.
7049 (_fstat): use .namehash for inode number of the fd.
7050
7051Thu Sep 7 12:57:19 1995 steve chamberlain <sac@slash.cygnus.com>
7052
7053 * libc/sys/win32/{console,ioctl,pipe,spawn,syscalls,wait}.? (*):
7054 Change hinfo to __this_procinfo.
7055 * libc/sys/win32/crt0.c: Remove procinfo_list.
7056
7057Wed Sep 6 18:38:26 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7058
7059 * libc/include/sys/types.h (ino_t): Define ino_t correctly for
7060 win32 environment.
7061
7062Wed Sep 6 18:09:29 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7063
7064 * libc/sys/win32/include/grp.h: Removed.
7065 * libc/sys/include/grp.h: Added.
7066 * libc/sys/win32/grp.c: Include <grp.h>.
7067
7068Wed Sep 6 16:52:48 1995 steve chamberlain <sac@slash.cygnus.com>
7069
7070 * libc/include/sys/signal.h (__need_MAX_SIGNALS): Removed.
7071 (sigset_t, sigaction, SIG_SETMASK, SIG_BLOCK, SIG_UNBLOCK):
7072 Defined for all but strict ANSI.
7073 * libc/include/sys/reent.h (__need_MAX_SIGNALS): Removed.
7074 * libc/include/machine/setjmp.h: Get win32 _JBLEN right.
7075 * libc/signal/signal.c (_signal_r): Changed from using
7076 _MAX_SIGNALS to NSIG.
7077 * libc/sys/win32/crt0.c (__current_pid, __parent_hmap, __child_hmap,
7078 __hmap): Deleted.
7079 (__strace, __vfork_next_pid): New.
7080 (__exe_suffix): Default to 1.
7081 (passover, table): Understand quoted arguments.
7082 (vfork_init_first): New.
7083 (vfork_init): Initialize new process structure.
7084 (mainCRTStartup): Pass environ to main.
7085 * exceptions.c (__sig_mask): New
7086 (ehandler3): Ignore signals in mask.
7087 (really_exit): Remove CHILD_P test.
7088 * pipe.c (pipe, dup, dup2): Use new process and file structure.
7089 * resource.c (getrusage): Ditto.
7090 * signal.c (sigprocmask): New.
7091 * spawn.c (*): Rewritten.
7092 * syscalls.c (*): Use new process and file structure.
7093 (find_unused_handle): New.
7094 * syscalls.h (MAX_HANDLES): Deleted.
7095 (hinfo): Removed child_created_p.
7096 (MAX_CHILDREN): Deleted.
7097 (vfork_jmp_info, procinfo): New.
7098 * wait.c (*): Mostly new.
7099 * sys/strace.h (_STRACE_PARANOID): New.
7100 * sys/param.h: New file.
7101
7102Wed Sep 6 17:03:53 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7103
7104 * libc/include/sys/stat.h: add S_BLKSIZE.
7105 * libc/include/sys/_types.h: _off_t is a 64-bit type under win32.
7106 * libc/include/sys/types.h: define off_t and ino_t to be 64 bit
7107 types under win32.
7108 (mode_t): add a #else to avoid multiple definitons.
7109
7110 * libc/sys/win32/Makefile.in: add grp.c.
7111 * libc/sys/win32/grp.c: include grp.h correctly.
7112 * libc/sys/win32/syscalls.c (_fstat): set almost all of the fields
7113 of the st structure with real information.
7114 * libc/sys/win32 (dirent): d_ino is of type ino_t.
7115
7116Wed Sep 6 10:41:34 1995 Doug Evans <dje@canuck.cygnus.com>
7117
7118 * libc/include/sys/types.h (mode_t): Correct for svr4 sparc's
7119 and (maybe) sparc64.
7120 (nlink_t): Provide typedef.
7121
7122Tue Sep 5 18:46:05 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7123
7124 * libc/sys/win32/grp.c: New file.
7125 * libc/sys/win32/include/grp.h: New file.
7126
7127Tue Sep 5 13:47:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7128
7129 * libc/include/machine/ieeefp.h: Added whitespace to make this
7130 file easier to maintain.
7131 On the sh, define either __IEEE_BIG_ENDIAN or __IEEE_LITTLE_ENDIAN
7132 depending on the value of __LITTLE_ENDIAN__.
7133 On the sh3e, define _DOUBLE_IS_32BITS.
7134
7135Fri Sep 1 15:35:18 1995 James G. Smith <jsmith@beauty.cygnus.com>
7136
7137 * libc/sys/vr4300/syscalls.c: Added missing support
7138 routines. _raise() and getpid().
7139
7140Fri Sep 1 14:12:48 1995 James G. Smith <jsmith@rtl.cygnus.com>
7141
7142 * configure.in (mips*vr4300*-*-elf): Fixed silly mistake
7143
7144Fri Sep 1 08:42:11 1995 James G. Smith <jsmith@beauty.cygnus.com>
7145
7146 * configure.in (mips*vr4300*-idt-*) Add support for RISQ monitor
7147 and VR4300 processor.
7148 * libc/sys/vr4300: Add directory.
7149 * libc/sys/vr4300/{Makefile.in, crt0.S, syscalls.c}: Add SIM
7150 monitor run-time support.
7151
7152Thu Aug 31 09:16:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7153
7154 * libc/stdlib/Makefile.in (CHEWOUT_FILES): Removed atol.def.
7155 * libc/stdlib/stdlib.tex: Don't include atol.def.
7156
7157Wed Aug 30 20:38:28 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7158
7159 * libc/sys/win32/uname.c (uname): hardcode processor as `i386'.
7160
7161Wed Aug 30 10:48:08 1995 steve chamberlain <sac@slash.cygnus.com>
7162
7163 * libc/ctype/Makefile.in: Fill in _to* dependencies.
7164
7165Tue Aug 29 17:14:29 1995 steve chamberlain <sac@slash.cygnus.com>
7166
7167 * libc/sys/win32/{dirsearch.c,sys/dirent.h}: Fix namespace problems.
7168 * libc/sys/win32/sys/dirent.h (struct dirent): Added d_ino.
7169 * libc/sys/win32/strace.c (__sys_printf): Increase size of buffer.
7170 * libc/sys/win32/smallprint.c (__small_vsprintf): Remove debug.
7171 * libc/sys/win32/dirsearch.c (readdir): Set d_ino.
7172
7173Tue Aug 29 19:00:09 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7174
7175 * libc/stdlib/atol.c (atol): DEFUN -> _DEFUN.
7176
7177Tue Aug 29 16:08:09 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7178
7179 * libc/stdlib/Makefile.in (OFILES): Added atoff.o and atol.o.
7180 * libc/stdlib/atoff.c: New file.
7181 * libc/stdlib/atof.c (atoff): Moved to atoff.c.
7182 * libc/stdlib/atoi.c (atol): Removed.
7183 * libc/stdlib/atol.c: Removed duplicate documentation.
7184
7185 * libc/include/ctype.h (_tolower, _toupper): Moved inside
7186 #ifndef _STRICT_ANSI conditional.
7187 * libc/ctype/Makefile.in (OFILES): Added _tolower.o and _toupper.o
7188 * libc/ctype/_tolower.c: New file.
7189 * libc/ctype/_toupper.c: New file.
7190 * libc/ctype/tolower.c (_tolower): Moved to _tolower.c.
7191 * libc/ctype/toupper.c (_toupper): Moved to _toupper.c.
7192 * libc/ctype/toascii.c (_toascii): Removed.
7193
7194Tue Aug 29 12:17:32 1995 Doug Evans <dje@canuck.cygnus.com>
7195
7196 * libc/sys/sparc64/sys/types.h: Deleted.
7197
7198Mon Aug 28 22:06:08 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7199
7200 * libc/sys/win32/uname.c (uname): change `Windows/NT' to `Windows_NT'
7201 and recognize Windows_95 systems.
7202
7203Mon Aug 28 19:50:54 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7204
7205 * libc/sys/win32/crt0.c (vfork_init, hmap_init): standard I/O fds
7206 and passed fds should be opened in text mode.
7207
7208Mon Aug 28 18:51:22 1995 Jason Molenda (crash@phydeaux.cygnus.com)
7209
7210 * libc/sys/win32/crt0.c (vfork_init): mark passed fds as used
7211 in __hmap, set to binary mode by default.
7212
7213Tue Aug 22 14:12:37 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7214
7215 * libc/sys/sh/syscalls.c: Updated all functions to call __trap34.
7216 * libc/sys/sh/trap.S (__trap34): Renamed from __trap3. Use trap
7217 vector 34.
7218
7219Sat Aug 19 18:25:37 1995 steve chamberlain <sac@slash.cygnus.com>
7220
7221 * Makefile.in (install): Install all libraries found in the
7222 top level. If there's a sys/<type>/include directory,
7223 install those headers into include.
7224
7225 * libc/sys/win32/kernel.def351: Delete
7226 * libc/sys/win32/{comctl32.def, comdlg32.def, ctl3d32.def,
7227 glaux.def, glu32.def, largeint.def, libc.def, libcmt.def,
7228 lz32.def, mgmtapi.def, mpr.def, msacm32.def, msvcrt.def,
7229 nddeapi.def, netapi32.def, odbc32.def, odbccp32.def, oldnames.def,
7230 ole32.def, oleaut32.def, opengl32.def, rasapi32.def, rpcndr.def,
7231 rpcns4.def, rpcrt4.def, scrnsave.def, shell32.def, snmp.def,
7232 uuid.def, vdmdbg.def, version.def, vfw32.def, win32spl.def,
7233 winmm.def, winspool.def, winstrm.def, wsock32.def}: New.
7234
7235 * libc/sys/win32/Makefile.in: Update for new files and new dlltool options.
7236 * libc/sys/win32/crt0.c: Force all env names to upper case.
7237 * libc/sys/win32/sys/win*.h -> libc/sys/win32/include
7238 * libc/sys/win32/*.c: Headers have moved.
7239 * libs/sys/win32/*.[ch]: Test for open_p rather than BAD_HANDLE,
7240 __vfork_child_idx is now __vfork_child_ptr.
7241
7242 * posix/execvp (execvp): Don't crash if no PATH envname.
7243
7244Fri Aug 18 12:22:59 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7245
7246 * libc/include/sys/reent.h (_Bigint): Removed _reclaim field.
7247 * libc/reent/reent.c (_reclaim_reent): Free Bigint's by going
7248 through the _freelist instead of through the _reclaim list.
7249 * libc/stdlib/mprec.c (_Balloc): Don't put new node on _reclaim list.
7250 * libc/stdlib/mprec.c (_Bcopy): Make like version in master dtoa.c
7251 sources.
7252
7253Thu Aug 17 11:03:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7254
7255 * libc/machine/h8500/setjmp.S: New file.
7256 * libc/include/machine/setjmp.h: Updated for H8/500.
7257
7258Wed Aug 16 16:19:11 1995 steve chamberlain <sac@slash.cygnus.com>
7259
7260 * libc/sys/win32/syscalls.c (_open): More stracing.
7261 (_stat): Open the file in O_BINARY.
7262
7263Wed Aug 16 15:49:01 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7264
7265 * libc/machine/h8300/setjmp.S: New file.
7266 * libc/include/machine/setjmp.h: Updated for H8/300 and H8/300H.
7267
7268Tue Aug 15 10:31:09 1995 Doug Evans <dje@canuck.cygnus.com>
7269
7270 * libc/sys/win32/crt0.c (__exe_suffix): New global.
7271 (mainCRTStartup): Set __exe_suffix from LIBC_EXE_SUFFIX.
7272 * libc/sys/win32/spawn.c (_spawn): Add .exe suffix based on
7273 __exe_suffix. Free fd_tab after setting env variable.
7274 (spawnv,_execve): Update.
7275 * libc/sys/win32/syscalls.h (__exe_suffix): Declare.
7276 * libc/sys/win32/smallprint.c (puts,putn): New (static) functions.
7277 (__small_vfprintf): New function.
7278 * libc/sys/win32/strace.c (__sys_printf): Call __small_vfprintf.
7279 * libc/sys/win32/wait.c (cwait): Validate argument.
7280
7281 * libc/sys/win32/syscalls.c (queue_file_deletion): Add trace message.
7282 (process_deletion_queue): Likewise.
7283
7284 * libc/sys/win32/Makefile.in (lib.a): Don't call $(RANLIB).
7285
7286Mon Aug 14 10:14:10 1995 steve chamberlain <sac@slash.cygnus.com>
7287
7288 * libc/sys/win32: Copyrights and gratuitous indenting.
7289
7290Mon Aug 14 01:32:58 1995 Doug Evans <dje@canuck.cygnus.com>
7291
7292 * libc/sys/win32/syscalls.c (queue_file_deletion): Finish.
7293 (process_deletion_queue): Likewise.
7294 (__close_all_files): New function.
7295 (_close): Only queue file deletion if really a file.
7296 * libc/sys/win32/spawn.c (_spawn): Only ensure .exe suffix if
7297 _P_APPEND_EXE.
7298 (_exit): Call __close_all_files.
7299
7300 * libc/stdlib/system.c: #include <errno.h>.
7301 (_system_r): Fix results in -DNO_EXEC case.
7302
7303 * libc/sys/win32/sys/dirent.h (DIR): New member __d_dirname.
7304 Reorganize structure.
7305 * libc/sys/win32/dirsearch.c (opendir): Use stat to determine
7306 if argument is valid. Save directory name in DIR. malloc space
7307 for dirent struct separately.
7308 * libc/sys/win32/syscalls.c (stat): Fix test for directory.
7309
7310 * libc/include/errno.h (ENAMETOOLONG): Define.
7311 * libc/string/strerror.c (strerror): Reword ENFILE.
7312 Add ENOSYS, ENMFILE, ENOTEMPTY, ENAMETOOLONG.
7313
7314Sun Aug 13 22:42:25 1995 Doug Evans <dje@canuck.cygnus.com>
7315
7316 * libc/sys/win32/crt0.c (__progname): New global.
7317 (mainCRTStartup): Support strace=bitmask,filename.
7318 * libc/sys/win32/dirsearch.c (all fns): Add trace messages.
7319 * libc/sys/win32/syscalls.c (_write): Print parent trace message
7320 if error.
7321 (getcwd): Handle len too small. Convert '\\' to '/'.
7322 * libc/sys/win32/sys/fcntl.h (O_RDWR): = O_RDONLY|O_WRONLY.
7323 Add prototypes for open, creat, fcntl.
7324 (O_APPEND): Change value to conform to Microsoft's value.
7325 * libc/sys/win32/sys/strace.h (_STRACE): Protect in do/while.
7326
7327 * libc/stdlib/getopt.c: New file.
7328 * libc/stdlib/Makefile.in: Build it.
7329
7330Sat Aug 12 12:17:14 1995 Doug Evans <dje@canuck.cygnus.com>
7331
7332 * libc/posix/execvp.c (execvp): Watch for DOS drives ifdef _WIN32.
7333 Fix scanning of $PATH.
7334 * libc/posix/exec*.c: Call _execve, not execve.
7335 * libc/posix/execve.c: New file.
7336 * libc/posix/Makefile.in (OFILES): Add execve.o.
7337
7338 * libc/sys/win32/sys/strace.h (_STRACE_ALL, _STRACE_UHOH,
7339 _STRACE_STARTUP, _STRACE_SYSCALL): More bit masks of things to trace.
7340 (_STRACE): If level==0, always print. Handle new bit mask scheme.
7341 * libc/sys/win32/crt0.c: Update _STRACE calls.
7342 * libc/sys/win32/{pipe.c,resource.c,spawn.c,syscalls.c,wait.c}: Ditto.
7343
7344 * libc/sys/win32/smallprint.c (rn): Fix digit list.
7345
7346 * libc/sys/win32/syscalls.c (__really_exit): Move from here,
7347 * libc/sys/win32/exceptions.c (really_exit): to here. Avoid recursion.
7348 * libc/sys/win32/spawn.c (spawnvp): Pass `prog' as image name.
7349 Print __seterrno trace message first.
7350 (_execve): Renamed from execve.
7351 (vfork): Update __strace usage.
7352 (__vfork_child_pid): Deleted.
7353 (__vfork_children, __vfork_child_idx): New globals.
7354 (_spawnvp): New function.
7355 (spawnvp, spawnv, _execve): Call _spawnvp.
7356 (init_child): Record child in __vfork_children.
7357 (__vfork_get_entry, __vfork_record_death): New functions.
7358 * libc/sys/win32/crt0.c (mainCRTStartup): Initialize __vfork_children.
7359 * libc/sys/win32/kernel32.def (WaitForMultipleObjects): Define.
7360 * libc/sys/win32/syscalls.h (CHILD_P): New macro. All files updated.
7361 (MAX_CHILDREN, CHILD_INTERIM_PID): Define.
7362 (children): New typedef.
7363 (__vfork_children,__vfork_child_idx): Declare.
7364 (__vfork_get_entry,__vfork_record_death): Declare.
7365 * libc/sys/win32/wait.c (wait_for_single,wait_for_any): New functions.
7366 (waitpid): Handle pid == -1.
7367 * libc/sys/win32/sys/wintypes.h (WaitForMultipleObjects): Declare.
7368 * configure.in (i386-win32): Add -DNO_FORK.
7369 * libc/syscalls/sysfork.c (fork): Don't define for NO_FORK.
7370 * libc/reent/execr.c (_fork_r): Likewise.
7371 * libc/stdlib/system.c (do_system): New function.
7372 If WIN32, try to get shell path from $SH_PATH, use vfork.
7373 (_system_r): Return 1 for (s == NULL) if WIN32 or unix,
7374 otherwise return 0.
7375
7376Sat Aug 12 11:08:00 1995 steve chamberlain <sac@slash.cygnus.com>
7377
7378 * libc/stdlib/{mallocr.c, mstats.c}: Move mstats from mallocr to mstats.c.
7379 * libc/sys/win32/fcntl.h: Don't include self.
7380 * libc/sys/win32/sys/strace.h (_STRACE_WM, _strace_wm): New.
7381 * libc/sys/win32/sys/winbase.h: (GetUserName) New.
7382 * libc/sys/win32/sys/wincon.h (HANDLER_ROUTINE): Define correctly.
7383 * libc/sys/win32/sys/wintypes.h (GetFileType, GetCurrentProcess, CloseHandle,
7384 SetFilePointer, CreateFileA, GetFileInformationByHandle, GetStdHandle):
7385 Correct prototypes.
7386 * libc/sys/win32/strace.c: New file.
7387 * libc/sys/win32/smallprint.c: New file.
7388 * libc/sys/win32/crt0.c (func): Delete.
7389 (mainCRTStartup): Fix alloca usage. Set handles explictly.
7390 * libc/sys/win32/dirsearch.c: Clean up handle usage, fix calls to __seterrno.
7391 * libc/sys/win32/exceptions.c: Lint.
7392 * libc/sys/win32/{ioctl.c, pipe.c, resource.c, spawn.c, cwait.c, syscalls.c}:
7393 Clean up handle usage.
7394 * libc/sys/win32/syscalls.c (__sys_printf): Moved into strace.c
7395 (open.c): Default file type is text.
7396 * libc/sys/win32/uname.c (uname): Use __small_sprintf.
7397 * libc/sys/win32/advapi32.def: New
7398
7399Fri Aug 11 17:11:52 1995 Doug Evans <dje@canuck.cygnus.com>
7400
7401 * configure.in (posix_dir, libc_posix_lib): New variables.
7402 Define LIBC_POSIX_LIB in makefile to be $libc_posix_lib.
7403 (i[345]86-*-win32): Define posix_dir.
7404 Delete -DNO_EXEC. Define -DHAVE_OPENDIR.
7405 (if unix_dir): Fix typo.
7406 * libc/posix/{Makefile.in,closedir,opendir,readdir,rewinddir,
7407 scandir,seekdir,telldir}: New files.
7408 * libc/posix/{execl.c,execle.c,execlp.c,execv.c,execvp.c}: Move here
7409 from libc/unix.
7410 * libc/Makefile.in (LIBC_POSIX_LIB): Define.
7411 (SUBDIRS): Add posix.
7412 (SUBLIBS): Add $(LIBC_POSIX_LIB).
7413
7414 * libc/include/sys/signal.h (SIGCHLD): Add for _WIN32.
7415 (NSIG): Increase to 21.
7416 * libc/include/sys/unistd.h (pid_t): Move from here,
7417 * libc/include/sys/types.h (pid_t): to here.
7418
7419 * libc/sys/win32/syscalls.h: #include "sys/strace.h".
7420 (__ptrace): Delete.
7421 (hinfo): New members close_exec_p, child_created_p.
7422 (struct exception_list): Define.
7423 (__hmap): Redefine as pointer to table.
7424 (__parent_hmap, __child_hmap): New globals.
7425 (__set_errno, __really_exit): Declare.
7426 (__vfork_child_pid): Declare.
7427 * libc/sys/win32/crt0.c (__strace, __trace_file): New global.
7428 (__orig_stdin, __orig_stdout, __orig_stderr): New globals.
7429 (__parent_hmap, __child_hmap): New globals.
7430 (__hmap): Redefine as pointer to active map.
7431 (__get_console): New function.
7432 (mainCRTStartup): Change leading '=' in environ vars to '!'.
7433 (env __FD_TABLE__): Watch for this and initialize our fd/handle
7434 mapping table from it if defined.
7435 (argv, envp): Dump if __strace >= 4.
7436 (main): Call here.
7437 * libc/sys/win32/exceptions.c (myp): Redefine.
7438 (__syscalls_b): Delete.
7439 (__stack_trace): New function.
7440 (ehandler3): Update to use _STRACE. Print stack trace.
7441 Call __really_exit instead of exit.
7442 (init_exceptions): Delete args argc,argv. New arg mine.
7443 * libc/sys/win32/kernel32.def (CreatePipe, DuplicateHandle, FindClose,
7444 FindFirstFileA, FindNextFileA, GetComputerNameA,
7445 GetEnvironmentVariableA, ReadFile, SetEnvironmentVariableA): Define.
7446 * libc/sys/win32/signal.c (signal): Validate arg.
7447 (alarm, sleep): Define as stubs for now.
7448 * libc/sys/win32/syscalls.c (all fns): Update to use _STRACE.
7449 (__syscalls_b, errno): Delete.
7450 (__vfork_child_pid, __vfork_jmp_buf): New globals.
7451 (__seterrno): Handle more errors.
7452 (__sys_printf): Renamed from _ptrace.
7453 (__really_exit): New function.
7454 (queue_file_deletion, process_deletion_queue): New functions.
7455 (__resume_parent): New function.
7456 (_unlink): Handle trying to delete open file.
7457 (__totime_t): Renamed from totime_t.
7458 (setsid, __read, __write): New functions.
7459 (cwait, spawnvp, R, D, getrusage, _execve, _fork, _wait): Delete.
7460 * libc/sys/win32/{dirsearch.c,getlogin.c,misc.c,resource.c,passwd.c,
7461 times.c,spawn.c,pipe.c,wait.c,termios.c,ioctl.c,uname.c}: New files.
7462 * libc/sys/win32/console.c: Update to new definition of __hmap.
7463 * libc/sys/win32/Makefile.in: Build new files.
7464 * libc/sys/win32/sys/{dirent.h,winerror.h,wait.h,termios.h}: New files.
7465 * libc/sys/win32/sys/{ioctl.h,utsname.h}: New files.
7466 * libc/sys/win32/sys/strace.h: Renamed from ptrace.h.
7467 * libc/sys/win32/sys/wintypes.h (GetCurrentDirectoryA): Fix prototype.
7468
7469Thu Aug 10 16:32:52 1995 Doug Evans <dje@canuck.cygnus.com>
7470
7471 * libc/sys/h8500hms/misc.c (kill): Handle SIGABRT.
7472
7473Thu Aug 10 12:07:38 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7474
7475 * libc/stdlib/{dtoa.c, strtod.c}: Merged assorted changes that
7476 have been made to the master dtoa.c sources (from netlib.att.com)
7477 since they were integrated into newlib in early 1992. Fixes
7478 problems with storage leaks and handling of numbers with very
7479 negative exponents.
7480
7481Wed Aug 9 14:18:39 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7482
7483 * Makefile.in (all): set rootpre and srcrootpre before calling
7484 sub-makes.
7485
7486Tue Aug 8 17:20:45 1995 steve chamberlain <sac@slash.cygnus.com>
7487
7488 * libc/sys/win32/crt0.c: Change __hmap usage.
7489 * libc/sys/win32/exceptions.c: Use _ptrace call.
7490 * libc/sys/win32/syscalls.c: Use _ptrace call.
7491 (read, write): Cope with DOS style CRLF when in TEXT mode.
7492 * libc/sys/win32/syscalls.h: Declare hinfo struct.
7493 * libc/sys/win32/user32.def: Get DefWindowProc arg list right.
7494 * libc/sys/win32/sys/fcntl.h, ptrace.h: New.
7495 * libc/sys/win32/sys/windows.h: Fill in rest of messages.
7496 * libc/sys/win32/sys/wintypes.h: Fix attribute syntax.
7497
7498Mon Aug 7 13:04:54 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7499
7500 * libc/include/math.h (cabs, cabsf, drem, dremf): New declarations.
7501
7502 * libm/math/{w_cabs.c, wf_cabs.c, w_drem.c, wf_drem.c}: New files,
7503 wrappers for hypot() and remainder() for BSD libm compatibility.
7504 These are public domain implementations written by me for the
7505 NetBSD libm some time ago. Note cabs() is required by ucbtest.
7506 * libm/math/Makefile.in (obj): Added w_cabs.o and w_drem.o.
7507 (fobj): Added wf_cabs.o and wf_drem.o.
7508
7509Thu Aug 3 08:13:05 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7510
7511 * libc/sys/h8500hms/misc.c: New file.
7512 * libc/sys/h8500hms/Makefile.in (OFILES): Add misc.o.
7513
7514Wed Aug 2 16:46:27 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7515
7516 * libc/time/localtime.c (localtime): Fix problem with leap year
7517 handling. Stole algorithm from Arthur David Olson's tz code.
7518
7519Mon Jul 31 10:21:54 1995 steve chamberlain <sac@slash.cygnus.com>
7520
7521 * configure.in: (z8k-*sim): Renamed z8k-*-coff.
7522
7523 * libc/sys/z8ksim/glue.c (_getpid, _kill): New
7524 (_exit): Use argument.
7525
7526Fri Jul 28 15:17:04 1995 Doug Evans <dje@canuck.cygnus.com>
7527
7528 * libc/sys/win32/sys/winbase.h (_WINBASE_H): Define.
7529
7530Wed Jul 26 16:24:19 1995 steve chamberlain <sac@slash.cygnus.com>
7531
7532 * libc/sys/sh/trap.S (perrno): Align correctly. (pr 7532)
7533
7534Mon Jul 24 13:42:52 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7535
7536 * configure.in (sparc*): Add -DMALLOC_ALIGNMENT=8 to
7537 target_cflags.
7538
7539Mon Jul 24 11:42:07 1995 steve chamberlain <sac@slash.cygnus.com>
7540
7541 * libc/sys/win32/crt0.c (mainCRTStartup): Look for
7542 ptrace with case insensitivity
7543 * libc/sys/win32/{user32.def, gdi32.def, exceptions.c, screen.c,
7544 sys/winbase.h, sys/windows.h, sys/wintypes.h, sys/winuser.h}:
7545 New files.
7546
7547Fri Jul 21 11:22:26 1995 Doug Evans <dje@canuck.cygnus.com>
7548
7549 * Makefile.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7550 (MULTITOP, MULTIDIRS, MULTISUBDIR, MULTIDO, MULTICLEAN): New variables.
7551 (all, install, *clean): Use new multilib support.
7552 * configure.in: Multilib support moved to ../cfg-ml-{com,pos}.in.
7553
7554Fri Jul 21 07:11:42 1995 steve chamberlain <sac@slash.cygnus.com>
7555
7556 * libc/include/sys/signal.h (__WIN32__): New.
7557
7558 * configure.in (i386-*-win32): Remobe SBRK_IS_ALLOC.
7559
7560 * libc/stdlib/mprec.c (Balloc): Fix trampling problem.
7561 (ulp, b2d): Handle 32 bit doubles.
7562 * libc/stdlib/mprec.h: Handle 32 bit doubles.
7563 * libc/stdlib/strtod.c (_strtod_r): Ditto.
7564
7565Fri Jul 14 08:24:58 1995 steve chamberlain <sac@slash.cygnus.com>
7566
7567 from medp@primag.co.uk:
7568 * libc/stdio/setvbuf.c (setvbuf): Fix line buffering on
7569 dynamically allocated buffers.
7570
7571Thu Jul 20 10:11:03 1995 Fred Fish <fnf@fishbowl>
7572
7573 * libc/include/sys/unistd.h (_exit): Add _ATTRIBUTE ((noreturn)).
7574 * libc/stdlib/exit.c (unistd.h): Include to pick up _exit() declaration.
7575
7576Thu Jul 20 10:16:25 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7577
7578 * configure.in (powerpc): Fix previous fix.
7579
7580Wed Jul 19 14:08:55 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7581
7582 * configure.in (powerpc-*eabiaix*): Update PowerPC multilib
7583 directories for this target.
7584
7585Wed Jul 19 00:34:30 1995 Jeffrey A. Law <law@rtl.cygnus.com>
7586
7587 * configure.in (hppa): Add machine_dir definition.
7588 * libc/machine/hppa: New directory with PA specific implementations
7589 of the basic memory/string functions.
7590
7591Tue Jul 18 21:16:00 1995 Michael Meissner <meissner@tiktok.cygnus.com>
7592
7593 * configure.in: Update current PowerPC multilib directories.
7594 Split big and little endian configurations.
7595
7596Tue Jul 18 11:55:33 1995 Ian Lance Taylor <ian@cygnus.com>
7597
7598 * configure.in: Add --enable-single-float option to configure to
7599 control use of MIPS single-float directories. Default to yes.
7600
7601 * Makefile.in (all): Don't recurse into multilib directory if it
7602 does not exist.
7603
7604Mon Jul 17 15:51:30 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7605
7606 * libc/sys/sh/syscalls.c: Fix typo.
7607
7608Mon Jul 3 14:38:52 1995 Steve Chamberlain <sac@slash.cygnus.com>
7609
7610 * Makefile.in, libc/Makefile.in, libc/sys/Makefile.in:
7611 Pass down DLLTOOL.
7612 * libc/include/process.h: Define WAIT_CHILD.
7613 * libc/include/types.h: Get sizes right for win32.
7614 * configure.in (i386-*-pe): Becomes i386-win32.
7615 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7616 wintypes.h,sys/file.h,sys/resource.h}: Second pass.
7617 * libc/stdlib/mallocr.c: Don't round up memory block if SBRK_IS_ALLOC
7618 is defined.
7619
7620Wed Jun 28 18:34:54 1995 Steve Chamberlain <sac@slash.cygnus.com>
7621
7622 * configure.in (i[345]86-*-pe): New target (NT).
7623 * host/any: DLLTOOL new.
7624 * libc/sys/win32/{crt0.c, kernel32.def, longjmp.c, setjmp.c, syscalls.c
7625 wintypes.h,sys/file.h,sys/resource.h}: Preliminary support for
7626 WIN32 (just enough to cross host the comp-tools).
7627
7628Thu Jun 22 11:45:18 1995 Doug Evans <dje@canuck.cygnus.com>
7629
7630 * libc/machine/h8300/{cmpsi.S,ucmpsi.S,divhi3.S,mulhi3.S,mulsi3.S}:
7631 Deleted. These files live in gcc/config/h8300/lib1funcs.asm now.
7632
7633Mon Jun 19 11:40:40 1995 Doug Evans <dje@canuck.cygnus.com>
7634
7635 * libc/include/machine/ieeefp.h (arm): Change to always be
7636 __IEEE_BIG_ENDIAN (even on little endian ARM's).
7637
7638Thu Jun 8 14:22:28 1995 Steve Chamberlain <sac@slash.cygnus.com>
7639
7640 * libc/sys/crt0.S: Initialze sp, and call exit after main.
7641 * libc/sys/syscalls.c (abort): New.
7642 * configure.in (arm): Define ABORT_PROVIDED.
7643
7644Wed Jun 7 14:04:35 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7645
7646 * configure.in (powerpc): Define multidirs.
7647
7648Mon Jun 5 16:10:13 1995 Doug Evans <dje@canuck.cygnus.com>
7649
7650 * libc/sys/arm/crt0.S: Add __USER_LABEL_PREFIX__ support.
7651
7652Thu Jun 1 10:51:47 1995 Sean Eric Fagan <sef@cygnus.com>
7653
7654 * configure.in (sparclite): Delete target_cflags. Define multidirs.
7655
7656Wed May 24 14:23:25 1995 Steve Chamberlain <sac@slash.cygnus.com>
7657
7658 * configure.in, libc/include/machine/ieeefp.h: Modified
7659 for arm:
7660 libc/machine/arm/*, libc/sys/arm/*: New
7661
7662Tue May 23 13:53:07 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7663
7664 * libc/include/machine/ieeefp.h: Use __PPC__ instead of
7665 __powerpc__ when determining endianness.
7666
7667Wed May 10 07:55:56 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7668
7669 * configure.in (m68*): Add multidir for the m68332.
7670
7671 * host/any (CC): Fix typo in last change.
7672
7673Fri Apr 14 22:20:31 1995 Ken Raeburn <raeburn@cujo.cygnus.com>
7674
7675 * libc/include/sys/config.h: Test __m68k__ instead of __m68000__
7676 when determining endianness.
7677 * libc/include/machine/ieeefp.h: Ditto.
7678 * libc/machine/m68k/setjmp.S: Use '&' instead of '#' for immediate
7679 operands.
7680
7681Fri Apr 14 14:14:29 1995 Doug Evans <dje@chestnut.cygnus.com>
7682
7683 * libc/include/errno.h (ENOTEMPTY): Define.
7684
7685Thu Apr 6 12:21:20 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7686
7687 * configure.in (sparc-sun-sunos*): Add -DMALLOC_ALIGNMENT=8 to
7688 target_cflags.
7689
7690 * libc/sys/sun4/Makefile.in (COPYOFILES): Added rem.o, multiply.o,
7691 and umultiply.o.
7692
7693 * libc/stdio/tmpnam.c (worker): Unconditionally increment count
7694 instead of only when open succeeds. ANSI requires that multiple
7695 calls to tmpnam() result in different files.
7696
7697 * libc/sys/sun4/Makefile.in (COPYRENAMEOFILES): New macro, list of
7698 objects pulled in from /lib/libc.a that must be renamed before
7699 being pulled into newlib. /lib/libc.a's div.o conflicted with
7700 newlib's file with the same name.
7701
7702 * libc/stdlib/ldiv.c (ldiv): Call labs() instead of abs().
7703
7704 * host/any (CC, AS, AR, RANLIB): Changed so that executables in
7705 the build tree will only be used if the executables are present
7706 (instead of just the Makefiles).
7707
7708 * libc/include/stdlib.h (mblen, mbtowc, wctomb, mbstowcs,
7709 wcstombs): Define.
7710 * libc/stdlib/{mblen.c, mbstowcs.c, wcstombs.c}: New files, null
7711 versions of these functions that I orignally wrote for the
7712 NetBSD C library.
7713 * libc/stdlib/{mbtowc.c, wctomb.c}: Replaced functions with
7714 versions I wrote for NetBSD.
7715
7716Wed Mar 29 12:42:42 1995 Kung Hsu <kung@mexican.cygnus.com>
7717
7718 * libc/sys/sparclite/Makefile.in: add crt0.s and make info.
7719 * libc/sys/sparclite/crt0.s: ditto.
7720
7721Tue Mar 28 20:28:03 1995 Rob Savoye <rob@rtl.cygnus.com>
7722
7723 * configure.in: Add soft-float for proelf.
7724
7725Mon Mar 27 12:07:56 1995 Steve Chamberlain <sac@bang.hack.com>
7726
7727 * libc/stdlib/mprec.h (Bcopy): Copy the right number
7728 of bytes.
7729
7730Mon Mar 27 11:24:22 1995 Doug Evans <dje@chestnut.cygnus.com>
7731
7732 * Makefile.in (all): Depend on `force'.
7733 * configure.in (syscall_dir): Renamed from fake_sys_dir.
7734 (libc_syscall_lib): Renamed from libc_fake_sys_lib.
7735 (LIBC_SYSCALL_LIB): Renamed from LIBC_FAKE_SYS_LIB.
7736 * libc/Makefile.in: Likewise.
7737 * libc/include/reent.h: Update syscall references.
7738 (_fcntl_r): Add prototype.
7739 * libc/syscalls/*.c #include <reent.h>.
7740 (*) Call reentrant version if REENTRANT_SYSCALLS_PROVIDED.
7741
7742Mon Mar 20 16:57:39 1995 Doug Evans <dje@deneb.cygnus.com>
7743
7744 * libc/include/sys/stat-dj.h (S_ISBLK): Define.
7745 (S_ISCHR, S_ISDIR, S_ISFIFO, S_ISREG): Define.
7746 * libc/include/sys/stat.h (stat-dj.h): Include ifdef MSDOS.
7747 (time.h, sys/types.h): Always include (even if MSDOS).
7748 (stat): Fix prototype.
7749
7750Fri Mar 10 11:30:38 1995 Ian Lance Taylor <ian@cygnus.com>
7751
7752 * configure.in (i[345]86-*-go32): Compile with -DNO_EXEC.
7753
7754Mon Feb 27 18:00:39 1995 Jim Wilson <wilson@chestnut.cygnus.com>
7755
7756 * libc/machine/h8500/psi.S (EXTPSIHI_RN_SN): Ifdef out.
7757
7758Mon Feb 13 16:10:03 1995 Ian Lance Taylor <ian@cygnus.com>
7759
7760 * libc/include/regdef.h: New file.
7761 * libc/machine/mips/machine/regdef.h: New file.
7762
7763Mon Feb 6 15:24:29 1995 Doug Evans <dje@canuck.cygnus.com>
7764
7765 * libc/sys/sparc64/sys/fcntl.h (open): Add ellipsis.
7766
7767Fri Jan 27 13:52:10 1995 Steve Chamberlain <sac@splat>
7768
7769 * libc/sys/sh/crt0.S: Pass main's return to exit.
7770 * libc/sys/sh/trap.S: Put errno in the right place.
7771
7772Tue Jan 24 18:57:56 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7773
7774 * libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Integrate change
7775 from fdlibm 5.2: handle |x| < 3pi/4 more efficiently.
7776 * libm/math/ef_rem_pio2.c: Likewise.
7777 * libm/math/e_log10.c: Remove unused static one.
7778 * libm/math/ef_log10.c: Likewise.
7779 * libm/math/s_frexp.c: Likewise.
7780 * libm/math/sf_frexp.c: Likewise.
7781
7782Sun Jan 22 21:26:14 1995 Steve Chamberlain <sac@splat>
7783
7784 * libc/sys/go32/Makefile.in, clock.S, dir.c, setjmp.S, stat.c,
7785 longjmp.S: Upgraded.
7786 * libc/sys/go32/sys/setjmp.h: Upgraded.
7787 * libc/sys/go32/sys/go32.h, dpmi.h: New files.
7788
7789Fri Jan 20 18:33:18 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7790
7791 * configure.in: Add many entries to multidirs for mips targets.
7792
7793Wed Jan 18 10:19:25 1995 J.T. Conklin <jtc@rtl.cygnus.com>
7794
7795 * libm/math/e_jn.c (__ieee754_yn): Integrate change from fdlibm
7796 5.2 which fixes bug where jn(-1,x) is three times larger than
7797 the actual answer.
7798 * libm/math/ef_jn.c (__ieee754_ynf): Likewise.
7799
7800Sun Jan 15 21:48:58 1995 Steve Chamberlain <sac@splat>
7801
7802 * libc/sys/w65/sys/syscalls.h: New file
7803 * libc/include/machine/ieeefp.h: W65 support.
7804 * libc/include/sys/config.h: Ditto.
7805 * libc/machine/w65/Makefile.in, cmpsi, divsi3, lshrhi.s, mulsi3.c,
7806 sdivhi3.s, smulhi3.s, udivhi3.s, umodhi3.s: New files.
7807 * libc/sys/w65/Makefile.in, crt0.c, syscalls.c, trap.c: New files.
7808
7809Wed Jan 11 15:59:01 1995 Ian Lance Taylor <ian@sanguine.cygnus.com>
7810
7811 * libc/sys/Makefile.in (lib.a, crt0.o): Depend upon subs.
7812
7813Tue Jan 3 15:57:03 1995 Rob Savoye <rob@darkstar.cygnus.com>
7814
7815 * Makefile.in, configure.in: Remove any references to the old
7816 "stub" dir.
7817
7818Thu Dec 22 10:42:08 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7819
7820 * libc/syscalls/sysopen.c: Write _HAVE_STDC version of open, which
7821 uses ... in prototype.
7822
7823
7824Wed Nov 30 08:39:42 1994 Ian Lance Taylor <ian@rtl.cygnus.com>
7825
7826 * libc/sys/a29khif/sys/libconfig.h: Remove.
7827 * libc/sys/go32/sys/libconfig.h: Remove.
7828 * libc/sys/sun4/sys/libconfig.h: Remove.
7829 * libc/sys/sysvi386/sys/libconfig.h: Remove.
7830 * libc/sys/sysvnecv70/sys/libconfig.h: Remove.
7831 * libc/sys/sparc64/sys/libconfig.h: Remove.
7832
7833 * libc/include/_ansi.h (_FLOAT_ARG, _FLOAT_RET): Don't define.
7834 * libc/include/sys/config.h (_FLOAT_ARG, _FLOAT_RET): Likewise.
7835 * libc/include/math.h: Change all uses of _FLOAT_RET and
7836 _FLOAT_ARG to float.
7837 * libm/test/math.c: Likewise.
7838 * testsuite/libm.sac/math.c: Likewise.
7839 * testsuite/libm.sac/working/math.c: Likewise.
7840
7841Wed Nov 23 22:39:28 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7842
7843 * libc/sys/sh/trap.s,crt0.s,setjmp.s: Renamed with .S so that
7844 gcc calls gas with endian option.
7845 * configure.in (sh): Build little endian version too.
7846
7847Wed Nov 16 18:21:45 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7848
7849 * configure.in: Configure big and little endian versions for MIPS
7850 targets.
7851
7852Sat Nov 12 21:12:51 1994 Doug Evans <dje@canuck.cygnus.com>
7853
7854 * libc/include/limits.h: Deleted.
7855 * libc/include/machine/limits.h: Deleted.
7856
7857Thu Nov 10 15:32:44 1994 Rob Savoye <rob@rtl.cygnus.com>
7858
7859 * ChangeLog: Remove stub directory. This has all been rewritten
7860 and moved to devo/libgloss.
7861
7862Thu Sep 29 18:31:04 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
7863
7864 * Makefile.in (dvi): Add to info target, use $@ in sub make.
7865 (docs): Merge into info target.
7866 * libm/Makefile.in (dvi): Add $(srcdir).
7867 * libm/math/Makefile.in (chobjs): Remove underscores from file
7868 names. Texinfo doesn't like them.
7869 (wacos.def, ...): Add explicit targets for all .def files.
7870 * libm/math/math.tex: Remove underscores from @include file names.
7871 * doc/Makefile.in (dvi): Add dummy target.
7872 * testsuite/Makefile.in (dvi): Add dummy target.
7873
7874Mon Sep 26 21:17:46 1994 Doug Evans (dje@canuck.cygnus.com)
7875
7876 * Makefile.in (VERSION): Define. For net newlib releases.
7877
7878Thu Sep 22 19:01:26 1994 Doug Evans (dje@canuck.cygnus.com)
7879
7880 * README: New file.
7881
7882Mon Sep 19 16:35:23 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7883
7884 * libc/stdlib/ecvtbuf.c (_gcvt): Undo last change.
7885
7886Mon Sep 19 11:44:23 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7887
7888 * libc/stdlib/setenv.c (_findenv): Declare.
7889
7890 * libc/include/sys/fcntl.h: Fix declarations of open, creat, and
7891 fcntl to not use _EXFUN, and change string parameters to open and
7892 creat to be ``const char *''.
7893 * libc/sys/sparc64/sys/fcntl.h: Likewise.
7894 * libc/sys/sparc64/creat.c (creat): Make PATH const.
7895 * libc/syscalls/sysopen.c: Include <fcntl.h>.
7896 (open) Make _FILE const.
7897 * libc/sys/z8ksim/glue.c (_open): Make BUF const.
7898 (_creat): Make PATH const.
7899 * libc/sys/h8300hms/syscalls.c (_open): Make PATH const.
7900 * libc/sys/h8500hms/syscalls.c (_open): Likewise.
7901 * libc/sys/m88kbug/syscalls.c (open): Likewise.
7902 * libc/sys/sh/syscalls.c (_open): Likewise.
7903 * stub/shared/glue.c (open): Make BUF const.
7904 * stub/ex93x/syscalls.c (open): Make FILENAME const.
7905
7906Thu Sep 8 16:39:12 1994 Steve Chamberlain (sac@jonny.cygnus.com)
7907
7908 * libc/include/errno.h: Add ENMFILE
7909 * libc/include/sys/config.h: Support Z8000.
7910 * libc/include/sys/signal.h: New signals for go32.
7911 * libc/machine/h8500/psi.S (__addpsir0r0): New function
7912 * libc/machine/h8500/cmpsi.S (__ucmppsi2): New function
7913 * libc/machine/sh/sdivsi3.s (__sdivsi3): Rewritten.
7914 * libc/stdlib/mallocr.c (_morecore_r): Minimum chunk
7915 size is variable, depending upon CHUNK_POWER.
7916 * libc/sys/go32/*.c: Upgrade to new go32 stuff.
7917
7918Sun Sep 4 17:42:43 1994 Jim Wilson (wilson@sphagnum.cygnus.com)
7919
7920 * libc/stdlib/ecvtbuf.c (_gcvt): Output '-' for negative numbers.
7921
7922Fri Sep 2 10:56:01 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7923
7924 * libc/include/_ansi.h (_PARAMS): Don't define if already defined.
7925
7926Wed Aug 24 11:11:03 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7927
7928 * configure.in: Change i[34]86 to i[345]86.
7929
7930 * libc/include/math.h: Don't define HUGE_VAL if it is already
7931 defined.
7932
7933Wed Aug 17 15:18:02 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7934
7935 * testsuite/libm.sac/test_erfc.c: Correct some result values.
7936 * testsuite/libm.sac/test_gammaf.c: Likewise.
7937 * testsuite/libm.sac/test_sin.c: Likewise.
7938 * testsuite/libm.sac/test_tanh.c: Likewise.
7939
7940Tue Aug 16 16:12:53 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7941
7942 * libc/include/machine/ieeefp.h: Don't try set endianness if it is
7943 already set. Define typedefs __int32_t and __uint32_t.
7944 * libc/include/math.h: Include <machine/ieeefp.h>.
7945 (union __dmath): Use __uint32_t.
7946 * libm/math/fdlibm.h, libm/math/*.c: Use __int32_t and __uint32_t
7947 instead of int and unsigned int.
7948
7949Thu Aug 11 15:16:09 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
7950
7951 Replace the math library with the SunPRO fdlibm package.
7952 * libm/math: Completely changed all files.
7953 * libm/ieeefp: Remove contents and directory.
7954 * libm/Makefile.in (LIBM_FP_LIB): Remove.
7955 (SUBDIRS): Just set to math/lib.a.
7956 * libm/libm.texinfo: Updated for new library.
7957 * libc/include/math.h: Extensive changes for new math library.
7958 * libc/include/ieeefp.h (isnanf, isinff, finitef): Change argument
7959 from _FLOAT_ARG to float.
7960 (maxpowtwo, maxpowtwof): Don't declare.
7961 * configure.in (fp_dir): Removed; was always ieeefp anyhow.
7962 (libm_fp_lib): Removed.
7963 * Makefile.in (MATHOBJS_IN_LIBC): Updated with new file names.
7964 * testsuite/libm.paranoia/Makefile.in (check): Correct --srcdir
7965 argument to ${RUNTEST}.
7966 * testsuite/libm.sac/Makefile.in (LOCAL_CFLAGS): Define.
7967 (.c.o): New rule.
7968 (RUNTESTFLAGS): Set CC and CFLAGS.
7969 (TESTS): Remove test_log2 and test_log2f.
7970 (${TESTS}): Pass ${LOCAL_CFLAGS}, not ${CFLAGS}.
7971 * testsuite/libm.sac/math.c (run_vector_1): Use float, not
7972 _FLOAT_ARG, for single precision argument type.
7973 * testsuite/libm.sac/sac.exp: Treat an error in bit 63 as an
7974 expected failure. Close the input pipe.
7975 * testsuite/libm.sac/test.c (test_sok, test_iok, test_scok):
7976 Correct misspelling of inaccurate.
7977 (test_mok): Use ``inaccurate'', not ``wrong''.
7978 * testsuite/libm.sac/{test_acos.c, test_acosh.c, test_asin.c,
7979 test_asinh.c, test_atan.c, test_atanh.c, test_ceil.c,
7980 test_ceilf.c, test_cos.c, test_cosh.c, test_erf.c, test_erf.c,
7981 test_fabs.c, test_floor.c, test_floorf.c, test_fmod.c,
7982 test_fmodf.c, test_gamma.c, test_log1p.c, test_log1pf.c,
7983 test_yn.c): Correct many result values. Many are still wrong.
7984
7985 * libc/stdlib/ecvtbuf.c (print_e): If _dtoa_r sets decpt to 9999,
7986 just copy the string.
7987 (_gcvt): Always return the buffer.
7988
7989Tue Aug 9 13:43:23 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
7990
7991 * bcopy.c: fixed documentation, bcopy was not specified by ANSI.
7992
7993Wed Aug 3 05:39:41 1994 D. V. Henkel-Wallace (gumby@cygnus.com)
7994
7995 * libc/include/sys/reent.h: (struct _Bigint): add _reclaim
7996 structure.
7997 (struct _reent): add _p5s, _cvtlen, _cvtbuf.
7998 (_reclaim_reent): declare new entry point.
7999 * libc/reent/reent.c (cleanup_glue, _reclaim_reent): new
8000 functions.
8001
8002 * libc/stdlib/mprec.c (Balloc): Keep track of every struct bigint
8003 ever allocated, so that we can later reclaim them all.
8004 (pow5mult): make reentrant.
8005
8006 * libc/stdlib/ecvtbuf.c (fcvtbuf, ecvtbuf): extend these functions
8007 so that when given NULL as a buffer, return a pointer to static
8008 space in the rent structure. This is not documented behaviour;
8009 it's only to support ecvt and fcvt, which aren't ANSI anyway.
8010 * libc/stdlib/efgcvt.c (fcvt, ecvt) Use new functionality (and
8011 therefore become reentrant).
8012
8013 * libc/stdlib/dtoastub.c: remove spurious inclusion of mprec.h.
8014
8015Mon Aug 1 16:52:24 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8016
8017 * libc/include/machine/ieeefp.h: Check _AM29K, not ___AM29K__.
8018
8019Thu Jul 28 15:40:21 1994 J.T. Conklin (jtc@phishhead.cygnus.com)
8020
8021 * Makefile.in: Make link to libg.a after libc.a; this is needed
8022 for the testsuites to build executables when everything comes
8023 from the tree.
8024
8025Mon Jun 27 17:14:29 1994 Bill Cox (bill@rtl.cygnus.com)
8026
8027 * libc/Makefile.in: Add a VERSION variable so we can keep track.
8028 * libm/Makefile.in: Add a VERSION variable so we can keep track.
8029
8030Wed Jun 22 10:26:00 1994 Ian Lance Taylor (ian@sanguine.cygnus.com)
8031
8032 * libc/include/stdio.h: Use __VALIST, not va_list.
8033
8034Tue May 17 15:43:28 1994 Bill Cox (bill@rtl.cygnus.com)
8035
8036 * testsuite/config/unix-libm.exp, testsuite/lib/libm.exp,
8037 testsuite/libm.sac/execute.exp:
8038 Replace error proc calls with perror calls.
8039
8040Wed May 11 09:25:28 1994 Doug Evans (dje@canuck.cygnus.com)
8041
8042 * libc/include/*.h: #include "_ansi.h" instead of <_ansi.h>.
8043 * libc/include/time.h: #define NULL as 0L.
8044
8045Mon May 9 18:41:20 1994 Doug Evans (dje@canuck.cygnus.com)
8046
8047 * host/any (INCLUDES): Delete -I of gcc/include, gcc -B takes
8048 care of it.
8049
8050Mon May 9 18:39:39 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8051
8052 * libc/include/sys/signal.h: Check for __GO32__, not __i386__ and
8053 not __unix__.
8054
8055Sat May 7 17:07:36 1994 Steve Chamberlain (sac@cygnus.com)
8056
8057 * configure.in (TARGET_CFLAGS): Set -O2 as default.
8058 (z8k-*-*): Use syscalls fake sys dir.
8059 * libc/sys/z8k/glue.c: Rename syscalls.
8060 * libc/sys/go32/Makefile.in: Use new routines.
8061 * libc/machine/Makefile.in: Fix typo in ln stuff.
8062
8063Thu May 5 13:47:48 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8064
8065 * Makefile.in (libm.a, crt0.o): Use cp if ln fails.
8066 * libc/Makefile.in (crt0.o): Likewise.
8067 * libc/machine/Makefile.in (lib.a): Likewise.
8068 * libc/sys/Makefile.in (lib.a, crt0.o): Likewise.
8069
8070 All Makefile.in files: Added mostlyclean, realclean and distclean
8071 targets.
8072
8073 * Makefile.in: Don't bother to unexport XTRAFLAGS or
8074 XTRAFLAGS_FOR_TARGET, since they are no longer passed down from
8075 the top level Makefile.
8076
8077Tue Apr 26 15:10:34 1994 Doug Evans (dje@canuck.cygnus.com)
8078
8079 * libc/sys/sparc64/sys/stat.h: New file.
8080 * libc/sys/sparc64/sys/time.h: New file.
8081 * libc/sys/sparc64/sys/types.h: New file.
8082
8083Fri Apr 22 12:58:24 1994 Stan Shebs (shebs@andros.cygnus.com)
8084
8085 * stub/ex93x/crt0.s (start): Add code to clear bss.
8086
8087Wed Apr 13 10:34:58 1994 Doug Evans (dje@canuck.cygnus.com)
8088
8089 * libc/include/sys/types.h (time_t): Properly protect inside
8090 #ifndef __time_t_defined.
8091
8092 * libc/stdio/fileno.c: New file.
8093 * libc/stdio/Makefile.in (OFILES, CHEWOUT_FILES): Add fileno.
8094 (fileno.o): Add dependency.
8095 * libc/include/stdio.h (__sgetc): Rename never to _never.
8096 (fileno macro): Disable, needs to do CHECK_INIT first.
8097
8098Mon Apr 11 17:37:09 1994 Bill Cox (bill@rtl.cygnus.com)
8099
8100 * testsuite/Makefile.in (EXPECT, RUNTEST): Set these for the check
8101 goal.
8102
8103 * testsuite/Makefile.in (check): Set TCL_LIBRARY for runtest.
8104 * testsuite/libm.paranoia/Makefile.in (check): Set TCL_LIBRARY for
8105 runtest.
8106 * testsuite/libm.sac/Makefile.in (check): Set TCL_LIBRARY for
8107 runtest.
8108
8109Sat Apr 9 16:18:09 1994 Doug Evans (dje@cygnus.com)
8110
8111 * libc/sys/sparc64/sys/fcntl.h: New file, define solaris versions
8112 of the various constants.
8113
8114Thu Apr 7 21:19:07 1994 Mark Eichin (eichin@cygnus.com)
8115
8116 * libc/include/math.h: #ifndef __math_68881 around things which
8117 conflict with the (gcc-provided) inline functions in
8118 gcc/ginclude/math-68881.h.
8119
8120Thu Apr 7 02:50:43 1994 Doug Evans (dje@cygnus.com)
8121
8122 * libc/include/_syslist.h (_gettimeofday): Define.
8123 (_times): Ditto.
8124 * libc/include/reent.h: #include <machine/types.h> to get _CLOCK_T_.
8125 (struct tms, timeval, timezone): Declare.
8126 (_gettimeofday_r, _times_r): Declare.
8127 * libc/include/time.h (_CLOCK_T_): Don't #undef. Remove
8128 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8129 (time_t): Add multiple definition protection, __time_t_defined.
8130 * libc/include/sys/time.h: Don't #include <time.h>.
8131 Always define struct timezone (remove #ifndef _TIME_H_).
8132 * libc/include/sys/times.h (_CLOCK_T_): Don't #undef. Remove
8133 #ifdef _CLOCK_T_ surrounding definition of clock_t.
8134 * libc/reent/Makefile.in (OFILES): Add timer.o.
8135 (CHEWOUT_FILES): Add timer.def. Add timer.o/timer.c dependence.
8136 * libc/reent/timer.c: New file.
8137 * libc/time/clock.c: #include <reent.h>.
8138 (clock): Call _times_r instead of times.
8139 * libc/time/time.c (HAVE_GETTIMEOFDAY): Renamed from
8140 HAVE_GET_TIME_OF_DAY.
8141 Add comment regarding supporting OS routine(s) required (for docs).
8142 #include <reent.h>.
8143 (time): Call _gettimeofday_r instead of gettimeofday.
8144 * libc/time/asctime.c: Fix comment regarding supporting OS routines.
8145 * libc/time/ctime.c: Ditto.
8146 * libc/time/strftime.c: Ditto.
8147 * libc/sys/sparc64/Makefile.in (TEMPLATE_SFILES): Remove gettimeofday.
8148 (TEMPLATE_SFILES_R): Define here. Also define times.
8149 Add times_r.o/times.S dependence.
8150 (time2.c, junk.c): Deleted.
8151 * libc/sys/sparc64/time2.c: Deleted.
8152 * configure.in (sparc64-*-*): Define HAVE_GETTIMEOFDAY.
8153
8154 * libc/stdio/mktemp.c (_getpid_r): Renamed from _getpid.
8155 * libc/stdio/tmpnam.c (_getpid_r): Ditto.
8156 * libc/sys/sparc64/junk.c: Deleted.
8157
8158Mon Mar 21 16:51:03 1994 Doug Evans (dje@canuck.cygnus.com)
8159
8160 * libc/sys/sparc64/Makefile.in: Add times syscall.
8161 * libc/sys/sparc64/crt0.S: Handle stack bias at run time so we can
8162 be used with and without it. Add comment clarifying Medium/Anywhere
8163 model requirements.
8164 * libc/sys/sparc64/sigsetjmp.S (setjmp, longjmp): Add svr4 support.
8165 * libc/sys/sparc64/sys/syscall.h (SYS_times): Define for sunos4
8166 even if obsolete.
8167
8168Sun Mar 20 15:51:47 1994 Doug Evans (dje@cygnus.com)
8169
8170 * configure.in (target_cflags): Move init.
8171 (sparc64-*-*): Define HAVE_BLKSIZE.
8172
8173Wed Mar 9 10:44:52 1994 Doug Evans (dje@canuck.cygnus.com)
8174
8175 * libc/include/sys/_types.h: New file.
8176 * libc/include/reent.h: #include it.
8177 Add comment describing REENTRANT_SYSCALLS_PROVIDED and
8178 MISSING_SYSCALL_NAMES.
8179 Sort syscalls.
8180 * libc/include/_syslist.h: Remove _raise.
8181 * libc/reent/signalr.c: New file.
8182 * libc/reent/Makefile.in: Compile it.
8183 * libc/signal/signal.c: Only use ifdef SIMULATED_SIGNALS.
8184 Add doc for raise and _raise_r.
8185 * libc/signal/raise.c: Only use ifndef SIMULATED_SIGNALS.
8186 (raise): Call _raise_r.
8187 (_raise_r): Call _getpid_r and _kill_r.
8188 * libc/stdlib/abort.c: Remove inclusion of stdio.h and _syslist.h.
8189 (abort): Loop forever calling raise and _exit.
8190
8191Mon Mar 7 14:40:08 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8192
8193 * configure.in: Remove extraneous echo.
8194
8195Thu Mar 3 12:14:22 1994 Doug Evans (dje@canuck.cygnus.com)
8196
8197 * libc/sys/sparc64/sys/dirent.h (MAXNAMLEN): #undef to avoid
8198 collision with unistd.h, and fix for svr4.
8199
8200Wed Mar 2 13:55:25 1994 Doug Evans (dje@canuck.cygnus.com)
8201
8202 * libc/stdio/local.h (_llicvt): Declare.
8203 (CVT_BUF_SIZE): Define (and buffer size from 512 to 128).
8204 * libc/stdio/cvt.c: Include "local.h" to get CVT_BUF_SIZE.
8205 (_llicvt): Define.
8206 (_sicvt): Fix function header (`value' is short).
8207 * libc/stdio/vfprintf.c (_vfprintf_r): Use CVT_BUF_SIZE.
8208 Add printing of long long's support.
8209 Add printing of 8 byte pointer support.
8210
8211Fri Feb 11 21:52:11 1994 Steve Chamberlain (sac@sphagnum.cygnus.com)
8212
8213 * libc/sys/sh/syscalls.c (pipe, execv, wait, fork, utime, chown,
8214 stat, chmod): New hooks.
8215 (sbrk): Abort if stack and heap collide.
8216 * libc/machine/sh/udivsi3, libc/machine/sh/sdivsi3 Modified to
8217 shortcut when given small args.
8218 * libc/machine/sh/setjmp.s: Rewritten.
8219 * libc/machine/sh/strcmp.s (strcmp): New function takes advantage
8220 of cmp/str instruction.
8221
8222Wed Feb 9 15:12:35 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8223
8224 * configure.in: Accept powerpc* as a CPU type, using fp_dir ieeefp
8225 and machine_dir powerpc.
8226 * libc/include/machine/setjmp.h, libc/include/machine/ieeefp.h:
8227 Add cases for __powerpc__.
8228 * libc/machine/powerpc/Makefile.in, libc/machine/powerpc/setjmp.S:
8229 New files.
8230
8231 * libc/include/stdio.h (_iprintf_r): Declare correctly.
8232
8233Thu Jan 27 10:36:27 1994 Steve Chamberlain (sac@cygnus.com)
8234
8235 * libc/stdlib/callocr.c: New file with _calloc_r in it.
8236 * libc/stdlib/calloc.c (calloc_r): Now in callocr.c
8237
8238Thu Jan 20 15:14:37 1994 Doug Evans (dje@canuck.cygnus.com)
8239
8240 * libc/stdlib/ecvtbuf.c (print_f): Remove local "done".
8241 (print_e): More comments to describe args, etc.
8242 "type" arg may now be 'g' or 'G' for %g/G format --> remove
8243 trailing blanks.
8244 (_gcvt): Remove locals decpt, sign, end, p, done.
8245 More comments for print_e invocation.
8246 Pass "type" to print_e as is (g/G).
8247
8248Wed Jan 19 16:34:18 1994 Rob Savoye (rob@darkstar.cygnus.com)
8249
8250 * stub/shared/m68k-crt0.S: Changed so it compiles (and runs) on a
8251 stock m68000.
8252
8253Mon Jan 17 15:41:53 1994 Doug Evans (dje@canuck.cygnus.com)
8254
8255 * libc/stdlib/mallocr.c (_morecore_r): Fix aligning of pointer so it
8256 works with any sized pointer, including ones bigger than ints and
8257 longs.
8258
8259Thu Jan 6 14:53:21 1994 Doug Evans (dje@canuck.cygnus.com)
8260
8261 * libc/sys/sparc64/{time2.c,utime.S,utime2.c}: New files.
8262
8263Sat Dec 11 16:17:20 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8264
8265 * libc/include/stdlib.h (_calloc_r): Add prototype.
8266 * libc/machine/h8500/negsi2.c: New file.
8267 * libc/machine/h8500/divsi3.c: Prevent overflow when dividing v
8268 large unsigned numbers.
8269 * libc/machine/h8500/cmpsi.c: Add cmppsi.
8270 * libc/stdlib/mallocr.c (morecore_r): Fix aligning pointers so it
8271 works when sizeof(size_t) != sizeof(char *).
8272 * libc/stdlib/mprec.c (Balloc): Call calloc rather than malloc to
8273 get play area
8274 * libc/stdlib/mprec.h: Define Just_16 if generating for z8000.
8275
8276Mon Dec 6 15:59:53 1993 Doug Evans (dje@rtl.cygnus.com)
8277
8278 * libc/include/assert.h (assert): Handle -traditional.
8279
8280Tue Nov 16 15:49:24 1993 Mark Eichin (eichin@cygnus.com)
8281
8282 * Makefile.in: added ; after every "fi" and "done" that wasn't at
8283 the end of a line (ie. anything before a backslash continuation)
8284 so that bash handles them.
8285
8286Tue Nov 16 12:31:57 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8287
8288 * libc/sys/go32/lstat.s: new file, copied from stat.s and renamed
8289 stat to lstat
8290
8291Mon Nov 15 15:50:43 1993 Steve Chamberlain (sac@jonny.cygnus.com)
8292
8293 * libc/sys/sh/crt0.s, libc/sys/sh/trap.s,
8294 libc/machine/sh/sdivsi3.s, libc/machine/sh/setjmp.s,
8295 libc/machine/sh/udivsi3.s: Use new calling convention.
8296
8297Mon Nov 15 15:25:38 1993 Mark Eichin (eichin@cygnus.com)
8298
8299 * libc/include/sys/unistd.h, libc/include/sys/stat.h: ANSI-fy
8300 chmod, access, chdir, chown by making _path const. Also fix _amode
8301 param of access.
8302
8303Fri Nov 12 20:25:28 1993 Mark Eichin (eichin@cygnus.com)
8304
8305 * libc/sys/a29khif/_tmpnam.s (_tmpnam): renamed function to
8306 _khif_tmpnam, because it doesn't comply with ANSI but may be
8307 useful anyway. Real tmpnam was already in libc/stdio, and was
8308 colliding with this one (pr 2176.)
8309 * libc/sys/a29khif/stubs.s (tmpnam): removed tmpnam. This file is
8310 the wrong idea anyhow.
8311
8312Mon Nov 8 07:50:16 1993 Doug Evans (dje@canuck.cygnus.com)
8313
8314 * configure.in: Remove h8300h, we have multilib now.
8315
8316Fri Nov 5 12:37:27 1993 Mark Eichin (eichin@cygnus.com)
8317
8318 * libc/string/strcasecmp.c, libc/string/strncasecmp.c: new
8319 functions, to get preference over the ones in libiberty (since we
8320 provide correct declarations in <string.h>.
8321 * libc/string/Makefile.in: add support for strncasecmp,
8322 strcasecmp.
8323
8324Fri Nov 5 09:05:45 1993 D. V. Henkel-Wallace (gumby@blues.cygnus.com)
8325
8326 * Change netware config not to look for cpu explicitly.
8327
8328Thu Nov 4 14:21:25 1993 Doug Evans (dje@canuck.cygnus.com)
8329
8330 * libc/sys/sparc64/{creat.c,junk.c}: New files.
8331 * libc/sys/sparc64/Makefile.in: Add dependencies.
8332
8333Wed Nov 3 10:42:49 1993 Doug Evans (dje@canuck.cygnus.com)
8334
8335 * configure.in: Clean up v9 a bit, new "os" aoutv8.
8336
8337Tue Nov 2 10:00:44 1993 D. V. Henkel-Wallace (gumby@cygnus.com)
8338
8339 * libc/include/sys/reent.h: make structure smaller by allocating
8340 some stuff when needed.
8341 * libc/signal/signal.c: allocate as needed
8342 * libc/stdio/findfp.c,stdio/local.h: ditto
8343 * libc/stdlib/mprec.c: ditto
8344
8345 * libc/time/localtime.c: don't return a dangling stack ptr.
8346
8347Wed Sep 29 20:42:34 1993 Rob Savoye (rob@darkstar.cygnus.com)
8348
8349 * stub/mvme135/crt0.S, stub/mvme135/glue.c: Moved to stub/generic.
8350
8351Wed Sep 29 16:27:49 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8352
8353 * libc/include/stdio.h (__sputc): comment out static inline which
8354 confuses coff toolchains.
8355
8356Thu Sep 2 16:31:36 1993 Mark Eichin (eichin@cygnus.com)
8357
8358 * libc/sys/a29khif/{_close.s, _fstat.s, _lseek.s, _sbrk.s,
8359 _write.s, getpid.c, kill.c, read.s}:
8360 * libc/sys/a29khif/stubs.s: eliminated stubs that already go
8361 through the syscalls directory.
8362
8363Fri Oct 29 13:59:58 1993 Jeffrey Wheat (cassidy@cygnus.com)
8364
8365 * configure.in: fixed double quote gotcha.
8366
8367Wed Oct 27 15:27:09 1993 Rob Savoye (rob@darkstar.cygnus.com)
8368
8369 * stub/ex931: stub library for sparclite board.
8370 * stub/idp: Renamed from mc68ec. Added contructor table
8371 stuff to linker script.
8372 * stub/mvme135: Renamed from m68kmvme. Added contructor table
8373 stuff to linker script.
8374
8375Tue Oct 26 17:01:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8376
8377 * configure.in: Configure testsuites only if they exist.
8378
8379Tue Oct 26 12:37:11 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8380
8381 * configure.in: Don't set machine_dir for i386 until there is
8382 something in libc/machine/i386 to compile. For i[34]86-*-netware*
8383 use sys/netware, don't use signal, define NO_EXEC, ABORT_PROVIDED,
8384 CLOCK_PROVIDED and MALLOC_PROVIDED.
8385
8386 * libc/sys/netware: New directory. Contains simplistic and
8387 probably incorrect stubs for NetWare. Should be enough to load
8388 the library.
8389 * libc/sys/netware/crt0.c, libc/sys/netware/environ.c,
8390 libc/sys/netware/getpid.c, libc/sys/netware/link.c: New NetWare
8391 stub files.
8392
8393 * libc/reent/execr.c: Don't use if NO_EXEC is defined.
8394 * libc/reent/sbrkr.c: Don't use if MALLOC_PROVIDED is defined.
8395 * libc/stdlib/abort.c: Don't use if ABORT_PROVIDED is defined.
8396 * libc/time/clock.c: Don't use if CLOCK_PROVIDED is defined.
8397
8398Mon Oct 25 16:48:08 1993 Roland H. Pesch (pesch@cygnus.com)
8399
8400 * testsuite/Makefile.in: add "docs" dummy target for consistency
8401 with rest of newlib; turn "info" and "install-info" into dummy
8402 targets, since they wouldn't have worked. (Depended on
8403 nonexistent "doc" subdir.)
8404
8405Fri Oct 22 20:37:32 1993 david d `zoo' zuhn (zoo@rtl.cygnus.com)
8406
8407 * configure.in: handle mips* instead of mips
8408
8409Thu Oct 21 08:57:24 1993 Ian Lance Taylor (ian@cygnus.com)
8410
8411 * libc/include/sys/dirent.h: New file. If it is not overridden by
8412 a version of libc/sys/*/sys/dirent.h, it includes the next
8413 <dirent.h> file in case there is one lurking somewhere.
8414
8415Fri Oct 15 14:17:40 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8416
8417 * libc/stdlib/strtoul.c (_strtoul_r): Several changes for ANSI
8418 compliance, namely: Accept a minus sign. Consider a single 0 with
8419 a radix of 0 as being a conversion. Determine overflow correctly.
8420 If an overflow occurs, set *ptr to the end of the number, not the
8421 middle.
8422 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
8423
8424Thu Oct 14 21:49:52 1993 Doug Evans (dje@canuck.cygnus.com)
8425
8426 * libc/machine/h8300/divsi3.S (divmodsi4): Fix h8300h case.
8427
8428Fri Oct 1 17:17:34 1993 Doug Evans (dje@canuck.cygnus.com)
8429
8430 * Makefile.in (INSTALL): Use $srcrootpre.
8431 (crt0.o): Replace $< with $(CRT0_DIR)/$(CRT0), Sun make
8432 can't handle it.
8433 * libc/Makefile.in (crt0.o): Spell out $<, Sun make can't handle
8434 it.
8435 * libc/sys/Makefile.in (crt0.o, lib.a): Ditto.
8436 * stub/Makefile.in (crt0.o, TARGETLIB): Ditto.
8437 * libc/sys/sparc64/Makefile.in (isatty.o): Sun VPATH lossage.
8438 * libm/math/Makefile.in (matherr.o): Ditto.
8439
8440Thu Sep 30 11:09:17 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8441
8442 * configure.in: Build multidirs for z8k.
8443 * libc/include/stdlib.h (_strtoul_r): add prototype.
8444 * libc/include/machine/limits.h: Get INT_MIN right for all the z8k family.
8445 * libc/include/machine/setjmp.h: Add for z8k.
8446 * libc/machine/z8k/{mulsi.o, udivsi3.o, umodsi3.o, modsi3.o} obsolete.
8447 * libc/sys/z8ksim/glue.c: tidy up.
8448
8449Mon Sep 20 14:04:46 1993 Doug Evans (dje@canuck.cygnus.com)
8450
8451 * libc/unix/{execl.c execle.c execlp.c execv.c execvp.c}:
8452 New files. Requires execve system call.
8453 * libc/unix/Makefile.in: Use them.
8454 * libc/sys/sparc64/{execl.c execle.c execlp.c execv.c execvp.c}:
8455 Deleted, moved to libc/unix.
8456 * libc/sys/sparc64/Makefile.in: Remove them.
8457
8458Mon Sep 20 10:38:32 1993 Doug Evans (dje@canuck.cygnus.com)
8459
8460 * libc/sys/sparc64/{template.S template_r.S}: New files.
8461 * libc/sys/sparc64/Makefile.in: Build source for trivial syscalls
8462 from templates.
8463 * libc/sys/sparc64/{chdir.S chmod.S close.S dup.S fcntl.S
8464 fork.S fstat.S lseek.S link.S mkdir.S open.S pipe.S read.S rmdir.S
8465 umask.S unlink.S wait4.S write.S}: Removed, now built from
8466 templates.
8467
8468Sun Sep 19 14:52:57 1993 Doug Evans (dje@canuck.cygnus.com)
8469
8470 * libc/time/time.c: #include <_ansi.h>.
8471
8472Sun Sep 19 13:43:25 1993 Doug Evans (dje@canuck.cygnus.com)
8473
8474 * configure.in (sparc64-*-*): Remove -D__SIZE_TYPE__.
8475
8476Mon Sep 13 13:52:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8477
8478 * configure.in: match m8* rather than m88k so that m88110 is
8479 recognized as well.
8480
8481Tue Sep 7 12:19:32 1993 Doug Evans (dje@canuck.cygnus.com)
8482
8483 * libc/sys/h8300hms/{Makefile.in, _exit.c, misc.c}:
8484 Renamed exit.c to _exit.c to avoid collision with stdlib/exit.c.
8485 misc.c: New file.
8486
8487 * configure.in: Add multilib support to h8300.
8488
8489Mon Sep 6 14:07:06 1993 Doug Evans (dje@canuck.cygnus.com)
8490
8491 * libc/stdlib/abort.c (abort): Remove _VOLATILE from return type.
8492 * libc/include/_ansi.h (_ATTRIBUTE): New macro for __attribute__.
8493 * libc/include/stdlib.h (exit, abort): Add noreturn attribute.
8494
8495Mon Sep 6 14:24:18 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8496
8497 * configure.in: Corrected multidirs for sparc target.
8498
8499Mon Aug 30 15:56:44 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
8500
8501 Support for building newlib multiple times with different
8502 compilation flags.
8503 * configure.in: Only configure doc at top level. Set multidirs
8504 when appropriate for target, unless not at top level. If
8505 multidirs is set, independently configure each subdirectory.
8506 Adjust TOP, MULTIDIRS and MULTISUBDIR appropriately in Makefile.
8507 * Makefile.in (MULTIDIRS, MULTISUBDIR): New variables,
8508 automagically set by configure.in.
8509 (all): If MULTIDIRS is set, build multiple copies of libraries.
8510 (install): If MULTIDIRS is set, install multiple copies of
8511 libraries. Install in $(tooldir)/lib/$(MULTISUBDIR). If
8512 MULTISUBDIR is set, don't bother to install header files.
8513 * host/any (INCLUDES, CHEW): Use $(SRCTOP) rather than $(TOP) from
8514 ${srcrootpre}.
8515 * stub/configure.in: Set MULTISUBDIR appropriately.
8516 * stub/Makefile.in (install): Install in
8517 $(tooldir)/lib/$(MULTISUBDIR).
8518 * All Makefile.in files: Define SRCTOP as well as TOP.
8519
8520Mon Aug 30 10:34:24 1993 Doug Evans (dje@canuck.cygnus.com)
8521
8522 * libc/machine/h8300/{mulhi3.S, divhi3.S}: Comment out if h8300h.
8523 * libc/machine/h8300/{mulsi3.S, divsi3.S}: Add h8300h support.
8524
8525Thu Aug 26 19:38:12 1993 Doug Evans (dje@canuck.cygnus.com)
8526
8527 * libc/sys/h8300hms/exit.c (_exit): New function.
8528
8529Wed Aug 25 16:31:48 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8530
8531 * configure.in: recognize m88110.
8532
8533Fri Aug 20 16:46:23 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8534
8535 * libc/sys/m88kbug/crt0.c: pretty up, remove extraneous comments,
8536 prototype main and call with args.
8537
8538Fri Jul 30 16:52:47 1993 K. Richard Pixley (rich@cygnus.com)
8539
8540 First real try at system traps for m88k-bug.
8541 * libc/sys/m88kbug/syscalls.c: many changes. Convert from stubs
8542 to real trap calls.
8543 * libc/sys/m88kbug/sys/systraps.h: new file.
8544
8545Tue Jul 27 16:31:16 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8546
8547 Patches to fix info building when target does not use sys
8548 directory.
8549 * libc/Makefile.in (targetdep.tex): add sys.tex separately.
8550 * libc/sys.tex, libc/sys/sys.tex: moved from libc/sys/sys.tex to
8551 libc/sys.tex.
8552 * libc/sys/Makefile.in (doc): do nothing.
8553
8554Mon Jul 26 17:08:11 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8555
8556 * libc/Makefile.in (CRT0): new macro.
8557 (all): depend on $(CRT0) rather than crt0.o.
8558
8559 * configure.in: fix libc_sys_dir -> libc_sys_lib thinko.
8560 do not default crt0, instead, set crt0 and crt0_dir based on
8561 sys_dir and stub_dir.
8562
8563 * Makefile.in (CRT0_DIR): new macro.
8564 (all): depend on $(CRT0) rather than crt0.o which may not exist.
8565 (crt0.o): depend on $(CRT0_DIR)/$(CRT0) rather than simply
8566 $(CRT0).
8567 ($(CRT0)): recur by cd'ing into $(CRT0_DIR).
8568
8569Sun Jul 25 17:51:51 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8570
8571 * testsuite/lib/libm.exp:
8572 added code to support compiling and linking of tests for
8573 libm.sac (paranoia to be added next) and processing the
8574 pass or failure of the tests.
8575
8576 * testsuite/config/unix-libm.exp:
8577 platform specific proc's for dealing with compiler, linker
8578 and the way we execute and process the test results.
8579
8580 * testsuite/libm.sac/execute.exp:
8581 generic framework for the sac tests. the config and lib
8582 expect code for specific platforms tie it all together.
8583
8584 * testsuite/libm.sac/test_is.c:
8585 changed the output of the test to be consistant with the
8586 other tests. parsing of pass nad fail messages is now fixed.
8587
8588Fri Jul 23 19:20:07 1993 Per Bothner (bothner@kalessin)
8589
8590 * libc/include/{assert.h, ctype.h, dirent.h, errno.h, fastmath.h,
8591 locale.h, math.h, pwd.h, reent.h, setjmp.h, signal.h, stdio.h,
8592 stdlib.h, string.h, termios.h, time.h, utime.h, utmp.h}: For C++:
8593 #ifdef __cplusplus, surround by extern ""C { ... }.
8594 * libc/include/assert.h: Do *not* protect assert.h against
8595 multiple inclusion! Also, #undef it before #define, to allow
8596 redefinition.
8597 * libc/include/stdio.h (getlogin, cuserid): Removed. These
8598 should be only in unistd.h.
8599
8600 * libc/include/sys/{fcntl.h, reent.h, stat.h, time.h, times.h,
8601 unistd.h}: For C++: #ifdef __cplusplus, surround by extern ""C {
8602 ... }.
8603
8604Fri Jul 23 10:15:33 1993 Doug Evans (dje@canuck.cygnus.com)
8605
8606 * libc/machine/sparc/Makefile.in: Must create a library, even
8607 if empty.
8608
8609Wed Jul 21 16:00:37 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8610
8611 * configure.in: set machine_dir for m88k. edit crt0 definition
8612 into makefiles.
8613
8614 * Makefile.in, libc/Makefile.in (crt0): pull up from lower directories.
8615
8616 * libc/Makefile.in (all): also build crt0.o.
8617
8618 * libc/machine/i386/Makefile.in, libc/machine/sparc/Makefile.in,
8619 libc/machine/z8k/Makefile.in, libm/Makefile.in (clean): no need
8620 to remove CRT0.
8621
8622 * libc/machine/m88k/Makefile.in (TOP, TARGETLIB): removed.
8623 (all): reworked to build in place.
8624 (clean): remove lib.a
8625 (Makefile): remove redundant ./, call $(SHELL) rather than sh.
8626
8627 * libc/sys/m88kbug/crt0.c (start): renamed to _start.
8628 (_start): key off edata rather than _start_bss.
8629
8630Wed Jul 21 14:29:47 1993 david d `zoo' zuhn (zoo@cygnus.com)
8631
8632 * libc/include/sys/unistd.h, libc/include/reent.h,
8633 libc/reent/sbrkr.c: change sbrk to return void* instead of char*.
8634
8635Tue Jul 20 13:19:18 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8636
8637 * libm/Makefile.in, libc/Makefile.in ($(SUBDIRS)): dollar escape a dollar sign.
8638
8639 * Makefile.in (libc.a): break into two rules, one for libc.a and
8640 one for libc/libc.a. Force subdirs current before rebuilding
8641 library.
8642 (libm.a): break into two rules, one for libm.a and one for
8643 libm/libm.a. Force subdirs current before rebuilding library.
8644
8645 * libc/Makefile.in (SUBLIBS): fix typo.
8646
8647 * libc/sys/Makefile.in (all): force descent into subdirs, then
8648 rebuild library iff out of of date.
8649
8650Fri Jul 16 17:47:57 1993 K. Richard Pixley (rich@sendai.cygnus.com)
8651
8652 Rework so that library is built and then finished rather than
8653 being built on each invocation of make.
8654
8655 * host/any (machine_dir, sys_dir, signal_dir): these are not
8656 shared and have been moved to their associated Makefile.in's.
8657 (AR_FLAGS): switch to qc which is faster.
8658 * configure.in: no longer assign machine_dir for m88k. set
8659 stub_dir, stub_lib, & crt0 for m68k*-unknown-{aout,coff}. If
8660 stub_dir set, then add to configdirs. add comment about silly
8661 configuration.
8662 (configdirs): drop stub. It will be added only
8663 when needed.
8664 (libm_fp_lib, libc_unix_lib, libc_signal_lib, libc_machine_lib,
8665 libc_sys_dir, fake_sys_dir, libc_fake_sys_lib, stub_dir,
8666 stub_lib, crt0): new variables for tailoring lower level
8667 makefiles. Assign accordingly and edit into makefiles.
8668 * libm/Makefile.in: updated copyright.
8669 (TARGETLIB): removed.
8670 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir.
8671 (SUBDIRS): removed TARGETDEP_DIRS.
8672 (LIBM_FP_LIB, SUBLIBS): new macros.
8673 (all): reworked.
8674 (force): new target to force rebuilds.
8675 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8676 * libc/sys/a29khif/Makefile.in, libc/sys/decstation/Makefile.in,
8677 libc/sys/go32/Makefile.in, libc/sys/h8300hms/Makefile.in,
8678 libc/sys/h8500hms/Makefile.in, libc/sys/m88kbug/Makefile.in,
8679 libc/sys/sh/Makefile.in, libc/sys/sparc64/Makefile.in,
8680 libc/sys/sun4/Makefile.in, libc/sys/sysvi386/Makefile.in,
8681 libc/sys/sysvnecv70/Makefile.in, libc/sys/z8ksim/Makefile.in,
8682 stub/m68kmvme/Makefile.in: updated copyright.
8683 (TARGETLIB, TARGETCRT0, CRT0): macros removed.
8684 (all): reworked. made this the default rule.
8685 (clean): also remove lib.a.
8686 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8687 * stub/Makefile.in: updated copyright.
8688 (TARGETLIB, TARGETCRT0, CRT0, TOP): removed.
8689 (stub_lib): new macro.
8690 (FLAGS_TO_PASS): removed TARGETLIB, stub_dir, TARGETCRT0. Added
8691 RANLIB.
8692 (all): reworked.
8693 (clean, install): assume stub_dir exists.
8694 (Makefile): depend on configure.in. call $(SHELL) rather than
8695 sh. drop redundant ./
8696 * stub/configure.in (stublib): new macro, assign it, edit it into
8697 makefiles.
8698 * Makefile, libc/Makefile.in, doc/Makefile.in, libc/sys/Makefile.in:
8699 updated copyright.
8700 (all): reworked.
8701 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8702 * libc/Makefile.in (TARGETCRT0): removed.
8703 (FLAGS_TO_PASS): dropped TARGETLIB, machine_dir, sys_dir,
8704 TARGETCRT0.
8705 (SUBDIRS): drop TARGETDEP_DIRS.
8706 (LIBC_SIGNAL_LIB, LIBC_SYS_LIB, LIBC_MACHINE_LIB, LIBC_UNIX_LIB,
8707 LIBC_FAKE_SYS_LIB, SUBLIBS): new macros for configuration.
8708 (force): new target to force rebuilds.
8709 * libc/sys/Makefile.in (TARGETCRT0, sys_dir): removed.
8710 (FLAGS_TO_PASS): TARGETLIB, machine_dir, sys_dir, TARGETCRT0
8711 removed.
8712 (clean): assume sys_dir always exists.
8713 * libm/test/Makefile.in (Makefile): call $(SHELL) rather than sh.
8714 drop redundant ./
8715 * libc/ctype/Makefile.in, libc/errno/Makefile.in,
8716 libc/locale/Makefile.in, libc/machine/Makefile.in,
8717 libc/machine/a29k/Makefile.in, libc/machine/h8300/Makefile.in,
8718 libc/machine/h8500/Makefile.in, libc/machine/i386/Makefile.in,
8719 libc/machine/i960/Makefile.in, libc/machine/m68k/Makefile.in,
8720 libc/machine/mips/Makefile.in, libc/machine/necv70/Makefile.in,
8721 libc/machine/sh/Makefile.in, libc/machine/sparc/Makefile.in,
8722 libc/machine/z8k/Makefile.in, libc/reent/Makefile.in,
8723 libc/signal/Makefile.in, libc/stdio/Makefile.in,
8724 libc/stdlib/Makefile.in, libc/string/Makefile.in,
8725 libc/sys/Makefile.in, libc/syscalls/Makefile.in,
8726 libc/time/Makefile.in, libc/unix/Makefile.in,
8727 libm/ieeefp/Makefile.in, libm/math/Makefile.in: updated copyright.
8728 (TARGETLIB): removed.
8729 (all): reworked.
8730 (clean): also remove lib.a.
8731 (Makefile): call $(SHELL) rather than sh. drop redundant ./
8732 * Makefile.in: (machine_dir, sys_dir, stub_dir, stub_lib, CRT0):
8733 new macros.
8734 (SUBDIRS): moved to follow frag inclusion, change stub to
8735 stub_dir.
8736 (FLAGS_TO_PASS): removed machine_dir, sys_dir, signal_dir which
8737 are now set in the libc Makefile.
8738 * libc/machine/Makefile.in (TARGETCRT0, machine_dir): removed.
8739 (FLAGS_TO_PASS): removed TARGETLIB, machine_dir, sys_dir,
8740 TARGETCRT0.
8741 (force): new target to force rebuilds.
8742 * stub/configure.in: determine and set stub_lib for for Makefile.
8743
8744Thu Jul 15 12:01:27 1993 Doug Evans (dje@canuck.cygnus.com)
8745
8746 * libc/sys/h8300hms/Makefile.in: Make `all' the default target.
8747 crt0.s renamed to crt0.S.
8748 * libc/sys/h8300hms/crt0.S: Add h8/300h support.
8749
8750 * libc/machine/h8300/Makefile.in: Make `all' the default target.
8751 * libc/machine/h8300/{cmpsi.S,ucmpsi.S}: #ifdef out entire file if
8752 h8300h.
8753 * libc/machine/h8300/defines.h: Add macros to handle pointers for
8754 h8300 (16 bits) and h8300h (32 bits).
8755 * libc/machine/h8300/{divsi3.S,mulsi3.S,memcpy.S,memset.S,
8756 reg_memcpy.S,reg_memset.S,strcmp.S}: Add h8300h support.
8757
8758Thu Jul 15 10:13:29 1993 Ian Lance Taylor (ian@cygnus.com)
8759
8760 * libc/machine/m88k/setjmp.S, Makefile.in: New files; a simple
8761 implementation of setjmp and longjmp for the m88k.
8762 * libc/include/machine/setjmp.h: Added __m88000__ case.
8763
8764Wed Jul 14 10:10:30 1993 Doug Evans (dje@canuck.cygnus.com)
8765
8766 * configure.in: Recognize h8300h as variant of h8300.
8767
8768Tue Jul 13 12:24:11 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8769
8770 * libc/include/sys/unistd.h (read, write): get prototypes right.
8771 (sbrk): New prototype.
8772 * libc/reent/sbrkr.c (sbrkr): Use correct sbrk prototype.
8773 * libc/stdio/local.h: Include unistd.h.
8774 * libc/machine/h8300/syscalls.c: Names have changed.
8775
8776Mon Jul 12 18:08:42 1993 K. Richard Pixley (rich@cygnus.com)
8777
8778 * configure.in: add sys_dir assignment for m88k-bug.
8779
8780Thu Jul 8 09:16:21 1993 Doug Evans (dje@canuck.cygnus.com)
8781
8782 * libc/sys/sparc64/sys/syscallasm.h: New macros to handle either
8783 a.out or elf.
8784 * libc/sys/sparc64: all *.S files: Use new macros.
8785 * libc/sys/sparc64/isatty.c: New file.
8786 * libc/sys/sparc64/Makefile.in: Stop using /lib/libc.a for
8787 functions beyond what newlib provides.
8788
8789Thu Jul 8 09:11:28 1993 Doug Evans (dje@canuck.cygnus.com)
8790
8791 * libc/include/sys/stat.h: Move st_atime so not doubly defined for
8792 svr4.
8793
8794Thu Jul 8 09:09:16 1993 Doug Evans (dje@canuck.cygnus.com)
8795
8796 * libc/include/machine/ieeefp.h: Add support for h8/300h.
8797
8798Fri Jul 2 10:11:20 1993 K. Richard Pixley (rich@cygnus.com)
8799
8800 * configure.in: add m88k.
8801 * libc/include/machine/ieeefp.h: add case for m88k. Also add
8802 sanity check so no one else need ever chase what I did to find
8803 this.
8804
8805 * libm/math/Makefile.in (FAKEC): added atanf.c log1pf.c scalbnf.c.
8806
8807Fri Jul 2 09:15:21 1993 Ian Lance Taylor (ian@cygnus.com)
8808
8809 * doc/makedoc.c: Include <ctype.h>.
8810
8811Wed Jun 30 09:35:06 1993 Doug Evans (dje@canuck.cygnus.com)
8812
8813 * libc/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8814 * libc/sys/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8815 * libc/machine/Makefile.in (FLAGS_TO_PASS): Add TARGET_ASFLAGS.
8816
8817 * libm/test/Makefile.in (all): Link with ../../lib[cm].a.
8818
8819Sun Jun 27 17:05:20 1993 Doug Evans (dje@sphagnum.cygnus.com)
8820
8821 * libc/include/errno.h (ENOSYS): Added.
8822
8823 * libc/unix/getpwd.c (getcwd): Fix typo (_up -> up).
8824
8825Mon Jun 21 09:03:32 1993 Steve Chamberlain (sac@phydeaux.cygnus.com)
8826
8827 * libc/stdio/fflush.c (fflush): Check for reent struct
8828 initialization.
8829 * libc/stdio/fdopen.c (fdopen): Avoid namespace conflict.
8830
8831Fri Jun 18 16:06:05 1993 Mark Eichin (eichin@rtl.cygnus.com)
8832
8833 * libc/stdlib/dtoastub.c: new file -- move user callable "dtoa"
8834 out of dtoa.c so it doesn't pollute the namespace.
8835 * libc/include/_syslist.h: new file -- mappings from _function to
8836 function, for systems where we can't win (by default, all of them,
8837 until we start updating system calls.)
8838 * libc/syscalls: new directory -- stubs for exporting _function
8839 names as unmodified function names.
8840 * libc/configure.in: add MISSING_SYSCALL_NAMES to enable
8841 _syslist.h on all platforms by default, but put hooks in for
8842 fake_sys_dir so we can include it when we've renamed the system
8843 calls.
8844 * libc/reent/execr.c libc/reent/filer.c libc/reent/fstatr.c
8845 libc/reent/linkr.c libc/reent/sbrkr.c libc/reent/statr.c
8846 libc/signal/raise.c libc/signal/signal.c libc/stdio/fdopen.c
8847 libc/stdio/mktemp.c libc/stdio/tmpnam.c libc/stdlib/abort.c
8848 libc/stdlib/system.c libc/unix/getcwd.c libc/unix/getlogin.c
8849 libc/unix/getpass.c libc/unix/getut.c libc/unix/ttyname.c: change
8850 non ANSI functions to call _function.
8851
8852Wed Jun 9 09:48:26 1993 Ian Lance Taylor (ian@cygnus.com)
8853
8854 * libc/stdlib/strtoul.c (_strtoul_r): Handle leading 0 correctly
8855 when base 16 is specified. Don't accept non-digits if radix > 10.
8856
8857Thu Jun 3 10:01:15 1993 Doug Evans (dje@canuck.cygnus.com)
8858
8859 * libc/include/math.h: Rename xxx_r fns to _xxx_r.
8860
8861Wed Jun 2 16:54:16 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
8862
8863 * libc/include/sys/stat.h: Surround text after #endif with
8864 comments.
8865
8866Wed Jun 2 12:47:32 1993 Ian Lance Taylor (ian@cygnus.com)
8867
8868 * libc/stdlib/mallocr.c: If MALLOC_PROVIDED is defined, just make
8869 _malloc_r, _realloc_r, and free_r call the corresponding
8870 non-reentrant functions.
8871
8872 * libm/math/modf.c (modf): We now take the address of ipart, so
8873 don't make it a register variable.
8874
8875Tue Jun 1 18:25:54 1993 Doug Evans (dje@canuck.cygnus.com)
8876
8877 * libm/math/*: Rename all xxx_r fns to _xxx_r.
8878
8879Wed May 26 22:06:35 1993 Roland H. Pesch (pesch@cygnus.com)
8880
8881 * libc/libc.texinfo and embedded docn throughout: formatting
8882 improvements, minor rephrasing for clarity, and improved
8883 reentrancy docn.
8884
8885Sun May 23 17:29:49 1993 Steve Chamberlain (sac@thepub.cygnus.com)
8886
8887 * libm/ieeefp/infinity.c (maxpowtwof): Fix initialzation bug.
8888
8889 * libc/stdio/cvt.c (_licvt): Print the right value on machines
8890 where sizeof(int) != sizeof(long).
8891
8892Fri May 21 22:09:32 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
8893
8894 * libc/reent/execr.c, libc/reent/filer.c, libc/reent/linkr.c,
8895 libc/reent/sbrkr.c, libc/reent/statr.c, libc/stdio/tmpnam.c,
8896 libc/stdlib/atol.c, libc/stdlib/rand.c, libc/string/strpbrk.c,
8897 libc/string/strspn.c, libm/ieeefp/isnan.c, libm/math/bessel.c,
8898 libm/math/matherr.c: changes for better docn formatting (info).
8899
8900 * libc/libc.texinfo, libc/ctype/ctype.tex, libc/locale/locale/tex,
8901 libc/reent/reent.tex, libc/signal/signal.tex,
8902 libc/stdio/stdio.tex, libc/stdlib/stdlib.tex,
8903 libc/string/strings.tex, libc/sys/sys.tex, libc/time/time.tex,
8904 libm/libm.texinfo, libm/ieeefp/ieeefp.tex, libm/math/math.tex: use
8905 makeinfo node defaulting to get better Info file node structure.
8906 (Requires recent sac change to doc/makedoc.c and doc/doc.str.)
8907 Also include a few formerly missing sections (subroutines).
8908
8909 * doc/doc.str: delete fossil expansion for "func"
8910
8911 * default.menu, no-signal.menu: delete.
8912
8913 * Makefile.in, libc/Makefile.in, configure.in, host/any: simplify
8914 method used to adjust doc for missing "signals" chapter when
8915 signal_dir is empty.
8916
8917Thu May 20 21:38:37 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8918
8919 * configure.in: added testsuite/libm.sac
8920
8921Wed May 19 14:52:34 1993 Doug Evans (dje@thepub.cygnus.com)
8922
8923 * libc/sys/sparc64/crt0.S: Set %g4 to 0 (to test Medium/Anywhere
8924 code model).
8925
8926Tue May 18 13:17:21 1993 Ian Lance Taylor (ian@cygnus.com)
8927
8928 * libm/Makefile.in: Use $(MAKE) rather than make, and define
8929 MAKEOVERRIDES to be empty.
8930
8931Mon May 17 08:42:44 1993 Ian Lance Taylor (ian@cygnus.com)
8932
8933 * configure.in: Don't build mips-*-* with -msoft-float, since that
8934 makes it incompatible with hard floating point.
8935
8936Mon May 17 00:03:35 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8937
8938 * Makefile.in: added recursive 'make check'
8939
8940Thu May 13 16:24:18 MDT 1993 Jeffrey Wheat (cassidy@cygnus.com)
8941
8942 * configure.in: added ./testsuite ./testsuite/libm.paranoia
8943 * ./testsuite/Makefile.in: created
8944 * ./testsuite/libm.paranoia: paranoia tests added
8945
8946Thu May 13 10:30:24 1993 Ian Lance Taylor (ian@cygnus.com)
8947
8948 * configure.in: For mips-*-* set machine_dir to mips.
8949
8950 * libc/machine/mips: New directory.
8951 * libc/machine/mips/Makefile.in: New file.
8952 * libc/machine/mips/setjmp.S: New file; simplistic MIPS version of
8953 setjmp and longjmp.
8954 * libc/include/machine/setjmp.h: Added __mips__ case.
8955
8956 * libc/machine/lmips: Removed unused and useless directory.
8957
8958Mon May 3 10:22:31 1993 Ian Lance Taylor (ian@cygnus.com)
8959
8960 * configure.in: Accept i486-*-sco* as well as i386-*-sco*.
8961
8962Thu Apr 15 15:16:44 1993 Doug Evans (dje@canuck.cygnus.com)
8963
8964 * libc/sys/sparc64/crt0.S: Add comment (%g1 contains atexit arg at
8965 start up).
8966
8967Fri Apr 9 13:32:26 1993 Ian Lance Taylor (ian@cygnus.com)
8968
8969 * libc/include/machine/setjmp-dj.h: Use _SETJMP_DJ_H rather than
8970 SETJMP_H.
8971
8972Thu Apr 8 10:07:18 1993 Doug Evans (dje@canuck.cygnus.com)
8973
8974 * libm/test/convert.c: structure member errno -> errno_val.
8975 Must include <errno.h> to use errno, it's a macro now.
8976 * libm/test/math.c: Ditto.
8977 * libm/test/math2.c: Include errno.h.
8978 * libm/test/string.c: Ditto.
8979 * libm/test/test.h: structure member errno -> errno_val.
8980 Remove extern int errno decl.
8981
8982Thu Apr 8 07:56:33 1993 Ian Lance Taylor (ian@cygnus.com)
8983
8984 * libc/stdio/Makefile.in: Added dependencies on local header
8985 files.
8986 * libc/stdio/std.h, libc/stdio/vfprintf.h: Removed unused header
8987 files.
8988
8989Wed Apr 7 16:19:32 1993 Ian Lance Taylor (ian@cygnus.com)
8990
8991 * libc/include/machine/ieeefp.h: Added __MIPSEB__ case.
8992
8993Wed Apr 7 10:55:21 1993 Doug Evans (dje@canuck.cygnus.com)
8994
8995 * libc/stdio/siprintf.c libc/stdio/sscanf.c libc/stdio/vsprintf.c:
8996 Initialize _data.
8997
8998 * libc/stdio/vfprintf.c: No need to declare _icvt, _licvt, _sicvt.
8999 * libc/stdio/local.h: Add prototype for _licvt.
9000
9001 * libc/stdio/ungetc.c (__submore): Use _malloc_r,_realloc_r
9002 instead of malloc,reealloc.
9003
9004 * libc/stdlib/local.h: New file.
9005 * libc/stdlib/efgcvt.c: #include local.h.
9006 (gcvt): Fix call to _gcvt.
9007 * libc/stdlib/ecvtbuf.c: #include local.h.
9008
9009 * libc/stdlib/Makefile.in: new files mallocr.c mstats.c.
9010 * libc/stdlib/mallocr.c mstats.c malloc.h: New files.
9011 * libc/stdlib/malloc.c: main routines moved to mallocr.c.
9012
9013 * libc/stdlib/atexit.c: moved global data to struct _reent.
9014 * libc/stdlib/exit.c: use struct _atexit in struct _reent.
9015
9016 * libc/reent/reent.c (inpure_data): _REENT_INIT macro modified.
9017
9018Wed Apr 7 09:41:50 1993 Doug Evans (dje@canuck.cygnus.com)
9019
9020 * libc/include/sys/reent.h: Stuff required by ANSI headers moved
9021 here from ../reent.h.
9022
9023Tue Apr 6 12:56:01 1993 Ian Lance Taylor (ian@cygnus.com)
9024
9025 * Makefile.in (MATHOBJS_IN_LIBC): List of object files which
9026 should be provided in both libc.a and libm.a.
9027 (libc.a): Depend on targ-include and libm.a. Copy
9028 $(MATHOBJS_IN_LIBC) from libm.a to libc.a.
9029 (libm.a): Depend on targ-include.
9030 * configure.in (subdirs): Removed libc/math.
9031
9032Mon Apr 5 10:18:16 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9033
9034 * libm/ieeefp/infinity.c (maxpowtwo): Fix initialization bug.
9035
9036Sat Apr 3 11:06:07 1993 Doug Evans (dje@canuck.cygnus.com)
9037
9038 * libc/include/{errno.h, math.h, stdio.h, stdlib.h}: Use
9039 sys/reent.h instead of reent.h.
9040 * libc/include/reent.h: Split into two parts: stuff needed by ANSI
9041 headers moved to sys/reent.h.
9042 * libc/include/signal.h: _MAX_SIGNALS moved to sys/signal.h.
9043 * libc/include/sys/signal.h: Define _MAX_SIGNALS if
9044 __need__MAX_SIGNALS defined.
9045 * libc/include/stdio.h: struct __sFILE moved to sys/reent.h.
9046 std{in,out,err} refer to new _std{in,out,err} members.
9047
9048Fri Apr 2 11:27:12 1993 Doug Evans (dje@canuck.cygnus.com)
9049
9050 * libc/include/sys/signal.h: #define _SYS_SIGNAL_H for general
9051 case.
9052
9053Fri Apr 2 09:41:10 1993 Doug Evans (dje@canuck.cygnus.com)
9054
9055 * libc/sys/sparc64/execve.S (execve): Insert nop in delay slot,
9056 rather than whatever macro seterrno() has.
9057
9058Thu Apr 1 16:47:08 1993 Doug Evans (dje@canuck.cygnus.com)
9059
9060 * libc/locale/locale.c: Reentrant routines _r_xxx renamed to
9061 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9062
9063 * libc/include/machine/fastmath.h: Use _HAVE_STDC instead of
9064 __STDC__.
9065
9066 * libc/reent/{execr.c, filer.c, fstatr.c, linkr.c, reent.c,
9067 reent.tex, sbrkr.c, statr.c}: _r_xxx reentrant routines renamed to
9068 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9069
9070 * libc/signal/signal.c: Reentrant routines _r_xxx renamed to
9071 _xxx_r. struct reent_struct renamed to struct _reent for ANSI.
9072
9073 * libc/stdio/{fclose.c, fdopen.c, findfp.c, fiprintf.c, flags.c,
9074 fopen.c, fprintf.c, freopen.c, fscanf.c, fseek.c, ftell.c,
9075 fwalk.c, getchar.c, gets.c, iprintf.c, local.h, makebuf.c,
9076 mktemp.c, perror.c, printf.c, putchar.c, puts.c, refill.c,
9077 remove.c, rename.c, scanf.c, setvbuf.c, siprintf.c, sprintf.c,
9078 sscanf.c, stdio.c, tmpfile.c, tmpnam.c, vfprintf.c, vfprintf.h,
9079 vfscanf.c, vprintf.c, vsprintf.c}: Reentrant routines _r_xxx
9080 renamed to _xxx_r. struct reent_struct renamed to struct _reent
9081 for ANSI. structure members given leading "_" for ANSI. Use
9082 _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9083
9084 * libc/stdlib/{__adjust.c, calloc.c, dtoa.c, ecvtbuf.c, malloc.c,
9085 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
9086 system.c}: Reentrant routines _r_xxx renamed to _xxx_r. struct
9087 reent_struct renamed to struct _reent for ANSI.
9088 Structure members given leading "_" for ANSI.
9089 _CONST --> const in prototypes.
9090 Use _HAVE_STDC instead of __STDC__.
9091
9092 * libc/string/strtok.c: Reentrant routines _r_xxx renamed to
9093 _xxx_r.
9094 struct reent_struct renamed to struct _reent for ANSI.
9095 Structure members given leading "_" for ANSI.
9096
9097 * libc/time/asctime.c: Reentrant routines _r_xxx renamed to
9098 _xxx_r.
9099 struct reent_struct renamed to struct _reent for ANSI.
9100
9101 * libm/math/{acos.h, acosh.h, asin.c, asinh.h, atanh.h, bessel.h,
9102 cbrt.h, cosh.h, erf.c, erf.h, error.c, exp.c, fmod.c, frexp.h,
9103 gamma.h, hypot.h, ldexp.c, log.h, log10.c, log1p.c log2.c,
9104 mathimpl.h, pow.c, remainder.c, sincos.c, sinh.h, sqrt.h, tan.c,
9105 tanh.h}: struct reent_struct renamed to struct _reent for ANSI.
9106
9107 * libc/include/{_ansi.h, ctype.h, math.h, reent.h, locale.h,
9108 signal.h, stdio.h, stdlib.h, string.h, time.h}:
9109 Use _HAVE_STDC instead of __STDC__ and _HAVE_STDARG.
9110 #ifndef _STRICT_ANSI non-ANSI routines.
9111 Reentrant routines renamed from _r_xxx to _xxx_r.
9112 No need to use _STRICT_ANSI on _xxx_r reentrant routines.
9113 Use _STRICT_ANSI instead of __STRICT_ANSI, _ANSI_SOURCE, etc.
9114 Clean up namespace (structure members have leading "_").
9115 struct reent_struct renamed to struct _reent for ANSI compliance.
9116 _CONST --> const in function prototypes.
9117
9118 * libc/include/string.h: Add NULL and size_t.
9119
9120 * libc/sys/sparc64/Makefile.in: New syscall routines for link,
9121 unlink, wait, wait4. Reentrant syscall routines close, fork,
9122 fstat, link, lseek, open, read, sbrk, stat, unlink, wait, wait4,
9123 write.
9124 * libc/sys/sparc64/cerror.S (cerror_r): New routine.
9125 * libc/sys/sparc64/{close.S, fork.S, fstat.S, link.S, lseek.S,
9126 open.S, read.S, sbrk.S, stat.S, unlink.S, wait.S, wait4.S,
9127 write.S}: Define reentrant versions.
9128 * libc/sys/sparc64/sys/syscallasm.h (defsyscall_r): New macro for
9129 reentrant syscalls.
9130
9131 * libc/sys/sparc64/crt0.S (start): Fix initialization of environ.
9132
9133 * libc/include/stdlib.h (RAND_MAX): Fix value.
9134
9135Thu Apr 1 12:28:30 1993 Ian Lance Taylor (ian@cygnus.com)
9136
9137 * libc/sys/a29khif/_main.c: Removed unnecessary file.
9138 * libc/sys/a29khif/Makefile.in (OFILES): Removed _main.c, moved
9139 VPATH support targets after all: target.
9140
9141 * stub/mvme135/mvme.S: Renamed exceptionhandler to
9142 exceptionHandler, which is what mvme135-stub.c expects.
9143
9144Wed Mar 31 17:42:03 1993 Doug Evans (dje@cygnus.com)
9145
9146 * libc/stdio/tmpnam.c (worker): Fix test for _r_open() failure.
9147
9148 * libc/unix/getpass.c (getpass): Use stdin,stderr instead of
9149 def_stdin/def_stderr (latter removed from stdio.h to make it ANSI
9150 compliant).
9151
9152Tue Mar 30 09:58:21 1993 Doug Evans (dje@canuck.cygnus.com)
9153
9154 * libc/reent/execr.c (_r_wait): Re-order args to make reent_struct
9155 first.
9156 libc/reent/filer.c (_r_open, _r_close, _r_lseek, _r_read,
9157 _r_write): Ditto.
9158 libc/reent/fstatr.c (_r_fstat): Ditto.
9159 libc/reent/linkr.c (_r_link, _r_unlink): Ditto.
9160 libc/reent/sbrkr.c (_r_sbrk): Ditto.
9161 libc/reent/statr.c (_r_stat): Ditto.
9162
9163 * libc/stdio/fopen.c (_r_fopen): Re-order args to _r_open.
9164 * libc/stdio/freopen.c (freopen): Ditto for _r_open, _r_free.
9165 * libc/stdio/fseek.c (fseek): Ditto for _r_fseek.
9166 * libc/stdio/makebuf.c (__smakebuf): Ditto for _r_fstat.
9167 * libc/stdio/mktemp.c (_gettemp): Ditto for _r_stat, _r_open.
9168 * libc/stdio/remove.c (_r_remove): Ditto for _r_unlink.
9169 * libc/stdio/rename.c (_r_rename): Ditto for _r_link, _r_unlink.
9170 * libc/stdio/stdio.c (__sread): Ditto for _r_read.
9171 (__swrite): Ditto for _r_lseek, _r_write.
9172 (__sseek): Ditto for _r_lseek.
9173 (__close): Ditto for _r_close.
9174 * libc/stdio/tmpnam.c (worker): Ditto for _r_open, _r_close.
9175
9176 * libc/stdlib/malloc.c (_r_morecore): Re-order args to _r_sbrk.
9177 * libc/stdlib/system.c (_r_system): Ditto for _r_wait.
9178
9179 * libc/include/reent.h: Re-order arguments to _r_xxx syscall fns
9180 to make reent_struct the first argument (and thus consistent with
9181 the rest of newlib).
9182
9183 * stub/mvme135/mvme135-stub.c (initializeRemcomErrorFrame): Remove
9184 reference to __STDC__.
9185
9186Mon Mar 29 12:34:32 1993 Doug Evans (dje@canuck.cygnus.com)
9187
9188 * libc/stdlib/exit.c (exit): Use _REENT->__cleanup instead of
9189 global __cleanup.
9190
9191Wed Mar 24 11:54:35 1993 Doug Evans (dje@canuck.cygnus.com)
9192
9193 * libc/stdio/freopen.c (freopen): Ensure stdio is initialized
9194 first.
9195 libc/stdio/fclose.c (fclose): Ditto.
9196
9197Tue Mar 23 01:26:52 1993 Doug Evans (dje@rtl.cygnus.com)
9198
9199 * Run through indent and rename reentrant routines for ANSI.
9200 libc/stdio/{clearerr.c cvt.c fclose.c fdopen.c feof.c ferror.c
9201 fflush.c fgetc.c fgetpos.c fgets.c findfp.c fiprintf.c flags.c
9202 fopen.c fprintf.c fputc.c fputs.c fread.c freopen.c fscanf.c
9203 fseek.c fsetpos.c ftell.c fvwrite.c fwalk.c fwrite.c getc.c
9204 getchar.c gets.c iprintf.c makebuf.c mktemp.c perror.c printf.c
9205 putc.c putchar.c puts.c refill.c remove.c rename.c rewind.c rget.c
9206 scanf.c setbuf.c setvbuf.c siprintf.c sprintf.c sscanf.c stdio.c
9207 tmpfile.c tmpnam.c ungetc.c vfprintf.c vfscanf.c vprintf.c
9208 vsprintf.c wbuf.c wsetup.c local.h}
9209
9210 * libc/locale/locale.c: Reformat and rename for ANSI, GNU style.
9211
9212 * Run through indent and rename xxx_r fns to _r_xxx for ANSI.
9213 libc/stdlib/{__adjust.c __exp10.c __ten_mu.c abort.c abs.c
9214 assert.c atexit.c atof.c atoi.c atol.c bsearch.c calloc.c div.c
9215 dtoa.c ecvtbuf.c efgcvt.c exit.c getenv.c labs.c ldiv.c malloc.c
9216 mbtowc.c mprec.c putenv.c qsort.c rand.c setenv.c strdup.c
9217 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
9218
9219 * Run through indent.
9220 libc/string/{bcmp.c bcopy.c bzero.c index.c memchr.c memcmp.c
9221 memcpy.c memmove.c memset.c rindex.c strcat.c strchr.c strcmp.c
9222 strcoll.c strcpy.c strcspn.c strerror.c strlen.c strncat.c
9223 strncmp.c strncpy.c strpbrk.c strrchr.c strspn.c strstr.c strtok.c
9224 strxfrm.c}
9225
9226 * libc/time/{asctime.c clock.c ctime.c difftime.c gmtime.c
9227 localtime.c mktime.c strftime.c time.c}:
9228 Run through indent and rename xxx_r (reentrant) fns to _r_xxx for ANSI.
9229
9230 * Reformatting + renaming (for ANSI, GNU style, consistency).
9231 libc/include/{_ansi.h, assert.h, ctype.h, errno.h, fastmath.h,
9232 ieeefp.h, locale.h, math.h, paths.h, pwd.h, reent.h, setjmp.h,
9233 signal.h, stdio.h, stdlib.h, string.h, time.h, unistd.h}
9234
9235Fri Mar 19 11:28:01 1993 Doug Evans (dje@cygnus.com)
9236
9237 * libc/include/stdio.h (stdin_r): Fix.
9238
9239Fri Mar 19 09:43:48 1993 Ian Lance Taylor (ian@cygnus.com)
9240
9241 * Makefile.in: Unexport some variables to keep GNU make from
9242 putting them in the environment and using up needed ARG_MAX space
9243 (a hack is used to let this work with older makes as well).
9244
9245Tue Mar 16 15:11:08 1993 Ian Lance Taylor (ian@cygnus.com)
9246
9247 * Makefile.in: Use $(MAKE) rather than make.
9248 (MAKEOVERRIDES): Define to be empty.
9249 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9250 (libc.a, libm.a): Depend on targ-include.
9251 * host/any (LD): Don't define.
9252 (INCLUDES): Use targ-include.
9253 * stub/Makefile.in (MAKEOVERRIDES): Define to be empty.
9254 (FLAGS_TO_PASS): Don't pass down LD (it's not used).
9255 * libc/Makefile.in: Use $(MAKE) rather than make.
9256 (MAKEOVERRIDES): Define to be empty.
9257 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9258 (all): Rewrote to be slightly smaller.
9259 * libc/machine/Makefile.in, libc/sys/Makefile.in (MAKEOVERRIDES):
9260 Define to be empty.
9261 (FLAGS_TO_PASS): Don't pass LD (it's not used).
9262 * libm/Makefile.in (FLAGS_TO_PASS): Don't pass LD (it's not used).
9263
9264Mon Mar 15 08:45:41 1993 Ian Lance Taylor (ian@cygnus.com)
9265
9266 * libc/sys/go32/gerrno.s: Renamed from errno.s to avoid conflict
9267 with errno/errno.c.
9268
9269Fri Mar 12 09:46:54 1993 Ian Lance Taylor (ian@cygnus.com)
9270
9271 * Changes for reentrancy.
9272 libc/stdio/fdopen.c, libc/stdio/freopen.c, libc/stdio/perror.c:
9273 Use ptr->_errno, not errno.
9274 libc/stdio/mktemp.c (mkstemp_r, mktemp_r): New functions.
9275 libc/stdio/remove.c (remove_r): New function.
9276 libc/stdio/rename.c (rename_r): New function.
9277 libc/stdio/fopen.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9278 libc/stdio/makebuf.c, libc/stdio/mktemp.c, libc/stdio/remove.c,
9279 libc/stdio/rename.c, libc/stdio/stdio.c, libc/stdio/tmpnam.c: Use
9280 reentrant versions of system calls.
9281 libc/stdio/gets.c: Call getchar_f, not nonexistent getchar_r.
9282 libc/stdio/scanf.c: Use stdin_r, not nonexistent stdin_n.
9283 libc/stdio/tmpfile.c: Use tmpnam_f, not nonexistent tmpnam_r.
9284 libc/stdio/findfp.c: Include <string.h>.
9285 libc/stdio/fread.c, libc/stdio/rget.c, libc/stdio/scanf.c: Include
9286 "local.h".
9287 libc/stdio/wbuf.c: Include "fvwrite.h"
9288
9289 * libc/stdlib/{dtoa.c, ecvtbuf.c, mprec.c, strtod.c}: Include
9290 <string.h>.
9291 libc/stdlib/malloc.c: Call sbrk_r rather than sbrk.
9292 (NULL): Don't define if already defined.
9293 libc/stdlib/system.c: Call reentrant versions of system calls.
9294 (system_r): New function.
9295
9296 * Changes for reentrancy.
9297 libc/include/_ansi.h (_PARAMS): New macro.
9298 libc/include/errno.h: Define errno as a macro that calls __errno.
9299 (__errno_r): New macro for reentrant code.
9300 libc/include/math.h: Include reent.h. Declare many reentrant
9301 functions.
9302 (signgam): Now a macro, not a variable.
9303 (struct exception): Added err field.
9304 libc/include/reent.h: Don't declare __sglue. Added function
9305 declarations.
9306 (struct reent_struct): Moved errno to beginning. Added _signgam.
9307 libc/include/stdio.h, libc/include/stdlib.h: Added function
9308 declarations.
9309
9310 * More reentrancy hacking.
9311 libc/errno/errno.c (__errno): New function.
9312 libc/reent/execr.c, libc/reent/filer.c, libc/reent/fstatr.c,
9313 libc/reent/linkr.c, libc/reent/sbrkr.c, libc/reent/statr.c: New
9314 files.
9315
9316 * Added many new reentrant functions to libm/math/*.
9317 libm/math/error.c (__matherror): Added reent_struct pointer
9318 argument. Changed all callers.
9319 libm/math/gamma.c (signgam): Removed. Set ptr->_signgam, instead.
9320 libm/math/exp.h, libm/math/pow.h, libm/math/sincos.h,
9321 libm/math/tan.h: Removed obsolete unused header files.
9322
9323 * libc/sys/a29khif/stubs.s: Use register lr0, not v0.
9324
9325 * libc/sys/sun/Makefile.in (COPYOFILES): Don't pull in errno.o.
9326
9327Mon Mar 8 16:43:43 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9328
9329 * libc/sys/a29khif/stubs.s: clobber safe register, and fill all
9330 delay slots.
9331
9332Tue Mar 2 14:47:00 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9333
9334 * libc/libc.texinfo: comment out reentrancy chapter (duh)
9335
9336Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9337
9338 * libc/reent/reent.tex: New file. (text from
9339 newlib/libc/libc.texinfo)
9340 * libc/stdio/tmpnam.c: fixed doc typo
9341 * libc/stdlib/rand.c: fixed doc typo
9342
9343Tue Mar 2 14:34:16 1993 Jeffrey Osier (jeffrey@fowanton.cygnus.com)
9344
9345 * libc/reent/reent.tex: New file. (text from
9346 newlib/libc/libc.texinfo)
9347
9348Fri Feb 26 12:20:54 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9349
9350 support for reentrancy
9351 * libc/reent/reent.c, libc/reent/Makefile.in, libc/reent/reent.c:
9352 new files
9353 * libc/errno/errno.c, libc/include/ieeefp.h,
9354 libc/include/locale.h, libc/include/reent.h,
9355 libc/include/signal.h, libc/include/stdio.h,
9356 libc/include/stdlib.h, libc/include/string.h, libc/include/time.h,
9357 libc/signal/signal.c libc/stdio/cvt.c, libc/stdio/fclose.c,
9358 libc/stdio/fdopen.c, libc/stdio/fflush.c, libc/stdio/fgets.c,
9359 libc/stdio/findfp.c, libc/stdio/flags.c, libc/stdio/fopen.c,
9360 libc/stdio/fputc.c, libc/stdio/freopen.c, libc/stdio/fseek.c,
9361 libc/stdio/ftell.c, libc/stdio/fwalk.c, libc/stdio/getchar.c,
9362 libc/stdio/gets.c, libc/stdio/glue.h, libc/stdio/iprintf.c,
9363 libc/stdio/local.h, libc/stdio/makebuf.c, libc/stdio/perror.c,
9364 libc/stdio/printf.c, libc/stdio/putchar.c, libc/stdio/puts.c,
9365 libc/stdio/refill.c, libc/stdio/scanf.c, libc/stdio/setvbuf.c,
9366 libc/stdio/sprintf.c, libc/stdio/tmpfile.c, libc/stdio/tmpnam.c,
9367 libc/stdio/ungetc.c, libc/stdio/vfprintf.c, libc/stdio/vfprintf.h,
9368 libc/stdio/vfscanf.c, libc/stdio/vprintf.c, libc/stdio/wsetup.c,
9369 libc/stdlib/__adjust.c, libc/stdlib/__exp10.c,
9370 libc/stdlib/assert.c, libc/stdlib/atexit.c, libc/stdlib/atol.c,
9371 libc/stdlib/dtoa.c, libc/stdlib/ecvtbuf.c, libc/stdlib/malloc.c,
9372 libc/stdlib/mprec.c, libc/stdlib/mprec.h, libc/stdlib/rand.c,
9373 libc/stdlib/setenv.c, libc/stdlib/std.h, libc/stdlib/strtod.c,
9374 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
9375 libc/time/asctime.c, libc/time/localtime.c, libc/time/mktime.c,
9376 libc/time/strftime.c: modify to provide reentracy.
9377
9378 new routines:
9379 strtok_r, asctime_r, fdopen_r, _cleanup_r, fopen_r, iprintf_r,
9380 perror_r, printf_r, putchar_r, puts_r, scanf_r, sprintf_r,
9381 tmpfile_r, vfiprintf_r, vfprintf_r, strtod_r, dtoa_r, rand_r,
9382 srand_r, strtoul_r,strtol_r, free_r, malloc_r, morecore_r,
9383 mstats_r, realloc_r, localeconv_r, setlocale_r
9384
9385Wed Feb 17 20:17:15 1993 Mark Eichin (eichin@cygnus.com)
9386
9387 * libc/include/machine/ieeefp.h, libc/include/machine/setjmp.h,
9388 libc/include/sys/config.h, libc/include/sys/signal.h,
9389 libc/include/sys/stat.h, libc/include/sys/types.h: For compiler
9390 provided macros (such as m68000), use the ansi version
9391 (__m68000__) so that the library can be used with code compiled
9392 -ansi. In particular, m68000, mc68000, _AM29K, i386, MIPSEL, unix,
9393 and sparc.
9394
9395Wed Feb 17 13:01:34 1993 Jim Wilson (wilson@sphagnum.cygnus.com)
9396
9397 * configure.in (sparc*): Don't set -fsoft-float for sparc
9398 configurations. Do set -fsoft-float for sparclite configurations.
9399
9400Fri Feb 12 16:25:52 1993 Roland H. Pesch (pesch@fowanton.cygnus.com)
9401
9402 * default.menu, no-signal.menu: alternate forms of libc main menu
9403 (in newlib rather than newlib/libc due to configuration restrictions)
9404
9405 * configure.in: select one of the two menus above, link to
9406 libc.menu
9407
9408 * libc/libc.texinfo: include menu from separate file
9409
9410Fri Feb 12 12:50:06 1993 Ian Lance Taylor (ian@cygnus.com)
9411
9412 * Makefile.in (FLAGS_TO_PASS): Put INSTALL back in.
9413 (info): Split long shell command in half.
9414 * libc/Makefile.in (info, targetdep.tex): Don't pass everything to
9415 sub-makes, just CHEW and TARGETDOC.
9416 (targetdep.tex): Removed now special handling of sys and machine
9417 subdirectories, made obsolete some time ago.
9418 * libc/machine/Makefile.in (doc): Don't pass everything to
9419 sub-make, just CHEW and TARGETDOC.
9420 (Makefile): New target.
9421 * libc/sys/Makefile.in (Makefile): New target.
9422
9423Thu Feb 11 15:25:15 1993 Ian Lance Taylor (ian@cygnus.com)
9424
9425 * Makefile.in (here and most subdirectories): Only pass down CHEW
9426 and TARGETDOC when making info, not for other targets.
9427
9428 * Makefile.in (here and most subdirectories), host/any: Use $(AR)
9429 $(AR_FLAGS) rather than $(ARUPDATE).
9430
9431Wed Feb 10 11:57:52 1993 Ian Lance Taylor (ian@cygnus.com)
9432
9433 * Try to reduce command line length:
9434 * Makefile.in (FLAGS_TO_PASS): don't pass down exec_prefix,
9435 CC_FOR_BUILD, CFLAGS_FOR_BUILD, INSTALL or CHEW.
9436 (info, docs): pass CC_FOR_BUILD and CFLAGS_FOR_BUILD to doc.
9437 (info): Pass CHEW to other subdirs.
9438
9439Tue Feb 9 14:01:42 1993 Mark Eichin (eichin@cygnus.com)
9440
9441 * configure.in: add signal_dir, like unix_dir, but by default it
9442 is set to "signal" so that a29khif can turn it off (since a29khif
9443 has raise() as part of machine-specific signal.s.)
9444
9445Fri Jan 15 12:09:50 1993 Steve Chamberlain (sac@thepub.cygnus.com)
9446
9447 * libc/sys/config.h, libc/machine/ieeefp.h: add Z8000 support
9448 * libc/stdio/Makefile.in: pass CFLAGS so vfiprintf.c gets built
9449 correctly.
9450 * libc/stdio/fdopen.c, libc/stdio/fgets.c, libc/stdio/fscanf.c,
9451 libc/stdio/vfprintf: type lint.
9452 * libc/sys/z8ksim/crt0.c (start): Z8001/Z8002 independent
9453 initialzation code.
9454 * libc/sys/z8ksim/glue.c: Z8001/Z8002 clean system calls.
9455
9456Tue Dec 29 10:15:33 1992 Ian Lance Taylor (ian@cygnus.com)
9457
9458 * stub/mvme135/mvme135-asm.S: new file.
9459 stub/mvme135mvme135-stub.c: moved all assembler routines into
9460 mvme135-asm.S.
9461 stub/mvme135/Makefile.in: build mvme135-stub.o.
9462
9463Mon Dec 28 12:40:43 1992 Ian Lance Taylor (ian@cygnus.com)
9464
9465 * Makefile.in: don't pass down $(CPP); use $(CC) -E in
9466 sub-Makefiles instead, to try to avoid line length limitations.
9467
9468Mon Dec 21 18:36:13 1992 Per Bothner (bothner@rtl.cygnus.com)
9469
9470 * libc/include/unistd.h (read, write): Use void* instead of
9471 char*.
9472
9473Thu Dec 17 13:49:46 1992 Mark Eichin (eichin@cygnus.com)
9474
9475 * stub/go32/resetpc: sample script to send a reset packet to the
9476 stub
9477
9478 * stub/go32/I386STUB.C: new file, gdb/i386stub.c modified for the
9479 DOS environment, which compiles with Turbo C.
9480
9481 * stub/go32/DSER32.LNK: new file, linker commands for serial
9482 remote stub.
9483
9484 * stub/go32/CONTROL.C: turn off debug_mode, add CYGNUS tag line to
9485 start up message to identify version; call set_debug_traps.
9486
9487 * stub/go32/DEBUG.C: turn off debug_mode (so stub doesn't need any
9488 keyboard interaction); call handle_exception() in go_til_stop,
9489 rather than return, so that the remote stub gets control.
9490
9491 * stub/go32/MAKEFILE: fixed to actually use DOS commands (del and
9492 rename, rather than mv), set flags that work with current Turbo C,
9493 including using the /3 flag; also, add commands to build dser32.
9494
9495 * stub/go32/DEBUG32.LNK, stub/go32/GO32.LNK: fix paths to match
9496 default Turbo C installation (\tc rather than \usr)
9497
9498 * stub/go32/MONO.C (printf): current Turbo C uses "..." instead of
9499 "&..."
9500
9501Mon Dec 14 09:37:33 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9502
9503 * libc/include/math.h: added _DOUBLE_IS_32BITS checks
9504
9505Thu Nov 12 22:31:04 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9506
9507 * libc/stdio/cvt.c (licvt): new function to convert ints when
9508 sizeof(int) != sizeof(long).
9509
9510 * libc/include/stdio.h: added prototype for iprintf.
9511 * libc/include/machine/limits.h machine/ieeefp.h: z8k stuff
9512
9513Tue Nov 10 12:18:12 1992 Ian Lance Taylor (ian@cygnus.com)
9514
9515 * libc/machine/m68k/setjmp.S: use __USER_LABEL_PREFIX__ and
9516 __REGISTER_PREFIX__.
9517
9518Mon Nov 2 13:50:14 1992 Ian Lance Taylor (ian@cygnus.com)
9519
9520 * libc/sys/m68kbare: moved into stub directory.
9521
9522Mon Nov 2 13:40:42 1992 Ian Lance Taylor (ian@cygnus.com)
9523
9524 * configure.in, Makefile.in: created new directory stub, to hold
9525 sample code for specific targets.
9526
9527Wed Oct 28 02:19:55 1992 Mark Eichin (eichin@cygnus.com)
9528
9529 * restored libc/sys/go32/sys/fcntl.h, to override incorrect values
9530 in the unified libc/include/sys/fcntl.h.
9531
9532Wed Oct 21 13:55:58 1992 Doug Evans (dje@rtl.cygnus.com)
9533
9534 * libc/stdlib/ecvtbuf.c: (print_f,_gcvt): printf("%f", 0.01)
9535 printed .01, not 0.01.
9536
9537Mon Oct 19 11:05:55 1992 Ian Lance Taylor (ian@cygnus.com)
9538
9539 * configure.in: compile with -m68000 for m68* targets.
9540
9541Sun Oct 18 05:29:05 1992 Mark Eichin (eichin@cygnus.com)
9542
9543 * libm/math/remainder.c (remainder): document the svr4 and sunos
9544 references used to construct the function.
9545
9546Sat Oct 17 21:46:16 1992 Mark Eichin (eichin@cygnus.com)
9547
9548 * libm/math/remainder.c (rint, remainder): fix old typos.
9549 * libm/math/Makefile.in: actually build remainder.c (functions
9550 rint and remainder, from SysVr4 Programmer's Guide floor(3m) man
9551 page.)
9552
9553Thu Oct 15 07:48:05 1992 Ian Lance Taylor (ian@cygnus.com)
9554
9555 * libc/string/bcopy.c: BSD version works on overlapping strings,
9556 so ours should too.
9557
9558 * libc/stdlib/system.c: always invoke /bin/sh, not getenv
9559 ("SHELL").
9560
9561Wed Oct 14 11:07:11 1992 Ian Lance Taylor (ian@cygnus.com)
9562
9563 * Makefile.in (docs): new target.
9564
9565Wed Oct 14 07:44:25 1992 Ian Lance Taylor (ian@cygnus.com)
9566
9567 * libc/include/sys/times.h: define clock_t as required by POSIX.
9568 libc/include/time.h: protect clock_t from multiple definitions.
9569
9570Wed Oct 7 11:02:21 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9571
9572 * libm/math/sqrt.h (sqrt): actually, the final version of fp-bit
9573 does not need more than the original three iterations to get
9574 within 1 ulp. (Paranoia tests for rounding to better than that,
9575 but further iterations *don't* help, only more subtle changes
9576 can.)
9577
9578Tue Oct 6 09:22:12 1992 Ian Lance Taylor (ian@cygnus.com)
9579
9580 * libc/sys/vxworks68, libc/sys/vxworks960: removed, since they
9581 were doing nothing useful.
9582
9583Tue Oct 6 08:48:13 1992 Ian Lance Taylor (ian@cygnus.com)
9584
9585 * configure.in: define MALLOC_PROVIDED for vxworks targets;
9586 removed sys_dir settings of vxworks68 and vxworks960.
9587 host/any: don't pass -nostdinc to gcc, since newlib no longer
9588 provides all required header files.
9589
9590 * libc/stdlib/malloc.c: only compile this file if MALLOC_PROVIDED
9591 is not defined; this provides a hook for VxWorks.
9592
9593Mon Oct 5 03:44:57 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9594
9595 * libc/stdio/setvbuf.c (setvbuf): while ANSI does say to malloc a
9596 buffer if buf is NULL, don't do it here -- it is already being
9597 done by makebuf elsewhere in stdio.
9598
9599Fri Oct 2 13:12:07 1992 Ian Lance Taylor (ian@cygnus.com)
9600
9601 * libc/sys/a29khif/Makefile.in: assemble Steve's list of stubs so
9602 that C programs can call functions without using initial
9603 underscores.
9604
9605Thu Oct 1 09:37:47 1992 Ian Lance Taylor (ian@cygnus.com)
9606
9607 * libc/stdlib/abort.c (abort): call exit, in case kill returns.
9608
9609Wed Sep 30 08:22:18 1992 Ian Lance Taylor (ian@cygnus.com)
9610
9611 * configure.in: set TARGET_CFLAGS for certain CPU types to
9612 -msoft-float.
9613
9614Tue Sep 29 21:09:32 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9615
9616 * libc/sys/m68kbare/glue.c: use <_ansi.h> instead of <ansidecl.h>
9617
9618Mon Sep 28 14:58:44 1992 Ian Lance Taylor (ian@cygnus.com)
9619
9620 * configure.in: added sys_dir m68kbare for m68k*-unknown-aout and
9621 m68k*-unknown-coff.
9622
9623Fri Sep 25 08:33:21 1992 Ian Lance Taylor (ian@cygnus.com)
9624
9625 * libc/include/stdio.h: define __need___va_list before including
9626 <stdarg.h>, to avoid defining va_arg, et. al.
9627
9628Tue Sep 22 13:47:00 1992 Ian Lance Taylor (ian@cygnus.com)
9629
9630 * libc/sys/Makefile.in: handle the case of an empty $(sys_dir)
9631 (don't cd to the user's home directory).
9632
9633 * libc/Makefile.in: replaced all instances of $(MAKE) with make.
9634 In general this is the wrong thing to do, but I can't get around
9635 GNU make's insistence on passing command line arguments any other
9636 way.
9637
9638Tue Sep 22 10:12:44 1992 Ian Lance Taylor (ian@cygnus.com)
9639
9640 * configure.in: always configure the libc/sys directory, since it
9641 now provides a required documentation file.
9642
9643 * Makefile.in: replaced all instances of $(MAKE) with make. In
9644 general this is the wrong thing to do, but I can't get around GNU
9645 make's insistence on passing command line arguments any other way.
9646
9647Mon Sep 21 22:42:26 1992 Ian Lance Taylor (ian@tweedledumbest.cygnus.com)
9648
9649 * libc/stdlib/ecvtbuf.c (_gcvt): string for 0 was not null
9650 terminated.
9651
9652 * libc/stdio/local.h: include <stdarg.h> to define va_list.
9653 libc/stdio/vsprintf.c: include <stdarg.h> rather than <varargs.h>.
9654
9655 * libc/include/float.h, libc/include/stdarg.h,
9656 libc/include/stddef.h, libc/include/varargs.h: removed; use gcc
9657 versions instead.
9658 libc/include/stdio.h: get size_t from <stddef.h>, and va_list from
9659 <stdarg.h>, not from <machine/types.h>. Protect definition of
9660 NULL.
9661 libc/include/time.h: get size_t from stddef.h. Protect definition
9662 of NULL.
9663 libc/include/machine/limits.h: override gcc <limits.h> by defining
9664 _LIMITS_H___. Don't define CLK_TCK. Copied in gcc <limits.h> to
9665 get correct INT_MIN and LONG_LONG values.
9666 libc/include/machine/types.h: don't define ptrdiff_t, wchar_t,
9667 size_t or va_list at all; they're now gotten from stddef.h
9668 instead.
9669 libc/include/machine/varargs.h: removed; use gcc version instead.
9670 libc/include/sys/types.h: explicitly include <machine/types.h>.
9671
9672 * libm/math/sqrt.h: using the fp-bit routines appears to require
9673 more iterations.
9674
9675 * Makefile.in, host/any: let system include files override machine
9676 include files.
9677
9678Sat Sep 19 21:10:06 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9679
9680 * libc/include/machine/types.h: allow __*_TYPE__ from cpp to
9681 override _*_T_ definitions defaulted here.
9682
9683Tue Sep 15 11:14:46 1992 Ian Lance Taylor (ian@cygnus.com)
9684
9685 * Makefile.in (install): install the include files in
9686 $(tooldir)/include, not $(exec_prefix)/include.
9687
9688Fri Sep 11 15:48:43 1992 Ian Lance Taylor (ian@cygnus.com)
9689
9690 * Makefile.in (install): fixed typo, and changed install to not
9691 force rebuild of libc.a and libm.a.
9692
9693Thu Sep 10 10:46:09 1992 Ian Lance Taylor (ian@cygnus.com)
9694
9695 * libc/sys/a29khif/*: Changed all .include's to include
9696 sys/sysmac.h, not plain sysmac.h. The header files live in sys so
9697 that they will be installed for the user.
9698
9699 * Makefile.in (all): create targ-include, a directory holding the
9700 machine and system specific header files during the build.
9701 (install): fixed installation of machine and system specific
9702 header files.
9703
9704 * Makefile.in: fixed comment.
9705 host/any: change .s.o rule to use $(AS) rather than $(CC), so that
9706 we can pass $(INCLUDES) to it.
9707
9708Thu Sep 10 10:13:13 1992 Ian Lance Taylor (ian@cygnus.com)
9709
9710 * libc/include/sys/param.h: new generic file, which may be
9711 overridden for specific systems.
9712
9713 * libc/include/sys/signal.h: define all ANSI signal names, and
9714 NSIG (which is not ANSI) for a29k.
9715
9716Tue Sep 8 09:04:30 1992 Ian Lance Taylor (ian@cygnus.com)
9717
9718 * Makefile.in: don't pass down arguments the lower level makes
9719 will not need.
9720 * libc/Makefile.in: recurse directly, rather than using subdir_do,
9721 in hopes of avoiding argument length limits.
9722 * libm/Makefile.in: recurse directly, rather using subdir_do, in
9723 hopes of avoiding argument length limits.
9724
9725Tue Sep 8 08:27:22 1992 Ian Lance Taylor (ian@cygnus.com)
9726
9727 * libc/include/sys/fcntl.h: include <sys/types.h> to ensure that
9728 mode_t is defined.
9729
9730Mon Sep 7 14:02:07 1992 Ian Lance Taylor (ian@cygnus.com)
9731
9732 * Fixed make info and make install-info for newlib, changing most
9733 Makefile.in and several *.tex files. Moved doc directory from
9734 libc to top level.
9735
9736 * libc/time/mktime.c (_DAYS_IN_MONTH): actually, not const.
9737 Should be rewritten.
9738
9739 * libc/string/strings.tex: renamed node index to node index
9740 function, so that it does not conflict with the top level index
9741 node.
9742
9743 * libc/include/sys/config.h: define __IEEE_BIG_ENDIAN for h8300.
9744
9745Fri Sep 4 02:34:06 1992 Ian Lance Taylor (ian@cygnus.com)
9746
9747 * Overhauled general configuration for newlib. Eliminated all
9748 target dependent Makefile fragments. Create libraries in newlib
9749 rather than newlib/libc and newlib/libm. Use CC, et. al., rather
9750 than CROSS_CC, et. al. Broke make docs; will fix later.
9751
9752 * libc/time/localtime.c (_DAYS_IN_MONTH): actually, not const.
9753 Should be rewritten.
9754
9755Tue Sep 1 15:21:14 1992 Ian Lance Taylor (ian@cygnus.com)
9756
9757 * libc/configure.in: cleaned up somewhat; switch on ${target}
9758 rather than ${target_alias}.
9759 * libm/configure.in: cleaned up somewhat; switch on ${target}
9760 rather than ${target_alias}.
9761
9762 * libc/ctype/ctype_.c: marked _ctype_ array _CONST.
9763 * libc/include/ctype.h: marked _ctype_ as _CONST.
9764
9765 * libc/locale/locale.c (lconv, localeconv): marked static lconv as
9766 _CONST.
9767
9768 * libc/stdio/cvt.c, libc/stdio/findfp.c (__sfmoreglue),
9769 libc/stdio/vfscanf.c (__svfscanf): made static variables const.
9770 libc/stdio/gets.c (gets): removed non-ANSI warning message.
9771 libc/stdio/tmpnam.c (tmpnam): removed unneeded filename variable.
9772
9773 * libc/stdlib/mprec.h, libc/stdlib/mprec.c (pow5mult, tens,
9774 bigtens, tinytens): marked arrays _CONST.
9775 libc/stdlib/qsort.c (swap): if __GNUC__, use _builtin_alloca
9776 rather than a static variable.
9777
9778 * libc/time/asctime.c (asctime), libc/time/localtime.c
9779 (_DAYS_IN_MONTH), libc/time/mktime.c (_DAYS_IN_MONTH,
9780 _DAYS_BEFORE_MONTH), libc/time/strftime.c (dname_len, dname,
9781 mname_len, mname): Marked static arrays _CONST.
9782
9783 * libm/math/gamma.h: made local variables non-static.
9784
9785 * libm/math/acos.h, libm/math/bessel.c, libm/math/erf.c,
9786 libm/math/exp.c, libm/math/gamma.h: marked static arrays as
9787 _CONST.
9788
9789 * libm/math/constants.c: removed file, because the constants it
9790 defined were never referenced.
9791 libm/math/Makefile.in: removed references to constants.c.
9792 libm/math/mathimpl.h: removed declarations of constants.
9793
9794Wed Aug 26 21:09:06 1992 Ian Lance Taylor (ian@cygnus.com)
9795
9796 * libc/include/machine/varargs.h: only call __builtin_saveregs if
9797 it is sensibly defined in libgcc2. Checks preprocessor defines,
9798 which is not a good solution.
9799
9800 * libm/sqrt.c: sqrt(Infinity) should not be a domain error.
9801
9802 * libm/frexp.c: handle denormalized numbers as arguments.
9803
9804 * libm/math/Makefile.in: added some dependencies for .c files
9805 which include local .h files.
9806
9807Mon Aug 24 12:57:58 1992 Ian Lance Taylor (ian@cygnus.com)
9808
9809 * libc/configure.in: set target_alias for OSE*. Replace
9810 target_makefile_frag if it is blank.
9811
9812 * libc/Makefile.in: make sure everything is passed to subsidiary
9813 makes; create all directories when installing.
9814
9815 * libm/ieeefp/Makefile.in, libm/math/Makefile.in: use
9816 CROSS_ARUPDATE instead of AR.
9817
9818 * libm/configure.in: set target_alias for OSE*. Replace
9819 target_makefile_frag if it is blank.
9820
9821 * libm/Makefile.in: make sure everything is passed to subsidiary
9822 makes; create all directories when installing.
9823
9824Thu Aug 20 15:11:51 1992 Mark Eichin (eichin@cygnus.com)
9825
9826 * add following change from libc copy.
9827
9828Wed Aug 19 18:54:49 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9829
9830 * libc/libc.texinfo: make copyright disclaimers appear on back of
9831 title page; make format of same slightly less ugly; avoid using
9832 underbars in section headings (avoids nasty texinfo bug in table
9833 of contents).
9834
9835 * libc/ctype/tolower.c, libc/ctype/toupper.c: (doc changes in
9836 comments only) avoid using underbars in section headings
9837
9838 * libc/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9839 isnan ieeefp/fpmask.c, ieeefp/fpround.c, ieeefp/fpsticky.c (doc
9840 changes in comments only): shorten headings ieeefp/infinity.c,
9841 ieeefp/isnan.c: (doc, comments only) more informative headings
9842
9843 * libc/math/bessel.c: (doc, comments only) shorten heading
9844
9845 * libc/stdlib/efgcvt.c, libc/stdlib/mbtowc.c, libc/stdlib/wctomb.c
9846 (doc, comments only) shorten headings
9847
9848 * libc/time/localtime.c (doc, comments only): shorten headings
9849
9850 * libm/ieeefp/ieeefp.tex: include doc from fpsticky, infinity,
9851 isnan
9852 libm/ieeefp/fpmask.c, libm/ieeefp/fpround.c,
9853 libm/ieeefp/fpsticky.c (doc changes in comments only): shorten
9854 headings
9855 libm/ieeefp/infinity.c, libm/ieeefp/isnan.c: (doc, comments
9856 only) more informative headings
9857 * libm/math/bessel.c: (doc, comments only) shorten heading
9858
9859Wed Aug 19 07:06:37 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
9860
9861 * .../Makefile.in: use CROSS_ARUPDATE consistently.
9862 * config/*.mt: define CROSS_AR as well as CROSS_ARUPDATE
9863 * config/*.mt: define CROSS_CPP based on CROSS_CC, not /lib/cpp.
9864 * .../Makefile.in: get rid of .c.o rule - if TOP is correctly
9865 defined, the one from the .mt file will be correct.
9866 * libc/include/machine, libc/include/sys: created, and populated
9867 with common files from machine/*/machine. ifdefs were used for
9868 most, typically by handling exceptions first and then filling in
9869 defaults. Files with D.J. Delorie copyright #included rather than
9870 copied. Most files in include/sys really were the same in the
9871 original.
9872 * libc/include/...: cleaned up use of _EXFUN.
9873 * libc/stdlib/mprec.c: mprec.h doesn't get installed, so include
9874 it with double quotes, not angles.
9875
9876Mon Aug 10 11:43:20 1992 Ian Lance Taylor (ian@dumbest.cygnus.com)
9877
9878 * libc/Makefile.in: always create installation directories.
9879
9880Sun Aug 9 22:45:48 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
9881
9882 * libc/configure.in: handle host properly (using canonical
9883 triples), better error message for the case of target not found
9884
9885Thu May 28 01:56:37 1992 Michael Tiemann (tiemann@rtl.cygnus.com)
9886
9887 * libc/Makefile.in (insincdir): Ensure this directory exists
9888 before attempting installation.
9889
9890Fri May 1 18:16:42 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9891
9892 * libc/stdlib/assert.c: now calls abort like it should
9893 * libc/sys/a29khif: many many patches for 29khif work
9894 * libc/machine/i386: gnulib2 expanded there.
9895
9896Tue Apr 28 19:08:37 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9897
9898 Added accurate fp conversion routines to stdlib, moved dcvt from
9899 stdio to stdlib and called it ecvtbuf:
9900 * libc/stdlib/mprec.c, mprec.h: new files for multiprec arithmetic
9901 * libc/stdlib/Makefile.in, efgcvt.c, strtod.c: modified to use new
9902 routines
9903 * libc/libc.texinfo: Modifed to include the copyright info from
9904 the mprec files
9905 * libc/stdlib/efgcvt.c: now xref to ecvtbuf in stdlib.
9906 * libc/test/ : many vector which tested for the implementation
9907 defined returns of strange conversion requests have been updated
9908 to relflect the new implementation
9909
9910Mon Apr 27 13:41:33 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9911
9912 * libc/libc.texinfo: new chapter on variable arg lists
9913 (stdarg.h/varargs.h)
9914 * libc/libc.texinfo: new title
9915 * libc/time/gmtime.c, libc/time/localtime./c, libc/time/mktime.c:
9916 (doc only) shorter headings for better formatting.
9917
9918Fri Apr 24 11:26:48 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9919
9920 * libc/libc.texinfo: three more info menu entries
9921 * libc/locale/locale.tex: new chapter
9922 * libc/locale/locale.c: new doc for setlocale, localeconv
9923 * libc/locale/Makefile.in: use new locale doc
9924 * libc/signal/signal.tex: new chapter
9925 * libc/signal/raise.c, libc/signal/signal.c: new doc
9926 * libc/signal/Makefile.in: use new doc
9927 * libc/time/time.tex: new chapter
9928 * libc/time/asctime.c libc/time/clock.c libc/time/ctime.c
9929 libc/time/difftime.c libc/time/gmtime.c libc/time/localtime.c
9930 libc/time/mktime.c libc/time/strftime.c libc/time/time.c: new doc
9931 * libc/time/Makefile.in: use new doc
9932
9933Tue Apr 21 14:48:50 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9934
9935 * libm/math/log1p.c: split to use the new function way of float
9936 function definition. math/log1p.h deleted
9937 * libm/math/scalb.c: obsolete and deleted
9938 * libm/math/scalbn.c: created from part log1p.c
9939 * libm/math/Makefile.in: know about log1p and scalbn
9940
9941Tue Apr 21 12:32:21 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9942
9943 * libc/ctype/isupper.c: revise doc;
9944 libc/ctype/ctype.tex: use doc from isupper.c
9945
9946 * libc/string/bzero.c: new doc
9947
9948Mon Apr 20 14:19:42 1992 Roland H. Pesch (pesch@fowanton.cygnus.com)
9949
9950 * libc/stdlib/system.c, libc/stdlib/exit.c, libc/stdlib/abort.c:
9951 new doc
9952 * libc/stdlib/Makefile.in: extract new doc
9953 * libc/stdlib/stdlib.tex: use new doc
9954
9955 * libc/string/strerror.c: expanded doc.
9956
9957 * libc/stdio/Makefile.in: extract doc from more files
9958 * libc/stdio/fopen.c, libc/stdio/perror.c, libc/stdio/remove.c,
9959 libc/stdio/rename.c, libc/stdio/rewind.c, libc/stdio/setbuf.c,
9960 libc/stdio/setvbuf.c, libc/stdio/sprintf.c, libc/stdio/tmpfile.c,
9961 libc/stdio/tmpnam.c, libc/stdio/vfprintf.c, libc/stdio/vprintf.c,
9962 libc/stdio/vsprintf.c: new doc
9963 * libc/stdio/stdio.tex: use new doc
9964
9965Mon Apr 20 09:38:17 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9966
9967 * libc/config/ebmon29k: added CROSS_CPP rule and other fixes
9968 * libc/include/ieeefp.h: fixed ansi conflict with isnanf, isinff,
9969 finitef functions.
9970 * libc/sys/a29khif/sys/*.h: ansidecl.h was renamed to _ansi.h some
9971 time ago.
9972
9973 * libc/stdio/stdio.h: added P_tmpdir for /tmp (SVID thing)
9974 * libc/stdio/setbuf.c: added ansi style definition.
9975 * libc/stdio/setvbuf.c: added ansi definition, now mallocs own
9976 buffer if none provided.
9977 * libc/stdio/tmpfile.c: lint
9978 * libc/stdio/tmpnam.c (worker): created. (tmpnam): mallocs buffer
9979 rather than using static, also make sure file isn't already
9980 present. Uses P_tmpdir. (tempnam): rewritten to use new
9981 subroutine, and uses P_tmpdir.
9982 * libc/stdio/siprintf.c: created
9983
9984Mon Apr 13 09:12:58 1992 Steve Chamberlain (sac@thepub.cygnus.com)
9985
9986 Release 1.03 for NEC, major mods. Main differences from release
9987 1.02::
9988
9989 More tests in test/:
9990 * jn_vec.c, jnf_vec.c, yn_vec.c, ynf_vec.c, log2_vec.c,
9991 log2f_vec.c, atan2_vec.c, atan2f_vec.c: new test vectors.
9992 * test_ieee.c: tests for ieee flags & masks - get/set rounding,
9993 get/set mask, get/set sticky and get/set roundtoi. Tests
9994 that setting the bits changes the way arithmetic is done.
9995 * string.c: added test to make sure memcmp does it with unsigned
9996 chars.
9997 * test.c: cleaned up and removed lint.
9998 * sprint_vec, sprint_ivec.c, convert.c, conv_vec.c, iconf_vec.c,
9999 dvec.c: tests for string to value conversions, sprintf, scanf,
10000 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
10001 ecvtf, fcvtbuf, fcvt, fcvtf, gcvt, gcvtf. Some attention paid to
10002 rounding in sprintf too.
10003 * test_is.c: tests for isalnum, isalpha, isascii, iscntrl,
10004 isdigit, isgraph, islower, isprint, ispunct, isspace, isupper,
10005 isxdigit, toascii, tolower, toupper, _tolower, _toupper in macro
10006 and function form.
10007 * math2.c: test for frexp, frexpf, ldexp, ldexpf, modf modff, pow,
10008 powf
10009
10010 In the library:
10011 * libc/stdlib/div.c, libc/stdlib/ldiv.c, libc/stdlib/strtod.c,
10012 libc/stdlib/strtol.c, libc/stdlib/stroul.c, libc/stdlib/abs.c,
10013 libc/stdlib/bsearch.c, libc/stdlib/calloc.c, libc/stdlib/getenv.c,
10014 libc/stdlib/labs.c, libc/stdlib/malloc.c: new documentation
10015 * libc/stdlib/efgcvt.c: rewritten to use new _dcvt routines rather
10016 than sprintf.
10017 * libc/stdio/dcvt.c: rewritten to make more useful elsewhere.
10018 * Method of producting float versions of double functions has
10019 changed, functions will be modified gradually. So far:
10020 libm/math/exp.c, libm/math/pow.c, libm/math/modf.c,
10021 libm/math/sincos.c, libm/math/fmod.c, libm/math/tan.c have been
10022 altered
10023 * libc/string/memcmp.c: now uses unsigned chars
10024 * libc/string/bcmp.c, libc/string/strcpy.c,
10025 libc/stsring/strxfrm.c: fixed doc
10026 * libc/sys/sysvnecv70.tex: fix example of sbrk code
10027\f
10028Local Variables:
10029version-control: never
10030End:
This page took 1.057882 seconds and 5 git commands to generate.